Error-checking and recovery is a potential solution here. Not a well understood one, and might still need higher intelligence than we've got, but-
If your math worked out, then humans couldn't work either.
If your math worked out, then humans couldn't work either.
If you already have the business process robustly defined as code, then the utility of LLM is unclear. The value prop of LLM is in fuzzy business processes like parsing arbitrary helpdesk tickets.
LLMs didn't invent stochastic process steps.
I also often correct my own mistakes based on clashes with reality - I don't just become more intelligent the second time.