What measures has the Supreme Court taken regarding systemic failures in the criminal justice system?

Examining the response of the Supreme Court to prevent jail term for convicts in POCSO cases due to systemic failures.