SpecCoder: Specification-Aware Code Generation with Curriculum Dual-Task Reinforcement Learning
Large language models (LLMs) have made substantial progress in code generation but still struggle with challenging programming tasks that require understanding rich natural language requirements. These requirements often specify problem goals, input/output formats, constraints, examples, and edge cases. Overlooking eve...