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 | """Type stubs for _pytest._code."""
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them in our type stub. We can always change it later.
class ExceptionInfo:
@property
def value(self) -> Exception: ... | Evaluate "Type stubs for _pytest._code.".
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them in our type stub. We can always change it later.
Define class ExceptionInfo:
Apply property to the following:
Define method v... | python | en | run_002_20260417_060406 | 226 | {
"max_stars_repo_path": "stubs/_pytest/_code.py",
"max_stars_repo_name": "questioneer-ltd/scrut",
"max_stars_count": 0,
"id": "393",
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 35,
"larg... | {
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"normalized_source_hash": "4ad8c464efd11da5fbc92671722562891edec03e28ef43b466ef5e5b7ec7a465",
"source_ast_hash": "36c1f7f79eb05b7d962afe29ad37fbe83deb3ac45607cbbee76c82697910dec8",
"artifact_hash": "deab469e34580537c9637ff3... | true | true | null |
python_to_es_plaincode | """Type stubs for _pytest._code."""
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them in our type stub. We can always change it later.
class ExceptionInfo:
@property
def value(self) -> Exception: ... | Evaluar "Type stubs for _pytest._code.".
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them en our type stub. We can always change it later.
Definir clase ExceptionInfo:
Aplicar property a lo siguiente:
Definir método ... | python | es | run_002_20260417_060406 | 226 | {
"max_stars_repo_path": "stubs/_pytest/_code.py",
"max_stars_repo_name": "questioneer-ltd/scrut",
"max_stars_count": 0,
"id": "393",
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 35,
"larg... | {
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"normalized_source_hash": "4ad8c464efd11da5fbc92671722562891edec03e28ef43b466ef5e5b7ec7a465",
"source_ast_hash": "36c1f7f79eb05b7d962afe29ad37fbe83deb3ac45607cbbee76c82697910dec8",
"artifact_hash": "deab469e34580537c9637ff3... | true | true | null |
python_to_fr_plaincode | """Type stubs for _pytest._code."""
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them in our type stub. We can always change it later.
class ExceptionInfo:
@property
def value(self) -> Exception: ... | Évaluer "Type stubs for _pytest._code.".
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them dans our type stub. We can always change it later.
Définir classe ExceptionInfo:
Appliquer property à ce qui suit:
Définir mét... | python | fr | run_002_20260417_060406 | 226 | {
"max_stars_repo_path": "stubs/_pytest/_code.py",
"max_stars_repo_name": "questioneer-ltd/scrut",
"max_stars_count": 0,
"id": "393",
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 35,
"larg... | {
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"normalized_source_hash": "4ad8c464efd11da5fbc92671722562891edec03e28ef43b466ef5e5b7ec7a465",
"source_ast_hash": "36c1f7f79eb05b7d962afe29ad37fbe83deb3ac45607cbbee76c82697910dec8",
"artifact_hash": "deab469e34580537c9637ff3... | true | true | null |
en_plaincode_to_python | Evaluate "Type stubs for _pytest._code.".
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them in our type stub. We can always change it later.
Define class ExceptionInfo:
Apply property to the following:
Define method v... | """Type stubs for _pytest._code."""
# This class actually has more functions than are specified here.
# We don't use these features, so I don't think its worth including
# them in our type stub. We can always change it later.
class ExceptionInfo:
@property
def value(self) -> Exception: ... | en | python | run_002_20260417_060406 | 226 | {
"max_stars_repo_path": "stubs/_pytest/_code.py",
"max_stars_repo_name": "questioneer-ltd/scrut",
"max_stars_count": 0,
"id": "393",
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 35,
"larg... | {
"raw_source_hash": "0b17444f5e8c1768cb87b9baa86a3e6bc4154b48c00e42e22457df193c7f2ef0",
"normalized_source_hash": "4ad8c464efd11da5fbc92671722562891edec03e28ef43b466ef5e5b7ec7a465",
"source_ast_hash": "36c1f7f79eb05b7d962afe29ad37fbe83deb3ac45607cbbee76c82697910dec8",
"artifact_hash": "deab469e34580537c9637ff3... | true | true | null |
python_to_en_plaincode | def get_primes(n):
primes = [] # stores the prime numbers within the reange of the number
sieve = [False] * (n + 1) # stores boolean values indicating whether a number is prime or not
sieve[0] = sieve[1] = True # marking 0 and 1 as not prime
for i in range(2, n + 1): # loops over all the numbers to... | Define function get_primes with parameter n:
Set primes to an empty list. # stores the prime numbers within the reange of the number
Set sieve to the list [False] times (n plus 1). # stores boolean values indicating whether a number is prime or not
Set item 0 of sieve, item 1 of sieve to True. # marking 0 a... | python | en | run_002_20260417_060406 | 227 | {
"max_stars_repo_path": "Prime Factorization/prime_factorization_II.py",
"max_stars_repo_name": "rayvantsahni/Let-us-Math",
"max_stars_count": 2,
"id": "394",
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"normalized_source_hash": "0f8ac1afe6aa891da94e046dfc315645e806e232d8cce5948a1eea3f5d27315e",
"source_ast_hash": "f2669420ec20eeb395469162dc9da91cc0eed1ce2f23fdc8489ce3632b21b0c8",
"artifact_hash": "7ba5e4552d72ca8e23222a24... | true | true | null |
python_to_es_plaincode | def get_primes(n):
primes = [] # stores the prime numbers within the reange of the number
sieve = [False] * (n + 1) # stores boolean values indicating whether a number is prime or not
sieve[0] = sieve[1] = True # marking 0 and 1 as not prime
for i in range(2, n + 1): # loops over all the numbers to... | Definir función get_primes con parámetro n:
Establecer primes como una lista vacía. # stores the prime numbers within the reange de the number
Establecer sieve como la lista [False] veces (n más 1). # stores boolean values indicating whether a number es prime o no
Establecer elemento 0 de sieve, elemento 1 ... | python | es | run_002_20260417_060406 | 227 | {
"max_stars_repo_path": "Prime Factorization/prime_factorization_II.py",
"max_stars_repo_name": "rayvantsahni/Let-us-Math",
"max_stars_count": 2,
"id": "394",
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"normalized_source_hash": "0f8ac1afe6aa891da94e046dfc315645e806e232d8cce5948a1eea3f5d27315e",
"source_ast_hash": "f2669420ec20eeb395469162dc9da91cc0eed1ce2f23fdc8489ce3632b21b0c8",
"artifact_hash": "7ba5e4552d72ca8e23222a24... | true | true | null |
python_to_fr_plaincode | def get_primes(n):
primes = [] # stores the prime numbers within the reange of the number
sieve = [False] * (n + 1) # stores boolean values indicating whether a number is prime or not
sieve[0] = sieve[1] = True # marking 0 and 1 as not prime
for i in range(2, n + 1): # loops over all the numbers to... | Définir fonction get_primes avec paramètre n:
Affecter primes à une liste vide. # stores the prime numbers within the reange de the number
Affecter sieve à la liste [False] fois (n plus 1). # stores boolean values indicating whether a number est prime ou non
Affecter élément 0 de sieve, élément 1 de sieve à... | python | fr | run_002_20260417_060406 | 227 | {
"max_stars_repo_path": "Prime Factorization/prime_factorization_II.py",
"max_stars_repo_name": "rayvantsahni/Let-us-Math",
"max_stars_count": 2,
"id": "394",
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"normalized_source_hash": "0f8ac1afe6aa891da94e046dfc315645e806e232d8cce5948a1eea3f5d27315e",
"source_ast_hash": "f2669420ec20eeb395469162dc9da91cc0eed1ce2f23fdc8489ce3632b21b0c8",
"artifact_hash": "7ba5e4552d72ca8e23222a24... | true | true | null |
en_plaincode_to_python | Define function get_primes with parameter n:
Set primes to an empty list. # stores the prime numbers within the reange of the number
Set sieve to the list [False] times (n plus 1). # stores boolean values indicating whether a number is prime or not
Set item 0 of sieve, item 1 of sieve to True. # marking 0 a... | def get_primes(n):
primes = [] # stores the prime numbers within the reange of the number
sieve = [False] * (n + 1) # stores boolean values indicating whether a number is prime or not
sieve[0] = sieve[1] = True # marking 0 and 1 as not prime
for i in range(2, n + 1): # loops over all the numbers to... | en | python | run_002_20260417_060406 | 227 | {
"max_stars_repo_path": "Prime Factorization/prime_factorization_II.py",
"max_stars_repo_name": "rayvantsahni/Let-us-Math",
"max_stars_count": 2,
"id": "394",
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"sanitize_meta": {
"triple_block_count": 0,
"total_tr... | {
"raw_source_hash": "90e6fc4da52fc101835dd6493de304ceef46318563019d33c24c8d343d78af8d",
"normalized_source_hash": "0f8ac1afe6aa891da94e046dfc315645e806e232d8cce5948a1eea3f5d27315e",
"source_ast_hash": "f2669420ec20eeb395469162dc9da91cc0eed1ce2f23fdc8489ce3632b21b0c8",
"artifact_hash": "7ba5e4552d72ca8e23222a24... | true | true | null |
python_to_en_plaincode | import torch
import torch.nn as nn
class NeuralNet(nn.Module):
def __init__(self, input_size, hidden_size, num_classes):
super(NeuralNet, self).__init__()
self.l1 = nn.Linear(input_size, hidden_size)
self.l2 = nn.Linear(hidden_size, hidden_size)
self.l3 = nn.Linear(hidden_size, h... | Load torch.
Load torch.nn, referred to as nn.
Define class NeuralNet inheriting from nn.Module:
Define method __init__ with parameters self, input_size, hidden_size, num_classes:
Call (super with NeuralNet and self) dot __init__.
Set self dot l1 to nn dot Linear with input_size and hidden_size.
... | python | en | run_002_20260417_060406 | 228 | {
"max_stars_repo_path": "model.py",
"max_stars_repo_name": "Hasanweight/pytorch-chatbot-master",
"max_stars_count": 0,
"id": "396",
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larges... | {
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"normalized_source_hash": "4a325415477aa05a4bb68fef2d0996fcfaac628f94474b9b8b65c9cb01fa0405",
"source_ast_hash": "6fab59ca739706f8ae48f5b26024c34e9ea9a6ec613fb1b2aa641970d1242aad",
"artifact_hash": "8b3ee03213185bd837cbf053... | true | true | null |
python_to_es_plaincode | import torch
import torch.nn as nn
class NeuralNet(nn.Module):
def __init__(self, input_size, hidden_size, num_classes):
super(NeuralNet, self).__init__()
self.l1 = nn.Linear(input_size, hidden_size)
self.l2 = nn.Linear(hidden_size, hidden_size)
self.l3 = nn.Linear(hidden_size, h... | Importar torch.
Importar torch.nn, referido como nn.
Definir clase NeuralNet heredando de nn.Module:
Definir método __init__ con parámetros self, input_size, hidden_size, num_classes:
Llamar (super con NeuralNet y también self) punto __init__.
Establecer self punto l1 como nn punto Linear con input_... | python | es | run_002_20260417_060406 | 228 | {
"max_stars_repo_path": "model.py",
"max_stars_repo_name": "Hasanweight/pytorch-chatbot-master",
"max_stars_count": 0,
"id": "396",
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larges... | {
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"normalized_source_hash": "4a325415477aa05a4bb68fef2d0996fcfaac628f94474b9b8b65c9cb01fa0405",
"source_ast_hash": "6fab59ca739706f8ae48f5b26024c34e9ea9a6ec613fb1b2aa641970d1242aad",
"artifact_hash": "8b3ee03213185bd837cbf053... | true | true | null |
python_to_fr_plaincode | import torch
import torch.nn as nn
class NeuralNet(nn.Module):
def __init__(self, input_size, hidden_size, num_classes):
super(NeuralNet, self).__init__()
self.l1 = nn.Linear(input_size, hidden_size)
self.l2 = nn.Linear(hidden_size, hidden_size)
self.l3 = nn.Linear(hidden_size, h... | Charger torch.
Charger torch.nn, référé comme nn.
Définir classe NeuralNet héritant de nn.Module:
Définir méthode __init__ avec paramètres self, input_size, hidden_size, num_classes:
Appeler (super avec NeuralNet et self) point de __init__.
Affecter self point de l1 à nn point de Linear avec input_s... | python | fr | run_002_20260417_060406 | 228 | {
"max_stars_repo_path": "model.py",
"max_stars_repo_name": "Hasanweight/pytorch-chatbot-master",
"max_stars_count": 0,
"id": "396",
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larges... | {
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"normalized_source_hash": "4a325415477aa05a4bb68fef2d0996fcfaac628f94474b9b8b65c9cb01fa0405",
"source_ast_hash": "6fab59ca739706f8ae48f5b26024c34e9ea9a6ec613fb1b2aa641970d1242aad",
"artifact_hash": "8b3ee03213185bd837cbf053... | true | true | null |
en_plaincode_to_python | Load torch.
Load torch.nn, referred to as nn.
Define class NeuralNet inheriting from nn.Module:
Define method __init__ with parameters self, input_size, hidden_size, num_classes:
Call (super with NeuralNet and self) dot __init__.
Set self dot l1 to nn dot Linear with input_size and hidden_size.
... | import torch
import torch.nn as nn
class NeuralNet(nn.Module):
def __init__(self, input_size, hidden_size, num_classes):
super(NeuralNet, self).__init__()
self.l1 = nn.Linear(input_size, hidden_size)
self.l2 = nn.Linear(hidden_size, hidden_size)
self.l3 = nn.Linear(hidden_size, h... | en | python | run_002_20260417_060406 | 228 | {
"max_stars_repo_path": "model.py",
"max_stars_repo_name": "Hasanweight/pytorch-chatbot-master",
"max_stars_count": 0,
"id": "396",
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larges... | {
"raw_source_hash": "54b6b6480b22e815905545c0364200445f2885cd4f5b3b82f726ad33a3254155",
"normalized_source_hash": "4a325415477aa05a4bb68fef2d0996fcfaac628f94474b9b8b65c9cb01fa0405",
"source_ast_hash": "6fab59ca739706f8ae48f5b26024c34e9ea9a6ec613fb1b2aa641970d1242aad",
"artifact_hash": "8b3ee03213185bd837cbf053... | true | true | null |
python_to_en_plaincode | """ Logging functions for the ``jwql`` automation platform.
This module provides decorators to log the execution of modules. Log
files are written to the ``logs/`` directory in the ``jwql`` central
storage area, named by module name and timestamp, e.g.
``monitor_filesystem/monitor_filesystem_2018-06-20-15:22:51.log``... | Text block:
" Logging functions for the ``jwql`` automation platform."
""
"This module provides decorators to log the execution of modules. Log"
"files are written to the ``logs/`` directory in the ``jwql`` central"
"storage area, named by module name and timestamp, e.g."
"``monitor_filesystem/monitor_filesystem_2018-... | python | en | run_002_20260417_060406 | 229 | {
"max_stars_repo_path": "jwql/utils/logging_functions.py",
"max_stars_repo_name": "hover2pi/jwql",
"max_stars_count": 0,
"id": "397",
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 2835,
"l... | {
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"normalized_source_hash": "b66d6a42b4c5bdf224581fee5b01562f1009eddae4b577e2002af323e4d2efc2",
"source_ast_hash": "975979404e58fed5f0f770fd7e39d9a7a2ab6551ef005d77c8e507cbff4d746c",
"artifact_hash": "4802c435a69e7533d2d49a69... | true | true | null |
python_to_es_plaincode | """ Logging functions for the ``jwql`` automation platform.
This module provides decorators to log the execution of modules. Log
files are written to the ``logs/`` directory in the ``jwql`` central
storage area, named by module name and timestamp, e.g.
``monitor_filesystem/monitor_filesystem_2018-06-20-15:22:51.log``... | Texto literal:
" Logging functions for the ``jwql`` automation platform."
""
"This module provides decorators to log the execution of modules. Log"
"files are written to the ``logs/`` directory in the ``jwql`` central"
"storage area, named by module name and timestamp, e.g."
"``monitor_filesystem/monitor_filesystem_20... | python | es | run_002_20260417_060406 | 229 | {
"max_stars_repo_path": "jwql/utils/logging_functions.py",
"max_stars_repo_name": "hover2pi/jwql",
"max_stars_count": 0,
"id": "397",
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 2835,
"l... | {
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"normalized_source_hash": "b66d6a42b4c5bdf224581fee5b01562f1009eddae4b577e2002af323e4d2efc2",
"source_ast_hash": "975979404e58fed5f0f770fd7e39d9a7a2ab6551ef005d77c8e507cbff4d746c",
"artifact_hash": "4802c435a69e7533d2d49a69... | true | true | null |
python_to_fr_plaincode | """ Logging functions for the ``jwql`` automation platform.
This module provides decorators to log the execution of modules. Log
files are written to the ``logs/`` directory in the ``jwql`` central
storage area, named by module name and timestamp, e.g.
``monitor_filesystem/monitor_filesystem_2018-06-20-15:22:51.log``... | Texte littéral:
" Logging functions for the ``jwql`` automation platform."
""
"This module provides decorators to log the execution of modules. Log"
"files are written to the ``logs/`` directory in the ``jwql`` central"
"storage area, named by module name and timestamp, e.g."
"``monitor_filesystem/monitor_filesystem_2... | python | fr | run_002_20260417_060406 | 229 | {
"max_stars_repo_path": "jwql/utils/logging_functions.py",
"max_stars_repo_name": "hover2pi/jwql",
"max_stars_count": 0,
"id": "397",
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 2835,
"l... | {
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"normalized_source_hash": "b66d6a42b4c5bdf224581fee5b01562f1009eddae4b577e2002af323e4d2efc2",
"source_ast_hash": "975979404e58fed5f0f770fd7e39d9a7a2ab6551ef005d77c8e507cbff4d746c",
"artifact_hash": "4802c435a69e7533d2d49a69... | true | true | null |
en_plaincode_to_python | Text block:
" Logging functions for the ``jwql`` automation platform."
""
"This module provides decorators to log the execution of modules. Log"
"files are written to the ``logs/`` directory in the ``jwql`` central"
"storage area, named by module name and timestamp, e.g."
"``monitor_filesystem/monitor_filesystem_2018-... | """ Logging functions for the ``jwql`` automation platform.
This module provides decorators to log the execution of modules. Log
files are written to the ``logs/`` directory in the ``jwql`` central
storage area, named by module name and timestamp, e.g.
``monitor_filesystem/monitor_filesystem_2018-06-20-15:22:51.log``... | en | python | run_002_20260417_060406 | 229 | {
"max_stars_repo_path": "jwql/utils/logging_functions.py",
"max_stars_repo_name": "hover2pi/jwql",
"max_stars_count": 0,
"id": "397",
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 2835,
"l... | {
"raw_source_hash": "760a908a9bdd15b1d998b4e49af30029618e330aca3698c6c2980148fc0fb786",
"normalized_source_hash": "b66d6a42b4c5bdf224581fee5b01562f1009eddae4b577e2002af323e4d2efc2",
"source_ast_hash": "975979404e58fed5f0f770fd7e39d9a7a2ab6551ef005d77c8e507cbff4d746c",
"artifact_hash": "4802c435a69e7533d2d49a69... | true | true | null |
python_to_en_plaincode | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import hashlib
import os
import zlib
CHUNK = 2 ** 20
def crc(path):
_crc = 0
fh = open(path, 'rb')
while True:
chunk = fh.read(CHUNK)... | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
Load hashlib.
Load os.
Load zlib.
Set CHUNK to 2 to the power of 20.
Define function crc with parameter path:
Set _crc to 0.
Set fh to open with path... | python | en | run_002_20260417_060406 | 230 | {
"max_stars_repo_path": "bcloud-snap/bcloud-3.9.1/bcloud/hasher.py",
"max_stars_repo_name": "jiaxiaolei/my_snap_demo",
"max_stars_count": 0,
"id": "399",
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_... | {
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"normalized_source_hash": "214f9b9aecb64e1fafbc320c44d220060dfef418fd7819e54405381f2f076080",
"source_ast_hash": "658e90ceb839915241ab467e341a961df1ac2b1609e5e91f73655df8ab449332",
"artifact_hash": "52abef78d58fa0d20f582073... | true | true | null |
python_to_es_plaincode | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import hashlib
import os
import zlib
CHUNK = 2 ** 20
def crc(path):
_crc = 0
fh = open(path, 'rb')
while True:
chunk = fh.read(CHUNK)... | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use de this source code es governed por GPLv3 license that can be found
# en http://www.gnu.org/licenses/gpl-3.0.html
Importar hashlib.
Importar os.
Importar zlib.
Establecer CHUNK como 2 elevado a la potencia de 20.
Definir función crc con parámetro path:
Establecer _c... | python | es | run_002_20260417_060406 | 230 | {
"max_stars_repo_path": "bcloud-snap/bcloud-3.9.1/bcloud/hasher.py",
"max_stars_repo_name": "jiaxiaolei/my_snap_demo",
"max_stars_count": 0,
"id": "399",
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_... | {
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"normalized_source_hash": "214f9b9aecb64e1fafbc320c44d220060dfef418fd7819e54405381f2f076080",
"source_ast_hash": "658e90ceb839915241ab467e341a961df1ac2b1609e5e91f73655df8ab449332",
"artifact_hash": "52abef78d58fa0d20f582073... | true | true | null |
python_to_fr_plaincode | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import hashlib
import os
import zlib
CHUNK = 2 ** 20
def crc(path):
_crc = 0
fh = open(path, 'rb')
while True:
chunk = fh.read(CHUNK)... | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use de this source code est governed par GPLv3 license that can be found
# dans http://www.gnu.org/licenses/gpl-3.0.html
Charger hashlib.
Charger os.
Charger zlib.
Affecter CHUNK à 2 élevé à la puissance de 20.
Définir fonction crc avec paramètre path:
Affecter _crc à 0... | python | fr | run_002_20260417_060406 | 230 | {
"max_stars_repo_path": "bcloud-snap/bcloud-3.9.1/bcloud/hasher.py",
"max_stars_repo_name": "jiaxiaolei/my_snap_demo",
"max_stars_count": 0,
"id": "399",
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_... | {
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"normalized_source_hash": "214f9b9aecb64e1fafbc320c44d220060dfef418fd7819e54405381f2f076080",
"source_ast_hash": "658e90ceb839915241ab467e341a961df1ac2b1609e5e91f73655df8ab449332",
"artifact_hash": "52abef78d58fa0d20f582073... | true | true | null |
en_plaincode_to_python | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
Load hashlib.
Load os.
Load zlib.
Set CHUNK to 2 to the power of 20.
Define function crc with parameter path:
Set _crc to 0.
Set fh to open with path... | # Copyright (C) 2014-2015 LiuLang <<EMAIL>>
# Use of this source code is governed by GPLv3 license that can be found
# in http://www.gnu.org/licenses/gpl-3.0.html
import hashlib
import os
import zlib
CHUNK = 2 ** 20
def crc(path):
_crc = 0
fh = open(path, 'rb')
while True:
chunk = fh.read(CHUNK)... | en | python | run_002_20260417_060406 | 230 | {
"max_stars_repo_path": "bcloud-snap/bcloud-3.9.1/bcloud/hasher.py",
"max_stars_repo_name": "jiaxiaolei/my_snap_demo",
"max_stars_count": 0,
"id": "399",
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_... | {
"raw_source_hash": "8083465a507f8bdd8940402c812033338d98abb2e434f0a773c44257f3577da0",
"normalized_source_hash": "214f9b9aecb64e1fafbc320c44d220060dfef418fd7819e54405381f2f076080",
"source_ast_hash": "658e90ceb839915241ab467e341a961df1ac2b1609e5e91f73655df8ab449332",
"artifact_hash": "52abef78d58fa0d20f582073... | true | true | null |
python_to_en_plaincode | import matplotlib.pyplot
__author__ = 'xiongyi'
line1 = [(200, 100), (200, 400)]
line2 = [(190, 190), (210, 210)]
def overlap():
l1p1x = line1[0][0]
l1p1y = line1[0][1]
l1p2x = line1[1][0]
l1p2y = line1[1][1]
# make sure p1x < p2x
if l1p1x > l1p2x:
tmp = l1p1x
l1p1x = l1p2x
... | Load matplotlib.pyplot.
Set __author__ to "xiongyi".
Set line1 to the list [the tuple (200, 100), the tuple (200, 400)].
Set line2 to the list [the tuple (190, 190), the tuple (210, 210)].
Define function overlap:
Set l1p1x to item 0 of (item 0 of line1).
Set l1p1y to item 1 of (item 0 of line1).
Set l1p2x ... | python | en | run_002_20260417_060406 | 231 | {
"max_stars_repo_path": "Simulator/Geometry/RectOverlap.py",
"max_stars_repo_name": "cuixiongyi/RBE595",
"max_stars_count": 0,
"id": "401",
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"normalized_source_hash": "88983eaf9666f62a66806459958c859bd3b4dbb233134b3ec4e7a43b97cd3bb7",
"source_ast_hash": "c5084c6987f1187972e70c9477868824222912d7adaa15b938ee4c45b71dca23",
"artifact_hash": "bee5db4a41d5cfdb0d93aec9... | true | true | null |
python_to_es_plaincode | import matplotlib.pyplot
__author__ = 'xiongyi'
line1 = [(200, 100), (200, 400)]
line2 = [(190, 190), (210, 210)]
def overlap():
l1p1x = line1[0][0]
l1p1y = line1[0][1]
l1p2x = line1[1][0]
l1p2y = line1[1][1]
# make sure p1x < p2x
if l1p1x > l1p2x:
tmp = l1p1x
l1p1x = l1p2x
... | Importar matplotlib.pyplot.
Establecer __author__ como "xiongyi".
Establecer line1 como la lista [la tupla (200, 100), la tupla (200, 400)].
Establecer line2 como la lista [la tupla (190, 190), la tupla (210, 210)].
Definir función overlap:
Establecer l1p1x como elemento 0 de (elemento 0 de line1).
Establecer l... | python | es | run_002_20260417_060406 | 231 | {
"max_stars_repo_path": "Simulator/Geometry/RectOverlap.py",
"max_stars_repo_name": "cuixiongyi/RBE595",
"max_stars_count": 0,
"id": "401",
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"normalized_source_hash": "88983eaf9666f62a66806459958c859bd3b4dbb233134b3ec4e7a43b97cd3bb7",
"source_ast_hash": "c5084c6987f1187972e70c9477868824222912d7adaa15b938ee4c45b71dca23",
"artifact_hash": "bee5db4a41d5cfdb0d93aec9... | true | true | null |
python_to_fr_plaincode | import matplotlib.pyplot
__author__ = 'xiongyi'
line1 = [(200, 100), (200, 400)]
line2 = [(190, 190), (210, 210)]
def overlap():
l1p1x = line1[0][0]
l1p1y = line1[0][1]
l1p2x = line1[1][0]
l1p2y = line1[1][1]
# make sure p1x < p2x
if l1p1x > l1p2x:
tmp = l1p1x
l1p1x = l1p2x
... | Charger matplotlib.pyplot.
Affecter __author__ à "xiongyi".
Affecter line1 à la liste [le tuple (200, 100), le tuple (200, 400)].
Affecter line2 à la liste [le tuple (190, 190), le tuple (210, 210)].
Définir fonction overlap:
Affecter l1p1x à élément 0 de (élément 0 de line1).
Affecter l1p1y à élément 1 de (élé... | python | fr | run_002_20260417_060406 | 231 | {
"max_stars_repo_path": "Simulator/Geometry/RectOverlap.py",
"max_stars_repo_name": "cuixiongyi/RBE595",
"max_stars_count": 0,
"id": "401",
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"normalized_source_hash": "88983eaf9666f62a66806459958c859bd3b4dbb233134b3ec4e7a43b97cd3bb7",
"source_ast_hash": "c5084c6987f1187972e70c9477868824222912d7adaa15b938ee4c45b71dca23",
"artifact_hash": "bee5db4a41d5cfdb0d93aec9... | true | true | null |
en_plaincode_to_python | Load matplotlib.pyplot.
Set __author__ to "xiongyi".
Set line1 to the list [the tuple (200, 100), the tuple (200, 400)].
Set line2 to the list [the tuple (190, 190), the tuple (210, 210)].
Define function overlap:
Set l1p1x to item 0 of (item 0 of line1).
Set l1p1y to item 1 of (item 0 of line1).
Set l1p2x ... | import matplotlib.pyplot
__author__ = 'xiongyi'
line1 = [(200, 100), (200, 400)]
line2 = [(190, 190), (210, 210)]
def overlap():
l1p1x = line1[0][0]
l1p1y = line1[0][1]
l1p2x = line1[1][0]
l1p2y = line1[1][1]
# make sure p1x < p2x
if l1p1x > l1p2x:
tmp = l1p1x
l1p1x = l1p2x
... | en | python | run_002_20260417_060406 | 231 | {
"max_stars_repo_path": "Simulator/Geometry/RectOverlap.py",
"max_stars_repo_name": "cuixiongyi/RBE595",
"max_stars_count": 0,
"id": "401",
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "2a70f60e3d8869e31bb1896bf57c2ffed9687b7bd2cd5b83236602639ff7b4f5",
"normalized_source_hash": "88983eaf9666f62a66806459958c859bd3b4dbb233134b3ec4e7a43b97cd3bb7",
"source_ast_hash": "c5084c6987f1187972e70c9477868824222912d7adaa15b938ee4c45b71dca23",
"artifact_hash": "bee5db4a41d5cfdb0d93aec9... | true | true | null |
python_to_en_plaincode | from sqlalchemy import select
from sqlalchemy.schema import Column
from .declarative import Model
class Loader:
@classmethod
def get(cls, value):
from .crud import Alias
if isinstance(value, Loader):
rv = value
elif isinstance(value, type) and issubclass(value, Model):
... | Load select from sqlalchemy.
Load Column from sqlalchemy.schema.
Load Model from the current package.declarative.
Define class Loader:
Apply classmethod to the following:
Define method get with parameters cls, value:
Load Alias from the current package.crud.
If isinstance with value ... | python | en | run_002_20260417_060406 | 232 | {
"max_stars_repo_path": "gino/loader.py",
"max_stars_repo_name": "p4l1ly/gino",
"max_stars_count": 0,
"id": "402",
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block": ... | {
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"normalized_source_hash": "a65b82738573e7f68537e6c7bd6dbb52015807a64546d28074d2ccdd6213b595",
"source_ast_hash": "5f9e7bf07ec1ff1fad8996d20d86deb05658d005b2695d937a7b83ee6d6dbb5f",
"artifact_hash": "0d96c4595ecf144bded9e7ea... | true | true | null |
python_to_es_plaincode | from sqlalchemy import select
from sqlalchemy.schema import Column
from .declarative import Model
class Loader:
@classmethod
def get(cls, value):
from .crud import Alias
if isinstance(value, Loader):
rv = value
elif isinstance(value, type) and issubclass(value, Model):
... | Importar select desde sqlalchemy.
Importar Column desde sqlalchemy.schema.
Importar Model desde el paquete actual.declarative.
Definir clase Loader:
Aplicar classmethod a lo siguiente:
Definir método get con parámetros cls, value:
Importar Alias desde el paquete actual.crud.
Si isins... | python | es | run_002_20260417_060406 | 232 | {
"max_stars_repo_path": "gino/loader.py",
"max_stars_repo_name": "p4l1ly/gino",
"max_stars_count": 0,
"id": "402",
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block": ... | {
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"normalized_source_hash": "a65b82738573e7f68537e6c7bd6dbb52015807a64546d28074d2ccdd6213b595",
"source_ast_hash": "5f9e7bf07ec1ff1fad8996d20d86deb05658d005b2695d937a7b83ee6d6dbb5f",
"artifact_hash": "0d96c4595ecf144bded9e7ea... | true | true | null |
python_to_fr_plaincode | from sqlalchemy import select
from sqlalchemy.schema import Column
from .declarative import Model
class Loader:
@classmethod
def get(cls, value):
from .crud import Alias
if isinstance(value, Loader):
rv = value
elif isinstance(value, type) and issubclass(value, Model):
... | Charger select depuis sqlalchemy.
Charger Column depuis sqlalchemy.schema.
Charger Model depuis le paquet actuel.declarative.
Définir classe Loader:
Appliquer classmethod à ce qui suit:
Définir méthode get avec paramètres cls, value:
Charger Alias depuis le paquet actuel.crud.
Si isi... | python | fr | run_002_20260417_060406 | 232 | {
"max_stars_repo_path": "gino/loader.py",
"max_stars_repo_name": "p4l1ly/gino",
"max_stars_count": 0,
"id": "402",
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block": ... | {
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"normalized_source_hash": "a65b82738573e7f68537e6c7bd6dbb52015807a64546d28074d2ccdd6213b595",
"source_ast_hash": "5f9e7bf07ec1ff1fad8996d20d86deb05658d005b2695d937a7b83ee6d6dbb5f",
"artifact_hash": "0d96c4595ecf144bded9e7ea... | true | true | null |
en_plaincode_to_python | Load select from sqlalchemy.
Load Column from sqlalchemy.schema.
Load Model from the current package.declarative.
Define class Loader:
Apply classmethod to the following:
Define method get with parameters cls, value:
Load Alias from the current package.crud.
If isinstance with value ... | from sqlalchemy import select
from sqlalchemy.schema import Column
from .declarative import Model
class Loader:
@classmethod
def get(cls, value):
from .crud import Alias
if isinstance(value, Loader):
rv = value
elif isinstance(value, type) and issubclass(value, Model):
... | en | python | run_002_20260417_060406 | 232 | {
"max_stars_repo_path": "gino/loader.py",
"max_stars_repo_name": "p4l1ly/gino",
"max_stars_count": 0,
"id": "402",
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_block": ... | {
"raw_source_hash": "9807049f4e36af4e5e1b0ac8b1f165316ace6953f197ca675cd2534322766297",
"normalized_source_hash": "a65b82738573e7f68537e6c7bd6dbb52015807a64546d28074d2ccdd6213b595",
"source_ast_hash": "5f9e7bf07ec1ff1fad8996d20d86deb05658d005b2695d937a7b83ee6d6dbb5f",
"artifact_hash": "0d96c4595ecf144bded9e7ea... | true | true | null |
python_to_en_plaincode | from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
from kivy.uix.textinput import TextInput
from kivy.garden.matplotlib.backend_kivyagg import FigureCanvasKivyAgg
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
import ma... | Load GridLayout from kivy.uix.gridlayout.
Load Label from kivy.uix.label.
Load TextInput from kivy.uix.textinput.
Load FigureCanvasKivyAgg from kivy.garden.matplotlib.backend_kivyagg.
Load AnchorLayout from kivy.uix.anchorlayout.
Load BoxLayout from kivy.uix.boxlayout.
Load Button from kivy.uix.button.
Load matplotlib.... | python | en | run_002_20260417_060406 | 233 | {
"max_stars_repo_path": "TransactionBook/gui_kivy/generic/MultiSelectPopUp.py",
"max_stars_repo_name": "LukHad/AccountBook",
"max_stars_count": 0,
"id": "408",
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"sanitize_meta": {
"triple_block_count": 0,
"total_t... | {
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"normalized_source_hash": "9002a96598563c21eb29e6d7437b59bebdc1ef46c7f4f410de1f4cdb22e5aceb",
"source_ast_hash": "154d0161998d739a15b854768cd5c57e25ba95441a9c247a833c494799749c75",
"artifact_hash": "44c7d71a6c2e5bec536a3da8... | true | true | null |
python_to_es_plaincode | from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
from kivy.uix.textinput import TextInput
from kivy.garden.matplotlib.backend_kivyagg import FigureCanvasKivyAgg
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
import ma... | Importar GridLayout desde kivy.uix.gridlayout.
Importar Label desde kivy.uix.label.
Importar TextInput desde kivy.uix.textinput.
Importar FigureCanvasKivyAgg desde kivy.garden.matplotlib.backend_kivyagg.
Importar AnchorLayout desde kivy.uix.anchorlayout.
Importar BoxLayout desde kivy.uix.boxlayout.
Importar Button desd... | python | es | run_002_20260417_060406 | 233 | {
"max_stars_repo_path": "TransactionBook/gui_kivy/generic/MultiSelectPopUp.py",
"max_stars_repo_name": "LukHad/AccountBook",
"max_stars_count": 0,
"id": "408",
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"sanitize_meta": {
"triple_block_count": 0,
"total_t... | {
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"normalized_source_hash": "9002a96598563c21eb29e6d7437b59bebdc1ef46c7f4f410de1f4cdb22e5aceb",
"source_ast_hash": "154d0161998d739a15b854768cd5c57e25ba95441a9c247a833c494799749c75",
"artifact_hash": "44c7d71a6c2e5bec536a3da8... | true | true | null |
python_to_fr_plaincode | from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
from kivy.uix.textinput import TextInput
from kivy.garden.matplotlib.backend_kivyagg import FigureCanvasKivyAgg
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
import ma... | Charger GridLayout depuis kivy.uix.gridlayout.
Charger Label depuis kivy.uix.label.
Charger TextInput depuis kivy.uix.textinput.
Charger FigureCanvasKivyAgg depuis kivy.garden.matplotlib.backend_kivyagg.
Charger AnchorLayout depuis kivy.uix.anchorlayout.
Charger BoxLayout depuis kivy.uix.boxlayout.
Charger Button depui... | python | fr | run_002_20260417_060406 | 233 | {
"max_stars_repo_path": "TransactionBook/gui_kivy/generic/MultiSelectPopUp.py",
"max_stars_repo_name": "LukHad/AccountBook",
"max_stars_count": 0,
"id": "408",
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"sanitize_meta": {
"triple_block_count": 0,
"total_t... | {
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"normalized_source_hash": "9002a96598563c21eb29e6d7437b59bebdc1ef46c7f4f410de1f4cdb22e5aceb",
"source_ast_hash": "154d0161998d739a15b854768cd5c57e25ba95441a9c247a833c494799749c75",
"artifact_hash": "44c7d71a6c2e5bec536a3da8... | true | true | null |
en_plaincode_to_python | Load GridLayout from kivy.uix.gridlayout.
Load Label from kivy.uix.label.
Load TextInput from kivy.uix.textinput.
Load FigureCanvasKivyAgg from kivy.garden.matplotlib.backend_kivyagg.
Load AnchorLayout from kivy.uix.anchorlayout.
Load BoxLayout from kivy.uix.boxlayout.
Load Button from kivy.uix.button.
Load matplotlib.... | from kivy.uix.gridlayout import GridLayout
from kivy.uix.label import Label
from kivy.uix.textinput import TextInput
from kivy.garden.matplotlib.backend_kivyagg import FigureCanvasKivyAgg
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
import ma... | en | python | run_002_20260417_060406 | 233 | {
"max_stars_repo_path": "TransactionBook/gui_kivy/generic/MultiSelectPopUp.py",
"max_stars_repo_name": "LukHad/AccountBook",
"max_stars_count": 0,
"id": "408",
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"sanitize_meta": {
"triple_block_count": 0,
"total_t... | {
"raw_source_hash": "53f6b0922ad9aa6bc13e60daff6d985242c11ed2863f975104ebaa3a32cf1c09",
"normalized_source_hash": "9002a96598563c21eb29e6d7437b59bebdc1ef46c7f4f410de1f4cdb22e5aceb",
"source_ast_hash": "154d0161998d739a15b854768cd5c57e25ba95441a9c247a833c494799749c75",
"artifact_hash": "44c7d71a6c2e5bec536a3da8... | true | true | null |
python_to_en_plaincode | import subprocess
import threading
import time
import errno
import socket
import urllib
import pathlib
from io import StringIO
from http.server import BaseHTTPRequestHandler, HTTPServer
import lib.stations as stations
import lib.epg2xml as epg2xml
import lib.channels_m3u as channels_m3u
from lib.templates import templ... | Load subprocess.
Load threading.
Load time.
Load errno.
Load socket.
Load urllib.
Load pathlib.
Load StringIO from io.
Load BaseHTTPRequestHandler, HTTPServer from http.server.
Load lib.stations, referred to as stations.
Load lib.epg2xml, referred to as epg2xml.
Load lib.channels_m3u, referred to as channels_m3u.
Load ... | python | en | run_002_20260417_060406 | 234 | {
"max_stars_repo_path": "lib/tuner_interface.py",
"max_stars_repo_name": "jefflundberg/locast2plex",
"max_stars_count": 0,
"id": "410",
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"normalized_source_hash": "a8055b5fb3d822bc8d17b7646d4e976ac77b3cdd745ebf131b4321ed50e4fccc",
"source_ast_hash": "b606b7d31acf3e09dcc90f624ee874088c20a246a0a77918e8bd689fc64b21d4",
"artifact_hash": "bd627faad03755c6c45d1918... | true | true | null |
python_to_es_plaincode | import subprocess
import threading
import time
import errno
import socket
import urllib
import pathlib
from io import StringIO
from http.server import BaseHTTPRequestHandler, HTTPServer
import lib.stations as stations
import lib.epg2xml as epg2xml
import lib.channels_m3u as channels_m3u
from lib.templates import templ... | Importar subprocess.
Importar threading.
Importar time.
Importar errno.
Importar socket.
Importar urllib.
Importar pathlib.
Importar StringIO desde io.
Importar BaseHTTPRequestHandler, HTTPServer desde http.server.
Importar lib.stations, referido como stations.
Importar lib.epg2xml, referido como epg2xml.
Importar lib.... | python | es | run_002_20260417_060406 | 234 | {
"max_stars_repo_path": "lib/tuner_interface.py",
"max_stars_repo_name": "jefflundberg/locast2plex",
"max_stars_count": 0,
"id": "410",
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"normalized_source_hash": "a8055b5fb3d822bc8d17b7646d4e976ac77b3cdd745ebf131b4321ed50e4fccc",
"source_ast_hash": "b606b7d31acf3e09dcc90f624ee874088c20a246a0a77918e8bd689fc64b21d4",
"artifact_hash": "bd627faad03755c6c45d1918... | true | true | null |
python_to_fr_plaincode | import subprocess
import threading
import time
import errno
import socket
import urllib
import pathlib
from io import StringIO
from http.server import BaseHTTPRequestHandler, HTTPServer
import lib.stations as stations
import lib.epg2xml as epg2xml
import lib.channels_m3u as channels_m3u
from lib.templates import templ... | Charger subprocess.
Charger threading.
Charger time.
Charger errno.
Charger socket.
Charger urllib.
Charger pathlib.
Charger StringIO depuis io.
Charger BaseHTTPRequestHandler, HTTPServer depuis http.server.
Charger lib.stations, référé comme stations.
Charger lib.epg2xml, référé comme epg2xml.
Charger lib.channels_m3u... | python | fr | run_002_20260417_060406 | 234 | {
"max_stars_repo_path": "lib/tuner_interface.py",
"max_stars_repo_name": "jefflundberg/locast2plex",
"max_stars_count": 0,
"id": "410",
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"normalized_source_hash": "a8055b5fb3d822bc8d17b7646d4e976ac77b3cdd745ebf131b4321ed50e4fccc",
"source_ast_hash": "b606b7d31acf3e09dcc90f624ee874088c20a246a0a77918e8bd689fc64b21d4",
"artifact_hash": "bd627faad03755c6c45d1918... | true | true | null |
en_plaincode_to_python | Load subprocess.
Load threading.
Load time.
Load errno.
Load socket.
Load urllib.
Load pathlib.
Load StringIO from io.
Load BaseHTTPRequestHandler, HTTPServer from http.server.
Load lib.stations, referred to as stations.
Load lib.epg2xml, referred to as epg2xml.
Load lib.channels_m3u, referred to as channels_m3u.
Load ... | import subprocess
import threading
import time
import errno
import socket
import urllib
import pathlib
from io import StringIO
from http.server import BaseHTTPRequestHandler, HTTPServer
import lib.stations as stations
import lib.epg2xml as epg2xml
import lib.channels_m3u as channels_m3u
from lib.templates import templ... | en | python | run_002_20260417_060406 | 234 | {
"max_stars_repo_path": "lib/tuner_interface.py",
"max_stars_repo_name": "jefflundberg/locast2plex",
"max_stars_count": 0,
"id": "410",
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"la... | {
"raw_source_hash": "75845b88fe4dde6be429bf2873f9aee9e58cbd0b26b2585e50a78485e7d12153",
"normalized_source_hash": "a8055b5fb3d822bc8d17b7646d4e976ac77b3cdd745ebf131b4321ed50e4fccc",
"source_ast_hash": "b606b7d31acf3e09dcc90f624ee874088c20a246a0a77918e8bd689fc64b21d4",
"artifact_hash": "bd627faad03755c6c45d1918... | true | true | null |
python_to_en_plaincode | from django import template
from django.contrib.auth.decorators import login_required
from django.http import HttpResponse
from django.template import loader
@login_required(login_url="/login/")
def index(request):
context = {}
context["segment"] = "index"
html_template = loader.get_template("index.html"... | Load template from django.
Load login_required from django.contrib.auth.decorators.
Load HttpResponse from django.http.
Load loader from django.template.
Apply login_required with login_url set to "/login/" to the following:
Define function index with parameter request:
Set context to an empty dictionary.
... | python | en | run_002_20260417_060406 | 235 | {
"max_stars_repo_path": "{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/local/pages/views.py",
"max_stars_repo_name": "dcs3spp/cookiecutter-django-api",
"max_stars_count": 0,
"id": "411",
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"sanitize_meta"... | {
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"normalized_source_hash": "e88ed10733bd99c06f595ffb81139f00066839f53be16bf2b89efee65ed6affa",
"source_ast_hash": "4f4eef65b4d5fa6e8a51aaadfacadde9261d9afdf0c375601732b1ab6e687b2f",
"artifact_hash": "ff45e3f93584b06ebc2e8790... | true | true | null |
python_to_es_plaincode | from django import template
from django.contrib.auth.decorators import login_required
from django.http import HttpResponse
from django.template import loader
@login_required(login_url="/login/")
def index(request):
context = {}
context["segment"] = "index"
html_template = loader.get_template("index.html"... | Importar template desde django.
Importar login_required desde django.contrib.auth.decorators.
Importar HttpResponse desde django.http.
Importar loader desde django.template.
Aplicar login_required con login_url establecido a "/login/" a lo siguiente:
Definir función index con parámetro request:
Establecer c... | python | es | run_002_20260417_060406 | 235 | {
"max_stars_repo_path": "{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/local/pages/views.py",
"max_stars_repo_name": "dcs3spp/cookiecutter-django-api",
"max_stars_count": 0,
"id": "411",
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"sanitize_meta"... | {
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"normalized_source_hash": "e88ed10733bd99c06f595ffb81139f00066839f53be16bf2b89efee65ed6affa",
"source_ast_hash": "4f4eef65b4d5fa6e8a51aaadfacadde9261d9afdf0c375601732b1ab6e687b2f",
"artifact_hash": "ff45e3f93584b06ebc2e8790... | true | true | null |
python_to_fr_plaincode | from django import template
from django.contrib.auth.decorators import login_required
from django.http import HttpResponse
from django.template import loader
@login_required(login_url="/login/")
def index(request):
context = {}
context["segment"] = "index"
html_template = loader.get_template("index.html"... | Charger template depuis django.
Charger login_required depuis django.contrib.auth.decorators.
Charger HttpResponse depuis django.http.
Charger loader depuis django.template.
Appliquer login_required avec login_url défini à "/login/" à ce qui suit:
Définir fonction index avec paramètre request:
Affecter cont... | python | fr | run_002_20260417_060406 | 235 | {
"max_stars_repo_path": "{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/local/pages/views.py",
"max_stars_repo_name": "dcs3spp/cookiecutter-django-api",
"max_stars_count": 0,
"id": "411",
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"sanitize_meta"... | {
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"normalized_source_hash": "e88ed10733bd99c06f595ffb81139f00066839f53be16bf2b89efee65ed6affa",
"source_ast_hash": "4f4eef65b4d5fa6e8a51aaadfacadde9261d9afdf0c375601732b1ab6e687b2f",
"artifact_hash": "ff45e3f93584b06ebc2e8790... | true | true | null |
en_plaincode_to_python | Load template from django.
Load login_required from django.contrib.auth.decorators.
Load HttpResponse from django.http.
Load loader from django.template.
Apply login_required with login_url set to "/login/" to the following:
Define function index with parameter request:
Set context to an empty dictionary.
... | from django import template
from django.contrib.auth.decorators import login_required
from django.http import HttpResponse
from django.template import loader
@login_required(login_url="/login/")
def index(request):
context = {}
context["segment"] = "index"
html_template = loader.get_template("index.html"... | en | python | run_002_20260417_060406 | 235 | {
"max_stars_repo_path": "{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/local/pages/views.py",
"max_stars_repo_name": "dcs3spp/cookiecutter-django-api",
"max_stars_count": 0,
"id": "411",
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"sanitize_meta"... | {
"raw_source_hash": "d36eba326069046abf714a5715eca6fdd126ad010e5795db59c91767f60159b6",
"normalized_source_hash": "e88ed10733bd99c06f595ffb81139f00066839f53be16bf2b89efee65ed6affa",
"source_ast_hash": "4f4eef65b4d5fa6e8a51aaadfacadde9261d9afdf0c375601732b1ab6e687b2f",
"artifact_hash": "ff45e3f93584b06ebc2e8790... | true | true | null |
python_to_en_plaincode | s = "([}}])"
stack = []
if len(s) % 2 == 1:
print(False)
exit()
for i in s:
if i == "(":
stack.append("(")
elif i == "[":
stack.append("[")
elif i == "{":
stack.append("{")
elif i == ")":
if len(stack) < 1:
print(False)
exit()
if... | Set s to "([}}])".
Set stack to an empty list.
If (len with s) modulo 2 equals 1:
Print False.
Call exit.
For each i in s:
If i equals "(":
Call stack dot append with "(".
Otherwise, if i equals "[":
Call stack dot append with "[".
Otherwise, if i equals "{":
Call stack dot a... | python | en | run_002_20260417_060406 | 236 | {
"max_stars_repo_path": "algorithm/python/LeetCode/isValid.py",
"max_stars_repo_name": "HoneyS2/meaningful",
"max_stars_count": 0,
"id": "413",
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"normalized_source_hash": "38c8eaf58c33ba26ca237a192d90820475ce887b85bfd6205354344538e483fa",
"source_ast_hash": "28bc0a15eba26a4103cfcb5b1159d1b5314586537f06c239c6d0fe5217573a4f",
"artifact_hash": "47bd10fa0e39fcdf8449749a... | true | true | null |
python_to_es_plaincode | s = "([}}])"
stack = []
if len(s) % 2 == 1:
print(False)
exit()
for i in s:
if i == "(":
stack.append("(")
elif i == "[":
stack.append("[")
elif i == "{":
stack.append("{")
elif i == ")":
if len(stack) < 1:
print(False)
exit()
if... | Establecer s como "([}}])".
Establecer stack como una lista vacía.
Si (len con s) módulo 2 es igual a 1:
Imprimir False.
Llamar exit.
Para cada i en s:
Si i es igual a "(":
Llamar stack punto append con "(".
De lo contrario, si i es igual a "[":
Llamar stack punto append con "[".
De ... | python | es | run_002_20260417_060406 | 236 | {
"max_stars_repo_path": "algorithm/python/LeetCode/isValid.py",
"max_stars_repo_name": "HoneyS2/meaningful",
"max_stars_count": 0,
"id": "413",
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"normalized_source_hash": "38c8eaf58c33ba26ca237a192d90820475ce887b85bfd6205354344538e483fa",
"source_ast_hash": "28bc0a15eba26a4103cfcb5b1159d1b5314586537f06c239c6d0fe5217573a4f",
"artifact_hash": "47bd10fa0e39fcdf8449749a... | true | true | null |
python_to_fr_plaincode | s = "([}}])"
stack = []
if len(s) % 2 == 1:
print(False)
exit()
for i in s:
if i == "(":
stack.append("(")
elif i == "[":
stack.append("[")
elif i == "{":
stack.append("{")
elif i == ")":
if len(stack) < 1:
print(False)
exit()
if... | Affecter s à "([}}])".
Affecter stack à une liste vide.
Si (len avec s) modulo 2 est égal à 1:
Afficher False.
Appeler exit.
Pour chaque i dans s:
Si i est égal à "(":
Appeler stack point de append avec "(".
Sinon, si i est égal à "[":
Appeler stack point de append avec "[".
Sinon, s... | python | fr | run_002_20260417_060406 | 236 | {
"max_stars_repo_path": "algorithm/python/LeetCode/isValid.py",
"max_stars_repo_name": "HoneyS2/meaningful",
"max_stars_count": 0,
"id": "413",
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"normalized_source_hash": "38c8eaf58c33ba26ca237a192d90820475ce887b85bfd6205354344538e483fa",
"source_ast_hash": "28bc0a15eba26a4103cfcb5b1159d1b5314586537f06c239c6d0fe5217573a4f",
"artifact_hash": "47bd10fa0e39fcdf8449749a... | true | true | null |
en_plaincode_to_python | Set s to "([}}])".
Set stack to an empty list.
If (len with s) modulo 2 equals 1:
Print False.
Call exit.
For each i in s:
If i equals "(":
Call stack dot append with "(".
Otherwise, if i equals "[":
Call stack dot append with "[".
Otherwise, if i equals "{":
Call stack dot a... | s = "([}}])"
stack = []
if len(s) % 2 == 1:
print(False)
exit()
for i in s:
if i == "(":
stack.append("(")
elif i == "[":
stack.append("[")
elif i == "{":
stack.append("{")
elif i == ")":
if len(stack) < 1:
print(False)
exit()
if... | en | python | run_002_20260417_060406 | 236 | {
"max_stars_repo_path": "algorithm/python/LeetCode/isValid.py",
"max_stars_repo_name": "HoneyS2/meaningful",
"max_stars_count": 0,
"id": "413",
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "1ce8d72df0a8952fa357a4735a1e40efa756d9660f70a18664b4389fe281232d",
"normalized_source_hash": "38c8eaf58c33ba26ca237a192d90820475ce887b85bfd6205354344538e483fa",
"source_ast_hash": "28bc0a15eba26a4103cfcb5b1159d1b5314586537f06c239c6d0fe5217573a4f",
"artifact_hash": "47bd10fa0e39fcdf8449749a... | true | true | null |
python_to_en_plaincode | from decimal import Decimal
from fixtures import * # noqa: F401,F403
from fixtures import TEST_NETWORK
from flaky import flaky # noqa: F401
from pyln.client import RpcError, Millisatoshi
from utils import (
only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT,
VALGRIND
)
import os
import pytes... | Load Decimal from decimal.
Load everything from fixtures. # noqa: F401,F403
Load TEST_NETWORK from fixtures.
Load flaky from flaky. # noqa: F401
Load RpcError, Millisatoshi from pyln.client.
Load only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT, VALGRIND from utils.
Load os.
Load pytest.
Load subproc... | python | en | run_002_20260417_060406 | 237 | {
"max_stars_repo_path": "tests/test_wallet.py",
"max_stars_repo_name": "NickeZ/lightning",
"max_stars_count": 1,
"id": "415",
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 788,
"largest_tr... | {
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"normalized_source_hash": "89fb94ba24614022fb44808ed29fd10a6087c2c151aec81c6d830a80fdb89743",
"source_ast_hash": "6f03836a8b6122f3deb6ae8956b5f933f7e91e51845b527787f33bf51c4eace9",
"artifact_hash": "9eb38068a4a58293e8c2c015... | true | true | null |
python_to_es_plaincode | from decimal import Decimal
from fixtures import * # noqa: F401,F403
from fixtures import TEST_NETWORK
from flaky import flaky # noqa: F401
from pyln.client import RpcError, Millisatoshi
from utils import (
only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT,
VALGRIND
)
import os
import pytes... | Importar Decimal desde decimal.
Importar todo desde fixtures. # noqa: F401,F403
Importar TEST_NETWORK desde fixtures.
Importar flaky desde flaky. # noqa: F401
Importar RpcError, Millisatoshi desde pyln.client.
Importar only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT, VALGRIND desde utils.
Importar o... | python | es | run_002_20260417_060406 | 237 | {
"max_stars_repo_path": "tests/test_wallet.py",
"max_stars_repo_name": "NickeZ/lightning",
"max_stars_count": 1,
"id": "415",
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 788,
"largest_tr... | {
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"normalized_source_hash": "89fb94ba24614022fb44808ed29fd10a6087c2c151aec81c6d830a80fdb89743",
"source_ast_hash": "6f03836a8b6122f3deb6ae8956b5f933f7e91e51845b527787f33bf51c4eace9",
"artifact_hash": "9eb38068a4a58293e8c2c015... | true | true | null |
python_to_fr_plaincode | from decimal import Decimal
from fixtures import * # noqa: F401,F403
from fixtures import TEST_NETWORK
from flaky import flaky # noqa: F401
from pyln.client import RpcError, Millisatoshi
from utils import (
only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT,
VALGRIND
)
import os
import pytes... | Charger Decimal depuis decimal.
Charger tout depuis fixtures. # noqa: F401,F403
Charger TEST_NETWORK depuis fixtures.
Charger flaky depuis flaky. # noqa: F401
Charger RpcError, Millisatoshi depuis pyln.client.
Charger only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT, VALGRIND depuis utils.
Charger os... | python | fr | run_002_20260417_060406 | 237 | {
"max_stars_repo_path": "tests/test_wallet.py",
"max_stars_repo_name": "NickeZ/lightning",
"max_stars_count": 1,
"id": "415",
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 788,
"largest_tr... | {
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"normalized_source_hash": "89fb94ba24614022fb44808ed29fd10a6087c2c151aec81c6d830a80fdb89743",
"source_ast_hash": "6f03836a8b6122f3deb6ae8956b5f933f7e91e51845b527787f33bf51c4eace9",
"artifact_hash": "9eb38068a4a58293e8c2c015... | true | true | null |
en_plaincode_to_python | Load Decimal from decimal.
Load everything from fixtures. # noqa: F401,F403
Load TEST_NETWORK from fixtures.
Load flaky from flaky. # noqa: F401
Load RpcError, Millisatoshi from pyln.client.
Load only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT, VALGRIND from utils.
Load os.
Load pytest.
Load subproc... | from decimal import Decimal
from fixtures import * # noqa: F401,F403
from fixtures import TEST_NETWORK
from flaky import flaky # noqa: F401
from pyln.client import RpcError, Millisatoshi
from utils import (
only_one, wait_for, sync_blockheight, EXPERIMENTAL_FEATURES, COMPAT,
VALGRIND
)
import os
import pytes... | en | python | run_002_20260417_060406 | 237 | {
"max_stars_repo_path": "tests/test_wallet.py",
"max_stars_repo_name": "NickeZ/lightning",
"max_stars_count": 1,
"id": "415",
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"sanitize_meta": {
"triple_block_count": 5,
"total_triple_chars": 788,
"largest_tr... | {
"raw_source_hash": "adb8acc8215a0c65a0c003b04858c136ecfaf75a019cf395e9f1664a69dc7ed2",
"normalized_source_hash": "89fb94ba24614022fb44808ed29fd10a6087c2c151aec81c6d830a80fdb89743",
"source_ast_hash": "6f03836a8b6122f3deb6ae8956b5f933f7e91e51845b527787f33bf51c4eace9",
"artifact_hash": "9eb38068a4a58293e8c2c015... | true | true | null |
python_to_en_plaincode | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | en | run_002_20260417_060406 | 238 | {
"max_stars_repo_path": "semantic-segmentation/deeplabv3plus/dataset_utils.py",
"max_stars_repo_name": "shikisawamura/nnabla-examples",
"max_stars_count": 1,
"id": "417",
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"sanitize_meta": {
"triple_block_count": 2,
... | {
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"normalized_source_hash": "047601126d45695df5152e398876644073ea4689b972cadb4d3656bfa8e78843",
"source_ast_hash": "3b61e536af6dfd0148f8234de11c2c8d5d58c68bf71039449d6613134da5ad18",
"artifact_hash": "f98d63860b558180d0c2a1ce... | true | true | null |
python_to_es_plaincode | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may no use this file except en compliance con the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required por applicable... | python | es | run_002_20260417_060406 | 238 | {
"max_stars_repo_path": "semantic-segmentation/deeplabv3plus/dataset_utils.py",
"max_stars_repo_name": "shikisawamura/nnabla-examples",
"max_stars_count": 1,
"id": "417",
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"sanitize_meta": {
"triple_block_count": 2,
... | {
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"normalized_source_hash": "047601126d45695df5152e398876644073ea4689b972cadb4d3656bfa8e78843",
"source_ast_hash": "3b61e536af6dfd0148f8234de11c2c8d5d58c68bf71039449d6613134da5ad18",
"artifact_hash": "f98d63860b558180d0c2a1ce... | true | true | null |
python_to_fr_plaincode | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may non use this file except dans compliance avec the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required par applic... | python | fr | run_002_20260417_060406 | 238 | {
"max_stars_repo_path": "semantic-segmentation/deeplabv3plus/dataset_utils.py",
"max_stars_repo_name": "shikisawamura/nnabla-examples",
"max_stars_count": 1,
"id": "417",
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"sanitize_meta": {
"triple_block_count": 2,
... | {
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"normalized_source_hash": "047601126d45695df5152e398876644073ea4689b972cadb4d3656bfa8e78843",
"source_ast_hash": "3b61e536af6dfd0148f8234de11c2c8d5d58c68bf71039449d6613134da5ad18",
"artifact_hash": "f98d63860b558180d0c2a1ce... | true | true | null |
en_plaincode_to_python | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | # Copyright (c) 2017 Sony Corporation. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | en | python | run_002_20260417_060406 | 238 | {
"max_stars_repo_path": "semantic-segmentation/deeplabv3plus/dataset_utils.py",
"max_stars_repo_name": "shikisawamura/nnabla-examples",
"max_stars_count": 1,
"id": "417",
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"sanitize_meta": {
"triple_block_count": 2,
... | {
"raw_source_hash": "a2f3c35a32b0264f635285712d35fa6e4bfab282bdcbccbe2f570428c0a54016",
"normalized_source_hash": "047601126d45695df5152e398876644073ea4689b972cadb4d3656bfa8e78843",
"source_ast_hash": "3b61e536af6dfd0148f8234de11c2c8d5d58c68bf71039449d6613134da5ad18",
"artifact_hash": "f98d63860b558180d0c2a1ce... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python
"""
This parses a log file series (i.e. log, log.1, log.2, etc..) and
outputs timing and call frequency information for HAL messages.
Hazen 5/18
"""
from datetime import datetime
import os
pattern = '%Y-%m-%d %H:%M:%S,%f'
class Message(object):
"""
Storage for the timing of a single m... | # !/usr/bin/env python
Text block:
""
"This parses a log file series (i.e. log, log.1, log.2, etc..) and"
"outputs timing and call frequency information for HAL messages."
""
"Hazen 5/18"
ending with a newline.
Load datetime from datetime.
Load os.
Set pattern to "%Y-%m-%d %H:%M:%S,%f".
Define class Message inheriting ... | python | en | run_002_20260417_060406 | 239 | {
"max_stars_repo_path": "storm_control/sc_library/log_timing.py",
"max_stars_repo_name": "jeffmoffitt/storm-control",
"max_stars_count": 0,
"id": "419",
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"sanitize_meta": {
"triple_block_count": 16,
"total_triple_... | {
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"normalized_source_hash": "2c5d4f739bc9523f543827714de1a08f6ff00e0ccab6d5460525e69ed4747802",
"source_ast_hash": "dcbbda65080df475d8eff7a916b981c409d147ecfe63e79407ed137827cc2f3c",
"artifact_hash": "6e9ad616b012bae089f492ca... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python
"""
This parses a log file series (i.e. log, log.1, log.2, etc..) and
outputs timing and call frequency information for HAL messages.
Hazen 5/18
"""
from datetime import datetime
import os
pattern = '%Y-%m-%d %H:%M:%S,%f'
class Message(object):
"""
Storage for the timing of a single m... | # !/usr/bin/env python
Texto literal:
""
"This parses a log file series (i.e. log, log.1, log.2, etc..) and"
"outputs timing and call frequency information for HAL messages."
""
"Hazen 5/18"
terminando con una nueva línea.
Importar datetime desde datetime.
Importar os.
Establecer pattern como "%Y-%m-%d %H:%M:%S,%f".
De... | python | es | run_002_20260417_060406 | 239 | {
"max_stars_repo_path": "storm_control/sc_library/log_timing.py",
"max_stars_repo_name": "jeffmoffitt/storm-control",
"max_stars_count": 0,
"id": "419",
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"sanitize_meta": {
"triple_block_count": 16,
"total_triple_... | {
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"normalized_source_hash": "2c5d4f739bc9523f543827714de1a08f6ff00e0ccab6d5460525e69ed4747802",
"source_ast_hash": "dcbbda65080df475d8eff7a916b981c409d147ecfe63e79407ed137827cc2f3c",
"artifact_hash": "6e9ad616b012bae089f492ca... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python
"""
This parses a log file series (i.e. log, log.1, log.2, etc..) and
outputs timing and call frequency information for HAL messages.
Hazen 5/18
"""
from datetime import datetime
import os
pattern = '%Y-%m-%d %H:%M:%S,%f'
class Message(object):
"""
Storage for the timing of a single m... | # !/usr/bin/env python
Texte littéral:
""
"This parses a log file series (i.e. log, log.1, log.2, etc..) and"
"outputs timing and call frequency information for HAL messages."
""
"Hazen 5/18"
se terminant par une nouvelle ligne.
Charger datetime depuis datetime.
Charger os.
Affecter pattern à "%Y-%m-%d %H:%M:%S,%f".
Dé... | python | fr | run_002_20260417_060406 | 239 | {
"max_stars_repo_path": "storm_control/sc_library/log_timing.py",
"max_stars_repo_name": "jeffmoffitt/storm-control",
"max_stars_count": 0,
"id": "419",
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"sanitize_meta": {
"triple_block_count": 16,
"total_triple_... | {
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"normalized_source_hash": "2c5d4f739bc9523f543827714de1a08f6ff00e0ccab6d5460525e69ed4747802",
"source_ast_hash": "dcbbda65080df475d8eff7a916b981c409d147ecfe63e79407ed137827cc2f3c",
"artifact_hash": "6e9ad616b012bae089f492ca... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python
Text block:
""
"This parses a log file series (i.e. log, log.1, log.2, etc..) and"
"outputs timing and call frequency information for HAL messages."
""
"Hazen 5/18"
ending with a newline.
Load datetime from datetime.
Load os.
Set pattern to "%Y-%m-%d %H:%M:%S,%f".
Define class Message inheriting ... | #!/usr/bin/env python
"""
This parses a log file series (i.e. log, log.1, log.2, etc..) and
outputs timing and call frequency information for HAL messages.
Hazen 5/18
"""
from datetime import datetime
import os
pattern = '%Y-%m-%d %H:%M:%S,%f'
class Message(object):
"""
Storage for the timing of a single m... | en | python | run_002_20260417_060406 | 239 | {
"max_stars_repo_path": "storm_control/sc_library/log_timing.py",
"max_stars_repo_name": "jeffmoffitt/storm-control",
"max_stars_count": 0,
"id": "419",
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"sanitize_meta": {
"triple_block_count": 16,
"total_triple_... | {
"raw_source_hash": "9a518ca895b7601a615b545009ccee262189dc3e01ef558c67b09d93203d8b17",
"normalized_source_hash": "2c5d4f739bc9523f543827714de1a08f6ff00e0ccab6d5460525e69ed4747802",
"source_ast_hash": "dcbbda65080df475d8eff7a916b981c409d147ecfe63e79407ed137827cc2f3c",
"artifact_hash": "6e9ad616b012bae089f492ca... | true | true | null |
python_to_en_plaincode | import re
import json
__all__ = ["Simplimental"]
class Simplimental:
def __init__(self, text="This is not a bad idea"):
self.text = text
with open('simplimental/data/afinn.json') as data_file:
self.dictionary = json.load(data_file)
no_punctunation = re.sub(r"[^a-zA-Z ]+", " ", self.text)
self.toke... | Load re.
Load json.
Set __all__ to the list ["Simplimental"].
Define class Simplimental:
Define method __init__ with parameters self, text (default: "This is not a bad idea"):
Set self dot text to text.
With (open with "simplimental/data/afinn.json") bound as data_file:
Set self dot dict... | python | en | run_002_20260417_060406 | 240 | {
"max_stars_repo_path": "simplimental/simplimental.py",
"max_stars_repo_name": "TimmyCarbone/simplimental",
"max_stars_count": 2,
"id": "424",
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"normalized_source_hash": "f1af782fc38f91bcf6fd59d257606445f26fa7769cd767d1306cdcf16d0c4b2a",
"source_ast_hash": "e27f8c473f36ff196435610c375d458c331b2beabd4bebbe46aeddbb90f36e88",
"artifact_hash": "99a554a3d2ddbb6124633f91... | true | true | null |
python_to_es_plaincode | import re
import json
__all__ = ["Simplimental"]
class Simplimental:
def __init__(self, text="This is not a bad idea"):
self.text = text
with open('simplimental/data/afinn.json') as data_file:
self.dictionary = json.load(data_file)
no_punctunation = re.sub(r"[^a-zA-Z ]+", " ", self.text)
self.toke... | Importar re.
Importar json.
Establecer __all__ como la lista ["Simplimental"].
Definir clase Simplimental:
Definir método __init__ con parámetros self, text (predeterminado: "This is not a bad idea"):
Establecer self punto text como text.
Con (open con "simplimental/data/afinn.json") como data_file:... | python | es | run_002_20260417_060406 | 240 | {
"max_stars_repo_path": "simplimental/simplimental.py",
"max_stars_repo_name": "TimmyCarbone/simplimental",
"max_stars_count": 2,
"id": "424",
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"normalized_source_hash": "f1af782fc38f91bcf6fd59d257606445f26fa7769cd767d1306cdcf16d0c4b2a",
"source_ast_hash": "e27f8c473f36ff196435610c375d458c331b2beabd4bebbe46aeddbb90f36e88",
"artifact_hash": "99a554a3d2ddbb6124633f91... | true | true | null |
python_to_fr_plaincode | import re
import json
__all__ = ["Simplimental"]
class Simplimental:
def __init__(self, text="This is not a bad idea"):
self.text = text
with open('simplimental/data/afinn.json') as data_file:
self.dictionary = json.load(data_file)
no_punctunation = re.sub(r"[^a-zA-Z ]+", " ", self.text)
self.toke... | Charger re.
Charger json.
Affecter __all__ à la liste ["Simplimental"].
Définir classe Simplimental:
Définir méthode __init__ avec paramètres self, text (par défaut: "This is not a bad idea"):
Affecter self point de text à text.
Avec (open avec "simplimental/data/afinn.json") lié comme data_file:
... | python | fr | run_002_20260417_060406 | 240 | {
"max_stars_repo_path": "simplimental/simplimental.py",
"max_stars_repo_name": "TimmyCarbone/simplimental",
"max_stars_count": 2,
"id": "424",
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"normalized_source_hash": "f1af782fc38f91bcf6fd59d257606445f26fa7769cd767d1306cdcf16d0c4b2a",
"source_ast_hash": "e27f8c473f36ff196435610c375d458c331b2beabd4bebbe46aeddbb90f36e88",
"artifact_hash": "99a554a3d2ddbb6124633f91... | true | true | null |
en_plaincode_to_python | Load re.
Load json.
Set __all__ to the list ["Simplimental"].
Define class Simplimental:
Define method __init__ with parameters self, text (default: "This is not a bad idea"):
Set self dot text to text.
With (open with "simplimental/data/afinn.json") bound as data_file:
Set self dot dict... | import re
import json
__all__ = ["Simplimental"]
class Simplimental:
def __init__(self, text="This is not a bad idea"):
self.text = text
with open('simplimental/data/afinn.json') as data_file:
self.dictionary = json.load(data_file)
no_punctunation = re.sub(r"[^a-zA-Z ]+", " ", self.text)
self.toke... | en | python | run_002_20260417_060406 | 240 | {
"max_stars_repo_path": "simplimental/simplimental.py",
"max_stars_repo_name": "TimmyCarbone/simplimental",
"max_stars_count": 2,
"id": "424",
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "572e1ebd934416a31529a9e3856e42f74ae75ccaa7ad0eb04e90caf7ee181dd5",
"normalized_source_hash": "f1af782fc38f91bcf6fd59d257606445f26fa7769cd767d1306cdcf16d0c4b2a",
"source_ast_hash": "e27f8c473f36ff196435610c375d458c331b2beabd4bebbe46aeddbb90f36e88",
"artifact_hash": "99a554a3d2ddbb6124633f91... | true | true | null |
python_to_en_plaincode | # This example shows how to read or modify the Axes Optimization settings using the RoboDK API and a JSON string.
# You can select "Axes optimization" in a robot machining menu or the robot parameters to view the axes optimization settings.
# It is possible to update the axes optimization settings attached to a robot o... | # This example shows how to read or modify the Axes Optimization settings using the RoboDK API and a JSON string.
# You can select "Axes optimization" in a robot machining menu or the robot parameters to view the axes optimization settings.
# It is possible to update the axes optimization settings attached to a robot o... | python | en | run_002_20260417_060406 | 241 | {
"max_stars_repo_path": "Python/Examples/Macros/SettingsAxesOptimization.py",
"max_stars_repo_name": "archformco/RoboDK-API",
"max_stars_count": 161,
"id": "425",
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"normalized_source_hash": "1cab112824cbc740f2974ad7856981017054cff642de072ce3ebeef615782fd8",
"source_ast_hash": "775097372bdd3001ced512189684c5b68835905b0a9c2435cb6dfcb06b0edffc",
"artifact_hash": "f9d8885363b5c2162e08fb6b... | true | true | null |
python_to_es_plaincode | # This example shows how to read or modify the Axes Optimization settings using the RoboDK API and a JSON string.
# You can select "Axes optimization" in a robot machining menu or the robot parameters to view the axes optimization settings.
# It is possible to update the axes optimization settings attached to a robot o... | # This example shows how como read o modify the Axes Optimization settings using the RoboDK API y también a JSON string.
# You can select "Axes optimization" en a robot machining menu o the robot parámetros como view the axes optimization settings.
# It es possible como update the axes optimization settings attached co... | python | es | run_002_20260417_060406 | 241 | {
"max_stars_repo_path": "Python/Examples/Macros/SettingsAxesOptimization.py",
"max_stars_repo_name": "archformco/RoboDK-API",
"max_stars_count": 161,
"id": "425",
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"normalized_source_hash": "1cab112824cbc740f2974ad7856981017054cff642de072ce3ebeef615782fd8",
"source_ast_hash": "775097372bdd3001ced512189684c5b68835905b0a9c2435cb6dfcb06b0edffc",
"artifact_hash": "f9d8885363b5c2162e08fb6b... | true | true | null |
python_to_fr_plaincode | # This example shows how to read or modify the Axes Optimization settings using the RoboDK API and a JSON string.
# You can select "Axes optimization" in a robot machining menu or the robot parameters to view the axes optimization settings.
# It is possible to update the axes optimization settings attached to a robot o... | # This example shows how à read ou modify the Axes Optimization settings using the RoboDK API et a JSON string.
# You can select "Axes optimization" dans a robot machining menu ou the robot paramètres à view the axes optimization settings.
# It est possible à update the axes optimization settings attached à a robot ou ... | python | fr | run_002_20260417_060406 | 241 | {
"max_stars_repo_path": "Python/Examples/Macros/SettingsAxesOptimization.py",
"max_stars_repo_name": "archformco/RoboDK-API",
"max_stars_count": 161,
"id": "425",
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"normalized_source_hash": "1cab112824cbc740f2974ad7856981017054cff642de072ce3ebeef615782fd8",
"source_ast_hash": "775097372bdd3001ced512189684c5b68835905b0a9c2435cb6dfcb06b0edffc",
"artifact_hash": "f9d8885363b5c2162e08fb6b... | true | true | null |
en_plaincode_to_python | # This example shows how to read or modify the Axes Optimization settings using the RoboDK API and a JSON string.
# You can select "Axes optimization" in a robot machining menu or the robot parameters to view the axes optimization settings.
# It is possible to update the axes optimization settings attached to a robot o... | # This example shows how to read or modify the Axes Optimization settings using the RoboDK API and a JSON string.
# You can select "Axes optimization" in a robot machining menu or the robot parameters to view the axes optimization settings.
# It is possible to update the axes optimization settings attached to a robot o... | en | python | run_002_20260417_060406 | 241 | {
"max_stars_repo_path": "Python/Examples/Macros/SettingsAxesOptimization.py",
"max_stars_repo_name": "archformco/RoboDK-API",
"max_stars_count": 161,
"id": "425",
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "5a1bb49a036742f1fff6e5d014a597472502b9ceb5ccec22dbce8d0aa8c848eb",
"normalized_source_hash": "1cab112824cbc740f2974ad7856981017054cff642de072ce3ebeef615782fd8",
"source_ast_hash": "775097372bdd3001ced512189684c5b68835905b0a9c2435cb6dfcb06b0edffc",
"artifact_hash": "f9d8885363b5c2162e08fb6b... | true | true | null |
python_to_en_plaincode | from slr_parser.grammar import Grammar
import unittest
class TestGrammar(unittest.TestCase):
def test_grammar(self):
with open('tests/test_grammar.txt') as grammar_file:
self.G = Grammar(grammar_file.read())
self.assertDictEqual(
{'E': {('E', '+', 'T'), ('T',)}, 'T'... | Load Grammar from slr_parser.grammar.
Load unittest.
Define class TestGrammar inheriting from unittest.TestCase:
Define method test_grammar with parameter self:
With (open with "tests/test_grammar.txt") bound as grammar_file:
Set self dot G to Grammar with (grammar_file dot read with no values).... | python | en | run_002_20260417_060406 | 242 | {
"max_stars_repo_path": "tests/test_grammar.py",
"max_stars_repo_name": "Vipul97/SLR-Parser",
"max_stars_count": 5,
"id": "426",
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 116,
"largest... | {
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"normalized_source_hash": "f35669c0747bda8a39f7ab37eb58057da2c43158f5b706ac518c56dc850dda4b",
"source_ast_hash": "7a29caf17d522729077be869a6f84fecae2548916b794ce43daa8fb3c67872f9",
"artifact_hash": "b8d619610e37439aa8b5bc25... | true | true | null |
python_to_es_plaincode | from slr_parser.grammar import Grammar
import unittest
class TestGrammar(unittest.TestCase):
def test_grammar(self):
with open('tests/test_grammar.txt') as grammar_file:
self.G = Grammar(grammar_file.read())
self.assertDictEqual(
{'E': {('E', '+', 'T'), ('T',)}, 'T'... | Importar Grammar desde slr_parser.grammar.
Importar unittest.
Definir clase TestGrammar heredando de unittest.TestCase:
Definir método test_grammar con parámetro self:
Con (open con "tests/test_grammar.txt") como grammar_file:
Establecer self punto G como Grammar con (grammar_file punto read sin... | python | es | run_002_20260417_060406 | 242 | {
"max_stars_repo_path": "tests/test_grammar.py",
"max_stars_repo_name": "Vipul97/SLR-Parser",
"max_stars_count": 5,
"id": "426",
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 116,
"largest... | {
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"normalized_source_hash": "f35669c0747bda8a39f7ab37eb58057da2c43158f5b706ac518c56dc850dda4b",
"source_ast_hash": "7a29caf17d522729077be869a6f84fecae2548916b794ce43daa8fb3c67872f9",
"artifact_hash": "b8d619610e37439aa8b5bc25... | true | true | null |
python_to_fr_plaincode | from slr_parser.grammar import Grammar
import unittest
class TestGrammar(unittest.TestCase):
def test_grammar(self):
with open('tests/test_grammar.txt') as grammar_file:
self.G = Grammar(grammar_file.read())
self.assertDictEqual(
{'E': {('E', '+', 'T'), ('T',)}, 'T'... | Charger Grammar depuis slr_parser.grammar.
Charger unittest.
Définir classe TestGrammar héritant de unittest.TestCase:
Définir méthode test_grammar avec paramètre self:
Avec (open avec "tests/test_grammar.txt") lié comme grammar_file:
Affecter self point de G à Grammar avec (grammar_file point d... | python | fr | run_002_20260417_060406 | 242 | {
"max_stars_repo_path": "tests/test_grammar.py",
"max_stars_repo_name": "Vipul97/SLR-Parser",
"max_stars_count": 5,
"id": "426",
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 116,
"largest... | {
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"normalized_source_hash": "f35669c0747bda8a39f7ab37eb58057da2c43158f5b706ac518c56dc850dda4b",
"source_ast_hash": "7a29caf17d522729077be869a6f84fecae2548916b794ce43daa8fb3c67872f9",
"artifact_hash": "b8d619610e37439aa8b5bc25... | true | true | null |
en_plaincode_to_python | Load Grammar from slr_parser.grammar.
Load unittest.
Define class TestGrammar inheriting from unittest.TestCase:
Define method test_grammar with parameter self:
With (open with "tests/test_grammar.txt") bound as grammar_file:
Set self dot G to Grammar with (grammar_file dot read with no values).... | from slr_parser.grammar import Grammar
import unittest
class TestGrammar(unittest.TestCase):
def test_grammar(self):
with open('tests/test_grammar.txt') as grammar_file:
self.G = Grammar(grammar_file.read())
self.assertDictEqual(
{'E': {('E', '+', 'T'), ('T',)}, 'T'... | en | python | run_002_20260417_060406 | 242 | {
"max_stars_repo_path": "tests/test_grammar.py",
"max_stars_repo_name": "Vipul97/SLR-Parser",
"max_stars_count": 5,
"id": "426",
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 116,
"largest... | {
"raw_source_hash": "7f73baafc113cd06cff8733725e824756039bc32461c1c51384c5784a37d2c3a",
"normalized_source_hash": "f35669c0747bda8a39f7ab37eb58057da2c43158f5b706ac518c56dc850dda4b",
"source_ast_hash": "7a29caf17d522729077be869a6f84fecae2548916b794ce43daa8fb3c67872f9",
"artifact_hash": "b8d619610e37439aa8b5bc25... | true | true | null |
python_to_en_plaincode | # Generated by Django 3.1 on 2020-09-08 07:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='OpeningSystem',
fields=[
... | # Generated by Django 3.1 on 2020-09-08 07:43
Load migrations, models from django.db.
Load django.db.models.deletion.
Define class Migration inheriting from migrations.Migration:
Set initial to True.
Set dependencies to an empty list.
Set operations to the list [
(migrations dot CreateModel with name se... | python | en | run_002_20260417_060406 | 243 | {
"max_stars_repo_path": "insight/migrations/0001_initial.py",
"max_stars_repo_name": "leonhead/chess-insight",
"max_stars_count": 0,
"id": "427",
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"normalized_source_hash": "fe9bac7ff4c7b9be708bfb99b18622e323c73dcf251f6d07413db2bf62ff2ef9",
"source_ast_hash": "d15315a7a86d5374ded61c878d014927c9d4db1e01431b5eeedcccc9a91fa1aa",
"artifact_hash": "e16d36a47a1c2ec11be54ca0... | true | true | null |
python_to_es_plaincode | # Generated by Django 3.1 on 2020-09-08 07:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='OpeningSystem',
fields=[
... | # Generated por Django 3.1 on 2020-09-08 07:43
Importar migrations, models desde django.db.
Importar django.db.models.deletion.
Definir clase Migration heredando de migrations.Migration:
Establecer initial como True.
Establecer dependencies como una lista vacía.
Establecer operations como la lista [
(mi... | python | es | run_002_20260417_060406 | 243 | {
"max_stars_repo_path": "insight/migrations/0001_initial.py",
"max_stars_repo_name": "leonhead/chess-insight",
"max_stars_count": 0,
"id": "427",
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"normalized_source_hash": "fe9bac7ff4c7b9be708bfb99b18622e323c73dcf251f6d07413db2bf62ff2ef9",
"source_ast_hash": "d15315a7a86d5374ded61c878d014927c9d4db1e01431b5eeedcccc9a91fa1aa",
"artifact_hash": "e16d36a47a1c2ec11be54ca0... | true | true | null |
python_to_fr_plaincode | # Generated by Django 3.1 on 2020-09-08 07:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='OpeningSystem',
fields=[
... | # Generated par Django 3.1 on 2020-09-08 07:43
Charger migrations, models depuis django.db.
Charger django.db.models.deletion.
Définir classe Migration héritant de migrations.Migration:
Affecter initial à True.
Affecter dependencies à une liste vide.
Affecter operations à la liste [
(migrations point de... | python | fr | run_002_20260417_060406 | 243 | {
"max_stars_repo_path": "insight/migrations/0001_initial.py",
"max_stars_repo_name": "leonhead/chess-insight",
"max_stars_count": 0,
"id": "427",
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"normalized_source_hash": "fe9bac7ff4c7b9be708bfb99b18622e323c73dcf251f6d07413db2bf62ff2ef9",
"source_ast_hash": "d15315a7a86d5374ded61c878d014927c9d4db1e01431b5eeedcccc9a91fa1aa",
"artifact_hash": "e16d36a47a1c2ec11be54ca0... | true | true | null |
en_plaincode_to_python | # Generated by Django 3.1 on 2020-09-08 07:43
Load migrations, models from django.db.
Load django.db.models.deletion.
Define class Migration inheriting from migrations.Migration:
Set initial to True.
Set dependencies to an empty list.
Set operations to the list [
(migrations dot CreateModel with name se... | # Generated by Django 3.1 on 2020-09-08 07:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='OpeningSystem',
fields=[
... | en | python | run_002_20260417_060406 | 243 | {
"max_stars_repo_path": "insight/migrations/0001_initial.py",
"max_stars_repo_name": "leonhead/chess-insight",
"max_stars_count": 0,
"id": "427",
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "a2cf0d583ddf52e5c26c0092d96486a7f90cf8cc6eaf02174398ae8e2d056c41",
"normalized_source_hash": "fe9bac7ff4c7b9be708bfb99b18622e323c73dcf251f6d07413db2bf62ff2ef9",
"source_ast_hash": "d15315a7a86d5374ded61c878d014927c9d4db1e01431b5eeedcccc9a91fa1aa",
"artifact_hash": "e16d36a47a1c2ec11be54ca0... | true | true | null |
python_to_en_plaincode | import torch
import numpy as np
from mpi4py import MPI
from parallel_pytorch.ops import tensor_merge
from parallel_pytorch.utils import abort_on_exception
@abort_on_exception
def test_1():
worker_shape = [2, 2]
world = MPI.COMM_WORLD
num_workers = np.array(worker_shape).prod()
comm = MPI.COMM_WORLD.... | Load torch.
Load numpy, referred to as np.
Load MPI from mpi4py.
Load tensor_merge from parallel_pytorch.ops.
Load abort_on_exception from parallel_pytorch.utils.
Apply abort_on_exception to the following:
Define function test_1:
Set worker_shape to the list [2, 2].
Set world to MPI dot COMM_WORLD.
... | python | en | run_002_20260417_060406 | 244 | {
"max_stars_repo_path": "tests/test_merge.py",
"max_stars_repo_name": "jmerizia/parallel-pytorch",
"max_stars_count": 0,
"id": "428",
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"normalized_source_hash": "476e1f873b31e90aa6d9eeaa584992fe9a4d29294c50a094d7ad12fe0598a0dd",
"source_ast_hash": "046cffbc7f1a47dadcedb4de5c33bcecc111121b03f9f0ef22e37babfc6d0a33",
"artifact_hash": "2f42ee78eb888b48874ca0cc... | true | true | null |
python_to_es_plaincode | import torch
import numpy as np
from mpi4py import MPI
from parallel_pytorch.ops import tensor_merge
from parallel_pytorch.utils import abort_on_exception
@abort_on_exception
def test_1():
worker_shape = [2, 2]
world = MPI.COMM_WORLD
num_workers = np.array(worker_shape).prod()
comm = MPI.COMM_WORLD.... | Importar torch.
Importar numpy, referido como np.
Importar MPI desde mpi4py.
Importar tensor_merge desde parallel_pytorch.ops.
Importar abort_on_exception desde parallel_pytorch.utils.
Aplicar abort_on_exception a lo siguiente:
Definir función test_1:
Establecer worker_shape como la lista [2, 2].
Es... | python | es | run_002_20260417_060406 | 244 | {
"max_stars_repo_path": "tests/test_merge.py",
"max_stars_repo_name": "jmerizia/parallel-pytorch",
"max_stars_count": 0,
"id": "428",
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"normalized_source_hash": "476e1f873b31e90aa6d9eeaa584992fe9a4d29294c50a094d7ad12fe0598a0dd",
"source_ast_hash": "046cffbc7f1a47dadcedb4de5c33bcecc111121b03f9f0ef22e37babfc6d0a33",
"artifact_hash": "2f42ee78eb888b48874ca0cc... | true | true | null |
python_to_fr_plaincode | import torch
import numpy as np
from mpi4py import MPI
from parallel_pytorch.ops import tensor_merge
from parallel_pytorch.utils import abort_on_exception
@abort_on_exception
def test_1():
worker_shape = [2, 2]
world = MPI.COMM_WORLD
num_workers = np.array(worker_shape).prod()
comm = MPI.COMM_WORLD.... | Charger torch.
Charger numpy, référé comme np.
Charger MPI depuis mpi4py.
Charger tensor_merge depuis parallel_pytorch.ops.
Charger abort_on_exception depuis parallel_pytorch.utils.
Appliquer abort_on_exception à ce qui suit:
Définir fonction test_1:
Affecter worker_shape à la liste [2, 2].
Affecter... | python | fr | run_002_20260417_060406 | 244 | {
"max_stars_repo_path": "tests/test_merge.py",
"max_stars_repo_name": "jmerizia/parallel-pytorch",
"max_stars_count": 0,
"id": "428",
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"normalized_source_hash": "476e1f873b31e90aa6d9eeaa584992fe9a4d29294c50a094d7ad12fe0598a0dd",
"source_ast_hash": "046cffbc7f1a47dadcedb4de5c33bcecc111121b03f9f0ef22e37babfc6d0a33",
"artifact_hash": "2f42ee78eb888b48874ca0cc... | true | true | null |
en_plaincode_to_python | Load torch.
Load numpy, referred to as np.
Load MPI from mpi4py.
Load tensor_merge from parallel_pytorch.ops.
Load abort_on_exception from parallel_pytorch.utils.
Apply abort_on_exception to the following:
Define function test_1:
Set worker_shape to the list [2, 2].
Set world to MPI dot COMM_WORLD.
... | import torch
import numpy as np
from mpi4py import MPI
from parallel_pytorch.ops import tensor_merge
from parallel_pytorch.utils import abort_on_exception
@abort_on_exception
def test_1():
worker_shape = [2, 2]
world = MPI.COMM_WORLD
num_workers = np.array(worker_shape).prod()
comm = MPI.COMM_WORLD.... | en | python | run_002_20260417_060406 | 244 | {
"max_stars_repo_path": "tests/test_merge.py",
"max_stars_repo_name": "jmerizia/parallel-pytorch",
"max_stars_count": 0,
"id": "428",
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"larg... | {
"raw_source_hash": "820abfb6d9eb06fa0e1dd2977e37b0f22ae8516021d17edb323812f0af3b1851",
"normalized_source_hash": "476e1f873b31e90aa6d9eeaa584992fe9a4d29294c50a094d7ad12fe0598a0dd",
"source_ast_hash": "046cffbc7f1a47dadcedb4de5c33bcecc111121b03f9f0ef22e37babfc6d0a33",
"artifact_hash": "2f42ee78eb888b48874ca0cc... | true | true | null |
python_to_en_plaincode | """Day 07"""
def process(filename):
with open(filename) as infile:
positions = [int(x) for x in infile.readline().strip().split(',')]
min_x = min(positions)
max_x = max(positions)
costs = {x: 0 for x in range(min_x, max_x + 1)}
for pos in costs.keys():
for crab in positions:
... | Evaluate "Day 07".
Define function process with parameter filename:
With (open with filename) bound as infile:
Set positions to the list of (int with x) For each x in ((infile dot readline with no values) stripped) dot split with ",".
Set min_x to min with positions.
Set max_x to max with positions.... | python | en | run_002_20260417_060406 | 245 | {
"max_stars_repo_path": "day07/main.py",
"max_stars_repo_name": "tebriel/aoc2021",
"max_stars_count": 0,
"id": "429",
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 12,
"largest_triple_bloc... | {
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"normalized_source_hash": "e1f4c492a8af8f8693f3d79037ce01b9362c381406fad1c4c2461e9c14a27da4",
"source_ast_hash": "73ea95beedf3bc734e4baac9432117a7fb04cd95c6ed56a0eb5250060281ebd0",
"artifact_hash": "23e1c6544de5051c4e214ca2... | true | true | null |
python_to_es_plaincode | """Day 07"""
def process(filename):
with open(filename) as infile:
positions = [int(x) for x in infile.readline().strip().split(',')]
min_x = min(positions)
max_x = max(positions)
costs = {x: 0 for x in range(min_x, max_x + 1)}
for pos in costs.keys():
for crab in positions:
... | Evaluar "Day 07".
Definir función process con parámetro filename:
Con (open con filename) como infile:
Establecer positions como la lista de (int con x) para cada x en ((infile punto readline sin argumentos) recortado) punto split con ",".
Establecer min_x como min con positions.
Establecer max_x co... | python | es | run_002_20260417_060406 | 245 | {
"max_stars_repo_path": "day07/main.py",
"max_stars_repo_name": "tebriel/aoc2021",
"max_stars_count": 0,
"id": "429",
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 12,
"largest_triple_bloc... | {
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"normalized_source_hash": "e1f4c492a8af8f8693f3d79037ce01b9362c381406fad1c4c2461e9c14a27da4",
"source_ast_hash": "73ea95beedf3bc734e4baac9432117a7fb04cd95c6ed56a0eb5250060281ebd0",
"artifact_hash": "23e1c6544de5051c4e214ca2... | true | true | null |
python_to_fr_plaincode | """Day 07"""
def process(filename):
with open(filename) as infile:
positions = [int(x) for x in infile.readline().strip().split(',')]
min_x = min(positions)
max_x = max(positions)
costs = {x: 0 for x in range(min_x, max_x + 1)}
for pos in costs.keys():
for crab in positions:
... | Évaluer "Day 07".
Définir fonction process avec paramètre filename:
Avec (open avec filename) lié comme infile:
Affecter positions à la liste de (int avec x) pour chaque x dans ((infile point de readline sans arguments) stripped) point de split avec ",".
Affecter min_x à min avec positions.
Affecter... | python | fr | run_002_20260417_060406 | 245 | {
"max_stars_repo_path": "day07/main.py",
"max_stars_repo_name": "tebriel/aoc2021",
"max_stars_count": 0,
"id": "429",
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 12,
"largest_triple_bloc... | {
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"normalized_source_hash": "e1f4c492a8af8f8693f3d79037ce01b9362c381406fad1c4c2461e9c14a27da4",
"source_ast_hash": "73ea95beedf3bc734e4baac9432117a7fb04cd95c6ed56a0eb5250060281ebd0",
"artifact_hash": "23e1c6544de5051c4e214ca2... | true | true | null |
en_plaincode_to_python | Evaluate "Day 07".
Define function process with parameter filename:
With (open with filename) bound as infile:
Set positions to the list of (int with x) For each x in ((infile dot readline with no values) stripped) dot split with ",".
Set min_x to min with positions.
Set max_x to max with positions.... | """Day 07"""
def process(filename):
with open(filename) as infile:
positions = [int(x) for x in infile.readline().strip().split(',')]
min_x = min(positions)
max_x = max(positions)
costs = {x: 0 for x in range(min_x, max_x + 1)}
for pos in costs.keys():
for crab in positions:
... | en | python | run_002_20260417_060406 | 245 | {
"max_stars_repo_path": "day07/main.py",
"max_stars_repo_name": "tebriel/aoc2021",
"max_stars_count": 0,
"id": "429",
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 12,
"largest_triple_bloc... | {
"raw_source_hash": "a660629b326c2c6f042b58f49714d6f646a4a3863015b51e1baf88403318dddf",
"normalized_source_hash": "e1f4c492a8af8f8693f3d79037ce01b9362c381406fad1c4c2461e9c14a27da4",
"source_ast_hash": "73ea95beedf3bc734e4baac9432117a7fb04cd95c6ed56a0eb5250060281ebd0",
"artifact_hash": "23e1c6544de5051c4e214ca2... | true | true | null |
python_to_en_plaincode | #!/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | # !/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | python | en | run_002_20260417_060406 | 246 | {
"max_stars_repo_path": "MAIN/Screens/Settings/category_2/__init__.py",
"max_stars_repo_name": "aragubas/fogoso",
"max_stars_count": 0,
"id": "431",
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"normalized_source_hash": "55b888e7ed9bd962e1a6c203f1eaef44634dca1552fb95d968b1ba3ee54bd2bf",
"source_ast_hash": "409e029cf886de3e5b9131247e9838bb69f61eb8863c632a430c24ae1009d09f",
"artifact_hash": "3ed1bf653bb64e27e50bf029... | true | true | null |
python_to_es_plaincode | #!/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | # !/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may no use this file except en compliance con the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required por applicable... | python | es | run_002_20260417_060406 | 246 | {
"max_stars_repo_path": "MAIN/Screens/Settings/category_2/__init__.py",
"max_stars_repo_name": "aragubas/fogoso",
"max_stars_count": 0,
"id": "431",
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"normalized_source_hash": "55b888e7ed9bd962e1a6c203f1eaef44634dca1552fb95d968b1ba3ee54bd2bf",
"source_ast_hash": "409e029cf886de3e5b9131247e9838bb69f61eb8863c632a430c24ae1009d09f",
"artifact_hash": "3ed1bf653bb64e27e50bf029... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | # !/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may non use this file except dans compliance avec the License.
# You may obtain a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required par applic... | python | fr | run_002_20260417_060406 | 246 | {
"max_stars_repo_path": "MAIN/Screens/Settings/category_2/__init__.py",
"max_stars_repo_name": "aragubas/fogoso",
"max_stars_count": 0,
"id": "431",
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"normalized_source_hash": "55b888e7ed9bd962e1a6c203f1eaef44634dca1552fb95d968b1ba3ee54bd2bf",
"source_ast_hash": "409e029cf886de3e5b9131247e9838bb69f61eb8863c632a430c24ae1009d09f",
"artifact_hash": "3ed1bf653bb64e27e50bf029... | true | true | null |
en_plaincode_to_python | # !/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | #!/usr/bin/python3.7
# Copyright 2020 Aragubas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | en | python | run_002_20260417_060406 | 246 | {
"max_stars_repo_path": "MAIN/Screens/Settings/category_2/__init__.py",
"max_stars_repo_name": "aragubas/fogoso",
"max_stars_count": 0,
"id": "431",
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars... | {
"raw_source_hash": "04cde2aa66ae0852281640d06a26b1a716d28dde056c63a6634fc6a733a6c829",
"normalized_source_hash": "55b888e7ed9bd962e1a6c203f1eaef44634dca1552fb95d968b1ba3ee54bd2bf",
"source_ast_hash": "409e029cf886de3e5b9131247e9838bb69f61eb8863c632a430c24ae1009d09f",
"artifact_hash": "3ed1bf653bb64e27e50bf029... | true | true | null |
python_to_en_plaincode | from robotpy_ext.control.toggle import Toggle
from robotpy_ext.misc.precise_delay import NotifierDelay
class FakeJoystick:
def __init__(self):
self._pressed = [False] * 2
def getRawButton(self, num):
return self._pressed[num]
def press(self, num):
self._pressed[num] = True
d... | Load Toggle from robotpy_ext.control.toggle.
Load NotifierDelay from robotpy_ext.misc.precise_delay.
Define class FakeJoystick:
Define method __init__ with parameter self:
Set self dot _pressed to the list [False] times 2.
Define method getRawButton with parameters self, num:
Return item num of ... | python | en | run_002_20260417_060406 | 247 | {
"max_stars_repo_path": "tests/test_toggle.py",
"max_stars_repo_name": "ConnectionMaster/robotpy-wpilib-utilities",
"max_stars_count": 14,
"id": "432",
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"normalized_source_hash": "6af70030bd93797623d61e2fe93f644881ac2b65c7f90f569c6573c1e18e7ce6",
"source_ast_hash": "89c33f3ce7765ea955b041e16ceb8ff5370591d8842bb0fc26388126baf6bf25",
"artifact_hash": "5b8a4c79c519b342bf7b22a2... | true | true | null |
python_to_es_plaincode | from robotpy_ext.control.toggle import Toggle
from robotpy_ext.misc.precise_delay import NotifierDelay
class FakeJoystick:
def __init__(self):
self._pressed = [False] * 2
def getRawButton(self, num):
return self._pressed[num]
def press(self, num):
self._pressed[num] = True
d... | Importar Toggle desde robotpy_ext.control.toggle.
Importar NotifierDelay desde robotpy_ext.misc.precise_delay.
Definir clase FakeJoystick:
Definir método __init__ con parámetro self:
Establecer self punto _pressed como la lista [False] veces 2.
Definir método getRawButton con parámetros self, num:
... | python | es | run_002_20260417_060406 | 247 | {
"max_stars_repo_path": "tests/test_toggle.py",
"max_stars_repo_name": "ConnectionMaster/robotpy-wpilib-utilities",
"max_stars_count": 14,
"id": "432",
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"normalized_source_hash": "6af70030bd93797623d61e2fe93f644881ac2b65c7f90f569c6573c1e18e7ce6",
"source_ast_hash": "89c33f3ce7765ea955b041e16ceb8ff5370591d8842bb0fc26388126baf6bf25",
"artifact_hash": "5b8a4c79c519b342bf7b22a2... | true | true | null |
python_to_fr_plaincode | from robotpy_ext.control.toggle import Toggle
from robotpy_ext.misc.precise_delay import NotifierDelay
class FakeJoystick:
def __init__(self):
self._pressed = [False] * 2
def getRawButton(self, num):
return self._pressed[num]
def press(self, num):
self._pressed[num] = True
d... | Charger Toggle depuis robotpy_ext.control.toggle.
Charger NotifierDelay depuis robotpy_ext.misc.precise_delay.
Définir classe FakeJoystick:
Définir méthode __init__ avec paramètre self:
Affecter self point de _pressed à la liste [False] fois 2.
Définir méthode getRawButton avec paramètres self, num:
... | python | fr | run_002_20260417_060406 | 247 | {
"max_stars_repo_path": "tests/test_toggle.py",
"max_stars_repo_name": "ConnectionMaster/robotpy-wpilib-utilities",
"max_stars_count": 14,
"id": "432",
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"normalized_source_hash": "6af70030bd93797623d61e2fe93f644881ac2b65c7f90f569c6573c1e18e7ce6",
"source_ast_hash": "89c33f3ce7765ea955b041e16ceb8ff5370591d8842bb0fc26388126baf6bf25",
"artifact_hash": "5b8a4c79c519b342bf7b22a2... | true | true | null |
en_plaincode_to_python | Load Toggle from robotpy_ext.control.toggle.
Load NotifierDelay from robotpy_ext.misc.precise_delay.
Define class FakeJoystick:
Define method __init__ with parameter self:
Set self dot _pressed to the list [False] times 2.
Define method getRawButton with parameters self, num:
Return item num of ... | from robotpy_ext.control.toggle import Toggle
from robotpy_ext.misc.precise_delay import NotifierDelay
class FakeJoystick:
def __init__(self):
self._pressed = [False] * 2
def getRawButton(self, num):
return self._pressed[num]
def press(self, num):
self._pressed[num] = True
d... | en | python | run_002_20260417_060406 | 247 | {
"max_stars_repo_path": "tests/test_toggle.py",
"max_stars_repo_name": "ConnectionMaster/robotpy-wpilib-utilities",
"max_stars_count": 14,
"id": "432",
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_ch... | {
"raw_source_hash": "3ede45a5b14a03491ae2de59d4fbf2eee528c1b31a760d1f87964fbc4e288313",
"normalized_source_hash": "6af70030bd93797623d61e2fe93f644881ac2b65c7f90f569c6573c1e18e7ce6",
"source_ast_hash": "89c33f3ce7765ea955b041e16ceb8ff5370591d8842bb0fc26388126baf6bf25",
"artifact_hash": "5b8a4c79c519b342bf7b22a2... | true | true | null |
python_to_en_plaincode | '''
This file contains test cases for tflearn
'''
import tensorflow.compat.v1 as tf
import tflearn
import unittest
class TestActivations(unittest.TestCase):
'''
This class contains test cases for the functions in tflearn/activations.py
'''
PLACES = 4 # Number of places to match when testing fl... | Text block:
""
" This file contains test cases for tflearn"
ending with a newline.
Load tensorflow.compat.v1, referred to as tf.
Load tflearn.
Load unittest.
Define class TestActivations inheriting from unittest.TestCase:
Text block:
""
" This class contains test cases for the functions in tflearn... | python | en | run_002_20260417_060406 | 248 | {
"max_stars_repo_path": "tests/test.py",
"max_stars_repo_name": "kjanik70/tflearn",
"max_stars_count": 10882,
"id": "433",
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 147,
"largest_tripl... | {
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"normalized_source_hash": "b6bae14e2daed6762418108347fb31e22c6882164bb46704f9af594c03d8ec69",
"source_ast_hash": "2e0ca93951fac17af93869d8aac371de7499652cd3a0d4ed7faf4896c1edc8fd",
"artifact_hash": "5386600080ef544a8fcd9e49... | true | true | null |
python_to_es_plaincode | '''
This file contains test cases for tflearn
'''
import tensorflow.compat.v1 as tf
import tflearn
import unittest
class TestActivations(unittest.TestCase):
'''
This class contains test cases for the functions in tflearn/activations.py
'''
PLACES = 4 # Number of places to match when testing fl... | Texto literal:
""
" This file contains test cases for tflearn"
terminando con una nueva línea.
Importar tensorflow.compat.v1, referido como tf.
Importar tflearn.
Importar unittest.
Definir clase TestActivations heredando de unittest.TestCase:
Texto literal:
""
" This class contains test cases for ... | python | es | run_002_20260417_060406 | 248 | {
"max_stars_repo_path": "tests/test.py",
"max_stars_repo_name": "kjanik70/tflearn",
"max_stars_count": 10882,
"id": "433",
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 147,
"largest_tripl... | {
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"normalized_source_hash": "b6bae14e2daed6762418108347fb31e22c6882164bb46704f9af594c03d8ec69",
"source_ast_hash": "2e0ca93951fac17af93869d8aac371de7499652cd3a0d4ed7faf4896c1edc8fd",
"artifact_hash": "5386600080ef544a8fcd9e49... | true | true | null |
python_to_fr_plaincode | '''
This file contains test cases for tflearn
'''
import tensorflow.compat.v1 as tf
import tflearn
import unittest
class TestActivations(unittest.TestCase):
'''
This class contains test cases for the functions in tflearn/activations.py
'''
PLACES = 4 # Number of places to match when testing fl... | Texte littéral:
""
" This file contains test cases for tflearn"
se terminant par une nouvelle ligne.
Charger tensorflow.compat.v1, référé comme tf.
Charger tflearn.
Charger unittest.
Définir classe TestActivations héritant de unittest.TestCase:
Texte littéral:
""
" This class contains test cases f... | python | fr | run_002_20260417_060406 | 248 | {
"max_stars_repo_path": "tests/test.py",
"max_stars_repo_name": "kjanik70/tflearn",
"max_stars_count": 10882,
"id": "433",
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 147,
"largest_tripl... | {
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"normalized_source_hash": "b6bae14e2daed6762418108347fb31e22c6882164bb46704f9af594c03d8ec69",
"source_ast_hash": "2e0ca93951fac17af93869d8aac371de7499652cd3a0d4ed7faf4896c1edc8fd",
"artifact_hash": "5386600080ef544a8fcd9e49... | true | true | null |
en_plaincode_to_python | Text block:
""
" This file contains test cases for tflearn"
ending with a newline.
Load tensorflow.compat.v1, referred to as tf.
Load tflearn.
Load unittest.
Define class TestActivations inheriting from unittest.TestCase:
Text block:
""
" This class contains test cases for the functions in tflearn... | '''
This file contains test cases for tflearn
'''
import tensorflow.compat.v1 as tf
import tflearn
import unittest
class TestActivations(unittest.TestCase):
'''
This class contains test cases for the functions in tflearn/activations.py
'''
PLACES = 4 # Number of places to match when testing fl... | en | python | run_002_20260417_060406 | 248 | {
"max_stars_repo_path": "tests/test.py",
"max_stars_repo_name": "kjanik70/tflearn",
"max_stars_count": 10882,
"id": "433",
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 147,
"largest_tripl... | {
"raw_source_hash": "f00bf8a635cc1e49ac53ade3f26a19781a3f3cd8df1c6c1540c64a4b7b85c772",
"normalized_source_hash": "b6bae14e2daed6762418108347fb31e22c6882164bb46704f9af594c03d8ec69",
"source_ast_hash": "2e0ca93951fac17af93869d8aac371de7499652cd3a0d4ed7faf4896c1edc8fd",
"artifact_hash": "5386600080ef544a8fcd9e49... | true | true | null |
python_to_en_plaincode | # *****************************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this fi... | # *****************************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this fi... | python | en | run_002_20260417_060406 | 249 | {
"max_stars_repo_path": "infrastructure-provisioning/src/general/api/install_libs.py",
"max_stars_repo_name": "roolrd/incubator-datalab",
"max_stars_count": 66,
"id": "434",
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"normalized_source_hash": "2b20787d5dc7f89bccb737334494e535e6712e7d1c98b6eca27132bed20e7196",
"source_ast_hash": "cd07679ea7e86329b8819656bb647c1c4a160519cd1b5fc9bb532b47eda02ae0",
"artifact_hash": "ccf637646e9b3462fc0d99b7... | true | true | null |
python_to_es_plaincode | # *****************************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this fi... | # *****************************************************************************
#
# Licensed como the Apache Software Foundation (ASF) under one
# o more contributor license agreements. See the NOTICE file
# distributed con this work for additional information
# regarding copyright ownership. The ASF licenses this fi... | python | es | run_002_20260417_060406 | 249 | {
"max_stars_repo_path": "infrastructure-provisioning/src/general/api/install_libs.py",
"max_stars_repo_name": "roolrd/incubator-datalab",
"max_stars_count": 66,
"id": "434",
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"normalized_source_hash": "2b20787d5dc7f89bccb737334494e535e6712e7d1c98b6eca27132bed20e7196",
"source_ast_hash": "cd07679ea7e86329b8819656bb647c1c4a160519cd1b5fc9bb532b47eda02ae0",
"artifact_hash": "ccf637646e9b3462fc0d99b7... | true | true | null |
python_to_fr_plaincode | # *****************************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this fi... | # *****************************************************************************
#
# Licensed à the Apache Software Foundation (ASF) under one
# ou more contributor license agreements. See the NOTICE file
# distributed avec this work for additional information
# regarding copyright ownership. The ASF licenses this fil... | python | fr | run_002_20260417_060406 | 249 | {
"max_stars_repo_path": "infrastructure-provisioning/src/general/api/install_libs.py",
"max_stars_repo_name": "roolrd/incubator-datalab",
"max_stars_count": 66,
"id": "434",
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"normalized_source_hash": "2b20787d5dc7f89bccb737334494e535e6712e7d1c98b6eca27132bed20e7196",
"source_ast_hash": "cd07679ea7e86329b8819656bb647c1c4a160519cd1b5fc9bb532b47eda02ae0",
"artifact_hash": "ccf637646e9b3462fc0d99b7... | true | true | null |
en_plaincode_to_python | # *****************************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this fi... | # *****************************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this fi... | en | python | run_002_20260417_060406 | 249 | {
"max_stars_repo_path": "infrastructure-provisioning/src/general/api/install_libs.py",
"max_stars_repo_name": "roolrd/incubator-datalab",
"max_stars_count": 66,
"id": "434",
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "29893a640de546e9b8b55911b7e31c93f35c67d1c09e9ae5d8951aff23bf376c",
"normalized_source_hash": "2b20787d5dc7f89bccb737334494e535e6712e7d1c98b6eca27132bed20e7196",
"source_ast_hash": "cd07679ea7e86329b8819656bb647c1c4a160519cd1b5fc9bb532b47eda02ae0",
"artifact_hash": "ccf637646e9b3462fc0d99b7... | true | true | null |
python_to_en_plaincode | # utopia-cms 2020. <NAME>.
from django.core.management import BaseCommand
from django.db.utils import IntegrityError
from apps import core_articleviewedby_mdb
from core.models import ArticleViewedBy
class Command(BaseCommand):
help = "Moves article viewed by data from mongodb to Django model"
def handle(se... | # utopia-cms 2020. <NAME>.
Load BaseCommand from django.core.management.
Load IntegrityError from django.db.utils.
Load core_articleviewedby_mdb from apps.
Load ArticleViewedBy from core.models.
Define class Command inheriting from BaseCommand:
Set help to "Moves article viewed by data from mongodb to Django model"... | python | en | run_002_20260417_060406 | 250 | {
"max_stars_repo_path": "portal/apps/core/management/commands/sync_articleviewedby.py",
"max_stars_repo_name": "Artis-Physis/utopia-cms",
"max_stars_count": 8,
"id": "436",
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"normalized_source_hash": "15da7d1b54b2a13b1a15ae64d06a0a94fad1ca558b7229b5eb5ed96ca60c3712",
"source_ast_hash": "df5df8b4ab47ffbdb0b4522876baa7d6406c3b34c3abfdcd245c77fa576cee18",
"artifact_hash": "69d22b10893320b1df9267c9... | true | true | null |
python_to_es_plaincode | # utopia-cms 2020. <NAME>.
from django.core.management import BaseCommand
from django.db.utils import IntegrityError
from apps import core_articleviewedby_mdb
from core.models import ArticleViewedBy
class Command(BaseCommand):
help = "Moves article viewed by data from mongodb to Django model"
def handle(se... | # utopia-cms 2020. <NAME>.
Importar BaseCommand desde django.core.management.
Importar IntegrityError desde django.db.utils.
Importar core_articleviewedby_mdb desde apps.
Importar ArticleViewedBy desde core.models.
Definir clase Command heredando de BaseCommand:
Establecer help como "Moves article viewed by data fr... | python | es | run_002_20260417_060406 | 250 | {
"max_stars_repo_path": "portal/apps/core/management/commands/sync_articleviewedby.py",
"max_stars_repo_name": "Artis-Physis/utopia-cms",
"max_stars_count": 8,
"id": "436",
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"normalized_source_hash": "15da7d1b54b2a13b1a15ae64d06a0a94fad1ca558b7229b5eb5ed96ca60c3712",
"source_ast_hash": "df5df8b4ab47ffbdb0b4522876baa7d6406c3b34c3abfdcd245c77fa576cee18",
"artifact_hash": "69d22b10893320b1df9267c9... | true | true | null |
python_to_fr_plaincode | # utopia-cms 2020. <NAME>.
from django.core.management import BaseCommand
from django.db.utils import IntegrityError
from apps import core_articleviewedby_mdb
from core.models import ArticleViewedBy
class Command(BaseCommand):
help = "Moves article viewed by data from mongodb to Django model"
def handle(se... | # utopia-cms 2020. <NAME>.
Charger BaseCommand depuis django.core.management.
Charger IntegrityError depuis django.db.utils.
Charger core_articleviewedby_mdb depuis apps.
Charger ArticleViewedBy depuis core.models.
Définir classe Command héritant de BaseCommand:
Affecter help à "Moves article viewed by data from mo... | python | fr | run_002_20260417_060406 | 250 | {
"max_stars_repo_path": "portal/apps/core/management/commands/sync_articleviewedby.py",
"max_stars_repo_name": "Artis-Physis/utopia-cms",
"max_stars_count": 8,
"id": "436",
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"normalized_source_hash": "15da7d1b54b2a13b1a15ae64d06a0a94fad1ca558b7229b5eb5ed96ca60c3712",
"source_ast_hash": "df5df8b4ab47ffbdb0b4522876baa7d6406c3b34c3abfdcd245c77fa576cee18",
"artifact_hash": "69d22b10893320b1df9267c9... | true | true | null |
en_plaincode_to_python | # utopia-cms 2020. <NAME>.
Load BaseCommand from django.core.management.
Load IntegrityError from django.db.utils.
Load core_articleviewedby_mdb from apps.
Load ArticleViewedBy from core.models.
Define class Command inheriting from BaseCommand:
Set help to "Moves article viewed by data from mongodb to Django model"... | # utopia-cms 2020. <NAME>.
from django.core.management import BaseCommand
from django.db.utils import IntegrityError
from apps import core_articleviewedby_mdb
from core.models import ArticleViewedBy
class Command(BaseCommand):
help = "Moves article viewed by data from mongodb to Django model"
def handle(se... | en | python | run_002_20260417_060406 | 250 | {
"max_stars_repo_path": "portal/apps/core/management/commands/sync_articleviewedby.py",
"max_stars_repo_name": "Artis-Physis/utopia-cms",
"max_stars_count": 8,
"id": "436",
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "7d11cd268d14c7a6eecfa6a0746edb0e4e228997cec1081cc42e178939176c7d",
"normalized_source_hash": "15da7d1b54b2a13b1a15ae64d06a0a94fad1ca558b7229b5eb5ed96ca60c3712",
"source_ast_hash": "df5df8b4ab47ffbdb0b4522876baa7d6406c3b34c3abfdcd245c77fa576cee18",
"artifact_hash": "69d22b10893320b1df9267c9... | true | true | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.