task stringclasses 4
values | prompt stringlengths 60 573k | completion stringlengths 60 683k | source_language stringclasses 2
values | target_language stringclasses 4
values | run_name stringclasses 2
values | example_index int64 1 100k | source_metadata dict | hashes dict | source_compile_ok bool 1
class | roundtrip_compile_ok bool 1
class | runtime_signature_match null |
|---|---|---|---|---|---|---|---|---|---|---|---|
python_to_en_plaincode | """
When a routing policy is set with an empty condition, it should be loaded correctly and should route all
the requests to a correct backend.
"""
from urllib.parse import urlparse
import pytest
from packaging.version import Version # noqa # pylint: disable=unused-import
from testsuite import TESTED_VERSION, rawobj ... | Text block:
""
"When a routing policy is set with an empty condition, it should be loaded correctly and should route all"
"the requests to a correct backend."
ending with a newline.
Load urlparse from urllib.parse.
Load pytest.
Load Version from packaging.version. # noqa # pylint: disable=unused-import
Load TESTED_VERS... | python | en | run_002_20260417_060406 | 151 | {
"max_stars_repo_path": "testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py",
"max_stars_repo_name": "dlaso99/3scale-tests",
"max_stars_count": 5,
"id": "265",
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"normalized_source_hash": "5aae2cd562ced400124716f55942c22b1467396b49d2c67a10b4c89f62d2020c",
"source_ast_hash": "6dbefbb3af8a1152cecfa408b2074f209f57f082ad4cfd36f0e274c3aa01271e",
"artifact_hash": "22ff3ff832532d9026a78eca... | true | true | null |
python_to_es_plaincode | """
When a routing policy is set with an empty condition, it should be loaded correctly and should route all
the requests to a correct backend.
"""
from urllib.parse import urlparse
import pytest
from packaging.version import Version # noqa # pylint: disable=unused-import
from testsuite import TESTED_VERSION, rawobj ... | Texto literal:
""
"When a routing policy is set with an empty condition, it should be loaded correctly and should route all"
"the requests to a correct backend."
terminando con una nueva línea.
Importar urlparse desde urllib.parse.
Importar pytest.
Importar Version desde packaging.version. # noqa # pylint: disable=unus... | python | es | run_002_20260417_060406 | 151 | {
"max_stars_repo_path": "testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py",
"max_stars_repo_name": "dlaso99/3scale-tests",
"max_stars_count": 5,
"id": "265",
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"normalized_source_hash": "5aae2cd562ced400124716f55942c22b1467396b49d2c67a10b4c89f62d2020c",
"source_ast_hash": "6dbefbb3af8a1152cecfa408b2074f209f57f082ad4cfd36f0e274c3aa01271e",
"artifact_hash": "22ff3ff832532d9026a78eca... | true | true | null |
python_to_fr_plaincode | """
When a routing policy is set with an empty condition, it should be loaded correctly and should route all
the requests to a correct backend.
"""
from urllib.parse import urlparse
import pytest
from packaging.version import Version # noqa # pylint: disable=unused-import
from testsuite import TESTED_VERSION, rawobj ... | Texte littéral:
""
"When a routing policy is set with an empty condition, it should be loaded correctly and should route all"
"the requests to a correct backend."
se terminant par une nouvelle ligne.
Charger urlparse depuis urllib.parse.
Charger pytest.
Charger Version depuis packaging.version. # noqa # pylint: disable... | python | fr | run_002_20260417_060406 | 151 | {
"max_stars_repo_path": "testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py",
"max_stars_repo_name": "dlaso99/3scale-tests",
"max_stars_count": 5,
"id": "265",
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"normalized_source_hash": "5aae2cd562ced400124716f55942c22b1467396b49d2c67a10b4c89f62d2020c",
"source_ast_hash": "6dbefbb3af8a1152cecfa408b2074f209f57f082ad4cfd36f0e274c3aa01271e",
"artifact_hash": "22ff3ff832532d9026a78eca... | true | true | null |
en_plaincode_to_python | Text block:
""
"When a routing policy is set with an empty condition, it should be loaded correctly and should route all"
"the requests to a correct backend."
ending with a newline.
Load urlparse from urllib.parse.
Load pytest.
Load Version from packaging.version. # noqa # pylint: disable=unused-import
Load TESTED_VERS... | """
When a routing policy is set with an empty condition, it should be loaded correctly and should route all
the requests to a correct backend.
"""
from urllib.parse import urlparse
import pytest
from packaging.version import Version # noqa # pylint: disable=unused-import
from testsuite import TESTED_VERSION, rawobj ... | en | python | run_002_20260417_060406 | 151 | {
"max_stars_repo_path": "testsuite/tests/apicast/policy/routing/test_routing_policy_catch_all.py",
"max_stars_repo_name": "dlaso99/3scale-tests",
"max_stars_count": 5,
"id": "265",
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "9b765806a42f78eaf5ebebb97a5b5878bc2f21be161d1a26cba2b69dff0c8ff2",
"normalized_source_hash": "5aae2cd562ced400124716f55942c22b1467396b49d2c67a10b4c89f62d2020c",
"source_ast_hash": "6dbefbb3af8a1152cecfa408b2074f209f57f082ad4cfd36f0e274c3aa01271e",
"artifact_hash": "22ff3ff832532d9026a78eca... | true | true | null |
python_to_en_plaincode | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | python | en | run_002_20260417_060406 | 152 | {
"max_stars_repo_path": "ceilometer/data_processing/notifications.py",
"max_stars_repo_name": "vmturbo/ceilometer",
"max_stars_count": 0,
"id": "266",
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_cha... | {
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"normalized_source_hash": "5804ffd27f3dce7b8d2c955fd1d4480350ea56153403c17731b039996b73c256",
"source_ast_hash": "bf1458c1401e396a77ac8ef684bd3158c926a27dd853b24abf0547bbbc90049f",
"artifact_hash": "9b6cc517c77a5547c5f5f90c... | true | true | null |
python_to_es_plaincode | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may no use this file except en compliance con the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required por applicable law o agreed como en writ... | python | es | run_002_20260417_060406 | 152 | {
"max_stars_repo_path": "ceilometer/data_processing/notifications.py",
"max_stars_repo_name": "vmturbo/ceilometer",
"max_stars_count": 0,
"id": "266",
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_cha... | {
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"normalized_source_hash": "5804ffd27f3dce7b8d2c955fd1d4480350ea56153403c17731b039996b73c256",
"source_ast_hash": "bf1458c1401e396a77ac8ef684bd3158c926a27dd853b24abf0547bbbc90049f",
"artifact_hash": "9b6cc517c77a5547c5f5f90c... | true | true | null |
python_to_fr_plaincode | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may non use this file except dans compliance avec the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required par applicable law ou agreed à dans ... | python | fr | run_002_20260417_060406 | 152 | {
"max_stars_repo_path": "ceilometer/data_processing/notifications.py",
"max_stars_repo_name": "vmturbo/ceilometer",
"max_stars_count": 0,
"id": "266",
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_cha... | {
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"normalized_source_hash": "5804ffd27f3dce7b8d2c955fd1d4480350ea56153403c17731b039996b73c256",
"source_ast_hash": "bf1458c1401e396a77ac8ef684bd3158c926a27dd853b24abf0547bbbc90049f",
"artifact_hash": "9b6cc517c77a5547c5f5f90c... | true | true | null |
en_plaincode_to_python | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | # Copyright (c) 2014 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | en | python | run_002_20260417_060406 | 152 | {
"max_stars_repo_path": "ceilometer/data_processing/notifications.py",
"max_stars_repo_name": "vmturbo/ceilometer",
"max_stars_count": 0,
"id": "266",
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_cha... | {
"raw_source_hash": "ce9b0ca8c8f629fe33e3ec3694fffb6515016d96602f501b1c0ea431caf32de1",
"normalized_source_hash": "5804ffd27f3dce7b8d2c955fd1d4480350ea56153403c17731b039996b73c256",
"source_ast_hash": "bf1458c1401e396a77ac8ef684bd3158c926a27dd853b24abf0547bbbc90049f",
"artifact_hash": "9b6cc517c77a5547c5f5f90c... | true | true | null |
python_to_en_plaincode | import os
import time
from selenium.webdriver.support.select import Select
from Data.parameters import Data
from get_dir import pwd
from reuse_func import GetData
class All_records_download():
def __init__(self,driver):
self.driver = driver
self.filename =''
def test_download_csv(self):
... | Load os.
Load time.
Load Select from selenium.webdriver.support.select.
Load Data from Data.parameters.
Load pwd from get_dir.
Load GetData from reuse_func.
Define class All_records_download:
Define method __init__ with parameters self, driver:
Set self dot driver to driver.
Set self dot filename to... | python | en | run_002_20260417_060406 | 153 | {
"max_stars_repo_path": "tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py",
"max_stars_repo_name": "JalajaTR/cQube",
"max_stars_count": 0,
"id": "267",
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"normalized_source_hash": "6a4e80b60184b90c5a3cac29c63731fea236b25df8cb82cdb7fdab4466f78903",
"source_ast_hash": "ab64f60dc987b4bb0a7f6dfb919046a4e4eb68efd2654c0ba6367155480ea9aa",
"artifact_hash": "763923a85b14bf0e3cbc5104... | true | true | null |
python_to_es_plaincode | import os
import time
from selenium.webdriver.support.select import Select
from Data.parameters import Data
from get_dir import pwd
from reuse_func import GetData
class All_records_download():
def __init__(self,driver):
self.driver = driver
self.filename =''
def test_download_csv(self):
... | Importar os.
Importar time.
Importar Select desde selenium.webdriver.support.select.
Importar Data desde Data punto parámetros.
Importar pwd desde get_dir.
Importar GetData desde reuse_func.
Definir clase All_records_download:
Definir método __init__ con parámetros self, driver:
Establecer self punto driver... | python | es | run_002_20260417_060406 | 153 | {
"max_stars_repo_path": "tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py",
"max_stars_repo_name": "JalajaTR/cQube",
"max_stars_count": 0,
"id": "267",
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"normalized_source_hash": "6a4e80b60184b90c5a3cac29c63731fea236b25df8cb82cdb7fdab4466f78903",
"source_ast_hash": "ab64f60dc987b4bb0a7f6dfb919046a4e4eb68efd2654c0ba6367155480ea9aa",
"artifact_hash": "763923a85b14bf0e3cbc5104... | true | true | null |
python_to_fr_plaincode | import os
import time
from selenium.webdriver.support.select import Select
from Data.parameters import Data
from get_dir import pwd
from reuse_func import GetData
class All_records_download():
def __init__(self,driver):
self.driver = driver
self.filename =''
def test_download_csv(self):
... | Charger os.
Charger time.
Charger Select depuis selenium.webdriver.support.select.
Charger Data depuis Data point de paramètres.
Charger pwd depuis get_dir.
Charger GetData depuis reuse_func.
Définir classe All_records_download:
Définir méthode __init__ avec paramètres self, driver:
Affecter self point de d... | python | fr | run_002_20260417_060406 | 153 | {
"max_stars_repo_path": "tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py",
"max_stars_repo_name": "JalajaTR/cQube",
"max_stars_count": 0,
"id": "267",
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"normalized_source_hash": "6a4e80b60184b90c5a3cac29c63731fea236b25df8cb82cdb7fdab4466f78903",
"source_ast_hash": "ab64f60dc987b4bb0a7f6dfb919046a4e4eb68efd2654c0ba6367155480ea9aa",
"artifact_hash": "763923a85b14bf0e3cbc5104... | true | true | null |
en_plaincode_to_python | Load os.
Load time.
Load Select from selenium.webdriver.support.select.
Load Data from Data.parameters.
Load pwd from get_dir.
Load GetData from reuse_func.
Define class All_records_download:
Define method __init__ with parameters self, driver:
Set self dot driver to driver.
Set self dot filename to... | import os
import time
from selenium.webdriver.support.select import Select
from Data.parameters import Data
from get_dir import pwd
from reuse_func import GetData
class All_records_download():
def __init__(self,driver):
self.driver = driver
self.filename =''
def test_download_csv(self):
... | en | python | run_002_20260417_060406 | 153 | {
"max_stars_repo_path": "tests/src/Diksha_Reports/usage_by_textbook/download_all_collection_records.py",
"max_stars_repo_name": "JalajaTR/cQube",
"max_stars_count": 0,
"id": "267",
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"sanitize_meta": {
"triple_block_co... | {
"raw_source_hash": "173cedf1539708806519cded93b011083c4f925f8252bcadd1cd9ec3997fb538",
"normalized_source_hash": "6a4e80b60184b90c5a3cac29c63731fea236b25df8cb82cdb7fdab4466f78903",
"source_ast_hash": "ab64f60dc987b4bb0a7f6dfb919046a4e4eb68efd2654c0ba6367155480ea9aa",
"artifact_hash": "763923a85b14bf0e3cbc5104... | true | true | null |
python_to_en_plaincode | import os
import pytest
from hgtools import managers
def _ensure_present(mgr):
try:
mgr.version()
except Exception:
pytest.skip()
@pytest.fixture
def tmpdir_as_cwd(tmpdir):
with tmpdir.as_cwd():
yield tmpdir
@pytest.fixture
def hg_repo(tmpdir_as_cwd):
mgr = managers.Mercu... | Load os.
Load pytest.
Load managers from hgtools.
Define function _ensure_present with parameter mgr:
Attempt the following:
Call mgr dot version.
If an error of type Exception occurs:
Call pytest dot skip.
Apply pytest dot fixture to the following:
Define function tmpdir_as_cwd with paramet... | python | en | run_002_20260417_060406 | 154 | {
"max_stars_repo_path": "hgtools/tests/conftest.py",
"max_stars_repo_name": "jaraco/hgtools",
"max_stars_count": 1,
"id": "269",
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_t... | {
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"normalized_source_hash": "4b554e3ccb1cf107c5965d2197f4a302632dce711553f8e3023b5d7d5e448356",
"source_ast_hash": "43c21220c6c6c98702f72a9896a1c84bc0c934b0f722abcf328335858c82866c",
"artifact_hash": "aa0546f86db15050c5875cd3... | true | true | null |
python_to_es_plaincode | import os
import pytest
from hgtools import managers
def _ensure_present(mgr):
try:
mgr.version()
except Exception:
pytest.skip()
@pytest.fixture
def tmpdir_as_cwd(tmpdir):
with tmpdir.as_cwd():
yield tmpdir
@pytest.fixture
def hg_repo(tmpdir_as_cwd):
mgr = managers.Mercu... | Importar os.
Importar pytest.
Importar managers desde hgtools.
Definir función _ensure_present con parámetro mgr:
Intentar lo siguiente:
Llamar mgr punto version.
Si ocurre un error de tipo Exception ocurre:
Llamar pytest punto skip.
Aplicar pytest punto fixture a lo siguiente:
Definir funci... | python | es | run_002_20260417_060406 | 154 | {
"max_stars_repo_path": "hgtools/tests/conftest.py",
"max_stars_repo_name": "jaraco/hgtools",
"max_stars_count": 1,
"id": "269",
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_t... | {
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"normalized_source_hash": "4b554e3ccb1cf107c5965d2197f4a302632dce711553f8e3023b5d7d5e448356",
"source_ast_hash": "43c21220c6c6c98702f72a9896a1c84bc0c934b0f722abcf328335858c82866c",
"artifact_hash": "aa0546f86db15050c5875cd3... | true | true | null |
python_to_fr_plaincode | import os
import pytest
from hgtools import managers
def _ensure_present(mgr):
try:
mgr.version()
except Exception:
pytest.skip()
@pytest.fixture
def tmpdir_as_cwd(tmpdir):
with tmpdir.as_cwd():
yield tmpdir
@pytest.fixture
def hg_repo(tmpdir_as_cwd):
mgr = managers.Mercu... | Charger os.
Charger pytest.
Charger managers depuis hgtools.
Définir fonction _ensure_present avec paramètre mgr:
Essayer ce qui suit:
Appeler mgr point de version.
Si une erreur du type Exception survient:
Appeler pytest point de skip.
Appliquer pytest point de fixture à ce qui suit:
Défini... | python | fr | run_002_20260417_060406 | 154 | {
"max_stars_repo_path": "hgtools/tests/conftest.py",
"max_stars_repo_name": "jaraco/hgtools",
"max_stars_count": 1,
"id": "269",
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_t... | {
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"normalized_source_hash": "4b554e3ccb1cf107c5965d2197f4a302632dce711553f8e3023b5d7d5e448356",
"source_ast_hash": "43c21220c6c6c98702f72a9896a1c84bc0c934b0f722abcf328335858c82866c",
"artifact_hash": "aa0546f86db15050c5875cd3... | true | true | null |
en_plaincode_to_python | Load os.
Load pytest.
Load managers from hgtools.
Define function _ensure_present with parameter mgr:
Attempt the following:
Call mgr dot version.
If an error of type Exception occurs:
Call pytest dot skip.
Apply pytest dot fixture to the following:
Define function tmpdir_as_cwd with paramet... | import os
import pytest
from hgtools import managers
def _ensure_present(mgr):
try:
mgr.version()
except Exception:
pytest.skip()
@pytest.fixture
def tmpdir_as_cwd(tmpdir):
with tmpdir.as_cwd():
yield tmpdir
@pytest.fixture
def hg_repo(tmpdir_as_cwd):
mgr = managers.Mercu... | en | python | run_002_20260417_060406 | 154 | {
"max_stars_repo_path": "hgtools/tests/conftest.py",
"max_stars_repo_name": "jaraco/hgtools",
"max_stars_count": 1,
"id": "269",
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_t... | {
"raw_source_hash": "c337711f84945a819d453a77d2392071d94b25beaa520991d853db32bd67a978",
"normalized_source_hash": "4b554e3ccb1cf107c5965d2197f4a302632dce711553f8e3023b5d7d5e448356",
"source_ast_hash": "43c21220c6c6c98702f72a9896a1c84bc0c934b0f722abcf328335858c82866c",
"artifact_hash": "aa0546f86db15050c5875cd3... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python
from setuptools import setup
import os
__doc__ = """
Command line tool and library wrappers around iwlist and
/etc/network/interfaces.
"""
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires = [
'setuptools',
'pbkdf2',
]
try:
im... | # !/usr/bin/env python
Load setup from setuptools.
Load os.
Set __doc__ to text block:
""
"Command line tool and library wrappers around iwlist and"
"/etc/network/interfaces."
ending with a newline.
Define function read with parameter fname:
Return (open with (os dot path dot join with (os dot path dot dirname with... | python | en | run_002_20260417_060406 | 155 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "dantas/wifi",
"max_stars_count": 1,
"id": "272",
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 89,
"largest_triple_block": 89,
... | {
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"normalized_source_hash": "6238be7e8c5a2a1504d5894f5f389249ae5370d5beaa247e7263741fa500ac7e",
"source_ast_hash": "48895c7efc7307802e7c526f475542b42a2122ceb197094b5e698c03445bdd32",
"artifact_hash": "29543e9d1a49f34935f4feaf... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python
from setuptools import setup
import os
__doc__ = """
Command line tool and library wrappers around iwlist and
/etc/network/interfaces.
"""
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires = [
'setuptools',
'pbkdf2',
]
try:
im... | # !/usr/bin/env python
Importar setup desde setuptools.
Importar os.
Establecer __doc__ como texto literal:
""
"Command line tool and library wrappers around iwlist and"
"/etc/network/interfaces."
terminando con una nueva línea.
Definir función read con parámetro fname:
Devolver (open con (os punto path punto join ... | python | es | run_002_20260417_060406 | 155 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "dantas/wifi",
"max_stars_count": 1,
"id": "272",
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 89,
"largest_triple_block": 89,
... | {
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"normalized_source_hash": "6238be7e8c5a2a1504d5894f5f389249ae5370d5beaa247e7263741fa500ac7e",
"source_ast_hash": "48895c7efc7307802e7c526f475542b42a2122ceb197094b5e698c03445bdd32",
"artifact_hash": "29543e9d1a49f34935f4feaf... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python
from setuptools import setup
import os
__doc__ = """
Command line tool and library wrappers around iwlist and
/etc/network/interfaces.
"""
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires = [
'setuptools',
'pbkdf2',
]
try:
im... | # !/usr/bin/env python
Charger setup depuis setuptools.
Charger os.
Affecter __doc__ à texte littéral:
""
"Command line tool and library wrappers around iwlist and"
"/etc/network/interfaces."
se terminant par une nouvelle ligne.
Définir fonction read avec paramètre fname:
Retourner (open avec (os point de path poin... | python | fr | run_002_20260417_060406 | 155 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "dantas/wifi",
"max_stars_count": 1,
"id": "272",
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 89,
"largest_triple_block": 89,
... | {
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"normalized_source_hash": "6238be7e8c5a2a1504d5894f5f389249ae5370d5beaa247e7263741fa500ac7e",
"source_ast_hash": "48895c7efc7307802e7c526f475542b42a2122ceb197094b5e698c03445bdd32",
"artifact_hash": "29543e9d1a49f34935f4feaf... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python
Load setup from setuptools.
Load os.
Set __doc__ to text block:
""
"Command line tool and library wrappers around iwlist and"
"/etc/network/interfaces."
ending with a newline.
Define function read with parameter fname:
Return (open with (os dot path dot join with (os dot path dot dirname with... | #!/usr/bin/env python
from setuptools import setup
import os
__doc__ = """
Command line tool and library wrappers around iwlist and
/etc/network/interfaces.
"""
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
install_requires = [
'setuptools',
'pbkdf2',
]
try:
im... | en | python | run_002_20260417_060406 | 155 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "dantas/wifi",
"max_stars_count": 1,
"id": "272",
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 89,
"largest_triple_block": 89,
... | {
"raw_source_hash": "742ad3ac58aec5103dea5a09c9f9331aa86afa00a085fa87ae39586f474185b1",
"normalized_source_hash": "6238be7e8c5a2a1504d5894f5f389249ae5370d5beaa247e7263741fa500ac7e",
"source_ast_hash": "48895c7efc7307802e7c526f475542b42a2122ceb197094b5e698c03445bdd32",
"artifact_hash": "29543e9d1a49f34935f4feaf... | true | true | null |
python_to_en_plaincode | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | python | en | run_002_20260417_060406 | 156 | {
"max_stars_repo_path": "auth-api/src/auth_api/resources/org_products.py",
"max_stars_repo_name": "severinbeauvais/sbc-auth",
"max_stars_count": 0,
"id": "273",
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"sanitize_meta": {
"triple_block_count": 3,
"total_... | {
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"normalized_source_hash": "0a6a18268dedd2423f46c72ccaa1fb39647025a6b9f54ca5d4a069adba1a1472",
"source_ast_hash": "11038b9d756265b6ef99810b23a04c50d08a462c8d8fc7b77176fbc08adb0247",
"artifact_hash": "ffe6f7bb60de3e24e784d539... | true | true | null |
python_to_es_plaincode | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | # Copyright © 2019 Province de British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may no use this file except en compliance con the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required por applicable law o agree... | python | es | run_002_20260417_060406 | 156 | {
"max_stars_repo_path": "auth-api/src/auth_api/resources/org_products.py",
"max_stars_repo_name": "severinbeauvais/sbc-auth",
"max_stars_count": 0,
"id": "273",
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"sanitize_meta": {
"triple_block_count": 3,
"total_... | {
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"normalized_source_hash": "0a6a18268dedd2423f46c72ccaa1fb39647025a6b9f54ca5d4a069adba1a1472",
"source_ast_hash": "11038b9d756265b6ef99810b23a04c50d08a462c8d8fc7b77176fbc08adb0247",
"artifact_hash": "ffe6f7bb60de3e24e784d539... | true | true | null |
python_to_fr_plaincode | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | # Copyright © 2019 Province de British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may non use this file except dans compliance avec the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required par applicable law ou ... | python | fr | run_002_20260417_060406 | 156 | {
"max_stars_repo_path": "auth-api/src/auth_api/resources/org_products.py",
"max_stars_repo_name": "severinbeauvais/sbc-auth",
"max_stars_count": 0,
"id": "273",
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"sanitize_meta": {
"triple_block_count": 3,
"total_... | {
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"normalized_source_hash": "0a6a18268dedd2423f46c72ccaa1fb39647025a6b9f54ca5d4a069adba1a1472",
"source_ast_hash": "11038b9d756265b6ef99810b23a04c50d08a462c8d8fc7b77176fbc08adb0247",
"artifact_hash": "ffe6f7bb60de3e24e784d539... | true | true | null |
en_plaincode_to_python | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the 'License');
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | en | python | run_002_20260417_060406 | 156 | {
"max_stars_repo_path": "auth-api/src/auth_api/resources/org_products.py",
"max_stars_repo_name": "severinbeauvais/sbc-auth",
"max_stars_count": 0,
"id": "273",
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"sanitize_meta": {
"triple_block_count": 3,
"total_... | {
"raw_source_hash": "23c1fb575fbcee8af4b701c8c40fe3382a0604406e5c85a9f1086c10baf277f0",
"normalized_source_hash": "0a6a18268dedd2423f46c72ccaa1fb39647025a6b9f54ca5d4a069adba1a1472",
"source_ast_hash": "11038b9d756265b6ef99810b23a04c50d08a462c8d8fc7b77176fbc08adb0247",
"artifact_hash": "ffe6f7bb60de3e24e784d539... | true | true | null |
python_to_en_plaincode | import logging
from collections import Counter
from django.core.management.base import BaseCommand
from django.db.models import Q
from TWLight.applications.models import Application
from TWLight.resources.models import Partner
from TWLight.applications.signals import Reminder
from TWLight.users.models import Editor
l... | Load logging.
Load Counter from collections.
Load BaseCommand from django.core.management.base.
Load Q from django.db.models.
Load Application from TWLight.applications.models.
Load Partner from TWLight.resources.models.
Load Reminder from TWLight.applications.signals.
Load Editor from TWLight.users.models.
Set logger ... | python | en | run_002_20260417_060406 | 157 | {
"max_stars_repo_path": "TWLight/applications/management/commands/send_coordinator_reminders.py",
"max_stars_repo_name": "nicole331/TWLight",
"max_stars_count": 67,
"id": "274",
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"normalized_source_hash": "27d15251ad642616618a8e672d1e5355cfbf93ac3fc8a8039fb82e515c130bfc",
"source_ast_hash": "b3f179c3639d5cc85aa31aaa83b5f6650f233bde3ee6a86706c5ca557a545e70",
"artifact_hash": "474a4ff6d1e34759a6050c10... | true | true | null |
python_to_es_plaincode | import logging
from collections import Counter
from django.core.management.base import BaseCommand
from django.db.models import Q
from TWLight.applications.models import Application
from TWLight.resources.models import Partner
from TWLight.applications.signals import Reminder
from TWLight.users.models import Editor
l... | Importar logging.
Importar Counter desde collections.
Importar BaseCommand desde django.core.management.base.
Importar Q desde django.db.models.
Importar Application desde TWLight.applications.models.
Importar Partner desde TWLight.resources.models.
Importar Reminder desde TWLight.applications.signals.
Importar Editor ... | python | es | run_002_20260417_060406 | 157 | {
"max_stars_repo_path": "TWLight/applications/management/commands/send_coordinator_reminders.py",
"max_stars_repo_name": "nicole331/TWLight",
"max_stars_count": 67,
"id": "274",
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"normalized_source_hash": "27d15251ad642616618a8e672d1e5355cfbf93ac3fc8a8039fb82e515c130bfc",
"source_ast_hash": "b3f179c3639d5cc85aa31aaa83b5f6650f233bde3ee6a86706c5ca557a545e70",
"artifact_hash": "474a4ff6d1e34759a6050c10... | true | true | null |
python_to_fr_plaincode | import logging
from collections import Counter
from django.core.management.base import BaseCommand
from django.db.models import Q
from TWLight.applications.models import Application
from TWLight.resources.models import Partner
from TWLight.applications.signals import Reminder
from TWLight.users.models import Editor
l... | Charger logging.
Charger Counter depuis collections.
Charger BaseCommand depuis django.core.management.base.
Charger Q depuis django.db.models.
Charger Application depuis TWLight.applications.models.
Charger Partner depuis TWLight.resources.models.
Charger Reminder depuis TWLight.applications.signals.
Charger Editor de... | python | fr | run_002_20260417_060406 | 157 | {
"max_stars_repo_path": "TWLight/applications/management/commands/send_coordinator_reminders.py",
"max_stars_repo_name": "nicole331/TWLight",
"max_stars_count": 67,
"id": "274",
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"normalized_source_hash": "27d15251ad642616618a8e672d1e5355cfbf93ac3fc8a8039fb82e515c130bfc",
"source_ast_hash": "b3f179c3639d5cc85aa31aaa83b5f6650f233bde3ee6a86706c5ca557a545e70",
"artifact_hash": "474a4ff6d1e34759a6050c10... | true | true | null |
en_plaincode_to_python | Load logging.
Load Counter from collections.
Load BaseCommand from django.core.management.base.
Load Q from django.db.models.
Load Application from TWLight.applications.models.
Load Partner from TWLight.resources.models.
Load Reminder from TWLight.applications.signals.
Load Editor from TWLight.users.models.
Set logger ... | import logging
from collections import Counter
from django.core.management.base import BaseCommand
from django.db.models import Q
from TWLight.applications.models import Application
from TWLight.resources.models import Partner
from TWLight.applications.signals import Reminder
from TWLight.users.models import Editor
l... | en | python | run_002_20260417_060406 | 157 | {
"max_stars_repo_path": "TWLight/applications/management/commands/send_coordinator_reminders.py",
"max_stars_repo_name": "nicole331/TWLight",
"max_stars_count": 67,
"id": "274",
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "e908987771591bafa4f03bbde3c4229bc987591eaea46687629b03f1d59ae891",
"normalized_source_hash": "27d15251ad642616618a8e672d1e5355cfbf93ac3fc8a8039fb82e515c130bfc",
"source_ast_hash": "b3f179c3639d5cc85aa31aaa83b5f6650f233bde3ee6a86706c5ca557a545e70",
"artifact_hash": "474a4ff6d1e34759a6050c10... | true | true | null |
python_to_en_plaincode | import discord
import random
from datetime import datetime
import pandas as pd
import matplotlib.pyplot as plt
import csv
async def plot_user_activity(client, ctx):
plt.style.use('fivethirtyeight')
df = pd.read_csv('innovators.csv', encoding= 'unicode_escape')
author = df['author'].to_list()
message... | Load discord.
Load random.
Load datetime from datetime.
Load pandas, referred to as pd.
Load matplotlib.pyplot, referred to as plt.
Load csv.
Define async function plot_user_activity with parameters client, ctx:
Call plt dot style dot use with "fivethirtyeight".
Set df to pd dot read_csv with "innovators.csv" a... | python | en | run_002_20260417_060406 | 158 | {
"max_stars_repo_path": "plot_user_activity.py",
"max_stars_repo_name": "KanayBhandari/discord_bot_project",
"max_stars_count": 0,
"id": "277",
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"normalized_source_hash": "a273359719b29d460eff8fe5bf51752ca663cada6a04f159b7b8f46342f2a01c",
"source_ast_hash": "9b38732469c3b35922ad1af0867509f6cff4536b0f22235c7369e07f91117e6b",
"artifact_hash": "f98104873306dd46d3f5da56... | true | true | null |
python_to_es_plaincode | import discord
import random
from datetime import datetime
import pandas as pd
import matplotlib.pyplot as plt
import csv
async def plot_user_activity(client, ctx):
plt.style.use('fivethirtyeight')
df = pd.read_csv('innovators.csv', encoding= 'unicode_escape')
author = df['author'].to_list()
message... | Importar discord.
Importar random.
Importar datetime desde datetime.
Importar pandas, referido como pd.
Importar matplotlib.pyplot, referido como plt.
Importar csv.
Definir función asíncrona plot_user_activity con parámetros client, ctx:
Llamar plt punto style punto use con "fivethirtyeight".
Establecer df como... | python | es | run_002_20260417_060406 | 158 | {
"max_stars_repo_path": "plot_user_activity.py",
"max_stars_repo_name": "KanayBhandari/discord_bot_project",
"max_stars_count": 0,
"id": "277",
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"normalized_source_hash": "a273359719b29d460eff8fe5bf51752ca663cada6a04f159b7b8f46342f2a01c",
"source_ast_hash": "9b38732469c3b35922ad1af0867509f6cff4536b0f22235c7369e07f91117e6b",
"artifact_hash": "f98104873306dd46d3f5da56... | true | true | null |
python_to_fr_plaincode | import discord
import random
from datetime import datetime
import pandas as pd
import matplotlib.pyplot as plt
import csv
async def plot_user_activity(client, ctx):
plt.style.use('fivethirtyeight')
df = pd.read_csv('innovators.csv', encoding= 'unicode_escape')
author = df['author'].to_list()
message... | Charger discord.
Charger random.
Charger datetime depuis datetime.
Charger pandas, référé comme pd.
Charger matplotlib.pyplot, référé comme plt.
Charger csv.
Définir fonction asynchrone plot_user_activity avec paramètres client, ctx:
Appeler plt point de style point de use avec "fivethirtyeight".
Affecter df à ... | python | fr | run_002_20260417_060406 | 158 | {
"max_stars_repo_path": "plot_user_activity.py",
"max_stars_repo_name": "KanayBhandari/discord_bot_project",
"max_stars_count": 0,
"id": "277",
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"normalized_source_hash": "a273359719b29d460eff8fe5bf51752ca663cada6a04f159b7b8f46342f2a01c",
"source_ast_hash": "9b38732469c3b35922ad1af0867509f6cff4536b0f22235c7369e07f91117e6b",
"artifact_hash": "f98104873306dd46d3f5da56... | true | true | null |
en_plaincode_to_python | Load discord.
Load random.
Load datetime from datetime.
Load pandas, referred to as pd.
Load matplotlib.pyplot, referred to as plt.
Load csv.
Define async function plot_user_activity with parameters client, ctx:
Call plt dot style dot use with "fivethirtyeight".
Set df to pd dot read_csv with "innovators.csv" a... | import discord
import random
from datetime import datetime
import pandas as pd
import matplotlib.pyplot as plt
import csv
async def plot_user_activity(client, ctx):
plt.style.use('fivethirtyeight')
df = pd.read_csv('innovators.csv', encoding= 'unicode_escape')
author = df['author'].to_list()
message... | en | python | run_002_20260417_060406 | 158 | {
"max_stars_repo_path": "plot_user_activity.py",
"max_stars_repo_name": "KanayBhandari/discord_bot_project",
"max_stars_count": 0,
"id": "277",
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "b0ed110d98509a6962d1039a4ca6f3bc7780e38a3efd82535f07d7ef905260e6",
"normalized_source_hash": "a273359719b29d460eff8fe5bf51752ca663cada6a04f159b7b8f46342f2a01c",
"source_ast_hash": "9b38732469c3b35922ad1af0867509f6cff4536b0f22235c7369e07f91117e6b",
"artifact_hash": "f98104873306dd46d3f5da56... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python3
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="fastnode2vec",
version="0.0.5",
author="<NAME>",
license="MIT",
author_email="<EMAIL>",
description="Fast implementation of node... | # !/usr/bin/env python3
Load os.
Load setup from setuptools.
Define function read with parameter fname:
Return (open with (os dot path dot join with (os dot path dot dirname with __file__) and fname)) dot read with no values.
Call setup with name set to "fastnode2vec", version set to "0.0.5", author set to "<NAME>"... | python | en | run_002_20260417_060406 | 159 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "skojaku/fastnode2vec",
"max_stars_count": 61,
"id": "278",
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bloc... | {
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"normalized_source_hash": "90d8db94c3816178364dbfe9ae013b8336be1769d41050e8b5980a71faea370f",
"source_ast_hash": "476fdfcad12b1e9b5062af4969d1424b38d57e0e64d8bf81ae8f8939cf9f3601",
"artifact_hash": "19a14f4b252614ea31350707... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python3
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="fastnode2vec",
version="0.0.5",
author="<NAME>",
license="MIT",
author_email="<EMAIL>",
description="Fast implementation of node... | # !/usr/bin/env python3
Importar os.
Importar setup desde setuptools.
Definir función read con parámetro fname:
Devolver (open con (os punto path punto join con (os punto path punto dirname con __file__) y también fname)) punto read sin argumentos.
Llamar setup con name establecido a "fastnode2vec", version estable... | python | es | run_002_20260417_060406 | 159 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "skojaku/fastnode2vec",
"max_stars_count": 61,
"id": "278",
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bloc... | {
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"normalized_source_hash": "90d8db94c3816178364dbfe9ae013b8336be1769d41050e8b5980a71faea370f",
"source_ast_hash": "476fdfcad12b1e9b5062af4969d1424b38d57e0e64d8bf81ae8f8939cf9f3601",
"artifact_hash": "19a14f4b252614ea31350707... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python3
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="fastnode2vec",
version="0.0.5",
author="<NAME>",
license="MIT",
author_email="<EMAIL>",
description="Fast implementation of node... | # !/usr/bin/env python3
Charger os.
Charger setup depuis setuptools.
Définir fonction read avec paramètre fname:
Retourner (open avec (os point de path point de join avec (os point de path point de dirname avec __file__) et fname)) point de read sans arguments.
Appeler setup avec name défini à "fastnode2vec", versi... | python | fr | run_002_20260417_060406 | 159 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "skojaku/fastnode2vec",
"max_stars_count": 61,
"id": "278",
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bloc... | {
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"normalized_source_hash": "90d8db94c3816178364dbfe9ae013b8336be1769d41050e8b5980a71faea370f",
"source_ast_hash": "476fdfcad12b1e9b5062af4969d1424b38d57e0e64d8bf81ae8f8939cf9f3601",
"artifact_hash": "19a14f4b252614ea31350707... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python3
Load os.
Load setup from setuptools.
Define function read with parameter fname:
Return (open with (os dot path dot join with (os dot path dot dirname with __file__) and fname)) dot read with no values.
Call setup with name set to "fastnode2vec", version set to "0.0.5", author set to "<NAME>"... | #!/usr/bin/env python3
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="fastnode2vec",
version="0.0.5",
author="<NAME>",
license="MIT",
author_email="<EMAIL>",
description="Fast implementation of node... | en | python | run_002_20260417_060406 | 159 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "skojaku/fastnode2vec",
"max_stars_count": 61,
"id": "278",
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bloc... | {
"raw_source_hash": "562654a2da75045cad7ef526c9b01d68c6b00b2a9b98c950e3b9f6a7cc718849",
"normalized_source_hash": "90d8db94c3816178364dbfe9ae013b8336be1769d41050e8b5980a71faea370f",
"source_ast_hash": "476fdfcad12b1e9b5062af4969d1424b38d57e0e64d8bf81ae8f8939cf9f3601",
"artifact_hash": "19a14f4b252614ea31350707... | true | true | null |
python_to_en_plaincode | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
SECRET_KEY = os.getenv('SECRET_KEY', '')
DEBUG = False
class DevelopmentConfig(Config):
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'flask_main.db')
SQLALCHEMY_TRACK_MODIFICATIONS = False... | Load os.
Set basedir to os dot path dot abspath with (os dot path dot dirname with __file__).
Define class Config:
Set SECRET_KEY to os dot getenv with "SECRET_KEY" and "".
Set DEBUG to False.
Define class DevelopmentConfig inheriting from Config:
Set DEBUG to True.
Set SQLALCHEMY_DATABASE_URI to "sqlit... | python | en | run_002_20260417_060406 | 160 | {
"max_stars_repo_path": "app/main/config.py",
"max_stars_repo_name": "nhattvm11/flask-restful-boilerplate",
"max_stars_count": 0,
"id": "279",
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"normalized_source_hash": "d3771a9ed881cd63049cd6869f23be14b3de0b65b54ae2cc3788243ddbf4f24e",
"source_ast_hash": "d31ec4904180776ad02ee9e84b08343b5f9385872f4397e3979e17918ec57636",
"artifact_hash": "c91aefe7a7ce15ce4b41a1ff... | true | true | null |
python_to_es_plaincode | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
SECRET_KEY = os.getenv('SECRET_KEY', '')
DEBUG = False
class DevelopmentConfig(Config):
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'flask_main.db')
SQLALCHEMY_TRACK_MODIFICATIONS = False... | Importar os.
Establecer basedir como os punto path punto abspath con (os punto path punto dirname con __file__).
Definir clase Config:
Establecer SECRET_KEY como os punto getenv con "SECRET_KEY" y también "".
Establecer DEBUG como False.
Definir clase DevelopmentConfig heredando de Config:
Establecer DEBUG ... | python | es | run_002_20260417_060406 | 160 | {
"max_stars_repo_path": "app/main/config.py",
"max_stars_repo_name": "nhattvm11/flask-restful-boilerplate",
"max_stars_count": 0,
"id": "279",
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"normalized_source_hash": "d3771a9ed881cd63049cd6869f23be14b3de0b65b54ae2cc3788243ddbf4f24e",
"source_ast_hash": "d31ec4904180776ad02ee9e84b08343b5f9385872f4397e3979e17918ec57636",
"artifact_hash": "c91aefe7a7ce15ce4b41a1ff... | true | true | null |
python_to_fr_plaincode | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
SECRET_KEY = os.getenv('SECRET_KEY', '')
DEBUG = False
class DevelopmentConfig(Config):
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'flask_main.db')
SQLALCHEMY_TRACK_MODIFICATIONS = False... | Charger os.
Affecter basedir à os point de path point de abspath avec (os point de path point de dirname avec __file__).
Définir classe Config:
Affecter SECRET_KEY à os point de getenv avec "SECRET_KEY" et "".
Affecter DEBUG à False.
Définir classe DevelopmentConfig héritant de Config:
Affecter DEBUG à True... | python | fr | run_002_20260417_060406 | 160 | {
"max_stars_repo_path": "app/main/config.py",
"max_stars_repo_name": "nhattvm11/flask-restful-boilerplate",
"max_stars_count": 0,
"id": "279",
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"normalized_source_hash": "d3771a9ed881cd63049cd6869f23be14b3de0b65b54ae2cc3788243ddbf4f24e",
"source_ast_hash": "d31ec4904180776ad02ee9e84b08343b5f9385872f4397e3979e17918ec57636",
"artifact_hash": "c91aefe7a7ce15ce4b41a1ff... | true | true | null |
en_plaincode_to_python | Load os.
Set basedir to os dot path dot abspath with (os dot path dot dirname with __file__).
Define class Config:
Set SECRET_KEY to os dot getenv with "SECRET_KEY" and "".
Set DEBUG to False.
Define class DevelopmentConfig inheriting from Config:
Set DEBUG to True.
Set SQLALCHEMY_DATABASE_URI to "sqlit... | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config:
SECRET_KEY = os.getenv('SECRET_KEY', '')
DEBUG = False
class DevelopmentConfig(Config):
DEBUG = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'flask_main.db')
SQLALCHEMY_TRACK_MODIFICATIONS = False... | en | python | run_002_20260417_060406 | 160 | {
"max_stars_repo_path": "app/main/config.py",
"max_stars_repo_name": "nhattvm11/flask-restful-boilerplate",
"max_stars_count": 0,
"id": "279",
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4603ee23f12cd1e7bac60e90c185898aeea2e431f315387c0e2b191ed1224967",
"normalized_source_hash": "d3771a9ed881cd63049cd6869f23be14b3de0b65b54ae2cc3788243ddbf4f24e",
"source_ast_hash": "d31ec4904180776ad02ee9e84b08343b5f9385872f4397e3979e17918ec57636",
"artifact_hash": "c91aefe7a7ce15ce4b41a1ff... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python
import pwd
from ansible.module_utils.basic import AnsibleModule
class User:
def __init__(self, user):
self.user = user
# Check if user exists
def check_if_user_exists(self):
try:
user = pwd.getpwnam(self.user)
success = True
ret_ms... | # !/usr/bin/env python
Load pwd.
Load AnsibleModule from ansible.module_utils.basic.
Define class User:
Define method __init__ with parameters self, user:
Set self dot user to user.
# Check if user exists
Define method check_if_user_exists with parameter self:
Attempt the following:
... | python | en | run_002_20260417_060406 | 161 | {
"max_stars_repo_path": "Chapter07/library/check_user_py3.py",
"max_stars_repo_name": "djouani/Learning-Ansible-2.X-Third-Edition",
"max_stars_count": 22,
"id": "280",
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"normalized_source_hash": "4b9f865df96be87726ec10937416d8d3ac0a9a2a758e82c3db6d835977b579a0",
"source_ast_hash": "1b658f9e0d8316562159e6e9da6d7dfbc10c9aea39a04f49d8ecf32e2f0be0c6",
"artifact_hash": "0f43e7c181ba1256792c5de9... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python
import pwd
from ansible.module_utils.basic import AnsibleModule
class User:
def __init__(self, user):
self.user = user
# Check if user exists
def check_if_user_exists(self):
try:
user = pwd.getpwnam(self.user)
success = True
ret_ms... | # !/usr/bin/env python
Importar pwd.
Importar AnsibleModule desde ansible.module_utils.basic.
Definir clase User:
Definir método __init__ con parámetros self, user:
Establecer self punto user como user.
# Check si user exists
Definir método check_if_user_exists con parámetro self:
Intentar l... | python | es | run_002_20260417_060406 | 161 | {
"max_stars_repo_path": "Chapter07/library/check_user_py3.py",
"max_stars_repo_name": "djouani/Learning-Ansible-2.X-Third-Edition",
"max_stars_count": 22,
"id": "280",
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"normalized_source_hash": "4b9f865df96be87726ec10937416d8d3ac0a9a2a758e82c3db6d835977b579a0",
"source_ast_hash": "1b658f9e0d8316562159e6e9da6d7dfbc10c9aea39a04f49d8ecf32e2f0be0c6",
"artifact_hash": "0f43e7c181ba1256792c5de9... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python
import pwd
from ansible.module_utils.basic import AnsibleModule
class User:
def __init__(self, user):
self.user = user
# Check if user exists
def check_if_user_exists(self):
try:
user = pwd.getpwnam(self.user)
success = True
ret_ms... | # !/usr/bin/env python
Charger pwd.
Charger AnsibleModule depuis ansible.module_utils.basic.
Définir classe User:
Définir méthode __init__ avec paramètres self, user:
Affecter self point de user à user.
# Check si user exists
Définir méthode check_if_user_exists avec paramètre self:
Essayer ... | python | fr | run_002_20260417_060406 | 161 | {
"max_stars_repo_path": "Chapter07/library/check_user_py3.py",
"max_stars_repo_name": "djouani/Learning-Ansible-2.X-Third-Edition",
"max_stars_count": 22,
"id": "280",
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"normalized_source_hash": "4b9f865df96be87726ec10937416d8d3ac0a9a2a758e82c3db6d835977b579a0",
"source_ast_hash": "1b658f9e0d8316562159e6e9da6d7dfbc10c9aea39a04f49d8ecf32e2f0be0c6",
"artifact_hash": "0f43e7c181ba1256792c5de9... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python
Load pwd.
Load AnsibleModule from ansible.module_utils.basic.
Define class User:
Define method __init__ with parameters self, user:
Set self dot user to user.
# Check if user exists
Define method check_if_user_exists with parameter self:
Attempt the following:
... | #!/usr/bin/env python
import pwd
from ansible.module_utils.basic import AnsibleModule
class User:
def __init__(self, user):
self.user = user
# Check if user exists
def check_if_user_exists(self):
try:
user = pwd.getpwnam(self.user)
success = True
ret_ms... | en | python | run_002_20260417_060406 | 161 | {
"max_stars_repo_path": "Chapter07/library/check_user_py3.py",
"max_stars_repo_name": "djouani/Learning-Ansible-2.X-Third-Edition",
"max_stars_count": 22,
"id": "280",
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "d1e1ec61d0fd2cd523db125b55c38ef47696ae07367f22ab4460eceb1930b723",
"normalized_source_hash": "4b9f865df96be87726ec10937416d8d3ac0a9a2a758e82c3db6d835977b579a0",
"source_ast_hash": "1b658f9e0d8316562159e6e9da6d7dfbc10c9aea39a04f49d8ecf32e2f0be0c6",
"artifact_hash": "0f43e7c181ba1256792c5de9... | true | true | null |
python_to_en_plaincode | from __future__ import print_function
import httplib2
import os
import sys
import pickle
from apiclient import discovery
from apiclient import errors
from oauth2client import client
from oauth2client import tools
from oauth2client.file import Storage
try:
import argparse
flags = argparse.ArgumentParser(parents... | Load print_function from __future__.
Load httplib2.
Load os.
Load sys.
Load pickle.
Load discovery from apiclient.
Load errors from apiclient.
Load client from oauth2client.
Load tools from oauth2client.
Load Storage from oauth2client.file.
Attempt the following:
Load argparse.
Set flags to (argparse dot Argume... | python | en | run_002_20260417_060406 | 162 | {
"max_stars_repo_path": "remove_labels.py",
"max_stars_repo_name": "iFishy/DomainApp",
"max_stars_count": 0,
"id": "283",
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 371,
"largest_triple... | {
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"normalized_source_hash": "a4472f4b2756e77978957760234a84b532c41148d71623216716035d2b348345",
"source_ast_hash": "ca5c1722b67ec5a02d176383e6025904e0eb1e59c857a228cd78c362de7818bf",
"artifact_hash": "2dd366f7239d164c21e4a733... | true | true | null |
python_to_es_plaincode | from __future__ import print_function
import httplib2
import os
import sys
import pickle
from apiclient import discovery
from apiclient import errors
from oauth2client import client
from oauth2client import tools
from oauth2client.file import Storage
try:
import argparse
flags = argparse.ArgumentParser(parents... | Importar print_function desde __future__.
Importar httplib2.
Importar os.
Importar sys.
Importar pickle.
Importar discovery desde apiclient.
Importar errors desde apiclient.
Importar client desde oauth2client.
Importar tools desde oauth2client.
Importar Storage desde oauth2client.file.
Intentar lo siguiente:
Import... | python | es | run_002_20260417_060406 | 162 | {
"max_stars_repo_path": "remove_labels.py",
"max_stars_repo_name": "iFishy/DomainApp",
"max_stars_count": 0,
"id": "283",
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 371,
"largest_triple... | {
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"normalized_source_hash": "a4472f4b2756e77978957760234a84b532c41148d71623216716035d2b348345",
"source_ast_hash": "ca5c1722b67ec5a02d176383e6025904e0eb1e59c857a228cd78c362de7818bf",
"artifact_hash": "2dd366f7239d164c21e4a733... | true | true | null |
python_to_fr_plaincode | from __future__ import print_function
import httplib2
import os
import sys
import pickle
from apiclient import discovery
from apiclient import errors
from oauth2client import client
from oauth2client import tools
from oauth2client.file import Storage
try:
import argparse
flags = argparse.ArgumentParser(parents... | Charger print_function depuis __future__.
Charger httplib2.
Charger os.
Charger sys.
Charger pickle.
Charger discovery depuis apiclient.
Charger errors depuis apiclient.
Charger client depuis oauth2client.
Charger tools depuis oauth2client.
Charger Storage depuis oauth2client.file.
Essayer ce qui suit:
Charger argp... | python | fr | run_002_20260417_060406 | 162 | {
"max_stars_repo_path": "remove_labels.py",
"max_stars_repo_name": "iFishy/DomainApp",
"max_stars_count": 0,
"id": "283",
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 371,
"largest_triple... | {
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"normalized_source_hash": "a4472f4b2756e77978957760234a84b532c41148d71623216716035d2b348345",
"source_ast_hash": "ca5c1722b67ec5a02d176383e6025904e0eb1e59c857a228cd78c362de7818bf",
"artifact_hash": "2dd366f7239d164c21e4a733... | true | true | null |
en_plaincode_to_python | Load print_function from __future__.
Load httplib2.
Load os.
Load sys.
Load pickle.
Load discovery from apiclient.
Load errors from apiclient.
Load client from oauth2client.
Load tools from oauth2client.
Load Storage from oauth2client.file.
Attempt the following:
Load argparse.
Set flags to (argparse dot Argume... | from __future__ import print_function
import httplib2
import os
import sys
import pickle
from apiclient import discovery
from apiclient import errors
from oauth2client import client
from oauth2client import tools
from oauth2client.file import Storage
try:
import argparse
flags = argparse.ArgumentParser(parents... | en | python | run_002_20260417_060406 | 162 | {
"max_stars_repo_path": "remove_labels.py",
"max_stars_repo_name": "iFishy/DomainApp",
"max_stars_count": 0,
"id": "283",
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 371,
"largest_triple... | {
"raw_source_hash": "1363ea533788ffc5d3cf59dd3adfc084334f24eb621c10447f92d1f4d83d403c",
"normalized_source_hash": "a4472f4b2756e77978957760234a84b532c41148d71623216716035d2b348345",
"source_ast_hash": "ca5c1722b67ec5a02d176383e6025904e0eb1e59c857a228cd78c362de7818bf",
"artifact_hash": "2dd366f7239d164c21e4a733... | true | true | null |
python_to_en_plaincode | import numpy as np
import sys
## ROCKSTAR ##
halostruct1 = np.dtype([('id',np.int64),
('pos',np.float32,(6,)),
('corevel',np.float32,(3,)),
('bulkvel',np.float32,(3,)),
('m',np.float32),
('r',np.floa... | Load numpy, referred to as np.
Load sys.
# # ROCKSTAR ##
Set halostruct1 to np dot dtype with the list [
the tuple ("id", np dot int64),
the tuple ("pos", np dot float32, the tuple (6,)),
the tuple ("corevel", np dot float32, the tuple (3,)),
the tuple ("bulkvel", np dot float32, the tuple (3,)),
the tuple ("m", np dot... | python | en | run_002_20260417_060406 | 163 | {
"max_stars_repo_path": "readgadget/modules/rs_structs.py",
"max_stars_repo_name": "danielmarostica/pygadgetreader",
"max_stars_count": 6,
"id": "284",
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"normalized_source_hash": "7d05006811e38dedebf7419c9a13a18ce87a94efd9099b0d9aeb23a5b72f5912",
"source_ast_hash": "980233e8158fbae0c383822c994db064cecc378a017c66e0a3de184eaf4f92c2",
"artifact_hash": "87d83e1a74c406f2561420d5... | true | true | null |
python_to_es_plaincode | import numpy as np
import sys
## ROCKSTAR ##
halostruct1 = np.dtype([('id',np.int64),
('pos',np.float32,(6,)),
('corevel',np.float32,(3,)),
('bulkvel',np.float32,(3,)),
('m',np.float32),
('r',np.floa... | Importar numpy, referido como np.
Importar sys.
# # ROCKSTAR ##
Establecer halostruct1 como np punto dtype con la lista [
la tupla ("id", np punto int64),
la tupla ("pos", np punto float32, la tupla (6,)),
la tupla ("corevel", np punto float32, la tupla (3,)),
la tupla ("bulkvel", np punto float32, la tupla (3,)),
la t... | python | es | run_002_20260417_060406 | 163 | {
"max_stars_repo_path": "readgadget/modules/rs_structs.py",
"max_stars_repo_name": "danielmarostica/pygadgetreader",
"max_stars_count": 6,
"id": "284",
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"normalized_source_hash": "7d05006811e38dedebf7419c9a13a18ce87a94efd9099b0d9aeb23a5b72f5912",
"source_ast_hash": "980233e8158fbae0c383822c994db064cecc378a017c66e0a3de184eaf4f92c2",
"artifact_hash": "87d83e1a74c406f2561420d5... | true | true | null |
python_to_fr_plaincode | import numpy as np
import sys
## ROCKSTAR ##
halostruct1 = np.dtype([('id',np.int64),
('pos',np.float32,(6,)),
('corevel',np.float32,(3,)),
('bulkvel',np.float32,(3,)),
('m',np.float32),
('r',np.floa... | Charger numpy, référé comme np.
Charger sys.
# # ROCKSTAR ##
Affecter halostruct1 à np point de dtype avec la liste [
le tuple ("id", np point de int64),
le tuple ("pos", np point de float32, le tuple (6,)),
le tuple ("corevel", np point de float32, le tuple (3,)),
le tuple ("bulkvel", np point de float32, le tuple (3,... | python | fr | run_002_20260417_060406 | 163 | {
"max_stars_repo_path": "readgadget/modules/rs_structs.py",
"max_stars_repo_name": "danielmarostica/pygadgetreader",
"max_stars_count": 6,
"id": "284",
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"normalized_source_hash": "7d05006811e38dedebf7419c9a13a18ce87a94efd9099b0d9aeb23a5b72f5912",
"source_ast_hash": "980233e8158fbae0c383822c994db064cecc378a017c66e0a3de184eaf4f92c2",
"artifact_hash": "87d83e1a74c406f2561420d5... | true | true | null |
en_plaincode_to_python | Load numpy, referred to as np.
Load sys.
# # ROCKSTAR ##
Set halostruct1 to np dot dtype with the list [
the tuple ("id", np dot int64),
the tuple ("pos", np dot float32, the tuple (6,)),
the tuple ("corevel", np dot float32, the tuple (3,)),
the tuple ("bulkvel", np dot float32, the tuple (3,)),
the tuple ("m", np dot... | import numpy as np
import sys
## ROCKSTAR ##
halostruct1 = np.dtype([('id',np.int64),
('pos',np.float32,(6,)),
('corevel',np.float32,(3,)),
('bulkvel',np.float32,(3,)),
('m',np.float32),
('r',np.floa... | en | python | run_002_20260417_060406 | 163 | {
"max_stars_repo_path": "readgadget/modules/rs_structs.py",
"max_stars_repo_name": "danielmarostica/pygadgetreader",
"max_stars_count": 6,
"id": "284",
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "625f7d7ac6fed790910153d0fd32dbc18d60efb5e85ce3a5ef549985e71acba0",
"normalized_source_hash": "7d05006811e38dedebf7419c9a13a18ce87a94efd9099b0d9aeb23a5b72f5912",
"source_ast_hash": "980233e8158fbae0c383822c994db064cecc378a017c66e0a3de184eaf4f92c2",
"artifact_hash": "87d83e1a74c406f2561420d5... | true | true | null |
python_to_en_plaincode | """ics2entropiawiki
Read an ics file with the entropia events and insert them in to the
entropia homepage wiki.
Example:
$ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini
Inserts events not in the past to the "Termine" Wiki page and appends past
events to the "Vergangene_Termine" Site
"""
impo... | Text block:
"ics2entropiawiki"
""
"Read an ics file with the entropia events and insert them in to the"
"entropia homepage wiki."
""
"Example:"
""
" $ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini"
""
"Inserts events not in the past to the \"Termine\" Wiki page and appends past"
"events to the \"... | python | en | run_002_20260417_060406 | 164 | {
"max_stars_repo_path": "ics2entropiawiki.py",
"max_stars_repo_name": "entropia/ics2entropiawiki",
"max_stars_count": 2,
"id": "285",
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"sanitize_meta": {
"triple_block_count": 18,
"total_triple_chars": 2660,
"... | {
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"normalized_source_hash": "436a939423f9d12f5c51a68387949fe3858ffe23a7feffd9be8cb6b21ddac0e1",
"source_ast_hash": "a573e367fe3bdad69fd9302e38c43cb2cc38c2e81f32ff61ee8c7f9bc26e1755",
"artifact_hash": "74b3094d2aed2b3b257cd106... | true | true | null |
python_to_es_plaincode | """ics2entropiawiki
Read an ics file with the entropia events and insert them in to the
entropia homepage wiki.
Example:
$ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini
Inserts events not in the past to the "Termine" Wiki page and appends past
events to the "Vergangene_Termine" Site
"""
impo... | Texto literal:
"ics2entropiawiki"
""
"Read an ics file with the entropia events and insert them in to the"
"entropia homepage wiki."
""
"Example:"
""
" $ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini"
""
"Inserts events not in the past to the \"Termine\" Wiki page and appends past"
"events to the... | python | es | run_002_20260417_060406 | 164 | {
"max_stars_repo_path": "ics2entropiawiki.py",
"max_stars_repo_name": "entropia/ics2entropiawiki",
"max_stars_count": 2,
"id": "285",
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"sanitize_meta": {
"triple_block_count": 18,
"total_triple_chars": 2660,
"... | {
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"normalized_source_hash": "436a939423f9d12f5c51a68387949fe3858ffe23a7feffd9be8cb6b21ddac0e1",
"source_ast_hash": "a573e367fe3bdad69fd9302e38c43cb2cc38c2e81f32ff61ee8c7f9bc26e1755",
"artifact_hash": "74b3094d2aed2b3b257cd106... | true | true | null |
python_to_fr_plaincode | """ics2entropiawiki
Read an ics file with the entropia events and insert them in to the
entropia homepage wiki.
Example:
$ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini
Inserts events not in the past to the "Termine" Wiki page and appends past
events to the "Vergangene_Termine" Site
"""
impo... | Texte littéral:
"ics2entropiawiki"
""
"Read an ics file with the entropia events and insert them in to the"
"entropia homepage wiki."
""
"Example:"
""
" $ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini"
""
"Inserts events not in the past to the \"Termine\" Wiki page and appends past"
"events to th... | python | fr | run_002_20260417_060406 | 164 | {
"max_stars_repo_path": "ics2entropiawiki.py",
"max_stars_repo_name": "entropia/ics2entropiawiki",
"max_stars_count": 2,
"id": "285",
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"sanitize_meta": {
"triple_block_count": 18,
"total_triple_chars": 2660,
"... | {
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"normalized_source_hash": "436a939423f9d12f5c51a68387949fe3858ffe23a7feffd9be8cb6b21ddac0e1",
"source_ast_hash": "a573e367fe3bdad69fd9302e38c43cb2cc38c2e81f32ff61ee8c7f9bc26e1755",
"artifact_hash": "74b3094d2aed2b3b257cd106... | true | true | null |
en_plaincode_to_python | Text block:
"ics2entropiawiki"
""
"Read an ics file with the entropia events and insert them in to the"
"entropia homepage wiki."
""
"Example:"
""
" $ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini"
""
"Inserts events not in the past to the \"Termine\" Wiki page and appends past"
"events to the \"... | """ics2entropiawiki
Read an ics file with the entropia events and insert them in to the
entropia homepage wiki.
Example:
$ ics2entropiawiki.py --config /etc/ics2entropiawiki/config.ini
Inserts events not in the past to the "Termine" Wiki page and appends past
events to the "Vergangene_Termine" Site
"""
impo... | en | python | run_002_20260417_060406 | 164 | {
"max_stars_repo_path": "ics2entropiawiki.py",
"max_stars_repo_name": "entropia/ics2entropiawiki",
"max_stars_count": 2,
"id": "285",
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"sanitize_meta": {
"triple_block_count": 18,
"total_triple_chars": 2660,
"... | {
"raw_source_hash": "582c3c38b701f57c1106958d2308c3bff6bbd6f1b1e8a1e82b9602b6501b4620",
"normalized_source_hash": "436a939423f9d12f5c51a68387949fe3858ffe23a7feffd9be8cb6b21ddac0e1",
"source_ast_hash": "a573e367fe3bdad69fd9302e38c43cb2cc38c2e81f32ff61ee8c7f9bc26e1755",
"artifact_hash": "74b3094d2aed2b3b257cd106... | true | true | null |
python_to_en_plaincode | import math
import os
import random
import re
import sys
# Complete the rotLeft function below.
def rotLeft(a, d):
alist = list(a)
b = alist[d:]+alist[:d]
return b
if __name__ == '__main__':
fptr = open(os.environ['OUTPUT_PATH'], 'w')
nd = input().split()
n = int(nd[0])
d = int(nd[1])
... | Load math.
Load os.
Load random.
Load re.
Load sys.
# Complete the rotLeft function below.
Define function rotLeft with parameters a, d:
Set alist to list with a.
Set b to (items from d to the end of alist) plus (items from the beginning up to d of alist).
Return b.
If __name__ equals "__main__":
Set fp... | python | en | run_002_20260417_060406 | 165 | {
"max_stars_repo_path": "Arrays/LeftRotation.py",
"max_stars_repo_name": "anand722000/algo_ds_101",
"max_stars_count": 175,
"id": "286",
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"l... | {
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"normalized_source_hash": "bb6be3cb6f0a77d3c3ec2e714c50721928b14873c1410b6b927e053793764db6",
"source_ast_hash": "ede047b6108d6ad38ba37cd017fdd52296990773b10c6a9272f1a7b363339c9c",
"artifact_hash": "f8b7f3501cc40ce2eb2aec06... | true | true | null |
python_to_es_plaincode | import math
import os
import random
import re
import sys
# Complete the rotLeft function below.
def rotLeft(a, d):
alist = list(a)
b = alist[d:]+alist[:d]
return b
if __name__ == '__main__':
fptr = open(os.environ['OUTPUT_PATH'], 'w')
nd = input().split()
n = int(nd[0])
d = int(nd[1])
... | Importar math.
Importar os.
Importar random.
Importar re.
Importar sys.
# Complete the rotLeft function below.
Definir función rotLeft con parámetros a, d:
Establecer alist como list con a.
Establecer b como (elementos desde d hasta el final de alist) más (elementos desde el principio hasta d de alist).
Dev... | python | es | run_002_20260417_060406 | 165 | {
"max_stars_repo_path": "Arrays/LeftRotation.py",
"max_stars_repo_name": "anand722000/algo_ds_101",
"max_stars_count": 175,
"id": "286",
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"l... | {
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"normalized_source_hash": "bb6be3cb6f0a77d3c3ec2e714c50721928b14873c1410b6b927e053793764db6",
"source_ast_hash": "ede047b6108d6ad38ba37cd017fdd52296990773b10c6a9272f1a7b363339c9c",
"artifact_hash": "f8b7f3501cc40ce2eb2aec06... | true | true | null |
python_to_fr_plaincode | import math
import os
import random
import re
import sys
# Complete the rotLeft function below.
def rotLeft(a, d):
alist = list(a)
b = alist[d:]+alist[:d]
return b
if __name__ == '__main__':
fptr = open(os.environ['OUTPUT_PATH'], 'w')
nd = input().split()
n = int(nd[0])
d = int(nd[1])
... | Charger math.
Charger os.
Charger random.
Charger re.
Charger sys.
# Complete the rotLeft function below.
Définir fonction rotLeft avec paramètres a, d:
Affecter alist à list avec a.
Affecter b à (éléments de d jusqu'à la fin de alist) plus (éléments du début jusqu'à d de alist).
Retourner b.
Si __name__ es... | python | fr | run_002_20260417_060406 | 165 | {
"max_stars_repo_path": "Arrays/LeftRotation.py",
"max_stars_repo_name": "anand722000/algo_ds_101",
"max_stars_count": 175,
"id": "286",
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"l... | {
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"normalized_source_hash": "bb6be3cb6f0a77d3c3ec2e714c50721928b14873c1410b6b927e053793764db6",
"source_ast_hash": "ede047b6108d6ad38ba37cd017fdd52296990773b10c6a9272f1a7b363339c9c",
"artifact_hash": "f8b7f3501cc40ce2eb2aec06... | true | true | null |
en_plaincode_to_python | Load math.
Load os.
Load random.
Load re.
Load sys.
# Complete the rotLeft function below.
Define function rotLeft with parameters a, d:
Set alist to list with a.
Set b to (items from d to the end of alist) plus (items from the beginning up to d of alist).
Return b.
If __name__ equals "__main__":
Set fp... | import math
import os
import random
import re
import sys
# Complete the rotLeft function below.
def rotLeft(a, d):
alist = list(a)
b = alist[d:]+alist[:d]
return b
if __name__ == '__main__':
fptr = open(os.environ['OUTPUT_PATH'], 'w')
nd = input().split()
n = int(nd[0])
d = int(nd[1])
... | en | python | run_002_20260417_060406 | 165 | {
"max_stars_repo_path": "Arrays/LeftRotation.py",
"max_stars_repo_name": "anand722000/algo_ds_101",
"max_stars_count": 175,
"id": "286",
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"l... | {
"raw_source_hash": "2a5109794c777402ddf7427b6a0bb34999e0998189fbb94adc4b693ab6f90fbc",
"normalized_source_hash": "bb6be3cb6f0a77d3c3ec2e714c50721928b14873c1410b6b927e053793764db6",
"source_ast_hash": "ede047b6108d6ad38ba37cd017fdd52296990773b10c6a9272f1a7b363339c9c",
"artifact_hash": "f8b7f3501cc40ce2eb2aec06... | true | true | null |
python_to_en_plaincode | import os
import cflearn
import platform
import unittest
from cfdata.tabular import TabularDataset
num_jobs = 0 if platform.system() == "Linux" else 2
logging_folder = "__test_zoo__"
class TestZoo(unittest.TestCase):
@staticmethod
def _test_zoo_core(model: str) -> None:
x, y = TabularDataset.iris().... | Load os.
Load cflearn.
Load platform.
Load unittest.
Load TabularDataset from cfdata.tabular.
Set num_jobs to 0 if platform dot system with no values equals "Linux" otherwise 2.
Set logging_folder to "__test_zoo__".
Define class TestZoo inheriting from unittest.TestCase:
Apply staticmethod to the following:
... | python | en | run_002_20260417_060406 | 166 | {
"max_stars_repo_path": "tests/unittests/test_zoo.py",
"max_stars_repo_name": "SaizhuoWang/carefree-learn",
"max_stars_count": 0,
"id": "287",
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"normalized_source_hash": "22b0d79349a2572e2824e3ed0d49ae6e3a5aceb0287d3f4eadd1afe65132e291",
"source_ast_hash": "bf9029aa6dd60cfcf875f1a22279aa446205ff1c8f972c74e37c229f3b78aa0b",
"artifact_hash": "3765f6d3e32a29eb1267ba89... | true | true | null |
python_to_es_plaincode | import os
import cflearn
import platform
import unittest
from cfdata.tabular import TabularDataset
num_jobs = 0 if platform.system() == "Linux" else 2
logging_folder = "__test_zoo__"
class TestZoo(unittest.TestCase):
@staticmethod
def _test_zoo_core(model: str) -> None:
x, y = TabularDataset.iris().... | Importar os.
Importar cflearn.
Importar platform.
Importar unittest.
Importar TabularDataset desde cfdata.tabular.
Establecer num_jobs como 0 si platform punto system sin argumentos es igual a "Linux" de lo contrario 2.
Establecer logging_folder como "__test_zoo__".
Definir clase TestZoo heredando de unittest.TestCase:... | python | es | run_002_20260417_060406 | 166 | {
"max_stars_repo_path": "tests/unittests/test_zoo.py",
"max_stars_repo_name": "SaizhuoWang/carefree-learn",
"max_stars_count": 0,
"id": "287",
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"normalized_source_hash": "22b0d79349a2572e2824e3ed0d49ae6e3a5aceb0287d3f4eadd1afe65132e291",
"source_ast_hash": "bf9029aa6dd60cfcf875f1a22279aa446205ff1c8f972c74e37c229f3b78aa0b",
"artifact_hash": "3765f6d3e32a29eb1267ba89... | true | true | null |
python_to_fr_plaincode | import os
import cflearn
import platform
import unittest
from cfdata.tabular import TabularDataset
num_jobs = 0 if platform.system() == "Linux" else 2
logging_folder = "__test_zoo__"
class TestZoo(unittest.TestCase):
@staticmethod
def _test_zoo_core(model: str) -> None:
x, y = TabularDataset.iris().... | Charger os.
Charger cflearn.
Charger platform.
Charger unittest.
Charger TabularDataset depuis cfdata.tabular.
Affecter num_jobs à 0 si platform point de system sans arguments est égal à "Linux" sinon 2.
Affecter logging_folder à "__test_zoo__".
Définir classe TestZoo héritant de unittest.TestCase:
Appliquer static... | python | fr | run_002_20260417_060406 | 166 | {
"max_stars_repo_path": "tests/unittests/test_zoo.py",
"max_stars_repo_name": "SaizhuoWang/carefree-learn",
"max_stars_count": 0,
"id": "287",
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"normalized_source_hash": "22b0d79349a2572e2824e3ed0d49ae6e3a5aceb0287d3f4eadd1afe65132e291",
"source_ast_hash": "bf9029aa6dd60cfcf875f1a22279aa446205ff1c8f972c74e37c229f3b78aa0b",
"artifact_hash": "3765f6d3e32a29eb1267ba89... | true | true | null |
en_plaincode_to_python | Load os.
Load cflearn.
Load platform.
Load unittest.
Load TabularDataset from cfdata.tabular.
Set num_jobs to 0 if platform dot system with no values equals "Linux" otherwise 2.
Set logging_folder to "__test_zoo__".
Define class TestZoo inheriting from unittest.TestCase:
Apply staticmethod to the following:
... | import os
import cflearn
import platform
import unittest
from cfdata.tabular import TabularDataset
num_jobs = 0 if platform.system() == "Linux" else 2
logging_folder = "__test_zoo__"
class TestZoo(unittest.TestCase):
@staticmethod
def _test_zoo_core(model: str) -> None:
x, y = TabularDataset.iris().... | en | python | run_002_20260417_060406 | 166 | {
"max_stars_repo_path": "tests/unittests/test_zoo.py",
"max_stars_repo_name": "SaizhuoWang/carefree-learn",
"max_stars_count": 0,
"id": "287",
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "502829b400b7be2b9a7ee696544945e6101128a30038450b350c7cdb5ccfcef5",
"normalized_source_hash": "22b0d79349a2572e2824e3ed0d49ae6e3a5aceb0287d3f4eadd1afe65132e291",
"source_ast_hash": "bf9029aa6dd60cfcf875f1a22279aa446205ff1c8f972c74e37c229f3b78aa0b",
"artifact_hash": "3765f6d3e32a29eb1267ba89... | true | true | null |
python_to_en_plaincode | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created by <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
from linked_list import Node, LinkedList
def merge_sort(linked_list):
'''
Sorts a linked l... | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created by <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
Load Node, LinkedList from linked_list.
Define function merge_sort with parameter linked_list:
... | python | en | run_002_20260417_060406 | 167 | {
"max_stars_repo_path": "unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py",
"max_stars_repo_name": "duliodenis/python_master_degree",
"max_stars_count": 19,
"id": "288",
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"sanitize_meta... | {
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"normalized_source_hash": "50fab2340dec791619e1aeaca6697ff4f9bf8a89040836127a483b04d0557e74",
"source_ast_hash": "95977a2eea7e04b3078b212c1244cc384754b9ec9f2eda8daf43a130d9b60076",
"artifact_hash": "6ff282aa1d4c9927f529aea0... | true | true | null |
python_to_es_plaincode | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created by <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
from linked_list import Node, LinkedList
def merge_sort(linked_list):
'''
Sorts a linked l... | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created por <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
Importar Node, LinkedList desde linked_list.
Definir función merge_sort con parámetro linked_list:... | python | es | run_002_20260417_060406 | 167 | {
"max_stars_repo_path": "unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py",
"max_stars_repo_name": "duliodenis/python_master_degree",
"max_stars_count": 19,
"id": "288",
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"sanitize_meta... | {
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"normalized_source_hash": "50fab2340dec791619e1aeaca6697ff4f9bf8a89040836127a483b04d0557e74",
"source_ast_hash": "95977a2eea7e04b3078b212c1244cc384754b9ec9f2eda8daf43a130d9b60076",
"artifact_hash": "6ff282aa1d4c9927f529aea0... | true | true | null |
python_to_fr_plaincode | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created by <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
from linked_list import Node, LinkedList
def merge_sort(linked_list):
'''
Sorts a linked l... | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created par <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
Charger Node, LinkedList depuis linked_list.
Définir fonction merge_sort avec paramètre linked_lis... | python | fr | run_002_20260417_060406 | 167 | {
"max_stars_repo_path": "unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py",
"max_stars_repo_name": "duliodenis/python_master_degree",
"max_stars_count": 19,
"id": "288",
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"sanitize_meta... | {
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"normalized_source_hash": "50fab2340dec791619e1aeaca6697ff4f9bf8a89040836127a483b04d0557e74",
"source_ast_hash": "95977a2eea7e04b3078b212c1244cc384754b9ec9f2eda8daf43a130d9b60076",
"artifact_hash": "6ff282aa1d4c9927f529aea0... | true | true | null |
en_plaincode_to_python | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created by <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
Load Node, LinkedList from linked_list.
Define function merge_sort with parameter linked_list:
... | #
# Data Structures: Linked List Merge Sort: The Conquer Step
# Python Techdegree
#
# Created by <NAME> on 3/24/19.
# Copyright (c) 2019 ddApps. All rights reserved.
# ------------------------------------------------
from linked_list import Node, LinkedList
def merge_sort(linked_list):
'''
Sorts a linked l... | en | python | run_002_20260417_060406 | 167 | {
"max_stars_repo_path": "unit_13/26-Data_Structures/4_Merge_Sort_and_Linked_Lists/3_linked_list_merge_sort.py",
"max_stars_repo_name": "duliodenis/python_master_degree",
"max_stars_count": 19,
"id": "288",
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"sanitize_meta... | {
"raw_source_hash": "3ee49ab67b9ce672105359c7375072b69321c414a21522b5b7d510b9d5f9cbd7",
"normalized_source_hash": "50fab2340dec791619e1aeaca6697ff4f9bf8a89040836127a483b04d0557e74",
"source_ast_hash": "95977a2eea7e04b3078b212c1244cc384754b9ec9f2eda8daf43a130d9b60076",
"artifact_hash": "6ff282aa1d4c9927f529aea0... | true | true | null |
python_to_en_plaincode | # Copyright (c) 2013 <NAME>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, s... | # Copyright (c) 2013 <NAME>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, su... | python | en | run_002_20260417_060406 | 168 | {
"max_stars_repo_path": "nearpy/examples/example2.py",
"max_stars_repo_name": "samyoo78/NearPy",
"max_stars_count": 624,
"id": "289",
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"normalized_source_hash": "284e391c061342ffd6b416829649a39bafee747b023e57d3939f8d3543621a7a",
"source_ast_hash": "12e660adfb2270ca0d54f32678ca4c66ee080cb8cbb960d5cec7d9717888ff99",
"artifact_hash": "c13c732b49b2e1cb8a0496ff... | true | true | null |
python_to_es_plaincode | # Copyright (c) 2013 <NAME>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, s... | # Copyright (c) 2013 <NAME>
# Permission es hereby granted, free de charge, como any person obtaining a copy
# de this software y también associated documentation files (the "Software"), como deal
# en the Software without restriction, including without limitation the rights
# como use, copy, modify, merge, publish, di... | python | es | run_002_20260417_060406 | 168 | {
"max_stars_repo_path": "nearpy/examples/example2.py",
"max_stars_repo_name": "samyoo78/NearPy",
"max_stars_count": 624,
"id": "289",
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"normalized_source_hash": "284e391c061342ffd6b416829649a39bafee747b023e57d3939f8d3543621a7a",
"source_ast_hash": "12e660adfb2270ca0d54f32678ca4c66ee080cb8cbb960d5cec7d9717888ff99",
"artifact_hash": "c13c732b49b2e1cb8a0496ff... | true | true | null |
python_to_fr_plaincode | # Copyright (c) 2013 <NAME>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, s... | # Copyright (c) 2013 <NAME>
# Permission est hereby granted, free de charge, à any person obtaining a copy
# de this software et associated documentation files (the "Software"), à deal
# dans the Software without restriction, including without limitation the rights
# à use, copy, modify, merge, publish, distribute, sub... | python | fr | run_002_20260417_060406 | 168 | {
"max_stars_repo_path": "nearpy/examples/example2.py",
"max_stars_repo_name": "samyoo78/NearPy",
"max_stars_count": 624,
"id": "289",
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"normalized_source_hash": "284e391c061342ffd6b416829649a39bafee747b023e57d3939f8d3543621a7a",
"source_ast_hash": "12e660adfb2270ca0d54f32678ca4c66ee080cb8cbb960d5cec7d9717888ff99",
"artifact_hash": "c13c732b49b2e1cb8a0496ff... | true | true | null |
en_plaincode_to_python | # Copyright (c) 2013 <NAME>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, su... | # Copyright (c) 2013 <NAME>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, s... | en | python | run_002_20260417_060406 | 168 | {
"max_stars_repo_path": "nearpy/examples/example2.py",
"max_stars_repo_name": "samyoo78/NearPy",
"max_stars_count": 624,
"id": "289",
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "0c90a2dec264c9cd3840b97c52cecee4ca573f2b0b5d8dcfac961f8dfbc31363",
"normalized_source_hash": "284e391c061342ffd6b416829649a39bafee747b023e57d3939f8d3543621a7a",
"source_ast_hash": "12e660adfb2270ca0d54f32678ca4c66ee080cb8cbb960d5cec7d9717888ff99",
"artifact_hash": "c13c732b49b2e1cb8a0496ff... | true | true | null |
python_to_en_plaincode | from discord.ext import commands, tasks # Bot Commands Frameworkをインポート
import traceback # エラー表示のためにインポート
import os
import discord
import r
TOKEN = os.environ['DISCORD_BOT_TOKEN']
prefix = os.environ['DISCORD_BOT_PREFIX'] #プレフィックス
# 読み込むコグの名前を格納しておく。
INITIAL_EXTENSIONS = [
'cogs.eval',
'cogs.glchat',
'cogs... | Load commands, tasks from discord.ext. # Bot Commands Frameworkをインポート
Load traceback. # エラー表示のためにインポート
Load os.
Load discord.
Load r.
Set TOKEN to item with key "DISCORD_BOT_TOKEN" of os dot environ.
Set prefix to item with key "DISCORD_BOT_PREFIX" of os dot environ. # プレフィックス
# 読み込むコグの名前を格納しておく。
Set INITIAL_EXTENSIONS... | python | en | run_002_20260417_060406 | 169 | {
"max_stars_repo_path": "discordbot.py",
"max_stars_repo_name": "8ka1alu/heroku-global-py",
"max_stars_count": 0,
"id": "290",
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tri... | {
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"normalized_source_hash": "496b3d28bd64ab5dbe24834a6d8c2b7bc38d99c47493f4aab3ec1bd4b8a6f722",
"source_ast_hash": "4b42920348e78f7aec81d782fdc09c3e11689d95452d2afbf48b800a637dcc7d",
"artifact_hash": "1ff87ec5ae61ac937be7a2d7... | true | true | null |
python_to_es_plaincode | from discord.ext import commands, tasks # Bot Commands Frameworkをインポート
import traceback # エラー表示のためにインポート
import os
import discord
import r
TOKEN = os.environ['DISCORD_BOT_TOKEN']
prefix = os.environ['DISCORD_BOT_PREFIX'] #プレフィックス
# 読み込むコグの名前を格納しておく。
INITIAL_EXTENSIONS = [
'cogs.eval',
'cogs.glchat',
'cogs... | Importar commands, tasks desde discord.ext. # Bot Commands Frameworkをインポート
Importar traceback. # エラー表示のためにインポート
Importar os.
Importar discord.
Importar r.
Establecer TOKEN como elemento con clave "DISCORD_BOT_TOKEN" de os punto environ.
Establecer prefix como elemento con clave "DISCORD_BOT_PREFIX" de os punto environ.... | python | es | run_002_20260417_060406 | 169 | {
"max_stars_repo_path": "discordbot.py",
"max_stars_repo_name": "8ka1alu/heroku-global-py",
"max_stars_count": 0,
"id": "290",
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tri... | {
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"normalized_source_hash": "496b3d28bd64ab5dbe24834a6d8c2b7bc38d99c47493f4aab3ec1bd4b8a6f722",
"source_ast_hash": "4b42920348e78f7aec81d782fdc09c3e11689d95452d2afbf48b800a637dcc7d",
"artifact_hash": "1ff87ec5ae61ac937be7a2d7... | true | true | null |
python_to_fr_plaincode | from discord.ext import commands, tasks # Bot Commands Frameworkをインポート
import traceback # エラー表示のためにインポート
import os
import discord
import r
TOKEN = os.environ['DISCORD_BOT_TOKEN']
prefix = os.environ['DISCORD_BOT_PREFIX'] #プレフィックス
# 読み込むコグの名前を格納しておく。
INITIAL_EXTENSIONS = [
'cogs.eval',
'cogs.glchat',
'cogs... | Charger commands, tasks depuis discord.ext. # Bot Commands Frameworkをインポート
Charger traceback. # エラー表示のためにインポート
Charger os.
Charger discord.
Charger r.
Affecter TOKEN à élément avec clé "DISCORD_BOT_TOKEN" de os point de environ.
Affecter prefix à élément avec clé "DISCORD_BOT_PREFIX" de os point de environ. # プレフィックス
#... | python | fr | run_002_20260417_060406 | 169 | {
"max_stars_repo_path": "discordbot.py",
"max_stars_repo_name": "8ka1alu/heroku-global-py",
"max_stars_count": 0,
"id": "290",
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tri... | {
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"normalized_source_hash": "496b3d28bd64ab5dbe24834a6d8c2b7bc38d99c47493f4aab3ec1bd4b8a6f722",
"source_ast_hash": "4b42920348e78f7aec81d782fdc09c3e11689d95452d2afbf48b800a637dcc7d",
"artifact_hash": "1ff87ec5ae61ac937be7a2d7... | true | true | null |
en_plaincode_to_python | Load commands, tasks from discord.ext. # Bot Commands Frameworkをインポート
Load traceback. # エラー表示のためにインポート
Load os.
Load discord.
Load r.
Set TOKEN to item with key "DISCORD_BOT_TOKEN" of os dot environ.
Set prefix to item with key "DISCORD_BOT_PREFIX" of os dot environ. # プレフィックス
# 読み込むコグの名前を格納しておく。
Set INITIAL_EXTENSIONS... | from discord.ext import commands, tasks # Bot Commands Frameworkをインポート
import traceback # エラー表示のためにインポート
import os
import discord
import r
TOKEN = os.environ['DISCORD_BOT_TOKEN']
prefix = os.environ['DISCORD_BOT_PREFIX'] #プレフィックス
# 読み込むコグの名前を格納しておく。
INITIAL_EXTENSIONS = [
'cogs.eval',
'cogs.glchat',
'cogs... | en | python | run_002_20260417_060406 | 169 | {
"max_stars_repo_path": "discordbot.py",
"max_stars_repo_name": "8ka1alu/heroku-global-py",
"max_stars_count": 0,
"id": "290",
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tri... | {
"raw_source_hash": "301b628329cd7a7686367c67e67168a9745791221e4d59aef3ac1eec6ede7a8c",
"normalized_source_hash": "496b3d28bd64ab5dbe24834a6d8c2b7bc38d99c47493f4aab3ec1bd4b8a6f722",
"source_ast_hash": "4b42920348e78f7aec81d782fdc09c3e11689d95452d2afbf48b800a637dcc7d",
"artifact_hash": "1ff87ec5ae61ac937be7a2d7... | true | true | null |
python_to_en_plaincode | import shutil
from pathlib import Path
from unittest import TestCase
from unittest.mock import Mock
from unittest.mock import patch
from foliant.config.downloadfile import download_file
from foliant.config.downloadfile import get_file_ext_from_url
from foliant.config.downloadfile import get_file_name_from_url
class... | Load shutil.
Load Path from pathlib.
Load TestCase from unittest.
Load Mock from unittest.mock.
Load patch from unittest.mock.
Load download_file from foliant.config.downloadfile.
Load get_file_ext_from_url from foliant.config.downloadfile.
Load get_file_name_from_url from foliant.config.downloadfile.
Define class Test... | python | en | run_002_20260417_060406 | 170 | {
"max_stars_repo_path": "test/test_downloadfile.py",
"max_stars_repo_name": "foliant-docs/foliantcontrib.downloadfile",
"max_stars_count": 0,
"id": "292",
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple... | {
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"normalized_source_hash": "c3d4006cf0588655d08daf7c3a5c308c49127ada63bcf8ae32a2febbbb7e8d4f",
"source_ast_hash": "6d2c3b9ab4f1c676b8b5b42afacba97c2f500177b0726fa03dd29107600be270",
"artifact_hash": "2e0590e75fdda72a4e94dfa9... | true | true | null |
python_to_es_plaincode | import shutil
from pathlib import Path
from unittest import TestCase
from unittest.mock import Mock
from unittest.mock import patch
from foliant.config.downloadfile import download_file
from foliant.config.downloadfile import get_file_ext_from_url
from foliant.config.downloadfile import get_file_name_from_url
class... | Importar shutil.
Importar Path desde pathlib.
Importar TestCase desde unittest.
Importar Mock desde unittest.mock.
Importar patch desde unittest.mock.
Importar download_file desde foliant.config.downloadfile.
Importar get_file_ext_from_url desde foliant.config.downloadfile.
Importar get_file_name_from_url desde foliant... | python | es | run_002_20260417_060406 | 170 | {
"max_stars_repo_path": "test/test_downloadfile.py",
"max_stars_repo_name": "foliant-docs/foliantcontrib.downloadfile",
"max_stars_count": 0,
"id": "292",
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple... | {
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"normalized_source_hash": "c3d4006cf0588655d08daf7c3a5c308c49127ada63bcf8ae32a2febbbb7e8d4f",
"source_ast_hash": "6d2c3b9ab4f1c676b8b5b42afacba97c2f500177b0726fa03dd29107600be270",
"artifact_hash": "2e0590e75fdda72a4e94dfa9... | true | true | null |
python_to_fr_plaincode | import shutil
from pathlib import Path
from unittest import TestCase
from unittest.mock import Mock
from unittest.mock import patch
from foliant.config.downloadfile import download_file
from foliant.config.downloadfile import get_file_ext_from_url
from foliant.config.downloadfile import get_file_name_from_url
class... | Charger shutil.
Charger Path depuis pathlib.
Charger TestCase depuis unittest.
Charger Mock depuis unittest.mock.
Charger patch depuis unittest.mock.
Charger download_file depuis foliant.config.downloadfile.
Charger get_file_ext_from_url depuis foliant.config.downloadfile.
Charger get_file_name_from_url depuis foliant.... | python | fr | run_002_20260417_060406 | 170 | {
"max_stars_repo_path": "test/test_downloadfile.py",
"max_stars_repo_name": "foliant-docs/foliantcontrib.downloadfile",
"max_stars_count": 0,
"id": "292",
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple... | {
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"normalized_source_hash": "c3d4006cf0588655d08daf7c3a5c308c49127ada63bcf8ae32a2febbbb7e8d4f",
"source_ast_hash": "6d2c3b9ab4f1c676b8b5b42afacba97c2f500177b0726fa03dd29107600be270",
"artifact_hash": "2e0590e75fdda72a4e94dfa9... | true | true | null |
en_plaincode_to_python | Load shutil.
Load Path from pathlib.
Load TestCase from unittest.
Load Mock from unittest.mock.
Load patch from unittest.mock.
Load download_file from foliant.config.downloadfile.
Load get_file_ext_from_url from foliant.config.downloadfile.
Load get_file_name_from_url from foliant.config.downloadfile.
Define class Test... | import shutil
from pathlib import Path
from unittest import TestCase
from unittest.mock import Mock
from unittest.mock import patch
from foliant.config.downloadfile import download_file
from foliant.config.downloadfile import get_file_ext_from_url
from foliant.config.downloadfile import get_file_name_from_url
class... | en | python | run_002_20260417_060406 | 170 | {
"max_stars_repo_path": "test/test_downloadfile.py",
"max_stars_repo_name": "foliant-docs/foliantcontrib.downloadfile",
"max_stars_count": 0,
"id": "292",
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple... | {
"raw_source_hash": "c5a27b92e14da267db726ec07adefa6057c9f9f1cf93d07c03ce863b81e69791",
"normalized_source_hash": "c3d4006cf0588655d08daf7c3a5c308c49127ada63bcf8ae32a2febbbb7e8d4f",
"source_ast_hash": "6d2c3b9ab4f1c676b8b5b42afacba97c2f500177b0726fa03dd29107600be270",
"artifact_hash": "2e0590e75fdda72a4e94dfa9... | true | true | null |
python_to_en_plaincode | import discord
client = discord.Client() # 接続に使用するオブジェクト
# 起動時
@client.event
async def on_ready():
print('ログイン成功')
# メッセージを監視
@client.event
async def on_message(message):
# 「/box」が頭についたメッセージならオウム返しする
if message.content.startswith('/box'):
# 文字から「/box」を抜く
question = message.content[len(... | Load discord.
Set client to discord dot Client with no values. # 接続に使用するオブジェクト
# 起動時
Apply client dot event to the following:
Define async function on_ready:
Print "\u30ed\u30b0\u30a4\u30f3\u6210\u529f".
# メッセージを監視
Apply client dot event to the following:
Define async function on_message with parameter ... | python | en | run_002_20260417_060406 | 171 | {
"max_stars_repo_path": "question.py",
"max_stars_repo_name": "Lilium765/momoko",
"max_stars_count": 0,
"id": "293",
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block"... | {
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"normalized_source_hash": "e621e06d9ddcc3718bbeba5555e21158f95066f151d29883f0e7b403a2a7888f",
"source_ast_hash": "f5613f001e338f82f0fa1c0441c6cfb161efd2a1a3c0747be5bf1a1e1ff757af",
"artifact_hash": "a098bd898778a2fa7643c86c... | true | true | null |
python_to_es_plaincode | import discord
client = discord.Client() # 接続に使用するオブジェクト
# 起動時
@client.event
async def on_ready():
print('ログイン成功')
# メッセージを監視
@client.event
async def on_message(message):
# 「/box」が頭についたメッセージならオウム返しする
if message.content.startswith('/box'):
# 文字から「/box」を抜く
question = message.content[len(... | Importar discord.
Establecer client como discord punto Client sin argumentos. # 接続に使用するオブジェクト
# 起動時
Aplicar client punto event a lo siguiente:
Definir función asíncrona on_ready:
Imprimir "\u30ed\u30b0\u30a4\u30f3\u6210\u529f".
# メッセージを監視
Aplicar client punto event a lo siguiente:
Definir función asíncr... | python | es | run_002_20260417_060406 | 171 | {
"max_stars_repo_path": "question.py",
"max_stars_repo_name": "Lilium765/momoko",
"max_stars_count": 0,
"id": "293",
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block"... | {
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"normalized_source_hash": "e621e06d9ddcc3718bbeba5555e21158f95066f151d29883f0e7b403a2a7888f",
"source_ast_hash": "f5613f001e338f82f0fa1c0441c6cfb161efd2a1a3c0747be5bf1a1e1ff757af",
"artifact_hash": "a098bd898778a2fa7643c86c... | true | true | null |
python_to_fr_plaincode | import discord
client = discord.Client() # 接続に使用するオブジェクト
# 起動時
@client.event
async def on_ready():
print('ログイン成功')
# メッセージを監視
@client.event
async def on_message(message):
# 「/box」が頭についたメッセージならオウム返しする
if message.content.startswith('/box'):
# 文字から「/box」を抜く
question = message.content[len(... | Charger discord.
Affecter client à discord point de Client sans arguments. # 接続に使用するオブジェクト
# 起動時
Appliquer client point de event à ce qui suit:
Définir fonction asynchrone on_ready:
Afficher "\u30ed\u30b0\u30a4\u30f3\u6210\u529f".
# メッセージを監視
Appliquer client point de event à ce qui suit:
Définir fonctio... | python | fr | run_002_20260417_060406 | 171 | {
"max_stars_repo_path": "question.py",
"max_stars_repo_name": "Lilium765/momoko",
"max_stars_count": 0,
"id": "293",
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block"... | {
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"normalized_source_hash": "e621e06d9ddcc3718bbeba5555e21158f95066f151d29883f0e7b403a2a7888f",
"source_ast_hash": "f5613f001e338f82f0fa1c0441c6cfb161efd2a1a3c0747be5bf1a1e1ff757af",
"artifact_hash": "a098bd898778a2fa7643c86c... | true | true | null |
en_plaincode_to_python | Load discord.
Set client to discord dot Client with no values. # 接続に使用するオブジェクト
# 起動時
Apply client dot event to the following:
Define async function on_ready:
Print "\u30ed\u30b0\u30a4\u30f3\u6210\u529f".
# メッセージを監視
Apply client dot event to the following:
Define async function on_message with parameter ... | import discord
client = discord.Client() # 接続に使用するオブジェクト
# 起動時
@client.event
async def on_ready():
print('ログイン成功')
# メッセージを監視
@client.event
async def on_message(message):
# 「/box」が頭についたメッセージならオウム返しする
if message.content.startswith('/box'):
# 文字から「/box」を抜く
question = message.content[len(... | en | python | run_002_20260417_060406 | 171 | {
"max_stars_repo_path": "question.py",
"max_stars_repo_name": "Lilium765/momoko",
"max_stars_count": 0,
"id": "293",
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block"... | {
"raw_source_hash": "48ec65c99fb4db6edddc078da46204ce32a028a6bb5306c479f4ed612269a677",
"normalized_source_hash": "e621e06d9ddcc3718bbeba5555e21158f95066f151d29883f0e7b403a2a7888f",
"source_ast_hash": "f5613f001e338f82f0fa1c0441c6cfb161efd2a1a3c0747be5bf1a1e1ff757af",
"artifact_hash": "a098bd898778a2fa7643c86c... | true | true | null |
python_to_en_plaincode | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | python | en | run_002_20260417_060406 | 172 | {
"max_stars_repo_path": "azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py",
"max_stars_repo_name": "vijayraavi/azure-devops-cli-extension",
"max_stars_count": 0,
"id": "296",
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"san... | {
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"normalized_source_hash": "07c628975462800f121cfaf2633c79e9668babad871961aedfb56ce2757c0000",
"source_ast_hash": "1cba2e46c2d5b4e528b8a3e9ff583efe9d94e85b99c6cb6d95b72799649cc92f",
"artifact_hash": "a63d3088f2fd2260b13b5d61... | true | true | null |
python_to_es_plaincode | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt en the project root for license information.
# --------------------------------------------------------------------... | python | es | run_002_20260417_060406 | 172 | {
"max_stars_repo_path": "azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py",
"max_stars_repo_name": "vijayraavi/azure-devops-cli-extension",
"max_stars_count": 0,
"id": "296",
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"san... | {
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"normalized_source_hash": "07c628975462800f121cfaf2633c79e9668babad871961aedfb56ce2757c0000",
"source_ast_hash": "1cba2e46c2d5b4e528b8a3e9ff583efe9d94e85b99c6cb6d95b72799649cc92f",
"artifact_hash": "a63d3088f2fd2260b13b5d61... | true | true | null |
python_to_fr_plaincode | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt dans the project root for license information.
# ------------------------------------------------------------------... | python | fr | run_002_20260417_060406 | 172 | {
"max_stars_repo_path": "azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py",
"max_stars_repo_name": "vijayraavi/azure-devops-cli-extension",
"max_stars_count": 0,
"id": "296",
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"san... | {
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"normalized_source_hash": "07c628975462800f121cfaf2633c79e9668babad871961aedfb56ce2757c0000",
"source_ast_hash": "1cba2e46c2d5b4e528b8a3e9ff583efe9d94e85b99c6cb6d95b72799649cc92f",
"artifact_hash": "a63d3088f2fd2260b13b5d61... | true | true | null |
en_plaincode_to_python | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | en | python | run_002_20260417_060406 | 172 | {
"max_stars_repo_path": "azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py",
"max_stars_repo_name": "vijayraavi/azure-devops-cli-extension",
"max_stars_count": 0,
"id": "296",
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"san... | {
"raw_source_hash": "dcd0ae57f788116342b871a2fec33c02e8a1bdceca88c90e8552fbb8ac93b1a2",
"normalized_source_hash": "07c628975462800f121cfaf2633c79e9668babad871961aedfb56ce2757c0000",
"source_ast_hash": "1cba2e46c2d5b4e528b8a3e9ff583efe9d94e85b99c6cb6d95b72799649cc92f",
"artifact_hash": "a63d3088f2fd2260b13b5d61... | true | true | null |
python_to_en_plaincode | import abc
from utils import LogMixin
class Reponse(object):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def redis(self):
""" redis connection """
return
@abc.abstractmethod
def fetch(self, ids):
""" hydrate relevant ids with data """
return
class Movies(Rep... | Load abc.
Load LogMixin from utils.
Define class Reponse inheriting from object:
Set __metaclass__ to abc dot ABCMeta.
Apply abc dot abstractmethod to the following:
Define method redis with parameter self:
Evaluate " redis connection ".
Return nothing.
Apply abc dot abstract... | python | en | run_002_20260417_060406 | 173 | {
"max_stars_repo_path": "responder.py",
"max_stars_repo_name": "ziggyzacks/pyrecs",
"max_stars_count": 2,
"id": "297",
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_chars": 147,
"largest_triple_bl... | {
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"normalized_source_hash": "e4d506827233d24b2155ec970707db40262fdb21ed3f48d3aab93e4af1e956b7",
"source_ast_hash": "22922e94bd290e86cdc84dadb582971d490951d3b544abb6a319a5eae88204ce",
"artifact_hash": "890f7bcbbd4fa99a96c35ceb... | true | true | null |
python_to_es_plaincode | import abc
from utils import LogMixin
class Reponse(object):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def redis(self):
""" redis connection """
return
@abc.abstractmethod
def fetch(self, ids):
""" hydrate relevant ids with data """
return
class Movies(Rep... | Importar abc.
Importar LogMixin desde utils.
Definir clase Reponse heredando de object:
Establecer __metaclass__ como abc punto ABCMeta.
Aplicar abc punto abstractmethod a lo siguiente:
Definir método redis con parámetro self:
Evaluar " redis connection ".
Devolver nada.
Apli... | python | es | run_002_20260417_060406 | 173 | {
"max_stars_repo_path": "responder.py",
"max_stars_repo_name": "ziggyzacks/pyrecs",
"max_stars_count": 2,
"id": "297",
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_chars": 147,
"largest_triple_bl... | {
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"normalized_source_hash": "e4d506827233d24b2155ec970707db40262fdb21ed3f48d3aab93e4af1e956b7",
"source_ast_hash": "22922e94bd290e86cdc84dadb582971d490951d3b544abb6a319a5eae88204ce",
"artifact_hash": "890f7bcbbd4fa99a96c35ceb... | true | true | null |
python_to_fr_plaincode | import abc
from utils import LogMixin
class Reponse(object):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def redis(self):
""" redis connection """
return
@abc.abstractmethod
def fetch(self, ids):
""" hydrate relevant ids with data """
return
class Movies(Rep... | Charger abc.
Charger LogMixin depuis utils.
Définir classe Reponse héritant de object:
Affecter __metaclass__ à abc point de ABCMeta.
Appliquer abc point de abstractmethod à ce qui suit:
Définir méthode redis avec paramètre self:
Évaluer " redis connection ".
Retourner rien.
... | python | fr | run_002_20260417_060406 | 173 | {
"max_stars_repo_path": "responder.py",
"max_stars_repo_name": "ziggyzacks/pyrecs",
"max_stars_count": 2,
"id": "297",
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_chars": 147,
"largest_triple_bl... | {
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"normalized_source_hash": "e4d506827233d24b2155ec970707db40262fdb21ed3f48d3aab93e4af1e956b7",
"source_ast_hash": "22922e94bd290e86cdc84dadb582971d490951d3b544abb6a319a5eae88204ce",
"artifact_hash": "890f7bcbbd4fa99a96c35ceb... | true | true | null |
en_plaincode_to_python | Load abc.
Load LogMixin from utils.
Define class Reponse inheriting from object:
Set __metaclass__ to abc dot ABCMeta.
Apply abc dot abstractmethod to the following:
Define method redis with parameter self:
Evaluate " redis connection ".
Return nothing.
Apply abc dot abstract... | import abc
from utils import LogMixin
class Reponse(object):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def redis(self):
""" redis connection """
return
@abc.abstractmethod
def fetch(self, ids):
""" hydrate relevant ids with data """
return
class Movies(Rep... | en | python | run_002_20260417_060406 | 173 | {
"max_stars_repo_path": "responder.py",
"max_stars_repo_name": "ziggyzacks/pyrecs",
"max_stars_count": 2,
"id": "297",
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_chars": 147,
"largest_triple_bl... | {
"raw_source_hash": "f18e6168ed788586a9d6164a95ef5a9eb251b68bc2fb42bd23b32ef248f2f287",
"normalized_source_hash": "e4d506827233d24b2155ec970707db40262fdb21ed3f48d3aab93e4af1e956b7",
"source_ast_hash": "22922e94bd290e86cdc84dadb582971d490951d3b544abb6a319a5eae88204ce",
"artifact_hash": "890f7bcbbd4fa99a96c35ceb... | true | true | null |
python_to_en_plaincode | load("//python:compile.bzl", "py_proto_compile", "py_grpc_compile")
load("@grpc_py_deps//:requirements.bzl", "all_requirements")
def py_proto_library(**kwargs):
name = kwargs.get("name")
deps = kwargs.get("deps")
verbose = kwargs.get("verbose")
visibility = kwargs.get("visibility")
name_pb = name ... | Call load with "//python:compile.bzl", "py_proto_compile", "py_grpc_compile".
Call load with "@grpc_py_deps//:requirements.bzl", "all_requirements".
Define function py_proto_library with any number of named extra values collected as kwargs:
Set name to kwargs dot get with "name".
Set deps to kwargs dot get with... | python | en | run_002_20260417_060406 | 174 | {
"max_stars_repo_path": "python/library.bzl",
"max_stars_repo_name": "robfig/rules_proto",
"max_stars_count": 0,
"id": "298",
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"normalized_source_hash": "c5f1737b1bef7ff05805d001973111962a8a367832bc6625f3cf5f4d9be2cc2d",
"source_ast_hash": "aa6b11101588848d6f30bd51913f50c79b126fe2290fdb55548383f6772268f6",
"artifact_hash": "0243db6240f3f50e63df0c24... | true | true | null |
python_to_es_plaincode | load("//python:compile.bzl", "py_proto_compile", "py_grpc_compile")
load("@grpc_py_deps//:requirements.bzl", "all_requirements")
def py_proto_library(**kwargs):
name = kwargs.get("name")
deps = kwargs.get("deps")
verbose = kwargs.get("verbose")
visibility = kwargs.get("visibility")
name_pb = name ... | Llamar load con "//python:compile.bzl", "py_proto_compile", "py_grpc_compile".
Llamar load con "@grpc_py_deps//:requirements.bzl", "all_requirements".
Definir función py_proto_library con cualquier número de valores nombrados extra reunidos con el nombre de kwargs:
Establecer name como kwargs punto get con "name".
... | python | es | run_002_20260417_060406 | 174 | {
"max_stars_repo_path": "python/library.bzl",
"max_stars_repo_name": "robfig/rules_proto",
"max_stars_count": 0,
"id": "298",
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"normalized_source_hash": "c5f1737b1bef7ff05805d001973111962a8a367832bc6625f3cf5f4d9be2cc2d",
"source_ast_hash": "aa6b11101588848d6f30bd51913f50c79b126fe2290fdb55548383f6772268f6",
"artifact_hash": "0243db6240f3f50e63df0c24... | true | true | null |
python_to_fr_plaincode | load("//python:compile.bzl", "py_proto_compile", "py_grpc_compile")
load("@grpc_py_deps//:requirements.bzl", "all_requirements")
def py_proto_library(**kwargs):
name = kwargs.get("name")
deps = kwargs.get("deps")
verbose = kwargs.get("verbose")
visibility = kwargs.get("visibility")
name_pb = name ... | Appeler load avec "//python:compile.bzl", "py_proto_compile", "py_grpc_compile".
Appeler load avec "@grpc_py_deps//:requirements.bzl", "all_requirements".
Définir fonction py_proto_library avec tout nombre de valeurs nommées supplémentaires regroupées sous le nom de kwargs:
Affecter name à kwargs point de get avec ... | python | fr | run_002_20260417_060406 | 174 | {
"max_stars_repo_path": "python/library.bzl",
"max_stars_repo_name": "robfig/rules_proto",
"max_stars_count": 0,
"id": "298",
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"normalized_source_hash": "c5f1737b1bef7ff05805d001973111962a8a367832bc6625f3cf5f4d9be2cc2d",
"source_ast_hash": "aa6b11101588848d6f30bd51913f50c79b126fe2290fdb55548383f6772268f6",
"artifact_hash": "0243db6240f3f50e63df0c24... | true | true | null |
en_plaincode_to_python | Call load with "//python:compile.bzl", "py_proto_compile", "py_grpc_compile".
Call load with "@grpc_py_deps//:requirements.bzl", "all_requirements".
Define function py_proto_library with any number of named extra values collected as kwargs:
Set name to kwargs dot get with "name".
Set deps to kwargs dot get with... | load("//python:compile.bzl", "py_proto_compile", "py_grpc_compile")
load("@grpc_py_deps//:requirements.bzl", "all_requirements")
def py_proto_library(**kwargs):
name = kwargs.get("name")
deps = kwargs.get("deps")
verbose = kwargs.get("verbose")
visibility = kwargs.get("visibility")
name_pb = name ... | en | python | run_002_20260417_060406 | 174 | {
"max_stars_repo_path": "python/library.bzl",
"max_stars_repo_name": "robfig/rules_proto",
"max_stars_count": 0,
"id": "298",
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "e68c93cec5e15b865f84e997bc14d70117655f90922f63da5ad0d84ebef5b8b4",
"normalized_source_hash": "c5f1737b1bef7ff05805d001973111962a8a367832bc6625f3cf5f4d9be2cc2d",
"source_ast_hash": "aa6b11101588848d6f30bd51913f50c79b126fe2290fdb55548383f6772268f6",
"artifact_hash": "0243db6240f3f50e63df0c24... | true | true | null |
python_to_en_plaincode | # Copyright (c) 1999-2008 <NAME> and <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retai... | # Copyright (c) 1999-2008 <NAME> and <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retai... | python | en | run_002_20260417_060406 | 175 | {
"max_stars_repo_path": "src/mem/slicc/ast/TypeDeclAST.py",
"max_stars_repo_name": "qianlong4526888/haha",
"max_stars_count": 135,
"id": "299",
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"normalized_source_hash": "f7beff1ad7896450abd582fc63aeeb747366e73d49da73eb1a93008fa6a60a44",
"source_ast_hash": "184cf69128e4d973f8d08cc4776f964f0ab7eb1a6b04d4b33e141ea7baa79957",
"artifact_hash": "4c89e355670421744da72bba... | true | true | null |
python_to_es_plaincode | # Copyright (c) 1999-2008 <NAME> and <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retai... | # Copyright (c) 1999-2008 <NAME> y también <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution y también use en source y también binary forms, con o without
# modification, are permitted provided that the following conditions are
# met: redistributions de source... | python | es | run_002_20260417_060406 | 175 | {
"max_stars_repo_path": "src/mem/slicc/ast/TypeDeclAST.py",
"max_stars_repo_name": "qianlong4526888/haha",
"max_stars_count": 135,
"id": "299",
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"normalized_source_hash": "f7beff1ad7896450abd582fc63aeeb747366e73d49da73eb1a93008fa6a60a44",
"source_ast_hash": "184cf69128e4d973f8d08cc4776f964f0ab7eb1a6b04d4b33e141ea7baa79957",
"artifact_hash": "4c89e355670421744da72bba... | true | true | null |
python_to_fr_plaincode | # Copyright (c) 1999-2008 <NAME> and <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retai... | # Copyright (c) 1999-2008 <NAME> et <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution et use dans source et binary forms, avec ou without
# modification, are permitted provided that the following conditions are
# met: redistributions de source code must retain... | python | fr | run_002_20260417_060406 | 175 | {
"max_stars_repo_path": "src/mem/slicc/ast/TypeDeclAST.py",
"max_stars_repo_name": "qianlong4526888/haha",
"max_stars_count": 135,
"id": "299",
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"normalized_source_hash": "f7beff1ad7896450abd582fc63aeeb747366e73d49da73eb1a93008fa6a60a44",
"source_ast_hash": "184cf69128e4d973f8d08cc4776f964f0ab7eb1a6b04d4b33e141ea7baa79957",
"artifact_hash": "4c89e355670421744da72bba... | true | true | null |
en_plaincode_to_python | # Copyright (c) 1999-2008 <NAME> and <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retai... | # Copyright (c) 1999-2008 <NAME> and <NAME>
# Copyright (c) 2009 The Hewlett-Packard Development Company
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met: redistributions of source code must retai... | en | python | run_002_20260417_060406 | 175 | {
"max_stars_repo_path": "src/mem/slicc/ast/TypeDeclAST.py",
"max_stars_repo_name": "qianlong4526888/haha",
"max_stars_count": 135,
"id": "299",
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "51723dfb71bd49213cd3b08d21dfc45a5073cd46dbc4081b44fbcf733296fa13",
"normalized_source_hash": "f7beff1ad7896450abd582fc63aeeb747366e73d49da73eb1a93008fa6a60a44",
"source_ast_hash": "184cf69128e4d973f8d08cc4776f964f0ab7eb1a6b04d4b33e141ea7baa79957",
"artifact_hash": "4c89e355670421744da72bba... | true | true | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.