a lot of uk prisons are effectively private. companies like serco and g4s get paid millions to run everything with zero oversight. its not quite as bad as the worst cases in america (no legal slavery for prisoners) but the government is definitely overpaying for bad services.
early release is not a problem by itself. honestly the best way to reform the criminal justice system would be replacing fixed prison terms with release based on a psych evaluation and completed volunteer work. of course when you need to release offenders for capacity you should start with the least dangerous ones and i dont think thats happening here, its just random or going off time served.