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

Purpose

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 the system collects and what happens to the data

Data taken in

Operational data
Anonymous 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 the system does

Creating (Generative AI)
Advisory
  • 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)
Advisory
  • 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
Anonymous 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 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 Helpful Places.

What you can do

Ask about this system

Questions should be addressed to Helpful Places.

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.
How to read the colors

Data use

Anonymous data
Data that can’t be tied to a person. Either the data was never about people (water samples, traffic counts, documents), or identifiers were stripped, 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.

Autonomy level

Advisory
The system produces a result, but a person is always in the loop: they make any decision and carry that decision out.
Semi-autonomous
The system works out the decision and a person carries that decision out, such as a crew following a route the system recommends.
Autonomous
The system decides and acts on its own, such as screening job applications, with no person in between.