Quiz: Prompts under Pressure
Why This Matters
Each question is a situation from a team that already uses TestPilot. Pick the change you would make first. The questions are written by Learn Automated Testing, not taken from the real exam.
1. Developers complain that TestPilot keeps reporting product bugs for slow pages that pass on a rerun. What do you change first?
- A. Add three examples of slow pages labelled flaky
- B. Switch to the largest model
- C. Tighten the product_bug definition with checkable conditions and exclusions, then compare the scorecard before and after
- D. Stop filing bugs automatically
Show answer
2. A colleague rewrote the system prompt and says triage “feels much better”. What should happen before it is merged?
- A. Run the golden set and review the per-category diff, including the cases that got worse
- B. Try it on two failures from today
- C. Ask the model whether the new prompt is better
- D. Merge it and watch for complaints
Show answer
3. After adding four examples, TestPilot classifies every timeout as flaky, including a real product bug. What is the most likely cause?
- A. The model is too small
- B. Four examples is too few
- C. The examples were not in XML tags
- D. The examples share a surface pattern (timeouts) that the model now copies
Show answer
4. You want to know whether TestPilot’s bug reports let a developer reproduce the problem. How do you grade that?
- A. Check that every report has a title
- B. A model-based grader with a concrete rubric, checked first against your own scores on a sample
- C. Count the words in the report
- D. Ask TestPilot to grade its own report in the same conversation
Show answer
5. Your prompt-eval gate in CI fails on about one in five pull requests that do not touch the prompt at all. What do you do?
- A. Run each case several times and use the majority verdict, with a tolerance on overall accuracy but none on product_bug recall
- B. Remove the gate
- C. Lower all thresholds to zero
- D. Only run the gate on Fridays