Code Generation
Overview
Code generation asks how models can turn requests, examples, images, or formal specifications into programs that work in real settings, from short functions to whole repositories and domain-specific software. Common approaches include prompting and fine-tuning, retrieval of relevant code or documentation, constrained decoding, and agents that iteratively run, test, and repair their outputs. Multimodal systems also use rendered interfaces, charts, and diagrams as input or feedback, while reinforcement learning can use execution tests, compilers, or formal verifiers as training signals. Benchmarks such as HumanEval, MBPP, LiveCodeBench, and repository-level tasks show progress, but passing tests or compiling does not guarantee that code meets its intended behavior, visual requirements, security needs, or deployment constraints.
Latest papers
313 papers42 papers in the last four weeks, up 68% on the four weeks before. 0.2% of all new papers.
VeriScale: Adversarial Test-Suite Scaling for Verifiable Code Generation
Trace2Skill: Verifier-Guided Skill Evolution for Long-Context EDA Agents
Stdlib or Third-Party? Empirical Performance and Correctness of LLM-Assisted Zero-Dependency Python Libraries
Code Generation by Differential Test Time Scaling
AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Code
Constrained Code Generation with Discrete Diffusion
VCG-Bench: Towards A Unified Visual-Centric Benchmark for Structured Generation and Editing
mxGraph tasks. VCG-Bench comprises: (1) a taxonomized dataset of 1,449 diverse diagrams spanning 6 domains and 15 sub-domains, (2) a paradigm definition that integrates Generation (Vision-to-Code) and Editability (Code-to-Code), (3) a Tailored Evaluation Protocol employing multi-dimensional metrics such as mxGraph Execution Success Rate, Style Consistency Score (SCS), etc. Experimental results highlight the challenges faced by current State-of-the-Art (SOTA) VLMs in structured fidelity and instruction compliance, reflecting their vision and reasoning capabilities.