CASPER: Change-Aware Slice Prioritization for LLM Regression Testing
- Source
- arxiv.org
- Author
- Biruk Asmare Muse, Lionel Briand, Yiwei Lu, Keheliya Gallaba
- Date

Context
Changing an AI system's or can damage one class of tasks while leaving its overall score looking healthy. CASPER looks for these localized regressions by grouping related test cases that behave consistently, then prioritizing groups likely to worsen after a change. It uses behavioral information from execution logs to choose where testing should focus. Method abstract.
In software issue-resolution experiments, the authors report more consistent groups than clustering baselines and better regression prioritization than random ordering. This gives developers a way to spend a limited testing budget on coherent behaviors that may have deteriorated, instead of interpreting either an isolated failure or a single overall score. Reported evaluation.
- Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
- Model — A computational system that uses learned patterns to produce an output from information supplied to it.
- eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
- Large language model — A model trained on large amounts of data to process and generate language.
articleAi Agent Regression Testing After A Prompt Or Model ChangeOpenRouter editorial sitemap
articleHow well LLM-based test generation techniques perform with newer LLM versions?Michael Konstantinou, Renzo Degiovanni, Mike Papadakis
articleWhen Policies Change Probabilities: Modular Decision-Making for LLM Code ReviewRasvik Kudum, Max Corbett, Hitansh Paliwal, Romaisa Fatima, Thomas Jiralerspong, Sneheel Sarangi