HERO: Harnessing Evidence for Test-time Refinement and Prompt Optimization in Program Generation
Harness optimization improves LLMs by refining reusable prompts and scaffolding, yet requires further adaptation for program generation tasks such as text-to-SQL and text-to-Python.