AI-Assisted Code Writing for Government Developers
Employment & Work
What it collects that can identify you
- Developer editing actions, code context, cursor position, and in-editor interactions within VS Code are used as live input to generate contextually relevant suggestions.
Also collects operational data, which is anonymized data.
- Run by
- Canada School of Public Service (CSPS)
- Where
- No fixed location
- Kept
- Not stated by the Helpful Places.
- Shared with
- Accountable organization
What it is for
This tool helps Government of Canada software developers write code faster by automatically suggesting code completions and detecting errors. It is a developer productivity tool, not a system that makes decisions about members of the public. The key transparency point is that it is built and supplied by Microsoft through VS Code Copilot and deployed by the Canada School of Public Service.
What it collects and what happens to it
Data taken in
- Developer editing actions, code context, cursor position, and in-editor interactions within VS Code are used as live input to generate contextually relevant suggestions.
- Source code files, comments, function signatures, and repository context open in the editor are processed at runtime to generate relevant code completions.
Processing
- GitHub Copilot uses large language models (LLMs) trained on code to generate code completions and suggestions. The underlying model is provided by Microsoft/GitHub.
What it does
- Generates code completions, suggestions, and boilerplate in response to developer prompts or in-editor context. Developers review and accept or reject each suggestion.
- Analyzes existing code to identify patterns, errors, and quality issues, supporting developers in making improvements. Human developers decide whether to act on findings.
Outputs
- Code completions, function suggestions, and boilerplate code generated by the AI and presented to the developer for review and optional acceptance within the VS Code editor.
Run by
- The Canada School of Public Service deploys VS Code Copilot AI as a productivity tool for GC employees who develop software.
Built by
- Microsoft builds and licenses the VS Code Copilot AI system, which is the underlying technology deployed by the Canada School of Public Service.
Kept for
Not stated by the Helpful Places.
Shared with
- The Canada School of Public Service has access to administrative and usage data from the deployment. Code suggestions and editor interactions may be accessible to Microsoft as the vendor under the terms of service.
Stored
Not stated by the Helpful Places.
How to read the colours
Can it identify you?
- Anonymized data
- Data about people with the link to who is broken. Stripped of identifiers, blurred, aggregated, or noised so this system can’t reasonably tie a record back to an individual.
- Pseudonymous data
- Each person’s data is tied to a token (hash, ID, template) that lets this system recognise the same person across events, but the token itself doesn’t reveal a name. Reidentification is possible with extra information.
- Identifiable data
- The data either contains a direct identifier (name, address, account name, recognisable face or voice, plate number) or carries a token this system uses to look up legal identity during processing.
Who completes the loop?
- Human decides
- This mode suggests; a person decides what to do next. The AI is always advisory — a human is in the loop on every decision. Example: a triage tool ranks cases for a clinician who chooses which to see first.
- Human executes
- This mode decides; a person carries out the result. Example: an optimizer plans the day’s trash-collection routes, and drivers run them.
- Autonomous
- This mode decides and acts on its own. No person reviews each decision or carries out the resulting action.
Definitions from the DTPR standard. Amber is about your data, violet about who decides. The fuller the shape and the deeper the colour, the more identifying the data or the less a person is involved.
- AI registerGovernment of Canada Algorithmic Impact Assessment Register — VS code copilot Ai (2526-CSPS-EFPC-002)Canada School of Public Service. AI Register ID: 2526-CSPS-EFPC-002. Status: In production.
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- AI registerGovernment of Canada AI Register — VS code copilot Ai
- Register entryPublished by the Helpful Places. Reference 0db5c9ce. This disclosure was drafted with AI assistance.Schema: ai@2026-05-06-beta
What you can do
Ask about this system
Questions go to the Helpful Places, not the vendor.
Your rights
- Right to Algorithmic TransparencyGC employees using this tool may request information about how the AI system works by contacting the Canada School of Public Service. Microsoft's documentation for GitHub Copilot is publicly available.
Risks and safeguards
- Reputational harmAI-generated code suggestions may introduce security vulnerabilities, license-incompatible code, or incorrect logic into government software if accepted without review.Safeguard: All suggestions are reviewed and accepted or rejected by the human developer before any code is committed; no autonomous code deployment occurs.