[
{
"stage_index": 1,
"name": "Problem Reflection Stage",
"action_type": "inspection",
"description": "Analyze problem goals, inputs, outputs, rules, and computational complexity."
},
{
"stage_index": 2,
"name": "AI Test Generation Stage",
"action_type": "test_generation",
"description": "Generate 6-8 diverse AI test cases including extreme values, large inputs, and edge boundary conditions."
},
{
"stage_index": 3,
"name": "Initial Solution Generation",
"action_type": "code_modification",
"description": "Synthesize initial 2-3 solution candidates."
},
{
"stage_index": 4,
"name": "Public Tests Evaluation",
"action_type": "output_validation",
"description": "Run solution against problem public test cases and record tracebacks."
},
{
"stage_index": 5,
"name": "Iterative Fix from Test Failures",
"action_type": "retry",
"description": "Analyze failure causes and iteratively patch code until all tests pass."
},
{
"stage_index": 6,
"name": "AI Tests Evaluation & Final Selection",
"action_type": "stop_evaluation",
"description": "Run candidate solutions across all validated AI test cases and select top performing code."
}
]