A developer wants documentation for a function whose behavior recently changed. Which approach makes Copilot-generated documentation most trustworthy?

Published
  1. Provide only an old release note and ask for a confident description.
  2. Supply the current implementation and tests, then verify parameters, return values, exceptions, and examples against them.
  3. Ask for a longer docstring while withholding the function body.
  4. Accept the documentation if its examples are syntactically well formatted.

Comments — 0