While I agree that detectives and judges should absolutely face charges that could lead to imprisonment (not just fines and not just termination!) if their incompetence or malice results in someone being wrongfully jailed, I worry that it could have unintended consequences: with such a policy, judges would likely help other judges stay out of prison by lying or what have you, and this would make victims look more guilty.
Unfortunately it would also make it insanely expensive to hire judges and lawyers. How much would someone have to pay you to take a job where you could go to prison if you make a mistake?
I’m not saying it wasn’t straight up negligence in this case, but that’s definitely how prospective candidates will think about it (I know I would).
Engineers can and do go to prison for mistakes, so at least there is precedent for paying reasonable-if-high salaries. I would expect folks interested in public service and justice would be intrinsically motivated to do a good job, too.
A lot of us took an engineer oath upon graduation and there is a fiduciary relationship formed with the public in certain contexts -- outside the U.S.
There are professional ethics regardless.
I don't know what to do about it, though.