Portland Public Schools says unequal student discipline is call to action
"PPS data show Black students are disciplined at more than thrice the rate of white students. Native students are given referrals, suspension or expulsion two and a half times more often. Students with disabilities, including those who may have high levels of emotional dysregulation, face twice the number of disciplinary actions as their non-disabled peers."
Regardless of what type of discipline is handed out, each case needs to be judged on own merit but the punisment needs to be equal and proportionate to the offense. There are perhaps a few mitigating circumstances but generally it has to be fair.
So if a child forgets homework or fails to do homework they should be punished the circumstances that mitigate that could be the death of a family member, for example in whichc ase they can be given more time. Staying in to do homework on the school computers, when there isn't a working computer at home is counter productive, make the school systems more available to those in need, once systems reach end of life, install a free software operating system and make these available to the disadvantaged kids.
Indeed, which is why i also suggested if kids don't do homework we look at why and try and help, make sure there are homework / study clubs in schools for example. There is also restorative justice.