No it's not, since playing in a park is normal, but killing yourself for getting bad grades is not.
Software design could, probably should, have incorporated the social context of failure. This is Asia, India in particular, that we are talking about here - the hyper-competitiveness that these kids go through is probably worse than what medical doctors go through in prestigious schools in the US.
Yeah sure. My bad. Let's be reasonable:
if(grade < 5)grade = 5
Still a one liner.
You seem to have forgot that the software defect was an error in grading.