Chatbot inconsistency diagnosis and regression test pack
For a chatbot that gives different answers to similar questions, ignores policy or invents details when source information is incomplete.
- Capture failing examplesCollect exact prompts, user messages, expected behavior, actual behavior and any relevant source context.
- Reproduce the failureRun the same scenario repeatedly and with controlled variations to determine whether the issue is systematic or intermittent.
- Inspect instruction and context layersReview system rules, knowledge retrieval, context ordering, contradictory content and places where the model is asked to infer missing facts.
- Apply targeted fixesAdjust instructions, source structure, fallback rules, context selection or output constraints rather than rewriting everything at once.
- Build a regression setCreate tests for the original failure plus nearby scenarios, unsupported topics, ambiguous wording and policy-sensitive cases.
- Verify and documentRerun the test set, record remaining limitations and provide concise notes explaining the issue and the changes made.
Typical outputs
- Reproducible issue summary
- Likely root-cause analysis
- Prompt / context / fallback changes
- Before-and-after test evidence where available
- Regression test checklist
- Remaining limitations and next steps