ChartRevise: A Dataset and Evaluation Protocol for Exact Chart Editing via Code
Jiaxiang Tang, Yi Zhou, Chad DeLuca, Rogerio Feris, Ahmed Khalil Omran, Zhi-Li Zhang, Pengyuan Li, Ali Anwar
Abstract
Chart editing requires cross-modal edit grounding, realizing a requested visual change in the code that draws it, with necessary related updates and without altering unrelated content. Existing benchmarks emphasize either code executability or chart quality, but their metrics do not clearly distinguish request completion from missed coupled updates and gratuitous changes. We introduce ChartRevise, a structured dataset and evaluation protocol for exact program-grounded chart editing. For dataset construction, we build on the grammar of graphics to systematically cover chart-editing operations, using source-program checks to verify their applicability across chart types and libraries. To improve edit exactness, our pipeline checks individual requirements and guides repair or exclusion when they are unmet. The resulting dataset contains 92,438 records covering 344 edit types across 20 chart types and three plotting libraries. For evaluation, our reference-free protocol separately measures atomic requirement completion, identifies gratuitous changes, and detects missed coupled updates. These checks are combined with successful execution and rendering to determine exact-edit success. Across five models and four external benchmarks, fine-tuning yields relative gains of 16\% in mean requirement recall and 22\% in mean exact-edit rate.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CV
Related papers
PatientFlowSynth: Evaluating FHIR Agents with Matched Patient Charts
Shared title terminologycs.AIAnthony Cuturrufo, Ratul Ghosh, Devashish Khatwani et al.
Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs
Shared title terminologycs.AIYuhan Bian, Haoyu Liu, Siyu Li et al.
Not All Interpretation Methods Are Created Equal: Tiered Evaluation of AI Interpretability
Shared title terminologycs.AINicolas Sanchez, Bin Yu
AGL-SKILL: Coding Harnesses as Agentic Optimizers
Shared title terminologycs.AIRyan Tsui, Yuge Zhang, Yuqing Yang
Agent Evaluation Without Ground Truth: A Null Proportion Perspective
Shared title terminologycs.AIBrian M. Cho, Michael Lindon, Nathan Kallus
Evaluating Frontier-Model Agent Skills with Open-Weight Models in a Science Gateway
Shared title terminologycs.AIKomal Thareja, Mats Rynge, Anirban Mandal et al.