A Benchmark and Framework for Evaluating Next Action Predictions in Spreadsheets
Abstract
Predictive code completion greatly accelerates how quickly developers work. In spreadsheets, despite being much more common, such auto-completion features are virtually non-existent. To address this gap, we introduce a benchmark for systems that observe a sequence of user actions in a spreadsheet and predict future actions. Two challenges are (1) the absence of edit histories in public spreadsheet corpora and (2) the complex space of spreadsheet actions (spatial, temporal, composite). To address (1), we manually curate 52 sequences of 12K actions that recreate spreadsheets from public corpora, seeded by parametrized heuristics and LLM refinement. To address (2), we propose an online evaluation that expects a prediction after each user action, accepts or rejects that prediction, updates the future actions upon acceptance, and repeats this until the target spreadsheet is obtained. We use multiple baseline predictors (including zero-shot LLMs, fine-tuned SLMs, and classical models) and analyze different properties that our benchmark teaches us, including but not limited to: properties of saved actions and false positives, efficiency, effect of user profiles, effect of triggers, and effect of context.
Lay Summary
Spreadsheets are everywhere — for budgets, schedules, reports, dashboards — yet building even a simple one takes hundreds of small clicks: typing values, picking colours, drawing borders, copying styles. Programmers get powerful autocomplete tools (like GitHub Copilot) that quietly suggest the next few lines as they type, but spreadsheet users get nothing similar. Why? Because there is no good way to test such a system: nobody has recorded what real users do, step by step, while building a spreadsheet, and the actions span colours, layouts, and formulas all at once, so it is hard to even define what "the right next suggestion" means. We tackle both problems. First, we built a benchmark of 52 spreadsheets along with the full step-by-step recipe a person would follow to make each one — 12,000 actions total, hand-checked. Second, we built a testing framework that mimics a real user: at every step the system makes a suggestion, the simulated user accepts or rejects it, and the remaining work is updated to reflect what was just done (or undone). Using this, we tested today's large language models, small fine-tuned models, and simple statistical methods. Today's best AI can already save a user roughly one in three clicks, and even tiny models can match it after a little training. The benchmark and tools we release let researchers measure exactly where these assistants help, where they hurt, and what would make them genuinely useful in everyday spreadsheet work.