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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9a898e7da425c340b32907026fcd7bb947046e7 | 3,533 | py | Python | test/test_script_set.py | luwenchang/dataflux-func | fa07ecaa03db756f35168bbd8fbdfdf5053b767d | [
"Apache-2.0"
] | 202 | 2021-01-08T09:02:34.000Z | 2022-03-12T02:48:07.000Z | test/test_script_set.py | Rogers0007/dataflux-func | fa07ecaa03db756f35168bbd8fbdfdf5053b767d | [
"Apache-2.0"
] | 1 | 2021-05-15T02:36:07.000Z | 2021-06-03T15:01:10.000Z | test/test_script_set.py | Rogers0007/dataflux-func | fa07ecaa03db756f35168bbd8fbdfdf5053b767d | [
"Apache-2.0"
] | 31 | 2021-01-23T04:56:41.000Z | 2022-03-11T07:10:04.000Z | # -*- coding: utf-8 -*-
import pytest
from . import BaseTestSuit, AssertDesc, gen_rand_string
SCRIPT_SET_ID = f"UnitTest_{gen_rand_string(4)}"
class TestSuitScriptSet(BaseTestSuit):
def setup_class(self):
pass
def teardown_class(self):
pass
def test_list(self):
# 测试接口
c... | 37.989247 | 102 | 0.545429 | 425 | 3,533 | 4.343529 | 0.16 | 0.053088 | 0.071506 | 0.077465 | 0.804442 | 0.779523 | 0.757313 | 0.737811 | 0.737811 | 0.737811 | 0 | 0.016036 | 0.311633 | 3,533 | 92 | 103 | 38.402174 | 0.74301 | 0.017549 | 0 | 0.610169 | 0 | 0 | 0.150578 | 0.066185 | 0 | 0 | 0 | 0 | 0.338983 | 1 | 0.101695 | false | 0.033898 | 0.033898 | 0 | 0.152542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75783ee26cc3733a66473fcbae00d3669dcc91d2 | 4,542 | py | Python | tests/test_bilstm.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 29 | 2020-01-31T17:05:38.000Z | 2021-12-14T14:17:55.000Z | tests/test_bilstm.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 342 | 2020-02-05T10:40:43.000Z | 2022-03-17T19:50:23.000Z | tests/test_bilstm.py | wellcometrust/WellcomeML | f7f5427f6dfdc6e5ee1342764263c6411e0f9bdf | [
"MIT"
] | 9 | 2020-06-07T17:01:00.000Z | 2021-11-24T16:03:38.000Z | import tempfile
from wellcomeml.ml.bilstm import BiLSTMClassifier
from wellcomeml.ml.keras_vectorizer import KerasVectorizer
from sklearn.pipeline import Pipeline
from scipy.sparse import csr_matrix
import numpy as np
def test_vanilla():
X = [
"One",
"One only",
"Two nothing else",
... | 22.374384 | 58 | 0.518934 | 574 | 4,542 | 3.998258 | 0.156794 | 0.018301 | 0.016993 | 0.019172 | 0.757734 | 0.742048 | 0.728976 | 0.722004 | 0.722004 | 0.722004 | 0 | 0.035251 | 0.337957 | 4,542 | 202 | 59 | 22.485149 | 0.727968 | 0.019155 | 0 | 0.723529 | 0 | 0 | 0.108715 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 1 | 0.052941 | false | 0 | 0.035294 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
757af59a37c898ce38fcfbbaa887162aa405313c | 660 | py | Python | obsei/analyzer/__init__.py | kuutsav/obsei | edce8e57ab870428a130bdef6b8fc31415635988 | [
"Apache-2.0"
] | 359 | 2021-07-03T09:34:42.000Z | 2022-03-30T21:48:08.000Z | obsei/analyzer/__init__.py | kuutsav/obsei | edce8e57ab870428a130bdef6b8fc31415635988 | [
"Apache-2.0"
] | 80 | 2020-12-23T17:22:04.000Z | 2021-07-03T05:33:28.000Z | obsei/analyzer/__init__.py | admariner/obsei | 3a4871b87f1e0e58fd2189c1193f2b86029e690d | [
"Apache-2.0"
] | 38 | 2021-07-03T11:33:48.000Z | 2022-03-25T10:26:24.000Z | from obsei.analyzer.dummy_analyzer import DummyAnalyzer, DummyAnalyzerConfig
from obsei.analyzer.ner_analyzer import TransformersNERAnalyzer, SpacyNERAnalyzer
from obsei.analyzer.pii_analyzer import PresidioPIIAnalyzer, PresidioPIIAnalyzerConfig, PresidioAnonymizerConfig, PresidioModelConfig, PresidioEngineConfig
from ... | 94.285714 | 155 | 0.915152 | 52 | 660 | 11.5 | 0.5 | 0.090301 | 0.170569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051515 | 660 | 6 | 156 | 110 | 0.955272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75884266f51538e3c2ee6b087ac7a376be4ca57f | 458 | py | Python | leet/strings/firstUniqChar.py | peterlamar/python-cp-cheatsheet | f9f854064a3c657c04fab27d0a496401bfa97da1 | [
"Apache-2.0"
] | 140 | 2020-10-21T13:23:52.000Z | 2022-03-31T15:09:45.000Z | leet/strings/firstUniqChar.py | stacykutyepov/python-cp-cheatsheet | a00a57e1b36433648d1cace331e15ff276cef189 | [
"Apache-2.0"
] | 1 | 2021-07-22T14:01:25.000Z | 2021-07-22T14:01:25.000Z | leet/strings/firstUniqChar.py | stacykutyepov/python-cp-cheatsheet | a00a57e1b36433648d1cace331e15ff276cef189 | [
"Apache-2.0"
] | 33 | 2020-10-21T14:17:02.000Z | 2022-03-25T11:25:03.000Z | class Solution:
def firstUniqChar(self, s: str) -> int:
cnt = collections.Counter()
for c in s:
cnt[c] += 1
for i, c in enumerate(s):
if cnt[c] == 1:
return i
return -1
def firstUniqChar(self, s: str) -> int:
cnt ... | 24.105263 | 43 | 0.432314 | 56 | 458 | 3.535714 | 0.339286 | 0.045455 | 0.075758 | 0.212121 | 0.868687 | 0.868687 | 0.868687 | 0.868687 | 0.868687 | 0.383838 | 0 | 0.020325 | 0.462882 | 458 | 19 | 44 | 24.105263 | 0.784553 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75ffb62ae5b265a6265488bc99e8f8a57cc1f556 | 34 | py | Python | conf/script/src/ext/meta_prog/generics/__init__.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | conf/script/src/ext/meta_prog/generics/__init__.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | 113 | 2021-02-15T19:22:36.000Z | 2021-05-07T15:17:42.000Z | conf/script/src/ext/meta_prog/generics/__init__.py | benoit-dubreuil/template-repo-cpp-full-ecosystem | f506dd5e2a61cdd311b6a6a4be4abc59567b4b20 | [
"MIT"
] | null | null | null | from .cls_proxy_injector import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f94eb966eafbfb9ccdd0fb436a2cbfad1e4d395e | 270 | py | Python | radiomicsfeatureextractionpipeline/backend/test/mock_ups/logic/roi_selector/regular_expression_roi_selector.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | radiomicsfeatureextractionpipeline/backend/test/mock_ups/logic/roi_selector/regular_expression_roi_selector.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | 6 | 2021-06-09T19:39:27.000Z | 2021-09-30T16:41:40.000Z | radiomicsfeatureextractionpipeline/backend/test/mock_ups/logic/roi_selector/regular_expression_roi_selector.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | from logic.roi_selector.regular_expression_roi_selector import RegularExpressionROISelector
from test.mock_ups.logic.roi_selector.roi_selector import ROISelectorMockUp
class RegularExpressionROISelectorMockUp(RegularExpressionROISelector, ROISelectorMockUp):
pass
| 38.571429 | 91 | 0.896296 | 26 | 270 | 9.038462 | 0.576923 | 0.187234 | 0.13617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 270 | 6 | 92 | 45 | 0.93254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f980175ad4a3c1f825117acc9bb44bad7c452fe4 | 182 | py | Python | tests/unit/test_errors.py | MichaelYusko/Flaskbox | 26014cadf3bed5af72f6d270eb9fbc06faefcfd2 | [
"MIT"
] | 1 | 2018-01-16T18:51:28.000Z | 2018-01-16T18:51:28.000Z | tests/unit/test_errors.py | MichaelYusko/Flaskbox | 26014cadf3bed5af72f6d270eb9fbc06faefcfd2 | [
"MIT"
] | 2 | 2018-04-01T15:28:35.000Z | 2018-04-05T21:33:01.000Z | tests/unit/test_errors.py | MichaelYusko/Flaskbox | 26014cadf3bed5af72f6d270eb9fbc06faefcfd2 | [
"MIT"
] | 3 | 2018-01-15T08:29:14.000Z | 2018-04-01T15:56:01.000Z | import pytest
from flaskbox.fake_data import fake_data
def test_generate_value_error():
with pytest.raises(TypeError):
fake_data.generate_value([{'key': 'bad type'}])
| 20.222222 | 55 | 0.736264 | 25 | 182 | 5.08 | 0.68 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 182 | 8 | 56 | 22.75 | 0.824675 | 0 | 0 | 0 | 1 | 0 | 0.06044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f98fb4e804cd90ece2f5ad905766992b3b25d0c4 | 83 | py | Python | rl/algos/__init__.py | RohanPankaj/apex | 74e96386bf9446d1179106d6d65ea0368c1b5b27 | [
"MIT"
] | null | null | null | rl/algos/__init__.py | RohanPankaj/apex | 74e96386bf9446d1179106d6d65ea0368c1b5b27 | [
"MIT"
] | null | null | null | rl/algos/__init__.py | RohanPankaj/apex | 74e96386bf9446d1179106d6d65ea0368c1b5b27 | [
"MIT"
] | null | null | null | from .ppo import PPO
from .mirror_ppo import MirrorPPO
#from .dagger import DAgger
| 20.75 | 33 | 0.807229 | 13 | 83 | 5.076923 | 0.461538 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 34 | 27.666667 | 0.929577 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9ca9c01c917c60a1c7bbe64b7567f8b1e339756 | 49 | py | Python | language/python/module/subModules/subA.py | wxyyxc1992/coding-snippets | 302932746f7ec252651ac153f5a83a19d15d4bd9 | [
"MIT"
] | 52 | 2018-02-04T13:19:38.000Z | 2019-03-25T09:48:18.000Z | language/python/module/subModules/subA.py | wxyyxc1992/algods-snippets | 302932746f7ec252651ac153f5a83a19d15d4bd9 | [
"MIT"
] | 1 | 2020-07-16T09:02:00.000Z | 2020-07-16T09:02:00.000Z | language/python/module/subModules/subA.py | wxyyxc1992/algods-snippets | 302932746f7ec252651ac153f5a83a19d15d4bd9 | [
"MIT"
] | 9 | 2018-03-30T01:08:22.000Z | 2018-11-15T06:58:20.000Z | def subAFunc():
print('Hello from subAFunc')
| 16.333333 | 32 | 0.673469 | 6 | 49 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 33 | 24.5 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fb15942594b0e87f92aaf468dbe6a0abdcdf93ca | 31 | py | Python | sc_tracker/forms/__init__.py | SpeedConEU/speedcon_donation_tracker | 9b1c9b1e95d6b93762ddc4871d9e3850f55597d3 | [
"BSD-2-Clause"
] | null | null | null | sc_tracker/forms/__init__.py | SpeedConEU/speedcon_donation_tracker | 9b1c9b1e95d6b93762ddc4871d9e3850f55597d3 | [
"BSD-2-Clause"
] | null | null | null | sc_tracker/forms/__init__.py | SpeedConEU/speedcon_donation_tracker | 9b1c9b1e95d6b93762ddc4871d9e3850f55597d3 | [
"BSD-2-Clause"
] | null | null | null | from .donate import DonateForm
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b49a7e603f3fdbda89a6a2ee0012915cb9e885d | 104 | py | Python | config.py | bdunks/gdscript-language-server | ade3fc514b78b9c3dcdb51d17d7fc5cf147459d1 | [
"MIT"
] | null | null | null | config.py | bdunks/gdscript-language-server | ade3fc514b78b9c3dcdb51d17d7fc5cf147459d1 | [
"MIT"
] | null | null | null | config.py | bdunks/gdscript-language-server | ade3fc514b78b9c3dcdb51d17d7fc5cf147459d1 | [
"MIT"
] | null | null | null | def can_build(env, platform):
return env['tools'] and env['gdscript']
def configure(env):
pass
| 17.333333 | 43 | 0.673077 | 15 | 104 | 4.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182692 | 104 | 5 | 44 | 20.8 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
9ba1b2c097ec6e88e2027fcc39cad76bb5563b74 | 149 | py | Python | app/app/calc.py | ProXPegasus/recpie-app-api | f11644398393a7063f9330814361dae22a330203 | [
"MIT"
] | null | null | null | app/app/calc.py | ProXPegasus/recpie-app-api | f11644398393a7063f9330814361dae22a330203 | [
"MIT"
] | null | null | null | app/app/calc.py | ProXPegasus/recpie-app-api | f11644398393a7063f9330814361dae22a330203 | [
"MIT"
] | null | null | null | def add(x ,y):
return x+y
def Subtraction(x, y):
return x-y
def Multiplication(x , y):
return x*y
def Division(x , y):
return x/y
| 12.416667 | 26 | 0.590604 | 28 | 149 | 3.142857 | 0.285714 | 0.181818 | 0.363636 | 0.409091 | 0.556818 | 0.443182 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275168 | 149 | 11 | 27 | 13.545455 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
32cb5be7052d25e834de62cb685c383efceef6d4 | 217 | py | Python | src/easyconfig/errors/__init__.py | spacemanspiff2007/easyconfig | aa6f75455af5f3705bd7e15aac772b9664815624 | [
"Apache-2.0"
] | null | null | null | src/easyconfig/errors/__init__.py | spacemanspiff2007/easyconfig | aa6f75455af5f3705bd7e15aac772b9664815624 | [
"Apache-2.0"
] | 2 | 2021-09-15T06:18:28.000Z | 2022-03-19T00:43:16.000Z | src/easyconfig/errors/__init__.py | spacemanspiff2007/easyconfig | aa6f75455af5f3705bd7e15aac772b9664815624 | [
"Apache-2.0"
] | null | null | null | from .errors import DuplicateSubscriptionError, FunctionCallNotAllowedError, \
ModelNotProperlyInitialized, ReferenceFolderMissingError, SubscriptionAlreadyCanceledError
from .handler import set_exception_handler
| 54.25 | 94 | 0.889401 | 14 | 217 | 13.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078341 | 217 | 3 | 95 | 72.333333 | 0.955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32e995aa9c56a69816f4cf465ab0f641bf4315bb | 216 | py | Python | planningpoker/persistence/__init__.py | not-raspberry/planningpoker | 75113821d479f9973b41c39ad77940801c5e9525 | [
"MIT"
] | null | null | null | planningpoker/persistence/__init__.py | not-raspberry/planningpoker | 75113821d479f9973b41c39ad77940801c5e9525 | [
"MIT"
] | null | null | null | planningpoker/persistence/__init__.py | not-raspberry/planningpoker | 75113821d479f9973b41c39ad77940801c5e9525 | [
"MIT"
] | null | null | null | """
Storage backends.
Concrete implementations are to be injected into each view.
"""
from planningpoker.persistence.base import BasePersistence
from planningpoker.persistence.memory import ProcessMemoryPersistence
| 27 | 69 | 0.842593 | 23 | 216 | 7.913043 | 0.826087 | 0.186813 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 216 | 7 | 70 | 30.857143 | 0.938144 | 0.361111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5c74eb640101f54cb113a722d5cca52da5ef32a | 40 | py | Python | spanmb/models/__init__.py | zmmzGitHub/SpanMB_BERT | 133c93e2876e27379f249df3922e531e2be66f04 | [
"MIT"
] | null | null | null | spanmb/models/__init__.py | zmmzGitHub/SpanMB_BERT | 133c93e2876e27379f249df3922e531e2be66f04 | [
"MIT"
] | null | null | null | spanmb/models/__init__.py | zmmzGitHub/SpanMB_BERT | 133c93e2876e27379f249df3922e531e2be66f04 | [
"MIT"
] | null | null | null | from spanmb.models.spanmb import SpanMB
| 20 | 39 | 0.85 | 6 | 40 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5ebd2d66e837e68cd333598cdf2a5749a88a4dd | 98 | py | Python | PocaExchange/api/tests/functions/__init__.py | SamLangTen/PocaExchange | ed657a3c02437f07dcbd20a8ac8e0708fab26a07 | [
"Apache-2.0"
] | null | null | null | PocaExchange/api/tests/functions/__init__.py | SamLangTen/PocaExchange | ed657a3c02437f07dcbd20a8ac8e0708fab26a07 | [
"Apache-2.0"
] | null | null | null | PocaExchange/api/tests/functions/__init__.py | SamLangTen/PocaExchange | ed657a3c02437f07dcbd20a8ac8e0708fab26a07 | [
"Apache-2.0"
] | null | null | null | from .account_api_test import AccountAPITest
from .drift_bottle_api_test import DriftBottleAPITest | 49 | 53 | 0.908163 | 13 | 98 | 6.461538 | 0.692308 | 0.166667 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 98 | 2 | 53 | 49 | 0.923077 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bd15b81c9ad8c955877f32626f4b1d0ab8af273f | 182 | py | Python | Modules and packages/Packages/functions/greeting/official.py | kislyakovm/introduction-to-python | 2b44da4eb5a4fc1cba7676db5f49b651fa130b87 | [
"MIT"
] | 5 | 2021-07-25T23:35:40.000Z | 2022-03-20T05:14:35.000Z | Modules and packages/Packages/functions/greeting/official.py | kislyakovm/introduction-to-python | 2b44da4eb5a4fc1cba7676db5f49b651fa130b87 | [
"MIT"
] | 24 | 2021-06-23T10:33:17.000Z | 2022-03-09T15:44:17.000Z | Modules and packages/Packages/functions/greeting/official.py | kislyakovm/introduction-to-python | 2b44da4eb5a4fc1cba7676db5f49b651fa130b87 | [
"MIT"
] | 4 | 2021-05-06T09:52:30.000Z | 2022-01-25T10:53:55.000Z | """ documentation string for module my_module
This module contains official hello function
"""
def hello(name):
return f"Dear {name}, I am glad to finally meet you in person."
| 22.75 | 67 | 0.736264 | 28 | 182 | 4.75 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181319 | 182 | 7 | 68 | 26 | 0.892617 | 0.472527 | 0 | 0 | 0 | 0 | 0.602273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bd29fda4b61b3b4677a3e5ccab1c901a35ea203d | 25 | py | Python | euc/kingsong/__init__.py | mrk-its/euc.kingsong | 5f29c11bd88bea5d6c89260430838c616f6518ce | [
"MIT"
] | 2 | 2020-06-05T03:21:03.000Z | 2021-03-04T23:38:36.000Z | euc/kingsong/__init__.py | mrk-its/euc.kingsong | 5f29c11bd88bea5d6c89260430838c616f6518ce | [
"MIT"
] | null | null | null | euc/kingsong/__init__.py | mrk-its/euc.kingsong | 5f29c11bd88bea5d6c89260430838c616f6518ce | [
"MIT"
] | null | null | null | from .kingsong import KS
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f99403bfbb8b4f262b0e4c3b96a49728152cd56 | 74 | py | Python | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_forum_doc/models/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_forum_doc/models/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/website_forum_doc/models/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import forum_documentation_toc
import forum_post
| 14.8 | 30 | 0.743243 | 10 | 74 | 5.2 | 0.8 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.135135 | 74 | 4 | 31 | 18.5 | 0.796875 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1fe61e21d9e47d91deb06565648ee1927dc5c765 | 147 | py | Python | challenges/solving_project_euler/imadken/imadken_20.py | kdj309/H4ckT0b3rF3st-2k21 | 5395c0bfb442a64ad7efc7d83e12e1d08cdb7438 | [
"MIT"
] | 23 | 2021-09-21T15:48:16.000Z | 2022-01-10T10:54:49.000Z | challenges/solving_project_euler/imadken/imadken_20.py | kdj309/H4ckT0b3rF3st-2k21 | 5395c0bfb442a64ad7efc7d83e12e1d08cdb7438 | [
"MIT"
] | 14 | 2021-10-05T07:10:31.000Z | 2021-10-17T04:55:29.000Z | challenges/solving_project_euler/imadken/imadken_20.py | kdj309/H4ckT0b3rF3st-2k21 | 5395c0bfb442a64ad7efc7d83e12e1d08cdb7438 | [
"MIT"
] | 30 | 2021-09-25T19:45:22.000Z | 2021-10-31T19:16:43.000Z | from math import factorial
def Sum_Digits_Factorial(x):
return sum([int(i) for i in str(factorial(x))])
print(Sum_Digits_Factorial(100)) | 21 | 51 | 0.727891 | 24 | 147 | 4.291667 | 0.666667 | 0.174757 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.156463 | 147 | 7 | 52 | 21 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
95099385a305b0e4be6ae4fb4afa5e9a057f4153 | 161 | py | Python | alectiolite/callbacks/__init__.py | alectio/Alectio-lite | b321a749d7436dad6b88125b9d6968cb2bcea172 | [
"MIT"
] | null | null | null | alectiolite/callbacks/__init__.py | alectio/Alectio-lite | b321a749d7436dad6b88125b9d6968cb2bcea172 | [
"MIT"
] | null | null | null | alectiolite/callbacks/__init__.py | alectio/Alectio-lite | b321a749d7436dad6b88125b9d6968cb2bcea172 | [
"MIT"
] | 1 | 2021-01-29T23:51:44.000Z | 2021-01-29T23:51:44.000Z | from alectiolite.callbacks.base import AlectioCallback
from alectiolite.callbacks.curate import CurateCallback
__all__ = ["AlectioCallback", "CurateCallback"]
| 26.833333 | 55 | 0.838509 | 15 | 161 | 8.733333 | 0.6 | 0.229008 | 0.366412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 161 | 5 | 56 | 32.2 | 0.891156 | 0 | 0 | 0 | 0 | 0 | 0.180124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20f799769f42747f8ef715196739b196d924509e | 67 | py | Python | mlflow/Ops/__init__.py | BBBBlarry/mlflow | e8f5b9450ba6d3b68fe0cbb530840c0a760d3b08 | [
"MIT"
] | null | null | null | mlflow/Ops/__init__.py | BBBBlarry/mlflow | e8f5b9450ba6d3b68fe0cbb530840c0a760d3b08 | [
"MIT"
] | null | null | null | mlflow/Ops/__init__.py | BBBBlarry/mlflow | e8f5b9450ba6d3b68fe0cbb530840c0a760d3b08 | [
"MIT"
] | null | null | null | from linalg import *
from graph_ops import *
from math_ops import * | 22.333333 | 23 | 0.791045 | 11 | 67 | 4.636364 | 0.545455 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 24 | 22.333333 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f37c89e1c18dbacf2591e662ca2b4b0ae768e24 | 70,206 | py | Python | kmip/tests/unit/core/messages/payloads/test_register.py | ondrap/PyKMIP | c8ea17d8faf827e0f9d004972835128a1a71569f | [
"Apache-2.0"
] | 179 | 2015-03-20T06:08:59.000Z | 2022-03-14T02:24:38.000Z | kmip/tests/unit/core/messages/payloads/test_register.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 600 | 2015-04-08T14:14:48.000Z | 2022-03-28T13:49:47.000Z | kmip/tests/unit/core/messages/payloads/test_register.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 131 | 2015-03-30T12:51:49.000Z | 2022-03-23T04:34:34.000Z | # Copyright (c) 2019 The Johns Hopkins University/Applied Physics Laboratory
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | 39.177455 | 79 | 0.549711 | 6,477 | 70,206 | 5.853945 | 0.07874 | 0.028009 | 0.021126 | 0.03244 | 0.871822 | 0.859321 | 0.834081 | 0.819496 | 0.813271 | 0.809737 | 0 | 0.093231 | 0.36994 | 70,206 | 1,791 | 80 | 39.19933 | 0.763937 | 0.164259 | 0 | 0.681577 | 0 | 0.055345 | 0.165432 | 0.124877 | 0 | 0 | 0 | 0.000558 | 0.087945 | 1 | 0.040182 | false | 0.001516 | 0.006065 | 0 | 0.047763 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f6004fe40619bfe1de5b9aa1069e2a921243eab | 314 | py | Python | tests/test_base_null.py | stjordanis/datar | 4e2b5db026ad35918954576badef9951928c0cb1 | [
"MIT"
] | 110 | 2021-03-09T04:10:40.000Z | 2022-03-13T10:28:20.000Z | tests/test_base_null.py | sthagen/datar | 1218a549e2f0547c7b5a824ca6d9adf1bf96ba46 | [
"MIT"
] | 54 | 2021-06-20T18:53:44.000Z | 2022-03-29T22:13:07.000Z | tests/test_base_null.py | sthagen/datar | 1218a549e2f0547c7b5a824ca6d9adf1bf96ba46 | [
"MIT"
] | 11 | 2021-06-18T03:03:14.000Z | 2022-02-25T11:48:26.000Z | import pytest
from datar.base.null import *
def test_null_is_none():
assert NULL is None
def test_as_null():
assert as_null() is NULL
assert as_null(1) is NULL
assert as_null(a=1) is NULL
assert as_null(1, a=1) is NULL
def test_is_null():
assert is_null(NULL)
assert not is_null(1)
| 18.470588 | 34 | 0.691083 | 59 | 314 | 3.457627 | 0.254237 | 0.205882 | 0.235294 | 0.313725 | 0.279412 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0.020492 | 0.22293 | 314 | 16 | 35 | 19.625 | 0.815574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 1 | 0.25 | true | 0 | 0.166667 | 0 | 0.416667 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f6203a1ab4a80a5831b27bdd972a0bbb7c34d0f | 125 | py | Python | core/config/production.py | unklearn/python-runtime | d6647ce9bb9c02879a4b0fc58e267806b199eb2e | [
"MIT"
] | null | null | null | core/config/production.py | unklearn/python-runtime | d6647ce9bb9c02879a4b0fc58e267806b199eb2e | [
"MIT"
] | null | null | null | core/config/production.py | unklearn/python-runtime | d6647ce9bb9c02879a4b0fc58e267806b199eb2e | [
"MIT"
] | null | null | null | from .development import DevelopmentConfig
class ProductionConfig(DevelopmentConfig):
"""Production config"""
pass
| 17.857143 | 42 | 0.768 | 10 | 125 | 9.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 6 | 43 | 20.833333 | 0.90566 | 0.136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2f3ca990418f65827a5d26779f25779ed68ec928 | 119 | py | Python | core/model/__init__.py | magdalenawi/DNN-PP | b9cec20369b64eb078c7a84ae739c44197f75563 | [
"MIT"
] | null | null | null | core/model/__init__.py | magdalenawi/DNN-PP | b9cec20369b64eb078c7a84ae739c44197f75563 | [
"MIT"
] | null | null | null | core/model/__init__.py | magdalenawi/DNN-PP | b9cec20369b64eb078c7a84ae739c44197f75563 | [
"MIT"
] | null | null | null | from model.DNNPP import Descriptor
from model.getFeatures import save_smiles_dicts, get_smiles_dicts, get_smiles_array
| 39.666667 | 83 | 0.882353 | 18 | 119 | 5.5 | 0.611111 | 0.181818 | 0.282828 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084034 | 119 | 2 | 84 | 59.5 | 0.908257 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
85f44cb8abae59a22c5083e4965a97a73bf226cd | 4,264 | py | Python | misc/filtering/biquad.py | Stefanlarsson95/AMPI | b801511a7fc2e7bb2dbac7088cc21ded48693094 | [
"MIT"
] | 1 | 2019-08-18T15:22:29.000Z | 2019-08-18T15:22:29.000Z | misc/filtering/biquad.py | Stefanlarsson95/AMPI | b801511a7fc2e7bb2dbac7088cc21ded48693094 | [
"MIT"
] | null | null | null | misc/filtering/biquad.py | Stefanlarsson95/AMPI | b801511a7fc2e7bb2dbac7088cc21ded48693094 | [
"MIT"
] | null | null | null | '''
Created on 09.11.2013
@author: matuschd
Formulas from "Cookbook formulae for audio EQ biquad filter coefficients"
by Robert Bristow-Johnson <rbj@audioimagination.com>
'''
import math
def _omega(f0,fs):
return math.pi*f0/fs*2
def _alpha(omega,q):
return math.sin(omega)/(2*q)
def _a(dbgain):
return... | 27.333333 | 79 | 0.451923 | 671 | 4,264 | 2.798808 | 0.120715 | 0.104366 | 0.134185 | 0.095847 | 0.744941 | 0.744941 | 0.744941 | 0.736954 | 0.707668 | 0.691693 | 0 | 0.113585 | 0.378518 | 4,264 | 155 | 80 | 27.509677 | 0.595094 | 0.039634 | 0 | 0.521008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12605 | false | 0.058824 | 0.008403 | 0.02521 | 0.260504 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c83e2026b56664f087f9f005fc6b0fba0557b86a | 186 | py | Python | textrankpy/__init__.py | itsshavar/textrankpy | e9c9ce316142a81b25d64ccf016f5f7234c3757c | [
"Apache-2.0"
] | null | null | null | textrankpy/__init__.py | itsshavar/textrankpy | e9c9ce316142a81b25d64ccf016f5f7234c3757c | [
"Apache-2.0"
] | null | null | null | textrankpy/__init__.py | itsshavar/textrankpy | e9c9ce316142a81b25d64ccf016f5f7234c3757c | [
"Apache-2.0"
] | null | null | null | from .textrankpy import json_iter, limit_keyphrases, limit_sentences, make_sentence, normalize_key_phrases, parse_doc, pretty_print, rank_kernel, render_ranks, text_rank, top_sentences
| 62 | 184 | 0.860215 | 26 | 186 | 5.692308 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 186 | 2 | 185 | 93 | 0.865497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
c0de10a0e768fee809ea93d904a448451fb21946 | 28 | py | Python | dataloader/__init__.py | Nyquixt/DyConv | 255193068424aaa83352bee258d34cb8b32b6ee6 | [
"MIT"
] | null | null | null | dataloader/__init__.py | Nyquixt/DyConv | 255193068424aaa83352bee258d34cb8b32b6ee6 | [
"MIT"
] | null | null | null | dataloader/__init__.py | Nyquixt/DyConv | 255193068424aaa83352bee258d34cb8b32b6ee6 | [
"MIT"
] | null | null | null | from .down_imagenet import * | 28 | 28 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0f81aa1d8c09509eb9fef4adcb9648edaa752ca | 2,906 | py | Python | src/data/test_files.py | tamarakatic/radiology_project | 5e46774ce0b73b2899eda0336163b5fa534abce6 | [
"MIT"
] | null | null | null | src/data/test_files.py | tamarakatic/radiology_project | 5e46774ce0b73b2899eda0336163b5fa534abce6 | [
"MIT"
] | null | null | null | src/data/test_files.py | tamarakatic/radiology_project | 5e46774ce0b73b2899eda0336163b5fa534abce6 | [
"MIT"
] | null | null | null | TEST_FILES=['9.txt', '21.txt', '25.txt', '58.txt', '63.txt', '76.txt', '104.txt', '105.txt', '127.txt', '152.txt', '156.txt', '160.txt', '165.txt', '188.txt', '199.txt', '201.txt', '210.txt', '251.txt', '273.txt', '295.txt', '322.txt', '355.txt', '380.txt', '404.txt', '417.txt', '422.txt', '426.txt', '463.txt', '493.tx... | 2,906 | 2,906 | 0.574673 | 496 | 2,906 | 3.364919 | 0.504032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345489 | 0.084652 | 2,906 | 1 | 2,906 | 2,906 | 0.281955 | 0 | 0 | 0 | 0 | 0 | 0.656003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0fb0380be418528d7923042ecda85140baab310 | 3,616 | py | Python | sqlite/sql_tasks/task_2/insurance_app.py | Akawi85/Stutern_Projects | bb39688f06b6166022b370b747aba24b4ea15d57 | [
"MIT"
] | null | null | null | sqlite/sql_tasks/task_2/insurance_app.py | Akawi85/Stutern_Projects | bb39688f06b6166022b370b747aba24b4ea15d57 | [
"MIT"
] | null | null | null | sqlite/sql_tasks/task_2/insurance_app.py | Akawi85/Stutern_Projects | bb39688f06b6166022b370b747aba24b4ea15d57 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# import dependencies
import sqlite3
# Query the DB and Return all RECORDs
def show_all():
# Connect to database
conn = sqlite3.connect('insurance.db')
# Create a cursor
cursor = conn.cursor()
# select all rows from the test_data table
cursor.e... | 26.985075 | 101 | 0.584071 | 474 | 3,616 | 4.381857 | 0.191983 | 0.033702 | 0.028888 | 0.02311 | 0.771786 | 0.771786 | 0.771786 | 0.725566 | 0.702937 | 0.702937 | 0 | 0.003486 | 0.285951 | 3,616 | 133 | 102 | 27.18797 | 0.80093 | 0.376106 | 0 | 0.755102 | 0 | 0 | 0.2625 | 0.077404 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102041 | false | 0 | 0.020408 | 0 | 0.122449 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23d790f11191b54bc2a6c46f0c8f64bb40212666 | 3,870 | py | Python | aws_network_tap/tests/models/test_spile.py | vectranetworks/AWS-Session-Mirroring-Tool | d3137e4b649d4d54b3023fc7c860b11c7dd535a4 | [
"Apache-2.0"
] | 3 | 2020-05-14T21:13:03.000Z | 2021-06-14T20:45:12.000Z | aws_network_tap/tests/models/test_spile.py | vectranetworks/AWS-Traffic-Mirroring-Session-Manager | d3137e4b649d4d54b3023fc7c860b11c7dd535a4 | [
"Apache-2.0"
] | 6 | 2020-01-14T23:20:13.000Z | 2021-04-30T20:58:32.000Z | aws_network_tap/tests/models/test_spile.py | vectranetworks/AWS-Session-Mirroring-Tool | d3137e4b649d4d54b3023fc7c860b11c7dd535a4 | [
"Apache-2.0"
] | 1 | 2020-02-19T16:31:27.000Z | 2020-02-19T16:31:27.000Z | from unittest import TestCase
from unittest.mock import MagicMock
from uuid import uuid4
import boto3
from aws_network_tap.models.spile import Spile, ENI_Tag, Ec2ApiClient, MirrorSession
class TestSpile(TestCase):
def mirror_session_factory(self, tags):
return MirrorSession('catfood session', 'tmt-{}'.fo... | 48.375 | 131 | 0.699742 | 502 | 3,870 | 5.093626 | 0.153386 | 0.065702 | 0.035198 | 0.045757 | 0.800548 | 0.800548 | 0.727806 | 0.727806 | 0.727806 | 0.666406 | 0 | 0.028986 | 0.179845 | 3,870 | 80 | 132 | 48.375 | 0.776623 | 0 | 0 | 0.573529 | 0 | 0 | 0.055283 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.147059 | false | 0 | 0.073529 | 0.014706 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1bdc35b19aaae8d38736bc3993b318a0a52b9dd | 19,627 | py | Python | CellProfiler/tests/modules/test_tile.py | aidotse/Team-rahma.ai | 66857731e1ca2472e0783e37ba472b55a7ac9cd4 | [
"MIT"
] | null | null | null | CellProfiler/tests/modules/test_tile.py | aidotse/Team-rahma.ai | 66857731e1ca2472e0783e37ba472b55a7ac9cd4 | [
"MIT"
] | null | null | null | CellProfiler/tests/modules/test_tile.py | aidotse/Team-rahma.ai | 66857731e1ca2472e0783e37ba472b55a7ac9cd4 | [
"MIT"
] | null | null | null | import numpy
import six.moves
import cellprofiler_core.image
import cellprofiler_core.measurement
import cellprofiler.modules.tile
import cellprofiler_core.object
import cellprofiler_core.pipeline
import cellprofiler_core.workspace
import tests.modules
INPUT_IMAGE_NAME = "inputimage"
OUTPUT_IMAGE_NAME = "outputimage"... | 36.481413 | 88 | 0.6756 | 2,657 | 19,627 | 4.809183 | 0.061347 | 0.054234 | 0.064799 | 0.037565 | 0.867115 | 0.855768 | 0.826499 | 0.786273 | 0.764987 | 0.744561 | 0 | 0.037955 | 0.210679 | 19,627 | 537 | 89 | 36.549348 | 0.786858 | 0 | 0 | 0.688841 | 0 | 0 | 0.004433 | 0 | 0 | 0 | 0 | 0 | 0.190987 | 1 | 0.045064 | false | 0 | 0.019313 | 0.002146 | 0.070815 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1e5dabd3ec17bfe3f42219c4b86e78449573040 | 22 | py | Python | mqtt/__init__.py | tam-wh/py-simple-nvr | 0444e352e2d92ed7a5722c79b005a47367742032 | [
"MIT"
] | null | null | null | mqtt/__init__.py | tam-wh/py-simple-nvr | 0444e352e2d92ed7a5722c79b005a47367742032 | [
"MIT"
] | null | null | null | mqtt/__init__.py | tam-wh/py-simple-nvr | 0444e352e2d92ed7a5722c79b005a47367742032 | [
"MIT"
] | null | null | null | from .mqtt import Mqtt | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 | 1 | 0 | 0 | 6 |
7b44edbc074087ad6bdf95879906f7fe5f40a6ab | 3,952 | py | Python | usfm/footnoted_verses.py | unfoldingWord-dev/tools | 7251d64b4750f1615125dab3c09d6d00a9c284b4 | [
"MIT"
] | 6 | 2015-07-27T21:50:39.000Z | 2020-06-25T14:32:35.000Z | usfm/footnoted_verses.py | unfoldingWord-dev/tools | 7251d64b4750f1615125dab3c09d6d00a9c284b4 | [
"MIT"
] | 89 | 2015-06-24T09:35:40.000Z | 2022-02-13T14:40:31.000Z | usfm/footnoted_verses.py | unfoldingWord-dev/tools | 7251d64b4750f1615125dab3c09d6d00a9c284b4 | [
"MIT"
] | 12 | 2015-07-13T17:31:04.000Z | 2021-08-06T06:50:21.000Z | # Verses with marked footnotes in the English ULB
footnotedVerses = ["GEN 1:26", "GEN 4:8", "GEN 31:25", "LEV 20:7", "JOS 5:1", "JOS 9:4", "RUT 2:7", "RUT 3:3", "1SA 1:1", "1SA 1:24", "1SA 1:28", "1SA 6:19", "1SA 8:16", "1SA 10:27", "1SA 14:41", "1SA 20:41", "1SA 22:3", "1SA 27:8", "2SA 8:18", "2SA 17:25", "2SA 21:8",... | 1,317.333333 | 3,901 | 0.510628 | 969 | 3,952 | 2.082559 | 0.122807 | 0.014866 | 0.005946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.332626 | 0.164727 | 3,952 | 3 | 3,901 | 1,317.333333 | 0.278703 | 0.011893 | 0 | 0 | 0 | 0 | 0.666752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c870373f520decc0519ba03e286cf9567a26c197 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/base/utils/datastructures.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/base/utils/datastructures.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/base/utils/datastructures.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/6c/fe/7d/ff16db44afbd02ab6621cc902f0737a350399211db75b62714cce6d169 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c886fe1aca369cd7aad696e7df81778fb312df73 | 41 | py | Python | buildwebpagelib/__init__.py | johenglisch/buildwebpage | ed24e13b22d9ef076413c6cf3bc032c849fef922 | [
"Unlicense"
] | null | null | null | buildwebpagelib/__init__.py | johenglisch/buildwebpage | ed24e13b22d9ef076413c6cf3bc032c849fef922 | [
"Unlicense"
] | null | null | null | buildwebpagelib/__init__.py | johenglisch/buildwebpage | ed24e13b22d9ef076413c6cf3bc032c849fef922 | [
"Unlicense"
] | null | null | null | from .io import *
from .webpage import *
| 13.666667 | 22 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 23 | 20.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8cb54b41e1306767ee9e09305b600926bb0a082 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/parsers/lalr_analysis.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/parsers/lalr_analysis.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/parsers/lalr_analysis.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/4a/14/3a/89ce1457812cf8a9de240f7cab609c401278c6fc9c9599c3c0de4e1d6f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c8e0221f6c53a8d2ec3fb6aca7abdbd252072fa4 | 348 | py | Python | tests/tensortrade/orders/test_broker.py | cihilt/tensortrade | 47b8f2f043d3cc430838aac02a915ab42dcc7b64 | [
"Apache-2.0"
] | 7 | 2020-09-28T23:36:40.000Z | 2022-02-22T02:00:32.000Z | tests/tensortrade/orders/test_broker.py | cihilt/tensortrade | 47b8f2f043d3cc430838aac02a915ab42dcc7b64 | [
"Apache-2.0"
] | 4 | 2020-11-13T18:48:52.000Z | 2022-02-10T01:29:47.000Z | tests/tensortrade/orders/test_broker.py | cihilt/tensortrade | 47b8f2f043d3cc430838aac02a915ab42dcc7b64 | [
"Apache-2.0"
] | 3 | 2020-11-23T17:31:59.000Z | 2021-04-08T10:55:03.000Z |
import pytest
def test_init():
pytest.fail("Failed.")
def test_trades():
pytest.fail("Failed.")
def test_submit():
pytest.fail("Failed.")
def test_cancel():
pytest.fail("Failed.")
def test_update():
pytest.fail("Failed.")
def test_on_fill():
pytest.fail("Failed.")
def test_reset()... | 11.6 | 26 | 0.632184 | 45 | 348 | 4.711111 | 0.311111 | 0.231132 | 0.528302 | 0.537736 | 0.650943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186782 | 348 | 30 | 27 | 11.6 | 0.749117 | 0 | 0 | 0.466667 | 0 | 0 | 0.140805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | true | 0 | 0.066667 | 0 | 0.533333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
cdbf3d72339caa9f00fa202bed70b6edd9bf4ff8 | 16,089 | py | Python | venv/lib/python3.8/site-packages/azureml/data/azure_data_lake_datastore.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/data/azure_data_lake_datastore.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/data/azure_data_lake_datastore.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | 2 | 2021-05-23T16:46:31.000Z | 2021-05-26T23:51:09.000Z | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
"""Contains the base functionality for datastores that save connection information to Azure Data Lake Storage."""
from .abstract_datas... | 51.07619 | 119 | 0.689042 | 1,945 | 16,089 | 5.529563 | 0.098715 | 0.036448 | 0.039517 | 0.039052 | 0.815342 | 0.774059 | 0.75258 | 0.75258 | 0.71232 | 0.692422 | 0 | 0.000986 | 0.243583 | 16,089 | 314 | 120 | 51.238854 | 0.882744 | 0.660016 | 0 | 0.257143 | 0 | 0 | 0.042864 | 0.008321 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.042857 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cdc71e52dbf818d574dd5a79e2e3891cca8ea656 | 124 | py | Python | server/conf/conftest.py | jwnwilson/angularjs_tornado_webapp | acb810060fbb2f5d38b8d5b0cb484c9810358dda | [
"MIT"
] | null | null | null | server/conf/conftest.py | jwnwilson/angularjs_tornado_webapp | acb810060fbb2f5d38b8d5b0cb484c9810358dda | [
"MIT"
] | null | null | null | server/conf/conftest.py | jwnwilson/angularjs_tornado_webapp | acb810060fbb2f5d38b8d5b0cb484c9810358dda | [
"MIT"
] | null | null | null | import os
import sys
root_dir = os.path.dirname(
os.path.dirname(os.path.abspath(__file__)))
sys.path.append(root_dir)
| 17.714286 | 47 | 0.75 | 21 | 124 | 4.142857 | 0.47619 | 0.206897 | 0.298851 | 0.344828 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 6 | 48 | 20.666667 | 0.790909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
cdeff07eeae5b195aef4ec3c01ac2d47b07c827c | 46 | py | Python | aa/unit/__init__.py | projectweekend/aa | 5c6da28121306b1125b2734d5a96677b3e3786e0 | [
"MIT"
] | null | null | null | aa/unit/__init__.py | projectweekend/aa | 5c6da28121306b1125b2734d5a96677b3e3786e0 | [
"MIT"
] | 2 | 2018-04-22T22:59:59.000Z | 2018-04-22T23:00:11.000Z | aa/unit/__init__.py | projectweekend/aa | 5c6da28121306b1125b2734d5a96677b3e3786e0 | [
"MIT"
] | null | null | null | from .army import Army
from .unit import Unit
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 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 | 1 | 0 | 0 | 6 |
a82231a1f72a006228f463207c161a0ee81ec416 | 49 | py | Python | lab1/text_recognizer/networks/__init__.py | AlTheEngineer/fsdl-text-recognizer-project | 57469296b6969f54d90533733e250797b775ce53 | [
"MIT"
] | null | null | null | lab1/text_recognizer/networks/__init__.py | AlTheEngineer/fsdl-text-recognizer-project | 57469296b6969f54d90533733e250797b775ce53 | [
"MIT"
] | null | null | null | lab1/text_recognizer/networks/__init__.py | AlTheEngineer/fsdl-text-recognizer-project | 57469296b6969f54d90533733e250797b775ce53 | [
"MIT"
] | null | null | null | from .mlp import mlp
from .resnet import resnet
| 12.25 | 26 | 0.77551 | 8 | 49 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 3 | 27 | 16.333333 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b58e0f8db4b7df6fc2e52a0d97f7c3d42af660fc | 31 | py | Python | model/__init__.py | dhkim2810/AgeDetect | 0dfa4773a440735309b46cfae87b635f8f697345 | [
"Unlicense",
"MIT"
] | null | null | null | model/__init__.py | dhkim2810/AgeDetect | 0dfa4773a440735309b46cfae87b635f8f697345 | [
"Unlicense",
"MIT"
] | null | null | null | model/__init__.py | dhkim2810/AgeDetect | 0dfa4773a440735309b46cfae87b635f8f697345 | [
"Unlicense",
"MIT"
] | null | null | null | from .model import create_model | 31 | 31 | 0.870968 | 5 | 31 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a97b184d7fd62e3e0e998c371ea2d5269a0a5274 | 4,388 | py | Python | route/analyticRoute.py | filipefcl/fs-webservice-api | ca71e457003119e87d91a8560a1e43d76132d80a | [
"MIT"
] | null | null | null | route/analyticRoute.py | filipefcl/fs-webservice-api | ca71e457003119e87d91a8560a1e43d76132d80a | [
"MIT"
] | null | null | null | route/analyticRoute.py | filipefcl/fs-webservice-api | ca71e457003119e87d91a8560a1e43d76132d80a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import json
import traceback
import inspect
import requests
from datetime import datetime
from flask import Flask, request
from util import Util, Constants, Log, CodeReturn
from controller import Controller
log = Log('AnalyticRoute')
util = Util()
constants = Constants()
controller = Controll... | 29.253333 | 94 | 0.578396 | 469 | 4,388 | 5.223881 | 0.127932 | 0.044898 | 0.081633 | 0.040816 | 0.835102 | 0.835102 | 0.82 | 0.82 | 0.82 | 0.799184 | 0 | 0.000329 | 0.308341 | 4,388 | 150 | 95 | 29.253333 | 0.806919 | 0.047858 | 0 | 0.663462 | 0 | 0 | 0.098129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048077 | false | 0 | 0.076923 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a99c8be8592ec7e933f1be3a834dcf65cf23e465 | 113 | py | Python | menpo/shape/__init__.py | ikassi/menpo | ca702fc814a1ad50b27c44c6544ba364d3aa7e31 | [
"BSD-3-Clause"
] | null | null | null | menpo/shape/__init__.py | ikassi/menpo | ca702fc814a1ad50b27c44c6544ba364d3aa7e31 | [
"BSD-3-Clause"
] | null | null | null | menpo/shape/__init__.py | ikassi/menpo | ca702fc814a1ad50b27c44c6544ba364d3aa7e31 | [
"BSD-3-Clause"
] | 1 | 2021-04-14T12:09:00.000Z | 2021-04-14T12:09:00.000Z | from menpo.shape.pointcloud import PointCloud
from menpo.shape.mesh import TriMesh, FastTriMesh, TexturedTriMesh
| 37.666667 | 66 | 0.858407 | 14 | 113 | 6.928571 | 0.642857 | 0.185567 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 113 | 2 | 67 | 56.5 | 0.941748 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d98925fcdfaf3e2943c4fe6d826b795e2b3f667 | 16,683 | py | Python | testcases/alphavantage_test.py | indalsig/pyalgotrade | 64a6958cf9e60ac59c26bafb959d058e6127496d | [
"Apache-2.0"
] | null | null | null | testcases/alphavantage_test.py | indalsig/pyalgotrade | 64a6958cf9e60ac59c26bafb959d058e6127496d | [
"Apache-2.0"
] | null | null | null | testcases/alphavantage_test.py | indalsig/pyalgotrade | 64a6958cf9e60ac59c26bafb959d058e6127496d | [
"Apache-2.0"
] | null | null | null | # PyAlgoTrade
#
# Copyright 2011-2018 Gabriel Martin Becedillas Ruiz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 45.334239 | 118 | 0.594917 | 1,760 | 16,683 | 5.594318 | 0.153409 | 0.084095 | 0.084501 | 0.115174 | 0.796059 | 0.765184 | 0.758582 | 0.749035 | 0.731465 | 0.700183 | 0 | 0.046463 | 0.284002 | 16,683 | 367 | 119 | 45.457766 | 0.777815 | 0.098304 | 0 | 0.710247 | 0 | 0 | 0.053677 | 0.025005 | 0 | 0 | 0 | 0 | 0.328622 | 1 | 0.060071 | false | 0.003534 | 0.042403 | 0 | 0.113074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8daa7dc00218d00c8e82337b98a0c52c465a1ade | 8,758 | py | Python | fhir/resources/tests/test_substancespecification.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/tests/test_substancespecification.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/tests/test_substancespecification.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification
Release: R4
Version: 4.0.1
Build ID: 9346c8cc45
Last updated: 2019-11-01T09:29:23.356+11:00
"""
import io
import json
import os
import unittest
import pytest
from .. import substancespecification
from ..fhirdate impor... | 41.704762 | 137 | 0.65129 | 922 | 8,758 | 6.090022 | 0.129067 | 0.130009 | 0.128228 | 0.160285 | 0.754408 | 0.716474 | 0.716474 | 0.716474 | 0.716474 | 0.716474 | 0 | 0.019183 | 0.220256 | 8,758 | 209 | 138 | 41.904306 | 0.803046 | 0.021238 | 0 | 0.61236 | 0 | 0.033708 | 0.239841 | 0.079285 | 0 | 0 | 0 | 0 | 0.275281 | 1 | 0.073034 | false | 0 | 0.044944 | 0 | 0.129213 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
a5c605a2de552666ecbd5c21debb8f1b07cb9712 | 116 | py | Python | VoidFinder/vast/voidfinder/tests/test_init.py | DESI-UR/VAST | 25f9449a7fe04bba6e261b6406a5d82aefcac2d7 | [
"BSD-3-Clause"
] | 5 | 2021-08-18T18:38:16.000Z | 2022-02-17T01:33:59.000Z | VoidFinder/vast/voidfinder/tests/test_init.py | DESI-UR/VAST | 25f9449a7fe04bba6e261b6406a5d82aefcac2d7 | [
"BSD-3-Clause"
] | 36 | 2020-09-16T15:44:28.000Z | 2022-03-28T20:32:30.000Z | VoidFinder/vast/voidfinder/tests/test_init.py | DESI-UR/VAST | 25f9449a7fe04bba6e261b6406a5d82aefcac2d7 | [
"BSD-3-Clause"
] | 3 | 2022-02-05T07:00:39.000Z | 2022-03-25T04:27:03.000Z | from vast import voidfinder as voidfinder
def test_version_exists():
assert hasattr(voidfinder, '__version__')
| 23.2 | 45 | 0.793103 | 14 | 116 | 6.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 116 | 4 | 46 | 29 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5fa9fb3bc903331198bb7f0a2f28b54d7bb20e9 | 29 | py | Python | src/Sparrow/Python/__init__.py | DockBio/sparrow | f82cf86584e9edfc6f2c78af4896dc6f2ee8a455 | [
"BSD-3-Clause"
] | null | null | null | src/Sparrow/Python/__init__.py | DockBio/sparrow | f82cf86584e9edfc6f2c78af4896dc6f2ee8a455 | [
"BSD-3-Clause"
] | null | null | null | src/Sparrow/Python/__init__.py | DockBio/sparrow | f82cf86584e9edfc6f2c78af4896dc6f2ee8a455 | [
"BSD-3-Clause"
] | null | null | null | from .scine_sparrow import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
571d18bf574e89544c89966fd062fdefe4168b5a | 25 | py | Python | Cybernator/__init__.py | RuCybernetic/Cybernetor | 9aa58f23ccb1455b601e07044334ed61ca68c382 | [
"MIT"
] | 19 | 2020-05-05T23:27:31.000Z | 2022-01-12T15:08:12.000Z | Cybernator/__init__.py | RuCybernetic/Cybernetor | 9aa58f23ccb1455b601e07044334ed61ca68c382 | [
"MIT"
] | null | null | null | Cybernator/__init__.py | RuCybernetic/Cybernetor | 9aa58f23ccb1455b601e07044334ed61ca68c382 | [
"MIT"
] | 23 | 2020-05-12T08:41:12.000Z | 2022-02-07T07:49:28.000Z | from .Cybernator import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5733060ac5df66caac4ee3cd862b8dffb1bb13ab | 20 | py | Python | sptf/__init__.py | andychisholm/spark-tensorflow | 6b60b04d3eeee13beb0f81c461855c2946f24283 | [
"MIT"
] | 3 | 2016-06-15T08:47:59.000Z | 2017-04-26T06:32:06.000Z | sptf/__init__.py | andychisholm/spark-tensorflow | 6b60b04d3eeee13beb0f81c461855c2946f24283 | [
"MIT"
] | 15 | 2016-03-06T17:10:40.000Z | 2016-05-28T14:06:16.000Z | mathlibpy/discrete/__init__.py | jackromo/mathLibPy | b80badd293b93da85aaf122c3d3da022f6dab361 | [
"MIT"
] | 2 | 2016-07-03T23:48:04.000Z | 2018-09-15T08:15:35.000Z | from graph import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5742616c6bfd5709025ef55c8a3f021aa4449acd | 6,588 | py | Python | tests/answers/ci_overlap.py | mtzgroup/tcpb-client | 162cecde1652a267ec1e956f16a34dccd539f436 | [
"MIT"
] | null | null | null | tests/answers/ci_overlap.py | mtzgroup/tcpb-client | 162cecde1652a267ec1e956f16a34dccd539f436 | [
"MIT"
] | 16 | 2021-02-21T05:24:44.000Z | 2022-03-03T01:05:25.000Z | tests/answers/ci_overlap.py | mtzgroup/tcpb-client | 162cecde1652a267ec1e956f16a34dccd539f436 | [
"MIT"
] | null | null | null | from numpy import array
correct_answer = {
"atoms": array([b"C", b"C", b"H", b"H", b"H", b"H"], dtype="|S2"),
"geom": array(
[
[0.35673483, -0.05087227, -0.47786734],
[1.61445821, -0.06684947, -0.02916681],
[-0.14997206, 0.87780529, -0.62680155],
[-0.1678... | 24.766917 | 70 | 0.307681 | 716 | 6,588 | 2.805866 | 0.23324 | 0.263813 | 0.389746 | 0.511697 | 0.200597 | 0.200597 | 0.196615 | 0.192135 | 0.192135 | 0.192135 | 0 | 0.569215 | 0.559199 | 6,588 | 265 | 71 | 24.860377 | 0.12259 | 0 | 0 | 0.496212 | 0 | 0 | 0.03901 | 0.017608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003788 | 0 | 0.003788 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93aa84ee49a58d3dc4e1ab0ce8e8761fae87429f | 3,912 | py | Python | blog_server/tests/functional/test_blog.py | szhu9903/flask-react-blog | b1939a5d95e0084a82c230f2a20a9b197d2eef46 | [
"MIT"
] | 2 | 2022-03-12T14:51:42.000Z | 2022-03-25T13:20:16.000Z | blog_server/tests/functional/test_blog.py | szhu9903/flask-react-blog | b1939a5d95e0084a82c230f2a20a9b197d2eef46 | [
"MIT"
] | 7 | 2022-03-19T02:17:54.000Z | 2022-03-28T10:12:52.000Z | blog_server/tests/functional/test_blog.py | szhu9903/flask-react-blog | b1939a5d95e0084a82c230f2a20a9b197d2eef46 | [
"MIT"
] | 1 | 2022-03-25T13:20:28.000Z | 2022-03-25T13:20:28.000Z | import pytest
@pytest.mark.usefixtures('client_admin')
@pytest.mark.usefixtures('client_github')
class TestBlog:
def test_get_blog(self, client):
response = client.get('/api/v3/blog/')
assert response.status_code == 200
assert response.json['status'] == 200
assert response.json['co... | 41.617021 | 108 | 0.582822 | 472 | 3,912 | 4.65678 | 0.141949 | 0.169245 | 0.139217 | 0.133758 | 0.801183 | 0.786624 | 0.77343 | 0.756597 | 0.72384 | 0.72384 | 0 | 0.040493 | 0.274029 | 3,912 | 93 | 109 | 42.064516 | 0.733451 | 0 | 0 | 0.529412 | 0 | 0 | 0.152646 | 0.01662 | 0 | 0 | 0.004091 | 0 | 0.4 | 1 | 0.070588 | false | 0 | 0.011765 | 0 | 0.094118 | 0.023529 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93c4c07f640a63eeb9997f53eda6e91e51ba1b28 | 2,550 | py | Python | utils/weights_calculator.py | Simek13/Retinal-fluid-segmentation | 1e80fa6d9593c083887e4178ed0558a311106f13 | [
"Apache-2.0"
] | null | null | null | utils/weights_calculator.py | Simek13/Retinal-fluid-segmentation | 1e80fa6d9593c083887e4178ed0558a311106f13 | [
"Apache-2.0"
] | null | null | null | utils/weights_calculator.py | Simek13/Retinal-fluid-segmentation | 1e80fa6d9593c083887e4178ed0558a311106f13 | [
"Apache-2.0"
] | 1 | 2021-03-20T06:29:17.000Z | 2021-03-20T06:29:17.000Z | from PIL import Image
import os
import numpy as np
def print_current(text):
print('###################')
print(text)
print('###################')
def calc_weights_presence(masks_path, n_labels):
masks = os.listdir(masks_path)
class_counter = [0] * n_labels
for m in masks:
mask = np.a... | 32.278481 | 66 | 0.645882 | 361 | 2,550 | 4.296399 | 0.144044 | 0.147002 | 0.032237 | 0.05158 | 0.766602 | 0.766602 | 0.766602 | 0.766602 | 0.766602 | 0.766602 | 0 | 0.006119 | 0.23098 | 2,550 | 78 | 67 | 32.692308 | 0.784804 | 0.010196 | 0 | 0.714286 | 0 | 0 | 0.050753 | 0.026963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.222222 | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9e20fb8653c0503e9b86f25b8a4a488cced51eb9 | 27 | py | Python | bindings/python/native/iota_client/__init__.py | GoldenPedro/iota.rs | 71464f96b8e29d9fbed34a6ff77e757a112fedd4 | [
"Apache-2.0"
] | 256 | 2017-06-27T02:37:21.000Z | 2022-03-28T07:51:48.000Z | bindings/python/native/iota_client/__init__.py | GoldenPedro/iota.rs | 71464f96b8e29d9fbed34a6ff77e757a112fedd4 | [
"Apache-2.0"
] | 379 | 2017-06-25T05:49:14.000Z | 2022-03-29T18:57:11.000Z | bindings/python/native/iota_client/__init__.py | GoldenPedro/iota.rs | 71464f96b8e29d9fbed34a6ff77e757a112fedd4 | [
"Apache-2.0"
] | 113 | 2017-06-25T14:07:05.000Z | 2022-03-30T09:10:12.000Z | from .iota_client import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5915353023a67f7c766ca71b31e47cd1a74c6d5 | 419 | py | Python | backend/app/app/db/base.py | reppertj/earworm | 5c3d457e2c09ce96be75fcb19cd9acf819b84c4b | [
"MIT"
] | 18 | 2021-04-23T20:54:31.000Z | 2022-02-19T13:10:41.000Z | backend/app/app/db/base.py | reppertj/earworm | 5c3d457e2c09ce96be75fcb19cd9acf819b84c4b | [
"MIT"
] | null | null | null | backend/app/app/db/base.py | reppertj/earworm | 5c3d457e2c09ce96be75fcb19cd9acf819b84c4b | [
"MIT"
] | 2 | 2021-05-13T10:26:11.000Z | 2021-07-10T03:55:48.000Z | # Import all the models, so that Base has them before being
# imported by Alembic
from app.db.base_class import Base # noqa
from app.models.user import User # noqa
from app.models.embedding import Embedding # noqa
from app.models.embedding_model import Embedding_Model # noqa
from app.models.track import Track # no... | 41.9 | 62 | 0.787589 | 66 | 419 | 4.954545 | 0.378788 | 0.149847 | 0.201835 | 0.311927 | 0.159021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155131 | 419 | 9 | 63 | 46.555556 | 0.923729 | 0.267303 | 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 | 1 | 0 | 0 | 6 |
f5a3eb9f8d9ce1e1328ae7a299ffabb7e6d1b21c | 66 | py | Python | SmartDeal-Training/se/__init__.py | VITA-Group/SmartDeal | 8e1de77497eedbeea412a8c51142834c28a53709 | [
"MIT"
] | 2 | 2021-07-20T02:48:35.000Z | 2021-11-29T02:55:36.000Z | SmartDeal-Training/se/__init__.py | VITA-Group/SmartDeal | 8e1de77497eedbeea412a8c51142834c28a53709 | [
"MIT"
] | null | null | null | SmartDeal-Training/se/__init__.py | VITA-Group/SmartDeal | 8e1de77497eedbeea412a8c51142834c28a53709 | [
"MIT"
] | null | null | null | from .conv_mask import SEConv2d
from .linear_mask import SELinear
| 22 | 33 | 0.848485 | 10 | 66 | 5.4 | 0.7 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.121212 | 66 | 2 | 34 | 33 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19b1d0058a74b7943b3f6df1d2d36ef3561f9b5f | 686 | py | Python | tests_src/pyifx.hsl.color_overlay.py | Video-Lab/pyifx | 9b9aaa690059f3148833041eebdc4de7cc8d5459 | [
"MIT"
] | null | null | null | tests_src/pyifx.hsl.color_overlay.py | Video-Lab/pyifx | 9b9aaa690059f3148833041eebdc4de7cc8d5459 | [
"MIT"
] | null | null | null | tests_src/pyifx.hsl.color_overlay.py | Video-Lab/pyifx | 9b9aaa690059f3148833041eebdc4de7cc8d5459 | [
"MIT"
] | null | null | null | from test_vars import *
set_paths("../tests/imgs/hsl/color-overlay")
pyifx.hsl.color_overlay(img1, [255,0,0], 100)
pyifx.hsl.color_overlay(img_vol, [0,255,0], 100)
pyifx.hsl.color_overlay(img_list, [0,0,255], 100)
call_error_test("pyifx.hsl.color_overlay", ["asdf", [255,0,0], 60])
call_error_test("pyifx.hsl.color_ove... | 49 | 70 | 0.708455 | 123 | 686 | 3.723577 | 0.219512 | 0.19214 | 0.360262 | 0.436681 | 0.810044 | 0.810044 | 0.810044 | 0.622271 | 0.558952 | 0.558952 | 0 | 0.118565 | 0.065598 | 686 | 14 | 70 | 49 | 0.595944 | 0 | 0 | 0 | 0 | 0 | 0.289665 | 0.279476 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
272c45527f279d4337e7dfdfad7ed1cfe3cc1ad2 | 28 | py | Python | main.py | maxfischer2781/pyfold | 79953124a8e25190f24f0b00c6906c3c9d1a687a | [
"MIT"
] | null | null | null | main.py | maxfischer2781/pyfold | 79953124a8e25190f24f0b00c6906c3c9d1a687a | [
"MIT"
] | null | null | null | main.py | maxfischer2781/pyfold | 79953124a8e25190f24f0b00c6906c3c9d1a687a | [
"MIT"
] | null | null | null | import pyfold
import sample
| 9.333333 | 13 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 2 | 14 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27392671c7acb32653d1da341e5d4e2446704cdb | 27 | py | Python | electricityLoadForecasting/tools/encoding/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/tools/encoding/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/tools/encoding/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null |
from .encoding import *
| 5.4 | 23 | 0.666667 | 3 | 27 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 4 | 24 | 6.75 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
274499b09061fb122ba0db2f4583ae47aea522af | 20 | py | Python | github-webhooks/tests/__init__.py | srnd/mattermost-code-review | 39122bef4d3a77291983867afa39a7b6a41d7777 | [
"MIT"
] | 2 | 2019-07-19T21:56:30.000Z | 2019-07-19T21:58:12.000Z | github-webhooks/tests/__init__.py | srnd/mattermost-code-review | 39122bef4d3a77291983867afa39a7b6a41d7777 | [
"MIT"
] | 3 | 2019-07-18T15:53:53.000Z | 2020-07-21T23:42:30.000Z | github-webhooks/tests/__init__.py | srnd/PRRr | 39122bef4d3a77291983867afa39a7b6a41d7777 | [
"MIT"
] | null | null | null | from .. import Event | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27d44e66da6916995bfffa1a7dc2020d7d5fcaa7 | 57 | py | Python | run_please2.py | jadnohra/please2 | 8654347b72758f8f6cd255ef97500da55839a62a | [
"MIT"
] | null | null | null | run_please2.py | jadnohra/please2 | 8654347b72758f8f6cd255ef97500da55839a62a | [
"MIT"
] | null | null | null | run_please2.py | jadnohra/please2 | 8654347b72758f8f6cd255ef97500da55839a62a | [
"MIT"
] | null | null | null | import please2.command_line
please2.command_line.main()
| 14.25 | 27 | 0.842105 | 8 | 57 | 5.75 | 0.625 | 0.608696 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.070175 | 57 | 3 | 28 | 19 | 0.830189 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
27d6dcea9f0b2f6d6406e84c959b2feaa162a8c0 | 30,221 | py | Python | tests/databricks/test_utils.py | Comcast/pipeline-deploy | e3f923d3683a091f4c5ee9e039672c3edcee0eb1 | [
"Apache-2.0"
] | null | null | null | tests/databricks/test_utils.py | Comcast/pipeline-deploy | e3f923d3683a091f4c5ee9e039672c3edcee0eb1 | [
"Apache-2.0"
] | 1 | 2022-02-23T21:49:33.000Z | 2022-02-23T21:49:33.000Z | tests/databricks/test_utils.py | Comcast/pipeline-deploy | e3f923d3683a091f4c5ee9e039672c3edcee0eb1 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2022 Comcast Cable Communications Management, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | 40.949864 | 116 | 0.688329 | 3,789 | 30,221 | 5.11639 | 0.069148 | 0.062932 | 0.023832 | 0.047715 | 0.854379 | 0.839884 | 0.817652 | 0.785876 | 0.762354 | 0.731095 | 0 | 0.013219 | 0.21399 | 30,221 | 738 | 117 | 40.949865 | 0.802896 | 0.020416 | 0 | 0.59434 | 0 | 0 | 0.09626 | 0.034193 | 0 | 0 | 0 | 0 | 0.149057 | 1 | 0.173585 | false | 0 | 0.018868 | 0 | 0.301887 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27e3c07c7849c7c9c8d9a8a2c78287faaa6f90f5 | 114 | py | Python | katas/kyu_7/sorting_dictionaries.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/sorting_dictionaries.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/sorting_dictionaries.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from operator import itemgetter
def sort_dict(d):
return sorted(d.items(), key=itemgetter(1), reverse=True)
| 19 | 61 | 0.736842 | 17 | 114 | 4.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.140351 | 114 | 5 | 62 | 22.8 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fdee8ccd653d8ca48b2c723a60965cbd00994694 | 46 | py | Python | smoke/engine/__init__.py | SmallMunich/Smoke | 591a03bdb5cad962999914c9a97c7a8bed9e529b | [
"MIT"
] | 465 | 2020-03-03T09:25:16.000Z | 2022-03-30T09:34:34.000Z | smoke/engine/__init__.py | SmallMunich/Smoke | 591a03bdb5cad962999914c9a97c7a8bed9e529b | [
"MIT"
] | 65 | 2020-03-13T12:45:29.000Z | 2022-03-28T08:09:21.000Z | smoke/engine/__init__.py | SmallMunich/Smoke | 591a03bdb5cad962999914c9a97c7a8bed9e529b | [
"MIT"
] | 160 | 2020-03-04T06:09:17.000Z | 2022-03-30T02:31:38.000Z | from .defaults import *
from .launch import *
| 15.333333 | 23 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e30673d6b05294f5ef0ef781207d3f9909ec90ff | 14,584 | py | Python | test/test_md025.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md025.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md025.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | """
Module to provide tests related to the MD026 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
@pytest.mark.rules
def test_md025_bad_configuration_level():
"""
Test to make sure we get the expected behavior after scanning a good file from the
test/resources/rules/md004 directo... | 28.100193 | 124 | 0.689043 | 1,776 | 14,584 | 5.405405 | 0.064752 | 0.039167 | 0.07125 | 0.073125 | 0.974167 | 0.9725 | 0.972083 | 0.971458 | 0.971458 | 0.967813 | 0 | 0.023503 | 0.226892 | 14,584 | 518 | 125 | 28.15444 | 0.827938 | 0.220721 | 0 | 0.7 | 0 | 0.010345 | 0.288339 | 0.178852 | 0 | 0 | 0 | 0 | 0.055172 | 1 | 0.055172 | false | 0 | 0.006897 | 0 | 0.062069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3738de20640de22a8b43782e73a45f7e8134407 | 35,815 | py | Python | test_sfauto/test_10_volumes.py | cseelye/sfauto | 2a0d8a541431f84e4d887821cd66a5ea525e3026 | [
"MIT"
] | null | null | null | test_sfauto/test_10_volumes.py | cseelye/sfauto | 2a0d8a541431f84e4d887821cd66a5ea525e3026 | [
"MIT"
] | null | null | null | test_sfauto/test_10_volumes.py | cseelye/sfauto | 2a0d8a541431f84e4d887821cd66a5ea525e3026 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#pylint: skip-file
from __future__ import print_function
import pytest
import random
from libsf import SolidFireAPIError
from . import globalconfig
from .fake_cluster import APIFailure, APIVersion
from .testutil import RandomString, RandomIP
@pytest.mark.usefixtures("fake_cluster_perclass")
clas... | 49.331956 | 188 | 0.64956 | 3,642 | 35,815 | 6.220209 | 0.070566 | 0.059195 | 0.041405 | 0.117683 | 0.824314 | 0.797343 | 0.780348 | 0.74062 | 0.711353 | 0.687649 | 0 | 0.022462 | 0.249197 | 35,815 | 725 | 189 | 49.4 | 0.820007 | 0.001033 | 0 | 0.676898 | 0 | 0 | 0.064654 | 0.008218 | 0 | 0 | 0 | 0 | 0.148627 | 1 | 0.132472 | false | 0 | 0.150242 | 0 | 0.303716 | 0.147011 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b9c3e5eff0e7082529056a6c8a5cdeb82bdb133 | 1,556 | py | Python | Bosikov_Garik_dz_04/Task_4_2.py | gbosikov/Python_Course | 79d70dd6cd48dff158310ac82093c8a8c57ea7c4 | [
"MIT"
] | null | null | null | Bosikov_Garik_dz_04/Task_4_2.py | gbosikov/Python_Course | 79d70dd6cd48dff158310ac82093c8a8c57ea7c4 | [
"MIT"
] | null | null | null | Bosikov_Garik_dz_04/Task_4_2.py | gbosikov/Python_Course | 79d70dd6cd48dff158310ac82093c8a8c57ea7c4 | [
"MIT"
] | null | null | null | from decimal import Decimal
import requests
def currency_rates(code: str) -> float:
"""возвращает курс валюты `code` по отношению к рублю"""
response = requests.get('http://www.cbr.ru/scripts/XML_daily.asp')
resp_text = response.text
currency_idx = resp_text.find(code.upper())
if currency_idx == ... | 33.826087 | 118 | 0.645244 | 201 | 1,556 | 4.781095 | 0.248756 | 0.166493 | 0.12487 | 0.099896 | 0.811655 | 0.811655 | 0.71384 | 0.71384 | 0.71384 | 0.71384 | 0 | 0.00777 | 0.172879 | 1,556 | 45 | 119 | 34.577778 | 0.738928 | 0.513496 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.3125 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8be69c48a5ef21986bf0e7e50a0fe0d71c566063 | 34,908 | py | Python | tests/test_marathon_serviceinit.py | oholiab/paasta | f008e07622aaf09b43513fcaaef501e320870ae6 | [
"Apache-2.0"
] | null | null | null | tests/test_marathon_serviceinit.py | oholiab/paasta | f008e07622aaf09b43513fcaaef501e320870ae6 | [
"Apache-2.0"
] | 4 | 2021-02-08T20:55:34.000Z | 2021-03-26T00:29:25.000Z | tests/test_marathon_serviceinit.py | oholiab/paasta | f008e07622aaf09b43513fcaaef501e320870ae6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2015 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 40.875878 | 115 | 0.679128 | 4,108 | 34,908 | 5.359299 | 0.076436 | 0.044286 | 0.037473 | 0.049964 | 0.82808 | 0.785156 | 0.769213 | 0.739826 | 0.706577 | 0.690134 | 0 | 0.020767 | 0.226137 | 34,908 | 853 | 116 | 40.923798 | 0.794218 | 0.017732 | 0 | 0.660995 | 0 | 0 | 0.219146 | 0.114022 | 0 | 0 | 0 | 0 | 0.078534 | 1 | 0.037958 | false | 0 | 0.014398 | 0 | 0.052356 | 0.002618 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
47534382c075ae36e2cc12a0c8831b500382af18 | 97 | py | Python | py_moysklad/entities/assortment.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/assortment.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/assortment.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | from py_moysklad.entities.meta_entity import MetaEntity
class Assortment(MetaEntity):
pass
| 16.166667 | 55 | 0.814433 | 12 | 97 | 6.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 5 | 56 | 19.4 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
475645b459353b3d16f6cc54ff8a637947d88d5e | 12,110 | py | Python | test_problems/sample_driftless_rw.py | umautobots/osp | d055f1c846f907445186b9dea7da2d4dca4790a6 | [
"MIT"
] | 1 | 2021-11-08T07:27:39.000Z | 2021-11-08T07:27:39.000Z | test_problems/sample_driftless_rw.py | swb19/osp | d055f1c846f907445186b9dea7da2d4dca4790a6 | [
"MIT"
] | null | null | null | test_problems/sample_driftless_rw.py | swb19/osp | d055f1c846f907445186b9dea7da2d4dca4790a6 | [
"MIT"
] | 2 | 2021-07-24T21:27:56.000Z | 2021-10-31T14:13:20.000Z | import numpy as np
def sample_single_exact_v0(v, n_samples, sigma, sigma_v):
"""
Sample random walk values from partial observations
- exact so no weighting needed
:param v: k, 2 | time series of velocities
- nan in timesteps to sample by bridge/walking
valid values in timesteps to use
-... | 32.553763 | 104 | 0.586292 | 2,155 | 12,110 | 3.120186 | 0.067749 | 0.061868 | 0.02677 | 0.020821 | 0.85351 | 0.817222 | 0.805622 | 0.787478 | 0.769631 | 0.769631 | 0 | 0.033366 | 0.247647 | 12,110 | 371 | 105 | 32.641509 | 0.704643 | 0.308258 | 0 | 0.580808 | 0 | 0 | 0.015719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.015152 | 0 | 0.09596 | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
476505f71aaec6d92367558299d8993f48dc0465 | 149 | py | Python | generate.py | Mandera/generalgui | 4cc53bc19464d2032d4fb2fee7404cca338c9b5d | [
"MIT"
] | 1 | 2021-03-12T12:48:59.000Z | 2021-03-12T12:48:59.000Z | generate.py | Mandera/generalgui | 4cc53bc19464d2032d4fb2fee7404cca338c9b5d | [
"MIT"
] | null | null | null | generate.py | Mandera/generalgui | 4cc53bc19464d2032d4fb2fee7404cca338c9b5d | [
"MIT"
] | null | null | null |
from generalpackager import Packager
Packager("generalgui").generate_localfiles(print_out=True)
| 2.660714 | 58 | 0.557047 | 11 | 149 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.389262 | 149 | 55 | 59 | 2.709091 | 0.89011 | 0 | 0 | 0 | 1 | 0 | 0.103093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
47ae887950961651412d9b5ed6915ba5c5c78ee6 | 29 | py | Python | packages/server/invites/src/ports/providers/__init__.py | gbartoczevicz/moosic | 003ff5cff628505093cc08ad0fbd273272172a51 | [
"MIT"
] | 3 | 2021-09-30T00:41:31.000Z | 2022-03-15T00:14:23.000Z | packages/server/invites/src/ports/providers/__init__.py | gbartoczevicz/moosic | 003ff5cff628505093cc08ad0fbd273272172a51 | [
"MIT"
] | 13 | 2021-09-20T22:29:52.000Z | 2021-12-05T01:59:34.000Z | packages/server/invites/src/ports/providers/__init__.py | gabrielbartoczevicz/moosic | 003ff5cff628505093cc08ad0fbd273272172a51 | [
"MIT"
] | 1 | 2021-11-10T22:11:55.000Z | 2021-11-10T22:11:55.000Z | from .jwt import JwtProvider
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7be8af517158284b5a23e10b06f7cc0174234dc4 | 135 | py | Python | wallpaper_finder/__init__.py | andrei-kh/wallpaper-finder | c2c8672bdbc0af597649542886f86c5deadb7f3a | [
"MIT"
] | null | null | null | wallpaper_finder/__init__.py | andrei-kh/wallpaper-finder | c2c8672bdbc0af597649542886f86c5deadb7f3a | [
"MIT"
] | null | null | null | wallpaper_finder/__init__.py | andrei-kh/wallpaper-finder | c2c8672bdbc0af597649542886f86c5deadb7f3a | [
"MIT"
] | null | null | null | from .reddit_pictures import RedditPicturesLoader
from .reddit_pictures_api import RedditPicturesLoaderApi
from .utils import FileUtils | 45 | 56 | 0.896296 | 15 | 135 | 7.866667 | 0.6 | 0.169492 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 135 | 3 | 57 | 45 | 0.951613 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d00ae7254348198f6d5e57092d04d4c12befa678 | 28 | py | Python | Contributions/pythonprint.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 215 | 2021-10-01T08:18:16.000Z | 2022-03-29T04:12:03.000Z | Contributions/pythonprint.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 51 | 2021-10-01T08:16:42.000Z | 2021-10-31T13:51:51.000Z | Contributions/pythonprint.py | OluSure/Hacktoberfest2021-1 | ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea | [
"MIT"
] | 807 | 2021-10-01T08:11:45.000Z | 2021-11-21T18:57:09.000Z | print("you are great guys")
| 14 | 27 | 0.714286 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d044a017494ad305c8ecf63fd589320d47d50463 | 36 | py | Python | Tutorials/modules_2.py | gittygupta/Python-Learning-Course | 8e571c06f78b03f6725fe02f742eb40c3eed12e3 | [
"Unlicense"
] | null | null | null | Tutorials/modules_2.py | gittygupta/Python-Learning-Course | 8e571c06f78b03f6725fe02f742eb40c3eed12e3 | [
"Unlicense"
] | null | null | null | Tutorials/modules_2.py | gittygupta/Python-Learning-Course | 8e571c06f78b03f6725fe02f742eb40c3eed12e3 | [
"Unlicense"
] | null | null | null | def test():
print('am a coder') | 18 | 23 | 0.555556 | 6 | 36 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 36 | 2 | 23 | 18 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d09bda925b0145a132083d96e8c12e55d5e463dc | 211 | py | Python | Problems/Multiple cases/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | Problems/Multiple cases/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | Problems/Multiple cases/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | def f1(x):
return 1 + (x * x)
def f2(x):
return 1 / (x * x)
def f3(x):
return -1 + (x * x)
def f(x):
if x <= 0:
return f1(x)
if 0 < x < 1:
return f2(x)
return f3(x)
| 11.105263 | 23 | 0.407583 | 40 | 211 | 2.15 | 0.25 | 0.325581 | 0.27907 | 0.313953 | 0.453488 | 0.453488 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.417062 | 211 | 18 | 24 | 11.722222 | 0.601626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.25 | 0.833333 | 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 | 1 | 1 | 0 | 0 | 6 |
d0ba0f0298c1ba32a95a82c1913bf9bf3000317c | 204 | py | Python | employee_det/chalicelib/views/__init__.py | cadenababa/employee-details | f537dd797e20fa8aaf6bfe3bef20106dd8073ad1 | [
"MIT"
] | null | null | null | employee_det/chalicelib/views/__init__.py | cadenababa/employee-details | f537dd797e20fa8aaf6bfe3bef20106dd8073ad1 | [
"MIT"
] | null | null | null | employee_det/chalicelib/views/__init__.py | cadenababa/employee-details | f537dd797e20fa8aaf6bfe3bef20106dd8073ad1 | [
"MIT"
] | 1 | 2020-12-13T07:16:28.000Z | 2020-12-13T07:16:28.000Z | from chalicelib.views.views_ext import *
from chalicelib.views.views import *
from chalicelib.settings import *
DynaboDB = DynaboDB()
RestViewIndex = RestViewIndex()
RestViewEmployee = RestViewEmployee() | 29.142857 | 40 | 0.813725 | 21 | 204 | 7.857143 | 0.428571 | 0.254545 | 0.230303 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 204 | 7 | 41 | 29.142857 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
d0edab7d6fc07aec68de0306b76d7b0cc88cf54a | 38 | py | Python | kearsley/__init__.py | martxelo/kearsley-algorithm | 99d7ebf3020746ad64affb494360e596f45d7ef8 | [
"MIT"
] | 1 | 2021-03-20T16:58:24.000Z | 2021-03-20T16:58:24.000Z | kearsley/__init__.py | martxelo/kearsley-algorithm | 99d7ebf3020746ad64affb494360e596f45d7ef8 | [
"MIT"
] | null | null | null | kearsley/__init__.py | martxelo/kearsley-algorithm | 99d7ebf3020746ad64affb494360e596f45d7ef8 | [
"MIT"
] | null | null | null | from kearsley.kearsley import Kearsley | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0fe1d0d1445787879623450738a4f55b1ea61b4 | 120 | py | Python | polybot/test.py | evanpcosta/IEEEPolybot | 75fd70680f4f9fec8b1b77b4e116e4869eb8c079 | [
"Apache-2.0"
] | null | null | null | polybot/test.py | evanpcosta/IEEEPolybot | 75fd70680f4f9fec8b1b77b4e116e4869eb8c079 | [
"Apache-2.0"
] | null | null | null | polybot/test.py | evanpcosta/IEEEPolybot | 75fd70680f4f9fec8b1b77b4e116e4869eb8c079 | [
"Apache-2.0"
] | 1 | 2021-03-07T20:46:43.000Z | 2021-03-07T20:46:43.000Z | import implementML
implementML.implementML("C:/Users/alanx/OneDrive/Desktop/keras/IEEE/example_data.csv", 10, "random") | 40 | 100 | 0.808333 | 16 | 120 | 6 | 0.875 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.041667 | 120 | 3 | 100 | 40 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0.53719 | 0.487603 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
190d5756c2d90660586fc6f7c1e1ba68830badd7 | 73 | py | Python | backend/app/rest/users/views.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | backend/app/rest/users/views.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | backend/app/rest/users/views.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | from app.core.crud import CrudView
class UsersView(CrudView):
pass
| 12.166667 | 34 | 0.753425 | 10 | 73 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 73 | 5 | 35 | 14.6 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ef9314abfbbf468195cd280bdf394e6dee6287cb | 29 | py | Python | backEnd/app/api/user/__init__.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | null | null | null | backEnd/app/api/user/__init__.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | 14 | 2022-03-27T13:34:58.000Z | 2022-03-31T14:37:19.000Z | backEnd/app/api/user/__init__.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | null | null | null | from app.api.user import user | 29 | 29 | 0.827586 | 6 | 29 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
efa0f9b9bda9f466f75748a55c1cb3f47fd872c6 | 48 | py | Python | modules/vae_loss/__init__.py | adnortje/deepvideo | 76d09ee8696355bc29ee57c1ef2ff61474c5ed41 | [
"CC0-1.0"
] | 37 | 2019-11-23T06:42:12.000Z | 2022-01-25T16:08:28.000Z | modules/vae_loss/__init__.py | sangramch/deepvideo | 16e622434b9843238b8092f94da2c58a4346788d | [
"CC0-1.0"
] | 4 | 2020-04-11T12:36:27.000Z | 2021-07-26T10:12:53.000Z | modules/vae_loss/__init__.py | sangramch/deepvideo | 16e622434b9843238b8092f94da2c58a4346788d | [
"CC0-1.0"
] | 9 | 2019-12-13T07:30:58.000Z | 2020-07-15T05:32:17.000Z | # import vae loss
from .vae_loss import VAELoss
| 16 | 29 | 0.791667 | 8 | 48 | 4.625 | 0.625 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 30 | 24 | 0.925 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
efb5692acb75ef5d2fea12ab45f924661cba32db | 273 | py | Python | Python/easy/e355.py | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2017-10-18T02:17:02.000Z | 2022-02-02T01:19:02.000Z | Python/easy/e355.py | tlseabra/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | 4 | 2016-01-24T20:30:02.000Z | 2017-01-18T16:01:23.000Z | Python/easy/e355.py | tlgs/dailyprogrammer | 6e7d3352616fa54a8e9caf8564a9cfb951eb0af9 | [
"Unlicense"
] | null | null | null | # 07/04/2018
from itertools import cycle
def encrypt(message, key):
return ''.join([chr((ord(c)+ord(k)-194)%26+97) for c, k in zip(message, cycle(key))])
def decrypt(message, key):
return ''.join([chr((ord(c)-ord(k))%26+97) for c, k in zip(message, cycle(key))])
| 30.333333 | 89 | 0.641026 | 50 | 273 | 3.5 | 0.48 | 0.114286 | 0.182857 | 0.228571 | 0.685714 | 0.685714 | 0.685714 | 0.685714 | 0.685714 | 0.331429 | 0 | 0.080851 | 0.139194 | 273 | 8 | 90 | 34.125 | 0.66383 | 0.03663 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
efdc0b9cc24e327a4f8a0adf853b6df89a06f674 | 1,088 | py | Python | api/permissions.py | Eddydpyl/vounty_backend | 772a9887e91f0d5d0de0148b8fc3624adfad17e6 | [
"Apache-2.0"
] | null | null | null | api/permissions.py | Eddydpyl/vounty_backend | 772a9887e91f0d5d0de0148b8fc3624adfad17e6 | [
"Apache-2.0"
] | null | null | null | api/permissions.py | Eddydpyl/vounty_backend | 772a9887e91f0d5d0de0148b8fc3624adfad17e6 | [
"Apache-2.0"
] | null | null | null | from rest_framework import permissions
from rest_framework.permissions import SAFE_METHODS
class SafeMethods(permissions.BasePermission):
def has_permission(self, request, view):
return request.method in permissions.SAFE_METHODS or request.user.is_staff
class IsUser(permissions.BasePermission):
def ... | 38.857143 | 117 | 0.772059 | 144 | 1,088 | 5.694444 | 0.208333 | 0.17439 | 0.110976 | 0.189024 | 0.720732 | 0.707317 | 0.676829 | 0.676829 | 0.670732 | 0.670732 | 0 | 0 | 0.145221 | 1,088 | 27 | 118 | 40.296296 | 0.88172 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0.294118 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4be42163f81999d60266f1232441928e648683e6 | 1,781 | py | Python | nas4candle/candle/common/candle_keras/__init__.py | scrlnas2019/nas4candle | 318959424cc66819c816054a87bd1cb5d426e2e7 | [
"BSD-3-Clause"
] | 1 | 2021-01-22T04:03:00.000Z | 2021-01-22T04:03:00.000Z | nas4candle/candle/common/candle_keras/__init__.py | scrlnas2019/nas4candle | 318959424cc66819c816054a87bd1cb5d426e2e7 | [
"BSD-3-Clause"
] | 1 | 2021-01-23T00:14:17.000Z | 2021-01-23T00:14:17.000Z | nas4candle/candle/common/candle_keras/__init__.py | scrlnas2019/nas4candle | 318959424cc66819c816054a87bd1cb5d426e2e7 | [
"BSD-3-Clause"
] | 2 | 2019-11-27T04:42:00.000Z | 2021-01-22T04:06:59.000Z | from __future__ import absolute_import
#__version__ = '0.0.0'
#import from data_utils
from nas4candle.candle.common.data_utils import load_csv_data
from nas4candle.candle.common.data_utils import load_Xy_one_hot_data2
from nas4candle.candle.common.data_utils import load_Xy_data_noheader
#import from file_utils
from ... | 44.525 | 75 | 0.881527 | 249 | 1,781 | 6.044177 | 0.220884 | 0.223256 | 0.318937 | 0.414618 | 0.693688 | 0.669767 | 0.644518 | 0.214618 | 0.062458 | 0 | 0 | 0.017533 | 0.071308 | 1,781 | 39 | 76 | 45.666667 | 0.892382 | 0.112296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef154fee2830a92d7c05ea0bc3105b1781a74a34 | 37,418 | py | Python | qiling/tests/test_elf.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:01.000Z | 2021-06-04T14:27:15.000Z | qiling/tests/test_elf.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | null | null | null | qiling/tests/test_elf.py | mrTavas/owasp-fstm-auto | 6e9ff36e46d885701c7419db3eca15f12063a7f3 | [
"CC0-1.0"
] | 2 | 2021-05-05T12:03:09.000Z | 2021-06-04T14:27:21.000Z | #!/usr/bin/env python3
#
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
#
import sys, unittest, string, random, os
sys.path.append("..")
from qiling import Qiling
from qiling.const import QL_OS, QL_INTERCEPT, QL_VERBOSE
from qiling.exception import *
from qiling.os.const import STRING
fr... | 35.7383 | 173 | 0.57304 | 4,655 | 37,418 | 4.355961 | 0.071321 | 0.034325 | 0.029196 | 0.040144 | 0.836909 | 0.812201 | 0.783696 | 0.755289 | 0.735069 | 0.700202 | 0 | 0.027417 | 0.308889 | 37,418 | 1,046 | 174 | 35.772467 | 0.75669 | 0.088914 | 0 | 0.64275 | 0 | 0.004484 | 0.141593 | 0.107834 | 0 | 0 | 0.004911 | 0 | 0.053812 | 1 | 0.164425 | false | 0.020927 | 0.011958 | 0.022422 | 0.242152 | 0.044843 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
325d6723c81dabf9db2448d4bcf447d86112777f | 29 | py | Python | nv/database.py | new-valley/new-valley | 8810739cab52ad4dea2f4005a59b8b7afea1e2db | [
"MIT"
] | null | null | null | nv/database.py | new-valley/new-valley | 8810739cab52ad4dea2f4005a59b8b7afea1e2db | [
"MIT"
] | null | null | null | nv/database.py | new-valley/new-valley | 8810739cab52ad4dea2f4005a59b8b7afea1e2db | [
"MIT"
] | null | null | null | from nv.extensions import db
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
329e96d74c2540fd04ba91430f76ee9c547b14e4 | 6,174 | py | Python | tests/test_main.py | pzehner/dependencmake | 00feb4e52d1b35dac9f85937d80eafbb50c8c452 | [
"MIT"
] | null | null | null | tests/test_main.py | pzehner/dependencmake | 00feb4e52d1b35dac9f85937d80eafbb50c8c452 | [
"MIT"
] | null | null | null | tests/test_main.py | pzehner/dependencmake | 00feb4e52d1b35dac9f85937d80eafbb50c8c452 | [
"MIT"
] | null | null | null | from argparse import Namespace
from io import StringIO
from path import Path
from dependencmake.__main__ import (
get_parser,
run_build,
run_clean,
run_create_config,
run_fetch,
run_install,
)
class TestGetParser:
def test_get(self):
"""Get a parser."""
parser = get_parse... | 31.824742 | 86 | 0.643667 | 691 | 6,174 | 5.439942 | 0.098408 | 0.058526 | 0.102155 | 0.119181 | 0.822293 | 0.811652 | 0.765363 | 0.75552 | 0.743283 | 0.69593 | 0 | 0 | 0.254292 | 6,174 | 193 | 87 | 31.989637 | 0.816464 | 0.067379 | 0 | 0.536232 | 0 | 0 | 0.109882 | 0.087941 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.086957 | false | 0 | 0.028986 | 0 | 0.15942 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08601317834023e2c864e39cf3f577a827c6fe9a | 38 | py | Python | Services/src/utils/utils.py | IsaacDSC/ALPR_4.0 | b67446c06c19b44d740ba283b46dde63c2c39601 | [
"MIT"
] | null | null | null | Services/src/utils/utils.py | IsaacDSC/ALPR_4.0 | b67446c06c19b44d740ba283b46dde63c2c39601 | [
"MIT"
] | null | null | null | Services/src/utils/utils.py | IsaacDSC/ALPR_4.0 | b67446c06c19b44d740ba283b46dde63c2c39601 | [
"MIT"
] | null | null | null | def doSomethingCool():
print('ok') | 19 | 22 | 0.657895 | 4 | 38 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 2 | 23 | 19 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
089794844848949179bbbc6703b451d8941a5c8b | 91 | py | Python | second_module.py | gtsofa/yt | 82a41a9de5be8b45905f9251cbc4240ad7299d79 | [
"MIT"
] | null | null | null | second_module.py | gtsofa/yt | 82a41a9de5be8b45905f9251cbc4240ad7299d79 | [
"MIT"
] | null | null | null | second_module.py | gtsofa/yt | 82a41a9de5be8b45905f9251cbc4240ad7299d79 | [
"MIT"
] | null | null | null | # second module.py
import first_module
print "Second module's name : {}".format(__name__) | 18.2 | 50 | 0.747253 | 13 | 91 | 4.846154 | 0.692308 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 5 | 50 | 18.2 | 0.797468 | 0.175824 | 0 | 0 | 0 | 0 | 0.337838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
08b891e8c43990829c1d9b7f0ac7222a859bd73f | 31 | py | Python | riberry/cli/commands/__init__.py | srafehi/riberry | 2ffa48945264177c6cef88512c1bc80ca4bf1d5e | [
"MIT"
] | 2 | 2019-12-09T10:24:36.000Z | 2019-12-09T10:26:56.000Z | riberry/cli/commands/__init__.py | srafehi/riberry | 2ffa48945264177c6cef88512c1bc80ca4bf1d5e | [
"MIT"
] | 2 | 2018-06-11T11:34:28.000Z | 2018-08-22T12:00:19.000Z | riberry/cli/commands/__init__.py | srafehi/riberry | 2ffa48945264177c6cef88512c1bc80ca4bf1d5e | [
"MIT"
] | null | null | null | from . import conf, run, admin
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 1 | 31 | 31 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ed03a5c58cbc827ce6626cd72196804a9e7a464 | 179 | py | Python | accounts/admin.py | zhusheng/django_rest_jwt_auth_tutorial | b1b764aacbf9451ee1045cac7bebcf570751d9d5 | [
"Apache-2.0"
] | null | null | null | accounts/admin.py | zhusheng/django_rest_jwt_auth_tutorial | b1b764aacbf9451ee1045cac7bebcf570751d9d5 | [
"Apache-2.0"
] | null | null | null | accounts/admin.py | zhusheng/django_rest_jwt_auth_tutorial | b1b764aacbf9451ee1045cac7bebcf570751d9d5 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.contrib.auth.models import User
from accounts.models import MyProfile
admin.site.register(MyProfile)
| 17.9 | 43 | 0.815642 | 25 | 179 | 5.84 | 0.56 | 0.136986 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122905 | 179 | 9 | 44 | 19.888889 | 0.929936 | 0.145251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 6 |
4108eac643fc91ecd7b5ec834758903659b71464 | 45 | py | Python | src/util/__init__.py | 0417taehyun/ringle-tutor-analysis | 5daf2fa29b4ba1dd247b34ba549a009260da8cc3 | [
"MIT"
] | null | null | null | src/util/__init__.py | 0417taehyun/ringle-tutor-analysis | 5daf2fa29b4ba1dd247b34ba549a009260da8cc3 | [
"MIT"
] | null | null | null | src/util/__init__.py | 0417taehyun/ringle-tutor-analysis | 5daf2fa29b4ba1dd247b34ba549a009260da8cc3 | [
"MIT"
] | null | null | null | from src.util.worker import update_interests
| 22.5 | 44 | 0.866667 | 7 | 45 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41198748999469e4ab291d4dc13966fa1391e041 | 70 | py | Python | Decompiler/p/Cassius/Cassius.py | AGraber/EDDecompiler | 6e00c7c6ba8a12cea7722fcef34ed8ff4ac6bc66 | [
"MIT"
] | 5 | 2021-05-23T19:34:38.000Z | 2021-12-05T05:57:36.000Z | Decompiler/p/Cassius/Cassius.py | staringstar/EDDecompiler | ef86adf8fb72885b4da8f5e0382054f13012e722 | [
"MIT"
] | null | null | null | Decompiler/p/Cassius/Cassius.py | staringstar/EDDecompiler | ef86adf8fb72885b4da8f5e0382054f13012e722 | [
"MIT"
] | 3 | 2020-08-18T19:29:38.000Z | 2020-12-05T18:14:29.000Z | from ActionHelper import *
from Voice import *
from ChrFile import * | 23.333333 | 27 | 0.771429 | 9 | 70 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 3 | 28 | 23.333333 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5afe1ae7ce622acc7675195f1f6f658459ec0ed | 767 | py | Python | tests/Application/test_App.py | opengeekv2/python-app-exercise | ff3c7e3bac33e1426ab845b08f259b4812230fb3 | [
"MIT"
] | null | null | null | tests/Application/test_App.py | opengeekv2/python-app-exercise | ff3c7e3bac33e1426ab845b08f259b4812230fb3 | [
"MIT"
] | null | null | null | tests/Application/test_App.py | opengeekv2/python-app-exercise | ff3c7e3bac33e1426ab845b08f259b4812230fb3 | [
"MIT"
] | null | null | null | from unittest.mock import patch, MagicMock
from src.Application.App import App
from src.Services.ApiService import ApiService
@patch('src.Services.ApiService.ApiService')
def test_app_run_fine(api_service_mock: ApiService):
api_service_instance = MagicMock()
api_service_instance.run = MagicMock(return_value=T... | 31.958333 | 60 | 0.783572 | 104 | 767 | 5.451923 | 0.25 | 0.21164 | 0.253968 | 0.091711 | 0.75485 | 0.75485 | 0.75485 | 0.75485 | 0.75485 | 0.582011 | 0 | 0.002994 | 0.129074 | 767 | 23 | 61 | 33.347826 | 0.845808 | 0 | 0 | 0.470588 | 0 | 0 | 0.088657 | 0.088657 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0 | 0.176471 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eb20778b1236e4c3ae22844b27ecf515f7e60f38 | 25 | py | Python | acq4/devices/LightSource/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/LightSource/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/devices/LightSource/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from LightSource import * | 25 | 25 | 0.84 | 3 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb3a139966f7d6a1b206356ea224ec7f49967ca5 | 28 | py | Python | fast_wrap/__init__.py | uppittu11/fast_wrap | 4e8b535fd807e642c2bbfba6ff898371cd57bd18 | [
"MIT"
] | null | null | null | fast_wrap/__init__.py | uppittu11/fast_wrap | 4e8b535fd807e642c2bbfba6ff898371cd57bd18 | [
"MIT"
] | null | null | null | fast_wrap/__init__.py | uppittu11/fast_wrap | 4e8b535fd807e642c2bbfba6ff898371cd57bd18 | [
"MIT"
] | null | null | null | from .fast_wrap import wrap
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de2951b7ae7e2afec3a6057e697d6b17723fb131 | 103 | py | Python | maps/views/team.py | acdh-oeaw/diauma | ebaea149dd49347a794da85e20044d78226a1f89 | [
"MIT"
] | null | null | null | maps/views/team.py | acdh-oeaw/diauma | ebaea149dd49347a794da85e20044d78226a1f89 | [
"MIT"
] | 1 | 2017-09-06T11:08:02.000Z | 2017-09-06T15:31:00.000Z | maps/views/team.py | acdh-oeaw/diauma | ebaea149dd49347a794da85e20044d78226a1f89 | [
"MIT"
] | 1 | 2021-11-11T13:44:16.000Z | 2021-11-11T13:44:16.000Z | from django.shortcuts import render
def index(request):
return render(request, 'maps/team.html')
| 17.166667 | 44 | 0.747573 | 14 | 103 | 5.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 45 | 20.6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.