Question 350
A user wants Copilot to document a function in a particular format. Following the chosen solution, what evidence best proves that it worked?
Explanation
Correct Answer
This outcome directly checks the intended behavior: The completed docstring follows the style without changing implementation. The requested action was: Provide a documentation style example and the actual function signature.
Incorrect Answers
“Callers using the previous signature still work.” does not demonstrate the result required here: The completed docstring follows the style without changing implementation.
“Malformed fixtures fail consistently and valid fixtures parse.” does not demonstrate the result required here: The completed docstring follows the style without changing implementation.
“Invocations consistently apply the required checks to different files.” does not demonstrate the result required here: The completed docstring follows the style without changing implementation.