Knock control is a feedback thing much like o2 fuel control. They want everything they can get from every drop of fuel, crummy or not, and flexibility beats fixed tables.
Marketing will also get involved, and they don't want some punk hatchback having the same rated HP as their premium sedan. Look at GM making sure the Corvette has a slightly hotter engine than the Camaro a year sooner.
I've seen cars advertised with "200 peak hp" and the fine print reads you need premium to get that. It was something dumb like a dodge stratus.
Also colder air needs less octane, so vary by season. While thinner air needs less as well, that's only for normally-aspirated. Your wastegate controls this via yet another feedback loop.
Marketing will also get involved, and they don't want some punk hatchback having the same rated HP as their premium sedan. Look at GM making sure the Corvette has a slightly hotter engine than the Camaro a year sooner.
I've seen cars advertised with "200 peak hp" and the fine print reads you need premium to get that. It was something dumb like a dodge stratus.
Also colder air needs less octane, so vary by season. While thinner air needs less as well, that's only for normally-aspirated. Your wastegate controls this via yet another feedback loop.