Question 180
A reviewer needs a focused diagnosis and proof of resolution for: Copilot Chat explains a failing test using the wrong module because the relevant test file was never provided as context. Which check-to-acceptance pair addresses that specific condition?
Explanation
Correct Answer
The read-only check (inspect attached or referenced files and the exact failing test output shown in chat context) isolates the relevant issue, and the acceptance evidence (the response cites the actual failing assertion and proposes a verifiable targeted correction) shows that its corresponding fix worked.
Incorrect Answers
This diagnostic and result belong to a different incident: An organization wants sensitive generated configuration excluded from supported IDE completions but only tells users not to ask about it. For 'Copilot Chat explains a failing test using the wrong module because the relevant test file was never provided as context', examine inspect attached or referenced files and the exact failing test output shown in chat context and confirm that the response cites the actual failing assertion and proposes a verifiable targeted correction.
This diagnostic and result belong to a different incident: A team wants to update imports and call sites across several project files but keeps requesting isolated one-line suggestions. For 'Copilot Chat explains a failing test using the wrong module because the relevant test file was never provided as context', examine inspect attached or referenced files and the exact failing test output shown in chat context and confirm that the response cites the actual failing assertion and proposes a verifiable targeted correction.
This diagnostic and result belong to a different incident: A developer wants to ask an architectural question about three modules but keeps accepting one-line inline completions. For 'Copilot Chat explains a failing test using the wrong module because the relevant test file was never provided as context', examine inspect attached or referenced files and the exact failing test output shown in chat context and confirm that the response cites the actual failing assertion and proposes a verifiable targeted correction.



GitHub Copilot Practice Tests