Skip to main content
Loading navigation
Back to prompt library

Test Iterative Code Improvement and Budgeting

Linked challenge: Agent for Advanced Secure Code Synthesis

Prompt source

testing1 lines1 sectionsNo variables0 checklist items
Provide a challenging code generation task with initial security flaws. Run your DSPy agent through its generation and refinement cycle. Submit logs demonstrating the iterative improvements, the use of MCP tools, and how adaptive reasoning budgets are utilized to manage the number of refinement steps until the code is deemed secure by the simulated static analyzer.