The article claims this is the first time a prosecutor has been incarcerated.
You can reasonably argue that there is a difference in severity between e.g. withholding evidence and manufacturing evidence, but that difference is only worth so much when they both predictably cause the same outcome. And a term of incarceration of five days... it could be twenty times that long and still be overly lenient.
That's irrelevant. The prosecutor chose to withhold the evidence to further his case. Even if he wasn't sure the suspect was innocent, he cannot claim he acted in good faith when he knowingly withholds evidence. As a prosecutor he knows very well he should present all the evidence he has. It is not his job to judge what's relevant and what's not.
The original comment in the HN thread said that. The article did not.
Sometimes the exculpatory evidence can be clear-cut and you can conclude that the prosecutor knew the defendant was innocent and still went forward with the prosecution. Those cases merit very severe punishment. But here, the main piece of withheld evidence was a statement by the victim's mother about a statement by the victim's three-year old child. The statement itself was inadmissible hearsay.
It should have been disclosed, but does failure to do so really rise to the level of malicious intent to prosecute someone Andersen "knew" to be innocent?