SF Story - School uses brain implant to punish kids

You should ask @Andy_L.
Ask the guy who is pretty good at SF Story Identification - Cafe Society - Straight Dope Message Board