That depends upon the application.
Too many programmers think "Meh. Bugs are no big deal." because their code doesn't interact with the real world.
The problem is that the useful code that doesn't interact with the world has basically all been written, code is now starting to interact with he world by default.
Hang on, programmers, this ride is about to get bumpy.
(I thought of the first computer-aided fatality, but the sources don't seem to mention any prosecution w/r/t Therac-25)
But fine: let's say it was the LIDAR system was at fault. Do they go to jail, then? How about the bureaucrats who approved the test?
All this doesn't matter. I'm simply saying that ALL the facts in evidence point to this being a reasonable mistake, and reasonable mistakes don't qualify for negligence prosecution. If you want to argue to the contrary you need evidence, which doens't seem to exist. Therefore the upthread question "shouldn't someone go to jail?" is answered with a firm "no".
That just doesn't seem to apply here, absent evidence that we don't have (e.g. Uber knew the LIDAR was being ignored, something like that). This was just a software bug. You don't throw people in jail because they wrote buggy software.