translation_status
stringclasses
1 value
source_code
stringlengths
250
288k
plaincode_en
stringlengths
129
518k
plaincode_es
stringlengths
144
640k
plaincode_fr
stringlengths
138
597k
roundtrip_python_from_en
stringlengths
90
285k
roundtrip_ast_ok
bool
1 class
source_compile_ok
bool
1 class
roundtrip_compile_ok
bool
1 class
source_metadata
dict
hashes
dict
row_authority
stringclasses
1 value
mandarin_source
stringclasses
2 values
plaincode_zh
stringlengths
92
373k
roundtrip_python_from_zh
stringlengths
250
288k
roundtrip_exact_ok_zh
bool
1 class
roundtrip_ast_ok_zh
bool
1 class
roundtrip_compile_ok_zh
bool
1 class
roundtrip_error_zh
null
roundtrip_sha256_from_zh
stringlengths
64
64
roundtrip_char_count_from_zh
int64
250
288k
roundtrip_byte_count_from_zh
int64
250
288k
v2_row_index
int64
0
99.7k
v2_engine_zip_name
stringclasses
3 values
v2_engine_mode
stringclasses
2 values
v2_processed_at_utc
stringlengths
20
32
v2_required_exact_languages
stringclasses
1 value
v2_failed_required_exact_languages
stringclasses
1 value
v2_all_required_exact_ok
bool
1 class
v2_source_sha256
stringlengths
64
64
_v2_match_debug
dict
ok
import env_check from configparser import ConfigParser from func import * import warnings import sys import os import re warnings.filterwarnings('ignore') def sys_path(): path = './phantomjs/bin/' if sys.platform.startswith('win'): return path + 'phantomjs.exe' elif sys.platform.startswith('linux'...
Load env_check. Load ConfigParser from configparser. Load everything from func. Load warnings. Load sys. Load os. Load re. Call warnings dot filterwarnings with "ignore". Define function sys_path: Set path to "./phantomjs/bin/". If sys dot platform dot startswith with "win": Return path plus "phantomjs....
Importar env_check. Importar ConfigParser desde configparser. Importar todo desde func. Importar warnings. Importar sys. Importar os. Importar re. Llamar warnings punto filterwarnings con "ignore". Definir función sys_path: Establecer path como "./phantomjs/bin/". Si sys punto platform punto startswith con "win...
Charger env_check. Charger ConfigParser depuis configparser. Charger tout depuis func. Charger warnings. Charger sys. Charger os. Charger re. Appeler warnings point de filterwarnings avec "ignore". Définir fonction sys_path: Affecter path à "./phantomjs/bin/". Si sys point de platform point de startswith avec "...
import env_check from configparser import ConfigParser from func import * import warnings import sys import os import re warnings.filterwarnings('ignore') def sys_path(): path = './phantomjs/bin/' if sys.platform.startswith('win'): return path + 'phantomjs.exe' elif sys.platform.startswith('linux')...
true
true
true
{ "artifact_hash": "5e48d96c6899566a7e65fc87c124518628a85b347ae9db2d0d11eb96919080b4", "id": "1737185", "max_stars_count": 1, "max_stars_repo_name": "DavidClarence/PKUAutoSubmit", "max_stars_repo_path": "main.py", "normalized_source_hash": "8c5158d27997a5edf266a8b9b8725495a58a6506d74d582a9051863d1a17f1ac", ...
{ "artifact_hash": "5e48d96c6899566a7e65fc87c124518628a85b347ae9db2d0d11eb96919080b4", "normalized_source_hash": "8c5158d27997a5edf266a8b9b8725495a58a6506d74d582a9051863d1a17f1ac", "raw_source_hash": "d2a39c7b9d6c391194dc5b07c3a3e94ed05b12256f00cabc179ac1b6eb741d9e", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 env_check. 导入 ConfigParser 从 configparser. 从以下内容导入全部 func. 导入 warnings. 导入 sys. 导入 os. 导入 re. 调用 warnings 点 filterwarnings 用 "ignore". 定义函数 sys_path: 设 path 为 "./phantomjs/bin/". 如果 sys 点 platform 点 startswith 用 "win": 返回 path 加上 "phantomjs.exe". 否则如果 sys 点 platform 点 startswith 用 "linux": ...
import env_check from configparser import ConfigParser from func import * import warnings import sys import os import re warnings.filterwarnings('ignore') def sys_path(): path = './phantomjs/bin/' if sys.platform.startswith('win'): return path + 'phantomjs.exe' elif sys.platform.startswith('linux'...
true
true
true
null
8c5158d27997a5edf266a8b9b8725495a58a6506d74d582a9051863d1a17f1ac
1,787
1,889
0
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.227723+00:00
en,es,fr,zh
true
8c5158d27997a5edf266a8b9b8725495a58a6506d74d582a9051863d1a17f1ac
{ "v2_row_index": 0, "v2_source_sha256": "8c5158d27997a5edf266a8b9b8725495a58a6506d74d582a9051863d1a17f1ac" }
ok
"""Manifold test invariants.""" import tensorflow as tf import numpy as np def random_constant(shape, dtype): return tf.constant( np.random.uniform(size=shape, high=1e-1), dtype=dtype.as_numpy_dtype, ) class TestInvariants(tf.test.TestCase): def check_random(self, manifold, shape, dtype)...
Evaluate "Manifold test invariants.". Load tensorflow, referred to as tf. Load numpy, referred to as np. Define function random_constant with parameters shape, dtype: Return tf dot constant with (np dot random dot uniform with size set to shape and high set to 0.1) and dtype set to dtype dot as_numpy_dtype. Define ...
Evaluar "Manifold test invariants.". Importar tensorflow, referido como tf. Importar numpy, referido como np. Definir función random_constant con parámetros shape, dtype: Devolver tf punto constant con (np punto random punto uniform con size establecido a shape y también high establecido a 0.1) y también dtype esta...
Évaluer "Manifold test invariants.". Charger tensorflow, référé comme tf. Charger numpy, référé comme np. Définir fonction random_constant avec paramètres shape, dtype: Retourner tf point de constant avec (np point de random point de uniform avec size défini à shape et high défini à 0.1) et dtype défini à dtype poi...
"""Manifold test invariants.""" import tensorflow as tf import numpy as np def random_constant(shape, dtype): return tf.constant(np.random.uniform(size=shape, high=0.1), dtype=dtype.as_numpy_dtype) class TestInvariants(tf.test.TestCase): def check_random(self, manifold, shape, dtype): """Check random...
true
true
true
{ "artifact_hash": "d28d8be1fae8c3fdb4f55fcf5a5362581b45a8e8b9c4a8735ef6d5a99b1a991a", "id": "1737186", "max_stars_count": 33, "max_stars_repo_name": "vishalbelsare/tensorflow-riemopt", "max_stars_repo_path": "tensorflow_riemopt/manifolds/test_invariants.py", "normalized_source_hash": "72bd7b31f2a751b3e0ca7...
{ "artifact_hash": "d28d8be1fae8c3fdb4f55fcf5a5362581b45a8e8b9c4a8735ef6d5a99b1a991a", "normalized_source_hash": "72bd7b31f2a751b3e0ca75ddcfd8873c8cb8826acd5d68598b3c32d48f37d3ad", "raw_source_hash": "959338f7e029fb97faba7e3548bed444306cf907a534649f9c9347d45ce345e4", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
求值 "Manifold test invariants.". 导入 tensorflow, 别名为 tf. 导入 numpy, 别名为 np. 定义函数 random_constant 参数为 shape, dtype: 返回 tf 点 constant 用 (np 点 random 点 uniform 用 size 设为 shape 并且 high 设为 0.1) 并且 dtype 设为 dtype 点 as_numpy_dtype. 定义类 TestInvariants 继承自 tf 点 test 点 TestCase: 定义方法 check_random 参数为 self, manifold, shape, ...
"""Manifold test invariants.""" import tensorflow as tf import numpy as np def random_constant(shape, dtype): return tf.constant( np.random.uniform(size=shape, high=1e-1), dtype=dtype.as_numpy_dtype, ) class TestInvariants(tf.test.TestCase): def check_random(self, manifold, shape, dtype)...
true
true
true
null
72bd7b31f2a751b3e0ca75ddcfd8873c8cb8826acd5d68598b3c32d48f37d3ad
8,672
8,672
1
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.242638+00:00
en,es,fr,zh
true
72bd7b31f2a751b3e0ca75ddcfd8873c8cb8826acd5d68598b3c32d48f37d3ad
{ "v2_row_index": 1, "v2_source_sha256": "72bd7b31f2a751b3e0ca75ddcfd8873c8cb8826acd5d68598b3c32d48f37d3ad" }
ok
import pkgutil import InputDataProcessing from pcapng import FileScanner def get_pcap_description(input_file, default="<not provided>"): """ Extracts the error description from the PCAPng file (comment section). :param input_file: Path to the PCAP file. :param default: When no comment is found, this v...
Load pkgutil. Load InputDataProcessing. Load FileScanner from pcapng. Define function get_pcap_description with parameters input_file, default (default: "<not provided>"): Text block: "" " Extracts the error description from the PCAPng file (comment section)." " :param input_file: Path to the PCAP...
Importar pkgutil. Importar InputDataProcessing. Importar FileScanner desde pcapng. Definir función get_pcap_description con parámetros input_file, default (predeterminado: "<not provided>"): Texto literal: "" " Extracts the error description from the PCAPng file (comment section)." " :param input_...
Charger pkgutil. Charger InputDataProcessing. Charger FileScanner depuis pcapng. Définir fonction get_pcap_description avec paramètres input_file, default (par défaut: "<not provided>"): Texte littéral: "" " Extracts the error description from the PCAPng file (comment section)." " :param input_fil...
import pkgutil import InputDataProcessing from pcapng import FileScanner def get_pcap_description(input_file, default='<not provided>'): """ Extracts the error description from the PCAPng file (comment section). :param input_file: Path to the PCAP file. :param default: When no comment is found, this va...
true
true
true
{ "artifact_hash": "38d2f2a11a9ea328d06b762d0454fb6d1ffb479d30c032f12cc1032dd1262b03", "id": "1737187", "max_stars_count": 0, "max_stars_repo_name": "marhoSVK/semiauto-diagnostics", "max_stars_repo_path": "Action_extend.py", "normalized_source_hash": "3b2ce846c05e925ea0468ac8416593d7f651765a0ba8483aab685312...
{ "artifact_hash": "38d2f2a11a9ea328d06b762d0454fb6d1ffb479d30c032f12cc1032dd1262b03", "normalized_source_hash": "3b2ce846c05e925ea0468ac8416593d7f651765a0ba8483aab685312b97deab3", "raw_source_hash": "3a2498c2d144053ee28a3d1aabd43ac023ccc0acf346922016c4afe5365b3360", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 pkgutil. 导入 InputDataProcessing. 导入 FileScanner 从 pcapng. 定义函数 get_pcap_description 参数为 input_file, default (默认: "<not provided>"): 文本块: "" " Extracts the error description from the PCAPng file (comment section)." " :param input_file: Path to the PCAP file." " :param default: When no com...
import pkgutil import InputDataProcessing from pcapng import FileScanner def get_pcap_description(input_file, default="<not provided>"): """ Extracts the error description from the PCAPng file (comment section). :param input_file: Path to the PCAP file. :param default: When no comment is found, this v...
true
true
true
null
3b2ce846c05e925ea0468ac8416593d7f651765a0ba8483aab685312b97deab3
1,853
1,853
2
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.242943+00:00
en,es,fr,zh
true
3b2ce846c05e925ea0468ac8416593d7f651765a0ba8483aab685312b97deab3
{ "v2_row_index": 2, "v2_source_sha256": "3b2ce846c05e925ea0468ac8416593d7f651765a0ba8483aab685312b97deab3" }
ok
# Generated by Django 2.1.1 on 2018-10-04 04:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='PlaceWeather', fields=[ ('id', models.AutoF...
# Generated by Django 2.1.1 on 2018-10-04 04:56 Load migrations, models from django.db. Define class Migration inheriting from migrations.Migration: Set initial to True. Set dependencies to an empty list. Set operations to the list [ (migrations dot CreateModel with name set to "PlaceWeather" and fields...
# Generated por Django 2.1.1 on 2018-10-04 04:56 Importar migrations, models desde django.db. Definir clase Migration heredando de migrations.Migration: Establecer initial como True. Establecer dependencies como una lista vacía. Establecer operations como la lista [ (migrations punto CreateModel con nam...
# Generated par Django 2.1.1 on 2018-10-04 04:56 Charger migrations, models depuis django.db. Définir classe Migration héritant de migrations.Migration: Affecter initial à True. Affecter dependencies à une liste vide. Affecter operations à la liste [ (migrations point de CreateModel avec name défini à "...
# Generated by Django 2.1.1 on 2018-10-04 04:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [migrations.CreateModel(name='PlaceWeather', fields=[('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, ve...
true
true
true
{ "artifact_hash": "64ab55b0cab1d78f880906d127d8234816557e33ae62a4309c9dcdad188b8615", "id": "1737188", "max_stars_count": 2, "max_stars_repo_name": "Escapist-007/Dockerized-Pub-Sub-Distributed-System", "max_stars_repo_path": "phase_01/MyWayPoints_v1/MyWayPoints/WayPoints/migrations/0001_initial.py", "norma...
{ "artifact_hash": "64ab55b0cab1d78f880906d127d8234816557e33ae62a4309c9dcdad188b8615", "normalized_source_hash": "295cd003b7428c35abd126f70bc6a9955f359a4e20bba3aa3c6f8252a2b14dfa", "raw_source_hash": "93c0dea6f5372adf083d2ef522f2fac461441d7a7968dd90570c119f70996a24", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Generated 按 Django 2.1.1 on 2018-10-04 04:56 导入 migrations, models 从 django 点 db. 定义类 Migration 继承自 migrations 点 Migration: 设 initial 为 True. 设 dependencies 为 空列表. 设 operations 为 列表 [ (migrations 点 CreateModel 用 name 设为 "PlaceWeather" 并且 fields 设为 列表 [ 元组 ("id", (models 点 AutoField 用 auto_crea...
# Generated by Django 2.1.1 on 2018-10-04 04:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='PlaceWeather', fields=[ ('id', models.AutoF...
true
true
true
null
295cd003b7428c35abd126f70bc6a9955f359a4e20bba3aa3c6f8252a2b14dfa
1,077
1,077
3
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.249990+00:00
en,es,fr,zh
true
295cd003b7428c35abd126f70bc6a9955f359a4e20bba3aa3c6f8252a2b14dfa
{ "v2_row_index": 3, "v2_source_sha256": "295cd003b7428c35abd126f70bc6a9955f359a4e20bba3aa3c6f8252a2b14dfa" }
ok
import os import psutil import traceback import h5py import numpy as np from buffalo.data import prepro from buffalo.misc import aux, log from buffalo.data.base import Data, DataOption class MatrixMarketOptions(DataOption): def get_default_option(self) -> aux.Option: opt = { 'type': 'matrix_...
Load os. Load psutil. Load traceback. Load h5py. Load numpy, referred to as np. Load prepro from buffalo.data. Load aux, log from buffalo.misc. Load Data, DataOption from buffalo.data.base. Define class MatrixMarketOptions inheriting from DataOption: Define method get_default_option with parameter self; return type...
Importar os. Importar psutil. Importar traceback. Importar h5py. Importar numpy, referido como np. Importar prepro desde buffalo.data. Importar aux, log desde buffalo.misc. Importar Data, DataOption desde buffalo.data.base. Definir clase MatrixMarketOptions heredando de DataOption: Definir método get_default_option...
Charger os. Charger psutil. Charger traceback. Charger h5py. Charger numpy, référé comme np. Charger prepro depuis buffalo.data. Charger aux, log depuis buffalo.misc. Charger Data, DataOption depuis buffalo.data.base. Définir classe MatrixMarketOptions héritant de DataOption: Définir méthode get_default_option avec...
import os import psutil import traceback import h5py import numpy as np from buffalo.data import prepro from buffalo.misc import aux, log from buffalo.data.base import Data, DataOption class MatrixMarketOptions(DataOption): def get_default_option(self) -> aux.Option: opt = {'type': 'matrix_market', 'input...
true
true
true
{ "artifact_hash": "01ba4cd5e9a264b6e85cb6b55349843e9c07a0714fe6dbbb9d5b0c822779dab6", "id": "1737191", "max_stars_count": 0, "max_stars_repo_name": "westhyena/buffalo", "max_stars_repo_path": "buffalo/data/mm.py", "normalized_source_hash": "9cc856fe97656efa950426a1ff2351f0adc075353cf35a5c128fd1b2bae57a72",...
{ "artifact_hash": "01ba4cd5e9a264b6e85cb6b55349843e9c07a0714fe6dbbb9d5b0c822779dab6", "normalized_source_hash": "9cc856fe97656efa950426a1ff2351f0adc075353cf35a5c128fd1b2bae57a72", "raw_source_hash": "137dfaccfab24ce381d7364ea68980c8325e9e2fd6b840c83ecb3cf65400d69d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 os. 导入 psutil. 导入 traceback. 导入 h5py. 导入 numpy, 别名为 np. 导入 prepro 从 buffalo 点 data. 导入 aux, log 从 buffalo 点 misc. 导入 Data, DataOption 从 buffalo 点 data 点 base. 定义类 MatrixMarketOptions 继承自 DataOption: 定义方法 get_default_option 参数为 self; 返回为 aux.Option: 设 opt 为 字典 { `type` 设为 "matrix_market", ...
import os import psutil import traceback import h5py import numpy as np from buffalo.data import prepro from buffalo.misc import aux, log from buffalo.data.base import Data, DataOption class MatrixMarketOptions(DataOption): def get_default_option(self) -> aux.Option: opt = { 'type': 'matrix_...
true
true
true
null
9cc856fe97656efa950426a1ff2351f0adc075353cf35a5c128fd1b2bae57a72
9,783
9,783
4
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.262630+00:00
en,es,fr,zh
true
9cc856fe97656efa950426a1ff2351f0adc075353cf35a5c128fd1b2bae57a72
{ "v2_row_index": 4, "v2_source_sha256": "9cc856fe97656efa950426a1ff2351f0adc075353cf35a5c128fd1b2bae57a72" }
ok
import pandas def add_full_name(path_to_csv, path_to_new_csv): #Assume you will be reading in a csv file with the same columns that the #Lahman baseball data set has -- most importantly, there are columns #called 'nameFirst' and 'nameLast'. #1) Write a function that reads a csv #located at "path_to...
Load pandas. Define function add_full_name with parameters path_to_csv, path_to_new_csv: # Assume you will be reading in a csv file with the same columns that the # Lahman baseball data set has -- most importantly, there are columns # called 'nameFirst' and 'nameLast'. # 1) Write a function that reads a...
Importar pandas. Definir función add_full_name con parámetros path_to_csv, path_to_new_csv: # Assume you will be reading en a csv file con the same columns that the # Lahman baseball data set has -- most importantly, there are columns # called 'nameFirst' y también 'nameLast'. # 1) Write a function that...
Charger pandas. Définir fonction add_full_name avec paramètres path_to_csv, path_to_new_csv: # Assume you will be reading dans a csv file avec the same columns that the # Lahman baseball data set has -- most importantly, there are columns # called 'nameFirst' et 'nameLast'. # 1) Write a function that re...
import pandas def add_full_name(path_to_csv, path_to_new_csv): df = pandas.read_csv(path_to_csv) df['nameFull'] = df['nameFirst'] + ' ' + df['nameLast'] df.to_csv(path_to_new_csv) if __name__ == '__main__': path_to_csv = '' path_to_new_csv = '' add_full_name(path_to_csv, path_to_new_csv)
true
true
true
{ "artifact_hash": "41bb7ad785ab2359e746b190a2599bcc0844387bad71f17bc8616e18c8fc3713", "id": "1737192", "max_stars_count": 0, "max_stars_repo_name": "RichardPSilva/Udacity-Intro-to-Data-Science", "max_stars_repo_path": "aula 3/11_quiz_exercicios_sobre_csv.py", "normalized_source_hash": "0124385b1fb972601378...
{ "artifact_hash": "41bb7ad785ab2359e746b190a2599bcc0844387bad71f17bc8616e18c8fc3713", "normalized_source_hash": "0124385b1fb972601378d7774926eba679cfad99642aab1ad9b367d1e7963e85", "raw_source_hash": "0124385b1fb972601378d7774926eba679cfad99642aab1ad9b367d1e7963e85", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 pandas. 定义函数 add_full_name 参数为 path_to_csv, path_to_new_csv: # Assume you will be reading 在 a csv file 用 the same columns that the # Lahman baseball data set has -- most importantly, there are columns # called 'nameFirst' 并且 'nameLast'. # 1) Write a function that reads a csv # located at "path_to...
import pandas def add_full_name(path_to_csv, path_to_new_csv): #Assume you will be reading in a csv file with the same columns that the #Lahman baseball data set has -- most importantly, there are columns #called 'nameFirst' and 'nameLast'. #1) Write a function that reads a csv #located at "path_to...
true
true
true
null
0124385b1fb972601378d7774926eba679cfad99642aab1ad9b367d1e7963e85
1,164
1,164
5
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.269981+00:00
en,es,fr,zh
true
0124385b1fb972601378d7774926eba679cfad99642aab1ad9b367d1e7963e85
{ "v2_row_index": 5, "v2_source_sha256": "0124385b1fb972601378d7774926eba679cfad99642aab1ad9b367d1e7963e85" }
ok
import asyncio from timeit import default_timer import aiohttp import settings async def fetch(session, sem, url, i): start = default_timer() async with sem: async with session.get(f"{url}&page={i}") as response: if response.status != 200: print(f"FAILURE::STATUS::{respon...
Load asyncio. Load default_timer from timeit. Load aiohttp. Load settings. Define async function fetch with parameters session, sem, url, i: Set start to default_timer with no values. With sem asynchronously: With (session dot get with (formatted string with the value of url, "&page=", and the value of ...
Importar asyncio. Importar default_timer desde timeit. Importar aiohttp. Importar settings. Definir función asíncrona fetch con parámetros session, sem, url, i: Establecer start como default_timer sin argumentos. Con sem asincrónicamente: Con (session punto get con (cadena formateada con el valor de url...
Charger asyncio. Charger default_timer depuis timeit. Charger aiohttp. Charger settings. Définir fonction asynchrone fetch avec paramètres session, sem, url, i: Affecter start à default_timer sans arguments. Avec sem asynchroniquement: Avec (session point de get avec (la chaîne formatée contenant la val...
import asyncio from timeit import default_timer import aiohttp import settings async def fetch(session, sem, url, i): start = default_timer() async with sem: async with session.get(f'{url}&page={i}') as response: if response.status != 200: print(f'FAILURE::STATUS::{response....
true
true
true
{ "artifact_hash": "6daa8d4e8cc2efc0e5d24dfba163cea60806e96504aee6b317a7c83beda15305", "id": "1737193", "max_stars_count": 0, "max_stars_repo_name": "andreipradan/asyncio-multiple-requests", "max_stars_repo_path": "backends/aiohttp.py", "normalized_source_hash": "21bdcfe8905af1779309ffb67760203d14f6708b31fa...
{ "artifact_hash": "6daa8d4e8cc2efc0e5d24dfba163cea60806e96504aee6b317a7c83beda15305", "normalized_source_hash": "21bdcfe8905af1779309ffb67760203d14f6708b31fa8e76b24cc022510a110c", "raw_source_hash": "d0e5bd24c41c362d4fb7cd1e5b190f7e3c18d640e1069b59adbd42e162a16ee6", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 asyncio. 导入 default_timer 从 timeit. 导入 aiohttp. 导入 settings. 定义异步函数 fetch 参数为 session, sem, url, i: 设 start 为 default_timer 不带参数. 使用 sem 异步地: 使用 (session 点 get 用 (格式化字符串: 插入 url, "&page=", 并且 插入 i)) 绑定为 response 异步地: 如果 response 点 status 不等于 200: 打印 (格式化字符串: "FAILURE::STAT...
import asyncio from timeit import default_timer import aiohttp import settings async def fetch(session, sem, url, i): start = default_timer() async with sem: async with session.get(f"{url}&page={i}") as response: if response.status != 200: print(f"FAILURE::STATUS::{respon...
true
true
true
null
21bdcfe8905af1779309ffb67760203d14f6708b31fa8e76b24cc022510a110c
860
860
6
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.291498+00:00
en,es,fr,zh
true
21bdcfe8905af1779309ffb67760203d14f6708b31fa8e76b24cc022510a110c
{ "v2_row_index": 6, "v2_source_sha256": "21bdcfe8905af1779309ffb67760203d14f6708b31fa8e76b24cc022510a110c" }
ok
import asyncio import asyncssh import sys import os import crypt from importlib.util import find_spec class MySSHServerSession(asyncssh.SSHServerSession): def __init__(self, device='iosxr'): self._input = '' self._data = None self.device = device self.run_as_shell = False s...
Load asyncio. Load asyncssh. Load sys. Load os. Load crypt. Load find_spec from importlib.util. Define class MySSHServerSession inheriting from asyncssh.SSHServerSession: Define method __init__ with parameters self, device (default: "iosxr"): Set self dot _input to "". Set self dot _data to None. ...
Importar asyncio. Importar asyncssh. Importar sys. Importar os. Importar crypt. Importar find_spec desde importlib.util. Definir clase MySSHServerSession heredando de asyncssh.SSHServerSession: Definir método __init__ con parámetros self, device (predeterminado: "iosxr"): Establecer self punto _input como "...
Charger asyncio. Charger asyncssh. Charger sys. Charger os. Charger crypt. Charger find_spec depuis importlib.util. Définir classe MySSHServerSession héritant de asyncssh.SSHServerSession: Définir méthode __init__ avec paramètres self, device (par défaut: "iosxr"): Affecter self point de _input à "". ...
import asyncio import asyncssh import sys import os import crypt from importlib.util import find_spec class MySSHServerSession(asyncssh.SSHServerSession): def __init__(self, device='iosxr'): self._input = '' self._data = None self.device = device self.run_as_shell = False s...
true
true
true
{ "artifact_hash": "b2da5200e43bdd1db4d50cad36628e48ec81bbab93e64bbbada9c60a77acfb77", "id": "1737194", "max_stars_count": 0, "max_stars_repo_name": "zxiiro/suzieq", "max_stars_repo_path": "tests/utilities/simnode_ssh.py", "normalized_source_hash": "77f05f17795d4c289aa24fe3adebbe90335078b286eb5c6c371543becb...
{ "artifact_hash": "b2da5200e43bdd1db4d50cad36628e48ec81bbab93e64bbbada9c60a77acfb77", "normalized_source_hash": "77f05f17795d4c289aa24fe3adebbe90335078b286eb5c6c371543becb4cb01e", "raw_source_hash": "a2f8470aad3c6998185587b859026eef3d1d862f62385a69bfadf614ee02fc2e", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 asyncio. 导入 asyncssh. 导入 sys. 导入 os. 导入 crypt. 导入 find_spec 从 importlib 点 util. 定义类 MySSHServerSession 继承自 asyncssh 点 SSHServerSession: 定义方法 __init__ 参数为 self, device (默认: "iosxr"): 设 self 点 _input 为 "". 设 self 点 _data 为 None. 设 self 点 device 为 device. 设 self 点 run_as_shell 为 Fals...
import asyncio import asyncssh import sys import os import crypt from importlib.util import find_spec class MySSHServerSession(asyncssh.SSHServerSession): def __init__(self, device='iosxr'): self._input = '' self._data = None self.device = device self.run_as_shell = False s...
true
true
true
null
77f05f17795d4c289aa24fe3adebbe90335078b286eb5c6c371543becb4cb01e
7,230
7,230
7
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.292076+00:00
en,es,fr,zh
true
77f05f17795d4c289aa24fe3adebbe90335078b286eb5c6c371543becb4cb01e
{ "v2_row_index": 7, "v2_source_sha256": "77f05f17795d4c289aa24fe3adebbe90335078b286eb5c6c371543becb4cb01e" }
ok
# лица на фигури # Да се напише програма, която въвежда размерите на геометрична фигура и пресмята лицето й. # Фигурите са четири вида: квадрат (square), правоъгълник (rectangle), кръг (circle) и триъгълник (triangle). # # На първия ред на входа се чете вида на фигурата (square, rectangle, circle, triangle): # # Ако фи...
# лица на фигури # Да се напише програма, която въвежда размерите на геометрична фигура и пресмята лицето й. # Фигурите са четири вида: квадрат (square), правоъгълник (rectangle), кръг (circle) и триъгълник (triangle). # # На първия ред на входа се чете вида на фигурата (square, rectangle, circle, triangle): # # Ако фи...
# лица на фигури # Да се напише програма, която въвежда размерите на геометрична фигура и пресмята лицето й. # Фигурите са четири вида: квадрат (square), правоъгълник (rectangle), кръг (circle) и триъгълник (triangle). # # На първия ред на входа се чете вида на фигурата (square, rectangle, circle, triangle): # # Ако фи...
# лица на фигури # Да се напише програма, която въвежда размерите на геометрична фигура и пресмята лицето й. # Фигурите са четири вида: квадрат (square), правоъгълник (rectangle), кръг (circle) и триъгълник (triangle). # # На първия ред на входа се чете вида на фигурата (square, rectangle, circle, triangle): # # Ако фи...
# лица на фигури # Да се напише програма, която въвежда размерите на геометрична фигура и пресмята лицето й. # Фигурите са четири вида: квадрат (square), правоъгълник (rectangle), кръг (circle) и триъгълник (triangle). # # На първия ред на входа се чете вида на фигурата (square, rectangle, circle, triangle): # # Ако фи...
true
true
true
{ "artifact_hash": "d10bb428d0640745d72f8ac0a508b93a9167732eee9ba5006754e93fb2f7f083", "id": "1737196", "max_stars_count": 0, "max_stars_repo_name": "karolinanikolova/SoftUni-Software-Engineering", "max_stars_repo_path": "1-Python-Programming-Basics (Sep 2020)/Course-Exercises-and-Exams/02_Conditional-Stateme...
{ "artifact_hash": "d10bb428d0640745d72f8ac0a508b93a9167732eee9ba5006754e93fb2f7f083", "normalized_source_hash": "7edf844d2d0e2f6a3bc93e3e4f18c59c4c1e245a810f771da91da140a7705e81", "raw_source_hash": "9529f721b01134866f39452394a81419c646f0a7afe0f08f8bd6610e0bb8d664", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# лица на фигури # Да се напише програма, която въвежда размерите на геометрична фигура и пресмята лицето й. # Фигурите са четири вида: квадрат (square), правоъгълник (rectangle), кръг (circle) и триъгълник (triangle). # # На първия ред на входа се чете вида на фигурата (square, rectangle, circle, triangle): # # Ако фи...
# лица на фигури # Да се напише програма, която въвежда размерите на геометрична фигура и пресмята лицето й. # Фигурите са четири вида: квадрат (square), правоъгълник (rectangle), кръг (circle) и триъгълник (triangle). # # На първия ред на входа се чете вида на фигурата (square, rectangle, circle, triangle): # # Ако фи...
true
true
true
null
7edf844d2d0e2f6a3bc93e3e4f18c59c4c1e245a810f771da91da140a7705e81
1,149
1,691
8
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.497595+00:00
en,es,fr,zh
true
7edf844d2d0e2f6a3bc93e3e4f18c59c4c1e245a810f771da91da140a7705e81
{ "v2_row_index": 8, "v2_source_sha256": "7edf844d2d0e2f6a3bc93e3e4f18c59c4c1e245a810f771da91da140a7705e81" }
ok
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may no use this file except en compliance con the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required por a...
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may non use this file except dans compliance avec the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required p...
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
true
true
true
{ "artifact_hash": "e5a8cc0051f26778bcc126c2932aef102e63895a68dcd25e8ef7279cb3a6729b", "id": "1737198", "max_stars_count": 0, "max_stars_repo_name": "qstanczyk/launchpad", "max_stars_repo_path": "launchpad/launch/serialization_test.py", "normalized_source_hash": "acf91aabb7629720da6b5758cbc8e7f001bad1d3b982...
{ "artifact_hash": "e5a8cc0051f26778bcc126c2932aef102e63895a68dcd25e8ef7279cb3a6729b", "normalized_source_hash": "acf91aabb7629720da6b5758cbc8e7f001bad1d3b9828e9f812975784d8b8db2", "raw_source_hash": "594c216ad29b1921b8e807952e63776260612244e88ae40d18f4bbc952050aa8", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may 不 use this file except 在 compliance 用 the License. # You may obtain a copy 的 the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required 按 applicab...
# Copyright 2020 DeepMind Technologies Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
true
true
true
null
acf91aabb7629720da6b5758cbc8e7f001bad1d3b9828e9f812975784d8b8db2
2,425
2,425
9
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.524888+00:00
en,es,fr,zh
true
acf91aabb7629720da6b5758cbc8e7f001bad1d3b9828e9f812975784d8b8db2
{ "v2_row_index": 9, "v2_source_sha256": "acf91aabb7629720da6b5758cbc8e7f001bad1d3b9828e9f812975784d8b8db2" }
ok
import unittest from fortunate.utils import make_app, Fortune class AppTest(unittest.TestCase): def test_app(self): app = make_app() self.assertEqual(app.name, 'fortunate') def test_sql_backend(self): app = make_app('fortunate.test_settings.test_sql') self.assertEqua...
Load unittest. Load make_app, Fortune from fortunate.utils. Define class AppTest inheriting from unittest.TestCase: Define method test_app with parameter self: Set app to make_app with no values. Call self dot assertEqual with app dot name, "fortunate". Define method test_sql_backend with parame...
Importar unittest. Importar make_app, Fortune desde fortunate.utils. Definir clase AppTest heredando de unittest.TestCase: Definir método test_app con parámetro self: Establecer app como make_app sin argumentos. Llamar self punto assertEqual con app punto name, "fortunate". Definir método test_s...
Charger unittest. Charger make_app, Fortune depuis fortunate.utils. Définir classe AppTest héritant de unittest.TestCase: Définir méthode test_app avec paramètre self: Affecter app à make_app sans arguments. Appeler self point de assertEqual avec app point de name, "fortunate". Définir méthode t...
import unittest from fortunate.utils import make_app, Fortune class AppTest(unittest.TestCase): def test_app(self): app = make_app() self.assertEqual(app.name, 'fortunate') def test_sql_backend(self): app = make_app('fortunate.test_settings.test_sql') self.assertEqual(app.conf...
true
true
true
{ "artifact_hash": "c17a5f1258679e9e6c2144992c42d359a3657f96458b53fc555d12979abc67a1", "id": "1737199", "max_stars_count": 0, "max_stars_repo_name": "kryptn/Fortunate", "max_stars_repo_path": "fortunate/fortunate/tests/test_utils.py", "normalized_source_hash": "92d5d302e4ba17d6f8db4bb876803b2839cadfae5d85ec...
{ "artifact_hash": "c17a5f1258679e9e6c2144992c42d359a3657f96458b53fc555d12979abc67a1", "normalized_source_hash": "92d5d302e4ba17d6f8db4bb876803b2839cadfae5d85ecb9efd34d32ebecbcac", "raw_source_hash": "8063ba5316b644f88df12c12d6b596963f643482306d8b30774c38b52b937d1a", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 unittest. 导入 make_app, Fortune 从 fortunate 点 utils. 定义类 AppTest 继承自 unittest 点 TestCase: 定义方法 test_app 参数为 self: 设 app 为 make_app 不带参数. 调用 self 点 assertEqual 用 app 点 name, "fortunate". 定义方法 test_sql_backend 参数为 self: 设 app 为 make_app 用 "fortunate.test_settings.test_sql". 调用 se...
import unittest from fortunate.utils import make_app, Fortune class AppTest(unittest.TestCase): def test_app(self): app = make_app() self.assertEqual(app.name, 'fortunate') def test_sql_backend(self): app = make_app('fortunate.test_settings.test_sql') self.assertEqua...
true
true
true
null
92d5d302e4ba17d6f8db4bb876803b2839cadfae5d85ecb9efd34d32ebecbcac
1,592
1,592
10
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.569397+00:00
en,es,fr,zh
true
92d5d302e4ba17d6f8db4bb876803b2839cadfae5d85ecb9efd34d32ebecbcac
{ "v2_row_index": 10, "v2_source_sha256": "92d5d302e4ba17d6f8db4bb876803b2839cadfae5d85ecb9efd34d32ebecbcac" }
ok
#!/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
# !/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
# !/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may no use this file except en compliance con the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required por applicable law ...
# !/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may non use this file except dans compliance avec the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required par applicable ...
# !/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
true
true
true
{ "artifact_hash": "960be3e87ad0af680bcd27ffaa22340ec38ab2b7f4b491534df46f826544d466", "id": "1737203", "max_stars_count": 1, "max_stars_repo_name": "jsuberza/earthenterprise", "max_stars_repo_path": "earth_enterprise/src/fusion/portableglobe/cutter/cgi-bin/geecheck_tests/user_tests/os_supported_test.py", "...
{ "artifact_hash": "960be3e87ad0af680bcd27ffaa22340ec38ab2b7f4b491534df46f826544d466", "normalized_source_hash": "fe557e5dacb7f6ad5ae16342de1782ef31835cc8a6357e5afb0c0d399a3be571", "raw_source_hash": "5d7a9ed82788aad4c2ab5827cb3a891f11a9c0b9eff280db68f8bce0a05b0a6a", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# !/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may 不 use this file except 在 compliance 用 the License. # You may obtain a copy 的 the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required 按 applicable law 或者 agre...
#!/usr/bin/env python # # Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
true
true
true
null
fe557e5dacb7f6ad5ae16342de1782ef31835cc8a6357e5afb0c0d399a3be571
2,162
2,162
11
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.605309+00:00
en,es,fr,zh
true
fe557e5dacb7f6ad5ae16342de1782ef31835cc8a6357e5afb0c0d399a3be571
{ "v2_row_index": 11, "v2_source_sha256": "fe557e5dacb7f6ad5ae16342de1782ef31835cc8a6357e5afb0c0d399a3be571" }
ok
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
true
true
true
{ "artifact_hash": "f79849931f70c23e09a76f3a919b339d72e280bf02e4fa25bfea2994340a35bd", "id": "1737204", "max_stars_count": 77, "max_stars_repo_name": "leelige/mindspore", "max_stars_repo_path": "research/cv/efficientnet-b0/src/models/effnet.py", "normalized_source_hash": "0925feab2c98b5c9883ebe041942fd2e074...
{ "artifact_hash": "f79849931f70c23e09a76f3a919b339d72e280bf02e4fa25bfea2994340a35bd", "normalized_source_hash": "0925feab2c98b5c9883ebe041942fd2e0744221736acf92fd1ebfbcc6cb1e876", "raw_source_hash": "4d3627868ef8ef254218c85f7ec5f3f16a5396a65795f87a2f7e45ae35ec9d2d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may 不 use this file except 在 compliance 用 the License. # You may obtain a copy 的 the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required 按 applicable law 或者 agreed 为 在 writin...
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
true
true
true
null
0925feab2c98b5c9883ebe041942fd2e0744221736acf92fd1ebfbcc6cb1e876
4,869
4,869
12
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.624027+00:00
en,es,fr,zh
true
0925feab2c98b5c9883ebe041942fd2e0744221736acf92fd1ebfbcc6cb1e876
{ "v2_row_index": 12, "v2_source_sha256": "0925feab2c98b5c9883ebe041942fd2e0744221736acf92fd1ebfbcc6cb1e876" }
ok
import os from flask import request from mediacrush.config import _cfg, _cfgi from mediacrush.network import is_tor def domain_url(path): if is_tor(): return "%s/%s" % (_cfg("tor_domain"), path) return "%s://%s/%s" % (_cfg("protocol"), _cfg("domain"), path) def cdn_url(path): request_domain = re...
Load os. Load request from flask. Load _cfg, _cfgi from mediacrush.config. Load is_tor from mediacrush.network. Define function domain_url with parameter path: If is_tor with no values: Return "%s/%s" modulo the tuple ((_cfg with "tor_domain"), path). Return "%s://%s/%s" modulo the tuple ((_cfg with "pr...
Importar os. Importar request desde flask. Importar _cfg, _cfgi desde mediacrush.config. Importar is_tor desde mediacrush.network. Definir función domain_url con parámetro path: Si is_tor sin argumentos: Devolver "%s/%s" módulo la tupla ((_cfg con "tor_domain"), path). Devolver "%s://%s/%s" módulo la tu...
Charger os. Charger request depuis flask. Charger _cfg, _cfgi depuis mediacrush.config. Charger is_tor depuis mediacrush.network. Définir fonction domain_url avec paramètre path: Si is_tor sans arguments: Retourner "%s/%s" modulo le tuple ((_cfg avec "tor_domain"), path). Retourner "%s://%s/%s" modulo l...
import os from flask import request from mediacrush.config import _cfg, _cfgi from mediacrush.network import is_tor def domain_url(path): if is_tor(): return '%s/%s' % (_cfg('tor_domain'), path) return '%s://%s/%s' % (_cfg('protocol'), _cfg('domain'), path) def cdn_url(path): request_domain = requ...
true
true
true
{ "artifact_hash": "fbc05271bbfa4ea8a160bc323ef5e2d7673434e8c13b14480f61a0c765a71826", "id": "1737206", "max_stars_count": 0, "max_stars_repo_name": "nerdzeu/NERDZCrush", "max_stars_repo_path": "mediacrush/paths.py", "normalized_source_hash": "b35b38e1054b74ee8ba3c3b94a817257f303e79bf9520f2a767a19fe06e95c71...
{ "artifact_hash": "fbc05271bbfa4ea8a160bc323ef5e2d7673434e8c13b14480f61a0c765a71826", "normalized_source_hash": "b35b38e1054b74ee8ba3c3b94a817257f303e79bf9520f2a767a19fe06e95c71", "raw_source_hash": "7f3430fe9cb3d4ade80587460268f3bf02f4a81e4243b94b302c40d966654b2f", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 os. 导入 request 从 flask. 导入 _cfg, _cfgi 从 mediacrush 点 config. 导入 is_tor 从 mediacrush 点 network. 定义函数 domain_url 参数为 path: 如果 is_tor 不带参数: 返回 "%s/%s" 取模 元组 ((_cfg 用 "tor_domain"), path). 返回 "%s://%s/%s" 取模 元组 ((_cfg 用 "protocol"), (_cfg 用 "domain"), path). 定义函数 cdn_url 参数为 path: 设 request_domain 为...
import os from flask import request from mediacrush.config import _cfg, _cfgi from mediacrush.network import is_tor def domain_url(path): if is_tor(): return "%s/%s" % (_cfg("tor_domain"), path) return "%s://%s/%s" % (_cfg("protocol"), _cfg("domain"), path) def cdn_url(path): request_domain = re...
true
true
true
null
b35b38e1054b74ee8ba3c3b94a817257f303e79bf9520f2a767a19fe06e95c71
831
831
13
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.658651+00:00
en,es,fr,zh
true
b35b38e1054b74ee8ba3c3b94a817257f303e79bf9520f2a767a19fe06e95c71
{ "v2_row_index": 13, "v2_source_sha256": "b35b38e1054b74ee8ba3c3b94a817257f303e79bf9520f2a767a19fe06e95c71" }
ok
# # Copyright 2016 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
# # Copyright 2016 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
# # Copyright 2016 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may no use this file except en compliance con the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required por applicable law o agreed como en wr...
# # Copyright 2016 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may non use this file except dans compliance avec the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required par applicable law ou agreed à dan...
# # Copyright 2016 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
true
true
true
{ "artifact_hash": "d03b25ac615d753272c73b0c999841ee0393f497a2d9aed32c8ab126d08a87c0", "id": "1737211", "max_stars_count": 0, "max_stars_repo_name": "guilhermeprokisch/catalyst", "max_stars_repo_path": "tests/test_data_portal.py", "normalized_source_hash": "b4e13e47360141fa302744d542ff7820ca742c1561fd27e75e...
{ "artifact_hash": "d03b25ac615d753272c73b0c999841ee0393f497a2d9aed32c8ab126d08a87c0", "normalized_source_hash": "b4e13e47360141fa302744d542ff7820ca742c1561fd27e75e5d9ff3ca001fa8", "raw_source_hash": "d3056719040696237d1a4f1366f864b74e6b7541e52b87938d0d6ba48a7c7bc5", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# # Copyright 2016 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may 不 use this file except 在 compliance 用 the License. # You may obtain a copy 的 the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required 按 applicable law 或者 agreed 为 在 writing, sof...
# # Copyright 2016 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
true
true
true
null
b4e13e47360141fa302744d542ff7820ca742c1561fd27e75e5d9ff3ca001fa8
20,102
20,102
14
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.764510+00:00
en,es,fr,zh
true
b4e13e47360141fa302744d542ff7820ca742c1561fd27e75e5d9ff3ca001fa8
{ "v2_row_index": 14, "v2_source_sha256": "b4e13e47360141fa302744d542ff7820ca742c1561fd27e75e5d9ff3ca001fa8" }
ok
""" Admin for the csv_generator app """ from csv_generator.forms import CsvGeneratorForm, CsvGeneratorColumnForm from csv_generator.forms import CsvGeneratorColumnFormSet from csv_generator.models import CsvGenerator, CsvGeneratorColumn from csv_generator.views import CsvExportView from django.contrib import admin from...
Text block: "" "Admin for the csv_generator app" ending with a newline. Load CsvGeneratorForm, CsvGeneratorColumnForm from csv_generator.forms. Load CsvGeneratorColumnFormSet from csv_generator.forms. Load CsvGenerator, CsvGeneratorColumn from csv_generator.models. Load CsvExportView from csv_generator.views. Load admi...
Texto literal: "" "Admin for the csv_generator app" terminando con una nueva línea. Importar CsvGeneratorForm, CsvGeneratorColumnForm desde csv_generator.forms. Importar CsvGeneratorColumnFormSet desde csv_generator.forms. Importar CsvGenerator, CsvGeneratorColumn desde csv_generator.models. Importar CsvExportView desd...
Texte littéral: "" "Admin for the csv_generator app" se terminant par une nouvelle ligne. Charger CsvGeneratorForm, CsvGeneratorColumnForm depuis csv_generator.forms. Charger CsvGeneratorColumnFormSet depuis csv_generator.forms. Charger CsvGenerator, CsvGeneratorColumn depuis csv_generator.models. Charger CsvExportView...
""" Admin for the csv_generator app """ from csv_generator.forms import CsvGeneratorForm, CsvGeneratorColumnForm from csv_generator.forms import CsvGeneratorColumnFormSet from csv_generator.models import CsvGenerator, CsvGeneratorColumn from csv_generator.views import CsvExportView from django.contrib import admin from...
true
true
true
{ "artifact_hash": "91207e70e136ac47482b5fd9c2b10b588ed574b26adfecfd0b83dfdfb4c4452f", "id": "1737213", "max_stars_count": 3, "max_stars_repo_name": "fatboystring/csv_generator", "max_stars_repo_path": "csv_generator/admin.py", "normalized_source_hash": "d73135125fb64a3487502e5b14880c43086d744074bf1eb441010...
{ "artifact_hash": "91207e70e136ac47482b5fd9c2b10b588ed574b26adfecfd0b83dfdfb4c4452f", "normalized_source_hash": "d73135125fb64a3487502e5b14880c43086d744074bf1eb4410108f15405b2d6", "raw_source_hash": "bdb1a1bf473b5237914761b12ac484f15491987ff95a1f02ab5d5bd7a5c53e03", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
文本块: "" "Admin for the csv_generator app" 以换行结束. 导入 CsvGeneratorForm, CsvGeneratorColumnForm 从 csv_generator 点 forms. 导入 CsvGeneratorColumnFormSet 从 csv_generator 点 forms. 导入 CsvGenerator, CsvGeneratorColumn 从 csv_generator 点 models. 导入 CsvExportView 从 csv_generator 点 views. 导入 admin 从 django 点 contrib. 导入 ContentType ...
""" Admin for the csv_generator app """ from csv_generator.forms import CsvGeneratorForm, CsvGeneratorColumnForm from csv_generator.forms import CsvGeneratorColumnFormSet from csv_generator.models import CsvGenerator, CsvGeneratorColumn from csv_generator.views import CsvExportView from django.contrib import admin from...
true
true
true
null
d73135125fb64a3487502e5b14880c43086d744074bf1eb4410108f15405b2d6
5,507
5,507
15
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.840563+00:00
en,es,fr,zh
true
d73135125fb64a3487502e5b14880c43086d744074bf1eb4410108f15405b2d6
{ "v2_row_index": 15, "v2_source_sha256": "d73135125fb64a3487502e5b14880c43086d744074bf1eb4410108f15405b2d6" }
ok
#Average: O(log(N)) time | O(log(N)) space #Worst: O(N) time | O(N) space def findClosetValueInBst(tree, target): return findClosestValueInBstHeight(tree, target, float("inf")) def findClosestValueInBstHeight(tree, target, closest): if tree is None: return closest if abs(target - closest) > abs ...
# Average: O(log(N)) time | O(log(N)) space # Worst: O(N) time | O(N) space Define function findClosetValueInBst with parameters tree, target: Return findClosestValueInBstHeight with tree, target, and (float with "inf"). Define function findClosestValueInBstHeight with parameters tree, target, closest: If tre...
# Average: O(log(N)) time | O(log(N)) space # Worst: O(N) time | O(N) space Definir función findClosetValueInBst con parámetros tree, target: Devolver findClosestValueInBstHeight con tree, target, y también (float con "inf"). Definir función findClosestValueInBstHeight con parámetros tree, target, closest: Si...
# Average: O(log(N)) time | O(log(N)) space # Worst: O(N) time | O(N) space Définir fonction findClosetValueInBst avec paramètres tree, target: Retourner findClosestValueInBstHeight avec tree, target, et (float avec "inf"). Définir fonction findClosestValueInBstHeight avec paramètres tree, target, closest: Si...
# Average: O(log(N)) time | O(log(N)) space # Worst: O(N) time | O(N) space def findClosetValueInBst(tree, target): return findClosestValueInBstHeight(tree, target, float('inf')) def findClosestValueInBstHeight(tree, target, closest): if tree is None: return closest if abs(target - closest) > abs...
true
true
true
{ "artifact_hash": "364043a0fa10b7e450a6bd740cd565ddfdc4fc4b283a9c1d3d985f8d8a84372c", "id": "1737216", "max_stars_count": 5, "max_stars_repo_name": "MishaVernik/AlgoExpert", "max_stars_repo_path": "FindClosestValueInBst/main.py", "normalized_source_hash": "dcbaaf8cff05865f655af0e6921c56900e0f0f9f3128aa0515...
{ "artifact_hash": "364043a0fa10b7e450a6bd740cd565ddfdc4fc4b283a9c1d3d985f8d8a84372c", "normalized_source_hash": "dcbaaf8cff05865f655af0e6921c56900e0f0f9f3128aa0515622780350bf050", "raw_source_hash": "e0f58a443ec2c6d39d7f4eb0d37a5cb83bbb193c99ec2c504f28889d6717f3af", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Average: O(log(N)) time | O(log(N)) space # Worst: O(N) time | O(N) space 定义函数 findClosetValueInBst 参数为 tree, target: 返回 findClosestValueInBstHeight 用 tree, target, 并且 (float 用 "inf"). 定义函数 findClosestValueInBstHeight 参数为 tree, target, closest: 如果 tree 是 None: 返回 closest. 如果 abs 用 target 减去 clos...
#Average: O(log(N)) time | O(log(N)) space #Worst: O(N) time | O(N) space def findClosetValueInBst(tree, target): return findClosestValueInBstHeight(tree, target, float("inf")) def findClosestValueInBstHeight(tree, target, closest): if tree is None: return closest if abs(target - closest) > abs ...
true
true
true
null
dcbaaf8cff05865f655af0e6921c56900e0f0f9f3128aa0515622780350bf050
1,213
1,213
16
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.847126+00:00
en,es,fr,zh
true
dcbaaf8cff05865f655af0e6921c56900e0f0f9f3128aa0515622780350bf050
{ "v2_row_index": 16, "v2_source_sha256": "dcbaaf8cff05865f655af0e6921c56900e0f0f9f3128aa0515622780350bf050" }
ok
from mosestokenizer import * import sys # this is a helper script for tokenization of parallel testset in format "english sentence ||| other language sentence" if len(sys.argv) != 3: print("COMMAND: tokenize.py input_file second_language") input_file = sys.argv[1] second_language = sys.argv[2] en_tokenize = M...
Load everything from mosestokenizer. Load sys. # this is a helper script for tokenization of parallel testset in format "english sentence ||| other language sentence" If len with sys dot argv does not equal 3: Print "COMMAND: tokenize.py input_file second_language". Set input_file to item 1 of sys dot argv. Set sec...
Importar todo desde mosestokenizer. Importar sys. # this es a helper script for tokenization de parallel testset en format "english sentence ||| other language sentence" Si len con sys punto argv no es igual a 3: Imprimir "COMMAND: tokenize.py input_file second_language". Establecer input_file como elemento 1 de sy...
Charger tout depuis mosestokenizer. Charger sys. # this est a helper script for tokenization de parallel testset dans format "english sentence ||| other language sentence" Si len avec sys point de argv n'est pas égal à 3: Afficher "COMMAND: tokenize.py input_file second_language". Affecter input_file à élément 1 de...
from mosestokenizer import * import sys # this is a helper script for tokenization of parallel testset in format "english sentence ||| other language sentence" if len(sys.argv) != 3: print('COMMAND: tokenize.py input_file second_language') input_file = sys.argv[1] second_language = sys.argv[2] en_tokenize = MosesTo...
true
true
true
{ "artifact_hash": "9983afb4fe08693f04dfb1f2e87ff5b7d6f386b9b4b4d2e13346761a0e2e0a42", "id": "1737218", "max_stars_count": 31, "max_stars_repo_name": "alexissavva/NLP", "max_stars_repo_path": "src/tokenize_testset.py", "normalized_source_hash": "d5e13a0abf0653381306dc25b444dbc05e2a3f75acf9f63716b7cc45680b44...
{ "artifact_hash": "9983afb4fe08693f04dfb1f2e87ff5b7d6f386b9b4b4d2e13346761a0e2e0a42", "normalized_source_hash": "d5e13a0abf0653381306dc25b444dbc05e2a3f75acf9f63716b7cc45680b4443", "raw_source_hash": "224ea13cacaadb3219f05b4a94f2e0da005b06808d0233cbf4272251022d8d1a", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
从以下内容导入全部 mosestokenizer. 导入 sys. # this 是 a helper script for tokenization 的 parallel testset 在 format "english sentence ||| other language sentence" 如果 len 用 sys 点 argv 不等于 3: 打印 "COMMAND: tokenize.py input_file second_language". 设 input_file 为 元素 1 的 sys 点 argv. 设 second_language 为 元素 2 的 sys 点 argv. 设 en_tokeni...
from mosestokenizer import * import sys # this is a helper script for tokenization of parallel testset in format "english sentence ||| other language sentence" if len(sys.argv) != 3: print("COMMAND: tokenize.py input_file second_language") input_file = sys.argv[1] second_language = sys.argv[2] en_tokenize = M...
true
true
true
null
d5e13a0abf0653381306dc25b444dbc05e2a3f75acf9f63716b7cc45680b4443
821
821
17
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.860660+00:00
en,es,fr,zh
true
d5e13a0abf0653381306dc25b444dbc05e2a3f75acf9f63716b7cc45680b4443
{ "v2_row_index": 17, "v2_source_sha256": "d5e13a0abf0653381306dc25b444dbc05e2a3f75acf9f63716b7cc45680b4443" }
ok
from unittest import mock from django.test import TestCase from elasticsearch.exceptions import TransportError from elasticsearch_django.management.commands import ( BaseSearchCommand, create_search_index, delete_search_index, prune_search_index, rebuild_search_index, update_search_index, ) ...
Load mock from unittest. Load TestCase from django.test. Load TransportError from elasticsearch.exceptions. Load BaseSearchCommand, create_search_index, delete_search_index, prune_search_index, rebuild_search_index, update_search_index from elasticsearch_django.management.commands. Define class BaseSearchCommandTests i...
Importar mock desde unittest. Importar TestCase desde django.test. Importar TransportError desde elasticsearch.exceptions. Importar BaseSearchCommand, create_search_index, delete_search_index, prune_search_index, rebuild_search_index, update_search_index desde elasticsearch_django.management.commands. Definir clase Bas...
Charger mock depuis unittest. Charger TestCase depuis django.test. Charger TransportError depuis elasticsearch.exceptions. Charger BaseSearchCommand, create_search_index, delete_search_index, prune_search_index, rebuild_search_index, update_search_index depuis elasticsearch_django.management.commands. Définir classe Ba...
from unittest import mock from django.test import TestCase from elasticsearch.exceptions import TransportError from elasticsearch_django.management.commands import BaseSearchCommand, create_search_index, delete_search_index, prune_search_index, rebuild_search_index, update_search_index class BaseSearchCommandTests(Tes...
true
true
true
{ "artifact_hash": "7819a9d9448dc20008575857c57f8e9dd2453b0c80304461a965f95c5bad2d64", "id": "1737223", "max_stars_count": 87, "max_stars_repo_name": "octoenergy/elasticsearch-django", "max_stars_repo_path": "tests/test_commands.py", "normalized_source_hash": "2dce134e0c56bc4fe2dfa8577100dc820ec0774bd598fd8...
{ "artifact_hash": "7819a9d9448dc20008575857c57f8e9dd2453b0c80304461a965f95c5bad2d64", "normalized_source_hash": "2dce134e0c56bc4fe2dfa8577100dc820ec0774bd598fd8f2608fd80a8c99917", "raw_source_hash": "e96a2b7a60bd8e32fca1a35dd62973106ee34f7b7ccc4718db67063d595bbfc4", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 mock 从 unittest. 导入 TestCase 从 django 点 test. 导入 TransportError 从 elasticsearch 点 exceptions. 导入 BaseSearchCommand, create_search_index, delete_search_index, prune_search_index, rebuild_search_index, update_search_index 从 elasticsearch_django 点 management 点 commands. 定义类 BaseSearchCommandTests 继承自 TestCase: 求值 "...
from unittest import mock from django.test import TestCase from elasticsearch.exceptions import TransportError from elasticsearch_django.management.commands import ( BaseSearchCommand, create_search_index, delete_search_index, prune_search_index, rebuild_search_index, update_search_index, ) ...
true
true
true
null
2dce134e0c56bc4fe2dfa8577100dc820ec0774bd598fd8f2608fd80a8c99917
4,424
4,424
18
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:52.995891+00:00
en,es,fr,zh
true
2dce134e0c56bc4fe2dfa8577100dc820ec0774bd598fd8f2608fd80a8c99917
{ "v2_row_index": 18, "v2_source_sha256": "2dce134e0c56bc4fe2dfa8577100dc820ec0774bd598fd8f2608fd80a8c99917" }
ok
import pint import numpy as np import tkinter as tk from tkinter import ttk from tkinter import messagebox import json import sympy import copy import datetime import os import subprocess import urllib.request class Calculator(ttk.Frame): ''' There is one class (this one) representing the whole applicatio...
Load pint. Load numpy, referred to as np. Load tkinter, referred to as tk. Load ttk from tkinter. Load messagebox from tkinter. Load json. Load sympy. Load copy. Load datetime. Load os. Load subprocess. Load urllib.request. Define class Calculator inheriting from ttk.Frame: Text block: "" " There is one ...
Importar pint. Importar numpy, referido como np. Importar tkinter, referido como tk. Importar ttk desde tkinter. Importar messagebox desde tkinter. Importar json. Importar sympy. Importar copy. Importar datetime. Importar os. Importar subprocess. Importar urllib.request. Definir clase Calculator heredando de ttk.Frame:...
Charger pint. Charger numpy, référé comme np. Charger tkinter, référé comme tk. Charger ttk depuis tkinter. Charger messagebox depuis tkinter. Charger json. Charger sympy. Charger copy. Charger datetime. Charger os. Charger subprocess. Charger urllib.request. Définir classe Calculator héritant de ttk.Frame: Texte l...
import pint import numpy as np import tkinter as tk from tkinter import ttk from tkinter import messagebox import json import sympy import copy import datetime import os import subprocess import urllib.request class Calculator(ttk.Frame): """ There is one class (this one) representing the whole application ...
true
true
true
{ "artifact_hash": "cacd62e0766b45c07155353f4cb9a78be530a2834653ad8e0d30c159ee5af7f7", "id": "1737224", "max_stars_count": 3, "max_stars_repo_name": "PawelS23/laser-calculator", "max_stars_repo_path": "laser-calculator.py", "normalized_source_hash": "ffdb8dce139ae1d2f55ea21ef76b95e85ffff6f4251f82aaf1558db7c...
{ "artifact_hash": "cacd62e0766b45c07155353f4cb9a78be530a2834653ad8e0d30c159ee5af7f7", "normalized_source_hash": "ffdb8dce139ae1d2f55ea21ef76b95e85ffff6f4251f82aaf1558db7c97403a2", "raw_source_hash": "ce9175530721888286dc34d47cc87f50ede4f262a358bacdbe7020e91762d5f1", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 pint. 导入 numpy, 别名为 np. 导入 tkinter, 别名为 tk. 导入 ttk 从 tkinter. 导入 messagebox 从 tkinter. 导入 json. 导入 sympy. 导入 copy. 导入 datetime. 导入 os. 导入 subprocess. 导入 urllib 点 request. 定义类 Calculator 继承自 ttk 点 Frame: 文本块: "" " There is one class (this one) representing the whole application" " ". 定义方法 __...
import pint import numpy as np import tkinter as tk from tkinter import ttk from tkinter import messagebox import json import sympy import copy import datetime import os import subprocess import urllib.request class Calculator(ttk.Frame): ''' There is one class (this one) representing the whole applicatio...
true
true
true
null
ffdb8dce139ae1d2f55ea21ef76b95e85ffff6f4251f82aaf1558db7c97403a2
23,481
23,481
19
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.047752+00:00
en,es,fr,zh
true
ffdb8dce139ae1d2f55ea21ef76b95e85ffff6f4251f82aaf1558db7c97403a2
{ "v2_row_index": 19, "v2_source_sha256": "ffdb8dce139ae1d2f55ea21ef76b95e85ffff6f4251f82aaf1558db7c97403a2" }
ok
################################################### # Demo of 2d-FDTD with PML to simulate sillicon # waveguide. # Including two examples: # 1: Slab waveguide. # 2: Photonic crystal waveguide. ################################################### from waveguide import device, fdtdwg # free space permittivity e0 =...
# ################################################## # Demo of 2d-FDTD with PML to simulate sillicon # waveguide. # Including two examples: # 1: Slab waveguide. # 2: Photonic crystal waveguide. # ################################################## Load device, fdtdwg from waveguide. # free space permittivity Set e...
# ################################################## # Demo de 2d-FDTD con PML como simulate sillicon # waveguide. # Including two examples: # 1: Slab waveguide. # 2: Photonic crystal waveguide. # ################################################## Importar device, fdtdwg desde waveguide. # free space permittivity...
# ################################################## # Demo de 2d-FDTD avec PML à simulate sillicon # waveguide. # Including two examples: # 1: Slab waveguide. # 2: Photonic crystal waveguide. # ################################################## Charger device, fdtdwg depuis waveguide. # free space permittivity A...
# ################################################## # Demo of 2d-FDTD with PML to simulate sillicon # waveguide. # Including two examples: # 1: Slab waveguide. # 2: Photonic crystal waveguide. # ################################################## from waveguide import device, fdtdwg # free space permittivity e0 =...
true
true
true
{ "artifact_hash": "e7f8790035eedac8188f0bc814c68f7b972fbac7c04ab6e4f5792458fbe9170a", "id": "1737226", "max_stars_count": 0, "max_stars_repo_name": "dantehustg/FDTD_SiliconWG", "max_stars_repo_path": "demo.py", "normalized_source_hash": "bcb940e4a88042d192f5ee29fe868979cc5cc4d90e7965e9ee33e5f1f3b4b027", ...
{ "artifact_hash": "e7f8790035eedac8188f0bc814c68f7b972fbac7c04ab6e4f5792458fbe9170a", "normalized_source_hash": "bcb940e4a88042d192f5ee29fe868979cc5cc4d90e7965e9ee33e5f1f3b4b027", "raw_source_hash": "5e4d7b0dfd09356d2f9b2dac364984cdf4a7c02e6f599b9341004d4e65aa5d4e", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# ################################################## # Demo 的 2d-FDTD 用 PML 为 simulate sillicon # waveguide. # Including two examples: # 1: Slab waveguide. # 2: Photonic crystal waveguide. # ################################################## 导入 device, fdtdwg 从 waveguide. # free space permittivity 设 e0 为 8.841941...
################################################### # Demo of 2d-FDTD with PML to simulate sillicon # waveguide. # Including two examples: # 1: Slab waveguide. # 2: Photonic crystal waveguide. ################################################### from waveguide import device, fdtdwg # free space permittivity e0 =...
true
true
true
null
bcb940e4a88042d192f5ee29fe868979cc5cc4d90e7965e9ee33e5f1f3b4b027
3,147
3,333
20
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.413767+00:00
en,es,fr,zh
true
bcb940e4a88042d192f5ee29fe868979cc5cc4d90e7965e9ee33e5f1f3b4b027
{ "v2_row_index": 20, "v2_source_sha256": "bcb940e4a88042d192f5ee29fe868979cc5cc4d90e7965e9ee33e5f1f3b4b027" }
ok
import datetime import sys import threading from daphne.server import Server, build_endpoint_description_strings from django.apps import apps from django.conf import settings from django.core.management.commands.runserver import Command as RunserverCommand from django.utils import six from django.utils.encoding import...
Load datetime. Load sys. Load threading. Load Server, build_endpoint_description_strings from daphne.server. Load apps from django.apps. Load settings from django.conf. Load Command referred to as RunserverCommand from django.core.management.commands.runserver. Load six from django.utils. Load get_system_encoding from ...
Importar datetime. Importar sys. Importar threading. Importar Server, build_endpoint_description_strings desde daphne.server. Importar apps desde django.apps. Importar settings desde django.conf. Importar Command referido como RunserverCommand desde django.core.management.commands.runserver. Importar six desde django.u...
Charger datetime. Charger sys. Charger threading. Charger Server, build_endpoint_description_strings depuis daphne.server. Charger apps depuis django.apps. Charger settings depuis django.conf. Charger Command référé comme RunserverCommand depuis django.core.management.commands.runserver. Charger six depuis django.utils...
import datetime import sys import threading from daphne.server import Server, build_endpoint_description_strings from django.apps import apps from django.conf import settings from django.core.management.commands.runserver import Command as RunserverCommand from django.utils import six from django.utils.encoding import ...
true
true
true
{ "artifact_hash": "d072267aaead4fcc92195356a09e8086101213a6677172aa99d16d59448e1823", "id": "1737229", "max_stars_count": 0, "max_stars_repo_name": "amit63731/channels", "max_stars_repo_path": "Lib/site-packages/channels/management/commands/runserver.py", "normalized_source_hash": "a6531d3bfc46116d01d2859b...
{ "artifact_hash": "d072267aaead4fcc92195356a09e8086101213a6677172aa99d16d59448e1823", "normalized_source_hash": "a6531d3bfc46116d01d2859bee3ff95eba93c61e91a91f95266287349c53f8cb", "raw_source_hash": "da88f3ad20e4575ae848433f13fb596130d29c2f1572713052eb7d24ed386669", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 datetime. 导入 sys. 导入 threading. 导入 Server, build_endpoint_description_strings 从 daphne 点 server. 导入 apps 从 django 点 apps. 导入 settings 从 django 点 conf. 导入 Command 别名为 RunserverCommand 从 django 点 core 点 management 点 commands 点 runserver. 导入 six 从 django 点 utils. 导入 get_system_encoding 从 django 点 utils 点 encoding. 导入 D...
import datetime import sys import threading from daphne.server import Server, build_endpoint_description_strings from django.apps import apps from django.conf import settings from django.core.management.commands.runserver import Command as RunserverCommand from django.utils import six from django.utils.encoding import...
true
true
true
null
a6531d3bfc46116d01d2859bee3ff95eba93c61e91a91f95266287349c53f8cb
7,508
7,508
21
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.550790+00:00
en,es,fr,zh
true
a6531d3bfc46116d01d2859bee3ff95eba93c61e91a91f95266287349c53f8cb
{ "v2_row_index": 21, "v2_source_sha256": "a6531d3bfc46116d01d2859bee3ff95eba93c61e91a91f95266287349c53f8cb" }
ok
from typing import List from fastapi import APIRouter, Depends, HTTPException from sqlalchemy import select from starlette.status import HTTP_404_NOT_FOUND, HTTP_409_CONFLICT from odp import ODPScope from odp.api2.models import ClientModel, ClientSort from odp.api2.routers import Pager, Paging, Authorize from odp.db ...
Load List from typing. Load APIRouter, Depends, HTTPException from fastapi. Load select from sqlalchemy. Load HTTP_404_NOT_FOUND, HTTP_409_CONFLICT from starlette.status. Load ODPScope from odp. Load ClientModel, ClientSort from odp.api2.models. Load Pager, Paging, Authorize from odp.api2.routers. Load Session from odp...
Importar List desde typing. Importar APIRouter, Depends, HTTPException desde fastapi. Importar select desde sqlalchemy. Importar HTTP_404_NOT_FOUND, HTTP_409_CONFLICT desde starlette.status. Importar ODPScope desde odp. Importar ClientModel, ClientSort desde odp.api2.models. Importar Pager, Paging, Authorize desde odp....
Charger List depuis typing. Charger APIRouter, Depends, HTTPException depuis fastapi. Charger select depuis sqlalchemy. Charger HTTP_404_NOT_FOUND, HTTP_409_CONFLICT depuis starlette.status. Charger ODPScope depuis odp. Charger ClientModel, ClientSort depuis odp.api2.models. Charger Pager, Paging, Authorize depuis odp....
from typing import List from fastapi import APIRouter, Depends, HTTPException from sqlalchemy import select from starlette.status import HTTP_404_NOT_FOUND, HTTP_409_CONFLICT from odp import ODPScope from odp.api2.models import ClientModel, ClientSort from odp.api2.routers import Pager, Paging, Authorize from odp.db im...
true
true
true
{ "artifact_hash": "bc5ee11e3104bbc89f8a3859ea903718c8fc61b4a811df0179a65e1f51696101", "id": "1737230", "max_stars_count": 2, "max_stars_repo_name": "SAEONData/Open-Data-Platform", "max_stars_repo_path": "odp/api2/routers/client.py", "normalized_source_hash": "3090c50c7575970f8141985275a6a6ee2fdcd98db8512d4...
{ "artifact_hash": "bc5ee11e3104bbc89f8a3859ea903718c8fc61b4a811df0179a65e1f51696101", "normalized_source_hash": "3090c50c7575970f8141985275a6a6ee2fdcd98db8512d41b133f17b8f21227f", "raw_source_hash": "bb60d6ac1e4bb84f24d345c58030e640f17a63dee85e674e1d3b3bbb1a6a2b58", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 List 从 typing. 导入 APIRouter, Depends, HTTPException 从 fastapi. 导入 select 从 sqlalchemy. 导入 HTTP_404_NOT_FOUND, HTTP_409_CONFLICT 从 starlette 点 status. 导入 ODPScope 从 odp. 导入 ClientModel, ClientSort 从 odp 点 api2 点 models. 导入 Pager, Paging, Authorize 从 odp 点 api2 点 routers. 导入 Session 从 odp 点 db. 导入 Client, Scope 从 odp ...
from typing import List from fastapi import APIRouter, Depends, HTTPException from sqlalchemy import select from starlette.status import HTTP_404_NOT_FOUND, HTTP_409_CONFLICT from odp import ODPScope from odp.api2.models import ClientModel, ClientSort from odp.api2.routers import Pager, Paging, Authorize from odp.db ...
true
true
true
null
3090c50c7575970f8141985275a6a6ee2fdcd98db8512d41b133f17b8f21227f
2,555
2,555
22
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.586279+00:00
en,es,fr,zh
true
3090c50c7575970f8141985275a6a6ee2fdcd98db8512d41b133f17b8f21227f
{ "v2_row_index": 22, "v2_source_sha256": "3090c50c7575970f8141985275a6a6ee2fdcd98db8512d41b133f17b8f21227f" }
ok
from requests import get def hackclub(highSchoolHackathons: list): url = 'https://hackathons.hackclub.com/api/events/upcoming' response = get(url) json_response = response.json() for i in json_response: hackathon = {} title = i["name"] link = i["website"] date = i["st...
Load get from requests. Define function hackclub with parameter highSchoolHackathons (type: list): Set url to "https://hackathons.hackclub.com/api/events/upcoming". Set response to get with url. Set json_response to response dot json with no values. For each i in json_response: Set hackathon to ...
Importar get desde requests. Definir función hackclub con parámetro highSchoolHackathons (tipo: list): Establecer url como "https://hackathons.hackclub.com/api/events/upcoming". Establecer response como get con url. Establecer json_response como response punto json sin argumentos. Para cada i en json_re...
Charger get depuis requests. Définir fonction hackclub avec paramètre highSchoolHackathons (type : list): Affecter url à "https://hackathons.hackclub.com/api/events/upcoming". Affecter response à get avec url. Affecter json_response à response point de json sans arguments. Pour chaque i dans json_respon...
from requests import get def hackclub(highSchoolHackathons: list): url = 'https://hackathons.hackclub.com/api/events/upcoming' response = get(url) json_response = response.json() for i in json_response: hackathon = {} title = i['name'] link = i['website'] date = i['start...
true
true
true
{ "artifact_hash": "6b8122c657cdf337c21b11b5044feeba4d908ab95714b1684d45519c3cba2f94", "id": "1737232", "max_stars_count": 16, "max_stars_repo_name": "zinader/FindHacks", "max_stars_repo_path": "api/scrapers/hackclub.py", "normalized_source_hash": "f16ce5d0e2838af5236f1fb55c145c30018f0c66522026eeac013d611f6...
{ "artifact_hash": "6b8122c657cdf337c21b11b5044feeba4d908ab95714b1684d45519c3cba2f94", "normalized_source_hash": "f16ce5d0e2838af5236f1fb55c145c30018f0c66522026eeac013d611f6fbb3b", "raw_source_hash": "345d22680dcaaa474faf7abc26d0b209032749506d5e09ca0b667d5298e3cca7", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 get 从 requests. 定义函数 hackclub 参数为 highSchoolHackathons (类型: list): 设 url 为 "https://hackathons.hackclub.com/api/events/upcoming". 设 response 为 get 用 url. 设 json_response 为 response 点 json 不带参数. 对于每个 i 在 json_response: 设 hackathon 为 空字典. 设 title 为 键为以下内容的项 "name" 的 i. 设 link 为 ...
from requests import get def hackclub(highSchoolHackathons: list): url = 'https://hackathons.hackclub.com/api/events/upcoming' response = get(url) json_response = response.json() for i in json_response: hackathon = {} title = i["name"] link = i["website"] date = i["st...
true
true
true
null
f16ce5d0e2838af5236f1fb55c145c30018f0c66522026eeac013d611f6fbb3b
894
894
23
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.695005+00:00
en,es,fr,zh
true
f16ce5d0e2838af5236f1fb55c145c30018f0c66522026eeac013d611f6fbb3b
{ "v2_row_index": 23, "v2_source_sha256": "f16ce5d0e2838af5236f1fb55c145c30018f0c66522026eeac013d611f6fbb3b" }
ok
from os.path import join, dirname, abspath from numpy import mean from joblib import load as joblib_load from pickle import load as pickle_load from ase.io import read from pymatgen.io.ase import AseAtomsAdaptor from ffp4mof.featurize import get_features AVAILABLE_FORCE_FIELD_PRECURSORS = [ "partial_charge", ...
Load join, dirname, abspath from os.path. Load mean from numpy. Load load referred to as joblib_load from joblib. Load load referred to as pickle_load from pickle. Load read from ase.io. Load AseAtomsAdaptor from pymatgen.io.ase. Load get_features from ffp4mof.featurize. Set AVAILABLE_FORCE_FIELD_PRECURSORS to the list...
Importar join, dirname, abspath desde os.path. Importar mean desde numpy. Importar load referido como joblib_load desde joblib. Importar load referido como pickle_load desde pickle. Importar read desde ase.io. Importar AseAtomsAdaptor desde pymatgen.io.ase. Importar get_features desde ffp4mof.featurize. Establecer AVAI...
Charger join, dirname, abspath depuis os.path. Charger mean depuis numpy. Charger load référé comme joblib_load depuis joblib. Charger load référé comme pickle_load depuis pickle. Charger read depuis ase.io. Charger AseAtomsAdaptor depuis pymatgen.io.ase. Charger get_features depuis ffp4mof.featurize. Affecter AVAILABL...
from os.path import join, dirname, abspath from numpy import mean from joblib import load as joblib_load from pickle import load as pickle_load from ase.io import read from pymatgen.io.ase import AseAtomsAdaptor from ffp4mof.featurize import get_features AVAILABLE_FORCE_FIELD_PRECURSORS = ['partial_charge', 'fluctuatin...
true
true
true
{ "artifact_hash": "b9e125e058a007108660f540347922fb75e56ae032f31cd059961eb9c3bc9fc4", "id": "1737234", "max_stars_count": 0, "max_stars_repo_name": "korolewadim/ffp4mof", "max_stars_repo_path": "ffp4mof/predict.py", "normalized_source_hash": "df93e93c984c159121ec63de58492e7692e03b9d1172760e70affd4ca736f8e4...
{ "artifact_hash": "b9e125e058a007108660f540347922fb75e56ae032f31cd059961eb9c3bc9fc4", "normalized_source_hash": "df93e93c984c159121ec63de58492e7692e03b9d1172760e70affd4ca736f8e4", "raw_source_hash": "2885a36199c44062ce2e93363e2c3326e1aa3a35e9669126168a0164b684bccc", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 join, dirname, abspath 从 os 点 path. 导入 mean 从 numpy. 导入 load 别名为 joblib_load 从 joblib. 导入 load 别名为 pickle_load 从 pickle. 导入 read 从 ase 点 io. 导入 AseAtomsAdaptor 从 pymatgen 点 io 点 ase. 导入 get_features 从 ffp4mof 点 featurize. 设 AVAILABLE_FORCE_FIELD_PRECURSORS 为 列表 [ "partial_charge", "fluctuating_polarizability", "FF_p...
from os.path import join, dirname, abspath from numpy import mean from joblib import load as joblib_load from pickle import load as pickle_load from ase.io import read from pymatgen.io.ase import AseAtomsAdaptor from ffp4mof.featurize import get_features AVAILABLE_FORCE_FIELD_PRECURSORS = [ "partial_charge", ...
true
true
true
null
df93e93c984c159121ec63de58492e7692e03b9d1172760e70affd4ca736f8e4
1,874
1,874
24
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.746917+00:00
en,es,fr,zh
true
df93e93c984c159121ec63de58492e7692e03b9d1172760e70affd4ca736f8e4
{ "v2_row_index": 24, "v2_source_sha256": "df93e93c984c159121ec63de58492e7692e03b9d1172760e70affd4ca736f8e4" }
ok
# import pdb from helpers import normalize, blur def initialize_beliefs(grid): height = len(grid) width = len(grid[0]) area = height * width belief_per_cell = 1.0 / area beliefs = [] for i in range(height): row = [] for j in range(width): row.append(belief_per_cell) ...
# import pdb Load normalize, blur from helpers. Define function initialize_beliefs with parameter grid: Set height to len with grid. Set width to len with item 0 of grid. Set area to height times width. Set belief_per_cell to 1.0 divided by area. Set beliefs to an empty list. For each i in the r...
# import pdb Importar normalize, blur desde helpers. Definir función initialize_beliefs con parámetro grid: Establecer height como len con grid. Establecer width como len con elemento 0 de grid. Establecer area como height veces width. Establecer belief_per_cell como 1.0 dividido por area. Establece...
# import pdb Charger normalize, blur depuis helpers. Définir fonction initialize_beliefs avec paramètre grid: Affecter height à len avec grid. Affecter width à len avec élément 0 de grid. Affecter area à height fois width. Affecter belief_per_cell à 1.0 divisé par area. Affecter beliefs à une liste ...
# import pdb from helpers import normalize, blur def initialize_beliefs(grid): height = len(grid) width = len(grid[0]) area = height * width belief_per_cell = 1.0 / area beliefs = [] for i in range(height): row = [] for j in range(width): row.append(belief_per_cell) ...
true
true
true
{ "artifact_hash": "3745863b807adbf07b07d12f5eb59dc8dd75626e53d6d4756f601744bc068a20", "id": "1737236", "max_stars_count": 0, "max_stars_repo_name": "xta0/Python-Playground", "max_stars_repo_path": "self-driving/Bayesian/localization2d/localizer.py", "normalized_source_hash": "8596217fa2732e7e56b6ae8e99ad04...
{ "artifact_hash": "3745863b807adbf07b07d12f5eb59dc8dd75626e53d6d4756f601744bc068a20", "normalized_source_hash": "8596217fa2732e7e56b6ae8e99ad043f4fc3d82b06334f62f3f07579320a5be2", "raw_source_hash": "0fecdd4638bcfd21028d3b7073eb53532a3d4ce53c94827e6711889669d9ae3a", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# import pdb 导入 normalize, blur 从 helpers. 定义函数 initialize_beliefs 参数为 grid: 设 height 为 len 用 grid. 设 width 为 len 用 元素 0 的 grid. 设 area 为 height 乘上 width. 设 belief_per_cell 为 1.0 除以 area. 设 beliefs 为 空列表. 对于每个 i 在 范围,从以下位置开始 0 并且 在以下位置之前停止 height: 设 row 为 空列表. 对于每个 j 在 范围,从以下位置开始...
# import pdb from helpers import normalize, blur def initialize_beliefs(grid): height = len(grid) width = len(grid[0]) area = height * width belief_per_cell = 1.0 / area beliefs = [] for i in range(height): row = [] for j in range(width): row.append(belief_per_cell) ...
true
true
true
null
8596217fa2732e7e56b6ae8e99ad043f4fc3d82b06334f62f3f07579320a5be2
934
934
25
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.807771+00:00
en,es,fr,zh
true
8596217fa2732e7e56b6ae8e99ad043f4fc3d82b06334f62f3f07579320a5be2
{ "v2_row_index": 25, "v2_source_sha256": "8596217fa2732e7e56b6ae8e99ad043f4fc3d82b06334f62f3f07579320a5be2" }
ok
from aws_vapor.dsl import Template from aws_vapor.dsl import Metadatum from aws_vapor.dsl import Parameter from aws_vapor.dsl import Mapping from aws_vapor.dsl import Condition from aws_vapor.dsl import Resource from aws_vapor.dsl import Output from aws_vapor.dsl import Attributes from aws_vapor.dsl import Intrinsics f...
Load Template from aws_vapor.dsl. Load Metadatum from aws_vapor.dsl. Load Parameter from aws_vapor.dsl. Load Mapping from aws_vapor.dsl. Load Condition from aws_vapor.dsl. Load Resource from aws_vapor.dsl. Load Output from aws_vapor.dsl. Load Attributes from aws_vapor.dsl. Load Intrinsics from aws_vapor.dsl. Load Pseud...
Importar Template desde aws_vapor.dsl. Importar Metadatum desde aws_vapor.dsl. Importar Parameter desde aws_vapor.dsl. Importar Mapping desde aws_vapor.dsl. Importar Condition desde aws_vapor.dsl. Importar Resource desde aws_vapor.dsl. Importar Output desde aws_vapor.dsl. Importar Attributes desde aws_vapor.dsl. Import...
Charger Template depuis aws_vapor.dsl. Charger Metadatum depuis aws_vapor.dsl. Charger Parameter depuis aws_vapor.dsl. Charger Mapping depuis aws_vapor.dsl. Charger Condition depuis aws_vapor.dsl. Charger Resource depuis aws_vapor.dsl. Charger Output depuis aws_vapor.dsl. Charger Attributes depuis aws_vapor.dsl. Charge...
from aws_vapor.dsl import Template from aws_vapor.dsl import Metadatum from aws_vapor.dsl import Parameter from aws_vapor.dsl import Mapping from aws_vapor.dsl import Condition from aws_vapor.dsl import Resource from aws_vapor.dsl import Output from aws_vapor.dsl import Attributes from aws_vapor.dsl import Intrinsics f...
true
true
true
{ "artifact_hash": "715ee844a86e0ce6ccab21defa0df8f09fd3e213170c5d096a178d2bdd9eeb92", "id": "1737237", "max_stars_count": 3, "max_stars_repo_name": "ohtomi/aws-cfn-gen", "max_stars_repo_path": "examples/mongodb.py", "normalized_source_hash": "99cfbb75763508d3414721b738c5511d88e3b1097cd3d752b4c1c24c4cd787ee...
{ "artifact_hash": "715ee844a86e0ce6ccab21defa0df8f09fd3e213170c5d096a178d2bdd9eeb92", "normalized_source_hash": "99cfbb75763508d3414721b738c5511d88e3b1097cd3d752b4c1c24c4cd787ee", "raw_source_hash": "b4d448645aad5c08cc89e2c32abda62c2852513a84d5a6d97763a4395d932360", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 Template 从 aws_vapor 点 dsl. 导入 Metadatum 从 aws_vapor 点 dsl. 导入 Parameter 从 aws_vapor 点 dsl. 导入 映射 从 aws_vapor 点 dsl. 导入 Condition 从 aws_vapor 点 dsl. 导入 Resource 从 aws_vapor 点 dsl. 导入 Output 从 aws_vapor 点 dsl. 导入 Attributes 从 aws_vapor 点 dsl. 导入 Intrinsics 从 aws_vapor 点 dsl. 导入 Pseudos 从 aws_vapor 点 dsl. 导入 UserData ...
from aws_vapor.dsl import Template from aws_vapor.dsl import Metadatum from aws_vapor.dsl import Parameter from aws_vapor.dsl import Mapping from aws_vapor.dsl import Condition from aws_vapor.dsl import Resource from aws_vapor.dsl import Output from aws_vapor.dsl import Attributes from aws_vapor.dsl import Intrinsics f...
true
true
true
null
99cfbb75763508d3414721b738c5511d88e3b1097cd3d752b4c1c24c4cd787ee
3,559
3,559
26
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.831300+00:00
en,es,fr,zh
true
99cfbb75763508d3414721b738c5511d88e3b1097cd3d752b4c1c24c4cd787ee
{ "v2_row_index": 26, "v2_source_sha256": "99cfbb75763508d3414721b738c5511d88e3b1097cd3d752b4c1c24c4cd787ee" }
ok
import setuptools with open("README.md", "r") as fh: long_description = fh.read() packages = setuptools.find_packages(include=["clarifai_grpc*"]) setuptools.setup( name="clarifai-grpc", version="7.2.0", author="Clarifai", author_email="<EMAIL>", description="Clarifai gRPC API Client", lon...
Load setuptools. With (open with "README.md" and "r") bound as fh: Set long_description to fh dot read with no values. Set packages to setuptools dot find_packages with include set to the list ["clarifai_grpc*"]. Call setuptools dot setup with name set to "clarifai-grpc", version set to "7.2.0", author set to "Clar...
Importar setuptools. Con (open con "README.md" y también "r") como fh: Establecer long_description como fh punto read sin argumentos. Establecer packages como setuptools punto find_packages con include establecido a la lista ["clarifai_grpc*"]. Llamar setuptools punto setup con name establecido a "clarifai-grpc", v...
Charger setuptools. Avec (open avec "README.md" et "r") lié comme fh: Affecter long_description à fh point de read sans arguments. Affecter packages à setuptools point de find_packages avec include défini à la liste ["clarifai_grpc*"]. Appeler setuptools point de setup avec name défini à "clarifai-grpc", version dé...
import setuptools with open('README.md', 'r') as fh: long_description = fh.read() packages = setuptools.find_packages(include=['clarifai_grpc*']) setuptools.setup(name='clarifai-grpc', version='7.2.0', author='Clarifai', author_email='<EMAIL>', description='Clarifai gRPC API Client', long_description=long_descripti...
true
true
true
{ "artifact_hash": "2ac853206fb28eb885714a6af8fb484aaa7fe41a6a1d7e646dfa914266d6e717", "id": "1737238", "max_stars_count": 0, "max_stars_repo_name": "HarmitMinhas96/clarifai-python-grpc", "max_stars_repo_path": "setup.py", "normalized_source_hash": "bfd0010a2bd2cd13bef56e8e19f7b278a97094961e91e2ed8345d429a3...
{ "artifact_hash": "2ac853206fb28eb885714a6af8fb484aaa7fe41a6a1d7e646dfa914266d6e717", "normalized_source_hash": "bfd0010a2bd2cd13bef56e8e19f7b278a97094961e91e2ed8345d429a33fb715", "raw_source_hash": "5ee68114779b6bc53c31e1990838cd2d00684e8126fab76051f3432246fc141d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 setuptools. 使用 (open 用 "README.md" 并且 "r") 绑定为 fh: 设 long_description 为 fh 点 read 不带参数. 设 packages 为 setuptools 点 find_packages 用 include 设为 列表 ["clarifai_grpc*"]. 调用 setuptools 点 setup 用 name 设为 "clarifai-grpc", version 设为 "7.2.0", author 设为 "Clarifai", author_email 设为 "<EMAIL>", description 设为 "Clarifai gRPC A...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() packages = setuptools.find_packages(include=["clarifai_grpc*"]) setuptools.setup( name="clarifai-grpc", version="7.2.0", author="Clarifai", author_email="<EMAIL>", description="Clarifai gRPC API Client", lon...
true
true
true
null
bfd0010a2bd2cd13bef56e8e19f7b278a97094961e91e2ed8345d429a33fb715
1,028
1,028
27
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:53.978166+00:00
en,es,fr,zh
true
bfd0010a2bd2cd13bef56e8e19f7b278a97094961e91e2ed8345d429a33fb715
{ "v2_row_index": 27, "v2_source_sha256": "bfd0010a2bd2cd13bef56e8e19f7b278a97094961e91e2ed8345d429a33fb715" }
ok
from mojang import MojangAPI from colorama import Fore import requests def mojang_user(name): uuid = MojangAPI.get_uuid(name) if not uuid: print(Fore.YELLOW +"Pas de compte a ce nom ") print("") else: profile = MojangAPI.get_profile(uuid) legacy = MojangAPI.get_name...
Load MojangAPI from mojang. Load Fore from colorama. Load requests. Define function mojang_user with parameter name: Set uuid to MojangAPI dot get_uuid with name. If not uuid: Print Fore dot YELLOW plus "Pas de compte a ce nom ". Print "". Otherwise: Set profile to MojangAPI dot get_...
Importar MojangAPI desde mojang. Importar Fore desde colorama. Importar requests. Definir función mojang_user con parámetro name: Establecer uuid como MojangAPI punto get_uuid con name. Si no uuid: Imprimir Fore punto YELLOW más "Pas de compte a ce nom ". Imprimir "". De lo contrario: ...
Charger MojangAPI depuis mojang. Charger Fore depuis colorama. Charger requests. Définir fonction mojang_user avec paramètre name: Affecter uuid à MojangAPI point de get_uuid avec name. Si non uuid: Afficher Fore point de YELLOW plus "Pas de compte a ce nom ". Afficher "". Sinon: Aff...
from mojang import MojangAPI from colorama import Fore import requests def mojang_user(name): uuid = MojangAPI.get_uuid(name) if not uuid: print(Fore.YELLOW + 'Pas de compte a ce nom ') print('') else: profile = MojangAPI.get_profile(uuid) legacy = MojangAPI.get_name_history...
true
true
true
{ "artifact_hash": "ea305c5ccd3eb3e18e0a9521fce5b80fc37b7b0799f837e12fe1b49cdc8d4ee7", "id": "1737240", "max_stars_count": 2, "max_stars_repo_name": "Hoxtry/minecraft_account_lookup", "max_stars_repo_path": "Core/Minecraft.py", "normalized_source_hash": "d247ab975fb03d1a296817d7c8c1846a99043b64c6360a8f45b9d...
{ "artifact_hash": "ea305c5ccd3eb3e18e0a9521fce5b80fc37b7b0799f837e12fe1b49cdc8d4ee7", "normalized_source_hash": "d247ab975fb03d1a296817d7c8c1846a99043b64c6360a8f45b9dbec7ec26f0b", "raw_source_hash": "eec307f89ea36f2c3b1cf916e1eb30fae0f6ae6c733219459df1537f9f056094", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 MojangAPI 从 mojang. 导入 Fore 从 colorama. 导入 requests. 定义函数 mojang_user 参数为 name: 设 uuid 为 MojangAPI 点 get_uuid 用 name. 如果 不 uuid: 打印 Fore 点 YELLOW 加上 "Pas de compte a ce nom ". 打印 "". 否则: 设 profile 为 MojangAPI 点 get_profile 用 uuid. 设 legacy 为 MojangAPI 点 get_name_history 用 ...
from mojang import MojangAPI from colorama import Fore import requests def mojang_user(name): uuid = MojangAPI.get_uuid(name) if not uuid: print(Fore.YELLOW +"Pas de compte a ce nom ") print("") else: profile = MojangAPI.get_profile(uuid) legacy = MojangAPI.get_name_histo...
true
true
true
null
d247ab975fb03d1a296817d7c8c1846a99043b64c6360a8f45b9dbec7ec26f0b
970
970
28
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.048847+00:00
en,es,fr,zh
true
d247ab975fb03d1a296817d7c8c1846a99043b64c6360a8f45b9dbec7ec26f0b
{ "v2_row_index": 28, "v2_source_sha256": "d247ab975fb03d1a296817d7c8c1846a99043b64c6360a8f45b9dbec7ec26f0b" }
ok
# Basic import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib import rcParams from matplotlib.cm import rainbow 'exec(%matplotlib inline)' import warnings warnings.filterwarnings('ignore') # Other libraries from sklearn.model_selection import train_test_split from sklearn.preprocessing...
# Basic Load numpy, referred to as np. Load pandas, referred to as pd. Load matplotlib.pyplot, referred to as plt. Load rcParams from matplotlib. Load rainbow from matplotlib.cm. Evaluate "exec(%matplotlib inline)". Load warnings. Call warnings dot filterwarnings with "ignore". # Other libraries Load train_test_split f...
# Basic Importar numpy, referido como np. Importar pandas, referido como pd. Importar matplotlib.pyplot, referido como plt. Importar rcParams desde matplotlib. Importar rainbow desde matplotlib.cm. Evaluar "exec(%matplotlib inline)". Importar warnings. Llamar warnings punto filterwarnings con "ignore". # Other librarie...
# Basic Charger numpy, référé comme np. Charger pandas, référé comme pd. Charger matplotlib.pyplot, référé comme plt. Charger rcParams depuis matplotlib. Charger rainbow depuis matplotlib.cm. Évaluer "exec(%matplotlib inline)". Charger warnings. Appeler warnings point de filterwarnings avec "ignore". # Other libraries ...
# Basic import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib import rcParams from matplotlib.cm import rainbow 'exec(%matplotlib inline)' import warnings warnings.filterwarnings('ignore') # Other libraries from sklearn.model_selection import train_test_split from sklearn.preprocessing ...
true
true
true
{ "artifact_hash": "b717dbd4afc2e74caaea3e6be6eee380216ddd0b31292e4738d4cdb9cbf9b00f", "id": "1737241", "max_stars_count": 0, "max_stars_repo_name": "tiagomariinhoo/ML-React-App-Template", "max_stars_repo_path": "service/random_forest_pred.py", "normalized_source_hash": "6b86279f4d0becfe488affaf2c572df68a0c...
{ "artifact_hash": "b717dbd4afc2e74caaea3e6be6eee380216ddd0b31292e4738d4cdb9cbf9b00f", "normalized_source_hash": "6b86279f4d0becfe488affaf2c572df68a0ca5c6e5c72fc9cdc2162e2bab532a", "raw_source_hash": "914e1ccfa229ae0c0fefdabc142ce3e191ef04065110b2c89b361b77a62fab6f", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Basic 导入 numpy, 别名为 np. 导入 pandas, 别名为 pd. 导入 matplotlib 点 pyplot, 别名为 plt. 导入 rcParams 从 matplotlib. 导入 rainbow 从 matplotlib 点 cm. 求值 "exec(%matplotlib inline)". 导入 warnings. 调用 warnings 点 filterwarnings 用 "ignore". # Other libraries 导入 train_test_split 从 sklearn 点 model_selection. 导入 StandardScaler 从 sklearn 点 prep...
# Basic import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib import rcParams from matplotlib.cm import rainbow 'exec(%matplotlib inline)' import warnings warnings.filterwarnings('ignore') # Other libraries from sklearn.model_selection import train_test_split from sklearn.preprocessing...
true
true
true
null
6b86279f4d0becfe488affaf2c572df68a0ca5c6e5c72fc9cdc2162e2bab532a
3,577
3,577
29
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.079177+00:00
en,es,fr,zh
true
6b86279f4d0becfe488affaf2c572df68a0ca5c6e5c72fc9cdc2162e2bab532a
{ "v2_row_index": 29, "v2_source_sha256": "6b86279f4d0becfe488affaf2c572df68a0ca5c6e5c72fc9cdc2162e2bab532a" }
ok
import random from pathlib import Path import click from pytest_cases import THIS_MODULE, parametrize_with_cases from statue.cli.string_util import evaluation_summary_string from statue.command import CommandEvaluation from statue.evaluation import Evaluation, SourceEvaluation from tests.constants import ( COMMAN...
Load random. Load Path from pathlib. Load click. Load THIS_MODULE, parametrize_with_cases from pytest_cases. Load evaluation_summary_string from statue.cli.string_util. Load CommandEvaluation from statue.command. Load Evaluation, SourceEvaluation from statue.evaluation. Load COMMAND1, COMMAND2, COMMAND3, COMMAND4, COMM...
Importar random. Importar Path desde pathlib. Importar click. Importar THIS_MODULE, parametrize_with_cases desde pytest_cases. Importar evaluation_summary_string desde statue.cli.string_util. Importar CommandEvaluation desde statue.command. Importar Evaluation, SourceEvaluation desde statue.evaluation. Importar COMMAND...
Charger random. Charger Path depuis pathlib. Charger click. Charger THIS_MODULE, parametrize_with_cases depuis pytest_cases. Charger evaluation_summary_string depuis statue.cli.string_util. Charger CommandEvaluation depuis statue.command. Charger Evaluation, SourceEvaluation depuis statue.evaluation. Charger COMMAND1, ...
import random from pathlib import Path import click from pytest_cases import THIS_MODULE, parametrize_with_cases from statue.cli.string_util import evaluation_summary_string from statue.command import CommandEvaluation from statue.evaluation import Evaluation, SourceEvaluation from tests.constants import COMMAND1, COMM...
true
true
true
{ "artifact_hash": "80a0abe82d02f7c3395b39ec255c2cbac46853e1b9710c186c11a534b74afa7c", "id": "1737242", "max_stars_count": 0, "max_stars_repo_name": "EddLabs/eddington-static", "max_stars_repo_path": "tests/cli/string_utils/test_evaluation_summary_string.py", "normalized_source_hash": "25397e388610f5cf92e46...
{ "artifact_hash": "80a0abe82d02f7c3395b39ec255c2cbac46853e1b9710c186c11a534b74afa7c", "normalized_source_hash": "25397e388610f5cf92e469150e1f10da3da056a9c7c4701fe89878c5f32b7b94", "raw_source_hash": "08c31229a478c45a8c60c7821368abd2b47fd72478290e4962a6f43939c3fba6", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 random. 导入 Path 从 pathlib. 导入 click. 导入 THIS_MODULE, parametrize_with_cases 从 pytest_cases. 导入 evaluation_summary_string 从 statue 点 cli 点 string_util. 导入 CommandEvaluation 从 statue 点 command. 导入 Evaluation, SourceEvaluation 从 statue 点 evaluation. 导入 COMMAND1, COMMAND2, COMMAND3, COMMAND4, COMMAND5, SOURCE1, SOURCE2,...
import random from pathlib import Path import click from pytest_cases import THIS_MODULE, parametrize_with_cases from statue.cli.string_util import evaluation_summary_string from statue.command import CommandEvaluation from statue.evaluation import Evaluation, SourceEvaluation from tests.constants import ( COMMAN...
true
true
true
null
25397e388610f5cf92e469150e1f10da3da056a9c7c4701fe89878c5f32b7b94
6,345
6,345
30
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.130479+00:00
en,es,fr,zh
true
25397e388610f5cf92e469150e1f10da3da056a9c7c4701fe89878c5f32b7b94
{ "v2_row_index": 30, "v2_source_sha256": "25397e388610f5cf92e469150e1f10da3da056a9c7c4701fe89878c5f32b7b94" }
ok
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may no use this file except en compliance con the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required por applicable law o agreed como en wri...
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may non use this file except dans compliance avec the License. # You may obtain a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required par applicable law ou agreed à dans...
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
true
true
true
{ "artifact_hash": "fb1fc85313832072cbda826efec36526b8d4f4ad09b31278e394ed9289238d96", "id": "1737245", "max_stars_count": 1, "max_stars_repo_name": "teruyuki-yamasaki/brax", "max_stars_repo_path": "brax/io/json.py", "normalized_source_hash": "2e7a81bb12e0b3e7d61a4a7b412382cb5b16fc2f43288c613a9f9e412e38a05a...
{ "artifact_hash": "fb1fc85313832072cbda826efec36526b8d4f4ad09b31278e394ed9289238d96", "normalized_source_hash": "2e7a81bb12e0b3e7d61a4a7b412382cb5b16fc2f43288c613a9f9e412e38a05a", "raw_source_hash": "2ad1f4da3f5122ba78fd7d90189a84a2f19d512d86a3df7fee1413965f9ba1e1", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may 不 use this file except 在 compliance 用 the License. # You may obtain a copy 的 the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required 按 applicable law 或者 agreed 为 在 writing, soft...
# Copyright 2021 The Brax Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
true
true
true
null
2e7a81bb12e0b3e7d61a4a7b412382cb5b16fc2f43288c613a9f9e412e38a05a
1,235
1,235
31
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.195952+00:00
en,es,fr,zh
true
2e7a81bb12e0b3e7d61a4a7b412382cb5b16fc2f43288c613a9f9e412e38a05a
{ "v2_row_index": 31, "v2_source_sha256": "2e7a81bb12e0b3e7d61a4a7b412382cb5b16fc2f43288c613a9f9e412e38a05a" }
ok
class Solution: def hammingWeight(self, n: int) -> int: # when the last bit is 1, "n % 2" will return 1 # and we shift all the bit to the right until "n == 0" res = 0 while n: res += n % 2 n >>= 1 return res def hammingWeight2(self, n: int) -> in...
Define class Solution: Define method hammingWeight with parameters self, n (type: int); return type int: # when the last bit is 1, "n % 2" will return 1 # and we shift all the bit to the right until "n == 0" Set res to 0. While n: Increase res by n modulo 2. R...
Definir clase Solution: Definir método hammingWeight con parámetros self, n (tipo: int); tipo de retorno int: # when the last bit es 1, "n % 2" will return 1 # y también we shift all the bit como the right until "n == 0" Establecer res como 0. Mientras n: Incrementar res ...
Définir classe Solution: Définir méthode hammingWeight avec paramètres self, n (type : int); type de retour int: # when the last bit est 1, "n % 2" will return 1 # et we shift all the bit à the right until "n == 0" Affecter res à 0. Tant que n: Augmenter res par n modulo ...
class Solution: def hammingWeight(self, n: int) -> int: res = 0 while n: res += n % 2 n >>= 1 return res def hammingWeight2(self, n: int) -> int: res = 0 while n: n &= n - 1 res += 1 return res
true
true
true
{ "artifact_hash": "51138b339b8b1721bbfcf4dc5f48e335d681c399dacf9930e2c66e825997f401", "id": "1737246", "max_stars_count": 1, "max_stars_repo_name": "windsuzu/leetcode-python", "max_stars_repo_path": "code/bit/number-of-1-bits.py", "normalized_source_hash": "6deb3f222fd8768a69daffd838dd5005b05d9c383c1351ab5...
{ "artifact_hash": "51138b339b8b1721bbfcf4dc5f48e335d681c399dacf9930e2c66e825997f401", "normalized_source_hash": "6deb3f222fd8768a69daffd838dd5005b05d9c383c1351ab5d1bde94d0cea2c7", "raw_source_hash": "2c0f8ac4e5489120c1cb44ee215c74dfe90bb527ac947912e4d2b64319bf99b5", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
定义类 Solution: 定义方法 hammingWeight 参数为 self, n (类型: 整数); 返回为 整数: # when the last bit 是 1, "n % 2" will return 1 # 并且 we shift all the bit 为 the right until "n == 0" 设 res 为 0. 只要 n: 增加 res 按 n 取模 2. 右移赋值 n 按 1. 返回 res. 定义方法 hammingWeight2 参数为 self, n...
class Solution: def hammingWeight(self, n: int) -> int: # when the last bit is 1, "n % 2" will return 1 # and we shift all the bit to the right until "n == 0" res = 0 while n: res += n % 2 n >>= 1 return res def hammingWeight2(self, n: int) -> in...
true
true
true
null
6deb3f222fd8768a69daffd838dd5005b05d9c383c1351ab5d1bde94d0cea2c7
641
641
32
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.207823+00:00
en,es,fr,zh
true
6deb3f222fd8768a69daffd838dd5005b05d9c383c1351ab5d1bde94d0cea2c7
{ "v2_row_index": 32, "v2_source_sha256": "6deb3f222fd8768a69daffd838dd5005b05d9c383c1351ab5d1bde94d0cea2c7" }
ok
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # no use this file except en compliance con the License. You may obtain # a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required por applicable law o agreed como en writing, software # ...
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # non use this file except dans compliance avec the License. You may obtain # a copy de the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required par applicable law ou agreed à dans writing, software ...
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
true
true
true
{ "artifact_hash": "635f4764ed31141527ff8f1855001537d2838a35cd3a7a48f2814d6aaa0fe249", "id": "1737248", "max_stars_count": 1, "max_stars_repo_name": "sivel/python-novaclient", "max_stars_repo_path": "novaclient/tests/test_shell.py", "normalized_source_hash": "93abadc6453888450ecbf2eb03f95a2cd334aa35e1a91b2b...
{ "artifact_hash": "635f4764ed31141527ff8f1855001537d2838a35cd3a7a48f2814d6aaa0fe249", "normalized_source_hash": "93abadc6453888450ecbf2eb03f95a2cd334aa35e1a91b2b76bb5e4ddd8a9a28", "raw_source_hash": "97bdc066278a1b7005de302aa65e8759a001767b0d7f202c1e7ea13f4b2749fd", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # 不 use this file except 在 compliance 用 the License. You may obtain # a copy 的 the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required 按 applicable law 或者 agreed 为 在 writing, software # distribut...
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
true
true
true
null
93abadc6453888450ecbf2eb03f95a2cd334aa35e1a91b2b76bb5e4ddd8a9a28
9,368
9,368
33
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.328840+00:00
en,es,fr,zh
true
93abadc6453888450ecbf2eb03f95a2cd334aa35e1a91b2b76bb5e4ddd8a9a28
{ "v2_row_index": 33, "v2_source_sha256": "93abadc6453888450ecbf2eb03f95a2cd334aa35e1a91b2b76bb5e4ddd8a9a28" }
ok
import math import numpy as np from PIL import Image import torch from torch import nn from torchvision import transforms from . import transforms as custom_transforms def print_network(net): num_params = sum([param.numel() for param in net.parameters()]) print(net) print('Total number of parameters: {}...
Load math. Load numpy, referred to as np. Load Image from PIL. Load torch. Load nn from torch. Load transforms from torchvision. Load transforms referred to as custom_transforms from the current package. Define function print_network with parameter net: Set num_params to sum with (the list of (param dot numel with ...
Importar math. Importar numpy, referido como np. Importar Image desde PIL. Importar torch. Importar nn desde torch. Importar transforms desde torchvision. Importar transforms referido como custom_transforms desde el paquete actual. Definir función print_network con parámetro net: Establecer num_params como sum con ...
Charger math. Charger numpy, référé comme np. Charger Image depuis PIL. Charger torch. Charger nn depuis torch. Charger transforms depuis torchvision. Charger transforms référé comme custom_transforms depuis le paquet actuel. Définir fonction print_network avec paramètre net: Affecter num_params à sum avec (la list...
import math import numpy as np from PIL import Image import torch from torch import nn from torchvision import transforms from . import transforms as custom_transforms def print_network(net): num_params = sum([param.numel() for param in net.parameters()]) print(net) print('Total number of parameters: {}'.f...
true
true
true
{ "artifact_hash": "09d21d982633382e2e4e432aa72787f3a33d2b34e0fd46b85a778b67137bb949", "id": "1737249", "max_stars_count": 59, "max_stars_repo_name": "utiasSTARS/cat-net", "max_stars_repo_path": "cat_net/utils.py", "normalized_source_hash": "44071abc53944e4575f80cadc156708070df9fe8c1c0717b5c5b83004621df6e",...
{ "artifact_hash": "09d21d982633382e2e4e432aa72787f3a33d2b34e0fd46b85a778b67137bb949", "normalized_source_hash": "44071abc53944e4575f80cadc156708070df9fe8c1c0717b5c5b83004621df6e", "raw_source_hash": "23a8a253291b92a714407e2f115b2af42184fe0e7df2354dd9f9c6f996014e93", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 math. 导入 numpy, 别名为 np. 导入 Image 从 PIL. 导入 torch. 导入 nn 从 torch. 导入 transforms 从 torchvision. 导入 transforms 别名为 custom_transforms 从当前包. 定义函数 print_network 参数为 net: 设 num_params 为 sum 用 (列表推导 (param 点 numel 不带参数) 对于每个 param 在 net 点 parameters 不带参数). 打印 net. 打印 ("Total number of parameters: {}" 点 format 用 ...
import math import numpy as np from PIL import Image import torch from torch import nn from torchvision import transforms from . import transforms as custom_transforms def print_network(net): num_params = sum([param.numel() for param in net.parameters()]) print(net) print('Total number of parameters: {}...
true
true
true
null
44071abc53944e4575f80cadc156708070df9fe8c1c0717b5c5b83004621df6e
2,124
2,124
34
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.387764+00:00
en,es,fr,zh
true
44071abc53944e4575f80cadc156708070df9fe8c1c0717b5c5b83004621df6e
{ "v2_row_index": 34, "v2_source_sha256": "44071abc53944e4575f80cadc156708070df9fe8c1c0717b5c5b83004621df6e" }
ok
import praw import os import time import urllib from bs4 import BeautifulSoup import datetime from player import Player class Fetcher: def __init__(self): s = 3 self.team = "Indiana" #Team to post for. self.fetched_pregame = False ...
Load praw. Load os. Load time. Load urllib. Load BeautifulSoup from bs4. Load datetime. Load Player from player. Define class Fetcher: Define method __init__ with parameter self: Set s to 3. Set self dot team to "Indiana". # Team to post for. Set self dot fetched_pregame to False. # if true,...
Importar praw. Importar os. Importar time. Importar urllib. Importar BeautifulSoup desde bs4. Importar datetime. Importar Player desde player. Definir clase Fetcher: Definir método __init__ con parámetro self: Establecer s como 3. Establecer self punto team como "Indiana". # Team como post for. ...
Charger praw. Charger os. Charger time. Charger urllib. Charger BeautifulSoup depuis bs4. Charger datetime. Charger Player depuis player. Définir classe Fetcher: Définir méthode __init__ avec paramètre self: Affecter s à 3. Affecter self point de team à "Indiana". # Team à post for. Affecter...
import praw import os import time import urllib from bs4 import BeautifulSoup import datetime from player import Player class Fetcher: def __init__(self): s = 3 self.team = 'Indiana' # Team to post for. self.fetched_pregame = False # if true, then already fetched game info. self....
true
true
true
{ "artifact_hash": "3b2f597baef1b80bd4c08e9f0775c6ca4b6debe23afc04dbd7d28ff0fa9e65ee", "id": "1737253", "max_stars_count": 0, "max_stars_repo_name": "xvang/reddit-bots", "max_stars_repo_path": "Thread_bot/fetcher.py", "normalized_source_hash": "39ef55918f9872fe30dc7925d8e8f389055a2107aaaf593580ca65d5a46acd2...
{ "artifact_hash": "3b2f597baef1b80bd4c08e9f0775c6ca4b6debe23afc04dbd7d28ff0fa9e65ee", "normalized_source_hash": "39ef55918f9872fe30dc7925d8e8f389055a2107aaaf593580ca65d5a46acd20", "raw_source_hash": "328999f51a9043326df7e2dc25f357e7d1fbe3dcf1121c46b813973c397e305c", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 praw. 导入 os. 导入 time. 导入 urllib. 导入 BeautifulSoup 从 bs4. 导入 datetime. 导入 Player 从 player. 定义类 Fetcher: 定义方法 __init__ 参数为 self: 设 s 为 3. 设 self 点 team 为 "Indiana". # Team 为 post for. 设 self 点 fetched_pregame 为 False. # 若 true, then already fetched game info. 设 self 点 date_list 为 空列...
import praw import os import time import urllib from bs4 import BeautifulSoup import datetime from player import Player class Fetcher: def __init__(self): s = 3 self.team = "Indiana" #Team to post for. self.fetched_pregame = False ...
true
true
true
null
39ef55918f9872fe30dc7925d8e8f389055a2107aaaf593580ca65d5a46acd20
14,669
14,669
35
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.592632+00:00
en,es,fr,zh
true
39ef55918f9872fe30dc7925d8e8f389055a2107aaaf593580ca65d5a46acd20
{ "v2_row_index": 35, "v2_source_sha256": "39ef55918f9872fe30dc7925d8e8f389055a2107aaaf593580ca65d5a46acd20" }
ok
import unittest import tempfile import textwrap import six import conan.tools.qbs.qbstoolchain as qbs from conans import tools from conans.errors import ConanException from conans.test.utils.mocks import MockConanfile, MockSettings, MockOptions class RunnerMock(object): class Expectation(object): def _...
Load unittest. Load tempfile. Load textwrap. Load six. Load conan.tools.qbs.qbstoolchain, referred to as qbs. Load tools from conans. Load ConanException from conans.errors. Load MockConanfile, MockSettings, MockOptions from conans.test.utils.mocks. Define class RunnerMock inheriting from object: Define class Expec...
Importar unittest. Importar tempfile. Importar textwrap. Importar six. Importar conan.tools.qbs.qbstoolchain, referido como qbs. Importar tools desde conans. Importar ConanException desde conans.errors. Importar MockConanfile, MockSettings, MockOptions desde conans.test.utils.mocks. Definir clase RunnerMock heredando d...
Charger unittest. Charger tempfile. Charger textwrap. Charger six. Charger conan.tools.qbs.qbstoolchain, référé comme qbs. Charger tools depuis conans. Charger ConanException depuis conans.errors. Charger MockConanfile, MockSettings, MockOptions depuis conans.test.utils.mocks. Définir classe RunnerMock héritant de obje...
import unittest import tempfile import textwrap import six import conan.tools.qbs.qbstoolchain as qbs from conans import tools from conans.errors import ConanException from conans.test.utils.mocks import MockConanfile, MockSettings, MockOptions class RunnerMock(object): class Expectation(object): def __i...
true
true
true
{ "artifact_hash": "39837288b3d089162f9533511f197bfb350ae6fca88fdea83ca41598de51574d", "id": "1737255", "max_stars_count": 0, "max_stars_repo_name": "Erlkoenig90/conan", "max_stars_repo_path": "conans/test/unittests/client/toolchain/test_qbs_generic.py", "normalized_source_hash": "a288c27be2a5fa29f77014de91...
{ "artifact_hash": "39837288b3d089162f9533511f197bfb350ae6fca88fdea83ca41598de51574d", "normalized_source_hash": "a288c27be2a5fa29f77014de917639bc54117dd3befef37013e58477f3e9e41f", "raw_source_hash": "fad4a7f05d32ff9a162cb1c16bbc79c7ac8bc36d5a55c878c6084663acba6396", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 unittest. 导入 tempfile. 导入 textwrap. 导入 six. 导入 conan 点 tools 点 qbs 点 qbstoolchain, 别名为 qbs. 导入 tools 从 conans. 导入 ConanException 从 conans 点 errors. 导入 MockConanfile, MockSettings, MockOptions 从 conans 点 test 点 utils 点 mocks. 定义类 RunnerMock 继承自 对象: 定义类 Expectation 继承自 对象: 定义方法 __init__ 参数为 self, return_ok...
import unittest import tempfile import textwrap import six import conan.tools.qbs.qbstoolchain as qbs from conans import tools from conans.errors import ConanException from conans.test.utils.mocks import MockConanfile, MockSettings, MockOptions class RunnerMock(object): class Expectation(object): def _...
true
true
true
null
a288c27be2a5fa29f77014de917639bc54117dd3befef37013e58477f3e9e41f
16,328
16,328
36
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.627134+00:00
en,es,fr,zh
true
a288c27be2a5fa29f77014de917639bc54117dd3befef37013e58477f3e9e41f
{ "v2_row_index": 36, "v2_source_sha256": "a288c27be2a5fa29f77014de917639bc54117dd3befef37013e58477f3e9e41f" }
ok
# Generated by Django 2.2.1 on 2019-06-01 00:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('design', '0002_auto_20190531_1532'), ] operations = [ migrations.AddField( model_name='gear', name='Deg', ...
# Generated by Django 2.2.1 on 2019-06-01 00:47 Load migrations, models from django.db. Define class Migration inheriting from migrations.Migration: Set dependencies to the list [the tuple ("design", "0002_auto_20190531_1532")]. Set operations to the list [ (migrations dot AddField with model_name set to "g...
# Generated por Django 2.2.1 on 2019-06-01 00:47 Importar migrations, models desde django.db. Definir clase Migration heredando de migrations.Migration: Establecer dependencies como la lista [la tupla ("design", "0002_auto_20190531_1532")]. Establecer operations como la lista [ (migrations punto AddField co...
# Generated par Django 2.2.1 on 2019-06-01 00:47 Charger migrations, models depuis django.db. Définir classe Migration héritant de migrations.Migration: Affecter dependencies à la liste [le tuple ("design", "0002_auto_20190531_1532")]. Affecter operations à la liste [ (migrations point de AddField avec mode...
# Generated by Django 2.2.1 on 2019-06-01 00:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [('design', '0002_auto_20190531_1532')] operations = [migrations.AddField(model_name='gear', name='Deg', field=models.FloatField(null=True, verbose_name='Diametro exter...
true
true
true
{ "artifact_hash": "b6cd10adc79f0c5cbaf8f8e5dea643b2777d9775ba81b61a7a7edd1597abb769", "id": "1737257", "max_stars_count": 0, "max_stars_repo_name": "maumg1196/GearDesign", "max_stars_repo_path": "src/design/migrations/0003_auto_20190531_1947.py", "normalized_source_hash": "1e8ea8c71478635d1cb2d8dc8db85cd9c...
{ "artifact_hash": "b6cd10adc79f0c5cbaf8f8e5dea643b2777d9775ba81b61a7a7edd1597abb769", "normalized_source_hash": "1e8ea8c71478635d1cb2d8dc8db85cd9c64d395394226a2d2a0689057449ef98", "raw_source_hash": "2de7a7d36b12b6d888d4e0e9d4ab04b659409089a02dfd09b02aaf7adeb8b4a4", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Generated 按 Django 2.2.1 on 2019-06-01 00:47 导入 migrations, models 从 django 点 db. 定义类 Migration 继承自 migrations 点 Migration: 设 dependencies 为 列表 [元组 ("design", "0002_auto_20190531_1532")]. 设 operations 为 列表 [ (migrations 点 AddField 用 model_name 设为 "gear", name 设为 "Deg", 并且 field 设为 (models 点 FloatField 用 n...
# Generated by Django 2.2.1 on 2019-06-01 00:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('design', '0002_auto_20190531_1532'), ] operations = [ migrations.AddField( model_name='gear', name='Deg', ...
true
true
true
null
1e8ea8c71478635d1cb2d8dc8db85cd9c64d395394226a2d2a0689057449ef98
2,226
2,232
37
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.719944+00:00
en,es,fr,zh
true
1e8ea8c71478635d1cb2d8dc8db85cd9c64d395394226a2d2a0689057449ef98
{ "v2_row_index": 37, "v2_source_sha256": "1e8ea8c71478635d1cb2d8dc8db85cd9c64d395394226a2d2a0689057449ef98" }
ok
import datetime import logging import numpy as np from dateutil.parser import parse from great_expectations.core import ExpectationSuite from great_expectations.core.batch import Batch from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.dataset import Dataset...
Load datetime. Load logging. Load numpy, referred to as np. Load parse from dateutil.parser. Load ExpectationSuite from great_expectations.core. Load Batch from great_expectations.core.batch. Load ExpectationConfiguration from great_expectations.core.expectation_configuration. Load Dataset, PandasDataset from great_exp...
Importar datetime. Importar logging. Importar numpy, referido como np. Importar parse desde dateutil.parser. Importar ExpectationSuite desde great_expectations.core. Importar Batch desde great_expectations.core.batch. Importar ExpectationConfiguration desde great_expectations.core.expectation_configuration. Importar Da...
Charger datetime. Charger logging. Charger numpy, référé comme np. Charger parse depuis dateutil.parser. Charger ExpectationSuite depuis great_expectations.core. Charger Batch depuis great_expectations.core.batch. Charger ExpectationConfiguration depuis great_expectations.core.expectation_configuration. Charger Dataset...
import datetime import logging import numpy as np from dateutil.parser import parse from great_expectations.core import ExpectationSuite from great_expectations.core.batch import Batch from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.dataset import Dataset, ...
true
true
true
{ "artifact_hash": "d578a7f56122a39190a8b50a62c27c4fc205274c388d3391480ca7ca34602885", "id": "1737258", "max_stars_count": 0, "max_stars_repo_name": "balexander/great_expectations", "max_stars_repo_path": "great_expectations/profile/user_configurable_profiler.py", "normalized_source_hash": "57215acc8129d81a...
{ "artifact_hash": "d578a7f56122a39190a8b50a62c27c4fc205274c388d3391480ca7ca34602885", "normalized_source_hash": "57215acc8129d81a39e167dd9bcf12420638b2323f035b879babc5254c20d00f", "raw_source_hash": "84d2ceb4d39d54879946bce53d7ec66f2e368cb52f0c8a76f8ad39e93c51ba05", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 datetime. 导入 logging. 导入 numpy, 别名为 np. 导入 parse 从 dateutil 点 parser. 导入 ExpectationSuite 从 great_expectations 点 core. 导入 Batch 从 great_expectations 点 core 点 batch. 导入 ExpectationConfiguration 从 great_expectations 点 core 点 expectation_configuration. 导入 Dataset, PandasDataset 从 great_expectations 点 dataset. 导入 Profil...
import datetime import logging import numpy as np from dateutil.parser import parse from great_expectations.core import ExpectationSuite from great_expectations.core.batch import Batch from great_expectations.core.expectation_configuration import ExpectationConfiguration from great_expectations.dataset import Dataset...
true
true
true
null
57215acc8129d81a39e167dd9bcf12420638b2323f035b879babc5254c20d00f
47,817
47,817
38
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.781938+00:00
en,es,fr,zh
true
57215acc8129d81a39e167dd9bcf12420638b2323f035b879babc5254c20d00f
{ "v2_row_index": 38, "v2_source_sha256": "57215acc8129d81a39e167dd9bcf12420638b2323f035b879babc5254c20d00f" }
ok
import numpy as np import os, sys, csv, cv2, time, random, keras, h5py import skimage.feature import matplotlib.pyplot as plt from sklearn.externals import joblib from keras.models import Model from keras.layers import Input, Conv2D, BatchNormalization, concatenate, LeakyReLU from keras.optimizers import Adam def _s...
Load numpy, referred to as np. Load os, sys, csv, cv2, time, random, keras, h5py. Load skimage.feature. Load matplotlib.pyplot, referred to as plt. Load joblib from sklearn.externals. Load Model from keras.models. Load Input, Conv2D, BatchNormalization, concatenate, LeakyReLU from keras.layers. Load Adam from keras.opt...
Importar numpy, referido como np. Importar os, sys, csv, cv2, time, random, keras, h5py. Importar skimage.feature. Importar matplotlib.pyplot, referido como plt. Importar joblib desde sklearn.externals. Importar Model desde keras.models. Importar Input, Conv2D, BatchNormalization, concatenate, LeakyReLU desde keras.lay...
Charger numpy, référé comme np. Charger os, sys, csv, cv2, time, random, keras, h5py. Charger skimage.feature. Charger matplotlib.pyplot, référé comme plt. Charger joblib depuis sklearn.externals. Charger Model depuis keras.models. Charger Input, Conv2D, BatchNormalization, concatenate, LeakyReLU depuis keras.layers. C...
import numpy as np import os, sys, csv, cv2, time, random, keras, h5py import skimage.feature import matplotlib.pyplot as plt from sklearn.externals import joblib from keras.models import Model from keras.layers import Input, Conv2D, BatchNormalization, concatenate, LeakyReLU from keras.optimizers import Adam def _sho...
true
true
true
{ "artifact_hash": "058b4ea7d77b3504512bdfb5054df0cd51a572a9baccda330a41da638945107f", "id": "1737260", "max_stars_count": 0, "max_stars_repo_name": "bellibot/CNN_countception", "max_stars_repo_path": "train_static_patches.py", "normalized_source_hash": "0c9497a07ec02a0dcfbc05adcf2c4a214bb50e5930fece707d03d...
{ "artifact_hash": "058b4ea7d77b3504512bdfb5054df0cd51a572a9baccda330a41da638945107f", "normalized_source_hash": "0c9497a07ec02a0dcfbc05adcf2c4a214bb50e5930fece707d03dd3c730ba4c3", "raw_source_hash": "f39306c921c80c14f52717758e070a3d267236280def5b0ace29f3bc1af2e144", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 numpy, 别名为 np. 导入 os, sys, csv, cv2, time, random, keras, h5py. 导入 skimage 点 feature. 导入 matplotlib 点 pyplot, 别名为 plt. 导入 joblib 从 sklearn 点 externals. 导入 Model 从 keras 点 models. 导入 Input, Conv2D, BatchNormalization, concatenate, LeakyReLU 从 keras 点 layers. 导入 Adam 从 keras 点 optimizers. 定义函数 _show_patch 参数为 clean_pa...
import numpy as np import os, sys, csv, cv2, time, random, keras, h5py import skimage.feature import matplotlib.pyplot as plt from sklearn.externals import joblib from keras.models import Model from keras.layers import Input, Conv2D, BatchNormalization, concatenate, LeakyReLU from keras.optimizers import Adam def _s...
true
true
true
null
0c9497a07ec02a0dcfbc05adcf2c4a214bb50e5930fece707d03dd3c730ba4c3
7,748
7,748
39
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:54.979141+00:00
en,es,fr,zh
true
0c9497a07ec02a0dcfbc05adcf2c4a214bb50e5930fece707d03dd3c730ba4c3
{ "v2_row_index": 39, "v2_source_sha256": "0c9497a07ec02a0dcfbc05adcf2c4a214bb50e5930fece707d03dd3c730ba4c3" }
ok
from jinja2 import Environment, FileSystemLoader import shutil import yaml import os TEMPLATE_DIR = 'template' RECIPE_DIR = 'recipes' SITE_ROOT = 'docs' templateCache = {} templates = Environment(loader=FileSystemLoader('template')) # Preload all templates for root, dirs, files in os.walk(TEMPLATE_DIR): for file ...
Load Environment, FileSystemLoader from jinja2. Load shutil. Load yaml. Load os. Set TEMPLATE_DIR to "template". Set RECIPE_DIR to "recipes". Set SITE_ROOT to "docs". Set templateCache to an empty dictionary. Set templates to Environment with loader set to (FileSystemLoader with "template"). # Preload all templates For...
Importar Environment, FileSystemLoader desde jinja2. Importar shutil. Importar yaml. Importar os. Establecer TEMPLATE_DIR como "template". Establecer RECIPE_DIR como "recipes". Establecer SITE_ROOT como "docs". Establecer templateCache como un diccionario vacío. Establecer templates como Environment con loader establec...
Charger Environment, FileSystemLoader depuis jinja2. Charger shutil. Charger yaml. Charger os. Affecter TEMPLATE_DIR à "template". Affecter RECIPE_DIR à "recipes". Affecter SITE_ROOT à "docs". Affecter templateCache à un dictionnaire vide. Affecter templates à Environment avec loader défini à (FileSystemLoader avec "te...
from jinja2 import Environment, FileSystemLoader import shutil import yaml import os TEMPLATE_DIR = 'template' RECIPE_DIR = 'recipes' SITE_ROOT = 'docs' templateCache = {} templates = Environment(loader=FileSystemLoader('template')) # Preload all templates for root, dirs, files in os.walk(TEMPLATE_DIR): for file in...
true
true
true
{ "artifact_hash": "2c4acade15db9f213f511a357ea77e439cd5058b737d7a508d1ea0a59cc68af7", "id": "1737263", "max_stars_count": 0, "max_stars_repo_name": "charles-halifax/cooking-recipes", "max_stars_repo_path": "source/main.py", "normalized_source_hash": "b2ce867db93e7fe385ab409482555a013d6fe6c472757c7ee916f75b...
{ "artifact_hash": "2c4acade15db9f213f511a357ea77e439cd5058b737d7a508d1ea0a59cc68af7", "normalized_source_hash": "b2ce867db93e7fe385ab409482555a013d6fe6c472757c7ee916f75b8294f591", "raw_source_hash": "65aa39aef4d6588299f73a71a3105bb760bfbbf28c32df71e43beaadf46f55ff", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 Environment, FileSystemLoader 从 jinja2. 导入 shutil. 导入 yaml. 导入 os. 设 TEMPLATE_DIR 为 "template". 设 RECIPE_DIR 为 "recipes". 设 SITE_ROOT 为 "docs". 设 templateCache 为 空字典. 设 templates 为 Environment 用 loader 设为 (FileSystemLoader 用 "template"). # Preload all templates 对于每个 root, dirs, files 在 os 点 walk 用 TEMPLATE_DIR: ...
from jinja2 import Environment, FileSystemLoader import shutil import yaml import os TEMPLATE_DIR = 'template' RECIPE_DIR = 'recipes' SITE_ROOT = 'docs' templateCache = {} templates = Environment(loader=FileSystemLoader('template')) # Preload all templates for root, dirs, files in os.walk(TEMPLATE_DIR): for file ...
true
true
true
null
b2ce867db93e7fe385ab409482555a013d6fe6c472757c7ee916f75b8294f591
1,380
1,380
40
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:55.097726+00:00
en,es,fr,zh
true
b2ce867db93e7fe385ab409482555a013d6fe6c472757c7ee916f75b8294f591
{ "v2_row_index": 40, "v2_source_sha256": "b2ce867db93e7fe385ab409482555a013d6fe6c472757c7ee916f75b8294f591" }
ok
from typing import Iterable from bot.rules import chars from tests.bot.rules import DisallowedCase, RuleTest from tests.helpers import MockMessage, async_test def make_msg(author: str, n_chars: int) -> MockMessage: """Build a message with arbitrary content of `n_chars` length.""" return MockMessage(author=au...
Load Iterable from typing. Load chars from bot.rules. Load DisallowedCase, RuleTest from tests.bot.rules. Load MockMessage, async_test from tests.helpers. Define function make_msg with parameters author (type: str), n_chars (type: int); return type MockMessage: Evaluate "Build a message with arbitrary content of `n...
Importar Iterable desde typing. Importar chars desde bot.rules. Importar DisallowedCase, RuleTest desde tests.bot.rules. Importar MockMessage, async_test desde tests.helpers. Definir función make_msg con parámetros author (tipo: str), n_chars (tipo: int); tipo de retorno MockMessage: Evaluar "Build a message with a...
Charger Iterable depuis typing. Charger chars depuis bot.rules. Charger DisallowedCase, RuleTest depuis tests.bot.rules. Charger MockMessage, async_test depuis tests.helpers. Définir fonction make_msg avec paramètres author (type : str), n_chars (type : int); type de retour MockMessage: Évaluer "Build a message wit...
from typing import Iterable from bot.rules import chars from tests.bot.rules import DisallowedCase, RuleTest from tests.helpers import MockMessage, async_test def make_msg(author: str, n_chars: int) -> MockMessage: """Build a message with arbitrary content of `n_chars` length.""" return MockMessage(author=auth...
true
true
true
{ "artifact_hash": "e61c442322f9ee106029c9dfbc6f99c91573b2f782bfb90c709d4c997ccb11fa", "id": "1737266", "max_stars_count": 0, "max_stars_repo_name": "spyoungtech/bot", "max_stars_repo_path": "tests/bot/rules/test_chars.py", "normalized_source_hash": "bdaea2bd60d7146a9131c80a1d99c9b177470b7612a146766922b9338...
{ "artifact_hash": "e61c442322f9ee106029c9dfbc6f99c91573b2f782bfb90c709d4c997ccb11fa", "normalized_source_hash": "bdaea2bd60d7146a9131c80a1d99c9b177470b7612a146766922b9338842bf57", "raw_source_hash": "dc5a3fb2e69f985fc501efd325ecba9c3cd5814f78adb826c157473c20d91575", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 可迭代对象 从 typing. 导入 chars 从 bot 点 rules. 导入 DisallowedCase, RuleTest 从 tests 点 bot 点 rules. 导入 MockMessage, async_test 从 tests 点 helpers. 定义函数 make_msg 参数为 author (类型: 字符串), n_chars (类型: 整数); 返回为 MockMessage: 求值 "Build a message with arbitrary content of `n_chars` length.". 返回 MockMessage 用 author 设为 author 并...
from typing import Iterable from bot.rules import chars from tests.bot.rules import DisallowedCase, RuleTest from tests.helpers import MockMessage, async_test def make_msg(author: str, n_chars: int) -> MockMessage: """Build a message with arbitrary content of `n_chars` length.""" return MockMessage(author=au...
true
true
true
null
bdaea2bd60d7146a9131c80a1d99c9b177470b7612a146766922b9338842bf57
2,030
2,030
41
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:55.389239+00:00
en,es,fr,zh
true
bdaea2bd60d7146a9131c80a1d99c9b177470b7612a146766922b9338842bf57
{ "v2_row_index": 41, "v2_source_sha256": "bdaea2bd60d7146a9131c80a1d99c9b177470b7612a146766922b9338842bf57" }
ok
from distutils.version import LooseVersion import pytest import pandas as pd from pandas.core.computation.check import _MIN_NUMEXPR_VERSION from pandas.core.computation.engines import _engines import pandas.core.computation.expr as expr def test_compat(): # test we have compat with our version of nu from p...
Load LooseVersion from distutils.version. Load pytest. Load pandas, referred to as pd. Load _MIN_NUMEXPR_VERSION from pandas.core.computation.check. Load _engines from pandas.core.computation.engines. Load pandas.core.computation.expr, referred to as expr. Define function test_compat: # test we have compat with our...
Importar LooseVersion desde distutils.version. Importar pytest. Importar pandas, referido como pd. Importar _MIN_NUMEXPR_VERSION desde pandas.core.computation.check. Importar _engines desde pandas.core.computation.engines. Importar pandas.core.computation.expr, referido como expr. Definir función test_compat: # tes...
Charger LooseVersion depuis distutils.version. Charger pytest. Charger pandas, référé comme pd. Charger _MIN_NUMEXPR_VERSION depuis pandas.core.computation.check. Charger _engines depuis pandas.core.computation.engines. Charger pandas.core.computation.expr, référé comme expr. Définir fonction test_compat: # test we...
from distutils.version import LooseVersion import pytest import pandas as pd from pandas.core.computation.check import _MIN_NUMEXPR_VERSION from pandas.core.computation.engines import _engines import pandas.core.computation.expr as expr def test_compat(): from pandas.core.computation.check import _NUMEXPR_INSTALLE...
true
true
true
{ "artifact_hash": "9ea1b27eba54d925a13f81ace78271086b895085142064fc5c9ba3e939ece109", "id": "1737267", "max_stars_count": 6989, "max_stars_repo_name": "AbdulHoffmann/carla_carissma", "max_stars_repo_path": "PythonAPI/carissma_project/lib/python3.5/site-packages/pandas/tests/computation/test_compat.py", "no...
{ "artifact_hash": "9ea1b27eba54d925a13f81ace78271086b895085142064fc5c9ba3e939ece109", "normalized_source_hash": "c245a9bbe44b7eb758aaf44ed62e9ad05bf6e5724ff495b0af22cd4d8c77a9e6", "raw_source_hash": "5c8bc7b7fc9225fe1ee331e11363ab191ccf771b71cc682ccef64cf27645df75", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 LooseVersion 从 distutils 点 version. 导入 pytest. 导入 pandas, 别名为 pd. 导入 _MIN_NUMEXPR_VERSION 从 pandas 点 core 点 computation 点 check. 导入 _engines 从 pandas 点 core 点 computation 点 engines. 导入 pandas 点 core 点 computation 点 expr, 别名为 expr. 定义函数 test_compat: # test we have compat 用 our version 的 nu 导入 _NUMEXPR_INSTALL...
from distutils.version import LooseVersion import pytest import pandas as pd from pandas.core.computation.check import _MIN_NUMEXPR_VERSION from pandas.core.computation.engines import _engines import pandas.core.computation.expr as expr def test_compat(): # test we have compat with our version of nu from p...
true
true
true
null
c245a9bbe44b7eb758aaf44ed62e9ad05bf6e5724ff495b0af22cd4d8c77a9e6
1,369
1,369
42
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:55.484874+00:00
en,es,fr,zh
true
c245a9bbe44b7eb758aaf44ed62e9ad05bf6e5724ff495b0af22cd4d8c77a9e6
{ "v2_row_index": 42, "v2_source_sha256": "c245a9bbe44b7eb758aaf44ed62e9ad05bf6e5724ff495b0af22cd4d8c77a9e6" }
ok
import os import sys import django # ############################################################################# # DIMENSIONS API CREDENTIALS # ############################################################################# DIMENSIONS_USR = "" DIMENSIONS_PSW = "" SECRET_KEY = '<KEY>' # the site root is one level...
Load os. Load sys. Load django. # ############################################################################# # DIMENSIONS API CREDENTIALS # ############################################################################# Set DIMENSIONS_USR to "". Set DIMENSIONS_PSW to "". Set SECRET_KEY to "<KEY>". # the site root is o...
Importar os. Importar sys. Importar django. # ############################################################################# # DIMENSIONS API CREDENTIALS # ############################################################################# Establecer DIMENSIONS_USR como "". Establecer DIMENSIONS_PSW como "". Establecer SECRET...
Charger os. Charger sys. Charger django. # ############################################################################# # DIMENSIONS API CREDENTIALS # ############################################################################# Affecter DIMENSIONS_USR à "". Affecter DIMENSIONS_PSW à "". Affecter SECRET_KEY à "<KEY>"....
import os import sys import django # ############################################################################# # DIMENSIONS API CREDENTIALS # ############################################################################# DIMENSIONS_USR = '' DIMENSIONS_PSW = '' SECRET_KEY = '<KEY>' # the site root is one level up fro...
true
true
true
{ "artifact_hash": "2828479fbe259be8ea6f254dd3261a4f0671fe28f4918b3d67df0d5a59218147", "id": "1737268", "max_stars_count": 0, "max_stars_repo_name": "lambdamusic/zerohunger", "max_stars_repo_path": "src/local_settings_example.py", "normalized_source_hash": "f1a494080fb9fb58ad59e3e2596203a1dbdb3b1277c990f789...
{ "artifact_hash": "2828479fbe259be8ea6f254dd3261a4f0671fe28f4918b3d67df0d5a59218147", "normalized_source_hash": "f1a494080fb9fb58ad59e3e2596203a1dbdb3b1277c990f78908162fe3d93017", "raw_source_hash": "4f67efe6d14d073248fd8bbe5013339cea4535c535a44f54374ffae2ada35d3b", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 os. 导入 sys. 导入 django. # ############################################################################# # DIMENSIONS API CREDENTIALS # ############################################################################# 设 DIMENSIONS_USR 为 "". 设 DIMENSIONS_PSW 为 "". 设 SECRET_KEY 为 "<KEY>". # the site root 是 one 级 向上 从 其中 set...
import os import sys import django # ############################################################################# # DIMENSIONS API CREDENTIALS # ############################################################################# DIMENSIONS_USR = "" DIMENSIONS_PSW = "" SECRET_KEY = '<KEY>' # the site root is one level ...
true
true
true
null
f1a494080fb9fb58ad59e3e2596203a1dbdb3b1277c990f78908162fe3d93017
2,024
2,024
43
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:55.713949+00:00
en,es,fr,zh
true
f1a494080fb9fb58ad59e3e2596203a1dbdb3b1277c990f78908162fe3d93017
{ "v2_row_index": 43, "v2_source_sha256": "f1a494080fb9fb58ad59e3e2596203a1dbdb3b1277c990f78908162fe3d93017" }
ok
from huobi.client.market import MarketClient from huobi.constant import * from huobi.exception.huobi_api_exception import HuobiApiException from huobi.model.market.candlestick_event import CandlestickEvent def callback(candlestick_event: 'CandlestickEvent'): candlestick_event.print_object() print("\n") def ...
Load MarketClient from huobi.client.market. Load everything from huobi.constant. Load HuobiApiException from huobi.exception.huobi_api_exception. Load CandlestickEvent from huobi.model.market.candlestick_event. Define function callback with parameter candlestick_event (type: "CandlestickEvent"): Call candlestick_ev...
Importar MarketClient desde huobi.client.market. Importar todo desde huobi.constant. Importar HuobiApiException desde huobi.exception.huobi_api_exception. Importar CandlestickEvent desde huobi.model.market.candlestick_event. Definir función callback con parámetro candlestick_event (tipo: "CandlestickEvent"): Llamar...
Charger MarketClient depuis huobi.client.market. Charger tout depuis huobi.constant. Charger HuobiApiException depuis huobi.exception.huobi_api_exception. Charger CandlestickEvent depuis huobi.model.market.candlestick_event. Définir fonction callback avec paramètre candlestick_event (type : "CandlestickEvent"): App...
from huobi.client.market import MarketClient from huobi.constant import * from huobi.exception.huobi_api_exception import HuobiApiException from huobi.model.market.candlestick_event import CandlestickEvent def callback(candlestick_event: 'CandlestickEvent'): candlestick_event.print_object() print('\n') def er...
true
true
true
{ "artifact_hash": "de546d633628e2beb3382a6233b461c787c4788c29290cb7b3ea937217ab39d4", "id": "1737270", "max_stars_count": 0, "max_stars_repo_name": "dongjicheng/Stock-Trading-Visualization-master", "max_stars_repo_path": "huobiapi/example/market/sub_candlestick.py", "normalized_source_hash": "9a679d5020499...
{ "artifact_hash": "de546d633628e2beb3382a6233b461c787c4788c29290cb7b3ea937217ab39d4", "normalized_source_hash": "9a679d50204991b0abbf39234a0d16144154dca1c72eab65979ecf735eb6bd27", "raw_source_hash": "aec7c79b9ce7248361bc2f4b448ddb67fc610a715b0b90ee1f0476742375f6f2", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 MarketClient 从 huobi 点 client 点 market. 从以下内容导入全部 huobi 点 constant. 导入 HuobiApiException 从 huobi 点 exception 点 huobi_api_exception. 导入 CandlestickEvent 从 huobi 点 model 点 market 点 candlestick_event. 定义函数 callback 参数为 candlestick_event (类型: "CandlestickEvent"): 调用 candlestick_event 点 print_object. 打印 文本块: ...
from huobi.client.market import MarketClient from huobi.constant import * from huobi.exception.huobi_api_exception import HuobiApiException from huobi.model.market.candlestick_event import CandlestickEvent def callback(candlestick_event: 'CandlestickEvent'): candlestick_event.print_object() print("\n") def ...
true
true
true
null
9a679d50204991b0abbf39234a0d16144154dca1c72eab65979ecf735eb6bd27
516
516
44
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:55.717061+00:00
en,es,fr,zh
true
9a679d50204991b0abbf39234a0d16144154dca1c72eab65979ecf735eb6bd27
{ "v2_row_index": 44, "v2_source_sha256": "9a679d50204991b0abbf39234a0d16144154dca1c72eab65979ecf735eb6bd27" }
ok
# flake8: noqa: E501 """ Example: Large-scale ML Ingest ================================================= In this example, you will learn how to build, deploy and scale up a machine learning shuffle ingestion pipeline using `Ray Dataset <https://docs.ray.io/en/latest/data/dataset.html>`_ and `Dataset Pipelines <https:...
# flake8: noqa: E501 Text block: "" "Example: Large-scale ML Ingest" "=================================================" "" "In this example, you will learn how to build, deploy and scale up a machine" "learning shuffle ingestion pipeline using" "`Ray Dataset <https://docs.ray.io/en/latest/data/dataset.html>`_ and" "`D...
# flake8: noqa: E501 Texto literal: "" "Example: Large-scale ML Ingest" "=================================================" "" "In this example, you will learn how to build, deploy and scale up a machine" "learning shuffle ingestion pipeline using" "`Ray Dataset <https://docs.ray.io/en/latest/data/dataset.html>`_ and" ...
# flake8: noqa: E501 Texte littéral: "" "Example: Large-scale ML Ingest" "=================================================" "" "In this example, you will learn how to build, deploy and scale up a machine" "learning shuffle ingestion pipeline using" "`Ray Dataset <https://docs.ray.io/en/latest/data/dataset.html>`_ and"...
# flake8: noqa: E501 """ Example: Large-scale ML Ingest ================================================= In this example, you will learn how to build, deploy and scale up a machine learning shuffle ingestion pipeline using `Ray Dataset <https://docs.ray.io/en/latest/data/dataset.html>`_ and `Dataset Pipelines <https:...
true
true
true
{ "artifact_hash": "481858f291692743316d9fb3ebfc21764169bc450806f30bc10da2fb0403938a", "id": "1737271", "max_stars_count": 21382, "max_stars_repo_name": "goswamig/amazon-ray", "max_stars_repo_path": "doc/source/data/_examples/big_data_ingestion.py", "normalized_source_hash": "5fa7d7fae1f924b93150e71d418d6f9...
{ "artifact_hash": "481858f291692743316d9fb3ebfc21764169bc450806f30bc10da2fb0403938a", "normalized_source_hash": "5fa7d7fae1f924b93150e71d418d6f9b6100ac3ebb0b3d24890d5eef8a82a194", "raw_source_hash": "803fffc21a4e098b65d325486b9a3c3c6bb04102402173ade9108b899fa34544", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# flake8: noqa: E501 文本块: "" "Example: Large-scale ML Ingest" "=================================================" "" "In this example, you will learn how to build, deploy and scale up a machine" "learning shuffle ingestion pipeline using" "`Ray Dataset <https://docs.ray.io/en/latest/data/dataset.html>`_ and" "`Dataset ...
# flake8: noqa: E501 """ Example: Large-scale ML Ingest ================================================= In this example, you will learn how to build, deploy and scale up a machine learning shuffle ingestion pipeline using `Ray Dataset <https://docs.ray.io/en/latest/data/dataset.html>`_ and `Dataset Pipelines <https:...
true
true
true
null
5fa7d7fae1f924b93150e71d418d6f9b6100ac3ebb0b3d24890d5eef8a82a194
10,069
10,233
45
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:55.809403+00:00
en,es,fr,zh
true
5fa7d7fae1f924b93150e71d418d6f9b6100ac3ebb0b3d24890d5eef8a82a194
{ "v2_row_index": 45, "v2_source_sha256": "5fa7d7fae1f924b93150e71d418d6f9b6100ac3ebb0b3d24890d5eef8a82a194" }
ok
import tkinter import tkinter.filedialog import tkinter.messagebox import os import shutil import re import zipfile class Window(tkinter.Frame): def __init__(self, master=None): tkinter.Frame.__init__(self, master) self.master = master self.replayDir = os.getenv("LOCALAPPDATA") + "\TslGa...
Load tkinter. Load tkinter.filedialog. Load tkinter.messagebox. Load os. Load shutil. Load re. Load zipfile. Define class Window inheriting from tkinter.Frame: Define method __init__ with parameters self, master (default: None): Call tkinter dot Frame dot __init__ with self, master. Set self dot mas...
Importar tkinter. Importar tkinter.filedialog. Importar tkinter.messagebox. Importar os. Importar shutil. Importar re. Importar zipfile. Definir clase Window heredando de tkinter.Frame: Definir método __init__ con parámetros self, master (predeterminado: None): Llamar tkinter punto Frame punto __init__ con ...
Charger tkinter. Charger tkinter.filedialog. Charger tkinter.messagebox. Charger os. Charger shutil. Charger re. Charger zipfile. Définir classe Window héritant de tkinter.Frame: Définir méthode __init__ avec paramètres self, master (par défaut: None): Appeler tkinter point de Frame point de __init__ avec s...
import tkinter import tkinter.filedialog import tkinter.messagebox import os import shutil import re import zipfile class Window(tkinter.Frame): def __init__(self, master=None): tkinter.Frame.__init__(self, master) self.master = master self.replayDir = os.getenv('LOCALAPPDATA') + '\\TslGam...
true
true
true
{ "artifact_hash": "f96a2bb16a4c7a644505c88f530a07ab1688823f796d746667fbb8f317a8a63e", "id": "1737272", "max_stars_count": 0, "max_stars_repo_name": "OrangutanGaming/PUBG-ReplayManager", "max_stars_repo_path": "src/rmpubg.py", "normalized_source_hash": "9f5f681f88df7d668ee872c091f5abb3fc31397490e146d0c83419...
{ "artifact_hash": "f96a2bb16a4c7a644505c88f530a07ab1688823f796d746667fbb8f317a8a63e", "normalized_source_hash": "9f5f681f88df7d668ee872c091f5abb3fc31397490e146d0c83419888f5b8160", "raw_source_hash": "e312bf040e47f76c2fbbc3edd4f3d525b5d40980a111653fe4226162450c8aaa", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 tkinter. 导入 tkinter 点 filedialog. 导入 tkinter 点 messagebox. 导入 os. 导入 shutil. 导入 re. 导入 zipfile. 定义类 Window 继承自 tkinter 点 Frame: 定义方法 __init__ 参数为 self, master (默认: None): 调用 tkinter 点 Frame 点 __init__ 用 self, master. 设 self 点 master 为 master. 设 self 点 replayDir 为 (os 点 getenv 用 "LOCALAPPD...
import tkinter import tkinter.filedialog import tkinter.messagebox import os import shutil import re import zipfile class Window(tkinter.Frame): def __init__(self, master=None): tkinter.Frame.__init__(self, master) self.master = master self.replayDir = os.getenv("LOCALAPPDATA") + "\TslGa...
true
true
true
null
9f5f681f88df7d668ee872c091f5abb3fc31397490e146d0c83419888f5b8160
3,195
3,195
46
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.214269+00:00
en,es,fr,zh
true
9f5f681f88df7d668ee872c091f5abb3fc31397490e146d0c83419888f5b8160
{ "v2_row_index": 46, "v2_source_sha256": "9f5f681f88df7d668ee872c091f5abb3fc31397490e146d0c83419888f5b8160" }
ok
from datetime import datetime from .models import Product, Customer, Settings months = [ "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ] class OrderLine(dict): def __init__(self, line_da...
Load datetime from datetime. Load Product, Customer, Settings from the current package.models. Set months to the list [ "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december" ]. Define class OrderLine inheriting from dict: Define method __init__ wi...
Importar datetime desde datetime. Importar Product, Customer, Settings desde el paquete actual.models. Establecer months como la lista [ "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december" ]. Definir clase OrderLine heredando de dict: Definir mé...
Charger datetime depuis datetime. Charger Product, Customer, Settings depuis le paquet actuel.models. Affecter months à la liste [ "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december" ]. Définir classe OrderLine héritant de dict: Définir méthode ...
from datetime import datetime from .models import Product, Customer, Settings months = ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'] class OrderLine(dict): def __init__(self, line_date, drink_name, **kwargs): self.date = dateti...
true
true
true
{ "artifact_hash": "4d6c16133055bb1d945522fc42ab0decfc4c6feca3e7288d8ec6c836378a1ce4", "id": "1737273", "max_stars_count": 1, "max_stars_repo_name": "LvanArkel/sbzwebsite", "max_stars_repo_path": "apps/multivers/defaults.py", "normalized_source_hash": "c6a568d9a51336e59dbb4ffcbf94821e91c6c456df2069db14081f5...
{ "artifact_hash": "4d6c16133055bb1d945522fc42ab0decfc4c6feca3e7288d8ec6c836378a1ce4", "normalized_source_hash": "c6a568d9a51336e59dbb4ffcbf94821e91c6c456df2069db14081f5523d78d91", "raw_source_hash": "d831cc26b8a7f3d3a1f838cf04249c2c26cf62ddf140bd4f275d9974ffcc2ccd", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 datetime 从 datetime. 导入 Product, Customer, Settings 从当前包 点 models. 设 months 为 列表 [ "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december" ]. 定义类 OrderLine 继承自 dict: 定义方法 __init__ 参数为 self, line_date, drink_name; 并且 其余关键字参数为 kwargs: 设 sel...
from datetime import datetime from .models import Product, Customer, Settings months = [ "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ] class OrderLine(dict): def __init__(self, line_da...
true
true
true
null
c6a568d9a51336e59dbb4ffcbf94821e91c6c456df2069db14081f5523d78d91
8,717
8,717
47
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.328965+00:00
en,es,fr,zh
true
c6a568d9a51336e59dbb4ffcbf94821e91c6c456df2069db14081f5523d78d91
{ "v2_row_index": 47, "v2_source_sha256": "c6a568d9a51336e59dbb4ffcbf94821e91c6c456df2069db14081f5523d78d91" }
ok
# Orignal source # https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/inceptionv4.py from __future__ import print_function, division, absolute_import import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.model_zoo as model_zoo __all__ = ["Inception...
# Orignal source # https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/inceptionv4.py Load print_function, division, absolute_import from __future__. Load torch. Load torch.nn, referred to as nn. Load torch.nn.functional, referred to as F. Load torch.utils.model_zoo, referred to as m...
# Orignal source # https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/inceptionv4.py Importar print_function, division, absolute_import desde __future__. Importar torch. Importar torch.nn, referido como nn. Importar torch.nn.functional, referido como F. Importar torch.utils.model_zo...
# Orignal source # https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/inceptionv4.py Charger print_function, division, absolute_import depuis __future__. Charger torch. Charger torch.nn, référé comme nn. Charger torch.nn.functional, référé comme F. Charger torch.utils.model_zoo, réf...
from __future__ import print_function, division, absolute_import # Orignal source # https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/inceptionv4.py import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.model_zoo as model_zoo __all__ = ['InceptionV...
true
true
true
{ "artifact_hash": "d9df4d4b6648f4afe6ec78684ea159d9e3433747426d2219342a6c43130c327c", "id": "1737274", "max_stars_count": 0, "max_stars_repo_name": "anshulrai/pytorch-toolbelt", "max_stars_repo_path": "pytorch_toolbelt/modules/backbone/inceptionv4.py", "normalized_source_hash": "b504d047361a3f39a640f8bdccc...
{ "artifact_hash": "d9df4d4b6648f4afe6ec78684ea159d9e3433747426d2219342a6c43130c327c", "normalized_source_hash": "b504d047361a3f39a640f8bdccc61233816a874e07d99b9e6d992495a367b1c1", "raw_source_hash": "c883318373a3d085bdcda1959d8579df46ddc02964c743e0a1b822b2fd9e77a1", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Orignal source # https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/inceptionv4.py 导入 print_function, division, absolute_import 从 __future__. 导入 torch. 导入 torch 点 nn, 别名为 nn. 导入 torch 点 nn 点 functional, 别名为 F. 导入 torch 点 utils 点 model_zoo, 别名为 model_zoo. 设 __all__ 为 列表 ["Inception...
# Orignal source # https://github.com/Cadene/pretrained-models.pytorch/blob/master/pretrainedmodels/models/inceptionv4.py from __future__ import print_function, division, absolute_import import torch import torch.nn as nn import torch.nn.functional as F import torch.utils.model_zoo as model_zoo __all__ = ["Inception...
true
true
true
null
b504d047361a3f39a640f8bdccc61233816a874e07d99b9e6d992495a367b1c1
11,138
11,138
48
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.380134+00:00
en,es,fr,zh
true
b504d047361a3f39a640f8bdccc61233816a874e07d99b9e6d992495a367b1c1
{ "v2_row_index": 48, "v2_source_sha256": "b504d047361a3f39a640f8bdccc61233816a874e07d99b9e6d992495a367b1c1" }
ok
from json import tool from PreEmo import * from DestiRec import DestiRec import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns sns.set(style='whitegrid') import pickle import warnings import os warnings.filterwarnings("ignore", 'This pattern has match grou...
Load tool from json. Load everything from PreEmo. Load DestiRec from DestiRec. Load numpy, referred to as np. Load pandas, referred to as pd. Load matplotlib, referred to as mpl. Load matplotlib.pyplot, referred to as plt. Load seaborn, referred to as sns. Call sns dot set with style set to "whitegrid". Load pickle. Lo...
Importar tool desde json. Importar todo desde PreEmo. Importar DestiRec desde DestiRec. Importar numpy, referido como np. Importar pandas, referido como pd. Importar matplotlib, referido como mpl. Importar matplotlib.pyplot, referido como plt. Importar seaborn, referido como sns. Llamar sns punto set con style establec...
Charger tool depuis json. Charger tout depuis PreEmo. Charger DestiRec depuis DestiRec. Charger numpy, référé comme np. Charger pandas, référé comme pd. Charger matplotlib, référé comme mpl. Charger matplotlib.pyplot, référé comme plt. Charger seaborn, référé comme sns. Appeler sns point de set avec style défini à "whi...
from json import tool from PreEmo import * from DestiRec import DestiRec import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns sns.set(style='whitegrid') import pickle import warnings import os warnings.filterwarnings('ignore', 'This pattern has match grou...
true
true
true
{ "artifact_hash": "36ca6066ff9c3460086564d6d0ef31ed4a150dde6b7fd7fbb42a3c23561f9f5a", "id": "1737276", "max_stars_count": 0, "max_stars_repo_name": "idaShobs/destirec-composite", "max_stars_repo_path": "Implementation/src/evaluation.py", "normalized_source_hash": "8bd852535ac60934fd2b2a2a330d82e25e3369ec44...
{ "artifact_hash": "36ca6066ff9c3460086564d6d0ef31ed4a150dde6b7fd7fbb42a3c23561f9f5a", "normalized_source_hash": "8bd852535ac60934fd2b2a2a330d82e25e3369ec44a9c79a40e0828f84cdfceb", "raw_source_hash": "e003985ec6cb5b33743d89f471b0e8405103cc695a90c059819e1b8d0da4bb46", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 tool 从 json. 从以下内容导入全部 PreEmo. 导入 DestiRec 从 DestiRec. 导入 numpy, 别名为 np. 导入 pandas, 别名为 pd. 导入 matplotlib, 别名为 mpl. 导入 matplotlib 点 pyplot, 别名为 plt. 导入 seaborn, 别名为 sns. 调用 sns 点 set 用 style 设为 "whitegrid". 导入 pickle. 导入 warnings. 导入 os. 调用 warnings 点 filterwarnings 用 "ignore", "This pattern has match groups". 调用 wa...
from json import tool from PreEmo import * from DestiRec import DestiRec import numpy as np import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import seaborn as sns sns.set(style='whitegrid') import pickle import warnings import os warnings.filterwarnings("ignore", 'This pattern has match grou...
true
true
true
null
8bd852535ac60934fd2b2a2a330d82e25e3369ec44a9c79a40e0828f84cdfceb
2,879
2,879
49
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.490795+00:00
en,es,fr,zh
true
8bd852535ac60934fd2b2a2a330d82e25e3369ec44a9c79a40e0828f84cdfceb
{ "v2_row_index": 49, "v2_source_sha256": "8bd852535ac60934fd2b2a2a330d82e25e3369ec44a9c79a40e0828f84cdfceb" }
ok
__author__ = 'leituo56' import os os.environ['DJANGO_SETTINGS_MODULE'] = 'SocialNwk.settings' from django.conf import settings from Photographer.models import * import random users = [] for i in range(30): username = 'test_user' + str(i) temp, c = User.objects.get_or_create(username=username) temp.set_pass...
Set __author__ to "leituo56". Load os. Set item with key "DJANGO_SETTINGS_MODULE" of os dot environ to "SocialNwk.settings". Load settings from django.conf. Load everything from Photographer.models. Load random. Set users to an empty list. For each i in the range starting at 0 and stopping before 30: Set username t...
Establecer __author__ como "leituo56". Importar os. Establecer elemento con clave "DJANGO_SETTINGS_MODULE" de os punto environ como "SocialNwk.settings". Importar settings desde django.conf. Importar todo desde Photographer.models. Importar random. Establecer users como una lista vacía. Para cada i en el rango que comi...
Affecter __author__ à "leituo56". Charger os. Affecter élément avec clé "DJANGO_SETTINGS_MODULE" de os point de environ à "SocialNwk.settings". Charger settings depuis django.conf. Charger tout depuis Photographer.models. Charger random. Affecter users à une liste vide. Pour chaque i dans la plage commençant à 0 et s'a...
__author__ = 'leituo56' import os os.environ['DJANGO_SETTINGS_MODULE'] = 'SocialNwk.settings' from django.conf import settings from Photographer.models import * import random users = [] for i in range(30): username = 'test_user' + str(i) temp, c = User.objects.get_or_create(username=username) temp.set_passw...
true
true
true
{ "artifact_hash": "081b65b5c8af9c50d0a08ddeeecec8a93b389563a3313e5db93a0cb191acfedd", "id": "1737277", "max_stars_count": 2, "max_stars_repo_name": "leituo56/SocialNetworkArtist_CMPE272_Group6", "max_stars_repo_path": "src/SocialNwk/init_data_scale.py", "normalized_source_hash": "31c965c7e276e4d213ba8c899e...
{ "artifact_hash": "081b65b5c8af9c50d0a08ddeeecec8a93b389563a3313e5db93a0cb191acfedd", "normalized_source_hash": "31c965c7e276e4d213ba8c899e88e4824a52acc58c18c58b57766f4ad73efeb9", "raw_source_hash": "f9f1d67b96da24d06b5767c3b6bf4930c0d3e3dff2f0cad98a7e932a2fe82133", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
设 __author__ 为 "leituo56". 导入 os. 设 键为以下内容的项 "DJANGO_SETTINGS_MODULE" 的 os 点 environ 为 "SocialNwk.settings". 导入 settings 从 django 点 conf. 从以下内容导入全部 Photographer 点 models. 导入 random. 设 users 为 空列表. 对于每个 i 在 范围,从以下位置开始 0 并且 在以下位置之前停止 30: 设 username 为 "test_user" 加上 (str 用 i). 解包 User 点 objects 点 get_or_create 用 u...
__author__ = 'leituo56' import os os.environ['DJANGO_SETTINGS_MODULE'] = 'SocialNwk.settings' from django.conf import settings from Photographer.models import * import random users = [] for i in range(30): username = 'test_user' + str(i) temp, c = User.objects.get_or_create(username=username) temp.set_pass...
true
true
true
null
31c965c7e276e4d213ba8c899e88e4824a52acc58c18c58b57766f4ad73efeb9
1,140
1,140
50
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.704945+00:00
en,es,fr,zh
true
31c965c7e276e4d213ba8c899e88e4824a52acc58c18c58b57766f4ad73efeb9
{ "v2_row_index": 50, "v2_source_sha256": "31c965c7e276e4d213ba8c899e88e4824a52acc58c18c58b57766f4ad73efeb9" }
ok
# "manhole" entry point, friendlier ipython startup to remote container __author__ = '<NAME> <<EMAIL>>' def main(): import sys, os, re, errno, json, socket from pkg_resources import load_entry_point r = re.compile('manhole-(\d+).json') if len(sys.argv) == 2: mh_file = sys.argv[1] else: ...
# "manhole" entry point, friendlier ipython startup to remote container Set __author__ to "<NAME> <<EMAIL>>". Define function main: Load sys, os, re, errno, json, socket. Load load_entry_point from pkg_resources. Set r to re dot compile with "manhole-(\\d+).json". If len with sys dot argv equals 2: ...
# "manhole" entry point, friendlier ipython startup como remote container Establecer __author__ como "<NAME> <<EMAIL>>". Definir función main: Importar sys, os, re, errno, json, socket. Importar load_entry_point desde pkg_resources. Establecer r como re punto compile con "manhole-(\\d+).json". Si len co...
# "manhole" entry point, friendlier ipython startup à remote container Affecter __author__ à "<NAME> <<EMAIL>>". Définir fonction main: Charger sys, os, re, errno, json, socket. Charger load_entry_point depuis pkg_resources. Affecter r à re point de compile avec "manhole-(\\d+).json". Si len avec sys po...
# "manhole" entry point, friendlier ipython startup to remote container __author__ = '<NAME> <<EMAIL>>' def main(): import sys, os, re, errno, json, socket from pkg_resources import load_entry_point r = re.compile('manhole-(\\d+).json') if len(sys.argv) == 2: mh_file = sys.argv[1] else: ...
true
true
true
{ "artifact_hash": "bb8b26c34189767a58f3e4e46603d59b7704526d841fa78c813b744826e07ea7", "id": "1737278", "max_stars_count": 2, "max_stars_repo_name": "ooici/pyon", "max_stars_repo_path": "scripts/manhole.py", "normalized_source_hash": "1f10ee77be2d9916633995909fee1360a106e8b8643bc39da1af9d566b622bdf", "raw...
{ "artifact_hash": "bb8b26c34189767a58f3e4e46603d59b7704526d841fa78c813b744826e07ea7", "normalized_source_hash": "1f10ee77be2d9916633995909fee1360a106e8b8643bc39da1af9d566b622bdf", "raw_source_hash": "9da76ee26c2d009d37247042f4573895afc8544718ee3a09e102d39b5194eee7", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# "manhole" entry point, friendlier ipython startup 为 remote container 设 __author__ 为 "<NAME> <<EMAIL>>". 定义函数 main: 导入 sys, os, re, errno, json, socket. 导入 load_entry_point 从 pkg_resources. 设 r 为 re 点 compile 用 "manhole-(\\d+).json". 如果 len 用 sys 点 argv 等于 2: 设 mh_file 为 元素 1 的 sys 点 argv. ...
# "manhole" entry point, friendlier ipython startup to remote container __author__ = '<NAME> <<EMAIL>>' def main(): import sys, os, re, errno, json, socket from pkg_resources import load_entry_point r = re.compile('manhole-(\d+).json') if len(sys.argv) == 2: mh_file = sys.argv[1] else: ...
true
true
true
null
1f10ee77be2d9916633995909fee1360a106e8b8643bc39da1af9d566b622bdf
3,677
3,677
51
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.816022+00:00
en,es,fr,zh
true
1f10ee77be2d9916633995909fee1360a106e8b8643bc39da1af9d566b622bdf
{ "v2_row_index": 51, "v2_source_sha256": "1f10ee77be2d9916633995909fee1360a106e8b8643bc39da1af9d566b622bdf" }
ok
import subprocess from os import path, getenv from tempfile import gettempdir from struct import calcsize try: from mpi4py import MPI except: MPI = None try: from pathlib import Path except ImportError: from pathlib2 import Path # python 2 backport try: from os import getuid except: # Windows d...
Load subprocess. Load path, getenv from os. Load gettempdir from tempfile. Load calcsize from struct. Attempt the following: Load MPI from mpi4py. If any error occurs: Set MPI to None. Attempt the following: Load Path from pathlib. If an error of type ImportError occurs: Load Path from pathlib2. # pytho...
Importar subprocess. Importar path, getenv desde os. Importar gettempdir desde tempfile. Importar calcsize desde struct. Intentar lo siguiente: Importar MPI desde mpi4py. Si ocurre cualquier error: Establecer MPI como None. Intentar lo siguiente: Importar Path desde pathlib. Si ocurre un error de tipo Impor...
Charger subprocess. Charger path, getenv depuis os. Charger gettempdir depuis tempfile. Charger calcsize depuis struct. Essayer ce qui suit: Charger MPI depuis mpi4py. Si une erreur survient: Affecter MPI à None. Essayer ce qui suit: Charger Path depuis pathlib. Si une erreur du type ImportError survient: ...
import subprocess from os import path, getenv from tempfile import gettempdir from struct import calcsize try: from mpi4py import MPI except: MPI = None try: from pathlib import Path except ImportError: from pathlib2 import Path try: from os import getuid except: def getuid(): return 't...
true
true
true
{ "artifact_hash": "dfd13aedf0e3712862d6f61a7d83d0e719d4d7831f44893a28f759eaf7d9b736", "id": "1737279", "max_stars_count": 0, "max_stars_repo_name": "J535D165/parcels", "max_stars_repo_path": "parcels/compiler.py", "normalized_source_hash": "92e2e7c237ceaf5d6af974b6d7ea65959bed1de20a65e29e8ae29f5c0594ba0d",...
{ "artifact_hash": "dfd13aedf0e3712862d6f61a7d83d0e719d4d7831f44893a28f759eaf7d9b736", "normalized_source_hash": "92e2e7c237ceaf5d6af974b6d7ea65959bed1de20a65e29e8ae29f5c0594ba0d", "raw_source_hash": "e62e82735d550fddf52722109bb40eb6037d767aade1a859a1bf1ff7877fa212", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 subprocess. 导入 path, getenv 从 os. 导入 gettempdir 从 tempfile. 导入 calcsize 从 struct. 尝试以下内容: 导入 MPI 从 mpi4py. 如果发生任何错误: 设 MPI 为 空值. 尝试以下内容: 导入 Path 从 pathlib. 如果类型为以下内容的错误 ImportError 发生: 导入 Path 从 pathlib2. # python 2 backport 尝试以下内容: 导入 getuid 从 os. 如果发生任何错误: # Windows does 不 have getuid(), so...
import subprocess from os import path, getenv from tempfile import gettempdir from struct import calcsize try: from mpi4py import MPI except: MPI = None try: from pathlib import Path except ImportError: from pathlib2 import Path # python 2 backport try: from os import getuid except: # Windows d...
true
true
true
null
92e2e7c237ceaf5d6af974b6d7ea65959bed1de20a65e29e8ae29f5c0594ba0d
2,843
2,843
52
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.847347+00:00
en,es,fr,zh
true
92e2e7c237ceaf5d6af974b6d7ea65959bed1de20a65e29e8ae29f5c0594ba0d
{ "v2_row_index": 52, "v2_source_sha256": "92e2e7c237ceaf5d6af974b6d7ea65959bed1de20a65e29e8ae29f5c0594ba0d" }
ok
import os import sys import numpy as np import json def read_json(filename: str): """Read a json file and return data as a dict object""" print('Reading json file ' + filename + '...') with open(filename, 'r') as f: instance = json.load(f) print('Done') return instance def export_solut...
Load os. Load sys. Load numpy, referred to as np. Load json. Define function read_json with parameter filename (type: str): Evaluate "Read a json file and return data as a dict object". Print "Reading json file " plus filename plus "...". With (open with filename and "r") bound as f: Set instance to...
Importar os. Importar sys. Importar numpy, referido como np. Importar json. Definir función read_json con parámetro filename (tipo: str): Evaluar "Read a json file and return data as a dict object". Imprimir "Reading json file " más filename más "...". Con (open con filename y también "r") como f: E...
Charger os. Charger sys. Charger numpy, référé comme np. Charger json. Définir fonction read_json avec paramètre filename (type : str): Évaluer "Read a json file and return data as a dict object". Afficher "Reading json file " plus filename plus "...". Avec (open avec filename et "r") lié comme f: A...
import os import sys import numpy as np import json def read_json(filename: str): """Read a json file and return data as a dict object""" print('Reading json file ' + filename + '...') with open(filename, 'r') as f: instance = json.load(f) print('Done') return instance def export_solution(...
true
true
true
{ "artifact_hash": "afe6cbf4148d03c7869857d1f048f2aea90ca311a37629819c58399002c6e200", "id": "1737284", "max_stars_count": 0, "max_stars_repo_name": "poralo/challenge-roadef-2020", "max_stars_repo_path": "utils.py", "normalized_source_hash": "3844912aa41171245e736bac5a8b485ddb046407ed95b2a1e1ba0f9d7217d739"...
{ "artifact_hash": "afe6cbf4148d03c7869857d1f048f2aea90ca311a37629819c58399002c6e200", "normalized_source_hash": "3844912aa41171245e736bac5a8b485ddb046407ed95b2a1e1ba0f9d7217d739", "raw_source_hash": "97644fb712a3cebdebc2a1c56d7b4df1a9cf772ea5a5b7d936ce1523991294b5", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 os. 导入 sys. 导入 numpy, 别名为 np. 导入 json. 定义函数 read_json 参数为 filename (类型: 字符串): 求值 "Read a json file and return data as a dict object". 打印 "Reading json file " 加上 filename 加上 "...". 使用 (open 用 filename 并且 "r") 绑定为 f: 设 instance 为 json 点 load 用 f. 打印 "Done". 返回 instance. 定义函数 export_solution...
import os import sys import numpy as np import json def read_json(filename: str): """Read a json file and return data as a dict object""" print('Reading json file ' + filename + '...') with open(filename, 'r') as f: instance = json.load(f) print('Done') return instance def export_solut...
true
true
true
null
3844912aa41171245e736bac5a8b485ddb046407ed95b2a1e1ba0f9d7217d739
744
744
53
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.925696+00:00
en,es,fr,zh
true
3844912aa41171245e736bac5a8b485ddb046407ed95b2a1e1ba0f9d7217d739
{ "v2_row_index": 53, "v2_source_sha256": "3844912aa41171245e736bac5a8b485ddb046407ed95b2a1e1ba0f9d7217d739" }
ok
from flask import Flask, render_template, jsonify, request import requests import json import paypal_manager app = Flask(__name__) # Routes @app.route('/') def index(): return render_template('index.html') @app.route('/api/paypal/order/create', methods=['POST']) def paypal_create_order(): # TODO: Receive...
Load Flask, render_template, jsonify, request from flask. Load requests. Load json. Load paypal_manager. Set app to Flask with __name__. # Routes Apply app dot route with "/" to the following: Define function index: Return render_template with "index.html". Apply app dot route with "/api/paypal/order/create...
Importar Flask, render_template, jsonify, request desde flask. Importar requests. Importar json. Importar paypal_manager. Establecer app como Flask con __name__. # Routes Aplicar app punto route con "/" a lo siguiente: Definir función index: Devolver render_template con "index.html". Aplicar app punto route...
Charger Flask, render_template, jsonify, request depuis flask. Charger requests. Charger json. Charger paypal_manager. Affecter app à Flask avec __name__. # Routes Appliquer app point de route avec "/" à ce qui suit: Définir fonction index: Retourner render_template avec "index.html". Appliquer app point de...
from flask import Flask, render_template, jsonify, request import requests import json import paypal_manager app = Flask(__name__) @app.route('/') # Routes def index(): return render_template('index.html') @app.route('/api/paypal/order/create', methods=['POST']) def paypal_create_order(): # TODO: Receive this...
true
true
true
{ "artifact_hash": "d15e330862b2ceed16759d1ac31f524f03ae8e11eb3f4e2c461a72eccb80b8f2", "id": "1737285", "max_stars_count": 1, "max_stars_repo_name": "albertofojo/flaskpaypal", "max_stars_repo_path": "app.py", "normalized_source_hash": "40411fe0b16480dd6c67e386071a696e80935c6f919cf97483c8e609a7b1a696", "ra...
{ "artifact_hash": "d15e330862b2ceed16759d1ac31f524f03ae8e11eb3f4e2c461a72eccb80b8f2", "normalized_source_hash": "40411fe0b16480dd6c67e386071a696e80935c6f919cf97483c8e609a7b1a696", "raw_source_hash": "5095238f834d1a0951a4514ddd9cb45f57ccedacd73239e7ef553ef6409ea3a5", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 Flask, render_template, jsonify, request 从 flask. 导入 requests. 导入 json. 导入 paypal_manager. 设 app 为 Flask 用 __name__. # Routes 用装饰器 app 点 route 用 "/": 定义函数 index: 返回 render_template 用 "index.html". 用装饰器 app 点 route 用 "/api/paypal/order/create" 并且 methods 设为 列表 ["POST"]: 定义函数 paypal_create_order: ...
from flask import Flask, render_template, jsonify, request import requests import json import paypal_manager app = Flask(__name__) # Routes @app.route('/') def index(): return render_template('index.html') @app.route('/api/paypal/order/create', methods=['POST']) def paypal_create_order(): # TODO: Receive...
true
true
true
null
40411fe0b16480dd6c67e386071a696e80935c6f919cf97483c8e609a7b1a696
1,132
1,132
54
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:56.972446+00:00
en,es,fr,zh
true
40411fe0b16480dd6c67e386071a696e80935c6f919cf97483c8e609a7b1a696
{ "v2_row_index": 54, "v2_source_sha256": "40411fe0b16480dd6c67e386071a696e80935c6f919cf97483c8e609a7b1a696" }
ok
import pandas as pd import numpy as np import matplotlib.pyplot as plt from utils.utils import load_pts, plot_model X, y = load_pts('../data/data.csv') plt.show() from sklearn.model_selection import train_test_split from sklearn.metrics import f1_score, make_scorer #Fixing a random seed import random random.seed(42)...
Load pandas, referred to as pd. Load numpy, referred to as np. Load matplotlib.pyplot, referred to as plt. Load load_pts, plot_model from utils.utils. Unpack load_pts with "../data/data.csv" into X and y. Call plt dot show. Load train_test_split from sklearn.model_selection. Load f1_score, make_scorer from sklearn.metr...
Importar pandas, referido como pd. Importar numpy, referido como np. Importar matplotlib.pyplot, referido como plt. Importar load_pts, plot_model desde utils.utils. Desempaquetar load_pts con "../data/data.csv" dentro de X y también y. Llamar plt punto show. Importar train_test_split desde sklearn.model_selection. Impo...
Charger pandas, référé comme pd. Charger numpy, référé comme np. Charger matplotlib.pyplot, référé comme plt. Charger load_pts, plot_model depuis utils.utils. Décomposer load_pts avec "../data/data.csv" à l'intérieur de X et y. Appeler plt point de show. Charger train_test_split depuis sklearn.model_selection. Charger ...
import pandas as pd import numpy as np import matplotlib.pyplot as plt from utils.utils import load_pts, plot_model X, y = load_pts('../data/data.csv') plt.show() from sklearn.model_selection import train_test_split from sklearn.metrics import f1_score, make_scorer # Fixing a random seed import random random.seed(42) #...
true
true
true
{ "artifact_hash": "d105725c5d0175b50055f0208ed8c5152bbba3bcb64f7f3e9209b2f857d808f8", "id": "1737286", "max_stars_count": 0, "max_stars_repo_name": "raafatzahran/Udacity-DataScience", "max_stars_repo_path": "Lesson9-training-and-tuning/grid-search/src/grid-search.py", "normalized_source_hash": "92e39e06ba1...
{ "artifact_hash": "d105725c5d0175b50055f0208ed8c5152bbba3bcb64f7f3e9209b2f857d808f8", "normalized_source_hash": "92e39e06ba14843ef59e60af0e51430a669d3b9cfc4cbf119fb62f8edfb9ba18", "raw_source_hash": "8642f0ecc437644181f6a5e12eeef57e826ce4121a689998b5d80622917c611c", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 pandas, 别名为 pd. 导入 numpy, 别名为 np. 导入 matplotlib 点 pyplot, 别名为 plt. 导入 load_pts, plot_model 从 utils 点 utils. 解包 load_pts 用 "../data/data.csv" 到 X 并且 y. 调用 plt 点 show. 导入 train_test_split 从 sklearn 点 model_selection. 导入 f1_score, make_scorer 从 sklearn 点 metrics. # Fixing a random seed 导入 random. 调用 random 点 seed 用 42....
import pandas as pd import numpy as np import matplotlib.pyplot as plt from utils.utils import load_pts, plot_model X, y = load_pts('../data/data.csv') plt.show() from sklearn.model_selection import train_test_split from sklearn.metrics import f1_score, make_scorer #Fixing a random seed import random random.seed(42)...
true
true
true
null
92e39e06ba14843ef59e60af0e51430a669d3b9cfc4cbf119fb62f8edfb9ba18
2,180
2,180
55
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.087609+00:00
en,es,fr,zh
true
92e39e06ba14843ef59e60af0e51430a669d3b9cfc4cbf119fb62f8edfb9ba18
{ "v2_row_index": 55, "v2_source_sha256": "92e39e06ba14843ef59e60af0e51430a669d3b9cfc4cbf119fb62f8edfb9ba18" }
ok
from panel.api.router.templated import nodeRegister from panel.config.RootData import RootData import time import requests import threading class nodeData(): def __init__(self) -> None: self.nodeList = {} self.readFile() self.healthCheckStart() pass def healthCheckStart(self): ...
Load nodeRegister from panel.api.router.templated. Load RootData from panel.config.RootData. Load time. Load requests. Load threading. Define class nodeData: Define method __init__ with parameter self; return type None: Set self dot nodeList to an empty dictionary. Call self dot readFile. Ca...
Importar nodeRegister desde panel.api.router.templated. Importar RootData desde panel.config.RootData. Importar time. Importar requests. Importar threading. Definir clase nodeData: Definir método __init__ con parámetro self; tipo de retorno None: Establecer self punto nodeList como un diccionario vacío. ...
Charger nodeRegister depuis panel.api.router.templated. Charger RootData depuis panel.config.RootData. Charger time. Charger requests. Charger threading. Définir classe nodeData: Définir méthode __init__ avec paramètre self; type de retour None: Affecter self point de nodeList à un dictionnaire vide. ...
from panel.api.router.templated import nodeRegister from panel.config.RootData import RootData import time import requests import threading class nodeData: def __init__(self) -> None: self.nodeList = {} self.readFile() self.healthCheckStart() pass def healthCheckStart(self): ...
true
true
true
{ "artifact_hash": "aca945525b0f4d7ea8e4fed06ce1424f41fa82c645d04b142da1ae7e205f2659", "id": "1737288", "max_stars_count": 0, "max_stars_repo_name": "closure-studio/ProxyPoolAndControlPanel", "max_stars_repo_path": "panel/data/data.py", "normalized_source_hash": "9fee431031ac6056bdaa59bf6c1dbb1b33b32c67f193...
{ "artifact_hash": "aca945525b0f4d7ea8e4fed06ce1424f41fa82c645d04b142da1ae7e205f2659", "normalized_source_hash": "9fee431031ac6056bdaa59bf6c1dbb1b33b32c67f1936d9abb9fdf6e26a4d8dc", "raw_source_hash": "9fee431031ac6056bdaa59bf6c1dbb1b33b32c67f1936d9abb9fdf6e26a4d8dc", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 nodeRegister 从 panel 点 api 点 router 点 templated. 导入 RootData 从 panel 点 config 点 RootData. 导入 time. 导入 requests. 导入 threading. 定义类 nodeData: 定义方法 __init__ 参数为 self; 返回为 空值: 设 self 点 nodeList 为 空字典. 调用 self 点 readFile. 调用 self 点 healthCheckStart. 不执行任何操作. 定义方法 healthCheckStart 参...
from panel.api.router.templated import nodeRegister from panel.config.RootData import RootData import time import requests import threading class nodeData(): def __init__(self) -> None: self.nodeList = {} self.readFile() self.healthCheckStart() pass def healthCheckStart(self): ...
true
true
true
null
9fee431031ac6056bdaa59bf6c1dbb1b33b32c67f1936d9abb9fdf6e26a4d8dc
3,046
3,046
56
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.097634+00:00
en,es,fr,zh
true
9fee431031ac6056bdaa59bf6c1dbb1b33b32c67f1936d9abb9fdf6e26a4d8dc
{ "v2_row_index": 56, "v2_source_sha256": "9fee431031ac6056bdaa59bf6c1dbb1b33b32c67f1936d9abb9fdf6e26a4d8dc" }
ok
# data.py from abc import ABCMeta, abstractmethod import datetime import os import numpy as np import pandas as pd from Data.Futures_Data.MongoDB_Futures import df_fromMongoDB from Backtest_Futures.event import MarketEvent class DataHandler(object): """ DataHandler is an abstract base class providing an in...
# data.py Load ABCMeta, abstractmethod from abc. Load datetime. Load os. Load numpy, referred to as np. Load pandas, referred to as pd. Load df_fromMongoDB from Data.Futures_Data.MongoDB_Futures. Load MarketEvent from Backtest_Futures.event. Define class DataHandler inheriting from object: Text block: "" " ...
# data.py Importar ABCMeta, abstractmethod desde abc. Importar datetime. Importar os. Importar numpy, referido como np. Importar pandas, referido como pd. Importar df_fromMongoDB desde Data.Futures_Data.MongoDB_Futures. Importar MarketEvent desde Backtest_Futures.event. Definir clase DataHandler heredando de object: ...
# data.py Charger ABCMeta, abstractmethod depuis abc. Charger datetime. Charger os. Charger numpy, référé comme np. Charger pandas, référé comme pd. Charger df_fromMongoDB depuis Data.Futures_Data.MongoDB_Futures. Charger MarketEvent depuis Backtest_Futures.event. Définir classe DataHandler héritant de object: Text...
# data.py from abc import ABCMeta, abstractmethod import datetime import os import numpy as np import pandas as pd from Data.Futures_Data.MongoDB_Futures import df_fromMongoDB from Backtest_Futures.event import MarketEvent class DataHandler(object): """ DataHandler is an abstract base class providing an interf...
true
true
true
{ "artifact_hash": "512dbddbd5e3dd40547ffe270cc2fcbedc5add1c3ac6b398609b30165784343f", "id": "1737289", "max_stars_count": 3, "max_stars_repo_name": "nealchenzhang/Py4Invst", "max_stars_repo_path": "Backtest_Futures/data.py", "normalized_source_hash": "5e5645336329c08b4487e81a5087994d7de3554045a15810bb1dfdd...
{ "artifact_hash": "512dbddbd5e3dd40547ffe270cc2fcbedc5add1c3ac6b398609b30165784343f", "normalized_source_hash": "5e5645336329c08b4487e81a5087994d7de3554045a15810bb1dfddc5a10a38b", "raw_source_hash": "9d577eebc604c8df20f60f478c3f989a4e35989d34bb38c4b8d88f58d5fcae64", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# data.py 导入 ABCMeta, abstractmethod 从 abc. 导入 datetime. 导入 os. 导入 numpy, 别名为 np. 导入 pandas, 别名为 pd. 导入 df_fromMongoDB 从 Data 点 Futures_Data 点 MongoDB_Futures. 导入 MarketEvent 从 Backtest_Futures 点 event. 定义类 DataHandler 继承自 对象: 文本块: "" " DataHandler is an abstract base class providing an interface for" ...
# data.py from abc import ABCMeta, abstractmethod import datetime import os import numpy as np import pandas as pd from Data.Futures_Data.MongoDB_Futures import df_fromMongoDB from Backtest_Futures.event import MarketEvent class DataHandler(object): """ DataHandler is an abstract base class providing an in...
true
true
true
null
5e5645336329c08b4487e81a5087994d7de3554045a15810bb1dfddc5a10a38b
7,631
7,631
57
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.204597+00:00
en,es,fr,zh
true
5e5645336329c08b4487e81a5087994d7de3554045a15810bb1dfddc5a10a38b
{ "v2_row_index": 57, "v2_source_sha256": "5e5645336329c08b4487e81a5087994d7de3554045a15810bb1dfddc5a10a38b" }
ok
import hashlib import os import psutil import signal import sys import threading import time import traceback from qtpy import QtCore as QC from qtpy import QtWidgets as QW from qtpy import QtGui as QG from hydrus.core import HydrusConstants as HC from hydrus.core import HydrusController from hydrus.core import Hydru...
Load hashlib. Load os. Load psutil. Load signal. Load sys. Load threading. Load time. Load traceback. Load QtCore referred to as QC from qtpy. Load QtWidgets referred to as QW from qtpy. Load QtGui referred to as QG from qtpy. Load HydrusConstants referred to as HC from hydrus.core. Load HydrusController from hydrus.co...
Importar hashlib. Importar os. Importar psutil. Importar signal. Importar sys. Importar threading. Importar time. Importar traceback. Importar QtCore referido como QC desde qtpy. Importar QtWidgets referido como QW desde qtpy. Importar QtGui referido como QG desde qtpy. Importar HydrusConstants referido como HC desde h...
Charger hashlib. Charger os. Charger psutil. Charger signal. Charger sys. Charger threading. Charger time. Charger traceback. Charger QtCore référé comme QC depuis qtpy. Charger QtWidgets référé comme QW depuis qtpy. Charger QtGui référé comme QG depuis qtpy. Charger HydrusConstants référé comme HC depuis hydrus.core. ...
import hashlib import os import psutil import signal import sys import threading import time import traceback from qtpy import QtCore as QC from qtpy import QtWidgets as QW from qtpy import QtGui as QG from hydrus.core import HydrusConstants as HC from hydrus.core import HydrusController from hydrus.core import HydrusD...
true
true
true
{ "artifact_hash": "90bbcfef5049e51b1c97f6bb2356211954bde098ab185c341a27d439322b131d", "id": "1737291", "max_stars_count": 0, "max_stars_repo_name": "KJNeko/hydrus", "max_stars_repo_path": "hydrus/client/ClientController.py", "normalized_source_hash": "dff689ae7acb9e0678e9f84427669865e4c48d886338c64a6ea1cee...
{ "artifact_hash": "90bbcfef5049e51b1c97f6bb2356211954bde098ab185c341a27d439322b131d", "normalized_source_hash": "dff689ae7acb9e0678e9f84427669865e4c48d886338c64a6ea1cee8f3e3fa5d", "raw_source_hash": "8021ae703551d932efbd32196b618fb56ad0a6e56f60416acdaa1a1a8896d0b0", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 hashlib. 导入 os. 导入 psutil. 导入 signal. 导入 sys. 导入 threading. 导入 time. 导入 traceback. 导入 QtCore 别名为 QC 从 qtpy. 导入 QtWidgets 别名为 QW 从 qtpy. 导入 QtGui 别名为 QG 从 qtpy. 导入 HydrusConstants 别名为 HC 从 hydrus 点 core. 导入 HydrusController 从 hydrus 点 core. 导入 HydrusData 从 hydrus 点 core. 导入 HydrusExceptions 从 hydrus 点 core. 导入 Hydrus...
import hashlib import os import psutil import signal import sys import threading import time import traceback from qtpy import QtCore as QC from qtpy import QtWidgets as QW from qtpy import QtGui as QG from hydrus.core import HydrusConstants as HC from hydrus.core import HydrusController from hydrus.core import Hydru...
true
true
true
null
dff689ae7acb9e0678e9f84427669865e4c48d886338c64a6ea1cee8f3e3fa5d
62,781
62,781
58
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.272270+00:00
en,es,fr,zh
true
dff689ae7acb9e0678e9f84427669865e4c48d886338c64a6ea1cee8f3e3fa5d
{ "v2_row_index": 58, "v2_source_sha256": "dff689ae7acb9e0678e9f84427669865e4c48d886338c64a6ea1cee8f3e3fa5d" }
ok
""" Copyright Government of Canada 2017 - 2018 Written by: <NAME> and <NAME>, National Microbiology Laboratory, Public Health Agency of Canada Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the Licen...
Text block: "" "Copyright Government of Canada 2017 - 2018" "" "Written by: <NAME> and <NAME>, National Microbiology Laboratory," " Public Health Agency of Canada" "" "Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use" "this work except in compliance with the License. You may ...
Texto literal: "" "Copyright Government of Canada 2017 - 2018" "" "Written by: <NAME> and <NAME>, National Microbiology Laboratory," " Public Health Agency of Canada" "" "Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use" "this work except in compliance with the License. You m...
Texte littéral: "" "Copyright Government of Canada 2017 - 2018" "" "Written by: <NAME> and <NAME>, National Microbiology Laboratory," " Public Health Agency of Canada" "" "Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use" "this work except in compliance with the License. You ...
""" Copyright Government of Canada 2017 - 2018 Written by: <NAME> and <NAME>, National Microbiology Laboratory, Public Health Agency of Canada Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the Licen...
true
true
true
{ "artifact_hash": "e0255759d9bbf3653fe7619800c6bc9958cc6ab8bf5a0d5278e8a8d8d3b74e3c", "id": "1737294", "max_stars_count": 8, "max_stars_repo_name": "phac-nml/quasitools", "max_stars_repo_path": "quasitools/commands/cmd_hydra.py", "normalized_source_hash": "4888c0d078020545989a301f8db208d7d936fa0bdb03e35d5e...
{ "artifact_hash": "e0255759d9bbf3653fe7619800c6bc9958cc6ab8bf5a0d5278e8a8d8d3b74e3c", "normalized_source_hash": "4888c0d078020545989a301f8db208d7d936fa0bdb03e35d5eb8256195e81780", "raw_source_hash": "7d5292e5dd9b9b9b12f9f699dda0e18cea266f7cb6b96360576cbcb51c501e26", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
文本块: "" "Copyright Government of Canada 2017 - 2018" "" "Written by: <NAME> and <NAME>, National Microbiology Laboratory," " Public Health Agency of Canada" "" "Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use" "this work except in compliance with the License. You may obtain ...
""" Copyright Government of Canada 2017 - 2018 Written by: <NAME> and <NAME>, National Microbiology Laboratory, Public Health Agency of Canada Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the Licen...
true
true
true
null
4888c0d078020545989a301f8db208d7d936fa0bdb03e35d5eb8256195e81780
7,995
7,995
59
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.261853+00:00
en,es,fr,zh
true
4888c0d078020545989a301f8db208d7d936fa0bdb03e35d5eb8256195e81780
{ "v2_row_index": 59, "v2_source_sha256": "4888c0d078020545989a301f8db208d7d936fa0bdb03e35d5eb8256195e81780" }
ok
import os from samewords import __root__ from samewords.test import __testroot__ from samewords.document import * input_file = os.path.join(__testroot__, "assets/da-49-l1q1.tex") result_file = os.path.join(__testroot__, "assets/da-49-l1q1-processed.tex") multi_begins = doc_content(os.path.join(__root__, "test/assets/...
Load os. Load __root__ from samewords. Load __testroot__ from samewords.test. Load everything from samewords.document. Set input_file to os dot path dot join with __testroot__ and "assets/da-49-l1q1.tex". Set result_file to os dot path dot join with __testroot__ and "assets/da-49-l1q1-processed.tex". Set multi_begins t...
Importar os. Importar __root__ desde samewords. Importar __testroot__ desde samewords.test. Importar todo desde samewords.document. Establecer input_file como os punto path punto join con __testroot__ y también "assets/da-49-l1q1.tex". Establecer result_file como os punto path punto join con __testroot__ y también "ass...
Charger os. Charger __root__ depuis samewords. Charger __testroot__ depuis samewords.test. Charger tout depuis samewords.document. Affecter input_file à os point de path point de join avec __testroot__ et "assets/da-49-l1q1.tex". Affecter result_file à os point de path point de join avec __testroot__ et "assets/da-49-l...
import os from samewords import __root__ from samewords.test import __testroot__ from samewords.document import * input_file = os.path.join(__testroot__, 'assets/da-49-l1q1.tex') result_file = os.path.join(__testroot__, 'assets/da-49-l1q1-processed.tex') multi_begins = doc_content(os.path.join(__root__, 'test/assets/mu...
true
true
true
{ "artifact_hash": "9e928fd30f7a46fc0e8771bd9cbd415f9d5f23744dadffa15907fc74e4503bde", "id": "1737300", "max_stars_count": 6, "max_stars_repo_name": "stenskjaer/samewords", "max_stars_repo_path": "samewords/test/test_document.py", "normalized_source_hash": "d4db51a52c97740808bc669e799ae144bf9cd9521a3fcd9c8c...
{ "artifact_hash": "9e928fd30f7a46fc0e8771bd9cbd415f9d5f23744dadffa15907fc74e4503bde", "normalized_source_hash": "d4db51a52c97740808bc669e799ae144bf9cd9521a3fcd9c8c1721d1e76e1afd", "raw_source_hash": "b70534e1d691814925769c206ba7c9694a4fd98b484bd20fd87718e69ee4ac3b", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 os. 导入 __root__ 从 samewords. 导入 __testroot__ 从 samewords 点 test. 从以下内容导入全部 samewords 点 document. 设 input_file 为 os 点 path 点 join 用 __testroot__ 并且 "assets/da-49-l1q1.tex". 设 result_file 为 os 点 path 点 join 用 __testroot__ 并且 "assets/da-49-l1q1-processed.tex". 设 multi_begins 为 doc_content 用 (os 点 path 点 join 用 __root__...
import os from samewords import __root__ from samewords.test import __testroot__ from samewords.document import * input_file = os.path.join(__testroot__, "assets/da-49-l1q1.tex") result_file = os.path.join(__testroot__, "assets/da-49-l1q1-processed.tex") multi_begins = doc_content(os.path.join(__root__, "test/assets/...
true
true
true
null
d4db51a52c97740808bc669e799ae144bf9cd9521a3fcd9c8c1721d1e76e1afd
2,754
2,754
60
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.306558+00:00
en,es,fr,zh
true
d4db51a52c97740808bc669e799ae144bf9cd9521a3fcd9c8c1721d1e76e1afd
{ "v2_row_index": 60, "v2_source_sha256": "d4db51a52c97740808bc669e799ae144bf9cd9521a3fcd9c8c1721d1e76e1afd" }
ok
base_url = 'https://regalgoblins.fandom.com' class Episode: def __init__(self, title, wiki_link=None, youtube_link=None, twitch_link=None, reddit_link=None): self.title = title self.wiki_link = wiki_link self.youtube_link = youtube_link self.twitch_link = twitch_link self.re...
Set base_url to "https://regalgoblins.fandom.com". Define class Episode: Define method __init__ with parameters self, title, wiki_link (default: None), youtube_link (default: None), twitch_link (default: None), reddit_link (default: None): Set self dot title to title. Set self dot wiki_link to wiki_...
Establecer base_url como "https://regalgoblins.fandom.com". Definir clase Episode: Definir método __init__ con parámetros self, title, wiki_link (predeterminado: None), youtube_link (predeterminado: None), twitch_link (predeterminado: None), reddit_link (predeterminado: None): Establecer self punto title co...
Affecter base_url à "https://regalgoblins.fandom.com". Définir classe Episode: Définir méthode __init__ avec paramètres self, title, wiki_link (par défaut: None), youtube_link (par défaut: None), twitch_link (par défaut: None), reddit_link (par défaut: None): Affecter self point de title à title. Af...
base_url = 'https://regalgoblins.fandom.com' class Episode: def __init__(self, title, wiki_link=None, youtube_link=None, twitch_link=None, reddit_link=None): self.title = title self.wiki_link = wiki_link self.youtube_link = youtube_link self.twitch_link = twitch_link self.r...
true
true
true
{ "artifact_hash": "89d1f5291985a2e9d7ee453c33ea685612c799c9147d8e897e5158038c8b442b", "id": "1737302", "max_stars_count": 0, "max_stars_repo_name": "popop12342/koibu-feed", "max_stars_repo_path": "koibu_feed/episode.py", "normalized_source_hash": "cde7cc3dbf24059530890f92dd863c1357f88bf7916989630f1a239c59d...
{ "artifact_hash": "89d1f5291985a2e9d7ee453c33ea685612c799c9147d8e897e5158038c8b442b", "normalized_source_hash": "cde7cc3dbf24059530890f92dd863c1357f88bf7916989630f1a239c59d35e3c", "raw_source_hash": "738667294b869c4d5e27a594d592e61e9c2e247bf3012e891bb1654493cdf751", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
设 base_url 为 "https://regalgoblins.fandom.com". 定义类 Episode: 定义方法 __init__ 参数为 self, title, wiki_link (默认: None), youtube_link (默认: None), twitch_link (默认: None), reddit_link (默认: None): 设 self 点 title 为 title. 设 self 点 wiki_link 为 wiki_link. 设 self 点 youtube_link 为 youtube_link. 设 s...
base_url = 'https://regalgoblins.fandom.com' class Episode: def __init__(self, title, wiki_link=None, youtube_link=None, twitch_link=None, reddit_link=None): self.title = title self.wiki_link = wiki_link self.youtube_link = youtube_link self.twitch_link = twitch_link self.re...
true
true
true
null
cde7cc3dbf24059530890f92dd863c1357f88bf7916989630f1a239c59d35e3c
2,169
2,169
61
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.406122+00:00
en,es,fr,zh
true
cde7cc3dbf24059530890f92dd863c1357f88bf7916989630f1a239c59d35e3c
{ "v2_row_index": 61, "v2_source_sha256": "cde7cc3dbf24059530890f92dd863c1357f88bf7916989630f1a239c59d35e3c" }
ok
# Copyright 2012 OpenStack Foundation # Copyright 2013 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LIC...
# Copyright 2012 OpenStack Foundation # Copyright 2013 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LIC...
# Copyright 2012 OpenStack Foundation # Copyright 2013 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no use this file except en compliance con the License. You may obtain # a copy de the License at # # http://www.apache.org/licenses/LICEN...
# Copyright 2012 OpenStack Foundation # Copyright 2013 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # non use this file except dans compliance avec the License. You may obtain # a copy de the License at # # http://www.apache.org/licenses/L...
# Copyright 2012 OpenStack Foundation # Copyright 2013 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LIC...
true
true
true
{ "artifact_hash": "481488dd702c41ff0974aca3ff73daba6f9abec5501a0653746e8e74b91a8a51", "id": "1737303", "max_stars_count": 0, "max_stars_repo_name": "arvindn05/glance", "max_stars_repo_path": "glance/domain/__init__.py", "normalized_source_hash": "72d1c3cba425cab8885c2e78fa0964a0dbbe21c34474fac714de5c79c13b...
{ "artifact_hash": "481488dd702c41ff0974aca3ff73daba6f9abec5501a0653746e8e74b91a8a51", "normalized_source_hash": "72d1c3cba425cab8885c2e78fa0964a0dbbe21c34474fac714de5c79c13b3b9c", "raw_source_hash": "9d80fa6adb78476552c9c2870a5b219faddbfc9ca4133a88ee8c195711aaf1d3", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Copyright 2012 OpenStack Foundation # Copyright 2013 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # 不 use this file except 在 compliance 用 the License. You may obtain # a copy 的 the License at # # http://www.apache.org/licenses/LICENSE-2....
# Copyright 2012 OpenStack Foundation # Copyright 2013 IBM Corp. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LIC...
true
true
true
null
72d1c3cba425cab8885c2e78fa0964a0dbbe21c34474fac714de5c79c13b3b9c
23,013
23,013
62
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.589839+00:00
en,es,fr,zh
true
72d1c3cba425cab8885c2e78fa0964a0dbbe21c34474fac714de5c79c13b3b9c
{ "v2_row_index": 62, "v2_source_sha256": "72d1c3cba425cab8885c2e78fa0964a0dbbe21c34474fac714de5c79c13b3b9c" }
ok
import shutil import pytest from . import dist from .mpi import nb_proc from .dist import detect_pythran_extensions, modification_date, make_pythran_files from . import path_data_tests dist.can_import_pythran = True @pytest.mark.skipif(nb_proc > 1, reason="No dist in MPI") def test_detect_pythran_extensions(): ...
Load shutil. Load pytest. Load dist from the current package. Load nb_proc from the current package.mpi. Load detect_pythran_extensions, modification_date, make_pythran_files from the current package.dist. Load path_data_tests from the current package. Set dist dot can_import_pythran to True. Apply pytest dot mark dot ...
Importar shutil. Importar pytest. Importar dist desde el paquete actual. Importar nb_proc desde el paquete actual.mpi. Importar detect_pythran_extensions, modification_date, make_pythran_files desde el paquete actual.dist. Importar path_data_tests desde el paquete actual. Establecer dist punto can_import_pythran como T...
Charger shutil. Charger pytest. Charger dist depuis le paquet actuel. Charger nb_proc depuis le paquet actuel.mpi. Charger detect_pythran_extensions, modification_date, make_pythran_files depuis le paquet actuel.dist. Charger path_data_tests depuis le paquet actuel. Affecter dist point de can_import_pythran à True. App...
import shutil import pytest from . import dist from .mpi import nb_proc from .dist import detect_pythran_extensions, modification_date, make_pythran_files from . import path_data_tests dist.can_import_pythran = True @pytest.mark.skipif(nb_proc > 1, reason='No dist in MPI') def test_detect_pythran_extensions(): shu...
true
true
true
{ "artifact_hash": "ca5b3ddeb569ba580ecd7f55173354f6f2003bf943c8bb6d3a7c9e89dc9f25c2", "id": "1737304", "max_stars_count": 1, "max_stars_repo_name": "fluiddyn/fluidpythran", "max_stars_repo_path": "fluidpythran/test_dist.py", "normalized_source_hash": "0d921c09ff31d2988dc81d2e5f21d122edc11854bad7ca67cfcc573...
{ "artifact_hash": "ca5b3ddeb569ba580ecd7f55173354f6f2003bf943c8bb6d3a7c9e89dc9f25c2", "normalized_source_hash": "0d921c09ff31d2988dc81d2e5f21d122edc11854bad7ca67cfcc573bedb05e9c", "raw_source_hash": "69ea5376e4ffca63aecb05d2ec47a1c0f4fc467fe04712b1952976d25fcc9eb0", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 shutil. 导入 pytest. 导入 dist 从当前包. 导入 nb_proc 从当前包 点 mpi. 导入 detect_pythran_extensions, modification_date, make_pythran_files 从当前包 点 dist. 导入 path_data_tests 从当前包. 设 dist 点 can_import_pythran 为 True. 用装饰器 pytest 点 mark 点 skipif 用 (nb_proc 大于 1) 并且 reason 设为 "No dist in MPI": 定义函数 test_detect_pythran_extensions: ...
import shutil import pytest from . import dist from .mpi import nb_proc from .dist import detect_pythran_extensions, modification_date, make_pythran_files from . import path_data_tests dist.can_import_pythran = True @pytest.mark.skipif(nb_proc > 1, reason="No dist in MPI") def test_detect_pythran_extensions(): ...
true
true
true
null
0d921c09ff31d2988dc81d2e5f21d122edc11854bad7ca67cfcc573bedb05e9c
1,097
1,097
63
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.620226+00:00
en,es,fr,zh
true
0d921c09ff31d2988dc81d2e5f21d122edc11854bad7ca67cfcc573bedb05e9c
{ "v2_row_index": 63, "v2_source_sha256": "0d921c09ff31d2988dc81d2e5f21d122edc11854bad7ca67cfcc573bedb05e9c" }
ok
import collections import cv2 import numpy as np import matplotlib.pyplot as plt import gym def plot_learning_curve(x, scores, epsilons, filename, lines=None): fig=plt.figure() ax=fig.add_subplot(111, label="1") ax2=fig.add_subplot(111, label="2", frame_on=False) ax.plot(x, epsilons, color="C0") a...
Load collections. Load cv2. Load numpy, referred to as np. Load matplotlib.pyplot, referred to as plt. Load gym. Define function plot_learning_curve with parameters x, scores, epsilons, filename, lines (default: None): Set fig to plt dot figure with no values. Set ax to fig dot add_subplot with 111 and label se...
Importar collections. Importar cv2. Importar numpy, referido como np. Importar matplotlib.pyplot, referido como plt. Importar gym. Definir función plot_learning_curve con parámetros x, scores, epsilons, filename, lines (predeterminado: None): Establecer fig como plt punto figure sin argumentos. Establecer ax co...
Charger collections. Charger cv2. Charger numpy, référé comme np. Charger matplotlib.pyplot, référé comme plt. Charger gym. Définir fonction plot_learning_curve avec paramètres x, scores, epsilons, filename, lines (par défaut: None): Affecter fig à plt point de figure sans arguments. Affecter ax à fig point de ...
import collections import cv2 import numpy as np import matplotlib.pyplot as plt import gym def plot_learning_curve(x, scores, epsilons, filename, lines=None): fig = plt.figure() ax = fig.add_subplot(111, label='1') ax2 = fig.add_subplot(111, label='2', frame_on=False) ax.plot(x, epsilons, color='C0') ...
true
true
true
{ "artifact_hash": "44cf9ba5fb449a67e4b597d6ccf8e734a514b9c097c2eeafc938a5574c2fa847", "id": "1737305", "max_stars_count": 240, "max_stars_repo_name": "Srikanth-Kb/Deep-Q-Learning-Paper-To-Code", "max_stars_repo_path": "utils.py", "normalized_source_hash": "b2b12314cf3cd78298270c231e72571a2034e96424e7cc6f43...
{ "artifact_hash": "44cf9ba5fb449a67e4b597d6ccf8e734a514b9c097c2eeafc938a5574c2fa847", "normalized_source_hash": "b2b12314cf3cd78298270c231e72571a2034e96424e7cc6f438f791aefd81811", "raw_source_hash": "574247ba86f3e5d2237d7a6cccb4fe482d442a14f2b06154b4bd6c6f79a6430d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 collections. 导入 cv2. 导入 numpy, 别名为 np. 导入 matplotlib 点 pyplot, 别名为 plt. 导入 gym. 定义函数 plot_learning_curve 参数为 x, scores, epsilons, filename, lines (默认: None): 设 fig 为 plt 点 figure 不带参数. 设 ax 为 fig 点 add_subplot 用 111 并且 label 设为 "1". 设 ax2 为 fig 点 add_subplot 用 111, label 设为 "2", 并且 frame_on 设为 False. ...
import collections import cv2 import numpy as np import matplotlib.pyplot as plt import gym def plot_learning_curve(x, scores, epsilons, filename, lines=None): fig=plt.figure() ax=fig.add_subplot(111, label="1") ax2=fig.add_subplot(111, label="2", frame_on=False) ax.plot(x, epsilons, color="C0") a...
true
true
true
null
b2b12314cf3cd78298270c231e72571a2034e96424e7cc6f438f791aefd81811
4,491
4,491
64
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.763555+00:00
en,es,fr,zh
true
b2b12314cf3cd78298270c231e72571a2034e96424e7cc6f438f791aefd81811
{ "v2_row_index": 64, "v2_source_sha256": "b2b12314cf3cd78298270c231e72571a2034e96424e7cc6f438f791aefd81811" }
ok
import numpy as np import pandas as pd from ylearn.causal_discovery import DagDiscovery from ylearn.exp_dataset.gen import gen def test_ndarray(): X1 = gen() # X1 = pd.DataFrame(X1, columns=[f'x{i}' for i in range(X1.shape[1])]) cd = DagDiscovery(hidden_layer_dim=[3]) est = cd(X1, threshold=0.01) ...
Load numpy, referred to as np. Load pandas, referred to as pd. Load DagDiscovery from ylearn.causal_discovery. Load gen from ylearn.exp_dataset.gen. Define function test_ndarray: Set X1 to gen with no values. # X1 = pd.DataFrame(X1, columns=[f'x{i}' for i in range(X1.shape[1])]) Set cd to DagDiscovery with ...
Importar numpy, referido como np. Importar pandas, referido como pd. Importar DagDiscovery desde ylearn.causal_discovery. Importar gen desde ylearn.exp_dataset.gen. Definir función test_ndarray: Establecer X1 como gen sin argumentos. # X1 = pd.DataFrame(X1, columns=[f'x{i}' for i en range(X1.shape[1])]) Est...
Charger numpy, référé comme np. Charger pandas, référé comme pd. Charger DagDiscovery depuis ylearn.causal_discovery. Charger gen depuis ylearn.exp_dataset.gen. Définir fonction test_ndarray: Affecter X1 à gen sans arguments. # X1 = pd.DataFrame(X1, columns=[f'x{i}' for i dans range(X1.shape[1])]) Affecter ...
import numpy as np import pandas as pd from ylearn.causal_discovery import DagDiscovery from ylearn.exp_dataset.gen import gen def test_ndarray(): X1 = gen() cd = DagDiscovery(hidden_layer_dim=[3]) est = cd(X1, threshold=0.01) print(est) assert isinstance(est, np.ndarray) assert est.shape[0] ==...
true
true
true
{ "artifact_hash": "db78133b8f422fd9271bfc19d4bfe635621a84c1e64ccf02a6a252cbc1e6c330", "id": "1737306", "max_stars_count": 3, "max_stars_repo_name": "DataCanvasIO/YLearn", "max_stars_repo_path": "tests/discovery_test.py", "normalized_source_hash": "60a833295146cc918b2c62f72da2d1e1ce4b31608283456a8b44fe18b75...
{ "artifact_hash": "db78133b8f422fd9271bfc19d4bfe635621a84c1e64ccf02a6a252cbc1e6c330", "normalized_source_hash": "60a833295146cc918b2c62f72da2d1e1ce4b31608283456a8b44fe18b75c722b", "raw_source_hash": "73ac2ca3205c96b2403f5a934dfd2f50c737c2dcd6b58e124e120b5a6a9a6d21", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 numpy, 别名为 np. 导入 pandas, 别名为 pd. 导入 DagDiscovery 从 ylearn 点 causal_discovery. 导入 gen 从 ylearn 点 exp_dataset 点 gen. 定义函数 test_ndarray: 设 X1 为 gen 不带参数. # X1 = pd.DataFrame(X1, columns=[f'x{i}' for i in range(X1.shape[1])]) Set cd to DagDiscovery with hidden_layer_dim set to the list [3]. Set est to c...
import numpy as np import pandas as pd from ylearn.causal_discovery import DagDiscovery from ylearn.exp_dataset.gen import gen def test_ndarray(): X1 = gen() # X1 = pd.DataFrame(X1, columns=[f'x{i}' for i in range(X1.shape[1])]) cd = DagDiscovery(hidden_layer_dim=[3]) est = cd(X1, threshold=0.01) ...
true
true
true
null
60a833295146cc918b2c62f72da2d1e1ce4b31608283456a8b44fe18b75c722b
1,062
1,062
65
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.818059+00:00
en,es,fr,zh
true
60a833295146cc918b2c62f72da2d1e1ce4b31608283456a8b44fe18b75c722b
{ "v2_row_index": 65, "v2_source_sha256": "60a833295146cc918b2c62f72da2d1e1ce4b31608283456a8b44fe18b75c722b" }
ok
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # #This file is part of veggie #Copyright © 2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * # #Contact: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # #This software, including documentation, is protected by copyright co...
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # # This file is part of veggie # Copyright © 2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * # # Contact: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # # This software, including documentation, is protected by copyrig...
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # # This file es part de veggie # Copyright © 2018 Nokia Corporation y también/o its subsidiary(-ies). All rights reserved. * # # Contact: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # # This software, including documentation, es protected por c...
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # # This file est part de veggie # Copyright © 2018 Nokia Corporation et/ou its subsidiary(-ies). All rights reserved. * # # Contact: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # # This software, including documentation, est protected par copyr...
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # # This file is part of veggie # Copyright © 2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * # # Contact: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # # This software, including documentation, is protected by copyrig...
true
true
true
{ "artifact_hash": "da0ae55fdb06eb1501441b9dbdafb1752a50995621fcc32e2a5e1151d8c8d703", "id": "1737308", "max_stars_count": 4, "max_stars_repo_name": "nokia/regexp-learner", "max_stars_repo_path": "setup.py", "normalized_source_hash": "7f303ddced35c2f8988e8911fb46044a654553ba47ae47e669a1ba6521ce7f30", "raw...
{ "artifact_hash": "da0ae55fdb06eb1501441b9dbdafb1752a50995621fcc32e2a5e1151d8c8d703", "normalized_source_hash": "7f303ddced35c2f8988e8911fb46044a654553ba47ae47e669a1ba6521ce7f30", "raw_source_hash": "901cfc18698ca2f8a3b1f86ef3800cba4313b2248e47e5d40f45dc42cab04afe", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # # This file 是 part 的 veggie # Copyright © 2018 Nokia Corporation 并且/或者 its subsidiary(-ies). All rights reserved. * # # Contact: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # # This software, including documentation, 是 protected 按 copyright co...
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # #This file is part of veggie #Copyright © 2018 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * # #Contact: # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # #This software, including documentation, is protected by copyright co...
true
true
true
null
7f303ddced35c2f8988e8911fb46044a654553ba47ae47e669a1ba6521ce7f30
1,698
1,699
66
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:57.932956+00:00
en,es,fr,zh
true
7f303ddced35c2f8988e8911fb46044a654553ba47ae47e669a1ba6521ce7f30
{ "v2_row_index": 66, "v2_source_sha256": "7f303ddced35c2f8988e8911fb46044a654553ba47ae47e669a1ba6521ce7f30" }
ok
# # This software is licensed under the Apache 2 license, quoted below. # # Copyright 2019 Astraea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # [http://www.apache.org/licenses/LI...
# # This software is licensed under the Apache 2 license, quoted below. # # Copyright 2019 Astraea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # [http://www.apache.org/licenses/LI...
# # This software es licensed under the Apache 2 license, quoted below. # # Copyright 2019 Astraea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may no # use this file except en compliance con the License. You may obtain a copy de # the License at # # [http://www.apache.org/licenses/LICE...
# # This software est licensed under the Apache 2 license, quoted below. # # Copyright 2019 Astraea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may non # use this file except dans compliance avec the License. You may obtain a copy de # the License at # # [http://www.apache.org/licenses...
# # This software is licensed under the Apache 2 license, quoted below. # # Copyright 2019 Astraea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # [http://www.apache.org/licenses/LI...
true
true
true
{ "artifact_hash": "28c0c79ec4612a386384f19ee093ef713bc4e3dd066c192c5203dd61c75c2dd1", "id": "1737310", "max_stars_count": 0, "max_stars_repo_name": "jpolchlo/rasterframes", "max_stars_repo_path": "pyrasterframes/src/main/python/tests/PyRasterFramesTests.py", "normalized_source_hash": "984f646f4fbd57d138fe6...
{ "artifact_hash": "28c0c79ec4612a386384f19ee093ef713bc4e3dd066c192c5203dd61c75c2dd1", "normalized_source_hash": "984f646f4fbd57d138fe681fd12dc9a6bdfe3896a5a376f8abdb378d2a1c2740", "raw_source_hash": "5b7516ce6cb4fc18b7e6f10d1c8be4557adfc0a3d18b6ca947014c8077e3b3bc", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# # This software 是 licensed under the Apache 2 license, quoted below. # # Copyright 2019 Astraea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may 不 # use this file except 在 compliance 用 the License. You may obtain a copy 的 # the License at # # [http://www.apache.org/licenses/LICENSE-2....
# # This software is licensed under the Apache 2 license, quoted below. # # Copyright 2019 Astraea, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # [http://www.apache.org/licenses/LI...
true
true
true
null
984f646f4fbd57d138fe681fd12dc9a6bdfe3896a5a376f8abdb378d2a1c2740
16,062
16,062
67
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.041428+00:00
en,es,fr,zh
true
984f646f4fbd57d138fe681fd12dc9a6bdfe3896a5a376f8abdb378d2a1c2740
{ "v2_row_index": 67, "v2_source_sha256": "984f646f4fbd57d138fe681fd12dc9a6bdfe3896a5a376f8abdb378d2a1c2740" }
ok
import django_tables2 as tables from django.utils.translation import ugettext_lazy as _ from .models import Operation def sum_amount(table) -> float: total = sum(x.gross_amount for x in table.data) return round(total, 2) class OperationTable(tables.Table): account = tables.Column(footer=_('Total Amount ...
Load django_tables2, referred to as tables. Load ugettext_lazy referred to as _ from django.utils.translation. Load Operation from the current package.models. Define function sum_amount with parameter table; return type float: Set total to sum with (the generator of x dot gross_amount For each x in table dot data)....
Importar django_tables2, referido como tables. Importar ugettext_lazy referido como _ desde django.utils.translation. Importar Operation desde el paquete actual.models. Definir función sum_amount con parámetro table; tipo de retorno float: Establecer total como sum con (el generador de x punto gross_amount para cad...
Charger django_tables2, référé comme tables. Charger ugettext_lazy référé comme _ depuis django.utils.translation. Charger Operation depuis le paquet actuel.models. Définir fonction sum_amount avec paramètre table; type de retour float: Affecter total à sum avec (le générateur de x point de gross_amount pour chaque...
import django_tables2 as tables from django.utils.translation import ugettext_lazy as _ from .models import Operation def sum_amount(table) -> float: total = sum((x.gross_amount for x in table.data)) return round(total, 2) class OperationTable(tables.Table): account = tables.Column(footer=_('Total Amount ...
true
true
true
{ "artifact_hash": "9e1af827aefee756e7d9c57ace95b258a5eee6019e01b881479f235ee120fba4", "id": "1737315", "max_stars_count": 1, "max_stars_repo_name": "datiti/django_compta", "max_stars_repo_path": "compta/tables.py", "normalized_source_hash": "ceb57b41774858571715fed31fa186946e56d652447ecad9aed2be0f90e58f40"...
{ "artifact_hash": "9e1af827aefee756e7d9c57ace95b258a5eee6019e01b881479f235ee120fba4", "normalized_source_hash": "ceb57b41774858571715fed31fa186946e56d652447ecad9aed2be0f90e58f40", "raw_source_hash": "bb940e6bcc84f660d0fbf9786fca2090598e59738b88ec50e2e60d50b0c7b118", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 django_tables2, 别名为 tables. 导入 ugettext_lazy 别名为 _ 从 django 点 utils 点 translation. 导入 Operation 从当前包 点 models. 定义函数 sum_amount 参数为 table; 返回为 浮点数: 设 total 为 sum 用 (以下生成器 x 点 gross_amount 对于每个 x 在 table 点 data). 返回 round 用 total 并且 2. 定义类 OperationTable 继承自 tables 点 Table: 设 account 为 tables 点 Column 用 fo...
import django_tables2 as tables from django.utils.translation import ugettext_lazy as _ from .models import Operation def sum_amount(table) -> float: total = sum(x.gross_amount for x in table.data) return round(total, 2) class OperationTable(tables.Table): account = tables.Column(footer=_('Total Amount ...
true
true
true
null
ceb57b41774858571715fed31fa186946e56d652447ecad9aed2be0f90e58f40
1,122
1,124
68
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.237442+00:00
en,es,fr,zh
true
ceb57b41774858571715fed31fa186946e56d652447ecad9aed2be0f90e58f40
{ "v2_row_index": 68, "v2_source_sha256": "ceb57b41774858571715fed31fa186946e56d652447ecad9aed2be0f90e58f40" }
ok
import random import time from flask import Flask, Response from flask.json import jsonify from opentelemetry import trace from opentelemetry.trace import StatusCode, Status from opentelemetry.instrumentation.flask import FlaskInstrumentor from opentelemetry.sdk.resources import Resource from opentelemetry.sdk.trace i...
Load random. Load time. Load Flask, Response from flask. Load jsonify from flask.json. Load trace from opentelemetry. Load StatusCode, Status from opentelemetry.trace. Load FlaskInstrumentor from opentelemetry.instrumentation.flask. Load Resource from opentelemetry.sdk.resources. Load TracerProvider from opentelemetry....
Importar random. Importar time. Importar Flask, Response desde flask. Importar jsonify desde flask.json. Importar trace desde opentelemetry. Importar StatusCode, Status desde opentelemetry.trace. Importar FlaskInstrumentor desde opentelemetry.instrumentation.flask. Importar Resource desde opentelemetry.sdk.resources. I...
Charger random. Charger time. Charger Flask, Response depuis flask. Charger jsonify depuis flask.json. Charger trace depuis opentelemetry. Charger StatusCode, Status depuis opentelemetry.trace. Charger FlaskInstrumentor depuis opentelemetry.instrumentation.flask. Charger Resource depuis opentelemetry.sdk.resources. Cha...
import random import time from flask import Flask, Response from flask.json import jsonify from opentelemetry import trace from opentelemetry.trace import StatusCode, Status from opentelemetry.instrumentation.flask import FlaskInstrumentor from opentelemetry.sdk.resources import Resource from opentelemetry.sdk.trace im...
true
true
true
{ "artifact_hash": "4c6911caf0017fefefc87598841c64f7fd089d9f746e0b1ef9eb4afab69f879e", "id": "1737318", "max_stars_count": 22, "max_stars_repo_name": "inselbuch/opentelemetry-demo", "max_stars_repo_path": "special/special.py", "normalized_source_hash": "7ec4cb9fb930aec7a243cae2ba463d413a97d7329a30e8d41df8ea...
{ "artifact_hash": "4c6911caf0017fefefc87598841c64f7fd089d9f746e0b1ef9eb4afab69f879e", "normalized_source_hash": "7ec4cb9fb930aec7a243cae2ba463d413a97d7329a30e8d41df8ea7fbe7c226f", "raw_source_hash": "de3ec0f846653563737d2c7c9895894cd2b37164b945de07739facf36ea25e8d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 random. 导入 time. 导入 Flask, Response 从 flask. 导入 jsonify 从 flask 点 json. 导入 trace 从 opentelemetry. 导入 StatusCode, Status 从 opentelemetry 点 trace. 导入 FlaskInstrumentor 从 opentelemetry 点 instrumentation 点 flask. 导入 Resource 从 opentelemetry 点 sdk 点 resources. 导入 TracerProvider 从 opentelemetry 点 sdk 点 trace. 导入 BatchSpan...
import random import time from flask import Flask, Response from flask.json import jsonify from opentelemetry import trace from opentelemetry.trace import StatusCode, Status from opentelemetry.instrumentation.flask import FlaskInstrumentor from opentelemetry.sdk.resources import Resource from opentelemetry.sdk.trace i...
true
true
true
null
7ec4cb9fb930aec7a243cae2ba463d413a97d7329a30e8d41df8ea7fbe7c226f
2,309
2,309
69
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.390620+00:00
en,es,fr,zh
true
7ec4cb9fb930aec7a243cae2ba463d413a97d7329a30e8d41df8ea7fbe7c226f
{ "v2_row_index": 69, "v2_source_sha256": "7ec4cb9fb930aec7a243cae2ba463d413a97d7329a30e8d41df8ea7fbe7c226f" }
ok
""" The XGBoost Model for use in the machine learning workbench. Objects: Xgb: The XGBoost Model. """ import xgboost as xgb from MLWorkbench.model import Model class Xgb(Model): """ The XGBoost Model. """ def __init__(self, params, n_iter=400): self.params = params self.n_iter =...
Text block: "" "The XGBoost Model for use in the machine learning workbench." "" "Objects:" " Xgb: The XGBoost Model." ending with a newline. Load xgboost, referred to as xgb. Load Model from MLWorkbench.model. Define class Xgb inheriting from Model: Text block: "" " The XGBoost Model." " ". ...
Texto literal: "" "The XGBoost Model for use in the machine learning workbench." "" "Objects:" " Xgb: The XGBoost Model." terminando con una nueva línea. Importar xgboost, referido como xgb. Importar Model desde MLWorkbench.model. Definir clase Xgb heredando de Model: Texto literal: "" " The XGBoost M...
Texte littéral: "" "The XGBoost Model for use in the machine learning workbench." "" "Objects:" " Xgb: The XGBoost Model." se terminant par une nouvelle ligne. Charger xgboost, référé comme xgb. Charger Model depuis MLWorkbench.model. Définir classe Xgb héritant de Model: Texte littéral: "" " The XGBo...
""" The XGBoost Model for use in the machine learning workbench. Objects: Xgb: The XGBoost Model. """ import xgboost as xgb from MLWorkbench.model import Model class Xgb(Model): """ The XGBoost Model. """ def __init__(self, params, n_iter=400): self.params = params self.n_iter = n...
true
true
true
{ "artifact_hash": "41efee5827eb8fe1a54d2af8d0a2d453055bf71a8eaece2f910d5b71cc783ba2", "id": "1737319", "max_stars_count": 0, "max_stars_repo_name": "srcarrel/MachineLearningWorkbench", "max_stars_repo_path": "MLWorkbench/xgb.py", "normalized_source_hash": "0dd148bac2647dfa4a552aace704b61efc2062a056679e7966...
{ "artifact_hash": "41efee5827eb8fe1a54d2af8d0a2d453055bf71a8eaece2f910d5b71cc783ba2", "normalized_source_hash": "0dd148bac2647dfa4a552aace704b61efc2062a056679e796683ba726f89d760", "raw_source_hash": "7b03c19e2ebf2cb0150280785d044ab2dfebfb2bc645abb9319499b9a2bab604", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
文本块: "" "The XGBoost Model for use in the machine learning workbench." "" "Objects:" " Xgb: The XGBoost Model." 以换行结束. 导入 xgboost, 别名为 xgb. 导入 Model 从 MLWorkbench 点 model. 定义类 Xgb 继承自 Model: 文本块: "" " The XGBoost Model." " ". 定义方法 __init__ 参数为 self, params, n_iter (默认: 400): 设 self ...
""" The XGBoost Model for use in the machine learning workbench. Objects: Xgb: The XGBoost Model. """ import xgboost as xgb from MLWorkbench.model import Model class Xgb(Model): """ The XGBoost Model. """ def __init__(self, params, n_iter=400): self.params = params self.n_iter =...
true
true
true
null
0dd148bac2647dfa4a552aace704b61efc2062a056679e796683ba726f89d760
1,354
1,354
70
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.620610+00:00
en,es,fr,zh
true
0dd148bac2647dfa4a552aace704b61efc2062a056679e796683ba726f89d760
{ "v2_row_index": 70, "v2_source_sha256": "0dd148bac2647dfa4a552aace704b61efc2062a056679e796683ba726f89d760" }
ok
import serial import smtplib import ssl from datetime import date from email.mime.text import MIMEText from from_arduino import stream def write_file(file_path): fail = False try: f = open(file_path,'a',encoding='utf-8') print("opened fine") data = stream() print("stream...
Load serial. Load smtplib. Load ssl. Load date from datetime. Load MIMEText from email.mime.text. Load stream from from_arduino. Define function write_file with parameter file_path: Set fail to False. Attempt the following: Set f to open with file_path, "a", and encoding set to "utf-8". Print "o...
Importar serial. Importar smtplib. Importar ssl. Importar date desde datetime. Importar MIMEText desde email.mime.text. Importar stream desde from_arduino. Definir función write_file con parámetro file_path: Establecer fail como False. Intentar lo siguiente: Establecer f como open con file_path, "a", y ...
Charger serial. Charger smtplib. Charger ssl. Charger date depuis datetime. Charger MIMEText depuis email.mime.text. Charger stream depuis from_arduino. Définir fonction write_file avec paramètre file_path: Affecter fail à False. Essayer ce qui suit: Affecter f à open avec file_path, "a", et encoding dé...
import serial import smtplib import ssl from datetime import date from email.mime.text import MIMEText from from_arduino import stream def write_file(file_path): fail = False try: f = open(file_path, 'a', encoding='utf-8') print('opened fine') data = stream() print('stream fine'...
true
true
true
{ "artifact_hash": "397f2d5baabae3260f2bbe830eab821733fcffd8ddedc6a3f4237b760f4fcf56", "id": "1737320", "max_stars_count": 0, "max_stars_repo_name": "WilPermenter/MSUHack2020-AllFiles", "max_stars_repo_path": "security/python files/alert.py", "normalized_source_hash": "480343fb8d14f373e0596bbbefedcb083fb604...
{ "artifact_hash": "397f2d5baabae3260f2bbe830eab821733fcffd8ddedc6a3f4237b760f4fcf56", "normalized_source_hash": "480343fb8d14f373e0596bbbefedcb083fb604a7091ca9b4eac78924572215a7", "raw_source_hash": "cb0c76fdf081bf27827a2de9707e57042a98f70e61fe95e3a260e6a80848b63a", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 serial. 导入 smtplib. 导入 ssl. 导入 date 从 datetime. 导入 MIMEText 从 email 点 mime 点 text. 导入 stream 从 from_arduino. 定义函数 write_file 参数为 file_path: 设 fail 为 False. 尝试以下内容: 设 f 为 open 用 file_path, "a", 并且 encoding 设为 "utf-8". 打印 "opened fine". 设 data 为 stream 不带参数. 打印 "stream fine". ...
import serial import smtplib import ssl from datetime import date from email.mime.text import MIMEText from from_arduino import stream def write_file(file_path): fail = False try: f = open(file_path,'a',encoding='utf-8') print("opened fine") data = stream() print("stream...
true
true
true
null
480343fb8d14f373e0596bbbefedcb083fb604a7091ca9b4eac78924572215a7
1,339
1,339
71
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.839202+00:00
en,es,fr,zh
true
480343fb8d14f373e0596bbbefedcb083fb604a7091ca9b4eac78924572215a7
{ "v2_row_index": 71, "v2_source_sha256": "480343fb8d14f373e0596bbbefedcb083fb604a7091ca9b4eac78924572215a7" }
ok
#!/usr/bin/env python # # @file # @brief Class for a pipeline instance # # A pipeline is a collection of tables and a control flow graph. # A pipeline is initialized with the control flow graph and the IRI # maps for tables and actions # # TBD: MULTIPLE REFERENCES TO A TABLE ACROSS DIFF PIPELINES # TBD: How are defaul...
# !/usr/bin/env python # # @file # @brief Class for a pipeline instance # # A pipeline is a collection of tables and a control flow graph. # A pipeline is initialized with the control flow graph and the IRI # maps for tables and actions # # TBD: MULTIPLE REFERENCES TO A TABLE ACROSS DIFF PIPELINES # TBD: How are defaul...
# !/usr/bin/env python # # @file # @brief Class for a pipeline instance # # A pipeline es a collection de tables y también a control flow graph. # A pipeline es initialized con the control flow graph y también the IRI # maps for tables y también actions # # TBD: MULTIPLE REFERENCES TO A TABLE ACROSS DIFF PIPELINES # TB...
# !/usr/bin/env python # # @file # @brief Class for a pipeline instance # # A pipeline est a collection de tables et a control flow graph. # A pipeline est initialized avec the control flow graph et the IRI # maps for tables et actions # # TBD: MULTIPLE REFERENCES TO A TABLE ACROSS DIFF PIPELINES # TBD: How are default...
# !/usr/bin/env python # # @file # @brief Class for a pipeline instance # # A pipeline is a collection of tables and a control flow graph. # A pipeline is initialized with the control flow graph and the IRI # maps for tables and actions # # TBD: MULTIPLE REFERENCES TO A TABLE ACROSS DIFF PIPELINES # TBD: How are defaul...
true
true
true
{ "artifact_hash": "738bb51df45f4c627aae97cc0a6fc0fa4c547c412163bd4fddcc8614e21896e1", "id": "1737324", "max_stars_count": 0, "max_stars_repo_name": "dtalayco/air_iri", "max_stars_repo_path": "iri/pipeline.py", "normalized_source_hash": "3b69b6f17e0c743383ee03ad9f9645e3de70fcd622ac970bd3e39a79987c56cd", "...
{ "artifact_hash": "738bb51df45f4c627aae97cc0a6fc0fa4c547c412163bd4fddcc8614e21896e1", "normalized_source_hash": "3b69b6f17e0c743383ee03ad9f9645e3de70fcd622ac970bd3e39a79987c56cd", "raw_source_hash": "1925a9526d6804f4c7c2aff9aa3e928770cfd400f04a5439c14bc4339cc51dad", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# !/usr/bin/env python # # @file # @brief Class for a pipeline instance # # A pipeline 是 a collection 的 tables 并且 a control flow graph. # A pipeline 是 initialized 用 the control flow graph 并且 the IRI # maps for tables 并且 actions # # TBD: MULTIPLE REFERENCES TO A TABLE ACROSS DIFF PIPELINES # TBD: How are default ops out...
#!/usr/bin/env python # # @file # @brief Class for a pipeline instance # # A pipeline is a collection of tables and a control flow graph. # A pipeline is initialized with the control flow graph and the IRI # maps for tables and actions # # TBD: MULTIPLE REFERENCES TO A TABLE ACROSS DIFF PIPELINES # TBD: How are defaul...
true
true
true
null
3b69b6f17e0c743383ee03ad9f9645e3de70fcd622ac970bd3e39a79987c56cd
6,687
6,687
72
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.842486+00:00
en,es,fr,zh
true
3b69b6f17e0c743383ee03ad9f9645e3de70fcd622ac970bd3e39a79987c56cd
{ "v2_row_index": 72, "v2_source_sha256": "3b69b6f17e0c743383ee03ad9f9645e3de70fcd622ac970bd3e39a79987c56cd" }
ok
## @file dict.py # @author <NAME>, <NAME>, <NAME> # @brief Custom dictionary ADT # @date Mar 17, 2020 ## @brief Generic Dict ADT # @details A generic dictionary ADT module which had add, remove, and to_seq methods class Dict(): ## @brief Dict constructor def __init__(self): self.d = {} se...
# # @file dict.py # @author <NAME>, <NAME>, <NAME> # @brief Custom dictionary ADT # @date Mar 17, 2020 # # @brief Generic Dict ADT # @details A generic dictionary ADT module which had add, remove, and to_seq methods Define class Dict: # # @brief Dict constructor Define method __init__ with parameter self: ...
# # @file dict.py # @author <NAME>, <NAME>, <NAME> # @brief Custom dictionary ADT # @date Mar 17, 2020 # # @brief Generic Dict ADT # @details A generic dictionary ADT module which had add, remove, y también to_seq methods Definir clase Dict: # # @brief Dict constructor Definir método __init__ con parámetro ...
# # @file dict.py # @author <NAME>, <NAME>, <NAME> # @brief Custom dictionary ADT # @date Mar 17, 2020 # # @brief Generic Dict ADT # @details A generic dictionary ADT module which had add, remove, et to_seq methods Définir classe Dict: # # @brief Dict constructor Définir méthode __init__ avec paramètre self...
# # @file dict.py # @author <NAME>, <NAME>, <NAME> # @brief Custom dictionary ADT # @date Mar 17, 2020 # # @brief Generic Dict ADT # @details A generic dictionary ADT module which had add, remove, and to_seq methods class Dict: # # @brief Dict constructor def __init__(self): self.d = {} sel...
true
true
true
{ "artifact_hash": "3d2355a5993a11eaf04e26ec8877ace4bd5fedb27369915d3422fd90535aed2d", "id": "1737325", "max_stars_count": 1, "max_stars_repo_name": "LeonSo7/ScrumBot", "max_stars_repo_path": "src/dict.py", "normalized_source_hash": "a877e3a4a9e8954770d8fbcfc63cc5742b9290e59f53b726c3d709bed13968ae", "raw_...
{ "artifact_hash": "3d2355a5993a11eaf04e26ec8877ace4bd5fedb27369915d3422fd90535aed2d", "normalized_source_hash": "a877e3a4a9e8954770d8fbcfc63cc5742b9290e59f53b726c3d709bed13968ae", "raw_source_hash": "35f0fef9614a48a7a59ed7c3402ace56c06b14a35e8f43bebfcd9ad4e2f48470", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# # @file dict.py # @author <NAME>, <NAME>, <NAME> # @brief Custom dictionary ADT # @date Mar 17, 2020 # # @brief Generic Dict ADT # @details A generic dictionary ADT module which had add, remove, 并且 to_seq methods 定义类 Dict: # # @brief Dict constructor 定义方法 __init__ 参数为 self: 设 self 点 d 为 空字典. ...
## @file dict.py # @author <NAME>, <NAME>, <NAME> # @brief Custom dictionary ADT # @date Mar 17, 2020 ## @brief Generic Dict ADT # @details A generic dictionary ADT module which had add, remove, and to_seq methods class Dict(): ## @brief Dict constructor def __init__(self): self.d = {} se...
true
true
true
null
a877e3a4a9e8954770d8fbcfc63cc5742b9290e59f53b726c3d709bed13968ae
1,153
1,153
73
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.912784+00:00
en,es,fr,zh
true
a877e3a4a9e8954770d8fbcfc63cc5742b9290e59f53b726c3d709bed13968ae
{ "v2_row_index": 73, "v2_source_sha256": "a877e3a4a9e8954770d8fbcfc63cc5742b9290e59f53b726c3d709bed13968ae" }
ok
import mock from h.viewpredicates import FeaturePredicate class TestFeaturePredicate(object): def test_text(self): predicate = FeaturePredicate('foo', mock.sentinel.config) assert predicate.text() == 'feature = foo' def test_phash(self): predicate = FeaturePredicate('foo', mock.sen...
Load mock. Load FeaturePredicate from h.viewpredicates. Define class TestFeaturePredicate inheriting from object: Define method test_text with parameter self: Set predicate to FeaturePredicate with "foo" and mock dot sentinel dot config. Assert predicate dot text with no values equals "feature = foo...
Importar mock. Importar FeaturePredicate desde h.viewpredicates. Definir clase TestFeaturePredicate heredando de object: Definir método test_text con parámetro self: Establecer predicate como FeaturePredicate con "foo" y también mock punto sentinel punto config. Afirmar predicate punto text sin argu...
Charger mock. Charger FeaturePredicate depuis h.viewpredicates. Définir classe TestFeaturePredicate héritant de object: Définir méthode test_text avec paramètre self: Affecter predicate à FeaturePredicate avec "foo" et mock point de sentinel point de config. Affirmer predicate point de text sans arg...
import mock from h.viewpredicates import FeaturePredicate class TestFeaturePredicate(object): def test_text(self): predicate = FeaturePredicate('foo', mock.sentinel.config) assert predicate.text() == 'feature = foo' def test_phash(self): predicate = FeaturePredicate('foo', mock.sentin...
true
true
true
{ "artifact_hash": "568d1cff7287a82d62ee9149f46ab82449085ae88d017b9c36cc7a046e0734fd", "id": "1737326", "max_stars_count": 1, "max_stars_repo_name": "discodavey/h", "max_stars_repo_path": "tests/h/viewpredicates_test.py", "normalized_source_hash": "ad33c2addeefe821d9bf0cd00342a6490c0fe6f439dc9330ba77e00740c...
{ "artifact_hash": "568d1cff7287a82d62ee9149f46ab82449085ae88d017b9c36cc7a046e0734fd", "normalized_source_hash": "ad33c2addeefe821d9bf0cd00342a6490c0fe6f439dc9330ba77e00740c4ad8f", "raw_source_hash": "307b52aec30ed249402eadaff6768277b341cd140f7a331da2808038e14cde93", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 mock. 导入 FeaturePredicate 从 h 点 viewpredicates. 定义类 TestFeaturePredicate 继承自 对象: 定义方法 test_text 参数为 self: 设 predicate 为 FeaturePredicate 用 "foo" 并且 mock 点 sentinel 点 config. 断言 predicate 点 text 不带参数 等于 "feature = foo". 定义方法 test_phash 参数为 self: 设 predicate 为 FeaturePredicate 用 "foo" 并...
import mock from h.viewpredicates import FeaturePredicate class TestFeaturePredicate(object): def test_text(self): predicate = FeaturePredicate('foo', mock.sentinel.config) assert predicate.text() == 'feature = foo' def test_phash(self): predicate = FeaturePredicate('foo', mock.sen...
true
true
true
null
ad33c2addeefe821d9bf0cd00342a6490c0fe6f439dc9330ba77e00740c4ad8f
701
701
74
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:58.963901+00:00
en,es,fr,zh
true
ad33c2addeefe821d9bf0cd00342a6490c0fe6f439dc9330ba77e00740c4ad8f
{ "v2_row_index": 74, "v2_source_sha256": "ad33c2addeefe821d9bf0cd00342a6490c0fe6f439dc9330ba77e00740c4ad8f" }
ok
from xbmcswift2 import Plugin, xbmcgui from resources.lib import mainaddon plugin = Plugin() url1 = "https://wordsandnumbers.libsyn.com/rss" #WORDSANDNUMBERS url2 = "http://feeaudioxp.libsyn.com/rss" #AUDIOEXPERIENCE url3 = "https://feecast.libsyn.com/rss" #FEECAST @plugin.route('/') def main_menu(): items = [ ...
Load Plugin, xbmcgui from xbmcswift2. Load mainaddon from resources.lib. Set plugin to Plugin with no values. Set url1 to "https://wordsandnumbers.libsyn.com/rss". # WORDSANDNUMBERS Set url2 to "http://feeaudioxp.libsyn.com/rss". # AUDIOEXPERIENCE Set url3 to "https://feecast.libsyn.com/rss". # FEECAST Apply plugin dot...
Importar Plugin, xbmcgui desde xbmcswift2. Importar mainaddon desde resources.lib. Establecer plugin como Plugin sin argumentos. Establecer url1 como "https://wordsandnumbers.libsyn.com/rss". # WORDSANDNUMBERS Establecer url2 como "http://feeaudioxp.libsyn.com/rss". # AUDIOEXPERIENCE Establecer url3 como "https://feeca...
Charger Plugin, xbmcgui depuis xbmcswift2. Charger mainaddon depuis resources.lib. Affecter plugin à Plugin sans arguments. Affecter url1 à "https://wordsandnumbers.libsyn.com/rss". # WORDSANDNUMBERS Affecter url2 à "http://feeaudioxp.libsyn.com/rss". # AUDIOEXPERIENCE Affecter url3 à "https://feecast.libsyn.com/rss". ...
from xbmcswift2 import Plugin, xbmcgui from resources.lib import mainaddon plugin = Plugin() url1 = 'https://wordsandnumbers.libsyn.com/rss' # WORDSANDNUMBERS url2 = 'http://feeaudioxp.libsyn.com/rss' # AUDIOEXPERIENCE url3 = 'https://feecast.libsyn.com/rss' # FEECAST @plugin.route('/') def main_menu(): items =...
true
true
true
{ "artifact_hash": "164262952e7fc31613dd40f518122b96e355ed0fe5eb69eafc331be097983bee", "id": "1737327", "max_stars_count": 0, "max_stars_repo_name": "leopheard/FEE", "max_stars_repo_path": "addon.py", "normalized_source_hash": "a6b6d550618b663ce4891b351289d8f85dde9a42ed0d3011261d9e7dc8dc4b09", "raw_source...
{ "artifact_hash": "164262952e7fc31613dd40f518122b96e355ed0fe5eb69eafc331be097983bee", "normalized_source_hash": "a6b6d550618b663ce4891b351289d8f85dde9a42ed0d3011261d9e7dc8dc4b09", "raw_source_hash": "bfd59439f914cd1b24866baebcbfcffc956c8e6aca37d79ca8a85b7b6123c01d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 Plugin, xbmcgui 从 xbmcswift2. 导入 mainaddon 从 resources 点 lib. 设 plugin 为 Plugin 不带参数. 设 url1 为 "https://wordsandnumbers.libsyn.com/rss". # WORDSANDNUMBERS 设 url2 为 "http://feeaudioxp.libsyn.com/rss". # AUDIOEXPERIENCE 设 url3 为 "https://feecast.libsyn.com/rss". # FEECAST 用装饰器 plugin 点 route 用 "/": 定义函数 main_menu:...
from xbmcswift2 import Plugin, xbmcgui from resources.lib import mainaddon plugin = Plugin() url1 = "https://wordsandnumbers.libsyn.com/rss" #WORDSANDNUMBERS url2 = "http://feeaudioxp.libsyn.com/rss" #AUDIOEXPERIENCE url3 = "https://feecast.libsyn.com/rss" #FEECAST @plugin.route('/') def main_menu(): items = [ ...
true
true
true
null
a6b6d550618b663ce4891b351289d8f85dde9a42ed0d3011261d9e7dc8dc4b09
1,731
1,731
75
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.076551+00:00
en,es,fr,zh
true
a6b6d550618b663ce4891b351289d8f85dde9a42ed0d3011261d9e7dc8dc4b09
{ "v2_row_index": 75, "v2_source_sha256": "a6b6d550618b663ce4891b351289d8f85dde9a42ed0d3011261d9e7dc8dc4b09" }
ok
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^csed/', include('csed.foo.urls')), (r'^news/$', 'csed.news.views.index'), (r'^news/(?P<newsitem_id>\d+)/$', 'cs...
Load everything from django.conf.urls.defaults. # Uncomment the next two lines to enable the admin: Load admin from django.contrib. Call admin dot autodiscover. Set urlpatterns to patterns with "", the tuple ("^news/$", "csed.news.views.index"), the tuple ("^news/(?P<newsitem_id>\\d+)/$", "csed.news.views.detail"), the...
Importar todo desde django.conf.urls.defaults. # Uncomment the next two lines como enable the admin: Importar admin desde django.contrib. Llamar admin punto autodiscover. Establecer urlpatterns como patterns con "", la tupla ("^news/$", "csed.news.views.index"), la tupla ("^news/(?P<newsitem_id>\\d+)/$", "csed.news.vie...
Charger tout depuis django.conf.urls.defaults. # Uncomment the next two lines à enable the admin: Charger admin depuis django.contrib. Appeler admin point de autodiscover. Affecter urlpatterns à patterns avec "", le tuple ("^news/$", "csed.news.views.index"), le tuple ("^news/(?P<newsitem_id>\\d+)/$", "csed.news.views....
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', ('^news/$', 'csed.news.views.index'), ('^news/(?P<newsitem_id>\\d+)/$', 'csed.news.views.detail'), ('^news/archive/$', 'csed.news.views.archive'), ...
true
true
true
{ "artifact_hash": "725d31347be590f7a7d3cd713f99538bb0bb83cf9b2ba00c1bd5a5a63b645661", "id": "1737336", "max_stars_count": 0, "max_stars_repo_name": "k4rtik/cse-nitc-v3-django", "max_stars_repo_path": "django-7-9/csed/urls.py", "normalized_source_hash": "feeb3383ceb99093e529c890ad552b35336c4b83fe5c032aaf5a5...
{ "artifact_hash": "725d31347be590f7a7d3cd713f99538bb0bb83cf9b2ba00c1bd5a5a63b645661", "normalized_source_hash": "feeb3383ceb99093e529c890ad552b35336c4b83fe5c032aaf5a561667a170ec", "raw_source_hash": "304c77d55d0d0b889a0dd49f0188d6b3c8f493efbcd9ba3df211832f558b3188", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
从以下内容导入全部 django 点 conf 点 urls 点 defaults. # Uncomment the next two lines 为 enable the admin: 导入 admin 从 django 点 contrib. 调用 admin 点 autodiscover. 设 urlpatterns 为 patterns 用 "", 元组 ("^news/$", "csed.news.views.index"), 元组 ("^news/(?P<newsitem_id>\\d+)/$", "csed.news.views.detail"), 元组 ("^news/archive/$", "csed.news.vi...
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^csed/', include('csed.foo.urls')), (r'^news/$', 'csed.news.views.index'), (r'^news/(?P<newsitem_id>\d+)/$', 'cs...
true
true
true
null
feeb3383ceb99093e529c890ad552b35336c4b83fe5c032aaf5a561667a170ec
1,470
1,470
76
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.096556+00:00
en,es,fr,zh
true
feeb3383ceb99093e529c890ad552b35336c4b83fe5c032aaf5a561667a170ec
{ "v2_row_index": 76, "v2_source_sha256": "feeb3383ceb99093e529c890ad552b35336c4b83fe5c032aaf5a561667a170ec" }
ok
import brownie from eth_abi.packed import encode_abi_packed from eth_utils import keccak from beamer.tests.util import alloc_accounts, create_request_hash def test_fill_request(fill_manager, token, deployer): chain_id = brownie.web3.eth.chain_id amount = 100 filler, receiver = alloc_accounts(2) with...
Load brownie. Load encode_abi_packed from eth_abi.packed. Load keccak from eth_utils. Load alloc_accounts, create_request_hash from beamer.tests.util. Define function test_fill_request with parameters fill_manager, token, deployer: Set chain_id to brownie dot web3 dot eth dot chain_id. Set amount to 100. Un...
Importar brownie. Importar encode_abi_packed desde eth_abi.packed. Importar keccak desde eth_utils. Importar alloc_accounts, create_request_hash desde beamer.tests.util. Definir función test_fill_request con parámetros fill_manager, token, deployer: Establecer chain_id como brownie punto web3 punto eth punto chain_...
Charger brownie. Charger encode_abi_packed depuis eth_abi.packed. Charger keccak depuis eth_utils. Charger alloc_accounts, create_request_hash depuis beamer.tests.util. Définir fonction test_fill_request avec paramètres fill_manager, token, deployer: Affecter chain_id à brownie point de web3 point de eth point de c...
import brownie from eth_abi.packed import encode_abi_packed from eth_utils import keccak from beamer.tests.util import alloc_accounts, create_request_hash def test_fill_request(fill_manager, token, deployer): chain_id = brownie.web3.eth.chain_id amount = 100 filler, receiver = alloc_accounts(2) with br...
true
true
true
{ "artifact_hash": "4f58db73145517a6d79c7752e02b44d4fcc72ab1f96544f2debaaa7d1e8b42f6", "id": "1737337", "max_stars_count": 2, "max_stars_repo_name": "beamer-bridge/beamer", "max_stars_repo_path": "beamer/tests/contracts/test_fill_manager.py", "normalized_source_hash": "8ea1c0ee31978dbc02c6cd9a3b068d3e309c8b...
{ "artifact_hash": "4f58db73145517a6d79c7752e02b44d4fcc72ab1f96544f2debaaa7d1e8b42f6", "normalized_source_hash": "8ea1c0ee31978dbc02c6cd9a3b068d3e309c8bc5d128d1b661b1a569af9380f1", "raw_source_hash": "c29827b7955d16e5f1bebb81f3e196aebd7b168f8acacab5c7391e13b19d845a", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 brownie. 导入 encode_abi_packed 从 eth_abi 点 packed. 导入 keccak 从 eth_utils. 导入 alloc_accounts, create_request_hash 从 beamer 点 tests 点 util. 定义函数 test_fill_request 参数为 fill_manager, token, deployer: 设 chain_id 为 brownie 点 web3 点 eth 点 chain_id. 设 amount 为 100. 解包 alloc_accounts 用 2 到 filler 并且 receiver. ...
import brownie from eth_abi.packed import encode_abi_packed from eth_utils import keccak from beamer.tests.util import alloc_accounts, create_request_hash def test_fill_request(fill_manager, token, deployer): chain_id = brownie.web3.eth.chain_id amount = 100 filler, receiver = alloc_accounts(2) with...
true
true
true
null
8ea1c0ee31978dbc02c6cd9a3b068d3e309c8bc5d128d1b661b1a569af9380f1
3,008
3,008
77
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.110146+00:00
en,es,fr,zh
true
8ea1c0ee31978dbc02c6cd9a3b068d3e309c8bc5d128d1b661b1a569af9380f1
{ "v2_row_index": 77, "v2_source_sha256": "8ea1c0ee31978dbc02c6cd9a3b068d3e309c8bc5d128d1b661b1a569af9380f1" }
ok
import string from pylatexenc import latexencode import idutils import numpy as np from bibtexparser.customization import splitname from bibclean.config import constants import bibclean.utils.formatting as formatter import re import nltk import wordninja from nltk.tokenize.treebank import TreebankWordDetokenizer def ...
Load string. Load latexencode from pylatexenc. Load idutils. Load numpy, referred to as np. Load splitname from bibtexparser.customization. Load constants from bibclean.config. Load bibclean.utils.formatting, referred to as formatter. Load re. Load nltk. Load wordninja. Load TreebankWordDetokenizer from nltk.tokenize.t...
Importar string. Importar latexencode desde pylatexenc. Importar idutils. Importar numpy, referido como np. Importar splitname desde bibtexparser.customization. Importar constants desde bibclean.config. Importar bibclean.utils.formatting, referido como formatter. Importar re. Importar nltk. Importar wordninja. Importar...
Charger string. Charger latexencode depuis pylatexenc. Charger idutils. Charger numpy, référé comme np. Charger splitname depuis bibtexparser.customization. Charger constants depuis bibclean.config. Charger bibclean.utils.formatting, référé comme formatter. Charger re. Charger nltk. Charger wordninja. Charger TreebankW...
import string from pylatexenc import latexencode import idutils import numpy as np from bibtexparser.customization import splitname from bibclean.config import constants import bibclean.utils.formatting as formatter import re import nltk import wordninja from nltk.tokenize.treebank import TreebankWordDetokenizer def c...
true
true
true
{ "artifact_hash": "de89c7ec479ddbae6cb3aa03a6ee2808bb3ab1e95062ee072220770892586730", "id": "1737339", "max_stars_count": 0, "max_stars_repo_name": "Svdvoort/BibClean", "max_stars_repo_path": "bibclean/utils/cleaning.py", "normalized_source_hash": "bd04dff8c1a95e41b5438fa6c658f77852855aec78ca5c167a37aa8828...
{ "artifact_hash": "de89c7ec479ddbae6cb3aa03a6ee2808bb3ab1e95062ee072220770892586730", "normalized_source_hash": "bd04dff8c1a95e41b5438fa6c658f77852855aec78ca5c167a37aa8828f3d038", "raw_source_hash": "4031c5e520ffb03dcf7317c7a155d94a98517570a2e6c9214b3c26535a5c2dc2", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 string. 导入 latexencode 从 pylatexenc. 导入 idutils. 导入 numpy, 别名为 np. 导入 splitname 从 bibtexparser 点 customization. 导入 constants 从 bibclean 点 config. 导入 bibclean 点 utils 点 formatting, 别名为 formatter. 导入 re. 导入 nltk. 导入 wordninja. 导入 TreebankWordDetokenizer 从 nltk 点 tokenize 点 treebank. 定义函数 clean_braces 参数为 text: 返回 ...
import string from pylatexenc import latexencode import idutils import numpy as np from bibtexparser.customization import splitname from bibclean.config import constants import bibclean.utils.formatting as formatter import re import nltk import wordninja from nltk.tokenize.treebank import TreebankWordDetokenizer def ...
true
true
true
null
bd04dff8c1a95e41b5438fa6c658f77852855aec78ca5c167a37aa8828f3d038
5,890
5,890
78
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.241275+00:00
en,es,fr,zh
true
bd04dff8c1a95e41b5438fa6c658f77852855aec78ca5c167a37aa8828f3d038
{ "v2_row_index": 78, "v2_source_sha256": "bd04dff8c1a95e41b5438fa6c658f77852855aec78ca5c167a37aa8828f3d038" }
ok
import glob import os from laspec import mrs from astropy.table import Table import astropy.units as u import pandas as pd import matplotlib.pyplot as plt import numpy as np from laspec.mrs import MrsSpec import random import seaborn as sns import dustmaps from dustmaps.config import config config['data_dir'] = "/Us...
Load glob. Load os. Load mrs from laspec. Load Table from astropy.table. Load astropy.units, referred to as u. Load pandas, referred to as pd. Load matplotlib.pyplot, referred to as plt. Load numpy, referred to as np. Load MrsSpec from laspec.mrs. Load random. Load seaborn, referred to as sns. Load dustmaps. Load confi...
Importar glob. Importar os. Importar mrs desde laspec. Importar Table desde astropy.table. Importar astropy.units, referido como u. Importar pandas, referido como pd. Importar matplotlib.pyplot, referido como plt. Importar numpy, referido como np. Importar MrsSpec desde laspec.mrs. Importar random. Importar seaborn, re...
Charger glob. Charger os. Charger mrs depuis laspec. Charger Table depuis astropy.table. Charger astropy.units, référé comme u. Charger pandas, référé comme pd. Charger matplotlib.pyplot, référé comme plt. Charger numpy, référé comme np. Charger MrsSpec depuis laspec.mrs. Charger random. Charger seaborn, référé comme s...
import glob import os from laspec import mrs from astropy.table import Table import astropy.units as u import pandas as pd import matplotlib.pyplot as plt import numpy as np from laspec.mrs import MrsSpec import random import seaborn as sns import dustmaps from dustmaps.config import config config['data_dir'] = '/Users...
true
true
true
{ "artifact_hash": "5bf94182c0342f75e56e3d845afebdd6cae9f97c71695877dd4a0c8843ff8a28", "id": "1737344", "max_stars_count": 0, "max_stars_repo_name": "JunHuiLiu2017/Dustmaps", "max_stars_repo_path": "Plot_BP_RP_vs_G.py", "normalized_source_hash": "f73e59e6a8ef50879e7818522891c42d0ca0cd98b53fb139d755edf65487d...
{ "artifact_hash": "5bf94182c0342f75e56e3d845afebdd6cae9f97c71695877dd4a0c8843ff8a28", "normalized_source_hash": "f73e59e6a8ef50879e7818522891c42d0ca0cd98b53fb139d755edf65487d21b", "raw_source_hash": "954c2486c4fdc4da00c2cfc2197976177aa88ba340dd37d5ac277ed0128cafef", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 glob. 导入 os. 导入 mrs 从 laspec. 导入 Table 从 astropy 点 table. 导入 astropy 点 units, 别名为 u. 导入 pandas, 别名为 pd. 导入 matplotlib 点 pyplot, 别名为 plt. 导入 numpy, 别名为 np. 导入 MrsSpec 从 laspec 点 mrs. 导入 random. 导入 seaborn, 别名为 sns. 导入 dustmaps. 导入 config 从 dustmaps 点 config. 设 键为以下内容的项 "data_dir" 的 config 为 "/Users/liujunhui/Desktop/...
import glob import os from laspec import mrs from astropy.table import Table import astropy.units as u import pandas as pd import matplotlib.pyplot as plt import numpy as np from laspec.mrs import MrsSpec import random import seaborn as sns import dustmaps from dustmaps.config import config config['data_dir'] = "/Us...
true
true
true
null
f73e59e6a8ef50879e7818522891c42d0ca0cd98b53fb139d755edf65487d21b
1,588
1,588
79
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.296241+00:00
en,es,fr,zh
true
f73e59e6a8ef50879e7818522891c42d0ca0cd98b53fb139d755edf65487d21b
{ "v2_row_index": 79, "v2_source_sha256": "f73e59e6a8ef50879e7818522891c42d0ca0cd98b53fb139d755edf65487d21b" }
ok
# python3 Steven image smoothing import cv2 def blurImg(img, ksize=5): # Averaging adjency pixsel 5x5 size kernel return cv2.blur(img, (ksize, ksize)) def gaussianBlurImg(img, ksize=5): # Gaussian Blurring # kernel = cv2.getGaussianKernel(ksize, 0) # print('gaussian kernel=',kernel) return cv2.Gau...
# python3 Steven image smoothing Load cv2. Define function blurImg with parameters img, ksize (default: 5): Return cv2 dot blur with img and the tuple (ksize, ksize). # Averaging adjency pixsel 5x5 size kernel Define function gaussianBlurImg with parameters img, ksize (default: 5): # kernel = cv2.getGaussianKer...
# python3 Steven image smoothing Importar cv2. Definir función blurImg con parámetros img, ksize (predeterminado: 5): Devolver cv2 punto blur con img y también la tupla (ksize, ksize). # Averaging adjency pixsel 5x5 size kernel Definir función gaussianBlurImg con parámetros img, ksize (predeterminado: 5): # ker...
# python3 Steven image smoothing Charger cv2. Définir fonction blurImg avec paramètres img, ksize (par défaut: 5): Retourner cv2 point de blur avec img et le tuple (ksize, ksize). # Averaging adjency pixsel 5x5 size kernel Définir fonction gaussianBlurImg avec paramètres img, ksize (par défaut: 5): # kernel = c...
# python3 Steven image smoothing import cv2 def blurImg(img, ksize=5): return cv2.blur(img, (ksize, ksize)) # Averaging adjency pixsel 5x5 size kernel def gaussianBlurImg(img, ksize=5): # kernel = cv2.getGaussianKernel(ksize, 0) # print('gaussian kernel=',kernel) return cv2.GaussianBlur(img, (ksize, k...
true
true
true
{ "artifact_hash": "993126b2afc31ce469df228853afdf0736914616f0791d40c9ba9215def6015c", "id": "1737347", "max_stars_count": 0, "max_stars_repo_name": "StevenHuang2020/OpencvPython", "max_stars_repo_path": "src/ImageSmoothing.py", "normalized_source_hash": "d8c4fb911fffe5a71c963c69ac6268896b954d84262c5e1e2c7b...
{ "artifact_hash": "993126b2afc31ce469df228853afdf0736914616f0791d40c9ba9215def6015c", "normalized_source_hash": "d8c4fb911fffe5a71c963c69ac6268896b954d84262c5e1e2c7b3a77dcd57ebd", "raw_source_hash": "bcc6ca2d4dc3da82ad4eb7e78642eab8d577a2f04c7719e25d29377c7ac0bbe6", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# python3 Steven image smoothing 导入 cv2. 定义函数 blurImg 参数为 img, ksize (默认: 5): 返回 cv2 点 blur 用 img 并且 元组 (ksize, ksize). # Averaging adjency pixsel 5x5 size kernel 定义函数 gaussianBlurImg 参数为 img, ksize (默认: 5): # kernel = cv2.getGaussianKernel(ksize, 0) # print('gaussian kernel=',kernel) 返回 cv2 点 GaussianB...
# python3 Steven image smoothing import cv2 def blurImg(img, ksize=5): # Averaging adjency pixsel 5x5 size kernel return cv2.blur(img, (ksize, ksize)) def gaussianBlurImg(img, ksize=5): # Gaussian Blurring # kernel = cv2.getGaussianKernel(ksize, 0) # print('gaussian kernel=',kernel) return cv2.Gau...
true
true
true
null
d8c4fb911fffe5a71c963c69ac6268896b954d84262c5e1e2c7b3a77dcd57ebd
572
572
80
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.545349+00:00
en,es,fr,zh
true
d8c4fb911fffe5a71c963c69ac6268896b954d84262c5e1e2c7b3a77dcd57ebd
{ "v2_row_index": 80, "v2_source_sha256": "d8c4fb911fffe5a71c963c69ac6268896b954d84262c5e1e2c7b3a77dcd57ebd" }
ok
from dataclasses import dataclass from omegaconf import DictConfig, OmegaConf @dataclass class ICEADMM: type: str = "iceadmm" servername: str = "ICEADMMServer" clientname: str = "ICEADMMClient" args: DictConfig = OmegaConf.create( { "num_local_epochs": 1, "accum_grad":...
Load dataclass from dataclasses. Load DictConfig, OmegaConf from omegaconf. Apply dataclass to the following: Define class ICEADMM: Set type (type: str) to "iceadmm". Set servername (type: str) to "ICEADMMServer". Set clientname (type: str) to "ICEADMMClient". Set args (type: DictCon...
Importar dataclass desde dataclasses. Importar DictConfig, OmegaConf desde omegaconf. Aplicar dataclass a lo siguiente: Definir clase ICEADMM: Establecer type (tipo: str) como "iceadmm". Establecer servername (tipo: str) como "ICEADMMServer". Establecer clientname (tipo: str) como "ICEADMMCl...
Charger dataclass depuis dataclasses. Charger DictConfig, OmegaConf depuis omegaconf. Appliquer dataclass à ce qui suit: Définir classe ICEADMM: Affecter type (type : str) à "iceadmm". Affecter servername (type : str) à "ICEADMMServer". Affecter clientname (type : str) à "ICEADMMClient". ...
from dataclasses import dataclass from omegaconf import DictConfig, OmegaConf @dataclass class ICEADMM: type: str = 'iceadmm' servername: str = 'ICEADMMServer' clientname: str = 'ICEADMMClient' args: DictConfig = OmegaConf.create({'num_local_epochs': 1, 'accum_grad': True, 'coeff_grad': True, 'optim': ...
true
true
true
{ "artifact_hash": "dbbfb5d9ac43b11b03cb47cfdce00e0e27dc363ff9cefd5f07f59fd56c00190c", "id": "1737351", "max_stars_count": 9, "max_stars_repo_name": "APPFL/APPFL", "max_stars_repo_path": "src/appfl/config/fed/iceadmm.py", "normalized_source_hash": "309b373ddd1adbff167e2276c8115de179cb547756e04afc9c0b44e42dd...
{ "artifact_hash": "dbbfb5d9ac43b11b03cb47cfdce00e0e27dc363ff9cefd5f07f59fd56c00190c", "normalized_source_hash": "309b373ddd1adbff167e2276c8115de179cb547756e04afc9c0b44e42dd5ad13", "raw_source_hash": "3b802f2bc75912fc15d19c712379b88e35fa665fbeb6852a7ece51727b323f7c", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 dataclass 从 dataclasses. 导入 DictConfig, OmegaConf 从 omegaconf. 用装饰器 dataclass: 定义类 ICEADMM: 设 type (类型: 字符串) 为 "iceadmm". 设 servername (类型: 字符串) 为 "ICEADMMServer". 设 clientname (类型: 字符串) 为 "ICEADMMClient". 设 args (类型: DictConfig) 为 OmegaConf 点 create 用 字典 { `num_local_epoc...
from dataclasses import dataclass from omegaconf import DictConfig, OmegaConf @dataclass class ICEADMM: type: str = "iceadmm" servername: str = "ICEADMMServer" clientname: str = "ICEADMMClient" args: DictConfig = OmegaConf.create( { "num_local_epochs": 1, "accum_grad":...
true
true
true
null
309b373ddd1adbff167e2276c8115de179cb547756e04afc9c0b44e42dd5ad13
1,635
1,635
81
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.632660+00:00
en,es,fr,zh
true
309b373ddd1adbff167e2276c8115de179cb547756e04afc9c0b44e42dd5ad13
{ "v2_row_index": 81, "v2_source_sha256": "309b373ddd1adbff167e2276c8115de179cb547756e04afc9c0b44e42dd5ad13" }
ok
import hashlib import json import os import posixpath import re from urllib.parse import unquote, urldefrag, urlsplit, urlunsplit from django.conf import settings from django.contrib.staticfiles.utils import check_settings, matches_patterns from django.core.exceptions import ImproperlyConfigured from django.core.files...
Load hashlib. Load json. Load os. Load posixpath. Load re. Load unquote, urldefrag, urlsplit, urlunsplit from urllib.parse. Load settings from django.conf. Load check_settings, matches_patterns from django.contrib.staticfiles.utils. Load ImproperlyConfigured from django.core.exceptions. Load ContentFile from django.cor...
Importar hashlib. Importar json. Importar os. Importar posixpath. Importar re. Importar unquote, urldefrag, urlsplit, urlunsplit desde urllib.parse. Importar settings desde django.conf. Importar check_settings, matches_patterns desde django.contrib.staticfiles.utils. Importar ImproperlyConfigured desde django.core.exce...
Charger hashlib. Charger json. Charger os. Charger posixpath. Charger re. Charger unquote, urldefrag, urlsplit, urlunsplit depuis urllib.parse. Charger settings depuis django.conf. Charger check_settings, matches_patterns depuis django.contrib.staticfiles.utils. Charger ImproperlyConfigured depuis django.core.exception...
import hashlib import json import os import posixpath import re from urllib.parse import unquote, urldefrag, urlsplit, urlunsplit from django.conf import settings from django.contrib.staticfiles.utils import check_settings, matches_patterns from django.core.exceptions import ImproperlyConfigured from django.core.files....
true
true
true
{ "artifact_hash": "afd21170d79c52bb32be9c6987e47882bc99a3e4ed31d4072d3612279f14d0ff", "id": "1737355", "max_stars_count": 4, "max_stars_repo_name": "KaushikSathvara/django", "max_stars_repo_path": "django/contrib/staticfiles/storage.py", "normalized_source_hash": "189007683ddada10c5df462ba0a7a31a5a960ebc57...
{ "artifact_hash": "afd21170d79c52bb32be9c6987e47882bc99a3e4ed31d4072d3612279f14d0ff", "normalized_source_hash": "189007683ddada10c5df462ba0a7a31a5a960ebc5784ca46a9c792be476d7860", "raw_source_hash": "f3a6d56d92f764357a48a43a23b4e69d3097f10fe180f5f726bf1a4405784b3a", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 hashlib. 导入 json. 导入 os. 导入 posixpath. 导入 re. 导入 unquote, urldefrag, urlsplit, urlunsplit 从 urllib 点 parse. 导入 settings 从 django 点 conf. 导入 check_settings, matches_patterns 从 django 点 contrib 点 staticfiles 点 utils. 导入 ImproperlyConfigured 从 django 点 core 点 exceptions. 导入 ContentFile 从 django 点 core 点 files 点 base. 导...
import hashlib import json import os import posixpath import re from urllib.parse import unquote, urldefrag, urlsplit, urlunsplit from django.conf import settings from django.contrib.staticfiles.utils import check_settings, matches_patterns from django.core.exceptions import ImproperlyConfigured from django.core.files...
true
true
true
null
189007683ddada10c5df462ba0a7a31a5a960ebc5784ca46a9c792be476d7860
19,242
19,242
82
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.642533+00:00
en,es,fr,zh
true
189007683ddada10c5df462ba0a7a31a5a960ebc5784ca46a9c792be476d7860
{ "v2_row_index": 82, "v2_source_sha256": "189007683ddada10c5df462ba0a7a31a5a960ebc5784ca46a9c792be476d7860" }
ok
from setuptools import setup setup(name='evopy', version='0.2.2', description='Evolutionary Strategies made simple', url='http://github.com/evopy/evopy', author='evopy', author_email='<EMAIL>', license='MIT', packages=[ 'evopy', 'evopy.utils', ], ...
Load setup from setuptools. Call setup with name set to "evopy", version set to "0.2.2", description set to "Evolutionary Strategies made simple", url set to "http://github.com/evopy/evopy", author set to "evopy", author_email set to "<EMAIL>", license set to "MIT", packages set to the list ["evopy", "evopy.utils"], lo...
Importar setup desde setuptools. Llamar setup con name establecido a "evopy", version establecido a "0.2.2", description establecido a "Evolutionary Strategies made simple", url establecido a "http://github.com/evopy/evopy", author establecido a "evopy", author_email establecido a "<EMAIL>", license establecido a "MIT"...
Charger setup depuis setuptools. Appeler setup avec name défini à "evopy", version défini à "0.2.2", description défini à "Evolutionary Strategies made simple", url défini à "http://github.com/evopy/evopy", author défini à "evopy", author_email défini à "<EMAIL>", license défini à "MIT", packages défini à la liste ["ev...
from setuptools import setup setup(name='evopy', version='0.2.2', description='Evolutionary Strategies made simple', url='http://github.com/evopy/evopy', author='evopy', author_email='<EMAIL>', license='MIT', packages=['evopy', 'evopy.utils'], long_description=open('README.md').read(), long_description_content_type='te...
true
true
true
{ "artifact_hash": "1eb113f5615df83f4500c395c01b9a772bdc3718f9e5c0a6eb87aeaf5b26860a", "id": "1737356", "max_stars_count": 1, "max_stars_repo_name": "ThomasKluiters/evopy", "max_stars_repo_path": "setup.py", "normalized_source_hash": "ae9c464b502df7e35c6364054b1f582fd42ecb677251cf806875348d72310e3c", "raw...
{ "artifact_hash": "1eb113f5615df83f4500c395c01b9a772bdc3718f9e5c0a6eb87aeaf5b26860a", "normalized_source_hash": "ae9c464b502df7e35c6364054b1f582fd42ecb677251cf806875348d72310e3c", "raw_source_hash": "bca478865080f523f7a6a7f35b1b6583776288d6008388b7d0bc3138c305cae0", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 setup 从 setuptools. 调用 setup 用 name 设为 "evopy", version 设为 "0.2.2", description 设为 "Evolutionary Strategies made simple", url 设为 "http://github.com/evopy/evopy", author 设为 "evopy", author_email 设为 "<EMAIL>", license 设为 "MIT", packages 设为 列表 ["evopy", "evopy.utils"], long_description 设为 ((open 用 "README.md") 点 read 不...
from setuptools import setup setup(name='evopy', version='0.2.2', description='Evolutionary Strategies made simple', url='http://github.com/evopy/evopy', author='evopy', author_email='<EMAIL>', license='MIT', packages=[ 'evopy', 'evopy.utils', ], ...
true
true
true
null
ae9c464b502df7e35c6364054b1f582fd42ecb677251cf806875348d72310e3c
648
648
83
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.645286+00:00
en,es,fr,zh
true
ae9c464b502df7e35c6364054b1f582fd42ecb677251cf806875348d72310e3c
{ "v2_row_index": 83, "v2_source_sha256": "ae9c464b502df7e35c6364054b1f582fd42ecb677251cf806875348d72310e3c" }
ok
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
# Licensed como the Apache Software Foundation (ASF) under one # o more contributor license agreements. See the NOTICE file # distributed con this work for additional information # regarding copyright ownership. The ASF licenses this file # como you under the Apache License, Version 2.0 (the # "License"); you may no ...
# Licensed à the Apache Software Foundation (ASF) under one # ou more contributor license agreements. See the NOTICE file # distributed avec this work for additional information # regarding copyright ownership. The ASF licenses this file # à you under the Apache License, Version 2.0 (the # "License"); you may non use...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
true
true
true
{ "artifact_hash": "bb1e44e68219d664e32f9344f26ce6e400c0eb9724845f60fdeab291e3fabc8f", "id": "1737358", "max_stars_count": 0, "max_stars_repo_name": "ideax-business/ai-flow", "max_stars_repo_path": "ai_flow/test/cli/commands/test_job_command.py", "normalized_source_hash": "3f657a27aa3b5284b2940dcc4da73c5fa2...
{ "artifact_hash": "bb1e44e68219d664e32f9344f26ce6e400c0eb9724845f60fdeab291e3fabc8f", "normalized_source_hash": "3f657a27aa3b5284b2940dcc4da73c5fa2e4a11fcf3b7f08d8ea1c864b5f40e3", "raw_source_hash": "e6a82c6ebfc1f9658d4902b617e2b7e140277145187a7fd1a6fc0cd6f936b6fa", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# Licensed 为 the Apache Software Foundation (ASF) under one # 或者 more contributor license agreements. See the NOTICE file # distributed 用 this work for additional information # regarding copyright ownership. The ASF licenses this file # 为 you under the Apache License, Version 2.0 (the # "License"); you may 不 use this...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
true
true
true
null
3f657a27aa3b5284b2940dcc4da73c5fa2e4a11fcf3b7f08d8ea1c864b5f40e3
2,918
2,918
84
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.697001+00:00
en,es,fr,zh
true
3f657a27aa3b5284b2940dcc4da73c5fa2e4a11fcf3b7f08d8ea1c864b5f40e3
{ "v2_row_index": 84, "v2_source_sha256": "3f657a27aa3b5284b2940dcc4da73c5fa2e4a11fcf3b7f08d8ea1c864b5f40e3" }
ok
''' Configuration data module ''' import os class Config: ''' Main configuration class This class contains all needed configuration for this library ''' def __init__(self, config=None): ''' Config constructor :type config: dict or None :param config: A configurati...
Text block: "" "Configuration data module" ending with a newline. Load os. Define class Config: Text block: "" " Main configuration class" "" " This class contains all needed configuration for this library" " ". Define method __init__ with parameters self, config (default: None): ...
Texto literal: "" "Configuration data module" terminando con una nueva línea. Importar os. Definir clase Config: Texto literal: "" " Main configuration class" "" " This class contains all needed configuration for this library" " ". Definir método __init__ con parámetros self, config...
Texte littéral: "" "Configuration data module" se terminant par une nouvelle ligne. Charger os. Définir classe Config: Texte littéral: "" " Main configuration class" "" " This class contains all needed configuration for this library" " ". Définir méthode __init__ avec paramètres sel...
""" Configuration data module """ import os class Config: """ Main configuration class This class contains all needed configuration for this library """ def __init__(self, config=None): """ Config constructor :type config: dict or None :param config: A configurati...
true
true
true
{ "artifact_hash": "c640f23bec9b9be77c80e8e1981e8db8ff4807827953873ab52b44238c59e9fb", "id": "1737361", "max_stars_count": 0, "max_stars_repo_name": "marianoleonardo/dojot-module-python", "max_stars_repo_path": "dojot/module/config.py", "normalized_source_hash": "1cca391656a805cf4160f195252586491fbdaa322fdd...
{ "artifact_hash": "c640f23bec9b9be77c80e8e1981e8db8ff4807827953873ab52b44238c59e9fb", "normalized_source_hash": "1cca391656a805cf4160f195252586491fbdaa322fddbd282015a30dc93c0946", "raw_source_hash": "e09d16b695f2fb44e01aa99eb46e7c5f5d642f135022e7c6d499b47a52d38257", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
文本块: "" "Configuration data module" 以换行结束. 导入 os. 定义类 Config: 文本块: "" " Main configuration class" "" " This class contains all needed configuration for this library" " ". 定义方法 __init__ 参数为 self, config (默认: None): 文本块: "" " Config constructor" ...
''' Configuration data module ''' import os class Config: ''' Main configuration class This class contains all needed configuration for this library ''' def __init__(self, config=None): ''' Config constructor :type config: dict or None :param config: A configurati...
true
true
true
null
1cca391656a805cf4160f195252586491fbdaa322fddbd282015a30dc93c0946
11,304
11,304
85
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.721236+00:00
en,es,fr,zh
true
1cca391656a805cf4160f195252586491fbdaa322fddbd282015a30dc93c0946
{ "v2_row_index": 85, "v2_source_sha256": "1cca391656a805cf4160f195252586491fbdaa322fddbd282015a30dc93c0946" }
ok
import setuptools with open("README.md", "r") as fh: long_description = fh.read() def _requires_from_file(filename): return open(filename, encoding="utf8").read().splitlines() packages = [ "discord_api_http" ] extras = { "speed": [ "ujson>=1.35", "uvloop>=0.5.3" ] } setuptools.s...
Load setuptools. With (open with "README.md" and "r") bound as fh: Set long_description to fh dot read with no values. Define function _requires_from_file with parameter filename: Return ((open with filename and encoding set to "utf8") dot read with no values) dot splitlines with no values. Set packages to the ...
Importar setuptools. Con (open con "README.md" y también "r") como fh: Establecer long_description como fh punto read sin argumentos. Definir función _requires_from_file con parámetro filename: Devolver ((open con filename y también encoding establecido a "utf8") punto read sin argumentos) punto splitlines sin ...
Charger setuptools. Avec (open avec "README.md" et "r") lié comme fh: Affecter long_description à fh point de read sans arguments. Définir fonction _requires_from_file avec paramètre filename: Retourner ((open avec filename et encoding défini à "utf8") point de read sans arguments) point de splitlines sans argu...
import setuptools with open('README.md', 'r') as fh: long_description = fh.read() def _requires_from_file(filename): return open(filename, encoding='utf8').read().splitlines() packages = ['discord_api_http'] extras = {'speed': ['ujson>=1.35', 'uvloop>=0.5.3']} setuptools.setup(project_urls={'Documentation': 'h...
true
true
true
{ "artifact_hash": "c4c5072a16d6c6abbcac26c0c63df00a7e4d8740916b531b66936caf1fa1fa3e", "id": "1737363", "max_stars_count": 0, "max_stars_repo_name": "discord-api-py-org/discord-api-http", "max_stars_repo_path": "setup.py", "normalized_source_hash": "0e2e9111bcf360cab789562c49b0d657b4e997fea9fe147f6f9fc2e636...
{ "artifact_hash": "c4c5072a16d6c6abbcac26c0c63df00a7e4d8740916b531b66936caf1fa1fa3e", "normalized_source_hash": "0e2e9111bcf360cab789562c49b0d657b4e997fea9fe147f6f9fc2e636028f1f", "raw_source_hash": "37978ef9e6d99d29ebefa1aca5ba5c537b71bee8ea52cda990c949de1d369a4d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 setuptools. 使用 (open 用 "README.md" 并且 "r") 绑定为 fh: 设 long_description 为 fh 点 read 不带参数. 定义函数 _requires_from_file 参数为 filename: 返回 ((open 用 filename 并且 encoding 设为 "utf8") 点 read 不带参数) 点 splitlines 不带参数. 设 packages 为 列表 ["discord_api_http"]. 设 extras 为 字典 {`speed` 设为 列表 ["ujson>=1.35", "uvloop>=0.5.3"]}. 调用 s...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() def _requires_from_file(filename): return open(filename, encoding="utf8").read().splitlines() packages = [ "discord_api_http" ] extras = { "speed": [ "ujson>=1.35", "uvloop>=0.5.3" ] } setuptools.s...
true
true
true
null
0e2e9111bcf360cab789562c49b0d657b4e997fea9fe147f6f9fc2e636028f1f
1,007
1,007
86
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.801060+00:00
en,es,fr,zh
true
0e2e9111bcf360cab789562c49b0d657b4e997fea9fe147f6f9fc2e636028f1f
{ "v2_row_index": 86, "v2_source_sha256": "0e2e9111bcf360cab789562c49b0d657b4e997fea9fe147f6f9fc2e636028f1f" }
ok
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2014-2021, <NAME> <EMAIL> # pylint: disable=too-many-lines """ Test the project functionality """ i...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2014-2021, <NAME> <EMAIL> # pylint: disable=too-many-lines Text block: "" "Test the project functionali...
# This Source Code Form es subject como the terms de the Mozilla Public # License, v. 2.0. Si a copy de the MPL was no distributed con this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2014-2021, <NAME> <EMAIL> # pylint: disable=too-many-lines Texto literal: "" "Test the project function...
# This Source Code Form est subject à the terms de the Mozilla Public # License, v. 2.0. Si a copy de the MPL was non distributed avec this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2014-2021, <NAME> <EMAIL> # pylint: disable=too-many-lines Texte littéral: "" "Test the project functio...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2014-2021, <NAME> <EMAIL> # pylint: disable=too-many-lines """ Test the project functionality """ impor...
true
true
true
{ "artifact_hash": "a94bd6b706b609b9cca0bf9ca76cc8f0d6cdf4f2d5048a58ffa48cbf169c829f", "id": "1737369", "max_stars_count": 507, "max_stars_repo_name": "smenzel/vunit", "max_stars_repo_path": "tests/unit/test_project.py", "normalized_source_hash": "921e7853acec9e3c9cf096a372a884faec51474eabdbe0a64d6d78d9e42f...
{ "artifact_hash": "a94bd6b706b609b9cca0bf9ca76cc8f0d6cdf4f2d5048a58ffa48cbf169c829f", "normalized_source_hash": "921e7853acec9e3c9cf096a372a884faec51474eabdbe0a64d6d78d9e42fce65", "raw_source_hash": "49ef3e29c750e001e1c825721e7d27bbf3566de45000db65e2c3b1813cdd23a6", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# This Source Code Form 是 subject 为 the terms 的 the Mozilla Public # License, v. 2.0. 如果 a copy 的 the MPL was 不 distributed 用 this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2014-2021, <NAME> <EMAIL> # pylint: disable=too-many-lines 文本块: "" "Test the project functionality" 以换行结束. 导入 un...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. # # Copyright (c) 2014-2021, <NAME> <EMAIL> # pylint: disable=too-many-lines """ Test the project functionality """ i...
true
true
true
null
921e7853acec9e3c9cf096a372a884faec51474eabdbe0a64d6d78d9e42fce65
58,039
58,039
87
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:45:59.927464+00:00
en,es,fr,zh
true
921e7853acec9e3c9cf096a372a884faec51474eabdbe0a64d6d78d9e42fce65
{ "v2_row_index": 87, "v2_source_sha256": "921e7853acec9e3c9cf096a372a884faec51474eabdbe0a64d6d78d9e42fce65" }
ok
""" Profile ../profile-datasets-py/div52_zen30deg/031.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div52_zen30deg/031.py" self["Q"] = numpy.array([ 1.60776800e+00, 1.60776800e+00, 1.60776800e+00, 3.02070400e+00, 2.56067400e+00, 3.25530900e+0...
Text block: "" " Profile ../profile-datasets-py/div52_zen30deg/031.py" " file automaticaly created by prof_gen.py script" ending with a newline. Set item with key "ID" of self to "../profile-datasets-py/div52_zen30deg/031.py". Set item with key "Q" of self to numpy dot array with the list [ 1.607768, 1.607768...
Texto literal: "" " Profile ../profile-datasets-py/div52_zen30deg/031.py" " file automaticaly created by prof_gen.py script" terminando con una nueva línea. Establecer elemento con clave "ID" de self como "../profile-datasets-py/div52_zen30deg/031.py". Establecer elemento con clave "Q" de self como numpy punt...
Texte littéral: "" " Profile ../profile-datasets-py/div52_zen30deg/031.py" " file automaticaly created by prof_gen.py script" se terminant par une nouvelle ligne. Affecter élément avec clé "ID" de self à "../profile-datasets-py/div52_zen30deg/031.py". Affecter élément avec clé "Q" de self à numpy point de arr...
""" Profile ../profile-datasets-py/div52_zen30deg/031.py file automaticaly created by prof_gen.py script """ self['ID'] = '../profile-datasets-py/div52_zen30deg/031.py' self['Q'] = numpy.array([1.607768, 1.607768, 1.607768, 3.020704, 2.560674, 3.255309, 3.275889, 5.453732, 3.897418, 4.874424, 3.507841, 4.68...
true
true
true
{ "artifact_hash": "a9a2de258a378094976be9b6bd248c71ca5a2b85d40ecef60770606587a0e0a5", "id": "1737370", "max_stars_count": 0, "max_stars_repo_name": "bucricket/projectMAScorrection", "max_stars_repo_path": "source/rttov_test/profile-datasets-py/div52_zen30deg/031.py", "normalized_source_hash": "96e3e0c1ab4a...
{ "artifact_hash": "a9a2de258a378094976be9b6bd248c71ca5a2b85d40ecef60770606587a0e0a5", "normalized_source_hash": "96e3e0c1ab4afc8d4068c99bac2acb1af1f83d499e170c36410d35bac2810752", "raw_source_hash": "06dbfcc9d794cec0ccfe5e2df33fb93b9f9321aae0ad53f53af908895a7c3c70", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
文本块: "" " Profile ../profile-datasets-py/div52_zen30deg/031.py" " file automaticaly created by prof_gen.py script" 以换行结束. 设 键为以下内容的项 "ID" 的 self 为 "../profile-datasets-py/div52_zen30deg/031.py". 设 键为以下内容的项 "Q" 的 self 为 numpy 点 array 用 列表 [ 1.607768, 1.607768, 1.607768, 3.020704, 2.560674, 3.255309, 3.275889, ...
""" Profile ../profile-datasets-py/div52_zen30deg/031.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div52_zen30deg/031.py" self["Q"] = numpy.array([ 1.60776800e+00, 1.60776800e+00, 1.60776800e+00, 3.02070400e+00, 2.56067400e+00, 3.25530900e+0...
true
true
true
null
96e3e0c1ab4afc8d4068c99bac2acb1af1f83d499e170c36410d35bac2810752
9,025
9,025
88
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:00.185749+00:00
en,es,fr,zh
true
96e3e0c1ab4afc8d4068c99bac2acb1af1f83d499e170c36410d35bac2810752
{ "v2_row_index": 88, "v2_source_sha256": "96e3e0c1ab4afc8d4068c99bac2acb1af1f83d499e170c36410d35bac2810752" }
ok
from utils import * def get_path_length(G,path,attr='distance'): length=0 if len(path)>1: for i in range(len(path)-1): try: u=path[i] v=path[i+1] length+=G[u][v][attr] except KeyError: print((u,v,attr),'attrerror') ...
Load everything from utils. Define function get_path_length with parameters G, path, attr (default: "distance"): Set length to 0. If len with path is greater than 1: For each i in the range starting at 0 and stopping before (len with path) minus 1: Attempt the following: Set ...
Importar todo desde utils. Definir función get_path_length con parámetros G, path, attr (predeterminado: "distance"): Establecer length como 0. Si len con path es mayor que 1: Para cada i en el rango que comienza en 0 y también deteniéndose antes de (len con path) menos 1: Intentar lo siguie...
Charger tout depuis utils. Définir fonction get_path_length avec paramètres G, path, attr (par défaut: "distance"): Affecter length à 0. Si len avec path est supérieur à 1: Pour chaque i dans la plage commençant à 0 et s'arrêtant avant (len avec path) moins 1: Essayer ce qui suit: ...
from utils import * def get_path_length(G, path, attr='distance'): length = 0 if len(path) > 1: for i in range(len(path) - 1): try: u = path[i] v = path[i + 1] length += G[u][v][attr] except KeyError: print((u, v, a...
true
true
true
{ "artifact_hash": "652c81221c6557f917835991bf191c4b33e874c4645c7e1a0c38dd68490bfb4f", "id": "1737375", "max_stars_count": 0, "max_stars_repo_name": "Lucasftc/Social-Network", "max_stars_repo_path": "short_path.py", "normalized_source_hash": "c8a9010ccb4c90243fcc377d4d4430597c85be58abf8f75d5cd51acfe2fb8481"...
{ "artifact_hash": "652c81221c6557f917835991bf191c4b33e874c4645c7e1a0c38dd68490bfb4f", "normalized_source_hash": "c8a9010ccb4c90243fcc377d4d4430597c85be58abf8f75d5cd51acfe2fb8481", "raw_source_hash": "917d5605ef7ea899db80baee2b3cca0fd63671e0b33bea23ce4a469cc2fddd5b", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
从以下内容导入全部 utils. 定义函数 get_path_length 参数为 G, path, attr (默认: "distance"): 设 length 为 0. 如果 len 用 path 大于 1: 对于每个 i 在 范围,从以下位置开始 0 并且 在以下位置之前停止 (len 用 path) 减去 1: 尝试以下内容: 设 u 为 元素 i 的 path. 设 v 为 元素 i 加上 1 的 path. 增加 length 按 元素 attr 的 (元素 v 的 (...
from utils import * def get_path_length(G,path,attr='distance'): length=0 if len(path)>1: for i in range(len(path)-1): try: u=path[i] v=path[i+1] length+=G[u][v][attr] except KeyError: print((u,v,attr),'attrerror') ...
true
true
true
null
c8a9010ccb4c90243fcc377d4d4430597c85be58abf8f75d5cd51acfe2fb8481
3,446
3,446
89
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:00.316290+00:00
en,es,fr,zh
true
c8a9010ccb4c90243fcc377d4d4430597c85be58abf8f75d5cd51acfe2fb8481
{ "v2_row_index": 89, "v2_source_sha256": "c8a9010ccb4c90243fcc377d4d4430597c85be58abf8f75d5cd51acfe2fb8481" }
ok
import os import re import time import json import stat import email import Queue import struct import socket import logging import binascii import datetime import mimetypes import threading import numpy as np import tornado.web import tornado.ioloop import tornado.httpserver from tornado import websocket from tornado...
Load os. Load re. Load time. Load json. Load stat. Load email. Load Queue. Load struct. Load socket. Load logging. Load binascii. Load datetime. Load mimetypes. Load threading. Load numpy, referred to as np. Load tornado.web. Load tornado.ioloop. Load tornado.httpserver. Load websocket from tornado. Load HTTPError from...
Importar os. Importar re. Importar time. Importar json. Importar stat. Importar email. Importar Queue. Importar struct. Importar socket. Importar logging. Importar binascii. Importar datetime. Importar mimetypes. Importar threading. Importar numpy, referido como np. Importar tornado.web. Importar tornado.ioloop. Import...
Charger os. Charger re. Charger time. Charger json. Charger stat. Charger email. Charger Queue. Charger struct. Charger socket. Charger logging. Charger binascii. Charger datetime. Charger mimetypes. Charger threading. Charger numpy, référé comme np. Charger tornado.web. Charger tornado.ioloop. Charger tornado.httpserv...
import os import re import time import json import stat import email import Queue import struct import socket import logging import binascii import datetime import mimetypes import threading import numpy as np import tornado.web import tornado.ioloop import tornado.httpserver from tornado import websocket from tornado....
true
true
true
{ "artifact_hash": "8a80a39563b527d142a0292d0e02a50a49804f07928fcacb7be7a44ab474df8c", "id": "1737377", "max_stars_count": 1, "max_stars_repo_name": "pulkitag/pycortex", "max_stars_repo_path": "cortex/webgl/serve.py", "normalized_source_hash": "c6bd77eae47be3917ce07ab1386d3a42639ff5c79a6112beb92b4c752fde64f...
{ "artifact_hash": "8a80a39563b527d142a0292d0e02a50a49804f07928fcacb7be7a44ab474df8c", "normalized_source_hash": "c6bd77eae47be3917ce07ab1386d3a42639ff5c79a6112beb92b4c752fde64f8", "raw_source_hash": "4d2a7453c2b70040355cd44cf28d9784f2961e0e2403ab9dadea26177331e0d7", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 os. 导入 re. 导入 time. 导入 json. 导入 stat. 导入 email. 导入 Queue. 导入 struct. 导入 socket. 导入 logging. 导入 binascii. 导入 datetime. 导入 mimetypes. 导入 threading. 导入 numpy, 别名为 np. 导入 tornado 点 web. 导入 tornado 点 ioloop. 导入 tornado 点 httpserver. 导入 websocket 从 tornado. 导入 HTTPError 从 tornado 点 web. 设 cwd 为 元素 0 的 (os 点 path 点 split 用...
import os import re import time import json import stat import email import Queue import struct import socket import logging import binascii import datetime import mimetypes import threading import numpy as np import tornado.web import tornado.ioloop import tornado.httpserver from tornado import websocket from tornado...
true
true
true
null
c6bd77eae47be3917ce07ab1386d3a42639ff5c79a6112beb92b4c752fde64f8
5,020
5,020
90
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:00.867106+00:00
en,es,fr,zh
true
c6bd77eae47be3917ce07ab1386d3a42639ff5c79a6112beb92b4c752fde64f8
{ "v2_row_index": 90, "v2_source_sha256": "c6bd77eae47be3917ce07ab1386d3a42639ff5c79a6112beb92b4c752fde64f8" }
ok
from Experiments import test_knapsack_qptl, test_knapsack_qptl_unit """ QPTL knapsack experiments Dependencies gcc/8.3.0 openmpi/3.1.4 python/3.7.4 scikit-learn/0.23.1-python-3.7.4 gurobi/9.0.0 numpy/1.17.3-python-3.7.4 matplotlib/3.2.1-python-3.7.4 torch 1.0.0 """ capacities = [12,24,48,72,96,120,144,172,196,220] kfo...
Load test_knapsack_qptl, test_knapsack_qptl_unit from Experiments. Text block: "" "QPTL knapsack experiments" "Dependencies" "gcc/8.3.0" "openmpi/3.1.4" "python/3.7.4" "scikit-learn/0.23.1-python-3.7.4" "gurobi/9.0.0" "numpy/1.17.3-python-3.7.4" "matplotlib/3.2.1-python-3.7.4" "torch 1.0.0" "" ending with a newline. Se...
Importar test_knapsack_qptl, test_knapsack_qptl_unit desde Experiments. Texto literal: "" "QPTL knapsack experiments" "Dependencies" "gcc/8.3.0" "openmpi/3.1.4" "python/3.7.4" "scikit-learn/0.23.1-python-3.7.4" "gurobi/9.0.0" "numpy/1.17.3-python-3.7.4" "matplotlib/3.2.1-python-3.7.4" "torch 1.0.0" "" terminando con un...
Charger test_knapsack_qptl, test_knapsack_qptl_unit depuis Experiments. Texte littéral: "" "QPTL knapsack experiments" "Dependencies" "gcc/8.3.0" "openmpi/3.1.4" "python/3.7.4" "scikit-learn/0.23.1-python-3.7.4" "gurobi/9.0.0" "numpy/1.17.3-python-3.7.4" "matplotlib/3.2.1-python-3.7.4" "torch 1.0.0" "" se terminant par...
from Experiments import test_knapsack_qptl, test_knapsack_qptl_unit '\nQPTL knapsack experiments\nDependencies\ngcc/8.3.0\nopenmpi/3.1.4\npython/3.7.4\nscikit-learn/0.23.1-python-3.7.4\ngurobi/9.0.0\nnumpy/1.17.3-python-3.7.4\nmatplotlib/3.2.1-python-3.7.4\ntorch 1.0.0\n\n' capacities = [12, 24, 48, 72, 96, 120, 144, 1...
true
true
true
{ "artifact_hash": "f0542a7a5dc55ea50a5ee3c46a04224820b3fac95edd236a3e746557bcebd77b", "id": "1737379", "max_stars_count": 0, "max_stars_repo_name": "Patyrn/Divide-and-Learn", "max_stars_repo_path": "knap_qptl.py", "normalized_source_hash": "9e88e18c28d4e2277bd5bc6156bc0633919acf3bb74dd91b6e2898ca012c3985",...
{ "artifact_hash": "f0542a7a5dc55ea50a5ee3c46a04224820b3fac95edd236a3e746557bcebd77b", "normalized_source_hash": "9e88e18c28d4e2277bd5bc6156bc0633919acf3bb74dd91b6e2898ca012c3985", "raw_source_hash": "7f37e1da1aef0abc9dde4eb492a074580920647840e1df7521498aa9bf25f75d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 test_knapsack_qptl, test_knapsack_qptl_unit 从 Experiments. 文本块: "" "QPTL knapsack experiments" "Dependencies" "gcc/8.3.0" "openmpi/3.1.4" "python/3.7.4" "scikit-learn/0.23.1-python-3.7.4" "gurobi/9.0.0" "numpy/1.17.3-python-3.7.4" "matplotlib/3.2.1-python-3.7.4" "torch 1.0.0" "" 以换行结束. 设 capacities 为 列表 [ 12, 24, 48...
from Experiments import test_knapsack_qptl, test_knapsack_qptl_unit """ QPTL knapsack experiments Dependencies gcc/8.3.0 openmpi/3.1.4 python/3.7.4 scikit-learn/0.23.1-python-3.7.4 gurobi/9.0.0 numpy/1.17.3-python-3.7.4 matplotlib/3.2.1-python-3.7.4 torch 1.0.0 """ capacities = [12,24,48,72,96,120,144,172,196,220] kfo...
true
true
true
null
9e88e18c28d4e2277bd5bc6156bc0633919acf3bb74dd91b6e2898ca012c3985
855
855
91
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.013372+00:00
en,es,fr,zh
true
9e88e18c28d4e2277bd5bc6156bc0633919acf3bb74dd91b6e2898ca012c3985
{ "v2_row_index": 91, "v2_source_sha256": "9e88e18c28d4e2277bd5bc6156bc0633919acf3bb74dd91b6e2898ca012c3985" }
ok
from ..Models import Base from sqlalchemy import Column, Integer, Sequence, String, DateTime, func, ForeignKey from sqlalchemy.dialects.mysql import TINYINT from sqlalchemy.inspection import inspect from sqlalchemy.orm import relationship class Photos(Base): __tablename__ = 'Photos' Id = Column(Integer, Seque...
Load Base from the parent package.Models. Load Column, Integer, Sequence, String, DateTime, func, ForeignKey from sqlalchemy. Load TINYINT from sqlalchemy.dialects.mysql. Load inspect from sqlalchemy.inspection. Load relationship from sqlalchemy.orm. Define class Photos inheriting from Base: Set __tablename__ to "P...
Importar Base desde el paquete padre.Models. Importar Column, Integer, Sequence, String, DateTime, func, ForeignKey desde sqlalchemy. Importar TINYINT desde sqlalchemy.dialects.mysql. Importar inspect desde sqlalchemy.inspection. Importar relationship desde sqlalchemy.orm. Definir clase Photos heredando de Base: Es...
Charger Base depuis le paquet parent.Models. Charger Column, Integer, Sequence, String, DateTime, func, ForeignKey depuis sqlalchemy. Charger TINYINT depuis sqlalchemy.dialects.mysql. Charger inspect depuis sqlalchemy.inspection. Charger relationship depuis sqlalchemy.orm. Définir classe Photos héritant de Base: Af...
from ..Models import Base from sqlalchemy import Column, Integer, Sequence, String, DateTime, func, ForeignKey from sqlalchemy.dialects.mysql import TINYINT from sqlalchemy.inspection import inspect from sqlalchemy.orm import relationship class Photos(Base): __tablename__ = 'Photos' Id = Column(Integer, Sequen...
true
true
true
{ "artifact_hash": "35eee19846240e86fdd93e0c963dbdcee0807a448b45e6787a90bacf5da2642e", "id": "1737380", "max_stars_count": 15, "max_stars_repo_name": "NaturalSolutions/ecoReleve-Data", "max_stars_repo_path": "Back/ecoreleve_server/Models/Media.py", "normalized_source_hash": "391610e5f9aaf0b8779987b8e8bab6d9...
{ "artifact_hash": "35eee19846240e86fdd93e0c963dbdcee0807a448b45e6787a90bacf5da2642e", "normalized_source_hash": "391610e5f9aaf0b8779987b8e8bab6d9f15957d12a25c14d0c3ae1fd59cd4507", "raw_source_hash": "bd0a46d1c944823874abfb2351b6b020dc1d16afdd45d081fb566feee7104021", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 Base 从父包 点 Models. 导入 Column, Integer, Sequence, String, DateTime, func, ForeignKey 从 sqlalchemy. 导入 TINYINT 从 sqlalchemy 点 dialects 点 mysql. 导入 inspect 从 sqlalchemy 点 inspection. 导入 relationship 从 sqlalchemy 点 orm. 定义类 Photos 继承自 Base: 设 __tablename__ 为 "Photos". 设 Id 为 Column 用 Integer, (Sequence 用 "Photos...
from ..Models import Base from sqlalchemy import Column, Integer, Sequence, String, DateTime, func, ForeignKey from sqlalchemy.dialects.mysql import TINYINT from sqlalchemy.inspection import inspect from sqlalchemy.orm import relationship class Photos(Base): __tablename__ = 'Photos' Id = Column(Integer, Seque...
true
true
true
null
391610e5f9aaf0b8779987b8e8bab6d9f15957d12a25c14d0c3ae1fd59cd4507
1,417
1,417
92
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.131159+00:00
en,es,fr,zh
true
391610e5f9aaf0b8779987b8e8bab6d9f15957d12a25c14d0c3ae1fd59cd4507
{ "v2_row_index": 92, "v2_source_sha256": "391610e5f9aaf0b8779987b8e8bab6d9f15957d12a25c14d0c3ae1fd59cd4507" }
ok
import unittest import zserio from testutils import getZserioApi class EnumParamChoiceTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.api = getZserioApi(__file__, "choice_types.zs").enum_param_choice def testSelectorConstructor(self): selector = self.api.Selector.BLACK ...
Load unittest. Load zserio. Load getZserioApi from testutils. Define class EnumParamChoiceTest inheriting from unittest.TestCase: Apply classmethod to the following: Define method setUpClass with parameter cls: Set cls dot api to (getZserioApi with __file__ and "choice_types.zs") dot enum_param_...
Importar unittest. Importar zserio. Importar getZserioApi desde testutils. Definir clase EnumParamChoiceTest heredando de unittest.TestCase: Aplicar classmethod a lo siguiente: Definir método setUpClass con parámetro cls: Establecer cls punto api como (getZserioApi con __file__ y también "choice...
Charger unittest. Charger zserio. Charger getZserioApi depuis testutils. Définir classe EnumParamChoiceTest héritant de unittest.TestCase: Appliquer classmethod à ce qui suit: Définir méthode setUpClass avec paramètre cls: Affecter cls point de api à (getZserioApi avec __file__ et "choice_types....
import unittest import zserio from testutils import getZserioApi class EnumParamChoiceTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.api = getZserioApi(__file__, 'choice_types.zs').enum_param_choice def testSelectorConstructor(self): selector = self.api.Selector.BLACK ...
true
true
true
{ "artifact_hash": "952ac34c44d04eb6678b8575209fbb382a2c176fc0ae505d922a4a9cb12a4315", "id": "1737382", "max_stars_count": 2, "max_stars_repo_name": "PeachOS/zserio", "max_stars_repo_path": "test/language/choice_types/python/EnumParamChoiceTest.py", "normalized_source_hash": "8fd11f3586224c39d6c7543b89ca4e6...
{ "artifact_hash": "952ac34c44d04eb6678b8575209fbb382a2c176fc0ae505d922a4a9cb12a4315", "normalized_source_hash": "8fd11f3586224c39d6c7543b89ca4e66b51beca76d65280966b5d120ba9d0a9e", "raw_source_hash": "1db7bebc7695333a5ea6572bd072fad85bd04d719255ce26e74dcbff5873673d", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 unittest. 导入 zserio. 导入 getZserioApi 从 testutils. 定义类 EnumParamChoiceTest 继承自 unittest 点 TestCase: 用装饰器 classmethod: 定义方法 setUpClass 参数为 cls: 设 cls 点 api 为 (getZserioApi 用 __file__ 并且 "choice_types.zs") 点 enum_param_choice. 定义方法 testSelectorConstructor 参数为 self: 设 selector 为 self ...
import unittest import zserio from testutils import getZserioApi class EnumParamChoiceTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.api = getZserioApi(__file__, "choice_types.zs").enum_param_choice def testSelectorConstructor(self): selector = self.api.Selector.BLACK ...
true
true
true
null
8fd11f3586224c39d6c7543b89ca4e66b51beca76d65280966b5d120ba9d0a9e
6,119
6,119
93
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.182614+00:00
en,es,fr,zh
true
8fd11f3586224c39d6c7543b89ca4e66b51beca76d65280966b5d120ba9d0a9e
{ "v2_row_index": 93, "v2_source_sha256": "8fd11f3586224c39d6c7543b89ca4e66b51beca76d65280966b5d120ba9d0a9e" }
ok
"""Tests of early stopping.""" import unittest from typing import List import numpy import pytest import torch from torch.optim import Adam from pykeen.datasets import Nations from pykeen.evaluation import RankBasedEvaluator from pykeen.models import Model, TransE from pykeen.stoppers.early_stopping import EarlyStop...
Evaluate "Tests of early stopping.". Load unittest. Load List from typing. Load numpy. Load pytest. Load torch. Load Adam from torch.optim. Load Nations from pykeen.datasets. Load RankBasedEvaluator from pykeen.evaluation. Load Model, TransE from pykeen.models. Load EarlyStopper, is_improvement from pykeen.stoppers.ear...
Evaluar "Tests of early stopping.". Importar unittest. Importar List desde typing. Importar numpy. Importar pytest. Importar torch. Importar Adam desde torch.optim. Importar Nations desde pykeen.datasets. Importar RankBasedEvaluator desde pykeen.evaluation. Importar Model, TransE desde pykeen.models. Importar EarlyStop...
Évaluer "Tests of early stopping.". Charger unittest. Charger List depuis typing. Charger numpy. Charger pytest. Charger torch. Charger Adam depuis torch.optim. Charger Nations depuis pykeen.datasets. Charger RankBasedEvaluator depuis pykeen.evaluation. Charger Model, TransE depuis pykeen.models. Charger EarlyStopper, ...
"""Tests of early stopping.""" import unittest from typing import List import numpy import pytest import torch from torch.optim import Adam from pykeen.datasets import Nations from pykeen.evaluation import RankBasedEvaluator from pykeen.models import Model, TransE from pykeen.stoppers.early_stopping import EarlyStopper...
true
true
true
{ "artifact_hash": "0cca59622446415d78e529c0568e29f6ad1d598dfe46c632876a946a81999cc3", "id": "1737384", "max_stars_count": 0, "max_stars_repo_name": "Rodrigo-A-Pereira/pykeen", "max_stars_repo_path": "tests/test_early_stopping.py", "normalized_source_hash": "a763836fe798e1a9ced6c363e30f6b69cceeb386d2f88791c...
{ "artifact_hash": "0cca59622446415d78e529c0568e29f6ad1d598dfe46c632876a946a81999cc3", "normalized_source_hash": "a763836fe798e1a9ced6c363e30f6b69cceeb386d2f88791ce34c060ac284630", "raw_source_hash": "ac1df0d1710a6739d785e740252308484496ca095dddaaeb2e36bf13718b2e05", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
求值 "Tests of early stopping.". 导入 unittest. 导入 List 从 typing. 导入 numpy. 导入 pytest. 导入 torch. 导入 Adam 从 torch 点 optim. 导入 Nations 从 pykeen 点 datasets. 导入 RankBasedEvaluator 从 pykeen 点 evaluation. 导入 Model, TransE 从 pykeen 点 models. 导入 EarlyStopper, is_improvement 从 pykeen 点 stoppers 点 early_stopping. 导入 MLFlowResultTrac...
"""Tests of early stopping.""" import unittest from typing import List import numpy import pytest import torch from torch.optim import Adam from pykeen.datasets import Nations from pykeen.evaluation import RankBasedEvaluator from pykeen.models import Model, TransE from pykeen.stoppers.early_stopping import EarlyStop...
true
true
true
null
a763836fe798e1a9ced6c363e30f6b69cceeb386d2f88791ce34c060ac284630
7,667
7,667
94
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.505745+00:00
en,es,fr,zh
true
a763836fe798e1a9ced6c363e30f6b69cceeb386d2f88791ce34c060ac284630
{ "v2_row_index": 94, "v2_source_sha256": "a763836fe798e1a9ced6c363e30f6b69cceeb386d2f88791ce34c060ac284630" }
ok
""" Tools for loading datasets as Classification/SequenceLabelling Examples. """ import os import logging from collections import namedtuple from tqdm import tqdm from transformers import BasicTokenizer from utils import retokenize DATA_PATH = 'data/' ClassificationExample = namedtuple( 'ClassificationExample', ...
Evaluate " Tools for loading datasets as Classification/SequenceLabelling Examples. ". Load os. Load logging. Load namedtuple from collections. Load tqdm from tqdm. Load BasicTokenizer from transformers. Load retokenize from utils. Set DATA_PATH to "data/". Set ClassificationExample to namedtuple with "ClassificationEx...
Evaluar " Tools for loading datasets as Classification/SequenceLabelling Examples. ". Importar os. Importar logging. Importar namedtuple desde collections. Importar tqdm desde tqdm. Importar BasicTokenizer desde transformers. Importar retokenize desde utils. Establecer DATA_PATH como "data/". Establecer ClassificationE...
Évaluer " Tools for loading datasets as Classification/SequenceLabelling Examples. ". Charger os. Charger logging. Charger namedtuple depuis collections. Charger tqdm depuis tqdm. Charger BasicTokenizer depuis transformers. Charger retokenize depuis utils. Affecter DATA_PATH à "data/". Affecter ClassificationExample à ...
""" Tools for loading datasets as Classification/SequenceLabelling Examples. """ import os import logging from collections import namedtuple from tqdm import tqdm from transformers import BasicTokenizer from utils import retokenize DATA_PATH = 'data/' ClassificationExample = namedtuple('ClassificationExample', ['id', '...
true
true
true
{ "artifact_hash": "687601a9a729532dd4f4863b61dc0b4bb8dd6778254b8fc753c79ff4a2e0c42c", "id": "1737385", "max_stars_count": 4, "max_stars_repo_name": "helboukkouri/recital_2020", "max_stars_repo_path": "data.py", "normalized_source_hash": "b40d881411a1c5774e4977f648d902a8e69b8de7fe4bfcedd596167766baac95", ...
{ "artifact_hash": "687601a9a729532dd4f4863b61dc0b4bb8dd6778254b8fc753c79ff4a2e0c42c", "normalized_source_hash": "b40d881411a1c5774e4977f648d902a8e69b8de7fe4bfcedd596167766baac95", "raw_source_hash": "c8400482b582c01a8665e416dac6490d291d7532740dd4d5237365db701b3aa4", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
求值 " Tools for loading datasets as Classification/SequenceLabelling Examples. ". 导入 os. 导入 logging. 导入 namedtuple 从 collections. 导入 tqdm 从 tqdm. 导入 BasicTokenizer 从 transformers. 导入 retokenize 从 utils. 设 DATA_PATH 为 "data/". 设 ClassificationExample 为 namedtuple 用 "ClassificationExample" 并且 列表 [ "id", "tokens_a", "token...
""" Tools for loading datasets as Classification/SequenceLabelling Examples. """ import os import logging from collections import namedtuple from tqdm import tqdm from transformers import BasicTokenizer from utils import retokenize DATA_PATH = 'data/' ClassificationExample = namedtuple( 'ClassificationExample', ...
true
true
true
null
b40d881411a1c5774e4977f648d902a8e69b8de7fe4bfcedd596167766baac95
3,230
3,230
95
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.523528+00:00
en,es,fr,zh
true
b40d881411a1c5774e4977f648d902a8e69b8de7fe4bfcedd596167766baac95
{ "v2_row_index": 95, "v2_source_sha256": "b40d881411a1c5774e4977f648d902a8e69b8de7fe4bfcedd596167766baac95" }
ok
import os from multiprocessing import cpu_count site_name = '基于ORB的图像搜索引擎' # 网站标题 project_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) cpu_count = cpu_count() upload_image_path = os.path.join(project_path, 'static/uploads/') # 上传图片保存地址 dataset_db_path = os.path.join(project_path, 'stat...
Load os. Load cpu_count from multiprocessing. Set site_name to "\u57fa\u4e8eORB\u7684\u56fe\u50cf\u641c\u7d22\u5f15\u64ce". # 网站标题 Set project_path to os dot path dot abspath with (os dot path dot join with (os dot path dot dirname with __file__) and os dot pardir). Set cpu_count to cpu_count with no values. Set upload...
Importar os. Importar cpu_count desde multiprocessing. Establecer site_name como "\u57fa\u4e8eORB\u7684\u56fe\u50cf\u641c\u7d22\u5f15\u64ce". # 网站标题 Establecer project_path como os punto path punto abspath con (os punto path punto join con (os punto path punto dirname con __file__) y también os punto pardir). Establece...
Charger os. Charger cpu_count depuis multiprocessing. Affecter site_name à "\u57fa\u4e8eORB\u7684\u56fe\u50cf\u641c\u7d22\u5f15\u64ce". # 网站标题 Affecter project_path à os point de path point de abspath avec (os point de path point de join avec (os point de path point de dirname avec __file__) et os point de pardir). Aff...
import os from multiprocessing import cpu_count site_name = '基于ORB的图像搜索引擎' # 网站标题 project_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) cpu_count = cpu_count() upload_image_path = os.path.join(project_path, 'static/uploads/') # 上传图片保存地址 dataset_db_path = os.path.join(project_path, 'static...
true
true
true
{ "artifact_hash": "97ab1b9a6f105ea5d18afaf885a9c7e38e3d92590f21727711927cb82aca4af4", "id": "1737387", "max_stars_count": 53, "max_stars_repo_name": "zibuyu1995/ApplicationInImageProcessing", "max_stars_repo_path": "orb_image_search/config/config.py", "normalized_source_hash": "7bfcf7845156fbd1dd800b9b9866...
{ "artifact_hash": "97ab1b9a6f105ea5d18afaf885a9c7e38e3d92590f21727711927cb82aca4af4", "normalized_source_hash": "7bfcf7845156fbd1dd800b9b9866f2b6e6e7e54116000e338eb0343cf7f80939", "raw_source_hash": "fae36736fe85cc2b5890406b34d37721a4f9daf0e58d03e15c0fef45d4bf3717", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 os. 导入 cpu_count 从 multiprocessing. 设 site_name 为 "\u57fa\u4e8eORB\u7684\u56fe\u50cf\u641c\u7d22\u5f15\u64ce". # 网站标题 设 project_path 为 os 点 path 点 abspath 用 (os 点 path 点 join 用 (os 点 path 点 dirname 用 __file__) 并且 os 点 pardir). 设 cpu_count 为 cpu_count 不带参数. 设 upload_image_path 为 os 点 path 点 join 用 project_path 并且 "st...
import os from multiprocessing import cpu_count site_name = '基于ORB的图像搜索引擎' # 网站标题 project_path = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) cpu_count = cpu_count() upload_image_path = os.path.join(project_path, 'static/uploads/') # 上传图片保存地址 dataset_db_path = os.path.join(project_path, 'stat...
true
true
true
null
7bfcf7845156fbd1dd800b9b9866f2b6e6e7e54116000e338eb0343cf7f80939
646
826
96
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.787528+00:00
en,es,fr,zh
true
7bfcf7845156fbd1dd800b9b9866f2b6e6e7e54116000e338eb0343cf7f80939
{ "v2_row_index": 96, "v2_source_sha256": "7bfcf7845156fbd1dd800b9b9866f2b6e6e7e54116000e338eb0343cf7f80939" }
ok
#!/usr/bin/env python # Contributors: # <NAME> <<EMAIL>> # <NAME>: github.com/indera # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Copyright (c) 2014-2015, University of Florida # All rights reserved. # # Distributed under the BSD 3-Clause License #...
# !/usr/bin/env python # Contributors: # <NAME> <<EMAIL>> # <NAME>: github.com/indera # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Copyright (c) 2014-2015, University of Florida # All rights reserved. # # Distributed under the BSD 3-Clause License #...
# !/usr/bin/env python # Contributors: # <NAME> <<EMAIL>> # <NAME>: github.com/indera # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Copyright (c) 2014-2015, University de Florida # All rights reserved. # # Distributed under the BSD 3-Clause License #...
# !/usr/bin/env python # Contributors: # <NAME> <<EMAIL>> # <NAME>: github.com/indera # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Copyright (c) 2014-2015, University de Florida # All rights reserved. # # Distributed under the BSD 3-Clause License #...
# !/usr/bin/env python # Contributors: # <NAME> <<EMAIL>> # <NAME>: github.com/indera # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Copyright (c) 2014-2015, University of Florida # All rights reserved. # # Distributed under the BSD 3-Clause License #...
true
true
true
{ "artifact_hash": "0e4e9834f7779038fae6fe0f460d0bea80934f5f1ff37658b3f23889f61ce096", "id": "1737388", "max_stars_count": 7, "max_stars_repo_name": "nrejack/redi", "max_stars_repo_path": "test/TestUpdateEventName_KeepAllEvents.py", "normalized_source_hash": "856b2cbb17888c44e0bcd060cf52217beda6758cfb43bde6...
{ "artifact_hash": "0e4e9834f7779038fae6fe0f460d0bea80934f5f1ff37658b3f23889f61ce096", "normalized_source_hash": "856b2cbb17888c44e0bcd060cf52217beda6758cfb43bde6caa2fcf5db138b64", "raw_source_hash": "ad2a7c38d32c9403f2d90eaa3b6697475a5d6e3b673722427615fd6f52d0b2da", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
# !/usr/bin/env python # Contributors: # <NAME> <<EMAIL>> # <NAME>: github.com/indera # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Copyright (c) 2014-2015, University 的 Florida # All rights reserved. # # Distributed under the BSD 3-Clause License # ...
#!/usr/bin/env python # Contributors: # <NAME> <<EMAIL>> # <NAME>: github.com/indera # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # Copyright (c) 2014-2015, University of Florida # All rights reserved. # # Distributed under the BSD 3-Clause License #...
true
true
true
null
856b2cbb17888c44e0bcd060cf52217beda6758cfb43bde6caa2fcf5db138b64
15,383
15,383
97
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.905293+00:00
en,es,fr,zh
true
856b2cbb17888c44e0bcd060cf52217beda6758cfb43bde6caa2fcf5db138b64
{ "v2_row_index": 97, "v2_source_sha256": "856b2cbb17888c44e0bcd060cf52217beda6758cfb43bde6caa2fcf5db138b64" }
ok
from unittest import TestCase from x7.lib.annotations import tests from x7.testing import extended from x7.testing.extended import ExtendedMatcherImage from x7.testing.support import PicklerExtensionImage @tests(extended.ExtendedMatcher) class TestExtendedMatcher(TestCase): @tests(extended.ExtendedMatcher.__init_...
Load TestCase from unittest. Load tests from x7.lib.annotations. Load extended from x7.testing. Load ExtendedMatcherImage from x7.testing.extended. Load PicklerExtensionImage from x7.testing.support. Apply tests with extended dot ExtendedMatcher to the following: Define class TestExtendedMatcher inheriting from Tes...
Importar TestCase desde unittest. Importar tests desde x7.lib.annotations. Importar extended desde x7.testing. Importar ExtendedMatcherImage desde x7.testing.extended. Importar PicklerExtensionImage desde x7.testing.support. Aplicar tests con extended punto ExtendedMatcher a lo siguiente: Definir clase TestExtended...
Charger TestCase depuis unittest. Charger tests depuis x7.lib.annotations. Charger extended depuis x7.testing. Charger ExtendedMatcherImage depuis x7.testing.extended. Charger PicklerExtensionImage depuis x7.testing.support. Appliquer tests avec extended point de ExtendedMatcher à ce qui suit: Définir classe TestEx...
from unittest import TestCase from x7.lib.annotations import tests from x7.testing import extended from x7.testing.extended import ExtendedMatcherImage from x7.testing.support import PicklerExtensionImage @tests(extended.ExtendedMatcher) class TestExtendedMatcher(TestCase): @tests(extended.ExtendedMatcher.__init_...
true
true
true
{ "artifact_hash": "a0d8b8db178719ac5a48b719ba199062a2c8615c13a68a029d7fffe35660396e", "id": "1737389", "max_stars_count": 0, "max_stars_repo_name": "gribbg/x7-testing", "max_stars_repo_path": "tests/x7/testing/test_extended.py", "normalized_source_hash": "c837f6f7f1f426a26599943bd5c5df9ca8fdca0716896153f0d...
{ "artifact_hash": "a0d8b8db178719ac5a48b719ba199062a2c8615c13a68a029d7fffe35660396e", "normalized_source_hash": "c837f6f7f1f426a26599943bd5c5df9ca8fdca0716896153f0d7f7ef9dae82cc", "raw_source_hash": "e6a5c7714b550103ee47f6a61de7b6d90bc89589f39957d70f05d731bf0892b2", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 TestCase 从 unittest. 导入 tests 从 x7 点 lib 点 annotations. 导入 extended 从 x7 点 testing. 导入 ExtendedMatcherImage 从 x7 点 testing 点 extended. 导入 PicklerExtensionImage 从 x7 点 testing 点 support. 用装饰器 tests 用 extended 点 ExtendedMatcher: 定义类 TestExtendedMatcher 继承自 TestCase: 用装饰器 tests 用 extended 点 ExtendedMatcher ...
from unittest import TestCase from x7.lib.annotations import tests from x7.testing import extended from x7.testing.extended import ExtendedMatcherImage from x7.testing.support import PicklerExtensionImage @tests(extended.ExtendedMatcher) class TestExtendedMatcher(TestCase): @tests(extended.ExtendedMatcher.__init_...
true
true
true
null
c837f6f7f1f426a26599943bd5c5df9ca8fdca0716896153f0d7f7ef9dae82cc
5,868
5,868
98
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:01.919273+00:00
en,es,fr,zh
true
c837f6f7f1f426a26599943bd5c5df9ca8fdca0716896153f0d7f7ef9dae82cc
{ "v2_row_index": 98, "v2_source_sha256": "c837f6f7f1f426a26599943bd5c5df9ca8fdca0716896153f0d7f7ef9dae82cc" }
ok
from __future__ import unicode_literals from __future__ import print_function from __future__ import absolute_import from __future__ import division from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from django.utils import...
Load unicode_literals from __future__. Load print_function from __future__. Load absolute_import from __future__. Load division from __future__. Load models from django.db. Load python_2_unicode_compatible from django.utils.encoding. Load ugettext_lazy referred to as _ from django.utils.translation. Load six from djang...
Importar unicode_literals desde __future__. Importar print_function desde __future__. Importar absolute_import desde __future__. Importar division desde __future__. Importar models desde django.db. Importar python_2_unicode_compatible desde django.utils.encoding. Importar ugettext_lazy referido como _ desde django.util...
Charger unicode_literals depuis __future__. Charger print_function depuis __future__. Charger absolute_import depuis __future__. Charger division depuis __future__. Charger models depuis django.db. Charger python_2_unicode_compatible depuis django.utils.encoding. Charger ugettext_lazy référé comme _ depuis django.utils...
from __future__ import unicode_literals from __future__ import print_function from __future__ import absolute_import from __future__ import division from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from django.utils impor...
true
true
true
{ "artifact_hash": "8cbe04c6780449ef801960893fde3f5a4b60134860abf8b2b74a5eaa0e963e62", "id": "1737392", "max_stars_count": 0, "max_stars_repo_name": "marazmiki/django-onpay", "max_stars_repo_path": "onpay/models.py", "normalized_source_hash": "5845a90cc9f8b63dd4f1f5b8a2f7c4fadf5b0e06ebfbecd5d3544bf5191539cb...
{ "artifact_hash": "8cbe04c6780449ef801960893fde3f5a4b60134860abf8b2b74a5eaa0e963e62", "normalized_source_hash": "5845a90cc9f8b63dd4f1f5b8a2f7c4fadf5b0e06ebfbecd5d3544bf5191539cb", "raw_source_hash": "fd7e19e5f06f5c3ceafa23e32ec7e677a760d39d947db05656d0ac6d89c2f6ec", "runtime_signature_pair_hash": null, "sour...
cuarzo-100k-v1
cuarzo-100k-v2-cleaned
导入 unicode_literals 从 __future__. 导入 print_function 从 __future__. 导入 absolute_import 从 __future__. 导入 division 从 __future__. 导入 models 从 django 点 db. 导入 python_2_unicode_compatible 从 django 点 utils 点 encoding. 导入 ugettext_lazy 别名为 _ 从 django 点 utils 点 translation. 导入 six 从 django 点 utils. 导入 settings 从 onpay. 导入 order_...
from __future__ import unicode_literals from __future__ import print_function from __future__ import absolute_import from __future__ import division from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from django.utils import...
true
true
true
null
5845a90cc9f8b63dd4f1f5b8a2f7c4fadf5b0e06ebfbecd5d3544bf5191539cb
6,586
6,586
99
PcDemo2-cpp-runtime-cleanup-round1048-full copy 3.zip
sharded_spawn
2026-05-07T09:46:02.110272+00:00
en,es,fr,zh
true
5845a90cc9f8b63dd4f1f5b8a2f7c4fadf5b0e06ebfbecd5d3544bf5191539cb
{ "v2_row_index": 99, "v2_source_sha256": "5845a90cc9f8b63dd4f1f5b8a2f7c4fadf5b0e06ebfbecd5d3544bf5191539cb" }