Huh? This approach makes sense for non-deterministic problems. Not engineering problems that have deterministic end results.
I'm guessing you mean probabilistic? Nevertheless, you have an indeterministic variable here which is what the LLM generates.