I'd personally rather the US government pick the best solution, not the most open source one.
I would hope the best solution is open source, but the gov't shouldn't be forced to sacrifice quality.
However, I can agree that any Software/IP developed via public funds should definitely be open source.
Comprehensive testing by an independent lab gets us partway, if all the results are available to the defense, but it's better if we can both do black box testing and examine the code.
I'd personally rather the US government consider trustworthiness, which is only afforded in open source projects, to be an important criteria for "best solution."
Forcing the defense to ask for it in discovery for every single case seems somewhat counterproductive. If your code is being used to put people in prison, you don't get to keep your trade secrets privilege.