You can do a pretty decent simulation of a space mission on a powerful cluster. You then plug in your simulated spacecraft and run the real flight software. Reentry is easily the most critical phase of flight for a crewed spacecraft, and they should have absolutely tested and caught this flaw in simulation. Ground testing could have also checked on the actual spacecraft that the correct valves were actuated when commanded to.
If I were to speculate, this suggests a pretty large disconnect between the software and hardware engineering teams. The software team should have been able to identify that the wrong valves were being actuated.
>How can that even be "reviewed" in any way but superficially in a time frame less than 5 years?
If it can be written then it can be reviewed, you just need to pay for more engineers to do that.
I guess I’m spoiled working on a (mostly) Ruby project with ~100K-ish lines of code with a team of 25
We're about to start our next hiring spree in case you're looking for a new challenge ;)