Several test cases show Invalid rather than Pass or Fail after a Compare meaning run. What is the likely cause?
- Exam domain
- Test and manage agents25–30% of the exam
- Difficulty
- Medium
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Review test results
Misread results waste time chasing the wrong fix.
Why D is the answer
No expected responses on them
Compare meaning, Text similarity and Exact match compare the answer to an expected response. A test case without one produces an Invalid result for that method.
Remember: Comparison methods need expected responses.
How it works
For comparison methods, each test case needs an expected response. Without it, the result is Invalid.
Clues in the question
The words that point to the answer, and what each one tells you.
- Invalid
- Missing input, not a bad answer.
In detail
- General quality needs no expected answers.
- Add expected answers before using comparison methods.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. The pass score is set too highWrongMost tempting
A high pass score yields Fail, not Invalid.
Why it tempts: A strict threshold makes cases fail, which is easy to confuse with Invalid.
B. Memory is turned onWrong
Memory does not cause Invalid results.
C. The agent was not publishedWrong
Evaluations can run on the current draft.
D. No expected responses on themRight
Comparison methods need expected responses.
Use case
An illustrative scenario, not a real incident.
Illustrative: 15 generated questions had no expected answers. The maker adds them and the cases score normally.
See it in different ways
flowchart TD
Q{"Does the case have an expected response?"}
Q -->|"No"| A0["Add one, or use General quality"]
Q -->|"Yes"| A1["Check other errors"]How to read this chart
- At "Does the case have an expected response?": if "No", go to "Add one, or use General quality"; if "Yes", go to "Check other errors".
stateDiagram-v2 state "Case run" as s0 state "Pass" as s1 state "Fail" as s2 state "Invalid" as s3 state "Error" as s4 [*] --> s0 s0 --> s1: meets criteria s0 --> s2: misses criteria s0 --> s3: missing expected response s0 --> s4: run problem s1 --> [*] s2 --> [*] s3 --> [*] s4 --> [*]
How to read this chart
- It starts at "Case run".
- From "Case run", "meets criteria" moves it to "Pass".
- From "Case run", "misses criteria" moves it to "Fail".
- From "Case run", "missing expected response" moves it to "Invalid".
- From "Case run", "run problem" moves it to "Error".
- It ends at "Pass" or "Fail" or "Invalid" or "Error".