Skip to content
This is NOT an official site of the Government of Canada. Click here for the official AI registry.

AI-Assisted Code Translation for Government Scripts

Employment & Work

What it collects

Operational data
Anonymized data
  • Existing code scripts, metadata, and supporting documentation that need to be converted. The register confirms no personal information is involved.
Run by
Statistics Canada (StatCan)
Where
No fixed location
Kept
Not stated by the Helpful Places.
Shared with
Accountable organization

What it is for

CodeBridge uses AI to automatically translate small code scripts, metadata, and supporting documentation from one programming language to another. It is used by Government of Canada employees at Statistics Canada to reduce manual effort when migrating or converting existing code. The system does not process personal information. Users are informed that AI is being used.

What it collects and what happens to it

Data taken in

Operational data
Anonymized data
  • Existing code scripts, metadata, and supporting documentation that need to be converted. The register confirms no personal information is involved.

Processing

Language Models
  • Code translation between programming languages is performed using a language model capable of parsing and generating structured code syntax, metadata, and natural-language documentation.

What it does

Creating (Generative AI)
Human decides
  • The system generates translated code, metadata, and documentation. A human employee reviews and decides whether to accept, modify, or discard the generated output.
Understanding (Semantic AI)
Human decides
  • The system must understand the semantics of source code and documentation in order to produce accurate translations between programming languages or formats.

Outputs

Generated content
Anonymized data
  • Translated code scripts, converted metadata, and supporting documentation produced by the AI. No personal information is included in outputs.

Run by

Statistics Canada (StatCan)
  • Statistics Canada is the federal department that deploys and operates CodeBridge for use by Government of Canada employees who need to convert existing code scripts and documentation.

Government of Canada AI Register — CodeBridge

Built by

Government of Canada
  • CodeBridge was developed internally by the Government of Canada, making it both the developer and the deploying institution.

Government of Canada AI Register — CodeBridge

Kept for

Not stated by the Helpful Places.

Shared with

Available to the accountable organization
  • Outputs are available to Government of Canada employees (GC employees) who use the tool. Access is limited to internal government users.

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.

What you can do

Ask about this system

Questions go to the Helpful Places, not the vendor.

Your rights

  • Right to Be Informed of AI UseAI use is disclosed to users of CodeBridge, as confirmed in the Government of Canada AI register entry for this system.
  • Right to Algorithmic TransparencyThe system is listed on the Government of Canada's public AI register, providing transparency about its purpose, data sources, and the fact that AI is in use.

Risks and safeguards

  • Societal & cultural harmAI-generated code translations may contain errors or subtly incorrect logic that, if unreviewed, could be incorporated into production systems.Safeguard: The system targets small scripts only, and GC employees (human users) are the primary users who review outputs before adoption. AI use is disclosed, supporting informed human oversight.