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-0025771-p1
The input is tab-separated. Print column 3 from every record.
BEGIN{FS=OFS="\t"}{print $3}
jules 13 paused eli 15 pending dina 16 ready chen 30 failed eli 28 active ivan 8 pending dina 6 ready jules 14 failed
paused pending ready failed active pending ready failed
alice 25 pending hana 13 failed hana 10 pending jules 7 active kim 16 failed ivan 23 active alice 9 ready lina 26 ready bruno 27 closed kim 7 pending
pending failed pending active failed active ready ready closed pending
tsv_projection
1
train
original-grammar-copy
CC-BY-4.0
awkweave-0025771
qwen/qwen3.7-plus
awkweave-0025772
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 9.
BEGIN{FS=OFS=","}$2>9{print $1}
bruno,16,pending lina,19,failed bruno,21,pending dina,29,ready kim,15,active alice,22,pending dina,15,failed kim,22,paused
bruno lina bruno dina kim alice dina kim
kim,21,pending gus,5,closed lina,23,closed farah,8,ready gus,27,failed eli,24,closed dina,13,failed
kim lina gus eli dina
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025772-p1
Process simple comma-separated values without quoted fields, printing the first column only when the value in the second column is greater than 9.
BEGIN{FS=OFS=","}$2>9{print $1}
bruno,16,pending lina,19,failed bruno,21,pending dina,29,ready kim,15,active alice,22,pending dina,15,failed kim,22,paused
bruno lina bruno dina kim alice dina kim
kim,21,pending gus,5,closed lina,23,closed farah,8,ready gus,27,failed eli,24,closed dina,13,failed
kim lina gus eli dina
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025772
qwen/qwen3.7-plus
awkweave-0025773
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
farah ember 74 lina harbor 22 hana indigo 18 kim cobalt 27 dina juniper 51 hana indigo 0 hana grove 4 dina ember 63
farah ember 74 lina harbor 22 hana indigo 18 kim cobalt 27 dina juniper 51 hana indigo 0 hana grove 4 dina ember 63
gus ember 13 bruno indigo 15 chen juniper 104 chen delta 115 lina ember 75 gus fable 54 bruno amber 10 farah harbor 83 kim cobalt 53 farah amber 109
gus ember 13 bruno indigo 15 chen juniper 104 chen delta 115 lina ember 75 gus fable 54 bruno amber 10 farah harbor 83 kim cobalt 53 farah amber 109
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025773-p1
Remove leading and trailing whitespace from the text, and replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
farah ember 74 lina harbor 22 hana indigo 18 kim cobalt 27 dina juniper 51 hana indigo 0 hana grove 4 dina ember 63
farah ember 74 lina harbor 22 hana indigo 18 kim cobalt 27 dina juniper 51 hana indigo 0 hana grove 4 dina ember 63
gus ember 13 bruno indigo 15 chen juniper 104 chen delta 115 lina ember 75 gus fable 54 bruno amber 10 farah harbor 83 kim cobalt 53 farah amber 109
gus ember 13 bruno indigo 15 chen juniper 104 chen delta 115 lina ember 75 gus fable 54 bruno amber 10 farah harbor 83 kim cobalt 53 farah amber 109
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025773
qwen/qwen3.7-plus
awkweave-0025774
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana amber 10 closed lina cobalt 10 closed jules fable 64 closed ivan harbor 66 failed ivan fable 52 closed jules fable 112 closed kim ember 3 paused hana indigo 59 failed jules grove 94 ready kim harbor 69 pending
jules fable 112 closed
chen harbor 15 pending eli delta 44 active bruno indigo 21 pending dina birch 70 active jules delta 79 active ivan harbor 1 paused dina juniper 112 active alice amber 24 active bruno juniper 66 paused
bruno indigo 21 pending
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025774-p1
Identify and 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}
hana amber 10 closed lina cobalt 10 closed jules fable 64 closed ivan harbor 66 failed ivan fable 52 closed jules fable 112 closed kim ember 3 paused hana indigo 59 failed jules grove 94 ready kim harbor 69 pending
jules fable 112 closed
chen harbor 15 pending eli delta 44 active bruno indigo 21 pending dina birch 70 active jules delta 79 active ivan harbor 1 paused dina juniper 112 active alice amber 24 active bruno juniper 66 paused
bruno indigo 21 pending
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025774
qwen/qwen3.7-plus
awkweave-0025775
Print every 3rd line starting at line 3 (then line 6, and so on).
NR%3==0
hana 50 eli 93 eli 46 alice 48 gus 83 eli 50
eli 46 eli 50
hana 59 gus 113 gus 38 eli 11 chen 58 lina 26 gus 10 lina 82 lina 38 farah 55
gus 38 lina 26 lina 38
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025775-p1
Output every third line of the input, beginning with line 3 (i.e., lines 3, 6, 9, etc.).
NR%3==0
hana 50 eli 93 eli 46 alice 48 gus 83 eli 50
eli 46 eli 50
hana 59 gus 113 gus 38 eli 11 chen 58 lina 26 gus 10 lina 82 lina 38 farah 55
gus 38 lina 26 lina 38
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025775
qwen/qwen3.7-plus
awkweave-0025776
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
delta birch 74 alpha birch 30 delta indigo 13 beta birch 73 gamma amber 11 gamma cobalt 100
4
beta fable 5 beta cobalt 25 gamma amber 21 gamma delta 32 alpha ember 11 gamma ember 100 delta grove 43 delta fable 96
4
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025776-p1
Determine the number of unique values present in the first column and print only this total count.
{if(!seen[$1]++)n++}END{print n+0}
delta birch 74 alpha birch 30 delta indigo 13 beta birch 73 gamma amber 11 gamma cobalt 100
4
beta fable 5 beta cobalt 25 gamma amber 21 gamma delta 32 alpha ember 11 gamma ember 100 delta grove 43 delta fable 96
4
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025776
qwen/qwen3.7-plus
awkweave-0025777
For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 9 0 farah 8 20 lina 13 22 lina 6 1 jules 1 24 chen 18 28 alice 13 27 chen 2 17
farah 0.40 lina 0.59 lina 6.00 jules 0.04 chen 0.64 alice 0.48 chen 0.12
alice 5 0 gus 28 3 lina 21 24 eli 28 9 lina 5 9 ivan 5 2 chen 14 16 lina 17 25 dina 14 11 chen 9 1
gus 9.33 lina 0.88 eli 3.11 lina 0.56 ivan 2.50 chen 0.88 lina 0.68 dina 1.27 chen 9.00
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025777-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, excluding any rows where the third column is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
alice 9 0 farah 8 20 lina 13 22 lina 6 1 jules 1 24 chen 18 28 alice 13 27 chen 2 17
farah 0.40 lina 0.59 lina 6.00 jules 0.04 chen 0.64 alice 0.48 chen 0.12
alice 5 0 gus 28 3 lina 21 24 eli 28 9 lina 5 9 ivan 5 2 chen 14 16 lina 17 25 dina 14 11 chen 9 1
gus 9.33 lina 0.88 eli 3.11 lina 0.56 ivan 2.50 chen 0.88 lina 0.68 dina 1.27 chen 9.00
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025777
qwen/qwen3.7-plus
awkweave-0025778
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]}
alice indigo 16 hana juniper 7 gus cobalt 20 dina indigo 2 kim ember 11 gus delta 29
gus delta 29 gus cobalt 20 alice indigo 16
jules grove 13 gus harbor 17 alice grove 25 chen harbor 20 farah grove 30 jules ember 21 chen amber 29
farah grove 30 chen amber 29 alice grove 25
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025778-p1
Output the top three full records based on descending numeric values in column 3, maintaining original 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]}
alice indigo 16 hana juniper 7 gus cobalt 20 dina indigo 2 kim ember 11 gus delta 29
gus delta 29 gus cobalt 20 alice indigo 16
jules grove 13 gus harbor 17 alice grove 25 chen harbor 20 farah grove 30 jules ember 21 chen amber 29
farah grove 30 chen amber 29 alice grove 25
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025778
qwen/qwen3.7-plus
awkweave-0025779
Select the 4th and 1st fields in that order.
{print $4, $1}
82 118 ready closed 2 27 pending ready 16 33 ready failed 56 114 failed active 11 77 pending closed 73 108 active paused 18 120 closed paused 57 75 ready closed 107 58 closed closed
closed 82 ready 2 failed 16 active 56 closed 11 paused 73 paused 18 closed 57 closed 107
110 89 failed active 59 20 pending paused 92 31 active closed 21 88 pending paused 0 99 failed failed 95 12 paused failed 103 41 closed active
active 110 paused 59 closed 92 paused 21 failed 0 failed 95 active 103
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025779-p1
Extract the 4th field followed by the 1st field.
{print $4, $1}
82 118 ready closed 2 27 pending ready 16 33 ready failed 56 114 failed active 11 77 pending closed 73 108 active paused 18 120 closed paused 57 75 ready closed 107 58 closed closed
closed 82 ready 2 failed 16 active 56 closed 11 paused 73 paused 18 closed 57 closed 107
110 89 failed active 59 20 pending paused 92 31 active closed 21 88 pending paused 0 99 failed failed 95 12 paused failed 103 41 closed active
active 110 paused 59 closed 92 paused 21 failed 0 failed 95 active 103
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025779
qwen/qwen3.7-plus
awkweave-0025780
Print the last field of every input line.
{print $NF}
active birch 15 ready ready ember 11 active delta 25 active ready ember 64 closed indigo 6 paused failed juniper 79 active amber 103 ready active juniper 30 active indigo 53 paused closed cobalt 116 paused harbor 68 paused pending ember 62 active indigo 25 paused ready harbor 76 ready birch 30 paused failed indigo 115
11 64 79 30 116 62 76 115
pending birch 12 active pending ember 31 failed indigo 37 paused ready ember 52 closed indigo 101 ready ready cobalt 13 failed juniper 104 failed paused harbor 19 ready amber 12 active ready fable 61 failed juniper 81 pending pending indigo 78 paused ember 98 pending closed ember 75 ready grove 56 active pending amber ...
31 52 13 19 61 78 75 81
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025780-p1
Display the final field from each input line.
{print $NF}
active birch 15 ready ready ember 11 active delta 25 active ready ember 64 closed indigo 6 paused failed juniper 79 active amber 103 ready active juniper 30 active indigo 53 paused closed cobalt 116 paused harbor 68 paused pending ember 62 active indigo 25 paused ready harbor 76 ready birch 30 paused failed indigo 115
11 64 79 30 116 62 76 115
pending birch 12 active pending ember 31 failed indigo 37 paused ready ember 52 closed indigo 101 ready ready cobalt 13 failed juniper 104 failed paused harbor 19 ready amber 12 active ready fable 61 failed juniper 81 pending pending indigo 78 paused ember 98 pending closed ember 75 ready grove 56 active pending amber ...
31 52 13 19 61 78 75 81
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025780
qwen/qwen3.7-plus
awkweave-0025781
Print the complete records where column 4 is less than 42.
$4 < 42
ready ready failed 74 ready paused failed ready 45 paused pending failed paused 40 closed ready failed ready 7 closed active pending active 108 paused ready paused pending 99 closed ready active paused 120 closed
pending failed paused 40 closed ready failed ready 7 closed
ready paused ready 101 pending failed closed paused 85 pending active pending ready 14 closed failed paused pending 97 paused failed pending active 12 pending paused ready paused 46 failed
active pending ready 14 closed failed pending active 12 pending
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025781-p1
Print entire records where the value in column 4 is under 42.
$4 < 42
ready ready failed 74 ready paused failed ready 45 paused pending failed paused 40 closed ready failed ready 7 closed active pending active 108 paused ready paused pending 99 closed ready active paused 120 closed
pending failed paused 40 closed ready failed ready 7 closed
ready paused ready 101 pending failed closed paused 85 pending active pending ready 14 closed failed paused pending 97 paused failed pending active 12 pending paused ready paused 46 failed
active pending ready 14 closed failed pending active 12 pending
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025781
qwen/qwen3.7-plus
awkweave-0025782
Show whole lines whose 1st field is between 5 and 28, inclusive.
$1 >= 5 && $1 <= 28
24 bruno eli juniper 19 eli chen fable 7 ivan kim juniper 13 chen farah birch 23 kim dina juniper 25 gus alice ember 6 farah farah indigo 4 kim gus juniper 4 gus farah birch
24 bruno eli juniper 19 eli chen fable 7 ivan kim juniper 13 chen farah birch 23 kim dina juniper 25 gus alice ember 6 farah farah indigo
15 eli hana indigo 28 kim farah amber 11 lina alice amber 3 ivan lina delta 29 eli bruno amber 27 bruno ivan grove 13 farah farah delta 22 farah eli ember 26 jules farah fable
15 eli hana indigo 28 kim farah amber 11 lina alice amber 27 bruno ivan grove 13 farah farah delta 22 farah eli ember 26 jules farah fable
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025782-p1
Show complete lines where the first field falls within the inclusive range of 5 to 28.
$1 >= 5 && $1 <= 28
24 bruno eli juniper 19 eli chen fable 7 ivan kim juniper 13 chen farah birch 23 kim dina juniper 25 gus alice ember 6 farah farah indigo 4 kim gus juniper 4 gus farah birch
24 bruno eli juniper 19 eli chen fable 7 ivan kim juniper 13 chen farah birch 23 kim dina juniper 25 gus alice ember 6 farah farah indigo
15 eli hana indigo 28 kim farah amber 11 lina alice amber 3 ivan lina delta 29 eli bruno amber 27 bruno ivan grove 13 farah farah delta 22 farah eli ember 26 jules farah fable
15 eli hana indigo 28 kim farah amber 11 lina alice amber 27 bruno ivan grove 13 farah farah delta 22 farah eli ember 26 jules farah fable
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025782
qwen/qwen3.7-plus
awkweave-0025783
Print column 1 only for rows where column 2 is exactly closed.
$2 == "closed"{print $1}
kim closed birch 105 ivan pending indigo 63 jules pending fable 74 alice pending birch 44 hana paused fable 5 bruno active delta 100 bruno failed harbor 58 dina active birch 53 farah failed cobalt 13 kim active indigo 44
kim
kim closed indigo 85 jules closed fable 40 dina failed amber 104 chen failed amber 92 hana active juniper 56 jules active birch 96 kim closed fable 55 lina ready cobalt 104
kim jules kim
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025783-p1
Output only column 1 for rows where column 2 matches 'closed' exactly.
$2 == "closed"{print $1}
kim closed birch 105 ivan pending indigo 63 jules pending fable 74 alice pending birch 44 hana paused fable 5 bruno active delta 100 bruno failed harbor 58 dina active birch 53 farah failed cobalt 13 kim active indigo 44
kim
kim closed indigo 85 jules closed fable 40 dina failed amber 104 chen failed amber 92 hana active juniper 56 jules active birch 96 kim closed fable 55 lina ready cobalt 104
kim jules kim
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025783
qwen/qwen3.7-plus
awkweave-0025784
Print all fields from lines where field 2 begins with INFO.
$2 ~ /^INFO/
harbor INFO 16 ember DEBUG 60 indigo DEBUG 106 juniper INFO 39 ember WARN 42 harbor ERROR 61
harbor INFO 16 juniper INFO 39
harbor INFO 117 delta WARN 35 amber ERROR 45 harbor INFO 65 indigo WARN 67 juniper ERROR 79 ember INFO 37
harbor INFO 117 harbor INFO 65 ember INFO 37
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025784-p1
Print all fields for lines where the second field starts with 'INFO'.
$2 ~ /^INFO/
harbor INFO 16 ember DEBUG 60 indigo DEBUG 106 juniper INFO 39 ember WARN 42 harbor ERROR 61
harbor INFO 16 juniper INFO 39
harbor INFO 117 delta WARN 35 amber ERROR 45 harbor INFO 65 indigo WARN 67 juniper ERROR 79 ember INFO 37
harbor INFO 117 harbor INFO 65 ember INFO 37
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025784
qwen/qwen3.7-plus
awkweave-0025785
Print every line except those containing the exact text amber.
$0 !~ /amber/
birch 80 pending grove 21 failed grove 18 pending delta 83 ready juniper 50 paused delta 6 paused grove 48 paused indigo 46 closed cobalt 0 failed cobalt 59 failed amber 999 active
birch 80 pending grove 21 failed grove 18 pending delta 83 ready juniper 50 paused delta 6 paused grove 48 paused indigo 46 closed cobalt 0 failed cobalt 59 failed
ember 82 paused delta 91 ready indigo 41 closed cobalt 9 ready delta 58 failed juniper 5 closed birch 36 closed amber 32 failed juniper 18 failed grove 42 paused amber 999 active
ember 82 paused delta 91 ready indigo 41 closed cobalt 9 ready delta 58 failed juniper 5 closed birch 36 closed juniper 18 failed grove 42 paused
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025785-p1
Print every line that does not contain the exact string 'amber'.
$0 !~ /amber/
birch 80 pending grove 21 failed grove 18 pending delta 83 ready juniper 50 paused delta 6 paused grove 48 paused indigo 46 closed cobalt 0 failed cobalt 59 failed amber 999 active
birch 80 pending grove 21 failed grove 18 pending delta 83 ready juniper 50 paused delta 6 paused grove 48 paused indigo 46 closed cobalt 0 failed cobalt 59 failed
ember 82 paused delta 91 ready indigo 41 closed cobalt 9 ready delta 58 failed juniper 5 closed birch 36 closed amber 32 failed juniper 18 failed grove 42 paused amber 999 active
ember 82 paused delta 91 ready indigo 41 closed cobalt 9 ready delta 58 failed juniper 5 closed birch 36 closed juniper 18 failed grove 42 paused
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025785
qwen/qwen3.7-plus
awkweave-0025786
Print lines 2 through 5, including both endpoints.
NR >= 2 && NR <= 5
jules harbor 108 eli amber 7 alice fable 100 gus birch 105 jules indigo 17 hana birch 5 ivan delta 1 bruno grove 69
eli amber 7 alice fable 100 gus birch 105 jules indigo 17
jules ember 115 jules juniper 1 alice grove 41 dina delta 91 jules delta 32 farah fable 1
jules juniper 1 alice grove 41 dina delta 91 jules delta 32
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025786-p1
Output lines 2 through 5, inclusive.
NR >= 2 && NR <= 5
jules harbor 108 eli amber 7 alice fable 100 gus birch 105 jules indigo 17 hana birch 5 ivan delta 1 bruno grove 69
eli amber 7 alice fable 100 gus birch 105 jules indigo 17
jules ember 115 jules juniper 1 alice grove 41 dina delta 91 jules delta 32 farah fable 1
jules juniper 1 alice grove 41 dina delta 91 jules delta 32
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025786
qwen/qwen3.7-plus
awkweave-0025787
Output only the first 3 records.
NR <= 3
ivan 64 fable bruno 73 grove kim 96 delta alice 22 delta farah 72 cobalt lina 70 harbor alice 91 delta
ivan 64 fable bruno 73 grove kim 96 delta
gus 72 harbor bruno 39 cobalt lina 53 indigo gus 95 birch ivan 113 cobalt eli 82 ember eli 68 grove
gus 72 harbor bruno 39 cobalt lina 53 indigo
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025787-p1
Display only the first 3 records.
NR <= 3
ivan 64 fable bruno 73 grove kim 96 delta alice 22 delta farah 72 cobalt lina 70 harbor alice 91 delta
ivan 64 fable bruno 73 grove kim 96 delta
gus 72 harbor bruno 39 cobalt lina 53 indigo gus 95 birch ivan 113 cobalt eli 82 ember eli 68 grove
gus 72 harbor bruno 39 cobalt lina 53 indigo
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025787
qwen/qwen3.7-plus
awkweave-0025788
Skip the first line and print every remaining line unchanged.
NR > 1
ivan 38 amber eli 25 indigo ivan 105 cobalt chen 49 fable ivan 49 cobalt ivan 92 indigo
eli 25 indigo ivan 105 cobalt chen 49 fable ivan 49 cobalt ivan 92 indigo
chen 57 cobalt gus 76 juniper dina 48 juniper bruno 9 grove lina 2 cobalt gus 10 indigo bruno 50 birch bruno 70 cobalt kim 39 grove
gus 76 juniper dina 48 juniper bruno 9 grove lina 2 cobalt gus 10 indigo bruno 50 birch bruno 70 cobalt kim 39 grove
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025788-p1
Omit the first line and print all subsequent lines as they are.
NR > 1
ivan 38 amber eli 25 indigo ivan 105 cobalt chen 49 fable ivan 49 cobalt ivan 92 indigo
eli 25 indigo ivan 105 cobalt chen 49 fable ivan 49 cobalt ivan 92 indigo
chen 57 cobalt gus 76 juniper dina 48 juniper bruno 9 grove lina 2 cobalt gus 10 indigo bruno 50 birch bruno 70 cobalt kim 39 grove
gus 76 juniper dina 48 juniper bruno 9 grove lina 2 cobalt gus 10 indigo bruno 50 birch bruno 70 cobalt kim 39 grove
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025788
qwen/qwen3.7-plus
awkweave-0025789
Count how many records have paused in column 2. Print 0 if there are none.
$2 == "paused"{n++}END{print n+0}
lina ready 114 lina paused 44 dina closed 92 eli active 31 kim paused 120 lina pending 35 jules paused 108 chen closed 11 ivan failed 117
3
lina ready 48 ivan closed 10 ivan paused 90 farah paused 33 chen closed 11 jules pending 4
2
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025789-p1
Count the number of records with 'paused' in column 2, outputting 0 if none exist.
$2 == "paused"{n++}END{print n+0}
lina ready 114 lina paused 44 dina closed 92 eli active 31 kim paused 120 lina pending 35 jules paused 108 chen closed 11 ivan failed 117
3
lina ready 48 ivan closed 10 ivan paused 90 farah paused 33 chen closed 11 jules pending 4
2
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025789
qwen/qwen3.7-plus
awkweave-0025800
Convert column 2 to uppercase and print only that column.
{print toupper($2)}
bruno grove 61 bruno juniper 61 lina cobalt 37 gus harbor 21 bruno cobalt 98 jules birch 33
GROVE JUNIPER COBALT HARBOR COBALT BIRCH
hana juniper 100 ivan amber 91 ivan amber 48 dina indigo 53 kim fable 91 gus ember 99
JUNIPER AMBER AMBER INDIGO FABLE EMBER
uppercase
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025800-p1
Transform the second field to uppercase and output only that field.
{print toupper($2)}
bruno grove 61 bruno juniper 61 lina cobalt 37 gus harbor 21 bruno cobalt 98 jules birch 33
GROVE JUNIPER COBALT HARBOR COBALT BIRCH
hana juniper 100 ivan amber 91 ivan amber 48 dina indigo 53 kim fable 91 gus ember 99
JUNIPER AMBER AMBER INDIGO FABLE EMBER
uppercase
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025800
qwen/qwen3.7-plus
awkweave-0025801
From column 1, print 2 characters starting at character 1.
{print substr($1,1,2)}
delta 99 delta 83 birch 85 cobalt 120 ember 83 ember 72 birch 48 cobalt 87 birch 91 fable 88
de de bi co em em bi co bi fa
juniper 53 indigo 24 harbor 28 amber 49 harbor 59 juniper 52 fable 68 juniper 95 juniper 113 juniper 10
ju in ha am ha ju fa ju ju ju
substring
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025801-p1
Extract and print the first two characters from the first column.
{print substr($1,1,2)}
delta 99 delta 83 birch 85 cobalt 120 ember 83 ember 72 birch 48 cobalt 87 birch 91 fable 88
de de bi co em em bi co bi fa
juniper 53 indigo 24 harbor 28 amber 49 harbor 59 juniper 52 fable 68 juniper 95 juniper 113 juniper 10
ju in ha am ha ju fa ju ju ju
substring
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025801
qwen/qwen3.7-plus
awkweave-0025802
Replace every underscore in column 1 with a space and print the resulting values.
{gsub(/_/," ",$1);print $1}
ember_amber 110 fable_ember 33 harbor_birch 120 indigo_ember 114 harbor_juniper 16 grove_grove 65 fable_delta 22
ember amber fable ember harbor birch indigo ember harbor juniper grove grove fable delta
delta_ember 34 fable_ember 37 juniper_fable 21 ember_delta 10 amber_grove 33 delta_harbor 9 birch_harbor 0 juniper_harbor 65
delta ember fable ember juniper fable ember delta amber grove delta harbor birch harbor juniper harbor
replace_underscores
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025802-p1
Substitute all underscores in the first column with spaces and display the result.
{gsub(/_/," ",$1);print $1}
ember_amber 110 fable_ember 33 harbor_birch 120 indigo_ember 114 harbor_juniper 16 grove_grove 65 fable_delta 22
ember amber fable ember harbor birch indigo ember harbor juniper grove grove fable delta
delta_ember 34 fable_ember 37 juniper_fable 21 ember_delta 10 amber_grove 33 delta_harbor 9 birch_harbor 0 juniper_harbor 65
delta ember fable ember juniper fable ember delta amber grove delta harbor birch harbor juniper harbor
replace_underscores
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025802
qwen/qwen3.7-plus
awkweave-0025803
Reverse the order of fields on every line and print all fields.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim harbor 62 pending ivan delta 93 pending dina cobalt 99 failed gus birch 65 active farah cobalt 49 active farah ember 92 pending
pending 62 harbor kim pending 93 delta ivan failed 99 cobalt dina active 65 birch gus active 49 cobalt farah pending 92 ember farah
alice delta 12 closed alice harbor 89 active gus fable 88 pending dina grove 0 pending dina ember 6 failed bruno fable 64 failed chen birch 117 ready hana fable 52 paused jules cobalt 23 active
closed 12 delta alice active 89 harbor alice pending 88 fable gus pending 0 grove dina failed 6 ember dina failed 64 fable bruno ready 117 birch chen paused 52 fable hana active 23 cobalt jules
reverse_fields
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025803-p1
Reverse the sequence of fields on each line and output all of them.
{for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)}
kim harbor 62 pending ivan delta 93 pending dina cobalt 99 failed gus birch 65 active farah cobalt 49 active farah ember 92 pending
pending 62 harbor kim pending 93 delta ivan failed 99 cobalt dina active 65 birch gus active 49 cobalt farah pending 92 ember farah
alice delta 12 closed alice harbor 89 active gus fable 88 pending dina grove 0 pending dina ember 6 failed bruno fable 64 failed chen birch 117 ready hana fable 52 paused jules cobalt 23 active
closed 12 delta alice active 89 harbor alice pending 88 fable gus pending 0 grove dina failed 6 ember dina failed 64 fable bruno ready 117 birch chen paused 52 fable hana active 23 cobalt jules
reverse_fields
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025803
qwen/qwen3.7-plus
awkweave-0025804
Print the number of whitespace-separated fields on each line.
{print NF}
farah indigo 93 paused ivan birch 8 paused gus cobalt 34 closed hana ember 52 closed ivan ember 55 ready kim amber 41 failed dina cobalt 41 pending lina amber 33 pending
4 4 4 4 4 4 4 4
chen juniper 105 active jules indigo 46 ready farah grove 34 closed kim birch 46 ready gus ember 97 closed ivan cobalt 85 closed alice ember 92 pending farah delta 4 closed lina delta 112 pending chen indigo 64 paused
4 4 4 4 4 4 4 4 4 4
field_count
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025804-p1
Output the count of whitespace-delimited fields for every line.
{print NF}
farah indigo 93 paused ivan birch 8 paused gus cobalt 34 closed hana ember 52 closed ivan ember 55 ready kim amber 41 failed dina cobalt 41 pending lina amber 33 pending
4 4 4 4 4 4 4 4
chen juniper 105 active jules indigo 46 ready farah grove 34 closed kim birch 46 ready gus ember 97 closed ivan cobalt 85 closed alice ember 92 pending farah delta 4 closed lina delta 112 pending chen indigo 64 paused
4 4 4 4 4 4 4 4 4 4
field_count
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025804
qwen/qwen3.7-plus
awkweave-0025805
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 delta 24 farah gamma 0 eli delta 35 ivan beta 72 lina gamma 32 bruno delta 63 alice delta 116 jules beta 1
delta 4 gamma 2 beta 2
chen alpha 53 ivan beta 51 chen delta 79 ivan gamma 108 dina beta 10 lina gamma 13 eli delta 46 kim beta 64 alice delta 59 kim gamma 22
alpha 1 beta 3 delta 3 gamma 3
count_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025805-p1
Tally the occurrences of each value in column 2 and print the value alongside its count, maintaining 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 delta 24 farah gamma 0 eli delta 35 ivan beta 72 lina gamma 32 bruno delta 63 alice delta 116 jules beta 1
delta 4 gamma 2 beta 2
chen alpha 53 ivan beta 51 chen delta 79 ivan gamma 108 dina beta 10 lina gamma 13 eli delta 46 kim beta 64 alice delta 59 kim gamma 22
alpha 1 beta 3 delta 3 gamma 3
count_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025805
qwen/qwen3.7-plus
awkweave-0025806
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]]}
farah beta 25 bruno alpha 9 hana beta 22 bruno delta 13 alice delta 25 eli delta 10 ivan gamma 21 hana beta 13
beta 60 alpha 9 delta 48 gamma 21
jules delta 24 ivan beta 12 bruno beta 18 jules delta 2 bruno delta 7 bruno delta 5 hana alpha 18 hana beta 24 eli alpha 19 chen delta 26
delta 64 beta 54 alpha 37
sum_by_key
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025806-p1
Calculate the sum of column 3 grouped by column 2, displaying the results in the order groups first appear.
{if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]}
farah beta 25 bruno alpha 9 hana beta 22 bruno delta 13 alice delta 25 eli delta 10 ivan gamma 21 hana beta 13
beta 60 alpha 9 delta 48 gamma 21
jules delta 24 ivan beta 12 bruno beta 18 jules delta 2 bruno delta 7 bruno delta 5 hana alpha 18 hana beta 24 eli alpha 19 chen delta 26
delta 64 beta 54 alpha 37
sum_by_key
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025806
qwen/qwen3.7-plus
awkweave-0025807
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 birch 83 beta fable 21 beta birch 102 alpha fable 55 delta grove 13 gamma indigo 120 beta harbor 22 delta cobalt 112 delta cobalt 21
beta 4 delta 3
gamma amber 81 gamma delta 67 beta juniper 0 delta indigo 108 delta fable 91 delta birch 17 delta indigo 93 gamma birch 11 beta delta 84
gamma 3 beta 2 delta 4
duplicates_only
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025807-p1
List each duplicate value from column 1 along with its frequency, ordered by first appearance.
{if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]}
beta birch 83 beta fable 21 beta birch 102 alpha fable 55 delta grove 13 gamma indigo 120 beta harbor 22 delta cobalt 112 delta cobalt 21
beta 4 delta 3
gamma amber 81 gamma delta 67 beta juniper 0 delta indigo 108 delta fable 91 delta birch 17 delta indigo 93 gamma birch 11 beta delta 84
gamma 3 beta 2 delta 4
duplicates_only
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025807
qwen/qwen3.7-plus
awkweave-0025808
The first row is a header. Print the region column for every data row.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name score state region r001 hana 20 active r002 jules 28 paused r003 dina 14 paused r004 bruno 29 ready r005 farah 26 pending r006 hana 11 pending r007 dina 5 active r008 chen 29 paused r009 jules 19 pending
active paused paused ready pending pending active paused pending
display_name score state region r001 hana 22 paused r002 chen 6 closed r003 hana 26 closed r004 bruno 26 ready r005 alice 21 paused r006 jules 23 pending r007 chen 14 failed
paused closed closed ready paused pending failed
header_projection
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025808-p1
Skip the header row and print the region column for all remaining rows.
NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]}
display_name score state region r001 hana 20 active r002 jules 28 paused r003 dina 14 paused r004 bruno 29 ready r005 farah 26 pending r006 hana 11 pending r007 dina 5 active r008 chen 29 paused r009 jules 19 pending
active paused paused ready pending pending active paused pending
display_name score state region r001 hana 22 paused r002 chen 6 closed r003 hana 26 closed r004 bruno 26 ready r005 alice 21 paused r006 jules 23 pending r007 chen 14 failed
paused closed closed ready paused pending failed
header_projection
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025808
qwen/qwen3.7-plus
awkweave-0025809
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 19 failed r002 farah 27 pending r003 jules 13 closed r004 bruno 4 ready r005 eli 21 closed r006 lina 3 ready r007 ivan 28 failed r008 ivan 1 failed
lina farah eli ivan
record_id display_name score state r001 lina 15 closed r002 eli 13 active r003 hana 8 active r004 gus 26 pending r005 alice 7 active r006 dina 3 active r007 kim 25 failed r008 dina 6 failed r009 lina 25 closed r010 chen 3 paused
lina gus kim lina
header_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025809-p1
Ignoring the header, print the display_name for rows where the 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 19 failed r002 farah 27 pending r003 jules 13 closed r004 bruno 4 ready r005 eli 21 closed r006 lina 3 ready r007 ivan 28 failed r008 ivan 1 failed
lina farah eli ivan
record_id display_name score state r001 lina 15 closed r002 eli 13 active r003 hana 8 active r004 gus 26 pending r005 alice 7 active r006 dina 3 active r007 kim 25 failed r008 dina 6 failed r009 lina 25 closed r010 chen 3 paused
lina gus kim lina
header_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025809
qwen/qwen3.7-plus
awkweave-0025810
The input is tab-separated. Print column 2 from every record.
BEGIN{FS=OFS="\t"}{print $2}
lina 16 ready farah 21 ready chen 13 active lina 22 failed lina 7 ready jules 4 pending jules 7 pending
16 21 13 22 7 4 7
jules 19 paused kim 30 ready alice 18 active alice 9 pending jules 22 failed alice 1 active
19 30 18 9 22 1
tsv_projection
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025810-p1
Given tab-separated input, output the second column for every record.
BEGIN{FS=OFS="\t"}{print $2}
lina 16 ready farah 21 ready chen 13 active lina 22 failed lina 7 ready jules 4 pending jules 7 pending
16 21 13 22 7 4 7
jules 19 paused kim 30 ready alice 18 active alice 9 pending jules 22 failed alice 1 active
19 30 18 9 22 1
tsv_projection
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025810
qwen/qwen3.7-plus
awkweave-0025811
The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 20.
BEGIN{FS=OFS=","}$2>20{print $1}
farah,6,failed lina,3,paused kim,1,pending chen,21,ready gus,23,active lina,14,paused
chen gus
ivan,5,paused dina,4,pending lina,14,closed hana,28,closed bruno,29,pending lina,4,active
hana bruno
csv_filter
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025811-p1
For simple comma-separated input without quoted commas, print the first column if the second column is greater than 20.
BEGIN{FS=OFS=","}$2>20{print $1}
farah,6,failed lina,3,paused kim,1,pending chen,21,ready gus,23,active lina,14,paused
chen gus
ivan,5,paused dina,4,pending lina,14,closed hana,28,closed bruno,29,pending lina,4,active
hana bruno
csv_filter
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025811
qwen/qwen3.7-plus
awkweave-0025812
Trim leading and trailing whitespace and collapse internal whitespace to single spaces.
{$1=$1;print}
eli grove 97 jules juniper 92 farah delta 100 jules cobalt 114 lina delta 84 ivan ember 15 lina juniper 43 ivan amber 104 farah ember 102
eli grove 97 jules juniper 92 farah delta 100 jules cobalt 114 lina delta 84 ivan ember 15 lina juniper 43 ivan amber 104 farah ember 102
gus fable 78 kim birch 3 alice amber 87 gus grove 75 gus cobalt 119 hana harbor 7 dina grove 65
gus fable 78 kim birch 3 alice amber 87 gus grove 75 gus cobalt 119 hana harbor 7 dina grove 65
normalize_whitespace
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025812-p1
Remove leading and trailing whitespace, then replace any sequence of internal whitespace characters with a single space.
{$1=$1;print}
eli grove 97 jules juniper 92 farah delta 100 jules cobalt 114 lina delta 84 ivan ember 15 lina juniper 43 ivan amber 104 farah ember 102
eli grove 97 jules juniper 92 farah delta 100 jules cobalt 114 lina delta 84 ivan ember 15 lina juniper 43 ivan amber 104 farah ember 102
gus fable 78 kim birch 3 alice amber 87 gus grove 75 gus cobalt 119 hana harbor 7 dina grove 65
gus fable 78 kim birch 3 alice amber 87 gus grove 75 gus cobalt 119 hana harbor 7 dina grove 65
normalize_whitespace
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025812
qwen/qwen3.7-plus
awkweave-0025813
Find and print the longest input line; if tied, keep the earliest.
{if(length($0)>length(best))best=$0}END{print best}
hana amber 70 failed chen ember 77 pending kim birch 99 paused eli cobalt 67 active farah juniper 120 pending bruno birch 56 closed dina juniper 120 paused
farah juniper 120 pending
chen juniper 42 ready jules juniper 14 active chen amber 78 active ivan ember 58 closed kim indigo 101 failed lina harbor 69 ready dina cobalt 96 ready gus ember 8 closed farah delta 60 ready gus grove 93 failed
jules juniper 14 active
longest_line
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025813-p1
Identify and output the longest line from the input; if multiple lines share the maximum length, select the first one encountered.
{if(length($0)>length(best))best=$0}END{print best}
hana amber 70 failed chen ember 77 pending kim birch 99 paused eli cobalt 67 active farah juniper 120 pending bruno birch 56 closed dina juniper 120 paused
farah juniper 120 pending
chen juniper 42 ready jules juniper 14 active chen amber 78 active ivan ember 58 closed kim indigo 101 failed lina harbor 69 ready dina cobalt 96 ready gus ember 8 closed farah delta 60 ready gus grove 93 failed
jules juniper 14 active
longest_line
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025813
qwen/qwen3.7-plus
awkweave-0025814
Print every 3rd line starting at line 2 (then line 5, and so on).
NR%3==2
chen 64 gus 63 bruno 106 eli 76 kim 13 eli 0 alice 62 hana 108
gus 63 kim 13 hana 108
alice 95 lina 110 chen 90 alice 111 gus 37 bruno 14 hana 83 bruno 27 gus 94
lina 110 gus 37 bruno 27
every_nth
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025814-p1
Output every third line beginning with line 2 (i.e., lines 2, 5, 8, etc.).
NR%3==2
chen 64 gus 63 bruno 106 eli 76 kim 13 eli 0 alice 62 hana 108
gus 63 kim 13 hana 108
alice 95 lina 110 chen 90 alice 111 gus 37 bruno 14 hana 83 bruno 27 gus 94
lina 110 gus 37 bruno 27
every_nth
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025814
qwen/qwen3.7-plus
awkweave-0025815
Count the distinct values in column 1 and print only the count.
{if(!seen[$1]++)n++}END{print n+0}
gamma delta 110 beta amber 82 beta delta 4 alpha indigo 97 alpha indigo 102 gamma birch 34
3
alpha delta 97 alpha ember 70 beta birch 95 gamma ember 24 alpha amber 66 alpha grove 16 alpha cobalt 20 alpha cobalt 32 beta ember 71
3
distinct_count
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025815-p1
Calculate the number of unique values in the first column and display only that total count.
{if(!seen[$1]++)n++}END{print n+0}
gamma delta 110 beta amber 82 beta delta 4 alpha indigo 97 alpha indigo 102 gamma birch 34
3
alpha delta 97 alpha ember 70 beta birch 95 gamma ember 24 alpha amber 66 alpha grove 16 alpha cobalt 20 alpha cobalt 32 beta ember 71
3
distinct_count
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025815
qwen/qwen3.7-plus
awkweave-0025816
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}
bruno 25 0 ivan 21 12 kim 14 28 kim 12 19 dina 30 30 lina 23 23 gus 28 29
ivan 1.75 kim 0.50 kim 0.63 dina 1.00 lina 1.00 gus 0.97
farah 14 0 alice 7 3 kim 27 17 bruno 16 17 kim 2 2 ivan 1 19 farah 23 29 kim 5 23
alice 2.33 kim 1.59 bruno 0.94 kim 1.00 ivan 0.05 farah 0.79 kim 0.22
ratio
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025816-p1
For each row, output the value of column 1 followed by the result of column 2 divided by column 3 formatted to two decimal places, excluding any rows where column 3 is zero.
{if($3!=0)printf "%s %.2f\n",$1,$2/$3}
bruno 25 0 ivan 21 12 kim 14 28 kim 12 19 dina 30 30 lina 23 23 gus 28 29
ivan 1.75 kim 0.50 kim 0.63 dina 1.00 lina 1.00 gus 0.97
farah 14 0 alice 7 3 kim 27 17 bruno 16 17 kim 2 2 ivan 1 19 farah 23 29 kim 5 23
alice 2.33 kim 1.59 bruno 0.94 kim 1.00 ivan 0.05 farah 0.79 kim 0.22
ratio
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025816
qwen/qwen3.7-plus
awkweave-0025817
Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties.
{value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]}
ivan cobalt 1 farah cobalt 30 lina fable 28 eli ember 28 jules amber 30 eli birch 12 jules amber 28
farah cobalt 30 jules amber 30 lina fable 28
bruno delta 5 kim ember 8 eli cobalt 15 bruno birch 20 dina fable 25 jules birch 10 farah grove 4
dina fable 25 bruno birch 20 eli cobalt 15
top_three
3
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025817-p1
Display the full records corresponding to the top three highest numeric values in column 3, sorted in descending order; maintain the original input order for any 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]}
ivan cobalt 1 farah cobalt 30 lina fable 28 eli ember 28 jules amber 30 eli birch 12 jules amber 28
farah cobalt 30 jules amber 30 lina fable 28
bruno delta 5 kim ember 8 eli cobalt 15 bruno birch 20 dina fable 25 jules birch 10 farah grove 4
dina fable 25 bruno birch 20 eli cobalt 15
top_three
3
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025817
qwen/qwen3.7-plus
awkweave-0025818
For each line, output fields 4 and 3, in that order.
{print $4, $3}
84 grove juniper pending active 80 harbor birch paused pending 5 juniper cobalt ready paused 56 indigo juniper paused active 65 indigo ember active ready 16 cobalt indigo ready paused 109 grove delta ready failed 35 fable cobalt failed pending
pending juniper paused birch ready cobalt paused juniper active ember ready indigo ready delta failed cobalt
67 delta harbor failed paused 81 amber indigo ready closed 4 delta cobalt active pending 84 grove indigo failed failed 61 cobalt birch failed active 104 amber indigo failed active 97 grove grove active ready 19 harbor delta ready active 91 birch harbor ready ready
failed harbor ready indigo active cobalt failed indigo failed birch failed indigo active grove ready delta ready harbor
project_fields
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025818-p1
For every line, print field 4 followed by field 3.
{print $4, $3}
84 grove juniper pending active 80 harbor birch paused pending 5 juniper cobalt ready paused 56 indigo juniper paused active 65 indigo ember active ready 16 cobalt indigo ready paused 109 grove delta ready failed 35 fable cobalt failed pending
pending juniper paused birch ready cobalt paused juniper active ember ready indigo ready delta failed cobalt
67 delta harbor failed paused 81 amber indigo ready closed 4 delta cobalt active pending 84 grove indigo failed failed 61 cobalt birch failed active 104 amber indigo failed active 97 grove grove active ready 19 harbor delta ready active 91 birch harbor ready ready
failed harbor ready indigo active cobalt failed indigo failed birch failed indigo active grove ready delta ready harbor
project_fields
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025818
qwen/qwen3.7-plus
awkweave-0025819
Print the last field of every input line.
{print $NF}
active paused failed pending failed failed paused closed active failed ready ready ready paused failed ready pending paused failed active closed pending failed active
pending closed ready ready active active
ready paused ready active failed failed closed paused failed ready failed pending pending active paused pending paused paused paused failed pending ready active active paused closed paused ready failed closed ready paused
active paused pending pending failed active ready paused
last_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025819-p1
Output the final field from each input line.
{print $NF}
active paused failed pending failed failed paused closed active failed ready ready ready paused failed ready pending paused failed active closed pending failed active
pending closed ready ready active active
ready paused ready active failed failed closed paused failed ready failed pending pending active paused pending paused paused paused failed pending ready active active paused closed paused ready failed closed ready paused
active paused pending pending failed active ready paused
last_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025819
qwen/qwen3.7-plus
awkweave-0025820
Print the complete records where column 2 is less than 69.
$2 < 69
ready 22 farah ready 105 dina active 73 kim closed 99 hana paused 4 gus active 26 alice failed 76 jules
ready 22 farah paused 4 gus active 26 alice
ready 100 chen ready 42 jules ready 16 ivan active 37 jules failed 76 bruno pending 24 farah closed 25 kim paused 76 gus
ready 42 jules ready 16 ivan active 37 jules pending 24 farah closed 25 kim
numeric_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025820-p1
Print the entire record for any row where the value in column 2 is strictly less than 69.
$2 < 69
ready 22 farah ready 105 dina active 73 kim closed 99 hana paused 4 gus active 26 alice failed 76 jules
ready 22 farah paused 4 gus active 26 alice
ready 100 chen ready 42 jules ready 16 ivan active 37 jules failed 76 bruno pending 24 farah closed 25 kim paused 76 gus
ready 42 jules ready 16 ivan active 37 jules pending 24 farah closed 25 kim
numeric_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025820
qwen/qwen3.7-plus
awkweave-0025821
Show whole lines whose 1st field is between 3 and 28, inclusive.
$1 >= 3 && $1 <= 28
4 chen gus cobalt 14 ivan eli birch 9 kim alice delta 23 lina farah amber 28 jules jules birch 28 chen lina indigo 8 dina bruno cobalt 15 alice bruno indigo 15 hana eli fable 22 kim eli juniper
4 chen gus cobalt 14 ivan eli birch 9 kim alice delta 23 lina farah amber 28 jules jules birch 28 chen lina indigo 8 dina bruno cobalt 15 alice bruno indigo 15 hana eli fable 22 kim eli juniper
13 hana hana cobalt 12 lina kim grove 29 jules eli juniper 18 kim chen fable 7 lina hana cobalt 10 hana ivan grove 7 ivan hana amber 4 hana eli amber 16 kim alice delta
13 hana hana cobalt 12 lina kim grove 18 kim chen fable 7 lina hana cobalt 10 hana ivan grove 7 ivan hana amber 4 hana eli amber 16 kim alice delta
numeric_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025821-p1
Display complete lines where the first field falls within the inclusive range of 3 to 28.
$1 >= 3 && $1 <= 28
4 chen gus cobalt 14 ivan eli birch 9 kim alice delta 23 lina farah amber 28 jules jules birch 28 chen lina indigo 8 dina bruno cobalt 15 alice bruno indigo 15 hana eli fable 22 kim eli juniper
4 chen gus cobalt 14 ivan eli birch 9 kim alice delta 23 lina farah amber 28 jules jules birch 28 chen lina indigo 8 dina bruno cobalt 15 alice bruno indigo 15 hana eli fable 22 kim eli juniper
13 hana hana cobalt 12 lina kim grove 29 jules eli juniper 18 kim chen fable 7 lina hana cobalt 10 hana ivan grove 7 ivan hana amber 4 hana eli amber 16 kim alice delta
13 hana hana cobalt 12 lina kim grove 18 kim chen fable 7 lina hana cobalt 10 hana ivan grove 7 ivan hana amber 4 hana eli amber 16 kim alice delta
numeric_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025821
qwen/qwen3.7-plus
awkweave-0025822
Print column 2 only for rows where column 4 is exactly failed.
$4 == "failed"{print $2}
birch farah 105 pending juniper lina 2 paused ember chen 30 closed ember dina 118 paused delta chen 120 ready delta eli 43 ready fable eli 23 paused amber farah 65 pending birch bruno 49 paused grove jules 96 failed
jules
juniper jules 71 pending harbor gus 120 closed cobalt bruno 105 closed amber jules 11 pending cobalt dina 5 pending juniper chen 22 failed harbor chen 50 paused juniper chen 102 paused indigo bruno 9 active
chen
string_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025822-p1
Output only the second column for rows where the fourth column contains exactly the string 'failed'.
$4 == "failed"{print $2}
birch farah 105 pending juniper lina 2 paused ember chen 30 closed ember dina 118 paused delta chen 120 ready delta eli 43 ready fable eli 23 paused amber farah 65 pending birch bruno 49 paused grove jules 96 failed
jules
juniper jules 71 pending harbor gus 120 closed cobalt bruno 105 closed amber jules 11 pending cobalt dina 5 pending juniper chen 22 failed harbor chen 50 paused juniper chen 102 paused indigo bruno 9 active
chen
string_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025822
qwen/qwen3.7-plus
awkweave-0025823
Print all fields from lines where field 3 begins with INFO.
$3 ~ /^INFO/
82 indigo INFO 106 harbor ERROR 112 amber INFO 118 birch ERROR 49 juniper ERROR 43 juniper WARN 76 birch DEBUG 110 indigo WARN 70 fable ERROR 54 harbor DEBUG
82 indigo INFO 112 amber INFO
100 juniper INFO 24 harbor WARN 92 delta DEBUG 43 delta DEBUG 59 ember INFO 19 grove ERROR 26 juniper DEBUG 15 birch ERROR 115 indigo WARN
100 juniper INFO 59 ember INFO
regex_filter
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025823-p1
Print all fields from lines where the third field starts with the prefix 'INFO'.
$3 ~ /^INFO/
82 indigo INFO 106 harbor ERROR 112 amber INFO 118 birch ERROR 49 juniper ERROR 43 juniper WARN 76 birch DEBUG 110 indigo WARN 70 fable ERROR 54 harbor DEBUG
82 indigo INFO 112 amber INFO
100 juniper INFO 24 harbor WARN 92 delta DEBUG 43 delta DEBUG 59 ember INFO 19 grove ERROR 26 juniper DEBUG 15 birch ERROR 115 indigo WARN
100 juniper INFO 59 ember INFO
regex_filter
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025823
qwen/qwen3.7-plus
awkweave-0025824
Print every line except those containing the exact text fable.
$0 !~ /fable/
cobalt 68 closed fable 72 active amber 62 closed delta 73 active juniper 7 active delta 88 active cobalt 80 active juniper 21 ready juniper 82 active fable 999 active
cobalt 68 closed amber 62 closed delta 73 active juniper 7 active delta 88 active cobalt 80 active juniper 21 ready juniper 82 active
birch 62 active indigo 59 ready juniper 101 ready fable 1 failed cobalt 31 pending juniper 27 active birch 120 pending fable 999 active
birch 62 active indigo 59 ready juniper 101 ready cobalt 31 pending juniper 27 active birch 120 pending
exclude_regex
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025824-p1
Display all lines that do not contain the exact string fable.
$0 !~ /fable/
cobalt 68 closed fable 72 active amber 62 closed delta 73 active juniper 7 active delta 88 active cobalt 80 active juniper 21 ready juniper 82 active fable 999 active
cobalt 68 closed amber 62 closed delta 73 active juniper 7 active delta 88 active cobalt 80 active juniper 21 ready juniper 82 active
birch 62 active indigo 59 ready juniper 101 ready fable 1 failed cobalt 31 pending juniper 27 active birch 120 pending fable 999 active
birch 62 active indigo 59 ready juniper 101 ready cobalt 31 pending juniper 27 active birch 120 pending
exclude_regex
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025824
qwen/qwen3.7-plus
awkweave-0025825
Print lines 2 through 3, including both endpoints.
NR >= 2 && NR <= 3
kim grove 45 ivan ember 13 eli ember 63 alice fable 54 ivan birch 107 eli juniper 16 farah ember 91
ivan ember 13 eli ember 63
ivan fable 79 gus birch 19 kim juniper 107 chen delta 19 lina grove 28 hana birch 92 ivan grove 66 farah amber 89 chen birch 35 alice harbor 17
gus birch 19 kim juniper 107
line_range
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025825-p1
Output lines 2 to 3, inclusive of both start and end lines.
NR >= 2 && NR <= 3
kim grove 45 ivan ember 13 eli ember 63 alice fable 54 ivan birch 107 eli juniper 16 farah ember 91
ivan ember 13 eli ember 63
ivan fable 79 gus birch 19 kim juniper 107 chen delta 19 lina grove 28 hana birch 92 ivan grove 66 farah amber 89 chen birch 35 alice harbor 17
gus birch 19 kim juniper 107
line_range
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025825
qwen/qwen3.7-plus
awkweave-0025826
Output only the first 5 records.
NR <= 5
gus 59 birch dina 103 indigo hana 10 delta hana 68 delta alice 7 harbor bruno 61 harbor
gus 59 birch dina 103 indigo hana 10 delta hana 68 delta alice 7 harbor
ivan 54 cobalt eli 110 delta jules 90 grove ivan 95 birch kim 52 amber eli 104 amber ivan 11 ember
ivan 54 cobalt eli 110 delta jules 90 grove ivan 95 birch kim 52 amber
first_n
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025826-p1
Show only the initial 5 records.
NR <= 5
gus 59 birch dina 103 indigo hana 10 delta hana 68 delta alice 7 harbor bruno 61 harbor
gus 59 birch dina 103 indigo hana 10 delta hana 68 delta alice 7 harbor
ivan 54 cobalt eli 110 delta jules 90 grove ivan 95 birch kim 52 amber eli 104 amber ivan 11 ember
ivan 54 cobalt eli 110 delta jules 90 grove ivan 95 birch kim 52 amber
first_n
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025826
qwen/qwen3.7-plus
awkweave-0025827
Skip the first line and print every remaining line unchanged.
NR > 1
eli 42 delta lina 13 birch bruno 47 cobalt bruno 77 birch alice 97 indigo bruno 87 cobalt
lina 13 birch bruno 47 cobalt bruno 77 birch alice 97 indigo bruno 87 cobalt
jules 0 indigo kim 40 amber eli 88 delta lina 69 fable ivan 97 fable ivan 25 cobalt
kim 40 amber eli 88 delta lina 69 fable ivan 97 fable ivan 25 cobalt
skip_header
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025827-p1
Omit the first line and print the rest of the lines as they are.
NR > 1
eli 42 delta lina 13 birch bruno 47 cobalt bruno 77 birch alice 97 indigo bruno 87 cobalt
lina 13 birch bruno 47 cobalt bruno 77 birch alice 97 indigo bruno 87 cobalt
jules 0 indigo kim 40 amber eli 88 delta lina 69 fable ivan 97 fable ivan 25 cobalt
kim 40 amber eli 88 delta lina 69 fable ivan 97 fable ivan 25 cobalt
skip_header
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025827
qwen/qwen3.7-plus
awkweave-0025828
Count how many records have active in column 2. Print 0 if there are none.
$2 == "active"{n++}END{print n+0}
eli failed 62 farah active 96 lina pending 32 lina closed 38 ivan failed 57 ivan active 107
2
gus active 30 dina failed 73 bruno active 96 alice pending 44 bruno failed 15 hana pending 42 jules failed 70 hana active 60 eli failed 38 farah active 22
4
count_matches
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025828-p1
Count the number of records where column 2 is active, outputting 0 if no such records exist.
$2 == "active"{n++}END{print n+0}
eli failed 62 farah active 96 lina pending 32 lina closed 38 ivan failed 57 ivan active 107
2
gus active 30 dina failed 73 bruno active 96 alice pending 44 bruno failed 15 hana pending 42 jules failed 70 hana active 60 eli failed 38 farah active 22
4
count_matches
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025828
qwen/qwen3.7-plus
awkweave-0025829
Calculate and print the sum of the integers in column 3.
{s+=$3}END{print s+0}
grove hana 30 cobalt ivan 26 birch gus 25 grove alice 3 amber eli 30 juniper gus 10 grove ivan 21 juniper kim 8 juniper farah 7
160
harbor eli 21 delta gus 11 delta bruno 4 grove lina 28 amber hana 19 delta bruno 17 delta dina 30 ember lina 23
153
sum_field
1
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025829-p1
Compute and display the total sum of integer values found in column 3.
{s+=$3}END{print s+0}
grove hana 30 cobalt ivan 26 birch gus 25 grove alice 3 amber eli 30 juniper gus 10 grove ivan 21 juniper kim 8 juniper farah 7
160
harbor eli 21 delta gus 11 delta bruno 4 grove lina 28 amber hana 19 delta bruno 17 delta dina 30 ember lina 23
153
sum_field
1
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025829
qwen/qwen3.7-plus
awkweave-0025830
Print the arithmetic mean of column 2, rounded to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 5 kim delta 15 farah harbor 5 alice birch 22 jules ember 2 eli ember 1 jules
8.33
juniper 30 chen delta 9 jules cobalt 3 kim ember 22 dina amber 23 bruno birch 3 chen cobalt 1 ivan cobalt 27 gus fable 29 ivan indigo 29 jules
17.60
average_field
2
train
original-grammar
CC-BY-4.0
null
null
awkweave-0025830-p1
Print the average of column 2, formatted to exactly two decimal places.
{s+=$2;n++}END{printf "%.2f\n",s/n}
amber 5 kim delta 15 farah harbor 5 alice birch 22 jules ember 2 eli ember 1 jules
8.33
juniper 30 chen delta 9 jules cobalt 3 kim ember 22 dina amber 23 bruno birch 3 chen cobalt 1 ivan cobalt 27 gus fable 29 ivan indigo 29 jules
17.60
average_field
2
train
openrouter-paraphrase
CC-BY-4.0
awkweave-0025830
qwen/qwen3.7-plus
awkweave-0025831
Find and print the smallest numeric value in column 2.
NR==1||$2<extreme{extreme=$2}END{print extreme}
ivan 8 amber dina 19 harbor gus 6 indigo kim 23 indigo hana 9 cobalt hana 9 juniper dina 1 juniper lina 18 birch gus 30 indigo hana 4 fable
1
gus 26 indigo jules 2 fable bruno 19 juniper chen 13 grove jules 1 ember chen 7 harbor jules 22 juniper hana 16 fable
1
min_field
1
train
original-grammar
CC-BY-4.0
null
null