GitHub Copilot Train-the-Trainer
Demo contract
Give Copilot and the reviewer the same contract: a signature, a docstring, and one test.
def name(args: Type) -> Type:
"""One sentence: what goes in, what comes out,
and the rules that matter."""
assert name(typical_input) == expected_output
Pick a test that pins down the rule most likely to go wrong.