How To Validate Llm Generated Code