Project context and cross-file contracts
Code generation papers target the decisions around code. Context-Augmented Code Generation reports that adding Brief to Claude Code raises weighted decision compliance from 46% to 95% on 8 Next.js tasks with 41 decision points. The result is useful, but the setup also changes the workflow through specs, acceptance criteria, and mid-build guidance.
The industrial DSL study makes the same point at repository scale. BMW encodes an Xtext domain-specific language project as path-preserving JSON, then trains 7B code models to output complete multi-file updates. QLoRA fine-tuning reaches structural fidelity of 1.00 on 105 held-out examples, with developer review and generator execution used as practical checks.