India seems to have completely given up on any attempt to genuinely implement common law principles that judicial systems worldwide are based on. Instead of conviction and eventual prison being the goal (along with the presumption of innocence until conviction), our system seems to rely mainly on pre-conviction detention as a deterrent for criminal activities.
All relevant participants in the system (namely the police, the judiciary, the criminals and the citizens) have given in and accepted the fact that convictions are hard and extremely rare to come by. Instead, the process itself is the punishment. The goal of the police is to keep everyone in jail for as long as they can. Judges also regularly deny bail to the accused when they think that there is some preliminary evidence. And the citizens also join in this game by asking for ever stringend laws that make getting bails difficult for more and more cases. (I think most people in India don't even realize that "non-bailable" is just supposed to mean that bail is not automatic, but to be given on the consideration of a magistrate.)