I'm by no means a programmer, but I had an idea regarding siege AI that I think could simplify how the AI interact with ladders and siege towers.
Basically, the way it is right now, AI will constantly interfere with one another when attempting to climb, leading to far fewer troops making it up...