SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.00317 · 2023

Data Augmentation for Code Translation with Comparable Corpora and Multiple References

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2311.00317.json · badge: /api/ran/2311.00317.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
veronicium/cmtrans canonical (classifier label)
classifier basis: census
6 ran · 6 no recorded run
FunctionStatusWhere it lives
add_lang_by_task Ran
ran; our contract draft was wrong, not the code
veronicium/cmtrans/codet5/_utils.py
pointer only (licence: NONE) · get_code("2e3e72e1e860afb2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compare_answer Ran
ran, violated the contract we drafted
veronicium/cmtrans/candidate_filtering/filter_candidates.py
pointer only (licence: NONE) · get_code("b507c1b1c65c9174")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_clone_examples_to_features Ran
ran; our contract draft was wrong, not the code
veronicium/cmtrans/codet5/_utils.py
pointer only (licence: NONE) · get_code("cc181d5e6e9504de")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_examples_to_features Ran
ran; our contract draft was wrong, not the code
veronicium/cmtrans/codet5/_utils.py
pointer only (licence: NONE) · get_code("70674cae33ae9c61")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_model_size Ran
ran; our contract draft was wrong, not the code
veronicium/cmtrans/codet5/models.py
pointer only (licence: NONE) · get_code("8cfe38019e9d6a49")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_codet5 Ran
ran; our contract draft was wrong, not the code
veronicium/cmtrans/codet5/models.py
pointer only (licence: NONE) · get_code("b57e5f4b7c4d2011")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

add_args Not yet run
unverified (harvested, no recorded run)
veronicium/cmtrans/codet5/config.py
pointer only (licence: NONE) · get_code("37156125554b21d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

build_or_load_gen_model Not yet run
unverified (harvested, no recorded run)
veronicium/cmtrans/codet5/models.py
pointer only (licence: NONE) · get_code("78e60a90cda4f3d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

eval_ppl_epoch Not yet run
unverified (harvested, no recorded run)
veronicium/cmtrans/codet5/run_gen.py
pointer only (licence: NONE) · get_code("7151e260c673ae6c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_and_cache_clone_data Not yet run
unverified (harvested, no recorded run)
veronicium/cmtrans/codet5/utils.py
pointer only (licence: NONE) · get_code("4dfcf272e3b5535f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_and_cache_gen_data Not yet run
unverified (harvested, no recorded run)
veronicium/cmtrans/codet5/utils.py
pointer only (licence: NONE) · get_code("08e8e1fc7c5648f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_and_cache_multi_gen_data Not yet run
unverified (harvested, no recorded run)
veronicium/cmtrans/codet5/utils.py
pointer only (licence: NONE) · get_code("8638626b5e47ee34")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, veronicium/cmtrans when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 3 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_model_size 6 other papers
5 dated earlier, 1 later
1909.09436 (2019-09)
CodeSearchNet Challenge: Evaluating the State of Semantic Code Search
2206.07796 (2022-06)
FixEval: Execution-based Evaluation of Program Fixes for Programming Problems
2207.11680 (2022-07)
No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligence
and 3 more not named here
add_lang_by_task 4 other papers
3 dated earlier, 1 later
1909.09436 (2019-09)
CodeSearchNet Challenge: Evaluating the State of Semantic Code Search
2206.07796 (2022-06)
FixEval: Execution-based Evaluation of Program Fixes for Programming Problems
2207.11680 (2022-07)
No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligence
and 1 more not named here
convert_examples_to_features 3 other papers
2 dated earlier, 1 later
2206.07796 (2022-06)
FixEval: Execution-based Evaluation of Program Fixes for Programming Problems
2207.11680 (2022-07)
No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligence
2312.04234 (2023-12)
Graph Convolutions Enrich the Self-Attention in Transformers!
convert_clone_examples_to_features 1 other paper
1 dated earlier
2206.07796 (2022-06)
FixEval: Execution-based Evaluation of Program Fixes for Programming Problems
load_and_cache_clone_data 1 other paper
1 dated earlier
2207.11680 (2022-07)
No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligence
load_and_cache_gen_data 1 other paper
1 dated earlier
2207.11680 (2022-07)
No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligence
load_codet5 1 other paper
1 dated earlier
2206.07796 (2022-06)
FixEval: Execution-based Evaluation of Program Fixes for Programming Problems

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

One major challenge of translating code between programming languages is that parallel training data is often limited. To overcome this challenge, we present two data augmentation techniques, one that builds comparable corpora (i.e., code pairs with similar functionality), and another that augments existing parallel data with multiple reference translations. Specifically, we build and analyze multiple types of comparable corpora, including programs generated from natural language documentation using a code generation model. Furthermore, to reduce overfitting to a single reference translation, we automatically generate additional translation references for available parallel data and filter the translations by unit tests, which increases variation in target translations. Experiments show that our data augmentation techniques significantly improve CodeT5 for translation between Java, Python, and C++ by an average of 7.5% Computational Accuracy (CA@1), which verifies the correctness of translations by execution. The code is available at https://github.com/Veronicium/CMTrans.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.00317")
get_code_for_paper("2311.00317")
have("2311.00317")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.00317.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.00317.svg)](https://syntology.ai/paper/2311.00317)

Connect an agent — have() is free.