Generates code grounded in docs, executes it, and loops on the errors — reflecting on failures before retrying until tests pass.
Solves olympiad programming problems with episodic retrieval of similar solved problems plus a reflect-and-retry execution loop.