Dynamic Stability of LLM-Generated Code