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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e63342928933b2fa8975974584375ccff8f33a74 | 25,246 | py | Python | Step_Function/Plot_Step_function_experiments.py | jz-fun/Vector-valued-Control-Variates-Code | 4b2e838c447b7da66abeb416a424f0dbd2375503 | [
"MIT"
] | null | null | null | Step_Function/Plot_Step_function_experiments.py | jz-fun/Vector-valued-Control-Variates-Code | 4b2e838c447b7da66abeb416a424f0dbd2375503 | [
"MIT"
] | null | null | null | Step_Function/Plot_Step_function_experiments.py | jz-fun/Vector-valued-Control-Variates-Code | 4b2e838c447b7da66abeb416a424f0dbd2375503 | [
"MIT"
] | null | null | null |
import pickle
from matplotlib import pyplot as plt
import torch
import seaborn as sns
import numpy as np
from src.src_vvCV_MD1P.stein_operators import *
from src.src_vvCV_MD1P.sv_CV import *
from src.src_vvCV_MD1P.vv_CV_MD1P import *
from src.src_vvCV_MD1P.vv_CV_FixB_MD1P import *
from src.src_vvCV_MD1P.vv_CV_unbalan... | 53.149474 | 267 | 0.734136 | 4,267 | 25,246 | 3.936021 | 0.074525 | 0.029056 | 0.034296 | 0.033939 | 0.854123 | 0.801429 | 0.758142 | 0.739089 | 0.694254 | 0.64543 | 0 | 0.046763 | 0.116533 | 25,246 | 474 | 268 | 53.261603 | 0.706241 | 0.043017 | 0 | 0.123288 | 0 | 0 | 0.053866 | 0.002282 | 0 | 0 | 0 | 0 | 0.003425 | 1 | 0.010274 | false | 0 | 0.034247 | 0.006849 | 0.054795 | 0.044521 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 5 |
05086b431ffdda92f20f3283ac7fc02be03b571e | 1,211 | py | Python | Mi_primer_Socket.py | dart-security/Socket-Basico | 84e4ffb594b1be670c21a043d6ff1de793984def | [
"Unlicense"
] | 2 | 2019-09-11T00:25:13.000Z | 2019-09-20T05:56:27.000Z | Mi_primer_Socket.py | dart-security/Socket-Basico | 84e4ffb594b1be670c21a043d6ff1de793984def | [
"Unlicense"
] | null | null | null | Mi_primer_Socket.py | dart-security/Socket-Basico | 84e4ffb594b1be670c21a043d6ff1de793984def | [
"Unlicense"
] | null | null | null | import socket
print(" _____ _ _____ _ _ ")
print(" | __ \ | | / ____| (_) | ")
print(" | | | | __ _ _ __| |_ _____| (___ ___ ___ _ _ _ __ _| |_ _ _ ")
print(" | | | |/ _` | '__| __|______\___ \ / _ \/ __| | | | '__|... | 46.576923 | 96 | 0.427746 | 86 | 1,211 | 4.593023 | 0.5 | 0.202532 | 0.227848 | 0.253165 | 0.202532 | 0.101266 | 0.101266 | 0 | 0 | 0 | 0 | 0.005398 | 0.388109 | 1,211 | 25 | 97 | 48.44 | 0.527665 | 0 | 0 | 0.090909 | 0 | 0.181818 | 0.672998 | 0.018167 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0.818182 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0551072bbc90ec26f68a9be8032baadfe642f878 | 1,527 | py | Python | polynomial_operations_8/unit-test.py | WarriorsSami/Algebra-Homework | e5b7ce23703165dfd4ffa2e7236898abca175510 | [
"Apache-2.0"
] | 1 | 2021-12-14T09:13:24.000Z | 2021-12-14T09:13:24.000Z | polynomial_operations_8/unit-test.py | WarriorsSami/Algebra-Homework | e5b7ce23703165dfd4ffa2e7236898abca175510 | [
"Apache-2.0"
] | null | null | null | polynomial_operations_8/unit-test.py | WarriorsSami/Algebra-Homework | e5b7ce23703165dfd4ffa2e7236898abca175510 | [
"Apache-2.0"
] | null | null | null | import unittest
from random import randint
import numpy as np
from test_utils import test_util
class MyTestCase(unittest.TestCase):
def test_polynomials_1(self):
n = randint(10, 100) + 1
f = np.array(np.random.randint(low=-100, high=100, size=n))
m = randint(10, 100) + 1
g = np.a... | 33.933333 | 71 | 0.635232 | 244 | 1,527 | 3.77459 | 0.172131 | 0.091205 | 0.058632 | 0.09772 | 0.71987 | 0.71987 | 0.71987 | 0.71987 | 0.70684 | 0.70684 | 0 | 0.083054 | 0.219384 | 1,527 | 44 | 72 | 34.704545 | 0.689597 | 0 | 0 | 0.290323 | 0 | 0 | 0.005239 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 1 | 0.096774 | false | 0 | 0.129032 | 0 | 0.258065 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
055276b0904518f4bcbdbab1c776674368787170 | 41 | py | Python | poco/__init__.py | HBoPRC/Poco | c8b0dc5362db45ff7a8397eebb0c52d9047f4b67 | [
"Apache-2.0"
] | 1,444 | 2018-01-24T03:27:52.000Z | 2022-03-31T07:40:57.000Z | poco/__init__.py | HBoPRC/Poco | c8b0dc5362db45ff7a8397eebb0c52d9047f4b67 | [
"Apache-2.0"
] | 524 | 2018-03-14T01:08:06.000Z | 2022-03-31T08:21:52.000Z | poco/__init__.py | HBoPRC/Poco | c8b0dc5362db45ff7a8397eebb0c52d9047f4b67 | [
"Apache-2.0"
] | 268 | 2018-01-25T03:58:33.000Z | 2022-03-24T08:18:59.000Z | # coding=utf-8
from .pocofw import Poco
| 10.25 | 24 | 0.731707 | 7 | 41 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.170732 | 41 | 3 | 25 | 13.666667 | 0.852941 | 0.292683 | 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 | 0 | 0 | 0 | 5 |
055715258a918ba790061b7a8b93a9777ca067bc | 38 | py | Python | anstosstools/__init__.py | ericziethen/anstosstools | 912324b78fd720ab7ba7f4e5b5320e97e5dc7696 | [
"MIT"
] | null | null | null | anstosstools/__init__.py | ericziethen/anstosstools | 912324b78fd720ab7ba7f4e5b5320e97e5dc7696 | [
"MIT"
] | 9 | 2020-12-27T00:34:12.000Z | 2020-12-28T03:15:47.000Z | anstosstools/__init__.py | ericziethen/anstosstools | 912324b78fd720ab7ba7f4e5b5320e97e5dc7696 | [
"MIT"
] | null | null | null | """Root package for anstoss tools."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
056246187bed37e3c59670f59d59b69dbb846f9d | 128 | py | Python | src/wai/common/statistics/__init__.py | waikato-datamining/wai-common | bf3d7ae6e01bcb7ffe9f5c2b5d10a05908a68c34 | [
"MIT"
] | null | null | null | src/wai/common/statistics/__init__.py | waikato-datamining/wai-common | bf3d7ae6e01bcb7ffe9f5c2b5d10a05908a68c34 | [
"MIT"
] | 8 | 2020-07-01T02:11:31.000Z | 2020-12-17T01:57:17.000Z | src/wai/common/statistics/__init__.py | waikato-datamining/wai-common | bf3d7ae6e01bcb7ffe9f5c2b5d10a05908a68c34 | [
"MIT"
] | null | null | null | from ._functions import lower_quartile, lower_quartile_sorted, upper_quartile, upper_quartile_sorted, \
interquartile_range
| 42.666667 | 103 | 0.851563 | 15 | 128 | 6.733333 | 0.6 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 2 | 104 | 64 | 0.878261 | 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 | 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 | 0 | 0 | 0 | 5 |
056ead00161615544b084a315327c2056bd512cd | 102 | py | Python | evalml/pipelines/components/transformers/samplers/__init__.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | 454 | 2020-09-25T15:36:06.000Z | 2022-03-30T04:48:49.000Z | evalml/pipelines/components/transformers/samplers/__init__.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | 2,175 | 2020-09-25T17:05:45.000Z | 2022-03-31T19:54:54.000Z | evalml/pipelines/components/transformers/samplers/__init__.py | Mahesh1822/evalml | aa0ec2379aeba12bbd0dcaaa000f9a2a62064169 | [
"BSD-3-Clause"
] | 66 | 2020-09-25T18:46:27.000Z | 2022-03-02T18:33:30.000Z | """Sampler components."""
from .undersampler import Undersampler
from .oversampler import Oversampler
| 25.5 | 38 | 0.813725 | 10 | 102 | 8.3 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 3 | 39 | 34 | 0.902174 | 0.186275 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
057d4f23e7ae9b355d5938029736d8bda4fcdb17 | 100 | py | Python | messages/workspace_response.py | Legion-Engine/Hivemind | 6511aba3a421ef06208aaf956ab06c81214f3c13 | [
"MIT"
] | null | null | null | messages/workspace_response.py | Legion-Engine/Hivemind | 6511aba3a421ef06208aaf956ab06c81214f3c13 | [
"MIT"
] | null | null | null | messages/workspace_response.py | Legion-Engine/Hivemind | 6511aba3a421ef06208aaf956ab06c81214f3c13 | [
"MIT"
] | null | null | null | class WorkspaceResponse:
def __init__(self, workspace: str):
self.workspace = workspace
| 25 | 39 | 0.71 | 10 | 100 | 6.7 | 0.7 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21 | 100 | 3 | 40 | 33.333333 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0580bcbcf3ce9693910b6f9d3aec3e6155d0a5f4 | 46 | py | Python | system/display/__init__.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | system/display/__init__.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | system/display/__init__.py | gmattis/raspzen | 429e99fdba713f996524042a8f732b1624566c7f | [
"MIT"
] | null | null | null | from .screen import Screen
screen = Screen()
| 11.5 | 26 | 0.73913 | 6 | 46 | 5.666667 | 0.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 27 | 15.333333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 5 |
559c77fb5aa6ecf539ccf2bdf105e4bf024c661b | 253 | py | Python | tests/endpoints/test_address.py | s0b0lev/raiden-client-python | 4eecdda10650f081e4449449949067af6356d542 | [
"MIT"
] | 3 | 2019-08-01T12:47:16.000Z | 2020-07-05T15:28:53.000Z | tests/endpoints/test_address.py | s0b0lev/raiden-client-python | 4eecdda10650f081e4449449949067af6356d542 | [
"MIT"
] | 17 | 2019-08-01T07:51:58.000Z | 2020-05-29T09:48:37.000Z | tests/endpoints/test_address.py | s0b0lev/raiden-client-python | 4eecdda10650f081e4449449949067af6356d542 | [
"MIT"
] | null | null | null | from raiden_client.endpoints.address import Address
def test_address() -> None:
address = Address()
assert address.endpoint == "/address"
assert address.method == "get"
assert address.name == "address"
assert not address.payload()
| 25.3 | 51 | 0.695652 | 29 | 253 | 6 | 0.551724 | 0.224138 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189723 | 253 | 9 | 52 | 28.111111 | 0.84878 | 0 | 0 | 0 | 0 | 0 | 0.071146 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
55ac12c511504f04650871b16c5af76ba721898b | 238 | py | Python | services/python-flask/swagger_server/models/__init__.py | gangtao/api-gateway | 8f37de546b5af986e1e5fb62e79ed449792f29a0 | [
"Apache-2.0"
] | 14 | 2021-04-27T04:15:38.000Z | 2022-03-09T07:28:29.000Z | services/python-flask/swagger_server/models/__init__.py | 4021019/api-gateway | 8f37de546b5af986e1e5fb62e79ed449792f29a0 | [
"Apache-2.0"
] | null | null | null | services/python-flask/swagger_server/models/__init__.py | 4021019/api-gateway | 8f37de546b5af986e1e5fb62e79ed449792f29a0 | [
"Apache-2.0"
] | 5 | 2021-06-21T03:59:07.000Z | 2022-02-21T12:59:10.000Z | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from swagger_server.models.error import Error
from swagger_server.models.pet import Pet
from swagger_server.models.pets import Pets
| 26.444444 | 45 | 0.827731 | 36 | 238 | 5.25 | 0.5 | 0.174603 | 0.269841 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009569 | 0.121849 | 238 | 8 | 46 | 29.75 | 0.894737 | 0.247899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
55b6193b765e3a24788e248ec4fc97c8b9e91551 | 365 | py | Python | cv/views.py | Yacine22/resume_website | 0bd43dfbf3820411a9f2178f69fe9b09dfc8d472 | [
"Apache-2.0"
] | 1 | 2022-01-27T09:06:06.000Z | 2022-01-27T09:06:06.000Z | cv/views.py | Yacine22/resume_website | 0bd43dfbf3820411a9f2178f69fe9b09dfc8d472 | [
"Apache-2.0"
] | null | null | null | cv/views.py | Yacine22/resume_website | 0bd43dfbf3820411a9f2178f69fe9b09dfc8d472 | [
"Apache-2.0"
] | null | null | null | from unicodedata import name
from django.shortcuts import render
def home_view(request):
return render(request, 'home.html')
def contact_view(request):
return render(request, 'contact.html')
def skills_view(request):
return render(request, 'skills.html')
def experience_view(request):
... | 24.333333 | 46 | 0.717808 | 45 | 365 | 5.733333 | 0.355556 | 0.170543 | 0.263566 | 0.356589 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180822 | 365 | 14 | 47 | 26.071429 | 0.862876 | 0 | 0 | 0 | 0 | 0 | 0.133903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e982685211004f8b46c59f3a36d52336d1b63876 | 48 | py | Python | alttprbot/exceptions.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | 15 | 2019-10-15T21:35:59.000Z | 2022-03-31T19:49:39.000Z | alttprbot/exceptions.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | 12 | 2019-10-06T01:33:13.000Z | 2022-03-10T14:35:16.000Z | alttprbot/exceptions.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | 28 | 2019-11-25T23:49:56.000Z | 2022-03-10T04:03:31.000Z | class SahasrahBotException(Exception):
pass
| 16 | 38 | 0.791667 | 4 | 48 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 39 | 24 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e99befc0e6a2286dec3bd837a95c58f6ec25dd4f | 142 | py | Python | network/__init__.py | Goochaozheng/ChunkFusion | 7458a8e08886cc76cfeb87881c51e23b1d0674c3 | [
"MIT"
] | 3 | 2022-03-15T08:34:15.000Z | 2022-03-15T08:40:06.000Z | network/__init__.py | Goochaozheng/ChunkFusion | 7458a8e08886cc76cfeb87881c51e23b1d0674c3 | [
"MIT"
] | null | null | null | network/__init__.py | Goochaozheng/ChunkFusion | 7458a8e08886cc76cfeb87881c51e23b1d0674c3 | [
"MIT"
] | null | null | null | from .fusionNet import FusionNet
from .criteria import FusionLoss, GradLoss, IoU, SignLoss
from .fuser import Fuser
from .parser import Parser | 35.5 | 57 | 0.823944 | 19 | 142 | 6.157895 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 4 | 58 | 35.5 | 0.943548 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e9aa56a157088e6d7cc24cfc8dc7ff1a1353a719 | 86 | py | Python | icovid/views.py | stevennovaryo/icovid | 53b8e5980884a6c716911181445ca4f21de3b3a3 | [
"MIT"
] | null | null | null | icovid/views.py | stevennovaryo/icovid | 53b8e5980884a6c716911181445ca4f21de3b3a3 | [
"MIT"
] | null | null | null | icovid/views.py | stevennovaryo/icovid | 53b8e5980884a6c716911181445ca4f21de3b3a3 | [
"MIT"
] | null | null | null | from django.shortcuts import redirect
def index(request):
return redirect('/home/') | 21.5 | 37 | 0.767442 | 11 | 86 | 6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 86 | 4 | 38 | 21.5 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 | 0 | 0 | 0 | 5 |
e9c41f767ffe00c4afb1b49e17ae19c6e14b5f24 | 1,235 | py | Python | primaryschool/subjects/_common_/keycode.py | larryw3i/primaryschool | ca2b1f2dfa042a31c2119a5098a87c441fbbbbbe | [
"MIT"
] | null | null | null | primaryschool/subjects/_common_/keycode.py | larryw3i/primaryschool | ca2b1f2dfa042a31c2119a5098a87c441fbbbbbe | [
"MIT"
] | null | null | null | primaryschool/subjects/_common_/keycode.py | larryw3i/primaryschool | ca2b1f2dfa042a31c2119a5098a87c441fbbbbbe | [
"MIT"
] | null | null | null | class PsKeyCode:
def __init__(self):
pass
def keycode_in_alpha_upper(self, code):
return 65 <= code <= 90
def keycode_in_alpha_lower(self, code):
return 97 <= code <= 122
def keycode_in_alpha(self, code):
return self.keycode_in_alpha_lower(
code
) o... | 26.847826 | 77 | 0.643725 | 179 | 1,235 | 4.100559 | 0.173184 | 0.282016 | 0.196185 | 0.138965 | 0.513624 | 0.467302 | 0.361035 | 0.316076 | 0.316076 | 0.316076 | 0 | 0.022173 | 0.269636 | 1,235 | 45 | 78 | 27.444444 | 0.791574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002429 | 0 | 0 | 1 | 0.393939 | false | 0.030303 | 0 | 0.363636 | 0.787879 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7575fbec70cf12f3fc3fd6f67ce3610e4019f302 | 161 | py | Python | utils/__init__.py | ilvar/lotien | c951dbe5dffb8e4e6c0f574e8b2192eefe2391e3 | [
"MIT"
] | null | null | null | utils/__init__.py | ilvar/lotien | c951dbe5dffb8e4e6c0f574e8b2192eefe2391e3 | [
"MIT"
] | null | null | null | utils/__init__.py | ilvar/lotien | c951dbe5dffb8e4e6c0f574e8b2192eefe2391e3 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.core.files.storage import get_storage_class
thumbnail_storage = get_storage_class(settings.DEFAULT_FILE_STORAGE)()
| 32.2 | 70 | 0.863354 | 23 | 161 | 5.73913 | 0.565217 | 0.151515 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074534 | 161 | 4 | 71 | 40.25 | 0.885906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
75aaccfe80db4e6b04c554c475eb37a5e356ab45 | 50 | py | Python | python/smqtk/algorithms/image_io/__init__.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 82 | 2015-01-07T15:33:29.000Z | 2021-08-11T18:34:05.000Z | python/smqtk/algorithms/image_io/__init__.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 230 | 2015-04-08T14:36:51.000Z | 2022-03-14T17:55:30.000Z | python/smqtk/algorithms/image_io/__init__.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 65 | 2015-01-04T15:00:16.000Z | 2021-11-19T18:09:11.000Z | from ._interface import ImageReader # noqa: F401
| 25 | 49 | 0.78 | 6 | 50 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.16 | 50 | 1 | 50 | 50 | 0.833333 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
75b7e328adbf2d66487eb0d071b95b492d3a2a8b | 221 | py | Python | src/bpmn_python/graph/classes/events/__init__.py | ToJestKrzysio/ProcessVisualization | 9a359a31816bf1be65e3684a571509e3a2c2c0ac | [
"MIT"
] | null | null | null | src/bpmn_python/graph/classes/events/__init__.py | ToJestKrzysio/ProcessVisualization | 9a359a31816bf1be65e3684a571509e3a2c2c0ac | [
"MIT"
] | null | null | null | src/bpmn_python/graph/classes/events/__init__.py | ToJestKrzysio/ProcessVisualization | 9a359a31816bf1be65e3684a571509e3a2c2c0ac | [
"MIT"
] | null | null | null | # coding=utf-8
"""
Package init file
"""
__all__ = ["catch_event_type", "end_event_type", "event_type", "intermediate_catch_event_type",
"intermediate_throw_event_type", "start_event_type", "throw_event_type"]
| 31.571429 | 95 | 0.733032 | 29 | 221 | 4.931034 | 0.482759 | 0.440559 | 0.195804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.122172 | 221 | 6 | 96 | 36.833333 | 0.731959 | 0.140271 | 0 | 0 | 0 | 0 | 0.714286 | 0.318681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
75f20b1a9ba742ea7abd3c9cec55cb6cf3a0e9a6 | 7,945 | py | Python | src/ReplayMemory.py | CSCI4850/S18-team1-project | 7dbd418e3c197db309bb626f148aad9053628664 | [
"MIT"
] | 2 | 2018-03-14T21:35:19.000Z | 2018-04-16T06:31:58.000Z | src/ReplayMemory.py | CSCI4850/S18-team1-project | 7dbd418e3c197db309bb626f148aad9053628664 | [
"MIT"
] | 14 | 2018-03-26T01:33:45.000Z | 2022-03-11T23:20:13.000Z | src/ReplayMemory.py | CSCI4850/S18-team1-project | 7dbd418e3c197db309bb626f148aad9053628664 | [
"MIT"
] | 1 | 2021-01-05T19:30:36.000Z | 2021-01-05T19:30:36.000Z | ###------------------------------------------------------###
### Replay and Remember Memory Class ###
###------------------------------------------------------###
import numpy as np
from hyperparameters import *
# expand dimensions to (1, 84, 84, 5) from (84, 84, 5)
# normalize 0-255 -> 0-1 to re... | 38.381643 | 128 | 0.585903 | 993 | 7,945 | 4.533736 | 0.164149 | 0.048867 | 0.056864 | 0.025544 | 0.741892 | 0.735673 | 0.735673 | 0.718347 | 0.702799 | 0.702799 | 0 | 0.0223 | 0.317055 | 7,945 | 206 | 129 | 38.567961 | 0.807409 | 0.321712 | 0 | 0.578947 | 0 | 0 | 0.02244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.026316 | 0.013158 | 0.157895 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f9617c4d745a0d3842bc01689f63aba4cc07b1c3 | 91 | py | Python | userena/compat.py | jdavidagudelo/django-userena-ce | 970ca25ca367112625933bd61a0ba745b052692e | [
"BSD-3-Clause"
] | 86 | 2018-03-09T22:24:39.000Z | 2021-12-12T22:30:33.000Z | userena/compat.py | jdavidagudelo/django-userena-ce | 970ca25ca367112625933bd61a0ba745b052692e | [
"BSD-3-Clause"
] | 113 | 2018-02-25T12:24:13.000Z | 2022-02-22T17:59:51.000Z | userena/compat.py | jdavidagudelo/django-userena-ce | 970ca25ca367112625933bd61a0ba745b052692e | [
"BSD-3-Clause"
] | 19 | 2018-08-16T18:13:48.000Z | 2021-12-11T18:14:30.000Z | # SiteProfileNotAvailable compatibility
class SiteProfileNotAvailable(Exception):
pass
| 22.75 | 41 | 0.846154 | 6 | 91 | 12.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 91 | 3 | 42 | 30.333333 | 0.950617 | 0.406593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f97e8b09c143edea9368d4a65cd1588d89533b23 | 90 | py | Python | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/common/__init__.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/common/__init__.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | dev/Tools/Python/2.7.13/mac/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyxb/bundles/common/__init__.py | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | """In this module are stored generated bindings for standard schema
like WSDL or SOAP."""
| 30 | 67 | 0.766667 | 14 | 90 | 4.928571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 2 | 68 | 45 | 0.907895 | 0.922222 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f9a7aa9d526b543e9504ec351ff1bc6a6ea77662 | 1,401 | py | Python | remove_file.py | ralgond/kdd2021 | 340ad9003eb60b27af27a78eef7c6866b312afc2 | [
"Apache-2.0"
] | 1 | 2021-11-04T03:58:18.000Z | 2021-11-04T03:58:18.000Z | remove_file.py | ralgond/kdd2021 | 340ad9003eb60b27af27a78eef7c6866b312afc2 | [
"Apache-2.0"
] | 1 | 2021-11-08T06:19:11.000Z | 2021-11-08T07:10:43.000Z | remove_file.py | ralgond/kdd2021 | 340ad9003eb60b27af27a78eef7c6866b312afc2 | [
"Apache-2.0"
] | null | null | null | from numpy import frombuffer
from base_win_size_l import *
import os
for i in range(0,251):
path1 = f"interdata\\{i}"
print(path1)
for w in win_size_l:
path2 = path1+f"\\{w}"
# os.system(f"del {path2}\\acc_mad.txt")
# os.system(f"del {path2}\\acc_skew.txt")
# os.system(... | 31.840909 | 70 | 0.59172 | 216 | 1,401 | 3.680556 | 0.203704 | 0.211321 | 0.237736 | 0.301887 | 0.718239 | 0.714465 | 0.63522 | 0.233962 | 0.168553 | 0.113208 | 0 | 0.03318 | 0.225553 | 1,401 | 44 | 71 | 31.840909 | 0.699539 | 0.647395 | 0 | 0 | 0 | 0 | 0.118143 | 0.06962 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f9d71ca970aeda6b81b4362bed771c27b6605c3b | 133 | py | Python | website/photos/forms/__init__.py | SebastiaanZ/minigigscyclingteam | 6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e | [
"MIT"
] | null | null | null | website/photos/forms/__init__.py | SebastiaanZ/minigigscyclingteam | 6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e | [
"MIT"
] | 9 | 2020-01-25T12:24:43.000Z | 2022-03-12T00:18:38.000Z | website/photos/forms/__init__.py | SebastiaanZ/minigigscyclingteam | 6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e | [
"MIT"
] | null | null | null | from .photos import MultiplePhotosForm, RemovePhotosFromArticleForm
__all__ = ["MultiplePhotosForm", "RemovePhotosFromArticleForm"]
| 33.25 | 67 | 0.849624 | 8 | 133 | 13.625 | 0.75 | 0.825688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075188 | 133 | 3 | 68 | 44.333333 | 0.886179 | 0 | 0 | 0 | 0 | 0 | 0.338346 | 0.203008 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 5 |
f9dd654247085edbcda818e3de65f4503bc046d2 | 28 | py | Python | app/libs/get_tags.py | Blesproject/bless_flask | 78da13e64d1e6fb9add6c34050a7d907e05e782d | [
"MIT"
] | null | null | null | app/libs/get_tags.py | Blesproject/bless_flask | 78da13e64d1e6fb9add6c34050a7d907e05e782d | [
"MIT"
] | 2 | 2021-02-08T20:27:01.000Z | 2021-04-30T20:45:06.000Z | app/libs/get_tags.py | Blesproject/bless_flask | 78da13e64d1e6fb9add6c34050a7d907e05e782d | [
"MIT"
] | null | null | null | def get_tags(data):
pass | 14 | 19 | 0.678571 | 5 | 28 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 2 | 20 | 14 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ddab740c5d210aac36a2fe60229df19b51262435 | 462 | py | Python | Conduit_testing/conduit_methods.py | Bogi227/conduit | 745eb567865f796aba58a7a55e1b0eb5c5636bc0 | [
"MIT"
] | null | null | null | Conduit_testing/conduit_methods.py | Bogi227/conduit | 745eb567865f796aba58a7a55e1b0eb5c5636bc0 | [
"MIT"
] | null | null | null | Conduit_testing/conduit_methods.py | Bogi227/conduit | 745eb567865f796aba58a7a55e1b0eb5c5636bc0 | [
"MIT"
] | null | null | null | def conduit_login(driver):
driver.find_element_by_xpath('//a[@href="#/login"]').click()
driver.find_element_by_xpath('//input[@placeholder="Email"]').send_keys("testmail61@test.hu")
driver.find_element_by_xpath('//input[@placeholder="Password"]').send_keys("Testpass1")
driver.find_element_by_xpath('//*[... | 46.2 | 97 | 0.703463 | 65 | 462 | 4.707692 | 0.476923 | 0.163399 | 0.277778 | 0.310458 | 0.568627 | 0.568627 | 0.45098 | 0 | 0 | 0 | 0 | 0.009281 | 0.0671 | 462 | 9 | 98 | 51.333333 | 0.700696 | 0 | 0 | 0 | 0 | 0 | 0.364425 | 0.262473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0 | 0.285714 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fb1a2c11dd83e9f8809efa07747f8dcffaace070 | 1,022 | py | Python | climatetalk/signal.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | 3 | 2021-04-30T20:12:16.000Z | 2022-03-09T11:53:12.000Z | climatetalk/signal.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | null | null | null | climatetalk/signal.py | kdschlosser/ClimateTalk | 3b09a45c295cf5228283d7095834e8f133ed7de3 | [
"MIT"
] | 2 | 2021-04-08T18:29:39.000Z | 2021-04-30T20:13:55.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Kevin Schlosser
import threading
class Signal(object):
def __init__(self):
self._callbacks = {}
def send(self, signal, packet):
address = packet.address
subnet = packet.subnet
try:
self._callbacks[signal][(address, subnet... | 21.744681 | 62 | 0.62818 | 108 | 1,022 | 5.814815 | 0.287037 | 0.207006 | 0.272293 | 0.171975 | 0.315287 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0.006614 | 0.260274 | 1,022 | 46 | 63 | 22.217391 | 0.824074 | 0.050881 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0.074074 | 0.037037 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fb3ca175aa8c247ec79b88baaad4059c3abdfd4c | 109 | py | Python | enthought/chaco/layers/svg_range_selection_overlay.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/chaco/layers/svg_range_selection_overlay.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/chaco/layers/svg_range_selection_overlay.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from chaco.layers.svg_range_selection_overlay import *
| 27.25 | 54 | 0.862385 | 15 | 109 | 5.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 109 | 3 | 55 | 36.333333 | 0.877551 | 0.110092 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
34b19f78d570fa38761b8e51b66657a0f710698f | 12,593 | py | Python | pysnmp-with-texts/IANA-GMPLS-TC-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/IANA-GMPLS-TC-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/IANA-GMPLS-TC-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module IANA-GMPLS-TC-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IANA-GMPLS-TC-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:19:44 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Ma... | 246.921569 | 1,404 | 0.750735 | 1,668 | 12,593 | 5.666067 | 0.291367 | 0.005502 | 0.026664 | 0.018411 | 0.489789 | 0.461962 | 0.449476 | 0.430325 | 0.426092 | 0.422178 | 0 | 0.088059 | 0.126181 | 12,593 | 50 | 1,405 | 251.86 | 0.770811 | 0.026046 | 0 | 0.105263 | 0 | 0.263158 | 0.674853 | 0.024233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.763158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
34c3748e608a3db1a56851be011f8d512481f149 | 206 | py | Python | service_frontend_auth/frontend/controller/__init__.py | vykozlov/eosc-perf | 77dcfeda162bb51d363267da1810b35b58651791 | [
"MIT"
] | 3 | 2021-11-29T11:34:48.000Z | 2021-12-13T16:19:42.000Z | service_frontend_auth/frontend/controller/__init__.py | vykozlov/eosc-perf | 77dcfeda162bb51d363267da1810b35b58651791 | [
"MIT"
] | 166 | 2020-08-17T12:42:30.000Z | 2022-03-28T11:35:24.000Z | service_frontend_auth/frontend/controller/__init__.py | vykozlov/eosc-perf | 77dcfeda162bb51d363267da1810b35b58651791 | [
"MIT"
] | 6 | 2020-09-18T16:08:27.000Z | 2022-03-25T14:11:01.000Z | """The controller subpackage exposes the main components of the controller. This includes the IOController class itself,
but also the classes it uses, like the Authenticator and the JSONResultValidator."""
| 68.666667 | 120 | 0.815534 | 28 | 206 | 6 | 0.75 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 206 | 2 | 121 | 103 | 0.94382 | 0.966019 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
34d03890fa7be603897303b330fcd0959cc56f87 | 81 | py | Python | cobl2/interfaces.py | blurks/cobl2 | b5a1195ea73efbc5b9cebfa50151e677b87f995f | [
"Apache-2.0"
] | null | null | null | cobl2/interfaces.py | blurks/cobl2 | b5a1195ea73efbc5b9cebfa50151e677b87f995f | [
"Apache-2.0"
] | 17 | 2017-12-05T10:02:12.000Z | 2020-10-16T09:51:35.000Z | cobl2/interfaces.py | blurks/cobl2 | b5a1195ea73efbc5b9cebfa50151e677b87f995f | [
"Apache-2.0"
] | 3 | 2018-11-15T10:15:56.000Z | 2021-12-07T01:34:57.000Z | from zope.interface import Interface
class IClade(Interface):
"""marker"""
| 13.5 | 36 | 0.716049 | 9 | 81 | 6.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 5 | 37 | 16.2 | 0.852941 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9b86554e673da645ef9bf7cbb25a54a112ab906a | 29 | py | Python | qoredl_project/qoredl_flask/util/MysqldbClass.py | qore-dl/qore-dl-code | dc60df8fd072df5c641005992630f43892b7f78e | [
"Apache-2.0"
] | null | null | null | qoredl_project/qoredl_flask/util/MysqldbClass.py | qore-dl/qore-dl-code | dc60df8fd072df5c641005992630f43892b7f78e | [
"Apache-2.0"
] | null | null | null | qoredl_project/qoredl_flask/util/MysqldbClass.py | qore-dl/qore-dl-code | dc60df8fd072df5c641005992630f43892b7f78e | [
"Apache-2.0"
] | null | null | null | # from controller import db
| 9.666667 | 27 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 2 | 28 | 14.5 | 0.956522 | 0.862069 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9bb3d4cfcacf935ff658ccd6223a3afa81754000 | 65 | py | Python | sparse_causal_model_learner_rl/complexity/__init__.py | sergeivolodin/causality-disentanglement-rl | 5a41b4a2e3d85fa7e9c8450215fdc6cf954df867 | [
"CC0-1.0"
] | 2 | 2020-12-11T05:26:24.000Z | 2021-04-21T06:12:58.000Z | sparse_causal_model_learner_rl/complexity/__init__.py | sergeivolodin/causality-disentanglement-rl | 5a41b4a2e3d85fa7e9c8450215fdc6cf954df867 | [
"CC0-1.0"
] | 9 | 2020-04-30T16:29:50.000Z | 2021-03-26T07:32:18.000Z | sparse_causal_model_learner_rl/complexity/__init__.py | sergeivolodin/causality-disentanglement-rl | 5a41b4a2e3d85fa7e9c8450215fdc6cf954df867 | [
"CC0-1.0"
] | null | null | null | from sparse_causal_model_learner_rl.complexity.l1 import L1, Lp
| 32.5 | 64 | 0.861538 | 11 | 65 | 4.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.092308 | 65 | 1 | 65 | 65 | 0.847458 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
32cc37ef4eb8f86884d208ae6915679b3501514c | 149 | py | Python | uts/iqt/services/execution/t_simulated.py | yt7589/iching | 6673da38f4c80e7fd297c86fedc5616aee8ac09b | [
"Apache-2.0"
] | 32 | 2020-04-14T08:32:18.000Z | 2022-02-09T07:05:08.000Z | uts/iqt/services/execution/t_simulated.py | yt7589/iching | 6673da38f4c80e7fd297c86fedc5616aee8ac09b | [
"Apache-2.0"
] | 1 | 2020-04-08T10:42:15.000Z | 2020-04-15T01:38:03.000Z | uts/iqt/services/execution/t_simulated.py | yt7589/iching | 6673da38f4c80e7fd297c86fedc5616aee8ac09b | [
"Apache-2.0"
] | 4 | 2020-08-25T03:56:46.000Z | 2021-05-11T05:55:51.000Z | #
import unittest
import iqt.oms.services.execution.simulated as simulated
class TSimulated(unittest.TestCase):
def test_run(self):
pass | 21.285714 | 56 | 0.758389 | 19 | 149 | 5.894737 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161074 | 149 | 7 | 57 | 21.285714 | 0.896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
32d421794b3709a864259df94941ae313dd89a48 | 120 | py | Python | classification/__init__.py | joedaws/lde2021 | ece9857667bab8691cf617ed56af561676945b60 | [
"MIT"
] | null | null | null | classification/__init__.py | joedaws/lde2021 | ece9857667bab8691cf617ed56af561676945b60 | [
"MIT"
] | null | null | null | classification/__init__.py | joedaws/lde2021 | ece9857667bab8691cf617ed56af561676945b60 | [
"MIT"
] | null | null | null | import os
PARENT_DIR, _ = os.path.split(os.path.abspath(__file__))
ANALYSIS_DIR = os.path.join(PARENT_DIR, 'analysis')
| 24 | 56 | 0.758333 | 19 | 120 | 4.368421 | 0.526316 | 0.216867 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 4 | 57 | 30 | 0.761468 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fd39329b73d6892abe114fbecbd000c8d6581f5c | 175 | py | Python | supplementary_content/apps.py | theabrad/cmcs-eregulations | 1a8b4b7feed177dc6e23395d21687c3ceb77e31f | [
"CC0-1.0"
] | 1 | 2021-09-26T22:29:47.000Z | 2021-09-26T22:29:47.000Z | supplementary_content/apps.py | EmmaIvy/cmcs-eregulations | 5ac1c148ddc3164f4c7b1dfaea1cee9fb489c688 | [
"CC0-1.0"
] | null | null | null | supplementary_content/apps.py | EmmaIvy/cmcs-eregulations | 5ac1c148ddc3164f4c7b1dfaea1cee9fb489c688 | [
"CC0-1.0"
] | null | null | null | from django.apps import AppConfig
class SupplementaryContentConfig(AppConfig):
name = "supplementary_content"
verbose_name = "Supplementary content for regulations"
| 25 | 58 | 0.8 | 17 | 175 | 8.117647 | 0.764706 | 0.246377 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 175 | 6 | 59 | 29.166667 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0.331429 | 0.12 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
fd503f17206a8d46c0c9ec50246e9c24bd181d01 | 26 | py | Python | fsm_repository/master/__init__.py | shashank-iitj/traibot | 30676413e30a0f7dc651f1918b33892728a01c1b | [
"Apache-2.0"
] | null | null | null | fsm_repository/master/__init__.py | shashank-iitj/traibot | 30676413e30a0f7dc651f1918b33892728a01c1b | [
"Apache-2.0"
] | null | null | null | fsm_repository/master/__init__.py | shashank-iitj/traibot | 30676413e30a0f7dc651f1918b33892728a01c1b | [
"Apache-2.0"
] | null | null | null | from .fsm import MasterFsm | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 | 0 | 0 | 0 | 5 |
b5d984baa432d6f49c610bcd45dcac22190a6ff6 | 241 | py | Python | nighres/filtering/__init__.py | jennydaman/nighres | 9ced74e61db02261e4753a69b03f4479bfdc26b6 | [
"Apache-2.0"
] | null | null | null | nighres/filtering/__init__.py | jennydaman/nighres | 9ced74e61db02261e4753a69b03f4479bfdc26b6 | [
"Apache-2.0"
] | null | null | null | nighres/filtering/__init__.py | jennydaman/nighres | 9ced74e61db02261e4753a69b03f4479bfdc26b6 | [
"Apache-2.0"
] | null | null | null | from nighres.filtering.filter_ridge_structures import filter_ridge_structures
from nighres.filtering.recursive_ridge_diffusion import recursive_ridge_diffusion
from nighres.filtering.total_variation_filtering import total_variation_filtering | 80.333333 | 81 | 0.929461 | 30 | 241 | 7.066667 | 0.366667 | 0.15566 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045643 | 241 | 3 | 82 | 80.333333 | 0.921739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bd27aca5ee6622555a46cb575d92776b77f2e3db | 184 | py | Python | rmltraintfsemantic/rmltraintfsemantic/__init__.py | autognc/ravenML-plugins | 0a7e63a6d1fcf937599c688d3b567978f0c51b8b | [
"MIT"
] | null | null | null | rmltraintfsemantic/rmltraintfsemantic/__init__.py | autognc/ravenML-plugins | 0a7e63a6d1fcf937599c688d3b567978f0c51b8b | [
"MIT"
] | 13 | 2020-04-25T00:29:21.000Z | 2022-02-10T02:15:57.000Z | rmltraintfsemantic/rmltraintfsemantic/__init__.py | autognc/ravenML-plugins | 0a7e63a6d1fcf937599c688d3b567978f0c51b8b | [
"MIT"
] | 1 | 2021-04-29T23:06:45.000Z | 2021-04-29T23:06:45.000Z | import os
import sys
cwd = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")
if os.path.join(cwd, 'slim') not in sys.path:
sys.path.append(os.path.join(cwd, 'slim'))
| 26.285714 | 68 | 0.679348 | 33 | 184 | 3.666667 | 0.424242 | 0.247934 | 0.247934 | 0.214876 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 184 | 6 | 69 | 30.666667 | 0.742331 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bd35e172dd2bac53ab4a6839ac1d95905fdb17b7 | 15,474 | py | Python | test/test_edit_preclusion_backend.py | nus-mtp/another-cs-study-planner | 02b52871a34f580b779ede08750f2d4e887bcf65 | [
"MIT"
] | 1 | 2017-04-30T17:59:08.000Z | 2017-04-30T17:59:08.000Z | test/test_edit_preclusion_backend.py | nus-mtp/another-cs-study-planner | 02b52871a34f580b779ede08750f2d4e887bcf65 | [
"MIT"
] | 87 | 2017-02-13T09:06:13.000Z | 2017-04-14T09:23:08.000Z | test/test_edit_preclusion_backend.py | nus-mtp/another-cs-study-planner | 02b52871a34f580b779ede08750f2d4e887bcf65 | [
"MIT"
] | 1 | 2017-04-11T05:26:00.000Z | 2017-04-11T05:26:00.000Z | '''
test_edit_preclusion_backend.py
Contains test cases for functions to edit preclusions.
'''
from nose.tools import assert_equal, assert_false, assert_true
from components import model
# HOW TO RUN NOSE TESTS
# 1. Make sure you are in cs-modify main directory
# 2. Make sure the path "C:\Python27\Scripts" is... | 41.485255 | 100 | 0.668799 | 1,952 | 15,474 | 4.885758 | 0.077357 | 0.112404 | 0.107162 | 0.100031 | 0.893363 | 0.861067 | 0.790815 | 0.702842 | 0.670022 | 0.669393 | 0 | 0.010362 | 0.264056 | 15,474 | 372 | 101 | 41.596774 | 0.827099 | 0.090539 | 0 | 0.603524 | 0 | 0 | 0.017719 | 0 | 0 | 0 | 0 | 0 | 0.273128 | 1 | 0.057269 | false | 0 | 0.008811 | 0 | 0.101322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 5 |
bd41cccda00d5215967e85051b1b932a562121c7 | 1,277 | py | Python | server_src/controllers/TermTopicMatrix3.py | uwdata/termite-data-server | 1085571407c627bdbbd21c352e793fed65d09599 | [
"BSD-3-Clause"
] | 97 | 2015-01-17T09:41:57.000Z | 2022-03-15T11:39:03.000Z | server_src/controllers/TermTopicMatrix3.py | afcarl/termite-data-server | 1085571407c627bdbbd21c352e793fed65d09599 | [
"BSD-3-Clause"
] | 12 | 2015-02-01T02:59:56.000Z | 2021-06-09T02:31:34.000Z | server_src/controllers/TermTopicMatrix3.py | afcarl/termite-data-server | 1085571407c627bdbbd21c352e793fed65d09599 | [
"BSD-3-Clause"
] | 35 | 2015-01-25T04:48:37.000Z | 2021-01-29T20:32:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from db.BOW_DB import BOW_DB
from db.LDA_DB import LDA_DB
from vis.TermTopicMatrix3 import TermTopicMatrix3
def index():
with BOW_DB() as bow_db:
with LDA_DB() as lda_db:
handler = TermTopicMatrix3(request, response, bow_db, lda_db)
return handler.Gener... | 31.146341 | 71 | 0.735317 | 188 | 1,277 | 4.829787 | 0.212766 | 0.077093 | 0.038546 | 0.048458 | 0.742291 | 0.742291 | 0.742291 | 0.742291 | 0.742291 | 0.742291 | 0 | 0.011818 | 0.138606 | 1,277 | 40 | 72 | 31.925 | 0.813636 | 0.03289 | 0 | 0.636364 | 0 | 0 | 0.080292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.121212 | 0 | 0.363636 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bd4f6fc4225859d59cf58a34e7fbf94514bcefa6 | 976 | py | Python | thupoll/routes.py | octomen/thupoll | 1114d8e9802a97c1fd9d3850c887df94e7fa609e | [
"MIT"
] | 2 | 2019-04-11T20:02:45.000Z | 2019-04-15T01:43:09.000Z | thupoll/routes.py | octomen/thupoll | 1114d8e9802a97c1fd9d3850c887df94e7fa609e | [
"MIT"
] | 37 | 2019-03-17T14:45:38.000Z | 2019-06-07T03:19:22.000Z | thupoll/routes.py | octomen/thupoll | 1114d8e9802a97c1fd9d3850c887df94e7fa609e | [
"MIT"
] | null | null | null | from thupoll.blueprints.home import blueprint as home_blueprint
from thupoll.blueprints.login import blueprint as login_blueprint
from thupoll.blueprints.themes import blueprint as themes_blueprint
from thupoll.blueprints.namespaces import blueprint as namespaces_blueprint
from thupoll.blueprints.polls import blueprint... | 51.368421 | 79 | 0.839139 | 126 | 976 | 6.269841 | 0.174603 | 0.111392 | 0.186076 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091189 | 976 | 18 | 80 | 54.222222 | 0.890643 | 0 | 0 | 0 | 0 | 0 | 0.033811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.5 | 0 | 0.5625 | 0.875 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
1fa52d88d412740bb0c021f5bdca8eedc552f978 | 97 | py | Python | Scripts/wheel-script.py | T3chy/WordAnalysis | 5ac2f2409a4be24b74468be0c907946f6276af26 | [
"PSF-2.0"
] | null | null | null | Scripts/wheel-script.py | T3chy/WordAnalysis | 5ac2f2409a4be24b74468be0c907946f6276af26 | [
"PSF-2.0"
] | null | null | null | Scripts/wheel-script.py | T3chy/WordAnalysis | 5ac2f2409a4be24b74468be0c907946f6276af26 | [
"PSF-2.0"
] | null | null | null | if __name__ == '__main__':
import sys
import wheel.tool
sys.exit(wheel.tool.main())
| 16.166667 | 31 | 0.639175 | 13 | 97 | 4.153846 | 0.615385 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226804 | 97 | 5 | 32 | 19.4 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
1fad44bd67a7e6b2dc275c2fe745369e404412a8 | 316 | py | Python | chemex/plotters/__init__.py | gbouvignies/chemex | b021650928b6db930281957222529bc6bcab8aa2 | [
"BSD-3-Clause"
] | 11 | 2015-03-16T16:45:42.000Z | 2018-09-17T08:43:58.000Z | chemex/plotters/__init__.py | gbouvignies/chemex | b021650928b6db930281957222529bc6bcab8aa2 | [
"BSD-3-Clause"
] | 33 | 2015-01-12T16:46:48.000Z | 2018-03-29T15:01:15.000Z | chemex/plotters/__init__.py | gbouvignies/chemex | b021650928b6db930281957222529bc6bcab8aa2 | [
"BSD-3-Clause"
] | 8 | 2015-01-15T21:53:16.000Z | 2018-01-04T15:33:52.000Z | from chemex.plotters.cest import CestPlotter as CestPlotter
from chemex.plotters.cpmg import CpmgPlotter as CpmgPlotter
from chemex.plotters.plotter import Plotter as Plotter
from chemex.plotters.relaxation import RelaxationPlotter as RelaxationPlotter
from chemex.plotters.shift import ShiftPlotter as ShiftPlotter
| 52.666667 | 77 | 0.873418 | 40 | 316 | 6.9 | 0.35 | 0.181159 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 316 | 5 | 78 | 63.2 | 0.965035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1fcbbdcd07b55822560b1278f213200e37c1cc70 | 133 | py | Python | bot.py | jhonruda25/VentasCuentas-Telegram-Bot | cce24fce046d3b6a012b22697d87b246e668131f | [
"MIT"
] | null | null | null | bot.py | jhonruda25/VentasCuentas-Telegram-Bot | cce24fce046d3b6a012b22697d87b246e668131f | [
"MIT"
] | null | null | null | bot.py | jhonruda25/VentasCuentas-Telegram-Bot | cce24fce046d3b6a012b22697d87b246e668131f | [
"MIT"
] | null | null | null | from telegram.ext import Updater, CommandHandler
def start(update, context):
update.message.reply_text('Hola, humano!')
| 14.777778 | 48 | 0.721805 | 16 | 133 | 5.9375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172932 | 133 | 8 | 49 | 16.625 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.097744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1fee618415dfddc625741dbb28b9c865f7f85b09 | 239 | py | Python | dataset/dataset_utils.py | CrossRef/reference-matching-evaluation | ed347f26a52d809db0884a548d581840e283d0e8 | [
"MIT"
] | 14 | 2018-12-27T16:51:29.000Z | 2021-11-28T20:59:17.000Z | dataset/dataset_utils.py | CrossRef/reference-matching-evaluation | ed347f26a52d809db0884a548d581840e283d0e8 | [
"MIT"
] | 1 | 2019-04-10T22:26:01.000Z | 2019-06-01T11:41:13.000Z | dataset/dataset_utils.py | CrossRef/reference-matching-evaluation | ed347f26a52d809db0884a548d581840e283d0e8 | [
"MIT"
] | 1 | 2020-01-02T08:11:22.000Z | 2020-01-02T08:11:22.000Z | import utils.data_format_keys as dfk
def get_target_gt_doi(item):
return item.get(dfk.DATASET_TARGET_GT, {}).get(dfk.CR_ITEM_DOI)
def get_target_test_doi(item):
return item.get(dfk.DATASET_TARGET_TEST, {}).get(dfk.CR_ITEM_DOI)
| 23.9 | 69 | 0.769874 | 43 | 239 | 3.906977 | 0.395349 | 0.142857 | 0.142857 | 0.202381 | 0.607143 | 0.428571 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0.108787 | 239 | 9 | 70 | 26.555556 | 0.788732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 5 |
1ffd5d157dc595c86121033df8bd227467261508 | 23 | py | Python | backend/book/models/__init__.py | Mackrage/worm_rage_bot | 7211c0c89ad12714eccdc98c6a84e7309108aabc | [
"MIT"
] | 216 | 2016-02-20T12:46:43.000Z | 2022-02-23T07:07:00.000Z | models/medium/book/__init__.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 3 | 2016-05-06T05:04:17.000Z | 2021-12-13T19:41:39.000Z | models/medium/book/__init__.py | billvsme/tvCrawlers | e19111cc48d0a2a44c5245b0ddc9fad0c7a1824d | [
"MIT"
] | 99 | 2016-02-20T08:34:00.000Z | 2022-02-10T20:52:01.000Z | from .book import Book
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 | 0 | 0 | 0 | 5 |
9500d02e4e6adf12fb743fb62f4c8fa70d1c9f84 | 88 | py | Python | Layers/__init__.py | mikuh/DRL | 4de2e98efa91293a48256a183cb3e399d8e70b9a | [
"MIT"
] | null | null | null | Layers/__init__.py | mikuh/DRL | 4de2e98efa91293a48256a183cb3e399d8e70b9a | [
"MIT"
] | null | null | null | Layers/__init__.py | mikuh/DRL | 4de2e98efa91293a48256a183cb3e399d8e70b9a | [
"MIT"
] | null | null | null | from Layers.layers import DenseEmbeddingNet, QNet, CNNEmbeddingNet, PolicyNet, ValueNet
| 44 | 87 | 0.852273 | 9 | 88 | 8.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 1 | 88 | 88 | 0.9375 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
952a6c0b89e90b4182fafd710172bb724485be65 | 34 | py | Python | python/testData/psi/FStringIncompleteNamedUnicodePrecedingFragment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/FStringIncompleteNamedUnicodePrecedingFragment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/FStringIncompleteNamedUnicodePrecedingFragment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = f'\N{LATIN SMALL LETTER A{42}' | 34 | 34 | 0.647059 | 8 | 34 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.147059 | 34 | 1 | 34 | 34 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1f0836916ec984b3f560d590641ecc70653194ef | 180 | py | Python | pattoo_agents/snmp/constants.py | palisadoes/pattoo-agents | d73453ceac1747573dfbcad4da724325e86b208d | [
"Apache-2.0"
] | null | null | null | pattoo_agents/snmp/constants.py | palisadoes/pattoo-agents | d73453ceac1747573dfbcad4da724325e86b208d | [
"Apache-2.0"
] | null | null | null | pattoo_agents/snmp/constants.py | palisadoes/pattoo-agents | d73453ceac1747573dfbcad4da724325e86b208d | [
"Apache-2.0"
] | null | null | null | """Module that defines constants shared between agents."""
# pattoo-snmp constants
PATTOO_AGENT_SNMPD = 'pattoo_agent_snmpd'
PATTOO_AGENT_SNMP_IFMIBD = 'pattoo_agent_snmp_ifmibd'
| 30 | 58 | 0.822222 | 24 | 180 | 5.75 | 0.5 | 0.318841 | 0.231884 | 0.318841 | 0.311594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094444 | 180 | 5 | 59 | 36 | 0.846626 | 0.416667 | 0 | 0 | 0 | 0 | 0.424242 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1f406f6d7d2a526cbf69bea19db6f2ddd4a0759f | 421 | py | Python | examples/prisoners_dilemma/utils.py | maxholloway/agent-exchange | 13eab47b2aa709f416fbd3866d08cdfc876fbb1a | [
"MIT"
] | 1 | 2021-08-20T10:12:16.000Z | 2021-08-20T10:12:16.000Z | examples/prisoners_dilemma/utils.py | maxholloway/agent-exchange | 13eab47b2aa709f416fbd3866d08cdfc876fbb1a | [
"MIT"
] | 4 | 2020-10-25T05:28:40.000Z | 2020-10-30T18:33:58.000Z | examples/prisoners_dilemma/utils.py | maxholloway/agent-exchange | 13eab47b2aa709f416fbd3866d08cdfc876fbb1a | [
"MIT"
] | 1 | 2021-08-20T10:13:01.000Z | 2021-08-20T10:13:01.000Z | class BufferList:
def __init__(self, maxlen):
self.data = []
self.maxlen = maxlen
def append(self, el):
if len(self.data) == self.maxlen:
popped = self.data.pop(0)
else:
popped = None
self.data.append(el)
return popped
de... | 22.157895 | 41 | 0.515439 | 51 | 421 | 4.098039 | 0.392157 | 0.229665 | 0.114833 | 0.172249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007547 | 0.370546 | 421 | 19 | 42 | 22.157895 | 0.781132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0.133333 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 1 | 0 | 0 | 5 |
1f83ca730e7b5a599e853b43f7287f708d0a6726 | 10,043 | py | Python | jaxkern/dependence.py | J-Garcke-SCAI/jaxkern | 9de7ebf52fe2d186d316350a6692b2ecc0885adc | [
"MIT"
] | 7 | 2020-09-28T07:39:16.000Z | 2022-03-11T14:09:41.000Z | jaxkern/dependence.py | J-Garcke-SCAI/jaxkern | 9de7ebf52fe2d186d316350a6692b2ecc0885adc | [
"MIT"
] | 5 | 2020-09-25T01:25:57.000Z | 2020-10-09T16:15:49.000Z | jaxkern/dependence.py | J-Garcke-SCAI/jaxkern | 9de7ebf52fe2d186d316350a6692b2ecc0885adc | [
"MIT"
] | 2 | 2021-05-25T21:59:58.000Z | 2022-01-11T07:23:32.000Z | from jaxkern.dist import sqeuclidean_distance
from typing import Callable, Dict
import jax
import jax.numpy as np
from jaxkern.kernels import gram, covariance_matrix
from jaxkern.utils import centering
jax_np = jax.numpy.ndarray
def hsic(
X: np.ndarray,
Y: np.ndarray,
kernel: Callable,
params_x: Dic... | 23.742317 | 96 | 0.600617 | 1,430 | 10,043 | 4.133566 | 0.128671 | 0.03079 | 0.050753 | 0.028422 | 0.762984 | 0.754525 | 0.744882 | 0.744882 | 0.744882 | 0.744882 | 0 | 0.012808 | 0.284775 | 10,043 | 422 | 97 | 23.798578 | 0.810107 | 0.486508 | 0 | 0.645833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.041667 | 0 | 0.159722 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2f7be556d6c914fa516a53d7f444682d89227529 | 177 | py | Python | mcq/core/tests/test_general.py | boyombo/django-mcq | 8c7169d6f479ef3ef6a042b8b3261c66516cb032 | [
"MIT"
] | null | null | null | mcq/core/tests/test_general.py | boyombo/django-mcq | 8c7169d6f479ef3ef6a042b8b3261c66516cb032 | [
"MIT"
] | null | null | null | mcq/core/tests/test_general.py | boyombo/django-mcq | 8c7169d6f479ef3ef6a042b8b3261c66516cb032 | [
"MIT"
] | 1 | 2021-04-30T14:25:13.000Z | 2021-04-30T14:25:13.000Z | def test_home(client):
response = client.get('/')
#import pdb;pdb.set_trace()
assert response.status_code == 200
assert response.template_name == ['home.html']
| 25.285714 | 50 | 0.672316 | 23 | 177 | 5 | 0.73913 | 0.243478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.180791 | 177 | 6 | 51 | 29.5 | 0.772414 | 0.146893 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
85ece56037bb69964dce7495b271980079552acd | 45,498 | py | Python | Climate_Shocks/note_worthy_events/inital_event_recurance.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | Climate_Shocks/note_worthy_events/inital_event_recurance.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | Climate_Shocks/note_worthy_events/inital_event_recurance.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | """
Author: Matt Hanson
Created: 3/11/2020 9:04 AM
"""
from Climate_Shocks.vcsn_pull import vcsn_pull_single_site
from Climate_Shocks.note_worthy_events.simple_soil_moisture_pet import calc_sma_smd_historical, calc_smd_monthly
from Climate_Shocks.get_past_record import get_restriction_record, get_vcsn_record
from P... | 41.512774 | 129 | 0.571564 | 6,530 | 45,498 | 3.77075 | 0.060643 | 0.041222 | 0.034399 | 0.038541 | 0.771636 | 0.748853 | 0.722211 | 0.71023 | 0.705316 | 0.680055 | 0 | 0.031038 | 0.260011 | 45,498 | 1,095 | 130 | 41.550685 | 0.700309 | 0.091389 | 0 | 0.471186 | 0 | 0 | 0.112057 | 0.030506 | 0 | 0 | 0 | 0 | 0.00113 | 1 | 0.022599 | false | 0 | 0.012429 | 0 | 0.041808 | 0.00565 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c82cc41e23c5fb855d2ef58b1455def187bd6258 | 116 | py | Python | opendeep/models/container/__init__.py | vitruvianscience/OpenDeep | e96efc449101094354b615cf15afe6d03644fc36 | [
"Apache-2.0"
] | 252 | 2015-03-13T21:55:22.000Z | 2021-09-06T21:37:38.000Z | opendeep/models/container/__init__.py | afcarl/OpenDeep | e96efc449101094354b615cf15afe6d03644fc36 | [
"Apache-2.0"
] | 16 | 2015-03-14T06:47:04.000Z | 2016-09-23T19:13:35.000Z | opendeep/models/container/__init__.py | afcarl/OpenDeep | e96efc449101094354b615cf15afe6d03644fc36 | [
"Apache-2.0"
] | 68 | 2015-03-14T00:05:53.000Z | 2020-06-04T13:36:13.000Z | from __future__ import division, absolute_import, print_function
from .prototype import *
from .repeating import *
| 23.2 | 64 | 0.818966 | 14 | 116 | 6.357143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 116 | 4 | 65 | 29 | 0.881188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c836b11e39c9d749595a367b734a3381d0b0adb6 | 65 | py | Python | test/test.py | fanyongkang87/ykfan_utils | de4d27218ddeaaa2dcf5b2434bdc8fb2646ba431 | [
"MIT"
] | 1 | 2019-06-06T10:17:05.000Z | 2019-06-06T10:17:05.000Z | test/test.py | fanyongkang87/ykfan_utils | de4d27218ddeaaa2dcf5b2434bdc8fb2646ba431 | [
"MIT"
] | null | null | null | test/test.py | fanyongkang87/ykfan_utils | de4d27218ddeaaa2dcf5b2434bdc8fb2646ba431 | [
"MIT"
] | null | null | null | from ykfan_utils import clear_dir
path = 'test'
clear_dir(path)
| 13 | 33 | 0.784615 | 11 | 65 | 4.363636 | 0.727273 | 0.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 4 | 34 | 16.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c85efc9fa206700830e967ce6d433863c964b0b5 | 150 | py | Python | travis_doc/tests/test_travis_doc.py | has2k1/travis_doc | 1317091ebb224feb7627ab3e7a6a2e294afd203b | [
"BSD-3-Clause"
] | null | null | null | travis_doc/tests/test_travis_doc.py | has2k1/travis_doc | 1317091ebb224feb7627ab3e7a6a2e294afd203b | [
"BSD-3-Clause"
] | null | null | null | travis_doc/tests/test_travis_doc.py | has2k1/travis_doc | 1317091ebb224feb7627ab3e7a6a2e294afd203b | [
"BSD-3-Clause"
] | null | null | null | from ..travis_doc import function1, function2
def test_function1():
assert function1() == 1
def test_function2():
assert function2() == 2
| 15 | 45 | 0.693333 | 18 | 150 | 5.611111 | 0.611111 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0.193333 | 150 | 9 | 46 | 16.666667 | 0.768595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
c07fd5c92cddd474d26f9a3b13b50e1df348926a | 412 | py | Python | python_submitty_utils/submitty_utils/db_utils.py | zeez2030/Submitty | 7118944ff4adc6f15d76984eb10a1e862926d724 | [
"BSD-3-Clause"
] | 411 | 2016-06-14T20:52:25.000Z | 2022-03-31T21:20:25.000Z | python_submitty_utils/submitty_utils/db_utils.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 5,730 | 2016-05-23T21:04:32.000Z | 2022-03-31T10:08:06.000Z | python_submitty_utils/submitty_utils/db_utils.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 423 | 2016-09-22T21:11:30.000Z | 2022-03-29T18:55:28.000Z | """Utilities for interacting with databases"""
def generate_connect_string(
host: str,
port: int,
db: str,
user: str,
password: str,
) -> str:
conn_string = f"postgresql://{user}:{password}@"
if not host.startswith('/'):
conn_string += f"{host}:{port}"
conn_string += f"/{db}"
... | 20.6 | 52 | 0.587379 | 50 | 412 | 4.7 | 0.46 | 0.212766 | 0.187234 | 0.204255 | 0.246809 | 0.246809 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240291 | 412 | 19 | 53 | 21.684211 | 0.750799 | 0.097087 | 0 | 0 | 1 | 0 | 0.172131 | 0.084699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.142857 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c08accba25b56f2ec09b67c838ec425c7ba720e6 | 106 | py | Python | python_mock/raise_exception.py | enamrik/python-mock | 817bf1ada9346445912e2cd2e2f65306e21cb8d8 | [
"MIT"
] | null | null | null | python_mock/raise_exception.py | enamrik/python-mock | 817bf1ada9346445912e2cd2e2f65306e21cb8d8 | [
"MIT"
] | null | null | null | python_mock/raise_exception.py | enamrik/python-mock | 817bf1ada9346445912e2cd2e2f65306e21cb8d8 | [
"MIT"
] | null | null | null |
class RaiseException:
def __init__(self, exception: Exception):
self.exception = exception
| 15.142857 | 45 | 0.698113 | 10 | 106 | 7 | 0.6 | 0.371429 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 106 | 6 | 46 | 17.666667 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c08cb34c5c8b6f18d3ecc65338b30cd5ef9a9f84 | 196,254 | py | Python | jasmine-sql/jasmine/sql/parser/SQLParserListener.py | andrewsmike/jasmine | 5209a65975e067eb0678b03dd3abf89729f1e5f2 | [
"Apache-2.0"
] | 3 | 2022-02-01T06:39:29.000Z | 2022-02-01T13:08:17.000Z | jasmine-sql/jasmine/sql/parser/autogen/SQLParserListener.py | andrewsmike/jasmine | 5209a65975e067eb0678b03dd3abf89729f1e5f2 | [
"Apache-2.0"
] | null | null | null | jasmine-sql/jasmine/sql/parser/autogen/SQLParserListener.py | andrewsmike/jasmine | 5209a65975e067eb0678b03dd3abf89729f1e5f2 | [
"Apache-2.0"
] | null | null | null | # Generated from SQLParser.g4 by ANTLR 4.9.3
from antlr4 import *
if __name__ is not None and "." in __name__:
from .SQLParser import SQLParser
else:
from SQLParser import SQLParser
"""
Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistri... | 33.48473 | 129 | 0.744566 | 19,685 | 196,254 | 7.420828 | 0.138329 | 0.05319 | 0.088651 | 0.159571 | 0.823541 | 0.492035 | 0.491631 | 0.490995 | 0.005237 | 0.003697 | 0 | 0.000367 | 0.195772 | 196,254 | 5,861 | 130 | 33.48473 | 0.925161 | 0.37104 | 0 | 0.498459 | 1 | 0 | 0.000008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.498459 | false | 0.501541 | 0.002311 | 0 | 0.501156 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c0db4354b91b037de40f568d23c31e1e7c47ec03 | 126 | py | Python | tests/test_apdu/__init__.py | amih90/bacpypes | 27ab4f18aa252ceb6ffdc32d53af2995a2e92647 | [
"MIT"
] | 240 | 2015-07-17T16:27:54.000Z | 2022-03-29T13:53:06.000Z | tests/test_apdu/__init__.py | amih90/bacpypes | 27ab4f18aa252ceb6ffdc32d53af2995a2e92647 | [
"MIT"
] | 400 | 2015-07-23T05:37:52.000Z | 2022-03-29T12:32:30.000Z | tests/test_apdu/__init__.py | amih90/bacpypes | 27ab4f18aa252ceb6ffdc32d53af2995a2e92647 | [
"MIT"
] | 143 | 2015-07-17T18:22:27.000Z | 2022-03-22T01:21:24.000Z | #!/usr/bin/python
"""
Test BACpypes APDU Module
"""
from . import test_max_apdu_length_accepted, test_max_segments_accepted
| 15.75 | 71 | 0.785714 | 18 | 126 | 5.111111 | 0.722222 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 126 | 7 | 72 | 18 | 0.821429 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c0e78f4cc67c560e09e724676da39eb4b75f0c89 | 379 | py | Python | text/_elisp/key/base/character/japanese/upper/__init__.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_elisp/key/base/character/japanese/upper/__init__.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | text/_elisp/key/base/character/japanese/upper/__init__.py | jedhsu/text | 8525b602d304ac571a629104c48703443244545c | [
"Apache-2.0"
] | null | null | null | from .west import Ka
from .west import Ta
from .west import Ha
from .west import Ra
from .west import Wa
from .west import Ki
from .west import Chi
from .west import Hi
from .west import Ri
from .east import Sa
from .east import Na
from .east import Ma
from .east import A
from .east import Ya
from .east import Shi
fro... | 18.95 | 21 | 0.759894 | 72 | 379 | 4 | 0.305556 | 0.25 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192612 | 379 | 19 | 22 | 19.947368 | 0.941176 | 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 | 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 | 5 |
8d08215b3b73a7924d2718de7cb7b754807f1b65 | 179 | py | Python | src/uff/plane_wave_origin.py | davidbradway/uff.py | 118001211018a4fc95d1dd7304ae6335bdf805f9 | [
"MIT"
] | 7 | 2021-11-16T17:27:54.000Z | 2021-12-25T18:09:35.000Z | src/uff/plane_wave_origin.py | davidbradway/uff.py | 118001211018a4fc95d1dd7304ae6335bdf805f9 | [
"MIT"
] | 6 | 2021-11-16T17:27:33.000Z | 2022-02-04T08:51:06.000Z | src/uff/plane_wave_origin.py | davidbradway/uff.py | 118001211018a4fc95d1dd7304ae6335bdf805f9 | [
"MIT"
] | 1 | 2021-11-16T19:26:36.000Z | 2021-11-16T19:26:36.000Z | from dataclasses import dataclass
from uff.origin import Origin
from uff.rotation import Rotation
@dataclass
class PlaneWaveOrigin(Origin):
rotation: Rotation = Rotation()
| 17.9 | 35 | 0.798883 | 21 | 179 | 6.809524 | 0.428571 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145251 | 179 | 9 | 36 | 19.888889 | 0.934641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.833333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
238542b3c0cb07fedde0fec5e62254046d99ff9d | 1,075 | py | Python | src/text_utils_tests/test_accents_dict.py | stefantaubert/text-utils | 8fc52df37b6cbc5409695f16b7295be61107052c | [
"MIT"
] | null | null | null | src/text_utils_tests/test_accents_dict.py | stefantaubert/text-utils | 8fc52df37b6cbc5409695f16b7295be61107052c | [
"MIT"
] | 22 | 2020-12-19T18:54:03.000Z | 2021-11-08T15:24:39.000Z | src/text_utils_tests/test_accents_dict.py | stefantaubert/text-utils | 8fc52df37b6cbc5409695f16b7295be61107052c | [
"MIT"
] | null | null | null | from text_utils.accents_dict import AccentsDict
def test_init_from_accents_adds_no_accents():
res = AccentsDict.init_from_accents({"a", "b", "c"})
assert len(res) == 3
def test_init_from_accents_is_sorted():
res = AccentsDict.init_from_accents({"c", "a", "b"})
assert res.get_accent(0) == "a"
assert res.g... | 27.564103 | 74 | 0.702326 | 177 | 1,075 | 3.870057 | 0.20904 | 0.157664 | 0.210219 | 0.315328 | 0.80292 | 0.538686 | 0.538686 | 0.49635 | 0.49635 | 0.440876 | 0 | 0.013934 | 0.132093 | 1,075 | 38 | 75 | 28.289474 | 0.720257 | 0 | 0 | 0.333333 | 0 | 0 | 0.030698 | 0 | 0 | 0 | 0 | 0 | 0.541667 | 1 | 0.208333 | false | 0 | 0.041667 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
23858a7010759c9b26295e469f8bb5f9a54899ac | 42 | py | Python | src/probnum/quad/solvers/policies/__init__.py | feimeng93/probnum | 4e46273c0157d26b9be2a7a415ccf69a3691ec22 | [
"MIT"
] | 1 | 2021-04-16T14:45:26.000Z | 2021-04-16T14:45:26.000Z | src/probnum/quad/solvers/policies/__init__.py | pitmonticone/probnum | 1fed705b2443a14d08419e16f98f6ef815ae9ffa | [
"MIT"
] | 42 | 2021-03-08T07:20:40.000Z | 2022-03-28T05:04:48.000Z | src/probnum/quad/solvers/policies/__init__.py | pitmonticone/probnum | 1fed705b2443a14d08419e16f98f6ef815ae9ffa | [
"MIT"
] | null | null | null | from ._policy import Policy, RandomPolicy
| 21 | 41 | 0.833333 | 5 | 42 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.918919 | 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 | 0 | 0 | 0 | 5 |
2390c1e8c517652cedab3d662000ca0eb6121780 | 51 | py | Python | __init__.py | sourabh2k15/zulint | 1b34e45c7da65fd470a44cdd3b272ccb316be648 | [
"Apache-2.0"
] | null | null | null | __init__.py | sourabh2k15/zulint | 1b34e45c7da65fd470a44cdd3b272ccb316be648 | [
"Apache-2.0"
] | null | null | null | __init__.py | sourabh2k15/zulint | 1b34e45c7da65fd470a44cdd3b272ccb316be648 | [
"Apache-2.0"
] | null | null | null | # Compatibility __init__ file
from zulint import *
| 17 | 29 | 0.803922 | 6 | 51 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 30 | 25.5 | 0.860465 | 0.529412 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
239215a7126b469ed62fc9444b620d2812931d81 | 101 | py | Python | pyglet/libs/darwin/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T12:29:01.000Z | 2018-12-09T09:17:33.000Z | pyglet/libs/darwin/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | null | null | null | pyglet/libs/darwin/__init__.py | bitcraft/pyglet | 144257c365ca85528c6a4c5bed8141e683d7a9b6 | [
"BSD-3-Clause"
] | 9 | 2015-12-12T09:12:46.000Z | 2021-12-26T13:29:14.000Z | import pyglet
# Cocoa implementation:
if pyglet.options['darwin_cocoa']:
from .cocoapy import *
| 16.833333 | 34 | 0.742574 | 12 | 101 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 5 | 35 | 20.2 | 0.870588 | 0.207921 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
23c3355bf1fdcde499b548cc70d15c7c199674ba | 24 | py | Python | social_core/__init__.py | mvpoland/social-core | f7106463363cde54f67cb80f89cb8b4e39aa2344 | [
"BSD-3-Clause"
] | null | null | null | social_core/__init__.py | mvpoland/social-core | f7106463363cde54f67cb80f89cb8b4e39aa2344 | [
"BSD-3-Clause"
] | null | null | null | social_core/__init__.py | mvpoland/social-core | f7106463363cde54f67cb80f89cb8b4e39aa2344 | [
"BSD-3-Clause"
] | null | null | null | __version__ = '3.3.3.2'
| 12 | 23 | 0.625 | 5 | 24 | 2.2 | 0.6 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 5 |
23e583223fb05de9b135b6c0861b783a042f5499 | 371 | py | Python | {{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/base/dataset.py | gpnlab/cookiecutter-gpnlab | dd6e949fe2a203c77f6ea30e84c95f0306c7b64e | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/base/dataset.py | gpnlab/cookiecutter-gpnlab | dd6e949fe2a203c77f6ea30e84c95f0306c7b64e | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/{{ cookiecutter.repo_name }}/base/dataset.py | gpnlab/cookiecutter-gpnlab | dd6e949fe2a203c77f6ea30e84c95f0306c7b64e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
from torch.utils.data import Dataset
__all__ = ['BaseDataset']
class BaseDataset(Dataset):
"""
Base class for all custom datasets
"""
def __init__(self):
raise NotImplementedError
def __len__(self):
raise NotImplementedError
def __getit... | 16.863636 | 38 | 0.668464 | 40 | 371 | 5.8 | 0.7 | 0.310345 | 0.241379 | 0.267241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003546 | 0.239892 | 371 | 21 | 39 | 17.666667 | 0.819149 | 0.183288 | 0 | 0.333333 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.555556 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
23e70ae9df6162caf1dff15d8220303b25a25de2 | 4,388 | py | Python | projects/01_fyyur/worked_code/models.py | andreqts/UDACITY-Full-Stack-exercises | 3504f76479de8da999ff3e8b3f02cd3a3689c360 | [
"MIT"
] | null | null | null | projects/01_fyyur/worked_code/models.py | andreqts/UDACITY-Full-Stack-exercises | 3504f76479de8da999ff3e8b3f02cd3a3689c360 | [
"MIT"
] | 34 | 2021-08-19T15:48:26.000Z | 2022-02-24T00:30:19.000Z | projects/01_fyyur/worked_code/models.py | andreqts/UDACITY-Full-Stack-exercises | 3504f76479de8da999ff3e8b3f02cd3a3689c360 | [
"MIT"
] | null | null | null | #----------------------------------------------------------------------------#
# Imports
#----------------------------------------------------------------------------#
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import func, or_, and_
from flask_migrate import Migrate
from flask_wtf... | 41.790476 | 138 | 0.627165 | 578 | 4,388 | 4.579585 | 0.1609 | 0.07858 | 0.098224 | 0.114847 | 0.796751 | 0.757083 | 0.726861 | 0.657348 | 0.633547 | 0.602569 | 0 | 0.013499 | 0.139016 | 4,388 | 104 | 139 | 42.192308 | 0.687136 | 0.162261 | 0 | 0.507692 | 0 | 0 | 0.061543 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169231 | false | 0 | 0.076923 | 0.169231 | 0.938462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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 | 1 | 1 | 0 | 0 | 5 |
9b0ed7d0e710d4cee42930fc2da58cd220a1ca04 | 163 | py | Python | NLP_Flask/app/dataAPI/utils.py | Gxy-2001/NLPPlat | f339c1a7452b979b413919cf4bc128bf45af52ef | [
"MIT"
] | null | null | null | NLP_Flask/app/dataAPI/utils.py | Gxy-2001/NLPPlat | f339c1a7452b979b413919cf4bc128bf45af52ef | [
"MIT"
] | null | null | null | NLP_Flask/app/dataAPI/utils.py | Gxy-2001/NLPPlat | f339c1a7452b979b413919cf4bc128bf45af52ef | [
"MIT"
] | null | null | null | import base64
from io import BytesIO
import numpy as np
from app.models.dataset import *
from app.models.model import *
from app.utils.global_utils import *
| 12.538462 | 36 | 0.773006 | 26 | 163 | 4.807692 | 0.538462 | 0.168 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.171779 | 163 | 12 | 37 | 13.583333 | 0.911111 | 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 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f19df4e11a8e35cca7ef09184e8dae7783e90951 | 3,546 | py | Python | tests/core/transaction-utils/conftest.py | ggs134/py-evm | 5ad87356181b03c14a2452131f50fe8762127c84 | [
"MIT"
] | 1,641 | 2017-11-24T04:24:22.000Z | 2022-03-31T14:59:30.000Z | tests/core/transaction-utils/conftest.py | ggs134/py-evm | 5ad87356181b03c14a2452131f50fe8762127c84 | [
"MIT"
] | 1,347 | 2017-11-23T10:37:36.000Z | 2022-03-20T16:31:44.000Z | tests/core/transaction-utils/conftest.py | ggs134/py-evm | 5ad87356181b03c14a2452131f50fe8762127c84 | [
"MIT"
] | 567 | 2017-11-22T18:03:27.000Z | 2022-03-28T17:49:08.000Z | import pytest
# from https://github.com/ethereum/tests/blob/c951a3c105d600ccd8f1c3fc87856b2bcca3df0a/BasicTests/txtest.json # noqa: E501
TRANSACTION_FIXTURES = [
{
"chainId": None,
"key": "c85ef7d79691fe79573b1a7064c19c1a9819ebdbd1faaab1a8ec92344438aaf4",
"nonce": 0,
"gasPrice": 1... | 49.25 | 423 | 0.750705 | 180 | 3,546 | 14.7 | 0.522222 | 0.021164 | 0.015873 | 0.020408 | 0.048375 | 0.027967 | 0.027967 | 0 | 0 | 0 | 0 | 0.460791 | 0.158488 | 3,546 | 71 | 424 | 49.943662 | 0.425938 | 0.058094 | 0 | 0.209677 | 0 | 0.016129 | 0.627027 | 0.555856 | 0 | 0 | 0.097898 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.016129 | 0.032258 | 0.080645 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f19f087056a5e6dcba2dfd816055bda6300bf6b3 | 143 | py | Python | utils/__init__.py | jaobernardi/roboscovid-redacted | 831abbcf42781560c89c5a6782ab7de238b43aca | [
"MIT"
] | null | null | null | utils/__init__.py | jaobernardi/roboscovid-redacted | 831abbcf42781560c89c5a6782ab7de238b43aca | [
"MIT"
] | null | null | null | utils/__init__.py | jaobernardi/roboscovid-redacted | 831abbcf42781560c89c5a6782ab7de238b43aca | [
"MIT"
] | null | null | null | from .parsing import parse_string
from .tokens import token
from .users import getUsers, getPlaces
from .flags import flag_define, value_assign | 35.75 | 44 | 0.839161 | 21 | 143 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 143 | 4 | 44 | 35.75 | 0.928571 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1aa93271970fbf027ff762de7ea1942fd69ee82 | 126 | py | Python | mlaut/__init__.py | vishalbelsare/mlaut | a3bd4b2591c3144d100f413f6c4c2231392103e5 | [
"BSD-3-Clause"
] | 23 | 2019-01-14T15:12:32.000Z | 2022-03-31T12:23:34.000Z | mlaut/__init__.py | vishalbelsare/mlaut | a3bd4b2591c3144d100f413f6c4c2231392103e5 | [
"BSD-3-Clause"
] | 11 | 2019-01-23T13:39:20.000Z | 2020-04-17T13:25:27.000Z | mlaut/__init__.py | vishalbelsare/mlaut | a3bd4b2591c3144d100f413f6c4c2231392103e5 | [
"BSD-3-Clause"
] | 4 | 2019-01-07T20:46:40.000Z | 2022-03-25T00:00:00.000Z | # import mlaut.experiments
# import mlaut.analyze_results
# import mlaut.data
# import mlaut.shared
# import mlaut.resampling
| 21 | 30 | 0.801587 | 16 | 126 | 6.25 | 0.5 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 5 | 31 | 25.2 | 0.900901 | 0.912698 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
f1b838678e1fecf8d22106416d47f732ef94903e | 194 | py | Python | databayes/utils/__init__.py | alphabayes/databayes | 310622e2ecc66fb2b046e7e539eeecd4d9a9f528 | [
"MIT"
] | null | null | null | databayes/utils/__init__.py | alphabayes/databayes | 310622e2ecc66fb2b046e7e539eeecd4d9a9f528 | [
"MIT"
] | null | null | null | databayes/utils/__init__.py | alphabayes/databayes | 310622e2ecc66fb2b046e7e539eeecd4d9a9f528 | [
"MIT"
] | null | null | null | from .etl import Discretizer
from .etl import pdInterval_from_string, \
pdInterval_series_from_string, DataImporter
from .pandas_utils import ddomain_equals
from .misc import get_subclasses
| 32.333333 | 47 | 0.845361 | 26 | 194 | 6 | 0.576923 | 0.089744 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118557 | 194 | 5 | 48 | 38.8 | 0.912281 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1eb9e88d2746ac1ba16236af105e27f5a2935b2 | 4,300 | py | Python | spec/palindrome_spec.py | daltonamitchell/python-algorithms | 470117e2f85732a4c1c86fcde50989f102f53bc3 | [
"0BSD"
] | null | null | null | spec/palindrome_spec.py | daltonamitchell/python-algorithms | 470117e2f85732a4c1c86fcde50989f102f53bc3 | [
"0BSD"
] | null | null | null | spec/palindrome_spec.py | daltonamitchell/python-algorithms | 470117e2f85732a4c1c86fcde50989f102f53bc3 | [
"0BSD"
] | null | null | null | """
Write a method that takes in a string of lowercase letters (no
uppercase letters, no repeats). Consider the *substrings* of the
string: consecutive sequences of letters contained inside the string.
Find the longest such string of letters that is a palindrome.
Note that the entire string may itself be a palindrome.... | 89.583333 | 1,271 | 0.876744 | 246 | 4,300 | 15.243902 | 0.349594 | 0.045333 | 0.049067 | 0.038667 | 0.0736 | 0.0592 | 0.0336 | 0 | 0 | 0 | 0 | 0.001005 | 0.073953 | 4,300 | 47 | 1,272 | 91.489362 | 0.940733 | 0.098372 | 0 | 0 | 0 | 0 | 0.768356 | 0.639866 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.08 | 0 | 0.08 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7b1dc65fd0a1f7b4ecbad7af0c8e8ea08a9a43cd | 25 | py | Python | introducao/exemplo4.py | vinihf/Programacao_Python | d2f4ab39d6d56dd962f3b5d9bbb28a42a9ef961d | [
"CC-BY-4.0"
] | null | null | null | introducao/exemplo4.py | vinihf/Programacao_Python | d2f4ab39d6d56dd962f3b5d9bbb28a42a9ef961d | [
"CC-BY-4.0"
] | null | null | null | introducao/exemplo4.py | vinihf/Programacao_Python | d2f4ab39d6d56dd962f3b5d9bbb28a42a9ef961d | [
"CC-BY-4.0"
] | null | null | null | a = 10
b = "2"
print(a+b) | 8.333333 | 10 | 0.48 | 7 | 25 | 1.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.24 | 25 | 3 | 10 | 8.333333 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7b2025133135a232872dc59d12c6fe3d74ecd55b | 406 | py | Python | deep_rl/agent/__init__.py | pladosz/MOHQA | 60f8f2e7e9fc9eaac0985bbc63a8092b95b21161 | [
"Apache-2.0"
] | 3 | 2020-05-01T10:25:27.000Z | 2021-09-29T02:18:48.000Z | deep_rl/agent/__init__.py | pladosz/MOHQA | 60f8f2e7e9fc9eaac0985bbc63a8092b95b21161 | [
"Apache-2.0"
] | 3 | 2020-05-01T12:37:57.000Z | 2022-03-12T00:26:55.000Z | deep_rl/agent/__init__.py | pladosz/MOHQA | 60f8f2e7e9fc9eaac0985bbc63a8092b95b21161 | [
"Apache-2.0"
] | null | null | null | """ApnnDQN_agent is implemented agent, other agents are for other reinforcment learning approaches. The key implmentation of the network is in network heads."""
from .DQN_agent import *
from .DDPG_agent import *
from .A2C_agent import *
from .CategoricalDQN_agent import *
from .NStepDQN_agent import *
from .QuantileRe... | 36.909091 | 160 | 0.802956 | 55 | 406 | 5.763636 | 0.509091 | 0.277603 | 0.33123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002849 | 0.135468 | 406 | 10 | 161 | 40.6 | 0.900285 | 0.37931 | 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 | 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 | 5 |
7b2867afd9777ba1cb55f6dc48bb9f0b16392d40 | 168 | py | Python | intro_to_wc_modeling/cell_modeling/simulation/__init__.py | KarrLab/python_package_tutorial | dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6 | [
"MIT"
] | 15 | 2018-01-06T11:33:01.000Z | 2022-03-01T15:18:40.000Z | intro_to_wc_modeling/cell_modeling/simulation/__init__.py | KarrLab/python_package_tutorial | dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6 | [
"MIT"
] | 2 | 2018-01-30T23:21:12.000Z | 2018-03-23T20:22:06.000Z | intro_to_wc_modeling/cell_modeling/simulation/__init__.py | KarrLab/python_package_tutorial | dd20e0d3056138904e7e7fbbf6bb884d64dbf8f6 | [
"MIT"
] | 8 | 2018-01-08T21:40:19.000Z | 2022-01-04T14:48:02.000Z | from . import boolean
from . import dfba
from . import ode
from . import stochastic
from . import multi_algorithm
from . import mrna_and_proteins_using_several_methods
| 24 | 53 | 0.821429 | 24 | 168 | 5.5 | 0.583333 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 6 | 54 | 28 | 0.916667 | 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 | 0 | 0 | 0 | 5 |
9e5e801a5da7763cc5d80a59893e26de333e2b01 | 51 | py | Python | mlops/data_validation/__init__.py | colingwuyu/mlops | 56ba9b7169c183c1f89ead64670ebfe873f9694c | [
"Apache-2.0"
] | 1 | 2022-01-11T01:17:08.000Z | 2022-01-11T01:17:08.000Z | mlops/data_validation/__init__.py | colingwuyu/mlops | 56ba9b7169c183c1f89ead64670ebfe873f9694c | [
"Apache-2.0"
] | null | null | null | mlops/data_validation/__init__.py | colingwuyu/mlops | 56ba9b7169c183c1f89ead64670ebfe873f9694c | [
"Apache-2.0"
] | null | null | null | from mlops.data_validation.view import view_report
| 25.5 | 50 | 0.882353 | 8 | 51 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.914894 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e67daa97c8c809eb59ba8c8fd79f3c761c2c329 | 107 | py | Python | certn-python/certn/__init__.py | livebungalow/certn-python-public | aa411626a2918e37c3bbe26023b1b97014860414 | [
"MIT"
] | null | null | null | certn-python/certn/__init__.py | livebungalow/certn-python-public | aa411626a2918e37c3bbe26023b1b97014860414 | [
"MIT"
] | null | null | null | certn-python/certn/__init__.py | livebungalow/certn-python-public | aa411626a2918e37c3bbe26023b1b97014860414 | [
"MIT"
] | 1 | 2019-07-04T00:19:15.000Z | 2019-07-04T00:19:15.000Z | from certn.client import Client
from certn.version import __version__
__all__ = ['Client', '__version__']
| 21.4 | 37 | 0.785047 | 13 | 107 | 5.538462 | 0.461538 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 4 | 38 | 26.75 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e821960da92684bf6b56b0cd325f4dbf836d809 | 230 | py | Python | messenger/templates/html/Room.tpl.py | vinoth3v/In_addon_messenger | e1c5044d6ee4bfc2adbb1a81af16f7769b230c70 | [
"Apache-2.0"
] | 1 | 2015-12-16T03:25:39.000Z | 2015-12-16T03:25:39.000Z | messenger/templates/html/Room.tpl.py | vinoth3v/In_addon_messenger | e1c5044d6ee4bfc2adbb1a81af16f7769b230c70 | [
"Apache-2.0"
] | null | null | null | messenger/templates/html/Room.tpl.py | vinoth3v/In_addon_messenger | e1c5044d6ee4bfc2adbb1a81af16f7769b230c70 | [
"Apache-2.0"
] | 1 | 2019-09-13T10:12:46.000Z | 2019-09-13T10:12:46.000Z | <div <%= attributes %>>
<div class="i-clearfix">
<%= nabar_picture %>
<div class="i-nbfc">
<div>
<div id="Room-<%str= id %>-children"><%= children %></div>
<div><%= value %> </div>
</div>
</div>
</div>
</div> | 20.909091 | 62 | 0.5 | 28 | 230 | 4.071429 | 0.464286 | 0.315789 | 0.236842 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204348 | 230 | 11 | 63 | 20.909091 | 0.622951 | 0 | 0 | 0.363636 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7b6a8ba33b6684d816ca522426cc42a263647a7b | 196 | py | Python | hkey/admin.py | harvard-dce/hkey-demo-cas-server | 2cae4625d393d8510c720fab0eab74bacdcdc3da | [
"MIT"
] | null | null | null | hkey/admin.py | harvard-dce/hkey-demo-cas-server | 2cae4625d393d8510c720fab0eab74bacdcdc3da | [
"MIT"
] | null | null | null | hkey/admin.py | harvard-dce/hkey-demo-cas-server | 2cae4625d393d8510c720fab0eab74bacdcdc3da | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Huser, Grouper, MemberOf
admin.site.register(Huser)
admin.site.register(Grouper)
admin.site.register(MemberOf)
| 19.6 | 44 | 0.80102 | 27 | 196 | 5.814815 | 0.481481 | 0.171975 | 0.324841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 196 | 9 | 45 | 21.777778 | 0.897143 | 0.132653 | 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 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7ba5aaa05d92bc83303ab335e1fc4d0e06d50a74 | 40 | py | Python | travel/shenzhenair/shenzhenaircollect.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2019-05-19T11:54:26.000Z | 2019-05-19T12:03:49.000Z | travel/shenzhenair/shenzhenaircollect.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 1 | 2020-11-27T07:55:15.000Z | 2020-11-27T07:55:15.000Z | travel/shenzhenair/shenzhenaircollect.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2021-09-06T18:06:12.000Z | 2021-12-31T07:44:43.000Z | """
深圳航空订单采集
createby swm
2018/06/11
""" | 8 | 12 | 0.675 | 6 | 40 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 0.125 | 40 | 5 | 13 | 8 | 0.542857 | 0.8 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7bac0d0396029ff6933b69d44bdffc0826f6497b | 178 | py | Python | alpha/admin.py | bebutler1/SoloQ-DTC-Website-writtten-with-Django- | 3a74f37de9ea788efeb449b388e4aeca2f696a85 | [
"MIT"
] | null | null | null | alpha/admin.py | bebutler1/SoloQ-DTC-Website-writtten-with-Django- | 3a74f37de9ea788efeb449b388e4aeca2f696a85 | [
"MIT"
] | null | null | null | alpha/admin.py | bebutler1/SoloQ-DTC-Website-writtten-with-Django- | 3a74f37de9ea788efeb449b388e4aeca2f696a85 | [
"MIT"
] | null | null | null | from django.contrib import admin
from alpha.models import DataForm
# Register your models here.
admin.site.register(DataForm) #adds the ability to add forms from the admin site
| 29.666667 | 80 | 0.808989 | 28 | 178 | 5.142857 | 0.642857 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140449 | 178 | 5 | 81 | 35.6 | 0.941176 | 0.421348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c8bf07cb6e5cb2ab13ff6d2d76cd3459f36cb302 | 315 | py | Python | day18/src_test.py | arcadecoffee/advent-2015 | 711ac1061f661c07d511c0b2c77c0b111a22ff44 | [
"MIT"
] | null | null | null | day18/src_test.py | arcadecoffee/advent-2015 | 711ac1061f661c07d511c0b2c77c0b111a22ff44 | [
"MIT"
] | null | null | null | day18/src_test.py | arcadecoffee/advent-2015 | 711ac1061f661c07d511c0b2c77c0b111a22ff44 | [
"MIT"
] | null | null | null | import day18.src as src
def test_part1():
assert src.part1(src.TEST1_INPUT_FILE, 4) == 4
def test_part1_full():
assert src.part1(src.FULL_INPUT_FILE) == 768
def test_part2():
assert src.part2(src.TEST2_INPUT_FILE, 5) == 17
def test_part2_full():
assert src.part2(src.FULL_INPUT_FILE) == 781
| 17.5 | 51 | 0.704762 | 53 | 315 | 3.924528 | 0.358491 | 0.134615 | 0.115385 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088123 | 0.171429 | 315 | 17 | 52 | 18.529412 | 0.708812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
cdbd3eb4f83647434faa7735ed8056990f115b81 | 25 | py | Python | Python/HelloWorld_Spanish.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | Python/HelloWorld_Spanish.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | Python/HelloWorld_Spanish.py | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | print("Hola, el mundo!")
| 12.5 | 24 | 0.64 | 4 | 25 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.6 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cdd89a546262182464a495eb440cf2815cf8ad4c | 100 | py | Python | json_to_models/__init__.py | bogdandm/attrs-api-client | ebf9d0a72795f8a5f4667e4c41bca031a5ee798c | [
"MIT"
] | null | null | null | json_to_models/__init__.py | bogdandm/attrs-api-client | ebf9d0a72795f8a5f4667e4c41bca031a5ee798c | [
"MIT"
] | 5 | 2018-09-25T12:19:58.000Z | 2018-10-05T13:50:13.000Z | json_to_models/__init__.py | bogdandm/attrs-api-client | ebf9d0a72795f8a5f4667e4c41bca031a5ee798c | [
"MIT"
] | null | null | null | from pkg_resources import parse_version
__version__ = "0.2.5"
VERSION = parse_version(__version__)
| 20 | 39 | 0.81 | 14 | 100 | 5 | 0.642857 | 0.342857 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.11 | 100 | 4 | 40 | 25 | 0.752809 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cde13710c4974047e3f6ea8fb98855b31f72111b | 5,572 | py | Python | tests/unit/core/metrics/test_nlp_metrics.py | Aptus-John/whylogs | 11e2697be33b7c3045cde6e24f58425ed0a66766 | [
"Apache-2.0"
] | null | null | null | tests/unit/core/metrics/test_nlp_metrics.py | Aptus-John/whylogs | 11e2697be33b7c3045cde6e24f58425ed0a66766 | [
"Apache-2.0"
] | 1 | 2021-10-01T19:51:04.000Z | 2021-10-01T19:51:04.000Z | tests/unit/core/metrics/test_nlp_metrics.py | jamie256/whylogs | e4b8288a61c00fbe033c0248a015e6e91ee6c8b0 | [
"Apache-2.0"
] | null | null | null | import pytest
from whylogs.core.metrics.nlp_metrics import NLPMetrics
from whylogs.proto import NLPMetricsMessage
def test_nlp_metrics():
nlp_metric = NLPMetrics()
assert nlp_metric.mer is not None
assert nlp_metric.mer.count == 0
nlp_metric.update("hello", "hello")
assert nlp_metric.mer.histogr... | 48.877193 | 133 | 0.718413 | 949 | 5,572 | 3.958904 | 0.056902 | 0.162896 | 0.151717 | 0.12297 | 0.879957 | 0.853873 | 0.822997 | 0.738089 | 0.630024 | 0.501996 | 0 | 0.068422 | 0.134422 | 5,572 | 113 | 134 | 49.309735 | 0.710554 | 0 | 0 | 0.149425 | 0 | 0 | 0.031587 | 0 | 0 | 0 | 0 | 0 | 0.735632 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cdf59254a67b64ad6bced72965ed8f03bef9e3df | 3,626 | py | Python | unit_tests/services/test_search_by_postcode.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/services/test_search_by_postcode.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/services/test_search_by_postcode.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from unittest.mock import Mock, patch
from unittest import TestCase
from maintain_frontend.exceptions import ApplicationError
from maintain_frontend.services.search_by_postcode import SearchByPostcode
class TestSearchByPostcode(TestCase):
SEARCH_BY_POSTCODE_PATH = 'maintain_frontend.services.search_by_postcode'
... | 43.686747 | 98 | 0.732763 | 430 | 3,626 | 5.84186 | 0.162791 | 0.070064 | 0.140127 | 0.055732 | 0.821258 | 0.806927 | 0.755573 | 0.740844 | 0.683121 | 0.661624 | 0 | 0.009596 | 0.166575 | 3,626 | 82 | 99 | 44.219512 | 0.821641 | 0 | 0 | 0.516667 | 0 | 0 | 0.156922 | 0.01241 | 0 | 0 | 0 | 0 | 0.35 | 1 | 0.116667 | false | 0 | 0.066667 | 0 | 0.216667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 5 |
cdf6b7b9f280fa828d9e160f5a8a587ad01e4bbe | 78 | py | Python | Python3-built-in-functions/0x30type.py | DropsDevopsOrg/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 15 | 2019-04-09T04:20:21.000Z | 2022-02-08T20:33:42.000Z | Python3-built-in-functions/0x30type.py | sep8dog/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 1 | 2019-07-22T07:27:10.000Z | 2020-10-09T08:00:17.000Z | Python3-built-in-functions/0x30type.py | sep8dog/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 16 | 2019-09-13T14:06:42.000Z | 2022-03-15T06:02:01.000Z | print(type(1))
print(type('runnob'))
print(type([2]))
print(type({0:'zero'}))
| 15.6 | 23 | 0.628205 | 13 | 78 | 3.769231 | 0.538462 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.051282 | 78 | 4 | 24 | 19.5 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
a80ecc327889c09077e8f263103ed3f5998628cc | 24 | py | Python | code-metrics-api/config.py | clodonil/audit-aws-pipeline | 44a41c63fc84096c2327bf6d34909dff1ca3fdab | [
"Apache-2.0"
] | null | null | null | code-metrics-api/config.py | clodonil/audit-aws-pipeline | 44a41c63fc84096c2327bf6d34909dff1ca3fdab | [
"Apache-2.0"
] | null | null | null | code-metrics-api/config.py | clodonil/audit-aws-pipeline | 44a41c63fc84096c2327bf6d34909dff1ca3fdab | [
"Apache-2.0"
] | null | null | null | import os
PORT = 8080
| 4.8 | 11 | 0.666667 | 4 | 24 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.291667 | 24 | 4 | 12 | 6 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a8344b7a60027d1bc9276da9a5ff509be9c92f83 | 503 | py | Python | dbsync/__init__.py | zhoubangtao/dbsync | 5b7231a245b903f00c12a3bc0a50e7bc171bc9a8 | [
"Apache-2.0"
] | null | null | null | dbsync/__init__.py | zhoubangtao/dbsync | 5b7231a245b903f00c12a3bc0a50e7bc171bc9a8 | [
"Apache-2.0"
] | null | null | null | dbsync/__init__.py | zhoubangtao/dbsync | 5b7231a245b903f00c12a3bc0a50e7bc171bc9a8 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
import logging
import stores
release = "0.1.1"
logging.getLogger("dbsync")
class DBSync():
def __init__(self):
pass
def syncer(self, syncer):
return self
def validator(self, validator):
return self
def serializer(self, serializer):
return se... | 13.236842 | 37 | 0.580517 | 58 | 503 | 4.896552 | 0.413793 | 0.112676 | 0.183099 | 0.105634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011594 | 0.314115 | 503 | 37 | 38 | 13.594595 | 0.811594 | 0.039761 | 0 | 0.454545 | 0 | 0 | 0.022869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.181818 | 0.090909 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
b52b6c2562493534775a94335c6f84564810694b | 194 | py | Python | mojo/navigation/apps.py | django-mojo/mojo-navigation | cb4c838239b02dfaefc244c3e8c9f2f194efa5e7 | [
"BSD-3-Clause"
] | null | null | null | mojo/navigation/apps.py | django-mojo/mojo-navigation | cb4c838239b02dfaefc244c3e8c9f2f194efa5e7 | [
"BSD-3-Clause"
] | null | null | null | mojo/navigation/apps.py | django-mojo/mojo-navigation | cb4c838239b02dfaefc244c3e8c9f2f194efa5e7 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class MojoNavigation(AppConfig):
name = 'mojo.navigation'
verbose_name = _("Mojo navigation")
| 24.25 | 55 | 0.773196 | 23 | 194 | 6.347826 | 0.695652 | 0.136986 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149485 | 194 | 7 | 56 | 27.714286 | 0.884848 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b55ae133e8f9e90d5405cbbab181e2dc8719fcfe | 1,450 | py | Python | pylaunches/objects/event.py | ludeeus/pylaunches | 8f44f9b6084bb93f0429e17e94deb7af47a01a9b | [
"MIT"
] | 1 | 2021-11-14T19:08:52.000Z | 2021-11-14T19:08:52.000Z | pylaunches/objects/event.py | ludeeus/pylaunches | 8f44f9b6084bb93f0429e17e94deb7af47a01a9b | [
"MIT"
] | 2 | 2020-10-30T19:13:16.000Z | 2022-01-25T17:00:36.000Z | pylaunches/objects/event.py | ludeeus/pylaunches | 8f44f9b6084bb93f0429e17e94deb7af47a01a9b | [
"MIT"
] | 4 | 2019-03-04T03:05:53.000Z | 2022-01-25T02:01:28.000Z | from pylaunches.objects.data import PyLaunchesData
from pylaunches.objects.launch import Launch
class EventType(PyLaunchesData):
"""Event type data object."""
@property
def id(self) -> str:
return self._data.get("id")
@property
def name(self) -> str:
return self._data.get("name")... | 21.641791 | 66 | 0.602069 | 177 | 1,450 | 4.819209 | 0.186441 | 0.180539 | 0.180539 | 0.239156 | 0.464244 | 0.464244 | 0.323564 | 0.228605 | 0.228605 | 0.228605 | 0 | 0 | 0.257241 | 1,450 | 66 | 67 | 21.969697 | 0.792015 | 0.028966 | 0 | 0.478261 | 0 | 0 | 0.060129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0.043478 | 0.304348 | 0.695652 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b56800f18e1be509be75b18af2a779ad101b30fb | 258 | py | Python | scanpy/api/pp.py | ckmah/scanpy | 300435f30f6805e27ba59a7314fe06ef21d03c17 | [
"BSD-3-Clause"
] | null | null | null | scanpy/api/pp.py | ckmah/scanpy | 300435f30f6805e27ba59a7314fe06ef21d03c17 | [
"BSD-3-Clause"
] | null | null | null | scanpy/api/pp.py | ckmah/scanpy | 300435f30f6805e27ba59a7314fe06ef21d03c17 | [
"BSD-3-Clause"
] | 1 | 2019-02-18T07:39:59.000Z | 2019-02-18T07:39:59.000Z | # we need this dummy module as otherwise, sphinx cannot produce the overview of
# the api module
#
# importing all ("*") is ok, as scanpy.preprocessing.__init__ is carefully maintained
# to only contain the functions of the api
from ..preprocessing import *
| 36.857143 | 85 | 0.767442 | 38 | 258 | 5.105263 | 0.763158 | 0.051546 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 258 | 6 | 86 | 43 | 0.902326 | 0.841085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
b577f4812e01ba3322c621f94efdd12fe22b4fc2 | 66 | py | Python | app/models/__init__.py | ZehLuckmann/integracao | 030f5f696367857b9a47dfec703f2a1b3021a26e | [
"MIT"
] | 2 | 2019-03-02T22:18:18.000Z | 2020-05-14T21:21:35.000Z | app/models/__init__.py | ZehLuckmann/integracao | 030f5f696367857b9a47dfec703f2a1b3021a26e | [
"MIT"
] | null | null | null | app/models/__init__.py | ZehLuckmann/integracao | 030f5f696367857b9a47dfec703f2a1b3021a26e | [
"MIT"
] | null | null | null | # app/medels/__init__.py
# coding:utf-8
from app.models import *
| 13.2 | 24 | 0.727273 | 11 | 66 | 4 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.136364 | 66 | 4 | 25 | 16.5 | 0.754386 | 0.530303 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b595a1bfc0564726a536742f218bb4d060299587 | 75 | py | Python | main.py | dwihdyn/alpaca-algo-community | 114b0831d88655765609291a008c5b37574a8b32 | [
"MIT"
] | 5 | 2019-02-04T11:15:38.000Z | 2020-07-30T15:02:04.000Z | main.py | klepsydra/alpaca-algo-community | 4c3fdbbd4b4e91121c09c0a32e42527b9f11e601 | [
"MIT"
] | null | null | null | main.py | klepsydra/alpaca-algo-community | 4c3fdbbd4b4e91121c09c0a32e42527b9f11e601 | [
"MIT"
] | 5 | 2020-02-17T01:36:16.000Z | 2020-09-19T04:27:19.000Z | from algos import run_algo
if __name__ == '__main__':
run_algo.main()
| 15 | 26 | 0.706667 | 11 | 75 | 3.909091 | 0.727273 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 75 | 4 | 27 | 18.75 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
b59a16277a9753688f092e5dd650e044e30753da | 54 | py | Python | models/__init__.py | AndreaCossu/reproducible-continual-learning | 0badbec82f179c0673767072be4d3bc59c112352 | [
"MIT"
] | null | null | null | models/__init__.py | AndreaCossu/reproducible-continual-learning | 0badbec82f179c0673767072be4d3bc59c112352 | [
"MIT"
] | null | null | null | models/__init__.py | AndreaCossu/reproducible-continual-learning | 0badbec82f179c0673767072be4d3bc59c112352 | [
"MIT"
] | null | null | null | from .models import *
from .reduced_resnet18 import *
| 18 | 31 | 0.777778 | 7 | 54 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 54 | 2 | 32 | 27 | 0.847826 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b5af967594e4a74de97f9ebbf43ea24009dbd804 | 88 | py | Python | EduRec/meta/__init__.py | bigdata-ustc/EduRec | 133f3fd0ce74b7c8f36f0e5a2cf71bbf759ee4c8 | [
"MIT"
] | 2 | 2021-06-06T13:06:20.000Z | 2022-02-17T06:17:29.000Z | EduRec/meta/__init__.py | bigdata-ustc/EduRec | 133f3fd0ce74b7c8f36f0e5a2cf71bbf759ee4c8 | [
"MIT"
] | null | null | null | EduRec/meta/__init__.py | bigdata-ustc/EduRec | 133f3fd0ce74b7c8f36f0e5a2cf71bbf759ee4c8 | [
"MIT"
] | 1 | 2022-03-12T00:27:52.000Z | 2022-03-12T00:27:52.000Z | # coding: utf-8
# 2021/2/10 @ tongshiwei
from .MeasurementModel import MeasurementModel | 22 | 46 | 0.784091 | 11 | 88 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 0.125 | 88 | 4 | 46 | 22 | 0.792208 | 0.409091 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.