Evolving Code Generation with CoCoEvo

Evolving Code Generation with CoCoEvo

A Novel Framework for Simultaneous Evolution of Programs and Test Cases

CoCoEvo addresses a critical gap in automated code generation by eliminating dependence on pre-defined test cases, making LLM-based coding more practical for real-world scenarios.

Key Innovations:

  • Co-evolution approach that simultaneously refines both programs and test cases
  • Reduced dependence on human-created test cases, enabling more autonomous code generation
  • Enhanced performance through iterative refinement and evolutionary techniques
  • Practical application in scenarios where test cases aren't readily available

This research significantly advances engineering capabilities by making AI code generation more robust and applicable in production environments where comprehensive test suites don't yet exist.

CoCoEvo: Co-Evolution of Programs and Test Cases to Enhance Code Generation

153 | 323