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-0037941-p1
Remove leading and trailing whitespace and replace internal whitespace sequences with a single space.
{$1=$1;print}
chen fable 39 eli fable 68 bruno ember 67 eli fable 9 alice indigo 29 farah juniper 20 chen delta 20 bruno juniper 39
chen fable 39 eli fable 68 bruno ember 67 eli fable 9 alice indigo 29 farah juniper 20 chen delta 20 bruno juniper 39
hana indigo 83 kim juniper 24 hana delta 65 jules harbor 105 jules indigo 59 lina delta 94 dina harbor 26 eli amber 67 ivan birch 39
hana indigo 83 kim juniper 24 hana delta 65 jules harbor 105 jules indigo 59 lina delta 94 dina harbor 26 eli amber 67 ivan birch 39
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037941
qwen/qwen3.7-plus
awkweave-0037942
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
kim indigo 96 closed eli indigo 57 pending hana delta 113 paused bruno amber 12 closed kim fable 112 failed lina fable 66 closed chen juniper 3 pending jules fable 53 ready jules indigo 3 paused hana cobalt 105 active
chen juniper 3 pending
dina juniper 120 failed hana grove 3 ready jules grove 97 closed farah cobalt 49 ready farah amber 83 failed eli ember 100 paused hana harbor 32 ready gus grove 23 ready
dina juniper 120 failed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037942-p1
Output the longest line from the input, selecting the first one encountered if there is a tie in length.
{if(length($0)>length(best))best=$0}END{print best}
kim indigo 96 closed eli indigo 57 pending hana delta 113 paused bruno amber 12 closed kim fable 112 failed lina fable 66 closed chen juniper 3 pending jules fable 53 ready jules indigo 3 paused hana cobalt 105 active
chen juniper 3 pending
dina juniper 120 failed hana grove 3 ready jules grove 97 closed farah cobalt 49 ready farah amber 83 failed eli ember 100 paused hana harbor 32 ready gus grove 23 ready
dina juniper 120 failed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037942
qwen/qwen3.7-plus
awkweave-0037943
Print every 4th line starting at line 4 (then line 8, and so on).
NR%4==0
lina 70 lina 17 gus 38 bruno 6 gus 70 jules 51 lina 21 jules 107
bruno 6 jules 107
bruno 98 farah 81 lina 65 bruno 77 eli 51 kim 43
bruno 77
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037943-p1
Print lines 4, 8, 12, and so on, effectively outputting every fourth line starting from the fourth.
NR%4==0
lina 70 lina 17 gus 38 bruno 6 gus 70 jules 51 lina 21 jules 107
bruno 6 jules 107
bruno 98 farah 81 lina 65 bruno 77 eli 51 kim 43
bruno 77
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037943
qwen/qwen3.7-plus
awkweave-0037944
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
delta fable 114 alpha amber 91 alpha grove 32 delta amber 24 gamma grove 9 gamma juniper 9 beta grove 82
4
alpha birch 78 alpha ember 113 alpha cobalt 29 delta grove 26 gamma grove 53 delta ember 86 gamma grove 14 gamma grove 86 gamma ember 19
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037944-p1
Calculate and display only the total number of unique values found in the second column.
{if(!seen[$2]++)n++}END{print n+0}
delta fable 114 alpha amber 91 alpha grove 32 delta amber 24 gamma grove 9 gamma juniper 9 beta grove 82
4
alpha birch 78 alpha ember 113 alpha cobalt 29 delta grove 26 gamma grove 53 delta ember 86 gamma grove 14 gamma grove 86 gamma ember 19
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037944
qwen/qwen3.7-plus
awkweave-0037945
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}
eli 6 0 hana 30 8 ivan 27 19 ivan 4 4 bruno 13 9 gus 11 1 chen 19 9 farah 13 16 gus 2 5 lina 18 29
hana 3.75 ivan 1.42 ivan 1.00 bruno 1.44 gus 11.00 chen 2.11 farah 0.81 gus 0.40 lina 0.62
gus 4 0 farah 23 4 hana 10 21 farah 1 22 ivan 8 17 ivan 15 4
farah 5.75 hana 0.48 farah 0.05 ivan 0.47 ivan 3.75
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037945-p1
For each row where the third column is not zero, output the first column and the result of dividing the second column by the third, rounded to two decimal places.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
eli 6 0 hana 30 8 ivan 27 19 ivan 4 4 bruno 13 9 gus 11 1 chen 19 9 farah 13 16 gus 2 5 lina 18 29
hana 3.75 ivan 1.42 ivan 1.00 bruno 1.44 gus 11.00 chen 2.11 farah 0.81 gus 0.40 lina 0.62
gus 4 0 farah 23 4 hana 10 21 farah 1 22 ivan 8 17 ivan 15 4
farah 5.75 hana 0.48 farah 0.05 ivan 0.47 ivan 3.75
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037945
qwen/qwen3.7-plus
awkweave-0037946
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]}
jules grove 3 bruno juniper 22 eli indigo 14 jules cobalt 8 alice amber 20 farah amber 1 lina grove 17 lina indigo 30 kim fable 3
lina indigo 30 bruno juniper 22 alice amber 20
ivan juniper 16 farah juniper 26 hana harbor 14 lina indigo 9 eli juniper 11 ivan fable 20
farah juniper 26 ivan fable 20 ivan juniper 16
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037946-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
jules grove 3 bruno juniper 22 eli indigo 14 jules cobalt 8 alice amber 20 farah amber 1 lina grove 17 lina indigo 30 kim fable 3
lina indigo 30 bruno juniper 22 alice amber 20
ivan juniper 16 farah juniper 26 hana harbor 14 lina indigo 9 eli juniper 11 ivan fable 20
farah juniper 26 ivan fable 20 ivan juniper 16
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037946
qwen/qwen3.7-plus
awkweave-0037947
Select the 5th and 2nd fields in that order.
{print $5, $2}
68 48 67 87 farah 91 37 0 93 hana 32 113 44 22 hana 77 83 57 68 ivan 28 24 65 108 ivan 102 31 10 57 eli 104 99 20 86 eli 68 73 19 91 lina
farah 48 hana 37 hana 113 ivan 83 ivan 24 eli 31 eli 99 lina 73
80 86 98 19 farah 46 120 33 109 lina 115 68 40 117 alice 66 5 92 94 gus 77 108 35 19 alice 41 52 37 73 alice
farah 86 lina 120 alice 68 gus 5 alice 108 alice 52
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037947-p1
Extract and print the fifth field followed by the second field for each line.
{print $5, $2}
68 48 67 87 farah 91 37 0 93 hana 32 113 44 22 hana 77 83 57 68 ivan 28 24 65 108 ivan 102 31 10 57 eli 104 99 20 86 eli 68 73 19 91 lina
farah 48 hana 37 hana 113 ivan 83 ivan 24 eli 31 eli 99 lina 73
80 86 98 19 farah 46 120 33 109 lina 115 68 40 117 alice 66 5 92 94 gus 77 108 35 19 alice 41 52 37 73 alice
farah 86 lina 120 alice 68 gus 5 alice 108 alice 52
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037947
qwen/qwen3.7-plus
awkweave-0037948
Print the last field of every input line.
{print $NF}
paused jules amber active bruno amber pending bruno delta closed kim juniper closed dina cobalt closed jules juniper active ivan harbor
amber amber delta juniper cobalt juniper harbor
ready alice juniper active ivan harbor closed gus delta active kim birch closed bruno birch failed alice ember failed gus indigo ready eli ember active farah grove active kim delta
juniper harbor delta birch birch ember indigo ember grove delta
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037948-p1
Output the final field from every line in the input.
{print $NF}
paused jules amber active bruno amber pending bruno delta closed kim juniper closed dina cobalt closed jules juniper active ivan harbor
amber amber delta juniper cobalt juniper harbor
ready alice juniper active ivan harbor closed gus delta active kim birch closed bruno birch failed alice ember failed gus indigo ready eli ember active farah grove active kim delta
juniper harbor delta birch birch ember indigo ember grove delta
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037948
qwen/qwen3.7-plus
awkweave-0037949
Print the complete records where column 2 is at most 65.
$2 <= 65
ready 94 failed amber closed paused 102 pending grove paused failed 50 closed indigo closed active 62 ready indigo paused active 74 closed delta pending ready 64 ready ember ready failed 48 failed fable ready
failed 50 closed indigo closed active 62 ready indigo paused ready 64 ready ember ready failed 48 failed fable ready
failed 8 ready amber closed closed 104 pending juniper active failed 107 failed juniper pending failed 75 closed ember paused paused 71 ready birch ready closed 36 ready delta failed failed 42 ready harbor closed
failed 8 ready amber closed closed 36 ready delta failed failed 42 ready harbor closed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037949-p1
Print the entire record for any row where the value in the second column is less than or equal to 65.
$2 <= 65
ready 94 failed amber closed paused 102 pending grove paused failed 50 closed indigo closed active 62 ready indigo paused active 74 closed delta pending ready 64 ready ember ready failed 48 failed fable ready
failed 50 closed indigo closed active 62 ready indigo paused ready 64 ready ember ready failed 48 failed fable ready
failed 8 ready amber closed closed 104 pending juniper active failed 107 failed juniper pending failed 75 closed ember paused paused 71 ready birch ready closed 36 ready delta failed failed 42 ready harbor closed
failed 8 ready amber closed closed 36 ready delta failed failed 42 ready harbor closed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037949
qwen/qwen3.7-plus
awkweave-0037950
Show whole lines whose 2nd field is between 3 and 28, inclusive.
$2 >= 3 && $2 <= 28
eli 13 ember grove jules 30 indigo ember dina 4 juniper grove hana 4 grove birch kim 7 harbor fable gus 26 amber indigo kim 17 juniper juniper farah 14 amber indigo hana 18 indigo harbor kim 22 delta fable
eli 13 ember grove dina 4 juniper grove hana 4 grove birch kim 7 harbor fable gus 26 amber indigo kim 17 juniper juniper farah 14 amber indigo hana 18 indigo harbor kim 22 delta fable
lina 10 indigo juniper chen 11 delta fable bruno 20 amber delta hana 14 delta cobalt gus 24 cobalt amber lina 21 juniper cobalt ivan 13 amber ember lina 1 birch ember jules 3 indigo grove gus 25 delta juniper
lina 10 indigo juniper chen 11 delta fable bruno 20 amber delta hana 14 delta cobalt gus 24 cobalt amber lina 21 juniper cobalt ivan 13 amber ember jules 3 indigo grove gus 25 delta juniper
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037950-p1
Display complete lines where the second field has a value between 3 and 28, inclusive.
$2 >= 3 && $2 <= 28
eli 13 ember grove jules 30 indigo ember dina 4 juniper grove hana 4 grove birch kim 7 harbor fable gus 26 amber indigo kim 17 juniper juniper farah 14 amber indigo hana 18 indigo harbor kim 22 delta fable
eli 13 ember grove dina 4 juniper grove hana 4 grove birch kim 7 harbor fable gus 26 amber indigo kim 17 juniper juniper farah 14 amber indigo hana 18 indigo harbor kim 22 delta fable
lina 10 indigo juniper chen 11 delta fable bruno 20 amber delta hana 14 delta cobalt gus 24 cobalt amber lina 21 juniper cobalt ivan 13 amber ember lina 1 birch ember jules 3 indigo grove gus 25 delta juniper
lina 10 indigo juniper chen 11 delta fable bruno 20 amber delta hana 14 delta cobalt gus 24 cobalt amber lina 21 juniper cobalt ivan 13 amber ember jules 3 indigo grove gus 25 delta juniper
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037950
qwen/qwen3.7-plus
awkweave-0037951
Print column 1 only for rows where column 4 is exactly failed.
$4 == "failed"{print $1}
alice delta 45 paused chen indigo 109 active eli birch 102 closed eli ember 95 ready hana harbor 23 pending farah amber 86 ready eli cobalt 72 active hana indigo 22 paused hana amber 68 closed chen fable 74 failed
chen
lina birch 56 closed farah indigo 81 pending chen harbor 18 ready gus birch 39 closed bruno ember 54 pending kim juniper 97 failed
kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037951-p1
Output only the first column for rows where the fourth column contains the exact string 'failed'.
$4 == "failed"{print $1}
alice delta 45 paused chen indigo 109 active eli birch 102 closed eli ember 95 ready hana harbor 23 pending farah amber 86 ready eli cobalt 72 active hana indigo 22 paused hana amber 68 closed chen fable 74 failed
chen
lina birch 56 closed farah indigo 81 pending chen harbor 18 ready gus birch 39 closed bruno ember 54 pending kim juniper 97 failed
kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037951
qwen/qwen3.7-plus
awkweave-0037952
Print all fields from lines where field 1 begins with INFO.
$1 ~ /^INFO/
WARN fable 99 DEBUG harbor 0 INFO harbor 62 DEBUG harbor 52 ERROR juniper 64 DEBUG harbor 99 WARN juniper 30 DEBUG indigo 70
INFO harbor 62
ERROR birch 10 ERROR indigo 81 WARN juniper 38 WARN delta 96 ERROR fable 22 WARN grove 120 INFO juniper 95
INFO juniper 95
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037952-p1
Print all fields from any line where the first field starts with the prefix 'INFO'.
$1 ~ /^INFO/
WARN fable 99 DEBUG harbor 0 INFO harbor 62 DEBUG harbor 52 ERROR juniper 64 DEBUG harbor 99 WARN juniper 30 DEBUG indigo 70
INFO harbor 62
ERROR birch 10 ERROR indigo 81 WARN juniper 38 WARN delta 96 ERROR fable 22 WARN grove 120 INFO juniper 95
INFO juniper 95
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037952
qwen/qwen3.7-plus
awkweave-0037953
Print every line except those containing the exact text grove.
$0 !~ /grove/
ember 61 ready birch 104 closed birch 93 failed cobalt 20 pending harbor 101 paused grove 72 paused ember 102 failed fable 100 active grove 999 active
ember 61 ready birch 104 closed birch 93 failed cobalt 20 pending harbor 101 paused ember 102 failed fable 100 active
fable 25 failed cobalt 51 paused juniper 59 closed juniper 100 pending harbor 9 paused indigo 0 ready birch 39 active ember 48 closed ember 73 ready juniper 62 failed grove 999 active
fable 25 failed cobalt 51 paused juniper 59 closed juniper 100 pending harbor 9 paused indigo 0 ready birch 39 active ember 48 closed ember 73 ready juniper 62 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037953-p1
Output every line from the input that does not contain the exact substring 'grove'.
$0 !~ /grove/
ember 61 ready birch 104 closed birch 93 failed cobalt 20 pending harbor 101 paused grove 72 paused ember 102 failed fable 100 active grove 999 active
ember 61 ready birch 104 closed birch 93 failed cobalt 20 pending harbor 101 paused ember 102 failed fable 100 active
fable 25 failed cobalt 51 paused juniper 59 closed juniper 100 pending harbor 9 paused indigo 0 ready birch 39 active ember 48 closed ember 73 ready juniper 62 failed grove 999 active
fable 25 failed cobalt 51 paused juniper 59 closed juniper 100 pending harbor 9 paused indigo 0 ready birch 39 active ember 48 closed ember 73 ready juniper 62 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037953
qwen/qwen3.7-plus
awkweave-0037954
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
eli amber 118 kim juniper 96 kim indigo 58 alice birch 63 ivan delta 28 dina juniper 82 ivan harbor 10
alice birch 63 ivan delta 28 dina juniper 82
hana harbor 110 ivan fable 105 hana juniper 39 alice grove 78 bruno ember 39 alice ember 30 farah amber 60
alice grove 78 bruno ember 39 alice ember 30
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037954-p1
Display lines 4 to 6, inclusive of both the start and end lines.
NR >= 4 && NR <= 6
eli amber 118 kim juniper 96 kim indigo 58 alice birch 63 ivan delta 28 dina juniper 82 ivan harbor 10
alice birch 63 ivan delta 28 dina juniper 82
hana harbor 110 ivan fable 105 hana juniper 39 alice grove 78 bruno ember 39 alice ember 30 farah amber 60
alice grove 78 bruno ember 39 alice ember 30
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037954
qwen/qwen3.7-plus
awkweave-0037955
Output only the first 2 records.
NR <= 2
jules 17 fable ivan 94 ember gus 116 juniper ivan 30 cobalt bruno 17 cobalt ivan 114 fable
jules 17 fable ivan 94 ember
eli 59 grove chen 9 fable gus 49 birch chen 32 grove gus 30 delta bruno 42 grove jules 31 fable
eli 59 grove chen 9 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037955-p1
Output just the initial 2 records.
NR <= 2
jules 17 fable ivan 94 ember gus 116 juniper ivan 30 cobalt bruno 17 cobalt ivan 114 fable
jules 17 fable ivan 94 ember
eli 59 grove chen 9 fable gus 49 birch chen 32 grove gus 30 delta bruno 42 grove jules 31 fable
eli 59 grove chen 9 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037955
qwen/qwen3.7-plus
awkweave-0037956
Skip the first line and print every remaining line unchanged.
NR > 1
alice 18 cobalt chen 49 delta alice 101 harbor lina 108 fable dina 114 harbor lina 119 birch dina 11 grove chen 68 amber farah 120 harbor
chen 49 delta alice 101 harbor lina 108 fable dina 114 harbor lina 119 birch dina 11 grove chen 68 amber farah 120 harbor
hana 67 birch hana 12 ember dina 120 fable ivan 110 juniper eli 37 harbor alice 58 indigo hana 89 grove ivan 52 delta eli 89 delta gus 58 juniper
hana 12 ember dina 120 fable ivan 110 juniper eli 37 harbor alice 58 indigo hana 89 grove ivan 52 delta eli 89 delta gus 58 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037956-p1
Omit the first line and output all subsequent lines exactly as they appear.
NR > 1
alice 18 cobalt chen 49 delta alice 101 harbor lina 108 fable dina 114 harbor lina 119 birch dina 11 grove chen 68 amber farah 120 harbor
chen 49 delta alice 101 harbor lina 108 fable dina 114 harbor lina 119 birch dina 11 grove chen 68 amber farah 120 harbor
hana 67 birch hana 12 ember dina 120 fable ivan 110 juniper eli 37 harbor alice 58 indigo hana 89 grove ivan 52 delta eli 89 delta gus 58 juniper
hana 12 ember dina 120 fable ivan 110 juniper eli 37 harbor alice 58 indigo hana 89 grove ivan 52 delta eli 89 delta gus 58 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037956
qwen/qwen3.7-plus
awkweave-0037957
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
lina pending 83 farah pending 5 farah ready 46 lina ready 56 lina paused 6 dina active 56
1
jules paused 66 eli failed 62 lina closed 24 chen failed 36 ivan paused 53 chen active 50 eli failed 84
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037957-p1
Tally the number of records where column 2 contains 'paused', printing 0 if no matches are found.
$2 == "paused"{n++}END{print n+0}
lina pending 83 farah pending 5 farah ready 46 lina ready 56 lina paused 6 dina active 56
1
jules paused 66 eli failed 62 lina closed 24 chen failed 36 ivan paused 53 chen active 50 eli failed 84
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037957
qwen/qwen3.7-plus
awkweave-0037958
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
14 jules harbor 19 ivan grove 19 jules birch 16 dina indigo 21 jules harbor 6 jules ember 8 farah harbor
103
14 dina juniper 6 dina amber 5 lina harbor 24 chen birch 18 farah cobalt 25 hana grove 3 bruno juniper 11 jules juniper
106
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037958-p1
Compute and display the total sum of integer values found in column 1.
{s+=$1}END{print s+0}
14 jules harbor 19 ivan grove 19 jules birch 16 dina indigo 21 jules harbor 6 jules ember 8 farah harbor
103
14 dina juniper 6 dina amber 5 lina harbor 24 chen birch 18 farah cobalt 25 hana grove 3 bruno juniper 11 jules juniper
106
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037958
qwen/qwen3.7-plus
awkweave-0037959
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
chen fable 15 eli indigo 1 dina juniper 30 jules ember 30 ivan birch 5 hana harbor 23 hana cobalt 16 gus amber 18
17.25
ivan grove 29 alice cobalt 27 kim fable 20 bruno harbor 14 alice grove 14 farah indigo 22 chen grove 29 jules delta 5
20.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037959-p1
Calculate the average of values in column 3 and print it rounded to two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
chen fable 15 eli indigo 1 dina juniper 30 jules ember 30 ivan birch 5 hana harbor 23 hana cobalt 16 gus amber 18
17.25
ivan grove 29 alice cobalt 27 kim fable 20 bruno harbor 14 alice grove 14 farah indigo 22 chen grove 29 jules delta 5
20.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037959
qwen/qwen3.7-plus
awkweave-0037960
Find and print the smallest numeric value in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
hana grove 25 farah harbor 13 gus fable 18 bruno birch 18 ivan juniper 23 bruno cobalt 11 gus delta 25 alice juniper 21 eli cobalt 17 hana delta 3
3
kim birch 19 kim fable 25 dina amber 13 eli grove 26 chen birch 29 gus indigo 10 jules grove 21 alice birch 5
5
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037960-p1
Identify and output the minimum numeric value present in column 3.
NR==1||$3<extreme{extreme=$3}END{print extreme}
hana grove 25 farah harbor 13 gus fable 18 bruno birch 18 ivan juniper 23 bruno cobalt 11 gus delta 25 alice juniper 21 eli cobalt 17 hana delta 3
3
kim birch 19 kim fable 25 dina amber 13 eli grove 26 chen birch 29 gus indigo 10 jules grove 21 alice birch 5
5
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037960
qwen/qwen3.7-plus
awkweave-0037961
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 29 bruno harbor 19 eli amber 3 farah fable 4 farah cobalt 7 chen amber 4 farah fable 24 lina
29
grove 19 jules cobalt 26 eli cobalt 3 hana birch 17 eli birch 7 dina amber 27 gus ember 20 ivan juniper 4 kim grove 10 dina
27
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037961-p1
Identify and output the maximum numeric value present in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
ember 29 bruno harbor 19 eli amber 3 farah fable 4 farah cobalt 7 chen amber 4 farah fable 24 lina
29
grove 19 jules cobalt 26 eli cobalt 3 hana birch 17 eli birch 7 dina amber 27 gus ember 20 ivan juniper 4 kim grove 10 dina
27
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037961
qwen/qwen3.7-plus
awkweave-0037962
Count all input records and print the total.
END{print NR}
dina 72 jules 85 kim 77 lina 45 gus 68 jules 83 farah 68
7
farah 86 ivan 89 kim 28 lina 103 alice 65 eli 20 bruno 73 dina 64 ivan 19 eli 24
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037962-p1
Count the total number of input records and print the result.
END{print NR}
dina 72 jules 85 kim 77 lina 45 gus 68 jules 83 farah 68
7
farah 86 ivan 89 kim 28 lina 103 alice 65 eli 20 bruno 73 dina 64 ivan 19 eli 24
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037962
qwen/qwen3.7-plus
awkweave-0037963
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
hana harbor 92 lina fable 85 lina grove 33 eli cobalt 75 bruno cobalt 89 alice grove 36 bruno delta 103 lina grove 33 gus harbor 40
hana harbor 92 lina fable 85 lina grove 33 eli cobalt 75 bruno cobalt 89 alice grove 36 bruno delta 103 gus harbor 40
farah indigo 118 eli juniper 69 gus juniper 57 jules amber 29 lina ember 21 gus grove 77 alice ember 114 lina grove 74 lina ember 21 alice indigo 12 hana ember 46
farah indigo 118 eli juniper 69 gus juniper 57 jules amber 29 lina ember 21 gus grove 77 alice ember 114 lina grove 74 alice indigo 12 hana ember 46
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037963-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
hana harbor 92 lina fable 85 lina grove 33 eli cobalt 75 bruno cobalt 89 alice grove 36 bruno delta 103 lina grove 33 gus harbor 40
hana harbor 92 lina fable 85 lina grove 33 eli cobalt 75 bruno cobalt 89 alice grove 36 bruno delta 103 gus harbor 40
farah indigo 118 eli juniper 69 gus juniper 57 jules amber 29 lina ember 21 gus grove 77 alice ember 114 lina grove 74 lina ember 21 alice indigo 12 hana ember 46
farah indigo 118 eli juniper 69 gus juniper 57 jules amber 29 lina ember 21 gus grove 77 alice ember 114 lina grove 74 alice indigo 12 hana ember 46
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037963
qwen/qwen3.7-plus
awkweave-0037964
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
kim indigo 32 alice birch 107 kim fable 0 kim ember 62 farah fable 25 dina ember 40 dina grove 48 dina fable 90 lina fable 120 jules harbor 48
kim indigo 32 alice birch 107 kim fable 0 kim ember 62 farah fable 25 dina ember 40 dina grove 48 dina fable 90 lina fable 120
kim ember 113 gus amber 82 farah ember 25 lina delta 18 bruno indigo 102 chen cobalt 85 kim juniper 31
kim ember 113 gus amber 82 farah ember 25 lina delta 18 bruno indigo 102 chen cobalt 85 kim juniper 31
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037964-p1
Retain only the first occurrence for each unique value in column 3, preserving the original input order.
!seen[$3]++
kim indigo 32 alice birch 107 kim fable 0 kim ember 62 farah fable 25 dina ember 40 dina grove 48 dina fable 90 lina fable 120 jules harbor 48
kim indigo 32 alice birch 107 kim fable 0 kim ember 62 farah fable 25 dina ember 40 dina grove 48 dina fable 90 lina fable 120
kim ember 113 gus amber 82 farah ember 25 lina delta 18 bruno indigo 102 chen cobalt 85 kim juniper 31
kim ember 113 gus amber 82 farah ember 25 lina delta 18 bruno indigo 102 chen cobalt 85 kim juniper 31
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037964
qwen/qwen3.7-plus
awkweave-0037965
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
chen 16 cobalt alice 11 harbor dina 23 juniper hana 10 indigo gus 28 birch gus 1 juniper eli 26 amber
chen 16 alice 27 dina 50 hana 60 gus 88 gus 89 eli 115
eli 19 fable dina 2 juniper lina 1 grove farah 1 birch eli 6 ember hana 8 birch alice 1 ember farah 20 cobalt chen 26 amber
eli 19 dina 21 lina 22 farah 23 eli 29 hana 37 alice 38 farah 58 chen 84
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037965-p1
For every record, output column 1 followed by a space and the cumulative sum of column 2.
{s+=$2;print $1,s}
chen 16 cobalt alice 11 harbor dina 23 juniper hana 10 indigo gus 28 birch gus 1 juniper eli 26 amber
chen 16 alice 27 dina 50 hana 60 gus 88 gus 89 eli 115
eli 19 fable dina 2 juniper lina 1 grove farah 1 birch eli 6 ember hana 8 birch alice 1 ember farah 20 cobalt chen 26 amber
eli 19 dina 21 lina 22 farah 23 eli 29 hana 37 alice 38 farah 58 chen 84
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037965
qwen/qwen3.7-plus
awkweave-0037966
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
chen 25 3 grove gus 5 3 ember kim 1 12 ember jules 12 9 ember lina 26 8 birch eli 7 1 delta gus 19 28 juniper chen 27 15 delta
chen 28 gus 8 kim 13 jules 21 lina 34 eli 8 gus 47 chen 42
ivan 18 7 fable kim 9 11 birch alice 21 20 delta lina 28 16 harbor bruno 12 28 cobalt dina 11 19 grove chen 19 8 harbor kim 15 4 indigo lina 27 15 cobalt kim 6 15 grove
ivan 25 kim 20 alice 41 lina 44 bruno 40 dina 30 chen 27 kim 19 lina 42 kim 21
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037966-p1
For each line, output the first field followed by the total of the second and third fields.
{print $1,$2+$3}
chen 25 3 grove gus 5 3 ember kim 1 12 ember jules 12 9 ember lina 26 8 birch eli 7 1 delta gus 19 28 juniper chen 27 15 delta
chen 28 gus 8 kim 13 jules 21 lina 34 eli 8 gus 47 chen 42
ivan 18 7 fable kim 9 11 birch alice 21 20 delta lina 28 16 harbor bruno 12 28 cobalt dina 11 19 grove chen 19 8 harbor kim 15 4 indigo lina 27 15 cobalt kim 6 15 grove
ivan 25 kim 20 alice 41 lina 44 bruno 40 dina 30 chen 27 kim 19 lina 42 kim 21
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037966
qwen/qwen3.7-plus
awkweave-0037967
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
jules 9 alice 14 alice 6 lina 1 eli 19 ivan 18 lina 3
jules fail alice fail alice fail lina fail eli fail ivan fail lina fail
farah 7 kim 13 hana 24 jules 10 chen 16 hana 22
farah fail kim fail hana fail jules fail chen fail hana fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037967-p1
Output the first column; if the second column is 25 or higher, append 'pass', otherwise append 'fail'.
{print $1,($2>=25?"pass":"fail")}
jules 9 alice 14 alice 6 lina 1 eli 19 ivan 18 lina 3
jules fail alice fail alice fail lina fail eli fail ivan fail lina fail
farah 7 kim 13 hana 24 jules 10 chen 16 hana 22
farah fail kim fail hana fail jules fail chen fail hana fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037967
qwen/qwen3.7-plus
awkweave-0037968
Convert column 1 to uppercase and print only that column.
{print toupper($1)}
gus ember 55 hana delta 1 dina delta 45 jules cobalt 60 bruno delta 63 bruno birch 88 kim cobalt 44 farah juniper 118 farah amber 48
GUS HANA DINA JULES BRUNO BRUNO KIM FARAH FARAH
alice cobalt 117 jules birch 113 alice cobalt 73 chen cobalt 56 jules amber 39 ivan delta 30 eli juniper 44 dina juniper 30 dina ember 64
ALICE JULES ALICE CHEN JULES IVAN ELI DINA DINA
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037968-p1
Transform the first column to uppercase and display only that column.
{print toupper($1)}
gus ember 55 hana delta 1 dina delta 45 jules cobalt 60 bruno delta 63 bruno birch 88 kim cobalt 44 farah juniper 118 farah amber 48
GUS HANA DINA JULES BRUNO BRUNO KIM FARAH FARAH
alice cobalt 117 jules birch 113 alice cobalt 73 chen cobalt 56 jules amber 39 ivan delta 30 eli juniper 44 dina juniper 30 dina ember 64
ALICE JULES ALICE CHEN JULES IVAN ELI DINA DINA
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037968
qwen/qwen3.7-plus
awkweave-0037969
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
grove 12 amber 34 delta 112 fable 63 amber 99 grove 52 amber 40 harbor 33 indigo 74 grove 70
ove ber lta ble ber ove ber rbor digo ove
harbor 55 grove 95 fable 29 fable 76 ember 10 juniper 21 indigo 59 ember 88 delta 25 amber 74
rbor ove ble ble ber nipe digo ber lta ber
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037969-p1
Extract and print a substring of length 4 from the first column, starting at the third character.
{print substr($1,3,4)}
grove 12 amber 34 delta 112 fable 63 amber 99 grove 52 amber 40 harbor 33 indigo 74 grove 70
ove ber lta ble ber ove ber rbor digo ove
harbor 55 grove 95 fable 29 fable 76 ember 10 juniper 21 indigo 59 ember 88 delta 25 amber 74
rbor ove ble ble ber nipe digo ber lta ber
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037969
qwen/qwen3.7-plus
awkweave-0037970
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_fable 24 ember_cobalt 81 cobalt_juniper 51 delta_juniper 94 grove_grove 115 amber_ember 83 ember_indigo 105 cobalt_indigo 23 amber_ember 40
delta fable ember cobalt cobalt juniper delta juniper grove grove amber ember ember indigo cobalt indigo amber ember
juniper_indigo 72 juniper_amber 58 birch_harbor 52 grove_juniper 71 juniper_delta 89 ember_birch 14 cobalt_grove 75 fable_amber 103
juniper indigo juniper amber birch harbor grove juniper juniper delta ember birch cobalt grove fable amber
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037970-p1
Substitute all underscores in the first column with spaces and output the modified values.
{gsub(/_/," ",$1);print $1}
delta_fable 24 ember_cobalt 81 cobalt_juniper 51 delta_juniper 94 grove_grove 115 amber_ember 83 ember_indigo 105 cobalt_indigo 23 amber_ember 40
delta fable ember cobalt cobalt juniper delta juniper grove grove amber ember ember indigo cobalt indigo amber ember
juniper_indigo 72 juniper_amber 58 birch_harbor 52 grove_juniper 71 juniper_delta 89 ember_birch 14 cobalt_grove 75 fable_amber 103
juniper indigo juniper amber birch harbor grove juniper juniper delta ember birch cobalt grove fable amber
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037970
qwen/qwen3.7-plus
awkweave-0037971
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)}
eli fable 40 closed kim juniper 57 failed farah amber 108 ready ivan ember 1 paused gus indigo 96 ready bruno juniper 31 failed
closed 40 fable eli failed 57 juniper kim ready 108 amber farah paused 1 ember ivan ready 96 indigo gus failed 31 juniper bruno
alice delta 37 active ivan harbor 107 pending chen ember 16 paused eli birch 21 ready kim birch 90 pending ivan harbor 80 paused kim birch 4 closed ivan ember 112 paused
active 37 delta alice pending 107 harbor ivan paused 16 ember chen ready 21 birch eli pending 90 birch kim paused 80 harbor ivan closed 4 birch kim paused 112 ember ivan
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037971-p1
Reverse the sequence of fields for every line and print all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
eli fable 40 closed kim juniper 57 failed farah amber 108 ready ivan ember 1 paused gus indigo 96 ready bruno juniper 31 failed
closed 40 fable eli failed 57 juniper kim ready 108 amber farah paused 1 ember ivan ready 96 indigo gus failed 31 juniper bruno
alice delta 37 active ivan harbor 107 pending chen ember 16 paused eli birch 21 ready kim birch 90 pending ivan harbor 80 paused kim birch 4 closed ivan ember 112 paused
active 37 delta alice pending 107 harbor ivan paused 16 ember chen ready 21 birch eli pending 90 birch kim paused 80 harbor ivan closed 4 birch kim paused 112 ember ivan
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037971
qwen/qwen3.7-plus
awkweave-0037972
Print the number of whitespace-separated fields on each line.
{print NF}
ivan delta 111 closed alice cobalt 23 pending eli birch 49 failed ivan harbor 55 pending chen delta 20 closed gus grove 53 ready jules fable 29 paused dina grove 20 ready chen fable 35 pending
4 4 4 4 4 4 4 4 4
jules fable 33 pending gus indigo 23 active kim delta 90 failed kim harbor 64 paused chen birch 98 failed bruno harbor 90 paused bruno grove 19 active lina harbor 56 closed ivan indigo 85 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037972-p1
Output the count of whitespace-delimited fields for each line.
{print NF}
ivan delta 111 closed alice cobalt 23 pending eli birch 49 failed ivan harbor 55 pending chen delta 20 closed gus grove 53 ready jules fable 29 paused dina grove 20 ready chen fable 35 pending
4 4 4 4 4 4 4 4 4
jules fable 33 pending gus indigo 23 active kim delta 90 failed kim harbor 64 paused chen birch 98 failed bruno harbor 90 paused bruno grove 19 active lina harbor 56 closed ivan indigo 85 closed
4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037972
qwen/qwen3.7-plus
awkweave-0037973
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]]}
jules alpha 69 dina alpha 52 kim gamma 34 farah beta 113 eli beta 78 alice beta 4 dina delta 109 farah gamma 60
alpha 2 gamma 2 beta 3 delta 1
hana alpha 29 gus alpha 32 kim beta 101 farah gamma 97 hana delta 100 alice alpha 35 jules delta 94 gus beta 38 gus delta 91 kim beta 19
alpha 3 beta 3 gamma 1 delta 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037973-p1
Tally the number of records for each unique value in the second column, printing the value and its count 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]]}
jules alpha 69 dina alpha 52 kim gamma 34 farah beta 113 eli beta 78 alice beta 4 dina delta 109 farah gamma 60
alpha 2 gamma 2 beta 3 delta 1
hana alpha 29 gus alpha 32 kim beta 101 farah gamma 97 hana delta 100 alice alpha 35 jules delta 94 gus beta 38 gus delta 91 kim beta 19
alpha 3 beta 3 gamma 1 delta 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037973
qwen/qwen3.7-plus
awkweave-0037974
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]]}
hana gamma 11 ivan gamma 7 alice delta 23 ivan alpha 2 kim gamma 2 kim gamma 5 chen gamma 17 ivan gamma 13
gamma 55 delta 23 alpha 2
chen gamma 2 dina gamma 25 jules alpha 8 ivan beta 23 chen gamma 23 chen beta 26 lina delta 29
gamma 50 alpha 8 beta 49 delta 29
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037974-p1
Calculate the sum of the third column for each group defined by the second column, displaying results in the 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]]}
hana gamma 11 ivan gamma 7 alice delta 23 ivan alpha 2 kim gamma 2 kim gamma 5 chen gamma 17 ivan gamma 13
gamma 55 delta 23 alpha 2
chen gamma 2 dina gamma 25 jules alpha 8 ivan beta 23 chen gamma 23 chen beta 26 lina delta 29
gamma 50 alpha 8 beta 49 delta 29
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037974
qwen/qwen3.7-plus
awkweave-0037975
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 juniper 19 delta indigo 68 beta juniper 65 gamma harbor 117 delta cobalt 82 delta birch 66
delta 3
beta delta 29 gamma harbor 28 beta cobalt 33 alpha grove 33 gamma grove 45 delta indigo 116 gamma grove 15 gamma ember 59 alpha grove 85 gamma harbor 47
beta 2 gamma 5 alpha 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037975-p1
List each duplicate value from the first column along with its frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
alpha juniper 19 delta indigo 68 beta juniper 65 gamma harbor 117 delta cobalt 82 delta birch 66
delta 3
beta delta 29 gamma harbor 28 beta cobalt 33 alpha grove 33 gamma grove 45 delta indigo 116 gamma grove 15 gamma ember 59 alpha grove 85 gamma harbor 47
beta 2 gamma 5 alpha 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037975
qwen/qwen3.7-plus
awkweave-0037976
The first row is a header. Print the display_name column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
record_id display_name region score r001 eli 11 pending r002 chen 27 closed r003 eli 1 failed r004 farah 3 active r005 eli 10 closed r006 alice 21 paused r007 kim 21 failed r008 ivan 5 ready r009 lina 16 paused r010 chen 3 active
eli chen eli farah eli alice kim ivan lina chen
record_id display_name region score r001 dina 12 paused r002 ivan 4 paused r003 farah 12 ready r004 chen 22 pending r005 chen 25 closed r006 alice 20 ready
dina ivan farah chen chen alice
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037976-p1
Skip the header row and print the 'display_name' column for all remaining data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]}
record_id display_name region score r001 eli 11 pending r002 chen 27 closed r003 eli 1 failed r004 farah 3 active r005 eli 10 closed r006 alice 21 paused r007 kim 21 failed r008 ivan 5 ready r009 lina 16 paused r010 chen 3 active
eli chen eli farah eli alice kim ivan lina chen
record_id display_name region score r001 dina 12 paused r002 ivan 4 paused r003 farah 12 ready r004 chen 22 pending r005 chen 25 closed r006 alice 20 ready
dina ivan farah chen chen alice
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037976
qwen/qwen3.7-plus
awkweave-0037977
The first row is a header. Print display_name for data rows whose score is greater than 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 eli 11 failed r002 chen 18 ready r003 bruno 24 active r004 ivan 15 paused r005 jules 5 active r006 eli 9 ready r007 lina 22 closed r008 bruno 9 ready r009 hana 8 pending r010 gus 14 ready
eli chen bruno ivan lina gus
record_id display_name score state r001 eli 25 ready r002 gus 17 active r003 lina 26 paused r004 chen 28 active r005 eli 23 active r006 gus 2 closed r007 alice 20 pending r008 dina 16 ready
eli gus lina chen eli alice dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037977-p1
Ignoring the header row, print the 'display_name' column for data rows where the 'score' exceeds 9.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>9{print $h["display_name"]}
record_id display_name score state r001 eli 11 failed r002 chen 18 ready r003 bruno 24 active r004 ivan 15 paused r005 jules 5 active r006 eli 9 ready r007 lina 22 closed r008 bruno 9 ready r009 hana 8 pending r010 gus 14 ready
eli chen bruno ivan lina gus
record_id display_name score state r001 eli 25 ready r002 gus 17 active r003 lina 26 paused r004 chen 28 active r005 eli 23 active r006 gus 2 closed r007 alice 20 pending r008 dina 16 ready
eli gus lina chen eli alice dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037977
qwen/qwen3.7-plus
awkweave-0037978
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 12 pending farah 18 ready bruno 23 ready ivan 15 failed dina 11 failed farah 22 failed jules 18 pending gus 23 active
pending ready ready failed failed failed pending active
dina 30 pending farah 4 ready hana 25 failed kim 23 active chen 5 active kim 22 ready
pending ready failed active active ready
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037978-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
ivan 12 pending farah 18 ready bruno 23 ready ivan 15 failed dina 11 failed farah 22 failed jules 18 pending gus 23 active
pending ready ready failed failed failed pending active
dina 30 pending farah 4 ready hana 25 failed kim 23 active chen 5 active kim 22 ready
pending ready failed active active ready
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0037978
qwen/qwen3.7-plus
awkweave-0037979
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 21.
BEGIN{FS=OFS=","}$2>21{print $1}
chen,24,failed lina,13,active ivan,14,failed jules,12,pending eli,23,failed ivan,15,active gus,15,pending
chen eli
jules,7,closed chen,23,ready ivan,26,failed jules,1,failed ivan,20,paused kim,29,pending eli,2,closed
chen ivan kim
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037979-p1
Output the first field of comma-separated records where the second field is greater than 21, assuming no quoted commas exist.
BEGIN{FS=OFS=","}$2>21{print $1}
chen,24,failed lina,13,active ivan,14,failed jules,12,pending eli,23,failed ivan,15,active gus,15,pending
chen eli
jules,7,closed chen,23,ready ivan,26,failed jules,1,failed ivan,20,paused kim,29,pending eli,2,closed
chen ivan kim
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037979
qwen/qwen3.7-plus
awkweave-0037980
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
alice delta 78 gus ember 8 lina harbor 73 dina indigo 47 ivan fable 19 chen birch 20 kim harbor 110
alice delta 78 gus ember 8 lina harbor 73 dina indigo 47 ivan fable 19 chen birch 20 kim harbor 110
ivan grove 105 lina amber 6 jules juniper 26 lina delta 111 jules delta 86 dina amber 46 alice harbor 14
ivan grove 105 lina amber 6 jules juniper 26 lina delta 111 jules delta 86 dina amber 46 alice harbor 14
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037980-p1
Remove leading and trailing whitespace from each line and replace sequences of internal whitespace with a single space.
{$1=$1;print}
alice delta 78 gus ember 8 lina harbor 73 dina indigo 47 ivan fable 19 chen birch 20 kim harbor 110
alice delta 78 gus ember 8 lina harbor 73 dina indigo 47 ivan fable 19 chen birch 20 kim harbor 110
ivan grove 105 lina amber 6 jules juniper 26 lina delta 111 jules delta 86 dina amber 46 alice harbor 14
ivan grove 105 lina amber 6 jules juniper 26 lina delta 111 jules delta 86 dina amber 46 alice harbor 14
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037980
qwen/qwen3.7-plus
awkweave-0037981
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli amber 23 active hana fable 81 closed ivan juniper 66 ready jules grove 100 paused lina fable 18 ready gus harbor 103 ready
jules grove 100 paused
dina amber 31 closed alice delta 106 active farah ember 32 ready eli grove 82 paused bruno birch 19 failed jules fable 48 paused
alice delta 106 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037981-p1
Identify and print the longest line in the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
eli amber 23 active hana fable 81 closed ivan juniper 66 ready jules grove 100 paused lina fable 18 ready gus harbor 103 ready
jules grove 100 paused
dina amber 31 closed alice delta 106 active farah ember 32 ready eli grove 82 paused bruno birch 19 failed jules fable 48 paused
alice delta 106 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037981
qwen/qwen3.7-plus
awkweave-0037982
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
lina 108 farah 36 dina 5 bruno 77 farah 47 eli 109 jules 72
dina 5 eli 109
gus 24 chen 73 chen 17 dina 25 lina 37 alice 58 lina 109 hana 23 eli 21 bruno 58
chen 17 alice 58 eli 21
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037982-p1
Print every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, ...).
NR%3==0
lina 108 farah 36 dina 5 bruno 77 farah 47 eli 109 jules 72
dina 5 eli 109
gus 24 chen 73 chen 17 dina 25 lina 37 alice 58 lina 109 hana 23 eli 21 bruno 58
chen 17 alice 58 eli 21
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037982
qwen/qwen3.7-plus
awkweave-0037983
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 116 alpha grove 9 gamma fable 98 gamma fable 45 delta harbor 88 gamma harbor 79 gamma grove 28 alpha grove 88
3
gamma grove 63 beta grove 48 alpha cobalt 39 gamma fable 71 beta fable 5 beta fable 21
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037983-p1
Calculate and output only the total number of unique values found in the first column.
{if(!seen[$1]++)n++}END{print n+0}
delta harbor 116 alpha grove 9 gamma fable 98 gamma fable 45 delta harbor 88 gamma harbor 79 gamma grove 28 alpha grove 88
3
gamma grove 63 beta grove 48 alpha cobalt 39 gamma fable 71 beta fable 5 beta fable 21
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037983
qwen/qwen3.7-plus
awkweave-0037984
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}
eli 18 0 bruno 9 18 farah 7 5 lina 7 7 farah 15 24 hana 29 3 bruno 27 14
bruno 0.50 farah 1.40 lina 1.00 farah 0.62 hana 9.67 bruno 1.93
alice 20 0 dina 7 28 hana 14 5 alice 13 10 alice 9 3 farah 1 20
dina 0.25 hana 2.80 alice 1.30 alice 3.00 farah 0.05
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037984-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}
eli 18 0 bruno 9 18 farah 7 5 lina 7 7 farah 15 24 hana 29 3 bruno 27 14
bruno 0.50 farah 1.40 lina 1.00 farah 0.62 hana 9.67 bruno 1.93
alice 20 0 dina 7 28 hana 14 5 alice 13 10 alice 9 3 farah 1 20
dina 0.25 hana 2.80 alice 1.30 alice 3.00 farah 0.05
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037984
qwen/qwen3.7-plus
awkweave-0037985
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]}
chen amber 17 ivan delta 20 hana delta 25 eli cobalt 7 lina cobalt 2 gus indigo 28 hana ember 28 lina fable 13 jules grove 17
gus indigo 28 hana ember 28 hana delta 25
kim grove 9 ivan grove 27 bruno indigo 9 gus grove 12 ivan juniper 23 farah juniper 2 lina grove 14 gus delta 11
ivan grove 27 ivan juniper 23 lina grove 14
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037985-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]}
chen amber 17 ivan delta 20 hana delta 25 eli cobalt 7 lina cobalt 2 gus indigo 28 hana ember 28 lina fable 13 jules grove 17
gus indigo 28 hana ember 28 hana delta 25
kim grove 9 ivan grove 27 bruno indigo 9 gus grove 12 ivan juniper 23 farah juniper 2 lina grove 14 gus delta 11
ivan grove 27 ivan juniper 23 lina grove 14
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037985
qwen/qwen3.7-plus
awkweave-0037986
Print column 6 followed by column 2 for every record.
{print $6, $2}
paused kim eli gus 6 cobalt ready farah alice alice 58 ember closed bruno jules gus 90 indigo active jules alice chen 22 ember pending eli eli eli 45 indigo active ivan dina jules 29 grove pending ivan hana hana 96 fable paused gus farah kim 46 indigo
cobalt kim ember farah indigo bruno ember jules indigo eli grove ivan fable ivan indigo gus
closed gus gus jules 11 juniper ready dina ivan dina 18 delta failed hana alice lina 118 delta active hana kim farah 114 delta paused hana chen alice 60 juniper failed ivan hana dina 22 cobalt closed dina chen kim 72 grove ready bruno alice kim 48 fable ready alice dina farah 4 amber ready ivan dina gus 16 fable
juniper gus delta dina delta hana delta hana juniper hana cobalt ivan grove dina fable bruno amber alice fable ivan
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037986-p1
Output the sixth column followed by the second column for every record.
{print $6, $2}
paused kim eli gus 6 cobalt ready farah alice alice 58 ember closed bruno jules gus 90 indigo active jules alice chen 22 ember pending eli eli eli 45 indigo active ivan dina jules 29 grove pending ivan hana hana 96 fable paused gus farah kim 46 indigo
cobalt kim ember farah indigo bruno ember jules indigo eli grove ivan fable ivan indigo gus
closed gus gus jules 11 juniper ready dina ivan dina 18 delta failed hana alice lina 118 delta active hana kim farah 114 delta paused hana chen alice 60 juniper failed ivan hana dina 22 cobalt closed dina chen kim 72 grove ready bruno alice kim 48 fable ready alice dina farah 4 amber ready ivan dina gus 16 fable
juniper gus delta dina delta hana delta hana juniper hana cobalt ivan grove dina fable bruno amber alice fable ivan
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037986
qwen/qwen3.7-plus
awkweave-0037987
Print the last field of every input line.
{print $NF}
55 harbor jules pending 32 grove eli closed 33 cobalt dina active 59 indigo ivan ready 2 cobalt ivan closed 100 fable chen active 10 juniper jules ready 36 grove eli failed 52 ember eli active 0 harbor gus failed
pending closed active ready closed active ready failed active failed
50 amber alice active 12 birch farah paused 99 fable dina failed 25 amber jules failed 107 juniper bruno active 29 birch gus pending
active paused failed failed active pending
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037987-p1
Print the final field of every line in the input.
{print $NF}
55 harbor jules pending 32 grove eli closed 33 cobalt dina active 59 indigo ivan ready 2 cobalt ivan closed 100 fable chen active 10 juniper jules ready 36 grove eli failed 52 ember eli active 0 harbor gus failed
pending closed active ready closed active ready failed active failed
50 amber alice active 12 birch farah paused 99 fable dina failed 25 amber jules failed 107 juniper bruno active 29 birch gus pending
active paused failed failed active pending
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037987
qwen/qwen3.7-plus
awkweave-0037988
Print the complete records where column 3 is at least 75.
$3 >= 75
grove indigo 54 kim ready juniper ember 109 alice active indigo cobalt 105 dina active cobalt amber 87 gus closed indigo delta 56 bruno failed birch amber 17 gus pending birch ember 31 lina closed amber ember 38 kim active
juniper ember 109 alice active indigo cobalt 105 dina active cobalt amber 87 gus closed
grove harbor 3 jules pending cobalt birch 13 alice active birch ember 97 gus failed ember birch 11 farah active amber ember 49 jules active delta birch 96 eli pending birch indigo 38 farah failed amber indigo 46 eli closed cobalt fable 78 dina paused juniper cobalt 59 ivan closed
birch ember 97 gus failed delta birch 96 eli pending cobalt fable 78 dina paused
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037988-p1
Output the full records where the value in the third column is 75 or higher.
$3 >= 75
grove indigo 54 kim ready juniper ember 109 alice active indigo cobalt 105 dina active cobalt amber 87 gus closed indigo delta 56 bruno failed birch amber 17 gus pending birch ember 31 lina closed amber ember 38 kim active
juniper ember 109 alice active indigo cobalt 105 dina active cobalt amber 87 gus closed
grove harbor 3 jules pending cobalt birch 13 alice active birch ember 97 gus failed ember birch 11 farah active amber ember 49 jules active delta birch 96 eli pending birch indigo 38 farah failed amber indigo 46 eli closed cobalt fable 78 dina paused juniper cobalt 59 ivan closed
birch ember 97 gus failed delta birch 96 eli pending cobalt fable 78 dina paused
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037988
qwen/qwen3.7-plus
awkweave-0037989
Show whole lines whose 2nd field is between 12 and 22, inclusive.
$2 >= 12 && $2 <= 22
paused 8 eli cobalt active 26 ivan birch closed 14 gus delta pending 9 gus juniper paused 19 dina indigo pending 26 farah amber failed 5 lina grove closed 10 farah ember closed 19 dina grove paused 26 alice harbor
closed 14 gus delta paused 19 dina indigo closed 19 dina grove
paused 8 alice delta active 20 jules harbor closed 8 ivan delta failed 17 eli fable failed 20 lina delta closed 18 chen cobalt ready 16 lina grove
active 20 jules harbor failed 17 eli fable failed 20 lina delta closed 18 chen cobalt ready 16 lina grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0037989-p1
Display entire lines where the second field falls within the inclusive range of 12 to 22.
$2 >= 12 && $2 <= 22
paused 8 eli cobalt active 26 ivan birch closed 14 gus delta pending 9 gus juniper paused 19 dina indigo pending 26 farah amber failed 5 lina grove closed 10 farah ember closed 19 dina grove paused 26 alice harbor
closed 14 gus delta paused 19 dina indigo closed 19 dina grove
paused 8 alice delta active 20 jules harbor closed 8 ivan delta failed 17 eli fable failed 20 lina delta closed 18 chen cobalt ready 16 lina grove
active 20 jules harbor failed 17 eli fable failed 20 lina delta closed 18 chen cobalt ready 16 lina grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0037989
qwen/qwen3.7-plus
awkweave-0038000
Find and print the largest numeric value in column 2.
NR==1||$2>extreme{extreme=$2}END{print extreme}
cobalt 27 dina grove 10 lina fable 5 farah cobalt 3 gus amber 22 jules grove 16 alice ember 18 eli
27
fable 9 kim indigo 29 alice indigo 24 eli birch 1 eli birch 15 gus birch 3 alice
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0038000-p1
Identify and output the maximum number found in the second column.
NR==1||$2>extreme{extreme=$2}END{print extreme}
cobalt 27 dina grove 10 lina fable 5 farah cobalt 3 gus amber 22 jules grove 16 alice ember 18 eli
27
fable 9 kim indigo 29 alice indigo 24 eli birch 1 eli birch 15 gus birch 3 alice
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0038000
qwen/qwen3.7-plus
awkweave-0038001
Count all input records and print the total.
END{print NR}
alice 119 eli 47 eli 12 hana 101 farah 67 eli 85 eli 87 farah 103
8
eli 3 jules 99 bruno 64 dina 38 jules 35 jules 34 jules 27 dina 76 hana 115 dina 73
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null