Skip to content
OpenTrain AIFor AI Companies

Solution or Skeleton? Distributional Alignment and Mode Switching in Code Language Models

Shaojie Zhang, Yue Yu, Yu ZhangPublished Nov 29, 2026
arXiv PDF
Researcher verdict
Context only
Use as context only
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few days
Plan setup time
Risk flags
2
Review before use

No concrete benchmark grounding is available yet. Treat the page as context or an implementation starting point only.

Abstract

Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.

A Python signature with a docstring and an empty body can open a solution file or an exercise skeleton. We show that code language models resolve this ambiguity from the surrounding document and, when it resembles a skeleton, emit a \emph{deferral opener}---\ph{}, \code{pass}, or \code{raise NotImplementedError}---instead of code. Across 24 open models, a neighbouring function can decide the choice: models copy its exact stub form rather than substitute another. With nothing to copy, file-level text acts as a genre cue, and changing one word in a path raises deferral on every one of 23 comparable models. In real GitHub files, models follow skeleton neighbours at the files' own rate, but the same cue raises false deferral on real code from $0.5\%$ to $7.1\%$. Mechanistic analyses locate a late comment--code decision and a distributed reader--writer circuit. Building on this structure, we introduce representation-level interventions that outperform coarse comment bans by $8.5$ and $5.5$\pp{} in two instruction-tuned HumanEval settings, while avoiding failures caused by suppressing useful comments. The behaviour is specific to completion-style prompting and disappears under a chat template with free answers.

Results and benchmarks

A Python signature with a docstring and an empty body can open a solution file or an exercise skeleton.

Implementation

No direct implementation yet

Maintained implementation evidence is not confirmed for this paper yet.

Use the implementation status and reproduction sections for the current action plan.

Implementation evidence summary
Confidence: low

Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.

Reproduction risks
  • Estimate is based on paper-only reproduction flow

Reproduction readiness

Time to first repro: days
Last checked: Dec 2, 2026

No repo

No verified implementation available

  • No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

Instruction tuning

Methods

Transformer

Domains

Natural Language Processing, Large Language Models

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.