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 | # Form implementation generated from reading ui file 'add_subject.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:... | # Form implementation generated from reading ui file 'add_subject.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
Load QtCore, QtGui from PyQt4.
Attempt the following:
Set _fromUtf8 to QtCore dot QString dot fromUtf8.
If an error of type AttributeError occ... | python | en | run_002_20260417_060406 | 26 | {
"max_stars_repo_path": "Qt_interface/add_subject.py",
"max_stars_repo_name": "kithsirij/NLP-based-Syllabus-Coverage-Exam-paper-checker-Tool",
"max_stars_count": 1,
"id": "44",
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"sanitize_meta": {
"triple_block_count"... | {
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"normalized_source_hash": "5e9bcaf79ec8463fa9e2fa6d8a57bb070262584d06c4e934aa87df647fc287aa",
"source_ast_hash": "21c48969b630223ff3af43e1005f93ee5fb306ee2afa3cf9e6485fe47d9db72a",
"artifact_hash": "4a9816b9a5e737f2fad189a2... | true | true | null |
python_to_es_plaincode | # Form implementation generated from reading ui file 'add_subject.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:... | # Form implementation generated desde reading ui file 'add_subject.ui'
#
# Created por: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made en this file will be lost!
Importar QtCore, QtGui desde PyQt4.
Intentar lo siguiente:
Establecer _fromUtf8 como QtCore punto QString punto fromUtf8.
Si ocurre un error... | python | es | run_002_20260417_060406 | 26 | {
"max_stars_repo_path": "Qt_interface/add_subject.py",
"max_stars_repo_name": "kithsirij/NLP-based-Syllabus-Coverage-Exam-paper-checker-Tool",
"max_stars_count": 1,
"id": "44",
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"sanitize_meta": {
"triple_block_count"... | {
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"normalized_source_hash": "5e9bcaf79ec8463fa9e2fa6d8a57bb070262584d06c4e934aa87df647fc287aa",
"source_ast_hash": "21c48969b630223ff3af43e1005f93ee5fb306ee2afa3cf9e6485fe47d9db72a",
"artifact_hash": "4a9816b9a5e737f2fad189a2... | true | true | null |
python_to_fr_plaincode | # Form implementation generated from reading ui file 'add_subject.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:... | # Form implementation generated depuis reading ui file 'add_subject.ui'
#
# Created par: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made dans this file will be lost!
Charger QtCore, QtGui depuis PyQt4.
Essayer ce qui suit:
Affecter _fromUtf8 à QtCore point de QString point de fromUtf8.
Si une erreur du... | python | fr | run_002_20260417_060406 | 26 | {
"max_stars_repo_path": "Qt_interface/add_subject.py",
"max_stars_repo_name": "kithsirij/NLP-based-Syllabus-Coverage-Exam-paper-checker-Tool",
"max_stars_count": 1,
"id": "44",
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"sanitize_meta": {
"triple_block_count"... | {
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"normalized_source_hash": "5e9bcaf79ec8463fa9e2fa6d8a57bb070262584d06c4e934aa87df647fc287aa",
"source_ast_hash": "21c48969b630223ff3af43e1005f93ee5fb306ee2afa3cf9e6485fe47d9db72a",
"artifact_hash": "4a9816b9a5e737f2fad189a2... | true | true | null |
en_plaincode_to_python | # Form implementation generated from reading ui file 'add_subject.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
Load QtCore, QtGui from PyQt4.
Attempt the following:
Set _fromUtf8 to QtCore dot QString dot fromUtf8.
If an error of type AttributeError occ... | # Form implementation generated from reading ui file 'add_subject.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:... | en | python | run_002_20260417_060406 | 26 | {
"max_stars_repo_path": "Qt_interface/add_subject.py",
"max_stars_repo_name": "kithsirij/NLP-based-Syllabus-Coverage-Exam-paper-checker-Tool",
"max_stars_count": 1,
"id": "44",
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"sanitize_meta": {
"triple_block_count"... | {
"raw_source_hash": "46cbf47b470477f6bb48b308ba3ed8f6197ce693e09fb206172b86d3e64ca428",
"normalized_source_hash": "5e9bcaf79ec8463fa9e2fa6d8a57bb070262584d06c4e934aa87df647fc287aa",
"source_ast_hash": "21c48969b630223ff3af43e1005f93ee5fb306ee2afa3cf9e6485fe47d9db72a",
"artifact_hash": "4a9816b9a5e737f2fad189a2... | true | true | null |
python_to_en_plaincode | from django.db.models import signals
from django.test import TestCase
from django.core import management
from django.utils import six
from shared_models import models
PRE_SYNCDB_ARGS = ['app', 'create_models', 'verbosity', 'interactive', 'db']
SYNCDB_DATABASE = 'default'
SYNCDB_VERBOSITY = 1
SYNCDB_INTERACTIVE = Fal... | Load signals from django.db.models.
Load TestCase from django.test.
Load management from django.core.
Load six from django.utils.
Load models from shared_models.
Set PRE_SYNCDB_ARGS to the list [
"app",
"create_models",
"verbosity",
"interactive",
"db"
].
Set SYNCDB_DATABASE to "default".
Set SYNCDB_VERBOSITY to 1.
Set... | python | en | run_002_20260417_060406 | 27 | {
"max_stars_repo_path": "tests/syncdb_signals/tests.py",
"max_stars_repo_name": "mdj2/django",
"max_stars_count": 1,
"id": "45",
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 144,
"largest... | {
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"normalized_source_hash": "16ccf7f608405726874d58eaf7f4b2849ed218366ca82dce654d79a7eb29c275",
"source_ast_hash": "888c5d258affc0200a5852b0eefcdec094630cb090f284b9bc67b34a73302d1b",
"artifact_hash": "63b22149d063820c37e0b44c... | true | true | null |
python_to_es_plaincode | from django.db.models import signals
from django.test import TestCase
from django.core import management
from django.utils import six
from shared_models import models
PRE_SYNCDB_ARGS = ['app', 'create_models', 'verbosity', 'interactive', 'db']
SYNCDB_DATABASE = 'default'
SYNCDB_VERBOSITY = 1
SYNCDB_INTERACTIVE = Fal... | Importar signals desde django.db.models.
Importar TestCase desde django.test.
Importar management desde django.core.
Importar six desde django.utils.
Importar models desde shared_models.
Establecer PRE_SYNCDB_ARGS como la lista [
"app",
"create_models",
"verbosity",
"interactive",
"db"
].
Establecer SYNCDB_DATABASE com... | python | es | run_002_20260417_060406 | 27 | {
"max_stars_repo_path": "tests/syncdb_signals/tests.py",
"max_stars_repo_name": "mdj2/django",
"max_stars_count": 1,
"id": "45",
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 144,
"largest... | {
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"normalized_source_hash": "16ccf7f608405726874d58eaf7f4b2849ed218366ca82dce654d79a7eb29c275",
"source_ast_hash": "888c5d258affc0200a5852b0eefcdec094630cb090f284b9bc67b34a73302d1b",
"artifact_hash": "63b22149d063820c37e0b44c... | true | true | null |
python_to_fr_plaincode | from django.db.models import signals
from django.test import TestCase
from django.core import management
from django.utils import six
from shared_models import models
PRE_SYNCDB_ARGS = ['app', 'create_models', 'verbosity', 'interactive', 'db']
SYNCDB_DATABASE = 'default'
SYNCDB_VERBOSITY = 1
SYNCDB_INTERACTIVE = Fal... | Charger signals depuis django.db.models.
Charger TestCase depuis django.test.
Charger management depuis django.core.
Charger six depuis django.utils.
Charger models depuis shared_models.
Affecter PRE_SYNCDB_ARGS à la liste [
"app",
"create_models",
"verbosity",
"interactive",
"db"
].
Affecter SYNCDB_DATABASE à "default... | python | fr | run_002_20260417_060406 | 27 | {
"max_stars_repo_path": "tests/syncdb_signals/tests.py",
"max_stars_repo_name": "mdj2/django",
"max_stars_count": 1,
"id": "45",
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 144,
"largest... | {
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"normalized_source_hash": "16ccf7f608405726874d58eaf7f4b2849ed218366ca82dce654d79a7eb29c275",
"source_ast_hash": "888c5d258affc0200a5852b0eefcdec094630cb090f284b9bc67b34a73302d1b",
"artifact_hash": "63b22149d063820c37e0b44c... | true | true | null |
en_plaincode_to_python | Load signals from django.db.models.
Load TestCase from django.test.
Load management from django.core.
Load six from django.utils.
Load models from shared_models.
Set PRE_SYNCDB_ARGS to the list [
"app",
"create_models",
"verbosity",
"interactive",
"db"
].
Set SYNCDB_DATABASE to "default".
Set SYNCDB_VERBOSITY to 1.
Set... | from django.db.models import signals
from django.test import TestCase
from django.core import management
from django.utils import six
from shared_models import models
PRE_SYNCDB_ARGS = ['app', 'create_models', 'verbosity', 'interactive', 'db']
SYNCDB_DATABASE = 'default'
SYNCDB_VERBOSITY = 1
SYNCDB_INTERACTIVE = Fal... | en | python | run_002_20260417_060406 | 27 | {
"max_stars_repo_path": "tests/syncdb_signals/tests.py",
"max_stars_repo_name": "mdj2/django",
"max_stars_count": 1,
"id": "45",
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 144,
"largest... | {
"raw_source_hash": "69b2e70b7523ce5e3faf1bd0000c7b61be1ed4c7e22a0c167f0763ce86a22f22",
"normalized_source_hash": "16ccf7f608405726874d58eaf7f4b2849ed218366ca82dce654d79a7eb29c275",
"source_ast_hash": "888c5d258affc0200a5852b0eefcdec094630cb090f284b9bc67b34a73302d1b",
"artifact_hash": "63b22149d063820c37e0b44c... | true | true | null |
python_to_en_plaincode | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | python | en | run_002_20260417_060406 | 28 | {
"max_stars_repo_path": "pytorch_lightning/plugins/environments/slurm_environment.py",
"max_stars_repo_name": "gianscarpe/pytorch-lightning",
"max_stars_count": 0,
"id": "46",
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"sanitize_meta": {
"triple_block_count":... | {
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"normalized_source_hash": "494c8153c17fad44c3c18c0d01a02b2374166dd90940877387eb7d0d353722d8",
"source_ast_hash": "31c1d400b8faa8ffac8a13724e28c685e6fbebea3991d0772e17659808ef61a4",
"artifact_hash": "615c88e13b7f7997180507a5... | true | true | null |
python_to_es_plaincode | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required por applicable law o agreed como e... | python | es | run_002_20260417_060406 | 28 | {
"max_stars_repo_path": "pytorch_lightning/plugins/environments/slurm_environment.py",
"max_stars_repo_name": "gianscarpe/pytorch-lightning",
"max_stars_count": 0,
"id": "46",
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"sanitize_meta": {
"triple_block_count":... | {
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"normalized_source_hash": "494c8153c17fad44c3c18c0d01a02b2374166dd90940877387eb7d0d353722d8",
"source_ast_hash": "31c1d400b8faa8ffac8a13724e28c685e6fbebea3991d0772e17659808ef61a4",
"artifact_hash": "615c88e13b7f7997180507a5... | true | true | null |
python_to_fr_plaincode | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required par applicable law ou agreed à... | python | fr | run_002_20260417_060406 | 28 | {
"max_stars_repo_path": "pytorch_lightning/plugins/environments/slurm_environment.py",
"max_stars_repo_name": "gianscarpe/pytorch-lightning",
"max_stars_count": 0,
"id": "46",
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"sanitize_meta": {
"triple_block_count":... | {
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"normalized_source_hash": "494c8153c17fad44c3c18c0d01a02b2374166dd90940877387eb7d0d353722d8",
"source_ast_hash": "31c1d400b8faa8ffac8a13724e28c685e6fbebea3991d0772e17659808ef61a4",
"artifact_hash": "615c88e13b7f7997180507a5... | true | true | null |
en_plaincode_to_python | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | # Copyright The PyTorch Lightning 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | en | python | run_002_20260417_060406 | 28 | {
"max_stars_repo_path": "pytorch_lightning/plugins/environments/slurm_environment.py",
"max_stars_repo_name": "gianscarpe/pytorch-lightning",
"max_stars_count": 0,
"id": "46",
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"sanitize_meta": {
"triple_block_count":... | {
"raw_source_hash": "e23d8c9d4ae96a5f62a678a766d383fb646d8fd1ff6558ff56c608aba49e3a39",
"normalized_source_hash": "494c8153c17fad44c3c18c0d01a02b2374166dd90940877387eb7d0d353722d8",
"source_ast_hash": "31c1d400b8faa8ffac8a13724e28c685e6fbebea3991d0772e17659808ef61a4",
"artifact_hash": "615c88e13b7f7997180507a5... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python
import time
import os
import math
from trackball import TrackBall
print("""Trackball: Mouse
Use the trackball as a mouse in Raspbian, with right-click
when the switch is pressed.
Press Ctrl+C to exit!
""")
trackball = TrackBall(interrupt_pin=4)
trackball.set_rgbw(0, 0, 0, 0)
# Check for xte (... | # !/usr/bin/env python
Load time.
Load os.
Load math.
Load TrackBall from trackball.
Print text block:
"Trackball: Mouse"
""
"Use the trackball as a mouse in Raspbian, with right-click"
"when the switch is pressed."
""
"Press Ctrl+C to exit!"
ending with a newline.
Set trackball to TrackBall with interrupt_pin set to 4... | python | en | run_002_20260417_060406 | 29 | {
"max_stars_repo_path": "examples/mouse.py",
"max_stars_repo_name": "ginkage/trackball-python",
"max_stars_count": 22,
"id": "47",
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 134,
"large... | {
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"normalized_source_hash": "bc57dc17276eb15bc101941105d964f16387d0625919f517954b15162d66839f",
"source_ast_hash": "27d957e81f4e23d084957c57d866b939a726abd2902b11835bbbffe6b890c617",
"artifact_hash": "d046a33d74a23c5af6c3fd38... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python
import time
import os
import math
from trackball import TrackBall
print("""Trackball: Mouse
Use the trackball as a mouse in Raspbian, with right-click
when the switch is pressed.
Press Ctrl+C to exit!
""")
trackball = TrackBall(interrupt_pin=4)
trackball.set_rgbw(0, 0, 0, 0)
# Check for xte (... | # !/usr/bin/env python
Importar time.
Importar os.
Importar math.
Importar TrackBall desde trackball.
Imprimir texto literal:
"Trackball: Mouse"
""
"Use the trackball as a mouse in Raspbian, with right-click"
"when the switch is pressed."
""
"Press Ctrl+C to exit!"
terminando con una nueva línea.
Establecer trackball c... | python | es | run_002_20260417_060406 | 29 | {
"max_stars_repo_path": "examples/mouse.py",
"max_stars_repo_name": "ginkage/trackball-python",
"max_stars_count": 22,
"id": "47",
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 134,
"large... | {
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"normalized_source_hash": "bc57dc17276eb15bc101941105d964f16387d0625919f517954b15162d66839f",
"source_ast_hash": "27d957e81f4e23d084957c57d866b939a726abd2902b11835bbbffe6b890c617",
"artifact_hash": "d046a33d74a23c5af6c3fd38... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python
import time
import os
import math
from trackball import TrackBall
print("""Trackball: Mouse
Use the trackball as a mouse in Raspbian, with right-click
when the switch is pressed.
Press Ctrl+C to exit!
""")
trackball = TrackBall(interrupt_pin=4)
trackball.set_rgbw(0, 0, 0, 0)
# Check for xte (... | # !/usr/bin/env python
Charger time.
Charger os.
Charger math.
Charger TrackBall depuis trackball.
Afficher texte littéral:
"Trackball: Mouse"
""
"Use the trackball as a mouse in Raspbian, with right-click"
"when the switch is pressed."
""
"Press Ctrl+C to exit!"
se terminant par une nouvelle ligne.
Affecter trackball ... | python | fr | run_002_20260417_060406 | 29 | {
"max_stars_repo_path": "examples/mouse.py",
"max_stars_repo_name": "ginkage/trackball-python",
"max_stars_count": 22,
"id": "47",
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 134,
"large... | {
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"normalized_source_hash": "bc57dc17276eb15bc101941105d964f16387d0625919f517954b15162d66839f",
"source_ast_hash": "27d957e81f4e23d084957c57d866b939a726abd2902b11835bbbffe6b890c617",
"artifact_hash": "d046a33d74a23c5af6c3fd38... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python
Load time.
Load os.
Load math.
Load TrackBall from trackball.
Print text block:
"Trackball: Mouse"
""
"Use the trackball as a mouse in Raspbian, with right-click"
"when the switch is pressed."
""
"Press Ctrl+C to exit!"
ending with a newline.
Set trackball to TrackBall with interrupt_pin set to 4... | #!/usr/bin/env python
import time
import os
import math
from trackball import TrackBall
print("""Trackball: Mouse
Use the trackball as a mouse in Raspbian, with right-click
when the switch is pressed.
Press Ctrl+C to exit!
""")
trackball = TrackBall(interrupt_pin=4)
trackball.set_rgbw(0, 0, 0, 0)
# Check for xte (... | en | python | run_002_20260417_060406 | 29 | {
"max_stars_repo_path": "examples/mouse.py",
"max_stars_repo_name": "ginkage/trackball-python",
"max_stars_count": 22,
"id": "47",
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 134,
"large... | {
"raw_source_hash": "feedd1e6406a530eb6f617eb2411a511f2dab30b8813ab18052103ed2e10786a",
"normalized_source_hash": "bc57dc17276eb15bc101941105d964f16387d0625919f517954b15162d66839f",
"source_ast_hash": "27d957e81f4e23d084957c57d866b939a726abd2902b11835bbbffe6b890c617",
"artifact_hash": "d046a33d74a23c5af6c3fd38... | true | true | null |
python_to_en_plaincode | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
import torchvision
import torchvision.transforms as transforms
import torchvision.datasets as datasets
import os
import argparse
from torch.autograd import Variable
from extensions.util... | Load torch.
Load torch.nn, referred to as nn.
Load torch.optim, referred to as optim.
Load torch.nn.functional, referred to as F.
Load torch.backends.cudnn, referred to as cudnn.
Load torchvision.
Load torchvision.transforms, referred to as transforms.
Load torchvision.datasets, referred to as datasets.
Load os.
Load a... | python | en | run_002_20260417_060406 | 30 | {
"max_stars_repo_path": "test.py",
"max_stars_repo_name": "kim-sunghoon/DiracDeltaNet",
"max_stars_count": 0,
"id": "49",
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest_triple_... | {
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"normalized_source_hash": "0357ddbb748e0c47bd8c447f5e1bb16ff04c9bba2dddf40a38630fd1c322f7fe",
"source_ast_hash": "01e1a4f53fd2e9359c27499dca3f55d9c89e671b69173e806b2c530f9fd48fc1",
"artifact_hash": "54e3401a8bf67bec2f8fa273... | true | true | null |
python_to_es_plaincode | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
import torchvision
import torchvision.transforms as transforms
import torchvision.datasets as datasets
import os
import argparse
from torch.autograd import Variable
from extensions.util... | Importar torch.
Importar torch.nn, referido como nn.
Importar torch.optim, referido como optim.
Importar torch.nn.functional, referido como F.
Importar torch.backends.cudnn, referido como cudnn.
Importar torchvision.
Importar torchvision.transforms, referido como transforms.
Importar torchvision.datasets, referido como... | python | es | run_002_20260417_060406 | 30 | {
"max_stars_repo_path": "test.py",
"max_stars_repo_name": "kim-sunghoon/DiracDeltaNet",
"max_stars_count": 0,
"id": "49",
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest_triple_... | {
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"normalized_source_hash": "0357ddbb748e0c47bd8c447f5e1bb16ff04c9bba2dddf40a38630fd1c322f7fe",
"source_ast_hash": "01e1a4f53fd2e9359c27499dca3f55d9c89e671b69173e806b2c530f9fd48fc1",
"artifact_hash": "54e3401a8bf67bec2f8fa273... | true | true | null |
python_to_fr_plaincode | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
import torchvision
import torchvision.transforms as transforms
import torchvision.datasets as datasets
import os
import argparse
from torch.autograd import Variable
from extensions.util... | Charger torch.
Charger torch.nn, référé comme nn.
Charger torch.optim, référé comme optim.
Charger torch.nn.functional, référé comme F.
Charger torch.backends.cudnn, référé comme cudnn.
Charger torchvision.
Charger torchvision.transforms, référé comme transforms.
Charger torchvision.datasets, référé comme datasets.
Cha... | python | fr | run_002_20260417_060406 | 30 | {
"max_stars_repo_path": "test.py",
"max_stars_repo_name": "kim-sunghoon/DiracDeltaNet",
"max_stars_count": 0,
"id": "49",
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest_triple_... | {
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"normalized_source_hash": "0357ddbb748e0c47bd8c447f5e1bb16ff04c9bba2dddf40a38630fd1c322f7fe",
"source_ast_hash": "01e1a4f53fd2e9359c27499dca3f55d9c89e671b69173e806b2c530f9fd48fc1",
"artifact_hash": "54e3401a8bf67bec2f8fa273... | true | true | null |
en_plaincode_to_python | Load torch.
Load torch.nn, referred to as nn.
Load torch.optim, referred to as optim.
Load torch.nn.functional, referred to as F.
Load torch.backends.cudnn, referred to as cudnn.
Load torchvision.
Load torchvision.transforms, referred to as transforms.
Load torchvision.datasets, referred to as datasets.
Load os.
Load a... | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torch.backends.cudnn as cudnn
import torchvision
import torchvision.transforms as transforms
import torchvision.datasets as datasets
import os
import argparse
from torch.autograd import Variable
from extensions.util... | en | python | run_002_20260417_060406 | 30 | {
"max_stars_repo_path": "test.py",
"max_stars_repo_name": "kim-sunghoon/DiracDeltaNet",
"max_stars_count": 0,
"id": "49",
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars": 60,
"largest_triple_... | {
"raw_source_hash": "ba22ee9a43c40609600719e6b458fe01bfac1d25a9d380abbfa28731d5144ec4",
"normalized_source_hash": "0357ddbb748e0c47bd8c447f5e1bb16ff04c9bba2dddf40a38630fd1c322f7fe",
"source_ast_hash": "01e1a4f53fd2e9359c27499dca3f55d9c89e671b69173e806b2c530f9fd48fc1",
"artifact_hash": "54e3401a8bf67bec2f8fa273... | true | true | null |
python_to_en_plaincode | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
__version__ = '1.6.1'
release_note... | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
Set __version__ to "1.6.1".
Set rel... | python | en | run_002_20260417_060406 | 31 | {
"max_stars_repo_path": "src/main/python/rlbot/version.py",
"max_stars_repo_name": "IamEld3st/RLBot",
"max_stars_count": 0,
"id": "53",
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"sanitize_meta": {
"triple_block_count": 21,
"total_triple_chars": 7360,
... | {
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"normalized_source_hash": "48674ce402ce6c69a06d02f44a9e46bc4a86b0d5684e95c593be6d00f06717ec",
"source_ast_hash": "9b6fdbf6d29f20025b8f9940ca0abd12277bfe939e0b9644d5436c9046e3fc47",
"artifact_hash": "8246685544bba8ed6e0603a4... | true | true | null |
python_to_es_plaincode | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
__version__ = '1.6.1'
release_note... | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
Set __version__ to "1.6.1".
Set rel... | python | es | run_002_20260417_060406 | 31 | {
"max_stars_repo_path": "src/main/python/rlbot/version.py",
"max_stars_repo_name": "IamEld3st/RLBot",
"max_stars_count": 0,
"id": "53",
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"sanitize_meta": {
"triple_block_count": 21,
"total_triple_chars": 7360,
... | {
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"normalized_source_hash": "48674ce402ce6c69a06d02f44a9e46bc4a86b0d5684e95c593be6d00f06717ec",
"source_ast_hash": "9b6fdbf6d29f20025b8f9940ca0abd12277bfe939e0b9644d5436c9046e3fc47",
"artifact_hash": "8246685544bba8ed6e0603a4... | true | true | null |
python_to_fr_plaincode | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
__version__ = '1.6.1'
release_note... | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
Set __version__ to "1.6.1".
Set rel... | python | fr | run_002_20260417_060406 | 31 | {
"max_stars_repo_path": "src/main/python/rlbot/version.py",
"max_stars_repo_name": "IamEld3st/RLBot",
"max_stars_count": 0,
"id": "53",
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"sanitize_meta": {
"triple_block_count": 21,
"total_triple_chars": 7360,
... | {
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"normalized_source_hash": "48674ce402ce6c69a06d02f44a9e46bc4a86b0d5684e95c593be6d00f06717ec",
"source_ast_hash": "9b6fdbf6d29f20025b8f9940ca0abd12277bfe939e0b9644d5436c9046e3fc47",
"artifact_hash": "8246685544bba8ed6e0603a4... | true | true | null |
en_plaincode_to_python | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
Set __version__ to "1.6.1".
Set rel... | # Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
# https://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package
__version__ = '1.6.1'
release_note... | en | python | run_002_20260417_060406 | 31 | {
"max_stars_repo_path": "src/main/python/rlbot/version.py",
"max_stars_repo_name": "IamEld3st/RLBot",
"max_stars_count": 0,
"id": "53",
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"sanitize_meta": {
"triple_block_count": 21,
"total_triple_chars": 7360,
... | {
"raw_source_hash": "bf713112ef7ccdaf6306ef069d66d5e58c72df235c5d43c8aab7ae37dbb344ea",
"normalized_source_hash": "48674ce402ce6c69a06d02f44a9e46bc4a86b0d5684e95c593be6d00f06717ec",
"source_ast_hash": "9b6fdbf6d29f20025b8f9940ca0abd12277bfe939e0b9644d5436c9046e3fc47",
"artifact_hash": "8246685544bba8ed6e0603a4... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from typing import Any, Dict
import torch.nn as nn
from classy_vision.generic.util import is_pos_int
from classy_visio... | # !/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
Load Any, Dict from typing.
Load torch.nn, referred to as nn.
Load is_pos_int from classy_vision.generic.util.
Load Cla... | python | en | run_002_20260417_060406 | 32 | {
"max_stars_repo_path": "classy_vision/heads/fully_connected_head.py",
"max_stars_repo_name": "dlegor/ClassyVision",
"max_stars_count": 1,
"id": "54",
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_cha... | {
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"normalized_source_hash": "b59c2e9bde6d4063dc9f135d09e75acdd933a91f2423858f56f3b02f7ff4bfa6",
"source_ast_hash": "2dbde35488bda735905ddee37dd9518f8af0961af378dad091c639e98efbb072",
"artifact_hash": "abeb824bef555fe8326a82b1... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from typing import Any, Dict
import torch.nn as nn
from classy_vision.generic.util import is_pos_int
from classy_visio... | # !/usr/bin/env python3
# Copyright (c) Facebook, Inc. y también its affiliates.
#
# This source code es licensed under the MIT license found en the
# LICENSE file en the root directory de this source tree.
Importar Any, Dict desde typing.
Importar torch.nn, referido como nn.
Importar is_pos_int desde classy_vision.gen... | python | es | run_002_20260417_060406 | 32 | {
"max_stars_repo_path": "classy_vision/heads/fully_connected_head.py",
"max_stars_repo_name": "dlegor/ClassyVision",
"max_stars_count": 1,
"id": "54",
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_cha... | {
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"normalized_source_hash": "b59c2e9bde6d4063dc9f135d09e75acdd933a91f2423858f56f3b02f7ff4bfa6",
"source_ast_hash": "2dbde35488bda735905ddee37dd9518f8af0961af378dad091c639e98efbb072",
"artifact_hash": "abeb824bef555fe8326a82b1... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from typing import Any, Dict
import torch.nn as nn
from classy_vision.generic.util import is_pos_int
from classy_visio... | # !/usr/bin/env python3
# Copyright (c) Facebook, Inc. et its affiliates.
#
# This source code est licensed under the MIT license found dans the
# LICENSE file dans the root directory de this source tree.
Charger Any, Dict depuis typing.
Charger torch.nn, référé comme nn.
Charger is_pos_int depuis classy_vision.generic... | python | fr | run_002_20260417_060406 | 32 | {
"max_stars_repo_path": "classy_vision/heads/fully_connected_head.py",
"max_stars_repo_name": "dlegor/ClassyVision",
"max_stars_count": 1,
"id": "54",
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_cha... | {
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"normalized_source_hash": "b59c2e9bde6d4063dc9f135d09e75acdd933a91f2423858f56f3b02f7ff4bfa6",
"source_ast_hash": "2dbde35488bda735905ddee37dd9518f8af0961af378dad091c639e98efbb072",
"artifact_hash": "abeb824bef555fe8326a82b1... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
Load Any, Dict from typing.
Load torch.nn, referred to as nn.
Load is_pos_int from classy_vision.generic.util.
Load Cla... | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from typing import Any, Dict
import torch.nn as nn
from classy_vision.generic.util import is_pos_int
from classy_visio... | en | python | run_002_20260417_060406 | 32 | {
"max_stars_repo_path": "classy_vision/heads/fully_connected_head.py",
"max_stars_repo_name": "dlegor/ClassyVision",
"max_stars_count": 1,
"id": "54",
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"sanitize_meta": {
"triple_block_count": 3,
"total_triple_cha... | {
"raw_source_hash": "486fcfbadb61577c8e2ab4c99e1f6e1b4ba87e61396e501f69e36b2303a9ac84",
"normalized_source_hash": "b59c2e9bde6d4063dc9f135d09e75acdd933a91f2423858f56f3b02f7ff4bfa6",
"source_ast_hash": "2dbde35488bda735905ddee37dd9518f8af0961af378dad091c639e98efbb072",
"artifact_hash": "abeb824bef555fe8326a82b1... | true | true | null |
python_to_en_plaincode | from floodsystem.stationdata import build_station_list
from floodsystem.flood import stations_highest_rel_level
def run():
stations = build_station_list()
warning_stations = stations_highest_rel_level(stations,10)
for entry in warning_stations:
print(entry[0].name,entry[1])
if __name__ == "__mai... | Load build_station_list from floodsystem.stationdata.
Load stations_highest_rel_level from floodsystem.flood.
Define function run:
Set stations to build_station_list with no values.
Set warning_stations to stations_highest_rel_level with stations and 10.
For each entry in warning_stations:
Print (it... | python | en | run_002_20260417_060406 | 33 | {
"max_stars_repo_path": "Task2C.py",
"max_stars_repo_name": "StanleyHou117/group66_LentTermProject",
"max_stars_count": 0,
"id": "55",
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"normalized_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"source_ast_hash": "30416700a93c678d36fc87fd1e9e6469a2f51af124923cca446ecb1f19b0b202",
"artifact_hash": "350dc9836c74a7e811f2ff0e... | true | true | null |
python_to_es_plaincode | from floodsystem.stationdata import build_station_list
from floodsystem.flood import stations_highest_rel_level
def run():
stations = build_station_list()
warning_stations = stations_highest_rel_level(stations,10)
for entry in warning_stations:
print(entry[0].name,entry[1])
if __name__ == "__mai... | Importar build_station_list desde floodsystem.stationdata.
Importar stations_highest_rel_level desde floodsystem.flood.
Definir función run:
Establecer stations como build_station_list sin argumentos.
Establecer warning_stations como stations_highest_rel_level con stations y también 10.
Para cada entry en w... | python | es | run_002_20260417_060406 | 33 | {
"max_stars_repo_path": "Task2C.py",
"max_stars_repo_name": "StanleyHou117/group66_LentTermProject",
"max_stars_count": 0,
"id": "55",
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"normalized_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"source_ast_hash": "30416700a93c678d36fc87fd1e9e6469a2f51af124923cca446ecb1f19b0b202",
"artifact_hash": "350dc9836c74a7e811f2ff0e... | true | true | null |
python_to_fr_plaincode | from floodsystem.stationdata import build_station_list
from floodsystem.flood import stations_highest_rel_level
def run():
stations = build_station_list()
warning_stations = stations_highest_rel_level(stations,10)
for entry in warning_stations:
print(entry[0].name,entry[1])
if __name__ == "__mai... | Charger build_station_list depuis floodsystem.stationdata.
Charger stations_highest_rel_level depuis floodsystem.flood.
Définir fonction run:
Affecter stations à build_station_list sans arguments.
Affecter warning_stations à stations_highest_rel_level avec stations et 10.
Pour chaque entry dans warning_stat... | python | fr | run_002_20260417_060406 | 33 | {
"max_stars_repo_path": "Task2C.py",
"max_stars_repo_name": "StanleyHou117/group66_LentTermProject",
"max_stars_count": 0,
"id": "55",
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"normalized_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"source_ast_hash": "30416700a93c678d36fc87fd1e9e6469a2f51af124923cca446ecb1f19b0b202",
"artifact_hash": "350dc9836c74a7e811f2ff0e... | true | true | null |
en_plaincode_to_python | Load build_station_list from floodsystem.stationdata.
Load stations_highest_rel_level from floodsystem.flood.
Define function run:
Set stations to build_station_list with no values.
Set warning_stations to stations_highest_rel_level with stations and 10.
For each entry in warning_stations:
Print (it... | from floodsystem.stationdata import build_station_list
from floodsystem.flood import stations_highest_rel_level
def run():
stations = build_station_list()
warning_stations = stations_highest_rel_level(stations,10)
for entry in warning_stations:
print(entry[0].name,entry[1])
if __name__ == "__mai... | en | python | run_002_20260417_060406 | 33 | {
"max_stars_repo_path": "Task2C.py",
"max_stars_repo_name": "StanleyHou117/group66_LentTermProject",
"max_stars_count": 0,
"id": "55",
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"lar... | {
"raw_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"normalized_source_hash": "2e151f4405b5a9ead5c65dd37f5c915a6d59c5eedb232b578805c6b0482f99d3",
"source_ast_hash": "30416700a93c678d36fc87fd1e9e6469a2f51af124923cca446ecb1f19b0b202",
"artifact_hash": "350dc9836c74a7e811f2ff0e... | true | true | null |
python_to_en_plaincode | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
__name__ = "biotite"
__author__ = "<NAME>"
__all__ = ["Copyable"]
import abc
class Copyable(metaclass=abc.ABCMeta):
"""
Base class for all objects, that ... | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
Set __name__ to "biotite".
Set __author__ to "<NAME>".
Set __all__ to the list ["Copyable"].
Load abc.
Define class Copyable with metaclass abc dot ABCMeta:
Text... | python | en | run_002_20260417_060406 | 34 | {
"max_stars_repo_path": "src/biotite/copyable.py",
"max_stars_repo_name": "danijoo/biotite",
"max_stars_count": 208,
"id": "56",
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"sanitize_meta": {
"triple_block_count": 4,
"total_triple_chars": 1355,
"larges... | {
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"normalized_source_hash": "0e43d1ed62f7c3df806bc37ad5a8d82355151d3cfc3bbd54b6143e0421e5ded7",
"source_ast_hash": "55f679edad18062619e5e9e10fcdf27fcbcddaa7861871b2f4869d82517c00cc",
"artifact_hash": "e6e431d88b6d8860200aef1e... | true | true | null |
python_to_es_plaincode | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
__name__ = "biotite"
__author__ = "<NAME>"
__all__ = ["Copyable"]
import abc
class Copyable(metaclass=abc.ABCMeta):
"""
Base class for all objects, that ... | # This source code es part de the Biotite paquete y también es distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
Establecer __name__ como "biotite".
Establecer __author__ como "<NAME>".
Establecer __all__ como la lista ["Copyable"].
Importar abc.
Definir clase Copyable co... | python | es | run_002_20260417_060406 | 34 | {
"max_stars_repo_path": "src/biotite/copyable.py",
"max_stars_repo_name": "danijoo/biotite",
"max_stars_count": 208,
"id": "56",
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"sanitize_meta": {
"triple_block_count": 4,
"total_triple_chars": 1355,
"larges... | {
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"normalized_source_hash": "0e43d1ed62f7c3df806bc37ad5a8d82355151d3cfc3bbd54b6143e0421e5ded7",
"source_ast_hash": "55f679edad18062619e5e9e10fcdf27fcbcddaa7861871b2f4869d82517c00cc",
"artifact_hash": "e6e431d88b6d8860200aef1e... | true | true | null |
python_to_fr_plaincode | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
__name__ = "biotite"
__author__ = "<NAME>"
__all__ = ["Copyable"]
import abc
class Copyable(metaclass=abc.ABCMeta):
"""
Base class for all objects, that ... | # This source code est part de the Biotite paquet et est distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
Affecter __name__ à "biotite".
Affecter __author__ à "<NAME>".
Affecter __all__ à la liste ["Copyable"].
Charger abc.
Définir classe Copyable avec metaclass abc poin... | python | fr | run_002_20260417_060406 | 34 | {
"max_stars_repo_path": "src/biotite/copyable.py",
"max_stars_repo_name": "danijoo/biotite",
"max_stars_count": 208,
"id": "56",
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"sanitize_meta": {
"triple_block_count": 4,
"total_triple_chars": 1355,
"larges... | {
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"normalized_source_hash": "0e43d1ed62f7c3df806bc37ad5a8d82355151d3cfc3bbd54b6143e0421e5ded7",
"source_ast_hash": "55f679edad18062619e5e9e10fcdf27fcbcddaa7861871b2f4869d82517c00cc",
"artifact_hash": "e6e431d88b6d8860200aef1e... | true | true | null |
en_plaincode_to_python | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
Set __name__ to "biotite".
Set __author__ to "<NAME>".
Set __all__ to the list ["Copyable"].
Load abc.
Define class Copyable with metaclass abc dot ABCMeta:
Text... | # This source code is part of the Biotite package and is distributed
# under the 3-Clause BSD License. Please see 'LICENSE.rst' for further
# information.
__name__ = "biotite"
__author__ = "<NAME>"
__all__ = ["Copyable"]
import abc
class Copyable(metaclass=abc.ABCMeta):
"""
Base class for all objects, that ... | en | python | run_002_20260417_060406 | 34 | {
"max_stars_repo_path": "src/biotite/copyable.py",
"max_stars_repo_name": "danijoo/biotite",
"max_stars_count": 208,
"id": "56",
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"sanitize_meta": {
"triple_block_count": 4,
"total_triple_chars": 1355,
"larges... | {
"raw_source_hash": "341a51b18b82c90d7b3e30fd3336eb1d4b9c8a53b3b82ea111b029db942015e1",
"normalized_source_hash": "0e43d1ed62f7c3df806bc37ad5a8d82355151d3cfc3bbd54b6143e0421e5ded7",
"source_ast_hash": "55f679edad18062619e5e9e10fcdf27fcbcddaa7861871b2f4869d82517c00cc",
"artifact_hash": "e6e431d88b6d8860200aef1e... | true | true | null |
python_to_en_plaincode | import pytest
import torch
import ray
from ray.ml.predictors.integrations.torch import TorchPredictor
from ray.ml.train.integrations.torch import TorchTrainer
from ray import train
from ray.ml.examples.pytorch.torch_linear_example import train_func as linear_train_func
@pytest.fixture
def ray_start_4_cpus():
add... | Load pytest.
Load torch.
Load ray.
Load TorchPredictor from ray.ml.predictors.integrations.torch.
Load TorchTrainer from ray.ml.train.integrations.torch.
Load train from ray.
Load train_func referred to as linear_train_func from ray.ml.examples.pytorch.torch_linear_example.
Apply pytest dot fixture to the following:
... | python | en | run_002_20260417_060406 | 35 | {
"max_stars_repo_path": "python/ray/ml/tests/test_torch_trainer.py",
"max_stars_repo_name": "mgelbart/ray",
"max_stars_count": 22,
"id": "63",
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"normalized_source_hash": "aeef61f968faaf2e5508028a9e108215187cbc6e80563f9cb66392f7e8e41e52",
"source_ast_hash": "ebbc14965b3bef2a9779e2ed74077e397e3e97a7d190095b215a165be2fdd859",
"artifact_hash": "786dc1f6194223a5c268c2ba... | true | true | null |
python_to_es_plaincode | import pytest
import torch
import ray
from ray.ml.predictors.integrations.torch import TorchPredictor
from ray.ml.train.integrations.torch import TorchTrainer
from ray import train
from ray.ml.examples.pytorch.torch_linear_example import train_func as linear_train_func
@pytest.fixture
def ray_start_4_cpus():
add... | Importar pytest.
Importar torch.
Importar ray.
Importar TorchPredictor desde ray.ml.predictors.integrations.torch.
Importar TorchTrainer desde ray.ml.train.integrations.torch.
Importar train desde ray.
Importar train_func referido como linear_train_func desde ray.ml.examples.pytorch.torch_linear_example.
Aplicar pytest... | python | es | run_002_20260417_060406 | 35 | {
"max_stars_repo_path": "python/ray/ml/tests/test_torch_trainer.py",
"max_stars_repo_name": "mgelbart/ray",
"max_stars_count": 22,
"id": "63",
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"normalized_source_hash": "aeef61f968faaf2e5508028a9e108215187cbc6e80563f9cb66392f7e8e41e52",
"source_ast_hash": "ebbc14965b3bef2a9779e2ed74077e397e3e97a7d190095b215a165be2fdd859",
"artifact_hash": "786dc1f6194223a5c268c2ba... | true | true | null |
python_to_fr_plaincode | import pytest
import torch
import ray
from ray.ml.predictors.integrations.torch import TorchPredictor
from ray.ml.train.integrations.torch import TorchTrainer
from ray import train
from ray.ml.examples.pytorch.torch_linear_example import train_func as linear_train_func
@pytest.fixture
def ray_start_4_cpus():
add... | Charger pytest.
Charger torch.
Charger ray.
Charger TorchPredictor depuis ray.ml.predictors.integrations.torch.
Charger TorchTrainer depuis ray.ml.train.integrations.torch.
Charger train depuis ray.
Charger train_func référé comme linear_train_func depuis ray.ml.examples.pytorch.torch_linear_example.
Appliquer pytest p... | python | fr | run_002_20260417_060406 | 35 | {
"max_stars_repo_path": "python/ray/ml/tests/test_torch_trainer.py",
"max_stars_repo_name": "mgelbart/ray",
"max_stars_count": 22,
"id": "63",
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"normalized_source_hash": "aeef61f968faaf2e5508028a9e108215187cbc6e80563f9cb66392f7e8e41e52",
"source_ast_hash": "ebbc14965b3bef2a9779e2ed74077e397e3e97a7d190095b215a165be2fdd859",
"artifact_hash": "786dc1f6194223a5c268c2ba... | true | true | null |
en_plaincode_to_python | Load pytest.
Load torch.
Load ray.
Load TorchPredictor from ray.ml.predictors.integrations.torch.
Load TorchTrainer from ray.ml.train.integrations.torch.
Load train from ray.
Load train_func referred to as linear_train_func from ray.ml.examples.pytorch.torch_linear_example.
Apply pytest dot fixture to the following:
... | import pytest
import torch
import ray
from ray.ml.predictors.integrations.torch import TorchPredictor
from ray.ml.train.integrations.torch import TorchTrainer
from ray import train
from ray.ml.examples.pytorch.torch_linear_example import train_func as linear_train_func
@pytest.fixture
def ray_start_4_cpus():
add... | en | python | run_002_20260417_060406 | 35 | {
"max_stars_repo_path": "python/ray/ml/tests/test_torch_trainer.py",
"max_stars_repo_name": "mgelbart/ray",
"max_stars_count": 22,
"id": "63",
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4a2e2c51d584b6e8e7991eb2094ae4f5c8d2e3759b67f0bd83afca2df28d467b",
"normalized_source_hash": "aeef61f968faaf2e5508028a9e108215187cbc6e80563f9cb66392f7e8e41e52",
"source_ast_hash": "ebbc14965b3bef2a9779e2ed74077e397e3e97a7d190095b215a165be2fdd859",
"artifact_hash": "786dc1f6194223a5c268c2ba... | true | true | null |
python_to_en_plaincode | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | python | en | run_002_20260417_060406 | 36 | {
"max_stars_repo_path": "uhd_restpy/testplatform/sessions/ixnetwork/quicktest/learnframes_58e01d83db5d99bcabff902f5cf6ec51.py",
"max_stars_repo_name": "OpenIxia/ixnetwork_restpy",
"max_stars_count": 20,
"id": "64",
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"sani... | {
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"normalized_source_hash": "990bac0f3ca2c42d4e1ed151880e04e77fad29d2c3832d092d90a41177c7edc8",
"source_ast_hash": "34af417c54b766a50213f624ea785a345905bad2e9c27c19d0c073f48ac76490",
"artifact_hash": "52896917538ad87d975ac958... | true | true | null |
python_to_es_plaincode | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | # MIT LICENSE
#
# Copyright 1997 - 2020 por IXIA Keysight
#
# Permission es hereby granted, free de charge, como any person obtaining a copy
# de this software y también associated documentation files (the "Software"),
# como deal en the Software without restriction, including without limitation
# the rights como use, ... | python | es | run_002_20260417_060406 | 36 | {
"max_stars_repo_path": "uhd_restpy/testplatform/sessions/ixnetwork/quicktest/learnframes_58e01d83db5d99bcabff902f5cf6ec51.py",
"max_stars_repo_name": "OpenIxia/ixnetwork_restpy",
"max_stars_count": 20,
"id": "64",
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"sani... | {
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"normalized_source_hash": "990bac0f3ca2c42d4e1ed151880e04e77fad29d2c3832d092d90a41177c7edc8",
"source_ast_hash": "34af417c54b766a50213f624ea785a345905bad2e9c27c19d0c073f48ac76490",
"artifact_hash": "52896917538ad87d975ac958... | true | true | null |
python_to_fr_plaincode | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | # MIT LICENSE
#
# Copyright 1997 - 2020 par IXIA Keysight
#
# Permission est hereby granted, free de charge, à any person obtaining a copy
# de this software et associated documentation files (the "Software"),
# à deal dans the Software without restriction, including without limitation
# the rights à use, copy, modify,... | python | fr | run_002_20260417_060406 | 36 | {
"max_stars_repo_path": "uhd_restpy/testplatform/sessions/ixnetwork/quicktest/learnframes_58e01d83db5d99bcabff902f5cf6ec51.py",
"max_stars_repo_name": "OpenIxia/ixnetwork_restpy",
"max_stars_count": 20,
"id": "64",
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"sani... | {
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"normalized_source_hash": "990bac0f3ca2c42d4e1ed151880e04e77fad29d2c3832d092d90a41177c7edc8",
"source_ast_hash": "34af417c54b766a50213f624ea785a345905bad2e9c27c19d0c073f48ac76490",
"artifact_hash": "52896917538ad87d975ac958... | true | true | null |
en_plaincode_to_python | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | en | python | run_002_20260417_060406 | 36 | {
"max_stars_repo_path": "uhd_restpy/testplatform/sessions/ixnetwork/quicktest/learnframes_58e01d83db5d99bcabff902f5cf6ec51.py",
"max_stars_repo_name": "OpenIxia/ixnetwork_restpy",
"max_stars_count": 20,
"id": "64",
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"sani... | {
"raw_source_hash": "3297e5308c962b859a1c6c5705a2938af4ce5158061bab219ba57d1147a7f0fb",
"normalized_source_hash": "990bac0f3ca2c42d4e1ed151880e04e77fad29d2c3832d092d90a41177c7edc8",
"source_ast_hash": "34af417c54b766a50213f624ea785a345905bad2e9c27c19d0c073f48ac76490",
"artifact_hash": "52896917538ad87d975ac958... | true | true | null |
python_to_en_plaincode | from nonebot import CommandSession, on_command
from langdetect import detect, detect_langs
from aiohttp import ClientSession
from nonebot import get_bot
from nonebot.argparse import ArgumentParser
import time
import hmac
import random, sys
import hashlib
import binascii
import urllib
bot = get_bot()
# 百度通用翻译API,不包含词典、... | Load CommandSession, on_command from nonebot.
Load detect, detect_langs from langdetect.
Load ClientSession from aiohttp.
Load get_bot from nonebot.
Load ArgumentParser from nonebot.argparse.
Load time.
Load hmac.
Load random, sys.
Load hashlib.
Load binascii.
Load urllib.
Set bot to get_bot with no values.
# 百度通用翻译API... | python | en | run_002_20260417_060406 | 37 | {
"max_stars_repo_path": "Pzzzzz/plugins/wm.py",
"max_stars_repo_name": "Pzzzzz5142/animal-forest-QQ-group-bot",
"max_stars_count": 5,
"id": "67",
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"normalized_source_hash": "152d7f4e6643f2d8b666927135aaa4668c517c4a58cc99a63676d6c0e3e31c7f",
"source_ast_hash": "308e96d2ca238935328cfb241120f31d14c1fa905b5f07a691b261f24b0ced30",
"artifact_hash": "d209f9b503878edeebd4d89d... | true | true | null |
python_to_es_plaincode | from nonebot import CommandSession, on_command
from langdetect import detect, detect_langs
from aiohttp import ClientSession
from nonebot import get_bot
from nonebot.argparse import ArgumentParser
import time
import hmac
import random, sys
import hashlib
import binascii
import urllib
bot = get_bot()
# 百度通用翻译API,不包含词典、... | Importar CommandSession, on_command desde nonebot.
Importar detect, detect_langs desde langdetect.
Importar ClientSession desde aiohttp.
Importar get_bot desde nonebot.
Importar ArgumentParser desde nonebot.argparse.
Importar time.
Importar hmac.
Importar random, sys.
Importar hashlib.
Importar binascii.
Importar urlli... | python | es | run_002_20260417_060406 | 37 | {
"max_stars_repo_path": "Pzzzzz/plugins/wm.py",
"max_stars_repo_name": "Pzzzzz5142/animal-forest-QQ-group-bot",
"max_stars_count": 5,
"id": "67",
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"normalized_source_hash": "152d7f4e6643f2d8b666927135aaa4668c517c4a58cc99a63676d6c0e3e31c7f",
"source_ast_hash": "308e96d2ca238935328cfb241120f31d14c1fa905b5f07a691b261f24b0ced30",
"artifact_hash": "d209f9b503878edeebd4d89d... | true | true | null |
python_to_fr_plaincode | from nonebot import CommandSession, on_command
from langdetect import detect, detect_langs
from aiohttp import ClientSession
from nonebot import get_bot
from nonebot.argparse import ArgumentParser
import time
import hmac
import random, sys
import hashlib
import binascii
import urllib
bot = get_bot()
# 百度通用翻译API,不包含词典、... | Charger CommandSession, on_command depuis nonebot.
Charger detect, detect_langs depuis langdetect.
Charger ClientSession depuis aiohttp.
Charger get_bot depuis nonebot.
Charger ArgumentParser depuis nonebot.argparse.
Charger time.
Charger hmac.
Charger random, sys.
Charger hashlib.
Charger binascii.
Charger urllib.
Aff... | python | fr | run_002_20260417_060406 | 37 | {
"max_stars_repo_path": "Pzzzzz/plugins/wm.py",
"max_stars_repo_name": "Pzzzzz5142/animal-forest-QQ-group-bot",
"max_stars_count": 5,
"id": "67",
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"normalized_source_hash": "152d7f4e6643f2d8b666927135aaa4668c517c4a58cc99a63676d6c0e3e31c7f",
"source_ast_hash": "308e96d2ca238935328cfb241120f31d14c1fa905b5f07a691b261f24b0ced30",
"artifact_hash": "d209f9b503878edeebd4d89d... | true | true | null |
en_plaincode_to_python | Load CommandSession, on_command from nonebot.
Load detect, detect_langs from langdetect.
Load ClientSession from aiohttp.
Load get_bot from nonebot.
Load ArgumentParser from nonebot.argparse.
Load time.
Load hmac.
Load random, sys.
Load hashlib.
Load binascii.
Load urllib.
Set bot to get_bot with no values.
# 百度通用翻译API... | from nonebot import CommandSession, on_command
from langdetect import detect, detect_langs
from aiohttp import ClientSession
from nonebot import get_bot
from nonebot.argparse import ArgumentParser
import time
import hmac
import random, sys
import hashlib
import binascii
import urllib
bot = get_bot()
# 百度通用翻译API,不包含词典、... | en | python | run_002_20260417_060406 | 37 | {
"max_stars_repo_path": "Pzzzzz/plugins/wm.py",
"max_stars_repo_name": "Pzzzzz5142/animal-forest-QQ-group-bot",
"max_stars_count": 5,
"id": "67",
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": ... | {
"raw_source_hash": "6e37e4bbd35bb24bf0254a76ed7c85a364f34a1f685a0ffcac3b380b919b24c6",
"normalized_source_hash": "152d7f4e6643f2d8b666927135aaa4668c517c4a58cc99a63676d6c0e3e31c7f",
"source_ast_hash": "308e96d2ca238935328cfb241120f31d14c1fa905b5f07a691b261f24b0ced30",
"artifact_hash": "d209f9b503878edeebd4d89d... | true | true | null |
python_to_en_plaincode | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | python | en | run_002_20260417_060406 | 38 | {
"max_stars_repo_path": "octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py",
"max_stars_repo_name": "mauroseb/octavia",
"max_stars_count": 0,
"id": "69",
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"normalized_source_hash": "0cfe3e44d23274db4dc1a708ea7ea8aa96e00999eaff5ae066590ac1c3fb9ada",
"source_ast_hash": "4db3972a5589e5f558eccd7700bde5fb891d92813fd9b59a2be3ad19ba2e084c",
"artifact_hash": "e948632a49e207ec5f59ccf8... | true | true | null |
python_to_es_plaincode | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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 ... | python | es | run_002_20260417_060406 | 38 | {
"max_stars_repo_path": "octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py",
"max_stars_repo_name": "mauroseb/octavia",
"max_stars_count": 0,
"id": "69",
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"normalized_source_hash": "0cfe3e44d23274db4dc1a708ea7ea8aa96e00999eaff5ae066590ac1c3fb9ada",
"source_ast_hash": "4db3972a5589e5f558eccd7700bde5fb891d92813fd9b59a2be3ad19ba2e084c",
"artifact_hash": "e948632a49e207ec5f59ccf8... | true | true | null |
python_to_fr_plaincode | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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 ... | python | fr | run_002_20260417_060406 | 38 | {
"max_stars_repo_path": "octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py",
"max_stars_repo_name": "mauroseb/octavia",
"max_stars_count": 0,
"id": "69",
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"normalized_source_hash": "0cfe3e44d23274db4dc1a708ea7ea8aa96e00999eaff5ae066590ac1c3fb9ada",
"source_ast_hash": "4db3972a5589e5f558eccd7700bde5fb891d92813fd9b59a2be3ad19ba2e084c",
"artifact_hash": "e948632a49e207ec5f59ccf8... | true | true | null |
en_plaincode_to_python | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | # Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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... | en | python | run_002_20260417_060406 | 38 | {
"max_stars_repo_path": "octavia/tests/unit/controller/worker/v2/tasks/test_database_tasks.py",
"max_stars_repo_name": "mauroseb/octavia",
"max_stars_count": 0,
"id": "69",
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"sanitize_meta": {
"triple_block_count": 0,... | {
"raw_source_hash": "26d7c5b486d3d56e89ef7687d08fd83cda5583ef7c8e27103e99c199907991a1",
"normalized_source_hash": "0cfe3e44d23274db4dc1a708ea7ea8aa96e00999eaff5ae066590ac1c3fb9ada",
"source_ast_hash": "4db3972a5589e5f558eccd7700bde5fb891d92813fd9b59a2be3ad19ba2e084c",
"artifact_hash": "e948632a49e207ec5f59ccf8... | true | true | null |
python_to_en_plaincode | import time
from bs4 import BeautifulSoup
import requests
import pymysql.cursors
import unittest
class UnitTestsDataMinerYellowPagesLithuania(unittest.TestCase):
def test_extract_one_email(self):
url = "https://www.visalietuva.lt/en/company/astorija-hotel-uab"
# Request the content of a page from... | Load time.
Load BeautifulSoup from bs4.
Load requests.
Load pymysql.cursors.
Load unittest.
Define class UnitTestsDataMinerYellowPagesLithuania inheriting from unittest.TestCase:
Define method test_extract_one_email with parameter self:
Set url to "https://www.visalietuva.lt/en/company/astorija-hotel-uab".
... | python | en | run_002_20260417_060406 | 39 | {
"max_stars_repo_path": "Yellow_Pages_Lithuania/unit_tests.py",
"max_stars_repo_name": "Jay4C/Web-Scraping",
"max_stars_count": 1,
"id": "70",
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"normalized_source_hash": "b9fdf4bcd10475fae1a84c641016b0c2c3ff194fc3d8e936c4f8faf9fbe846f8",
"source_ast_hash": "5847839b80d787a460cf308ee3481f2cbeb5983cdfd7325044fb48276167debd",
"artifact_hash": "576e0051ae169409d5877510... | true | true | null |
python_to_es_plaincode | import time
from bs4 import BeautifulSoup
import requests
import pymysql.cursors
import unittest
class UnitTestsDataMinerYellowPagesLithuania(unittest.TestCase):
def test_extract_one_email(self):
url = "https://www.visalietuva.lt/en/company/astorija-hotel-uab"
# Request the content of a page from... | Importar time.
Importar BeautifulSoup desde bs4.
Importar requests.
Importar pymysql.cursors.
Importar unittest.
Definir clase UnitTestsDataMinerYellowPagesLithuania heredando de unittest.TestCase:
Definir método test_extract_one_email con parámetro self:
Establecer url como "https://www.visalietuva.lt/en/c... | python | es | run_002_20260417_060406 | 39 | {
"max_stars_repo_path": "Yellow_Pages_Lithuania/unit_tests.py",
"max_stars_repo_name": "Jay4C/Web-Scraping",
"max_stars_count": 1,
"id": "70",
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"normalized_source_hash": "b9fdf4bcd10475fae1a84c641016b0c2c3ff194fc3d8e936c4f8faf9fbe846f8",
"source_ast_hash": "5847839b80d787a460cf308ee3481f2cbeb5983cdfd7325044fb48276167debd",
"artifact_hash": "576e0051ae169409d5877510... | true | true | null |
python_to_fr_plaincode | import time
from bs4 import BeautifulSoup
import requests
import pymysql.cursors
import unittest
class UnitTestsDataMinerYellowPagesLithuania(unittest.TestCase):
def test_extract_one_email(self):
url = "https://www.visalietuva.lt/en/company/astorija-hotel-uab"
# Request the content of a page from... | Charger time.
Charger BeautifulSoup depuis bs4.
Charger requests.
Charger pymysql.cursors.
Charger unittest.
Définir classe UnitTestsDataMinerYellowPagesLithuania héritant de unittest.TestCase:
Définir méthode test_extract_one_email avec paramètre self:
Affecter url à "https://www.visalietuva.lt/en/company/... | python | fr | run_002_20260417_060406 | 39 | {
"max_stars_repo_path": "Yellow_Pages_Lithuania/unit_tests.py",
"max_stars_repo_name": "Jay4C/Web-Scraping",
"max_stars_count": 1,
"id": "70",
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"normalized_source_hash": "b9fdf4bcd10475fae1a84c641016b0c2c3ff194fc3d8e936c4f8faf9fbe846f8",
"source_ast_hash": "5847839b80d787a460cf308ee3481f2cbeb5983cdfd7325044fb48276167debd",
"artifact_hash": "576e0051ae169409d5877510... | true | true | null |
en_plaincode_to_python | Load time.
Load BeautifulSoup from bs4.
Load requests.
Load pymysql.cursors.
Load unittest.
Define class UnitTestsDataMinerYellowPagesLithuania inheriting from unittest.TestCase:
Define method test_extract_one_email with parameter self:
Set url to "https://www.visalietuva.lt/en/company/astorija-hotel-uab".
... | import time
from bs4 import BeautifulSoup
import requests
import pymysql.cursors
import unittest
class UnitTestsDataMinerYellowPagesLithuania(unittest.TestCase):
def test_extract_one_email(self):
url = "https://www.visalietuva.lt/en/company/astorija-hotel-uab"
# Request the content of a page from... | en | python | run_002_20260417_060406 | 39 | {
"max_stars_repo_path": "Yellow_Pages_Lithuania/unit_tests.py",
"max_stars_repo_name": "Jay4C/Web-Scraping",
"max_stars_count": 1,
"id": "70",
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
... | {
"raw_source_hash": "4d199cd24fc9b5238112121ffc0b93dffd462799fdb6f28d9fa6f0b05a122815",
"normalized_source_hash": "b9fdf4bcd10475fae1a84c641016b0c2c3ff194fc3d8e936c4f8faf9fbe846f8",
"source_ast_hash": "5847839b80d787a460cf308ee3481f2cbeb5983cdfd7325044fb48276167debd",
"artifact_hash": "576e0051ae169409d5877510... | true | true | null |
python_to_en_plaincode | # pylint: disable=protected-access
import os
import re
import pytest
from dagster import file_relative_path
from dagster.core.errors import DagsterInstanceMigrationRequired
from dagster.core.instance import DagsterInstance, InstanceRef
from dagster.utils.test import restore_directory
# test that we can load runs an... | # pylint: disable=protected-access
Load os.
Load re.
Load pytest.
Load file_relative_path from dagster.
Load DagsterInstanceMigrationRequired from dagster.core.errors.
Load DagsterInstance, InstanceRef from dagster.core.instance.
Load restore_directory from dagster.utils.test.
# test that we can load runs and events fr... | python | en | run_002_20260417_060406 | 40 | {
"max_stars_repo_path": "python_modules/dagster/dagster_tests/compat_tests/test_back_compat.py",
"max_stars_repo_name": "vatervonacht/dagster",
"max_stars_count": 3,
"id": "71",
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"normalized_source_hash": "7cd00c1936cdf57d2f81df6109fd62c8dbdbf4e3de75426644352fda3fb69760",
"source_ast_hash": "f1c23c320651b1cd289ba63a19c02d3159df9bab28a017ddb456c4b26a8a48f4",
"artifact_hash": "850fa9f04489bbd6dcf5c5b1... | true | true | null |
python_to_es_plaincode | # pylint: disable=protected-access
import os
import re
import pytest
from dagster import file_relative_path
from dagster.core.errors import DagsterInstanceMigrationRequired
from dagster.core.instance import DagsterInstance, InstanceRef
from dagster.utils.test import restore_directory
# test that we can load runs an... | # pylint: disable=protected-access
Importar os.
Importar re.
Importar pytest.
Importar file_relative_path desde dagster.
Importar DagsterInstanceMigrationRequired desde dagster.core.errors.
Importar DagsterInstance, InstanceRef desde dagster.core.instance.
Importar restore_directory desde dagster.utils.test.
# test tha... | python | es | run_002_20260417_060406 | 40 | {
"max_stars_repo_path": "python_modules/dagster/dagster_tests/compat_tests/test_back_compat.py",
"max_stars_repo_name": "vatervonacht/dagster",
"max_stars_count": 3,
"id": "71",
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"normalized_source_hash": "7cd00c1936cdf57d2f81df6109fd62c8dbdbf4e3de75426644352fda3fb69760",
"source_ast_hash": "f1c23c320651b1cd289ba63a19c02d3159df9bab28a017ddb456c4b26a8a48f4",
"artifact_hash": "850fa9f04489bbd6dcf5c5b1... | true | true | null |
python_to_fr_plaincode | # pylint: disable=protected-access
import os
import re
import pytest
from dagster import file_relative_path
from dagster.core.errors import DagsterInstanceMigrationRequired
from dagster.core.instance import DagsterInstance, InstanceRef
from dagster.utils.test import restore_directory
# test that we can load runs an... | # pylint: disable=protected-access
Charger os.
Charger re.
Charger pytest.
Charger file_relative_path depuis dagster.
Charger DagsterInstanceMigrationRequired depuis dagster.core.errors.
Charger DagsterInstance, InstanceRef depuis dagster.core.instance.
Charger restore_directory depuis dagster.utils.test.
# test that w... | python | fr | run_002_20260417_060406 | 40 | {
"max_stars_repo_path": "python_modules/dagster/dagster_tests/compat_tests/test_back_compat.py",
"max_stars_repo_name": "vatervonacht/dagster",
"max_stars_count": 3,
"id": "71",
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"normalized_source_hash": "7cd00c1936cdf57d2f81df6109fd62c8dbdbf4e3de75426644352fda3fb69760",
"source_ast_hash": "f1c23c320651b1cd289ba63a19c02d3159df9bab28a017ddb456c4b26a8a48f4",
"artifact_hash": "850fa9f04489bbd6dcf5c5b1... | true | true | null |
en_plaincode_to_python | # pylint: disable=protected-access
Load os.
Load re.
Load pytest.
Load file_relative_path from dagster.
Load DagsterInstanceMigrationRequired from dagster.core.errors.
Load DagsterInstance, InstanceRef from dagster.core.instance.
Load restore_directory from dagster.utils.test.
# test that we can load runs and events fr... | # pylint: disable=protected-access
import os
import re
import pytest
from dagster import file_relative_path
from dagster.core.errors import DagsterInstanceMigrationRequired
from dagster.core.instance import DagsterInstance, InstanceRef
from dagster.utils.test import restore_directory
# test that we can load runs an... | en | python | run_002_20260417_060406 | 40 | {
"max_stars_repo_path": "python_modules/dagster/dagster_tests/compat_tests/test_back_compat.py",
"max_stars_repo_name": "vatervonacht/dagster",
"max_stars_count": 3,
"id": "71",
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "17cfbe2bc3431a1942427a80e9bd4ef30bdd1273d2bb6fc3532f37193bdd9403",
"normalized_source_hash": "7cd00c1936cdf57d2f81df6109fd62c8dbdbf4e3de75426644352fda3fb69760",
"source_ast_hash": "f1c23c320651b1cd289ba63a19c02d3159df9bab28a017ddb456c4b26a8a48f4",
"artifact_hash": "850fa9f04489bbd6dcf5c5b1... | true | true | null |
python_to_en_plaincode | import matplotlib.pyplot as plt
import pandas as pd
def group_by_category(df):
grouped = df.groupby(['CATEGORY']).size().to_frame('Crimes')
labels = ['Trespassing', 'Vehicle theft', 'General Theft',
'Damage to Property', 'Robbery', 'Homicide']
p = grouped.plot.pie(y='Crimes', labels=labels, ... | Load matplotlib.pyplot, referred to as plt.
Load pandas, referred to as pd.
Define function group_by_category with parameter df:
Set grouped to ((df dot groupby with the list ["CATEGORY"]) dot size with no values) dot to_frame with "Crimes".
Set labels to the list [
"Trespassing",
"Vehicle theft",
"... | python | en | run_002_20260417_060406 | 41 | {
"max_stars_repo_path": "scripts/charts.py",
"max_stars_repo_name": "yshrdbrn/bigdata",
"max_stars_count": 0,
"id": "72",
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_b... | {
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"normalized_source_hash": "9eab996357ea2b91a94f83e0596a4f20401474eb92a39610fd8c1081eebc35f7",
"source_ast_hash": "d9817c110dfe56fe295af859275402dc67c2ff150f436bd2384450ed3d5df6ea",
"artifact_hash": "092f9c106e51aa8d494371ec... | true | true | null |
python_to_es_plaincode | import matplotlib.pyplot as plt
import pandas as pd
def group_by_category(df):
grouped = df.groupby(['CATEGORY']).size().to_frame('Crimes')
labels = ['Trespassing', 'Vehicle theft', 'General Theft',
'Damage to Property', 'Robbery', 'Homicide']
p = grouped.plot.pie(y='Crimes', labels=labels, ... | Importar matplotlib.pyplot, referido como plt.
Importar pandas, referido como pd.
Definir función group_by_category con parámetro df:
Establecer grouped como ((df punto groupby con la lista ["CATEGORY"]) punto size sin argumentos) punto to_frame con "Crimes".
Establecer labels como la lista [
"Trespassing",... | python | es | run_002_20260417_060406 | 41 | {
"max_stars_repo_path": "scripts/charts.py",
"max_stars_repo_name": "yshrdbrn/bigdata",
"max_stars_count": 0,
"id": "72",
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_b... | {
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"normalized_source_hash": "9eab996357ea2b91a94f83e0596a4f20401474eb92a39610fd8c1081eebc35f7",
"source_ast_hash": "d9817c110dfe56fe295af859275402dc67c2ff150f436bd2384450ed3d5df6ea",
"artifact_hash": "092f9c106e51aa8d494371ec... | true | true | null |
python_to_fr_plaincode | import matplotlib.pyplot as plt
import pandas as pd
def group_by_category(df):
grouped = df.groupby(['CATEGORY']).size().to_frame('Crimes')
labels = ['Trespassing', 'Vehicle theft', 'General Theft',
'Damage to Property', 'Robbery', 'Homicide']
p = grouped.plot.pie(y='Crimes', labels=labels, ... | Charger matplotlib.pyplot, référé comme plt.
Charger pandas, référé comme pd.
Définir fonction group_by_category avec paramètre df:
Affecter grouped à ((df point de groupby avec la liste ["CATEGORY"]) point de size sans arguments) point de to_frame avec "Crimes".
Affecter labels à la liste [
"Trespassing",
... | python | fr | run_002_20260417_060406 | 41 | {
"max_stars_repo_path": "scripts/charts.py",
"max_stars_repo_name": "yshrdbrn/bigdata",
"max_stars_count": 0,
"id": "72",
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_b... | {
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"normalized_source_hash": "9eab996357ea2b91a94f83e0596a4f20401474eb92a39610fd8c1081eebc35f7",
"source_ast_hash": "d9817c110dfe56fe295af859275402dc67c2ff150f436bd2384450ed3d5df6ea",
"artifact_hash": "092f9c106e51aa8d494371ec... | true | true | null |
en_plaincode_to_python | Load matplotlib.pyplot, referred to as plt.
Load pandas, referred to as pd.
Define function group_by_category with parameter df:
Set grouped to ((df dot groupby with the list ["CATEGORY"]) dot size with no values) dot to_frame with "Crimes".
Set labels to the list [
"Trespassing",
"Vehicle theft",
"... | import matplotlib.pyplot as plt
import pandas as pd
def group_by_category(df):
grouped = df.groupby(['CATEGORY']).size().to_frame('Crimes')
labels = ['Trespassing', 'Vehicle theft', 'General Theft',
'Damage to Property', 'Robbery', 'Homicide']
p = grouped.plot.pie(y='Crimes', labels=labels, ... | en | python | run_002_20260417_060406 | 41 | {
"max_stars_repo_path": "scripts/charts.py",
"max_stars_repo_name": "yshrdbrn/bigdata",
"max_stars_count": 0,
"id": "72",
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_b... | {
"raw_source_hash": "caea9dee308587e9d9cc634fa5d85d3dc860b40ed56d2df7c38496f8640aa0d7",
"normalized_source_hash": "9eab996357ea2b91a94f83e0596a4f20401474eb92a39610fd8c1081eebc35f7",
"source_ast_hash": "d9817c110dfe56fe295af859275402dc67c2ff150f436bd2384450ed3d5df6ea",
"artifact_hash": "092f9c106e51aa8d494371ec... | true | true | null |
python_to_en_plaincode | # Unit tests
import unittest
def run_test_instance(unittestinstance, profile, committeesize, tests):
import rules_approval
# all rules used?
for rule in rules_approval.MWRULES:
unittestinstance.assertTrue(rule in tests.keys())
for rule in tests.keys():
output = rules_approval.comp... | # Unit tests
Load unittest.
Define function run_test_instance with parameters unittestinstance, profile, committeesize, tests:
Load rules_approval.
# all rules used?
For each rule in rules_approval dot MWRULES:
Call unittestinstance dot assertTrue with (rule is in tests dot keys with no values).
... | python | en | run_002_20260417_060406 | 42 | {
"max_stars_repo_path": "unittests.py",
"max_stars_repo_name": "benjaminkrenn/abcvoting",
"max_stars_count": 0,
"id": "73",
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"normalized_source_hash": "d921e0b68a69eb439f88e0d771632195ba3f533dba41286c73504458f9187e4e",
"source_ast_hash": "abcd6cd12059f575b6330cbb184775591abc91f7f71fd4a043d45739c929b2de",
"artifact_hash": "592dbe0905501d4b78ab6076... | true | true | null |
python_to_es_plaincode | # Unit tests
import unittest
def run_test_instance(unittestinstance, profile, committeesize, tests):
import rules_approval
# all rules used?
for rule in rules_approval.MWRULES:
unittestinstance.assertTrue(rule in tests.keys())
for rule in tests.keys():
output = rules_approval.comp... | # Unit tests
Importar unittest.
Definir función run_test_instance con parámetros unittestinstance, profile, committeesize, tests:
Importar rules_approval.
# all rules used?
Para cada rule en rules_approval punto MWRULES:
Llamar unittestinstance punto assertTrue con (rule está en tests punto keys sin... | python | es | run_002_20260417_060406 | 42 | {
"max_stars_repo_path": "unittests.py",
"max_stars_repo_name": "benjaminkrenn/abcvoting",
"max_stars_count": 0,
"id": "73",
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"normalized_source_hash": "d921e0b68a69eb439f88e0d771632195ba3f533dba41286c73504458f9187e4e",
"source_ast_hash": "abcd6cd12059f575b6330cbb184775591abc91f7f71fd4a043d45739c929b2de",
"artifact_hash": "592dbe0905501d4b78ab6076... | true | true | null |
python_to_fr_plaincode | # Unit tests
import unittest
def run_test_instance(unittestinstance, profile, committeesize, tests):
import rules_approval
# all rules used?
for rule in rules_approval.MWRULES:
unittestinstance.assertTrue(rule in tests.keys())
for rule in tests.keys():
output = rules_approval.comp... | # Unit tests
Charger unittest.
Définir fonction run_test_instance avec paramètres unittestinstance, profile, committeesize, tests:
Charger rules_approval.
# all rules used?
Pour chaque rule dans rules_approval point de MWRULES:
Appeler unittestinstance point de assertTrue avec (rule est dans tests p... | python | fr | run_002_20260417_060406 | 42 | {
"max_stars_repo_path": "unittests.py",
"max_stars_repo_name": "benjaminkrenn/abcvoting",
"max_stars_count": 0,
"id": "73",
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"normalized_source_hash": "d921e0b68a69eb439f88e0d771632195ba3f533dba41286c73504458f9187e4e",
"source_ast_hash": "abcd6cd12059f575b6330cbb184775591abc91f7f71fd4a043d45739c929b2de",
"artifact_hash": "592dbe0905501d4b78ab6076... | true | true | null |
en_plaincode_to_python | # Unit tests
Load unittest.
Define function run_test_instance with parameters unittestinstance, profile, committeesize, tests:
Load rules_approval.
# all rules used?
For each rule in rules_approval dot MWRULES:
Call unittestinstance dot assertTrue with (rule is in tests dot keys with no values).
... | # Unit tests
import unittest
def run_test_instance(unittestinstance, profile, committeesize, tests):
import rules_approval
# all rules used?
for rule in rules_approval.MWRULES:
unittestinstance.assertTrue(rule in tests.keys())
for rule in tests.keys():
output = rules_approval.comp... | en | python | run_002_20260417_060406 | 42 | {
"max_stars_repo_path": "unittests.py",
"max_stars_repo_name": "benjaminkrenn/abcvoting",
"max_stars_count": 0,
"id": "73",
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple... | {
"raw_source_hash": "4a2332fad48bc4338cc08607c09918b01a2fda7337431d158a5506cdca4497e6",
"normalized_source_hash": "d921e0b68a69eb439f88e0d771632195ba3f533dba41286c73504458f9187e4e",
"source_ast_hash": "abcd6cd12059f575b6330cbb184775591abc91f7f71fd4a043d45739c929b2de",
"artifact_hash": "592dbe0905501d4b78ab6076... | true | true | null |
python_to_en_plaincode | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
__copyright__ = ('Copyright Amazon.com, Inc. or its affiliates. '
'All Rights Reserved.')
__version__ = '2.7.1'
__license__ = 'MIT-0'
__author__ = '<NAME>'
__url__ = 'https://github.com/aws-samples/sie... | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
Set __copyright__ to "Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.".
Set __version__ to "2.7.1".
Set __license__ to "MIT-0".
Set __author__ to "<NAME>".
Set __url__ to "https://github.com/aws-samp... | python | en | run_002_20260417_060406 | 43 | {
"max_stars_repo_path": "source/lambda/geoip_downloader/index.py",
"max_stars_repo_name": "aws-samples/siem-on-amazon-opensearch-service",
"max_stars_count": 92,
"id": "75",
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"normalized_source_hash": "9a58fbf41570bb0c1d26f0431beeb8d2ff00894f85e8c0527e61572e95b63fd1",
"source_ast_hash": "f94a3b2ecb3f4ddb276ed8375d1d84418f3ece745591405a49626634d42bea69",
"artifact_hash": "4099196200c8fa991f041eee... | true | true | null |
python_to_es_plaincode | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
__copyright__ = ('Copyright Amazon.com, Inc. or its affiliates. '
'All Rights Reserved.')
__version__ = '2.7.1'
__license__ = 'MIT-0'
__author__ = '<NAME>'
__url__ = 'https://github.com/aws-samples/sie... | # Copyright Amazon.com, Inc. o its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
Establecer __copyright__ como "Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.".
Establecer __version__ como "2.7.1".
Establecer __license__ como "MIT-0".
Establecer __author__ como "<NAME>".
Establec... | python | es | run_002_20260417_060406 | 43 | {
"max_stars_repo_path": "source/lambda/geoip_downloader/index.py",
"max_stars_repo_name": "aws-samples/siem-on-amazon-opensearch-service",
"max_stars_count": 92,
"id": "75",
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"normalized_source_hash": "9a58fbf41570bb0c1d26f0431beeb8d2ff00894f85e8c0527e61572e95b63fd1",
"source_ast_hash": "f94a3b2ecb3f4ddb276ed8375d1d84418f3ece745591405a49626634d42bea69",
"artifact_hash": "4099196200c8fa991f041eee... | true | true | null |
python_to_fr_plaincode | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
__copyright__ = ('Copyright Amazon.com, Inc. or its affiliates. '
'All Rights Reserved.')
__version__ = '2.7.1'
__license__ = 'MIT-0'
__author__ = '<NAME>'
__url__ = 'https://github.com/aws-samples/sie... | # Copyright Amazon.com, Inc. ou its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
Affecter __copyright__ à "Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.".
Affecter __version__ à "2.7.1".
Affecter __license__ à "MIT-0".
Affecter __author__ à "<NAME>".
Affecter __url__ à "https:/... | python | fr | run_002_20260417_060406 | 43 | {
"max_stars_repo_path": "source/lambda/geoip_downloader/index.py",
"max_stars_repo_name": "aws-samples/siem-on-amazon-opensearch-service",
"max_stars_count": 92,
"id": "75",
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"normalized_source_hash": "9a58fbf41570bb0c1d26f0431beeb8d2ff00894f85e8c0527e61572e95b63fd1",
"source_ast_hash": "f94a3b2ecb3f4ddb276ed8375d1d84418f3ece745591405a49626634d42bea69",
"artifact_hash": "4099196200c8fa991f041eee... | true | true | null |
en_plaincode_to_python | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
Set __copyright__ to "Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.".
Set __version__ to "2.7.1".
Set __license__ to "MIT-0".
Set __author__ to "<NAME>".
Set __url__ to "https://github.com/aws-samp... | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
__copyright__ = ('Copyright Amazon.com, Inc. or its affiliates. '
'All Rights Reserved.')
__version__ = '2.7.1'
__license__ = 'MIT-0'
__author__ = '<NAME>'
__url__ = 'https://github.com/aws-samples/sie... | en | python | run_002_20260417_060406 | 43 | {
"max_stars_repo_path": "source/lambda/geoip_downloader/index.py",
"max_stars_repo_name": "aws-samples/siem-on-amazon-opensearch-service",
"max_stars_count": 92,
"id": "75",
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"sanitize_meta": {
"triple_block_count": 0... | {
"raw_source_hash": "1ca6ae002aa781791dc0d80e0f977d22fbb869b1de50ac47352aabe0263dd17c",
"normalized_source_hash": "9a58fbf41570bb0c1d26f0431beeb8d2ff00894f85e8c0527e61572e95b63fd1",
"source_ast_hash": "f94a3b2ecb3f4ddb276ed8375d1d84418f3ece745591405a49626634d42bea69",
"artifact_hash": "4099196200c8fa991f041eee... | true | true | null |
python_to_en_plaincode | #-------------------------------------------------------------------------------
#
# WPS 1.0 parameters' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
#-------------------------------------------------------------------------------
# Copyright (C) 2... | # -------------------------------------------------------------------------------
#
# WPS 1.0 parameters' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
# -------------------------------------------------------------------------------
# Copyright (C)... | python | en | run_002_20260417_060406 | 44 | {
"max_stars_repo_path": "eoxserver/services/ows/wps/v10/encoders/parameters.py",
"max_stars_repo_name": "constantinius/eoxserver_combined",
"max_stars_count": 1,
"id": "79",
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"sanitize_meta": {
"triple_block_count": 6... | {
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"normalized_source_hash": "beae9e9d4b2561766e491dfa511f86f86bb81ea83345a9a0644db2762349a338",
"source_ast_hash": "fe51b28dd08b424e8b52c05b3cbb5f3681d75ee16c7bbd193e9e7b80b4a04b3b",
"artifact_hash": "8a2460969e7206596a20ae38... | true | true | null |
python_to_es_plaincode | #-------------------------------------------------------------------------------
#
# WPS 1.0 parameters' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
#-------------------------------------------------------------------------------
# Copyright (C) 2... | # -------------------------------------------------------------------------------
#
# WPS 1.0 parámetros' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
# -------------------------------------------------------------------------------
# Copyright (C)... | python | es | run_002_20260417_060406 | 44 | {
"max_stars_repo_path": "eoxserver/services/ows/wps/v10/encoders/parameters.py",
"max_stars_repo_name": "constantinius/eoxserver_combined",
"max_stars_count": 1,
"id": "79",
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"sanitize_meta": {
"triple_block_count": 6... | {
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"normalized_source_hash": "beae9e9d4b2561766e491dfa511f86f86bb81ea83345a9a0644db2762349a338",
"source_ast_hash": "fe51b28dd08b424e8b52c05b3cbb5f3681d75ee16c7bbd193e9e7b80b4a04b3b",
"artifact_hash": "8a2460969e7206596a20ae38... | true | true | null |
python_to_fr_plaincode | #-------------------------------------------------------------------------------
#
# WPS 1.0 parameters' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
#-------------------------------------------------------------------------------
# Copyright (C) 2... | # -------------------------------------------------------------------------------
#
# WPS 1.0 paramètres' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
# -------------------------------------------------------------------------------
# Copyright (C)... | python | fr | run_002_20260417_060406 | 44 | {
"max_stars_repo_path": "eoxserver/services/ows/wps/v10/encoders/parameters.py",
"max_stars_repo_name": "constantinius/eoxserver_combined",
"max_stars_count": 1,
"id": "79",
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"sanitize_meta": {
"triple_block_count": 6... | {
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"normalized_source_hash": "beae9e9d4b2561766e491dfa511f86f86bb81ea83345a9a0644db2762349a338",
"source_ast_hash": "fe51b28dd08b424e8b52c05b3cbb5f3681d75ee16c7bbd193e9e7b80b4a04b3b",
"artifact_hash": "8a2460969e7206596a20ae38... | true | true | null |
en_plaincode_to_python | # -------------------------------------------------------------------------------
#
# WPS 1.0 parameters' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
# -------------------------------------------------------------------------------
# Copyright (C)... | #-------------------------------------------------------------------------------
#
# WPS 1.0 parameters' XML encoders
#
# Project: EOxServer <http://eoxserver.org>
# Authors: <NAME> <<EMAIL>>
# <NAME> <<EMAIL>>
#
#-------------------------------------------------------------------------------
# Copyright (C) 2... | en | python | run_002_20260417_060406 | 44 | {
"max_stars_repo_path": "eoxserver/services/ows/wps/v10/encoders/parameters.py",
"max_stars_repo_name": "constantinius/eoxserver_combined",
"max_stars_count": 1,
"id": "79",
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"sanitize_meta": {
"triple_block_count": 6... | {
"raw_source_hash": "4f534c20a08b8cc81c4387380aafc2a97c19c0d64cfcbe4e407e5d33c59d6aaa",
"normalized_source_hash": "beae9e9d4b2561766e491dfa511f86f86bb81ea83345a9a0644db2762349a338",
"source_ast_hash": "fe51b28dd08b424e8b52c05b3cbb5f3681d75ee16c7bbd193e9e7b80b4a04b3b",
"artifact_hash": "8a2460969e7206596a20ae38... | true | true | null |
python_to_en_plaincode | import datetime
import uuid
import simplejson as json
from src.db.s3_client import Client as S3Client
from decimal import Decimal
def get_from_archive(archive_key):
''' Download a VP Save from S3.
:param str archive_key: The vp_save data's location (S3 bucket and file path). This value is required.
'''
if ... | Load datetime.
Load uuid.
Load simplejson, referred to as json.
Load Client referred to as S3Client from src.db.s3_client.
Load Decimal from decimal.
Define function get_from_archive with parameter archive_key:
Text block:
" Download a VP Save from S3."
""
" :param str archive_key: The vp_save data's l... | python | en | run_002_20260417_060406 | 45 | {
"max_stars_repo_path": "gci-vci-serverless/src/helpers/vp_saves_helpers.py",
"max_stars_repo_name": "ClinGen/gene-and-variant-curation-tools",
"max_stars_count": 1,
"id": "80",
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"normalized_source_hash": "a1ab0bed3e2386ab7eedaac9ed83b0e27df96fcdea48084671bcb3a976882744",
"source_ast_hash": "ac62b910710e736eae9a7faedb9b002cca1314d76be42b8ef1797c1e43ef91ca",
"artifact_hash": "71c787635b42e3c83a742a32... | true | true | null |
python_to_es_plaincode | import datetime
import uuid
import simplejson as json
from src.db.s3_client import Client as S3Client
from decimal import Decimal
def get_from_archive(archive_key):
''' Download a VP Save from S3.
:param str archive_key: The vp_save data's location (S3 bucket and file path). This value is required.
'''
if ... | Importar datetime.
Importar uuid.
Importar simplejson, referido como json.
Importar Client referido como S3Client desde src.db.s3_client.
Importar Decimal desde decimal.
Definir función get_from_archive con parámetro archive_key:
Texto literal:
" Download a VP Save from S3."
""
" :param str archive_key... | python | es | run_002_20260417_060406 | 45 | {
"max_stars_repo_path": "gci-vci-serverless/src/helpers/vp_saves_helpers.py",
"max_stars_repo_name": "ClinGen/gene-and-variant-curation-tools",
"max_stars_count": 1,
"id": "80",
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"normalized_source_hash": "a1ab0bed3e2386ab7eedaac9ed83b0e27df96fcdea48084671bcb3a976882744",
"source_ast_hash": "ac62b910710e736eae9a7faedb9b002cca1314d76be42b8ef1797c1e43ef91ca",
"artifact_hash": "71c787635b42e3c83a742a32... | true | true | null |
python_to_fr_plaincode | import datetime
import uuid
import simplejson as json
from src.db.s3_client import Client as S3Client
from decimal import Decimal
def get_from_archive(archive_key):
''' Download a VP Save from S3.
:param str archive_key: The vp_save data's location (S3 bucket and file path). This value is required.
'''
if ... | Charger datetime.
Charger uuid.
Charger simplejson, référé comme json.
Charger Client référé comme S3Client depuis src.db.s3_client.
Charger Decimal depuis decimal.
Définir fonction get_from_archive avec paramètre archive_key:
Texte littéral:
" Download a VP Save from S3."
""
" :param str archive_key: ... | python | fr | run_002_20260417_060406 | 45 | {
"max_stars_repo_path": "gci-vci-serverless/src/helpers/vp_saves_helpers.py",
"max_stars_repo_name": "ClinGen/gene-and-variant-curation-tools",
"max_stars_count": 1,
"id": "80",
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"normalized_source_hash": "a1ab0bed3e2386ab7eedaac9ed83b0e27df96fcdea48084671bcb3a976882744",
"source_ast_hash": "ac62b910710e736eae9a7faedb9b002cca1314d76be42b8ef1797c1e43ef91ca",
"artifact_hash": "71c787635b42e3c83a742a32... | true | true | null |
en_plaincode_to_python | Load datetime.
Load uuid.
Load simplejson, referred to as json.
Load Client referred to as S3Client from src.db.s3_client.
Load Decimal from decimal.
Define function get_from_archive with parameter archive_key:
Text block:
" Download a VP Save from S3."
""
" :param str archive_key: The vp_save data's l... | import datetime
import uuid
import simplejson as json
from src.db.s3_client import Client as S3Client
from decimal import Decimal
def get_from_archive(archive_key):
''' Download a VP Save from S3.
:param str archive_key: The vp_save data's location (S3 bucket and file path). This value is required.
'''
if ... | en | python | run_002_20260417_060406 | 45 | {
"max_stars_repo_path": "gci-vci-serverless/src/helpers/vp_saves_helpers.py",
"max_stars_repo_name": "ClinGen/gene-and-variant-curation-tools",
"max_stars_count": 1,
"id": "80",
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"sanitize_meta": {
"triple_block_count... | {
"raw_source_hash": "69d2967ef85baaa8aa9e2f2ba3f9fe7c76dfbba4322b558acfb14b9ef96fda01",
"normalized_source_hash": "a1ab0bed3e2386ab7eedaac9ed83b0e27df96fcdea48084671bcb3a976882744",
"source_ast_hash": "ac62b910710e736eae9a7faedb9b002cca1314d76be42b8ef1797c1e43ef91ca",
"artifact_hash": "71c787635b42e3c83a742a32... | true | true | null |
python_to_en_plaincode | """
Basic usage
===========
This example presents the basic usage of brokenaxes
"""
import matplotlib.pyplot as plt
from brokenaxes import brokenaxes
import numpy as np
fig = plt.figure(figsize=(5,2))
bax = brokenaxes(xlims=((0, .1), (.4, .7)), ylims=((-1, .7), (.79, 1)), hspace=.05)
x = np.linspace(0, 1, 100)
bax... | Text block:
""
"Basic usage"
"==========="
""
"This example presents the basic usage of brokenaxes"
""
ending with a newline.
Load matplotlib.pyplot, referred to as plt.
Load brokenaxes from brokenaxes.
Load numpy, referred to as np.
Set fig to plt dot figure with figsize set to the tuple (5, 2).
Set bax to brokenaxes ... | python | en | run_002_20260417_060406 | 46 | {
"max_stars_repo_path": "docs/source/auto_examples/plot_usage.py",
"max_stars_repo_name": "ruhugu/brokenaxes",
"max_stars_count": 362,
"id": "81",
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars":... | {
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"normalized_source_hash": "01dbc5ec706d17e883a6041c7d77f11b320871f91f637346014d4f01fb8c6127",
"source_ast_hash": "b2469202aaffaa53007bee1dfa919e599be0dc628a10627234abc6a6590fd9ce",
"artifact_hash": "c13fd2a3a79979ec8526532b... | true | true | null |
python_to_es_plaincode | """
Basic usage
===========
This example presents the basic usage of brokenaxes
"""
import matplotlib.pyplot as plt
from brokenaxes import brokenaxes
import numpy as np
fig = plt.figure(figsize=(5,2))
bax = brokenaxes(xlims=((0, .1), (.4, .7)), ylims=((-1, .7), (.79, 1)), hspace=.05)
x = np.linspace(0, 1, 100)
bax... | Texto literal:
""
"Basic usage"
"==========="
""
"This example presents the basic usage of brokenaxes"
""
terminando con una nueva línea.
Importar matplotlib.pyplot, referido como plt.
Importar brokenaxes desde brokenaxes.
Importar numpy, referido como np.
Establecer fig como plt punto figure con figsize establecido a ... | python | es | run_002_20260417_060406 | 46 | {
"max_stars_repo_path": "docs/source/auto_examples/plot_usage.py",
"max_stars_repo_name": "ruhugu/brokenaxes",
"max_stars_count": 362,
"id": "81",
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars":... | {
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"normalized_source_hash": "01dbc5ec706d17e883a6041c7d77f11b320871f91f637346014d4f01fb8c6127",
"source_ast_hash": "b2469202aaffaa53007bee1dfa919e599be0dc628a10627234abc6a6590fd9ce",
"artifact_hash": "c13fd2a3a79979ec8526532b... | true | true | null |
python_to_fr_plaincode | """
Basic usage
===========
This example presents the basic usage of brokenaxes
"""
import matplotlib.pyplot as plt
from brokenaxes import brokenaxes
import numpy as np
fig = plt.figure(figsize=(5,2))
bax = brokenaxes(xlims=((0, .1), (.4, .7)), ylims=((-1, .7), (.79, 1)), hspace=.05)
x = np.linspace(0, 1, 100)
bax... | Texte littéral:
""
"Basic usage"
"==========="
""
"This example presents the basic usage of brokenaxes"
""
se terminant par une nouvelle ligne.
Charger matplotlib.pyplot, référé comme plt.
Charger brokenaxes depuis brokenaxes.
Charger numpy, référé comme np.
Affecter fig à plt point de figure avec figsize défini à le t... | python | fr | run_002_20260417_060406 | 46 | {
"max_stars_repo_path": "docs/source/auto_examples/plot_usage.py",
"max_stars_repo_name": "ruhugu/brokenaxes",
"max_stars_count": 362,
"id": "81",
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars":... | {
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"normalized_source_hash": "01dbc5ec706d17e883a6041c7d77f11b320871f91f637346014d4f01fb8c6127",
"source_ast_hash": "b2469202aaffaa53007bee1dfa919e599be0dc628a10627234abc6a6590fd9ce",
"artifact_hash": "c13fd2a3a79979ec8526532b... | true | true | null |
en_plaincode_to_python | Text block:
""
"Basic usage"
"==========="
""
"This example presents the basic usage of brokenaxes"
""
ending with a newline.
Load matplotlib.pyplot, referred to as plt.
Load brokenaxes from brokenaxes.
Load numpy, referred to as np.
Set fig to plt dot figure with figsize set to the tuple (5, 2).
Set bax to brokenaxes ... | """
Basic usage
===========
This example presents the basic usage of brokenaxes
"""
import matplotlib.pyplot as plt
from brokenaxes import brokenaxes
import numpy as np
fig = plt.figure(figsize=(5,2))
bax = brokenaxes(xlims=((0, .1), (.4, .7)), ylims=((-1, .7), (.79, 1)), hspace=.05)
x = np.linspace(0, 1, 100)
bax... | en | python | run_002_20260417_060406 | 46 | {
"max_stars_repo_path": "docs/source/auto_examples/plot_usage.py",
"max_stars_repo_name": "ruhugu/brokenaxes",
"max_stars_count": 362,
"id": "81",
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"sanitize_meta": {
"triple_block_count": 1,
"total_triple_chars":... | {
"raw_source_hash": "f92697b5d232cf48a73d0e4086280a6f0a39bdc727086fed89f672932d6e7bac",
"normalized_source_hash": "01dbc5ec706d17e883a6041c7d77f11b320871f91f637346014d4f01fb8c6127",
"source_ast_hash": "b2469202aaffaa53007bee1dfa919e599be0dc628a10627234abc6a6590fd9ce",
"artifact_hash": "c13fd2a3a79979ec8526532b... | true | true | null |
python_to_en_plaincode | import shutil
import os
import json
import glob
import yaml
import sys
import urllib
import ssl
import csv
import time
import requests
import json
import csv
from rdflib import URIRef, BNode, Literal, Graph
from rdflib.namespace import RDF, RDFS, FOAF, XSD
from rdflib import Namespace
all = Graph()
with open("data/... | Load shutil.
Load os.
Load json.
Load glob.
Load yaml.
Load sys.
Load urllib.
Load ssl.
Load csv.
Load time.
Load requests.
Load json.
Load csv.
Load URIRef, BNode, Literal, Graph from rdflib.
Load RDF, RDFS, FOAF, XSD from rdflib.namespace.
Load Namespace from rdflib.
Set all to Graph with no values.
With (open with "... | python | en | run_002_20260417_060406 | 47 | {
"max_stars_repo_path": "src/entity/002_createRdf.py",
"max_stars_repo_name": "toyo-bunko/paper_app",
"max_stars_count": 1,
"id": "82",
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 1386,
... | {
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"normalized_source_hash": "0c49bbb0de92b7bcbd40af3278b8d8b02b42f0be9b4cc96355cca5230e8b4649",
"source_ast_hash": "b0c6b1ace4db4da3b89910f888587f45504e51bc0c9dbd1a3e1c42fb5860cb2c",
"artifact_hash": "04c84b72627a7da25fe4f845... | true | true | null |
python_to_es_plaincode | import shutil
import os
import json
import glob
import yaml
import sys
import urllib
import ssl
import csv
import time
import requests
import json
import csv
from rdflib import URIRef, BNode, Literal, Graph
from rdflib.namespace import RDF, RDFS, FOAF, XSD
from rdflib import Namespace
all = Graph()
with open("data/... | Importar shutil.
Importar os.
Importar json.
Importar glob.
Importar yaml.
Importar sys.
Importar urllib.
Importar ssl.
Importar csv.
Importar time.
Importar requests.
Importar json.
Importar csv.
Importar URIRef, BNode, Literal, Graph desde rdflib.
Importar RDF, RDFS, FOAF, XSD desde rdflib.namespace.
Importar Namespa... | python | es | run_002_20260417_060406 | 47 | {
"max_stars_repo_path": "src/entity/002_createRdf.py",
"max_stars_repo_name": "toyo-bunko/paper_app",
"max_stars_count": 1,
"id": "82",
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 1386,
... | {
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"normalized_source_hash": "0c49bbb0de92b7bcbd40af3278b8d8b02b42f0be9b4cc96355cca5230e8b4649",
"source_ast_hash": "b0c6b1ace4db4da3b89910f888587f45504e51bc0c9dbd1a3e1c42fb5860cb2c",
"artifact_hash": "04c84b72627a7da25fe4f845... | true | true | null |
python_to_fr_plaincode | import shutil
import os
import json
import glob
import yaml
import sys
import urllib
import ssl
import csv
import time
import requests
import json
import csv
from rdflib import URIRef, BNode, Literal, Graph
from rdflib.namespace import RDF, RDFS, FOAF, XSD
from rdflib import Namespace
all = Graph()
with open("data/... | Charger shutil.
Charger os.
Charger json.
Charger glob.
Charger yaml.
Charger sys.
Charger urllib.
Charger ssl.
Charger csv.
Charger time.
Charger requests.
Charger json.
Charger csv.
Charger URIRef, BNode, Literal, Graph depuis rdflib.
Charger RDF, RDFS, FOAF, XSD depuis rdflib.namespace.
Charger Namespace depuis rdfl... | python | fr | run_002_20260417_060406 | 47 | {
"max_stars_repo_path": "src/entity/002_createRdf.py",
"max_stars_repo_name": "toyo-bunko/paper_app",
"max_stars_count": 1,
"id": "82",
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 1386,
... | {
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"normalized_source_hash": "0c49bbb0de92b7bcbd40af3278b8d8b02b42f0be9b4cc96355cca5230e8b4649",
"source_ast_hash": "b0c6b1ace4db4da3b89910f888587f45504e51bc0c9dbd1a3e1c42fb5860cb2c",
"artifact_hash": "04c84b72627a7da25fe4f845... | true | true | null |
en_plaincode_to_python | Load shutil.
Load os.
Load json.
Load glob.
Load yaml.
Load sys.
Load urllib.
Load ssl.
Load csv.
Load time.
Load requests.
Load json.
Load csv.
Load URIRef, BNode, Literal, Graph from rdflib.
Load RDF, RDFS, FOAF, XSD from rdflib.namespace.
Load Namespace from rdflib.
Set all to Graph with no values.
With (open with "... | import shutil
import os
import json
import glob
import yaml
import sys
import urllib
import ssl
import csv
import time
import requests
import json
import csv
from rdflib import URIRef, BNode, Literal, Graph
from rdflib.namespace import RDF, RDFS, FOAF, XSD
from rdflib import Namespace
all = Graph()
with open("data/... | en | python | run_002_20260417_060406 | 47 | {
"max_stars_repo_path": "src/entity/002_createRdf.py",
"max_stars_repo_name": "toyo-bunko/paper_app",
"max_stars_count": 1,
"id": "82",
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"sanitize_meta": {
"triple_block_count": 2,
"total_triple_chars": 1386,
... | {
"raw_source_hash": "93cab54b937f85f2f4c7bd57628df8123072997ef4b6c6a8c2401d8054fc2f6b",
"normalized_source_hash": "0c49bbb0de92b7bcbd40af3278b8d8b02b42f0be9b4cc96355cca5230e8b4649",
"source_ast_hash": "b0c6b1ace4db4da3b89910f888587f45504e51bc0c9dbd1a3e1c42fb5860cb2c",
"artifact_hash": "04c84b72627a7da25fe4f845... | true | true | null |
python_to_en_plaincode | import logging
from asyncio import sleep
import discord
from discord.ext import commands
from config import SETTINGS
from crew import crew_embed
from diary import diary_embed
from film import film_embed
from helpers import LetterboxdError
from list_ import list_embed
from review import review_embed
from user import us... | Load logging.
Load sleep from asyncio.
Load discord.
Load commands from discord.ext.
Load SETTINGS from config.
Load crew_embed from crew.
Load diary_embed from diary.
Load film_embed from film.
Load LetterboxdError from helpers.
Load list_embed from list_.
Load review_embed from review.
Load user_embed from user.
Call... | python | en | run_002_20260417_060406 | 48 | {
"max_stars_repo_path": "bot.py",
"max_stars_repo_name": "Pyrrolidine/letterboxd-bot",
"max_stars_count": 1,
"id": "84",
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"normalized_source_hash": "d5eac70c5205fe8a58908ab3f838486928823cdc693ac2018c92622e3fa915b3",
"source_ast_hash": "33ac3d6c50f16f54875893015df3d1ff2a481301c3b17e0a0cdbf91d6b26936f",
"artifact_hash": "ad8e7208dda7771274b2aaf8... | true | true | null |
python_to_es_plaincode | import logging
from asyncio import sleep
import discord
from discord.ext import commands
from config import SETTINGS
from crew import crew_embed
from diary import diary_embed
from film import film_embed
from helpers import LetterboxdError
from list_ import list_embed
from review import review_embed
from user import us... | Importar logging.
Importar sleep desde asyncio.
Importar discord.
Importar commands desde discord.ext.
Importar SETTINGS desde config.
Importar crew_embed desde crew.
Importar diary_embed desde diary.
Importar film_embed desde film.
Importar LetterboxdError desde helpers.
Importar list_embed desde list_.
Importar revie... | python | es | run_002_20260417_060406 | 48 | {
"max_stars_repo_path": "bot.py",
"max_stars_repo_name": "Pyrrolidine/letterboxd-bot",
"max_stars_count": 1,
"id": "84",
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"normalized_source_hash": "d5eac70c5205fe8a58908ab3f838486928823cdc693ac2018c92622e3fa915b3",
"source_ast_hash": "33ac3d6c50f16f54875893015df3d1ff2a481301c3b17e0a0cdbf91d6b26936f",
"artifact_hash": "ad8e7208dda7771274b2aaf8... | true | true | null |
python_to_fr_plaincode | import logging
from asyncio import sleep
import discord
from discord.ext import commands
from config import SETTINGS
from crew import crew_embed
from diary import diary_embed
from film import film_embed
from helpers import LetterboxdError
from list_ import list_embed
from review import review_embed
from user import us... | Charger logging.
Charger sleep depuis asyncio.
Charger discord.
Charger commands depuis discord.ext.
Charger SETTINGS depuis config.
Charger crew_embed depuis crew.
Charger diary_embed depuis diary.
Charger film_embed depuis film.
Charger LetterboxdError depuis helpers.
Charger list_embed depuis list_.
Charger review_e... | python | fr | run_002_20260417_060406 | 48 | {
"max_stars_repo_path": "bot.py",
"max_stars_repo_name": "Pyrrolidine/letterboxd-bot",
"max_stars_count": 1,
"id": "84",
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"normalized_source_hash": "d5eac70c5205fe8a58908ab3f838486928823cdc693ac2018c92622e3fa915b3",
"source_ast_hash": "33ac3d6c50f16f54875893015df3d1ff2a481301c3b17e0a0cdbf91d6b26936f",
"artifact_hash": "ad8e7208dda7771274b2aaf8... | true | true | null |
en_plaincode_to_python | Load logging.
Load sleep from asyncio.
Load discord.
Load commands from discord.ext.
Load SETTINGS from config.
Load crew_embed from crew.
Load diary_embed from diary.
Load film_embed from film.
Load LetterboxdError from helpers.
Load list_embed from list_.
Load review_embed from review.
Load user_embed from user.
Call... | import logging
from asyncio import sleep
import discord
from discord.ext import commands
from config import SETTINGS
from crew import crew_embed
from diary import diary_embed
from film import film_embed
from helpers import LetterboxdError
from list_ import list_embed
from review import review_embed
from user import us... | en | python | run_002_20260417_060406 | 48 | {
"max_stars_repo_path": "bot.py",
"max_stars_repo_name": "Pyrrolidine/letterboxd-bot",
"max_stars_count": 1,
"id": "84",
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"sanitize_meta": {
"triple_block_count": 0,
"total_triple_chars": 0,
"largest_triple_bl... | {
"raw_source_hash": "f8b99b0f44052e1dba3ef063ea244aea6eb42322012afc0c5ff5f5a0069bedfd",
"normalized_source_hash": "d5eac70c5205fe8a58908ab3f838486928823cdc693ac2018c92622e3fa915b3",
"source_ast_hash": "33ac3d6c50f16f54875893015df3d1ff2a481301c3b17e0a0cdbf91d6b26936f",
"artifact_hash": "ad8e7208dda7771274b2aaf8... | true | true | null |
python_to_en_plaincode | import os
from django.apps import apps
from django.core.management.base import BaseCommand
from factory_generator.generator import FactoryAppGenerator
class Command(BaseCommand):
help = 'Create model factories for all installed apps'
def handle(self, *args, **options):
created_files = []
fo... | Load os.
Load apps from django.apps.
Load BaseCommand from django.core.management.base.
Load FactoryAppGenerator from factory_generator.generator.
Define class Command inheriting from BaseCommand:
Set help to "Create model factories for all installed apps".
Define method handle with parameter self; any number o... | python | en | run_002_20260417_060406 | 49 | {
"max_stars_repo_path": "factory_generator/management/commands/generate_factories.py",
"max_stars_repo_name": "gamabounty/django-factory-generator",
"max_stars_count": 10,
"id": "88",
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"sanitize_meta": {
"triple_block... | {
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"normalized_source_hash": "eeabe699ad83e6e9047d1bd187919567b20a01465e91598b206b776512611099",
"source_ast_hash": "f415ded0b1e4062db8f10c1af927f06cc1c918d19fc4b627fe9d080644c84f61",
"artifact_hash": "04a181500a29e68b3dc933bd... | true | true | null |
python_to_es_plaincode | import os
from django.apps import apps
from django.core.management.base import BaseCommand
from factory_generator.generator import FactoryAppGenerator
class Command(BaseCommand):
help = 'Create model factories for all installed apps'
def handle(self, *args, **options):
created_files = []
fo... | Importar os.
Importar apps desde django.apps.
Importar BaseCommand desde django.core.management.base.
Importar FactoryAppGenerator desde factory_generator.generator.
Definir clase Command heredando de BaseCommand:
Establecer help como "Create model factories for all installed apps".
Definir método handle con pa... | python | es | run_002_20260417_060406 | 49 | {
"max_stars_repo_path": "factory_generator/management/commands/generate_factories.py",
"max_stars_repo_name": "gamabounty/django-factory-generator",
"max_stars_count": 10,
"id": "88",
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"sanitize_meta": {
"triple_block... | {
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"normalized_source_hash": "eeabe699ad83e6e9047d1bd187919567b20a01465e91598b206b776512611099",
"source_ast_hash": "f415ded0b1e4062db8f10c1af927f06cc1c918d19fc4b627fe9d080644c84f61",
"artifact_hash": "04a181500a29e68b3dc933bd... | true | true | null |
python_to_fr_plaincode | import os
from django.apps import apps
from django.core.management.base import BaseCommand
from factory_generator.generator import FactoryAppGenerator
class Command(BaseCommand):
help = 'Create model factories for all installed apps'
def handle(self, *args, **options):
created_files = []
fo... | Charger os.
Charger apps depuis django.apps.
Charger BaseCommand depuis django.core.management.base.
Charger FactoryAppGenerator depuis factory_generator.generator.
Définir classe Command héritant de BaseCommand:
Affecter help à "Create model factories for all installed apps".
Définir méthode handle avec paramè... | python | fr | run_002_20260417_060406 | 49 | {
"max_stars_repo_path": "factory_generator/management/commands/generate_factories.py",
"max_stars_repo_name": "gamabounty/django-factory-generator",
"max_stars_count": 10,
"id": "88",
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"sanitize_meta": {
"triple_block... | {
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"normalized_source_hash": "eeabe699ad83e6e9047d1bd187919567b20a01465e91598b206b776512611099",
"source_ast_hash": "f415ded0b1e4062db8f10c1af927f06cc1c918d19fc4b627fe9d080644c84f61",
"artifact_hash": "04a181500a29e68b3dc933bd... | true | true | null |
en_plaincode_to_python | Load os.
Load apps from django.apps.
Load BaseCommand from django.core.management.base.
Load FactoryAppGenerator from factory_generator.generator.
Define class Command inheriting from BaseCommand:
Set help to "Create model factories for all installed apps".
Define method handle with parameter self; any number o... | import os
from django.apps import apps
from django.core.management.base import BaseCommand
from factory_generator.generator import FactoryAppGenerator
class Command(BaseCommand):
help = 'Create model factories for all installed apps'
def handle(self, *args, **options):
created_files = []
fo... | en | python | run_002_20260417_060406 | 49 | {
"max_stars_repo_path": "factory_generator/management/commands/generate_factories.py",
"max_stars_repo_name": "gamabounty/django-factory-generator",
"max_stars_count": 10,
"id": "88",
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"sanitize_meta": {
"triple_block... | {
"raw_source_hash": "a93294a82e8270620951062568bf1247de42c17b8910271a126628aca135b6a7",
"normalized_source_hash": "eeabe699ad83e6e9047d1bd187919567b20a01465e91598b206b776512611099",
"source_ast_hash": "f415ded0b1e4062db8f10c1af927f06cc1c918d19fc4b627fe9d080644c84f61",
"artifact_hash": "04a181500a29e68b3dc933bd... | true | true | null |
python_to_en_plaincode | #!/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
import cellranger.analysis.diffexp as cr_diffexp
import cellranger.analysis.io as analysis_io
from cellranger.analysis.singlegenome import SingleGenomeAnalysis
import cellranger.h5_constants as h5_constants
import cellranger.analysi... | # !/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
Load cellranger.analysis.diffexp, referred to as cr_diffexp.
Load cellranger.analysis.io, referred to as analysis_io.
Load SingleGenomeAnalysis from cellranger.analysis.singlegenome.
Load cellranger.h5_constants, referred to as h5_c... | python | en | run_002_20260417_060406 | 50 | {
"max_stars_repo_path": "mro/stages/analyzer/run_differential_expression/__init__.py",
"max_stars_repo_name": "qiangli/cellranger",
"max_stars_count": 1,
"id": "89",
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"sanitize_meta": {
"triple_block_count": 1,
"t... | {
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"normalized_source_hash": "6c4b5694db08ff9199c73849358c255649e7802759389b4412de342dcf7049b5",
"source_ast_hash": "5e3da73a8adf1e925ea63450d2f069fd80cc0f7b31b6ca9bae4650ff83285d31",
"artifact_hash": "193e37a8cbf9dcc0dd91a921... | true | true | null |
python_to_es_plaincode | #!/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
import cellranger.analysis.diffexp as cr_diffexp
import cellranger.analysis.io as analysis_io
from cellranger.analysis.singlegenome import SingleGenomeAnalysis
import cellranger.h5_constants as h5_constants
import cellranger.analysi... | # !/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
Importar cellranger.analysis.diffexp, referido como cr_diffexp.
Importar cellranger.analysis.io, referido como analysis_io.
Importar SingleGenomeAnalysis desde cellranger.analysis.singlegenome.
Importar cellranger.h5_constants, refe... | python | es | run_002_20260417_060406 | 50 | {
"max_stars_repo_path": "mro/stages/analyzer/run_differential_expression/__init__.py",
"max_stars_repo_name": "qiangli/cellranger",
"max_stars_count": 1,
"id": "89",
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"sanitize_meta": {
"triple_block_count": 1,
"t... | {
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"normalized_source_hash": "6c4b5694db08ff9199c73849358c255649e7802759389b4412de342dcf7049b5",
"source_ast_hash": "5e3da73a8adf1e925ea63450d2f069fd80cc0f7b31b6ca9bae4650ff83285d31",
"artifact_hash": "193e37a8cbf9dcc0dd91a921... | true | true | null |
python_to_fr_plaincode | #!/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
import cellranger.analysis.diffexp as cr_diffexp
import cellranger.analysis.io as analysis_io
from cellranger.analysis.singlegenome import SingleGenomeAnalysis
import cellranger.h5_constants as h5_constants
import cellranger.analysi... | # !/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
Charger cellranger.analysis.diffexp, référé comme cr_diffexp.
Charger cellranger.analysis.io, référé comme analysis_io.
Charger SingleGenomeAnalysis depuis cellranger.analysis.singlegenome.
Charger cellranger.h5_constants, référé co... | python | fr | run_002_20260417_060406 | 50 | {
"max_stars_repo_path": "mro/stages/analyzer/run_differential_expression/__init__.py",
"max_stars_repo_name": "qiangli/cellranger",
"max_stars_count": 1,
"id": "89",
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"sanitize_meta": {
"triple_block_count": 1,
"t... | {
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"normalized_source_hash": "6c4b5694db08ff9199c73849358c255649e7802759389b4412de342dcf7049b5",
"source_ast_hash": "5e3da73a8adf1e925ea63450d2f069fd80cc0f7b31b6ca9bae4650ff83285d31",
"artifact_hash": "193e37a8cbf9dcc0dd91a921... | true | true | null |
en_plaincode_to_python | # !/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
Load cellranger.analysis.diffexp, referred to as cr_diffexp.
Load cellranger.analysis.io, referred to as analysis_io.
Load SingleGenomeAnalysis from cellranger.analysis.singlegenome.
Load cellranger.h5_constants, referred to as h5_c... | #!/usr/bin/env python
#
# Copyright (c) 2017 10X Genomics, Inc. All rights reserved.
#
import cellranger.analysis.diffexp as cr_diffexp
import cellranger.analysis.io as analysis_io
from cellranger.analysis.singlegenome import SingleGenomeAnalysis
import cellranger.h5_constants as h5_constants
import cellranger.analysi... | en | python | run_002_20260417_060406 | 50 | {
"max_stars_repo_path": "mro/stages/analyzer/run_differential_expression/__init__.py",
"max_stars_repo_name": "qiangli/cellranger",
"max_stars_count": 1,
"id": "89",
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"sanitize_meta": {
"triple_block_count": 1,
"t... | {
"raw_source_hash": "0e617529d43d74c5af07af529f2eef4eb43878f8661cc744a5d59a63e3a31562",
"normalized_source_hash": "6c4b5694db08ff9199c73849358c255649e7802759389b4412de342dcf7049b5",
"source_ast_hash": "5e3da73a8adf1e925ea63450d2f069fd80cc0f7b31b6ca9bae4650ff83285d31",
"artifact_hash": "193e37a8cbf9dcc0dd91a921... | true | true | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.