> non-deterministic problems

I'm guessing you mean probabilistic? Nevertheless, you have an indeterministic variable here which is what the LLM generates.