TransMap: Pinpointing Mistakes in Neural Code Translation (Artifact)
Authors/Creators
- 1. National University of Singapore
Description
This is the artifact for the paper TransMap: Pinpointing Mistakes in Neural Code Translation in ESEC/FSE 2023
The latest artifact can be found here: https://github.com/HALOCORE/TransMap
This artifact TransMap is a tool to pinpoint mistakes in neural code translation by Codex or ChatGPT. More specifically, it focuses on Python to JavaScript code translation.
It takes a standalone Python program and its JavaScript translation (by Codex or ChatGPT) as input. It will first generate a source mapping between statements in the target program and the source program, using Codex or ChatGPT. Next, it will use the generated source map to aid in tracing the execution of the translated program and comparing it against the source reference program to pinpoint the mistakes in the translation.
Notes
Files
TransMap-main-ZEN-2023-0825-2026.zip
Files
(86.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:e67a1b3633ace0259aa2542c107c60fd
|
40.1 MB | Download |
|
md5:dd1c7f6b0678aa5326ed36ddb0d38a8a
|
46.0 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Conference paper: 10.1145/3611643.3616322 (DOI)