How is the rank for single finished bot-programming computed?

Thx @5DN1L, below also may be helpful