First of all, bot detection is like the anti-virus development. Always one step behind the programmers. It consumes a lot of resources, time plus money, and even with your best efforts, it can be false positive.
So let’s be one step before the bots. please change the environments, where the bots operate.
CCP, you have developed two underestimated, but very effective tools to do this. The new AI fleets, and the mined ore counter.
Use your new developed AI fleets. After a count of NPC kills in a system, starts spawn these AI fleets in the anomalies. Scale these fleets to the players’ ships, until they could kill even any ratting supercapitals. Make this threshold random, and it will be hard to predict. Do not make these fleets selectable in the overview, and the bot programs cannot filter them. Leave the AI ships in the anomalies, the players have to kill them to continue ratting, and spawn new anoms.
Do it with mining also. You have a mined ore counter. After hitting a random threshold, spawn AI fleets in the belt, which can kill even rorqs and their drones.
And please, do not add bounty on these fleets (no more ISK from the thin air into the game), but give them juicy loots, so it can motivate players to hunt them down, after they attacked ratters and miners.
This will make harder to get ISK. But it will be harder mainly for bots, and not for organised active, not afk players.
I have to stress, this is not against ratting or mining. And this won’t make bots out of the game. But they will be less effective.