
### Dataset is imported from CodeXGLUE and pre-processed using their script.

# Where to find in Semeru:
The dataset can be found at /nfs/semeru/semeru_datasets/code_xglue/code-to-code/code-to-code-trans in Semeru


# CodeXGLUE -- Code2Code Translation

## Task Definition

Code translation aims to migrate legacy software from one programming language in a platform toanother.
In CodeXGLUE, given a piece of Java (C#) code, the task is to translate the code into C# (Java) version. 
Models are evaluated by BLEU scores, accuracy (exactly match), and [CodeBLEU](https://github.com/microsoft/CodeXGLUE/blob/main/code-to-code-trans/CodeBLEU.MD) scores.

## Dataset

The dataset is collected from several public repos, including Lucene(http://lucene.apache.org/), POI(http://poi.apache.org/), JGit(https://github.com/eclipse/jgit/) and Antlr(https://github.com/antlr/).

We collect both the Java and C# versions of the codes and find the parallel functions. After removing duplicates and functions with the empty body, we split the whole dataset into training, validation and test sets.

### Data Format

The dataset is in the "data" folder. Each line of the files is a function, and the suffix of the file indicates the programming language.

### Data Statistics

Data statistics of the dataset are shown in the below table:

|       | #Examples |
| ------- | :-------: |
|  Train  |   10,300  |
|  Valid  |      500   |
|   Test  |    1,000  |
license:mit region:us
{"license": "mit", "Programminglanguage": "Java/C#", "version": "N/A", "Date": "Most likely 2020", "Contaminated": "Very Likely", "Size": "Standard Tokenizer"}
TAGS
#license-mit #region-us 

### Dataset is imported from CodeXGLUE and pre-processed using their script.


Where to find in Semeru:
========================


The dataset can be found at /nfs/semeru/semeru\_datasets/code\_xglue/code-to-code/code-to-code-trans in Semeru


CodeXGLUE -- Code2Code Translation
==================================


Task Definition
---------------


Code translation aims to migrate legacy software from one programming language in a platform toanother.
In CodeXGLUE, given a piece of Java (C#) code, the task is to translate the code into C# (Java) version.
Models are evaluated by BLEU scores, accuracy (exactly match), and CodeBLEU scores.


Dataset
-------


The dataset is collected from several public repos, including Lucene(URL POI(URL JGit(URL and Antlr(URL


We collect both the Java and C# versions of the codes and find the parallel functions. After removing duplicates and functions with the empty body, we split the whole dataset into training, validation and test sets.


### Data Format


The dataset is in the "data" folder. Each line of the files is a function, and the suffix of the file indicates the programming language.


### Data Statistics


Data statistics of the dataset are shown in the below table:




### Dataset is imported from CodeXGLUE and pre-processed using their script.


Where to find in Semeru:
========================


The dataset can be found at /nfs/semeru/semeru\_datasets/code\_xglue/code-to-code/code-to-code-trans in Semeru


CodeXGLUE -- Code2Code Translation
==================================


Task Definition
---------------


Code translation aims to migrate legacy software from one programming language in a platform toanother.
In CodeXGLUE, given a piece of Java (C#) code, the task is to translate the code into C# (Java) version.
Models are evaluated by BLEU scores, accuracy (exactly match), and CodeBLEU scores.


Dataset
-------


The dataset is collected from several public repos, including Lucene(URL POI(URL JGit(URL and Antlr(URL


We collect both the Java and C# versions of the codes and find the parallel functions. After removing duplicates and functions with the empty body, we split the whole dataset into training, validation and test sets. ### Data Format


The dataset is in the "data" folder. Each line of the files is a function, and the suffix of the file indicates the programming language. ### Data Statistics


Data statistics of the dataset are shown in the below table:
TAGS
#license-mit #region-us 
 ### Dataset is imported from CodeXGLUE and pre-processed using their script.


Where to find in Semeru:
========================


The dataset can be found at /nfs/semeru/semeru\_datasets/code\_xglue/code-to-code/code-to-code-trans in Semeru


CodeXGLUE -- Code2Code Translation
==================================


Task Definition
---------------


Code translation aims to migrate legacy software from one programming language in a platform toanother.
In CodeXGLUE, given a piece of Java (C#) code, the task is to translate the code into C# (Java) version.
Models are evaluated by BLEU scores, accuracy (exactly match), and CodeBLEU scores.


Dataset
-------


The dataset is collected from several public repos, including Lucene(URL POI(URL JGit(URL and Antlr(URL


We collect both the Java and C# versions of the codes and find the parallel functions. After removing duplicates and functions with the empty body, we split the whole dataset into training, validation and test sets. ### Data Format


The dataset is in the "data" folder. Each line of the files is a function, and the suffix of the file indicates the programming language. ### Data Statistics


Data statistics of the dataset are shown in the below table:
passage: TAGS
#license-mit #region-us 
### Dataset is imported from CodeXGLUE and pre-processed using their script.


Where to find in Semeru:
========================


The dataset can be found at /nfs/semeru/semeru\_datasets/code\_xglue/code-to-code/code-to-code-trans in Semeru


CodeXGLUE -- Code2Code Translation
==================================


Task Definition
---------------


Code translation aims to migrate legacy software from one programming language in a platform toanother.
In CodeXGLUE, given a piece of Java (C#) code, the task is to translate the code into C# (Java) version.
Models are evaluated by BLEU scores, accuracy (exactly match), and CodeBLEU scores.


Dataset
-------


The dataset is collected from several public repos, including Lucene(URL POI(URL JGit(URL and Antlr(URL


We collect both the Java and C# versions of the codes and find the parallel functions. After removing duplicates and functions with the empty body, we split the whole dataset into training, validation and test sets.### Data Format


The dataset is in the "data" folder. Each line of the files is a function, and the suffix of the file indicates the programming language.### Data Statistics


Data statistics of the dataset are shown in the below table: