SheetCraft: Fine-Tuning Code Agents for Execution-Guided Spreadsheet Reasoning and Construction
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
Spreadsheets are a common interface for operational data management, but building realistic spreadsheet artifacts requires coordinated edits across tables, fields, formulas, views, dashboards, workflows, and permissions. We study this problem as an execution-guided code-agent task. Given a natural-language request and an initial spreadsheet base, the agent must generate executable actions that transform the base into a persistent target artifact. This setting is different from table question answering and one-shot code generation because correctness depends on state transitions, cross-component consistency, and repair from concrete execution failures. We present SheetCraft, a training and evaluation framework for spreadsheet code agents that combines compilation feedback, sandbox execution, and artifact-level judging. SheetCraft trains on distilled tool-use QA data and multi-turn code-agent trajectories derived from real usage scenarios, allowing the model to learn both operation semantics and feedback-conditioned repair. On a 595-case held-out benchmark drawn from real usage scenarios with 1,750 user turns, SheetCraft-27B achieves 96.6/95.0 case-level all-turns compile/execute success and 98.9/98.3 turn-level compile/execute success. Further analysis shows that trajectory supervision, teacher diversity, and budgeted repair are key to reliable spreadsheet construction.
Results and benchmarks
Spreadsheets are a common interface for operational data management, but building realistic spreadsheet artifacts requires coordinated edits across tables, fields, formulas, views, dashboards, workflows, and permissions.
| Task | Dataset | Metric | Value | Source |
|---|---|---|---|---|
| Agentic tool use | GLM-5.1 | E@10 | 93.3 | paper-derived |
Audit each benchmark finding before selecting an implementation path.
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.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
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.
Datasets
Spaces
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Tasks
Agentic tool use
Methods
Agentic systems
Domains
AI Agents
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.