I think it's based on average completion time which they probably have some idea of, hence why Chrysalis gives 134 units while shiva gives 64, and why extra time spent due to wiping doesn't increase the aether (imagine if everyone just agreed to AFK for a hour to get free aether).