Gothenburg promised to optimise school admissions with a piece of code. The resulting chaos showed how unaccountable systems are ruining lives, says Charlotta Kronblad of the University of Gothenburg ...