You say government is not like code, then what exactly is it? Can you describe it in an effective way? Or are you just going to raise your hand up and say there's nothing we can do about it, nothing we can do about the $2 trillion/year titanic deficit?
Historical governments often needed little beyond an army and a tax collection system. And tax collection system was primarily data gathering and analysis, since if you knew how much property someone owned, you can easily tax them for an appropiate amount.
The tech way of thinking has proven extremely successful in many industries already. That's why tech companies (and tech adjacent ones, like say quant trading, or even index fund trading) have been so economically dominant, and utterly kicked out the traditional MBAs from their pedestals.
Stop being a self hating programmer who despises the mentality of tech.