hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8410cad8a9895986062b12c9822fcdfb121aeb61 | 10,903 | py | Python | purchases/tests.py | coma64/kaffee-kasse-backend | a898caa068cd82d223161fa62a0561f75333d50e | [
"MIT"
] | null | null | null | purchases/tests.py | coma64/kaffee-kasse-backend | a898caa068cd82d223161fa62a0561f75333d50e | [
"MIT"
] | null | null | null | purchases/tests.py | coma64/kaffee-kasse-backend | a898caa068cd82d223161fa62a0561f75333d50e | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import APITestCase
from users.tests import token_auth
from .models import BeverageType, Purchase
class PurchasesTest(APITestCase):
api_uri = '/api/purchases'
... | 39.647273 | 86 | 0.630194 | 1,314 | 10,903 | 4.981735 | 0.100457 | 0.078827 | 0.074244 | 0.119615 | 0.831195 | 0.793309 | 0.793309 | 0.758937 | 0.757104 | 0.738313 | 0 | 0.023141 | 0.258828 | 10,903 | 274 | 87 | 39.791971 | 0.786908 | 0.007337 | 0 | 0.6 | 0 | 0 | 0.088455 | 0.036602 | 0 | 0 | 0 | 0 | 0.137778 | 1 | 0.102222 | false | 0.04 | 0.026667 | 0.026667 | 0.253333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
84231b600df831249f6e0a4ada530c239d5413fa | 6,304 | py | Python | app/storage/tests.py | globocom/iaas-usage | 4fd0ce318ccd46eea94b1c2512d8d0c84d457263 | [
"BSD-3-Clause"
] | 6 | 2016-01-28T23:21:52.000Z | 2019-06-03T20:37:00.000Z | app/storage/tests.py | globocom/iaas-usage | 4fd0ce318ccd46eea94b1c2512d8d0c84d457263 | [
"BSD-3-Clause"
] | null | null | null | app/storage/tests.py | globocom/iaas-usage | 4fd0ce318ccd46eea94b1c2512d8d0c84d457263 | [
"BSD-3-Clause"
] | 5 | 2016-06-21T12:58:30.000Z | 2021-04-04T23:21:53.000Z | import unittest
from flask import json
from mock import patch, Mock
from app import app
class StorageResourceTestCase(unittest.TestCase):
def setUp(self):
self.app = app.test_client()
mock = patch('flask_login.AnonymousUserMixin.is_authenticated').start()
mock.return_value = True
def... | 50.83871 | 112 | 0.639118 | 709 | 6,304 | 5.471086 | 0.163611 | 0.065223 | 0.069606 | 0.068059 | 0.827017 | 0.805362 | 0.805362 | 0.805362 | 0.805362 | 0.79273 | 0 | 0.084294 | 0.21526 | 6,304 | 123 | 113 | 51.252033 | 0.699818 | 0 | 0 | 0.631068 | 0 | 0 | 0.272208 | 0.095495 | 0 | 0 | 0 | 0 | 0.213592 | 1 | 0.07767 | false | 0 | 0.038835 | 0 | 0.135922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
843f9052c7653381dda9aeae418c430bb773648a | 222 | py | Python | mak/libs/pyxx/cxx/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | mak/libs/pyxx/cxx/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | from .parser import CxxParser, Cxx98Parser, Cxx03Parser, Cxx11Parser, Cxx14Parser, Cxx17Parser, Cxx20Parser, Cxx23Parser
from .lexer import Cxx98Lexer, Cxx03Lexer, Cxx11Lexer, Cxx14Lexer, Cxx17Lexer, Cxx20Lexer, Cxx23Lexer | 111 | 120 | 0.842342 | 21 | 222 | 8.904762 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 0.09009 | 222 | 2 | 121 | 111 | 0.787129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffbe8f2320ec04e46a471b959f8dcc49287477db | 99 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/lib/capa/capa/safe_exec/__init__.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/lib/capa/capa/safe_exec/__init__.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/lib/capa/capa/safe_exec/__init__.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """Capa's specialized use of codejail.safe_exec."""
from .safe_exec import safe_exec, update_hash
| 24.75 | 51 | 0.777778 | 16 | 99 | 4.5625 | 0.75 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 52 | 33 | 0.829545 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f253beb25be7133429440e5b78e7e70b96767834 | 496 | py | Python | python/ql/test/3/library-tests/PointsTo/inheritance/test.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/3/library-tests/PointsTo/inheritance/test.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/3/library-tests/PointsTo/inheritance/test.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | class Base(object):
def meth(self):
pass
class Derived1(Base):
def meth(self):
return super().meth()
class Derived2(Derived1):
def meth(self):
return super().meth()
class Derived3(Derived1):
pass
class Derived4(Derived3, Derived2):
def meth(self):
return super... | 15.030303 | 35 | 0.608871 | 58 | 496 | 5.206897 | 0.258621 | 0.139073 | 0.218543 | 0.281457 | 0.602649 | 0.602649 | 0.602649 | 0.258278 | 0 | 0 | 0 | 0.035326 | 0.258065 | 496 | 32 | 36 | 15.5 | 0.785326 | 0 | 0 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0 | 0.25 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
f256663fd6dd428349cc16a9548cd04497e0bfaa | 121 | py | Python | 20_Day_Python_package_manager/mypackage/greetings.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 20_Day_Python_package_manager/mypackage/greetings.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 20_Day_Python_package_manager/mypackage/greetings.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | def greet_person(first_name, second_name):
return f'{first_name} {second_name}, welcome to 30daysofpython challenge'
| 40.333333 | 77 | 0.793388 | 17 | 121 | 5.352941 | 0.705882 | 0.197802 | 0.32967 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.115702 | 121 | 2 | 78 | 60.5 | 0.831776 | 0 | 0 | 0 | 0 | 0 | 0.520661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
f2a56cdb5a89e5895dfb04ed2f078b222fbe121f | 13,804 | py | Python | clinicadl/clinicadl/tools/deep_learning/data_tool.py | CCF0211/AD-DL | f449db4b8370d0d31fd2c815def2e175bfd29cb9 | [
"MIT"
] | null | null | null | clinicadl/clinicadl/tools/deep_learning/data_tool.py | CCF0211/AD-DL | f449db4b8370d0d31fd2c815def2e175bfd29cb9 | [
"MIT"
] | null | null | null | clinicadl/clinicadl/tools/deep_learning/data_tool.py | CCF0211/AD-DL | f449db4b8370d0d31fd2c815def2e175bfd29cb9 | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import numpy as np
import nibabel as nib
def resize_data(data, target_size=[128, 128, 128]):
"""
Resize the data to the input size
"""
[depth, height, width] = data.shape
scale = [target_size[0] * 1.0 / depth, target_size[1] * 1.0 / height, target_size[2... | 45.407895 | 118 | 0.661185 | 2,253 | 13,804 | 3.729694 | 0.053262 | 0.091396 | 0.092824 | 0.034035 | 0.908604 | 0.894204 | 0.879091 | 0.857908 | 0.844936 | 0.844936 | 0 | 0.072158 | 0.197841 | 13,804 | 303 | 119 | 45.557756 | 0.686715 | 0.280861 | 0 | 0.661017 | 0 | 0 | 0.117484 | 0.072669 | 0 | 0 | 0 | 0 | 0.011299 | 1 | 0.050847 | false | 0 | 0.022599 | 0 | 0.146893 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2bf2ce29424d4fdbda7c7138a47a5e6703c3670 | 506 | py | Python | try_run.py | ricklentz/Seg-Uncertainty | 82fd7056cccb265b3fc3e8a90338866661cab230 | [
"MIT"
] | 298 | 2020-04-22T09:13:01.000Z | 2022-03-24T10:10:42.000Z | try_run.py | CinKKKyo/Seg-Uncertainty | 82fd7056cccb265b3fc3e8a90338866661cab230 | [
"MIT"
] | 22 | 2020-05-29T12:47:08.000Z | 2022-03-26T03:08:35.000Z | try_run.py | CinKKKyo/Seg-Uncertainty | 82fd7056cccb265b3fc3e8a90338866661cab230 | [
"MIT"
] | 52 | 2020-04-22T12:11:41.000Z | 2022-03-25T10:04:43.000Z | import os
while(True):
os.system('python train_ms.py --snapshot-dir ./snapshots/SE_GN_batchsize2_1024x512_pp_ms_me0_classbalance7_kl0.1_lr2_drop0.1_seg0.5_aug_fp16 --drop 0.1 --warm-up 5000 --batch-size 2 --learning-rate 2e-4 --crop-size 1024,512 --lambda-seg 0.5 --lambda-adv-target1 0.0002 --lambda-adv-target2 ... | 101.2 | 481 | 0.717391 | 92 | 506 | 3.793478 | 0.73913 | 0.017192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129464 | 0.114625 | 506 | 4 | 482 | 126.5 | 0.649554 | 0 | 0 | 0 | 0 | 0.333333 | 0.916996 | 0.187747 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f2cae27822812d1c980ca578b3df01f4a1bba7b3 | 19,784 | py | Python | learnit/autolearn/functions.py | suhara/learnit | 5db6e80d2bd2d1bf1a381f668db40288888236e4 | [
"Apache-2.0"
] | 5 | 2020-02-27T22:16:29.000Z | 2020-07-12T21:50:38.000Z | learnit/autolearn/functions.py | suhara/learnit | 5db6e80d2bd2d1bf1a381f668db40288888236e4 | [
"Apache-2.0"
] | 2 | 2020-02-28T04:06:04.000Z | 2020-02-28T04:06:08.000Z | learnit/autolearn/functions.py | suhara/learnit | 5db6e80d2bd2d1bf1a381f668db40288888236e4 | [
"Apache-2.0"
] | 1 | 2020-02-27T22:19:17.000Z | 2020-02-27T22:19:17.000Z | import numpy as np
import pandas as pd
from sklearn.calibration import CalibratedClassifierCV
from sklearn.metrics import auc, roc_curve, log_loss, mean_absolute_error
from sklearn.model_selection import KFold, StratifiedKFold
from sklearn.model_selection import ShuffleSplit
from sklearn.model_selection import Stratifi... | 40.62423 | 78 | 0.511474 | 2,206 | 19,784 | 4.247507 | 0.102448 | 0.027748 | 0.026894 | 0.020918 | 0.82508 | 0.777588 | 0.747279 | 0.705229 | 0.696478 | 0.692423 | 0 | 0.003679 | 0.409169 | 19,784 | 486 | 79 | 40.707819 | 0.79793 | 0.218004 | 0 | 0.796721 | 0 | 0 | 0.055209 | 0.004573 | 0 | 0 | 0 | 0.006173 | 0.022951 | 1 | 0.016393 | false | 0 | 0.02623 | 0 | 0.068852 | 0.013115 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b99da8514d0baca1240a26d9b1e56fca07581b5 | 37 | py | Python | loadtests/ecommerce/__init__.py | cmltaWt0/edx-load-tests | c25547a3ee241b3aa323dc6931e161a356ed5314 | [
"Apache-2.0"
] | 18 | 2016-01-31T13:29:56.000Z | 2019-02-08T18:08:49.000Z | loadtests/ecommerce/__init__.py | cmltaWt0/edx-load-tests | c25547a3ee241b3aa323dc6931e161a356ed5314 | [
"Apache-2.0"
] | 92 | 2015-07-31T20:16:51.000Z | 2019-08-09T14:32:12.000Z | loadtests/ecommerce/__init__.py | cmltaWt0/edx-load-tests | c25547a3ee241b3aa323dc6931e161a356ed5314 | [
"Apache-2.0"
] | 15 | 2015-08-19T15:23:58.000Z | 2018-02-01T19:47:38.000Z | from locustfile import EcommerceUser
| 18.5 | 36 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9dbb68d74de97eefe538cd75b6e2abb9560e27e | 36 | py | Python | planet/generator/planet/vendor/pubsubhubbub_publisher/__init__.py | TUM-LIS/librecores-web | c5d9d52ef96df3ee7a4c56ca861beaacc8aab807 | [
"MIT"
] | 119 | 2015-01-20T17:24:53.000Z | 2022-03-16T20:02:59.000Z | planet/generator/planet/vendor/pubsubhubbub_publisher/__init__.py | TUM-LIS/librecores-web | c5d9d52ef96df3ee7a4c56ca861beaacc8aab807 | [
"MIT"
] | 405 | 2016-02-21T14:21:00.000Z | 2022-02-18T01:57:44.000Z | planet/generator/planet/vendor/pubsubhubbub_publisher/__init__.py | TUM-LIS/librecores-web | c5d9d52ef96df3ee7a4c56ca861beaacc8aab807 | [
"MIT"
] | 56 | 2015-01-20T21:07:53.000Z | 2022-03-27T10:34:46.000Z | from pubsubhubbub_publish import *
| 12 | 34 | 0.833333 | 4 | 36 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 2 | 35 | 18 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a2e9a21803bd4482e78dd5f81a22b34b6cc10af | 302 | py | Python | shorty/exception_handlers/shorty_exception_handler.py | PekosV/Shorty | 824ea30c2229124ae73e57041987e051fc30eff3 | [
"MIT"
] | null | null | null | shorty/exception_handlers/shorty_exception_handler.py | PekosV/Shorty | 824ea30c2229124ae73e57041987e051fc30eff3 | [
"MIT"
] | null | null | null | shorty/exception_handlers/shorty_exception_handler.py | PekosV/Shorty | 824ea30c2229124ae73e57041987e051fc30eff3 | [
"MIT"
] | null | null | null | class ShortyExceptionHandler(Exception):
def __init__(self, status_code, message):
self.status_code = status_code
self.message = message
def error_response(self):
response = {"status_code": self.status_code, "message": self.message}
return {"error": response}
| 30.2 | 77 | 0.678808 | 33 | 302 | 5.909091 | 0.363636 | 0.25641 | 0.215385 | 0.215385 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215232 | 302 | 9 | 78 | 33.555556 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.076412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8a93daae85c5eabcef87e2176b7573a38c537dfc | 739 | py | Python | qord/__init__.py | TheFarGG/qord | 9e1e9830728d77e31c22bbc125925be44a8fca86 | [
"MIT"
] | null | null | null | qord/__init__.py | TheFarGG/qord | 9e1e9830728d77e31c22bbc125925be44a8fca86 | [
"MIT"
] | null | null | null | qord/__init__.py | TheFarGG/qord | 9e1e9830728d77e31c22bbc125925be44a8fca86 | [
"MIT"
] | null | null | null | """
Qord
====
A high level library for building Discord bots.
"""
from qord import events
from qord.bases import *
from qord.enums import *
from qord.exceptions import *
from qord.project_info import *
from qord.core.cache import *
from qord.core.cache_impl import *
from qord.core.client import *
from qord.core.shard... | 25.482759 | 47 | 0.776725 | 113 | 739 | 5.044248 | 0.318584 | 0.294737 | 0.466667 | 0.245614 | 0.080702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132612 | 739 | 28 | 48 | 26.392857 | 0.889236 | 0.078484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ab76000d51f6fd1bf2f35e86d48163e245843dd | 37 | py | Python | PhDtools/seqs/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | PhDtools/seqs/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | PhDtools/seqs/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | from PhDtools.seqs import translator
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ac6fc5258b0b3874640c0b8e3f24f6bdc4c23d3 | 110 | py | Python | utils/datasets/__init__.py | wangyushengcp3/pytorch-auto-drive | 07484188058bdabf02984044b6d611b4b37e793f | [
"BSD-3-Clause"
] | 1 | 2021-04-12T22:59:48.000Z | 2021-04-12T22:59:48.000Z | utils/datasets/__init__.py | wangyushengcp3/pytorch-auto-drive | 07484188058bdabf02984044b6d611b4b37e793f | [
"BSD-3-Clause"
] | null | null | null | utils/datasets/__init__.py | wangyushengcp3/pytorch-auto-drive | 07484188058bdabf02984044b6d611b4b37e793f | [
"BSD-3-Clause"
] | null | null | null | from .segmentation import *
from .lane_as_segmentation import *
from .tusimple import *
from .culane import *
| 22 | 35 | 0.781818 | 14 | 110 | 6 | 0.5 | 0.357143 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 110 | 4 | 36 | 27.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76f783a08f7200e8d73b349eac2ae992157914a4 | 3,646 | py | Python | categories/tests/test_categories.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 3 | 2020-05-05T12:12:09.000Z | 2020-05-08T08:48:16.000Z | categories/tests/test_categories.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | 160 | 2020-05-19T13:03:43.000Z | 2022-03-12T00:35:28.000Z | categories/tests/test_categories.py | stanwood/traidoo-api | 83e8599f2eb54352988bac27e2d4acd30734816d | [
"MIT"
] | null | null | null | import datetime
import pytest
from model_bakery import baker
from items.models import Item
from products.models import Product
@pytest.mark.django_db
def test_return_category_with_products(client_anonymous, traidoo_region):
category_1 = baker.make_recipe("categories.category")
product_1 = baker.make(Product... | 37.979167 | 84 | 0.767691 | 481 | 3,646 | 5.56341 | 0.122661 | 0.077354 | 0.052317 | 0.102765 | 0.914798 | 0.86846 | 0.839686 | 0.760837 | 0.713752 | 0.713752 | 0 | 0.015222 | 0.117115 | 3,646 | 95 | 85 | 38.378947 | 0.816092 | 0 | 0 | 0.584615 | 0 | 0 | 0.10395 | 0.040044 | 0 | 0 | 0 | 0 | 0.123077 | 1 | 0.092308 | false | 0 | 0.076923 | 0 | 0.169231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ab04189b61a7e2d533b40a0264f5aa51f305e86 | 32 | py | Python | code/abc111_b_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc111_b_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc111_b_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | print(-(-int(input())//111)*111) | 32 | 32 | 0.59375 | 5 | 32 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 32 | 1 | 32 | 32 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6ac240ad7bb3a323f12a492c3daf28bb56f1701d | 14,294 | py | Python | app/migrations/0005_step_gravity_types.py | jsled/brew-journal | f7641fbbd3374ab53d344f1da8d97586207c866f | [
"BSD-3-Clause"
] | 2 | 2016-05-09T07:08:49.000Z | 2016-07-15T00:19:59.000Z | app/migrations/0005_step_gravity_types.py | jsled/brew-journal | f7641fbbd3374ab53d344f1da8d97586207c866f | [
"BSD-3-Clause"
] | 3 | 2020-02-11T21:51:02.000Z | 2021-06-10T17:31:21.000Z | app/migrations/0005_step_gravity_types.py | jsled/brew-journal | f7641fbbd3374ab53d344f1da8d97586207c866f | [
"BSD-3-Clause"
] | null | null | null | # -*- encoding: utf-8 -*-
from south.db import db
from django.db import models
from app.models import *
class Migration:
def forwards(self, orm):
# Adding field 'Step.gravity_read_type'
db.add_column('app_step', 'gravity_read_type', orm['app.step:gravity_read_type'])
... | 74.837696 | 153 | 0.548902 | 1,468 | 14,294 | 5.228883 | 0.117847 | 0.129234 | 0.224336 | 0.320479 | 0.841975 | 0.831423 | 0.801329 | 0.764851 | 0.670271 | 0.497785 | 0 | 0.009573 | 0.196096 | 14,294 | 190 | 154 | 75.231579 | 0.658428 | 0.007066 | 0 | 0.217143 | 0 | 0 | 0.586158 | 0.343083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011429 | false | 0.005714 | 0.017143 | 0 | 0.045714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ac40e3e9bd004f619f8bc8f3fb8e7b3dfa00e64 | 106 | py | Python | src/frontend/views.py | exactasmache/django-catalog | 9e912938073006784e52c176523bdb0916f8642c | [
"MIT"
] | null | null | null | src/frontend/views.py | exactasmache/django-catalog | 9e912938073006784e52c176523bdb0916f8642c | [
"MIT"
] | null | null | null | src/frontend/views.py | exactasmache/django-catalog | 9e912938073006784e52c176523bdb0916f8642c | [
"MIT"
] | null | null | null | from django.shortcuts import render
def list(request):
return render(request, 'frontend/list.html')
| 17.666667 | 48 | 0.754717 | 14 | 106 | 5.714286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 49 | 21.2 | 0.879121 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0a9a4d8be56ce75b792178288004d03f8859f33a | 124 | py | Python | autokey/data/Bspc/screen_lock.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | 2 | 2021-05-29T18:11:26.000Z | 2021-10-21T20:53:16.000Z | autokey/data/Bspc/screen_lock.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | autokey/data/Bspc/screen_lock.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | system.exec_command('sh -c "pgrep -x xscreensaver || xscreensaver -no-splash; xscreensaver-command -lock"', getOutput=False) | 124 | 124 | 0.774194 | 16 | 124 | 5.9375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 124 | 1 | 124 | 124 | 0.833333 | 0 | 0 | 0 | 0 | 1 | 0.672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0aa911a575d45be200985b8ed248c90059fdbb9f | 227 | py | Python | sources/IrConfiguration.py | supdrewin/linux-enable-ir-emitter | d2281ea0d89712f02900d33aafa957b8268e8150 | [
"MIT"
] | 1 | 2021-06-05T06:08:03.000Z | 2021-06-05T06:08:03.000Z | sources/IrConfiguration.py | supdrewin/linux-enable-ir-emitter | d2281ea0d89712f02900d33aafa957b8268e8150 | [
"MIT"
] | null | null | null | sources/IrConfiguration.py | supdrewin/linux-enable-ir-emitter | d2281ea0d89712f02900d33aafa957b8268e8150 | [
"MIT"
] | null | null | null | from driver.Driver import Driver
# old version, ensure compatibility with 3.2.0
class IrConfiguration(Driver):
def __init__(self, control, unit, selector, device):
super().__init__(control, unit, selector, device)
| 32.428571 | 57 | 0.740088 | 29 | 227 | 5.517241 | 0.724138 | 0.1375 | 0.2375 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015707 | 0.15859 | 227 | 6 | 58 | 37.833333 | 0.82199 | 0.193833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0ab2787e30fb6ad848ce491cc86a53b53491cc07 | 160 | py | Python | tests/python/twitter/common/net/test_tunnel.py | zhouyijiaren/commons | 10df6fb63547baa9047782aa7ad4edf354914b10 | [
"Apache-2.0"
] | 1,143 | 2015-01-05T04:19:24.000Z | 2019-12-11T12:02:23.000Z | tests/python/twitter/common/net/test_tunnel.py | zhouyijiaren/commons | 10df6fb63547baa9047782aa7ad4edf354914b10 | [
"Apache-2.0"
] | 144 | 2015-01-06T05:05:07.000Z | 2019-12-12T18:02:37.000Z | tests/python/twitter/common/net/test_tunnel.py | zhouyijiaren/commons | 10df6fb63547baa9047782aa7ad4edf354914b10 | [
"Apache-2.0"
] | 426 | 2015-01-08T08:33:41.000Z | 2019-12-09T13:15:40.000Z | from twitter.common.net.tunnel import TunnelHelper
# This test file ensures there are no SyntaxErrors in the tunnel module.
def test_nothing():
assert True
| 22.857143 | 72 | 0.79375 | 24 | 160 | 5.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 160 | 6 | 73 | 26.666667 | 0.933333 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0abb4e622c6ea063a7466e37510b9b9e85a6dcb3 | 13,231 | py | Python | monk/tf_keras_1/transforms/transforms.py | take2rohit/monk_v1 | 9c567bf2c8b571021b120d879ba9edf7751b9f92 | [
"Apache-2.0"
] | 542 | 2019-11-10T12:09:31.000Z | 2022-03-28T11:39:07.000Z | monk/tf_keras_1/transforms/transforms.py | take2rohit/monk_v1 | 9c567bf2c8b571021b120d879ba9edf7751b9f92 | [
"Apache-2.0"
] | 117 | 2019-11-12T09:39:24.000Z | 2022-03-12T00:20:41.000Z | monk/tf_keras_1/transforms/transforms.py | take2rohit/monk_v1 | 9c567bf2c8b571021b120d879ba9edf7751b9f92 | [
"Apache-2.0"
] | 246 | 2019-11-09T21:53:24.000Z | 2022-03-29T00:57:07.000Z | from monk.tf_keras_1.transforms.imports import *
from monk.system.imports import *
@accepts(dict, [list, float, int], [list, float, int], [list, float, int], [list, float, int], bool, bool, bool, retrieve=bool, post_trace=False)
#@TraceFunction(trace_args=False, trace_rv=False)
def transform_color_jitter(system_dic... | 39.732733 | 145 | 0.636384 | 1,502 | 13,231 | 5.458722 | 0.081891 | 0.118307 | 0.085986 | 0.137212 | 0.833882 | 0.814855 | 0.805708 | 0.75375 | 0.702281 | 0.655568 | 0 | 0.00435 | 0.218049 | 13,231 | 333 | 146 | 39.732733 | 0.788131 | 0.297559 | 0 | 0.620482 | 0 | 0 | 0.270808 | 0.009772 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042169 | false | 0 | 0.012048 | 0 | 0.096386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ac85d1c8f6253370c701535a303bf31eaaa9f0f | 25,514 | py | Python | tests/admin/controller/test_patron_auth.py | vbessonov/circulation | 3f522130242298181ce3f5e8392da70a1328fb74 | [
"Apache-2.0"
] | null | null | null | tests/admin/controller/test_patron_auth.py | vbessonov/circulation | 3f522130242298181ce3f5e8392da70a1328fb74 | [
"Apache-2.0"
] | null | null | null | tests/admin/controller/test_patron_auth.py | vbessonov/circulation | 3f522130242298181ce3f5e8392da70a1328fb74 | [
"Apache-2.0"
] | null | null | null | from nose.tools import (
set_trace,
eq_,
assert_raises
)
import flask
from flask_babel import lazy_gettext as _
import json
from werkzeug.datastructures import MultiDict
from api.admin.controller.patron_auth_services import PatronAuthServicesController
from api.admin.exceptions import *
from api.authenticat... | 51.232932 | 145 | 0.676648 | 2,434 | 25,514 | 6.665982 | 0.077239 | 0.049923 | 0.075439 | 0.035254 | 0.810108 | 0.769368 | 0.749461 | 0.730971 | 0.720185 | 0.715501 | 0 | 0.00391 | 0.228149 | 25,514 | 497 | 146 | 51.336016 | 0.819987 | 0.00439 | 0 | 0.619266 | 0 | 0 | 0.048268 | 0 | 0 | 0 | 0 | 0 | 0.016055 | 1 | 0.03211 | false | 0.043578 | 0.036697 | 0 | 0.077982 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ae4e1aacab37222a89735b99e10a43c842bb161 | 17,586 | py | Python | moabb/tests/paradigms.py | plcrodrigues/moabb | aa4274fe7905631864e854c121c92e1927061f29 | [
"BSD-3-Clause"
] | 321 | 2017-06-03T16:14:45.000Z | 2022-03-28T17:43:59.000Z | moabb/tests/paradigms.py | plcrodrigues/moabb | aa4274fe7905631864e854c121c92e1927061f29 | [
"BSD-3-Clause"
] | 223 | 2017-06-03T17:41:57.000Z | 2022-03-29T09:07:44.000Z | moabb/tests/paradigms.py | girafe-ai/moabb | 78bbb48a2a0058b0725ebeba1ba1e3203f0eacd5 | [
"BSD-3-Clause"
] | 118 | 2017-06-03T18:36:35.000Z | 2022-03-16T06:22:02.000Z | import logging
import unittest
import numpy as np
from mne import BaseEpochs
from moabb.datasets.fake import FakeDataset
from moabb.paradigms import (
P300,
SSVEP,
BaseMotorImagery,
BaseP300,
BaseSSVEP,
FilterBankLeftRightImagery,
FilterBankMotorImagery,
FilterBankSSVEP,
LeftRightI... | 43.315271 | 89 | 0.65501 | 2,111 | 17,586 | 5.342492 | 0.09711 | 0.061181 | 0.054531 | 0.068275 | 0.811846 | 0.772211 | 0.759532 | 0.735946 | 0.717237 | 0.70509 | 0 | 0.027559 | 0.228307 | 17,586 | 405 | 90 | 43.422222 | 0.803478 | 0.1715 | 0 | 0.59144 | 0 | 0 | 0.041186 | 0 | 0 | 0 | 0 | 0 | 0.350195 | 1 | 0.140078 | false | 0.003891 | 0.023346 | 0.007782 | 0.190661 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e40a0408d63407e3c917f57c8130de21fb84dbc7 | 35 | py | Python | tests/test_parsing/test2.py | valohai/valohai-utils | 6d5cded3d0342d6a0abf4c693ae9f7bb79d1e1de | [
"MIT"
] | 1 | 2021-05-05T08:40:44.000Z | 2021-05-05T08:40:44.000Z | tests/test_parsing/test2.py | valohai/valohai-utils | 6d5cded3d0342d6a0abf4c693ae9f7bb79d1e1de | [
"MIT"
] | 36 | 2021-03-02T08:07:25.000Z | 2022-03-23T16:25:32.000Z | tests/test_parsing/test2.py | valohai/valohai-utils | 6d5cded3d0342d6a0abf4c693ae9f7bb79d1e1de | [
"MIT"
] | 1 | 2021-03-08T15:08:54.000Z | 2021-03-08T15:08:54.000Z | print("test file with no prepare")
| 17.5 | 34 | 0.742857 | 6 | 35 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7c3149e46f0c92849ae107a1514fefe17c82576c | 151 | py | Python | eod/tasks/det/data/metrics/__init__.py | scott-mao/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 1 | 2022-01-12T01:51:39.000Z | 2022-01-12T01:51:39.000Z | eod/tasks/det/data/metrics/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | null | null | null | eod/tasks/det/data/metrics/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | null | null | null | from .coco_evaluator import CocoEvaluator # noqa
from .lvis_evaluator import LvisEvaluator # noqa
from .custom_evaluator import CustomEvaluator # noqa
| 37.75 | 52 | 0.84106 | 18 | 151 | 6.888889 | 0.555556 | 0.362903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 151 | 3 | 53 | 50.333333 | 0.932331 | 0.092715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c9ec5c68bb59d8a2bb749e02c66a35083f3929d | 83 | py | Python | src/onceml/components/CycleModelServing/__init__.py | lzmchina/OnceML | f30d9037d2e492d8d45b858f2be3b27fc5258356 | [
"MIT"
] | 1 | 2022-01-01T07:15:03.000Z | 2022-01-01T07:15:03.000Z | src/onceml/components/CycleModelServing/__init__.py | lzmchina/OnceML | f30d9037d2e492d8d45b858f2be3b27fc5258356 | [
"MIT"
] | null | null | null | src/onceml/components/CycleModelServing/__init__.py | lzmchina/OnceML | f30d9037d2e492d8d45b858f2be3b27fc5258356 | [
"MIT"
] | null | null | null | from onceml.components.CycleModelServing.CycleModelServing import CycleModelServing | 83 | 83 | 0.927711 | 7 | 83 | 11 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 83 | 1 | 83 | 83 | 0.9625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7cfa56b480367949d9272ee515aca712c39a97f5 | 229 | py | Python | torchmeta/__init__.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | torchmeta/__init__.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | torchmeta/__init__.py | hzyjerry/pytorch-meta | e63aa57984ec80d6e78f45a228232f0424b06bca | [
"MIT"
] | null | null | null | from torchmeta import datasets
from torchmeta import modules
from torchmeta import toy
from torchmeta import transforms
from torchmeta import utils
from torchmeta import algos
from torchmeta.version import VERSION as __version__
| 28.625 | 52 | 0.864629 | 31 | 229 | 6.258065 | 0.354839 | 0.469072 | 0.587629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131004 | 229 | 7 | 53 | 32.714286 | 0.974874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b1baa042e76ab7058c768b543e36bcdcfd3b4fc | 14,715 | py | Python | Quentin/framework/models.py | Dragusto/challenge-donnees-sat | c9ab38346304a800d6f4ce584844ff6ef9f36f3b | [
"MIT"
] | null | null | null | Quentin/framework/models.py | Dragusto/challenge-donnees-sat | c9ab38346304a800d6f4ce584844ff6ef9f36f3b | [
"MIT"
] | null | null | null | Quentin/framework/models.py | Dragusto/challenge-donnees-sat | c9ab38346304a800d6f4ce584844ff6ef9f36f3b | [
"MIT"
] | 1 | 2022-02-25T11:52:30.000Z | 2022-02-25T11:52:30.000Z | import torch
import torchvision
import torchvision.transforms as transforms
from torch.utils.data import DataLoader
from torch.utils.data.dataset import Dataset
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import os
from collections import OrderedDict
class NeuralNetwork(nn.Modul... | 43.279412 | 136 | 0.602446 | 1,707 | 14,715 | 5.083187 | 0.063269 | 0.055319 | 0.045638 | 0.070531 | 0.84603 | 0.827129 | 0.811571 | 0.786216 | 0.786216 | 0.777803 | 0 | 0.066294 | 0.270133 | 14,715 | 340 | 137 | 43.279412 | 0.74162 | 0 | 0 | 0.613793 | 0 | 0 | 0.023376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041379 | false | 0 | 0.034483 | 0.013793 | 0.117241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b370ca31620ce3222f67902f983761bb2304410 | 158 | py | Python | cnn-lstm/tasks/cifar100_architectures/__init__.py | sands-lab/rethinking-sparsification | 0687b1b360f5c95068261c81a9de1bc967f75e50 | [
"MIT"
] | null | null | null | cnn-lstm/tasks/cifar100_architectures/__init__.py | sands-lab/rethinking-sparsification | 0687b1b360f5c95068261c81a9de1bc967f75e50 | [
"MIT"
] | null | null | null | cnn-lstm/tasks/cifar100_architectures/__init__.py | sands-lab/rethinking-sparsification | 0687b1b360f5c95068261c81a9de1bc967f75e50 | [
"MIT"
] | null | null | null | from .resnet import *
from .vgg import *
from .mobilenet import *
from .densenet import *
from .wresnet import *
from .senet import *
from .googlenet import * | 22.571429 | 24 | 0.740506 | 21 | 158 | 5.571429 | 0.428571 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170886 | 158 | 7 | 25 | 22.571429 | 0.89313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
861fee3ac8aba692e33fe14366dce88d6f727c96 | 49 | py | Python | lahja/trio/__init__.py | gsalgado/lahja | 53526e531e8efac0924bbfe28ddcda226044aee7 | [
"MIT"
] | 400 | 2018-08-30T13:01:01.000Z | 2022-02-24T01:49:47.000Z | lahja/trio/__init__.py | gsalgado/lahja | 53526e531e8efac0924bbfe28ddcda226044aee7 | [
"MIT"
] | 122 | 2018-08-30T14:59:34.000Z | 2020-08-05T22:11:07.000Z | lahja/trio/__init__.py | gsalgado/lahja | 53526e531e8efac0924bbfe28ddcda226044aee7 | [
"MIT"
] | 22 | 2018-09-12T15:50:40.000Z | 2022-03-28T18:51:29.000Z | from .endpoint import TrioEndpoint # noqa: F401
| 24.5 | 48 | 0.77551 | 6 | 49 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 49 | 1 | 49 | 49 | 0.853659 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8633dc3d8a67d05c3fbc374cea5db4e88c41ac10 | 3,842 | py | Python | code/ans_len_param_search.py | mitrydoug/cs224n-SQuAD | 3a79571d3c12259cddf2565cf9bd0796cdc83ae8 | [
"Apache-2.0"
] | null | null | null | code/ans_len_param_search.py | mitrydoug/cs224n-SQuAD | 3a79571d3c12259cddf2565cf9bd0796cdc83ae8 | [
"Apache-2.0"
] | null | null | null | code/ans_len_param_search.py | mitrydoug/cs224n-SQuAD | 3a79571d3c12259cddf2565cf9bd0796cdc83ae8 | [
"Apache-2.0"
] | null | null | null | import json
import os
import argparse
import numpy as np
if __name__ == '__main__':
os.chdir(os.path.join(os.path.dirname(__file__), '..'))
parser = argparse.ArgumentParser()
parser.add_argument('--experiment')
parser.add_argument('--start')
parser.add_argument('--end')
parser.add_argument('-... | 35.574074 | 73 | 0.523946 | 531 | 3,842 | 3.644068 | 0.143126 | 0.055814 | 0.049612 | 0.055814 | 0.790698 | 0.770026 | 0.770026 | 0.766925 | 0.757106 | 0.757106 | 0 | 0.02451 | 0.309735 | 3,842 | 107 | 74 | 35.906542 | 0.705128 | 0.236075 | 0 | 0.567568 | 0 | 0 | 0.236345 | 0.070079 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.054054 | null | null | 0.094595 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
863bc6eb6b22360f5a9020ef410faf810a1df78e | 49 | py | Python | torchvision_models/lane_detection/__init__.py | ozcell/pytorch-auto-drive | f1c2fd223cf7d307a3968fe671d0271b03ced39c | [
"BSD-3-Clause"
] | 1 | 2021-04-12T22:59:48.000Z | 2021-04-12T22:59:48.000Z | torchvision_models/lane_detection/__init__.py | ozcell/pytorch-auto-drive | f1c2fd223cf7d307a3968fe671d0271b03ced39c | [
"BSD-3-Clause"
] | null | null | null | torchvision_models/lane_detection/__init__.py | ozcell/pytorch-auto-drive | f1c2fd223cf7d307a3968fe671d0271b03ced39c | [
"BSD-3-Clause"
] | null | null | null | from .lstr import *
from .common_models import *
| 16.333333 | 28 | 0.755102 | 7 | 49 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 29 | 24.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
863c6d11839f714dd27f1fe07d78b6a65e13cac8 | 15,246 | py | Python | tests/visualization_tests/matplotlib_tests/test_pareto_front.py | divyanshugit/optuna | af7f11ccc3f0f8840dc4d867a17ba2c68664a032 | [
"MIT"
] | null | null | null | tests/visualization_tests/matplotlib_tests/test_pareto_front.py | divyanshugit/optuna | af7f11ccc3f0f8840dc4d867a17ba2c68664a032 | [
"MIT"
] | null | null | null | tests/visualization_tests/matplotlib_tests/test_pareto_front.py | divyanshugit/optuna | af7f11ccc3f0f8840dc4d867a17ba2c68664a032 | [
"MIT"
] | null | null | null | from io import BytesIO
import itertools
from typing import Callable
from typing import List
from typing import Optional
from typing import Sequence
from typing import Union
from matplotlib.collections import PathCollection
import matplotlib.pyplot as plt
import numpy as np
import pytest
import optuna
from optuna.tria... | 36.3 | 98 | 0.658599 | 1,926 | 15,246 | 4.973001 | 0.082035 | 0.069534 | 0.114847 | 0.050115 | 0.856859 | 0.830967 | 0.82157 | 0.802777 | 0.790666 | 0.785446 | 0 | 0.019839 | 0.21645 | 15,246 | 419 | 99 | 36.386635 | 0.781935 | 0.025777 | 0 | 0.676966 | 0 | 0 | 0.082553 | 0.03073 | 0 | 0 | 0 | 0 | 0.089888 | 1 | 0.025281 | false | 0 | 0.039326 | 0 | 0.067416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
864f87465775caa233a79a7bdb09730cde631854 | 172 | py | Python | models/__init__.py | AndreaVargasAndia/Pytorch-Human-Pose-Estimation | c627f04fa40da82cf1b2e231b491162b0f69e041 | [
"MIT"
] | 423 | 2018-10-29T16:56:21.000Z | 2022-03-31T09:17:11.000Z | models/__init__.py | AndreaVargasAndia/Pytorch-Human-Pose-Estimation | c627f04fa40da82cf1b2e231b491162b0f69e041 | [
"MIT"
] | 26 | 2019-02-21T08:38:36.000Z | 2022-01-05T16:53:52.000Z | models/__init__.py | AndreaVargasAndia/Pytorch-Human-Pose-Estimation | c627f04fa40da82cf1b2e231b491162b0f69e041 | [
"MIT"
] | 83 | 2018-11-09T12:20:15.000Z | 2022-03-27T06:47:15.000Z | from models.DeepPose import *
from models.ChainedPredictions import *
from models.StackedHourGlass import *
from models.PoseAttention import *
from models.PyraNet import *
| 28.666667 | 39 | 0.825581 | 20 | 172 | 7.1 | 0.4 | 0.352113 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 172 | 5 | 40 | 34.4 | 0.934211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
865e0f4d176c75ecfbdcbea612dca3e527e97abc | 117 | py | Python | pystiche_papers/utils/__init__.py | pmeier/pystiche_papers | a614f4effdfcbf3d3fe45202151fdc14c610e2b3 | [
"BSD-3-Clause"
] | 4 | 2020-06-08T11:49:41.000Z | 2021-04-09T16:16:42.000Z | pystiche_papers/utils/__init__.py | pmeier/pystiche_papers | a614f4effdfcbf3d3fe45202151fdc14c610e2b3 | [
"BSD-3-Clause"
] | 229 | 2020-06-08T07:24:25.000Z | 2021-01-08T07:16:02.000Z | pystiche_papers/utils/__init__.py | pystiche/papers | 0d8179dc51f6eda0b27fa525dc0b86b866bc88e1 | [
"BSD-3-Clause"
] | 2 | 2020-06-09T06:10:50.000Z | 2020-07-29T08:07:40.000Z | from .cuda import *
from .hyper_params import *
from .misc import *
from .modules import *
from .transforms import *
| 19.5 | 27 | 0.74359 | 16 | 117 | 5.375 | 0.5 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 5 | 28 | 23.4 | 0.886598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
866bf50c984123b93f9ad43c986795c3fb0c59c5 | 24,238 | py | Python | test/webapi/test_handlers.py | bcdev/xcube | 9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3 | [
"MIT"
] | null | null | null | test/webapi/test_handlers.py | bcdev/xcube | 9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3 | [
"MIT"
] | null | null | null | test/webapi/test_handlers.py | bcdev/xcube | 9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3 | [
"MIT"
] | null | null | null | from tornado.testing import AsyncHTTPTestCase
from test.webapi.helpers import new_test_service_context
from xcube.webapi.app import new_application
CTX = new_test_service_context()
# Preload datasets, so we don't run into timeout during testing
_ds = CTX.get_dataset("demo")
for name, var in _ds.coords.items():
... | 50.707113 | 113 | 0.533336 | 2,246 | 24,238 | 5.653161 | 0.094835 | 0.08695 | 0.094195 | 0.13767 | 0.863354 | 0.848547 | 0.816413 | 0.782232 | 0.728597 | 0.684807 | 0 | 0.020937 | 0.34776 | 24,238 | 477 | 114 | 50.813417 | 0.782213 | 0.008293 | 0 | 0.586634 | 0 | 0.024752 | 0.258094 | 0.118144 | 0 | 0 | 0 | 0 | 0.254951 | 1 | 0.106436 | false | 0 | 0.007426 | 0.002475 | 0.121287 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86a33b0e978f5861da9c76fcc20e18686939b040 | 83,342 | py | Python | trainer/trainer_utils.py | Meowuu7/AutoGPart | 5d9f18f7e88426b672812aa4f134799124196126 | [
"MIT"
] | null | null | null | trainer/trainer_utils.py | Meowuu7/AutoGPart | 5d9f18f7e88426b672812aa4f134799124196126 | [
"MIT"
] | null | null | null | trainer/trainer_utils.py | Meowuu7/AutoGPart | 5d9f18f7e88426b672812aa4f134799124196126 | [
"MIT"
] | null | null | null | from typing import Dict, Any
import torch
import torch.nn as nn
from torch.distributions.categorical import Categorical
from torch.distributions.normal import Normal
from model.utils import batched_index_select, hungarian_matching
from model.model_util import init_weight
import numpy as np
SQRT_EPS = 0.000001 # (1e-5)... | 59.829146 | 431 | 0.636426 | 11,388 | 83,342 | 4.261328 | 0.035564 | 0.043851 | 0.047478 | 0.029921 | 0.842915 | 0.81149 | 0.790101 | 0.768051 | 0.745858 | 0.726921 | 0 | 0.014663 | 0.267608 | 83,342 | 1,392 | 432 | 59.872126 | 0.78037 | 0.078868 | 0 | 0.549057 | 0 | 0 | 0.026735 | 0.006697 | 0 | 0 | 0 | 0.000718 | 0.000943 | 1 | 0.05566 | false | 0.000943 | 0.009434 | 0.00283 | 0.111321 | 0.026415 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86beca94ab0944d27de855f6fac34540c74a0288 | 178 | py | Python | platform/core/polyaxon/auditor/events/repo.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/auditor/events/repo.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/auditor/events/repo.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | import auditor
from events.registry import repo
auditor.subscribe(repo.RepoCreatedEvent)
auditor.subscribe(repo.RepoDownloadedEvent)
auditor.subscribe(repo.RepoNewCommitEvent)
| 22.25 | 43 | 0.865169 | 19 | 178 | 8.105263 | 0.526316 | 0.311688 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061798 | 178 | 7 | 44 | 25.428571 | 0.922156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86cb0b8a6aded45048bb904839b63096fc33772d | 28,450 | py | Python | resultstoresearch/server/resultstoresearch/resultstoreapi/cloud/devtools/resultstore/v2/gapic/transports/result_store_upload_grpc_transport.py | google/resultstoreui | 4a7a6123845d36de99355582669c65381e63edc5 | [
"Apache-2.0"
] | 6 | 2020-06-26T19:12:00.000Z | 2022-03-30T17:13:10.000Z | resultstoresearch/server/resultstoresearch/resultstoreapi/cloud/devtools/resultstore/v2/gapic/transports/result_store_upload_grpc_transport.py | google/resultstoreui | 4a7a6123845d36de99355582669c65381e63edc5 | [
"Apache-2.0"
] | 13 | 2020-05-20T18:15:49.000Z | 2022-02-27T09:48:22.000Z | resultstoresearch/server/resultstoresearch/resultstoreapi/cloud/devtools/resultstore/v2/gapic/transports/result_store_upload_grpc_transport.py | google/resultstoreui | 4a7a6123845d36de99355582669c65381e63edc5 | [
"Apache-2.0"
] | 6 | 2020-11-27T23:31:37.000Z | 2022-03-13T22:23:48.000Z | # -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 41.532847 | 99 | 0.667627 | 3,607 | 28,450 | 5.210979 | 0.101747 | 0.025112 | 0.019951 | 0.026601 | 0.757555 | 0.745105 | 0.73388 | 0.722175 | 0.710417 | 0.667482 | 0 | 0.001136 | 0.288541 | 28,450 | 685 | 100 | 41.532847 | 0.927474 | 0.720527 | 0 | 0.238938 | 0 | 0 | 0.175922 | 0.152395 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238938 | false | 0 | 0.017699 | 0 | 0.504425 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86f4687ef4f2cc5b481070404a76699d2ee8c231 | 31 | py | Python | partnerclient/hfppnetwork/__init__.py | NASA-Tournament-Lab/CoECI-CMS-Healthcare-Fraud-Prevention | 4facd935920e77239c25323ca7e233cb899ba9f5 | [
"Apache-2.0"
] | 7 | 2015-07-15T06:47:16.000Z | 2020-10-17T20:51:09.000Z | partnerclient/hfppnetwork/__init__.py | NASA-Tournament-Lab/CoECI-CMS-Healthcare-Fraud-Prevention | 4facd935920e77239c25323ca7e233cb899ba9f5 | [
"Apache-2.0"
] | null | null | null | partnerclient/hfppnetwork/__init__.py | NASA-Tournament-Lab/CoECI-CMS-Healthcare-Fraud-Prevention | 4facd935920e77239c25323ca7e233cb899ba9f5 | [
"Apache-2.0"
] | 8 | 2017-01-30T02:27:01.000Z | 2021-04-21T04:15:48.000Z | from .partner import partnercli | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8116b7f30f13f6a657c69c0561e538c76d932f59 | 48,952 | py | Python | deepface/basemodels/Facenet.py | thisKK/deepface | f4078628af976bc22afe8f52d95b15e4cd8f713e | [
"MIT"
] | 1 | 2021-01-22T09:53:28.000Z | 2021-01-22T09:53:28.000Z | deepface/basemodels/Facenet.py | thisKK/deepface | f4078628af976bc22afe8f52d95b15e4cd8f713e | [
"MIT"
] | null | null | null | deepface/basemodels/Facenet.py | thisKK/deepface | f4078628af976bc22afe8f52d95b15e4cd8f713e | [
"MIT"
] | null | null | null | import os
from pathlib import Path
import gdown
from functools import partial
from tensorflow.keras.models import Model
from tensorflow.keras.layers import Activation
from tensorflow.keras.layers import BatchNormalization
from tensorflow.keras.layers import Concatenate
from tensorflow.keras.layers import Conv2D
from t... | 88.681159 | 145 | 0.775862 | 8,127 | 48,952 | 4.296419 | 0.017842 | 0.090214 | 0.038262 | 0.057336 | 0.968354 | 0.953747 | 0.949566 | 0.948363 | 0.940688 | 0.93433 | 0 | 0.116111 | 0.077913 | 48,952 | 552 | 146 | 88.681159 | 0.65745 | 0.006946 | 0 | 0.127745 | 0 | 0 | 0.312463 | 0.263925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005988 | false | 0 | 0.033932 | 0.001996 | 0.045908 | 0.001996 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
813963b0056971ea56ad6c5bf05a46eb8f09836c | 3,042 | py | Python | google/appengine/api/search/__init__.py | vladushakov987/appengine_python3 | 0dd481c73e2537a50ee10f1b79cd65938087e555 | [
"Apache-2.0"
] | null | null | null | google/appengine/api/search/__init__.py | vladushakov987/appengine_python3 | 0dd481c73e2537a50ee10f1b79cd65938087e555 | [
"Apache-2.0"
] | null | null | null | google/appengine/api/search/__init__.py | vladushakov987/appengine_python3 | 0dd481c73e2537a50ee10f1b79cd65938087e555 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2007 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 o... | 34.179775 | 74 | 0.83925 | 426 | 3,042 | 5.830986 | 0.330986 | 0.261675 | 0.41868 | 0.166667 | 0.264895 | 0.113124 | 0.032206 | 0 | 0 | 0 | 0 | 0.002996 | 0.122288 | 3,042 | 88 | 75 | 34.568182 | 0.927341 | 0.193294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d49d95fcbc79fe6e5b3fc271adef797857149b19 | 16,089 | py | Python | models/networks.py | zhangyu233/mvscode | 883b2ba1a2ed61198a331f83d5ec7813b7204ef3 | [
"MIT"
] | null | null | null | models/networks.py | zhangyu233/mvscode | 883b2ba1a2ed61198a331f83d5ec7813b7204ef3 | [
"MIT"
] | null | null | null | models/networks.py | zhangyu233/mvscode | 883b2ba1a2ed61198a331f83d5ec7813b7204ef3 | [
"MIT"
] | null | null | null | import torch
import numpy as np
import torch.nn.functional as F
from torch import optim
from torch import nn
from models.flow import get_point_cnf
from models.flow import get_latent_cnf
from models.mutiview import Mutiview_encoder
from utils import truncated_normal, reduce_tensor, standard_normal_logprob, gaussian_log_... | 40.938931 | 109 | 0.610604 | 2,272 | 16,089 | 4.103433 | 0.086268 | 0.02703 | 0.046873 | 0.034753 | 0.868497 | 0.83117 | 0.7873 | 0.752869 | 0.747506 | 0.743108 | 0 | 0.020921 | 0.275095 | 16,089 | 392 | 110 | 41.043367 | 0.778445 | 0.086457 | 0 | 0.679612 | 0 | 0 | 0.02756 | 0.003002 | 0 | 0 | 0 | 0 | 0.012945 | 1 | 0.07767 | false | 0 | 0.032362 | 0 | 0.184466 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d49eb846515bda121751f7d950ba96b233d48549 | 49 | py | Python | src/005-smallest-multiple/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 1 | 2018-01-26T21:18:12.000Z | 2018-01-26T21:18:12.000Z | src/005-smallest-multiple/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 3 | 2017-12-09T14:49:30.000Z | 2017-12-09T14:59:39.000Z | src/005-smallest-multiple/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | null | null | null | import solver
print(solver.solve(range(1, 21)))
| 12.25 | 33 | 0.734694 | 8 | 49 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.102041 | 49 | 3 | 34 | 16.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d4b693e120e1039785ba3f6dc3b1388ae465ab3f | 30 | py | Python | seven/c10.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | seven/c10.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | seven/c10.py | xiaolinzi-xl/python_imooc | 07bde890e3ab0ddef4467b0c77ef33614339a657 | [
"Apache-2.0"
] | null | null | null | from c9 import (a,c)
print(a) | 10 | 20 | 0.666667 | 7 | 30 | 2.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.166667 | 30 | 3 | 21 | 10 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d4ee6cfb33501e89006101806b63507f8de13c15 | 47 | py | Python | syfertext/data/metas/__init__.py | Dat-Boi-Arjun/SyferText | 8df9c4807501b613df79773b391ded22c101e0b0 | [
"Apache-2.0"
] | 204 | 2019-10-18T15:49:15.000Z | 2022-02-16T12:34:29.000Z | syfertext/data/metas/__init__.py | Dat-Boi-Arjun/SyferText | 8df9c4807501b613df79773b391ded22c101e0b0 | [
"Apache-2.0"
] | 162 | 2019-12-16T21:03:17.000Z | 2021-05-22T19:40:37.000Z | syfertext/data/metas/__init__.py | Dat-Boi-Arjun/SyferText | 8df9c4807501b613df79773b391ded22c101e0b0 | [
"Apache-2.0"
] | 82 | 2020-01-18T14:15:29.000Z | 2021-04-30T09:48:27.000Z | from .language_modeling import TextDatasetMeta
| 23.5 | 46 | 0.893617 | 5 | 47 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07bf3fa45fe1888b2e13301efc223dc85bfdcfad | 171 | py | Python | sunxspex/sunxspex/utils/__init__.py | KriSun95/sunxspex_examples_kris | 068c9eed8af63c427a8578ee15863092b2e4bc93 | [
"MIT"
] | 10 | 2019-03-20T19:36:30.000Z | 2020-01-04T05:41:36.000Z | sunxspex/sunxspex/utils/__init__.py | KriSun95/sunxspex_examples_kris | 068c9eed8af63c427a8578ee15863092b2e4bc93 | [
"MIT"
] | 18 | 2019-04-24T19:21:49.000Z | 2019-12-02T18:25:18.000Z | sunxspex/sunxspex/utils/__init__.py | KriSun95/sunxspex_examples_kris | 068c9eed8af63c427a8578ee15863092b2e4bc93 | [
"MIT"
] | 4 | 2019-03-11T19:37:50.000Z | 2019-06-26T16:29:57.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# This sub-module is destined for common non-package specific utility
# functions.
from . utils import *
| 24.428571 | 69 | 0.760234 | 26 | 171 | 5 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.175439 | 171 | 6 | 70 | 28.5 | 0.914894 | 0.818713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07fe8959449ed75cbb9a6c7efe9b24fb2370ed16 | 6,957 | py | Python | customplotting/mscope.py | SarthakJariwala/Custom-Plotting | f281354a5bf861e039b7f49b9eaa4822e556da24 | [
"MIT"
] | 3 | 2019-07-26T17:46:36.000Z | 2021-01-29T12:40:55.000Z | customplotting/mscope.py | SarthakJariwala/Custom-Plotting | f281354a5bf861e039b7f49b9eaa4822e556da24 | [
"MIT"
] | null | null | null | customplotting/mscope.py | SarthakJariwala/Custom-Plotting | f281354a5bf861e039b7f49b9eaa4822e556da24 | [
"MIT"
] | 1 | 2020-06-18T22:00:02.000Z | 2020-06-18T22:00:02.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Oct 15 13:16:26 2018
@author: Sarthak
"""
import numpy as np
import matplotlib.pyplot as plt
from matplotlib_scalebar.scalebar import ScaleBar
def plot_confocal(
data,
new_fig=True,
FLIM_adjust=True,
scalebar=True,
colorbar=True,
... | 40.447674 | 272 | 0.622251 | 943 | 6,957 | 4.478261 | 0.19088 | 0.042624 | 0.022733 | 0.019891 | 0.756334 | 0.74923 | 0.74923 | 0.74923 | 0.717026 | 0.717026 | 0 | 0.020503 | 0.284893 | 6,957 | 171 | 273 | 40.684211 | 0.828342 | 0.459968 | 0 | 0.747475 | 0 | 0 | 0.106992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020202 | false | 0 | 0.030303 | 0 | 0.050505 | 0.010101 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed058e95896b3f519c5310916b6dcb4324df940d | 7,992 | py | Python | nearpy/tests/hash_storage_tests.py | WajihCZ/NearPy | c04b714ab39e7fd6b8a85a585b02691de523bd16 | [
"MIT"
] | 2 | 2015-06-04T03:18:13.000Z | 2016-01-12T08:01:36.000Z | nearpy/tests/hash_storage_tests.py | wanji/NearPy | 39fab306ff8b917749d0b75d75c3c35bb5271e53 | [
"MIT"
] | null | null | null | nearpy/tests/hash_storage_tests.py | wanji/NearPy | 39fab306ff8b917749d0b75d75c3c35bb5271e53 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2013 Ole Krause-Sparmann
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy,... | 39.96 | 87 | 0.707708 | 993 | 7,992 | 5.540786 | 0.173212 | 0.098146 | 0.130862 | 0.039258 | 0.769357 | 0.763177 | 0.751727 | 0.748455 | 0.744093 | 0.744093 | 0 | 0.031435 | 0.195946 | 7,992 | 199 | 88 | 40.160804 | 0.824774 | 0.13526 | 0 | 0.704918 | 0 | 0 | 0.034673 | 0 | 0 | 0 | 0 | 0 | 0.311475 | 1 | 0.090164 | false | 0 | 0.04918 | 0 | 0.147541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed1ddb5095715c8841c009e9b3f7bbebf681dc4a | 96 | py | Python | robo_ai/exception/not_authorized_error.py | robo-ai/roboai-python-sdk | 7e51951ea3d32f4bae2f8578151a2e36683d56d3 | [
"MIT"
] | null | null | null | robo_ai/exception/not_authorized_error.py | robo-ai/roboai-python-sdk | 7e51951ea3d32f4bae2f8578151a2e36683d56d3 | [
"MIT"
] | null | null | null | robo_ai/exception/not_authorized_error.py | robo-ai/roboai-python-sdk | 7e51951ea3d32f4bae2f8578151a2e36683d56d3 | [
"MIT"
] | null | null | null | from robo_ai.exception.api_error import ApiError
class NotAuthorizedError(ApiError):
pass
| 16 | 48 | 0.8125 | 12 | 96 | 6.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 5 | 49 | 19.2 | 0.915663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ed4bc40c9ecde7b1aea60fd27cce00113f35cc3c | 39 | py | Python | pconf/__init__.py | sthagen/pconf | f2d78619edcace84474b6b392aa977dd497b64f1 | [
"MIT"
] | 20 | 2017-06-04T09:29:10.000Z | 2021-07-31T00:07:40.000Z | pconf/__init__.py | sthagen/pconf | f2d78619edcace84474b6b392aa977dd497b64f1 | [
"MIT"
] | 32 | 2018-08-31T21:43:57.000Z | 2022-01-02T13:14:04.000Z | pconf/__init__.py | sthagen/pconf | f2d78619edcace84474b6b392aa977dd497b64f1 | [
"MIT"
] | 7 | 2018-08-31T20:57:21.000Z | 2021-07-13T11:24:39.000Z | from .pconf import Pconf # noqa: F401
| 19.5 | 38 | 0.717949 | 6 | 39 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.205128 | 39 | 1 | 39 | 39 | 0.806452 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed4bf81750079128ea76f390546db10d0d466208 | 32 | py | Python | other/codefestival_2016_qualA_a.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | other/codefestival_2016_qualA_a.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | other/codefestival_2016_qualA_a.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | s = input()
print(s[:4], s[4:])
| 10.666667 | 19 | 0.46875 | 7 | 32 | 2.142857 | 0.571429 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.15625 | 32 | 2 | 20 | 16 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ed78f34ab3087e02bf39dcb01351e17e2ebe50e9 | 25,471 | py | Python | salt/states/kubernetes.py | waynegemmell/salt | 88056db3589cccab8956c2ae4f9b733acce89461 | [
"Apache-2.0"
] | 9,425 | 2015-01-01T05:59:24.000Z | 2022-03-31T20:44:05.000Z | salt/states/kubernetes.py | waynegemmell/salt | 88056db3589cccab8956c2ae4f9b733acce89461 | [
"Apache-2.0"
] | 33,507 | 2015-01-01T00:19:56.000Z | 2022-03-31T23:48:20.000Z | salt/states/kubernetes.py | waynegemmell/salt | 88056db3589cccab8956c2ae4f9b733acce89461 | [
"Apache-2.0"
] | 5,810 | 2015-01-01T19:11:45.000Z | 2022-03-31T02:37:20.000Z | """
Manage kubernetes resources as salt states
==========================================
NOTE: This module requires the proper pillar values set. See
salt.modules.kubernetesmod for more information.
.. warning::
Configuration options will change in 2019.2.0.
The kubernetes module is used to manage different ku... | 28.207087 | 88 | 0.582898 | 2,925 | 25,471 | 4.933675 | 0.082735 | 0.033955 | 0.029728 | 0.018294 | 0.819832 | 0.794678 | 0.76405 | 0.735223 | 0.703693 | 0.647841 | 0 | 0.002416 | 0.301205 | 25,471 | 902 | 89 | 28.238359 | 0.80836 | 0.280319 | 0 | 0.696121 | 0 | 0 | 0.272588 | 0.051345 | 0 | 0 | 0 | 0.005543 | 0 | 1 | 0.036638 | false | 0 | 0.00431 | 0 | 0.157328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71fed0885aa33eec05a51e27cea77044299c458f | 5,063 | py | Python | tests/test_auth.py | lilyinstarlight/python-fooster-web | 928b61b85d28ed119e07cc397f855ee914a82d6b | [
"MIT"
] | 2 | 2018-07-17T17:38:42.000Z | 2020-01-01T18:24:33.000Z | tests/test_auth.py | lilyinstarlight/python-fooster-web | 928b61b85d28ed119e07cc397f855ee914a82d6b | [
"MIT"
] | 18 | 2016-06-07T15:12:00.000Z | 2017-09-25T20:01:32.000Z | tests/test_auth.py | fkmclane/web.py | 928b61b85d28ed119e07cc397f855ee914a82d6b | [
"MIT"
] | null | null | null | import base64
from fooster.web import web, auth
import mock
import pytest
test_header = 'Test'
test_value = 'value'
test_realm = 'Tests'
test_token = 'abcdef'
class Handler(auth.AuthHandler):
realm = test_realm
def auth_any(self, auth):
return None
def do_get(self):
return 204, ''
... | 27.367568 | 122 | 0.688327 | 609 | 5,063 | 5.596059 | 0.114943 | 0.098592 | 0.061033 | 0.079225 | 0.808099 | 0.805164 | 0.789613 | 0.762911 | 0.735035 | 0.662852 | 0 | 0.015425 | 0.180525 | 5,063 | 184 | 123 | 27.516304 | 0.805977 | 0 | 0 | 0.590909 | 0 | 0 | 0.082362 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 1 | 0.181818 | false | 0.018182 | 0.036364 | 0.090909 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c262ade14a3c76966cb54c57ed18d7c9f6617b1 | 111 | py | Python | palantir/__init__.py | nathanielCherian/palantir | 34aabdbab1f83bfe375808d03dcd431e4ea58b9a | [
"MIT"
] | 4 | 2020-08-18T00:18:05.000Z | 2021-11-29T01:50:10.000Z | palantir/__init__.py | nathanielCherian/palantir | 34aabdbab1f83bfe375808d03dcd431e4ea58b9a | [
"MIT"
] | 1 | 2021-09-09T23:55:19.000Z | 2021-09-09T23:55:19.000Z | palantir/__init__.py | nathanielCherian/palantir | 34aabdbab1f83bfe375808d03dcd431e4ea58b9a | [
"MIT"
] | null | null | null | from .preprocessor import preprocess
from .predictors import *
from .aggregators import *
from .utils import *
| 22.2 | 36 | 0.792793 | 13 | 111 | 6.769231 | 0.538462 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 37 | 27.75 | 0.926316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c31b6e32a15c46b5a361f3f34ea7a373a896bd3 | 29 | py | Python | PyALE/__init__.py | sitnarf/PyALE | 45600bfa16788bfa782820a4390d431d34ad2061 | [
"MIT"
] | null | null | null | PyALE/__init__.py | sitnarf/PyALE | 45600bfa16788bfa782820a4390d431d34ad2061 | [
"MIT"
] | null | null | null | PyALE/__init__.py | sitnarf/PyALE | 45600bfa16788bfa782820a4390d431d34ad2061 | [
"MIT"
] | null | null | null | from ._ALE_generic import ale | 29 | 29 | 0.862069 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c5872f9f50b1a93b9aa0a2c3c206708c6166fdb | 219 | py | Python | rustplus/exceptions/__init__.py | Wooble/rustplus | 9170c881c8c8d00239cfe9a8e035ac1042a72cce | [
"MIT"
] | 25 | 2021-05-03T11:08:55.000Z | 2022-03-14T00:56:50.000Z | rustplus/exceptions/__init__.py | Wooble/rustplus | 9170c881c8c8d00239cfe9a8e035ac1042a72cce | [
"MIT"
] | 9 | 2021-06-15T10:38:42.000Z | 2022-03-26T11:45:03.000Z | rustplus/exceptions/__init__.py | Wooble/rustplus | 9170c881c8c8d00239cfe9a8e035ac1042a72cce | [
"MIT"
] | 13 | 2021-06-08T18:35:17.000Z | 2022-03-26T00:44:08.000Z | from .exceptions import RateLimitError, ServerNotResponsiveError, CommandsNotEnabledError, ResponseNotRecievedError, PrefixNotDefinedError, ImageError, ClientNotConnectedError, RequestError, SmartDeviceRegistrationError | 219 | 219 | 0.908676 | 12 | 219 | 16.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050228 | 219 | 1 | 219 | 219 | 0.956731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9c5994b49862f18c1efd3b81576f654bfa52446e | 306 | py | Python | checkatlas/metrics/cluster/clust_analysis.py | becavin-lab/checkAtlas | 44aac40d3cb86672b171745cbde4e18c90446c4b | [
"Unlicense"
] | null | null | null | checkatlas/metrics/cluster/clust_analysis.py | becavin-lab/checkAtlas | 44aac40d3cb86672b171745cbde4e18c90446c4b | [
"Unlicense"
] | 7 | 2022-02-22T15:28:05.000Z | 2022-02-22T15:36:11.000Z | checkatlas/metrics/cluster/clust_analysis.py | becavin-lab/checkatlas | ac12d70b468a33c3eda7267402fd3451975f195a | [
"Unlicense"
] | null | null | null | def clust_analysis_external(adata, partition_key):
"""
Parameters
----------
adata
partition_key
Returns
-------
"""
def clust_analysis_internal(adata, partition_key):
"""
Parameters
----------
adata
partition_key
Returns
-------
"""
| 11.333333 | 50 | 0.51634 | 24 | 306 | 6.25 | 0.416667 | 0.373333 | 0.453333 | 0.36 | 0.68 | 0.68 | 0.68 | 0.68 | 0 | 0 | 0 | 0 | 0.30719 | 306 | 26 | 51 | 11.769231 | 0.707547 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9c6af058316c5f5432fb86720d98264c75d1f615 | 96 | py | Python | venv/lib/python3.8/site-packages/future/backports/email/_policybase.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/backports/email/_policybase.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/backports/email/_policybase.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/da/52/43/f71a2e8b3e2e1ef58643a8f59f0970595406c30ce9cb9259a1e42a8547 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c76cee9936447dc154d27c6a31b46565e2a041c | 147 | py | Python | tests/__init__.py | chhsiao1981/f6a_tw_crawler | d8b8bd1c14b2a6efe559258236a4be83f8dcf410 | [
"MIT"
] | 1 | 2019-07-05T03:39:05.000Z | 2019-07-05T03:39:05.000Z | tests/__init__.py | chhsiao1981/f6a_tw_crawler | d8b8bd1c14b2a6efe559258236a4be83f8dcf410 | [
"MIT"
] | null | null | null | tests/__init__.py | chhsiao1981/f6a_tw_crawler | d8b8bd1c14b2a6efe559258236a4be83f8dcf410 | [
"MIT"
] | 1 | 2019-07-05T03:39:07.000Z | 2019-07-05T03:39:07.000Z | # -*- coding: utf-8 -*-
from f6a_tw_crawler.constants import *
import unittest
import logging
def setup():
pass
def teardown():
pass
| 9.8 | 38 | 0.659864 | 19 | 147 | 5 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.22449 | 147 | 14 | 39 | 10.5 | 0.815789 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.285714 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
92e44ec20e13fdee21fce059e36c14862d807343 | 71 | py | Python | tobac/tests/test_import.py | w-herbst/tobac | 9f3b9812e9a13a26373e42d356f7d571366bb967 | [
"BSD-3-Clause"
] | 36 | 2018-11-12T10:42:22.000Z | 2022-03-08T04:29:58.000Z | tobac/tests/test_import.py | w-herbst/tobac | 9f3b9812e9a13a26373e42d356f7d571366bb967 | [
"BSD-3-Clause"
] | 71 | 2018-12-04T13:11:54.000Z | 2022-03-30T23:15:26.000Z | tobac/tests/test_import.py | w-herbst/tobac | 9f3b9812e9a13a26373e42d356f7d571366bb967 | [
"BSD-3-Clause"
] | 28 | 2018-11-19T07:51:02.000Z | 2022-02-17T16:26:40.000Z | import pytest
import tobac
def test_dummy_function():
assert 1==1
| 11.833333 | 26 | 0.746479 | 11 | 71 | 4.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.183099 | 71 | 5 | 27 | 14.2 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1330038d7325bc5acbeeed3371e6551e6db7ce6c | 32 | py | Python | pytorch_quant_tool/rules/__init__.py | neolinsu/pytorch_quant_tool | 6c492125e86034292ae64f814c9de1be3f9fe85f | [
"MIT"
] | 1 | 2019-11-29T08:38:53.000Z | 2019-11-29T08:38:53.000Z | pytorch_quant_tool/rules/__init__.py | neolinsu/pytorch_quant_tool | 6c492125e86034292ae64f814c9de1be3f9fe85f | [
"MIT"
] | null | null | null | pytorch_quant_tool/rules/__init__.py | neolinsu/pytorch_quant_tool | 6c492125e86034292ae64f814c9de1be3f9fe85f | [
"MIT"
] | 1 | 2019-11-29T09:21:25.000Z | 2019-11-29T09:21:25.000Z | from .fuse_rule import FuseRule
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1358816f908c2a5a74ea8fc195772f9ba5c5bde8 | 531 | py | Python | src/fsops/fso/exceptions.py | nasgoncalves/fsops | 01ecf2d5fe1553efb387eb9a67d9ecf34649bddf | [
"Apache-2.0"
] | null | null | null | src/fsops/fso/exceptions.py | nasgoncalves/fsops | 01ecf2d5fe1553efb387eb9a67d9ecf34649bddf | [
"Apache-2.0"
] | 1 | 2019-10-20T22:50:41.000Z | 2019-10-20T22:50:41.000Z | src/fsops/fso/exceptions.py | nasgoncalves/fsops | 01ecf2d5fe1553efb387eb9a67d9ecf34649bddf | [
"Apache-2.0"
] | null | null | null |
class FSOException(Exception):
def __init__(self, message):
super().__init__(message)
class FSOHashException(FSOException):
def __init__(self, message):
super().__init__(message)
class FSOTypeException(FSOException):
def __init__(self, message):
super().__init__(message)
class... | 21.24 | 41 | 0.700565 | 50 | 531 | 6.64 | 0.24 | 0.105422 | 0.165663 | 0.271084 | 0.716867 | 0.716867 | 0.716867 | 0.716867 | 0.460843 | 0 | 0 | 0 | 0.186441 | 531 | 24 | 42 | 22.125 | 0.768519 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
13868b84e4a22ec15879c5b79a2af753b4f4bda8 | 38 | py | Python | indra/assemblers/pybel/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 136 | 2016-02-11T22:06:37.000Z | 2022-03-31T17:26:20.000Z | indra/assemblers/pybel/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 748 | 2016-02-03T16:27:56.000Z | 2022-03-09T14:27:54.000Z | indra/assemblers/pybel/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 56 | 2015-08-28T14:03:44.000Z | 2022-02-04T06:15:55.000Z | from .assembler import PybelAssembler
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b949f02d232a157198cc027ca882d9002a1d2336 | 39 | py | Python | cob_moveit_interface/src/simple_moveit_interface/__init__.py | ipa-fxm/cob_manipulation | 0ba9bdd0ae40c4b2b9bc99adb9fc5741d9cca49b | [
"Apache-2.0"
] | null | null | null | cob_moveit_interface/src/simple_moveit_interface/__init__.py | ipa-fxm/cob_manipulation | 0ba9bdd0ae40c4b2b9bc99adb9fc5741d9cca49b | [
"Apache-2.0"
] | null | null | null | cob_moveit_interface/src/simple_moveit_interface/__init__.py | ipa-fxm/cob_manipulation | 0ba9bdd0ae40c4b2b9bc99adb9fc5741d9cca49b | [
"Apache-2.0"
] | null | null | null | from .simple_moveit_interface import *
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b95bcdb2f9d8192ce3eeed105e2a729775d79dc8 | 134 | py | Python | src/orders/admin.py | zmiterpimenau/PiLib | 301b51c5402f86da801d437ea943d10ea01c8fc1 | [
"Apache-2.0"
] | null | null | null | src/orders/admin.py | zmiterpimenau/PiLib | 301b51c5402f86da801d437ea943d10ea01c8fc1 | [
"Apache-2.0"
] | null | null | null | src/orders/admin.py | zmiterpimenau/PiLib | 301b51c5402f86da801d437ea943d10ea01c8fc1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from orders import models
admin.site.register(models.Cart)
admin.site.register(models.ProductInCart) | 26.8 | 41 | 0.843284 | 19 | 134 | 5.947368 | 0.578947 | 0.159292 | 0.300885 | 0.40708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 134 | 5 | 41 | 26.8 | 0.91129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b96048df72191f99bfcbdcbf7a7f36a428b7b1cb | 2,228 | py | Python | stream/users/user.py | Werded/stream-python | 3d7ad183ded383bf1d988e2165bc697e15036ac1 | [
"BSD-3-Clause"
] | null | null | null | stream/users/user.py | Werded/stream-python | 3d7ad183ded383bf1d988e2165bc697e15036ac1 | [
"BSD-3-Clause"
] | null | null | null | stream/users/user.py | Werded/stream-python | 3d7ad183ded383bf1d988e2165bc697e15036ac1 | [
"BSD-3-Clause"
] | null | null | null | from stream.users.base import BaseUsers
class Users(BaseUsers):
def add(self, user_id, data=None, get_or_create=False):
payload = dict(id=user_id, data=data)
return self.client.post(
self.API_ENDPOINT,
service_name=self.SERVICE_NAME,
signature=self.token,
... | 30.108108 | 65 | 0.573609 | 265 | 2,228 | 4.626415 | 0.143396 | 0.078303 | 0.065253 | 0.143556 | 0.892333 | 0.892333 | 0.843393 | 0.797716 | 0.797716 | 0.797716 | 0 | 0 | 0.316876 | 2,228 | 73 | 66 | 30.520548 | 0.805519 | 0 | 0 | 0.539683 | 0 | 0 | 0.089767 | 0.078097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0 | 0.015873 | 0.031746 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9633cdbf275aa4e0afd8a03a9d4e3fb64995648 | 66 | py | Python | mortimer/src/clients/redis.py | roch1990/mortimer | 8d8ec3e369643068f6f06a9ae0785ce6372afe7a | [
"MIT"
] | null | null | null | mortimer/src/clients/redis.py | roch1990/mortimer | 8d8ec3e369643068f6f06a9ae0785ce6372afe7a | [
"MIT"
] | null | null | null | mortimer/src/clients/redis.py | roch1990/mortimer | 8d8ec3e369643068f6f06a9ae0785ce6372afe7a | [
"MIT"
] | null | null | null | from src.clients.cache import Cache
class Redis(Cache):
pass | 13.2 | 35 | 0.742424 | 10 | 66 | 4.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 5 | 36 | 13.2 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b98bf1453272b88db2f452b3a0e08b868e90f6cd | 76,294 | py | Python | testSuite/scripts/test_service_to_service_copy.py | evenh/azure-storage-azcopy | 2c30af330b681d3a1f31db32e11245eafce9c5c3 | [
"MIT"
] | null | null | null | testSuite/scripts/test_service_to_service_copy.py | evenh/azure-storage-azcopy | 2c30af330b681d3a1f31db32e11245eafce9c5c3 | [
"MIT"
] | null | null | null | testSuite/scripts/test_service_to_service_copy.py | evenh/azure-storage-azcopy | 2c30af330b681d3a1f31db32e11245eafce9c5c3 | [
"MIT"
] | null | null | null | import json
import os
import shutil
import time
import urllib
from collections import namedtuple
import utility as util
import unittest
import filecmp
import os.path
class Service_2_Service_Copy_User_Scenario(unittest.TestCase):
def setUp(self):
# init bucket_name
common_prefix = 's2scopybucket'
... | 56.514074 | 216 | 0.705586 | 10,229 | 76,294 | 4.802522 | 0.039105 | 0.03599 | 0.044987 | 0.043644 | 0.890545 | 0.870779 | 0.854819 | 0.832977 | 0.822962 | 0.808387 | 0 | 0.013559 | 0.20054 | 76,294 | 1,350 | 217 | 56.514074 | 0.791848 | 0.090977 | 0 | 0.643564 | 0 | 0.00099 | 0.098438 | 0.023879 | 0 | 0 | 0 | 0.000741 | 0.055446 | 1 | 0.084158 | false | 0 | 0.009901 | 0 | 0.09901 | 0.00198 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9f34f045caf4567571e3abd5ca61417940dedd9 | 26 | py | Python | terrascript/archive/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/archive/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/archive/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:06:45"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a059dbd9ee49b640187f7ba6a589e5110778208 | 979 | py | Python | 20200921/step2.py | ObukhovVladislav/python-basics | 268af015fdd3392fd77783b38ef74be2ca6db7da | [
"Apache-2.0"
] | null | null | null | 20200921/step2.py | ObukhovVladislav/python-basics | 268af015fdd3392fd77783b38ef74be2ca6db7da | [
"Apache-2.0"
] | null | null | null | 20200921/step2.py | ObukhovVladislav/python-basics | 268af015fdd3392fd77783b38ef74be2ca6db7da | [
"Apache-2.0"
] | null | null | null | student_marks = []
while True:
mark = input('введите оценку студента:\n')
if mark:
mark = int(mark)
if mark > 5 or mark < 1:
print('Оценка не подходит под категорию оценивания')
else:
student_marks.append(mark)
else:
break
print('ввод завершен')
st... | 20.829787 | 64 | 0.546476 | 116 | 979 | 4.560345 | 0.258621 | 0.136106 | 0.096408 | 0.119093 | 0.875236 | 0.776938 | 0.776938 | 0.776938 | 0.606805 | 0.606805 | 0 | 0.015649 | 0.347293 | 979 | 47 | 65 | 20.829787 | 0.812207 | 0 | 0 | 0.868421 | 0 | 0 | 0.237755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a10757579fa82a4a37b6d90fb8f6422fc60cfb6 | 6,346 | py | Python | metrics/statistics.py | IFB-ElixirFr/FAIR-checker | 0984461fb265ddb14e01c9b8ef461c6e1e495f54 | [
"MIT"
] | null | null | null | metrics/statistics.py | IFB-ElixirFr/FAIR-checker | 0984461fb265ddb14e01c9b8ef461c6e1e495f54 | [
"MIT"
] | 48 | 2022-02-02T16:09:36.000Z | 2022-03-31T15:23:15.000Z | metrics/statistics.py | IFB-ElixirFr/FAIR-checker | 0984461fb265ddb14e01c9b8ef461c6e1e495f54 | [
"MIT"
] | null | null | null | from pymongo import MongoClient
from datetime import datetime, date, timedelta
def evaluations_this_week():
client = MongoClient()
db = client.fair_checker
evaluations = db.evaluations
a_day_ago = datetime.now() - timedelta(1)
a_week_ago = datetime.now() - timedelta(7)
a_month_ago = datetime.... | 28.585586 | 86 | 0.533092 | 709 | 6,346 | 4.506347 | 0.114245 | 0.067606 | 0.097653 | 0.107981 | 0.888889 | 0.875117 | 0.865415 | 0.865415 | 0.839124 | 0.826917 | 0 | 0.013043 | 0.311377 | 6,346 | 221 | 87 | 28.714932 | 0.718078 | 0.059565 | 0 | 0.641619 | 0 | 0 | 0.095454 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040462 | false | 0 | 0.011561 | 0 | 0.092486 | 0.028902 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a3470e0641753790779ce4503b3a650544f6514 | 40,659 | py | Python | aalh_iit_churches_002/populate-place-column.py | johndewees/iitmigration | 4dadfbecda719d6e7d60af076a231aedec3c862f | [
"Unlicense"
] | null | null | null | aalh_iit_churches_002/populate-place-column.py | johndewees/iitmigration | 4dadfbecda719d6e7d60af076a231aedec3c862f | [
"Unlicense"
] | null | null | null | aalh_iit_churches_002/populate-place-column.py | johndewees/iitmigration | 4dadfbecda719d6e7d60af076a231aedec3c862f | [
"Unlicense"
] | null | null | null | from openpyxl import load_workbook
filename = 'aalh_iit_churches_002.xlsx'
wb = load_workbook(filename)
ws = wb['Metadata Template']
minimumcol = 8
maximumcol = 8
minimumrow = 7
maximumrow = 43
iterationrow = 7
desccol = 8
targetcol = 13
rawcovcol = 49
covcol = 10
titlecol = 2
for row in ws.iter_r... | 79.412109 | 138 | 0.566394 | 4,132 | 40,659 | 5.570184 | 0.072362 | 0.080292 | 0.120438 | 0.281022 | 0.845499 | 0.842414 | 0.842414 | 0.840633 | 0.654501 | 0.619569 | 0 | 0.006912 | 0.302565 | 40,659 | 512 | 139 | 79.412109 | 0.80474 | 0 | 0 | 0.366142 | 0 | 0 | 0.198486 | 0.001295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001969 | 0 | 0.001969 | 0.307087 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a3797ad0942b8be48148b2b3f16a60ffc7b46a3 | 167 | py | Python | tests/components/bosch_shc/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/bosch_shc/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/bosch_shc/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """bosch_shc session fixtures."""
import pytest
@pytest.fixture(autouse=True)
def bosch_shc_mock_async_zeroconf(mock_async_zeroconf):
"""Auto mock zeroconf."""
| 18.555556 | 55 | 0.760479 | 22 | 167 | 5.454545 | 0.636364 | 0.133333 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107784 | 167 | 8 | 56 | 20.875 | 0.805369 | 0.281437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e01b6e7560df6205f0c2701cec8573d892c6f92c | 169 | py | Python | Arrays/Atividade 4.py | SkaarlK/Learning-Python | bbf011182fb5bf876aa9a274400c41a266a0e8c7 | [
"MIT"
] | 2 | 2022-01-01T19:31:56.000Z | 2022-01-01T19:32:54.000Z | Arrays/Atividade 4.py | SkaarlK/Learning-Python | bbf011182fb5bf876aa9a274400c41a266a0e8c7 | [
"MIT"
] | null | null | null | Arrays/Atividade 4.py | SkaarlK/Learning-Python | bbf011182fb5bf876aa9a274400c41a266a0e8c7 | [
"MIT"
] | null | null | null | print(" Caso não seja verificado se o array está vazio antes de utilizar o method pop(), é possível gerar o seguinte erro: ")
print(" IndexError: pop from empty list ")
| 56.333333 | 125 | 0.745562 | 28 | 169 | 4.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177515 | 169 | 2 | 126 | 84.5 | 0.906475 | 0 | 0 | 0 | 0 | 0.5 | 0.881657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e020d1ff13574c2cc55cd66faf981ae3b7653a68 | 17,702 | py | Python | zerver/webhooks/bitbucket3/tests.py | Pulkit007/zulip | 8a5f6f8d95baa55c4b28972cfc5a498f5f388e0f | [
"Apache-2.0"
] | 17,004 | 2015-09-25T18:27:24.000Z | 2022-03-31T22:02:32.000Z | zerver/webhooks/bitbucket3/tests.py | Pulkit007/zulip | 8a5f6f8d95baa55c4b28972cfc5a498f5f388e0f | [
"Apache-2.0"
] | 20,344 | 2015-09-25T19:02:42.000Z | 2022-03-31T23:54:40.000Z | zerver/webhooks/bitbucket3/tests.py | Pulkit007/zulip | 8a5f6f8d95baa55c4b28972cfc5a498f5f388e0f | [
"Apache-2.0"
] | 7,271 | 2015-09-25T18:48:39.000Z | 2022-03-31T21:06:11.000Z | from zerver.lib.test_classes import WebhookTestCase
TOPIC = "sandbox"
TOPIC_BRANCH_EVENTS = "sandbox / {branch}"
class Bitbucket3HookTests(WebhookTestCase):
STREAM_NAME = "bitbucket3"
URL_TEMPLATE = "/api/v1/external/bitbucket3?stream={stream}&api_key={api_key}"
WEBHOOK_DIR_NAME = "bitbucket3"
# Dia... | 69.148438 | 443 | 0.707604 | 2,436 | 17,702 | 4.926108 | 0.081691 | 0.044917 | 0.05775 | 0.070583 | 0.887333 | 0.867417 | 0.844 | 0.79625 | 0.76725 | 0.7455 | 0 | 0.104146 | 0.151113 | 17,702 | 255 | 444 | 69.419608 | 0.694417 | 0.006214 | 0 | 0.335 | 0 | 0.165 | 0.512743 | 0.059604 | 0 | 0 | 0 | 0 | 0.01 | 1 | 0.185 | false | 0 | 0.015 | 0 | 0.22 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e030c4d487aed474d5c7d406a1393da2331b46b0 | 10,196 | py | Python | opac/tests/test_interface_journal_home.py | jamilatta/opac | 380da89a5ceb84f843a65c36455404fcb8dc1173 | [
"BSD-2-Clause"
] | null | null | null | opac/tests/test_interface_journal_home.py | jamilatta/opac | 380da89a5ceb84f843a65c36455404fcb8dc1173 | [
"BSD-2-Clause"
] | null | null | null | opac/tests/test_interface_journal_home.py | jamilatta/opac | 380da89a5ceb84f843a65c36455404fcb8dc1173 | [
"BSD-2-Clause"
] | null | null | null | # coding: utf-8
import flask
from flask import url_for, current_app
from .base import BaseTestCase
from . import utils
class JournalHomeTestCase(BaseTestCase):
# Mission
def test_journal_detail_mission_with_pt_language(self):
"""
Teste para verificar se na interface inicial da revista esta... | 40.300395 | 109 | 0.550314 | 998 | 10,196 | 5.422846 | 0.141283 | 0.035477 | 0.073171 | 0.085366 | 0.902439 | 0.902439 | 0.896711 | 0.896711 | 0.896711 | 0.885994 | 0 | 0.007587 | 0.353668 | 10,196 | 252 | 110 | 40.460317 | 0.813657 | 0.131522 | 0 | 0.68 | 0 | 0 | 0.136627 | 0.007446 | 0 | 0 | 0 | 0 | 0.22 | 1 | 0.046667 | false | 0 | 0.026667 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0353d15e7b78009ca46b2c498f181d6c039becc | 27,321 | py | Python | docker-images/taigav2/taiga-back/tests/integration/test_timeline.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | 1 | 2017-05-29T19:01:06.000Z | 2017-05-29T19:01:06.000Z | docker-images/taigav2/taiga-back/tests/integration/test_timeline.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | docker-images/taigav2/taiga-back/tests/integration/test_timeline.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (C) 2014-2016 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2016 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014-2016 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2014-2016 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# Copyright (C) 2014-2016 Anler Hernández ... | 52.239006 | 135 | 0.75678 | 3,461 | 27,321 | 5.731292 | 0.063565 | 0.092257 | 0.047187 | 0.064327 | 0.907491 | 0.871143 | 0.836156 | 0.79754 | 0.739917 | 0.727465 | 0 | 0.011976 | 0.122873 | 27,321 | 522 | 136 | 52.33908 | 0.815765 | 0.034955 | 0 | 0.52439 | 0 | 0 | 0.16165 | 0.023988 | 0 | 0 | 0 | 0 | 0.307317 | 1 | 0.085366 | false | 0 | 0.014634 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e05234239360af30a691c66a4abe38970f10d123 | 104 | py | Python | app/views/detail/__init__.py | UserLoggedOut/Forum-Project | 35bc6fd746beaf09c94c4492b25c3d7fd9d8a1a5 | [
"AFL-3.0"
] | null | null | null | app/views/detail/__init__.py | UserLoggedOut/Forum-Project | 35bc6fd746beaf09c94c4492b25c3d7fd9d8a1a5 | [
"AFL-3.0"
] | null | null | null | app/views/detail/__init__.py | UserLoggedOut/Forum-Project | 35bc6fd746beaf09c94c4492b25c3d7fd9d8a1a5 | [
"AFL-3.0"
] | null | null | null | from flask import Blueprint
# 创建蓝图
detail_blu = Blueprint("detail_blu", __name__)
from . import views
| 14.857143 | 46 | 0.769231 | 14 | 104 | 5.285714 | 0.642857 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 47 | 17.333333 | 0.840909 | 0.038462 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e054a3a478ba633a9cdc755e6c7fc0ca2ad89382 | 121 | py | Python | web/handlers/__init__.py | caroltc/crawler | fb6b764a3f915aa0a33bcfae9a420f06159b8093 | [
"Apache-2.0"
] | 1 | 2018-01-15T07:04:07.000Z | 2018-01-15T07:04:07.000Z | web/handlers/__init__.py | caroltc/crawler | fb6b764a3f915aa0a33bcfae9a420f06159b8093 | [
"Apache-2.0"
] | null | null | null | web/handlers/__init__.py | caroltc/crawler | fb6b764a3f915aa0a33bcfae9a420f06159b8093 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#-*- coding: utf-8 -*-
from WebHandler import *
from BaseHandler import *
from AjaxHandler import * | 24.2 | 25 | 0.719008 | 16 | 121 | 5.4375 | 0.75 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.140496 | 121 | 5 | 26 | 24.2 | 0.826923 | 0.338843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0601c9efb85cd048847d7738d471076cae63c14 | 51 | py | Python | src/lib/config/__init__.py | arnulfojr/nginx-proxy-yml | afa090f11034076f00e4bf49ffef65a7f157c923 | [
"MIT"
] | 1 | 2021-11-16T04:18:43.000Z | 2021-11-16T04:18:43.000Z | src/lib/config/__init__.py | arnulfojr/nginx-proxy-yml | afa090f11034076f00e4bf49ffef65a7f157c923 | [
"MIT"
] | 1 | 2021-06-01T22:01:31.000Z | 2021-06-01T22:01:31.000Z | src/lib/config/__init__.py | arnulfojr/nginx-proxy-yml | afa090f11034076f00e4bf49ffef65a7f157c923 | [
"MIT"
] | null | null | null | # flake8: noqa
from . import yml
from . import ini
| 12.75 | 17 | 0.705882 | 8 | 51 | 4.5 | 0.75 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.215686 | 51 | 3 | 18 | 17 | 0.875 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e072a0de934b17ee496147c901c39ea8b14afbf8 | 584 | py | Python | logo.py | nikgoss/guessNumber | 0652198fe95451e59bd729c105892566ed1effc0 | [
"Apache-2.0"
] | null | null | null | logo.py | nikgoss/guessNumber | 0652198fe95451e59bd729c105892566ed1effc0 | [
"Apache-2.0"
] | null | null | null | logo.py | nikgoss/guessNumber | 0652198fe95451e59bd729c105892566ed1effc0 | [
"Apache-2.0"
] | null | null | null | art="""
____ _____ _ _ _ _
/ ___|_ _ ___ ___ ___ |_ _| |__ ___ | \ | |_ _ _ __ ___ | |__ ___ _ __
| | _| | | |/ _ \/ __/ __| | | | '_ \ / _ \ | \| | | | | '_ ` _ \| '_ \ / _ \ '__|
| |_| | |_| | __/\__ \__ \ | | | | | | __/ ... | 64.888889 | 131 | 0.202055 | 1 | 584 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.587329 | 584 | 8 | 132 | 73 | 0.012448 | 0 | 0 | 0 | 0 | 0.571429 | 0.981164 | 0.044521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ed3026e972cea41f6afa9a94d20cb2a83350ca8 | 358 | py | Python | tigerforecast/utils/__init__.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | 1 | 2020-07-28T09:07:29.000Z | 2020-07-28T09:07:29.000Z | tigerforecast/utils/__init__.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | null | null | null | tigerforecast/utils/__init__.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | 1 | 2021-04-12T22:39:26.000Z | 2021-04-12T22:39:26.000Z | # utils init file
from tigerforecast.utils.registration_tools import Spec, Registry
from tigerforecast.utils.download_tools import get_tigerforecast_dir
from tigerforecast.utils.dataset_registry import sp500, uci_indoor, crypto, unemployment, enso
from tigerforecast.utils.random import set_key, generate_key, get_globa... | 51.142857 | 94 | 0.868715 | 48 | 358 | 6.270833 | 0.541667 | 0.299003 | 0.292359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009119 | 0.081006 | 358 | 7 | 95 | 51.142857 | 0.905775 | 0.041899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ef0e164ef2a9c2b04ad1ad331bf80997c2e58da | 163 | py | Python | setup.py | Alexandr199837/Cellular-automata-master-bootstrap | 38a8b966f775140bd09c8ea1c791bb4993b5ebb8 | [
"MIT"
] | null | null | null | setup.py | Alexandr199837/Cellular-automata-master-bootstrap | 38a8b966f775140bd09c8ea1c791bb4993b5ebb8 | [
"MIT"
] | null | null | null | setup.py | Alexandr199837/Cellular-automata-master-bootstrap | 38a8b966f775140bd09c8ea1c791bb4993b5ebb8 | [
"MIT"
] | 2 | 2020-02-11T11:53:28.000Z | 2020-04-19T01:13:55.000Z | from distutils.core import setup
from Cython.Build import cythonize
setup(name = 'cellular_cython', ext_modules = cythonize('app/views/dep/cellular_cython.pyx'))
| 32.6 | 93 | 0.803681 | 23 | 163 | 5.565217 | 0.695652 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092025 | 163 | 4 | 94 | 40.75 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.294479 | 0.202454 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
165f30a859be1b5d4c75ba000f5d2ace0b65dc64 | 36 | py | Python | test/test_sample.py | ArzaEshita/group7_hw2b | be0c6c0bea8520a5bb3faa0b723765afd9bb4d43 | [
"MIT"
] | null | null | null | test/test_sample.py | ArzaEshita/group7_hw2b | be0c6c0bea8520a5bb3faa0b723765afd9bb4d43 | [
"MIT"
] | 1 | 2021-09-01T23:25:14.000Z | 2021-09-01T23:25:14.000Z | test/test_sample.py | ArzaEshita/group7_hw2b | be0c6c0bea8520a5bb3faa0b723765afd9bb4d43 | [
"MIT"
] | 1 | 2021-09-01T23:16:31.000Z | 2021-09-01T23:16:31.000Z | def test_build():
assert 2 == 2
| 12 | 17 | 0.583333 | 6 | 36 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.277778 | 36 | 2 | 18 | 18 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
167fc6e5e856ce9d0613d693bc5da7a086182db9 | 24 | py | Python | account/tests/__init__.py | Xena89/bp-master | 139af619dd9f2d230e6a7e25c66582e8fd2a131e | [
"MIT"
] | 3 | 2019-06-07T13:39:39.000Z | 2021-01-21T20:42:43.000Z | account/tests/__init__.py | Xena89/bp-master | 139af619dd9f2d230e6a7e25c66582e8fd2a131e | [
"MIT"
] | 32 | 2019-04-26T10:41:32.000Z | 2021-06-08T04:09:27.000Z | account/tests/__init__.py | Xena89/bp-master | 139af619dd9f2d230e6a7e25c66582e8fd2a131e | [
"MIT"
] | 2 | 2019-08-15T08:00:26.000Z | 2021-06-11T08:11:10.000Z | from .test_urls import * | 24 | 24 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16afc03d5ef23d2e2d2595304dfdf86a20e26cd3 | 22,586 | py | Python | safe_transaction_service/contracts/decoder_abis/idle.py | byteflyfunny/safe-transaction-service | 2a1a855d9881181a57692057aeb91c9fd8ae3de5 | [
"MIT"
] | 67 | 2019-08-16T16:26:42.000Z | 2022-03-21T20:32:43.000Z | safe_transaction_service/contracts/decoder_abis/idle.py | byteflyfunny/safe-transaction-service | 2a1a855d9881181a57692057aeb91c9fd8ae3de5 | [
"MIT"
] | 550 | 2019-07-11T12:09:06.000Z | 2022-03-31T16:32:00.000Z | safe_transaction_service/contracts/decoder_abis/idle.py | byteflyfunny/safe-transaction-service | 2a1a855d9881181a57692057aeb91c9fd8ae3de5 | [
"MIT"
] | 83 | 2019-12-06T11:22:32.000Z | 2022-03-30T10:09:22.000Z | idle_token_v3 = [
{
"inputs": [
{"internalType": "string", "name": "_name", "type": "string"},
{"internalType": "string", "name": "_symbol", "type": "string"},
{"internalType": "uint8", "name": "_decimals", "type": "uint8"},
{"internalType": "address", "name":... | 30.398385 | 88 | 0.436509 | 1,413 | 22,586 | 6.957537 | 0.081387 | 0.07161 | 0.164785 | 0.075679 | 0.854338 | 0.829824 | 0.793815 | 0.774997 | 0.752009 | 0.7337 | 0 | 0.015878 | 0.347516 | 22,586 | 742 | 89 | 30.439353 | 0.651218 | 0 | 0 | 0.630728 | 0 | 0 | 0.408749 | 0.002125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16b883de8264a5841d0a7a25041b390731c17a28 | 23 | py | Python | ariesk/cli/__init__.py | dcdanko/AriesK | f761913c701b9e2526714cd3b96db3aaa3eeff8c | [
"MIT"
] | 11 | 2019-12-29T10:04:12.000Z | 2022-01-25T23:28:30.000Z | ariesk/cli/__init__.py | dcdanko/AriesK | f761913c701b9e2526714cd3b96db3aaa3eeff8c | [
"MIT"
] | 2 | 2019-11-05T21:58:41.000Z | 2019-11-05T21:58:47.000Z | ariesk/cli/__init__.py | dcdanko/AriesK | f761913c701b9e2526714cd3b96db3aaa3eeff8c | [
"MIT"
] | 2 | 2020-01-14T21:12:42.000Z | 2020-06-05T20:51:46.000Z |
from .cli import main
| 7.666667 | 21 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc813dc53dd4a7b81c79b78614bb6da841f9ef16 | 674 | py | Python | peeringmap/peeringmap.py | danielearena/PeeringMap | 8de2ed177c1724580024e477f292ada553e02682 | [
"CC0-1.0"
] | null | null | null | peeringmap/peeringmap.py | danielearena/PeeringMap | 8de2ed177c1724580024e477f292ada553e02682 | [
"CC0-1.0"
] | null | null | null | peeringmap/peeringmap.py | danielearena/PeeringMap | 8de2ed177c1724580024e477f292ada553e02682 | [
"CC0-1.0"
] | null | null | null | from .pdb import PDBNetwork, PDBFacility
def get_network_facilities(asn):
net = PDBNetwork(asn)
result = []
for loc in net.locations:
if loc.is_valid:
result.append({
'name': loc.name,
'latitude': loc.latitude,
'longitude': loc.longit... | 24.071429 | 42 | 0.517804 | 67 | 674 | 5.119403 | 0.38806 | 0.034985 | 0.093294 | 0.151604 | 0.77551 | 0.77551 | 0.77551 | 0.77551 | 0.77551 | 0.77551 | 0 | 0 | 0.384273 | 674 | 27 | 43 | 24.962963 | 0.826506 | 0 | 0 | 0.782609 | 0 | 0 | 0.062407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bca8fcf6022d008a4aaa672f0ff63464a40089d0 | 838 | py | Python | tests/test_data.py | kenneth051/dict_dot_notate | 24b5d21cd69af188d5ef7a4c0dc150cb730d9431 | [
"MIT"
] | null | null | null | tests/test_data.py | kenneth051/dict_dot_notate | 24b5d21cd69af188d5ef7a4c0dc150cb730d9431 | [
"MIT"
] | null | null | null | tests/test_data.py | kenneth051/dict_dot_notate | 24b5d21cd69af188d5ef7a4c0dc150cb730d9431 | [
"MIT"
] | null | null | null | test_data1 = {
"obj": "obj",
"nested_once": {"first": "first"},
"nested_twice": {
"twice": {"inner_nest": {"second": "second"}}
},
"nested_thrice": {
"thrice": {"second_nest": {"tripple_nest": {"tripple": "thrice"}, "three": "three"}}
}
}
test_data1_results = {'obj': 'obj', 'nes... | 29.928571 | 139 | 0.578759 | 99 | 838 | 4.59596 | 0.232323 | 0.052747 | 0.105495 | 0.140659 | 0.813187 | 0.751648 | 0.751648 | 0.751648 | 0.751648 | 0.751648 | 0 | 0.018018 | 0.205251 | 838 | 27 | 140 | 31.037037 | 0.665165 | 0 | 0 | 0.25 | 0 | 0 | 0.494033 | 0.186158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bcab58405ead3986faa169cfa5049873e01757f6 | 26 | py | Python | python/ql/test/query-tests/Security/lib/Crypto/Cipher/ARC4.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/query-tests/Security/lib/Crypto/Cipher/ARC4.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/query-tests/Security/lib/Crypto/Cipher/ARC4.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z |
def new(*args):
pass
| 6.5 | 15 | 0.538462 | 4 | 26 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 26 | 3 | 16 | 8.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9121fcaa3c5d7fb879c7afd209ea08eaa5f82e0d | 32 | py | Python | face_detection/dsfd/__init__.py | jindl465/DSFD-Pytorch-Inference | 8edd299ecdf0ccc7c14e379d30cd6ccb569df85f | [
"Apache-2.0"
] | 155 | 2019-09-12T07:07:40.000Z | 2022-03-31T03:45:31.000Z | face_detection/dsfd/__init__.py | jindl465/DSFD-Pytorch-Inference | 8edd299ecdf0ccc7c14e379d30cd6ccb569df85f | [
"Apache-2.0"
] | 20 | 2019-09-16T21:28:27.000Z | 2022-01-03T23:51:30.000Z | face_detection/dsfd/__init__.py | jindl465/DSFD-Pytorch-Inference | 8edd299ecdf0ccc7c14e379d30cd6ccb569df85f | [
"Apache-2.0"
] | 46 | 2019-09-11T13:33:22.000Z | 2022-03-31T07:09:48.000Z | from .detect import DSFDDetector | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91230b27b29cfbd8dbb18149f0a5614f4c79d62a | 52 | py | Python | kinopoisk_unofficial/contract/response.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 2 | 2021-11-13T12:23:41.000Z | 2021-12-24T14:09:49.000Z | kinopoisk_unofficial/contract/response.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 1 | 2022-03-29T19:13:24.000Z | 2022-03-30T18:57:23.000Z | kinopoisk_unofficial/contract/response.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 1 | 2021-11-13T12:30:01.000Z | 2021-11-13T12:30:01.000Z | from abc import ABC
class Response(ABC):
pass
| 8.666667 | 20 | 0.692308 | 8 | 52 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 52 | 5 | 21 | 10.4 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e69047e315a6d795ffb03ee588e1599a8837584f | 2,580 | py | Python | app.py | HuangFJ/pyeth | dc765d0060888a7ac66cc22aba5c1d265acfdb39 | [
"BSD-3-Clause"
] | 16 | 2017-11-23T05:24:45.000Z | 2021-06-08T13:30:39.000Z | app.py | HuangFJ/pyeth | dc765d0060888a7ac66cc22aba5c1d265acfdb39 | [
"BSD-3-Clause"
] | 1 | 2020-11-17T06:50:37.000Z | 2020-11-17T06:50:37.000Z | app.py | HuangFJ/pyeth | dc765d0060888a7ac66cc22aba5c1d265acfdb39 | [
"BSD-3-Clause"
] | 6 | 2018-06-21T06:31:31.000Z | 2020-05-29T07:34:41.000Z | # -*- coding: utf8 -*-
from gevent import monkey; monkey.patch_all()
from pyeth.discovery import EndPoint, Server, Node
import binascii
from urlparse import urlparse
test_boots = [
# "enode://561ab5a08c6f2e486059f2add5d08932e4f0ebbc6c2a2ba5e0f930a5441e65ec59f5b6684b3e75bed380109135d089e56380dad83357f5fda2122fdbdb... | 54.893617 | 167 | 0.839922 | 162 | 2,580 | 13.345679 | 0.62963 | 0.006475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.477234 | 0.08062 | 2,580 | 46 | 168 | 56.086957 | 0.434233 | 0.370155 | 0 | 0 | 0 | 0 | 0.676837 | 0.676837 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.190476 | 0 | 0.190476 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6972d5bbcaae9b3df6658f4db567c182a2bc80a | 8,378 | py | Python | great_expectations/expectations/metrics/column_map_metrics/column_values_between.py | markovml/great_expectations | 0b4b8924a0ee6aff4ffdf235f074a8681ffa1658 | [
"Apache-2.0"
] | 2 | 2020-01-28T13:51:53.000Z | 2020-01-28T23:13:06.000Z | great_expectations/expectations/metrics/column_map_metrics/column_values_between.py | markovml/great_expectations | 0b4b8924a0ee6aff4ffdf235f074a8681ffa1658 | [
"Apache-2.0"
] | null | null | null | great_expectations/expectations/metrics/column_map_metrics/column_values_between.py | markovml/great_expectations | 0b4b8924a0ee6aff4ffdf235f074a8681ffa1658 | [
"Apache-2.0"
] | 1 | 2022-01-26T03:25:34.000Z | 2022-01-26T03:25:34.000Z | from dateutil.parser import parse
from great_expectations.execution_engine import (
PandasExecutionEngine,
SparkDFExecutionEngine,
)
from great_expectations.execution_engine.sqlalchemy_execution_engine import (
SqlAlchemyExecutionEngine,
)
from great_expectations.expectations.metrics.import_manager import ... | 35.054393 | 120 | 0.529482 | 899 | 8,378 | 4.676307 | 0.105673 | 0.121789 | 0.066603 | 0.048525 | 0.758088 | 0.716461 | 0.714082 | 0.70647 | 0.700761 | 0.676736 | 0 | 0.000204 | 0.414419 | 8,378 | 238 | 121 | 35.201681 | 0.856706 | 0.036882 | 0 | 0.737374 | 0 | 0 | 0.075397 | 0.009301 | 0 | 0 | 0 | 0.004202 | 0 | 1 | 0.020202 | false | 0 | 0.025253 | 0 | 0.252525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6a9b7ae52e2412a8b9f241814934fd51f3a6665 | 7,060 | py | Python | tests/system/action/assignment/test_create.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | tests/system/action/assignment/test_create.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | tests/system/action/assignment/test_create.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | from tests.system.action.base import BaseActionTestCase
class AssignmentCreateActionTest(BaseActionTestCase):
def test_create(self) -> None:
self.create_model(
"meeting/110", {"name": "name_zvfbAjpZ", "agenda_item_creation": "always"}
)
response = self.client.post(
... | 36.963351 | 86 | 0.484844 | 646 | 7,060 | 5.029412 | 0.123839 | 0.083102 | 0.081871 | 0.041551 | 0.831333 | 0.802401 | 0.802401 | 0.792244 | 0.786088 | 0.770083 | 0 | 0.029493 | 0.385269 | 7,060 | 190 | 87 | 37.157895 | 0.719124 | 0 | 0 | 0.596685 | 0 | 0 | 0.232295 | 0.013031 | 0 | 0 | 0 | 0 | 0.21547 | 1 | 0.044199 | false | 0 | 0.005525 | 0 | 0.055249 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6c22d7b9fdadb986ced2b9da3eb754ee2af3b8b | 27,006 | py | Python | tweedie/tests/results.py | StateFarmIns/tweedie | db4a4dba710ae0b8604010f366e1477227710d74 | [
"BSD-2-Clause"
] | 17 | 2018-04-05T20:17:58.000Z | 2022-03-22T11:46:42.000Z | tweedie/tests/results.py | StateFarmIns/tweedie | db4a4dba710ae0b8604010f366e1477227710d74 | [
"BSD-2-Clause"
] | 8 | 2017-05-02T22:54:38.000Z | 2022-02-02T14:15:00.000Z | tweedie/tests/results.py | StateFarmIns/tweedie | db4a4dba710ae0b8604010f366e1477227710d74 | [
"BSD-2-Clause"
] | 10 | 2018-09-29T02:04:08.000Z | 2021-06-29T11:32:46.000Z | # This file auto-generated by test_get_R_tweedie_var_weight.R
# Using: R version 3.2.4 Revised (2016-03-16 r70336)
import numpy as np
import os
path = os.path.abspath(__file__)
dir_path = os.path.dirname(path)
test_ys=np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ])
test_results="""
--BEGIN TEST CASE--
power=1
mu=0.5
phi... | 71.255937 | 280 | 0.78016 | 3,538 | 27,006 | 5.951385 | 0.285472 | 0.041033 | 0.036094 | 0.040606 | 0.241784 | 0.203267 | 0.201225 | 0.20056 | 0.192629 | 0.146562 | 0 | 0.674081 | 0.067689 | 27,006 | 379 | 281 | 71.255937 | 0.162205 | 0.004073 | 0 | 0.71618 | 1 | 0.262599 | 0.993121 | 0.209192 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005305 | 0 | 0.005305 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6ce44879b32e19db63be52af054f540be3b885b | 79,636 | py | Python | test/augmenters/test_contrast.py | TechTalkBlockchain/imgaug | efb4c2f9d9de5fea51ed8696fe30398b6b45d50d | [
"MIT"
] | 1 | 2019-10-13T10:44:12.000Z | 2019-10-13T10:44:12.000Z | test/augmenters/test_contrast.py | TechTalkBlockchain/imgaug | efb4c2f9d9de5fea51ed8696fe30398b6b45d50d | [
"MIT"
] | null | null | null | test/augmenters/test_contrast.py | TechTalkBlockchain/imgaug | efb4c2f9d9de5fea51ed8696fe30398b6b45d50d | [
"MIT"
] | null | null | null | from __future__ import print_function, division, absolute_import
import itertools
import sys
# unittest only added in 3.4 self.subTest()
if sys.version_info[0] < 3 or sys.version_info[1] < 4:
import unittest2 as unittest
else:
import unittest
# unittest.mock is not available in 2.7 (though unittest2 might cont... | 38.922776 | 80 | 0.507509 | 9,498 | 79,636 | 4.049063 | 0.050537 | 0.006241 | 0.022466 | 0.02621 | 0.836627 | 0.801056 | 0.759712 | 0.733137 | 0.703625 | 0.676036 | 0 | 0.054541 | 0.385743 | 79,636 | 2,045 | 81 | 38.941809 | 0.731647 | 0.084246 | 0 | 0.693528 | 0 | 0 | 0.009724 | 0.0043 | 0 | 0 | 0 | 0.000489 | 0.16434 | 1 | 0.068528 | false | 0 | 0.013325 | 0.007614 | 0.09835 | 0.000635 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.