SPARK: Semantic-preserving Prompt Mutation for Code Generation using Consensus-based Verification Framework
Automated code generation with large language models (LLMs) has improved in recent years. With the lack of test cases in real-world usages, generated code is not automatically verifiable and often requires manual validation. Previous studies have leveraged consensus verification, where code solutions and corresponding...