Question 430
The issue remains unresolved in a GitHub Copilot workflow: A reviewer notices repetitive boilerplate in a service adapter. Which missing prerequisite best accounts for this observation?
Explanation
Correct Answer
This is the mechanism or missing prerequisite that accounts for the reported failure. AI-assisted boilerplate reduction must preserve compatibility. Correct it by: Use Copilot to propose a concise extraction with unchanged public interfaces; confirm with: Unit and contract tests confirm the adapter's behavior and type signatures.
Incorrect Answers
Suggested APIs were incompatible with the required runtime or contracts. The stated evidence instead indicates: The extraction changed externally observable method behavior.
Generated tests did not reproduce the actual reported locale condition. The stated evidence instead indicates: The extraction changed externally observable method behavior.
Shared fixtures introduced hidden cross-test state. The stated evidence instead indicates: The extraction changed externally observable method behavior.