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 | from sympy.combinatorics import Permutation
from sympy.combinatorics.util import _distribute_gens_by_base
rmul = Permutation.rmul
def _cmp_perm_lists(first, second):
"""
Compare two lists of permutations as sets.
This is used for testing purposes. Since the array form of a
permutation is currently a... | Load Permutation from sympy.combinatorics.
Load _distribute_gens_by_base from sympy.combinatorics.util.
Set rmul to Permutation dot rmul.
Define function _cmp_perm_lists with parameters first, second:
Text block:
""
" Compare two lists of permutations as sets."
""
" This is used for testing pu... | python | en | run_002_20260417_060406 | 51 | {
"max_stars_repo_path": "sympy/combinatorics/testutil.py",
"max_stars_repo_name": "ethankward/sympy",
"max_stars_count": 2,
"id": "90",
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"sanitize_meta": {
"triple_block_count": 7,
"total_triple_chars": 5419,
... | {
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"normalized_source_hash": "38e28bfbc3c1fef5ab7e2e513d0e8f5218a3b32f584ef0ecebb8a539203a4cb3",
"source_ast_hash": "8b45d957cfd55917d46db7e0d922b11ff89b263e4157c151b2aed48835c8a429",
"artifact_hash": "c0aab291fdc5d44289b7c5de... | true | true | null |
python_to_es_plaincode | from sympy.combinatorics import Permutation
from sympy.combinatorics.util import _distribute_gens_by_base
rmul = Permutation.rmul
def _cmp_perm_lists(first, second):
"""
Compare two lists of permutations as sets.
This is used for testing purposes. Since the array form of a
permutation is currently a... | Importar Permutation desde sympy.combinatorics.
Importar _distribute_gens_by_base desde sympy.combinatorics.util.
Establecer rmul como Permutation punto rmul.
Definir función _cmp_perm_lists con parámetros first, second:
Texto literal:
""
" Compare two lists of permutations as sets."
""
" This... | python | es | run_002_20260417_060406 | 51 | {
"max_stars_repo_path": "sympy/combinatorics/testutil.py",
"max_stars_repo_name": "ethankward/sympy",
"max_stars_count": 2,
"id": "90",
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"sanitize_meta": {
"triple_block_count": 7,
"total_triple_chars": 5419,
... | {
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"normalized_source_hash": "38e28bfbc3c1fef5ab7e2e513d0e8f5218a3b32f584ef0ecebb8a539203a4cb3",
"source_ast_hash": "8b45d957cfd55917d46db7e0d922b11ff89b263e4157c151b2aed48835c8a429",
"artifact_hash": "c0aab291fdc5d44289b7c5de... | true | true | null |
python_to_fr_plaincode | from sympy.combinatorics import Permutation
from sympy.combinatorics.util import _distribute_gens_by_base
rmul = Permutation.rmul
def _cmp_perm_lists(first, second):
"""
Compare two lists of permutations as sets.
This is used for testing purposes. Since the array form of a
permutation is currently a... | Charger Permutation depuis sympy.combinatorics.
Charger _distribute_gens_by_base depuis sympy.combinatorics.util.
Affecter rmul à Permutation point de rmul.
Définir fonction _cmp_perm_lists avec paramètres first, second:
Texte littéral:
""
" Compare two lists of permutations as sets."
""
" Thi... | python | fr | run_002_20260417_060406 | 51 | {
"max_stars_repo_path": "sympy/combinatorics/testutil.py",
"max_stars_repo_name": "ethankward/sympy",
"max_stars_count": 2,
"id": "90",
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"sanitize_meta": {
"triple_block_count": 7,
"total_triple_chars": 5419,
... | {
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"normalized_source_hash": "38e28bfbc3c1fef5ab7e2e513d0e8f5218a3b32f584ef0ecebb8a539203a4cb3",
"source_ast_hash": "8b45d957cfd55917d46db7e0d922b11ff89b263e4157c151b2aed48835c8a429",
"artifact_hash": "c0aab291fdc5d44289b7c5de... | true | true | null |
en_plaincode_to_python | Load Permutation from sympy.combinatorics.
Load _distribute_gens_by_base from sympy.combinatorics.util.
Set rmul to Permutation dot rmul.
Define function _cmp_perm_lists with parameters first, second:
Text block:
""
" Compare two lists of permutations as sets."
""
" This is used for testing pu... | from sympy.combinatorics import Permutation
from sympy.combinatorics.util import _distribute_gens_by_base
rmul = Permutation.rmul
def _cmp_perm_lists(first, second):
"""
Compare two lists of permutations as sets.
This is used for testing purposes. Since the array form of a
permutation is currently a... | en | python | run_002_20260417_060406 | 51 | {
"max_stars_repo_path": "sympy/combinatorics/testutil.py",
"max_stars_repo_name": "ethankward/sympy",
"max_stars_count": 2,
"id": "90",
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"sanitize_meta": {
"triple_block_count": 7,
"total_triple_chars": 5419,
... | {
"raw_source_hash": "1897c8f65eb901cbf2df6fe132e9b35ad3926d8f476f58197242a29ac7552c4d",
"normalized_source_hash": "38e28bfbc3c1fef5ab7e2e513d0e8f5218a3b32f584ef0ecebb8a539203a4cb3",
"source_ast_hash": "8b45d957cfd55917d46db7e0d922b11ff89b263e4157c151b2aed48835c8a429",
"artifact_hash": "c0aab291fdc5d44289b7c5de... | true | true | null |
python_to_en_plaincode | localhost = "http://localhost/" # your local host
database = "mysql://root@localhost/vaticChecker" # server://user:pass@localhost/dbname
min_training = 2 # the minimum number of training videos to be considered
recaptcha_secret = "" # recaptcha secret for verification
duplicate_annotations = False #... | Set localhost to "http://localhost/". # your local host
Set database to "mysql://root@localhost/vaticChecker". # server://user:pass@localhost/dbname
Set min_training to 2. # the minimum number of training videos to be considered
Set recaptcha_secret to "". # recaptcha secret for verification
Set duplicate_annotations t... | python | en | run_002_20260417_060406 | 52 | {
"max_stars_repo_path": "src/vatic_checker/config.py",
"max_stars_repo_name": "jonkeane/vatic-checker",
"max_stars_count": 0,
"id": "91",
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"normalized_source_hash": "a2c3a157d10e9bf90ec5a56f4865b96a44158225319d1182c5449bf4af575c43",
"source_ast_hash": "ffa7b5fadf5c40b6ae64072d16a62c7e950f1f2739a13e04bbc9c40dfb4503a8",
"artifact_hash": "7dc600bf275f99cb993facc7... | true | true | null |
python_to_es_plaincode | localhost = "http://localhost/" # your local host
database = "mysql://root@localhost/vaticChecker" # server://user:pass@localhost/dbname
min_training = 2 # the minimum number of training videos to be considered
recaptcha_secret = "" # recaptcha secret for verification
duplicate_annotations = False #... | Establecer localhost como "http://localhost/". # your local host
Establecer database como "mysql://root@localhost/vaticChecker". # server://user:pass@localhost/dbname
Establecer min_training como 2. # the minimum number de training videos como be considered
Establecer recaptcha_secret como "". # recaptcha secret for ve... | python | es | run_002_20260417_060406 | 52 | {
"max_stars_repo_path": "src/vatic_checker/config.py",
"max_stars_repo_name": "jonkeane/vatic-checker",
"max_stars_count": 0,
"id": "91",
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"normalized_source_hash": "a2c3a157d10e9bf90ec5a56f4865b96a44158225319d1182c5449bf4af575c43",
"source_ast_hash": "ffa7b5fadf5c40b6ae64072d16a62c7e950f1f2739a13e04bbc9c40dfb4503a8",
"artifact_hash": "7dc600bf275f99cb993facc7... | true | true | null |
python_to_fr_plaincode | localhost = "http://localhost/" # your local host
database = "mysql://root@localhost/vaticChecker" # server://user:pass@localhost/dbname
min_training = 2 # the minimum number of training videos to be considered
recaptcha_secret = "" # recaptcha secret for verification
duplicate_annotations = False #... | Affecter localhost à "http://localhost/". # your local host
Affecter database à "mysql://root@localhost/vaticChecker". # server://user:pass@localhost/dbname
Affecter min_training à 2. # the minimum number de training videos à be considered
Affecter recaptcha_secret à "". # recaptcha secret for verification
Affecter dup... | python | fr | run_002_20260417_060406 | 52 | {
"max_stars_repo_path": "src/vatic_checker/config.py",
"max_stars_repo_name": "jonkeane/vatic-checker",
"max_stars_count": 0,
"id": "91",
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"normalized_source_hash": "a2c3a157d10e9bf90ec5a56f4865b96a44158225319d1182c5449bf4af575c43",
"source_ast_hash": "ffa7b5fadf5c40b6ae64072d16a62c7e950f1f2739a13e04bbc9c40dfb4503a8",
"artifact_hash": "7dc600bf275f99cb993facc7... | true | true | null |
en_plaincode_to_python | Set localhost to "http://localhost/". # your local host
Set database to "mysql://root@localhost/vaticChecker". # server://user:pass@localhost/dbname
Set min_training to 2. # the minimum number of training videos to be considered
Set recaptcha_secret to "". # recaptcha secret for verification
Set duplicate_annotations t... | localhost = "http://localhost/" # your local host
database = "mysql://root@localhost/vaticChecker" # server://user:pass@localhost/dbname
min_training = 2 # the minimum number of training videos to be considered
recaptcha_secret = "" # recaptcha secret for verification
duplicate_annotations = False #... | en | python | run_002_20260417_060406 | 52 | {
"max_stars_repo_path": "src/vatic_checker/config.py",
"max_stars_repo_name": "jonkeane/vatic-checker",
"max_stars_count": 0,
"id": "91",
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "89324439524550a5f48656ba058afe9b818ca1b13db79cdbc1982a87a45424ae",
"normalized_source_hash": "a2c3a157d10e9bf90ec5a56f4865b96a44158225319d1182c5449bf4af575c43",
"source_ast_hash": "ffa7b5fadf5c40b6ae64072d16a62c7e950f1f2739a13e04bbc9c40dfb4503a8",
"artifact_hash": "7dc600bf275f99cb993facc7... | true | true | null |
python_to_en_plaincode | import pytest
from pywps import Service
from pywps.tests import assert_response_success
from .common import client_for
from malleefowl.processes import processes
def test_wps_caps():
client = client_for(Service(processes=processes))
resp = client.get(service='wps', request='getcapabilities', version='1.0.0'... | Load pytest.
Load Service from pywps.
Load assert_response_success from pywps.tests.
Load client_for from the current package.common.
Load processes from malleefowl.processes.
Define function test_wps_caps:
Set client to client_for with (Service with processes set to processes).
Set resp to client dot get with ... | python | en | run_002_20260417_060406 | 53 | {
"max_stars_repo_path": "malleefowl/tests/test_wps_caps.py",
"max_stars_repo_name": "Ouranosinc/malleefowl",
"max_stars_count": 0,
"id": "93",
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"normalized_source_hash": "05b516fa257c95a0c1ed0e9b20f6e0f3c005ed81361c161d2f01a8494db25fe2",
"source_ast_hash": "78816e268199303859f1e6d4efd38a2672755e3ceae44232f4396b9d46b69e81",
"artifact_hash": "2b0e282665904558dd3d8f22... | true | true | null |
python_to_es_plaincode | import pytest
from pywps import Service
from pywps.tests import assert_response_success
from .common import client_for
from malleefowl.processes import processes
def test_wps_caps():
client = client_for(Service(processes=processes))
resp = client.get(service='wps', request='getcapabilities', version='1.0.0'... | Importar pytest.
Importar Service desde pywps.
Importar assert_response_success desde pywps.tests.
Importar client_for desde el paquete actual.common.
Importar processes desde malleefowl.processes.
Definir función test_wps_caps:
Establecer client como client_for con (Service con processes establecido a processes).
... | python | es | run_002_20260417_060406 | 53 | {
"max_stars_repo_path": "malleefowl/tests/test_wps_caps.py",
"max_stars_repo_name": "Ouranosinc/malleefowl",
"max_stars_count": 0,
"id": "93",
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"normalized_source_hash": "05b516fa257c95a0c1ed0e9b20f6e0f3c005ed81361c161d2f01a8494db25fe2",
"source_ast_hash": "78816e268199303859f1e6d4efd38a2672755e3ceae44232f4396b9d46b69e81",
"artifact_hash": "2b0e282665904558dd3d8f22... | true | true | null |
python_to_fr_plaincode | import pytest
from pywps import Service
from pywps.tests import assert_response_success
from .common import client_for
from malleefowl.processes import processes
def test_wps_caps():
client = client_for(Service(processes=processes))
resp = client.get(service='wps', request='getcapabilities', version='1.0.0'... | Charger pytest.
Charger Service depuis pywps.
Charger assert_response_success depuis pywps.tests.
Charger client_for depuis le paquet actuel.common.
Charger processes depuis malleefowl.processes.
Définir fonction test_wps_caps:
Affecter client à client_for avec (Service avec processes défini à processes).
Affec... | python | fr | run_002_20260417_060406 | 53 | {
"max_stars_repo_path": "malleefowl/tests/test_wps_caps.py",
"max_stars_repo_name": "Ouranosinc/malleefowl",
"max_stars_count": 0,
"id": "93",
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"normalized_source_hash": "05b516fa257c95a0c1ed0e9b20f6e0f3c005ed81361c161d2f01a8494db25fe2",
"source_ast_hash": "78816e268199303859f1e6d4efd38a2672755e3ceae44232f4396b9d46b69e81",
"artifact_hash": "2b0e282665904558dd3d8f22... | true | true | null |
en_plaincode_to_python | Load pytest.
Load Service from pywps.
Load assert_response_success from pywps.tests.
Load client_for from the current package.common.
Load processes from malleefowl.processes.
Define function test_wps_caps:
Set client to client_for with (Service with processes set to processes).
Set resp to client dot get with ... | import pytest
from pywps import Service
from pywps.tests import assert_response_success
from .common import client_for
from malleefowl.processes import processes
def test_wps_caps():
client = client_for(Service(processes=processes))
resp = client.get(service='wps', request='getcapabilities', version='1.0.0'... | en | python | run_002_20260417_060406 | 53 | {
"max_stars_repo_path": "malleefowl/tests/test_wps_caps.py",
"max_stars_repo_name": "Ouranosinc/malleefowl",
"max_stars_count": 0,
"id": "93",
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "ef645c5335e7f451a21188d6a661b14106b0315fc4e31b003688409ca2a92997",
"normalized_source_hash": "05b516fa257c95a0c1ed0e9b20f6e0f3c005ed81361c161d2f01a8494db25fe2",
"source_ast_hash": "78816e268199303859f1e6d4efd38a2672755e3ceae44232f4396b9d46b69e81",
"artifact_hash": "2b0e282665904558dd3d8f22... | true | true | null |
python_to_en_plaincode | from setuptools import setup
__author__ = "<NAME>"
__copyright__ = "Copyright 2019, <NAME>"
__version__ = "1.4.0"
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="pyngrok",
version=__version__,
packages=["pyngrok"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.... | Load setup from setuptools.
Set __author__ to "<NAME>".
Set __copyright__ to "Copyright 2019, <NAME>".
Set __version__ to "1.4.0".
With (open with "README.md" and "r") bound as f:
Set long_description to f dot read with no values.
Call setup with name set to "pyngrok", version set to __version__, packages set to th... | python | en | run_002_20260417_060406 | 54 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "CallumJHays/pyngrok",
"max_stars_count": 0,
"id": "94",
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 69,
"largest_triple_block"... | {
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"normalized_source_hash": "dc0e0029db602a6e550486665e030681858704b771ec22877d13b256d2e1c0fe",
"source_ast_hash": "20c73b74c125118a677e58d04b089ba2e814ea595bdc9895ce9610f397402ded",
"artifact_hash": "51070ba8279c042b5cf9fd4f... | true | true | null |
python_to_es_plaincode | from setuptools import setup
__author__ = "<NAME>"
__copyright__ = "Copyright 2019, <NAME>"
__version__ = "1.4.0"
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="pyngrok",
version=__version__,
packages=["pyngrok"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.... | Importar setup desde setuptools.
Establecer __author__ como "<NAME>".
Establecer __copyright__ como "Copyright 2019, <NAME>".
Establecer __version__ como "1.4.0".
Con (open con "README.md" y también "r") como f:
Establecer long_description como f punto read sin argumentos.
Llamar setup con name establecido a "pyngr... | python | es | run_002_20260417_060406 | 54 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "CallumJHays/pyngrok",
"max_stars_count": 0,
"id": "94",
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 69,
"largest_triple_block"... | {
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"normalized_source_hash": "dc0e0029db602a6e550486665e030681858704b771ec22877d13b256d2e1c0fe",
"source_ast_hash": "20c73b74c125118a677e58d04b089ba2e814ea595bdc9895ce9610f397402ded",
"artifact_hash": "51070ba8279c042b5cf9fd4f... | true | true | null |
python_to_fr_plaincode | from setuptools import setup
__author__ = "<NAME>"
__copyright__ = "Copyright 2019, <NAME>"
__version__ = "1.4.0"
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="pyngrok",
version=__version__,
packages=["pyngrok"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.... | Charger setup depuis setuptools.
Affecter __author__ à "<NAME>".
Affecter __copyright__ à "Copyright 2019, <NAME>".
Affecter __version__ à "1.4.0".
Avec (open avec "README.md" et "r") lié comme f:
Affecter long_description à f point de read sans arguments.
Appeler setup avec name défini à "pyngrok", version défini ... | python | fr | run_002_20260417_060406 | 54 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "CallumJHays/pyngrok",
"max_stars_count": 0,
"id": "94",
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 69,
"largest_triple_block"... | {
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"normalized_source_hash": "dc0e0029db602a6e550486665e030681858704b771ec22877d13b256d2e1c0fe",
"source_ast_hash": "20c73b74c125118a677e58d04b089ba2e814ea595bdc9895ce9610f397402ded",
"artifact_hash": "51070ba8279c042b5cf9fd4f... | true | true | null |
en_plaincode_to_python | Load setup from setuptools.
Set __author__ to "<NAME>".
Set __copyright__ to "Copyright 2019, <NAME>".
Set __version__ to "1.4.0".
With (open with "README.md" and "r") bound as f:
Set long_description to f dot read with no values.
Call setup with name set to "pyngrok", version set to __version__, packages set to th... | from setuptools import setup
__author__ = "<NAME>"
__copyright__ = "Copyright 2019, <NAME>"
__version__ = "1.4.0"
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="pyngrok",
version=__version__,
packages=["pyngrok"],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.... | en | python | run_002_20260417_060406 | 54 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "CallumJHays/pyngrok",
"max_stars_count": 0,
"id": "94",
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 69,
"largest_triple_block"... | {
"raw_source_hash": "c509acc2a0b036bded6da3e2899b31afd3249c6cc3a9e83eac816bffd98856f8",
"normalized_source_hash": "dc0e0029db602a6e550486665e030681858704b771ec22877d13b256d2e1c0fe",
"source_ast_hash": "20c73b74c125118a677e58d04b089ba2e814ea595bdc9895ce9610f397402ded",
"artifact_hash": "51070ba8279c042b5cf9fd4f... | true | true | null |
python_to_en_plaincode | import kfp.dsl as dsl
import kfp.gcp as gcp
# Pipeline input variables.
KUBECTL_IMAGE = "gcr.io/mcas-195423/trackml_master_kfp_kubectl"
KUBECTL_IMAGE_VERSION = "1"
TRACKML_IMAGE = "gcr.io/mcas-195423/trackml_master_trackml"
TRACKML_IMAGE_VERSION = "1"
def train_op():
return dsl.ContainerOp(
name='train',
im... | Load kfp.dsl, referred to as dsl.
Load kfp.gcp, referred to as gcp.
# Pipeline input variables.
Set KUBECTL_IMAGE to "gcr.io/mcas-195423/trackml_master_kfp_kubectl".
Set KUBECTL_IMAGE_VERSION to "1".
Set TRACKML_IMAGE to "gcr.io/mcas-195423/trackml_master_trackml".
Set TRACKML_IMAGE_VERSION to "1".
Define function trai... | python | en | run_002_20260417_060406 | 55 | {
"max_stars_repo_path": "pipelines/trackml.py",
"max_stars_repo_name": "texasmichelle/kubeflow-cern",
"max_stars_count": 4,
"id": "95",
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"normalized_source_hash": "0a5817f34d3f4413ed74ccf08fda7ebbb01f749364ea73fea0e5da8e085b95a6",
"source_ast_hash": "dc24ce136fe4327b2dd2b3241e289e1e7769fb5127d55502c068c682426a0d34",
"artifact_hash": "4f1a3400497c5955237c2f92... | true | true | null |
python_to_es_plaincode | import kfp.dsl as dsl
import kfp.gcp as gcp
# Pipeline input variables.
KUBECTL_IMAGE = "gcr.io/mcas-195423/trackml_master_kfp_kubectl"
KUBECTL_IMAGE_VERSION = "1"
TRACKML_IMAGE = "gcr.io/mcas-195423/trackml_master_trackml"
TRACKML_IMAGE_VERSION = "1"
def train_op():
return dsl.ContainerOp(
name='train',
im... | Importar kfp.dsl, referido como dsl.
Importar kfp.gcp, referido como gcp.
# Pipeline input variables.
Establecer KUBECTL_IMAGE como "gcr.io/mcas-195423/trackml_master_kfp_kubectl".
Establecer KUBECTL_IMAGE_VERSION como "1".
Establecer TRACKML_IMAGE como "gcr.io/mcas-195423/trackml_master_trackml".
Establecer TRACKML_IM... | python | es | run_002_20260417_060406 | 55 | {
"max_stars_repo_path": "pipelines/trackml.py",
"max_stars_repo_name": "texasmichelle/kubeflow-cern",
"max_stars_count": 4,
"id": "95",
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"normalized_source_hash": "0a5817f34d3f4413ed74ccf08fda7ebbb01f749364ea73fea0e5da8e085b95a6",
"source_ast_hash": "dc24ce136fe4327b2dd2b3241e289e1e7769fb5127d55502c068c682426a0d34",
"artifact_hash": "4f1a3400497c5955237c2f92... | true | true | null |
python_to_fr_plaincode | import kfp.dsl as dsl
import kfp.gcp as gcp
# Pipeline input variables.
KUBECTL_IMAGE = "gcr.io/mcas-195423/trackml_master_kfp_kubectl"
KUBECTL_IMAGE_VERSION = "1"
TRACKML_IMAGE = "gcr.io/mcas-195423/trackml_master_trackml"
TRACKML_IMAGE_VERSION = "1"
def train_op():
return dsl.ContainerOp(
name='train',
im... | Charger kfp.dsl, référé comme dsl.
Charger kfp.gcp, référé comme gcp.
# Pipeline input variables.
Affecter KUBECTL_IMAGE à "gcr.io/mcas-195423/trackml_master_kfp_kubectl".
Affecter KUBECTL_IMAGE_VERSION à "1".
Affecter TRACKML_IMAGE à "gcr.io/mcas-195423/trackml_master_trackml".
Affecter TRACKML_IMAGE_VERSION à "1".
Dé... | python | fr | run_002_20260417_060406 | 55 | {
"max_stars_repo_path": "pipelines/trackml.py",
"max_stars_repo_name": "texasmichelle/kubeflow-cern",
"max_stars_count": 4,
"id": "95",
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"normalized_source_hash": "0a5817f34d3f4413ed74ccf08fda7ebbb01f749364ea73fea0e5da8e085b95a6",
"source_ast_hash": "dc24ce136fe4327b2dd2b3241e289e1e7769fb5127d55502c068c682426a0d34",
"artifact_hash": "4f1a3400497c5955237c2f92... | true | true | null |
en_plaincode_to_python | Load kfp.dsl, referred to as dsl.
Load kfp.gcp, referred to as gcp.
# Pipeline input variables.
Set KUBECTL_IMAGE to "gcr.io/mcas-195423/trackml_master_kfp_kubectl".
Set KUBECTL_IMAGE_VERSION to "1".
Set TRACKML_IMAGE to "gcr.io/mcas-195423/trackml_master_trackml".
Set TRACKML_IMAGE_VERSION to "1".
Define function trai... | import kfp.dsl as dsl
import kfp.gcp as gcp
# Pipeline input variables.
KUBECTL_IMAGE = "gcr.io/mcas-195423/trackml_master_kfp_kubectl"
KUBECTL_IMAGE_VERSION = "1"
TRACKML_IMAGE = "gcr.io/mcas-195423/trackml_master_trackml"
TRACKML_IMAGE_VERSION = "1"
def train_op():
return dsl.ContainerOp(
name='train',
im... | en | python | run_002_20260417_060406 | 55 | {
"max_stars_repo_path": "pipelines/trackml.py",
"max_stars_repo_name": "texasmichelle/kubeflow-cern",
"max_stars_count": 4,
"id": "95",
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "0849648029c68bb12c60a979c3ac51571b5789f33eda4ab6fa8ba70ddb3b8313",
"normalized_source_hash": "0a5817f34d3f4413ed74ccf08fda7ebbb01f749364ea73fea0e5da8e085b95a6",
"source_ast_hash": "dc24ce136fe4327b2dd2b3241e289e1e7769fb5127d55502c068c682426a0d34",
"artifact_hash": "4f1a3400497c5955237c2f92... | true | true | null |
python_to_en_plaincode | import time
import puka
import argparse
import logging
from infcommon import utils
from infrabbitmq import factory as infrabbitmq_factory
from infrabbitmq.rabbitmq import RabbitMQError
from infrabbitmq.events_names import (
TICK_1_SECOND,
TICK_1_MINUTE,
TICK_2_MINUTES,
TICK_5_MINUTES,
TICK_60_MINU... | Load time.
Load puka.
Load argparse.
Load logging.
Load utils from infcommon.
Load factory referred to as infrabbitmq_factory from infrabbitmq.
Load RabbitMQError from infrabbitmq.rabbitmq.
Load TICK_1_SECOND, TICK_1_MINUTE, TICK_2_MINUTES, TICK_5_MINUTES, TICK_60_MINUTES from infrabbitmq.events_names.
Define function ... | python | en | run_002_20260417_060406 | 56 | {
"max_stars_repo_path": "bin/ticker.py",
"max_stars_repo_name": "aleasoluciones/infrabbitmq",
"max_stars_count": 0,
"id": "96",
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"normalized_source_hash": "dab36452a2a525c17a64abdf69a526c78d6770b3b0ed9006ba957e25334caeeb",
"source_ast_hash": "fb2ba01df3ff3693e8b4af5137013aa76e176a9345c926b6b07afe4cf54f6ee9",
"artifact_hash": "136ffa7a02da56386d53b601... | true | true | null |
python_to_es_plaincode | import time
import puka
import argparse
import logging
from infcommon import utils
from infrabbitmq import factory as infrabbitmq_factory
from infrabbitmq.rabbitmq import RabbitMQError
from infrabbitmq.events_names import (
TICK_1_SECOND,
TICK_1_MINUTE,
TICK_2_MINUTES,
TICK_5_MINUTES,
TICK_60_MINU... | Importar time.
Importar puka.
Importar argparse.
Importar logging.
Importar utils desde infcommon.
Importar factory referido como infrabbitmq_factory desde infrabbitmq.
Importar RabbitMQError desde infrabbitmq.rabbitmq.
Importar TICK_1_SECOND, TICK_1_MINUTE, TICK_2_MINUTES, TICK_5_MINUTES, TICK_60_MINUTES desde infrabb... | python | es | run_002_20260417_060406 | 56 | {
"max_stars_repo_path": "bin/ticker.py",
"max_stars_repo_name": "aleasoluciones/infrabbitmq",
"max_stars_count": 0,
"id": "96",
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"normalized_source_hash": "dab36452a2a525c17a64abdf69a526c78d6770b3b0ed9006ba957e25334caeeb",
"source_ast_hash": "fb2ba01df3ff3693e8b4af5137013aa76e176a9345c926b6b07afe4cf54f6ee9",
"artifact_hash": "136ffa7a02da56386d53b601... | true | true | null |
python_to_fr_plaincode | import time
import puka
import argparse
import logging
from infcommon import utils
from infrabbitmq import factory as infrabbitmq_factory
from infrabbitmq.rabbitmq import RabbitMQError
from infrabbitmq.events_names import (
TICK_1_SECOND,
TICK_1_MINUTE,
TICK_2_MINUTES,
TICK_5_MINUTES,
TICK_60_MINU... | Charger time.
Charger puka.
Charger argparse.
Charger logging.
Charger utils depuis infcommon.
Charger factory référé comme infrabbitmq_factory depuis infrabbitmq.
Charger RabbitMQError depuis infrabbitmq.rabbitmq.
Charger TICK_1_SECOND, TICK_1_MINUTE, TICK_2_MINUTES, TICK_5_MINUTES, TICK_60_MINUTES depuis infrabbitmq.... | python | fr | run_002_20260417_060406 | 56 | {
"max_stars_repo_path": "bin/ticker.py",
"max_stars_repo_name": "aleasoluciones/infrabbitmq",
"max_stars_count": 0,
"id": "96",
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"normalized_source_hash": "dab36452a2a525c17a64abdf69a526c78d6770b3b0ed9006ba957e25334caeeb",
"source_ast_hash": "fb2ba01df3ff3693e8b4af5137013aa76e176a9345c926b6b07afe4cf54f6ee9",
"artifact_hash": "136ffa7a02da56386d53b601... | true | true | null |
en_plaincode_to_python | Load time.
Load puka.
Load argparse.
Load logging.
Load utils from infcommon.
Load factory referred to as infrabbitmq_factory from infrabbitmq.
Load RabbitMQError from infrabbitmq.rabbitmq.
Load TICK_1_SECOND, TICK_1_MINUTE, TICK_2_MINUTES, TICK_5_MINUTES, TICK_60_MINUTES from infrabbitmq.events_names.
Define function ... | import time
import puka
import argparse
import logging
from infcommon import utils
from infrabbitmq import factory as infrabbitmq_factory
from infrabbitmq.rabbitmq import RabbitMQError
from infrabbitmq.events_names import (
TICK_1_SECOND,
TICK_1_MINUTE,
TICK_2_MINUTES,
TICK_5_MINUTES,
TICK_60_MINU... | en | python | run_002_20260417_060406 | 56 | {
"max_stars_repo_path": "bin/ticker.py",
"max_stars_repo_name": "aleasoluciones/infrabbitmq",
"max_stars_count": 0,
"id": "96",
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "a847338db3595dfec3f4123b21cb2b769b92ecd794de00887c0fd1234327429e",
"normalized_source_hash": "dab36452a2a525c17a64abdf69a526c78d6770b3b0ed9006ba957e25334caeeb",
"source_ast_hash": "fb2ba01df3ff3693e8b4af5137013aa76e176a9345c926b6b07afe4cf54f6ee9",
"artifact_hash": "136ffa7a02da56386d53b601... | true | true | null |
python_to_en_plaincode | from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.python_operator import PythonOperator, BranchPythonOperator
from datetime import datetime, timedelta
import pandas as pd
import random
# Default args definition
default_args = {
'owner': 'Rafael',
'depends_o... | Load DAG from airflow.
Load BashOperator from airflow.operators.bash_operator.
Load PythonOperator, BranchPythonOperator from airflow.operators.python_operator.
Load datetime, timedelta from datetime.
Load pandas, referred to as pd.
Load random.
# Default args definition
Set default_args to the record {
`owner` set to ... | python | en | run_002_20260417_060406 | 57 | {
"max_stars_repo_path": "dags/treinos_igti/treino03.py",
"max_stars_repo_name": "rafaelols/airflow",
"max_stars_count": 0,
"id": "98",
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"normalized_source_hash": "964f1f73b974045ec708c6fc55f7b2e15ab1fd6ab72da3d29938c6a54911aab5",
"source_ast_hash": "6d71261e08d8a07db5cf7b98ffd2a76dc73c477508f10331b71765b66d1a7d78",
"artifact_hash": "1448d8be0a3b734e8668e86b... | true | true | null |
python_to_es_plaincode | from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.python_operator import PythonOperator, BranchPythonOperator
from datetime import datetime, timedelta
import pandas as pd
import random
# Default args definition
default_args = {
'owner': 'Rafael',
'depends_o... | Importar DAG desde airflow.
Importar BashOperator desde airflow.operators.bash_operator.
Importar PythonOperator, BranchPythonOperator desde airflow.operators.python_operator.
Importar datetime, timedelta desde datetime.
Importar pandas, referido como pd.
Importar random.
# Default args definition
Establecer default_ar... | python | es | run_002_20260417_060406 | 57 | {
"max_stars_repo_path": "dags/treinos_igti/treino03.py",
"max_stars_repo_name": "rafaelols/airflow",
"max_stars_count": 0,
"id": "98",
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"normalized_source_hash": "964f1f73b974045ec708c6fc55f7b2e15ab1fd6ab72da3d29938c6a54911aab5",
"source_ast_hash": "6d71261e08d8a07db5cf7b98ffd2a76dc73c477508f10331b71765b66d1a7d78",
"artifact_hash": "1448d8be0a3b734e8668e86b... | true | true | null |
python_to_fr_plaincode | from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.python_operator import PythonOperator, BranchPythonOperator
from datetime import datetime, timedelta
import pandas as pd
import random
# Default args definition
default_args = {
'owner': 'Rafael',
'depends_o... | Charger DAG depuis airflow.
Charger BashOperator depuis airflow.operators.bash_operator.
Charger PythonOperator, BranchPythonOperator depuis airflow.operators.python_operator.
Charger datetime, timedelta depuis datetime.
Charger pandas, référé comme pd.
Charger random.
# Default args definition
Affecter default_args à ... | python | fr | run_002_20260417_060406 | 57 | {
"max_stars_repo_path": "dags/treinos_igti/treino03.py",
"max_stars_repo_name": "rafaelols/airflow",
"max_stars_count": 0,
"id": "98",
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"normalized_source_hash": "964f1f73b974045ec708c6fc55f7b2e15ab1fd6ab72da3d29938c6a54911aab5",
"source_ast_hash": "6d71261e08d8a07db5cf7b98ffd2a76dc73c477508f10331b71765b66d1a7d78",
"artifact_hash": "1448d8be0a3b734e8668e86b... | true | true | null |
en_plaincode_to_python | Load DAG from airflow.
Load BashOperator from airflow.operators.bash_operator.
Load PythonOperator, BranchPythonOperator from airflow.operators.python_operator.
Load datetime, timedelta from datetime.
Load pandas, referred to as pd.
Load random.
# Default args definition
Set default_args to the record {
`owner` set to ... | from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.python_operator import PythonOperator, BranchPythonOperator
from datetime import datetime, timedelta
import pandas as pd
import random
# Default args definition
default_args = {
'owner': 'Rafael',
'depends_o... | en | python | run_002_20260417_060406 | 57 | {
"max_stars_repo_path": "dags/treinos_igti/treino03.py",
"max_stars_repo_name": "rafaelols/airflow",
"max_stars_count": 0,
"id": "98",
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "4674d9c8d166446b0dea9414930a558d4ed2e2d272cf636f19f3dc463cbf7a34",
"normalized_source_hash": "964f1f73b974045ec708c6fc55f7b2e15ab1fd6ab72da3d29938c6a54911aab5",
"source_ast_hash": "6d71261e08d8a07db5cf7b98ffd2a76dc73c477508f10331b71765b66d1a7d78",
"artifact_hash": "1448d8be0a3b734e8668e86b... | true | true | null |
python_to_en_plaincode | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | python | en | run_002_20260417_060406 | 58 | {
"max_stars_repo_path": "tclCommands/TclCommandListSys.py",
"max_stars_repo_name": "DannyPol/flatcam",
"max_stars_count": 1,
"id": "99",
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 183,
... | {
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"normalized_source_hash": "04c450a6d0ea630847a2f619e2b360b9644306bc8c3d426d6109b6a4d9813232",
"source_ast_hash": "e37a6aa49b0cadab3a7fd66f9a40dd8f2ee4fa920d3cefb3c3ccc940c8397216",
"artifact_hash": "80bd562de3b529f071b6072f... | true | true | null |
python_to_es_plaincode | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | python | es | run_002_20260417_060406 | 58 | {
"max_stars_repo_path": "tclCommands/TclCommandListSys.py",
"max_stars_repo_name": "DannyPol/flatcam",
"max_stars_count": 1,
"id": "99",
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 183,
... | {
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"normalized_source_hash": "04c450a6d0ea630847a2f619e2b360b9644306bc8c3d426d6109b6a4d9813232",
"source_ast_hash": "e37a6aa49b0cadab3a7fd66f9a40dd8f2ee4fa920d3cefb3c3ccc940c8397216",
"artifact_hash": "80bd562de3b529f071b6072f... | true | true | null |
python_to_fr_plaincode | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | python | fr | run_002_20260417_060406 | 58 | {
"max_stars_repo_path": "tclCommands/TclCommandListSys.py",
"max_stars_repo_name": "DannyPol/flatcam",
"max_stars_count": 1,
"id": "99",
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 183,
... | {
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"normalized_source_hash": "04c450a6d0ea630847a2f619e2b360b9644306bc8c3d426d6109b6a4d9813232",
"source_ast_hash": "e37a6aa49b0cadab3a7fd66f9a40dd8f2ee4fa920d3cefb3c3ccc940c8397216",
"artifact_hash": "80bd562de3b529f071b6072f... | true | true | null |
en_plaincode_to_python | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | # ##########################################################
# FlatCAM: 2D Post-processing for Manufacturing #
# File Author: <NAME> (c) #
# Date: 8/17/2019 #
# MIT Licence #
# ############################... | en | python | run_002_20260417_060406 | 58 | {
"max_stars_repo_path": "tclCommands/TclCommandListSys.py",
"max_stars_repo_name": "DannyPol/flatcam",
"max_stars_count": 1,
"id": "99",
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 183,
... | {
"raw_source_hash": "e85d83189bb4bcb3a4806fc08e707970bb40546d1e8a31e3b1f0f70afb4e6f48",
"normalized_source_hash": "04c450a6d0ea630847a2f619e2b360b9644306bc8c3d426d6109b6a4d9813232",
"source_ast_hash": "e37a6aa49b0cadab3a7fd66f9a40dd8f2ee4fa920d3cefb3c3ccc940c8397216",
"artifact_hash": "80bd562de3b529f071b6072f... | true | true | null |
python_to_en_plaincode | from setuptools import setup
# create __version__
exec(open('./_version.py').read())
setup(
name="notedown",
version=__version__,
description="Convert markdown to IPython notebook.",
author="<NAME>",
author_email='<EMAIL>',
url='http://github.com/aaren/notedown',
install_requires=['ipython... | Load setup from setuptools.
# create __version__
Call exec with ((open with "./_version.py") dot read with no values).
Call setup with name set to "notedown", version set to __version__, description set to "Convert markdown to IPython notebook.", author set to "<NAME>", author_email set to "<EMAIL>", url set to "http:/... | python | en | run_002_20260417_060406 | 59 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "zhanghang1989/notedown",
"max_stars_count": 0,
"id": "102",
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_blo... | {
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"normalized_source_hash": "c9fe8391c7126d315597f01ec12a86a5db89eba21a8678bdf97e339f9fe2df22",
"source_ast_hash": "76ac79dce91eb81f882f8055f2f2e694bede4745f5bc8822d1e96bdce4bc4878",
"artifact_hash": "4cf60da1ee1ed097b4adeeba... | true | true | null |
python_to_es_plaincode | from setuptools import setup
# create __version__
exec(open('./_version.py').read())
setup(
name="notedown",
version=__version__,
description="Convert markdown to IPython notebook.",
author="<NAME>",
author_email='<EMAIL>',
url='http://github.com/aaren/notedown',
install_requires=['ipython... | Importar setup desde setuptools.
# create __version__
Llamar exec con ((open con "./_version.py") punto read sin argumentos).
Llamar setup con name establecido a "notedown", version establecido a __version__, description establecido a "Convert markdown to IPython notebook.", author establecido a "<NAME>", author_email ... | python | es | run_002_20260417_060406 | 59 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "zhanghang1989/notedown",
"max_stars_count": 0,
"id": "102",
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_blo... | {
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"normalized_source_hash": "c9fe8391c7126d315597f01ec12a86a5db89eba21a8678bdf97e339f9fe2df22",
"source_ast_hash": "76ac79dce91eb81f882f8055f2f2e694bede4745f5bc8822d1e96bdce4bc4878",
"artifact_hash": "4cf60da1ee1ed097b4adeeba... | true | true | null |
python_to_fr_plaincode | from setuptools import setup
# create __version__
exec(open('./_version.py').read())
setup(
name="notedown",
version=__version__,
description="Convert markdown to IPython notebook.",
author="<NAME>",
author_email='<EMAIL>',
url='http://github.com/aaren/notedown',
install_requires=['ipython... | Charger setup depuis setuptools.
# create __version__
Appeler exec avec ((open avec "./_version.py") point de read sans arguments).
Appeler setup avec name défini à "notedown", version défini à __version__, description défini à "Convert markdown to IPython notebook.", author défini à "<NAME>", author_email défini à "<E... | python | fr | run_002_20260417_060406 | 59 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "zhanghang1989/notedown",
"max_stars_count": 0,
"id": "102",
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_blo... | {
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"normalized_source_hash": "c9fe8391c7126d315597f01ec12a86a5db89eba21a8678bdf97e339f9fe2df22",
"source_ast_hash": "76ac79dce91eb81f882f8055f2f2e694bede4745f5bc8822d1e96bdce4bc4878",
"artifact_hash": "4cf60da1ee1ed097b4adeeba... | true | true | null |
en_plaincode_to_python | Load setup from setuptools.
# create __version__
Call exec with ((open with "./_version.py") dot read with no values).
Call setup with name set to "notedown", version set to __version__, description set to "Convert markdown to IPython notebook.", author set to "<NAME>", author_email set to "<EMAIL>", url set to "http:/... | from setuptools import setup
# create __version__
exec(open('./_version.py').read())
setup(
name="notedown",
version=__version__,
description="Convert markdown to IPython notebook.",
author="<NAME>",
author_email='<EMAIL>',
url='http://github.com/aaren/notedown',
install_requires=['ipython... | en | python | run_002_20260417_060406 | 59 | {
"max_stars_repo_path": "setup.py",
"max_stars_repo_name": "zhanghang1989/notedown",
"max_stars_count": 0,
"id": "102",
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_blo... | {
"raw_source_hash": "f65e284500c4c04e5cd01dc29ae703874f8b6ecfee2f6f24effb4963214e458c",
"normalized_source_hash": "c9fe8391c7126d315597f01ec12a86a5db89eba21a8678bdf97e339f9fe2df22",
"source_ast_hash": "76ac79dce91eb81f882f8055f2f2e694bede4745f5bc8822d1e96bdce4bc4878",
"artifact_hash": "4cf60da1ee1ed097b4adeeba... | true | true | null |
python_to_en_plaincode | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
from __fut... | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
Load absol... | python | en | run_002_20260417_060406 | 60 | {
"max_stars_repo_path": "MIDI Remote Scripts/Push2/mode_collector.py",
"max_stars_repo_name": "aarkwright/ableton_devices",
"max_stars_count": 0,
"id": "105",
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"normalized_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"source_ast_hash": "d1c8d3a860fb00cce3f2766ca3cf0ce2dffd1680d46c11f15537604125d3eb7a",
"artifact_hash": "811993ebc6b810e3a91bfde2... | true | true | null |
python_to_es_plaincode | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
from __fut... | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled desde: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
Importar ... | python | es | run_002_20260417_060406 | 60 | {
"max_stars_repo_path": "MIDI Remote Scripts/Push2/mode_collector.py",
"max_stars_repo_name": "aarkwright/ableton_devices",
"max_stars_count": 0,
"id": "105",
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"normalized_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"source_ast_hash": "d1c8d3a860fb00cce3f2766ca3cf0ce2dffd1680d46c11f15537604125d3eb7a",
"artifact_hash": "811993ebc6b810e3a91bfde2... | true | true | null |
python_to_fr_plaincode | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
from __fut... | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled depuis: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
Charger ... | python | fr | run_002_20260417_060406 | 60 | {
"max_stars_repo_path": "MIDI Remote Scripts/Push2/mode_collector.py",
"max_stars_repo_name": "aarkwright/ableton_devices",
"max_stars_count": 0,
"id": "105",
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"normalized_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"source_ast_hash": "d1c8d3a860fb00cce3f2766ca3cf0ce2dffd1680d46c11f15537604125d3eb7a",
"artifact_hash": "811993ebc6b810e3a91bfde2... | true | true | null |
en_plaincode_to_python | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
Load absol... | # uncompyle6 version 3.3.5
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)]
# Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\Push2\mode_collector.py
# Compiled at: 2018-11-30 15:48:11
from __fut... | en | python | run_002_20260417_060406 | 60 | {
"max_stars_repo_path": "MIDI Remote Scripts/Push2/mode_collector.py",
"max_stars_repo_name": "aarkwright/ableton_devices",
"max_stars_count": 0,
"id": "105",
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"normalized_source_hash": "7235f705f9073e4f97a115f8c0db680afa662d3acca71e8e223f32eb9b743518",
"source_ast_hash": "d1c8d3a860fb00cce3f2766ca3cf0ce2dffd1680d46c11f15537604125d3eb7a",
"artifact_hash": "811993ebc6b810e3a91bfde2... | true | true | null |
python_to_en_plaincode | from base64 import decodestring as b64decode
allowed_failures = [
'https://ranobelib.me/',
'https://www.aixdzs.com/',
'https://webnovelindonesia.com/',
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).decode()
]
test_user_inputs = {
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).deco... | Load decodestring referred to as b64decode from base64.
Set allowed_failures to the list [
"https://ranobelib.me/",
"https://www.aixdzs.com/",
"https://webnovelindonesia.com/",
((b64decode with ("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=" dot encode with no values)) dot decode with no values)
].
Set test_user_inputs to the dict... | python | en | run_002_20260417_060406 | 61 | {
"max_stars_repo_path": "src/bots/test/test_inputs.py",
"max_stars_repo_name": "drewbitt/lightnovel-crawler",
"max_stars_count": 1,
"id": "107",
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"normalized_source_hash": "d0dd0d82b02992409b90851b13053369c2f78304925f8c9266b88bef176190fc",
"source_ast_hash": "a39111855372c9aecc69a5f673c54440aec44962ef792d9dcd4f782650a51fb5",
"artifact_hash": "1ab917b580c827facfafdcdb... | true | true | null |
python_to_es_plaincode | from base64 import decodestring as b64decode
allowed_failures = [
'https://ranobelib.me/',
'https://www.aixdzs.com/',
'https://webnovelindonesia.com/',
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).decode()
]
test_user_inputs = {
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).deco... | Importar decodestring referido como b64decode desde base64.
Establecer allowed_failures como la lista [
"https://ranobelib.me/",
"https://www.aixdzs.com/",
"https://webnovelindonesia.com/",
((b64decode con ("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=" punto encode sin argumentos)) punto decode sin argumentos)
].
Establecer test_... | python | es | run_002_20260417_060406 | 61 | {
"max_stars_repo_path": "src/bots/test/test_inputs.py",
"max_stars_repo_name": "drewbitt/lightnovel-crawler",
"max_stars_count": 1,
"id": "107",
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"normalized_source_hash": "d0dd0d82b02992409b90851b13053369c2f78304925f8c9266b88bef176190fc",
"source_ast_hash": "a39111855372c9aecc69a5f673c54440aec44962ef792d9dcd4f782650a51fb5",
"artifact_hash": "1ab917b580c827facfafdcdb... | true | true | null |
python_to_fr_plaincode | from base64 import decodestring as b64decode
allowed_failures = [
'https://ranobelib.me/',
'https://www.aixdzs.com/',
'https://webnovelindonesia.com/',
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).decode()
]
test_user_inputs = {
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).deco... | Charger decodestring référé comme b64decode depuis base64.
Affecter allowed_failures à la liste [
"https://ranobelib.me/",
"https://www.aixdzs.com/",
"https://webnovelindonesia.com/",
((b64decode avec ("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=" point de encode sans arguments)) point de decode sans arguments)
].
Affecter test_u... | python | fr | run_002_20260417_060406 | 61 | {
"max_stars_repo_path": "src/bots/test/test_inputs.py",
"max_stars_repo_name": "drewbitt/lightnovel-crawler",
"max_stars_count": 1,
"id": "107",
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"normalized_source_hash": "d0dd0d82b02992409b90851b13053369c2f78304925f8c9266b88bef176190fc",
"source_ast_hash": "a39111855372c9aecc69a5f673c54440aec44962ef792d9dcd4f782650a51fb5",
"artifact_hash": "1ab917b580c827facfafdcdb... | true | true | null |
en_plaincode_to_python | Load decodestring referred to as b64decode from base64.
Set allowed_failures to the list [
"https://ranobelib.me/",
"https://www.aixdzs.com/",
"https://webnovelindonesia.com/",
((b64decode with ("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=" dot encode with no values)) dot decode with no values)
].
Set test_user_inputs to the dict... | from base64 import decodestring as b64decode
allowed_failures = [
'https://ranobelib.me/',
'https://www.aixdzs.com/',
'https://webnovelindonesia.com/',
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).decode()
]
test_user_inputs = {
b64decode("aHR0cHM6Ly9jb21yYWRlbWFvLmNvbS8=".encode()).deco... | en | python | run_002_20260417_060406 | 61 | {
"max_stars_repo_path": "src/bots/test/test_inputs.py",
"max_stars_repo_name": "drewbitt/lightnovel-crawler",
"max_stars_count": 1,
"id": "107",
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "fc735f333938da88cff1b63705436325daa3c019b6e0c9ac1a929ea9d4d82ea1",
"normalized_source_hash": "d0dd0d82b02992409b90851b13053369c2f78304925f8c9266b88bef176190fc",
"source_ast_hash": "a39111855372c9aecc69a5f673c54440aec44962ef792d9dcd4f782650a51fb5",
"artifact_hash": "1ab917b580c827facfafdcdb... | true | true | null |
python_to_en_plaincode | import pytest
from utils.process import run, silent_run, RunError
from utils.fs import in_temp_dir
def test_run(capsys):
with in_temp_dir():
assert run('echo hello > hello.txt; echo world >> hello.txt', shell=True)
out = run('ls', return_output=True)
assert out == 'hello.txt\n'
... | Load pytest.
Load run, silent_run, RunError from utils.process.
Load in_temp_dir from utils.fs.
Define function test_run with parameter capsys:
With in_temp_dir with no values:
Assert run with "echo hello > hello.txt; echo world >> hello.txt" and shell set to True.
Set out to run with "ls" and retur... | python | en | run_002_20260417_060406 | 62 | {
"max_stars_repo_path": "tests/test_process.py",
"max_stars_repo_name": "confluentinc/utils-core",
"max_stars_count": 0,
"id": "112",
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"normalized_source_hash": "c0f5e40c5f66e956aa7167ff0dfcad1549a49e6e765ff90b5ec6963dd70bed75",
"source_ast_hash": "0151a3cbe22711b823bc828e6b590f2b18fb70ef5910761425d26be33b658fb0",
"artifact_hash": "c652f71dda794c8605c6e1d5... | true | true | null |
python_to_es_plaincode | import pytest
from utils.process import run, silent_run, RunError
from utils.fs import in_temp_dir
def test_run(capsys):
with in_temp_dir():
assert run('echo hello > hello.txt; echo world >> hello.txt', shell=True)
out = run('ls', return_output=True)
assert out == 'hello.txt\n'
... | Importar pytest.
Importar run, silent_run, RunError desde utils.process.
Importar in_temp_dir desde utils.fs.
Definir función test_run con parámetro capsys:
Con in_temp_dir sin argumentos:
Afirmar run con "echo hello > hello.txt; echo world >> hello.txt" y también shell establecido a True.
Establece... | python | es | run_002_20260417_060406 | 62 | {
"max_stars_repo_path": "tests/test_process.py",
"max_stars_repo_name": "confluentinc/utils-core",
"max_stars_count": 0,
"id": "112",
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"normalized_source_hash": "c0f5e40c5f66e956aa7167ff0dfcad1549a49e6e765ff90b5ec6963dd70bed75",
"source_ast_hash": "0151a3cbe22711b823bc828e6b590f2b18fb70ef5910761425d26be33b658fb0",
"artifact_hash": "c652f71dda794c8605c6e1d5... | true | true | null |
python_to_fr_plaincode | import pytest
from utils.process import run, silent_run, RunError
from utils.fs import in_temp_dir
def test_run(capsys):
with in_temp_dir():
assert run('echo hello > hello.txt; echo world >> hello.txt', shell=True)
out = run('ls', return_output=True)
assert out == 'hello.txt\n'
... | Charger pytest.
Charger run, silent_run, RunError depuis utils.process.
Charger in_temp_dir depuis utils.fs.
Définir fonction test_run avec paramètre capsys:
Avec in_temp_dir sans arguments:
Affirmer run avec "echo hello > hello.txt; echo world >> hello.txt" et shell défini à True.
Affecter out à ru... | python | fr | run_002_20260417_060406 | 62 | {
"max_stars_repo_path": "tests/test_process.py",
"max_stars_repo_name": "confluentinc/utils-core",
"max_stars_count": 0,
"id": "112",
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"normalized_source_hash": "c0f5e40c5f66e956aa7167ff0dfcad1549a49e6e765ff90b5ec6963dd70bed75",
"source_ast_hash": "0151a3cbe22711b823bc828e6b590f2b18fb70ef5910761425d26be33b658fb0",
"artifact_hash": "c652f71dda794c8605c6e1d5... | true | true | null |
en_plaincode_to_python | Load pytest.
Load run, silent_run, RunError from utils.process.
Load in_temp_dir from utils.fs.
Define function test_run with parameter capsys:
With in_temp_dir with no values:
Assert run with "echo hello > hello.txt; echo world >> hello.txt" and shell set to True.
Set out to run with "ls" and retur... | import pytest
from utils.process import run, silent_run, RunError
from utils.fs import in_temp_dir
def test_run(capsys):
with in_temp_dir():
assert run('echo hello > hello.txt; echo world >> hello.txt', shell=True)
out = run('ls', return_output=True)
assert out == 'hello.txt\n'
... | en | python | run_002_20260417_060406 | 62 | {
"max_stars_repo_path": "tests/test_process.py",
"max_stars_repo_name": "confluentinc/utils-core",
"max_stars_count": 0,
"id": "112",
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "87db6cbed54458877fbd3d1fe1386aef928c8465e598ed4ad71317455493871f",
"normalized_source_hash": "c0f5e40c5f66e956aa7167ff0dfcad1549a49e6e765ff90b5ec6963dd70bed75",
"source_ast_hash": "0151a3cbe22711b823bc828e6b590f2b18fb70ef5910761425d26be33b658fb0",
"artifact_hash": "c652f71dda794c8605c6e1d5... | true | true | null |
python_to_en_plaincode | import struct
from typing import Tuple
from ledgercomm import Transport
from boilerplate_client.boilerplate_cmd_builder import BoilerplateCommandBuilder, InsType
from boilerplate_client.button import Button
from boilerplate_client.exception import DeviceException
from boilerplate_client.transaction import Transaction... | Load struct.
Load Tuple from typing.
Load Transport from ledgercomm.
Load BoilerplateCommandBuilder, InsType from boilerplate_client.boilerplate_cmd_builder.
Load Button from boilerplate_client.button.
Load DeviceException from boilerplate_client.exception.
Load Transaction from boilerplate_client.transaction.
Load pay... | python | en | run_002_20260417_060406 | 63 | {
"max_stars_repo_path": "tests/boilerplate_client/boilerplate_cmd.py",
"max_stars_repo_name": "LedgerHQ/ledger-app-neo3",
"max_stars_count": 0,
"id": "115",
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"sanitize_meta": {
"triple_block_count": 0,
"total_trip... | {
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"normalized_source_hash": "c02c645609141d40d1e1e4d41d63461f4e7602e7a05f0c8b0a869b671f4f628c",
"source_ast_hash": "0ce7c2431e1fa6bcef02d0fea50d75bee9e099df273db3e98066618bb72d9eba",
"artifact_hash": "74aa911602d349d28b635584... | true | true | null |
python_to_es_plaincode | import struct
from typing import Tuple
from ledgercomm import Transport
from boilerplate_client.boilerplate_cmd_builder import BoilerplateCommandBuilder, InsType
from boilerplate_client.button import Button
from boilerplate_client.exception import DeviceException
from boilerplate_client.transaction import Transaction... | Importar struct.
Importar Tuple desde typing.
Importar Transport desde ledgercomm.
Importar BoilerplateCommandBuilder, InsType desde boilerplate_client.boilerplate_cmd_builder.
Importar Button desde boilerplate_client.button.
Importar DeviceException desde boilerplate_client.exception.
Importar Transaction desde boiler... | python | es | run_002_20260417_060406 | 63 | {
"max_stars_repo_path": "tests/boilerplate_client/boilerplate_cmd.py",
"max_stars_repo_name": "LedgerHQ/ledger-app-neo3",
"max_stars_count": 0,
"id": "115",
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"sanitize_meta": {
"triple_block_count": 0,
"total_trip... | {
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"normalized_source_hash": "c02c645609141d40d1e1e4d41d63461f4e7602e7a05f0c8b0a869b671f4f628c",
"source_ast_hash": "0ce7c2431e1fa6bcef02d0fea50d75bee9e099df273db3e98066618bb72d9eba",
"artifact_hash": "74aa911602d349d28b635584... | true | true | null |
python_to_fr_plaincode | import struct
from typing import Tuple
from ledgercomm import Transport
from boilerplate_client.boilerplate_cmd_builder import BoilerplateCommandBuilder, InsType
from boilerplate_client.button import Button
from boilerplate_client.exception import DeviceException
from boilerplate_client.transaction import Transaction... | Charger struct.
Charger Tuple depuis typing.
Charger Transport depuis ledgercomm.
Charger BoilerplateCommandBuilder, InsType depuis boilerplate_client.boilerplate_cmd_builder.
Charger Button depuis boilerplate_client.button.
Charger DeviceException depuis boilerplate_client.exception.
Charger Transaction depuis boilerp... | python | fr | run_002_20260417_060406 | 63 | {
"max_stars_repo_path": "tests/boilerplate_client/boilerplate_cmd.py",
"max_stars_repo_name": "LedgerHQ/ledger-app-neo3",
"max_stars_count": 0,
"id": "115",
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"sanitize_meta": {
"triple_block_count": 0,
"total_trip... | {
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"normalized_source_hash": "c02c645609141d40d1e1e4d41d63461f4e7602e7a05f0c8b0a869b671f4f628c",
"source_ast_hash": "0ce7c2431e1fa6bcef02d0fea50d75bee9e099df273db3e98066618bb72d9eba",
"artifact_hash": "74aa911602d349d28b635584... | true | true | null |
en_plaincode_to_python | Load struct.
Load Tuple from typing.
Load Transport from ledgercomm.
Load BoilerplateCommandBuilder, InsType from boilerplate_client.boilerplate_cmd_builder.
Load Button from boilerplate_client.button.
Load DeviceException from boilerplate_client.exception.
Load Transaction from boilerplate_client.transaction.
Load pay... | import struct
from typing import Tuple
from ledgercomm import Transport
from boilerplate_client.boilerplate_cmd_builder import BoilerplateCommandBuilder, InsType
from boilerplate_client.button import Button
from boilerplate_client.exception import DeviceException
from boilerplate_client.transaction import Transaction... | en | python | run_002_20260417_060406 | 63 | {
"max_stars_repo_path": "tests/boilerplate_client/boilerplate_cmd.py",
"max_stars_repo_name": "LedgerHQ/ledger-app-neo3",
"max_stars_count": 0,
"id": "115",
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"sanitize_meta": {
"triple_block_count": 0,
"total_trip... | {
"raw_source_hash": "f0e66f4f6aa50c4d910aee9b0403d4e1fc0c4144f0ed4387d8d3d42977894187",
"normalized_source_hash": "c02c645609141d40d1e1e4d41d63461f4e7602e7a05f0c8b0a869b671f4f628c",
"source_ast_hash": "0ce7c2431e1fa6bcef02d0fea50d75bee9e099df273db3e98066618bb72d9eba",
"artifact_hash": "74aa911602d349d28b635584... | true | true | null |
python_to_en_plaincode | import clpy
import clpy.sparse.base
_preamble_atomic_add = '''
#if __CUDA_ARCH__ < 600
__device__ double atomicAdd(double* address, double val) {
unsigned long long* address_as_ull =
(unsigned long long*)address;
unsigned long long old = *address_as_ull, assumed;
... | Load clpy.
Load clpy.sparse.base.
Set _preamble_atomic_add to text block:
""
"#if __CUDA_ARCH__ < 600"
"__device__ double atomicAdd(double* address, double val) {"
" unsigned long long* address_as_ull ="
" (unsigned long long*)address;"
" unsigned long long old = *address_... | python | en | run_002_20260417_060406 | 64 | {
"max_stars_repo_path": "clpy/sparse/util.py",
"max_stars_repo_name": "fixstars/clpy",
"max_stars_count": 142,
"id": "116",
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 524,
"largest_trip... | {
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"normalized_source_hash": "6524c43ee853cdff83ced432b4fde33534ead49369cc9d20f6694d60a69e0d91",
"source_ast_hash": "3ee32099934a352fc50d37916d9e8402012106c18215f6a5342cd7fffa29372a",
"artifact_hash": "4911314c7f8e1b31d75d3339... | true | true | null |
python_to_es_plaincode | import clpy
import clpy.sparse.base
_preamble_atomic_add = '''
#if __CUDA_ARCH__ < 600
__device__ double atomicAdd(double* address, double val) {
unsigned long long* address_as_ull =
(unsigned long long*)address;
unsigned long long old = *address_as_ull, assumed;
... | Importar clpy.
Importar clpy.sparse.base.
Establecer _preamble_atomic_add como texto literal:
""
"#if __CUDA_ARCH__ < 600"
"__device__ double atomicAdd(double* address, double val) {"
" unsigned long long* address_as_ull ="
" (unsigned long long*)address;"
" unsigned long ... | python | es | run_002_20260417_060406 | 64 | {
"max_stars_repo_path": "clpy/sparse/util.py",
"max_stars_repo_name": "fixstars/clpy",
"max_stars_count": 142,
"id": "116",
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 524,
"largest_trip... | {
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"normalized_source_hash": "6524c43ee853cdff83ced432b4fde33534ead49369cc9d20f6694d60a69e0d91",
"source_ast_hash": "3ee32099934a352fc50d37916d9e8402012106c18215f6a5342cd7fffa29372a",
"artifact_hash": "4911314c7f8e1b31d75d3339... | true | true | null |
python_to_fr_plaincode | import clpy
import clpy.sparse.base
_preamble_atomic_add = '''
#if __CUDA_ARCH__ < 600
__device__ double atomicAdd(double* address, double val) {
unsigned long long* address_as_ull =
(unsigned long long*)address;
unsigned long long old = *address_as_ull, assumed;
... | Charger clpy.
Charger clpy.sparse.base.
Affecter _preamble_atomic_add à texte littéral:
""
"#if __CUDA_ARCH__ < 600"
"__device__ double atomicAdd(double* address, double val) {"
" unsigned long long* address_as_ull ="
" (unsigned long long*)address;"
" unsigned long long o... | python | fr | run_002_20260417_060406 | 64 | {
"max_stars_repo_path": "clpy/sparse/util.py",
"max_stars_repo_name": "fixstars/clpy",
"max_stars_count": 142,
"id": "116",
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 524,
"largest_trip... | {
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"normalized_source_hash": "6524c43ee853cdff83ced432b4fde33534ead49369cc9d20f6694d60a69e0d91",
"source_ast_hash": "3ee32099934a352fc50d37916d9e8402012106c18215f6a5342cd7fffa29372a",
"artifact_hash": "4911314c7f8e1b31d75d3339... | true | true | null |
en_plaincode_to_python | Load clpy.
Load clpy.sparse.base.
Set _preamble_atomic_add to text block:
""
"#if __CUDA_ARCH__ < 600"
"__device__ double atomicAdd(double* address, double val) {"
" unsigned long long* address_as_ull ="
" (unsigned long long*)address;"
" unsigned long long old = *address_... | import clpy
import clpy.sparse.base
_preamble_atomic_add = '''
#if __CUDA_ARCH__ < 600
__device__ double atomicAdd(double* address, double val) {
unsigned long long* address_as_ull =
(unsigned long long*)address;
unsigned long long old = *address_as_ull, assumed;
... | en | python | run_002_20260417_060406 | 64 | {
"max_stars_repo_path": "clpy/sparse/util.py",
"max_stars_repo_name": "fixstars/clpy",
"max_stars_count": 142,
"id": "116",
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 524,
"largest_trip... | {
"raw_source_hash": "09ae4b9745be7fc9587d89c3ae387e76ee66f7792ea432466ff3b7288e3fb9c9",
"normalized_source_hash": "6524c43ee853cdff83ced432b4fde33534ead49369cc9d20f6694d60a69e0d91",
"source_ast_hash": "3ee32099934a352fc50d37916d9e8402012106c18215f6a5342cd7fffa29372a",
"artifact_hash": "4911314c7f8e1b31d75d3339... | true | true | null |
python_to_en_plaincode | from pytest import raises
from discopy.cartesian import *
def test_Box_repr():
f = Box('f', 1, 2, lambda x: (x, x))
assert "Box('f', 1, 2" in repr(f)
def test_Function_str():
f = Function(2, 1, lambda x, y: x + y)
assert 'Function(dom=2, cod=1,' in str(f)
def test_Function_call():
f = Swap(2, ... | Load raises from pytest.
Load everything from discopy.cartesian.
Define function test_Box_repr:
Set f to Box with "f", 1, 2, and (the lambda with parameter x returning the tuple (x, x)).
Assert "Box('f', 1, 2" is in repr with f.
Define function test_Function_str:
Set f to Function with 2, 1, and (the lambda... | python | en | run_002_20260417_060406 | 65 | {
"max_stars_repo_path": "test/test_cartesian.py",
"max_stars_repo_name": "hwazni/discopy",
"max_stars_count": 205,
"id": "117",
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"normalized_source_hash": "026bd99b5ff5724e8722618629a3004d01541d3d4cac89f04f36a07d8cadd59f",
"source_ast_hash": "0f268551d861e9c6fcc71d5279aec1cfde20eb696bc9bf82bfcfdc51ad6126aa",
"artifact_hash": "1b2732d872f4b6168534c640... | true | true | null |
python_to_es_plaincode | from pytest import raises
from discopy.cartesian import *
def test_Box_repr():
f = Box('f', 1, 2, lambda x: (x, x))
assert "Box('f', 1, 2" in repr(f)
def test_Function_str():
f = Function(2, 1, lambda x, y: x + y)
assert 'Function(dom=2, cod=1,' in str(f)
def test_Function_call():
f = Swap(2, ... | Importar raises desde pytest.
Importar todo desde discopy.cartesian.
Definir función test_Box_repr:
Establecer f como Box con "f", 1, 2, y también (la lambda con parámetro x devolviendo la tupla (x, x)).
Afirmar "Box('f', 1, 2" está en repr con f.
Definir función test_Function_str:
Establecer f como Functio... | python | es | run_002_20260417_060406 | 65 | {
"max_stars_repo_path": "test/test_cartesian.py",
"max_stars_repo_name": "hwazni/discopy",
"max_stars_count": 205,
"id": "117",
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"normalized_source_hash": "026bd99b5ff5724e8722618629a3004d01541d3d4cac89f04f36a07d8cadd59f",
"source_ast_hash": "0f268551d861e9c6fcc71d5279aec1cfde20eb696bc9bf82bfcfdc51ad6126aa",
"artifact_hash": "1b2732d872f4b6168534c640... | true | true | null |
python_to_fr_plaincode | from pytest import raises
from discopy.cartesian import *
def test_Box_repr():
f = Box('f', 1, 2, lambda x: (x, x))
assert "Box('f', 1, 2" in repr(f)
def test_Function_str():
f = Function(2, 1, lambda x, y: x + y)
assert 'Function(dom=2, cod=1,' in str(f)
def test_Function_call():
f = Swap(2, ... | Charger raises depuis pytest.
Charger tout depuis discopy.cartesian.
Définir fonction test_Box_repr:
Affecter f à Box avec "f", 1, 2, et (le lambda avec paramètre x retournant le tuple (x, x)).
Affirmer "Box('f', 1, 2" est dans repr avec f.
Définir fonction test_Function_str:
Affecter f à Function avec 2, 1... | python | fr | run_002_20260417_060406 | 65 | {
"max_stars_repo_path": "test/test_cartesian.py",
"max_stars_repo_name": "hwazni/discopy",
"max_stars_count": 205,
"id": "117",
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"normalized_source_hash": "026bd99b5ff5724e8722618629a3004d01541d3d4cac89f04f36a07d8cadd59f",
"source_ast_hash": "0f268551d861e9c6fcc71d5279aec1cfde20eb696bc9bf82bfcfdc51ad6126aa",
"artifact_hash": "1b2732d872f4b6168534c640... | true | true | null |
en_plaincode_to_python | Load raises from pytest.
Load everything from discopy.cartesian.
Define function test_Box_repr:
Set f to Box with "f", 1, 2, and (the lambda with parameter x returning the tuple (x, x)).
Assert "Box('f', 1, 2" is in repr with f.
Define function test_Function_str:
Set f to Function with 2, 1, and (the lambda... | from pytest import raises
from discopy.cartesian import *
def test_Box_repr():
f = Box('f', 1, 2, lambda x: (x, x))
assert "Box('f', 1, 2" in repr(f)
def test_Function_str():
f = Function(2, 1, lambda x, y: x + y)
assert 'Function(dom=2, cod=1,' in str(f)
def test_Function_call():
f = Swap(2, ... | en | python | run_002_20260417_060406 | 65 | {
"max_stars_repo_path": "test/test_cartesian.py",
"max_stars_repo_name": "hwazni/discopy",
"max_stars_count": 205,
"id": "117",
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "0b8478647f02fbd16aa62c8379c656b5d62bc577aede35ca68273ffa2924d90c",
"normalized_source_hash": "026bd99b5ff5724e8722618629a3004d01541d3d4cac89f04f36a07d8cadd59f",
"source_ast_hash": "0f268551d861e9c6fcc71d5279aec1cfde20eb696bc9bf82bfcfdc51ad6126aa",
"artifact_hash": "1b2732d872f4b6168534c640... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = '<NAME>'
'''
async web application.
'''
import logging; logging.basicConfig(level=logging.INFO)
import asyncio, os, json, time
from datetime import datetime
from aiohttp import web
def index(request):
return web.Response(body=b'<h1>Awesome</h1>')
as... | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
Set __author__ to "<NAME>".
Text block:
""
"async web application."
ending with a newline.
Load logging.
Call logging dot basicConfig with level set to logging dot INFO.
Load asyncio, os, json, time.
Load datetime from datetime.
Load web from aiohttp.
Define function inde... | python | en | run_002_20260417_060406 | 66 | {
"max_stars_repo_path": "www/app.py",
"max_stars_repo_name": "leeeGreat/xlw_study_python",
"max_stars_count": 1,
"id": "121",
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 30,
"largest_tri... | {
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"normalized_source_hash": "7ccb47fb0cca8de842c5c7245e771c7345a7709b03d741174920a6977f7d7fb6",
"source_ast_hash": "e6fb9103529c2cbee2336405d6f9fcf24fc43931945eb32f3078aab2b4c51641",
"artifact_hash": "47f6af3fede0c02213af042f... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = '<NAME>'
'''
async web application.
'''
import logging; logging.basicConfig(level=logging.INFO)
import asyncio, os, json, time
from datetime import datetime
from aiohttp import web
def index(request):
return web.Response(body=b'<h1>Awesome</h1>')
as... | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
Establecer __author__ como "<NAME>".
Texto literal:
""
"async web application."
terminando con una nueva línea.
Importar logging.
Llamar logging punto basicConfig con nivel establecido a logging punto INFO.
Importar asyncio, os, json, time.
Importar datetime desde datetim... | python | es | run_002_20260417_060406 | 66 | {
"max_stars_repo_path": "www/app.py",
"max_stars_repo_name": "leeeGreat/xlw_study_python",
"max_stars_count": 1,
"id": "121",
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 30,
"largest_tri... | {
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"normalized_source_hash": "7ccb47fb0cca8de842c5c7245e771c7345a7709b03d741174920a6977f7d7fb6",
"source_ast_hash": "e6fb9103529c2cbee2336405d6f9fcf24fc43931945eb32f3078aab2b4c51641",
"artifact_hash": "47f6af3fede0c02213af042f... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = '<NAME>'
'''
async web application.
'''
import logging; logging.basicConfig(level=logging.INFO)
import asyncio, os, json, time
from datetime import datetime
from aiohttp import web
def index(request):
return web.Response(body=b'<h1>Awesome</h1>')
as... | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
Affecter __author__ à "<NAME>".
Texte littéral:
""
"async web application."
se terminant par une nouvelle ligne.
Charger logging.
Appeler logging point de basicConfig avec niveau défini à logging point de INFO.
Charger asyncio, os, json, time.
Charger datetime depuis date... | python | fr | run_002_20260417_060406 | 66 | {
"max_stars_repo_path": "www/app.py",
"max_stars_repo_name": "leeeGreat/xlw_study_python",
"max_stars_count": 1,
"id": "121",
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 30,
"largest_tri... | {
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"normalized_source_hash": "7ccb47fb0cca8de842c5c7245e771c7345a7709b03d741174920a6977f7d7fb6",
"source_ast_hash": "e6fb9103529c2cbee2336405d6f9fcf24fc43931945eb32f3078aab2b4c51641",
"artifact_hash": "47f6af3fede0c02213af042f... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
Set __author__ to "<NAME>".
Text block:
""
"async web application."
ending with a newline.
Load logging.
Call logging dot basicConfig with level set to logging dot INFO.
Load asyncio, os, json, time.
Load datetime from datetime.
Load web from aiohttp.
Define function inde... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = '<NAME>'
'''
async web application.
'''
import logging; logging.basicConfig(level=logging.INFO)
import asyncio, os, json, time
from datetime import datetime
from aiohttp import web
def index(request):
return web.Response(body=b'<h1>Awesome</h1>')
as... | en | python | run_002_20260417_060406 | 66 | {
"max_stars_repo_path": "www/app.py",
"max_stars_repo_name": "leeeGreat/xlw_study_python",
"max_stars_count": 1,
"id": "121",
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 30,
"largest_tri... | {
"raw_source_hash": "4705f352b223d5169b58f865a1c4b7befe9f842cc83b3dd00be201facb7f7b83",
"normalized_source_hash": "7ccb47fb0cca8de842c5c7245e771c7345a7709b03d741174920a6977f7d7fb6",
"source_ast_hash": "e6fb9103529c2cbee2336405d6f9fcf24fc43931945eb32f3078aab2b4c51641",
"artifact_hash": "47f6af3fede0c02213af042f... | true | true | null |
python_to_en_plaincode | from __future__ import print_function
import os
import numpy as np
import matplotlib.pyplot as plt
import flopy
fb = flopy.modflow.Modflow.load('freyberg', version='mf2005', model_ws=os.path.join('..', 'data', 'freyberg'), verbose=True)
dis = fb.dis
top = fb.dis.top
fb.dis.top.plot(grid=True, colorbar=True)
fb.d... | Load print_function from __future__.
Load os.
Load numpy, referred to as np.
Load matplotlib.pyplot, referred to as plt.
Load flopy.
Set fb to flopy dot modflow dot Modflow dot load with "freyberg", version set to "mf2005", model_ws set to (os dot path dot join with "..", "data", and "freyberg"), and verbose set to Tru... | python | en | run_002_20260417_060406 | 67 | {
"max_stars_repo_path": "examples/Testing/flopy3_plotdata.py",
"max_stars_repo_name": "ritchie46/flopy",
"max_stars_count": 1,
"id": "122",
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"normalized_source_hash": "1a83d67b2b346008ca9d542ca4b319a565d66eef5c270d7e0b2e8bdaaebb3117",
"source_ast_hash": "3758e4e90d25fd6d7866220d9c50e04197c221bab3adc959a07ac2d234653f3c",
"artifact_hash": "1d14834ab49821df6746374c... | true | true | null |
python_to_es_plaincode | from __future__ import print_function
import os
import numpy as np
import matplotlib.pyplot as plt
import flopy
fb = flopy.modflow.Modflow.load('freyberg', version='mf2005', model_ws=os.path.join('..', 'data', 'freyberg'), verbose=True)
dis = fb.dis
top = fb.dis.top
fb.dis.top.plot(grid=True, colorbar=True)
fb.d... | Importar print_function desde __future__.
Importar os.
Importar numpy, referido como np.
Importar matplotlib.pyplot, referido como plt.
Importar flopy.
Establecer fb como flopy punto modflow punto Modflow punto load con "freyberg", version establecido a "mf2005", model_ws establecido a (os punto path punto join con "..... | python | es | run_002_20260417_060406 | 67 | {
"max_stars_repo_path": "examples/Testing/flopy3_plotdata.py",
"max_stars_repo_name": "ritchie46/flopy",
"max_stars_count": 1,
"id": "122",
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"normalized_source_hash": "1a83d67b2b346008ca9d542ca4b319a565d66eef5c270d7e0b2e8bdaaebb3117",
"source_ast_hash": "3758e4e90d25fd6d7866220d9c50e04197c221bab3adc959a07ac2d234653f3c",
"artifact_hash": "1d14834ab49821df6746374c... | true | true | null |
python_to_fr_plaincode | from __future__ import print_function
import os
import numpy as np
import matplotlib.pyplot as plt
import flopy
fb = flopy.modflow.Modflow.load('freyberg', version='mf2005', model_ws=os.path.join('..', 'data', 'freyberg'), verbose=True)
dis = fb.dis
top = fb.dis.top
fb.dis.top.plot(grid=True, colorbar=True)
fb.d... | Charger print_function depuis __future__.
Charger os.
Charger numpy, référé comme np.
Charger matplotlib.pyplot, référé comme plt.
Charger flopy.
Affecter fb à flopy point de modflow point de Modflow point de load avec "freyberg", version défini à "mf2005", model_ws défini à (os point de path point de join avec "..", "... | python | fr | run_002_20260417_060406 | 67 | {
"max_stars_repo_path": "examples/Testing/flopy3_plotdata.py",
"max_stars_repo_name": "ritchie46/flopy",
"max_stars_count": 1,
"id": "122",
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"normalized_source_hash": "1a83d67b2b346008ca9d542ca4b319a565d66eef5c270d7e0b2e8bdaaebb3117",
"source_ast_hash": "3758e4e90d25fd6d7866220d9c50e04197c221bab3adc959a07ac2d234653f3c",
"artifact_hash": "1d14834ab49821df6746374c... | true | true | null |
en_plaincode_to_python | Load print_function from __future__.
Load os.
Load numpy, referred to as np.
Load matplotlib.pyplot, referred to as plt.
Load flopy.
Set fb to flopy dot modflow dot Modflow dot load with "freyberg", version set to "mf2005", model_ws set to (os dot path dot join with "..", "data", and "freyberg"), and verbose set to Tru... | from __future__ import print_function
import os
import numpy as np
import matplotlib.pyplot as plt
import flopy
fb = flopy.modflow.Modflow.load('freyberg', version='mf2005', model_ws=os.path.join('..', 'data', 'freyberg'), verbose=True)
dis = fb.dis
top = fb.dis.top
fb.dis.top.plot(grid=True, colorbar=True)
fb.d... | en | python | run_002_20260417_060406 | 67 | {
"max_stars_repo_path": "examples/Testing/flopy3_plotdata.py",
"max_stars_repo_name": "ritchie46/flopy",
"max_stars_count": 1,
"id": "122",
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "83b424f39f99e3f779484813a99512d74c1bff43c99dcba6bc39cf28f032a27b",
"normalized_source_hash": "1a83d67b2b346008ca9d542ca4b319a565d66eef5c270d7e0b2e8bdaaebb3117",
"source_ast_hash": "3758e4e90d25fd6d7866220d9c50e04197c221bab3adc959a07ac2d234653f3c",
"artifact_hash": "1d14834ab49821df6746374c... | true | true | null |
python_to_en_plaincode | from chia import components
from chia.components.sample_transformers import identity
from chia.components.sample_transformers.sample_transformer import SampleTransformer
class SampleTransformerFactory(components.Factory):
name_to_class_mapping = {"identity": identity.IdentitySampleTransformer}
__all__ = ["Sampl... | Load components from chia.
Load identity from chia.components.sample_transformers.
Load SampleTransformer from chia.components.sample_transformers.sample_transformer.
Define class SampleTransformerFactory inheriting from components.Factory:
Set name_to_class_mapping to the record {`identity` set to identity dot Ide... | python | en | run_002_20260417_060406 | 68 | {
"max_stars_repo_path": "chia/components/sample_transformers/__init__.py",
"max_stars_repo_name": "cabrust/chia",
"max_stars_count": 0,
"id": "123",
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"normalized_source_hash": "23c8cf881eb72ee401769d206d223a0e6dd8e193350b243902fdd4b9140f5fcf",
"source_ast_hash": "9cc9e6bebe2f2b04cdcf240227aa67501e3e5d17981c50f7f0b09d23de6ec756",
"artifact_hash": "8e89693b112eaff1cb890720... | true | true | null |
python_to_es_plaincode | from chia import components
from chia.components.sample_transformers import identity
from chia.components.sample_transformers.sample_transformer import SampleTransformer
class SampleTransformerFactory(components.Factory):
name_to_class_mapping = {"identity": identity.IdentitySampleTransformer}
__all__ = ["Sampl... | Importar components desde chia.
Importar identity desde chia.components.sample_transformers.
Importar SampleTransformer desde chia.components.sample_transformers.sample_transformer.
Definir clase SampleTransformerFactory heredando de components.Factory:
Establecer name_to_class_mapping como el diccionario {`identit... | python | es | run_002_20260417_060406 | 68 | {
"max_stars_repo_path": "chia/components/sample_transformers/__init__.py",
"max_stars_repo_name": "cabrust/chia",
"max_stars_count": 0,
"id": "123",
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"normalized_source_hash": "23c8cf881eb72ee401769d206d223a0e6dd8e193350b243902fdd4b9140f5fcf",
"source_ast_hash": "9cc9e6bebe2f2b04cdcf240227aa67501e3e5d17981c50f7f0b09d23de6ec756",
"artifact_hash": "8e89693b112eaff1cb890720... | true | true | null |
python_to_fr_plaincode | from chia import components
from chia.components.sample_transformers import identity
from chia.components.sample_transformers.sample_transformer import SampleTransformer
class SampleTransformerFactory(components.Factory):
name_to_class_mapping = {"identity": identity.IdentitySampleTransformer}
__all__ = ["Sampl... | Charger components depuis chia.
Charger identity depuis chia.components.sample_transformers.
Charger SampleTransformer depuis chia.components.sample_transformers.sample_transformer.
Définir classe SampleTransformerFactory héritant de components.Factory:
Affecter name_to_class_mapping à le registre {`identity` défin... | python | fr | run_002_20260417_060406 | 68 | {
"max_stars_repo_path": "chia/components/sample_transformers/__init__.py",
"max_stars_repo_name": "cabrust/chia",
"max_stars_count": 0,
"id": "123",
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"normalized_source_hash": "23c8cf881eb72ee401769d206d223a0e6dd8e193350b243902fdd4b9140f5fcf",
"source_ast_hash": "9cc9e6bebe2f2b04cdcf240227aa67501e3e5d17981c50f7f0b09d23de6ec756",
"artifact_hash": "8e89693b112eaff1cb890720... | true | true | null |
en_plaincode_to_python | Load components from chia.
Load identity from chia.components.sample_transformers.
Load SampleTransformer from chia.components.sample_transformers.sample_transformer.
Define class SampleTransformerFactory inheriting from components.Factory:
Set name_to_class_mapping to the record {`identity` set to identity dot Ide... | from chia import components
from chia.components.sample_transformers import identity
from chia.components.sample_transformers.sample_transformer import SampleTransformer
class SampleTransformerFactory(components.Factory):
name_to_class_mapping = {"identity": identity.IdentitySampleTransformer}
__all__ = ["Sampl... | en | python | run_002_20260417_060406 | 68 | {
"max_stars_repo_path": "chia/components/sample_transformers/__init__.py",
"max_stars_repo_name": "cabrust/chia",
"max_stars_count": 0,
"id": "123",
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "4070e0b8a35b2767a377b413aee72691afc4da4384cf824dd0ae001719a4f2bf",
"normalized_source_hash": "23c8cf881eb72ee401769d206d223a0e6dd8e193350b243902fdd4b9140f5fcf",
"source_ast_hash": "9cc9e6bebe2f2b04cdcf240227aa67501e3e5d17981c50f7f0b09d23de6ec756",
"artifact_hash": "8e89693b112eaff1cb890720... | true | true | null |
python_to_en_plaincode | # 添加嘉宾
names = []
names.append('singi')
names.append('lily')
names.append('sam')
print('I find a big dining-table,I can invite more friends.')
names.insert(0, 'xiaoling')
names.insert(2, 'fangsi')
names.append('zhangqing')
greets = ',would you like to have dinner with me ?'
print(names[0]+greets)
print(names[1]+gre... | # 添加嘉宾
Set names to an empty list.
Call names dot append with "singi".
Call names dot append with "lily".
Call names dot append with "sam".
Print "I find a big dining-table,I can invite more friends.".
Call names dot insert with 0, "xiaoling".
Call names dot insert with 2, "fangsi".
Call names dot append with "zhangqin... | python | en | run_002_20260417_060406 | 69 | {
"max_stars_repo_path": "3/3.6/add_guest.py",
"max_stars_repo_name": "singi2016cn/python-scaffold",
"max_stars_count": 0,
"id": "124",
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"normalized_source_hash": "dba3a8ac62a9a40a32ec695ce0bdb2d2d8ffb7e275362d853c450f15246c6d69",
"source_ast_hash": "4b28bc9b867bf68c0522ac68905205ab77a115f9ff387582aea40cd5d11d49a1",
"artifact_hash": "25cd27bdfe93650c23a5c506... | true | true | null |
python_to_es_plaincode | # 添加嘉宾
names = []
names.append('singi')
names.append('lily')
names.append('sam')
print('I find a big dining-table,I can invite more friends.')
names.insert(0, 'xiaoling')
names.insert(2, 'fangsi')
names.append('zhangqing')
greets = ',would you like to have dinner with me ?'
print(names[0]+greets)
print(names[1]+gre... | # 添加嘉宾
Establecer names como una lista vacía.
Llamar names punto append con "singi".
Llamar names punto append con "lily".
Llamar names punto append con "sam".
Imprimir "I find a big dining-table,I can invite more friends.".
Llamar names punto insert con 0, "xiaoling".
Llamar names punto insert con 2, "fangsi".
Llamar ... | python | es | run_002_20260417_060406 | 69 | {
"max_stars_repo_path": "3/3.6/add_guest.py",
"max_stars_repo_name": "singi2016cn/python-scaffold",
"max_stars_count": 0,
"id": "124",
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"normalized_source_hash": "dba3a8ac62a9a40a32ec695ce0bdb2d2d8ffb7e275362d853c450f15246c6d69",
"source_ast_hash": "4b28bc9b867bf68c0522ac68905205ab77a115f9ff387582aea40cd5d11d49a1",
"artifact_hash": "25cd27bdfe93650c23a5c506... | true | true | null |
python_to_fr_plaincode | # 添加嘉宾
names = []
names.append('singi')
names.append('lily')
names.append('sam')
print('I find a big dining-table,I can invite more friends.')
names.insert(0, 'xiaoling')
names.insert(2, 'fangsi')
names.append('zhangqing')
greets = ',would you like to have dinner with me ?'
print(names[0]+greets)
print(names[1]+gre... | # 添加嘉宾
Affecter names à une liste vide.
Appeler names point de append avec "singi".
Appeler names point de append avec "lily".
Appeler names point de append avec "sam".
Afficher "I find a big dining-table,I can invite more friends.".
Appeler names point de insert avec 0, "xiaoling".
Appeler names point de insert avec 2... | python | fr | run_002_20260417_060406 | 69 | {
"max_stars_repo_path": "3/3.6/add_guest.py",
"max_stars_repo_name": "singi2016cn/python-scaffold",
"max_stars_count": 0,
"id": "124",
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"normalized_source_hash": "dba3a8ac62a9a40a32ec695ce0bdb2d2d8ffb7e275362d853c450f15246c6d69",
"source_ast_hash": "4b28bc9b867bf68c0522ac68905205ab77a115f9ff387582aea40cd5d11d49a1",
"artifact_hash": "25cd27bdfe93650c23a5c506... | true | true | null |
en_plaincode_to_python | # 添加嘉宾
Set names to an empty list.
Call names dot append with "singi".
Call names dot append with "lily".
Call names dot append with "sam".
Print "I find a big dining-table,I can invite more friends.".
Call names dot insert with 0, "xiaoling".
Call names dot insert with 2, "fangsi".
Call names dot append with "zhangqin... | # 添加嘉宾
names = []
names.append('singi')
names.append('lily')
names.append('sam')
print('I find a big dining-table,I can invite more friends.')
names.insert(0, 'xiaoling')
names.insert(2, 'fangsi')
names.append('zhangqing')
greets = ',would you like to have dinner with me ?'
print(names[0]+greets)
print(names[1]+gre... | en | python | run_002_20260417_060406 | 69 | {
"max_stars_repo_path": "3/3.6/add_guest.py",
"max_stars_repo_name": "singi2016cn/python-scaffold",
"max_stars_count": 0,
"id": "124",
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2069a6b8e3dfc1568b0edeee3409aa0921a26366159d6c1fbd8e974b095c09b4",
"normalized_source_hash": "dba3a8ac62a9a40a32ec695ce0bdb2d2d8ffb7e275362d853c450f15246c6d69",
"source_ast_hash": "4b28bc9b867bf68c0522ac68905205ab77a115f9ff387582aea40cd5d11d49a1",
"artifact_hash": "25cd27bdfe93650c23a5c506... | true | true | null |
python_to_en_plaincode | from django.template.defaultfilters import slugify
from django.test import TestCase
from package.models import Package, Version
from pypi.slurper import Slurper
TEST_PACKAGE_NAME = 'Django'
TEST_PACKAGE_VERSION = '1.3'
TEST_PACKAGE_REPO_NAME = 'django-uni-form'
class SlurpAllTests(TestCase):
def test_get_latest... | Load slugify from django.template.defaultfilters.
Load TestCase from django.test.
Load Package, Version from package.models.
Load Slurper from pypi.slurper.
Set TEST_PACKAGE_NAME to "Django".
Set TEST_PACKAGE_VERSION to "1.3".
Set TEST_PACKAGE_REPO_NAME to "django-uni-form".
Define class SlurpAllTests inheriting from T... | python | en | run_002_20260417_060406 | 70 | {
"max_stars_repo_path": "apps/pypi/tests/test_slurper.py",
"max_stars_repo_name": "cartwheelweb/packaginator",
"max_stars_count": 1,
"id": "125",
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"normalized_source_hash": "c0fce7bee909488433cfefc4e25d524058457dbf7bb462b26304ede2d0c5da26",
"source_ast_hash": "1d34c30be5f44e3f32331de78566bb39d77a566a7170ed36c01960163ad1de54",
"artifact_hash": "8092f1efc3bf3291d9118e02... | true | true | null |
python_to_es_plaincode | from django.template.defaultfilters import slugify
from django.test import TestCase
from package.models import Package, Version
from pypi.slurper import Slurper
TEST_PACKAGE_NAME = 'Django'
TEST_PACKAGE_VERSION = '1.3'
TEST_PACKAGE_REPO_NAME = 'django-uni-form'
class SlurpAllTests(TestCase):
def test_get_latest... | Importar slugify desde django.template.defaultfilters.
Importar TestCase desde django.test.
Importar Package, Version desde paquete.models.
Importar Slurper desde pypi.slurper.
Establecer TEST_PACKAGE_NAME como "Django".
Establecer TEST_PACKAGE_VERSION como "1.3".
Establecer TEST_PACKAGE_REPO_NAME como "django-uni-form... | python | es | run_002_20260417_060406 | 70 | {
"max_stars_repo_path": "apps/pypi/tests/test_slurper.py",
"max_stars_repo_name": "cartwheelweb/packaginator",
"max_stars_count": 1,
"id": "125",
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"normalized_source_hash": "c0fce7bee909488433cfefc4e25d524058457dbf7bb462b26304ede2d0c5da26",
"source_ast_hash": "1d34c30be5f44e3f32331de78566bb39d77a566a7170ed36c01960163ad1de54",
"artifact_hash": "8092f1efc3bf3291d9118e02... | true | true | null |
python_to_fr_plaincode | from django.template.defaultfilters import slugify
from django.test import TestCase
from package.models import Package, Version
from pypi.slurper import Slurper
TEST_PACKAGE_NAME = 'Django'
TEST_PACKAGE_VERSION = '1.3'
TEST_PACKAGE_REPO_NAME = 'django-uni-form'
class SlurpAllTests(TestCase):
def test_get_latest... | Charger slugify depuis django.template.defaultfilters.
Charger TestCase depuis django.test.
Charger Package, Version depuis paquet.models.
Charger Slurper depuis pypi.slurper.
Affecter TEST_PACKAGE_NAME à "Django".
Affecter TEST_PACKAGE_VERSION à "1.3".
Affecter TEST_PACKAGE_REPO_NAME à "django-uni-form".
Définir class... | python | fr | run_002_20260417_060406 | 70 | {
"max_stars_repo_path": "apps/pypi/tests/test_slurper.py",
"max_stars_repo_name": "cartwheelweb/packaginator",
"max_stars_count": 1,
"id": "125",
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"normalized_source_hash": "c0fce7bee909488433cfefc4e25d524058457dbf7bb462b26304ede2d0c5da26",
"source_ast_hash": "1d34c30be5f44e3f32331de78566bb39d77a566a7170ed36c01960163ad1de54",
"artifact_hash": "8092f1efc3bf3291d9118e02... | true | true | null |
en_plaincode_to_python | Load slugify from django.template.defaultfilters.
Load TestCase from django.test.
Load Package, Version from package.models.
Load Slurper from pypi.slurper.
Set TEST_PACKAGE_NAME to "Django".
Set TEST_PACKAGE_VERSION to "1.3".
Set TEST_PACKAGE_REPO_NAME to "django-uni-form".
Define class SlurpAllTests inheriting from T... | from django.template.defaultfilters import slugify
from django.test import TestCase
from package.models import Package, Version
from pypi.slurper import Slurper
TEST_PACKAGE_NAME = 'Django'
TEST_PACKAGE_VERSION = '1.3'
TEST_PACKAGE_REPO_NAME = 'django-uni-form'
class SlurpAllTests(TestCase):
def test_get_latest... | en | python | run_002_20260417_060406 | 70 | {
"max_stars_repo_path": "apps/pypi/tests/test_slurper.py",
"max_stars_repo_name": "cartwheelweb/packaginator",
"max_stars_count": 1,
"id": "125",
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a1f60b59c929d6f73fc64e9b5035a16d673e0c9ba148a14fab517ed79cf8a9dc",
"normalized_source_hash": "c0fce7bee909488433cfefc4e25d524058457dbf7bb462b26304ede2d0c5da26",
"source_ast_hash": "1d34c30be5f44e3f32331de78566bb39d77a566a7170ed36c01960163ad1de54",
"artifact_hash": "8092f1efc3bf3291d9118e02... | 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.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | python | en | run_002_20260417_060406 | 71 | {
"max_stars_repo_path": "azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence.py",
"max_stars_repo_name": "azuresdkci1x/azure-sdk-for-python-1722",
"max_stars_count": 1,
"id": "126",
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"sanitize_meta": {... | {
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"normalized_source_hash": "61c134aab1c0bcba911aaec8e363a8ecf53727cfd45a923ffc664466a25f9ecf",
"source_ast_hash": "62659fa78750252626eb83e2c63ba924cd0f92e6b7f295fb1f12c2380bcf7744",
"artifact_hash": "08ee27b0004586bd6696fe63... | 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.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt en the project root for
# license information.
#
# Code generated por Microsoft (R) AutoRest Code Generator.
# Changes may cause inco... | python | es | run_002_20260417_060406 | 71 | {
"max_stars_repo_path": "azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence.py",
"max_stars_repo_name": "azuresdkci1x/azure-sdk-for-python-1722",
"max_stars_count": 1,
"id": "126",
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"sanitize_meta": {... | {
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"normalized_source_hash": "61c134aab1c0bcba911aaec8e363a8ecf53727cfd45a923ffc664466a25f9ecf",
"source_ast_hash": "62659fa78750252626eb83e2c63ba924cd0f92e6b7f295fb1f12c2380bcf7744",
"artifact_hash": "08ee27b0004586bd6696fe63... | 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.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt dans the project root for
# license information.
#
# Code generated par Microsoft (R) AutoRest Code Generator.
# Changes may cause in... | python | fr | run_002_20260417_060406 | 71 | {
"max_stars_repo_path": "azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence.py",
"max_stars_repo_name": "azuresdkci1x/azure-sdk-for-python-1722",
"max_stars_count": 1,
"id": "126",
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"sanitize_meta": {... | {
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"normalized_source_hash": "61c134aab1c0bcba911aaec8e363a8ecf53727cfd45a923ffc664466a25f9ecf",
"source_ast_hash": "62659fa78750252626eb83e2c63ba924cd0f92e6b7f295fb1f12c2380bcf7744",
"artifact_hash": "08ee27b0004586bd6696fe63... | 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.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | en | python | run_002_20260417_060406 | 71 | {
"max_stars_repo_path": "azure-mgmt-logic/azure/mgmt/logic/models/recurrence_schedule_occurrence.py",
"max_stars_repo_name": "azuresdkci1x/azure-sdk-for-python-1722",
"max_stars_count": 1,
"id": "126",
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"sanitize_meta": {... | {
"raw_source_hash": "6677df7141383fd786066e2065e9cf0ea1bfd3e8b36227965b6eb936f4016aa7",
"normalized_source_hash": "61c134aab1c0bcba911aaec8e363a8ecf53727cfd45a923ffc664466a25f9ecf",
"source_ast_hash": "62659fa78750252626eb83e2c63ba924cd0f92e6b7f295fb1f12c2380bcf7744",
"artifact_hash": "08ee27b0004586bd6696fe63... | true | true | null |
python_to_en_plaincode | """
@date: 2021/5/16 下午10:22
@file: test_shufflenetv1.py
@author: zj
@description:
"""
import torch
from zcls.config import cfg
from zcls.config.key_word import KEY_OUTPUT
from zcls.model.recognizers.build import build_recognizer
def test_data(model):
data = torch.randn(1, 3, 224, 224)
outputs = model(data... | Text block:
""
"@date: 2021/5/16 \u4e0b\u534810:22"
"@file: test_shufflenetv1.py"
"@author: zj"
"@description: "
ending with a newline.
Load torch.
Load cfg from zcls.config.
Load KEY_OUTPUT from zcls.config.key_word.
Load build_recognizer from zcls.model.recognizers.build.
Define function test_data with parameter mode... | python | en | run_002_20260417_060406 | 72 | {
"max_stars_repo_path": "tests/test_model/test_recognizer/test_shufflenetv1.py",
"max_stars_repo_name": "YinAoXiong/ZCls",
"max_stars_count": 0,
"id": "128",
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"sanitize_meta": {
"triple_block_count": 1,
"total_tri... | {
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"normalized_source_hash": "0f8952ad60fbfcd655d9272d9e40a333b9dca458fe70768c5cbd9774a5ffeb97",
"source_ast_hash": "718e0eef16d3fe800df431f5456fdb94371de34ec4f76b1df1579f4e3f8ad7fb",
"artifact_hash": "2ad1d6caae50c89db4c49242... | true | true | null |
python_to_es_plaincode | """
@date: 2021/5/16 下午10:22
@file: test_shufflenetv1.py
@author: zj
@description:
"""
import torch
from zcls.config import cfg
from zcls.config.key_word import KEY_OUTPUT
from zcls.model.recognizers.build import build_recognizer
def test_data(model):
data = torch.randn(1, 3, 224, 224)
outputs = model(data... | Texto literal:
""
"@date: 2021/5/16 \u4e0b\u534810:22"
"@file: test_shufflenetv1.py"
"@author: zj"
"@description: "
terminando con una nueva línea.
Importar torch.
Importar cfg desde zcls.config.
Importar KEY_OUTPUT desde zcls.config.key_word.
Importar build_recognizer desde zcls.model.recognizers.build.
Definir funció... | python | es | run_002_20260417_060406 | 72 | {
"max_stars_repo_path": "tests/test_model/test_recognizer/test_shufflenetv1.py",
"max_stars_repo_name": "YinAoXiong/ZCls",
"max_stars_count": 0,
"id": "128",
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"sanitize_meta": {
"triple_block_count": 1,
"total_tri... | {
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"normalized_source_hash": "0f8952ad60fbfcd655d9272d9e40a333b9dca458fe70768c5cbd9774a5ffeb97",
"source_ast_hash": "718e0eef16d3fe800df431f5456fdb94371de34ec4f76b1df1579f4e3f8ad7fb",
"artifact_hash": "2ad1d6caae50c89db4c49242... | true | true | null |
python_to_fr_plaincode | """
@date: 2021/5/16 下午10:22
@file: test_shufflenetv1.py
@author: zj
@description:
"""
import torch
from zcls.config import cfg
from zcls.config.key_word import KEY_OUTPUT
from zcls.model.recognizers.build import build_recognizer
def test_data(model):
data = torch.randn(1, 3, 224, 224)
outputs = model(data... | Texte littéral:
""
"@date: 2021/5/16 \u4e0b\u534810:22"
"@file: test_shufflenetv1.py"
"@author: zj"
"@description: "
se terminant par une nouvelle ligne.
Charger torch.
Charger cfg depuis zcls.config.
Charger KEY_OUTPUT depuis zcls.config.key_word.
Charger build_recognizer depuis zcls.model.recognizers.build.
Définir f... | python | fr | run_002_20260417_060406 | 72 | {
"max_stars_repo_path": "tests/test_model/test_recognizer/test_shufflenetv1.py",
"max_stars_repo_name": "YinAoXiong/ZCls",
"max_stars_count": 0,
"id": "128",
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"sanitize_meta": {
"triple_block_count": 1,
"total_tri... | {
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"normalized_source_hash": "0f8952ad60fbfcd655d9272d9e40a333b9dca458fe70768c5cbd9774a5ffeb97",
"source_ast_hash": "718e0eef16d3fe800df431f5456fdb94371de34ec4f76b1df1579f4e3f8ad7fb",
"artifact_hash": "2ad1d6caae50c89db4c49242... | true | true | null |
en_plaincode_to_python | Text block:
""
"@date: 2021/5/16 \u4e0b\u534810:22"
"@file: test_shufflenetv1.py"
"@author: zj"
"@description: "
ending with a newline.
Load torch.
Load cfg from zcls.config.
Load KEY_OUTPUT from zcls.config.key_word.
Load build_recognizer from zcls.model.recognizers.build.
Define function test_data with parameter mode... | """
@date: 2021/5/16 下午10:22
@file: test_shufflenetv1.py
@author: zj
@description:
"""
import torch
from zcls.config import cfg
from zcls.config.key_word import KEY_OUTPUT
from zcls.model.recognizers.build import build_recognizer
def test_data(model):
data = torch.randn(1, 3, 224, 224)
outputs = model(data... | en | python | run_002_20260417_060406 | 72 | {
"max_stars_repo_path": "tests/test_model/test_recognizer/test_shufflenetv1.py",
"max_stars_repo_name": "YinAoXiong/ZCls",
"max_stars_count": 0,
"id": "128",
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"sanitize_meta": {
"triple_block_count": 1,
"total_tri... | {
"raw_source_hash": "4ef187973b1fa72ab8652f416773ad41d37a51bf220da86b541a34005f1e3555",
"normalized_source_hash": "0f8952ad60fbfcd655d9272d9e40a333b9dca458fe70768c5cbd9774a5ffeb97",
"source_ast_hash": "718e0eef16d3fe800df431f5456fdb94371de34ec4f76b1df1579f4e3f8ad7fb",
"artifact_hash": "2ad1d6caae50c89db4c49242... | true | true | null |
python_to_en_plaincode | import os.path
from collections import Counter
import pytest
INPUT_TXT = os.path.join(os.path.dirname(__file__), 'input.txt')
def compute(s: str) -> int:
lines = s.splitlines()
numbers = Counter(int(f) for f in lines[0].split(","))
for d in range(80):
numbers2 = Counter({8: numbers[0], 6: numbe... | Load os.path.
Load Counter from collections.
Load pytest.
Set INPUT_TXT to os dot path dot join with (os dot path dot dirname with __file__) and "input.txt".
Define function compute with parameter s (type: str); return type int:
Set lines to s dot splitlines with no values.
Set numbers to Counter with (the gene... | python | en | run_002_20260417_060406 | 73 | {
"max_stars_repo_path": "day06/part1.py",
"max_stars_repo_name": "bugra-yilmaz/adventofcode2021",
"max_stars_count": 0,
"id": "130",
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 18,
"larg... | {
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"normalized_source_hash": "7c1d685be03b470a1f874c577d3d8ace54dd4b87f7edcfeb7ac28104e3338caf",
"source_ast_hash": "3b4e36e455bdff6b89d8815160aa421b59dd4d10dc461b03a7148dd2b00f87d0",
"artifact_hash": "ca9b4b12848d619fe76a689d... | true | true | null |
python_to_es_plaincode | import os.path
from collections import Counter
import pytest
INPUT_TXT = os.path.join(os.path.dirname(__file__), 'input.txt')
def compute(s: str) -> int:
lines = s.splitlines()
numbers = Counter(int(f) for f in lines[0].split(","))
for d in range(80):
numbers2 = Counter({8: numbers[0], 6: numbe... | Importar os.path.
Importar Counter desde collections.
Importar pytest.
Establecer INPUT_TXT como os punto path punto join con (os punto path punto dirname con __file__) y también "input.txt".
Definir función compute con parámetro s (tipo: str); tipo de retorno int:
Establecer lines como s punto splitlines sin argum... | python | es | run_002_20260417_060406 | 73 | {
"max_stars_repo_path": "day06/part1.py",
"max_stars_repo_name": "bugra-yilmaz/adventofcode2021",
"max_stars_count": 0,
"id": "130",
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 18,
"larg... | {
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"normalized_source_hash": "7c1d685be03b470a1f874c577d3d8ace54dd4b87f7edcfeb7ac28104e3338caf",
"source_ast_hash": "3b4e36e455bdff6b89d8815160aa421b59dd4d10dc461b03a7148dd2b00f87d0",
"artifact_hash": "ca9b4b12848d619fe76a689d... | true | true | null |
python_to_fr_plaincode | import os.path
from collections import Counter
import pytest
INPUT_TXT = os.path.join(os.path.dirname(__file__), 'input.txt')
def compute(s: str) -> int:
lines = s.splitlines()
numbers = Counter(int(f) for f in lines[0].split(","))
for d in range(80):
numbers2 = Counter({8: numbers[0], 6: numbe... | Charger os.path.
Charger Counter depuis collections.
Charger pytest.
Affecter INPUT_TXT à os point de path point de join avec (os point de path point de dirname avec __file__) et "input.txt".
Définir fonction compute avec paramètre s (type : str); type de retour int:
Affecter lines à s point de splitlines sans argu... | python | fr | run_002_20260417_060406 | 73 | {
"max_stars_repo_path": "day06/part1.py",
"max_stars_repo_name": "bugra-yilmaz/adventofcode2021",
"max_stars_count": 0,
"id": "130",
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 18,
"larg... | {
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"normalized_source_hash": "7c1d685be03b470a1f874c577d3d8ace54dd4b87f7edcfeb7ac28104e3338caf",
"source_ast_hash": "3b4e36e455bdff6b89d8815160aa421b59dd4d10dc461b03a7148dd2b00f87d0",
"artifact_hash": "ca9b4b12848d619fe76a689d... | true | true | null |
en_plaincode_to_python | Load os.path.
Load Counter from collections.
Load pytest.
Set INPUT_TXT to os dot path dot join with (os dot path dot dirname with __file__) and "input.txt".
Define function compute with parameter s (type: str); return type int:
Set lines to s dot splitlines with no values.
Set numbers to Counter with (the gene... | import os.path
from collections import Counter
import pytest
INPUT_TXT = os.path.join(os.path.dirname(__file__), 'input.txt')
def compute(s: str) -> int:
lines = s.splitlines()
numbers = Counter(int(f) for f in lines[0].split(","))
for d in range(80):
numbers2 = Counter({8: numbers[0], 6: numbe... | en | python | run_002_20260417_060406 | 73 | {
"max_stars_repo_path": "day06/part1.py",
"max_stars_repo_name": "bugra-yilmaz/adventofcode2021",
"max_stars_count": 0,
"id": "130",
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 18,
"larg... | {
"raw_source_hash": "0c3112de5508076826bffb5133dc0af1852edc0d216b7d3f9d7218c183dba1ac",
"normalized_source_hash": "7c1d685be03b470a1f874c577d3d8ace54dd4b87f7edcfeb7ac28104e3338caf",
"source_ast_hash": "3b4e36e455bdff6b89d8815160aa421b59dd4d10dc461b03a7148dd2b00f87d0",
"artifact_hash": "ca9b4b12848d619fe76a689d... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python3
"""
For the last column, print only the first character.
Usage:
$ printf "100,200\n0,\n" | python3 first_char_last_column.py
Should print "100,2\n0,"
"""
import csv
from sys import stdin, stdout
def main():
reader = csv.reader(stdin)
writer = csv.writer(stdout)
for row in re... | # !/usr/bin/env python3
Text block:
""
"For the last column, print only the first character."
"Usage:"
""
" $ printf \"100,200"
"0,"
"\" | python3 first_char_last_column.py"
""
"Should print \"100,2"
"0,\""
ending with a newline.
Load csv.
Load stdin, stdout from sys.
Define function main:
Set reader to csv dot ... | python | en | run_002_20260417_060406 | 74 | {
"max_stars_repo_path": "examples/first_char_last_column.py",
"max_stars_repo_name": "clarkfitzg/sta141c",
"max_stars_count": 24,
"id": "132",
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 159... | {
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"normalized_source_hash": "a91789359897a33cd000c68a07ed39c4b1ab2da43f8ef59038c1ce5dba50cd56",
"source_ast_hash": "3ef1ab25f73b4e07c99f250ed7fc59242c607177e4c65f633e6f83bd2ab561c8",
"artifact_hash": "46eda36b277bda040a741090... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python3
"""
For the last column, print only the first character.
Usage:
$ printf "100,200\n0,\n" | python3 first_char_last_column.py
Should print "100,2\n0,"
"""
import csv
from sys import stdin, stdout
def main():
reader = csv.reader(stdin)
writer = csv.writer(stdout)
for row in re... | # !/usr/bin/env python3
Texto literal:
""
"For the last column, print only the first character."
"Usage:"
""
" $ printf \"100,200"
"0,"
"\" | python3 first_char_last_column.py"
""
"Should print \"100,2"
"0,\""
terminando con una nueva línea.
Importar csv.
Importar stdin, stdout desde sys.
Definir función main:
E... | python | es | run_002_20260417_060406 | 74 | {
"max_stars_repo_path": "examples/first_char_last_column.py",
"max_stars_repo_name": "clarkfitzg/sta141c",
"max_stars_count": 24,
"id": "132",
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 159... | {
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"normalized_source_hash": "a91789359897a33cd000c68a07ed39c4b1ab2da43f8ef59038c1ce5dba50cd56",
"source_ast_hash": "3ef1ab25f73b4e07c99f250ed7fc59242c607177e4c65f633e6f83bd2ab561c8",
"artifact_hash": "46eda36b277bda040a741090... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python3
"""
For the last column, print only the first character.
Usage:
$ printf "100,200\n0,\n" | python3 first_char_last_column.py
Should print "100,2\n0,"
"""
import csv
from sys import stdin, stdout
def main():
reader = csv.reader(stdin)
writer = csv.writer(stdout)
for row in re... | # !/usr/bin/env python3
Texte littéral:
""
"For the last column, print only the first character."
"Usage:"
""
" $ printf \"100,200"
"0,"
"\" | python3 first_char_last_column.py"
""
"Should print \"100,2"
"0,\""
se terminant par une nouvelle ligne.
Charger csv.
Charger stdin, stdout depuis sys.
Définir fonction main:... | python | fr | run_002_20260417_060406 | 74 | {
"max_stars_repo_path": "examples/first_char_last_column.py",
"max_stars_repo_name": "clarkfitzg/sta141c",
"max_stars_count": 24,
"id": "132",
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 159... | {
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"normalized_source_hash": "a91789359897a33cd000c68a07ed39c4b1ab2da43f8ef59038c1ce5dba50cd56",
"source_ast_hash": "3ef1ab25f73b4e07c99f250ed7fc59242c607177e4c65f633e6f83bd2ab561c8",
"artifact_hash": "46eda36b277bda040a741090... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python3
Text block:
""
"For the last column, print only the first character."
"Usage:"
""
" $ printf \"100,200"
"0,"
"\" | python3 first_char_last_column.py"
""
"Should print \"100,2"
"0,\""
ending with a newline.
Load csv.
Load stdin, stdout from sys.
Define function main:
Set reader to csv dot ... | #!/usr/bin/env python3
"""
For the last column, print only the first character.
Usage:
$ printf "100,200\n0,\n" | python3 first_char_last_column.py
Should print "100,2\n0,"
"""
import csv
from sys import stdin, stdout
def main():
reader = csv.reader(stdin)
writer = csv.writer(stdout)
for row in re... | en | python | run_002_20260417_060406 | 74 | {
"max_stars_repo_path": "examples/first_char_last_column.py",
"max_stars_repo_name": "clarkfitzg/sta141c",
"max_stars_count": 24,
"id": "132",
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 159... | {
"raw_source_hash": "db2342a3742662403c9ea910344472c37548d7197351a19ac9efa3ded21629d4",
"normalized_source_hash": "a91789359897a33cd000c68a07ed39c4b1ab2da43f8ef59038c1ce5dba50cd56",
"source_ast_hash": "3ef1ab25f73b4e07c99f250ed7fc59242c607177e4c65f633e6f83bd2ab561c8",
"artifact_hash": "46eda36b277bda040a741090... | true | true | null |
python_to_en_plaincode | from __future__ import print_function
import zmq
import time
ADDR='tcp://127.0.0.1:11155'
ctx = zmq.Context()
srv = ctx.socket(zmq.REP)
srv.bind(ADDR)
#srv.setsockopt(zmq.RCVTIMEO, 3000);
while True:
try:
msg = srv.recv()
except Exception as e:
print('zmq socket revc timedout:', e)
else:
print('cl... | Load print_function from __future__.
Load zmq.
Load time.
Set ADDR to "tcp://127.0.0.1:11155".
Set ctx to zmq dot Context with no values.
Set srv to ctx dot socket with zmq dot REP.
Call srv dot bind with ADDR.
# srv.setsockopt(zmq.RCVTIMEO, 3000);
While True:
Attempt the following:
Set msg to srv dot recv ... | python | en | run_002_20260417_060406 | 75 | {
"max_stars_repo_path": "zmq_srv.py",
"max_stars_repo_name": "iyedb/boost_asio_zeromq",
"max_stars_count": 4,
"id": "134",
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_... | {
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"normalized_source_hash": "856549d615b3d54f13701a7e435f1746553df983d552f2cb32504adf2b810e12",
"source_ast_hash": "13e59a0295fd2d2e9d903918cb41b41bcd925da21a66b8f577e932a759a52629",
"artifact_hash": "1050a1e5b8cf3a7d9ff91948... | true | true | null |
python_to_es_plaincode | from __future__ import print_function
import zmq
import time
ADDR='tcp://127.0.0.1:11155'
ctx = zmq.Context()
srv = ctx.socket(zmq.REP)
srv.bind(ADDR)
#srv.setsockopt(zmq.RCVTIMEO, 3000);
while True:
try:
msg = srv.recv()
except Exception as e:
print('zmq socket revc timedout:', e)
else:
print('cl... | Importar print_function desde __future__.
Importar zmq.
Importar time.
Establecer ADDR como "tcp://127.0.0.1:11155".
Establecer ctx como zmq punto Context sin argumentos.
Establecer srv como ctx punto socket con zmq punto REP.
Llamar srv punto bind con ADDR.
# srv.setsockopt(zmq.RCVTIMEO, 3000);
Mientras True:
Inte... | python | es | run_002_20260417_060406 | 75 | {
"max_stars_repo_path": "zmq_srv.py",
"max_stars_repo_name": "iyedb/boost_asio_zeromq",
"max_stars_count": 4,
"id": "134",
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_... | {
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"normalized_source_hash": "856549d615b3d54f13701a7e435f1746553df983d552f2cb32504adf2b810e12",
"source_ast_hash": "13e59a0295fd2d2e9d903918cb41b41bcd925da21a66b8f577e932a759a52629",
"artifact_hash": "1050a1e5b8cf3a7d9ff91948... | true | true | null |
python_to_fr_plaincode | from __future__ import print_function
import zmq
import time
ADDR='tcp://127.0.0.1:11155'
ctx = zmq.Context()
srv = ctx.socket(zmq.REP)
srv.bind(ADDR)
#srv.setsockopt(zmq.RCVTIMEO, 3000);
while True:
try:
msg = srv.recv()
except Exception as e:
print('zmq socket revc timedout:', e)
else:
print('cl... | Charger print_function depuis __future__.
Charger zmq.
Charger time.
Affecter ADDR à "tcp://127.0.0.1:11155".
Affecter ctx à zmq point de Context sans arguments.
Affecter srv à ctx point de socket avec zmq point de REP.
Appeler srv point de bind avec ADDR.
# srv.setsockopt(zmq.RCVTIMEO, 3000);
Tant que True:
Essaye... | python | fr | run_002_20260417_060406 | 75 | {
"max_stars_repo_path": "zmq_srv.py",
"max_stars_repo_name": "iyedb/boost_asio_zeromq",
"max_stars_count": 4,
"id": "134",
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_... | {
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"normalized_source_hash": "856549d615b3d54f13701a7e435f1746553df983d552f2cb32504adf2b810e12",
"source_ast_hash": "13e59a0295fd2d2e9d903918cb41b41bcd925da21a66b8f577e932a759a52629",
"artifact_hash": "1050a1e5b8cf3a7d9ff91948... | true | true | null |
en_plaincode_to_python | Load print_function from __future__.
Load zmq.
Load time.
Set ADDR to "tcp://127.0.0.1:11155".
Set ctx to zmq dot Context with no values.
Set srv to ctx dot socket with zmq dot REP.
Call srv dot bind with ADDR.
# srv.setsockopt(zmq.RCVTIMEO, 3000);
While True:
Attempt the following:
Set msg to srv dot recv ... | from __future__ import print_function
import zmq
import time
ADDR='tcp://127.0.0.1:11155'
ctx = zmq.Context()
srv = ctx.socket(zmq.REP)
srv.bind(ADDR)
#srv.setsockopt(zmq.RCVTIMEO, 3000);
while True:
try:
msg = srv.recv()
except Exception as e:
print('zmq socket revc timedout:', e)
else:
print('cl... | en | python | run_002_20260417_060406 | 75 | {
"max_stars_repo_path": "zmq_srv.py",
"max_stars_repo_name": "iyedb/boost_asio_zeromq",
"max_stars_count": 4,
"id": "134",
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_... | {
"raw_source_hash": "e698f9c57977efb4bc009f0e87b55eaa31599253680f49f5b2ccdc7337d0d04d",
"normalized_source_hash": "856549d615b3d54f13701a7e435f1746553df983d552f2cb32504adf2b810e12",
"source_ast_hash": "13e59a0295fd2d2e9d903918cb41b41bcd925da21a66b8f577e932a759a52629",
"artifact_hash": "1050a1e5b8cf3a7d9ff91948... | true | true | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.