xCodeEval / xCodeEval.py
sbmaruf's picture
Add file_name feature
2b3edeb
raw
history blame
112 kB
# xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrieval
import io
import json
import zipfile
from collections import defaultdict
import datasets
import urllib.parse
import textwrap
from multiprocessing import Pool, cpu_count
import os
logger = datasets.logging.get_logger(__name__)
_CITATION = """\
@misc{khan2023xcodeeval,
title={xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrieval},
author={Mohammad Abdullah Matin Khan and M Saiful Bari and Xuan Long Do and Weishi Wang and Md Rizwan Parvez and Shafiq Joty},
year={2023},
eprint={2303.03004},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
"""
_DESCRIPTION = """\
The ability to solve problems is a hallmark of intelligence and has been an enduring goal in AI. AI systems that can create programs as solutions to problems or assist developers in writing programs can increase productivity and make programming more accessible. Recently, pre-trained large language models have shown impressive abilities in generating new codes from natural language descriptions, repairing buggy codes, translating codes between languages, and retrieving relevant code segments. However, the evaluation of these models has often been performed in a scattered way on only one or two specific tasks, in a few languages, at a partial granularity (e.g., function) level and in many cases without proper training data. Even more concerning is that in most cases the evaluation of generated codes has been done in terms of mere lexical overlap rather than actual execution whereas semantic similarity (or equivalence) of two code segments depends only on their ``execution similarity'', i.e., being able to get the same output for a given input.
"""
_HOMEPAGE = "https://github.com/ntunlp/xCodeEval"
_LICENSE = "CC-BY-NC-4.0"
_RETRIEVAL_LANGUAGES = [
"C#",
"C++",
"C",
"D",
"Go",
"Haskell",
"Java",
"Javascript",
"Kotlin",
"Ocaml",
"PHP",
"Pascal",
"Perl",
"Python",
"Ruby",
"Rust",
"Scala"
]
_NON_RETRIEVAL_LANGUAGES = [
"C#",
"C++",
"C",
"Go",
"Java",
"Javascript",
"Kotlin",
"PHP",
"Python",
"Ruby",
"Rust",
]
_TASKS = [
"apr",
"code_compilation",
"code_translation",
"program_synthesis",
"retrieval_code_code",
"retrieval_nl_code",
"retrieval_corpus",
"tag_classification",
]
_PROBLEM_DESC_REQ_TASK = [
"apr",
"code_translation",
"program_synthesis",
"tag_classification",
]
_UNIT_TEST_REQ_TASK = [
"apr",
"code_translation",
"program_synthesis",
]
_DESCRIPTIONS = {
"apr": textwrap.dedent(
"""### Key Definitions
1. `similarity_score`: A similarity score between `bug_source_code` and `fix_source_code` given by difflib.
2. `equal_cnt`: A metric comparing `bug_source_code` and `fix_source_code`. Recommended by difflib.
3. `replace_cnt`: A metric comparing `bug_source_code` and `fix_source_code`. Recommended by difflib.
4. `delete_cnt`: A metric comparing `bug_source_code` and `fix_source_code`. Recommended by difflib.
5. `insert_cnt`: A metric comparing `bug_source_code` and `fix_source_code`. Recommended by difflib.
6. `fix_ops_cnt`: A metric comparing `bug_source_code` and `fix_source_code`. Recommended by difflib.
7. `bug_source_code`: Buggy code.
8. `fix_source_code`: A potential fix of the buggy code that passed all the unit tests.
9. `lang`: Runtime/Compiler version of the `source_code`.
10. `fix_code_uid`: A unique ID for the fix code. It is not important for model training. If you find any issue with the sample, you can report it to us mentioning the `fix_code_uid`.
11. `bug_code_uid`: A unique ID for the buggy code. It is not important for model training. If you find any issue with the sample, you can report it to us mentioning the `bug_code_uid`.
12. `src_uid`: A specific identifier that shows which problem the code is associated with. This identifier is **important** for the training of the model. The problem referred to by the `src_uid` provides a natural description of the problem that the code successfully solved. Refer to [Structure of `problem_descriptions.jsonl`](./README.md#structure-of-problem_descriptionsjsonl)
13. `apr_id`: A unique ID for the apr sample. It is not important for model training. If you find any issue with the sample, you can report it to us mentioning the `apr_id`.
14. `difficulty`: Difficulty rating of the problem indicated by `src_uid`. The higher the harder.
15. `tags`: List of potential algorithmic techniques required to write the program.
16. `bug_exec_outcome`: A pre-run execution outcome of `bug_source_code`. Follow [Section 4.1](https://arxiv.org/pdf/2303.03004.pdf) to know the potential list of outcomes. The `exec_outcome` flags in the training data comes from a pre-run environmeent. However, training data doesn't includes unit-test to avoid potential hacks. We provide unit test for only dev and test data.
17. `fix_exec_outcome`: A pre-run execution outcome of `fix_source_code`. Follow [Section 4.1](https://arxiv.org/pdf/2303.03004.pdf) to know the potential list of outcomes. The `exec_outcome` flags in the training data comes from a pre-run environmeent. However, training data doesn't includes unit-test to avoid potential hacks. We provide unit test for only dev and test data.
18. `potential_dominant_fix_op`: A potential fix op recommended by difflib.
19. `lang_cluster`: A generic programming language name the value of `lang` belongs to.
Objective: Given a `bug_source_code` the objective is to generate a fixed version of the code that passes all the unit test. Use `fix_source_code` for training."""
),
"code_translation": textwrap.dedent(
"""### Key Definitions
1. `lang`: Runtime/Compiler version of the `source_code`.
2. `source_code`: A program.
3. `code_uid`: A unique ID for the sample. It is not important for model training. If you find any issue with the sample, you can report it to us mentioning the `code_uid`.
4. `src_uid`: A specific identifier that shows which problem the code is associated with. This identifier is **important** for the training of the model. The problem referred to by the `src_uid` provides a natural description of the problem that the code successfully solved. Refer to [Structure of `problem_descriptions.jsonl`](./README.md#structure-of-problem_descriptionsjsonl)
5. `difficulty`: Difficulty rating of the problem indicated by `src_uid`. The higher the harder.
6. `exec_outcome`: Execution outcome status. Follow [Section 4.1](https://arxiv.org/pdf/2303.03004.pdf) to know the potential list of outcomes. The `exec_outcome` flags in the training data comes from a pre-run environmeent. However, training data doesn't includes unit-test to avoid potential hacks. We provide unit test for only dev and test data.
Objective: Given a source code in lang, generate a code in target lang."""
),
"program_synthesis": textwrap.dedent(
"""### Key Definitions
1. `lang`: Runtime/Compiler version of the `source_code`.
2. `source_code`: A program.
3. `tags`: List of potential algorithmic techniques required to write the program.
4. `lang_cluster`: A generic programming language name the value of `lang` belongs to.
5. `src_uid`: A specific identifier that shows which problem the code is associated with. This identifier is **important** for the training of the model. The problem referred to by the `src_uid` provides a natural description of the problem that the code successfully solved. Refer to [Structure of `problem_descriptions.jsonl`](./README.md#structure-of-problem_descriptionsjsonl)
6. `code_uid`: A unique ID for the sample. It is not important for model training. If you find any issue with the sample, you can report it to us mentioning the `code_uid`.
7. `difficulty`: Difficulty rating of the problem indicated by `src_uid`. The higher the harder.
8. `exec_outcome`: Execution outcome status. Follow [Section 4.1](https://arxiv.org/pdf/2303.03004.pdf) to know the potential list of outcomes. The `exec_outcome` flags in the training data comes from a pre-run environmeent. However, training data doesn't includes unit-test to avoid potential hacks. We provide unit test for only dev and test data.
Objective: Given a src_uid read problem description from `problem_descriptions.jsonl` and generate a solution for problem description."""),
"retrieval_code_code": textwrap.dedent(
"""### Key Definitions
1. `positive_code` : list of positive codes for `nl`
2. `negative_code` : list of negative codes for `nl`
3. `src_uid` : A specific identifier that shows which problem the code is associated with. This identifier is **important** for the training of the model. The problem referred to by the `src_uid` provides a natural description of the problem that the code successfully solved. Refer to [Structure of `problem_descriptions.jsonl`](./README.md#structure-of-problem_descriptionsjsonl)
4. `source_code` : A source code given as input query.
Objective: Given a source_code retrieve similar source code from `retrieval_corpus`."""
),
"retrieval_nl_code": textwrap.dedent(
"""### Key Definitions
1. `nl` : Problem description in textual format, math operations are written in latex. Given as input query.
2. `positive_code` : list of positive codes for `nl`
3. `negative_code` : list of negative codes for `nl`
4. `src_uid` : A specific identifier that shows which problem the code is associated with. This identifier is **important** for the training of the model. The problem referred to by the `src_uid` provides a natural description of the problem that the code successfully solved. Refer to [Structure of `problem_descriptions.jsonl`](./README.md#structure-of-problem_descriptionsjsonl)
Objective: Given a nl (problem description) retrieve similar source code from `retrieval_corpus`."""
),
"retrieval_corpus": textwrap.dedent(
"""### Key Definitions
1. `idx` : unique index for each sample on a specific langauge (read language from filename).
4. `source_code` : A source code given as retrieval document.
Objective: Use the retrival_corpus to perform query for retrieval_nl_code and retrieval_code_code ."""
),
"code_compilation": textwrap.dedent(
"""### Key Definitions
1. `lang`: Runtime/Compiler version of the `source_code`.
2. `source_code`: A program.
3. `lang_cluster`: A generic programming language name the value of `lang` belongs to.
4. `compilation_error`: True/False, Indicates if the code generates a compilation error or not.
5. `code_uid`: A unique ID for the sample. It is not important for model training. If you find any issue with the sample, you can report it to us mentioning the `code_uid`.
6. `src_uid`: A specific identifier that shows which problem the code is associated with. This identifier is **important** for the training of the model. The problem referred to by the `src_uid` provides a natural description of the problem that the code successfully solved. Refer to [Structure of `problem_descriptions.jsonl`](./README.md#structure-of-problem_descriptionsjsonl)
7. `difficulty`: Difficulty rating of the problem indicated by `src_uid`. The higher the harder.
Objective: Given a `source_code` the objective is to classify if the code compiles or not (label:compilation_error) ."""
),
"tag_classification": textwrap.dedent(
"""### Key Definitions
1. `lang`: Runtime/Compiler version of the `source_code`.
2. `source_code`: A program.
3. `tags`: List of potential algorithmic techniques required to write the program.
4. `lang_cluster`: A generic programming language name the value of `lang` belongs to.
5. `code_uid`: A unique ID for the sample. It is not important for model training. If you find any issue with the sample, you can report it to us mentioning the `code_uid`.
6. `src_uid`: A specific identifier that shows which problem the code is associated with. This identifier is **important** for the training of the model. The problem referred to by the `src_uid` provides a natural description of the problem that the code successfully solved. Refer to [Structure of `problem_descriptions.jsonl`](./README.md#structure-of-problem_descriptionsjsonl)
7. `difficulty`: Difficulty rating of the problem indicated by `src_uid`. The higher the harder.
Objective: Given a `source_code` the objective is to classify the code into multi-label tags (label:tags) ."""
),
}
_CUSTOM_FEATURES = {
"tags": datasets.Sequence(datasets.Value("string")),
"similarity_score": datasets.Value("float32"),
"equal_cnt": datasets.Value("int32"),
"replace_cnt": datasets.Value("int32"),
"delete_cnt": datasets.Value("int32"),
"insert_cnt": datasets.Value("int32"),
"fix_ops_cnt": datasets.Value("int32"),
"difficulty": datasets.Value("int32"),
"compilation_error": datasets.Value("bool"),
# "prob_desc_sample_inputs": datasets.Sequence(datasets.Value("string")),
# "prob_desc_sample_outputs": datasets.Sequence(datasets.Value("string")),
}
_PROB_DESC_TEXT_FEATURES = {
"description" : "prob_desc_description",
"input_from" : "prob_desc_input_from",
"output_to" : "prob_desc_output_to",
"time_limit" : "prob_desc_time_limit",
"memory_limit" : "prob_desc_memory_limit",
"input_spec" : "prob_desc_input_spec",
"output_spec" : "prob_desc_output_spec",
"sample_inputs" : "prob_desc_sample_inputs",
"sample_outputs" : "prob_desc_sample_outputs",
"notes" : "prob_desc_notes",
"created_at" : "prob_desc_created_at",
}
_TEXT_FEATURES = {
"apr": {
"file_name",
"similarity_score",
"equal_cnt",
"replace_cnt",
"delete_cnt",
"delete_cnt",
"fix_ops_cnt",
"bug_source_code",
"fix_source_code",
"lang",
"fix_code_uid",
"bug_code_uid",
"src_uid",
"apr_id",
"difficulty",
"tags",
"bug_exec_outcome",
"fix_exec_outcome",
"potential_dominant_fix_op",
"lang_cluster",
},
"code_translation": {
"file_name",
"lang",
"source_code",
"code_uid",
"src_uid",
"difficulty",
"exec_outcome",
},
"program_synthesis": {
"file_name",
"lang",
"source_code",
"tags",
"lang_cluster",
"src_uid",
"code_uid",
"difficulty",
"exec_outcome"
},
"retrieval_code_code": {
"file_name",
"positive_code",
"negative_code",
"src_uid",
"source_code",
},
"retrieval_nl_code": {
"file_name",
"nl",
"positive_code",
"negative_code",
"src_uid",
},
"retrieval_corpus": {
"file_name",
"idx",
"source_code",
},
"code_compilation": {
"file_name",
"lang",
"source_code",
"compilation_error",
"code_uid",
"src_uid",
"difficulty",
},
"tag_classification": {
"file_name",
"lang",
"source_code",
"tags",
"lang_cluster",
"code_uid",
"src_uid",
"difficulty",
},
}
for task in _PROBLEM_DESC_REQ_TASK:
_TEXT_FEATURES[task].update(set(_PROB_DESC_TEXT_FEATURES.values()))
_SHARDS = {
"apr":[
{"type":"directory","name":"apr/test","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"directory","name":"apr/train","contents":[
{"type":"file","name":"train_000.jsonl"},
{"type":"file","name":"train_001.jsonl"},
{"type":"file","name":"train_002.jsonl"},
{"type":"file","name":"train_003.jsonl"},
{"type":"file","name":"train_004.jsonl"},
{"type":"file","name":"train_005.jsonl"},
{"type":"file","name":"train_006.jsonl"},
{"type":"file","name":"train_007.jsonl"},
{"type":"file","name":"train_008.jsonl"},
{"type":"file","name":"train_009.jsonl"},
{"type":"file","name":"train_010.jsonl"},
{"type":"file","name":"train_011.jsonl"},
{"type":"file","name":"train_012.jsonl"},
{"type":"file","name":"train_013.jsonl"},
{"type":"file","name":"train_014.jsonl"},
{"type":"file","name":"train_015.jsonl"},
{"type":"file","name":"train_016.jsonl"},
{"type":"file","name":"train_017.jsonl"},
{"type":"file","name":"train_018.jsonl"},
{"type":"file","name":"train_019.jsonl"},
{"type":"file","name":"train_020.jsonl"},
{"type":"file","name":"train_021.jsonl"},
{"type":"file","name":"train_022.jsonl"},
{"type":"file","name":"train_023.jsonl"},
{"type":"file","name":"train_024.jsonl"},
{"type":"file","name":"train_025.jsonl"},
{"type":"file","name":"train_026.jsonl"},
{"type":"file","name":"train_027.jsonl"},
{"type":"file","name":"train_028.jsonl"},
{"type":"file","name":"train_029.jsonl"},
{"type":"file","name":"train_030.jsonl"},
{"type":"file","name":"train_031.jsonl"},
{"type":"file","name":"train_032.jsonl"},
{"type":"file","name":"train_033.jsonl"},
{"type":"file","name":"train_034.jsonl"},
{"type":"file","name":"train_035.jsonl"},
{"type":"file","name":"train_036.jsonl"},
{"type":"file","name":"train_037.jsonl"},
{"type":"file","name":"train_038.jsonl"},
{"type":"file","name":"train_039.jsonl"},
{"type":"file","name":"train_040.jsonl"},
{"type":"file","name":"train_041.jsonl"},
{"type":"file","name":"train_042.jsonl"},
{"type":"file","name":"train_043.jsonl"},
{"type":"file","name":"train_044.jsonl"},
{"type":"file","name":"train_045.jsonl"},
{"type":"file","name":"train_046.jsonl"},
{"type":"file","name":"train_047.jsonl"},
{"type":"file","name":"train_048.jsonl"},
{"type":"file","name":"train_049.jsonl"},
{"type":"file","name":"train_050.jsonl"},
{"type":"file","name":"train_051.jsonl"},
{"type":"file","name":"train_052.jsonl"},
{"type":"file","name":"train_053.jsonl"},
{"type":"file","name":"train_054.jsonl"},
{"type":"file","name":"train_055.jsonl"},
{"type":"file","name":"train_056.jsonl"},
{"type":"file","name":"train_057.jsonl"},
{"type":"file","name":"train_058.jsonl"},
{"type":"file","name":"train_059.jsonl"},
{"type":"file","name":"train_060.jsonl"},
{"type":"file","name":"train_061.jsonl"},
{"type":"file","name":"train_062.jsonl"},
{"type":"file","name":"train_063.jsonl"},
{"type":"file","name":"train_064.jsonl"},
{"type":"file","name":"train_065.jsonl"},
{"type":"file","name":"train_066.jsonl"},
{"type":"file","name":"train_067.jsonl"},
{"type":"file","name":"train_068.jsonl"},
{"type":"file","name":"train_069.jsonl"},
{"type":"file","name":"train_070.jsonl"},
{"type":"file","name":"train_071.jsonl"},
{"type":"file","name":"train_072.jsonl"},
{"type":"file","name":"train_073.jsonl"},
{"type":"file","name":"train_074.jsonl"},
{"type":"file","name":"train_075.jsonl"},
{"type":"file","name":"train_076.jsonl"},
{"type":"file","name":"train_077.jsonl"},
{"type":"file","name":"train_078.jsonl"},
{"type":"file","name":"train_079.jsonl"},
{"type":"file","name":"train_080.jsonl"},
{"type":"file","name":"train_081.jsonl"},
{"type":"file","name":"train_082.jsonl"},
{"type":"file","name":"train_083.jsonl"},
{"type":"file","name":"train_084.jsonl"},
{"type":"file","name":"train_085.jsonl"},
{"type":"file","name":"train_086.jsonl"},
{"type":"file","name":"train_087.jsonl"},
{"type":"file","name":"train_088.jsonl"},
{"type":"file","name":"train_089.jsonl"},
{"type":"file","name":"train_090.jsonl"},
{"type":"file","name":"train_091.jsonl"},
{"type":"file","name":"train_092.jsonl"},
{"type":"file","name":"train_093.jsonl"}
]},
{"type":"directory","name":"apr/validation","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"report","directories":0,"files":116}
],
"code_translation":[
{"type":"directory","name":"code_translation/test","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"directory","name":"code_translation/train","contents":[
{"type":"file","name":"train_000.jsonl"},
{"type":"file","name":"train_001.jsonl"},
{"type":"file","name":"train_002.jsonl"},
{"type":"file","name":"train_003.jsonl"},
{"type":"file","name":"train_004.jsonl"},
{"type":"file","name":"train_005.jsonl"},
{"type":"file","name":"train_006.jsonl"},
{"type":"file","name":"train_007.jsonl"},
{"type":"file","name":"train_008.jsonl"},
{"type":"file","name":"train_009.jsonl"},
{"type":"file","name":"train_010.jsonl"},
{"type":"file","name":"train_011.jsonl"},
{"type":"file","name":"train_012.jsonl"},
{"type":"file","name":"train_013.jsonl"},
{"type":"file","name":"train_014.jsonl"},
{"type":"file","name":"train_015.jsonl"},
{"type":"file","name":"train_016.jsonl"},
{"type":"file","name":"train_017.jsonl"},
{"type":"file","name":"train_018.jsonl"},
{"type":"file","name":"train_019.jsonl"},
{"type":"file","name":"train_020.jsonl"},
{"type":"file","name":"train_021.jsonl"},
{"type":"file","name":"train_022.jsonl"},
{"type":"file","name":"train_023.jsonl"},
{"type":"file","name":"train_024.jsonl"},
{"type":"file","name":"train_025.jsonl"},
{"type":"file","name":"train_026.jsonl"},
{"type":"file","name":"train_027.jsonl"},
{"type":"file","name":"train_028.jsonl"},
{"type":"file","name":"train_029.jsonl"},
{"type":"file","name":"train_030.jsonl"},
{"type":"file","name":"train_031.jsonl"},
{"type":"file","name":"train_032.jsonl"},
{"type":"file","name":"train_033.jsonl"},
{"type":"file","name":"train_034.jsonl"},
{"type":"file","name":"train_035.jsonl"},
{"type":"file","name":"train_036.jsonl"},
{"type":"file","name":"train_037.jsonl"},
{"type":"file","name":"train_038.jsonl"},
{"type":"file","name":"train_039.jsonl"},
{"type":"file","name":"train_040.jsonl"},
{"type":"file","name":"train_041.jsonl"},
{"type":"file","name":"train_042.jsonl"},
{"type":"file","name":"train_043.jsonl"},
{"type":"file","name":"train_044.jsonl"},
{"type":"file","name":"train_045.jsonl"},
{"type":"file","name":"train_046.jsonl"},
{"type":"file","name":"train_047.jsonl"},
{"type":"file","name":"train_048.jsonl"},
{"type":"file","name":"train_049.jsonl"},
{"type":"file","name":"train_050.jsonl"},
{"type":"file","name":"train_051.jsonl"},
{"type":"file","name":"train_052.jsonl"},
{"type":"file","name":"train_053.jsonl"},
{"type":"file","name":"train_054.jsonl"},
{"type":"file","name":"train_055.jsonl"},
{"type":"file","name":"train_056.jsonl"},
{"type":"file","name":"train_057.jsonl"},
{"type":"file","name":"train_058.jsonl"},
{"type":"file","name":"train_059.jsonl"},
{"type":"file","name":"train_060.jsonl"},
{"type":"file","name":"train_061.jsonl"},
{"type":"file","name":"train_062.jsonl"},
{"type":"file","name":"train_063.jsonl"},
{"type":"file","name":"train_064.jsonl"},
{"type":"file","name":"train_065.jsonl"},
{"type":"file","name":"train_066.jsonl"},
{"type":"file","name":"train_067.jsonl"},
{"type":"file","name":"train_068.jsonl"},
{"type":"file","name":"train_069.jsonl"},
{"type":"file","name":"train_070.jsonl"},
{"type":"file","name":"train_071.jsonl"},
{"type":"file","name":"train_072.jsonl"},
{"type":"file","name":"train_073.jsonl"},
{"type":"file","name":"train_074.jsonl"},
{"type":"file","name":"train_075.jsonl"},
{"type":"file","name":"train_076.jsonl"},
{"type":"file","name":"train_077.jsonl"},
{"type":"file","name":"train_078.jsonl"},
{"type":"file","name":"train_079.jsonl"},
{"type":"file","name":"train_080.jsonl"},
{"type":"file","name":"train_081.jsonl"},
{"type":"file","name":"train_082.jsonl"},
{"type":"file","name":"train_083.jsonl"},
{"type":"file","name":"train_084.jsonl"},
{"type":"file","name":"train_085.jsonl"},
{"type":"file","name":"train_086.jsonl"},
{"type":"file","name":"train_087.jsonl"},
{"type":"file","name":"train_088.jsonl"},
{"type":"file","name":"train_089.jsonl"},
{"type":"file","name":"train_090.jsonl"},
{"type":"file","name":"train_091.jsonl"},
{"type":"file","name":"train_092.jsonl"},
{"type":"file","name":"train_093.jsonl"},
{"type":"file","name":"train_094.jsonl"},
{"type":"file","name":"train_095.jsonl"},
{"type":"file","name":"train_096.jsonl"},
{"type":"file","name":"train_097.jsonl"},
{"type":"file","name":"train_098.jsonl"},
{"type":"file","name":"train_099.jsonl"},
{"type":"file","name":"train_100.jsonl"},
{"type":"file","name":"train_101.jsonl"},
{"type":"file","name":"train_102.jsonl"},
{"type":"file","name":"train_103.jsonl"},
{"type":"file","name":"train_104.jsonl"},
{"type":"file","name":"train_105.jsonl"},
{"type":"file","name":"train_106.jsonl"},
{"type":"file","name":"train_107.jsonl"},
{"type":"file","name":"train_108.jsonl"},
{"type":"file","name":"train_109.jsonl"},
{"type":"file","name":"train_110.jsonl"}
]},
{"type":"directory","name":"code_translation/validation","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"report","directories":0,"files":133}
],
"program_synthesis":[
{"type":"directory","name":"program_synthesis/test","contents":[
{"type":"file","name":"prog_syn_test.jsonl"}
]},
{"type":"directory","name":"program_synthesis/train","contents":[
{"type":"file","name":"train_000.jsonl"},
{"type":"file","name":"train_001.jsonl"},
{"type":"file","name":"train_002.jsonl"},
{"type":"file","name":"train_003.jsonl"},
{"type":"file","name":"train_004.jsonl"},
{"type":"file","name":"train_005.jsonl"},
{"type":"file","name":"train_006.jsonl"},
{"type":"file","name":"train_007.jsonl"},
{"type":"file","name":"train_008.jsonl"},
{"type":"file","name":"train_009.jsonl"},
{"type":"file","name":"train_010.jsonl"},
{"type":"file","name":"train_011.jsonl"},
{"type":"file","name":"train_012.jsonl"},
{"type":"file","name":"train_013.jsonl"},
{"type":"file","name":"train_014.jsonl"},
{"type":"file","name":"train_015.jsonl"},
{"type":"file","name":"train_016.jsonl"},
{"type":"file","name":"train_017.jsonl"},
{"type":"file","name":"train_018.jsonl"},
{"type":"file","name":"train_019.jsonl"},
{"type":"file","name":"train_020.jsonl"},
{"type":"file","name":"train_021.jsonl"},
{"type":"file","name":"train_022.jsonl"},
{"type":"file","name":"train_023.jsonl"},
{"type":"file","name":"train_024.jsonl"},
{"type":"file","name":"train_025.jsonl"},
{"type":"file","name":"train_026.jsonl"},
{"type":"file","name":"train_027.jsonl"},
{"type":"file","name":"train_028.jsonl"},
{"type":"file","name":"train_029.jsonl"},
{"type":"file","name":"train_030.jsonl"},
{"type":"file","name":"train_031.jsonl"},
{"type":"file","name":"train_032.jsonl"},
{"type":"file","name":"train_033.jsonl"},
{"type":"file","name":"train_034.jsonl"},
{"type":"file","name":"train_035.jsonl"},
{"type":"file","name":"train_036.jsonl"},
{"type":"file","name":"train_037.jsonl"},
{"type":"file","name":"train_038.jsonl"},
{"type":"file","name":"train_039.jsonl"},
{"type":"file","name":"train_040.jsonl"},
{"type":"file","name":"train_041.jsonl"},
{"type":"file","name":"train_042.jsonl"},
{"type":"file","name":"train_043.jsonl"},
{"type":"file","name":"train_044.jsonl"},
{"type":"file","name":"train_045.jsonl"},
{"type":"file","name":"train_046.jsonl"},
{"type":"file","name":"train_047.jsonl"},
{"type":"file","name":"train_048.jsonl"},
{"type":"file","name":"train_049.jsonl"},
{"type":"file","name":"train_050.jsonl"},
{"type":"file","name":"train_051.jsonl"},
{"type":"file","name":"train_052.jsonl"},
{"type":"file","name":"train_053.jsonl"},
{"type":"file","name":"train_054.jsonl"},
{"type":"file","name":"train_055.jsonl"},
{"type":"file","name":"train_056.jsonl"},
{"type":"file","name":"train_057.jsonl"},
{"type":"file","name":"train_058.jsonl"},
{"type":"file","name":"train_059.jsonl"},
{"type":"file","name":"train_060.jsonl"},
{"type":"file","name":"train_061.jsonl"},
{"type":"file","name":"train_062.jsonl"},
{"type":"file","name":"train_063.jsonl"},
{"type":"file","name":"train_064.jsonl"},
{"type":"file","name":"train_065.jsonl"},
{"type":"file","name":"train_066.jsonl"},
{"type":"file","name":"train_067.jsonl"},
{"type":"file","name":"train_068.jsonl"},
{"type":"file","name":"train_069.jsonl"},
{"type":"file","name":"train_070.jsonl"},
{"type":"file","name":"train_071.jsonl"},
{"type":"file","name":"train_072.jsonl"},
{"type":"file","name":"train_073.jsonl"},
{"type":"file","name":"train_074.jsonl"},
{"type":"file","name":"train_075.jsonl"},
{"type":"file","name":"train_076.jsonl"},
{"type":"file","name":"train_077.jsonl"},
{"type":"file","name":"train_078.jsonl"},
{"type":"file","name":"train_079.jsonl"},
{"type":"file","name":"train_080.jsonl"},
{"type":"file","name":"train_081.jsonl"},
{"type":"file","name":"train_082.jsonl"},
{"type":"file","name":"train_083.jsonl"},
{"type":"file","name":"train_084.jsonl"},
{"type":"file","name":"train_085.jsonl"},
{"type":"file","name":"train_086.jsonl"},
{"type":"file","name":"train_087.jsonl"},
{"type":"file","name":"train_088.jsonl"},
{"type":"file","name":"train_089.jsonl"},
{"type":"file","name":"train_090.jsonl"},
{"type":"file","name":"train_091.jsonl"},
{"type":"file","name":"train_092.jsonl"},
{"type":"file","name":"train_093.jsonl"},
{"type":"file","name":"train_094.jsonl"},
{"type":"file","name":"train_095.jsonl"},
{"type":"file","name":"train_096.jsonl"},
{"type":"file","name":"train_097.jsonl"},
{"type":"file","name":"train_098.jsonl"},
{"type":"file","name":"train_099.jsonl"},
{"type":"file","name":"train_100.jsonl"},
{"type":"file","name":"train_101.jsonl"},
{"type":"file","name":"train_102.jsonl"},
{"type":"file","name":"train_103.jsonl"},
{"type":"file","name":"train_104.jsonl"},
{"type":"file","name":"train_105.jsonl"},
{"type":"file","name":"train_106.jsonl"},
{"type":"file","name":"train_107.jsonl"},
{"type":"file","name":"train_108.jsonl"},
{"type":"file","name":"train_109.jsonl"},
{"type":"file","name":"train_110.jsonl"}
]},
{"type":"directory","name":"program_synthesis/validation","contents":[
{"type":"file","name":"prog_syn_val.jsonl"}
]},
{"type":"report","directories":0,"files":113}
],
"retrieval_code_code":[
{"type":"directory","name":"retrieval_code_code/test","contents":[
{"type":"file","name":"C#_code_code_test_file.jsonl"},
{"type":"file","name":"C++_code_code_test_file.jsonl"},
{"type":"file","name":"C_code_code_test_file.jsonl"},
{"type":"file","name":"D_code_code_test_file.jsonl"},
{"type":"file","name":"Go_code_code_test_file.jsonl"},
{"type":"file","name":"Haskell_code_code_test_file.jsonl"},
{"type":"file","name":"Java_code_code_test_file.jsonl"},
{"type":"file","name":"Javascript_code_code_test_file.jsonl"},
{"type":"file","name":"Kotlin_code_code_test_file.jsonl"},
{"type":"file","name":"Ocaml_code_code_test_file.jsonl"},
{"type":"file","name":"Pascal_code_code_test_file.jsonl"},
{"type":"file","name":"Perl_code_code_test_file.jsonl"},
{"type":"file","name":"PHP_code_code_test_file.jsonl"},
{"type":"file","name":"Python_code_code_test_file.jsonl"},
{"type":"file","name":"Ruby_code_code_test_file.jsonl"},
{"type":"file","name":"Rust_code_code_test_file.jsonl"},
{"type":"file","name":"Scala_code_code_test_file.jsonl"}
]},
{"type":"directory","name":"retrieval_code_code/train","contents":[
{"type":"file","name":"C++_code_code_train_file_000.jsonl"},
{"type":"file","name":"C++_code_code_train_file_001.jsonl"},
{"type":"file","name":"C++_code_code_train_file_002.jsonl"},
{"type":"file","name":"C++_code_code_train_file_003.jsonl"},
{"type":"file","name":"C++_code_code_train_file_004.jsonl"},
{"type":"file","name":"C++_code_code_train_file_005.jsonl"},
{"type":"file","name":"C++_code_code_train_file_006.jsonl"},
{"type":"file","name":"C#_code_code_train_file.jsonl"},
{"type":"file","name":"C_code_code_train_file.jsonl"},
{"type":"file","name":"D_code_code_train_file.jsonl"},
{"type":"file","name":"Go_code_code_train_file.jsonl"},
{"type":"file","name":"Haskell_code_code_train_file.jsonl"},
{"type":"file","name":"Java_code_code_train_file_000.jsonl"},
{"type":"file","name":"Java_code_code_train_file_001.jsonl"},
{"type":"file","name":"Java_code_code_train_file_002.jsonl"},
{"type":"file","name":"Java_code_code_train_file_003.jsonl"},
{"type":"file","name":"Java_code_code_train_file_004.jsonl"},
{"type":"file","name":"Java_code_code_train_file_005.jsonl"},
{"type":"file","name":"Javascript_code_code_train_file.jsonl"},
{"type":"file","name":"Kotlin_code_code_train_file.jsonl"},
{"type":"file","name":"Ocaml_code_code_train_file.jsonl"},
{"type":"file","name":"Pascal_code_code_train_file.jsonl"},
{"type":"file","name":"Perl_code_code_train_file.jsonl"},
{"type":"file","name":"PHP_code_code_train_file.jsonl"},
{"type":"file","name":"Python_code_code_train_file.jsonl"},
{"type":"file","name":"Ruby_code_code_train_file.jsonl"},
{"type":"file","name":"Rust_code_code_train_file.jsonl"},
{"type":"file","name":"Scala_code_code_train_file.jsonl"}
]},
{"type":"directory","name":"retrieval_code_code/validation","contents":[
{"type":"file","name":"C#_code_code_dev_file.jsonl"},
{"type":"file","name":"C++_code_code_dev_file.jsonl"},
{"type":"file","name":"C_code_code_dev_file.jsonl"},
{"type":"file","name":"D_code_code_dev_file.jsonl"},
{"type":"file","name":"Go_code_code_dev_file.jsonl"},
{"type":"file","name":"Haskell_code_code_dev_file.jsonl"},
{"type":"file","name":"Java_code_code_dev_file.jsonl"},
{"type":"file","name":"Javascript_code_code_dev_file.jsonl"},
{"type":"file","name":"Kotlin_code_code_dev_file.jsonl"},
{"type":"file","name":"Ocaml_code_code_dev_file.jsonl"},
{"type":"file","name":"Pascal_code_code_dev_file.jsonl"},
{"type":"file","name":"Perl_code_code_dev_file.jsonl"},
{"type":"file","name":"PHP_code_code_dev_file.jsonl"},
{"type":"file","name":"Python_code_code_dev_file.jsonl"},
{"type":"file","name":"Ruby_code_code_dev_file.jsonl"},
{"type":"file","name":"Rust_code_code_dev_file.jsonl"},
{"type":"file","name":"Scala_code_code_dev_file.jsonl"}
]},
{"type":"report","directories":0,"files":79}
],
"retrieval_nl_code":[
{"type":"directory","name":"retrieval_nl_code/test","contents":[
{"type":"file","name":"C#_nl_code_test_file.jsonl"},
{"type":"file","name":"C++_nl_code_test_file.jsonl"},
{"type":"file","name":"C_nl_code_test_file.jsonl"},
{"type":"file","name":"D_nl_code_test_file.jsonl"},
{"type":"file","name":"Go_nl_code_test_file.jsonl"},
{"type":"file","name":"Haskell_nl_code_test_file.jsonl"},
{"type":"file","name":"Java_nl_code_test_file.jsonl"},
{"type":"file","name":"Javascript_nl_code_test_file.jsonl"},
{"type":"file","name":"Kotlin_nl_code_test_file.jsonl"},
{"type":"file","name":"Ocaml_nl_code_test_file.jsonl"},
{"type":"file","name":"Pascal_nl_code_test_file.jsonl"},
{"type":"file","name":"Perl_nl_code_test_file.jsonl"},
{"type":"file","name":"PHP_nl_code_test_file.jsonl"},
{"type":"file","name":"Python_nl_code_test_file.jsonl"},
{"type":"file","name":"Ruby_nl_code_test_file.jsonl"},
{"type":"file","name":"Rust_nl_code_test_file.jsonl"},
{"type":"file","name":"Scala_nl_code_test_file.jsonl"}
]},
{"type":"directory","name":"retrieval_nl_code/train","contents":[
{"type":"file","name":"C++_nl_code_train_file_000.jsonl"},
{"type":"file","name":"C++_nl_code_train_file_001.jsonl"},
{"type":"file","name":"C++_nl_code_train_file_002.jsonl"},
{"type":"file","name":"C++_nl_code_train_file_003.jsonl"},
{"type":"file","name":"C++_nl_code_train_file_004.jsonl"},
{"type":"file","name":"C++_nl_code_train_file_005.jsonl"},
{"type":"file","name":"C++_nl_code_train_file_006.jsonl"},
{"type":"file","name":"C#_nl_code_train_file.jsonl"},
{"type":"file","name":"C_nl_code_train_file.jsonl"},
{"type":"file","name":"D_nl_code_train_file.jsonl"},
{"type":"file","name":"Go_nl_code_train_file.jsonl"},
{"type":"file","name":"Haskell_nl_code_train_file.jsonl"},
{"type":"file","name":"Java_nl_code_train_file_000.jsonl"},
{"type":"file","name":"Java_nl_code_train_file_001.jsonl"},
{"type":"file","name":"Java_nl_code_train_file_002.jsonl"},
{"type":"file","name":"Java_nl_code_train_file_003.jsonl"},
{"type":"file","name":"Java_nl_code_train_file_004.jsonl"},
{"type":"file","name":"Java_nl_code_train_file_005.jsonl"},
{"type":"file","name":"Javascript_nl_code_train_file.jsonl"},
{"type":"file","name":"Kotlin_nl_code_train_file.jsonl"},
{"type":"file","name":"Ocaml_nl_code_train_file.jsonl"},
{"type":"file","name":"Pascal_nl_code_train_file.jsonl"},
{"type":"file","name":"Perl_nl_code_train_file.jsonl"},
{"type":"file","name":"PHP_nl_code_train_file.jsonl"},
{"type":"file","name":"Python_nl_code_train_file.jsonl"},
{"type":"file","name":"Ruby_nl_code_train_file.jsonl"},
{"type":"file","name":"Rust_nl_code_train_file.jsonl"},
{"type":"file","name":"Scala_nl_code_train_file.jsonl"}
]},
{"type":"directory","name":"retrieval_nl_code/validation","contents":[
{"type":"file","name":"C#_nl_code_dev_file.jsonl"},
{"type":"file","name":"C++_nl_code_dev_file.jsonl"},
{"type":"file","name":"C_nl_code_dev_file.jsonl"},
{"type":"file","name":"D_nl_code_dev_file.jsonl"},
{"type":"file","name":"Go_nl_code_dev_file.jsonl"},
{"type":"file","name":"Haskell_nl_code_dev_file.jsonl"},
{"type":"file","name":"Java_nl_code_dev_file.jsonl"},
{"type":"file","name":"Javascript_nl_code_dev_file.jsonl"},
{"type":"file","name":"Kotlin_nl_code_dev_file.jsonl"},
{"type":"file","name":"Ocaml_nl_code_dev_file.jsonl"},
{"type":"file","name":"Pascal_nl_code_dev_file.jsonl"},
{"type":"file","name":"Perl_nl_code_dev_file.jsonl"},
{"type":"file","name":"PHP_nl_code_dev_file.jsonl"},
{"type":"file","name":"Python_nl_code_dev_file.jsonl"},
{"type":"file","name":"Ruby_nl_code_dev_file.jsonl"},
{"type":"file","name":"Rust_nl_code_dev_file.jsonl"},
{"type":"file","name":"Scala_nl_code_dev_file.jsonl"}
]},
{"type":"report","directories":0,"files":79}
],
"retrieval_corpus":[
{"type":"directory","name":"retrieval_corpus/","contents":[
{"type":"file","name":"C#_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"C#_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"C#_code_retrieval_corpus.jsonl__002.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__002.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__002.jsonl"},
{"type":"file","name":"C#_code_retrieval_corpus.jsonl__003.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__003.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__003.jsonl"},
{"type":"file","name":"C#_code_retrieval_corpus.jsonl__004.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__004.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__004.jsonl"},
{"type":"file","name":"C#_code_retrieval_corpus.jsonl__005.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__005.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__005.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__006.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__006.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__007.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__007.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__008.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__008.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__009.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__009.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__010.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__010.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__011.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__011.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__012.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__012.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__013.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__013.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__014.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__014.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__015.jsonl"},
{"type":"file","name":"C_code_retrieval_corpus.jsonl__015.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__016.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__017.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__018.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__019.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__020.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__021.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__022.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__023.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__024.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__025.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__026.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__027.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__028.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__029.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__030.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__031.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__032.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__033.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__034.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__035.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__036.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__037.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__038.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__039.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__040.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__041.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__042.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__043.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__044.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__045.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__046.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__047.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__048.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__049.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__050.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__051.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__052.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__053.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__054.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__055.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__056.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__057.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__058.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__059.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__060.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__061.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__062.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__063.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__064.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__065.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__066.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__067.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__068.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__069.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__070.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__071.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__072.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__073.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__074.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__075.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__076.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__077.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__078.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__079.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__080.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__081.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__082.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__083.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__084.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__085.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__086.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__087.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__088.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__089.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__090.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__091.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__092.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__093.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__094.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__095.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__096.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__097.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__098.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__099.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__100.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__101.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__102.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__103.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__104.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__105.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__106.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__107.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__108.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__109.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__110.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__111.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__112.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__113.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__114.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__115.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__116.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__117.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__118.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__119.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__120.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__121.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__122.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__123.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__124.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__125.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__126.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__127.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__128.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__129.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__130.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__131.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__132.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__133.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__134.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__135.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__136.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__137.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__138.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__139.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__140.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__141.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__142.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__143.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__144.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__145.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__146.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__147.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__148.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__149.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__150.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__151.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__152.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__153.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__154.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__155.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__156.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__157.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__158.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__159.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__160.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__161.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__162.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__163.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__164.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__165.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__166.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__167.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__168.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__169.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__170.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__171.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__172.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__173.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__174.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__175.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__176.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__177.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__178.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__179.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__180.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__181.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__182.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__183.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__184.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__185.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__186.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__187.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__188.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__189.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__190.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__191.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__192.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__193.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__194.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__195.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__196.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__197.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__198.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__199.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__200.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__201.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__202.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__203.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__204.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__205.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__206.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__207.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__208.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__209.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__210.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__211.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__212.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__213.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__214.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__215.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__216.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__217.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__218.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__219.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__220.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__221.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__222.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__223.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__224.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__225.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__226.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__227.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__228.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__229.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__230.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__231.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__232.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__233.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__234.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__235.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__236.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__237.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__238.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__239.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__240.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__241.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__242.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__243.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__244.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__245.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__246.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__247.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__248.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__249.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__250.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__251.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__252.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__253.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__254.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__255.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__256.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__257.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__258.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__259.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__260.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__261.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__262.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__263.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__264.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__265.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__266.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__267.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__268.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__269.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__270.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__271.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__272.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__273.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__274.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__275.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__276.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__277.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__278.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__279.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__280.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__281.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__282.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__283.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__284.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__285.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__286.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__287.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__288.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__289.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__290.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__291.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__292.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__293.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__294.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__295.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__296.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__297.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__298.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__299.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__300.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__301.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__302.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__303.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__304.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__305.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__306.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__307.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__308.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__309.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__310.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__311.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__312.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__313.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__314.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__315.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__316.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__317.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__318.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__319.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__320.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__321.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__322.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__323.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__324.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__325.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__326.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__327.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__328.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__329.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__330.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__331.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__332.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__333.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__334.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__335.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__336.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__337.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__338.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__339.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__340.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__341.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__342.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__343.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__344.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__345.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__346.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__347.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__348.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__349.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__350.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__351.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__352.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__353.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__354.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__355.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__356.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__357.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__358.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__359.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__360.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__361.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__362.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__363.jsonl"},
{"type":"file","name":"C++_code_retrieval_corpus.jsonl__364.jsonl"},
{"type":"file","name":"D_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Go_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Go_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"Haskell_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__002.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__003.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__004.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__005.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__006.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__007.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__008.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__009.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__010.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__011.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__012.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__013.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__014.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__015.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__016.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__017.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__018.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__019.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__020.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__021.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__022.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__023.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__024.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__025.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__026.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__027.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__028.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__029.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__030.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__031.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__032.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__033.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__034.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__035.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__036.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__037.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__038.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__039.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__040.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__041.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__042.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__043.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__044.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__045.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__046.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__047.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__048.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__049.jsonl"},
{"type":"file","name":"Java_code_retrieval_corpus.jsonl__050.jsonl"},
{"type":"file","name":"Javascript_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Javascript_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"Kotlin_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Kotlin_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"Kotlin_code_retrieval_corpus.jsonl__002.jsonl"},
{"type":"file","name":"Ocaml_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__002.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__003.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__004.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__005.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__006.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__007.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__008.jsonl"},
{"type":"file","name":"Pascal_code_retrieval_corpus.jsonl__009.jsonl"},
{"type":"file","name":"Perl_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"PHP_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__002.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__003.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__004.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__005.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__006.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__007.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__008.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__009.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__010.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__011.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__012.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__013.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__014.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__015.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__016.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__017.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__018.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__019.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__020.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__021.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__022.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__023.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__024.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__025.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__026.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__027.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__028.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__029.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__030.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__031.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__032.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__033.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__034.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__035.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__036.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__037.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__038.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__039.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__040.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__041.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__042.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__043.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__044.jsonl"},
{"type":"file","name":"Python_code_retrieval_corpus.jsonl__045.jsonl"},
{"type":"file","name":"Ruby_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Rust_code_retrieval_corpus.jsonl__000.jsonl"},
{"type":"file","name":"Rust_code_retrieval_corpus.jsonl__001.jsonl"},
{"type":"file","name":"Scala_code_retrieval_corpus.jsonl__000.jsonl"}
]},
{"type":"report","directories":0,"files":510}
],
"code_compilation":[
{"type":"directory","name":"code_compilation/test","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"directory","name":"code_compilation/train","contents":[
{"type":"file","name":"train_0000.jsonl"},
{"type":"file","name":"train_0001.jsonl"},
{"type":"file","name":"train_0002.jsonl"},
{"type":"file","name":"train_0003.jsonl"},
{"type":"file","name":"train_0004.jsonl"},
{"type":"file","name":"train_0005.jsonl"},
{"type":"file","name":"train_0006.jsonl"},
{"type":"file","name":"train_0007.jsonl"},
{"type":"file","name":"train_0008.jsonl"},
{"type":"file","name":"train_0009.jsonl"},
{"type":"file","name":"train_0010.jsonl"},
{"type":"file","name":"train_0011.jsonl"},
{"type":"file","name":"train_0012.jsonl"},
{"type":"file","name":"train_0013.jsonl"},
{"type":"file","name":"train_0014.jsonl"},
{"type":"file","name":"train_0015.jsonl"},
{"type":"file","name":"train_0016.jsonl"},
{"type":"file","name":"train_0017.jsonl"},
{"type":"file","name":"train_0018.jsonl"},
{"type":"file","name":"train_0019.jsonl"},
{"type":"file","name":"train_0020.jsonl"},
{"type":"file","name":"train_0021.jsonl"},
{"type":"file","name":"train_0022.jsonl"},
{"type":"file","name":"train_0023.jsonl"},
{"type":"file","name":"train_0024.jsonl"},
{"type":"file","name":"train_0025.jsonl"},
{"type":"file","name":"train_0026.jsonl"},
{"type":"file","name":"train_0027.jsonl"},
{"type":"file","name":"train_0028.jsonl"},
{"type":"file","name":"train_0029.jsonl"},
{"type":"file","name":"train_0030.jsonl"},
{"type":"file","name":"train_0031.jsonl"},
{"type":"file","name":"train_0032.jsonl"},
{"type":"file","name":"train_0033.jsonl"},
{"type":"file","name":"train_0034.jsonl"},
{"type":"file","name":"train_0035.jsonl"},
{"type":"file","name":"train_0036.jsonl"},
{"type":"file","name":"train_0037.jsonl"},
{"type":"file","name":"train_0038.jsonl"},
{"type":"file","name":"train_0039.jsonl"},
{"type":"file","name":"train_0040.jsonl"},
{"type":"file","name":"train_0041.jsonl"},
{"type":"file","name":"train_0042.jsonl"},
{"type":"file","name":"train_0043.jsonl"},
{"type":"file","name":"train_0044.jsonl"},
{"type":"file","name":"train_0045.jsonl"},
{"type":"file","name":"train_0046.jsonl"},
{"type":"file","name":"train_0047.jsonl"},
{"type":"file","name":"train_0048.jsonl"},
{"type":"file","name":"train_0049.jsonl"},
{"type":"file","name":"train_0050.jsonl"},
{"type":"file","name":"train_0051.jsonl"},
{"type":"file","name":"train_0052.jsonl"},
{"type":"file","name":"train_0053.jsonl"},
{"type":"file","name":"train_0054.jsonl"},
{"type":"file","name":"train_0055.jsonl"},
{"type":"file","name":"train_0056.jsonl"},
{"type":"file","name":"train_0057.jsonl"},
{"type":"file","name":"train_0058.jsonl"},
{"type":"file","name":"train_0059.jsonl"},
{"type":"file","name":"train_0060.jsonl"},
{"type":"file","name":"train_0061.jsonl"},
{"type":"file","name":"train_0062.jsonl"},
{"type":"file","name":"train_0063.jsonl"},
{"type":"file","name":"train_0064.jsonl"},
{"type":"file","name":"train_0065.jsonl"},
{"type":"file","name":"train_0066.jsonl"},
{"type":"file","name":"train_0067.jsonl"},
{"type":"file","name":"train_0068.jsonl"},
{"type":"file","name":"train_0069.jsonl"},
{"type":"file","name":"train_0070.jsonl"},
{"type":"file","name":"train_0071.jsonl"},
{"type":"file","name":"train_0072.jsonl"},
{"type":"file","name":"train_0073.jsonl"},
{"type":"file","name":"train_0074.jsonl"},
{"type":"file","name":"train_0075.jsonl"},
{"type":"file","name":"train_0076.jsonl"},
{"type":"file","name":"train_0077.jsonl"},
{"type":"file","name":"train_0078.jsonl"},
{"type":"file","name":"train_0079.jsonl"},
{"type":"file","name":"train_0080.jsonl"},
{"type":"file","name":"train_0081.jsonl"},
{"type":"file","name":"train_0082.jsonl"},
{"type":"file","name":"train_0083.jsonl"},
{"type":"file","name":"train_0084.jsonl"},
{"type":"file","name":"train_0085.jsonl"},
{"type":"file","name":"train_0086.jsonl"},
{"type":"file","name":"train_0087.jsonl"},
{"type":"file","name":"train_0088.jsonl"},
{"type":"file","name":"train_0089.jsonl"},
{"type":"file","name":"train_0090.jsonl"},
{"type":"file","name":"train_0091.jsonl"},
{"type":"file","name":"train_0092.jsonl"},
{"type":"file","name":"train_0093.jsonl"},
{"type":"file","name":"train_0094.jsonl"},
{"type":"file","name":"train_0095.jsonl"},
{"type":"file","name":"train_0096.jsonl"},
{"type":"file","name":"train_0097.jsonl"},
{"type":"file","name":"train_0098.jsonl"},
{"type":"file","name":"train_0099.jsonl"},
{"type":"file","name":"train_0100.jsonl"},
{"type":"file","name":"train_0101.jsonl"},
{"type":"file","name":"train_0102.jsonl"},
{"type":"file","name":"train_0103.jsonl"},
{"type":"file","name":"train_0104.jsonl"},
{"type":"file","name":"train_0105.jsonl"},
{"type":"file","name":"train_0106.jsonl"},
{"type":"file","name":"train_0107.jsonl"},
{"type":"file","name":"train_0108.jsonl"},
{"type":"file","name":"train_0109.jsonl"},
{"type":"file","name":"train_0110.jsonl"},
{"type":"file","name":"train_0111.jsonl"},
{"type":"file","name":"train_0112.jsonl"},
{"type":"file","name":"train_0113.jsonl"},
{"type":"file","name":"train_0114.jsonl"},
{"type":"file","name":"train_0115.jsonl"},
{"type":"file","name":"train_0116.jsonl"},
{"type":"file","name":"train_0117.jsonl"},
{"type":"file","name":"train_0118.jsonl"},
{"type":"file","name":"train_0119.jsonl"},
{"type":"file","name":"train_0120.jsonl"},
{"type":"file","name":"train_0121.jsonl"},
{"type":"file","name":"train_0122.jsonl"},
{"type":"file","name":"train_0123.jsonl"},
{"type":"file","name":"train_0124.jsonl"},
{"type":"file","name":"train_0125.jsonl"},
{"type":"file","name":"train_0126.jsonl"},
{"type":"file","name":"train_0127.jsonl"},
{"type":"file","name":"train_0128.jsonl"},
{"type":"file","name":"train_0129.jsonl"},
{"type":"file","name":"train_0130.jsonl"},
{"type":"file","name":"train_0131.jsonl"},
{"type":"file","name":"train_0132.jsonl"},
{"type":"file","name":"train_0133.jsonl"},
{"type":"file","name":"train_0134.jsonl"},
{"type":"file","name":"train_0135.jsonl"},
{"type":"file","name":"train_0136.jsonl"},
{"type":"file","name":"train_0137.jsonl"},
{"type":"file","name":"train_0138.jsonl"},
{"type":"file","name":"train_0139.jsonl"},
{"type":"file","name":"train_0140.jsonl"},
{"type":"file","name":"train_0141.jsonl"},
{"type":"file","name":"train_0142.jsonl"},
{"type":"file","name":"train_0143.jsonl"},
{"type":"file","name":"train_0144.jsonl"},
{"type":"file","name":"train_0145.jsonl"},
{"type":"file","name":"train_0146.jsonl"},
{"type":"file","name":"train_0147.jsonl"},
{"type":"file","name":"train_0148.jsonl"},
{"type":"file","name":"train_0149.jsonl"},
{"type":"file","name":"train_0150.jsonl"},
{"type":"file","name":"train_0151.jsonl"},
{"type":"file","name":"train_0152.jsonl"},
{"type":"file","name":"train_0153.jsonl"},
{"type":"file","name":"train_0154.jsonl"},
{"type":"file","name":"train_0155.jsonl"},
{"type":"file","name":"train_0156.jsonl"},
{"type":"file","name":"train_0157.jsonl"},
{"type":"file","name":"train_0158.jsonl"},
{"type":"file","name":"train_0159.jsonl"},
{"type":"file","name":"train_0160.jsonl"},
{"type":"file","name":"train_0161.jsonl"},
{"type":"file","name":"train_0162.jsonl"},
{"type":"file","name":"train_0163.jsonl"},
{"type":"file","name":"train_0164.jsonl"},
{"type":"file","name":"train_0165.jsonl"},
{"type":"file","name":"train_0166.jsonl"},
{"type":"file","name":"train_0167.jsonl"},
{"type":"file","name":"train_0168.jsonl"},
{"type":"file","name":"train_0169.jsonl"},
{"type":"file","name":"train_0170.jsonl"},
{"type":"file","name":"train_0171.jsonl"},
{"type":"file","name":"train_0172.jsonl"},
{"type":"file","name":"train_0173.jsonl"},
{"type":"file","name":"train_0174.jsonl"},
{"type":"file","name":"train_0175.jsonl"},
{"type":"file","name":"train_0176.jsonl"},
{"type":"file","name":"train_0177.jsonl"},
{"type":"file","name":"train_0178.jsonl"},
{"type":"file","name":"train_0179.jsonl"},
{"type":"file","name":"train_0180.jsonl"},
{"type":"file","name":"train_0181.jsonl"},
{"type":"file","name":"train_0182.jsonl"},
{"type":"file","name":"train_0183.jsonl"},
{"type":"file","name":"train_0184.jsonl"},
{"type":"file","name":"train_0185.jsonl"},
{"type":"file","name":"train_0186.jsonl"},
{"type":"file","name":"train_0187.jsonl"},
{"type":"file","name":"train_0188.jsonl"},
{"type":"file","name":"train_0189.jsonl"},
{"type":"file","name":"train_0190.jsonl"},
{"type":"file","name":"train_0191.jsonl"},
{"type":"file","name":"train_0192.jsonl"},
{"type":"file","name":"train_0193.jsonl"},
{"type":"file","name":"train_0194.jsonl"},
{"type":"file","name":"train_0195.jsonl"},
{"type":"file","name":"train_0196.jsonl"},
{"type":"file","name":"train_0197.jsonl"},
{"type":"file","name":"train_0198.jsonl"},
{"type":"file","name":"train_0199.jsonl"},
{"type":"file","name":"train_0200.jsonl"},
{"type":"file","name":"train_0201.jsonl"},
{"type":"file","name":"train_0202.jsonl"},
{"type":"file","name":"train_0203.jsonl"},
{"type":"file","name":"train_0204.jsonl"},
{"type":"file","name":"train_0205.jsonl"},
{"type":"file","name":"train_0206.jsonl"},
{"type":"file","name":"train_0207.jsonl"},
{"type":"file","name":"train_0208.jsonl"},
{"type":"file","name":"train_0209.jsonl"},
{"type":"file","name":"train_0210.jsonl"},
{"type":"file","name":"train_0211.jsonl"},
{"type":"file","name":"train_0212.jsonl"},
{"type":"file","name":"train_0213.jsonl"},
{"type":"file","name":"train_0214.jsonl"},
{"type":"file","name":"train_0215.jsonl"},
{"type":"file","name":"train_0216.jsonl"},
{"type":"file","name":"train_0217.jsonl"},
{"type":"file","name":"train_0218.jsonl"},
{"type":"file","name":"train_0219.jsonl"},
{"type":"file","name":"train_0220.jsonl"},
{"type":"file","name":"train_0221.jsonl"},
{"type":"file","name":"train_0222.jsonl"},
{"type":"file","name":"train_0223.jsonl"},
{"type":"file","name":"train_0224.jsonl"},
{"type":"file","name":"train_0225.jsonl"},
{"type":"file","name":"train_0226.jsonl"},
{"type":"file","name":"train_0227.jsonl"},
{"type":"file","name":"train_0228.jsonl"},
{"type":"file","name":"train_0229.jsonl"},
{"type":"file","name":"train_0230.jsonl"},
{"type":"file","name":"train_0231.jsonl"},
{"type":"file","name":"train_0232.jsonl"},
{"type":"file","name":"train_0233.jsonl"},
{"type":"file","name":"train_0234.jsonl"},
{"type":"file","name":"train_0235.jsonl"},
{"type":"file","name":"train_0236.jsonl"},
{"type":"file","name":"train_0237.jsonl"},
{"type":"file","name":"train_0238.jsonl"},
{"type":"file","name":"train_0239.jsonl"},
{"type":"file","name":"train_0240.jsonl"},
{"type":"file","name":"train_0241.jsonl"},
{"type":"file","name":"train_0242.jsonl"},
{"type":"file","name":"train_0243.jsonl"},
{"type":"file","name":"train_0244.jsonl"},
{"type":"file","name":"train_0245.jsonl"},
{"type":"file","name":"train_0246.jsonl"},
{"type":"file","name":"train_0247.jsonl"},
{"type":"file","name":"train_0248.jsonl"},
{"type":"file","name":"train_0249.jsonl"},
{"type":"file","name":"train_0250.jsonl"},
{"type":"file","name":"train_0251.jsonl"},
{"type":"file","name":"train_0252.jsonl"},
{"type":"file","name":"train_0253.jsonl"},
{"type":"file","name":"train_0254.jsonl"},
{"type":"file","name":"train_0255.jsonl"},
{"type":"file","name":"train_0256.jsonl"},
{"type":"file","name":"train_0257.jsonl"},
{"type":"file","name":"train_0258.jsonl"},
{"type":"file","name":"train_0259.jsonl"},
{"type":"file","name":"train_0260.jsonl"},
{"type":"file","name":"train_0261.jsonl"},
{"type":"file","name":"train_0262.jsonl"},
{"type":"file","name":"train_0263.jsonl"},
{"type":"file","name":"train_0264.jsonl"},
{"type":"file","name":"train_0265.jsonl"},
{"type":"file","name":"train_0266.jsonl"},
{"type":"file","name":"train_0267.jsonl"},
{"type":"file","name":"train_0268.jsonl"},
{"type":"file","name":"train_0269.jsonl"},
{"type":"file","name":"train_0270.jsonl"},
{"type":"file","name":"train_0271.jsonl"},
{"type":"file","name":"train_0272.jsonl"},
{"type":"file","name":"train_0273.jsonl"},
{"type":"file","name":"train_0274.jsonl"},
{"type":"file","name":"train_0275.jsonl"},
{"type":"file","name":"train_0276.jsonl"},
{"type":"file","name":"train_0277.jsonl"},
{"type":"file","name":"train_0278.jsonl"},
{"type":"file","name":"train_0279.jsonl"},
{"type":"file","name":"train_0280.jsonl"},
{"type":"file","name":"train_0281.jsonl"},
{"type":"file","name":"train_0282.jsonl"},
{"type":"file","name":"train_0283.jsonl"},
{"type":"file","name":"train_0284.jsonl"},
{"type":"file","name":"train_0285.jsonl"},
{"type":"file","name":"train_0286.jsonl"},
{"type":"file","name":"train_0287.jsonl"},
{"type":"file","name":"train_0288.jsonl"},
{"type":"file","name":"train_0289.jsonl"},
{"type":"file","name":"train_0290.jsonl"},
{"type":"file","name":"train_0291.jsonl"},
{"type":"file","name":"train_0292.jsonl"},
{"type":"file","name":"train_0293.jsonl"},
{"type":"file","name":"train_0294.jsonl"},
{"type":"file","name":"train_0295.jsonl"},
{"type":"file","name":"train_0296.jsonl"},
{"type":"file","name":"train_0297.jsonl"},
{"type":"file","name":"train_0298.jsonl"},
{"type":"file","name":"train_0299.jsonl"},
{"type":"file","name":"train_0300.jsonl"},
{"type":"file","name":"train_0301.jsonl"},
{"type":"file","name":"train_0302.jsonl"},
{"type":"file","name":"train_0303.jsonl"},
{"type":"file","name":"train_0304.jsonl"},
{"type":"file","name":"train_0305.jsonl"},
{"type":"file","name":"train_0306.jsonl"},
{"type":"file","name":"train_0307.jsonl"},
{"type":"file","name":"train_0308.jsonl"},
{"type":"file","name":"train_0309.jsonl"},
{"type":"file","name":"train_0310.jsonl"},
{"type":"file","name":"train_0311.jsonl"},
{"type":"file","name":"train_0312.jsonl"},
{"type":"file","name":"train_0313.jsonl"},
{"type":"file","name":"train_0314.jsonl"},
{"type":"file","name":"train_0315.jsonl"},
{"type":"file","name":"train_0316.jsonl"},
{"type":"file","name":"train_0317.jsonl"},
{"type":"file","name":"train_0318.jsonl"},
{"type":"file","name":"train_0319.jsonl"},
{"type":"file","name":"train_0320.jsonl"},
{"type":"file","name":"train_0321.jsonl"},
{"type":"file","name":"train_0322.jsonl"},
{"type":"file","name":"train_0323.jsonl"},
{"type":"file","name":"train_0324.jsonl"},
{"type":"file","name":"train_0325.jsonl"},
{"type":"file","name":"train_0326.jsonl"},
{"type":"file","name":"train_0327.jsonl"},
{"type":"file","name":"train_0328.jsonl"},
{"type":"file","name":"train_0329.jsonl"},
{"type":"file","name":"train_0330.jsonl"},
{"type":"file","name":"train_0331.jsonl"},
{"type":"file","name":"train_0332.jsonl"},
{"type":"file","name":"train_0333.jsonl"},
{"type":"file","name":"train_0334.jsonl"},
{"type":"file","name":"train_0335.jsonl"},
{"type":"file","name":"train_0336.jsonl"},
{"type":"file","name":"train_0337.jsonl"},
{"type":"file","name":"train_0338.jsonl"},
{"type":"file","name":"train_0339.jsonl"},
{"type":"file","name":"train_0340.jsonl"},
{"type":"file","name":"train_0341.jsonl"},
{"type":"file","name":"train_0342.jsonl"},
{"type":"file","name":"train_0343.jsonl"},
{"type":"file","name":"train_0344.jsonl"},
{"type":"file","name":"train_0345.jsonl"},
{"type":"file","name":"train_0346.jsonl"},
{"type":"file","name":"train_0347.jsonl"},
{"type":"file","name":"train_0348.jsonl"},
{"type":"file","name":"train_0349.jsonl"},
{"type":"file","name":"train_0350.jsonl"},
{"type":"file","name":"train_0351.jsonl"},
{"type":"file","name":"train_0352.jsonl"},
{"type":"file","name":"train_0353.jsonl"},
{"type":"file","name":"train_0354.jsonl"},
{"type":"file","name":"train_0355.jsonl"},
{"type":"file","name":"train_0356.jsonl"},
{"type":"file","name":"train_0357.jsonl"},
{"type":"file","name":"train_0358.jsonl"},
{"type":"file","name":"train_0359.jsonl"},
{"type":"file","name":"train_0360.jsonl"},
{"type":"file","name":"train_0361.jsonl"},
{"type":"file","name":"train_0362.jsonl"},
{"type":"file","name":"train_0363.jsonl"},
{"type":"file","name":"train_0364.jsonl"},
{"type":"file","name":"train_0365.jsonl"},
{"type":"file","name":"train_0366.jsonl"},
{"type":"file","name":"train_0367.jsonl"},
{"type":"file","name":"train_0368.jsonl"},
{"type":"file","name":"train_0369.jsonl"},
{"type":"file","name":"train_0370.jsonl"},
{"type":"file","name":"train_0371.jsonl"},
{"type":"file","name":"train_0372.jsonl"},
{"type":"file","name":"train_0373.jsonl"},
{"type":"file","name":"train_0374.jsonl"},
{"type":"file","name":"train_0375.jsonl"},
{"type":"file","name":"train_0376.jsonl"},
{"type":"file","name":"train_0377.jsonl"},
{"type":"file","name":"train_0378.jsonl"},
{"type":"file","name":"train_0379.jsonl"},
{"type":"file","name":"train_0380.jsonl"},
{"type":"file","name":"train_0381.jsonl"},
{"type":"file","name":"train_0382.jsonl"},
{"type":"file","name":"train_0383.jsonl"},
{"type":"file","name":"train_0384.jsonl"},
{"type":"file","name":"train_0385.jsonl"},
{"type":"file","name":"train_0386.jsonl"},
{"type":"file","name":"train_0387.jsonl"},
{"type":"file","name":"train_0388.jsonl"},
{"type":"file","name":"train_0389.jsonl"},
{"type":"file","name":"train_0390.jsonl"},
{"type":"file","name":"train_0391.jsonl"},
{"type":"file","name":"train_0392.jsonl"},
{"type":"file","name":"train_0393.jsonl"},
{"type":"file","name":"train_0394.jsonl"},
{"type":"file","name":"train_0395.jsonl"},
{"type":"file","name":"train_0396.jsonl"},
{"type":"file","name":"train_0397.jsonl"},
{"type":"file","name":"train_0398.jsonl"}
]},
{"type":"directory","name":"code_compilation/validation","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"report","directories":0,"files":421}
],
"tag_classification":[
{"type":"directory","name":"tag_classification/test","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"directory","name":"tag_classification/train","contents":[
{"type":"file","name":"train_000.jsonl"},
{"type":"file","name":"train_001.jsonl"},
{"type":"file","name":"train_002.jsonl"},
{"type":"file","name":"train_003.jsonl"},
{"type":"file","name":"train_004.jsonl"},
{"type":"file","name":"train_005.jsonl"},
{"type":"file","name":"train_006.jsonl"},
{"type":"file","name":"train_007.jsonl"},
{"type":"file","name":"train_008.jsonl"},
{"type":"file","name":"train_009.jsonl"},
{"type":"file","name":"train_010.jsonl"},
{"type":"file","name":"train_011.jsonl"},
{"type":"file","name":"train_012.jsonl"},
{"type":"file","name":"train_013.jsonl"},
{"type":"file","name":"train_014.jsonl"},
{"type":"file","name":"train_015.jsonl"},
{"type":"file","name":"train_016.jsonl"},
{"type":"file","name":"train_017.jsonl"},
{"type":"file","name":"train_018.jsonl"},
{"type":"file","name":"train_019.jsonl"},
{"type":"file","name":"train_020.jsonl"},
{"type":"file","name":"train_021.jsonl"},
{"type":"file","name":"train_022.jsonl"},
{"type":"file","name":"train_023.jsonl"},
{"type":"file","name":"train_024.jsonl"},
{"type":"file","name":"train_025.jsonl"},
{"type":"file","name":"train_026.jsonl"},
{"type":"file","name":"train_027.jsonl"},
{"type":"file","name":"train_028.jsonl"},
{"type":"file","name":"train_029.jsonl"},
{"type":"file","name":"train_030.jsonl"},
{"type":"file","name":"train_031.jsonl"},
{"type":"file","name":"train_032.jsonl"},
{"type":"file","name":"train_033.jsonl"},
{"type":"file","name":"train_034.jsonl"},
{"type":"file","name":"train_035.jsonl"},
{"type":"file","name":"train_036.jsonl"},
{"type":"file","name":"train_037.jsonl"},
{"type":"file","name":"train_038.jsonl"},
{"type":"file","name":"train_039.jsonl"},
{"type":"file","name":"train_040.jsonl"},
{"type":"file","name":"train_041.jsonl"},
{"type":"file","name":"train_042.jsonl"},
{"type":"file","name":"train_043.jsonl"},
{"type":"file","name":"train_044.jsonl"},
{"type":"file","name":"train_045.jsonl"},
{"type":"file","name":"train_046.jsonl"},
{"type":"file","name":"train_047.jsonl"},
{"type":"file","name":"train_048.jsonl"},
{"type":"file","name":"train_049.jsonl"},
{"type":"file","name":"train_050.jsonl"},
{"type":"file","name":"train_051.jsonl"},
{"type":"file","name":"train_052.jsonl"},
{"type":"file","name":"train_053.jsonl"},
{"type":"file","name":"train_054.jsonl"},
{"type":"file","name":"train_055.jsonl"},
{"type":"file","name":"train_056.jsonl"},
{"type":"file","name":"train_057.jsonl"},
{"type":"file","name":"train_058.jsonl"},
{"type":"file","name":"train_059.jsonl"},
{"type":"file","name":"train_060.jsonl"},
{"type":"file","name":"train_061.jsonl"},
{"type":"file","name":"train_062.jsonl"},
{"type":"file","name":"train_063.jsonl"},
{"type":"file","name":"train_064.jsonl"},
{"type":"file","name":"train_065.jsonl"},
{"type":"file","name":"train_066.jsonl"},
{"type":"file","name":"train_067.jsonl"},
{"type":"file","name":"train_068.jsonl"},
{"type":"file","name":"train_069.jsonl"},
{"type":"file","name":"train_070.jsonl"},
{"type":"file","name":"train_071.jsonl"},
{"type":"file","name":"train_072.jsonl"},
{"type":"file","name":"train_073.jsonl"},
{"type":"file","name":"train_074.jsonl"},
{"type":"file","name":"train_075.jsonl"},
{"type":"file","name":"train_076.jsonl"},
{"type":"file","name":"train_077.jsonl"},
{"type":"file","name":"train_078.jsonl"},
{"type":"file","name":"train_079.jsonl"},
{"type":"file","name":"train_080.jsonl"},
{"type":"file","name":"train_081.jsonl"},
{"type":"file","name":"train_082.jsonl"},
{"type":"file","name":"train_083.jsonl"},
{"type":"file","name":"train_084.jsonl"},
{"type":"file","name":"train_085.jsonl"},
{"type":"file","name":"train_086.jsonl"},
{"type":"file","name":"train_087.jsonl"},
{"type":"file","name":"train_088.jsonl"},
{"type":"file","name":"train_089.jsonl"},
{"type":"file","name":"train_090.jsonl"},
{"type":"file","name":"train_091.jsonl"},
{"type":"file","name":"train_092.jsonl"},
{"type":"file","name":"train_093.jsonl"},
{"type":"file","name":"train_094.jsonl"},
{"type":"file","name":"train_095.jsonl"},
{"type":"file","name":"train_096.jsonl"},
{"type":"file","name":"train_097.jsonl"},
{"type":"file","name":"train_098.jsonl"},
{"type":"file","name":"train_099.jsonl"},
{"type":"file","name":"train_100.jsonl"},
{"type":"file","name":"train_101.jsonl"},
{"type":"file","name":"train_102.jsonl"},
{"type":"file","name":"train_103.jsonl"},
{"type":"file","name":"train_104.jsonl"},
{"type":"file","name":"train_105.jsonl"},
{"type":"file","name":"train_106.jsonl"},
{"type":"file","name":"train_107.jsonl"},
{"type":"file","name":"train_108.jsonl"},
{"type":"file","name":"train_109.jsonl"},
{"type":"file","name":"train_110.jsonl"}
]},
{"type":"directory","name":"tag_classification/validation","contents":[
{"type":"file","name":"C#.jsonl"},
{"type":"file","name":"C++.jsonl"},
{"type":"file","name":"C.jsonl"},
{"type":"file","name":"Go.jsonl"},
{"type":"file","name":"Java.jsonl"},
{"type":"file","name":"Javascript.jsonl"},
{"type":"file","name":"Kotlin.jsonl"},
{"type":"file","name":"PHP.jsonl"},
{"type":"file","name":"Python.jsonl"},
{"type":"file","name":"Ruby.jsonl"},
{"type":"file","name":"Rust.jsonl"}
]},
{"type":"report","directories":0,"files":133}
]
}
def get_file_name(task_name, split_name):
data = _SHARDS[task_name]
file_names = []
for split_dict in data:
if split_dict["type"] == "directory" and split_dict["name"] == f"{task_name}/{split_name}":
file_names = [d["name"] for d in split_dict["contents"]]
else: continue
return file_names
BASE_URL = "https://huggingface.co/datasets/NTU-NLP-sg/xCodeEval/resolve/main/{task_name}/{split}/{file_name}"
PROBLEM_DESC_URL = "https://huggingface.co/datasets/NTU-NLP-sg/xCodeEval/resolve/main/problem_descriptions.jsonl"
UNIT_TEST_DB_URL = "https://huggingface.co/datasets/NTU-NLP-sg/xCodeEval/resolve/main/unittest_db.json"
class xCodeEvalConfig(datasets.BuilderConfig):
"""BuilderConfig"""
def __init__(self, description, text_features, citation, **kwargs):
"""
Args:
name: Task name from xCodeEval. see tin $_TASKS
text_features: `dict[string, string]`, map from the name of the feature
dict for each text field to the name of the column in the tsv file
citation: Citation of the paper.
**kwargs: keyword arguments forwarded to super.
"""
super(xCodeEvalConfig, self).__init__(version=datasets.Version("0.1.0"), **kwargs)
self.description = description
self.text_features = text_features
self.citation = citation
class xCodeEval(datasets.GeneratorBasedBuilder):
"""xCodeEval data loader."""
# TODO(xtreme): Set up version.
VERSION = datasets.Version("0.1.0")
BUILDER_CONFIGS = [
xCodeEvalConfig(
name=task_name,
text_features = _TEXT_FEATURES[task_name],
description=_DESCRIPTIONS[task_name],
citation=_CITATION
)
for task_name in _TASKS
]
def _info(self):
features = {
feature: _CUSTOM_FEATURES[feature] if feature in _CUSTOM_FEATURES else datasets.Value("string")
for feature in self.config.text_features
}
if self.config.name in _UNIT_TEST_REQ_TASK:
features["hidden_unit_test"] = datasets.Value("string")
return datasets.DatasetInfo(
description=self.config.description + "\n" + _DESCRIPTION,
features=datasets.Features(
features
),
supervised_keys=None,
homepage="https://github.com/ntunlp/xCodeEval",
citation=self.config.citation,
)
def _split_generators(self, dl_manager):
task_name = self.config.name
if task_name == "retrieval_corpus":
TEST_FILE_NAMES = get_file_name(task_name, "")
test_urls = [ BASE_URL.format(task_name=task_name, split="", file_name=urllib.parse.quote(file_name)).replace("s//", "s/") for file_name in TEST_FILE_NAMES]
# test_urls = [ BASE_URL.format(task_name=task_name, split="", file_name=file_name) for file_name in TEST_FILE_NAMES]
test_downloaded_files = dl_manager.download(test_urls)
# test_downloaded_files = test_urls
return [
datasets.SplitGenerator(
name=datasets.Split.TEST,
gen_kwargs={
"filepaths": test_downloaded_files,
}
),
]
TRAIN_FILE_NAMES = get_file_name(task_name, "train")
VALIDATION_FILE_NAMES = get_file_name(task_name, "validation")
TEST_FILE_NAMES = get_file_name(task_name, "test")
train_urls = [ BASE_URL.format(task_name=task_name, split="train", file_name=urllib.parse.quote(file_name)) for file_name in TRAIN_FILE_NAMES]
validation_urls = [ BASE_URL.format(task_name=task_name, split="validation", file_name=urllib.parse.quote(file_name)) for file_name in VALIDATION_FILE_NAMES]
test_urls = [ BASE_URL.format(task_name=task_name, split="test", file_name=urllib.parse.quote(file_name)) for file_name in TEST_FILE_NAMES]
# train_urls = [ BASE_URL.format(task_name=task_name, split="train", file_name=file_name) for file_name in TRAIN_FILE_NAMES]
# validation_urls = [ BASE_URL.format(task_name=task_name, split="validation", file_name=file_name) for file_name in VALIDATION_FILE_NAMES]
# test_urls = [ BASE_URL.format(task_name=task_name, split="test", file_name=file_name) for file_name in TEST_FILE_NAMES]
train_downloaded_files = dl_manager.download(train_urls)
validation_downloaded_files = dl_manager.download(validation_urls)
test_downloaded_files = dl_manager.download(test_urls)
# train_downloaded_files = train_urls
# validation_downloaded_files = validation_urls
# test_downloaded_files = test_urls
prob_desc_file, unit_test_db_file = None, None
if task_name in _PROBLEM_DESC_REQ_TASK:
prob_desc_file = dl_manager.download(PROBLEM_DESC_URL)
if task_name in _UNIT_TEST_REQ_TASK:
unit_test_db_file = dl_manager.download(UNIT_TEST_DB_URL)
return [
datasets.SplitGenerator(
name=datasets.Split.TRAIN,
gen_kwargs={
"filepaths": train_downloaded_files,
"problem_description_file": prob_desc_file,
}),
datasets.SplitGenerator(
name=datasets.Split.VALIDATION,
gen_kwargs={
"filepaths": validation_downloaded_files,
"problem_description_file": prob_desc_file,
"unit_test_db_file": unit_test_db_file,
}
),
datasets.SplitGenerator(
name=datasets.Split.TEST,
gen_kwargs={
"filepaths": test_downloaded_files,
"problem_description_file": prob_desc_file,
"unit_test_db_file": unit_test_db_file,
}
),
]
def _generate_examples(self, filepaths, problem_description_file = None, unit_test_db_file = None):
"""This function returns the examples"""
task_name = self.config.name
problem_descriptions = None
if problem_description_file is not None:
problem_descriptions = {}
with open(problem_description_file) as rp:
for line in rp:
prob_desc = json.loads(line)
src_uid = prob_desc["src_uid"]
problem_descriptions[src_uid] = prob_desc
unit_test_db = None
if unit_test_db_file is not None:
with open(unit_test_db_file) as rp:
unit_test_db = json.load(rp)
idx = 0
for filepath in filepaths:
file_name = filepath.split("/")[-1]
with open(filepath) as rp:
for line in rp:
sample = json.loads(line)
sample["file_name"] = file_name
for pre_feature in list(sample.keys()):
if pre_feature not in _TEXT_FEATURES[task_name]:
sample.pop(pre_feature)
for feature in _TEXT_FEATURES[task_name]:
if feature not in sample:
sample[feature] = ""
if task_name in _UNIT_TEST_REQ_TASK:
sample["hidden_unit_test"] = ""
if task_name not in _PROBLEM_DESC_REQ_TASK or problem_descriptions is None:
yield idx, sample # if problem_description_file is None then unit_test_db_file should be None
idx += 1
continue
src_uid = sample["src_uid"]
# if problem_description_file is not None, the sample has `src_uid`
prob_desc = problem_descriptions[src_uid]
for key, ckey in _PROB_DESC_TEXT_FEATURES.items():
if ckey == "prob_desc_sample_inputs" or ckey == "prob_desc_sample_outputs":
sample[ckey] = json.dumps(prob_desc[key])
else:
sample[ckey] = prob_desc[key]
if task_name not in _UNIT_TEST_REQ_TASK or unit_test_db is None:
yield idx, sample
idx += 1
continue
sample["hidden_unit_test"] = json.dumps(unit_test_db[src_uid])
yield idx, sample
idx += 1