Chatbot A/B Test Contaminated by Memory: Memory Contaminates Conversation Experiments
Saved memory, summaries, or chat history cross between chatbot A/B test arms, so results mix and users see the other arm's behavior. Isolate state per arm.
2 patterns for this issue
Saved memory, summaries, or chat history cross between chatbot A/B test arms, so results mix and users see the other arm's behavior. Isolate state per arm.
A person outside engineering edits the live system prompt to fix one conversation, nobody runs the other conversations against the new version, and behavior the edit was never meant to touch breaks for every user.
Goal: Changes to the model or prompt never surprise users: they are tested, announced, and reversible.
Teams change the model, the system prompt, and the experiment setup behind a chat assistant all the time. Users see only the result: a bot that suddenly answers differently, refuses more, or behaves one way for them and another way for a friend. This family covers how those changes are made, tested, and rolled back. Guidance only; test on your own data.
Shared metrics the patterns below report against. Targets are starting points to tune on your own data.
| Metric | Target | Defined in |
|---|---|---|
| Regressions per prompt change | Start: 0 shipped regressions in topics the change note says must not change | prompt edits by non-engineers break other behavior (GitHub) |
| Cross-arm contamination in tests | 0 | memory contaminates conversation experiments (GitHub) |
| Pattern | One line |
|---|---|
| Prompt edits by non-engineers break other behavior (GitHub) | A fix for one conversation changes others nobody retested |
| Memory contaminates conversation experiments (GitHub) | Remembered state carries across A/B test arms and mixes the results |