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-0033881-p1
Treating the first line as a header, output the 'note' column for all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]}
region record_id score note r001 hana 26 failed r002 farah 25 active r003 gus 29 active r004 farah 24 pending r005 chen 25 failed r006 alice 22 closed
failed active active pending failed closed
region record_id score note r001 ivan 29 failed r002 kim 26 paused r003 kim 9 pending r004 chen 29 closed r005 alice 21 closed r006 chen 18 active r007 hana 17 failed r008 eli 23 closed r009 farah 11 paused r010 dina 17 paused
failed paused pending closed closed active failed closed paused paused
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033881
qwen/qwen3.7-plus
awkweave-0033882
The first row is a header. Print display_name for data rows whose score is greater than 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 lina 12 ready r002 jules 7 paused r003 gus 12 closed r004 lina 26 ready r005 jules 18 paused r006 hana 21 ready
lina jules hana
record_id display_name score state r001 lina 10 ready r002 eli 28 pending r003 eli 18 paused r004 alice 26 failed r005 hana 3 closed r006 kim 21 failed
eli eli alice kim
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033882-p1
With the first row as a header, print the 'display_name' for data rows where the 'score' exceeds 14.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]}
record_id display_name score state r001 lina 12 ready r002 jules 7 paused r003 gus 12 closed r004 lina 26 ready r005 jules 18 paused r006 hana 21 ready
lina jules hana
record_id display_name score state r001 lina 10 ready r002 eli 28 pending r003 eli 18 paused r004 alice 26 failed r005 hana 3 closed r006 kim 21 failed
eli eli alice kim
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033882
qwen/qwen3.7-plus
awkweave-0033883
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
gus 15 active bruno 6 active bruno 4 active eli 12 closed eli 16 paused alice 27 active eli 12 paused kim 22 active farah 18 pending
active active active closed paused active paused active pending
lina 11 failed gus 23 active ivan 12 active alice 30 pending alice 20 paused farah 28 failed ivan 4 ready chen 18 pending dina 20 active
failed active active pending paused failed ready pending active
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033883-p1
Given tab-separated input, extract and print the third column from every record.
BEGIN{FS=OFS="\t"}{print $3}
gus 15 active bruno 6 active bruno 4 active eli 12 closed eli 16 paused alice 27 active eli 12 paused kim 22 active farah 18 pending
active active active closed paused active paused active pending
lina 11 failed gus 23 active ivan 12 active alice 30 pending alice 20 paused farah 28 failed ivan 4 ready chen 18 pending dina 20 active
failed active active pending paused failed ready pending active
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033883
qwen/qwen3.7-plus
awkweave-0033884
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 24.
BEGIN{FS=OFS=","}$2>24{print $1}
lina,1,ready chen,10,closed lina,10,paused kim,8,failed farah,17,paused farah,15,closed eli,25,paused
eli
alice,8,closed dina,29,active chen,11,failed dina,29,paused dina,28,failed alice,19,ready gus,24,failed ivan,10,closed
dina dina dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033884-p1
Given simple comma-separated input without quoted commas, output the first field whenever the second field is greater than 24.
BEGIN{FS=OFS=","}$2>24{print $1}
lina,1,ready chen,10,closed lina,10,paused kim,8,failed farah,17,paused farah,15,closed eli,25,paused
eli
alice,8,closed dina,29,active chen,11,failed dina,29,paused dina,28,failed alice,19,ready gus,24,failed ivan,10,closed
dina dina dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033884
qwen/qwen3.7-plus
awkweave-0033885
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
bruno ember 73 ivan grove 40 eli indigo 104 ivan amber 30 lina grove 107 lina grove 58
bruno ember 73 ivan grove 40 eli indigo 104 ivan amber 30 lina grove 107 lina grove 58
gus birch 25 kim juniper 96 hana harbor 60 hana amber 9 ivan fable 103 kim delta 23
gus birch 25 kim juniper 96 hana harbor 60 hana amber 9 ivan fable 103 kim delta 23
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033885-p1
Remove leading and trailing whitespace from each line and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
bruno ember 73 ivan grove 40 eli indigo 104 ivan amber 30 lina grove 107 lina grove 58
bruno ember 73 ivan grove 40 eli indigo 104 ivan amber 30 lina grove 107 lina grove 58
gus birch 25 kim juniper 96 hana harbor 60 hana amber 9 ivan fable 103 kim delta 23
gus birch 25 kim juniper 96 hana harbor 60 hana amber 9 ivan fable 103 kim delta 23
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033885
qwen/qwen3.7-plus
awkweave-0033886
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana juniper 15 ready kim harbor 119 pending alice grove 22 pending lina fable 60 pending dina harbor 105 pending gus juniper 12 active alice birch 32 active
dina harbor 105 pending
kim indigo 80 active alice amber 40 pending eli delta 39 closed jules ember 106 failed lina indigo 24 failed eli delta 57 pending
alice amber 40 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033886-p1
Identify and output 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}
hana juniper 15 ready kim harbor 119 pending alice grove 22 pending lina fable 60 pending dina harbor 105 pending gus juniper 12 active alice birch 32 active
dina harbor 105 pending
kim indigo 80 active alice amber 40 pending eli delta 39 closed jules ember 106 failed lina indigo 24 failed eli delta 57 pending
alice amber 40 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033886
qwen/qwen3.7-plus
awkweave-0033887
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
farah 70 lina 17 hana 96 hana 92 dina 36 alice 18 chen 78 eli 2 kim 46 dina 22
lina 17 dina 36 eli 2
farah 84 lina 78 kim 17 eli 53 gus 73 hana 71
lina 78 gus 73
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033887-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, 8, etc.).
NR%3==2
farah 70 lina 17 hana 96 hana 92 dina 36 alice 18 chen 78 eli 2 kim 46 dina 22
lina 17 dina 36 eli 2
farah 84 lina 78 kim 17 eli 53 gus 73 hana 71
lina 78 gus 73
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033887
qwen/qwen3.7-plus
awkweave-0033888
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 6 gamma harbor 7 alpha harbor 117 gamma juniper 79 gamma delta 35 alpha fable 117
4
alpha ember 31 delta delta 84 alpha indigo 51 alpha fable 65 gamma amber 118 delta harbor 59 delta cobalt 89 alpha ember 3 alpha ember 92
7
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033888-p1
Determine the number of unique values present in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
beta harbor 6 gamma harbor 7 alpha harbor 117 gamma juniper 79 gamma delta 35 alpha fable 117
4
alpha ember 31 delta delta 84 alpha indigo 51 alpha fable 65 gamma amber 118 delta harbor 59 delta cobalt 89 alpha ember 3 alpha ember 92
7
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033888
qwen/qwen3.7-plus
awkweave-0033889
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}
chen 19 0 hana 19 17 ivan 18 25 alice 29 27 alice 24 25 bruno 17 30 kim 16 2 chen 15 29 gus 8 9
hana 1.12 ivan 0.72 alice 1.07 alice 0.96 bruno 0.57 kim 8.00 chen 0.52 gus 0.89
jules 30 0 dina 19 17 bruno 21 27 jules 28 14 kim 21 2 lina 21 2
dina 1.12 bruno 0.78 jules 2.00 kim 10.50 lina 10.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033889-p1
For each record, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 19 0 hana 19 17 ivan 18 25 alice 29 27 alice 24 25 bruno 17 30 kim 16 2 chen 15 29 gus 8 9
hana 1.12 ivan 0.72 alice 1.07 alice 0.96 bruno 0.57 kim 8.00 chen 0.52 gus 0.89
jules 30 0 dina 19 17 bruno 21 27 jules 28 14 kim 21 2 lina 21 2
dina 1.12 bruno 0.78 jules 2.00 kim 10.50 lina 10.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033889
qwen/qwen3.7-plus
awkweave-0033900
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 27 grove hana 80 ember farah 31 cobalt chen 40 grove chen 17 harbor ivan 41 birch
hana 80 ember farah 31 cobalt chen 40 grove chen 17 harbor ivan 41 birch
farah 104 harbor lina 107 harbor dina 71 harbor chen 109 amber jules 72 indigo bruno 87 amber bruno 56 harbor farah 119 juniper
lina 107 harbor dina 71 harbor chen 109 amber jules 72 indigo bruno 87 amber bruno 56 harbor farah 119 juniper
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033900-p1
Ignore the header line and print all subsequent lines exactly as they appear.
NR > 1
ivan 27 grove hana 80 ember farah 31 cobalt chen 40 grove chen 17 harbor ivan 41 birch
hana 80 ember farah 31 cobalt chen 40 grove chen 17 harbor ivan 41 birch
farah 104 harbor lina 107 harbor dina 71 harbor chen 109 amber jules 72 indigo bruno 87 amber bruno 56 harbor farah 119 juniper
lina 107 harbor dina 71 harbor chen 109 amber jules 72 indigo bruno 87 amber bruno 56 harbor farah 119 juniper
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033900
qwen/qwen3.7-plus
awkweave-0033901
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
gus active 6 lina ready 65 eli pending 45 dina ready 72 ivan closed 89 ivan ready 71 dina ready 89 chen paused 37 hana ready 2 lina failed 78
5
ivan active 29 bruno ready 37 chen closed 9 dina pending 87 kim active 75 bruno active 34 chen pending 88 lina paused 8 ivan active 5
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033901-p1
Count the number of records where the second column contains the value 'ready', printing 0 if no such records exist.
$2 == "ready"{n++}END{print n+0}
gus active 6 lina ready 65 eli pending 45 dina ready 72 ivan closed 89 ivan ready 71 dina ready 89 chen paused 37 hana ready 2 lina failed 78
5
ivan active 29 bruno ready 37 chen closed 9 dina pending 87 kim active 75 bruno active 34 chen pending 88 lina paused 8 ivan active 5
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033901
qwen/qwen3.7-plus
awkweave-0033902
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
chen harbor 1 kim ember 18 lina delta 5 gus grove 29 farah delta 12 kim fable 5 gus ember 11 eli indigo 26 dina amber 5
112
chen indigo 5 hana grove 9 farah amber 3 lina birch 24 gus birch 13 jules grove 6 hana grove 22 hana grove 5 jules fable 3
90
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033902-p1
Compute and display the total sum of all integer values found in the third column.
{s+=$3}END{print s+0}
chen harbor 1 kim ember 18 lina delta 5 gus grove 29 farah delta 12 kim fable 5 gus ember 11 eli indigo 26 dina amber 5
112
chen indigo 5 hana grove 9 farah amber 3 lina birch 24 gus birch 13 jules grove 6 hana grove 22 hana grove 5 jules fable 3
90
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033902
qwen/qwen3.7-plus
awkweave-0033903
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 grove chen 14 indigo jules 3 harbor farah 13 juniper jules 23 ember farah 30 juniper jules 21 delta bruno 3 harbor gus 14 amber jules
15.22
12 birch dina 4 fable chen 18 cobalt gus 11 indigo hana 20 birch alice 5 harbor hana 9 birch gus
11.29
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033903-p1
Calculate the average of the values in the first column and print the result rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
16 grove chen 14 indigo jules 3 harbor farah 13 juniper jules 23 ember farah 30 juniper jules 21 delta bruno 3 harbor gus 14 amber jules
15.22
12 birch dina 4 fable chen 18 cobalt gus 11 indigo hana 20 birch alice 5 harbor hana 9 birch gus
11.29
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033903
qwen/qwen3.7-plus
awkweave-0033904
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 27 farah birch 24 gus harbor 20 bruno delta 16 gus fable 30 gus fable 21 chen juniper 21 farah ember 29 chen amber 30 kim
16
fable 27 bruno amber 17 bruno amber 14 hana grove 2 chen juniper 5 jules indigo 7 bruno fable 7 gus amber 22 hana
2
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033904-p1
Locate and print the minimum numeric value found in the second column.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ember 27 farah birch 24 gus harbor 20 bruno delta 16 gus fable 30 gus fable 21 chen juniper 21 farah ember 29 chen amber 30 kim
16
fable 27 bruno amber 17 bruno amber 14 hana grove 2 chen juniper 5 jules indigo 7 bruno fable 7 gus amber 22 hana
2
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033904
qwen/qwen3.7-plus
awkweave-0033905
Find and print the largest numeric value in column 3.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina cobalt 19 hana ember 25 eli indigo 25 chen amber 25 jules delta 18 alice cobalt 14 kim harbor 11 farah harbor 5
25
ivan grove 29 lina cobalt 10 farah indigo 19 kim fable 24 jules delta 15 chen ember 28
29
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033905-p1
Locate and print the maximum numeric value found in the third column.
NR==1||$3>extreme{extreme=$3}END{print extreme}
lina cobalt 19 hana ember 25 eli indigo 25 chen amber 25 jules delta 18 alice cobalt 14 kim harbor 11 farah harbor 5
25
ivan grove 29 lina cobalt 10 farah indigo 19 kim fable 24 jules delta 15 chen ember 28
29
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033905
qwen/qwen3.7-plus
awkweave-0033906
Count all input records and print the total.
END{print NR}
kim 118 eli 80 bruno 39 chen 51 eli 71 hana 56 bruno 81 alice 34
8
jules 107 bruno 66 bruno 104 jules 96 alice 59 kim 82 kim 115 ivan 65
8
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033906-p1
Count the total number of input records and output the result.
END{print NR}
kim 118 eli 80 bruno 39 chen 51 eli 71 hana 56 bruno 81 alice 34
8
jules 107 bruno 66 bruno 104 jules 96 alice 59 kim 82 kim 115 ivan 65
8
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033906
qwen/qwen3.7-plus
awkweave-0033907
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
ivan delta 82 hana cobalt 61 ivan amber 112 bruno indigo 103 jules juniper 97 bruno birch 47 gus juniper 26 ivan grove 93 hana cobalt 61
ivan delta 82 hana cobalt 61 ivan amber 112 bruno indigo 103 jules juniper 97 bruno birch 47 gus juniper 26 ivan grove 93
gus cobalt 30 alice delta 79 kim grove 109 kim amber 30 gus cobalt 30 dina delta 84 bruno harbor 73 bruno grove 106 gus delta 62 dina harbor 76
gus cobalt 30 alice delta 79 kim grove 109 kim amber 30 dina delta 84 bruno harbor 73 bruno grove 106 gus delta 62 dina harbor 76
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033907-p1
Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence.
!seen[$0]++
ivan delta 82 hana cobalt 61 ivan amber 112 bruno indigo 103 jules juniper 97 bruno birch 47 gus juniper 26 ivan grove 93 hana cobalt 61
ivan delta 82 hana cobalt 61 ivan amber 112 bruno indigo 103 jules juniper 97 bruno birch 47 gus juniper 26 ivan grove 93
gus cobalt 30 alice delta 79 kim grove 109 kim amber 30 gus cobalt 30 dina delta 84 bruno harbor 73 bruno grove 106 gus delta 62 dina harbor 76
gus cobalt 30 alice delta 79 kim grove 109 kim amber 30 dina delta 84 bruno harbor 73 bruno grove 106 gus delta 62 dina harbor 76
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033907
qwen/qwen3.7-plus
awkweave-0033908
Keep only the first line for each distinct value in column 3; preserve input order.
!seen[$3]++
chen harbor 95 chen ember 47 ivan juniper 51 chen cobalt 56 eli grove 102 eli harbor 106 kim ember 76 chen fable 89
chen harbor 95 chen ember 47 ivan juniper 51 chen cobalt 56 eli grove 102 eli harbor 106 kim ember 76 chen fable 89
bruno delta 105 bruno indigo 23 jules ember 24 kim cobalt 101 kim fable 47 eli fable 98 hana ember 20 chen amber 58
bruno delta 105 bruno indigo 23 jules ember 24 kim cobalt 101 kim fable 47 eli fable 98 hana ember 20 chen amber 58
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033908-p1
Retain only the first row for every unique value in the third column, preserving the input order.
!seen[$3]++
chen harbor 95 chen ember 47 ivan juniper 51 chen cobalt 56 eli grove 102 eli harbor 106 kim ember 76 chen fable 89
chen harbor 95 chen ember 47 ivan juniper 51 chen cobalt 56 eli grove 102 eli harbor 106 kim ember 76 chen fable 89
bruno delta 105 bruno indigo 23 jules ember 24 kim cobalt 101 kim fable 47 eli fable 98 hana ember 20 chen amber 58
bruno delta 105 bruno indigo 23 jules ember 24 kim cobalt 101 kim fable 47 eli fable 98 hana ember 20 chen amber 58
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033908
qwen/qwen3.7-plus
awkweave-0033909
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
gus 8 harbor eli 24 harbor gus 19 birch dina 23 fable gus 7 amber chen 6 harbor ivan 12 indigo alice 8 ember bruno 9 ember farah 4 indigo
gus 8 eli 32 gus 51 dina 74 gus 81 chen 87 ivan 99 alice 107 bruno 116 farah 120
kim 16 fable dina 22 ember ivan 27 grove alice 17 cobalt jules 17 harbor hana 15 cobalt hana 24 birch jules 29 ember
kim 16 dina 38 ivan 65 alice 82 jules 99 hana 114 hana 138 jules 167
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033909-p1
Output the first column alongside the cumulative sum of the second column for each record, separated by a space.
{s+=$2;print $1,s}
gus 8 harbor eli 24 harbor gus 19 birch dina 23 fable gus 7 amber chen 6 harbor ivan 12 indigo alice 8 ember bruno 9 ember farah 4 indigo
gus 8 eli 32 gus 51 dina 74 gus 81 chen 87 ivan 99 alice 107 bruno 116 farah 120
kim 16 fable dina 22 ember ivan 27 grove alice 17 cobalt jules 17 harbor hana 15 cobalt hana 24 birch jules 29 ember
kim 16 dina 38 ivan 65 alice 82 jules 99 hana 114 hana 138 jules 167
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033909
qwen/qwen3.7-plus
awkweave-0033910
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
gus 12 9 juniper jules 10 22 cobalt dina 6 5 ember chen 10 22 fable chen 3 5 juniper bruno 19 14 harbor bruno 8 2 juniper ivan 13 8 juniper gus 3 28 juniper hana 17 10 ember
gus 21 jules 32 dina 11 chen 32 chen 8 bruno 33 bruno 10 ivan 21 gus 31 hana 27
farah 13 20 amber dina 29 14 cobalt lina 5 21 ember farah 19 2 birch dina 29 9 juniper gus 29 6 birch
farah 33 dina 43 lina 26 farah 21 dina 38 gus 35
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033910-p1
For each row, display the first field followed by the sum of the second and third fields.
{print $1,$2+$3}
gus 12 9 juniper jules 10 22 cobalt dina 6 5 ember chen 10 22 fable chen 3 5 juniper bruno 19 14 harbor bruno 8 2 juniper ivan 13 8 juniper gus 3 28 juniper hana 17 10 ember
gus 21 jules 32 dina 11 chen 32 chen 8 bruno 33 bruno 10 ivan 21 gus 31 hana 27
farah 13 20 amber dina 29 14 cobalt lina 5 21 ember farah 19 2 birch dina 29 9 juniper gus 29 6 birch
farah 33 dina 43 lina 26 farah 21 dina 38 gus 35
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033910
qwen/qwen3.7-plus
awkweave-0033911
Print column 1 and pass when column 2 is at least 25; otherwise print fail.
{print $1,($2>=25?"pass":"fail")}
chen 25 kim 4 alice 7 ivan 27 eli 21 chen 21 bruno 6 eli 7 dina 2
chen pass kim fail alice fail ivan pass eli fail chen fail bruno fail eli fail dina fail
alice 8 lina 21 bruno 5 chen 20 kim 12 eli 4 farah 30 ivan 17 dina 28 eli 12
alice fail lina fail bruno fail chen fail kim fail eli fail farah pass ivan fail dina pass eli fail
conditional_label
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033911-p1
Output the first column along with 'pass' if the second column is 25 or greater, otherwise output 'fail'.
{print $1,($2>=25?"pass":"fail")}
chen 25 kim 4 alice 7 ivan 27 eli 21 chen 21 bruno 6 eli 7 dina 2
chen pass kim fail alice fail ivan pass eli fail chen fail bruno fail eli fail dina fail
alice 8 lina 21 bruno 5 chen 20 kim 12 eli 4 farah 30 ivan 17 dina 28 eli 12
alice fail lina fail bruno fail chen fail kim fail eli fail farah pass ivan fail dina pass eli fail
conditional_label
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033911
qwen/qwen3.7-plus
awkweave-0033912
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
eli juniper 22 kim ember 103 chen juniper 93 lina cobalt 95 bruno cobalt 47 gus juniper 10 hana fable 81 eli grove 47 jules birch 32
JUNIPER EMBER JUNIPER COBALT COBALT JUNIPER FABLE GROVE BIRCH
eli birch 120 dina birch 59 hana harbor 75 dina juniper 44 alice amber 62 hana indigo 19 alice harbor 61
BIRCH BIRCH HARBOR JUNIPER AMBER INDIGO HARBOR
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033912-p1
Transform the second column to uppercase and print only that column.
{print toupper($2)}
eli juniper 22 kim ember 103 chen juniper 93 lina cobalt 95 bruno cobalt 47 gus juniper 10 hana fable 81 eli grove 47 jules birch 32
JUNIPER EMBER JUNIPER COBALT COBALT JUNIPER FABLE GROVE BIRCH
eli birch 120 dina birch 59 hana harbor 75 dina juniper 44 alice amber 62 hana indigo 19 alice harbor 61
BIRCH BIRCH HARBOR JUNIPER AMBER INDIGO HARBOR
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033912
qwen/qwen3.7-plus
awkweave-0033913
From column 1, print 4 characters starting at character 3.
{print substr($1,3,4)}
delta 19 harbor 59 cobalt 85 fable 59 grove 7 amber 65 amber 80 indigo 117
lta rbor balt ble ove ber ber digo
delta 10 harbor 28 harbor 100 indigo 87 birch 39 harbor 60 ember 65
lta rbor rbor digo rch rbor ber
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033913-p1
Extract and print a substring of 4 characters from the first column, starting at the third character.
{print substr($1,3,4)}
delta 19 harbor 59 cobalt 85 fable 59 grove 7 amber 65 amber 80 indigo 117
lta rbor balt ble ove ber ber digo
delta 10 harbor 28 harbor 100 indigo 87 birch 39 harbor 60 ember 65
lta rbor rbor digo rch rbor ber
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033913
qwen/qwen3.7-plus
awkweave-0033914
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
delta_ember 1 amber_indigo 100 grove_grove 59 birch_delta 55 delta_cobalt 28 birch_fable 84 amber_amber 15
delta ember amber indigo grove grove birch delta delta cobalt birch fable amber amber
harbor_amber 49 grove_delta 102 grove_cobalt 56 birch_delta 85 amber_indigo 5 indigo_amber 112 birch_amber 52 cobalt_fable 22 fable_harbor 91
harbor amber grove delta grove cobalt birch delta amber indigo indigo amber birch amber cobalt fable fable harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033914-p1
Substitute all underscores in the first column with spaces and print the modified values.
{gsub(/_/," ",$1);print $1}
delta_ember 1 amber_indigo 100 grove_grove 59 birch_delta 55 delta_cobalt 28 birch_fable 84 amber_amber 15
delta ember amber indigo grove grove birch delta delta cobalt birch fable amber amber
harbor_amber 49 grove_delta 102 grove_cobalt 56 birch_delta 85 amber_indigo 5 indigo_amber 112 birch_amber 52 cobalt_fable 22 fable_harbor 91
harbor amber grove delta grove cobalt birch delta amber indigo indigo amber birch amber cobalt fable fable harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033914
qwen/qwen3.7-plus
awkweave-0033915
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim cobalt 101 ready gus indigo 5 pending dina amber 15 ready alice indigo 101 active kim cobalt 49 ready ivan fable 85 ready hana ember 76 failed jules fable 81 pending
ready 101 cobalt kim pending 5 indigo gus ready 15 amber dina active 101 indigo alice ready 49 cobalt kim ready 85 fable ivan failed 76 ember hana pending 81 fable jules
eli indigo 79 failed eli delta 3 closed lina amber 37 failed hana fable 21 failed chen cobalt 75 active jules amber 5 active
failed 79 indigo eli closed 3 delta eli failed 37 amber lina failed 21 fable hana active 75 cobalt chen active 5 amber jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033915-p1
Reverse the sequence of fields on each line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim cobalt 101 ready gus indigo 5 pending dina amber 15 ready alice indigo 101 active kim cobalt 49 ready ivan fable 85 ready hana ember 76 failed jules fable 81 pending
ready 101 cobalt kim pending 5 indigo gus ready 15 amber dina active 101 indigo alice ready 49 cobalt kim ready 85 fable ivan failed 76 ember hana pending 81 fable jules
eli indigo 79 failed eli delta 3 closed lina amber 37 failed hana fable 21 failed chen cobalt 75 active jules amber 5 active
failed 79 indigo eli closed 3 delta eli failed 37 amber lina failed 21 fable hana active 75 cobalt chen active 5 amber jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033915
qwen/qwen3.7-plus
awkweave-0033916
Print the number of whitespace-separated fields on each line.
{print NF}
farah ember 31 pending eli harbor 74 ready bruno indigo 14 failed jules cobalt 77 ready gus harbor 99 paused gus birch 23 closed chen indigo 111 pending gus juniper 52 active ivan indigo 96 closed chen indigo 82 active
4 4 4 4 4 4 4 4 4 4
alice birch 17 pending lina fable 99 closed farah fable 22 ready ivan grove 12 closed hana juniper 53 closed ivan indigo 6 ready lina juniper 51 paused farah delta 81 pending
4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033916-p1
Display the count of whitespace-delimited fields for every line.
{print NF}
farah ember 31 pending eli harbor 74 ready bruno indigo 14 failed jules cobalt 77 ready gus harbor 99 paused gus birch 23 closed chen indigo 111 pending gus juniper 52 active ivan indigo 96 closed chen indigo 82 active
4 4 4 4 4 4 4 4 4 4
alice birch 17 pending lina fable 99 closed farah fable 22 ready ivan grove 12 closed hana juniper 53 closed ivan indigo 6 ready lina juniper 51 paused farah delta 81 pending
4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033916
qwen/qwen3.7-plus
awkweave-0033917
Count records for each value in column 2. Print each value and its count in order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus beta 11 lina alpha 46 dina alpha 18 hana gamma 71 lina gamma 52 gus beta 115
beta 2 alpha 2 gamma 2
lina delta 14 bruno delta 43 farah beta 17 lina delta 40 ivan gamma 11 dina delta 25 kim delta 117
delta 5 beta 1 gamma 1
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033917-p1
Tally the records for each distinct value in the second column and print each value with its count in the order of first appearance.
{if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]}
gus beta 11 lina alpha 46 dina alpha 18 hana gamma 71 lina gamma 52 gus beta 115
beta 2 alpha 2 gamma 2
lina delta 14 bruno delta 43 farah beta 17 lina delta 40 ivan gamma 11 dina delta 25 kim delta 117
delta 5 beta 1 gamma 1
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033917
qwen/qwen3.7-plus
awkweave-0033918
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 delta 12 eli gamma 5 farah delta 29 eli delta 16 bruno gamma 29 gus beta 17 ivan beta 10 bruno beta 16
delta 57 gamma 34 beta 43
chen gamma 13 farah beta 17 alice beta 24 bruno beta 13 hana beta 4 dina delta 2
gamma 13 beta 58 delta 2
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033918-p1
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 delta 12 eli gamma 5 farah delta 29 eli delta 16 bruno gamma 29 gus beta 17 ivan beta 10 bruno beta 16
delta 57 gamma 34 beta 43
chen gamma 13 farah beta 17 alice beta 24 bruno beta 13 hana beta 4 dina delta 2
gamma 13 beta 58 delta 2
sum_by_key
2
train
original-grammar-copy
CC-BY-4.0
awkweave-0033918
qwen/qwen3.7-plus
awkweave-0033919
Print each repeated value from column 1 with its number of occurrences, in first-appearance order.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta amber 56 alpha ember 9 alpha harbor 16 beta indigo 83 gamma indigo 57 delta juniper 1 alpha grove 66 gamma indigo 12 beta delta 120 beta grove 69
beta 4 alpha 3 gamma 2
gamma delta 49 gamma harbor 8 delta indigo 83 alpha delta 106 alpha cobalt 11 alpha ember 62 beta fable 19 beta indigo 28 gamma ember 105
gamma 3 alpha 3 beta 2
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033919-p1
Identify duplicate entries in column 1 and print each repeated value alongside its frequency count, maintaining the order of their first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta amber 56 alpha ember 9 alpha harbor 16 beta indigo 83 gamma indigo 57 delta juniper 1 alpha grove 66 gamma indigo 12 beta delta 120 beta grove 69
beta 4 alpha 3 gamma 2
gamma delta 49 gamma harbor 8 delta indigo 83 alpha delta 106 alpha cobalt 11 alpha ember 62 beta fable 19 beta indigo 28 gamma ember 105
gamma 3 alpha 3 beta 2
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033919
qwen/qwen3.7-plus
awkweave-0033920
The first row is a header. Print the state column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
record_id state note score r001 gus 12 paused r002 chen 7 pending r003 hana 24 ready r004 farah 18 paused r005 jules 16 closed r006 farah 16 active r007 farah 27 pending
gus chen hana farah jules farah farah
record_id state note score r001 chen 2 pending r002 alice 6 paused r003 alice 24 active r004 hana 21 pending r005 farah 7 closed r006 eli 3 failed r007 bruno 27 active r008 hana 22 closed
chen alice alice hana farah eli bruno hana
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033920-p1
Treating the first line as a header, extract and display the state column from all subsequent data rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["state"]}
record_id state note score r001 gus 12 paused r002 chen 7 pending r003 hana 24 ready r004 farah 18 paused r005 jules 16 closed r006 farah 16 active r007 farah 27 pending
gus chen hana farah jules farah farah
record_id state note score r001 chen 2 pending r002 alice 6 paused r003 alice 24 active r004 hana 21 pending r005 farah 7 closed r006 eli 3 failed r007 bruno 27 active r008 hana 22 closed
chen alice alice hana farah eli bruno hana
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033920
qwen/qwen3.7-plus
awkweave-0033921
The first row is a header. Print display_name for data rows whose score is greater than 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 hana 2 ready r002 dina 2 closed r003 dina 4 paused r004 kim 27 active r005 lina 8 paused r006 jules 19 failed r007 eli 21 pending
kim jules eli
record_id display_name score state r001 hana 12 pending r002 gus 18 paused r003 jules 3 ready r004 lina 20 ready r005 hana 1 ready r006 jules 9 ready r007 gus 19 pending r008 jules 2 pending r009 dina 29 ready
gus lina gus dina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033921-p1
With the first row serving as a header, output the display_name field for any data record where the score exceeds 13.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>13{print $h["display_name"]}
record_id display_name score state r001 hana 2 ready r002 dina 2 closed r003 dina 4 paused r004 kim 27 active r005 lina 8 paused r006 jules 19 failed r007 eli 21 pending
kim jules eli
record_id display_name score state r001 hana 12 pending r002 gus 18 paused r003 jules 3 ready r004 lina 20 ready r005 hana 1 ready r006 jules 9 ready r007 gus 19 pending r008 jules 2 pending r009 dina 29 ready
gus lina gus dina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033921
qwen/qwen3.7-plus
awkweave-0033922
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
hana 10 closed lina 9 ready hana 11 paused gus 3 closed bruno 1 closed chen 3 paused gus 4 closed jules 4 pending ivan 4 closed
hana lina hana gus bruno chen gus jules ivan
hana 5 active alice 14 pending alice 11 ready hana 23 closed farah 19 pending jules 11 active hana 22 paused ivan 9 active ivan 6 failed dina 1 closed
hana alice alice hana farah jules hana ivan ivan dina
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033922-p1
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
hana 10 closed lina 9 ready hana 11 paused gus 3 closed bruno 1 closed chen 3 paused gus 4 closed jules 4 pending ivan 4 closed
hana lina hana gus bruno chen gus jules ivan
hana 5 active alice 14 pending alice 11 ready hana 23 closed farah 19 pending jules 11 active hana 22 paused ivan 9 active ivan 6 failed dina 1 closed
hana alice alice hana farah jules hana ivan ivan dina
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0033922
qwen/qwen3.7-plus
awkweave-0033923
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 22.
BEGIN{FS=OFS=","}$2>22{print $1}
hana,30,pending jules,20,closed farah,7,pending gus,23,closed farah,13,paused ivan,22,active bruno,25,paused alice,13,failed
hana gus bruno
dina,19,active kim,1,closed ivan,6,paused dina,13,ready farah,3,active lina,12,failed dina,28,active dina,22,ready chen,28,pending bruno,19,pending
dina chen
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033923-p1
For simple comma-separated data without quoted fields, print the first column only if the value in the second column is greater than 22.
BEGIN{FS=OFS=","}$2>22{print $1}
hana,30,pending jules,20,closed farah,7,pending gus,23,closed farah,13,paused ivan,22,active bruno,25,paused alice,13,failed
hana gus bruno
dina,19,active kim,1,closed ivan,6,paused dina,13,ready farah,3,active lina,12,failed dina,28,active dina,22,ready chen,28,pending bruno,19,pending
dina chen
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033923
qwen/qwen3.7-plus
awkweave-0033924
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah cobalt 75 bruno birch 112 eli fable 86 lina birch 37 hana delta 83 alice birch 42 farah juniper 72 alice birch 36 chen juniper 77 kim amber 69
farah cobalt 75 bruno birch 112 eli fable 86 lina birch 37 hana delta 83 alice birch 42 farah juniper 72 alice birch 36 chen juniper 77 kim amber 69
dina juniper 55 gus juniper 94 dina cobalt 104 eli cobalt 22 farah amber 100 ivan amber 80 kim harbor 98 farah indigo 41 ivan harbor 11
dina juniper 55 gus juniper 94 dina cobalt 104 eli cobalt 22 farah amber 100 ivan amber 80 kim harbor 98 farah indigo 41 ivan harbor 11
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033924-p1
Remove leading and trailing whitespace from the input, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
farah cobalt 75 bruno birch 112 eli fable 86 lina birch 37 hana delta 83 alice birch 42 farah juniper 72 alice birch 36 chen juniper 77 kim amber 69
farah cobalt 75 bruno birch 112 eli fable 86 lina birch 37 hana delta 83 alice birch 42 farah juniper 72 alice birch 36 chen juniper 77 kim amber 69
dina juniper 55 gus juniper 94 dina cobalt 104 eli cobalt 22 farah amber 100 ivan amber 80 kim harbor 98 farah indigo 41 ivan harbor 11
dina juniper 55 gus juniper 94 dina cobalt 104 eli cobalt 22 farah amber 100 ivan amber 80 kim harbor 98 farah indigo 41 ivan harbor 11
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033924
qwen/qwen3.7-plus
awkweave-0033925
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli harbor 16 active kim delta 80 failed hana delta 25 ready lina birch 69 active eli birch 85 pending alice birch 43 closed eli indigo 79 failed
alice birch 43 closed
bruno juniper 48 pending farah fable 70 paused alice juniper 40 ready bruno juniper 53 pending eli delta 84 pending alice harbor 32 pending alice harbor 113 ready jules ember 61 active lina juniper 32 pending lina grove 46 ready
bruno juniper 48 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033925-p1
Output the longest line from the input; if multiple lines share the maximum length, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
eli harbor 16 active kim delta 80 failed hana delta 25 ready lina birch 69 active eli birch 85 pending alice birch 43 closed eli indigo 79 failed
alice birch 43 closed
bruno juniper 48 pending farah fable 70 paused alice juniper 40 ready bruno juniper 53 pending eli delta 84 pending alice harbor 32 pending alice harbor 113 ready jules ember 61 active lina juniper 32 pending lina grove 46 ready
bruno juniper 48 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033925
qwen/qwen3.7-plus
awkweave-0033926
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
alice 69 dina 21 chen 42 jules 79 alice 98 gus 99 dina 43 lina 2 bruno 1 farah 60
dina 21 alice 98 lina 2
hana 95 eli 36 farah 100 eli 24 hana 110 lina 48 alice 76
eli 36 hana 110
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033926-p1
Print every third line of the input, beginning with line 2 (i.e., lines 2, 5, 8, etc.).
NR%3==2
alice 69 dina 21 chen 42 jules 79 alice 98 gus 99 dina 43 lina 2 bruno 1 farah 60
dina 21 alice 98 lina 2
hana 95 eli 36 farah 100 eli 24 hana 110 lina 48 alice 76
eli 36 hana 110
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033926
qwen/qwen3.7-plus
awkweave-0033927
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta ember 36 alpha amber 99 alpha birch 93 alpha harbor 28 delta harbor 106 gamma juniper 103 delta ember 15 delta ember 56 delta fable 59
4
delta ember 50 beta harbor 64 delta ember 21 delta delta 12 gamma amber 92 alpha indigo 45 alpha harbor 117 gamma amber 64 delta ember 8
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033927-p1
Determine the number of unique values present in column 1 and output only this total count.
{if(!seen[$1]++)n++}END{print n+0}
beta ember 36 alpha amber 99 alpha birch 93 alpha harbor 28 delta harbor 106 gamma juniper 103 delta ember 15 delta ember 56 delta fable 59
4
delta ember 50 beta harbor 64 delta ember 21 delta delta 12 gamma amber 92 alpha indigo 45 alpha harbor 117 gamma amber 64 delta ember 8
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033927
qwen/qwen3.7-plus
awkweave-0033928
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 26 0 farah 18 22 eli 3 7 bruno 26 28 kim 27 8 alice 12 6 ivan 29 29
farah 0.82 eli 0.43 bruno 0.93 kim 3.38 alice 2.00 ivan 1.00
ivan 22 0 alice 29 30 jules 13 2 jules 3 19 jules 11 4 jules 20 20 dina 26 10
alice 0.97 jules 6.50 jules 0.16 jules 2.75 jules 1.00 dina 2.60
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033928-p1
For each row, output column 1 and the result of dividing column 2 by column 3 formatted to two decimal places, excluding any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
jules 26 0 farah 18 22 eli 3 7 bruno 26 28 kim 27 8 alice 12 6 ivan 29 29
farah 0.82 eli 0.43 bruno 0.93 kim 3.38 alice 2.00 ivan 1.00
ivan 22 0 alice 29 30 jules 13 2 jules 3 19 jules 11 4 jules 20 20 dina 26 10
alice 0.97 jules 6.50 jules 0.16 jules 2.75 jules 1.00 dina 2.60
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033928
qwen/qwen3.7-plus
awkweave-0033929
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 harbor 12 dina grove 1 farah grove 23 hana cobalt 9 gus birch 25 bruno cobalt 27 lina delta 17 kim birch 28
kim birch 28 bruno cobalt 27 gus birch 25
gus juniper 8 jules cobalt 6 gus grove 7 gus indigo 6 dina grove 13 dina fable 30 gus birch 14 chen delta 3
dina fable 30 gus birch 14 dina grove 13
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033929-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]}
chen harbor 12 dina grove 1 farah grove 23 hana cobalt 9 gus birch 25 bruno cobalt 27 lina delta 17 kim birch 28
kim birch 28 bruno cobalt 27 gus birch 25
gus juniper 8 jules cobalt 6 gus grove 7 gus indigo 6 dina grove 13 dina fable 30 gus birch 14 chen delta 3
dina fable 30 gus birch 14 dina grove 13
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033929
qwen/qwen3.7-plus
awkweave-0033930
Print column 4 followed by column 3 for every record.
{print $4, $3}
birch ivan ember closed amber farah indigo active indigo gus cobalt paused fable alice amber ready indigo jules birch failed ember eli delta paused harbor alice birch ready ember lina fable pending grove lina indigo pending grove kim amber paused
closed ember active indigo paused cobalt ready amber failed birch paused delta ready birch pending fable pending indigo paused amber
fable bruno amber active fable kim fable failed indigo lina juniper active fable dina juniper closed birch bruno juniper pending grove jules cobalt paused cobalt kim grove paused cobalt gus harbor failed cobalt dina harbor paused fable lina harbor paused
active amber failed fable active juniper closed juniper pending juniper paused cobalt paused grove failed harbor paused harbor paused harbor
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033930-p1
For each record, output the fourth column followed by the third column.
{print $4, $3}
birch ivan ember closed amber farah indigo active indigo gus cobalt paused fable alice amber ready indigo jules birch failed ember eli delta paused harbor alice birch ready ember lina fable pending grove lina indigo pending grove kim amber paused
closed ember active indigo paused cobalt ready amber failed birch paused delta ready birch pending fable pending indigo paused amber
fable bruno amber active fable kim fable failed indigo lina juniper active fable dina juniper closed birch bruno juniper pending grove jules cobalt paused cobalt kim grove paused cobalt gus harbor failed cobalt dina harbor paused fable lina harbor paused
active amber failed fable active juniper closed juniper pending juniper paused cobalt paused grove failed harbor paused harbor paused harbor
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033930
qwen/qwen3.7-plus
awkweave-0033931
Print the last field of every input line.
{print $NF}
birch alice ready fable cobalt harbor lina active harbor birch grove dina pending amber delta indigo hana pending birch indigo grove bruno paused cobalt juniper amber hana closed fable harbor
cobalt birch delta indigo juniper harbor
indigo hana closed ember ember fable gus ready grove birch indigo bruno closed juniper fable ember lina active ember amber juniper lina closed ember cobalt fable ivan failed amber delta ember lina closed harbor cobalt delta eli active delta amber indigo farah active delta birch juniper hana paused fable birch
ember birch fable amber cobalt delta cobalt amber birch birch
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033931-p1
Output the final field from every input line.
{print $NF}
birch alice ready fable cobalt harbor lina active harbor birch grove dina pending amber delta indigo hana pending birch indigo grove bruno paused cobalt juniper amber hana closed fable harbor
cobalt birch delta indigo juniper harbor
indigo hana closed ember ember fable gus ready grove birch indigo bruno closed juniper fable ember lina active ember amber juniper lina closed ember cobalt fable ivan failed amber delta ember lina closed harbor cobalt delta eli active delta amber indigo farah active delta birch juniper hana paused fable birch
ember birch fable amber cobalt delta cobalt amber birch birch
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033931
qwen/qwen3.7-plus
awkweave-0033932
Print the complete records where column 3 is at least 72.
$3 >= 72
farah amber 62 cobalt bruno grove 65 indigo gus juniper 112 birch gus amber 6 harbor chen ember 16 harbor kim amber 38 delta
gus juniper 112 birch
gus birch 50 grove ivan amber 77 delta alice cobalt 77 ember jules indigo 12 juniper jules harbor 46 juniper alice indigo 96 fable
ivan amber 77 delta alice cobalt 77 ember alice indigo 96 fable
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033932-p1
Display full records where the value in the third column is greater than or equal to 72.
$3 >= 72
farah amber 62 cobalt bruno grove 65 indigo gus juniper 112 birch gus amber 6 harbor chen ember 16 harbor kim amber 38 delta
gus juniper 112 birch
gus birch 50 grove ivan amber 77 delta alice cobalt 77 ember jules indigo 12 juniper jules harbor 46 juniper alice indigo 96 fable
ivan amber 77 delta alice cobalt 77 ember alice indigo 96 fable
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033932
qwen/qwen3.7-plus
awkweave-0033933
Show whole lines whose 1st field is between 4 and 22, inclusive.
$1 >= 4 && $1 <= 22
9 bruno amber harbor 6 bruno juniper grove 18 gus ember harbor 19 eli fable grove 2 jules cobalt harbor 26 gus harbor indigo
9 bruno amber harbor 6 bruno juniper grove 18 gus ember harbor 19 eli fable grove
10 ivan ember grove 8 chen harbor indigo 18 hana grove ember 27 bruno indigo indigo 6 eli cobalt harbor 12 eli fable delta 13 hana delta cobalt 22 dina amber grove
10 ivan ember grove 8 chen harbor indigo 18 hana grove ember 6 eli cobalt harbor 12 eli fable delta 13 hana delta cobalt 22 dina amber grove
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033933-p1
Show entire lines where the first field falls within the inclusive range of 4 to 22.
$1 >= 4 && $1 <= 22
9 bruno amber harbor 6 bruno juniper grove 18 gus ember harbor 19 eli fable grove 2 jules cobalt harbor 26 gus harbor indigo
9 bruno amber harbor 6 bruno juniper grove 18 gus ember harbor 19 eli fable grove
10 ivan ember grove 8 chen harbor indigo 18 hana grove ember 27 bruno indigo indigo 6 eli cobalt harbor 12 eli fable delta 13 hana delta cobalt 22 dina amber grove
10 ivan ember grove 8 chen harbor indigo 18 hana grove ember 6 eli cobalt harbor 12 eli fable delta 13 hana delta cobalt 22 dina amber grove
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033933
qwen/qwen3.7-plus
awkweave-0033934
Print column 1 only for rows where column 2 is exactly closed.
$2 == "closed"{print $1}
gus paused 57 delta jules closed 59 cobalt lina pending 14 fable farah closed 86 harbor chen ready 48 juniper kim closed 9 grove
jules farah kim
kim ready 66 cobalt eli ready 25 harbor lina active 108 fable farah paused 105 cobalt lina ready 35 amber ivan active 38 indigo gus failed 79 birch bruno active 12 indigo hana ready 6 birch bruno ready 19 ember
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033934-p1
Output only the first column for rows where the second column is exactly 'closed'.
$2 == "closed"{print $1}
gus paused 57 delta jules closed 59 cobalt lina pending 14 fable farah closed 86 harbor chen ready 48 juniper kim closed 9 grove
jules farah kim
kim ready 66 cobalt eli ready 25 harbor lina active 108 fable farah paused 105 cobalt lina ready 35 amber ivan active 38 indigo gus failed 79 birch bruno active 12 indigo hana ready 6 birch bruno ready 19 ember
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033934
qwen/qwen3.7-plus
awkweave-0033935
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
fable INFO 108 ember WARN 98 birch INFO 45 juniper DEBUG 72 harbor DEBUG 107 amber DEBUG 105
fable INFO 108 birch INFO 45
birch ERROR 37 amber ERROR 116 fable DEBUG 78 indigo ERROR 88 amber DEBUG 110 birch WARN 81 birch DEBUG 90 indigo DEBUG 41
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033935-p1
Print all fields from lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
fable INFO 108 ember WARN 98 birch INFO 45 juniper DEBUG 72 harbor DEBUG 107 amber DEBUG 105
fable INFO 108 birch INFO 45
birch ERROR 37 amber ERROR 116 fable DEBUG 78 indigo ERROR 88 amber DEBUG 110 birch WARN 81 birch DEBUG 90 indigo DEBUG 41
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033935
qwen/qwen3.7-plus
awkweave-0033936
Print every line except those containing the exact text cobalt.
$0 !~ /cobalt/
delta 105 closed fable 92 ready cobalt 106 ready harbor 1 ready indigo 55 active indigo 11 failed juniper 105 pending indigo 53 pending cobalt 41 ready ember 106 pending cobalt 999 active
delta 105 closed fable 92 ready harbor 1 ready indigo 55 active indigo 11 failed juniper 105 pending indigo 53 pending ember 106 pending
amber 88 closed grove 94 closed amber 69 active indigo 44 paused fable 64 paused ember 40 ready birch 49 failed cobalt 999 active
amber 88 closed grove 94 closed amber 69 active indigo 44 paused fable 64 paused ember 40 ready birch 49 failed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033936-p1
Print every line that does not contain the exact string 'cobalt'.
$0 !~ /cobalt/
delta 105 closed fable 92 ready cobalt 106 ready harbor 1 ready indigo 55 active indigo 11 failed juniper 105 pending indigo 53 pending cobalt 41 ready ember 106 pending cobalt 999 active
delta 105 closed fable 92 ready harbor 1 ready indigo 55 active indigo 11 failed juniper 105 pending indigo 53 pending ember 106 pending
amber 88 closed grove 94 closed amber 69 active indigo 44 paused fable 64 paused ember 40 ready birch 49 failed cobalt 999 active
amber 88 closed grove 94 closed amber 69 active indigo 44 paused fable 64 paused ember 40 ready birch 49 failed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033936
qwen/qwen3.7-plus
awkweave-0033937
Print lines 2 through 4, including both endpoints.
NR >= 2 && NR <= 4
ivan juniper 120 kim birch 41 eli birch 23 alice delta 47 hana ember 68 dina indigo 59
kim birch 41 eli birch 23 alice delta 47
bruno fable 112 kim juniper 82 bruno harbor 8 dina juniper 63 hana juniper 26 farah ember 48 chen delta 27 bruno birch 43 alice indigo 34
kim juniper 82 bruno harbor 8 dina juniper 63
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033937-p1
Output lines 2 through 4, inclusive of both endpoints.
NR >= 2 && NR <= 4
ivan juniper 120 kim birch 41 eli birch 23 alice delta 47 hana ember 68 dina indigo 59
kim birch 41 eli birch 23 alice delta 47
bruno fable 112 kim juniper 82 bruno harbor 8 dina juniper 63 hana juniper 26 farah ember 48 chen delta 27 bruno birch 43 alice indigo 34
kim juniper 82 bruno harbor 8 dina juniper 63
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033937
qwen/qwen3.7-plus
awkweave-0033938
Output only the first 5 records.
NR <= 5
lina 52 amber gus 20 delta eli 56 juniper bruno 15 amber chen 46 delta lina 43 juniper lina 93 harbor
lina 52 amber gus 20 delta eli 56 juniper bruno 15 amber chen 46 delta
ivan 93 harbor alice 55 indigo bruno 36 grove jules 58 ember ivan 6 fable kim 97 grove gus 62 indigo alice 100 delta gus 88 juniper bruno 58 fable
ivan 93 harbor alice 55 indigo bruno 36 grove jules 58 ember ivan 6 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033938-p1
Output only the first 5 records.
NR <= 5
lina 52 amber gus 20 delta eli 56 juniper bruno 15 amber chen 46 delta lina 43 juniper lina 93 harbor
lina 52 amber gus 20 delta eli 56 juniper bruno 15 amber chen 46 delta
ivan 93 harbor alice 55 indigo bruno 36 grove jules 58 ember ivan 6 fable kim 97 grove gus 62 indigo alice 100 delta gus 88 juniper bruno 58 fable
ivan 93 harbor alice 55 indigo bruno 36 grove jules 58 ember ivan 6 fable
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0033938
qwen/qwen3.7-plus
awkweave-0033939
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 112 harbor jules 52 ember hana 48 fable hana 3 harbor ivan 79 amber ivan 72 delta hana 69 harbor jules 76 amber hana 32 grove
jules 52 ember hana 48 fable hana 3 harbor ivan 79 amber ivan 72 delta hana 69 harbor jules 76 amber hana 32 grove
kim 63 harbor chen 81 birch ivan 96 juniper ivan 74 indigo chen 63 fable ivan 99 juniper gus 76 harbor
chen 81 birch ivan 96 juniper ivan 74 indigo chen 63 fable ivan 99 juniper gus 76 harbor
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033939-p1
Skip the first line and print all subsequent lines without modification.
NR > 1
ivan 112 harbor jules 52 ember hana 48 fable hana 3 harbor ivan 79 amber ivan 72 delta hana 69 harbor jules 76 amber hana 32 grove
jules 52 ember hana 48 fable hana 3 harbor ivan 79 amber ivan 72 delta hana 69 harbor jules 76 amber hana 32 grove
kim 63 harbor chen 81 birch ivan 96 juniper ivan 74 indigo chen 63 fable ivan 99 juniper gus 76 harbor
chen 81 birch ivan 96 juniper ivan 74 indigo chen 63 fable ivan 99 juniper gus 76 harbor
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033939
qwen/qwen3.7-plus
awkweave-0033940
Count how many records have failed in column 2. Print 0 if there are none.
$2 == "failed"{n++}END{print n+0}
farah failed 72 hana ready 93 lina paused 44 farah ready 8 ivan active 84 alice active 26 kim active 24 chen failed 86
2
chen failed 91 eli failed 64 alice pending 83 ivan failed 109 farah active 79 eli failed 57 kim active 20 ivan paused 76 lina closed 14 dina failed 16
5
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0033940-p1
Count the number of records where the second column is 'failed', printing 0 if none exist.
$2 == "failed"{n++}END{print n+0}
farah failed 72 hana ready 93 lina paused 44 farah ready 8 ivan active 84 alice active 26 kim active 24 chen failed 86
2
chen failed 91 eli failed 64 alice pending 83 ivan failed 109 farah active 79 eli failed 57 kim active 20 ivan paused 76 lina closed 14 dina failed 16
5
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0033940
qwen/qwen3.7-plus
awkweave-0033941
Calculate and print the sum of the integers in column 1.
{s+=$1}END{print s+0}
27 chen ember 22 dina grove 15 kim fable 24 bruno juniper 4 hana ember 3 farah birch 20 jules delta
115
8 jules indigo 10 gus fable 25 alice juniper 9 bruno grove 5 lina indigo 5 bruno amber
62
sum_field
1
train
original-grammar
CC-BY-4.0
null
null