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 | # code....
a = 1
b = 2
c = 3
s = a+b+c
r = s/3
print(r)
# code....
'''
def average():
a=1
b=2
c=3
s=a+b+c
r=s/3
print(r)
average()
'''
'''
#input
#parameter
#argument
def average(a,b,c):
s=a+b+c
r=s/3
print(r)
average(10,20,30)
'''
def average(a, b, c):
s = a+b+c
r = s/3
... | # code....
Set a to 1.
Set b to 2.
Set c to 3.
Set s to a plus b plus c.
Set r to s divided by 3.
Print r.
# code....
Text block:
""
"def average():"
" a=1"
" b=2"
" c=3"
" s=a+b+c"
" r=s/3"
" print(r)"
"average()"
ending with a newline.
Text block:
""
"#input"
"#parameter"
"#argument"
"def average(a,... | python | en | run_002_20260417_060406 | 101 | {
"max_stars_repo_path": "syntax/func.py",
"max_stars_repo_name": "sangumee/Opentutorials-Webn-Python",
"max_stars_count": 0,
"id": "179",
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 199,
... | {
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"normalized_source_hash": "1dec903d4fd34a7ebcc4ceafb7aefd9f84482715a4d402bf67224fda6996a8fa",
"source_ast_hash": "e6a5486e4e98ecda37120063c228cd41e6cbf6b8361ba9188c5f9d42957bad61",
"artifact_hash": "12fba13eb662a562223842b0... | true | true | null |
python_to_es_plaincode | # code....
a = 1
b = 2
c = 3
s = a+b+c
r = s/3
print(r)
# code....
'''
def average():
a=1
b=2
c=3
s=a+b+c
r=s/3
print(r)
average()
'''
'''
#input
#parameter
#argument
def average(a,b,c):
s=a+b+c
r=s/3
print(r)
average(10,20,30)
'''
def average(a, b, c):
s = a+b+c
r = s/3
... | # code....
Establecer a como 1.
Establecer b como 2.
Establecer c como 3.
Establecer s como a más b más c.
Establecer r como s dividido por 3.
Imprimir r.
# code....
Texto literal:
""
"def average():"
" a=1"
" b=2"
" c=3"
" s=a+b+c"
" r=s/3"
" print(r)"
"average()"
terminando con una nueva línea.
Text... | python | es | run_002_20260417_060406 | 101 | {
"max_stars_repo_path": "syntax/func.py",
"max_stars_repo_name": "sangumee/Opentutorials-Webn-Python",
"max_stars_count": 0,
"id": "179",
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 199,
... | {
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"normalized_source_hash": "1dec903d4fd34a7ebcc4ceafb7aefd9f84482715a4d402bf67224fda6996a8fa",
"source_ast_hash": "e6a5486e4e98ecda37120063c228cd41e6cbf6b8361ba9188c5f9d42957bad61",
"artifact_hash": "12fba13eb662a562223842b0... | true | true | null |
python_to_fr_plaincode | # code....
a = 1
b = 2
c = 3
s = a+b+c
r = s/3
print(r)
# code....
'''
def average():
a=1
b=2
c=3
s=a+b+c
r=s/3
print(r)
average()
'''
'''
#input
#parameter
#argument
def average(a,b,c):
s=a+b+c
r=s/3
print(r)
average(10,20,30)
'''
def average(a, b, c):
s = a+b+c
r = s/3
... | # code....
Affecter a à 1.
Affecter b à 2.
Affecter c à 3.
Affecter s à a plus b plus c.
Affecter r à s divisé par 3.
Afficher r.
# code....
Texte littéral:
""
"def average():"
" a=1"
" b=2"
" c=3"
" s=a+b+c"
" r=s/3"
" print(r)"
"average()"
se terminant par une nouvelle ligne.
Texte littéral:
""
"#in... | python | fr | run_002_20260417_060406 | 101 | {
"max_stars_repo_path": "syntax/func.py",
"max_stars_repo_name": "sangumee/Opentutorials-Webn-Python",
"max_stars_count": 0,
"id": "179",
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 199,
... | {
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"normalized_source_hash": "1dec903d4fd34a7ebcc4ceafb7aefd9f84482715a4d402bf67224fda6996a8fa",
"source_ast_hash": "e6a5486e4e98ecda37120063c228cd41e6cbf6b8361ba9188c5f9d42957bad61",
"artifact_hash": "12fba13eb662a562223842b0... | true | true | null |
en_plaincode_to_python | # code....
Set a to 1.
Set b to 2.
Set c to 3.
Set s to a plus b plus c.
Set r to s divided by 3.
Print r.
# code....
Text block:
""
"def average():"
" a=1"
" b=2"
" c=3"
" s=a+b+c"
" r=s/3"
" print(r)"
"average()"
ending with a newline.
Text block:
""
"#input"
"#parameter"
"#argument"
"def average(a,... | # code....
a = 1
b = 2
c = 3
s = a+b+c
r = s/3
print(r)
# code....
'''
def average():
a=1
b=2
c=3
s=a+b+c
r=s/3
print(r)
average()
'''
'''
#input
#parameter
#argument
def average(a,b,c):
s=a+b+c
r=s/3
print(r)
average(10,20,30)
'''
def average(a, b, c):
s = a+b+c
r = s/3
... | en | python | run_002_20260417_060406 | 101 | {
"max_stars_repo_path": "syntax/func.py",
"max_stars_repo_name": "sangumee/Opentutorials-Webn-Python",
"max_stars_count": 0,
"id": "179",
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 199,
... | {
"raw_source_hash": "4bec4614596ee045c6416d38704064673ec229b2cb37d76c16ac0e470d09198c",
"normalized_source_hash": "1dec903d4fd34a7ebcc4ceafb7aefd9f84482715a4d402bf67224fda6996a8fa",
"source_ast_hash": "e6a5486e4e98ecda37120063c228cd41e6cbf6b8361ba9188c5f9d42957bad61",
"artifact_hash": "12fba13eb662a562223842b0... | true | true | null |
python_to_en_plaincode | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util imp... | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
Load BitcoinTestFramework from test_framework.test_framework.
Load everything from test_frame... | python | en | run_002_20260417_060406 | 102 | {
"max_stars_repo_path": "qa/rpc-tests/listtransactions.py",
"max_stars_repo_name": "DeftNerd/bitcoinclassic",
"max_stars_count": 8,
"id": "181",
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 1... | {
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"normalized_source_hash": "3419a3ef333929548be6ee474518370763e5ce0f7d269a1894430925a8b47814",
"source_ast_hash": "aa2272faa3b45890bb8a60728912b46073aa65249fec30aabe6f386883ae82f6",
"artifact_hash": "f8cf524600a2df54c612e3b2... | true | true | null |
python_to_es_plaincode | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util imp... | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING o http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
Importar BitcoinTestFramework desde test_framework.test_framework.
Importar todo desde test_fr... | python | es | run_002_20260417_060406 | 102 | {
"max_stars_repo_path": "qa/rpc-tests/listtransactions.py",
"max_stars_repo_name": "DeftNerd/bitcoinclassic",
"max_stars_count": 8,
"id": "181",
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 1... | {
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"normalized_source_hash": "3419a3ef333929548be6ee474518370763e5ce0f7d269a1894430925a8b47814",
"source_ast_hash": "aa2272faa3b45890bb8a60728912b46073aa65249fec30aabe6f386883ae82f6",
"artifact_hash": "f8cf524600a2df54c612e3b2... | true | true | null |
python_to_fr_plaincode | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util imp... | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING ou http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
Charger BitcoinTestFramework depuis test_framework.test_framework.
Charger tout depuis test_f... | python | fr | run_002_20260417_060406 | 102 | {
"max_stars_repo_path": "qa/rpc-tests/listtransactions.py",
"max_stars_repo_name": "DeftNerd/bitcoinclassic",
"max_stars_count": 8,
"id": "181",
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 1... | {
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"normalized_source_hash": "3419a3ef333929548be6ee474518370763e5ce0f7d269a1894430925a8b47814",
"source_ast_hash": "aa2272faa3b45890bb8a60728912b46073aa65249fec30aabe6f386883ae82f6",
"artifact_hash": "f8cf524600a2df54c612e3b2... | true | true | null |
en_plaincode_to_python | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
Load BitcoinTestFramework from test_framework.test_framework.
Load everything from test_frame... | # Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Exercise the listtransactions API
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util imp... | en | python | run_002_20260417_060406 | 102 | {
"max_stars_repo_path": "qa/rpc-tests/listtransactions.py",
"max_stars_repo_name": "DeftNerd/bitcoinclassic",
"max_stars_count": 8,
"id": "181",
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 1... | {
"raw_source_hash": "29baf9e763a84f727f63e9b6850ee54a748ef19b9a9da5aec1e583bef9e7f7f1",
"normalized_source_hash": "3419a3ef333929548be6ee474518370763e5ce0f7d269a1894430925a8b47814",
"source_ast_hash": "aa2272faa3b45890bb8a60728912b46073aa65249fec30aabe6f386883ae82f6",
"artifact_hash": "f8cf524600a2df54c612e3b2... | true | true | null |
python_to_en_plaincode | from django.contrib import admin
from base.models import Topic, Photo
class EONBaseAdmin(admin.ModelAdmin):
def get_changeform_initial_data(self, request):
initial = super().get_changeform_initial_data(request)
if 'add' in request.META['PATH_INFO']:
initial['created_by'] = request.... | Load admin from django.contrib.
Load Topic, Photo from base.models.
Define class EONBaseAdmin inheriting from admin.ModelAdmin:
Define method get_changeform_initial_data with parameters self, request:
Set initial to (super with no values) dot get_changeform_initial_data with request.
If "add" is in ... | python | en | run_002_20260417_060406 | 103 | {
"max_stars_repo_path": "base/admin.py",
"max_stars_repo_name": "ExpertOfNone/expert_of_none",
"max_stars_count": 0,
"id": "183",
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_... | {
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"normalized_source_hash": "15d83ea4c56585f538d68bcedde738676304384065f666bc8efa4b1aeda34bac",
"source_ast_hash": "fa0379bc150fd8309ed2a2bd9d23bcaf51892a4dabadd70bc59628face70562b",
"artifact_hash": "b62a880f5cf17729a413bf4a... | true | true | null |
python_to_es_plaincode | from django.contrib import admin
from base.models import Topic, Photo
class EONBaseAdmin(admin.ModelAdmin):
def get_changeform_initial_data(self, request):
initial = super().get_changeform_initial_data(request)
if 'add' in request.META['PATH_INFO']:
initial['created_by'] = request.... | Importar admin desde django.contrib.
Importar Topic, Photo desde base.models.
Definir clase EONBaseAdmin heredando de admin.ModelAdmin:
Definir método get_changeform_initial_data con parámetros self, request:
Establecer initial como (super sin argumentos) punto get_changeform_initial_data con request.
... | python | es | run_002_20260417_060406 | 103 | {
"max_stars_repo_path": "base/admin.py",
"max_stars_repo_name": "ExpertOfNone/expert_of_none",
"max_stars_count": 0,
"id": "183",
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_... | {
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"normalized_source_hash": "15d83ea4c56585f538d68bcedde738676304384065f666bc8efa4b1aeda34bac",
"source_ast_hash": "fa0379bc150fd8309ed2a2bd9d23bcaf51892a4dabadd70bc59628face70562b",
"artifact_hash": "b62a880f5cf17729a413bf4a... | true | true | null |
python_to_fr_plaincode | from django.contrib import admin
from base.models import Topic, Photo
class EONBaseAdmin(admin.ModelAdmin):
def get_changeform_initial_data(self, request):
initial = super().get_changeform_initial_data(request)
if 'add' in request.META['PATH_INFO']:
initial['created_by'] = request.... | Charger admin depuis django.contrib.
Charger Topic, Photo depuis base.models.
Définir classe EONBaseAdmin héritant de admin.ModelAdmin:
Définir méthode get_changeform_initial_data avec paramètres self, request:
Affecter initial à (super sans arguments) point de get_changeform_initial_data avec request.
... | python | fr | run_002_20260417_060406 | 103 | {
"max_stars_repo_path": "base/admin.py",
"max_stars_repo_name": "ExpertOfNone/expert_of_none",
"max_stars_count": 0,
"id": "183",
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_... | {
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"normalized_source_hash": "15d83ea4c56585f538d68bcedde738676304384065f666bc8efa4b1aeda34bac",
"source_ast_hash": "fa0379bc150fd8309ed2a2bd9d23bcaf51892a4dabadd70bc59628face70562b",
"artifact_hash": "b62a880f5cf17729a413bf4a... | true | true | null |
en_plaincode_to_python | Load admin from django.contrib.
Load Topic, Photo from base.models.
Define class EONBaseAdmin inheriting from admin.ModelAdmin:
Define method get_changeform_initial_data with parameters self, request:
Set initial to (super with no values) dot get_changeform_initial_data with request.
If "add" is in ... | from django.contrib import admin
from base.models import Topic, Photo
class EONBaseAdmin(admin.ModelAdmin):
def get_changeform_initial_data(self, request):
initial = super().get_changeform_initial_data(request)
if 'add' in request.META['PATH_INFO']:
initial['created_by'] = request.... | en | python | run_002_20260417_060406 | 103 | {
"max_stars_repo_path": "base/admin.py",
"max_stars_repo_name": "ExpertOfNone/expert_of_none",
"max_stars_count": 0,
"id": "183",
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_... | {
"raw_source_hash": "925aa9240d9f9e863a93a60b33f42a010a0af86f42d3500d72576d316f33cba6",
"normalized_source_hash": "15d83ea4c56585f538d68bcedde738676304384065f666bc8efa4b1aeda34bac",
"source_ast_hash": "fa0379bc150fd8309ed2a2bd9d23bcaf51892a4dabadd70bc59628face70562b",
"artifact_hash": "b62a880f5cf17729a413bf4a... | true | true | null |
python_to_en_plaincode | import traceback
from pprint import pformat
from threading import Thread
import itchat
import logging
from wxpy.chat import Chat
from wxpy.chats import Chats
from wxpy.friend import Friend
from wxpy.group import Group
from wxpy.message import MessageConfigs, Messages, Message, MessageConfig
from wxpy.mp import MP
fro... | Load traceback.
Load pformat from pprint.
Load Thread from threading.
Load itchat.
Load logging.
Load Chat from wxpy.chat.
Load Chats from wxpy.chats.
Load Friend from wxpy.friend.
Load Group from wxpy.group.
Load MessageConfigs, Messages, Message, MessageConfig from wxpy.message.
Load MP from wxpy.mp.
Load ResponseErr... | python | en | run_002_20260417_060406 | 104 | {
"max_stars_repo_path": "wxpy/bot.py",
"max_stars_repo_name": "daimajia/wxpy",
"max_stars_count": 34,
"id": "185",
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"sanitize_meta": {
"triple_block_count": 17,
"total_triple_chars": 2151,
"largest_triple_bloc... | {
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"normalized_source_hash": "cc43052b85931721d3904cfca7a960b480b16a3eb39c7e93fccb6602c6a8b928",
"source_ast_hash": "715fc3d5c5ebaf6e9bafb02d8a3c900e19549dfd3202997c6da0af4d67a69865",
"artifact_hash": "a9ea2803d68bfeb3b885e418... | true | true | null |
python_to_es_plaincode | import traceback
from pprint import pformat
from threading import Thread
import itchat
import logging
from wxpy.chat import Chat
from wxpy.chats import Chats
from wxpy.friend import Friend
from wxpy.group import Group
from wxpy.message import MessageConfigs, Messages, Message, MessageConfig
from wxpy.mp import MP
fro... | Importar traceback.
Importar pformat desde pprint.
Importar Thread desde threading.
Importar itchat.
Importar logging.
Importar Chat desde wxpy.chat.
Importar Chats desde wxpy.chats.
Importar Friend desde wxpy.friend.
Importar Group desde wxpy.group.
Importar MessageConfigs, Messages, Message, MessageConfig desde wxpy.... | python | es | run_002_20260417_060406 | 104 | {
"max_stars_repo_path": "wxpy/bot.py",
"max_stars_repo_name": "daimajia/wxpy",
"max_stars_count": 34,
"id": "185",
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"sanitize_meta": {
"triple_block_count": 17,
"total_triple_chars": 2151,
"largest_triple_bloc... | {
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"normalized_source_hash": "cc43052b85931721d3904cfca7a960b480b16a3eb39c7e93fccb6602c6a8b928",
"source_ast_hash": "715fc3d5c5ebaf6e9bafb02d8a3c900e19549dfd3202997c6da0af4d67a69865",
"artifact_hash": "a9ea2803d68bfeb3b885e418... | true | true | null |
python_to_fr_plaincode | import traceback
from pprint import pformat
from threading import Thread
import itchat
import logging
from wxpy.chat import Chat
from wxpy.chats import Chats
from wxpy.friend import Friend
from wxpy.group import Group
from wxpy.message import MessageConfigs, Messages, Message, MessageConfig
from wxpy.mp import MP
fro... | Charger traceback.
Charger pformat depuis pprint.
Charger Thread depuis threading.
Charger itchat.
Charger logging.
Charger Chat depuis wxpy.chat.
Charger Chats depuis wxpy.chats.
Charger Friend depuis wxpy.friend.
Charger Group depuis wxpy.group.
Charger MessageConfigs, Messages, Message, MessageConfig depuis wxpy.mes... | python | fr | run_002_20260417_060406 | 104 | {
"max_stars_repo_path": "wxpy/bot.py",
"max_stars_repo_name": "daimajia/wxpy",
"max_stars_count": 34,
"id": "185",
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"sanitize_meta": {
"triple_block_count": 17,
"total_triple_chars": 2151,
"largest_triple_bloc... | {
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"normalized_source_hash": "cc43052b85931721d3904cfca7a960b480b16a3eb39c7e93fccb6602c6a8b928",
"source_ast_hash": "715fc3d5c5ebaf6e9bafb02d8a3c900e19549dfd3202997c6da0af4d67a69865",
"artifact_hash": "a9ea2803d68bfeb3b885e418... | true | true | null |
en_plaincode_to_python | Load traceback.
Load pformat from pprint.
Load Thread from threading.
Load itchat.
Load logging.
Load Chat from wxpy.chat.
Load Chats from wxpy.chats.
Load Friend from wxpy.friend.
Load Group from wxpy.group.
Load MessageConfigs, Messages, Message, MessageConfig from wxpy.message.
Load MP from wxpy.mp.
Load ResponseErr... | import traceback
from pprint import pformat
from threading import Thread
import itchat
import logging
from wxpy.chat import Chat
from wxpy.chats import Chats
from wxpy.friend import Friend
from wxpy.group import Group
from wxpy.message import MessageConfigs, Messages, Message, MessageConfig
from wxpy.mp import MP
fro... | en | python | run_002_20260417_060406 | 104 | {
"max_stars_repo_path": "wxpy/bot.py",
"max_stars_repo_name": "daimajia/wxpy",
"max_stars_count": 34,
"id": "185",
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"sanitize_meta": {
"triple_block_count": 17,
"total_triple_chars": 2151,
"largest_triple_bloc... | {
"raw_source_hash": "18e0df688ee91717bcf09d9935d3255885722314e30f16b31d0d97435a1dad4a",
"normalized_source_hash": "cc43052b85931721d3904cfca7a960b480b16a3eb39c7e93fccb6602c6a8b928",
"source_ast_hash": "715fc3d5c5ebaf6e9bafb02d8a3c900e19549dfd3202997c6da0af4d67a69865",
"artifact_hash": "a9ea2803d68bfeb3b885e418... | true | true | null |
python_to_en_plaincode | # Set up configuration variables
__all__ = ['custom_viewer', 'qglue', 'test']
import os
import sys
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution('glue-core').version
except DistributionNotFound:
__version__ = 'undefined'
from ._mpl_backend import Matp... | # Set up configuration variables
Set __all__ to the list ["custom_viewer", "qglue", "test"].
Load os.
Load sys.
Load get_distribution, DistributionNotFound from pkg_resources.
Attempt the following:
Set __version__ to (get_distribution with "glue-core") dot version.
If an error of type DistributionNotFound occurs:
... | python | en | run_002_20260417_060406 | 105 | {
"max_stars_repo_path": "glue/__init__.py",
"max_stars_repo_name": "HPLegion/glue",
"max_stars_count": 550,
"id": "186",
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"normalized_source_hash": "327859704c0e52a78a3f50b47552e9ca9f131dccfd3440edd7e19bd38280ab50",
"source_ast_hash": "230762f5890f7b7b69773a05136b10cbf86e4a1ad4a2509d9b1551263c539817",
"artifact_hash": "284ba4643ec1b4c00a4fd5f5... | true | true | null |
python_to_es_plaincode | # Set up configuration variables
__all__ = ['custom_viewer', 'qglue', 'test']
import os
import sys
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution('glue-core').version
except DistributionNotFound:
__version__ = 'undefined'
from ._mpl_backend import Matp... | # Establecer arriba configuration variables
Establecer __all__ como la lista ["custom_viewer", "qglue", "test"].
Importar os.
Importar sys.
Importar get_distribution, DistributionNotFound desde pkg_resources.
Intentar lo siguiente:
Establecer __version__ como (get_distribution con "glue-core") punto version.
Si ocu... | python | es | run_002_20260417_060406 | 105 | {
"max_stars_repo_path": "glue/__init__.py",
"max_stars_repo_name": "HPLegion/glue",
"max_stars_count": 550,
"id": "186",
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"normalized_source_hash": "327859704c0e52a78a3f50b47552e9ca9f131dccfd3440edd7e19bd38280ab50",
"source_ast_hash": "230762f5890f7b7b69773a05136b10cbf86e4a1ad4a2509d9b1551263c539817",
"artifact_hash": "284ba4643ec1b4c00a4fd5f5... | true | true | null |
python_to_fr_plaincode | # Set up configuration variables
__all__ = ['custom_viewer', 'qglue', 'test']
import os
import sys
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution('glue-core').version
except DistributionNotFound:
__version__ = 'undefined'
from ._mpl_backend import Matp... | # Affecter haut configuration variables
Affecter __all__ à la liste ["custom_viewer", "qglue", "test"].
Charger os.
Charger sys.
Charger get_distribution, DistributionNotFound depuis pkg_resources.
Essayer ce qui suit:
Affecter __version__ à (get_distribution avec "glue-core") point de version.
Si une erreur du typ... | python | fr | run_002_20260417_060406 | 105 | {
"max_stars_repo_path": "glue/__init__.py",
"max_stars_repo_name": "HPLegion/glue",
"max_stars_count": 550,
"id": "186",
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"normalized_source_hash": "327859704c0e52a78a3f50b47552e9ca9f131dccfd3440edd7e19bd38280ab50",
"source_ast_hash": "230762f5890f7b7b69773a05136b10cbf86e4a1ad4a2509d9b1551263c539817",
"artifact_hash": "284ba4643ec1b4c00a4fd5f5... | true | true | null |
en_plaincode_to_python | # Set up configuration variables
Set __all__ to the list ["custom_viewer", "qglue", "test"].
Load os.
Load sys.
Load get_distribution, DistributionNotFound from pkg_resources.
Attempt the following:
Set __version__ to (get_distribution with "glue-core") dot version.
If an error of type DistributionNotFound occurs:
... | # Set up configuration variables
__all__ = ['custom_viewer', 'qglue', 'test']
import os
import sys
from pkg_resources import get_distribution, DistributionNotFound
try:
__version__ = get_distribution('glue-core').version
except DistributionNotFound:
__version__ = 'undefined'
from ._mpl_backend import Matp... | en | python | run_002_20260417_060406 | 105 | {
"max_stars_repo_path": "glue/__init__.py",
"max_stars_repo_name": "HPLegion/glue",
"max_stars_count": 550,
"id": "186",
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "c162d9db8a297990308113ee17dca2df54aba95250bbe1e12949b8a1df2a76c8",
"normalized_source_hash": "327859704c0e52a78a3f50b47552e9ca9f131dccfd3440edd7e19bd38280ab50",
"source_ast_hash": "230762f5890f7b7b69773a05136b10cbf86e4a1ad4a2509d9b1551263c539817",
"artifact_hash": "284ba4643ec1b4c00a4fd5f5... | true | true | null |
python_to_en_plaincode | """
Base settings for Proxito
Some of these settings will eventually be backported into the main settings file,
but currently we have them to be able to run the site with the old middleware for
a staged rollout of the proxito code.
"""
class CommunityProxitoSettingsMixin:
ROOT_URLCONF = 'readthedocs.proxito.url... | Text block:
""
"Base settings for Proxito"
""
"Some of these settings will eventually be backported into the main settings file,"
"but currently we have them to be able to run the site with the old middleware for"
"a staged rollout of the proxito code."
ending with a newline.
Define class CommunityProxitoSettingsMixin:... | python | en | run_002_20260417_060406 | 106 | {
"max_stars_repo_path": "readthedocs/settings/proxito/base.py",
"max_stars_repo_name": "rffontenelle/readthedocs.org",
"max_stars_count": 0,
"id": "188",
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_... | {
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"normalized_source_hash": "830121067d903135a5ea866904f1a44e9243ac1ae05683f05ffa2e33102a5891",
"source_ast_hash": "74eb0cad5f2e230a6524d909d103abb629ec61898c435d85ecb0b9c20bd110eb",
"artifact_hash": "b3db528b573e0495a7c6306a... | true | true | null |
python_to_es_plaincode | """
Base settings for Proxito
Some of these settings will eventually be backported into the main settings file,
but currently we have them to be able to run the site with the old middleware for
a staged rollout of the proxito code.
"""
class CommunityProxitoSettingsMixin:
ROOT_URLCONF = 'readthedocs.proxito.url... | Texto literal:
""
"Base settings for Proxito"
""
"Some of these settings will eventually be backported into the main settings file,"
"but currently we have them to be able to run the site with the old middleware for"
"a staged rollout of the proxito code."
terminando con una nueva línea.
Definir clase CommunityProxitoS... | python | es | run_002_20260417_060406 | 106 | {
"max_stars_repo_path": "readthedocs/settings/proxito/base.py",
"max_stars_repo_name": "rffontenelle/readthedocs.org",
"max_stars_count": 0,
"id": "188",
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_... | {
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"normalized_source_hash": "830121067d903135a5ea866904f1a44e9243ac1ae05683f05ffa2e33102a5891",
"source_ast_hash": "74eb0cad5f2e230a6524d909d103abb629ec61898c435d85ecb0b9c20bd110eb",
"artifact_hash": "b3db528b573e0495a7c6306a... | true | true | null |
python_to_fr_plaincode | """
Base settings for Proxito
Some of these settings will eventually be backported into the main settings file,
but currently we have them to be able to run the site with the old middleware for
a staged rollout of the proxito code.
"""
class CommunityProxitoSettingsMixin:
ROOT_URLCONF = 'readthedocs.proxito.url... | Texte littéral:
""
"Base settings for Proxito"
""
"Some of these settings will eventually be backported into the main settings file,"
"but currently we have them to be able to run the site with the old middleware for"
"a staged rollout of the proxito code."
se terminant par une nouvelle ligne.
Définir classe CommunityP... | python | fr | run_002_20260417_060406 | 106 | {
"max_stars_repo_path": "readthedocs/settings/proxito/base.py",
"max_stars_repo_name": "rffontenelle/readthedocs.org",
"max_stars_count": 0,
"id": "188",
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_... | {
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"normalized_source_hash": "830121067d903135a5ea866904f1a44e9243ac1ae05683f05ffa2e33102a5891",
"source_ast_hash": "74eb0cad5f2e230a6524d909d103abb629ec61898c435d85ecb0b9c20bd110eb",
"artifact_hash": "b3db528b573e0495a7c6306a... | true | true | null |
en_plaincode_to_python | Text block:
""
"Base settings for Proxito"
""
"Some of these settings will eventually be backported into the main settings file,"
"but currently we have them to be able to run the site with the old middleware for"
"a staged rollout of the proxito code."
ending with a newline.
Define class CommunityProxitoSettingsMixin:... | """
Base settings for Proxito
Some of these settings will eventually be backported into the main settings file,
but currently we have them to be able to run the site with the old middleware for
a staged rollout of the proxito code.
"""
class CommunityProxitoSettingsMixin:
ROOT_URLCONF = 'readthedocs.proxito.url... | en | python | run_002_20260417_060406 | 106 | {
"max_stars_repo_path": "readthedocs/settings/proxito/base.py",
"max_stars_repo_name": "rffontenelle/readthedocs.org",
"max_stars_count": 0,
"id": "188",
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_... | {
"raw_source_hash": "62b974c6cb0343eae1f3bfa350af9e2de489a3b3472ebb0aa883a8617d6dc417",
"normalized_source_hash": "830121067d903135a5ea866904f1a44e9243ac1ae05683f05ffa2e33102a5891",
"source_ast_hash": "74eb0cad5f2e230a6524d909d103abb629ec61898c435d85ecb0b9c20bd110eb",
"artifact_hash": "b3db528b573e0495a7c6306a... | true | true | null |
python_to_en_plaincode | # Generated by Django 3.2.7 on 2021-09-13 03:52
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("economy", "0026_alter_clearhaussettlement_options"),
]
operations = [
migrations.CreateModel(
name="ZettleBalance",... | # Generated by Django 3.2.7 on 2021-09-13 03:52
Load uuid.
Load migrations, models from django.db.
Define class Migration inheriting from migrations.Migration:
Set dependencies to the list [the tuple ("economy", "0026_alter_clearhaussettlement_options")].
Set operations to the list [
(migrations dot CreateM... | python | en | run_002_20260417_060406 | 107 | {
"max_stars_repo_path": "src/economy/migrations/0027_zettlebalance_zettlereceipt.py",
"max_stars_repo_name": "bornhack/bornhack-website",
"max_stars_count": 7,
"id": "190",
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"normalized_source_hash": "1dd829c59da75c198a743ab2ee41fce47315fcfdd39bd91733d2fd7a3c8e0f18",
"source_ast_hash": "b3522617ac6c17e1bd93e26145a7238f8b1727d3243ccad1479900316f82c369",
"artifact_hash": "3ac30bcf2717ff75ab7a2a8f... | true | true | null |
python_to_es_plaincode | # Generated by Django 3.2.7 on 2021-09-13 03:52
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("economy", "0026_alter_clearhaussettlement_options"),
]
operations = [
migrations.CreateModel(
name="ZettleBalance",... | # Generated por Django 3.2.7 on 2021-09-13 03:52
Importar uuid.
Importar migrations, models desde django.db.
Definir clase Migration heredando de migrations.Migration:
Establecer dependencies como la lista [la tupla ("economy", "0026_alter_clearhaussettlement_options")].
Establecer operations como la lista [
... | python | es | run_002_20260417_060406 | 107 | {
"max_stars_repo_path": "src/economy/migrations/0027_zettlebalance_zettlereceipt.py",
"max_stars_repo_name": "bornhack/bornhack-website",
"max_stars_count": 7,
"id": "190",
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"normalized_source_hash": "1dd829c59da75c198a743ab2ee41fce47315fcfdd39bd91733d2fd7a3c8e0f18",
"source_ast_hash": "b3522617ac6c17e1bd93e26145a7238f8b1727d3243ccad1479900316f82c369",
"artifact_hash": "3ac30bcf2717ff75ab7a2a8f... | true | true | null |
python_to_fr_plaincode | # Generated by Django 3.2.7 on 2021-09-13 03:52
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("economy", "0026_alter_clearhaussettlement_options"),
]
operations = [
migrations.CreateModel(
name="ZettleBalance",... | # Generated par Django 3.2.7 on 2021-09-13 03:52
Charger uuid.
Charger migrations, models depuis django.db.
Définir classe Migration héritant de migrations.Migration:
Affecter dependencies à la liste [le tuple ("economy", "0026_alter_clearhaussettlement_options")].
Affecter operations à la liste [
(migratio... | python | fr | run_002_20260417_060406 | 107 | {
"max_stars_repo_path": "src/economy/migrations/0027_zettlebalance_zettlereceipt.py",
"max_stars_repo_name": "bornhack/bornhack-website",
"max_stars_count": 7,
"id": "190",
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"normalized_source_hash": "1dd829c59da75c198a743ab2ee41fce47315fcfdd39bd91733d2fd7a3c8e0f18",
"source_ast_hash": "b3522617ac6c17e1bd93e26145a7238f8b1727d3243ccad1479900316f82c369",
"artifact_hash": "3ac30bcf2717ff75ab7a2a8f... | true | true | null |
en_plaincode_to_python | # Generated by Django 3.2.7 on 2021-09-13 03:52
Load uuid.
Load migrations, models from django.db.
Define class Migration inheriting from migrations.Migration:
Set dependencies to the list [the tuple ("economy", "0026_alter_clearhaussettlement_options")].
Set operations to the list [
(migrations dot CreateM... | # Generated by Django 3.2.7 on 2021-09-13 03:52
import uuid
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("economy", "0026_alter_clearhaussettlement_options"),
]
operations = [
migrations.CreateModel(
name="ZettleBalance",... | en | python | run_002_20260417_060406 | 107 | {
"max_stars_repo_path": "src/economy/migrations/0027_zettlebalance_zettlereceipt.py",
"max_stars_repo_name": "bornhack/bornhack-website",
"max_stars_count": 7,
"id": "190",
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "e63cee86902fd5358703fa96d5c5b55e3601ff9451ccd63cefeef8aef8068419",
"normalized_source_hash": "1dd829c59da75c198a743ab2ee41fce47315fcfdd39bd91733d2fd7a3c8e0f18",
"source_ast_hash": "b3522617ac6c17e1bd93e26145a7238f8b1727d3243ccad1479900316f82c369",
"artifact_hash": "3ac30bcf2717ff75ab7a2a8f... | true | true | null |
python_to_en_plaincode | import re
import sys
class Lexer:
def __init__(self, inp_str):
self.index = 0
self.s = inp_str
def get_char(self):
if self.index < len(self.s):
var = self.s[self.index]
self.index += 1
return var
input_file = open(str(sys.argv[1]), 'r') # Open fi... | Load re.
Load sys.
Define class Lexer:
Define method __init__ with parameters self, inp_str:
Set self dot `index` to 0.
Set self dot s to inp_str.
Define method get_char with parameter self:
If self dot `index` is less than len with self dot s:
Set var to item self dot `index... | python | en | run_002_20260417_060406 | 108 | {
"max_stars_repo_path": "main.py",
"max_stars_repo_name": "vkumarma/Complete-Interpreter",
"max_stars_count": 0,
"id": "191",
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"normalized_source_hash": "2386e8099e7d17cbbb2aa5c92191324c57f84142635c06cb4b282b3f50bea163",
"source_ast_hash": "afb66fccc5ceabd28a08fdecd32f5a68b24907a1c9dfa2ccbf67c2391f53b9b2",
"artifact_hash": "d96420c30c469ffefb271f48... | true | true | null |
python_to_es_plaincode | import re
import sys
class Lexer:
def __init__(self, inp_str):
self.index = 0
self.s = inp_str
def get_char(self):
if self.index < len(self.s):
var = self.s[self.index]
self.index += 1
return var
input_file = open(str(sys.argv[1]), 'r') # Open fi... | Importar re.
Importar sys.
Definir clase Lexer:
Definir método __init__ con parámetros self, inp_str:
Establecer self punto `index` como 0.
Establecer self punto s como inp_str.
Definir método get_char con parámetro self:
Si self punto `index` es menor que len con self punto s:
... | python | es | run_002_20260417_060406 | 108 | {
"max_stars_repo_path": "main.py",
"max_stars_repo_name": "vkumarma/Complete-Interpreter",
"max_stars_count": 0,
"id": "191",
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"normalized_source_hash": "2386e8099e7d17cbbb2aa5c92191324c57f84142635c06cb4b282b3f50bea163",
"source_ast_hash": "afb66fccc5ceabd28a08fdecd32f5a68b24907a1c9dfa2ccbf67c2391f53b9b2",
"artifact_hash": "d96420c30c469ffefb271f48... | true | true | null |
python_to_fr_plaincode | import re
import sys
class Lexer:
def __init__(self, inp_str):
self.index = 0
self.s = inp_str
def get_char(self):
if self.index < len(self.s):
var = self.s[self.index]
self.index += 1
return var
input_file = open(str(sys.argv[1]), 'r') # Open fi... | Charger re.
Charger sys.
Définir classe Lexer:
Définir méthode __init__ avec paramètres self, inp_str:
Affecter self point de `index` à 0.
Affecter self point de s à inp_str.
Définir méthode get_char avec paramètre self:
Si self point de `index` est inférieur à len avec self point de s:
... | python | fr | run_002_20260417_060406 | 108 | {
"max_stars_repo_path": "main.py",
"max_stars_repo_name": "vkumarma/Complete-Interpreter",
"max_stars_count": 0,
"id": "191",
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"normalized_source_hash": "2386e8099e7d17cbbb2aa5c92191324c57f84142635c06cb4b282b3f50bea163",
"source_ast_hash": "afb66fccc5ceabd28a08fdecd32f5a68b24907a1c9dfa2ccbf67c2391f53b9b2",
"artifact_hash": "d96420c30c469ffefb271f48... | true | true | null |
en_plaincode_to_python | Load re.
Load sys.
Define class Lexer:
Define method __init__ with parameters self, inp_str:
Set self dot `index` to 0.
Set self dot s to inp_str.
Define method get_char with parameter self:
If self dot `index` is less than len with self dot s:
Set var to item self dot `index... | import re
import sys
class Lexer:
def __init__(self, inp_str):
self.index = 0
self.s = inp_str
def get_char(self):
if self.index < len(self.s):
var = self.s[self.index]
self.index += 1
return var
input_file = open(str(sys.argv[1]), 'r') # Open fi... | en | python | run_002_20260417_060406 | 108 | {
"max_stars_repo_path": "main.py",
"max_stars_repo_name": "vkumarma/Complete-Interpreter",
"max_stars_count": 0,
"id": "191",
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "c3a2ba7d3a0c4172be69df2107323efba394944b54bb7279c778e95560d36dec",
"normalized_source_hash": "2386e8099e7d17cbbb2aa5c92191324c57f84142635c06cb4b282b3f50bea163",
"source_ast_hash": "afb66fccc5ceabd28a08fdecd32f5a68b24907a1c9dfa2ccbf67c2391f53b9b2",
"artifact_hash": "d96420c30c469ffefb271f48... | true | true | null |
python_to_en_plaincode | import sys
sys.path.append('/usr/local/lib/python3.4/site-packages/')
from warc_dedup import deduplicate
def main():
if len(sys.argv) == 1:
raise Exception('Please provide the WARC file as argument.')
deduplicate.Warc(*sys.argv[1:]).deduplicate()
if __name__ == '__main__':
main() | Load sys.
Call sys dot path dot append with "/usr/local/lib/python3.4/site-packages/".
Load deduplicate from warc_dedup.
Define function main:
If len with sys dot argv equals 1:
Raise Exception with "Please provide the WARC file as argument.".
Call (deduplicate dot Warc with values from items from 1 to ... | python | en | run_002_20260417_060406 | 109 | {
"max_stars_repo_path": "deduplicate.py",
"max_stars_repo_name": "Ghostofapacket/NewsGrabber-Deduplicate",
"max_stars_count": 0,
"id": "192",
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"normalized_source_hash": "262846e15c92ce004caee11f1b57a6ecdc601a994dd3b7dc1cf3827f3205b46c",
"source_ast_hash": "c0184090619bb803c36fedef735fad8657b62b5c1bf0ddf707f9a058b7c8056d",
"artifact_hash": "ec1d1b8bb250574118c71cfa... | true | true | null |
python_to_es_plaincode | import sys
sys.path.append('/usr/local/lib/python3.4/site-packages/')
from warc_dedup import deduplicate
def main():
if len(sys.argv) == 1:
raise Exception('Please provide the WARC file as argument.')
deduplicate.Warc(*sys.argv[1:]).deduplicate()
if __name__ == '__main__':
main() | Importar sys.
Llamar sys punto path punto append con "/usr/local/lib/python3.4/site-packages/".
Importar deduplicate desde warc_dedup.
Definir función main:
Si len con sys punto argv es igual a 1:
Lanzar Exception con "Please provide the WARC file as argument.".
Llamar (deduplicate punto Warc con valore... | python | es | run_002_20260417_060406 | 109 | {
"max_stars_repo_path": "deduplicate.py",
"max_stars_repo_name": "Ghostofapacket/NewsGrabber-Deduplicate",
"max_stars_count": 0,
"id": "192",
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"normalized_source_hash": "262846e15c92ce004caee11f1b57a6ecdc601a994dd3b7dc1cf3827f3205b46c",
"source_ast_hash": "c0184090619bb803c36fedef735fad8657b62b5c1bf0ddf707f9a058b7c8056d",
"artifact_hash": "ec1d1b8bb250574118c71cfa... | true | true | null |
python_to_fr_plaincode | import sys
sys.path.append('/usr/local/lib/python3.4/site-packages/')
from warc_dedup import deduplicate
def main():
if len(sys.argv) == 1:
raise Exception('Please provide the WARC file as argument.')
deduplicate.Warc(*sys.argv[1:]).deduplicate()
if __name__ == '__main__':
main() | Charger sys.
Appeler sys point de path point de append avec "/usr/local/lib/python3.4/site-packages/".
Charger deduplicate depuis warc_dedup.
Définir fonction main:
Si len avec sys point de argv est égal à 1:
Lever Exception avec "Please provide the WARC file as argument.".
Appeler (deduplicate point de... | python | fr | run_002_20260417_060406 | 109 | {
"max_stars_repo_path": "deduplicate.py",
"max_stars_repo_name": "Ghostofapacket/NewsGrabber-Deduplicate",
"max_stars_count": 0,
"id": "192",
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"normalized_source_hash": "262846e15c92ce004caee11f1b57a6ecdc601a994dd3b7dc1cf3827f3205b46c",
"source_ast_hash": "c0184090619bb803c36fedef735fad8657b62b5c1bf0ddf707f9a058b7c8056d",
"artifact_hash": "ec1d1b8bb250574118c71cfa... | true | true | null |
en_plaincode_to_python | Load sys.
Call sys dot path dot append with "/usr/local/lib/python3.4/site-packages/".
Load deduplicate from warc_dedup.
Define function main:
If len with sys dot argv equals 1:
Raise Exception with "Please provide the WARC file as argument.".
Call (deduplicate dot Warc with values from items from 1 to ... | import sys
sys.path.append('/usr/local/lib/python3.4/site-packages/')
from warc_dedup import deduplicate
def main():
if len(sys.argv) == 1:
raise Exception('Please provide the WARC file as argument.')
deduplicate.Warc(*sys.argv[1:]).deduplicate()
if __name__ == '__main__':
main() | en | python | run_002_20260417_060406 | 109 | {
"max_stars_repo_path": "deduplicate.py",
"max_stars_repo_name": "Ghostofapacket/NewsGrabber-Deduplicate",
"max_stars_count": 0,
"id": "192",
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "d73b05ce9321247dc8e103e9b18b7cf4c5145629dfd226319ef1dfa02e791f42",
"normalized_source_hash": "262846e15c92ce004caee11f1b57a6ecdc601a994dd3b7dc1cf3827f3205b46c",
"source_ast_hash": "c0184090619bb803c36fedef735fad8657b62b5c1bf0ddf707f9a058b7c8056d",
"artifact_hash": "ec1d1b8bb250574118c71cfa... | true | true | null |
python_to_en_plaincode | import os
import requests
import xmltodict
import csv
import json
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
FRED_BASE_URL = 'https://api.stlouisfed.org/fred/'
GEOFRED_BASE_URL = 'https://api.stlouisfed.org/geofred/'
def append_fred_token(url):
token = os.getenv('FRED_TOKEN')
return f'{url}&... | Load os.
Load requests.
Load xmltodict.
Load csv.
Load json.
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
Set FRED_BASE_URL to "https://api.stlouisfed.org/fred/".
Set GEOFRED_BASE_URL to "https://api.stlouisfed.org/geofred/".
Define function append_fred_token with parameter url:
Set token to os dot g... | python | en | run_002_20260417_060406 | 110 | {
"max_stars_repo_path": "build/lib/FinMesh/usgov/__init__.py",
"max_stars_repo_name": "johnjdailey/FinMesh",
"max_stars_count": 1,
"id": "193",
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"normalized_source_hash": "1ec4673962e1d8410bb03bb77f4928c06fd47c88c19b5e4e298defad088b4f9b",
"source_ast_hash": "9d81bfc2a8e43feeb4f0764b689f3e954d629fc1457a161302a044e523b066e7",
"artifact_hash": "031143a2fdc7a7d48383c294... | true | true | null |
python_to_es_plaincode | import os
import requests
import xmltodict
import csv
import json
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
FRED_BASE_URL = 'https://api.stlouisfed.org/fred/'
GEOFRED_BASE_URL = 'https://api.stlouisfed.org/geofred/'
def append_fred_token(url):
token = os.getenv('FRED_TOKEN')
return f'{url}&... | Importar os.
Importar requests.
Importar xmltodict.
Importar csv.
Importar json.
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
Establecer FRED_BASE_URL como "https://api.stlouisfed.org/fred/".
Establecer GEOFRED_BASE_URL como "https://api.stlouisfed.org/geofred/".
Definir función append_fred_token con par... | python | es | run_002_20260417_060406 | 110 | {
"max_stars_repo_path": "build/lib/FinMesh/usgov/__init__.py",
"max_stars_repo_name": "johnjdailey/FinMesh",
"max_stars_count": 1,
"id": "193",
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"normalized_source_hash": "1ec4673962e1d8410bb03bb77f4928c06fd47c88c19b5e4e298defad088b4f9b",
"source_ast_hash": "9d81bfc2a8e43feeb4f0764b689f3e954d629fc1457a161302a044e523b066e7",
"artifact_hash": "031143a2fdc7a7d48383c294... | true | true | null |
python_to_fr_plaincode | import os
import requests
import xmltodict
import csv
import json
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
FRED_BASE_URL = 'https://api.stlouisfed.org/fred/'
GEOFRED_BASE_URL = 'https://api.stlouisfed.org/geofred/'
def append_fred_token(url):
token = os.getenv('FRED_TOKEN')
return f'{url}&... | Charger os.
Charger requests.
Charger xmltodict.
Charger csv.
Charger json.
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
Affecter FRED_BASE_URL à "https://api.stlouisfed.org/fred/".
Affecter GEOFRED_BASE_URL à "https://api.stlouisfed.org/geofred/".
Définir fonction append_fred_token avec paramètre url:
... | python | fr | run_002_20260417_060406 | 110 | {
"max_stars_repo_path": "build/lib/FinMesh/usgov/__init__.py",
"max_stars_repo_name": "johnjdailey/FinMesh",
"max_stars_count": 1,
"id": "193",
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"normalized_source_hash": "1ec4673962e1d8410bb03bb77f4928c06fd47c88c19b5e4e298defad088b4f9b",
"source_ast_hash": "9d81bfc2a8e43feeb4f0764b689f3e954d629fc1457a161302a044e523b066e7",
"artifact_hash": "031143a2fdc7a7d48383c294... | true | true | null |
en_plaincode_to_python | Load os.
Load requests.
Load xmltodict.
Load csv.
Load json.
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
Set FRED_BASE_URL to "https://api.stlouisfed.org/fred/".
Set GEOFRED_BASE_URL to "https://api.stlouisfed.org/geofred/".
Define function append_fred_token with parameter url:
Set token to os dot g... | import os
import requests
import xmltodict
import csv
import json
# # # # # # # # # #
# FRED DATA BELOW #
# # # # # # # # # #
FRED_BASE_URL = 'https://api.stlouisfed.org/fred/'
GEOFRED_BASE_URL = 'https://api.stlouisfed.org/geofred/'
def append_fred_token(url):
token = os.getenv('FRED_TOKEN')
return f'{url}&... | en | python | run_002_20260417_060406 | 110 | {
"max_stars_repo_path": "build/lib/FinMesh/usgov/__init__.py",
"max_stars_repo_name": "johnjdailey/FinMesh",
"max_stars_count": 1,
"id": "193",
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,... | {
"raw_source_hash": "f4a1a8ebb00ec380edb7b3e703430130398c3b63220e8ff9d6a2839c670d94d9",
"normalized_source_hash": "1ec4673962e1d8410bb03bb77f4928c06fd47c88c19b5e4e298defad088b4f9b",
"source_ast_hash": "9d81bfc2a8e43feeb4f0764b689f3e954d629fc1457a161302a044e523b066e7",
"artifact_hash": "031143a2fdc7a7d48383c294... | true | true | null |
python_to_en_plaincode | #!/usr/bin/python
# -*- coding: utf-8 -*-
from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException
DOCUMENTATION = '''
module: openshift_v1_build_config_list
short_description: OpenShift BuildConfigList
description:
- Retrieve a list of build_configs. List operations provide... | # !/usr/bin/python
# -*- coding: utf-8 -*-
Load OpenShiftAnsibleModule, OpenShiftAnsibleException from ansible.module_utils.openshift_common.
Set DOCUMENTATION to text block:
""
"module: openshift_v1_build_config_list"
"short_description: OpenShift BuildConfigList"
"description:"
"- Retrieve a list of build_configs. Li... | python | en | run_002_20260417_060406 | 111 | {
"max_stars_repo_path": ".infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py",
"max_stars_repo_name": "cvicens/lab-knative",
"max_stars_count": 0,
"id": "198",
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"sanitize_meta... | {
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"normalized_source_hash": "946a28c9d436fb9d632d318f3397a841a8e8ee4295d729c2e3b3ccfc97d87487",
"source_ast_hash": "5e27da260c114454923c301ec5ee8637f3589d9994aab28547b1f0774d6fc71b",
"artifact_hash": "3af41a8f9b3514e2026d6c9e... | true | true | null |
python_to_es_plaincode | #!/usr/bin/python
# -*- coding: utf-8 -*-
from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException
DOCUMENTATION = '''
module: openshift_v1_build_config_list
short_description: OpenShift BuildConfigList
description:
- Retrieve a list of build_configs. List operations provide... | # !/usr/bin/python
# -*- coding: utf-8 -*-
Importar OpenShiftAnsibleModule, OpenShiftAnsibleException desde ansible.module_utils.openshift_common.
Establecer DOCUMENTATION como texto literal:
""
"module: openshift_v1_build_config_list"
"short_description: OpenShift BuildConfigList"
"description:"
"- Retrieve a list of ... | python | es | run_002_20260417_060406 | 111 | {
"max_stars_repo_path": ".infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py",
"max_stars_repo_name": "cvicens/lab-knative",
"max_stars_count": 0,
"id": "198",
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"sanitize_meta... | {
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"normalized_source_hash": "946a28c9d436fb9d632d318f3397a841a8e8ee4295d729c2e3b3ccfc97d87487",
"source_ast_hash": "5e27da260c114454923c301ec5ee8637f3589d9994aab28547b1f0774d6fc71b",
"artifact_hash": "3af41a8f9b3514e2026d6c9e... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/python
# -*- coding: utf-8 -*-
from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException
DOCUMENTATION = '''
module: openshift_v1_build_config_list
short_description: OpenShift BuildConfigList
description:
- Retrieve a list of build_configs. List operations provide... | # !/usr/bin/python
# -*- coding: utf-8 -*-
Charger OpenShiftAnsibleModule, OpenShiftAnsibleException depuis ansible.module_utils.openshift_common.
Affecter DOCUMENTATION à texte littéral:
""
"module: openshift_v1_build_config_list"
"short_description: OpenShift BuildConfigList"
"description:"
"- Retrieve a list of buil... | python | fr | run_002_20260417_060406 | 111 | {
"max_stars_repo_path": ".infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py",
"max_stars_repo_name": "cvicens/lab-knative",
"max_stars_count": 0,
"id": "198",
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"sanitize_meta... | {
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"normalized_source_hash": "946a28c9d436fb9d632d318f3397a841a8e8ee4295d729c2e3b3ccfc97d87487",
"source_ast_hash": "5e27da260c114454923c301ec5ee8637f3589d9994aab28547b1f0774d6fc71b",
"artifact_hash": "3af41a8f9b3514e2026d6c9e... | true | true | null |
en_plaincode_to_python | # !/usr/bin/python
# -*- coding: utf-8 -*-
Load OpenShiftAnsibleModule, OpenShiftAnsibleException from ansible.module_utils.openshift_common.
Set DOCUMENTATION to text block:
""
"module: openshift_v1_build_config_list"
"short_description: OpenShift BuildConfigList"
"description:"
"- Retrieve a list of build_configs. Li... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException
DOCUMENTATION = '''
module: openshift_v1_build_config_list
short_description: OpenShift BuildConfigList
description:
- Retrieve a list of build_configs. List operations provide... | en | python | run_002_20260417_060406 | 111 | {
"max_stars_repo_path": ".infra/setup/playbooks/roles/ansible.kubernetes-modules/library/openshift_v1_build_config_list.py",
"max_stars_repo_name": "cvicens/lab-knative",
"max_stars_count": 0,
"id": "198",
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"sanitize_meta... | {
"raw_source_hash": "4063a61f591bc12e428041b2662f59420c4b29326a8a73256abbad5f951bc84a",
"normalized_source_hash": "946a28c9d436fb9d632d318f3397a841a8e8ee4295d729c2e3b3ccfc97d87487",
"source_ast_hash": "5e27da260c114454923c301ec5ee8637f3589d9994aab28547b1f0774d6fc71b",
"artifact_hash": "3af41a8f9b3514e2026d6c9e... | true | true | null |
python_to_en_plaincode | import json
import logging
import os
import inspect
import urllib
import urllib.request
from urllib.error import HTTPError
# logger
logger = logging.getLogger()
logger_level = logging.getLevelName(os.environ['LOGGER_LEVEL'])
logger.setLevel(logger_level)
# validate access
def validate_access(event, context):
logg... | Load json.
Load logging.
Load os.
Load inspect.
Load urllib.
Load urllib.request.
Load HTTPError from urllib.error.
# logger
Set logger to logging dot getLogger with no values.
Set logger_level to logging dot getLevelName with item with key "LOGGER_LEVEL" of os dot environ.
Call logger dot setLevel with logger_level.
#... | python | en | run_002_20260417_060406 | 112 | {
"max_stars_repo_path": "aws-regions.py",
"max_stars_repo_name": "groorj/cloud-regions",
"max_stars_count": 0,
"id": "199",
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"normalized_source_hash": "96529058bc82e7a227fa4330126d5769e7cdcb72f3f83beee20d90cd51148866",
"source_ast_hash": "adbc355429b86fd9b365453b96a40b70bd0dabc2e7ef5d9e9e0c97819c387572",
"artifact_hash": "e6956f82a1df5857f8fbab0a... | true | true | null |
python_to_es_plaincode | import json
import logging
import os
import inspect
import urllib
import urllib.request
from urllib.error import HTTPError
# logger
logger = logging.getLogger()
logger_level = logging.getLevelName(os.environ['LOGGER_LEVEL'])
logger.setLevel(logger_level)
# validate access
def validate_access(event, context):
logg... | Importar json.
Importar logging.
Importar os.
Importar inspect.
Importar urllib.
Importar urllib.request.
Importar HTTPError desde urllib.error.
# logger
Establecer logger como logging punto getLogger sin argumentos.
Establecer logger_level como logging punto getLevelName con elemento con clave "LOGGER_LEVEL" de os pun... | python | es | run_002_20260417_060406 | 112 | {
"max_stars_repo_path": "aws-regions.py",
"max_stars_repo_name": "groorj/cloud-regions",
"max_stars_count": 0,
"id": "199",
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"normalized_source_hash": "96529058bc82e7a227fa4330126d5769e7cdcb72f3f83beee20d90cd51148866",
"source_ast_hash": "adbc355429b86fd9b365453b96a40b70bd0dabc2e7ef5d9e9e0c97819c387572",
"artifact_hash": "e6956f82a1df5857f8fbab0a... | true | true | null |
python_to_fr_plaincode | import json
import logging
import os
import inspect
import urllib
import urllib.request
from urllib.error import HTTPError
# logger
logger = logging.getLogger()
logger_level = logging.getLevelName(os.environ['LOGGER_LEVEL'])
logger.setLevel(logger_level)
# validate access
def validate_access(event, context):
logg... | Charger json.
Charger logging.
Charger os.
Charger inspect.
Charger urllib.
Charger urllib.request.
Charger HTTPError depuis urllib.error.
# logger
Affecter logger à logging point de getLogger sans arguments.
Affecter logger_level à logging point de getLevelName avec élément avec clé "LOGGER_LEVEL" de os point de envir... | python | fr | run_002_20260417_060406 | 112 | {
"max_stars_repo_path": "aws-regions.py",
"max_stars_repo_name": "groorj/cloud-regions",
"max_stars_count": 0,
"id": "199",
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"normalized_source_hash": "96529058bc82e7a227fa4330126d5769e7cdcb72f3f83beee20d90cd51148866",
"source_ast_hash": "adbc355429b86fd9b365453b96a40b70bd0dabc2e7ef5d9e9e0c97819c387572",
"artifact_hash": "e6956f82a1df5857f8fbab0a... | true | true | null |
en_plaincode_to_python | Load json.
Load logging.
Load os.
Load inspect.
Load urllib.
Load urllib.request.
Load HTTPError from urllib.error.
# logger
Set logger to logging dot getLogger with no values.
Set logger_level to logging dot getLevelName with item with key "LOGGER_LEVEL" of os dot environ.
Call logger dot setLevel with logger_level.
#... | import json
import logging
import os
import inspect
import urllib
import urllib.request
from urllib.error import HTTPError
# logger
logger = logging.getLogger()
logger_level = logging.getLevelName(os.environ['LOGGER_LEVEL'])
logger.setLevel(logger_level)
# validate access
def validate_access(event, context):
logg... | en | python | run_002_20260417_060406 | 112 | {
"max_stars_repo_path": "aws-regions.py",
"max_stars_repo_name": "groorj/cloud-regions",
"max_stars_count": 0,
"id": "199",
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "c5c4f568135cd553926f2d63283f3aedb831ec09af417644446a6a4f88464655",
"normalized_source_hash": "96529058bc82e7a227fa4330126d5769e7cdcb72f3f83beee20d90cd51148866",
"source_ast_hash": "adbc355429b86fd9b365453b96a40b70bd0dabc2e7ef5d9e9e0c97819c387572",
"artifact_hash": "e6956f82a1df5857f8fbab0a... | true | true | null |
python_to_en_plaincode | import requests
from allauth.socialaccount.providers.oauth2.views import (
OAuth2Adapter,
OAuth2CallbackView,
OAuth2LoginView,
)
from .provider import DropboxOAuth2Provider
class DropboxOAuth2Adapter(OAuth2Adapter):
provider_id = DropboxOAuth2Provider.id
access_token_url = "https://api.dropbox.c... | Load requests.
Load OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView from allauth.socialaccount.providers.oauth2.views.
Load DropboxOAuth2Provider from the current package.provider.
Define class DropboxOAuth2Adapter inheriting from OAuth2Adapter:
Set provider_id to DropboxOAuth2Provider dot id.
Set access_tok... | python | en | run_002_20260417_060406 | 113 | {
"max_stars_repo_path": "djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py",
"max_stars_repo_name": "DemarcusL/django_wiki_lab",
"max_stars_count": 6342,
"id": "201",
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"sanitize_meta": {... | {
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"normalized_source_hash": "4899872a9e71582aedd7b2023189246f0f0fb39f32e4c18dedea41744c5f9d3f",
"source_ast_hash": "4a9115eeefd2264b5302352c5182dc654a0f91915594bffb3b321fabf26d2b1e",
"artifact_hash": "ffc8550afbf322c21846cac4... | true | true | null |
python_to_es_plaincode | import requests
from allauth.socialaccount.providers.oauth2.views import (
OAuth2Adapter,
OAuth2CallbackView,
OAuth2LoginView,
)
from .provider import DropboxOAuth2Provider
class DropboxOAuth2Adapter(OAuth2Adapter):
provider_id = DropboxOAuth2Provider.id
access_token_url = "https://api.dropbox.c... | Importar requests.
Importar OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView desde allauth.socialaccount.providers.oauth2.views.
Importar DropboxOAuth2Provider desde el paquete actual.provider.
Definir clase DropboxOAuth2Adapter heredando de OAuth2Adapter:
Establecer provider_id como DropboxOAuth2Provider punto i... | python | es | run_002_20260417_060406 | 113 | {
"max_stars_repo_path": "djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py",
"max_stars_repo_name": "DemarcusL/django_wiki_lab",
"max_stars_count": 6342,
"id": "201",
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"sanitize_meta": {... | {
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"normalized_source_hash": "4899872a9e71582aedd7b2023189246f0f0fb39f32e4c18dedea41744c5f9d3f",
"source_ast_hash": "4a9115eeefd2264b5302352c5182dc654a0f91915594bffb3b321fabf26d2b1e",
"artifact_hash": "ffc8550afbf322c21846cac4... | true | true | null |
python_to_fr_plaincode | import requests
from allauth.socialaccount.providers.oauth2.views import (
OAuth2Adapter,
OAuth2CallbackView,
OAuth2LoginView,
)
from .provider import DropboxOAuth2Provider
class DropboxOAuth2Adapter(OAuth2Adapter):
provider_id = DropboxOAuth2Provider.id
access_token_url = "https://api.dropbox.c... | Charger requests.
Charger OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView depuis allauth.socialaccount.providers.oauth2.views.
Charger DropboxOAuth2Provider depuis le paquet actuel.provider.
Définir classe DropboxOAuth2Adapter héritant de OAuth2Adapter:
Affecter provider_id à DropboxOAuth2Provider point de id.
... | python | fr | run_002_20260417_060406 | 113 | {
"max_stars_repo_path": "djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py",
"max_stars_repo_name": "DemarcusL/django_wiki_lab",
"max_stars_count": 6342,
"id": "201",
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"sanitize_meta": {... | {
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"normalized_source_hash": "4899872a9e71582aedd7b2023189246f0f0fb39f32e4c18dedea41744c5f9d3f",
"source_ast_hash": "4a9115eeefd2264b5302352c5182dc654a0f91915594bffb3b321fabf26d2b1e",
"artifact_hash": "ffc8550afbf322c21846cac4... | true | true | null |
en_plaincode_to_python | Load requests.
Load OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView from allauth.socialaccount.providers.oauth2.views.
Load DropboxOAuth2Provider from the current package.provider.
Define class DropboxOAuth2Adapter inheriting from OAuth2Adapter:
Set provider_id to DropboxOAuth2Provider dot id.
Set access_tok... | import requests
from allauth.socialaccount.providers.oauth2.views import (
OAuth2Adapter,
OAuth2CallbackView,
OAuth2LoginView,
)
from .provider import DropboxOAuth2Provider
class DropboxOAuth2Adapter(OAuth2Adapter):
provider_id = DropboxOAuth2Provider.id
access_token_url = "https://api.dropbox.c... | en | python | run_002_20260417_060406 | 113 | {
"max_stars_repo_path": "djangox/lib/python3.8/site-packages/allauth/socialaccount/providers/dropbox/views.py",
"max_stars_repo_name": "DemarcusL/django_wiki_lab",
"max_stars_count": 6342,
"id": "201",
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"sanitize_meta": {... | {
"raw_source_hash": "3057c187858ae57fdca1de8f78a59b26874fabad42e67d1af349ef8c09973def",
"normalized_source_hash": "4899872a9e71582aedd7b2023189246f0f0fb39f32e4c18dedea41744c5f9d3f",
"source_ast_hash": "4a9115eeefd2264b5302352c5182dc654a0f91915594bffb3b321fabf26d2b1e",
"artifact_hash": "ffc8550afbf322c21846cac4... | true | true | null |
python_to_en_plaincode | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
"""See https://www.sphinx-doc.org/en/master/usage/configuration.html"""
from typing import Sequence
import os
import sys
# region Path setup
sys.path.insert(0, os.path.abspath('..'))
# endregion
# region Project information
project = 'Upk... | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
Evaluate "See https://www.sphinx-doc.org/en/master/usage/configuration.html".
Load Sequence from typing.
Load os.
Load sys.
# region Path setup
Call sys dot path dot insert with 0, (os dot path dot abspath with "..").
# endregion
# region P... | python | en | run_002_20260417_060406 | 114 | {
"max_stars_repo_path": "source/conf.py",
"max_stars_repo_name": "Tatsh/upkeep",
"max_stars_count": 3,
"id": "202",
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 71,
"largest_triple_block"... | {
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"normalized_source_hash": "181d5e0fb7520091bb71f8a7f588fa03ae496b5874d71e36d1b2a2f4943d0bfb",
"source_ast_hash": "b672750f68e8770f31031ad4ac86a8e69a89a0529508f2042b1ea5397dd70c60",
"artifact_hash": "4ecab521dcb74b9d162c79fc... | true | true | null |
python_to_es_plaincode | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
"""See https://www.sphinx-doc.org/en/master/usage/configuration.html"""
from typing import Sequence
import os
import sys
# region Path setup
sys.path.insert(0, os.path.abspath('..'))
# endregion
# region Project information
project = 'Upk... | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
Evaluar "See https://www.sphinx-doc.org/en/master/usage/configuration.html".
Importar Sequence desde typing.
Importar os.
Importar sys.
# region Path setup
Llamar sys punto path punto insert con 0, (os punto path punto abspath con "..").
# ... | python | es | run_002_20260417_060406 | 114 | {
"max_stars_repo_path": "source/conf.py",
"max_stars_repo_name": "Tatsh/upkeep",
"max_stars_count": 3,
"id": "202",
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 71,
"largest_triple_block"... | {
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"normalized_source_hash": "181d5e0fb7520091bb71f8a7f588fa03ae496b5874d71e36d1b2a2f4943d0bfb",
"source_ast_hash": "b672750f68e8770f31031ad4ac86a8e69a89a0529508f2042b1ea5397dd70c60",
"artifact_hash": "4ecab521dcb74b9d162c79fc... | true | true | null |
python_to_fr_plaincode | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
"""See https://www.sphinx-doc.org/en/master/usage/configuration.html"""
from typing import Sequence
import os
import sys
# region Path setup
sys.path.insert(0, os.path.abspath('..'))
# endregion
# region Project information
project = 'Upk... | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
Évaluer "See https://www.sphinx-doc.org/en/master/usage/configuration.html".
Charger Sequence depuis typing.
Charger os.
Charger sys.
# region Path setup
Appeler sys point de path point de insert avec 0, (os point de path point de abspath a... | python | fr | run_002_20260417_060406 | 114 | {
"max_stars_repo_path": "source/conf.py",
"max_stars_repo_name": "Tatsh/upkeep",
"max_stars_count": 3,
"id": "202",
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 71,
"largest_triple_block"... | {
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"normalized_source_hash": "181d5e0fb7520091bb71f8a7f588fa03ae496b5874d71e36d1b2a2f4943d0bfb",
"source_ast_hash": "b672750f68e8770f31031ad4ac86a8e69a89a0529508f2042b1ea5397dd70c60",
"artifact_hash": "4ecab521dcb74b9d162c79fc... | true | true | null |
en_plaincode_to_python | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
Evaluate "See https://www.sphinx-doc.org/en/master/usage/configuration.html".
Load Sequence from typing.
Load os.
Load sys.
# region Path setup
Call sys dot path dot insert with 0, (os dot path dot abspath with "..").
# endregion
# region P... | # SPDX-License-Identifier: MIT
# pylint: disable=redefined-builtin,invalid-name
"""See https://www.sphinx-doc.org/en/master/usage/configuration.html"""
from typing import Sequence
import os
import sys
# region Path setup
sys.path.insert(0, os.path.abspath('..'))
# endregion
# region Project information
project = 'Upk... | en | python | run_002_20260417_060406 | 114 | {
"max_stars_repo_path": "source/conf.py",
"max_stars_repo_name": "Tatsh/upkeep",
"max_stars_count": 3,
"id": "202",
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 71,
"largest_triple_block"... | {
"raw_source_hash": "e409e42078a0237f15d47bc4be665c05282c949d86e17fa896f45ef28d257d13",
"normalized_source_hash": "181d5e0fb7520091bb71f8a7f588fa03ae496b5874d71e36d1b2a2f4943d0bfb",
"source_ast_hash": "b672750f68e8770f31031ad4ac86a8e69a89a0529508f2042b1ea5397dd70c60",
"artifact_hash": "4ecab521dcb74b9d162c79fc... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params from IdM is stored in environment and you can get them by os.environ["paramName"]
import sys, os
# this is needed for importing file winrm_wrapper from parent dir
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
import winrm_wrapper
import codecs... | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params from IdM is stored in environment and you can get them by os.environ["paramName"]
Load sys, os.
# this is needed for importing file winrm_wrapper from parent dir
Call sys dot path dot append with (os dot path dot join with (os dot path dot dirname with __file... | python | en | run_002_20260417_060406 | 115 | {
"max_stars_repo_path": "scripts_python3/exchange/deleteExchange.py",
"max_stars_repo_name": "bcvsolutions/winrm-ad-connector",
"max_stars_count": 0,
"id": "204",
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"normalized_source_hash": "19d1786866b4872f77864c2e2c3f3e87545361b842241d997d5c2615f5c2094f",
"source_ast_hash": "3a89fa22b262cbf1aac4c88295c7075ff88ec7971ca59db8b7cd6253631a7132",
"artifact_hash": "1512ccfb470a7fe3f6a19d27... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params from IdM is stored in environment and you can get them by os.environ["paramName"]
import sys, os
# this is needed for importing file winrm_wrapper from parent dir
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
import winrm_wrapper
import codecs... | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params desde IdM es stored en environment y también you can get them por os.environ["paramName"]
Importar sys, os.
# this es needed for importing file winrm_wrapper desde parent dir
Llamar sys punto path punto append con (os punto path punto join con (os punto path ... | python | es | run_002_20260417_060406 | 115 | {
"max_stars_repo_path": "scripts_python3/exchange/deleteExchange.py",
"max_stars_repo_name": "bcvsolutions/winrm-ad-connector",
"max_stars_count": 0,
"id": "204",
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"normalized_source_hash": "19d1786866b4872f77864c2e2c3f3e87545361b842241d997d5c2615f5c2094f",
"source_ast_hash": "3a89fa22b262cbf1aac4c88295c7075ff88ec7971ca59db8b7cd6253631a7132",
"artifact_hash": "1512ccfb470a7fe3f6a19d27... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params from IdM is stored in environment and you can get them by os.environ["paramName"]
import sys, os
# this is needed for importing file winrm_wrapper from parent dir
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
import winrm_wrapper
import codecs... | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params depuis IdM est stored dans environment et you can get them par os.environ["paramName"]
Charger sys, os.
# this est needed for importing file winrm_wrapper depuis parent dir
Appeler sys point de path point de append avec (os point de path point de join avec (o... | python | fr | run_002_20260417_060406 | 115 | {
"max_stars_repo_path": "scripts_python3/exchange/deleteExchange.py",
"max_stars_repo_name": "bcvsolutions/winrm-ad-connector",
"max_stars_count": 0,
"id": "204",
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"normalized_source_hash": "19d1786866b4872f77864c2e2c3f3e87545361b842241d997d5c2615f5c2094f",
"source_ast_hash": "3a89fa22b262cbf1aac4c88295c7075ff88ec7971ca59db8b7cd6253631a7132",
"artifact_hash": "1512ccfb470a7fe3f6a19d27... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params from IdM is stored in environment and you can get them by os.environ["paramName"]
Load sys, os.
# this is needed for importing file winrm_wrapper from parent dir
Call sys dot path dot append with (os dot path dot join with (os dot path dot dirname with __file... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# All params from IdM is stored in environment and you can get them by os.environ["paramName"]
import sys, os
# this is needed for importing file winrm_wrapper from parent dir
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
import winrm_wrapper
import codecs... | en | python | run_002_20260417_060406 | 115 | {
"max_stars_repo_path": "scripts_python3/exchange/deleteExchange.py",
"max_stars_repo_name": "bcvsolutions/winrm-ad-connector",
"max_stars_count": 0,
"id": "204",
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"sanitize_meta": {
"triple_block_count": 0,
"tota... | {
"raw_source_hash": "22e48c7cae0213677b35ba20eba63377c65ca5c70da8b8ab5330978a24fc75b1",
"normalized_source_hash": "19d1786866b4872f77864c2e2c3f3e87545361b842241d997d5c2615f5c2094f",
"source_ast_hash": "3a89fa22b262cbf1aac4c88295c7075ff88ec7971ca59db8b7cd6253631a7132",
"artifact_hash": "1512ccfb470a7fe3f6a19d27... | true | true | null |
python_to_en_plaincode | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
import unittest
from aenum import Enum, auto
from dace import registry
@registry.make_registry
class ExtensibleClass(object):
pass
class Extension(ExtensibleClass):
pass
@registry.extensible_enum
class ExtensibleEnumeration(Enum):... | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
Load unittest.
Load Enum, auto from aenum.
Load registry from dace.
Apply registry dot make_registry to the following:
Define class ExtensibleClass inheriting from object:
Do nothing.
Define class Extension inheriting from Extensibl... | python | en | run_002_20260417_060406 | 116 | {
"max_stars_repo_path": "tests/registry_test.py",
"max_stars_repo_name": "Walon1998/dace",
"max_stars_count": 1,
"id": "205",
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"normalized_source_hash": "fa49bb43210cc94f81426d4e665fe463479b65954a63d183b530461e34e5c738",
"source_ast_hash": "7f9f3113b16a172510f096dac0db83ca58133452e46e200cc3ca0061c9209440",
"artifact_hash": "f79fe55b564089d4db6ca8ea... | true | true | null |
python_to_es_plaincode | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
import unittest
from aenum import Enum, auto
from dace import registry
@registry.make_registry
class ExtensibleClass(object):
pass
class Extension(ExtensibleClass):
pass
@registry.extensible_enum
class ExtensibleEnumeration(Enum):... | # Copyright 2019-2021 ETH Zurich y también the DaCe authors. All rights reserved.
Importar unittest.
Importar Enum, auto desde aenum.
Importar registry desde dace.
Aplicar registry punto make_registry a lo siguiente:
Definir clase ExtensibleClass heredando de object:
No hacer nada.
Definir clase Extension h... | python | es | run_002_20260417_060406 | 116 | {
"max_stars_repo_path": "tests/registry_test.py",
"max_stars_repo_name": "Walon1998/dace",
"max_stars_count": 1,
"id": "205",
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"normalized_source_hash": "fa49bb43210cc94f81426d4e665fe463479b65954a63d183b530461e34e5c738",
"source_ast_hash": "7f9f3113b16a172510f096dac0db83ca58133452e46e200cc3ca0061c9209440",
"artifact_hash": "f79fe55b564089d4db6ca8ea... | true | true | null |
python_to_fr_plaincode | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
import unittest
from aenum import Enum, auto
from dace import registry
@registry.make_registry
class ExtensibleClass(object):
pass
class Extension(ExtensibleClass):
pass
@registry.extensible_enum
class ExtensibleEnumeration(Enum):... | # Copyright 2019-2021 ETH Zurich et the DaCe authors. All rights reserved.
Charger unittest.
Charger Enum, auto depuis aenum.
Charger registry depuis dace.
Appliquer registry point de make_registry à ce qui suit:
Définir classe ExtensibleClass héritant de object:
Ne rien faire.
Définir classe Extension héri... | python | fr | run_002_20260417_060406 | 116 | {
"max_stars_repo_path": "tests/registry_test.py",
"max_stars_repo_name": "Walon1998/dace",
"max_stars_count": 1,
"id": "205",
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"normalized_source_hash": "fa49bb43210cc94f81426d4e665fe463479b65954a63d183b530461e34e5c738",
"source_ast_hash": "7f9f3113b16a172510f096dac0db83ca58133452e46e200cc3ca0061c9209440",
"artifact_hash": "f79fe55b564089d4db6ca8ea... | true | true | null |
en_plaincode_to_python | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
Load unittest.
Load Enum, auto from aenum.
Load registry from dace.
Apply registry dot make_registry to the following:
Define class ExtensibleClass inheriting from object:
Do nothing.
Define class Extension inheriting from Extensibl... | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
import unittest
from aenum import Enum, auto
from dace import registry
@registry.make_registry
class ExtensibleClass(object):
pass
class Extension(ExtensibleClass):
pass
@registry.extensible_enum
class ExtensibleEnumeration(Enum):... | en | python | run_002_20260417_060406 | 116 | {
"max_stars_repo_path": "tests/registry_test.py",
"max_stars_repo_name": "Walon1998/dace",
"max_stars_count": 1,
"id": "205",
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_trip... | {
"raw_source_hash": "0f3b0c915abc2d8c9b514f9f2599e8003fe18acdf61b5701a64678e32a47e999",
"normalized_source_hash": "fa49bb43210cc94f81426d4e665fe463479b65954a63d183b530461e34e5c738",
"source_ast_hash": "7f9f3113b16a172510f096dac0db83ca58133452e46e200cc3ca0061c9209440",
"artifact_hash": "f79fe55b564089d4db6ca8ea... | true | true | null |
python_to_en_plaincode | import asyncio
import logging
from json import loads
import pytest
from aiologstash2 import create_tcp_handler
logging.getLogger().setLevel(logging.DEBUG)
class FakeTcpServer:
def __init__(self):
self.data = bytearray()
self.server = None
self.futs = set()
async def start(self):
... | Load asyncio.
Load logging.
Load loads from json.
Load pytest.
Load create_tcp_handler from aiologstash2.
Call (logging dot getLogger with no values) dot setLevel with logging dot DEBUG.
Define class FakeTcpServer:
Define method __init__ with parameter self:
Set self dot data to bytearray with no values.
... | python | en | run_002_20260417_060406 | 117 | {
"max_stars_repo_path": "tests/conftest.py",
"max_stars_repo_name": "aviramha/aiologstash2",
"max_stars_count": 1,
"id": "206",
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"normalized_source_hash": "5402cde8037ad2e19642078fc45c34304317cb5b70093b22fd33cff6c9cc2d5c",
"source_ast_hash": "9bf3893d9ff3f94a9a6588e7c606c49f958abd74ec472da217e275a1cf5fae9b",
"artifact_hash": "c8d984caa6f27eb22f1174e9... | true | true | null |
python_to_es_plaincode | import asyncio
import logging
from json import loads
import pytest
from aiologstash2 import create_tcp_handler
logging.getLogger().setLevel(logging.DEBUG)
class FakeTcpServer:
def __init__(self):
self.data = bytearray()
self.server = None
self.futs = set()
async def start(self):
... | Importar asyncio.
Importar logging.
Importar loads desde json.
Importar pytest.
Importar create_tcp_handler desde aiologstash2.
Llamar (logging punto getLogger sin argumentos) punto setLevel con logging punto DEBUG.
Definir clase FakeTcpServer:
Definir método __init__ con parámetro self:
Establecer self pun... | python | es | run_002_20260417_060406 | 117 | {
"max_stars_repo_path": "tests/conftest.py",
"max_stars_repo_name": "aviramha/aiologstash2",
"max_stars_count": 1,
"id": "206",
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"normalized_source_hash": "5402cde8037ad2e19642078fc45c34304317cb5b70093b22fd33cff6c9cc2d5c",
"source_ast_hash": "9bf3893d9ff3f94a9a6588e7c606c49f958abd74ec472da217e275a1cf5fae9b",
"artifact_hash": "c8d984caa6f27eb22f1174e9... | true | true | null |
python_to_fr_plaincode | import asyncio
import logging
from json import loads
import pytest
from aiologstash2 import create_tcp_handler
logging.getLogger().setLevel(logging.DEBUG)
class FakeTcpServer:
def __init__(self):
self.data = bytearray()
self.server = None
self.futs = set()
async def start(self):
... | Charger asyncio.
Charger logging.
Charger loads depuis json.
Charger pytest.
Charger create_tcp_handler depuis aiologstash2.
Appeler (logging point de getLogger sans arguments) point de setLevel avec logging point de DEBUG.
Définir classe FakeTcpServer:
Définir méthode __init__ avec paramètre self:
Affecter... | python | fr | run_002_20260417_060406 | 117 | {
"max_stars_repo_path": "tests/conftest.py",
"max_stars_repo_name": "aviramha/aiologstash2",
"max_stars_count": 1,
"id": "206",
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"normalized_source_hash": "5402cde8037ad2e19642078fc45c34304317cb5b70093b22fd33cff6c9cc2d5c",
"source_ast_hash": "9bf3893d9ff3f94a9a6588e7c606c49f958abd74ec472da217e275a1cf5fae9b",
"artifact_hash": "c8d984caa6f27eb22f1174e9... | true | true | null |
en_plaincode_to_python | Load asyncio.
Load logging.
Load loads from json.
Load pytest.
Load create_tcp_handler from aiologstash2.
Call (logging dot getLogger with no values) dot setLevel with logging dot DEBUG.
Define class FakeTcpServer:
Define method __init__ with parameter self:
Set self dot data to bytearray with no values.
... | import asyncio
import logging
from json import loads
import pytest
from aiologstash2 import create_tcp_handler
logging.getLogger().setLevel(logging.DEBUG)
class FakeTcpServer:
def __init__(self):
self.data = bytearray()
self.server = None
self.futs = set()
async def start(self):
... | en | python | run_002_20260417_060406 | 117 | {
"max_stars_repo_path": "tests/conftest.py",
"max_stars_repo_name": "aviramha/aiologstash2",
"max_stars_count": 1,
"id": "206",
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_tr... | {
"raw_source_hash": "afbdef486f2f06bd74966eb691349e7759048765129409f8b248c534734108a0",
"normalized_source_hash": "5402cde8037ad2e19642078fc45c34304317cb5b70093b22fd33cff6c9cc2d5c",
"source_ast_hash": "9bf3893d9ff3f94a9a6588e7c606c49f958abd74ec472da217e275a1cf5fae9b",
"artifact_hash": "c8d984caa6f27eb22f1174e9... | true | true | null |
python_to_en_plaincode | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | python | en | run_002_20260417_060406 | 118 | {
"max_stars_repo_path": "subject/tests/functional/test_glance_replicator.py",
"max_stars_repo_name": "laoyigrace/subject",
"max_stars_count": 0,
"id": "210",
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"sanitize_meta": {
"triple_block_count": 2,
"total_tri... | {
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"normalized_source_hash": "bc2c221bb73c4ceb6c9dd1d82b3f3d7539a43f21fd5f7e6999e76f459dd09f6d",
"source_ast_hash": "a6fa9bcb4b5bec61d579e10da8d3767d2802731d28004045fd3229d5f9980a17",
"artifact_hash": "4e57d556be50b57a1109ff6c... | true | true | null |
python_to_es_plaincode | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# no use this file except en compliance con the License. You may obtain
# a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required por applicable law o agreed como en writing, software
# d... | python | es | run_002_20260417_060406 | 118 | {
"max_stars_repo_path": "subject/tests/functional/test_glance_replicator.py",
"max_stars_repo_name": "laoyigrace/subject",
"max_stars_count": 0,
"id": "210",
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"sanitize_meta": {
"triple_block_count": 2,
"total_tri... | {
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"normalized_source_hash": "bc2c221bb73c4ceb6c9dd1d82b3f3d7539a43f21fd5f7e6999e76f459dd09f6d",
"source_ast_hash": "a6fa9bcb4b5bec61d579e10da8d3767d2802731d28004045fd3229d5f9980a17",
"artifact_hash": "4e57d556be50b57a1109ff6c... | true | true | null |
python_to_fr_plaincode | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# non use this file except dans compliance avec the License. You may obtain
# a copy de the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required par applicable law ou agreed à dans writing, software
# ... | python | fr | run_002_20260417_060406 | 118 | {
"max_stars_repo_path": "subject/tests/functional/test_glance_replicator.py",
"max_stars_repo_name": "laoyigrace/subject",
"max_stars_count": 0,
"id": "210",
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"sanitize_meta": {
"triple_block_count": 2,
"total_tri... | {
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"normalized_source_hash": "bc2c221bb73c4ceb6c9dd1d82b3f3d7539a43f21fd5f7e6999e76f459dd09f6d",
"source_ast_hash": "a6fa9bcb4b5bec61d579e10da8d3767d2802731d28004045fd3229d5f9980a17",
"artifact_hash": "4e57d556be50b57a1109ff6c... | true | true | null |
en_plaincode_to_python | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | en | python | run_002_20260417_060406 | 118 | {
"max_stars_repo_path": "subject/tests/functional/test_glance_replicator.py",
"max_stars_repo_name": "laoyigrace/subject",
"max_stars_count": 0,
"id": "210",
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"sanitize_meta": {
"triple_block_count": 2,
"total_tri... | {
"raw_source_hash": "73147c5349f9fca9eb98c3466cf438c9fda3fa5a60420c94193ddc973da8aaad",
"normalized_source_hash": "bc2c221bb73c4ceb6c9dd1d82b3f3d7539a43f21fd5f7e6999e76f459dd09f6d",
"source_ast_hash": "a6fa9bcb4b5bec61d579e10da8d3767d2802731d28004045fd3229d5f9980a17",
"artifact_hash": "4e57d556be50b57a1109ff6c... | true | true | null |
python_to_en_plaincode | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province and state
# specific sets of marketmarketholidayss on the fly. It aims to make determining whether a
# specific date is a holiday as fast and flexible as possible.
#
# Author: MichealOmojola <<EMAIL>>
# Websi... | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province and state
# specific sets of marketmarketholidayss on the fly. It aims to make determining whether a
# specific date is a holiday as fast and flexible as possible.
#
# Author: MichealOmojola <<EMAIL>>
# Websi... | python | en | run_002_20260417_060406 | 119 | {
"max_stars_repo_path": "test/countries/test_united_states.py",
"max_stars_repo_name": "OmoMicheal/marketanalysis",
"max_stars_count": 2,
"id": "211",
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_cha... | {
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"normalized_source_hash": "cfce3f485b540557500df803004690860b1b7b1c9ec37a6f30af80e405311a73",
"source_ast_hash": "c950b16e5b6f3486181b586124f189aee88942e06d6c519b85958756a080bca5",
"artifact_hash": "512dbb854b0515f9c150fb5e... | true | true | null |
python_to_es_plaincode | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province and state
# specific sets of marketmarketholidayss on the fly. It aims to make determining whether a
# specific date is a holiday as fast and flexible as possible.
#
# Author: MichealOmojola <<EMAIL>>
# Websi... | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province y también state
# specific sets de marketmarketholidayss on the fly. It aims como make determining whether a
# specific date es a holiday as fast y también flexible as possible.
#
# Author: MichealOmojola <<EM... | python | es | run_002_20260417_060406 | 119 | {
"max_stars_repo_path": "test/countries/test_united_states.py",
"max_stars_repo_name": "OmoMicheal/marketanalysis",
"max_stars_count": 2,
"id": "211",
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_cha... | {
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"normalized_source_hash": "cfce3f485b540557500df803004690860b1b7b1c9ec37a6f30af80e405311a73",
"source_ast_hash": "c950b16e5b6f3486181b586124f189aee88942e06d6c519b85958756a080bca5",
"artifact_hash": "512dbb854b0515f9c150fb5e... | true | true | null |
python_to_fr_plaincode | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province and state
# specific sets of marketmarketholidayss on the fly. It aims to make determining whether a
# specific date is a holiday as fast and flexible as possible.
#
# Author: MichealOmojola <<EMAIL>>
# Websi... | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province et state
# specific sets de marketmarketholidayss on the fly. It aims à make determining whether a
# specific date est a holiday as fast et flexible as possible.
#
# Author: MichealOmojola <<EMAIL>>
# Website... | python | fr | run_002_20260417_060406 | 119 | {
"max_stars_repo_path": "test/countries/test_united_states.py",
"max_stars_repo_name": "OmoMicheal/marketanalysis",
"max_stars_count": 2,
"id": "211",
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_cha... | {
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"normalized_source_hash": "cfce3f485b540557500df803004690860b1b7b1c9ec37a6f30af80e405311a73",
"source_ast_hash": "c950b16e5b6f3486181b586124f189aee88942e06d6c519b85958756a080bca5",
"artifact_hash": "512dbb854b0515f9c150fb5e... | true | true | null |
en_plaincode_to_python | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province and state
# specific sets of marketmarketholidayss on the fly. It aims to make determining whether a
# specific date is a holiday as fast and flexible as possible.
#
# Author: MichealOmojola <<EMAIL>>
# Websi... | # marketanalysis
# ----------------
# A fast, efficient Python library for generating country, province and state
# specific sets of marketmarketholidayss on the fly. It aims to make determining whether a
# specific date is a holiday as fast and flexible as possible.
#
# Author: MichealOmojola <<EMAIL>>
# Websi... | en | python | run_002_20260417_060406 | 119 | {
"max_stars_repo_path": "test/countries/test_united_states.py",
"max_stars_repo_name": "OmoMicheal/marketanalysis",
"max_stars_count": 2,
"id": "211",
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_cha... | {
"raw_source_hash": "62325b951a7e6d269ba52ac61c5b652d7df089ce3bab1fc025f30837fbccb23e",
"normalized_source_hash": "cfce3f485b540557500df803004690860b1b7b1c9ec37a6f30af80e405311a73",
"source_ast_hash": "c950b16e5b6f3486181b586124f189aee88942e06d6c519b85958756a080bca5",
"artifact_hash": "512dbb854b0515f9c150fb5e... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['rosmsg'],
package_dir={'': 'src'},
scripts=['scripts/rosmsg', 'scripts/rosmsg-proto', 'scripts/rossrv'],
requires=['genmsg', 'rosbag', 'roslib', ... | # !/usr/bin/env python
Load setup from distutils.core.
Load generate_distutils_setup from catkin_pkg.python_setup.
Set d to generate_distutils_setup with packages set to the list ["rosmsg"], package_dir set to the dictionary {"": "src"}, scripts set to the list ["scripts/rosmsg", "scripts/rosmsg-proto", "scripts/rossrv... | python | en | run_002_20260417_060406 | 120 | {
"max_stars_repo_path": "src/ros_comm/rosmsg/setup.py",
"max_stars_repo_name": "jungleni/ros_code_reading",
"max_stars_count": 742,
"id": "212",
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"normalized_source_hash": "addcb5b9803aee7a4d6c4eb21a613f31a719aedc054da5323a508d4ddd5f1797",
"source_ast_hash": "b88d401bf645c28652b7c74d46d74f3543d024a3b722092098873c5982c351c5",
"artifact_hash": "ed20048a4ea9dfb4807e4f7a... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['rosmsg'],
package_dir={'': 'src'},
scripts=['scripts/rosmsg', 'scripts/rosmsg-proto', 'scripts/rossrv'],
requires=['genmsg', 'rosbag', 'roslib', ... | # !/usr/bin/env python
Importar setup desde distutils.core.
Importar generate_distutils_setup desde catkin_pkg.python_setup.
Establecer d como generate_distutils_setup con packages establecido a la lista ["rosmsg"], package_dir establecido a el diccionario {"": "src"}, scripts establecido a la lista ["scripts/rosmsg", ... | python | es | run_002_20260417_060406 | 120 | {
"max_stars_repo_path": "src/ros_comm/rosmsg/setup.py",
"max_stars_repo_name": "jungleni/ros_code_reading",
"max_stars_count": 742,
"id": "212",
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"normalized_source_hash": "addcb5b9803aee7a4d6c4eb21a613f31a719aedc054da5323a508d4ddd5f1797",
"source_ast_hash": "b88d401bf645c28652b7c74d46d74f3543d024a3b722092098873c5982c351c5",
"artifact_hash": "ed20048a4ea9dfb4807e4f7a... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['rosmsg'],
package_dir={'': 'src'},
scripts=['scripts/rosmsg', 'scripts/rosmsg-proto', 'scripts/rossrv'],
requires=['genmsg', 'rosbag', 'roslib', ... | # !/usr/bin/env python
Charger setup depuis distutils.core.
Charger generate_distutils_setup depuis catkin_pkg.python_setup.
Affecter d à generate_distutils_setup avec packages défini à la liste ["rosmsg"], package_dir défini à le dictionnaire {"": "src"}, scripts défini à la liste ["scripts/rosmsg", "scripts/rosmsg-pr... | python | fr | run_002_20260417_060406 | 120 | {
"max_stars_repo_path": "src/ros_comm/rosmsg/setup.py",
"max_stars_repo_name": "jungleni/ros_code_reading",
"max_stars_count": 742,
"id": "212",
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"normalized_source_hash": "addcb5b9803aee7a4d6c4eb21a613f31a719aedc054da5323a508d4ddd5f1797",
"source_ast_hash": "b88d401bf645c28652b7c74d46d74f3543d024a3b722092098873c5982c351c5",
"artifact_hash": "ed20048a4ea9dfb4807e4f7a... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python
Load setup from distutils.core.
Load generate_distutils_setup from catkin_pkg.python_setup.
Set d to generate_distutils_setup with packages set to the list ["rosmsg"], package_dir set to the dictionary {"": "src"}, scripts set to the list ["scripts/rosmsg", "scripts/rosmsg-proto", "scripts/rossrv... | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['rosmsg'],
package_dir={'': 'src'},
scripts=['scripts/rosmsg', 'scripts/rosmsg-proto', 'scripts/rossrv'],
requires=['genmsg', 'rosbag', 'roslib', ... | en | python | run_002_20260417_060406 | 120 | {
"max_stars_repo_path": "src/ros_comm/rosmsg/setup.py",
"max_stars_repo_name": "jungleni/ros_code_reading",
"max_stars_count": 742,
"id": "212",
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0... | {
"raw_source_hash": "9b0c466e01cf22a87c70145da4e13cf11d67bb54cee529a114c10d52c59b2adb",
"normalized_source_hash": "addcb5b9803aee7a4d6c4eb21a613f31a719aedc054da5323a508d4ddd5f1797",
"source_ast_hash": "b88d401bf645c28652b7c74d46d74f3543d024a3b722092098873c5982c351c5",
"artifact_hash": "ed20048a4ea9dfb4807e4f7a... | true | true | null |
python_to_en_plaincode | def hello_world(request):
request_json = request.get_json()
name = 'World'
if request_json and 'name' in request_json:
name = request_json['name']
headers = {
'Access-Control-Allow-Origin': 'https://furikuri.net',
'Access-Control-Allow-Methods': 'GET, POST',
'Access-Contr... | Define function hello_world with parameter request:
Set request_json to request dot get_json with no values.
Set name to "World".
If request_json and "name" is in request_json:
Set name to item with key "name" of request_json.
Set headers to the dictionary {
"Access-Control-Allow-Origin": "h... | python | en | run_002_20260417_060406 | 121 | {
"max_stars_repo_path": "gcp-python-fn/main.py",
"max_stars_repo_name": "FuriKuri/faas-playground",
"max_stars_count": 1,
"id": "216",
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"normalized_source_hash": "5739c494df7ac0ae7c6dca9c84279d366f8d73aa4be0973d90edbfeedece04f1",
"source_ast_hash": "a04f1b3dee98007fbc09795b0b269ce439b1207659cc1820f8da9e0cb502af99",
"artifact_hash": "9139e7384bbff7fa44a85b8d... | true | true | null |
python_to_es_plaincode | def hello_world(request):
request_json = request.get_json()
name = 'World'
if request_json and 'name' in request_json:
name = request_json['name']
headers = {
'Access-Control-Allow-Origin': 'https://furikuri.net',
'Access-Control-Allow-Methods': 'GET, POST',
'Access-Contr... | Definir función hello_world con parámetro request:
Establecer request_json como request punto get_json sin argumentos.
Establecer name como "World".
Si request_json y también "name" está en request_json:
Establecer name como elemento con clave "name" de request_json.
Establecer headers como el d... | python | es | run_002_20260417_060406 | 121 | {
"max_stars_repo_path": "gcp-python-fn/main.py",
"max_stars_repo_name": "FuriKuri/faas-playground",
"max_stars_count": 1,
"id": "216",
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"normalized_source_hash": "5739c494df7ac0ae7c6dca9c84279d366f8d73aa4be0973d90edbfeedece04f1",
"source_ast_hash": "a04f1b3dee98007fbc09795b0b269ce439b1207659cc1820f8da9e0cb502af99",
"artifact_hash": "9139e7384bbff7fa44a85b8d... | true | true | null |
python_to_fr_plaincode | def hello_world(request):
request_json = request.get_json()
name = 'World'
if request_json and 'name' in request_json:
name = request_json['name']
headers = {
'Access-Control-Allow-Origin': 'https://furikuri.net',
'Access-Control-Allow-Methods': 'GET, POST',
'Access-Contr... | Définir fonction hello_world avec paramètre request:
Affecter request_json à request point de get_json sans arguments.
Affecter name à "World".
Si request_json et "name" est dans request_json:
Affecter name à élément avec clé "name" de request_json.
Affecter headers à le dictionnaire {
"Acce... | python | fr | run_002_20260417_060406 | 121 | {
"max_stars_repo_path": "gcp-python-fn/main.py",
"max_stars_repo_name": "FuriKuri/faas-playground",
"max_stars_count": 1,
"id": "216",
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"normalized_source_hash": "5739c494df7ac0ae7c6dca9c84279d366f8d73aa4be0973d90edbfeedece04f1",
"source_ast_hash": "a04f1b3dee98007fbc09795b0b269ce439b1207659cc1820f8da9e0cb502af99",
"artifact_hash": "9139e7384bbff7fa44a85b8d... | true | true | null |
en_plaincode_to_python | Define function hello_world with parameter request:
Set request_json to request dot get_json with no values.
Set name to "World".
If request_json and "name" is in request_json:
Set name to item with key "name" of request_json.
Set headers to the dictionary {
"Access-Control-Allow-Origin": "h... | def hello_world(request):
request_json = request.get_json()
name = 'World'
if request_json and 'name' in request_json:
name = request_json['name']
headers = {
'Access-Control-Allow-Origin': 'https://furikuri.net',
'Access-Control-Allow-Methods': 'GET, POST',
'Access-Contr... | en | python | run_002_20260417_060406 | 121 | {
"max_stars_repo_path": "gcp-python-fn/main.py",
"max_stars_repo_name": "FuriKuri/faas-playground",
"max_stars_count": 1,
"id": "216",
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "e578e28d7ac985927b8c9a1da0b008d45f1f23ccf43f279446130d781cddd6dd",
"normalized_source_hash": "5739c494df7ac0ae7c6dca9c84279d366f8d73aa4be0973d90edbfeedece04f1",
"source_ast_hash": "a04f1b3dee98007fbc09795b0b269ce439b1207659cc1820f8da9e0cb502af99",
"artifact_hash": "9139e7384bbff7fa44a85b8d... | true | true | null |
python_to_en_plaincode | import os
from tonclient.client import TonClient
from tonclient.types import Abi, CallSet, Signer, ClientConfig, \
ParamsOfEncodeMessage, ParamsOfProcessMessage
BASE_DIR = os.path.dirname(__file__)
SAMPLES_DIR = os.path.join(BASE_DIR, 'samples')
GIVER_ADDRESS = '0:f5c2510bfe407363cb1db6b9d7bc1184a05f8b343aeaa8281... | Load os.
Load TonClient from tonclient.client.
Load Abi, CallSet, Signer, ClientConfig, ParamsOfEncodeMessage, ParamsOfProcessMessage from tonclient.types.
Set BASE_DIR to os dot path dot dirname with __file__.
Set SAMPLES_DIR to os dot path dot join with BASE_DIR and "samples".
Set GIVER_ADDRESS to "0:f5c2510bfe407363... | python | en | run_002_20260417_060406 | 122 | {
"max_stars_repo_path": "tonclient/test/helpers.py",
"max_stars_repo_name": "move-ton/ton-client-py",
"max_stars_count": 28,
"id": "217",
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"normalized_source_hash": "2ec45b4074725b873695b85ccba617c8794c7d605d07096327029bd3a9842e6a",
"source_ast_hash": "d0a983fb817a537a536b68fd4bb38bc956ea0784c5dfa7ccc0d3f2dfdcb25d7e",
"artifact_hash": "3bfcd2bb88c8a93e515b8201... | true | true | null |
python_to_es_plaincode | import os
from tonclient.client import TonClient
from tonclient.types import Abi, CallSet, Signer, ClientConfig, \
ParamsOfEncodeMessage, ParamsOfProcessMessage
BASE_DIR = os.path.dirname(__file__)
SAMPLES_DIR = os.path.join(BASE_DIR, 'samples')
GIVER_ADDRESS = '0:f5c2510bfe407363cb1db6b9d7bc1184a05f8b343aeaa8281... | Importar os.
Importar TonClient desde tonclient.client.
Importar Abi, CallSet, Signer, ClientConfig, ParamsOfEncodeMessage, ParamsOfProcessMessage desde tonclient.types.
Establecer BASE_DIR como os punto path punto dirname con __file__.
Establecer SAMPLES_DIR como os punto path punto join con BASE_DIR y también "sample... | python | es | run_002_20260417_060406 | 122 | {
"max_stars_repo_path": "tonclient/test/helpers.py",
"max_stars_repo_name": "move-ton/ton-client-py",
"max_stars_count": 28,
"id": "217",
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"normalized_source_hash": "2ec45b4074725b873695b85ccba617c8794c7d605d07096327029bd3a9842e6a",
"source_ast_hash": "d0a983fb817a537a536b68fd4bb38bc956ea0784c5dfa7ccc0d3f2dfdcb25d7e",
"artifact_hash": "3bfcd2bb88c8a93e515b8201... | true | true | null |
python_to_fr_plaincode | import os
from tonclient.client import TonClient
from tonclient.types import Abi, CallSet, Signer, ClientConfig, \
ParamsOfEncodeMessage, ParamsOfProcessMessage
BASE_DIR = os.path.dirname(__file__)
SAMPLES_DIR = os.path.join(BASE_DIR, 'samples')
GIVER_ADDRESS = '0:f5c2510bfe407363cb1db6b9d7bc1184a05f8b343aeaa8281... | Charger os.
Charger TonClient depuis tonclient.client.
Charger Abi, CallSet, Signer, ClientConfig, ParamsOfEncodeMessage, ParamsOfProcessMessage depuis tonclient.types.
Affecter BASE_DIR à os point de path point de dirname avec __file__.
Affecter SAMPLES_DIR à os point de path point de join avec BASE_DIR et "samples".
... | python | fr | run_002_20260417_060406 | 122 | {
"max_stars_repo_path": "tonclient/test/helpers.py",
"max_stars_repo_name": "move-ton/ton-client-py",
"max_stars_count": 28,
"id": "217",
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"normalized_source_hash": "2ec45b4074725b873695b85ccba617c8794c7d605d07096327029bd3a9842e6a",
"source_ast_hash": "d0a983fb817a537a536b68fd4bb38bc956ea0784c5dfa7ccc0d3f2dfdcb25d7e",
"artifact_hash": "3bfcd2bb88c8a93e515b8201... | true | true | null |
en_plaincode_to_python | Load os.
Load TonClient from tonclient.client.
Load Abi, CallSet, Signer, ClientConfig, ParamsOfEncodeMessage, ParamsOfProcessMessage from tonclient.types.
Set BASE_DIR to os dot path dot dirname with __file__.
Set SAMPLES_DIR to os dot path dot join with BASE_DIR and "samples".
Set GIVER_ADDRESS to "0:f5c2510bfe407363... | import os
from tonclient.client import TonClient
from tonclient.types import Abi, CallSet, Signer, ClientConfig, \
ParamsOfEncodeMessage, ParamsOfProcessMessage
BASE_DIR = os.path.dirname(__file__)
SAMPLES_DIR = os.path.join(BASE_DIR, 'samples')
GIVER_ADDRESS = '0:f5c2510bfe407363cb1db6b9d7bc1184a05f8b343aeaa8281... | en | python | run_002_20260417_060406 | 122 | {
"max_stars_repo_path": "tonclient/test/helpers.py",
"max_stars_repo_name": "move-ton/ton-client-py",
"max_stars_count": 28,
"id": "217",
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"... | {
"raw_source_hash": "9c5082535b4c0cb7ca252e34efad4eff10d5097aebe9567d1a57c788f9bbaf84",
"normalized_source_hash": "2ec45b4074725b873695b85ccba617c8794c7d605d07096327029bd3a9842e6a",
"source_ast_hash": "d0a983fb817a537a536b68fd4bb38bc956ea0784c5dfa7ccc0d3f2dfdcb25d7e",
"artifact_hash": "3bfcd2bb88c8a93e515b8201... | true | true | null |
python_to_en_plaincode | from kajiki import i18n
from flask import request
from flask_kajiki import render_template
# N. B. settting i18n.gettext would affect tests from all modules,
# so we test for request path that only functions from this module could set
def gettext(s):
if request.path == '/test_i18n':
return s.upper()
r... | Load i18n from kajiki.
Load request from flask.
Load render_template from flask_kajiki.
# N. B. settting i18n.gettext would affect tests from all modules,
# so we test for request path that only functions from this module could set
Define function gettext with parameter s:
If request dot path equals "/test_i18n":
... | python | en | run_002_20260417_060406 | 123 | {
"max_stars_repo_path": "tests/test_i18n.py",
"max_stars_repo_name": "vthriller/flask-kajiki",
"max_stars_count": 0,
"id": "218",
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest... | {
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"normalized_source_hash": "0407a2173f24c907d704ee8727ee06ecce371d43dd178e30c80ebc007742f806",
"source_ast_hash": "b4d67b2cfde1266da406f70f1ccabd75b9f8fd619d5b92b494a471fbff36ce02",
"artifact_hash": "bca9489c3ecaac6ed6f82051... | true | true | null |
python_to_es_plaincode | from kajiki import i18n
from flask import request
from flask_kajiki import render_template
# N. B. settting i18n.gettext would affect tests from all modules,
# so we test for request path that only functions from this module could set
def gettext(s):
if request.path == '/test_i18n':
return s.upper()
r... | Importar i18n desde kajiki.
Importar request desde flask.
Importar render_template desde flask_kajiki.
# N. B. settting i18n.gettext would affect tests desde all modules,
# so we test for request path that only functions desde this module could set
Definir función gettext con parámetro s:
Si request punto path es i... | python | es | run_002_20260417_060406 | 123 | {
"max_stars_repo_path": "tests/test_i18n.py",
"max_stars_repo_name": "vthriller/flask-kajiki",
"max_stars_count": 0,
"id": "218",
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest... | {
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"normalized_source_hash": "0407a2173f24c907d704ee8727ee06ecce371d43dd178e30c80ebc007742f806",
"source_ast_hash": "b4d67b2cfde1266da406f70f1ccabd75b9f8fd619d5b92b494a471fbff36ce02",
"artifact_hash": "bca9489c3ecaac6ed6f82051... | true | true | null |
python_to_fr_plaincode | from kajiki import i18n
from flask import request
from flask_kajiki import render_template
# N. B. settting i18n.gettext would affect tests from all modules,
# so we test for request path that only functions from this module could set
def gettext(s):
if request.path == '/test_i18n':
return s.upper()
r... | Charger i18n depuis kajiki.
Charger request depuis flask.
Charger render_template depuis flask_kajiki.
# N. B. settting i18n.gettext would affect tests depuis all modules,
# so we test for request path that only functions depuis this module could set
Définir fonction gettext avec paramètre s:
Si request point de pa... | python | fr | run_002_20260417_060406 | 123 | {
"max_stars_repo_path": "tests/test_i18n.py",
"max_stars_repo_name": "vthriller/flask-kajiki",
"max_stars_count": 0,
"id": "218",
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest... | {
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"normalized_source_hash": "0407a2173f24c907d704ee8727ee06ecce371d43dd178e30c80ebc007742f806",
"source_ast_hash": "b4d67b2cfde1266da406f70f1ccabd75b9f8fd619d5b92b494a471fbff36ce02",
"artifact_hash": "bca9489c3ecaac6ed6f82051... | true | true | null |
en_plaincode_to_python | Load i18n from kajiki.
Load request from flask.
Load render_template from flask_kajiki.
# N. B. settting i18n.gettext would affect tests from all modules,
# so we test for request path that only functions from this module could set
Define function gettext with parameter s:
If request dot path equals "/test_i18n":
... | from kajiki import i18n
from flask import request
from flask_kajiki import render_template
# N. B. settting i18n.gettext would affect tests from all modules,
# so we test for request path that only functions from this module could set
def gettext(s):
if request.path == '/test_i18n':
return s.upper()
r... | en | python | run_002_20260417_060406 | 123 | {
"max_stars_repo_path": "tests/test_i18n.py",
"max_stars_repo_name": "vthriller/flask-kajiki",
"max_stars_count": 0,
"id": "218",
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest... | {
"raw_source_hash": "545ee932e3a8529c96658de94a095a1b8d39ab903ea756c40ee6a139821deeab",
"normalized_source_hash": "0407a2173f24c907d704ee8727ee06ecce371d43dd178e30c80ebc007742f806",
"source_ast_hash": "b4d67b2cfde1266da406f70f1ccabd75b9f8fd619d5b92b494a471fbff36ce02",
"artifact_hash": "bca9489c3ecaac6ed6f82051... | true | true | null |
python_to_en_plaincode | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
class Config(object):
pass
def read_params():
cfg = Config()
#params for text detector
cfg.det_algorithm = "DB"
cfg.det_model_dir = "./inference/ch_ppocr_mobile_v2.0_det_infer/"
cfg.... | Load absolute_import from __future__.
Load division from __future__.
Load print_function from __future__.
Define class Config inheriting from object:
Do nothing.
Define function read_params:
Set cfg to Config with no values.
# params for text detector
Set cfg dot det_algorithm to "DB".
Set cfg dot d... | python | en | run_002_20260417_060406 | 124 | {
"max_stars_repo_path": "PaddleOCR/deploy/hubserving/ocr_det/params.py",
"max_stars_repo_name": "TangJiamin/Ultra_light_OCR_No.23",
"max_stars_count": 0,
"id": "220",
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"sanitize_meta": {
"triple_block_count": 0,
"... | {
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"normalized_source_hash": "c23f75fb9c75abebbcff7d809391c395e4587058da567e723a0b31c6b7afe422",
"source_ast_hash": "1d79676820d48c6edbd494b08072986cde68f84465f9dc4ed1f1ca95486d01d0",
"artifact_hash": "0bc29e71f7b98159f92537ed... | true | true | null |
python_to_es_plaincode | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
class Config(object):
pass
def read_params():
cfg = Config()
#params for text detector
cfg.det_algorithm = "DB"
cfg.det_model_dir = "./inference/ch_ppocr_mobile_v2.0_det_infer/"
cfg.... | Importar absolute_import desde __future__.
Importar division desde __future__.
Importar print_function desde __future__.
Definir clase Config heredando de object:
No hacer nada.
Definir función read_params:
Establecer cfg como Config sin argumentos.
# params for text detector
Establecer cfg punto det_al... | python | es | run_002_20260417_060406 | 124 | {
"max_stars_repo_path": "PaddleOCR/deploy/hubserving/ocr_det/params.py",
"max_stars_repo_name": "TangJiamin/Ultra_light_OCR_No.23",
"max_stars_count": 0,
"id": "220",
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"sanitize_meta": {
"triple_block_count": 0,
"... | {
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"normalized_source_hash": "c23f75fb9c75abebbcff7d809391c395e4587058da567e723a0b31c6b7afe422",
"source_ast_hash": "1d79676820d48c6edbd494b08072986cde68f84465f9dc4ed1f1ca95486d01d0",
"artifact_hash": "0bc29e71f7b98159f92537ed... | true | true | null |
python_to_fr_plaincode | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
class Config(object):
pass
def read_params():
cfg = Config()
#params for text detector
cfg.det_algorithm = "DB"
cfg.det_model_dir = "./inference/ch_ppocr_mobile_v2.0_det_infer/"
cfg.... | Charger absolute_import depuis __future__.
Charger division depuis __future__.
Charger print_function depuis __future__.
Définir classe Config héritant de object:
Ne rien faire.
Définir fonction read_params:
Affecter cfg à Config sans arguments.
# params for text detector
Affecter cfg point de det_algor... | python | fr | run_002_20260417_060406 | 124 | {
"max_stars_repo_path": "PaddleOCR/deploy/hubserving/ocr_det/params.py",
"max_stars_repo_name": "TangJiamin/Ultra_light_OCR_No.23",
"max_stars_count": 0,
"id": "220",
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"sanitize_meta": {
"triple_block_count": 0,
"... | {
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"normalized_source_hash": "c23f75fb9c75abebbcff7d809391c395e4587058da567e723a0b31c6b7afe422",
"source_ast_hash": "1d79676820d48c6edbd494b08072986cde68f84465f9dc4ed1f1ca95486d01d0",
"artifact_hash": "0bc29e71f7b98159f92537ed... | true | true | null |
en_plaincode_to_python | Load absolute_import from __future__.
Load division from __future__.
Load print_function from __future__.
Define class Config inheriting from object:
Do nothing.
Define function read_params:
Set cfg to Config with no values.
# params for text detector
Set cfg dot det_algorithm to "DB".
Set cfg dot d... | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
class Config(object):
pass
def read_params():
cfg = Config()
#params for text detector
cfg.det_algorithm = "DB"
cfg.det_model_dir = "./inference/ch_ppocr_mobile_v2.0_det_infer/"
cfg.... | en | python | run_002_20260417_060406 | 124 | {
"max_stars_repo_path": "PaddleOCR/deploy/hubserving/ocr_det/params.py",
"max_stars_repo_name": "TangJiamin/Ultra_light_OCR_No.23",
"max_stars_count": 0,
"id": "220",
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"sanitize_meta": {
"triple_block_count": 0,
"... | {
"raw_source_hash": "bbe2fb10a1b28ef4f495e186c3f801db92f96264b1f0d0795813641dee9d755c",
"normalized_source_hash": "c23f75fb9c75abebbcff7d809391c395e4587058da567e723a0b31c6b7afe422",
"source_ast_hash": "1d79676820d48c6edbd494b08072986cde68f84465f9dc4ed1f1ca95486d01d0",
"artifact_hash": "0bc29e71f7b98159f92537ed... | true | true | null |
python_to_en_plaincode | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/licen... | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/licen... | python | en | run_002_20260417_060406 | 125 | {
"max_stars_repo_path": "examples/machine_reading_comprehension/DuReader-robust/run_du.py",
"max_stars_repo_name": "wzzju/PaddleNLP",
"max_stars_count": 3,
"id": "222",
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"normalized_source_hash": "2b160ccb84e2e61795d7de2ecc4c59b2ccc32620593aae427f979cce78a014b2",
"source_ast_hash": "54001a0710edd3605263df8ed24a985b3ac167a81204b6e49b704da8df0cd0b2",
"artifact_hash": "ab30d3fbc57b86e86dba290e... | true | true | null |
python_to_es_plaincode | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/licen... | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/license... | python | es | run_002_20260417_060406 | 125 | {
"max_stars_repo_path": "examples/machine_reading_comprehension/DuReader-robust/run_du.py",
"max_stars_repo_name": "wzzju/PaddleNLP",
"max_stars_count": 3,
"id": "222",
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"normalized_source_hash": "2b160ccb84e2e61795d7de2ecc4c59b2ccc32620593aae427f979cce78a014b2",
"source_ast_hash": "54001a0710edd3605263df8ed24a985b3ac167a81204b6e49b704da8df0cd0b2",
"artifact_hash": "ab30d3fbc57b86e86dba290e... | true | true | null |
python_to_fr_plaincode | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/licen... | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/lic... | python | fr | run_002_20260417_060406 | 125 | {
"max_stars_repo_path": "examples/machine_reading_comprehension/DuReader-robust/run_du.py",
"max_stars_repo_name": "wzzju/PaddleNLP",
"max_stars_count": 3,
"id": "222",
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"normalized_source_hash": "2b160ccb84e2e61795d7de2ecc4c59b2ccc32620593aae427f979cce78a014b2",
"source_ast_hash": "54001a0710edd3605263df8ed24a985b3ac167a81204b6e49b704da8df0cd0b2",
"artifact_hash": "ab30d3fbc57b86e86dba290e... | true | true | null |
en_plaincode_to_python | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/licen... | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
# Copyright 2018 The HuggingFace Inc. team.
#
# 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/licen... | en | python | run_002_20260417_060406 | 125 | {
"max_stars_repo_path": "examples/machine_reading_comprehension/DuReader-robust/run_du.py",
"max_stars_repo_name": "wzzju/PaddleNLP",
"max_stars_count": 3,
"id": "222",
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"sanitize_meta": {
"triple_block_count": 0,
... | {
"raw_source_hash": "410c270cb828f7b2dca36d408a2385e7cdbd69f3c3bcd5b456f279c58845b43b",
"normalized_source_hash": "2b160ccb84e2e61795d7de2ecc4c59b2ccc32620593aae427f979cce78a014b2",
"source_ast_hash": "54001a0710edd3605263df8ed24a985b3ac167a81204b6e49b704da8df0cd0b2",
"artifact_hash": "ab30d3fbc57b86e86dba290e... | true | true | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.