Apologies, allow me to correct my wording.
Instead of optimal, let me use unique. I correctly have my own set of breaks, settings, scripts, that I use, that are unique to me and my bots. Jagex's detection system is like a web, they use lots, and lots of variables. One thing I know they use is reaction timing in between actions, which I tested a while back. They may also use mouse movements, click-points, but who knows.
Khaleesi has great anti-pattern built within the script like human-idles, but his scripts are still not invincible.
Also, I don't want to sound aggressive in anyway, I love these discussions. Not trying to be an asshole. I think this is an interesting thread.