Preparing the test suite…
Chapter 2 of 7
The test set
Chapter 1’s test set caught a regression. The team wants more cases, from a week of the assistant’s chat log.
This chapter: Which cases belong in a test set, and what does each need to be graded?
About this chapter
You will learn
- Where test cases come from: real questions and known failures
- Why a set needs questions the documents can’t answer
- What a reference answer is, and why every case needs one
Words you’ll meet
- Test case
- One question in the test set, asked on every run, with the answer it should get.
- Reference answer
- The answer a case should get, written by the team. Graders compare the assistant’s answer against it.
- Known failure
- A question the assistant once got wrong. Kept in the set so the same mistake can’t come back unseen.
- Coverage
- Which kinds of case the set includes. A kind with no case is a gap: nothing checks it.
Step 1 of 4
A kept message becomes a ; its is what graders compare against.
Keep or drop each; pick each kept case’s reference.
“Do you ship orders on Saturdays?”
not sorted“do u ship on weekends”
not sorted“Who pays the shipping when I send something back?”
not sorted“Will my order still ship the same day on Christmas Eve?”
not sorted“Can enterprise customers get a refund?”
not sorted“What is the hotel nightly limit for business travel?”
not sorted“Can I pay in bitcoin?”
not sorted“Will you match a lower price from another supplier?”
not sorted“thanks, that fixed it!”
not sorted