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-0059663
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 15.
BEGIN{FS=OFS=","}$2>15{print $1}
dina,19,failed farah,26,ready ivan,19,paused kim,17,ready alice,21,active kim,25,failed lina,22,pending alice,3,failed lina,20,ready
dina farah ivan kim alice kim lina lina
gus,17,pending ivan,7,closed ivan,21,ready gus,12,pending dina,26,closed farah,16,closed jules,24,closed eli,14,active eli,3,closed
gus ivan dina farah jules
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059663-p1
For simple CSV input without quoted commas, output the first column only if the second column value is greater than 15.
BEGIN{FS=OFS=","}$2>15{print $1}
dina,19,failed farah,26,ready ivan,19,paused kim,17,ready alice,21,active kim,25,failed lina,22,pending alice,3,failed lina,20,ready
dina farah ivan kim alice kim lina lina
gus,17,pending ivan,7,closed ivan,21,ready gus,12,pending dina,26,closed farah,16,closed jules,24,closed eli,14,active eli,3,closed
gus ivan dina farah jules
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059663
qwen/qwen3.7-plus
awkweave-0059664
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
ivan fable 18 farah ember 43 kim indigo 120 dina grove 38 kim birch 111 gus birch 119
ivan fable 18 farah ember 43 kim indigo 120 dina grove 38 kim birch 111 gus birch 119
eli fable 9 chen ember 71 eli birch 60 eli ember 71 jules harbor 0 hana amber 10 alice harbor 48 eli indigo 31
eli fable 9 chen ember 71 eli birch 60 eli ember 71 jules harbor 0 hana amber 10 alice harbor 48 eli indigo 31
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059664-p1
Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
ivan fable 18 farah ember 43 kim indigo 120 dina grove 38 kim birch 111 gus birch 119
ivan fable 18 farah ember 43 kim indigo 120 dina grove 38 kim birch 111 gus birch 119
eli fable 9 chen ember 71 eli birch 60 eli ember 71 jules harbor 0 hana amber 10 alice harbor 48 eli indigo 31
eli fable 9 chen ember 71 eli birch 60 eli ember 71 jules harbor 0 hana amber 10 alice harbor 48 eli indigo 31
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059664
qwen/qwen3.7-plus
awkweave-0059665
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
gus grove 63 closed kim ember 18 pending dina harbor 74 pending jules ember 93 failed gus fable 98 failed ivan fable 22 failed farah fable 47 pending
dina harbor 74 pending
kim birch 36 active bruno birch 89 pending ivan harbor 106 active farah cobalt 1 failed bruno fable 37 ready bruno indigo 21 active farah birch 62 paused
bruno birch 89 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059665-p1
Identify and output the longest line from the input; in case of a tie in length, select the first occurrence.
{if(length($0)>length(best))best=$0}END{print best}
gus grove 63 closed kim ember 18 pending dina harbor 74 pending jules ember 93 failed gus fable 98 failed ivan fable 22 failed farah fable 47 pending
dina harbor 74 pending
kim birch 36 active bruno birch 89 pending ivan harbor 106 active farah cobalt 1 failed bruno fable 37 ready bruno indigo 21 active farah birch 62 paused
bruno birch 89 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059665
qwen/qwen3.7-plus
awkweave-0059666
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
chen 34 hana 92 kim 120 jules 39 alice 20 alice 52 ivan 97
kim 120 alice 52
gus 13 dina 58 eli 92 hana 27 alice 92 dina 51 chen 120 eli 43
eli 92 dina 51
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059666-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, ...).
NR%3==0
chen 34 hana 92 kim 120 jules 39 alice 20 alice 52 ivan 97
kim 120 alice 52
gus 13 dina 58 eli 92 hana 27 alice 92 dina 51 chen 120 eli 43
eli 92 dina 51
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059666
qwen/qwen3.7-plus
awkweave-0059667
Count the distinct values in column 2 and print only the count.
{if(!seen[$2]++)n++}END{print n+0}
gamma grove 70 gamma amber 52 beta amber 112 alpha ember 70 gamma amber 10 alpha fable 28 beta ember 37 delta fable 77 alpha fable 118
4
alpha birch 53 delta fable 99 gamma amber 114 gamma fable 120 beta cobalt 29 beta harbor 36 alpha grove 6 beta amber 104
6
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059667-p1
Calculate the number of unique values in the second column and print only that total count.
{if(!seen[$2]++)n++}END{print n+0}
gamma grove 70 gamma amber 52 beta amber 112 alpha ember 70 gamma amber 10 alpha fable 28 beta ember 37 delta fable 77 alpha fable 118
4
alpha birch 53 delta fable 99 gamma amber 114 gamma fable 120 beta cobalt 29 beta harbor 36 alpha grove 6 beta amber 104
6
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059667
qwen/qwen3.7-plus
awkweave-0059668
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 20 0 eli 18 2 farah 5 22 kim 29 21 hana 9 9 bruno 7 11 alice 23 5 ivan 29 17
eli 9.00 farah 0.23 kim 1.38 hana 1.00 bruno 0.64 alice 4.60 ivan 1.71
eli 10 0 chen 15 16 ivan 11 5 chen 3 26 farah 12 11 alice 30 11 jules 23 23
chen 0.94 ivan 2.20 chen 0.12 farah 1.09 alice 2.73 jules 1.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059668-p1
For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, omitting any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
chen 20 0 eli 18 2 farah 5 22 kim 29 21 hana 9 9 bruno 7 11 alice 23 5 ivan 29 17
eli 9.00 farah 0.23 kim 1.38 hana 1.00 bruno 0.64 alice 4.60 ivan 1.71
eli 10 0 chen 15 16 ivan 11 5 chen 3 26 farah 12 11 alice 30 11 jules 23 23
chen 0.94 ivan 2.20 chen 0.12 farah 1.09 alice 2.73 jules 1.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059668
qwen/qwen3.7-plus
awkweave-0059669
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]}
eli fable 12 eli amber 29 dina birch 12 bruno harbor 18 eli ember 10 bruno ember 10 kim juniper 16 hana fable 1 kim grove 2 alice cobalt 4
eli amber 29 bruno harbor 18 kim juniper 16
gus cobalt 6 chen birch 17 bruno harbor 14 eli birch 18 alice amber 1 dina cobalt 14
eli birch 18 chen birch 17 bruno harbor 14
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059669-p1
Select the top three records with the highest numeric values in column 3, sorted in descending order, while maintaining 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]}
eli fable 12 eli amber 29 dina birch 12 bruno harbor 18 eli ember 10 bruno ember 10 kim juniper 16 hana fable 1 kim grove 2 alice cobalt 4
eli amber 29 bruno harbor 18 kim juniper 16
gus cobalt 6 chen birch 17 bruno harbor 14 eli birch 18 alice amber 1 dina cobalt 14
eli birch 18 chen birch 17 bruno harbor 14
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059669
qwen/qwen3.7-plus
awkweave-0059670
Print column 5 followed by column 3 for every record.
{print $5, $3}
pending 13 102 32 indigo closed active 28 42 105 harbor paused active 47 39 24 delta active paused 15 29 114 delta paused closed 57 87 82 delta closed active 17 19 94 indigo ready paused 120 118 4 grove active failed 108 76 20 harbor ready
indigo 102 harbor 42 delta 39 delta 29 delta 87 indigo 19 grove 118 harbor 76
pending 46 14 67 fable active active 60 91 65 harbor closed failed 89 55 78 ember failed paused 64 117 113 fable ready paused 41 41 94 harbor paused closed 11 45 23 ember pending paused 108 94 7 juniper ready failed 70 64 66 grove failed closed 37 12 31 harbor paused paused 64 42 65 ember ready
fable 14 harbor 91 ember 55 fable 117 harbor 41 ember 45 juniper 94 grove 64 harbor 12 ember 42
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059670-p1
For every record, print the fifth column followed by the third column.
{print $5, $3}
pending 13 102 32 indigo closed active 28 42 105 harbor paused active 47 39 24 delta active paused 15 29 114 delta paused closed 57 87 82 delta closed active 17 19 94 indigo ready paused 120 118 4 grove active failed 108 76 20 harbor ready
indigo 102 harbor 42 delta 39 delta 29 delta 87 indigo 19 grove 118 harbor 76
pending 46 14 67 fable active active 60 91 65 harbor closed failed 89 55 78 ember failed paused 64 117 113 fable ready paused 41 41 94 harbor paused closed 11 45 23 ember pending paused 108 94 7 juniper ready failed 70 64 66 grove failed closed 37 12 31 harbor paused paused 64 42 65 ember ready
fable 14 harbor 91 ember 55 fable 117 harbor 41 ember 45 juniper 94 grove 64 harbor 12 ember 42
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059670
qwen/qwen3.7-plus
awkweave-0059671
Print the last field of every input line.
{print $NF}
69 115 closed paused indigo ivan birch 109 55 pending failed ember jules fable 5 21 active ready delta kim ember 107 51 pending pending juniper lina cobalt 120 117 paused closed grove ivan amber 31 98 ready active harbor alice delta 33 92 closed active amber gus fable 20 84 pending closed harbor chen juniper
birch fable ember cobalt amber delta fable juniper
111 21 paused closed grove hana juniper 4 13 paused active harbor jules indigo 42 43 active pending ember bruno grove 25 25 paused ready amber dina fable 91 113 pending paused indigo jules harbor 12 65 ready active indigo lina ember 16 17 pending paused harbor farah juniper 73 8 ready pending ember chen delta 85 7 paus...
juniper indigo grove fable harbor ember juniper delta delta amber
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059671-p1
Output the final field from each line of the input.
{print $NF}
69 115 closed paused indigo ivan birch 109 55 pending failed ember jules fable 5 21 active ready delta kim ember 107 51 pending pending juniper lina cobalt 120 117 paused closed grove ivan amber 31 98 ready active harbor alice delta 33 92 closed active amber gus fable 20 84 pending closed harbor chen juniper
birch fable ember cobalt amber delta fable juniper
111 21 paused closed grove hana juniper 4 13 paused active harbor jules indigo 42 43 active pending ember bruno grove 25 25 paused ready amber dina fable 91 113 pending paused indigo jules harbor 12 65 ready active indigo lina ember 16 17 pending paused harbor farah juniper 73 8 ready pending ember chen delta 85 7 paus...
juniper indigo grove fable harbor ember juniper delta delta amber
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059671
qwen/qwen3.7-plus
awkweave-0059672
Print the complete records where column 1 is at least 67.
$1 >= 67
60 kim closed 2 bruno pending 81 farah closed 107 lina closed 73 hana paused 50 eli ready
81 farah closed 107 lina closed 73 hana paused
98 dina closed 101 hana ready 0 farah paused 107 dina active 109 dina failed 33 hana active 97 ivan paused 31 chen pending 76 dina failed
98 dina closed 101 hana ready 107 dina active 109 dina failed 97 ivan paused 76 dina failed
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059672-p1
Display full records where the value in the first column is greater than or equal to 67.
$1 >= 67
60 kim closed 2 bruno pending 81 farah closed 107 lina closed 73 hana paused 50 eli ready
81 farah closed 107 lina closed 73 hana paused
98 dina closed 101 hana ready 0 farah paused 107 dina active 109 dina failed 33 hana active 97 ivan paused 31 chen pending 76 dina failed
98 dina closed 101 hana ready 107 dina active 109 dina failed 97 ivan paused 76 dina failed
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059672
qwen/qwen3.7-plus
awkweave-0059673
Show whole lines whose 2nd field is between 6 and 20, inclusive.
$2 >= 6 && $2 <= 20
delta 25 alice ready indigo 23 farah pending harbor 8 ivan pending amber 5 ivan failed ember 13 alice ready delta 7 eli failed amber 26 eli failed grove 18 gus ready
harbor 8 ivan pending ember 13 alice ready delta 7 eli failed grove 18 gus ready
delta 22 ivan closed harbor 19 ivan pending grove 28 chen closed ember 28 gus pending amber 30 alice active birch 21 alice ready harbor 8 chen paused birch 10 alice paused ember 12 chen closed indigo 14 kim ready
harbor 19 ivan pending harbor 8 chen paused birch 10 alice paused ember 12 chen closed indigo 14 kim ready
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059673-p1
Output entire lines where the second field falls within the inclusive range of 6 to 20.
$2 >= 6 && $2 <= 20
delta 25 alice ready indigo 23 farah pending harbor 8 ivan pending amber 5 ivan failed ember 13 alice ready delta 7 eli failed amber 26 eli failed grove 18 gus ready
harbor 8 ivan pending ember 13 alice ready delta 7 eli failed grove 18 gus ready
delta 22 ivan closed harbor 19 ivan pending grove 28 chen closed ember 28 gus pending amber 30 alice active birch 21 alice ready harbor 8 chen paused birch 10 alice paused ember 12 chen closed indigo 14 kim ready
harbor 19 ivan pending harbor 8 chen paused birch 10 alice paused ember 12 chen closed indigo 14 kim ready
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059673
qwen/qwen3.7-plus
awkweave-0059674
Print column 4 only for rows where column 3 is exactly active.
$3 == "active"{print $4}
49 grove pending lina 61 cobalt active kim 46 indigo active ivan 52 juniper closed kim 22 juniper failed kim 34 indigo pending jules 96 harbor failed farah 106 amber failed lina 41 cobalt failed jules
kim ivan
40 fable closed eli 113 grove closed alice 29 indigo paused kim 116 amber closed dina 42 ember active hana 34 birch failed farah 19 fable closed gus 75 delta closed kim 45 cobalt active farah
hana farah
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059674-p1
Extract and print only the fourth column for rows where the third column matches 'active' exactly.
$3 == "active"{print $4}
49 grove pending lina 61 cobalt active kim 46 indigo active ivan 52 juniper closed kim 22 juniper failed kim 34 indigo pending jules 96 harbor failed farah 106 amber failed lina 41 cobalt failed jules
kim ivan
40 fable closed eli 113 grove closed alice 29 indigo paused kim 116 amber closed dina 42 ember active hana 34 birch failed farah 19 fable closed gus 75 delta closed kim 45 cobalt active farah
hana farah
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059674
qwen/qwen3.7-plus
awkweave-0059675
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
88 ERROR amber 105 ERROR grove 72 INFO amber 108 DEBUG delta 54 ERROR indigo 41 INFO indigo 100 ERROR fable
88 ERROR amber 105 ERROR grove 54 ERROR indigo 100 ERROR fable
69 ERROR amber 41 WARN fable 97 ERROR juniper 104 WARN harbor 103 DEBUG birch 10 INFO delta 59 ERROR grove 41 INFO juniper 103 INFO amber
69 ERROR amber 97 ERROR juniper 59 ERROR grove
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059675-p1
Print all fields from lines where the second field starts with the string 'ERROR'.
$2 ~ /^ERROR/
88 ERROR amber 105 ERROR grove 72 INFO amber 108 DEBUG delta 54 ERROR indigo 41 INFO indigo 100 ERROR fable
88 ERROR amber 105 ERROR grove 54 ERROR indigo 100 ERROR fable
69 ERROR amber 41 WARN fable 97 ERROR juniper 104 WARN harbor 103 DEBUG birch 10 INFO delta 59 ERROR grove 41 INFO juniper 103 INFO amber
69 ERROR amber 97 ERROR juniper 59 ERROR grove
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059675
qwen/qwen3.7-plus
awkweave-0059676
Print every line except those containing the exact text ember.
$0 !~ /ember/
delta 104 paused amber 12 ready juniper 103 active harbor 58 closed indigo 41 ready harbor 72 closed indigo 93 paused fable 45 closed cobalt 29 active ember 999 active
delta 104 paused amber 12 ready juniper 103 active harbor 58 closed indigo 41 ready harbor 72 closed indigo 93 paused fable 45 closed cobalt 29 active
ember 7 active harbor 111 pending cobalt 22 pending harbor 64 failed birch 68 pending ember 8 pending indigo 70 active indigo 30 closed ember 999 active
harbor 111 pending cobalt 22 pending harbor 64 failed birch 68 pending indigo 70 active indigo 30 closed
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059676-p1
Output every line that does not contain the exact substring 'ember'.
$0 !~ /ember/
delta 104 paused amber 12 ready juniper 103 active harbor 58 closed indigo 41 ready harbor 72 closed indigo 93 paused fable 45 closed cobalt 29 active ember 999 active
delta 104 paused amber 12 ready juniper 103 active harbor 58 closed indigo 41 ready harbor 72 closed indigo 93 paused fable 45 closed cobalt 29 active
ember 7 active harbor 111 pending cobalt 22 pending harbor 64 failed birch 68 pending ember 8 pending indigo 70 active indigo 30 closed ember 999 active
harbor 111 pending cobalt 22 pending harbor 64 failed birch 68 pending indigo 70 active indigo 30 closed
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059676
qwen/qwen3.7-plus
awkweave-0059677
Print lines 4 through 7, including both endpoints.
NR >= 4 && NR <= 7
chen juniper 0 farah juniper 103 alice amber 78 dina delta 52 bruno indigo 120 ivan fable 0
dina delta 52 bruno indigo 120 ivan fable 0
eli grove 9 lina fable 71 kim juniper 2 jules birch 70 alice harbor 45 ivan ember 20 chen delta 98 dina ember 97 alice delta 23 hana indigo 27
jules birch 70 alice harbor 45 ivan ember 20 chen delta 98
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059677-p1
Display lines 4 through 7, inclusive of both the start and end lines.
NR >= 4 && NR <= 7
chen juniper 0 farah juniper 103 alice amber 78 dina delta 52 bruno indigo 120 ivan fable 0
dina delta 52 bruno indigo 120 ivan fable 0
eli grove 9 lina fable 71 kim juniper 2 jules birch 70 alice harbor 45 ivan ember 20 chen delta 98 dina ember 97 alice delta 23 hana indigo 27
jules birch 70 alice harbor 45 ivan ember 20 chen delta 98
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059677
qwen/qwen3.7-plus
awkweave-0059678
Output only the first 3 records.
NR <= 3
hana 78 indigo eli 7 birch jules 70 cobalt lina 6 cobalt lina 115 fable eli 104 cobalt
hana 78 indigo eli 7 birch jules 70 cobalt
kim 112 ember lina 92 birch farah 40 fable hana 4 grove dina 63 juniper ivan 70 juniper kim 40 grove chen 6 ember chen 97 delta chen 37 grove
kim 112 ember lina 92 birch farah 40 fable
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059678-p1
Output only the initial 3 records.
NR <= 3
hana 78 indigo eli 7 birch jules 70 cobalt lina 6 cobalt lina 115 fable eli 104 cobalt
hana 78 indigo eli 7 birch jules 70 cobalt
kim 112 ember lina 92 birch farah 40 fable hana 4 grove dina 63 juniper ivan 70 juniper kim 40 grove chen 6 ember chen 97 delta chen 37 grove
kim 112 ember lina 92 birch farah 40 fable
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059678
qwen/qwen3.7-plus
awkweave-0059679
Skip the first line and print every remaining line unchanged.
NR > 1
gus 102 juniper jules 97 juniper kim 69 delta hana 115 birch eli 27 grove farah 106 delta bruno 80 cobalt jules 58 harbor
jules 97 juniper kim 69 delta hana 115 birch eli 27 grove farah 106 delta bruno 80 cobalt jules 58 harbor
bruno 92 grove jules 103 cobalt gus 24 amber gus 0 harbor farah 9 cobalt eli 22 ember eli 40 cobalt
jules 103 cobalt gus 24 amber gus 0 harbor farah 9 cobalt eli 22 ember eli 40 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059679-p1
Ignore the first line and print all subsequent lines without modification.
NR > 1
gus 102 juniper jules 97 juniper kim 69 delta hana 115 birch eli 27 grove farah 106 delta bruno 80 cobalt jules 58 harbor
jules 97 juniper kim 69 delta hana 115 birch eli 27 grove farah 106 delta bruno 80 cobalt jules 58 harbor
bruno 92 grove jules 103 cobalt gus 24 amber gus 0 harbor farah 9 cobalt eli 22 ember eli 40 cobalt
jules 103 cobalt gus 24 amber gus 0 harbor farah 9 cobalt eli 22 ember eli 40 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059679
qwen/qwen3.7-plus
awkweave-0059680
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
gus failed 36 hana closed 2 bruno paused 91 chen failed 8 ivan paused 51 farah active 53
0
chen ready 36 lina closed 2 gus pending 27 jules closed 56 eli ready 105 ivan closed 45 bruno pending 71 chen failed 54 kim paused 68
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059680-p1
Count the number of records where the second column is 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
gus failed 36 hana closed 2 bruno paused 91 chen failed 8 ivan paused 51 farah active 53
0
chen ready 36 lina closed 2 gus pending 27 jules closed 56 eli ready 105 ivan closed 45 bruno pending 71 chen failed 54 kim paused 68
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059680
qwen/qwen3.7-plus
awkweave-0059681
Calculate and print the sum of the integers in column 2.
{s+=$2}END{print s+0}
delta 20 kim birch 14 dina cobalt 17 dina ember 21 kim fable 29 gus fable 13 chen fable 5 kim birch 23 gus cobalt 9 hana
151
harbor 12 lina delta 14 dina amber 27 gus harbor 25 lina indigo 14 dina ember 22 bruno cobalt 4 chen juniper 5 farah
123
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059681-p1
Compute and display the total sum of integer values found in the second column.
{s+=$2}END{print s+0}
delta 20 kim birch 14 dina cobalt 17 dina ember 21 kim fable 29 gus fable 13 chen fable 5 kim birch 23 gus cobalt 9 hana
151
harbor 12 lina delta 14 dina amber 27 gus harbor 25 lina indigo 14 dina ember 22 bruno cobalt 4 chen juniper 5 farah
123
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059681
qwen/qwen3.7-plus
awkweave-0059682
Print the arithmetic mean of column 1, rounded to exactly two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 lina ember 17 farah delta 26 dina harbor 3 lina delta 16 jules cobalt 12 kim indigo 12 bruno harbor
16.00
6 lina fable 10 ivan birch 14 gus birch 14 chen juniper 19 eli birch 21 chen amber 1 chen fable 13 jules harbor 10 ivan amber 2 eli fable
11.00
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059682-p1
Calculate the average of the values in the first column and print it rounded to precisely two decimal places.
{s+=$1;n++}END{printf "%.2f\n",s/n}
26 lina ember 17 farah delta 26 dina harbor 3 lina delta 16 jules cobalt 12 kim indigo 12 bruno harbor
16.00
6 lina fable 10 ivan birch 14 gus birch 14 chen juniper 19 eli birch 21 chen amber 1 chen fable 13 jules harbor 10 ivan amber 2 eli fable
11.00
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059682
qwen/qwen3.7-plus
awkweave-0059683
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
23 chen ember 24 ivan birch 25 hana fable 15 hana harbor 10 kim juniper 5 gus cobalt 6 dina birch 15 bruno juniper 19 lina grove 19 eli juniper
5
19 alice harbor 15 ivan delta 12 jules harbor 1 hana amber 2 gus fable 7 lina cobalt 20 gus juniper 20 chen juniper 29 chen grove 14 chen harbor
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059683-p1
Identify and output the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
23 chen ember 24 ivan birch 25 hana fable 15 hana harbor 10 kim juniper 5 gus cobalt 6 dina birch 15 bruno juniper 19 lina grove 19 eli juniper
5
19 alice harbor 15 ivan delta 12 jules harbor 1 hana amber 2 gus fable 7 lina cobalt 20 gus juniper 20 chen juniper 29 chen grove 14 chen harbor
1
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059683
qwen/qwen3.7-plus
awkweave-0059684
Find and print the largest numeric value in column 1.
NR==1||$1>extreme{extreme=$1}END{print extreme}
7 amber farah 19 grove farah 9 grove bruno 14 harbor eli 22 amber alice 2 indigo gus
22
5 indigo alice 12 grove lina 30 ember ivan 22 indigo bruno 12 juniper hana 3 birch eli 3 ember kim
30
max_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059684-p1
Identify and output the maximum number found in the first column.
NR==1||$1>extreme{extreme=$1}END{print extreme}
7 amber farah 19 grove farah 9 grove bruno 14 harbor eli 22 amber alice 2 indigo gus
22
5 indigo alice 12 grove lina 30 ember ivan 22 indigo bruno 12 juniper hana 3 birch eli 3 ember kim
30
max_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059684
qwen/qwen3.7-plus
awkweave-0059685
Count all input records and print the total.
END{print NR}
farah 118 farah 92 alice 94 dina 46 farah 59 hana 51 kim 114 bruno 36
8
kim 110 eli 99 alice 94 ivan 100 chen 35 lina 72 gus 38 farah 109 chen 16 farah 103
10
count_records
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059685-p1
Calculate the total number of input records and display the count.
END{print NR}
farah 118 farah 92 alice 94 dina 46 farah 59 hana 51 kim 114 bruno 36
8
kim 110 eli 99 alice 94 ivan 100 chen 35 lina 72 gus 38 farah 109 chen 16 farah 103
10
count_records
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059685
qwen/qwen3.7-plus
awkweave-0059686
Remove exact duplicate lines, preserving the first occurrence and original order.
!seen[$0]++
lina amber 4 farah grove 57 dina delta 61 hana ember 59 lina birch 48 lina birch 48 dina delta 77
lina amber 4 farah grove 57 dina delta 61 hana ember 59 lina birch 48 dina delta 77
kim grove 52 jules indigo 16 eli harbor 105 chen juniper 81 gus amber 26 ivan juniper 28 jules indigo 16 alice juniper 26 lina harbor 26 chen birch 118 bruno indigo 109
kim grove 52 jules indigo 16 eli harbor 105 chen juniper 81 gus amber 26 ivan juniper 28 alice juniper 26 lina harbor 26 chen birch 118 bruno indigo 109
dedup_lines
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059686-p1
Eliminate duplicate lines while maintaining the original sequence and keeping the first instance of each.
!seen[$0]++
lina amber 4 farah grove 57 dina delta 61 hana ember 59 lina birch 48 lina birch 48 dina delta 77
lina amber 4 farah grove 57 dina delta 61 hana ember 59 lina birch 48 dina delta 77
kim grove 52 jules indigo 16 eli harbor 105 chen juniper 81 gus amber 26 ivan juniper 28 jules indigo 16 alice juniper 26 lina harbor 26 chen birch 118 bruno indigo 109
kim grove 52 jules indigo 16 eli harbor 105 chen juniper 81 gus amber 26 ivan juniper 28 alice juniper 26 lina harbor 26 chen birch 118 bruno indigo 109
dedup_lines
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059686
qwen/qwen3.7-plus
awkweave-0059687
Keep only the first line for each distinct value in column 2; preserve input order.
!seen[$2]++
gus fable 78 kim harbor 15 lina cobalt 76 dina juniper 48 dina fable 91 gus birch 95 chen amber 48 gus cobalt 108
gus fable 78 kim harbor 15 lina cobalt 76 dina juniper 48 gus birch 95 chen amber 48
eli harbor 39 bruno birch 47 eli ember 43 lina fable 34 alice delta 85 chen harbor 42 lina fable 100 bruno harbor 26
eli harbor 39 bruno birch 47 eli ember 43 lina fable 34 alice delta 85
dedup_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059687-p1
Retain only the initial line for every unique value in the second column, ensuring the original order is preserved.
!seen[$2]++
gus fable 78 kim harbor 15 lina cobalt 76 dina juniper 48 dina fable 91 gus birch 95 chen amber 48 gus cobalt 108
gus fable 78 kim harbor 15 lina cobalt 76 dina juniper 48 gus birch 95 chen amber 48
eli harbor 39 bruno birch 47 eli ember 43 lina fable 34 alice delta 85 chen harbor 42 lina fable 100 bruno harbor 26
eli harbor 39 bruno birch 47 eli ember 43 lina fable 34 alice delta 85
dedup_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059687
qwen/qwen3.7-plus
awkweave-0059688
For each record, print column 1 and the running sum of column 2, separated by a space.
{s+=$2;print $1,s}
alice 8 harbor chen 9 cobalt lina 15 grove hana 6 delta bruno 8 indigo alice 7 birch gus 25 juniper lina 16 amber farah 24 fable dina 29 delta
alice 8 chen 17 lina 32 hana 38 bruno 46 alice 53 gus 78 lina 94 farah 118 dina 147
lina 4 ember dina 30 indigo alice 17 harbor lina 1 fable chen 29 juniper gus 16 amber alice 20 ember
lina 4 dina 34 alice 51 lina 52 chen 81 gus 97 alice 117
running_total
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059688-p1
Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter.
{s+=$2;print $1,s}
alice 8 harbor chen 9 cobalt lina 15 grove hana 6 delta bruno 8 indigo alice 7 birch gus 25 juniper lina 16 amber farah 24 fable dina 29 delta
alice 8 chen 17 lina 32 hana 38 bruno 46 alice 53 gus 78 lina 94 farah 118 dina 147
lina 4 ember dina 30 indigo alice 17 harbor lina 1 fable chen 29 juniper gus 16 amber alice 20 ember
lina 4 dina 34 alice 51 lina 52 chen 81 gus 97 alice 117
running_total
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059688
qwen/qwen3.7-plus
awkweave-0059689
For every row, print field 1 followed by the sum of fields 2 and 3.
{print $1,$2+$3}
hana 21 18 indigo farah 19 28 delta eli 17 23 indigo kim 6 12 indigo eli 22 17 grove eli 19 29 harbor gus 15 18 delta
hana 39 farah 47 eli 40 kim 18 eli 39 eli 48 gus 33
kim 7 2 ember farah 19 12 grove jules 27 1 delta lina 15 28 ember lina 7 25 fable hana 23 3 birch
kim 9 farah 31 jules 28 lina 43 lina 32 hana 26
computed_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059689-p1
For each row, display the first field followed by the combined total of the second and third fields.
{print $1,$2+$3}
hana 21 18 indigo farah 19 28 delta eli 17 23 indigo kim 6 12 indigo eli 22 17 grove eli 19 29 harbor gus 15 18 delta
hana 39 farah 47 eli 40 kim 18 eli 39 eli 48 gus 33
kim 7 2 ember farah 19 12 grove jules 27 1 delta lina 15 28 ember lina 7 25 fable hana 23 3 birch
kim 9 farah 31 jules 28 lina 43 lina 32 hana 26
computed_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059689
qwen/qwen3.7-plus
awkweave-0059700
The first row is a header. Print display_name for data rows whose score is greater than 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 kim 6 paused r002 eli 6 failed r003 chen 15 failed r004 ivan 30 active r005 alice 2 paused r006 alice 17 closed
chen ivan alice
record_id display_name score state r001 lina 28 paused r002 kim 20 pending r003 dina 5 active r004 ivan 19 paused r005 chen 1 ready r006 jules 12 closed
lina kim ivan
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059700-p1
Treating the first line as a header, output the display_name for any data rows where the score exceeds 12.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>12{print $h["display_name"]}
record_id display_name score state r001 kim 6 paused r002 eli 6 failed r003 chen 15 failed r004 ivan 30 active r005 alice 2 paused r006 alice 17 closed
chen ivan alice
record_id display_name score state r001 lina 28 paused r002 kim 20 pending r003 dina 5 active r004 ivan 19 paused r005 chen 1 ready r006 jules 12 closed
lina kim ivan
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059700
qwen/qwen3.7-plus
awkweave-0059701
The input is tab-separated. Print column 1 from every record.
BEGIN{FS=OFS="\t"}{print $1}
alice 11 paused ivan 10 pending kim 23 active dina 11 ready eli 11 closed eli 20 paused
alice ivan kim dina eli eli
dina 30 failed bruno 7 closed hana 11 pending jules 1 active dina 27 ready gus 8 active lina 16 failed bruno 2 ready
dina bruno hana jules dina gus lina bruno
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059701-p1
Given tab-separated input, extract and print the first column from all records.
BEGIN{FS=OFS="\t"}{print $1}
alice 11 paused ivan 10 pending kim 23 active dina 11 ready eli 11 closed eli 20 paused
alice ivan kim dina eli eli
dina 30 failed bruno 7 closed hana 11 pending jules 1 active dina 27 ready gus 8 active lina 16 failed bruno 2 ready
dina bruno hana jules dina gus lina bruno
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059701
qwen/qwen3.7-plus
awkweave-0059702
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13.
BEGIN{FS=OFS=","}$2>13{print $1}
farah,29,active kim,3,failed kim,22,closed bruno,10,pending ivan,1,ready dina,30,ready bruno,21,ready
farah kim dina bruno
jules,30,paused kim,22,active jules,18,ready dina,13,active gus,3,closed bruno,27,ready dina,14,failed
jules kim jules bruno dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059702-p1
Process simple comma-separated values without quoted commas; print the first column if the second column is greater than 13.
BEGIN{FS=OFS=","}$2>13{print $1}
farah,29,active kim,3,failed kim,22,closed bruno,10,pending ivan,1,ready dina,30,ready bruno,21,ready
farah kim dina bruno
jules,30,paused kim,22,active jules,18,ready dina,13,active gus,3,closed bruno,27,ready dina,14,failed
jules kim jules bruno dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059702
qwen/qwen3.7-plus
awkweave-0059703
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
jules grove 86 eli birch 116 hana amber 113 chen birch 117 chen birch 40 kim delta 56 jules amber 116 eli amber 48
jules grove 86 eli birch 116 hana amber 113 chen birch 117 chen birch 40 kim delta 56 jules amber 116 eli amber 48
chen delta 16 lina indigo 58 gus birch 15 gus indigo 89 bruno delta 12 hana indigo 100 chen amber 36 kim delta 113
chen delta 16 lina indigo 58 gus birch 15 gus indigo 89 bruno delta 12 hana indigo 100 chen amber 36 kim delta 113
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059703-p1
Strip leading and trailing whitespace, and reduce any internal whitespace sequences to single spaces.
{$1=$1;print}
jules grove 86 eli birch 116 hana amber 113 chen birch 117 chen birch 40 kim delta 56 jules amber 116 eli amber 48
jules grove 86 eli birch 116 hana amber 113 chen birch 117 chen birch 40 kim delta 56 jules amber 116 eli amber 48
chen delta 16 lina indigo 58 gus birch 15 gus indigo 89 bruno delta 12 hana indigo 100 chen amber 36 kim delta 113
chen delta 16 lina indigo 58 gus birch 15 gus indigo 89 bruno delta 12 hana indigo 100 chen amber 36 kim delta 113
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059703
qwen/qwen3.7-plus
awkweave-0059704
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina grove 34 paused bruno cobalt 30 closed bruno birch 51 paused kim juniper 52 active farah cobalt 45 ready dina amber 50 paused alice delta 36 failed farah delta 10 closed ivan birch 116 active gus fable 67 closed
bruno cobalt 30 closed
ivan harbor 12 closed bruno cobalt 44 closed eli ember 84 failed ivan harbor 85 active kim birch 92 paused kim amber 9 closed
bruno cobalt 44 closed
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059704-p1
Locate and print the longest line from the input; in case of a tie, select the one that appears earliest.
{if(length($0)>length(best))best=$0}END{print best}
dina grove 34 paused bruno cobalt 30 closed bruno birch 51 paused kim juniper 52 active farah cobalt 45 ready dina amber 50 paused alice delta 36 failed farah delta 10 closed ivan birch 116 active gus fable 67 closed
bruno cobalt 30 closed
ivan harbor 12 closed bruno cobalt 44 closed eli ember 84 failed ivan harbor 85 active kim birch 92 paused kim amber 9 closed
bruno cobalt 44 closed
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059704
qwen/qwen3.7-plus
awkweave-0059705
Print every 4th line starting at line 2 (then line 6, and so on).
NR%4==2
jules 15 eli 26 gus 52 ivan 85 gus 85 dina 69 lina 24 ivan 27 eli 15 hana 115
eli 26 dina 69 hana 115
gus 76 hana 31 eli 74 gus 32 hana 104 jules 54 eli 17
hana 31 jules 54
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059705-p1
Output every fourth line beginning with line 2 (i.e., lines 2, 6, etc.).
NR%4==2
jules 15 eli 26 gus 52 ivan 85 gus 85 dina 69 lina 24 ivan 27 eli 15 hana 115
eli 26 dina 69 hana 115
gus 76 hana 31 eli 74 gus 32 hana 104 jules 54 eli 17
hana 31 jules 54
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059705
qwen/qwen3.7-plus
awkweave-0059706
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
beta amber 11 gamma indigo 71 delta harbor 71 delta fable 7 delta harbor 57 gamma grove 44 beta grove 13 gamma cobalt 55
3
beta delta 19 delta fable 3 delta amber 119 alpha fable 118 beta birch 11 delta juniper 110 delta juniper 42
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059706-p1
Calculate the number of unique entries in the first column and output just that total.
{if(!seen[$1]++)n++}END{print n+0}
beta amber 11 gamma indigo 71 delta harbor 71 delta fable 7 delta harbor 57 gamma grove 44 beta grove 13 gamma cobalt 55
3
beta delta 19 delta fable 3 delta amber 119 alpha fable 118 beta birch 11 delta juniper 110 delta juniper 42
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059706
qwen/qwen3.7-plus
awkweave-0059707
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}
hana 29 0 alice 12 27 jules 18 6 alice 18 6 bruno 29 10 kim 18 21 chen 8 14 kim 3 4 hana 19 9
alice 0.44 jules 3.00 alice 3.00 bruno 2.90 kim 0.86 chen 0.57 kim 0.75 hana 2.11
lina 19 0 jules 6 23 farah 26 24 dina 22 3 hana 29 10 eli 20 26 bruno 23 23 gus 16 18 eli 27 2
jules 0.26 farah 1.08 dina 7.33 hana 2.90 eli 0.77 bruno 1.00 gus 0.89 eli 13.50
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059707-p1
For every row, display the value of column 1 and the result of column 2 divided by column 3 rounded to two decimal places, omitting any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
hana 29 0 alice 12 27 jules 18 6 alice 18 6 bruno 29 10 kim 18 21 chen 8 14 kim 3 4 hana 19 9
alice 0.44 jules 3.00 alice 3.00 bruno 2.90 kim 0.86 chen 0.57 kim 0.75 hana 2.11
lina 19 0 jules 6 23 farah 26 24 dina 22 3 hana 29 10 eli 20 26 bruno 23 23 gus 16 18 eli 27 2
jules 0.26 farah 1.08 dina 7.33 hana 2.90 eli 0.77 bruno 1.00 gus 0.89 eli 13.50
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059707
qwen/qwen3.7-plus
awkweave-0059708
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]}
bruno birch 16 farah ember 30 bruno ember 26 bruno juniper 22 kim fable 23 lina ember 12
farah ember 30 bruno ember 26 kim fable 23
gus amber 30 chen cobalt 23 alice fable 1 chen ember 23 dina juniper 21 gus delta 3 gus birch 6 farah cobalt 5
gus amber 30 chen cobalt 23 chen ember 23
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059708-p1
Output the three full records with the largest numeric values in column 3, sorted in descending order, while maintaining the original input sequence 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]}
bruno birch 16 farah ember 30 bruno ember 26 bruno juniper 22 kim fable 23 lina ember 12
farah ember 30 bruno ember 26 kim fable 23
gus amber 30 chen cobalt 23 alice fable 1 chen ember 23 dina juniper 21 gus delta 3 gus birch 6 farah cobalt 5
gus amber 30 chen cobalt 23 chen ember 23
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059708
qwen/qwen3.7-plus
awkweave-0059709
Print column 3 followed by column 2 for every record.
{print $3, $2}
grove 49 88 eli ivan amber 117 25 lina eli harbor 70 12 hana alice fable 120 28 lina dina amber 0 68 chen alice harbor 35 31 ivan kim
88 49 25 117 12 70 28 120 68 0 31 35
juniper 64 0 lina dina amber 45 37 jules farah birch 54 68 hana jules amber 66 109 gus eli cobalt 48 105 farah dina juniper 114 106 alice lina ember 77 33 lina hana
0 64 37 45 68 54 109 66 105 48 106 114 33 77
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059709-p1
Display column 3 followed by column 2 for each record.
{print $3, $2}
grove 49 88 eli ivan amber 117 25 lina eli harbor 70 12 hana alice fable 120 28 lina dina amber 0 68 chen alice harbor 35 31 ivan kim
88 49 25 117 12 70 28 120 68 0 31 35
juniper 64 0 lina dina amber 45 37 jules farah birch 54 68 hana jules amber 66 109 gus eli cobalt 48 105 farah dina juniper 114 106 alice lina ember 77 33 lina hana
0 64 37 45 68 54 109 66 105 48 106 114 33 77
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059709
qwen/qwen3.7-plus
awkweave-0059710
Print the last field of every input line.
{print $NF}
indigo indigo ember active fable 9 ember ember amber active birch 87 ember juniper juniper active delta 78 grove birch birch ready juniper 98 grove birch delta closed grove 109 fable ember delta active indigo 55 ember birch cobalt closed juniper 4
9 87 78 98 109 55 4
harbor amber harbor paused juniper 32 delta delta cobalt ready fable 18 birch grove amber paused delta 109 delta harbor juniper pending indigo 10 amber juniper cobalt ready indigo 2 delta grove harbor active birch 13 ember amber ember active cobalt 15 fable delta delta paused delta 91
32 18 109 10 2 13 15 91
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059710-p1
Output the final field from every line of input.
{print $NF}
indigo indigo ember active fable 9 ember ember amber active birch 87 ember juniper juniper active delta 78 grove birch birch ready juniper 98 grove birch delta closed grove 109 fable ember delta active indigo 55 ember birch cobalt closed juniper 4
9 87 78 98 109 55 4
harbor amber harbor paused juniper 32 delta delta cobalt ready fable 18 birch grove amber paused delta 109 delta harbor juniper pending indigo 10 amber juniper cobalt ready indigo 2 delta grove harbor active birch 13 ember amber ember active cobalt 15 fable delta delta paused delta 91
32 18 109 10 2 13 15 91
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059710
qwen/qwen3.7-plus
awkweave-0059711
Print the complete records where column 2 is at least 24.
$2 >= 24
lina 75 kim kim 62 gus bruno 46 ivan alice 78 chen eli 80 alice alice 5 alice
lina 75 kim kim 62 gus bruno 46 ivan alice 78 chen eli 80 alice
chen 28 farah gus 17 kim hana 35 bruno eli 69 eli hana 77 jules alice 108 ivan dina 94 hana gus 46 farah
chen 28 farah hana 35 bruno eli 69 eli hana 77 jules alice 108 ivan dina 94 hana gus 46 farah
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059711-p1
Print the entire records where the value in column 2 is greater than or equal to 24.
$2 >= 24
lina 75 kim kim 62 gus bruno 46 ivan alice 78 chen eli 80 alice alice 5 alice
lina 75 kim kim 62 gus bruno 46 ivan alice 78 chen eli 80 alice
chen 28 farah gus 17 kim hana 35 bruno eli 69 eli hana 77 jules alice 108 ivan dina 94 hana gus 46 farah
chen 28 farah hana 35 bruno eli 69 eli hana 77 jules alice 108 ivan dina 94 hana gus 46 farah
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059711
qwen/qwen3.7-plus
awkweave-0059712
Show whole lines whose 2nd field is between 8 and 27, inclusive.
$2 >= 8 && $2 <= 27
pending 19 chen paused paused 16 eli active closed 7 chen paused paused 21 hana closed failed 2 bruno failed paused 25 chen ready failed 21 jules active ready 12 chen ready ready 5 dina closed paused 30 gus ready
pending 19 chen paused paused 16 eli active paused 21 hana closed paused 25 chen ready failed 21 jules active ready 12 chen ready
pending 11 gus pending closed 9 chen closed closed 24 kim pending failed 20 gus closed paused 5 jules closed active 23 ivan failed pending 30 farah active
pending 11 gus pending closed 9 chen closed closed 24 kim pending failed 20 gus closed active 23 ivan failed
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059712-p1
Display complete lines where the second field falls within the range of 8 to 27, inclusive.
$2 >= 8 && $2 <= 27
pending 19 chen paused paused 16 eli active closed 7 chen paused paused 21 hana closed failed 2 bruno failed paused 25 chen ready failed 21 jules active ready 12 chen ready ready 5 dina closed paused 30 gus ready
pending 19 chen paused paused 16 eli active paused 21 hana closed paused 25 chen ready failed 21 jules active ready 12 chen ready
pending 11 gus pending closed 9 chen closed closed 24 kim pending failed 20 gus closed paused 5 jules closed active 23 ivan failed pending 30 farah active
pending 11 gus pending closed 9 chen closed closed 24 kim pending failed 20 gus closed active 23 ivan failed
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059712
qwen/qwen3.7-plus
awkweave-0059713
Print column 4 only for rows where column 3 is exactly paused.
$3 == "paused"{print $4}
21 cobalt paused gus 50 grove pending hana 92 ember active bruno 77 fable ready bruno 64 fable closed alice 94 indigo paused jules 47 indigo closed gus 6 cobalt ready dina 71 ember pending lina
gus jules
110 juniper closed kim 93 delta pending gus 83 amber ready kim 53 cobalt active alice 9 amber closed dina 50 grove active lina 80 grove closed gus 117 grove ready jules 120 grove paused hana 105 ember ready gus
hana
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059713-p1
Output only column 4 for rows where column 3 contains the exact text 'paused'.
$3 == "paused"{print $4}
21 cobalt paused gus 50 grove pending hana 92 ember active bruno 77 fable ready bruno 64 fable closed alice 94 indigo paused jules 47 indigo closed gus 6 cobalt ready dina 71 ember pending lina
gus jules
110 juniper closed kim 93 delta pending gus 83 amber ready kim 53 cobalt active alice 9 amber closed dina 50 grove active lina 80 grove closed gus 117 grove ready jules 120 grove paused hana 105 ember ready gus
hana
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059713
qwen/qwen3.7-plus
awkweave-0059714
Print all fields from lines where field 2 begins with ERROR.
$2 ~ /^ERROR/
cobalt WARN 7 harbor INFO 21 birch INFO 9 juniper WARN 104 indigo DEBUG 40 amber ERROR 11 fable WARN 108 delta DEBUG 103
amber ERROR 11
amber WARN 51 juniper DEBUG 29 juniper DEBUG 50 juniper DEBUG 81 indigo ERROR 6 amber WARN 61 grove DEBUG 99 grove INFO 59
indigo ERROR 6
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059714-p1
Print all fields from lines where the second field starts with 'ERROR'.
$2 ~ /^ERROR/
cobalt WARN 7 harbor INFO 21 birch INFO 9 juniper WARN 104 indigo DEBUG 40 amber ERROR 11 fable WARN 108 delta DEBUG 103
amber ERROR 11
amber WARN 51 juniper DEBUG 29 juniper DEBUG 50 juniper DEBUG 81 indigo ERROR 6 amber WARN 61 grove DEBUG 99 grove INFO 59
indigo ERROR 6
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059714
qwen/qwen3.7-plus
awkweave-0059715
Print every line except those containing the exact text ember.
$0 !~ /ember/
harbor 61 closed cobalt 7 closed fable 43 closed harbor 11 failed amber 67 closed amber 1 paused fable 67 failed harbor 89 closed amber 90 ready indigo 28 ready ember 999 active
harbor 61 closed cobalt 7 closed fable 43 closed harbor 11 failed amber 67 closed amber 1 paused fable 67 failed harbor 89 closed amber 90 ready indigo 28 ready
indigo 117 closed amber 31 failed juniper 99 pending ember 111 ready birch 55 failed birch 73 paused ember 999 active
indigo 117 closed amber 31 failed juniper 99 pending birch 55 failed birch 73 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059715-p1
Output every line except those that contain the exact string 'ember'.
$0 !~ /ember/
harbor 61 closed cobalt 7 closed fable 43 closed harbor 11 failed amber 67 closed amber 1 paused fable 67 failed harbor 89 closed amber 90 ready indigo 28 ready ember 999 active
harbor 61 closed cobalt 7 closed fable 43 closed harbor 11 failed amber 67 closed amber 1 paused fable 67 failed harbor 89 closed amber 90 ready indigo 28 ready
indigo 117 closed amber 31 failed juniper 99 pending ember 111 ready birch 55 failed birch 73 paused ember 999 active
indigo 117 closed amber 31 failed juniper 99 pending birch 55 failed birch 73 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059715
qwen/qwen3.7-plus
awkweave-0059716
Print lines 4 through 6, including both endpoints.
NR >= 4 && NR <= 6
bruno ember 7 ivan harbor 103 alice cobalt 97 hana harbor 69 lina delta 29 dina harbor 116 dina amber 49 jules juniper 45
hana harbor 69 lina delta 29 dina harbor 116
kim birch 75 hana indigo 16 dina cobalt 49 ivan cobalt 13 farah juniper 44 kim amber 102 kim ember 64 lina indigo 104 kim grove 98 alice ember 78
ivan cobalt 13 farah juniper 44 kim amber 102
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059716-p1
Print lines 4 through 6, inclusive of both endpoints.
NR >= 4 && NR <= 6
bruno ember 7 ivan harbor 103 alice cobalt 97 hana harbor 69 lina delta 29 dina harbor 116 dina amber 49 jules juniper 45
hana harbor 69 lina delta 29 dina harbor 116
kim birch 75 hana indigo 16 dina cobalt 49 ivan cobalt 13 farah juniper 44 kim amber 102 kim ember 64 lina indigo 104 kim grove 98 alice ember 78
ivan cobalt 13 farah juniper 44 kim amber 102
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059716
qwen/qwen3.7-plus
awkweave-0059717
Output only the first 4 records.
NR <= 4
bruno 113 amber chen 50 harbor dina 112 grove dina 10 harbor gus 75 birch alice 40 indigo
bruno 113 amber chen 50 harbor dina 112 grove dina 10 harbor
gus 67 indigo gus 4 fable lina 27 juniper jules 89 ember jules 96 birch chen 77 birch farah 40 indigo jules 35 ember
gus 67 indigo gus 4 fable lina 27 juniper jules 89 ember
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059717-p1
Output only the first 4 records.
NR <= 4
bruno 113 amber chen 50 harbor dina 112 grove dina 10 harbor gus 75 birch alice 40 indigo
bruno 113 amber chen 50 harbor dina 112 grove dina 10 harbor
gus 67 indigo gus 4 fable lina 27 juniper jules 89 ember jules 96 birch chen 77 birch farah 40 indigo jules 35 ember
gus 67 indigo gus 4 fable lina 27 juniper jules 89 ember
first_n
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0059717
qwen/qwen3.7-plus
awkweave-0059718
Skip the first line and print every remaining line unchanged.
NR > 1
jules 5 birch alice 100 birch kim 59 amber kim 70 fable bruno 85 ember ivan 27 fable ivan 78 indigo
alice 100 birch kim 59 amber kim 70 fable bruno 85 ember ivan 27 fable ivan 78 indigo
bruno 11 cobalt gus 93 fable hana 117 grove eli 80 cobalt bruno 19 fable dina 18 birch dina 105 indigo ivan 104 indigo
gus 93 fable hana 117 grove eli 80 cobalt bruno 19 fable dina 18 birch dina 105 indigo ivan 104 indigo
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059718-p1
Omit the initial line and output all subsequent lines exactly as they appear.
NR > 1
jules 5 birch alice 100 birch kim 59 amber kim 70 fable bruno 85 ember ivan 27 fable ivan 78 indigo
alice 100 birch kim 59 amber kim 70 fable bruno 85 ember ivan 27 fable ivan 78 indigo
bruno 11 cobalt gus 93 fable hana 117 grove eli 80 cobalt bruno 19 fable dina 18 birch dina 105 indigo ivan 104 indigo
gus 93 fable hana 117 grove eli 80 cobalt bruno 19 fable dina 18 birch dina 105 indigo ivan 104 indigo
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059718
qwen/qwen3.7-plus
awkweave-0059719
Count how many records have ready in column 2. Print 0 if there are none.
$2 == "ready"{n++}END{print n+0}
dina failed 22 kim paused 3 bruno pending 75 dina closed 33 eli paused 65 bruno paused 76
0
hana failed 63 ivan pending 114 alice failed 104 farah active 77 lina ready 92 dina active 85 bruno paused 118 lina closed 9 chen closed 84
1
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059719-p1
Tally the records where the second column contains 'ready', outputting 0 if no matches are found.
$2 == "ready"{n++}END{print n+0}
dina failed 22 kim paused 3 bruno pending 75 dina closed 33 eli paused 65 bruno paused 76
0
hana failed 63 ivan pending 114 alice failed 104 farah active 77 lina ready 92 dina active 85 bruno paused 118 lina closed 9 chen closed 84
1
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059719
qwen/qwen3.7-plus
awkweave-0059720
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
kim delta 17 kim juniper 7 gus delta 9 bruno amber 26 farah grove 7 chen cobalt 6 farah fable 11 farah cobalt 17 bruno juniper 22 dina amber 28
150
jules delta 23 hana indigo 10 hana juniper 27 alice harbor 7 dina amber 2 farah fable 26 jules juniper 9
104
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059720-p1
Compute and display the total sum of integer values found in the third column.
{s+=$3}END{print s+0}
kim delta 17 kim juniper 7 gus delta 9 bruno amber 26 farah grove 7 chen cobalt 6 farah fable 11 farah cobalt 17 bruno juniper 22 dina amber 28
150
jules delta 23 hana indigo 10 hana juniper 27 alice harbor 7 dina amber 2 farah fable 26 jules juniper 9
104
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059720
qwen/qwen3.7-plus
awkweave-0059721
Print the arithmetic mean of column 3, rounded to exactly two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan fable 23 ivan birch 11 dina grove 30 gus cobalt 19 farah cobalt 14 ivan birch 18 bruno amber 14
18.43
dina juniper 23 eli harbor 10 kim ember 26 bruno fable 16 eli ember 13 ivan amber 23
18.50
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059721-p1
Output the average of the values in column 3, formatted to precisely two decimal places.
{s+=$3;n++}END{printf "%.2f\n",s/n}
ivan fable 23 ivan birch 11 dina grove 30 gus cobalt 19 farah cobalt 14 ivan birch 18 bruno amber 14
18.43
dina juniper 23 eli harbor 10 kim ember 26 bruno fable 16 eli ember 13 ivan amber 23
18.50
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059721
qwen/qwen3.7-plus
awkweave-0059722
Find and print the smallest numeric value in column 1.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 chen ember 15 gus fable 21 bruno cobalt 18 gus fable 9 gus harbor 1 farah birch 11 kim juniper
1
17 alice juniper 16 ivan delta 24 farah harbor 25 jules ember 13 farah cobalt 18 lina ember 30 gus amber 15 gus fable
13
min_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0059722-p1
Identify and print the minimum numeric value present in the first column.
NR==1||$1<extreme{extreme=$1}END{print extreme}
24 chen ember 15 gus fable 21 bruno cobalt 18 gus fable 9 gus harbor 1 farah birch 11 kim juniper
1
17 alice juniper 16 ivan delta 24 farah harbor 25 jules ember 13 farah cobalt 18 lina ember 30 gus amber 15 gus fable
13
min_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0059722
qwen/qwen3.7-plus