Question 1
During a pull request review, the following condition is confirmed: A generated API call references a method missing from the installed package. What is the best next step under this constraint?
Explanation
Correct Answer
The appropriate action is "Check the installed library API and replace the unsupported call". Language models can fabricate plausible symbols that do not exist in the dependency version. The decisive condition is A generated API call references a method missing from the installed package.
Incorrect Answers
For the different scenario A Copilot answer asserts a security standard that the team cannot corroborate, "Confirm the claim against the authoritative standard before relying on it" could be appropriate. Generated explanations may include unverified or outdated assertions. The present requirement is A generated API call references a method missing from the installed package, which calls for "Check the installed library API and replace the unsupported call". Language models can fabricate plausible symbols that do not exist in the dependency version.
"Validate numerical invariants using deterministic test vectors" targets A code sample compiles but silently rounds financial values incorrectly. Successful compilation does not establish domain correctness. That differs from A generated API call references a method missing from the installed package; the required decision here is "Check the installed library API and replace the unsupported call". Language models can fabricate plausible symbols that do not exist in the dependency version.
The action "Evaluate both against requirements and measured behavior" is useful when Two equally confident Copilot answers recommend incompatible implementations. Confidence wording is not a reliable proxy for factual accuracy. Under the stated condition A generated API call references a method missing from the installed package, instead choose "Check the installed library API and replace the unsupported call". Language models can fabricate plausible symbols that do not exist in the dependency version.