Question 590
The team has implemented a fix for this Copilot-related requirement: An assistant repeatedly produces vague tests for a payment-calculation function. What should the reviewer observe to accept the change?
Explanation
Correct Answer
This is the specific observable acceptance result for the scenario. Few-shot examples can establish an output pattern for a complex task. It demonstrates the required behavior, rather than merely showing that a setting was changed.
Incorrect Answers
The final output respects the recalled constraint on a new example. However, this does not establish the required outcome: the generated tests cover the shown boundary cases and assert expected amounts.
A test reproduces the original race before the change and passes under repeated contested interleavings afterward, without relaxing other concurrency invariants. However, this does not establish the required outcome: the generated tests cover the shown boundary cases and assert expected amounts.
The answer links each important conclusion to the supplied/authorized retrieved evidence and labels missing or inaccessible documentation as unverified. However, this does not establish the required outcome: the generated tests cover the shown boundary cases and assert expected amounts.