Lesson 10 of 12
Structured learning draftEvaluation with Copilot
In GitHub Copilot for Developers, the way a learner handles evaluation shapes how Copilot is used and evaluated. Evaluation compares behaviour on representative tasks using explicit criteria. This intermediate lesson focuses on a decision or output that another person can inspect.
Learning objectives
- Explain evaluation in the context of GitHub Copilot for Developers.
- Apply Copilot to a bounded practical task.
- Evaluate the result using explicit quality criteria.
Evaluation: from context to evidence
Evaluation connects bounded input to a reviewed output in GitHub Copilot for Developers.
Define the purpose, intended user and Copilot constraints.
Build a test set with pass conditions, edge cases and failure categories.
Compare the observed result with a normal case, boundary case and stated limitation.
Evaluation compares behaviour on representative tasks using explicit criteria. For Copilot, distinguish performing an operation from demonstrating that it suits the stated purpose. Build a test set with pass conditions, edge cases and failure categories. Record assumptions that could change the conclusion.
Apply evaluation deliberately
- State the GitHub Copilot for Developers task and the decision it supports.
- Prepare a small Copilot case with a known input and difficult boundary.
- Build a test set with pass conditions, edge cases and failure categories.
- Compare the observed result with the expected behaviour and explain differences.
- Save the evidence, limitation and next action in a review record.
| Review point | Evidence |
|---|---|
| Purpose | The specific Copilot outcome and intended user |
| Method | The evaluation decision, input and version or context |
| Result | Observed output plus a checked boundary case |
| Limitation | What the result does not establish and the next safe action |
Common mistakes
- Using Copilot before defining what evaluation must achieve.
- Checking only the easiest GitHub Copilot for Developers example.
- Reporting a result without its input, assumptions or limitation.
Practice activity
Apply the lesson
For GitHub Copilot for Developers, complete a bounded Copilot task demonstrating evaluation. Keep the original input, numbered method, normal test, boundary test, observed results and a 100-word self-review naming one limitation and next improvement.
How to check your work
- Write down the expected result before running or submitting your work.
- Try a normal example, an empty or missing input, and a boundary case where the rule changes.
- Compare the actual result with your prediction. Record the smallest example that explains a difference.
- Explain one change you made and why it improved the result. Save your evidence in the lesson notes.
When you get stuck · AI workflows
An answer sounds convincing but includes a claim you cannot verify.
- Find the cause
- Separate supplied evidence from generated assertions. Open the original source and check the date, scope and exact support for each consequential claim.
- Try this
- Remove unsupported claims or label them as uncertain. Ask for a source-grounded revision with explicit gaps, then verify the revision yourself.
- Check the fix
- Another reader can follow each important claim to a real source or a reproducible calculation. A fluent answer alone does not pass.
Use this course-wide example when it fits your task. For a different failure, record the input, expected result, actual result and smallest steps that reproduce it.
Check your understanding
In GitHub Copilot for Developers, which evidence best supports a evaluation result produced with Copilot?
Lesson summary
- For GitHub Copilot for Developers, evaluation means: Evaluation compares behaviour on representative tasks using explicit criteria.
- A credible Copilot result includes a checked boundary, not only a successful example.
- The next lesson builds on this evaluation evidence record.
Sources and further reading
- AI Risk Management Framework 1.0NIST - accessed 2026-08-21
- AI PrinciplesOECD - accessed 2026-08-21
Personal study note
Your notes
Keep the input, expected result, actual result and what you changed. Save before leaving this lesson. Download a copy to keep it outside this browser.