AI-Assisted Legacy Code Conversion for Developers
Purpose
This system uses generative AI and natural language processing to automatically translate software written in older programming languages (such as COBOL or Fortran) into modern languages (such as Python, Java, or Go). It is intended for use by Government of Canada employees involved in software development and system modernization. The system does not process personal information. Users are not currently informed that AI is being used.
What the system collects and what happens to the data
Data taken in
Operational data
Anonymous data
- Legacy source code written in older programming languages such as COBOL, Fortran, or older versions of Java or C#. This is software artefact data, not personal information.
Processing
Language Models
- The system applies large language models (LLMs) and NLP techniques to parse legacy programming language syntax and generate semantically equivalent code in the target language.
What the system does
Creating (Generative AI)
Advisory
- The system uses generative AI to produce translated source code in a target modern programming language. A developer reviews and validates the generated output before adoption.
Understanding (Semantic AI)
Advisory
- The system uses NLP to understand the structure and semantics of legacy source code prior to translation.
Outputs
Generated content
Anonymous data
- Translated source code in a modern target programming language such as Python, Java, Go, or C#. The output is software code, not personal information.
Run by
National Defence (DND)
- The Department of National Defence is deploying this AI-assisted code conversion tool for use by Government of Canada employees engaged in software modernization.
Built by
Government of Canada
- The Government of Canada developed this system internally.
Kept for
Not stated by Helpful Places.
Shared with
Not available to me
- This system processes government source code, not personal data. As a result, individual data-access rights are not applicable. The register does not describe any public-facing access mechanism for outputs.
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 UseThe register states that AI use is not currently disclosed to users. As of the date of this record, GC employees using this tool are not informed that AI is involved in the code conversion process.
Risks and safeguards
- Societal & cultural harmGenerated code may contain subtle logic errors, security vulnerabilities, or non-idiomatic translations that are difficult for reviewers to detect.Safeguard: The system is still in development; human review by developers before code adoption is the primary safeguard. No automated deployment of generated code without human validation is described in the register.
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.
- AI registerGovernment of Canada Algorithmic Impact Assessment Register — Code Conversion (2526-DND-MDN-002)National Defence, Government of Canada. AI Register ID: 2526-DND-MDN-002.
- AI registerGovernment of Canada AI Register — Code Conversion
- AI registerGovernment of Canada AI Register — Code Conversion
- Register entryPublished by Helpful Places. Reference 9165b752. This disclosure was drafted with AI assistance.Schema: ai@2026-05-06-beta