EcoScratch: Cost-Effective Multimodal Repair for Scratch Using Execution Feedback
Yuan Si, Ming Wang, Daming Li, Hanyuan Shi, Jialu Zhang

TL;DR
EcoScratch introduces a cost-effective repair pipeline for Scratch programs that intelligently uses runtime signals to decide when to escalate from text-only to multimodal evidence, optimizing success and resource use.
Contribution
It presents a novel adaptive repair approach that couples evidence collection and repair budget control, improving success rates while reducing costs and energy consumption.
Findings
Selective multimodal policy achieves 30.3% success rate.
Multimodal evidence is most effective when controlled within a bounded budget.
EcoScratch outperforms non-adaptive baselines in success-cost-energy tradeoff.
Abstract
Scratch is the most popular programming environment for novices, with over 1.15 billion projects created worldwide. Unlike traditional languages, correctness in Scratch is defined by visible behavior on the stage rather than by code structure alone, so programs that appear correct in the workspace can still fail at runtime due to timing, event ordering, or cross-sprite interactions. Visual execution evidence such as gameplay videos can therefore be essential for diagnosis and repair. However, capturing and processing this evidence inside an automated repair loop introduces substantial overhead. Probing execution, recording stage behavior, rebuilding executable .sb3 projects, and verifying candidate fixes consume time, monetary cost, and resources across an entire repair trajectory rather than a single model call. We present EcoScratch, a repair pipeline that uses lightweight runtime…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
