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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16776763f681621474515bcfff2ed039c2598d66 | 47 | py | Python | cupy_alias/manipulation/tiling.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/manipulation/tiling.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/manipulation/tiling.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.manipulation.tiling import * # NOQA
| 23.5 | 46 | 0.765957 | 6 | 47 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.9 | 0.085106 | 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 |
1693e93a9a8abe0079b77dd7495701e2f34051aa | 60 | py | Python | validpy/__init__.py | 0scarB/validpy | c557dcc0fd770d4401993bf4875b25c767469b3b | [
"MIT"
] | null | null | null | validpy/__init__.py | 0scarB/validpy | c557dcc0fd770d4401993bf4875b25c767469b3b | [
"MIT"
] | null | null | null | validpy/__init__.py | 0scarB/validpy | c557dcc0fd770d4401993bf4875b25c767469b3b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def func() -> bool:
return True
| 15 | 23 | 0.516667 | 8 | 60 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.25 | 60 | 3 | 24 | 20 | 0.666667 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bc4de663c37ea4fd1d297cd41ba880d36d9d5f3b | 5,513 | py | Python | py/ops/itests/test_pods_ports.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | py/ops/itests/test_pods_ports.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | py/ops/itests/test_pods_ports.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | import unittest
from subprocess import Popen
from .fixtures import Fixture
@Fixture.inside_container
class PodsPortsTest(Fixture, unittest.TestCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.httpd_proc = Popen(
['python3', '-m', 'http.server', '8080'],
... | 35.11465 | 77 | 0.536006 | 642 | 5,513 | 4.490654 | 0.14486 | 0.104058 | 0.17343 | 0.260146 | 0.796393 | 0.790149 | 0.790149 | 0.734651 | 0.734651 | 0.734651 | 0 | 0.123179 | 0.315255 | 5,513 | 156 | 78 | 35.339744 | 0.64053 | 0.021585 | 0 | 0.588235 | 0 | 0 | 0.378594 | 0.287516 | 0 | 0 | 0 | 0 | 0.132353 | 1 | 0.080882 | false | 0 | 0.022059 | 0 | 0.110294 | 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 |
bcd6d4a49c532e9fbd3dc2b3ce65d334809e6c17 | 97 | py | Python | qsearch/__init__.py | ejwilson3/qsearch | 9f966db0f3d54fdaff15f1dd7a0e1d28de55b1b4 | [
"BSD-3-Clause-LBNL"
] | 20 | 2020-11-16T17:07:31.000Z | 2022-01-26T11:00:26.000Z | qsearch/__init__.py | WolfLink/search_compiler | efbc02717600beaa083d3afb9b94e34264f637d7 | [
"BSD-3-Clause-LBNL"
] | 11 | 2020-10-14T17:37:09.000Z | 2022-01-13T02:32:14.000Z | qsearch/__init__.py | WolfLink/search_compiler | efbc02717600beaa083d3afb9b94e34264f637d7 | [
"BSD-3-Clause-LBNL"
] | 6 | 2021-04-09T22:38:40.000Z | 2022-03-13T07:49:40.000Z | from .compiler import *
from . import gatesets
from . import gates
from .project import Project
| 16.166667 | 28 | 0.773196 | 13 | 97 | 5.769231 | 0.461538 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 5 | 29 | 19.4 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
4c25e45a5df6a34662fa8bd9d70fb8909911d05b | 154 | py | Python | 3rdparty/huawei-lte-api/huawei_lte_api/ApiGroup.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | null | null | null | 3rdparty/huawei-lte-api/huawei_lte_api/ApiGroup.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | 1 | 2020-06-21T20:35:27.000Z | 2020-07-14T20:08:55.000Z | 3rdparty/huawei-lte-api/huawei_lte_api/ApiGroup.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | 3 | 2020-02-27T11:35:55.000Z | 2021-03-25T08:51:51.000Z | from huawei_lte_api.Connection import Connection
class ApiGroup:
def __init__(self, connection: Connection):
self._connection = connection
| 19.25 | 48 | 0.75974 | 17 | 154 | 6.470588 | 0.647059 | 0.254545 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 7 | 49 | 22 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4c3a3bf1467ef37216c40e0dbd9877acbfe8564a | 59 | py | Python | emmett_mongorest/queries/__init__.py | gi0baro/emmett-mongorest | 814658b3d8051ad649f1bc7cffb32354b3b7a97c | [
"BSD-3-Clause"
] | null | null | null | emmett_mongorest/queries/__init__.py | gi0baro/emmett-mongorest | 814658b3d8051ad649f1bc7cffb32354b3b7a97c | [
"BSD-3-Clause"
] | 3 | 2020-12-27T12:29:12.000Z | 2022-02-27T10:34:33.000Z | emmett_mongorest/queries/__init__.py | gi0baro/emmett-mongorest | 814658b3d8051ad649f1bc7cffb32354b3b7a97c | [
"BSD-3-Clause"
] | null | null | null | from .helpers import JSONQueryPipe, AggregateJSONQueryPipe
| 29.5 | 58 | 0.881356 | 5 | 59 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 1 | 59 | 59 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
912ec6f581f1e92b263b2b99918a289f603376aa | 47 | py | Python | morphablegraphs/motion_generator/optimization/__init__.py | dfki-asr/morphablegraphs | 02c77aab72aa4b58f4067c720f5d124f0be3ea80 | [
"MIT"
] | 5 | 2020-03-03T21:07:01.000Z | 2021-05-12T16:59:28.000Z | morphablegraphs/motion_generator/optimization/__init__.py | dfki-asr/morphablegraphs | 02c77aab72aa4b58f4067c720f5d124f0be3ea80 | [
"MIT"
] | null | null | null | morphablegraphs/motion_generator/optimization/__init__.py | dfki-asr/morphablegraphs | 02c77aab72aa4b58f4067c720f5d124f0be3ea80 | [
"MIT"
] | 1 | 2020-07-20T06:57:08.000Z | 2020-07-20T06:57:08.000Z | from .optimizer_builder import OptimizerBuilder | 47 | 47 | 0.914894 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 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 |
9140cc4c3a0d4ca2d6f932f6add315ebe6bb6c8b | 202 | py | Python | src/VarDACAE/__init__.py | scheng1992/Data_Assimilation | b4d43895229205ee2cd16b15ee20beccb33b71d6 | [
"MIT"
] | 1 | 2021-11-25T12:46:48.000Z | 2021-11-25T12:46:48.000Z | src/VarDACAE/__init__.py | bugsuse/Data_Assimilation | 2965ccf78951df11f8686282cd6814bae18afde5 | [
"MIT"
] | null | null | null | src/VarDACAE/__init__.py | bugsuse/Data_Assimilation | 2965ccf78951df11f8686282cd6814bae18afde5 | [
"MIT"
] | 2 | 2021-03-02T13:29:34.000Z | 2022-03-12T11:01:08.000Z | from VarDACAE.data.load import GetData
from VarDACAE.data.split import SplitData
from VarDACAE.train import TrainAE
from VarDACAE.VarDA.batch_DA import BatchDA
from VarDACAE.train.retrain import retrain | 40.4 | 43 | 0.861386 | 30 | 202 | 5.766667 | 0.5 | 0.346821 | 0.184971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094059 | 202 | 5 | 44 | 40.4 | 0.945355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6984f1db2756d9bbae746a13617b3368a9cf460 | 23 | py | Python | erqa/__init__.py | msu-video-group/ERQA | 5a0c64cfd02e48d9a5f749027de479b42fd0a59d | [
"MIT"
] | 18 | 2021-09-10T14:59:59.000Z | 2022-03-09T07:02:20.000Z | erqa/__init__.py | msu-video-group/erqa | 5a0c64cfd02e48d9a5f749027de479b42fd0a59d | [
"MIT"
] | null | null | null | erqa/__init__.py | msu-video-group/erqa | 5a0c64cfd02e48d9a5f749027de479b42fd0a59d | [
"MIT"
] | 1 | 2022-01-25T13:28:02.000Z | 2022-01-25T13:28:02.000Z | from .erqa import ERQA
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6d94e7acd1f3f91a12f8bcad3ee1f83df34a995 | 17,635 | py | Python | lg_attract_loop/test/online/test_lg_attract_loop.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_attract_loop/test/online/test_lg_attract_loop.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_attract_loop/test/online/test_lg_attract_loop.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
PKG = 'lg_attract_loop'
NAME = 'test_lg_attract_loop'
import rospy
import unittest
import json
from lg_attract_loop import AttractLoop
from std_msgs.msg import Bool
class MockAPI:
def __init__(self):
self.presentation_group = {
"meta": {
"limit": 1000,
... | 50.821326 | 196 | 0.673774 | 2,018 | 17,635 | 5.626858 | 0.113479 | 0.075561 | 0.051519 | 0.085865 | 0.812329 | 0.783708 | 0.740731 | 0.711669 | 0.699251 | 0.675738 | 0 | 0.011187 | 0.229544 | 17,635 | 346 | 197 | 50.968208 | 0.824538 | 0.104225 | 0 | 0.52669 | 0 | 0 | 0.165047 | 0.053618 | 0 | 0 | 0 | 0 | 0.245552 | 0 | null | null | 0 | 0.021352 | null | null | 0.003559 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6f1d8d5c6959abd0c135470fe4e9ca0177296d8 | 201 | py | Python | tests/deprecation_rules/deprecated_django_local_flavor_module/checked_file.py | iwoca/django-seven | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 9 | 2016-05-25T22:33:17.000Z | 2021-05-29T18:38:07.000Z | tests/deprecation_rules/deprecated_django_local_flavor_module/checked_file.py | iwoca/django-upgrade-tools | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 3 | 2016-06-19T21:17:06.000Z | 2016-07-20T20:26:14.000Z | tests/deprecation_rules/deprecated_django_local_flavor_module/checked_file.py | iwoca/django-upgrade-tools | c7be98b73c139c9e74a9be94a0f20a723c739c80 | [
"BSD-3-Clause"
] | 1 | 2016-08-11T07:27:30.000Z | 2016-08-11T07:27:30.000Z | # Old django core localflavor import
from django.contrib import localflavor
import django.contrib.localflavor
# New correct localflavor import, as it is not an independant package.
import localflavor
| 28.714286 | 70 | 0.830846 | 27 | 201 | 6.185185 | 0.592593 | 0.305389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 201 | 6 | 71 | 33.5 | 0.95977 | 0.512438 | 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 |
fc243e4575ed503ed304f79464daab8424c23389 | 204 | py | Python | mwptoolkit/module/Decoder/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 71 | 2021-03-08T06:06:15.000Z | 2022-03-30T11:59:37.000Z | mwptoolkit/module/Decoder/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 13 | 2021-09-07T12:38:23.000Z | 2022-03-22T15:08:16.000Z | mwptoolkit/module/Decoder/__init__.py | ShubhamAnandJain/MWP-CS229 | ce86233504fdb37e104a3944fd81d4606fbfa621 | [
"MIT"
] | 21 | 2021-02-16T07:46:36.000Z | 2022-03-23T13:41:33.000Z | from __future__ import absolute_import
from __future__ import print_function
from __future__ import division
from mwptoolkit.module.Decoder import ept_decoder,rnn_decoder,transformer_decoder,tree_decoder | 40.8 | 94 | 0.897059 | 27 | 204 | 6.111111 | 0.518519 | 0.181818 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 204 | 5 | 94 | 40.8 | 0.87766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc77d5c24012352b85cdf5acd2c4b4affbcea6f0 | 31,946 | py | Python | pymcr/tests/test_constraints.py | usnistgov/pyMCR | ad49381573c27a1e3502589f62f1817c988dcb13 | [
"Python-2.0"
] | 34 | 2019-04-17T08:15:55.000Z | 2022-02-25T18:12:03.000Z | pymcr/tests/test_constraints.py | usnistgov/pyMCR | ad49381573c27a1e3502589f62f1817c988dcb13 | [
"Python-2.0"
] | 21 | 2019-04-12T16:24:40.000Z | 2022-02-18T16:57:25.000Z | pymcr/tests/test_constraints.py | usnistgov/pyMCR | ad49381573c27a1e3502589f62f1817c988dcb13 | [
"Python-2.0"
] | 12 | 2019-04-15T14:07:58.000Z | 2021-11-24T09:40:28.000Z | """
Testing pymcr.constraints
"""
import numpy as np
from numpy.testing import assert_allclose
from pymcr.constraints import (ConstraintNonneg, ConstraintNorm,
ConstraintCumsumNonneg, ConstraintZeroEndPoints,
ConstraintZeroCumSumEndPoints, ConstraintComp... | 36.974537 | 108 | 0.577568 | 5,344 | 31,946 | 3.336639 | 0.037425 | 0.065392 | 0.072178 | 0.070215 | 0.883013 | 0.852504 | 0.828164 | 0.801694 | 0.771578 | 0.723964 | 0 | 0.098883 | 0.240562 | 31,946 | 863 | 109 | 37.017381 | 0.636083 | 0.110969 | 0 | 0.603978 | 0 | 0 | 0.000036 | 0 | 0 | 0 | 0 | 0 | 0.224231 | 1 | 0.048825 | false | 0 | 0.007233 | 0 | 0.056058 | 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 |
5d944f9e0d5e14bdc3d6a1d08da7d0716cf368d3 | 136 | py | Python | foxlink_clustering/hash_functions/type_converter.py | a-wars/AGIW_First_Project | 248664f5fa7c165646655d9df7242e010dc56bfe | [
"MIT"
] | null | null | null | foxlink_clustering/hash_functions/type_converter.py | a-wars/AGIW_First_Project | 248664f5fa7c165646655d9df7242e010dc56bfe | [
"MIT"
] | null | null | null | foxlink_clustering/hash_functions/type_converter.py | a-wars/AGIW_First_Project | 248664f5fa7c165646655d9df7242e010dc56bfe | [
"MIT"
] | null | null | null | def hex_msb_to_int(hex_string):
return int(hex_string[-2:], 16)
def bin_msb_to_int(bin_string):
return int(bin_string[-8:], 2) | 22.666667 | 35 | 0.713235 | 26 | 136 | 3.346154 | 0.423077 | 0.114943 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 0.139706 | 136 | 6 | 36 | 22.666667 | 0.700855 | 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 | 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 |
53bead8d8d313c02921e1bb0fa48a23ec730d544 | 34 | py | Python | boardStateDriver/tests/__init__.py | terpyPy/ButtonBox | 407fd54b3c8654e3fc3678858f121846c8ee32a2 | [
"MIT"
] | null | null | null | boardStateDriver/tests/__init__.py | terpyPy/ButtonBox | 407fd54b3c8654e3fc3678858f121846c8ee32a2 | [
"MIT"
] | null | null | null | boardStateDriver/tests/__init__.py | terpyPy/ButtonBox | 407fd54b3c8654e3fc3678858f121846c8ee32a2 | [
"MIT"
] | null | null | null | from .simMyBoard import simMyBoard | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 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 |
53c581cac8ea1a48cc419ccefcac5e7a5db94be5 | 4,941 | py | Python | autoprocess/utils/fitio.py | michel4j/auto-process | 9c011cef3cdc2fc55df31f9cac88c3e1074aa366 | [
"BSD-3-Clause"
] | null | null | null | autoprocess/utils/fitio.py | michel4j/auto-process | 9c011cef3cdc2fc55df31f9cac88c3e1074aa366 | [
"BSD-3-Clause"
] | null | null | null | autoprocess/utils/fitio.py | michel4j/auto-process | 9c011cef3cdc2fc55df31f9cac88c3e1074aa366 | [
"BSD-3-Clause"
] | null | null | null | import copy
import numpy
CALIB_TEMPLATE = """POWDER DIFFRACTION (2-D)
INPUT
{file_name}
O.K.
O.K.
TILT
X-PIXEL SIZE
{pixel_size:0.4f}
Y-PIXEL SIZE
{pixel_size:0.4f}
DISTANCE
{distance:0.4f}
WAVELENGTH
{wavelength:0.6f}
X-BEAM CENTRE
{beam_x:0.3f}
Y-BEAM CENTRE
{beam_y:0.3f}
TILT ROTATION
0
ANGLE OF TILT
0
DETECTOR RO... | 24.460396 | 98 | 0.582676 | 652 | 4,941 | 4.268405 | 0.184049 | 0.051743 | 0.057492 | 0.025871 | 0.790873 | 0.774344 | 0.750988 | 0.742364 | 0.742364 | 0.742364 | 0 | 0.033668 | 0.254604 | 4,941 | 201 | 99 | 24.58209 | 0.721966 | 0.214531 | 0 | 0.712329 | 0 | 0 | 0.394631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0 | 0.013699 | 0 | 0.027397 | 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 |
53dda0007ac8ced129bfc36696a38d33eab9b4d8 | 17,494 | py | Python | Fumagalli_Motta_Tarantino_2020/tests/Test_AdditionalModels.py | manuelbieri/Fumagalli_2020 | d3150b075f9c92b028c2aff2bcc2498b77c78877 | [
"MIT"
] | null | null | null | Fumagalli_Motta_Tarantino_2020/tests/Test_AdditionalModels.py | manuelbieri/Fumagalli_2020 | d3150b075f9c92b028c2aff2bcc2498b77c78877 | [
"MIT"
] | null | null | null | Fumagalli_Motta_Tarantino_2020/tests/Test_AdditionalModels.py | manuelbieri/Fumagalli_2020 | d3150b075f9c92b028c2aff2bcc2498b77c78877 | [
"MIT"
] | null | null | null | import Fumagalli_Motta_Tarantino_2020.tests.Test_Models as Test
import Fumagalli_Motta_Tarantino_2020 as FMT20
class TestMircoFoundationModel(Test.TestOptimalMergerPolicyModel):
def setUp(self) -> None:
self.calculate_properties_profits_consumer_surplus()
def setupModel(self, **kwargs) -> None:
... | 42.877451 | 86 | 0.688579 | 1,960 | 17,494 | 5.815816 | 0.078061 | 0.093956 | 0.060795 | 0.071585 | 0.87148 | 0.816124 | 0.778402 | 0.75182 | 0.730415 | 0.714098 | 0 | 0.025116 | 0.232994 | 17,494 | 407 | 87 | 42.982801 | 0.824415 | 0.007545 | 0 | 0.618132 | 0 | 0 | 0.024312 | 0 | 0 | 0 | 0 | 0.002457 | 0.315934 | 1 | 0.087912 | false | 0.005495 | 0.005495 | 0 | 0.118132 | 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 |
53f335d3ffcf59eb1b774f6378f3fb6ce85a283b | 183 | py | Python | Autostart/acconeerStreamingServerStart.py | Kandidatarbete-Chalmers-MCCX02-19-06/RaspberryPiRadarProgram | f5d69d9084d37246aaf0e0061b3353b86e8d59e3 | [
"MIT"
] | 7 | 2019-05-27T13:13:14.000Z | 2022-03-21T00:09:58.000Z | Autostart/acconeerStreamingServerStart.py | Kandidatarbete-Chalmers-MCCX02-19-06/Kandidatarbete-Chalmers-MCCX02-19-06 | f5d69d9084d37246aaf0e0061b3353b86e8d59e3 | [
"MIT"
] | 1 | 2020-02-04T08:32:16.000Z | 2020-05-26T17:44:11.000Z | Autostart/acconeerStreamingServerStart.py | Kandidatarbete-Chalmers-MCCX02-19-06/Kandidatarbete-Chalmers-MCCX02-19-06 | f5d69d9084d37246aaf0e0061b3353b86e8d59e3 | [
"MIT"
] | 1 | 2020-11-10T16:43:17.000Z | 2020-11-10T16:43:17.000Z | import subprocess # for Raspberry Pi shutdown
subprocess.call("./home/pi/Documents/evk_service_linux_armv7l_xc112/utils/acc_streaming_server_rpi_xc112_r2b_xr112_r2b_a111_r2c")
| 45.75 | 129 | 0.846995 | 27 | 183 | 5.259259 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.081967 | 183 | 3 | 130 | 61 | 0.75 | 0.136612 | 0 | 0 | 0 | 0 | 0.705128 | 0.705128 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
54e15f2a6edf7c0e89058680d06cba5a8e6f7da0 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/_vendor/pyparsing.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/pyparsing.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/pyparsing.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b8/a8/70/dc2f028c3726177a09361e80fe561853d7f361abf4a136a5be4197f151 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 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 |
54e1939e6b4b69f48d4f4532e833fa71ddb71dfc | 10,474 | py | Python | tests/test_rest_client.py | gbenson/google-photos-archiver | 85b0ffd2cca636b3a1690645a2442b2e2b431395 | [
"MIT"
] | 3 | 2021-06-28T16:39:25.000Z | 2022-03-07T21:43:34.000Z | tests/test_rest_client.py | gbenson/google-photos-archiver | 85b0ffd2cca636b3a1690645a2442b2e2b431395 | [
"MIT"
] | 3 | 2021-02-09T00:55:24.000Z | 2021-09-19T09:13:06.000Z | tests/test_rest_client.py | gbenson/google-photos-archiver | 85b0ffd2cca636b3a1690645a2442b2e2b431395 | [
"MIT"
] | 2 | 2021-04-10T20:18:15.000Z | 2021-09-08T11:10:51.000Z | import json
import pytest
from google_photos_archiver.album import create_album
from google_photos_archiver.media_item import create_media_item
from google_photos_archiver.rest_client import GooglePhotosApiRestClientError
from tests.conftest import MockFailureResponse, MockSuccessResponse, test_date_filter
class Te... | 36.750877 | 88 | 0.555375 | 974 | 10,474 | 5.553388 | 0.096509 | 0.084304 | 0.066556 | 0.084304 | 0.867258 | 0.844703 | 0.844703 | 0.828064 | 0.806988 | 0.786282 | 0 | 0.011714 | 0.35612 | 10,474 | 284 | 89 | 36.880282 | 0.790332 | 0 | 0 | 0.62069 | 0 | 0 | 0.151136 | 0.051843 | 0 | 0 | 0 | 0 | 0.061303 | 1 | 0.042146 | false | 0 | 0.022989 | 0 | 0.068966 | 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 |
54f65f6a668552792c2d03a9d0fa8379871ce4fb | 22 | py | Python | ibcspy/__init__.py | simfrep/ibcspy | 9ecd98e17f4f2b3af75a2d59306337e12772a3ee | [
"BSD-3-Clause"
] | null | null | null | ibcspy/__init__.py | simfrep/ibcspy | 9ecd98e17f4f2b3af75a2d59306337e12772a3ee | [
"BSD-3-Clause"
] | null | null | null | ibcspy/__init__.py | simfrep/ibcspy | 9ecd98e17f4f2b3af75a2d59306337e12772a3ee | [
"BSD-3-Clause"
] | null | null | null | from .ibcs import Ibcs | 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 |
0703fa7b2536887f988fc6704bd73451fa5167c0 | 23 | py | Python | misc/python/mango/mpiTest/__init__.py | pymango/pymango | b55f831f0194b214e746b2dfb4d9c6671a1abc38 | [
"BSD-2-Clause"
] | 3 | 2020-05-11T03:23:17.000Z | 2021-03-16T09:01:48.000Z | misc/python/mango/mpiTest/__init__.py | pymango/pymango | b55f831f0194b214e746b2dfb4d9c6671a1abc38 | [
"BSD-2-Clause"
] | null | null | null | misc/python/mango/mpiTest/__init__.py | pymango/pymango | b55f831f0194b214e746b2dfb4d9c6671a1abc38 | [
"BSD-2-Clause"
] | 2 | 2017-03-04T11:03:40.000Z | 2020-08-01T10:01:36.000Z | from .mpiTest import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 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 |
074cac1131ac9c8c57b8c92d7ac1512d578ebc4e | 226 | py | Python | run.py | larryworm1127/tic-tac-toe-python | 327b43d36948fc41ef9c902f40c7f67fab793b89 | [
"MIT"
] | null | null | null | run.py | larryworm1127/tic-tac-toe-python | 327b43d36948fc41ef9c902f40c7f67fab793b89 | [
"MIT"
] | null | null | null | run.py | larryworm1127/tic-tac-toe-python | 327b43d36948fc41ef9c902f40c7f67fab793b89 | [
"MIT"
] | null | null | null | """
Module that runs the entire game
"""
from ttt_game.ttt_gui import game_loop
from ttt_game.ttt_computer import get_move
from ttt_game.ttt_board import PLAYERO
if __name__ == '__main__':
game_loop(3, PLAYERO, get_move)
| 22.6 | 42 | 0.778761 | 38 | 226 | 4.157895 | 0.526316 | 0.132911 | 0.208861 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.141593 | 226 | 9 | 43 | 25.111111 | 0.809278 | 0.141593 | 0 | 0 | 0 | 0 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
0767ebf286546e88cbcd84c69868d5c0f801a9d6 | 17,483 | py | Python | tools/accuracy_checker/tests/test_dataset.py | Ohtani-y/open_model_zoo | 280b59fc6c00455889a1949c795558252fdad96f | [
"Apache-2.0"
] | 2 | 2019-08-20T15:30:19.000Z | 2020-09-01T15:16:33.000Z | tools/accuracy_checker/tests/test_dataset.py | Ohtani-y/open_model_zoo | 280b59fc6c00455889a1949c795558252fdad96f | [
"Apache-2.0"
] | 4 | 2020-05-22T17:30:43.000Z | 2021-08-02T07:33:16.000Z | tools/accuracy_checker/tests/test_dataset.py | Ohtani-y/open_model_zoo | 280b59fc6c00455889a1949c795558252fdad96f | [
"Apache-2.0"
] | 2 | 2021-06-25T06:18:58.000Z | 2021-08-04T10:05:32.000Z | """
Copyright (c) 2018-2021 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 44.943445 | 134 | 0.677973 | 1,859 | 17,483 | 6.088219 | 0.099516 | 0.073511 | 0.051953 | 0.06927 | 0.848471 | 0.823909 | 0.815427 | 0.80615 | 0.784591 | 0.759321 | 0 | 0.017973 | 0.223474 | 17,483 | 388 | 135 | 45.059278 | 0.815704 | 0.032489 | 0 | 0.637725 | 0 | 0 | 0.226415 | 0.133022 | 0 | 0 | 0 | 0 | 0.041916 | 1 | 0.07485 | false | 0 | 0.020958 | 0.002994 | 0.116766 | 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 |
4ad30246634ea79254fe4bc25c7c913443383401 | 242 | py | Python | core/views.py | Udantu/portfolio-v1 | 1fc1b88c1a76db24647555535baaceb16b563b6b | [
"MIT"
] | null | null | null | core/views.py | Udantu/portfolio-v1 | 1fc1b88c1a76db24647555535baaceb16b563b6b | [
"MIT"
] | null | null | null | core/views.py | Udantu/portfolio-v1 | 1fc1b88c1a76db24647555535baaceb16b563b6b | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request,"core/index.html")
def dashboard(request):
return render(request,"core/dashboard.html")
def about(request):
return render(request,"core/about.html")
| 22 | 48 | 0.743802 | 32 | 242 | 5.625 | 0.40625 | 0.216667 | 0.316667 | 0.433333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128099 | 242 | 10 | 49 | 24.2 | 0.853081 | 0 | 0 | 0 | 0 | 0 | 0.202479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ab033ca249b1daac30bde9c7af9c03d3eb3c21b4 | 10,415 | py | Python | tasks/nooisee/flask/ids_and_flags.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | 3 | 2021-03-30T06:27:58.000Z | 2021-04-03T17:56:35.000Z | tasks/nooisee/flask/ids_and_flags.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | tasks/nooisee/flask/ids_and_flags.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | ids = ['i2yctSSMGde1TjBIor4T', 'DZrIgOypvPqMctJS06O9', 'lH4uWfzCg1kFeULgUIVC', 'N9mUMmG8maidbCD0s4mV', 'PuqvlpXgaa5s42mZKE4j', 'CoRVyJtEoNE87xUoRqw0', '8uKC7RXAOBlOXdP7KVGl', '2cVvsSZY3QLRmoAYRFkL', '22enKTGqQwxga5RFQdus', 'Sw1vkSnYDQdEtOjTnfH0', 'S7mUlJwhAJhCFgxCOoAW', 'JkTjzY6JUEgo9G7tHciV', 'xn8irINr3sDQLIAb2CkI', '... | 5,207.5 | 5,608 | 0.807297 | 1,002 | 10,415 | 7.992016 | 0.404192 | 0.174825 | 0.34965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1667 | 0.038694 | 10,415 | 2 | 5,608 | 5,207.5 | 0.63314 | 0 | 0 | 0 | 0 | 0 | 0.844854 | 0.460829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab033f7fd0adcf79a8c4ffaaf0f55c56ae4ddd80 | 731 | py | Python | pybit/exceptions.py | Crypto-Currency-Projects/pybit | 7922348b8d96cd45a8427ad25889484369ecf344 | [
"MIT"
] | 1 | 2021-11-03T15:18:35.000Z | 2021-11-03T15:18:35.000Z | pybit/exceptions.py | Crypto-Currency-Projects/pybit | 7922348b8d96cd45a8427ad25889484369ecf344 | [
"MIT"
] | null | null | null | pybit/exceptions.py | Crypto-Currency-Projects/pybit | 7922348b8d96cd45a8427ad25889484369ecf344 | [
"MIT"
] | 1 | 2021-04-28T04:44:12.000Z | 2021-04-28T04:44:12.000Z | class FailedRequestError(Exception):
"""
Exception raised for failed requests.
Attributes:
message -- Explanation of the error.
status_code -- The code number returned.
"""
def __init__(self, message, status_code):
self.message = message
self.status_code = status_cod... | 27.074074 | 48 | 0.651163 | 77 | 731 | 5.87013 | 0.311688 | 0.176991 | 0.132743 | 0.119469 | 0.70354 | 0.70354 | 0.70354 | 0.70354 | 0.70354 | 0.70354 | 0 | 0 | 0.261286 | 731 | 26 | 49 | 28.115385 | 0.837037 | 0.381669 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
dba24157dda956605db711a4c9fc65ec2361fc98 | 2,155 | py | Python | epytope/Data/pssms/smm/mat/A_68_23_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_68_23_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_68_23_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_68_23_9 = {0: {'A': -0.009, 'C': -0.032, 'E': -0.07, 'D': 0.0, 'G': -0.009, 'F': -0.042, 'I': 0.0, 'H': 0.025, 'K': 0.112, 'M': -0.027, 'L': 0.129, 'N': 0.0, 'Q': 0.0, 'P': 0.0, 'S': -0.071, 'R': 0.005, 'T': 0.016, 'W': -0.041, 'V': 0.0, 'Y': 0.013}, 1: {'A': -0.161, 'C': 0.0, 'E': 0.243, 'D': 0.0, 'G': 0.267, 'F': 0... | 2,155 | 2,155 | 0.354524 | 557 | 2,155 | 1.366248 | 0.193896 | 0.194481 | 0.027595 | 0.036794 | 0.396846 | 0.266754 | 0.266754 | 0.266754 | 0.208936 | 0.208936 | 0 | 0.323793 | 0.173086 | 2,155 | 1 | 2,155 | 2,155 | 0.103255 | 0 | 0 | 0 | 0 | 0 | 0.084879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbba3937a50a7825512a04f16d6c5eac3d2e530b | 21 | py | Python | blesuite/replay/btsnoop/btsnoop/__init__.py | jreynders/BLESuite-1 | 1c3c15fc2d4e30c3f9c1a15e0268cae84685784b | [
"MIT"
] | 198 | 2016-08-04T05:45:38.000Z | 2022-02-17T08:30:58.000Z | blesuite/replay/btsnoop/btsnoop/__init__.py | jreynders/BLESuite-1 | 1c3c15fc2d4e30c3f9c1a15e0268cae84685784b | [
"MIT"
] | 13 | 2018-02-04T14:16:16.000Z | 2020-10-09T02:16:24.000Z | blesuite/replay/btsnoop/btsnoop/__init__.py | jreynders/BLESuite-1 | 1c3c15fc2d4e30c3f9c1a15e0268cae84685784b | [
"MIT"
] | 57 | 2016-08-08T04:24:04.000Z | 2022-01-24T08:43:02.000Z | from . import btsnoop | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
91acdaa9b641fa37cb32734abc3b596e6e494ffb | 287 | py | Python | aiger/__init__.py | sjunges/py-aiger | 8a971bc2ab983ee57115c64964d41135ca444048 | [
"MIT"
] | 19 | 2018-04-24T16:40:24.000Z | 2021-12-11T15:48:30.000Z | aiger/__init__.py | sjunges/py-aiger | 8a971bc2ab983ee57115c64964d41135ca444048 | [
"MIT"
] | 95 | 2018-05-09T00:13:53.000Z | 2021-03-03T22:26:02.000Z | aiger/__init__.py | sjunges/py-aiger | 8a971bc2ab983ee57115c64964d41135ca444048 | [
"MIT"
] | 5 | 2018-04-24T22:42:30.000Z | 2021-07-12T19:09:41.000Z | # flake8: noqa
from aiger.aig import AIG, to_aig
from aiger.common import and_gate, or_gate, bit_flipper, source, sink
from aiger.common import tee, empty, identity, delay, parity_gate
from aiger.parser import *
from aiger.expr import atom, atoms, ite, BoolExpr
from aiger.lazy import *
| 35.875 | 69 | 0.787456 | 47 | 287 | 4.702128 | 0.574468 | 0.244344 | 0.135747 | 0.190045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 0.135889 | 287 | 7 | 70 | 41 | 0.887097 | 0.041812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91b1eb9b7bf0ca0e60d41a831b5874f4cd864e34 | 17 | py | Python | readbin/settings/local.example.py | asnelzin/readbin | 1b546f71955cf5753d63aaf7d7fda0d466fc1332 | [
"MIT"
] | null | null | null | readbin/settings/local.example.py | asnelzin/readbin | 1b546f71955cf5753d63aaf7d7fda0d466fc1332 | [
"MIT"
] | null | null | null | readbin/settings/local.example.py | asnelzin/readbin | 1b546f71955cf5753d63aaf7d7fda0d466fc1332 | [
"MIT"
] | null | null | null | from dev import * | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 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 |
91bf4650e62d672a4ce1360897e332b5c639afe0 | 254 | py | Python | python/federatedml/ensemble/boosting/boosting_core/__init__.py | hubert-he/FATE | 6758e150bd7ca7d6f788f9a7a8c8aea7e6500363 | [
"Apache-2.0"
] | 3,787 | 2019-08-30T04:55:10.000Z | 2022-03-31T23:30:07.000Z | python/federatedml/ensemble/boosting/boosting_core/__init__.py | JavaGreenHands/FATE | ea1e94b6be50c70c354d1861093187e523af32f2 | [
"Apache-2.0"
] | 1,439 | 2019-08-29T16:35:52.000Z | 2022-03-31T11:55:31.000Z | python/federatedml/ensemble/boosting/boosting_core/__init__.py | JavaGreenHands/FATE | ea1e94b6be50c70c354d1861093187e523af32f2 | [
"Apache-2.0"
] | 1,179 | 2019-08-29T16:18:32.000Z | 2022-03-31T12:55:38.000Z | from federatedml.ensemble.boosting.boosting_core.boosting import Boosting
from federatedml.ensemble.boosting.boosting_core.hetero_boosting import HeteroBoostingGuest, HeteroBoostingHost
__all__ = ["Boosting", "HeteroBoostingGuest", "HeteroBoostingHost"] | 63.5 | 111 | 0.866142 | 24 | 254 | 8.875 | 0.416667 | 0.140845 | 0.215962 | 0.29108 | 0.403756 | 0.403756 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055118 | 254 | 4 | 112 | 63.5 | 0.8875 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91d1dc8c2e5db3f6200ebe0a47389b37dab1c440 | 35 | py | Python | dvcli/__main__.py | gdcc/dvcli | 25aabb31db631208411d3cdfefcabe13201bbe9a | [
"Apache-2.0"
] | 2 | 2020-02-08T12:59:31.000Z | 2020-02-10T15:22:29.000Z | dvcli/__main__.py | GlobalDataverseCommunityConsortium/dvcli | 25aabb31db631208411d3cdfefcabe13201bbe9a | [
"Apache-2.0"
] | 4 | 2020-02-08T13:13:01.000Z | 2020-07-22T20:17:46.000Z | dvcli/__main__.py | GlobalDataverseCommunityConsortium/dvcli | 25aabb31db631208411d3cdfefcabe13201bbe9a | [
"Apache-2.0"
] | null | null | null | import dvcli.cli
dvcli.cli.main()
| 8.75 | 16 | 0.742857 | 6 | 35 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 3 | 17 | 11.666667 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
37d194e701a0ee6320debc0b91b8af97a9e48721 | 85,688 | py | Python | notebooks/Tests_IDE.py | CFARS/TACT | 1b2bbf1f9d0a45cff232ec447286419faac66b58 | [
"BSD-3-Clause"
] | 1 | 2022-03-23T11:50:53.000Z | 2022-03-23T11:50:53.000Z | notebooks/Tests_IDE.py | CFARS/TACT | 1b2bbf1f9d0a45cff232ec447286419faac66b58 | [
"BSD-3-Clause"
] | 4 | 2021-12-18T04:01:41.000Z | 2022-03-10T16:13:18.000Z | notebooks/Tests_IDE.py | CFARS/TACT | 1b2bbf1f9d0a45cff232ec447286419faac66b58 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Dec 30 11:25:35 2021
@author: AHBL
"""
import os
import openpyxl
from TACT.readers.config import Config
from TACT.readers.data import Data
"""parser get_input_files"""
example_path = "C:/GitHub/site_suitability_tool/Example/"
config = Config(
input_filename=example_pat... | 55.786458 | 244 | 0.617321 | 9,201 | 85,688 | 5.403652 | 0.041735 | 0.028158 | 0.066373 | 0.037712 | 0.832076 | 0.791508 | 0.755325 | 0.731752 | 0.717693 | 0.686558 | 0 | 0.009612 | 0.27033 | 85,688 | 1,535 | 245 | 55.822801 | 0.785586 | 0.051524 | 0 | 0.599522 | 0 | 0 | 0.140707 | 0.002276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.046975 | 0.003185 | 0 | 0.003185 | 0.090764 | 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 |
53481025b49fb6f705e4c00b2eac06c755bfbeb3 | 410 | py | Python | stonesoup/sensormanager/__init__.py | n0wis/Stone-Soup | 84d14a597d6e0450eb4f2972d7087368ae768cd8 | [
"MIT"
] | 1 | 2021-12-02T00:17:21.000Z | 2021-12-02T00:17:21.000Z | stonesoup/sensormanager/__init__.py | n0wis/Stone-Soup | 84d14a597d6e0450eb4f2972d7087368ae768cd8 | [
"MIT"
] | null | null | null | stonesoup/sensormanager/__init__.py | n0wis/Stone-Soup | 84d14a597d6e0450eb4f2972d7087368ae768cd8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .base import SensorManager, RandomSensorManager, BruteForceSensorManager
from .optimise import _OptimizeSensorManager, OptimizeBruteSensorManager, \
OptimizeBasinHoppingSensorManager
__all__ = ['SensorManager', 'RandomSensorManager', 'BruteForceSensorManager',
'_OptimizeSens... | 45.555556 | 77 | 0.782927 | 22 | 410 | 14.318182 | 0.636364 | 0.203175 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002801 | 0.129268 | 410 | 8 | 78 | 51.25 | 0.879552 | 0.05122 | 0 | 0 | 0 | 0 | 0.351421 | 0.268734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
725e53797370f0a5b727453d511fee8c64b51775 | 229 | py | Python | mlrun/frameworks/onnx/__init__.py | hayesgb/mlrun | 9a8b469b37d7d74f2d04dc956b2966f88fe4e890 | [
"Apache-2.0"
] | null | null | null | mlrun/frameworks/onnx/__init__.py | hayesgb/mlrun | 9a8b469b37d7d74f2d04dc956b2966f88fe4e890 | [
"Apache-2.0"
] | null | null | null | mlrun/frameworks/onnx/__init__.py | hayesgb/mlrun | 9a8b469b37d7d74f2d04dc956b2966f88fe4e890 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa - this is until we take care of the F401 violations with respect to __all__ & sphinx
from mlrun.frameworks.onnx.model_handler import ONNXModelHandler
from mlrun.frameworks.onnx.model_server import ONNXModelServer
| 57.25 | 100 | 0.829694 | 33 | 229 | 5.575758 | 0.818182 | 0.097826 | 0.206522 | 0.25 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.126638 | 229 | 3 | 101 | 76.333333 | 0.9 | 0.427948 | 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 |
72681b5fed4c36c3fc5b0e3587b61fcc54ea2bc9 | 205 | py | Python | app/utils/__init__.py | ta4tsering/pyrrha-bo | d5afbe4b37d4d2ad5b5bb4129b1dccaeb50c9b17 | [
"MIT"
] | 1 | 2020-08-30T04:36:25.000Z | 2020-08-30T04:36:25.000Z | app/utils/__init__.py | ta4tsering/pyrrha-bo | d5afbe4b37d4d2ad5b5bb4129b1dccaeb50c9b17 | [
"MIT"
] | null | null | null | app/utils/__init__.py | ta4tsering/pyrrha-bo | d5afbe4b37d4d2ad5b5bb4129b1dccaeb50c9b17 | [
"MIT"
] | 1 | 2020-08-30T04:33:07.000Z | 2020-08-30T04:33:07.000Z | from .pagination import int_or
from .tsv import StringDictReader
from .forms import string_to_none
class PyrrhaError(Exception):
"""Raised when errors specific to this application occur."""
pass
| 22.777778 | 64 | 0.77561 | 27 | 205 | 5.777778 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160976 | 205 | 8 | 65 | 25.625 | 0.906977 | 0.263415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
729f7072199d2bf5b4f014bf6e45c79c7f25b1b7 | 58 | py | Python | python/code_challenges/depth_first/test_depth_first.py | dina-fouad/data-structures-and-algorithms | 53204f1c6d841ffe00849ff5f0fd0cd0469b6469 | [
"MIT"
] | null | null | null | python/code_challenges/depth_first/test_depth_first.py | dina-fouad/data-structures-and-algorithms | 53204f1c6d841ffe00849ff5f0fd0cd0469b6469 | [
"MIT"
] | 9 | 2021-08-01T19:29:35.000Z | 2021-09-05T19:58:03.000Z | python/code_challenges/depth_first/test_depth_first.py | dina-fouad/data-structures-and-algorithms | 53204f1c6d841ffe00849ff5f0fd0cd0469b6469 | [
"MIT"
] | null | null | null | from depth_first.depth_first import graphs
import pytest
| 14.5 | 42 | 0.862069 | 9 | 58 | 5.333333 | 0.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 3 | 43 | 19.333333 | 0.941176 | 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 |
72c589668c22b19c061a7ea2fffc4554eb28a24c | 104,347 | py | Python | librespot/proto/playlist4_external_pb2.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | null | null | null | librespot/proto/playlist4_external_pb2.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | null | null | null | librespot/proto/playlist4_external_pb2.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: playlist4_external.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from go... | 34.066928 | 7,415 | 0.606103 | 10,434 | 104,347 | 5.739218 | 0.04217 | 0.048895 | 0.084081 | 0.073493 | 0.785515 | 0.759197 | 0.701184 | 0.664279 | 0.655294 | 0.648615 | 0 | 0.040578 | 0.297383 | 104,347 | 3,062 | 7,416 | 34.078054 | 0.776202 | 0.020844 | 0 | 0.796565 | 1 | 0.003368 | 0.143475 | 0.113789 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001684 | 0 | 0.001684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72d3e01b930ae464ceb3638840f9b8c358e041e2 | 867 | py | Python | source/libs/name_validator/test_name.py | eaxr/elasticsearch-cli | 4eae551d8099f02a30443749eae09efbb636ea57 | [
"MIT"
] | 4 | 2019-07-13T13:29:31.000Z | 2021-04-01T10:05:25.000Z | source/libs/name_validator/test_name.py | eaxr/elasticsearch-cli | 4eae551d8099f02a30443749eae09efbb636ea57 | [
"MIT"
] | null | null | null | source/libs/name_validator/test_name.py | eaxr/elasticsearch-cli | 4eae551d8099f02a30443749eae09efbb636ea57 | [
"MIT"
] | 4 | 2019-08-21T15:59:37.000Z | 2021-04-01T11:48:41.000Z | from .name_valid import name_validator
def name_validator_all():
assert name_validator('all') == 'all'
def name_validator_pri():
assert name_validator('primaries') == 'primaries'
def name_validator_new_pri():
assert status_validator('new_primaries') == 'new_primaries'
def name_validator_disable():
... | 20.642857 | 63 | 0.72203 | 107 | 867 | 5.523364 | 0.224299 | 0.285956 | 0.270728 | 0.115059 | 0.274112 | 0.274112 | 0.172589 | 0.172589 | 0.172589 | 0 | 0 | 0.004093 | 0.154556 | 867 | 41 | 64 | 21.146341 | 0.802183 | 0 | 0 | 0 | 0 | 0 | 0.177624 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.47619 | true | 0 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
72d5e417e66cd05869e503de5ad74006b12049e9 | 134 | py | Python | tests/missing_data/test_missing_data_air_passengers_DiscardRow_Mean.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/missing_data/test_missing_data_air_passengers_DiscardRow_Mean.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/missing_data/test_missing_data_air_passengers_DiscardRow_Mean.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.missing_data.test_missing_data_air_passengers_generic as gen
gen.test_air_passengers_missing_data('DiscardRow', 'Mean')
| 33.5 | 73 | 0.873134 | 20 | 134 | 5.35 | 0.6 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 134 | 3 | 74 | 44.666667 | 0.84252 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
72fcf6ddcb511b287bf1779d8fe6b26d4e961e9a | 214 | py | Python | tests/performance/datasets/__init__.py | sarahmish/RDT | ca639dc1eeae5f1bb9f78e8b163659680ce627e3 | [
"MIT"
] | 1 | 2021-07-29T20:38:26.000Z | 2021-07-29T20:38:26.000Z | tests/performance/datasets/__init__.py | sarahmish/RDT | ca639dc1eeae5f1bb9f78e8b163659680ce627e3 | [
"MIT"
] | null | null | null | tests/performance/datasets/__init__.py | sarahmish/RDT | ca639dc1eeae5f1bb9f78e8b163659680ce627e3 | [
"MIT"
] | null | null | null | from tests.performance.datasets.base import BaseDatasetGenerator
from tests.performance.datasets.numerical import RandomNumericalGenerator
__all__ = [
'BaseDatasetGenerator',
'RandomNumericalGenerator',
]
| 26.75 | 73 | 0.82243 | 17 | 214 | 10.117647 | 0.588235 | 0.104651 | 0.232558 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107477 | 214 | 7 | 74 | 30.571429 | 0.900524 | 0 | 0 | 0 | 0 | 0 | 0.205607 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f41fd2c4542878bf9f59f46e199991bdf9832653 | 168 | py | Python | interactive/dashboard/import.py | mattldawson/music-box-interactive | 6b2610b4f0f255f0e78e23628dc7ba6cc844d0f4 | [
"Apache-2.0"
] | 4 | 2020-07-20T17:18:51.000Z | 2022-03-17T19:08:24.000Z | interactive/dashboard/import.py | mattldawson/music-box-interactive | 6b2610b4f0f255f0e78e23628dc7ba6cc844d0f4 | [
"Apache-2.0"
] | 174 | 2020-07-30T16:47:53.000Z | 2022-03-29T17:54:54.000Z | interactive/dashboard/import.py | mattldawson/music-box-interactive | 6b2610b4f0f255f0e78e23628dc7ba6cc844d0f4 | [
"Apache-2.0"
] | 1 | 2021-01-05T22:42:55.000Z | 2021-01-05T22:42:55.000Z | import json
# with open('/Users/simonthomas/music-box-interactive/interactive/dashboard/static/config/my_config.json') as f:
# data = json.loads(f.read())
#
#
| 24 | 112 | 0.708333 | 23 | 168 | 5.130435 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 168 | 6 | 113 | 28 | 0.808219 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f42e22df2302765de18ac04f6e6758919e0166f5 | 36 | py | Python | pstraw/__init__.py | MJJBennett/pstraw | 1bc7f4d3ffa8f52534b790dfa8c9993277203b37 | [
"MIT"
] | null | null | null | pstraw/__init__.py | MJJBennett/pstraw | 1bc7f4d3ffa8f52534b790dfa8c9993277203b37 | [
"MIT"
] | null | null | null | pstraw/__init__.py | MJJBennett/pstraw | 1bc7f4d3ffa8f52534b790dfa8c9993277203b37 | [
"MIT"
] | null | null | null | from .pstraw import get, post, Poll
| 18 | 35 | 0.75 | 6 | 36 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 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 |
f44c302fc61a4f5221ac1bfc01b542c400294507 | 199 | py | Python | psono/administration/tests/__init__.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | psono/administration/tests/__init__.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | psono/administration/tests/__init__.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | from .duo import *
from .ga import *
from .yubikey import *
from .user import *
from .session import *
from .info import *
from .group import *
from .membership import *
from .recovery_code import *
| 19.9 | 28 | 0.728643 | 28 | 199 | 5.142857 | 0.428571 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180905 | 199 | 9 | 29 | 22.111111 | 0.883436 | 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 |
f45499d421bd9a2271ad9917d9894b9125f0c578 | 40 | py | Python | Python_Bootcamp/src/MyMainPackage/some main myprogramm.py | sudhirln92/Udemy_Courses_ML | 2226177430a54e75541c4ac1e76e9eb2620cdae4 | [
"MIT"
] | null | null | null | Python_Bootcamp/src/MyMainPackage/some main myprogramm.py | sudhirln92/Udemy_Courses_ML | 2226177430a54e75541c4ac1e76e9eb2620cdae4 | [
"MIT"
] | null | null | null | Python_Bootcamp/src/MyMainPackage/some main myprogramm.py | sudhirln92/Udemy_Courses_ML | 2226177430a54e75541c4ac1e76e9eb2620cdae4 | [
"MIT"
] | 1 | 2018-02-18T14:49:44.000Z | 2018-02-18T14:49:44.000Z | from mymodule import my_func
my_func() | 13.333333 | 29 | 0.8 | 7 | 40 | 4.285714 | 0.714286 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 3 | 30 | 13.333333 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fe2e833ea90596a5ae75f0341206c15578e8608f | 60 | py | Python | blog_01/__init__.py | Noah-Smith-wgp/blog_01 | ab5fd3c3b2f47a939c2215de0509658bfa6abec0 | [
"MIT"
] | null | null | null | blog_01/__init__.py | Noah-Smith-wgp/blog_01 | ab5fd3c3b2f47a939c2215de0509658bfa6abec0 | [
"MIT"
] | 7 | 2021-01-06T20:08:25.000Z | 2022-02-27T09:54:45.000Z | hsx_01/meiduo_mall/meiduo_mall/__init__.py | hsx9527/test01 | 06cd5886af8707dd3c18da7b96cb0192b5c7e861 | [
"MIT"
] | null | null | null | from pymysql import install_as_MySQLdb
install_as_MySQLdb()
| 20 | 38 | 0.883333 | 9 | 60 | 5.444444 | 0.666667 | 0.367347 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 60 | 2 | 39 | 30 | 0.890909 | 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 |
fe4529f015583dbb8f029693fbf67f0b33c4102d | 474 | py | Python | thumbor_extras/detectors/tests/conftest.py | imaus10/thumbor_extras | f58180c20b158944c428287bdc36715454ac88ea | [
"MIT"
] | null | null | null | thumbor_extras/detectors/tests/conftest.py | imaus10/thumbor_extras | f58180c20b158944c428287bdc36715454ac88ea | [
"MIT"
] | 1 | 2022-01-24T01:58:52.000Z | 2022-01-24T01:58:52.000Z | thumbor_extras/detectors/tests/conftest.py | imaus10/thumbor_extras | f58180c20b158944c428287bdc36715454ac88ea | [
"MIT"
] | null | null | null | import pytest
from thumbor_extras.detectors.tests.helpers import github_image_fixture
@pytest.fixture
def face_image_context():
return github_image_fixture('Giunchedi%252C_Filippo_January_2015_01.jpg')
@pytest.fixture
def gray_face_image_context():
return github_image_fixture('Giunchedi%252C_Filippo_January_2... | 31.6 | 87 | 0.843882 | 67 | 474 | 5.537313 | 0.373134 | 0.118598 | 0.19407 | 0.177898 | 0.590297 | 0.590297 | 0.590297 | 0.590297 | 0.590297 | 0.590297 | 0 | 0.061644 | 0.075949 | 474 | 14 | 88 | 33.857143 | 0.785388 | 0 | 0 | 0.272727 | 0 | 0 | 0.297468 | 0.297468 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fe4da77ddeb659dabc2f7d09609bca9104bebcea | 9,423 | py | Python | 17B-162/HI/imaging/check_flux_recovery.py | e-koch/VLA_Lband | 8fca7b2de0b88ce5c5011b34bf3936c69338d0b0 | [
"MIT"
] | 1 | 2021-03-08T23:19:12.000Z | 2021-03-08T23:19:12.000Z | 17B-162/HI/imaging/check_flux_recovery.py | e-koch/VLA_Lband | 8fca7b2de0b88ce5c5011b34bf3936c69338d0b0 | [
"MIT"
] | null | null | null | 17B-162/HI/imaging/check_flux_recovery.py | e-koch/VLA_Lband | 8fca7b2de0b88ce5c5011b34bf3936c69338d0b0 | [
"MIT"
] | null | null | null |
'''
Script to compare the flux recovered in the interferometer cube, the SD cube,
and (optionally) the feathered cube.
'''
import numpy as np
from spectral_cube import (SpectralCube, OneDSpectrum,)
from spectral_cube.lower_dimensional_structures import \
(VaryingResolutionOneDSpectrum)
import os
import astropy.io... | 40.44206 | 158 | 0.677491 | 1,362 | 9,423 | 4.353157 | 0.137298 | 0.028841 | 0.040479 | 0.023613 | 0.843481 | 0.830832 | 0.805195 | 0.792882 | 0.781413 | 0.781413 | 0 | 0.026695 | 0.212883 | 9,423 | 232 | 159 | 40.616379 | 0.772684 | 0.068237 | 0 | 0.654762 | 0 | 0 | 0.172831 | 0.123858 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0.035714 | 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 |
fe76b6c1cfb6c666ec3477fc3a40e2bad382895b | 3,783 | py | Python | ssm_spline/tests/test_basics.py | cunningham-lab/monotonic-flds | 57c70b0f1e18bd3329a948cf4ebfc22242f97207 | [
"BSD-3-Clause"
] | 1 | 2020-01-22T00:35:34.000Z | 2020-01-22T00:35:34.000Z | ssm_spline/tests/test_basics.py | cunningham-lab/monotonic-flds | 57c70b0f1e18bd3329a948cf4ebfc22242f97207 | [
"BSD-3-Clause"
] | null | null | null | ssm_spline/tests/test_basics.py | cunningham-lab/monotonic-flds | 57c70b0f1e18bd3329a948cf4ebfc22242f97207 | [
"BSD-3-Clause"
] | 1 | 2019-12-29T23:42:49.000Z | 2019-12-29T23:42:49.000Z | import autograd.numpy as np
import autograd.numpy.random as npr
from ssm.models import HMM
def test_hmm_likelihood(T=500, K=5, D=2):
# Create a true HMM
A = npr.rand(K, K)
A /= A.sum(axis=1, keepdims=True)
A = 0.75 * np.eye(K) + 0.25 * A
C = npr.randn(K, D)
sigma = 0.01
# Sample from the ... | 30.756098 | 80 | 0.606661 | 643 | 3,783 | 3.468118 | 0.167963 | 0.008969 | 0.021525 | 0.012108 | 0.733184 | 0.733184 | 0.733184 | 0.733184 | 0.733184 | 0.733184 | 0 | 0.025451 | 0.252181 | 3,783 | 123 | 81 | 30.756098 | 0.762814 | 0.080624 | 0 | 0.711111 | 0 | 0 | 0.012983 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 1 | 0.044444 | false | 0 | 0.1 | 0 | 0.144444 | 0.044444 | 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 |
feabd7ef9f83006e312a8b610160b37edbdf10f3 | 32,916 | py | Python | win/devkit/other/pymel/extras/completion/py/pymel/internal/pmcmds.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 10 | 2018-03-30T16:09:02.000Z | 2021-12-07T07:29:19.000Z | win/devkit/other/pymel/extras/completion/py/pymel/internal/pmcmds.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | null | null | null | win/devkit/other/pymel/extras/completion/py/pymel/internal/pmcmds.py | leegoonz/Maya-devkit | b81fe799b58e854e4ef16435426d60446e975871 | [
"ADSL"
] | 9 | 2018-06-02T09:18:49.000Z | 2021-12-20T09:24:35.000Z | """
There are a number of pymel objects which must be converted to a "mel-friendly"
representation. For example, in versions prior to 2009, some mel commands (ie, getAttr) which expect
string arguments will simply reject custom classes, even if they have a valid string representation.
Another Example is mel's matrix in... | 12.501329 | 130 | 0.641633 | 3,762 | 32,916 | 5.570175 | 0.220362 | 0.212789 | 0.419566 | 0.508661 | 0.152517 | 0.011978 | 0.006156 | 0.006156 | 0 | 0 | 0 | 0.000661 | 0.218769 | 32,916 | 2,632 | 131 | 12.506079 | 0.814233 | 0.078624 | 0 | 0.496498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.496498 | false | 0.496498 | 0.006226 | 0 | 0.502724 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
22a55f9f496401a3d75e8f5777a4a0b0ce2719bf | 61 | py | Python | reddata/__init__.py | WMDA/social-media-analysis | 2ab7d4c1c2be1dfb8ba8820fb013ae1be2ffbc4e | [
"MIT"
] | 1 | 2020-05-25T14:10:33.000Z | 2020-05-25T14:10:33.000Z | reddata/__init__.py | WMDA/social-media-analysis | 2ab7d4c1c2be1dfb8ba8820fb013ae1be2ffbc4e | [
"MIT"
] | 18 | 2020-05-27T18:21:12.000Z | 2020-06-13T16:56:47.000Z | reddata/__init__.py | WMDA/social-media-analysis | 2ab7d4c1c2be1dfb8ba8820fb013ae1be2ffbc4e | [
"MIT"
] | null | null | null | from reddata.function import *
from reddata.reddit import *
| 15.25 | 30 | 0.786885 | 8 | 61 | 6 | 0.625 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 61 | 3 | 31 | 20.333333 | 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 | 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 |
22cdedf320f9a28fb9a273784eb04ae4dcade850 | 5,731 | py | Python | reconstruction/common/mytorch/loss/test_loss.py | khammernik/sigmanet | 6eb8dbd1ee350bb9baee60eb254080f7d660bbc5 | [
"MIT"
] | 50 | 2019-12-21T01:09:28.000Z | 2022-01-25T03:40:06.000Z | reconstruction/common/mytorch/loss/test_loss.py | cq615/sigmanet | 6eb8dbd1ee350bb9baee60eb254080f7d660bbc5 | [
"MIT"
] | 6 | 2020-02-12T04:34:32.000Z | 2022-03-12T00:08:55.000Z | reconstruction/common/mytorch/loss/test_loss.py | cq615/sigmanet | 6eb8dbd1ee350bb9baee60eb254080f7d660bbc5 | [
"MIT"
] | 15 | 2019-12-21T02:27:28.000Z | 2021-08-16T11:36:49.000Z | """
Copyright (c) 2019 Imperial College London.
Copyright (c) Facebook, Inc. and its affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
"""
import numpy as np
import pytest
import torch
import common.mytorch.loss as loss
from common im... | 29.541237 | 69 | 0.664456 | 887 | 5,731 | 4.087937 | 0.11274 | 0.079426 | 0.091009 | 0.103144 | 0.809708 | 0.784611 | 0.784611 | 0.762824 | 0.753999 | 0.753999 | 0 | 0.063208 | 0.199442 | 5,731 | 193 | 70 | 29.694301 | 0.727114 | 0.037166 | 0 | 0.691781 | 0 | 0 | 0.004719 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 1 | 0.061644 | false | 0 | 0.041096 | 0 | 0.109589 | 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 |
22dbd06db47b39bd6040ef579a87218b1e944d2f | 188 | py | Python | census_similarity/commands/__init__.py | 18F/census-similarity | 1af03a7fc9fc865b037abcb460386fb9b73bc103 | [
"CC0-1.0"
] | 1 | 2016-09-28T16:02:58.000Z | 2016-09-28T16:02:58.000Z | census_similarity/commands/__init__.py | 18F/census-similarity | 1af03a7fc9fc865b037abcb460386fb9b73bc103 | [
"CC0-1.0"
] | 11 | 2016-09-26T18:44:18.000Z | 2016-10-15T23:30:41.000Z | census_similarity/commands/__init__.py | 18F/census-similarity | 1af03a7fc9fc865b037abcb460386fb9b73bc103 | [
"CC0-1.0"
] | 3 | 2016-09-28T10:02:17.000Z | 2021-02-15T09:58:33.000Z | import logging
from .cluster_by_field import cluster_by_field # noqa
from .group_by import group_by # noqa
from .lookup import lookup # noqa
logging.basicConfig(level=logging.DEBUG)
| 20.888889 | 54 | 0.797872 | 28 | 188 | 5.142857 | 0.428571 | 0.125 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143617 | 188 | 8 | 55 | 23.5 | 0.89441 | 0.074468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
22fbd65009c0e9985357b5b62b1d501c7bf3ad5f | 38 | py | Python | medimodule/Liver/__init__.py | daeun02/MI2RLNet | 55f32e3908dc1d5fa6100f9d9fccd23a2636adbb | [
"Apache-2.0"
] | null | null | null | medimodule/Liver/__init__.py | daeun02/MI2RLNet | 55f32e3908dc1d5fa6100f9d9fccd23a2636adbb | [
"Apache-2.0"
] | null | null | null | medimodule/Liver/__init__.py | daeun02/MI2RLNet | 55f32e3908dc1d5fa6100f9d9fccd23a2636adbb | [
"Apache-2.0"
] | null | null | null | from .module import LiverSegmentation
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3a8f57d92e850e27ac94777cfc71d10dd9aa784 | 27 | py | Python | base/test-show-scope/func-args-4.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 25 | 2015-04-16T04:31:49.000Z | 2022-03-10T15:53:28.000Z | base/test-show-scope/func-args-4.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2018-11-21T22:40:02.000Z | 2018-11-26T17:53:11.000Z | base/test-show-scope/func-args-4.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2021-03-26T03:36:19.000Z | 2021-03-26T03:36:19.000Z | x = 7
def f(y):
return x
| 5.4 | 9 | 0.518519 | 7 | 27 | 2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.333333 | 27 | 4 | 10 | 6.75 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a3f3ae3959564175f5b7913ca1c91da3cf6e273d | 27 | py | Python | tests/unit/test_client.py | charlesvardeman/smartcontainers_cfv | 141fd85d6fe7feb2c502ae9102ac53dafe9844a4 | [
"Apache-2.0"
] | 1 | 2016-06-07T01:01:51.000Z | 2016-06-07T01:01:51.000Z | tests/unit/test_client.py | charlesvardeman/smartcontainers_cfv | 141fd85d6fe7feb2c502ae9102ac53dafe9844a4 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_client.py | charlesvardeman/smartcontainers_cfv | 141fd85d6fe7feb2c502ae9102ac53dafe9844a4 | [
"Apache-2.0"
] | null | null | null | import pytest
import os
#
| 5.4 | 13 | 0.740741 | 4 | 27 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 4 | 14 | 6.75 | 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 |
4a84b60a09bb42947fd090715ce5cd60fb0755a3 | 70 | py | Python | recognition/ocr/angle/__init__.py | kalenforn/MMVA | 1e4ec5417d4497a14f226fab8a66fe065a9f0f65 | [
"MIT"
] | 4 | 2021-12-16T08:17:49.000Z | 2022-03-12T10:14:50.000Z | recognition/ocr/angle/__init__.py | kalenforn/video-content-clean | 4b6e572ec034fbe2e668c250cff8e1c9a13dd0e0 | [
"MIT"
] | null | null | null | recognition/ocr/angle/__init__.py | kalenforn/video-content-clean | 4b6e572ec034fbe2e668c250cff8e1c9a13dd0e0 | [
"MIT"
] | 1 | 2021-12-14T08:17:41.000Z | 2021-12-14T08:17:41.000Z | from .angleHandler import AngleHandler, LABEL_MAP_DICT, ROTAE_MAP_DICT | 70 | 70 | 0.885714 | 10 | 70 | 5.8 | 0.7 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 1 | 70 | 70 | 0.892308 | 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 |
436d3105abbbc9960c9c7c94f4065154cd6388a3 | 160 | py | Python | Modulo10/operaciones.py | chemross/practica3 | ca8ce3eeb49e5e8648d9d10a058b1df56dbde047 | [
"Apache-2.0"
] | null | null | null | Modulo10/operaciones.py | chemross/practica3 | ca8ce3eeb49e5e8648d9d10a058b1df56dbde047 | [
"Apache-2.0"
] | null | null | null | Modulo10/operaciones.py | chemross/practica3 | ca8ce3eeb49e5e8648d9d10a058b1df56dbde047 | [
"Apache-2.0"
] | null | null | null | def suma(a,b):
return a+b;
def resta(a,b):
return a-b;
def multiplicacion(a,b):
return a*b;
def division(a,b):
return a/b;
| 13.333333 | 25 | 0.51875 | 28 | 160 | 2.964286 | 0.285714 | 0.192771 | 0.385542 | 0.433735 | 0.590361 | 0.46988 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33125 | 160 | 12 | 26 | 13.333333 | 0.775701 | 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 |
43a71f22bd94947070d305945bdcf49e8e29b672 | 11,556 | py | Python | tests/swig/python/model/test_subenvironment.py | mondus/FLAMEGPU2_dev | 457f5304e302ff4413e0680dbb61be86f7394485 | [
"MIT"
] | null | null | null | tests/swig/python/model/test_subenvironment.py | mondus/FLAMEGPU2_dev | 457f5304e302ff4413e0680dbb61be86f7394485 | [
"MIT"
] | null | null | null | tests/swig/python/model/test_subenvironment.py | mondus/FLAMEGPU2_dev | 457f5304e302ff4413e0680dbb61be86f7394485 | [
"MIT"
] | null | null | null | import pytest
from unittest import TestCase
from pyflamegpu import *
class ExitAlways(pyflamegpu.HostFunctionConditionCallback):
def __init__(self):
super().__init__()
def run(self, FLAMEGPU):
return pyflamegpu.EXIT;
class SubEnvironmentDescriptionTest(TestCase):
def test_InvalidNames(... | 50.907489 | 112 | 0.650744 | 1,056 | 11,556 | 7.086174 | 0.072917 | 0.042764 | 0.068422 | 0.111185 | 0.927168 | 0.924362 | 0.909528 | 0.909528 | 0.897234 | 0.866765 | 0 | 0.021061 | 0.215213 | 11,556 | 226 | 113 | 51.132743 | 0.804058 | 0.135254 | 0 | 0.635897 | 0 | 0 | 0.030782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05641 | false | 0 | 0.015385 | 0.005128 | 0.087179 | 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 |
43b37c9098925186f67787368c6557b1f8de8f8a | 87 | py | Python | py_ice_cascade/hillslope/__init__.py | keithfma/py_ice_cascade | 22fe9d51777c52dfff7cce2be9f3ed1b3c6f8bc2 | [
"MIT"
] | null | null | null | py_ice_cascade/hillslope/__init__.py | keithfma/py_ice_cascade | 22fe9d51777c52dfff7cce2be9f3ed1b3c6f8bc2 | [
"MIT"
] | null | null | null | py_ice_cascade/hillslope/__init__.py | keithfma/py_ice_cascade | 22fe9d51777c52dfff7cce2be9f3ed1b3c6f8bc2 | [
"MIT"
] | null | null | null | from .base import base_model
from .null import null_model
from .ftcs import ftcs_model
| 21.75 | 28 | 0.827586 | 15 | 87 | 4.6 | 0.4 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 29 | 29 | 0.92 | 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 |
78e933418f27697114294c6047838ae670e8697b | 18,300 | py | Python | restraintlib/lib/deoxyribose_pyrimidine.py | mkowiel/restraintlib | 32de01d67ae290a45f3199e90c729acc258a6249 | [
"BSD-3-Clause"
] | null | null | null | restraintlib/lib/deoxyribose_pyrimidine.py | mkowiel/restraintlib | 32de01d67ae290a45f3199e90c729acc258a6249 | [
"BSD-3-Clause"
] | 1 | 2021-11-11T18:45:10.000Z | 2021-11-11T18:45:10.000Z | restraintlib/lib/deoxyribose_pyrimidine.py | mkowiel/restraintlib | 32de01d67ae290a45f3199e90c729acc258a6249 | [
"BSD-3-Clause"
] | null | null | null | DEOXYRIBOSE_PYRIMIDINE_PDB_CODES = ['DC', 'DT', 'DU']
DEOXYRIBOSE_PYRIMIDINE_ALL_PDB_CODES = DEOXYRIBOSE_PYRIMIDINE_PDB_CODES
DEOXYRIBOSE_PYRIMIDINE_CHI_GAMMA_PDB_CODES = DEOXYRIBOSE_PYRIMIDINE_PDB_CODES
DEOXYRIBOSE_PYRIMIDINE_CHI_PDB_CODES = DEOXYRIBOSE_PYRIMIDINE_PDB_CODES
DEOXYRIBOSE_PYRIMIDINE_BASE_FUNC_OF_TORSION_... | 62.244898 | 213 | 0.621475 | 2,293 | 18,300 | 4.666376 | 0.048408 | 0.319907 | 0.097196 | 0.134579 | 0.91 | 0.90028 | 0.877664 | 0.84 | 0.77486 | 0.578037 | 0 | 0.080126 | 0.146831 | 18,300 | 294 | 214 | 62.244898 | 0.605201 | 0 | 0 | 0.050179 | 0 | 0 | 0.302716 | 0.094476 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 |
601f422c28e56eae0d42060f9c306c76ba639ddc | 5,749 | py | Python | tests/test_connectors.py | RA333/cert-issuer | ea1d4c4697ffc336f11e491685e7cb31e6515fd6 | [
"MIT"
] | null | null | null | tests/test_connectors.py | RA333/cert-issuer | ea1d4c4697ffc336f11e491685e7cb31e6515fd6 | [
"MIT"
] | null | null | null | tests/test_connectors.py | RA333/cert-issuer | ea1d4c4697ffc336f11e491685e7cb31e6515fd6 | [
"MIT"
] | null | null | null | import unittest
import bitcoin
from bitcoin.core import COutPoint, lx, x, CScript
from bitcoin.core.script import OP_EQUALVERIFY, OP_CHECKSIG, OP_DUP, OP_HASH160
from bitcoin.wallet import P2PKHBitcoinAddress
from mock import patch
from cert_issuer.connectors import BitcoindConnector
from cert_issuer.helpers import h... | 70.109756 | 1,399 | 0.813359 | 324 | 5,749 | 14.243827 | 0.391975 | 0.020802 | 0.013001 | 0.019935 | 0.151896 | 0.151896 | 0.151896 | 0.151896 | 0.151896 | 0.151896 | 0 | 0.372596 | 0.122804 | 5,749 | 81 | 1,400 | 70.975309 | 0.542534 | 0.071317 | 0 | 0.172414 | 0 | 0 | 0.580004 | 0.534234 | 0 | 1 | 0 | 0.012346 | 0.086207 | 1 | 0.086207 | false | 0.034483 | 0.137931 | 0.017241 | 0.275862 | 0.017241 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6032c9f197915a001f2d95bc4649d9be19f7f99a | 26 | py | Python | getpwd/__init__.py | rafpyprog/pyssword | 2fe139ecc2bd3d145c1d90fb37086d540904c270 | [
"MIT"
] | 2 | 2017-03-16T18:24:25.000Z | 2021-01-06T14:32:36.000Z | getpwd/__init__.py | rafpyprog/pyssword | 2fe139ecc2bd3d145c1d90fb37086d540904c270 | [
"MIT"
] | null | null | null | getpwd/__init__.py | rafpyprog/pyssword | 2fe139ecc2bd3d145c1d90fb37086d540904c270 | [
"MIT"
] | null | null | null | from .getpwd import getpwd | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
605b0e3bbaedaf91cb113d521f948309dd227a20 | 11,203 | py | Python | copyrightDetection/vectorize.py | DilaraG831/CopyrightDetection | 25f5e008a7e0b8b4ac093c6f8d05d6a88c858767 | [
"CNRI-Python"
] | null | null | null | copyrightDetection/vectorize.py | DilaraG831/CopyrightDetection | 25f5e008a7e0b8b4ac093c6f8d05d6a88c858767 | [
"CNRI-Python"
] | 7 | 2022-03-17T07:11:08.000Z | 2022-03-28T10:19:58.000Z | copyrightDetection/vectorize.py | goekDil96/CopyrightDetection | 1815e8046ba13261f52c6ce1ddf215388a4e73b4 | [
"CNRI-Python"
] | null | null | null | from copyrightDetection.preprocessing import PreprocessData
import pandas as pd
import json
from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer
from copyrightDetection.extractData import *
pathToFile = "C:/Users/dilGoe/Desktop/CopyrightDetection/dataClean/dataCLEANsmall.json"
class Vectorize... | 39.586572 | 203 | 0.573953 | 940 | 11,203 | 6.751064 | 0.143617 | 0.03971 | 0.017649 | 0.036243 | 0.798613 | 0.794516 | 0.788213 | 0.776237 | 0.758746 | 0.758746 | 0 | 0.002554 | 0.336071 | 11,203 | 282 | 204 | 39.72695 | 0.850632 | 0.031331 | 0 | 0.812808 | 0 | 0 | 0.056895 | 0.012376 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039409 | false | 0 | 0.024631 | 0 | 0.108374 | 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 |
6090a1faf704b0be5f89ced2d3b159b5304552a8 | 49 | py | Python | pythonicqt/models/__init__.py | Digirolamo/pythonicqt | 5744f907f01767fdbcb2da7cc264ecaca9040bad | [
"MIT"
] | 1 | 2015-08-17T03:06:53.000Z | 2015-08-17T03:06:53.000Z | pythonicqt/models/__init__.py | Digirolamo/pythonicqt | 5744f907f01767fdbcb2da7cc264ecaca9040bad | [
"MIT"
] | null | null | null | pythonicqt/models/__init__.py | Digirolamo/pythonicqt | 5744f907f01767fdbcb2da7cc264ecaca9040bad | [
"MIT"
] | null | null | null | from pythonicqt.models.listmodel import ListModel | 49 | 49 | 0.897959 | 6 | 49 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60a083332380044c190762a693798432bc0980ca | 273 | py | Python | proto-inter/templates/Python/_create_package.py | glad4enkonm/micron | d935dab7e20c65eb4cc0bb9f5d2696a814052e7d | [
"MIT"
] | null | null | null | proto-inter/templates/Python/_create_package.py | glad4enkonm/micron | d935dab7e20c65eb4cc0bb9f5d2696a814052e7d | [
"MIT"
] | 3 | 2020-03-31T10:25:21.000Z | 2021-06-02T00:46:37.000Z | proto-inter/templates/Python/_create_package.py | glad4enkonm/micron | d935dab7e20c65eb4cc0bb9f5d2696a814052e7d | [
"MIT"
] | null | null | null | import os
# Create gRPC classes
os.system('python -m grpc_tools.protoc --proto_path=../ ../<%= package %>.proto --python_out=./broadcast-<%= package %> --grpc_python_out=./broadcast-<%= package %>')
# Create a python package
os.system('python setup.py sdist bdist_wheel') | 39 | 166 | 0.703297 | 37 | 273 | 5.027027 | 0.567568 | 0.086022 | 0.150538 | 0.268817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106227 | 273 | 7 | 167 | 39 | 0.762295 | 0.157509 | 0 | 0 | 0 | 0.333333 | 0.815789 | 0.267544 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
60a3d5a8126e704e23a6e9887ba6af5954ffcc4e | 15,787 | py | Python | tests/components/unifiprotect/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2021-11-22T22:37:43.000Z | 2022-03-17T00:55:28.000Z | tests/components/unifiprotect/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 1,016 | 2019-06-18T21:27:47.000Z | 2020-03-06T11:09:58.000Z | tests/components/unifiprotect/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2022-01-02T18:49:54.000Z | 2022-01-25T02:03:54.000Z | """Test the UniFi Protect binary_sensor platform."""
# pylint: disable=protected-access
from __future__ import annotations
from copy import copy
from datetime import datetime, timedelta
from unittest.mock import Mock
import pytest
from pyunifiprotect.data import Camera, Event, EventType, Light, MountType, Sensor
from... | 30.359615 | 88 | 0.728067 | 2,028 | 15,787 | 5.342702 | 0.08284 | 0.044024 | 0.043193 | 0.044578 | 0.817167 | 0.814029 | 0.792063 | 0.758653 | 0.724135 | 0.696631 | 0 | 0.003358 | 0.188953 | 15,787 | 519 | 89 | 30.418112 | 0.842862 | 0.021853 | 0 | 0.627968 | 0 | 0 | 0.008164 | 0 | 0 | 0 | 0 | 0 | 0.147757 | 1 | 0 | false | 0 | 0.036939 | 0 | 0.036939 | 0.002639 | 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 |
60fb98af15ea203ced425eaf4fd83b2dabc979e6 | 40 | py | Python | src/util/data_input/reader/__init__.py | JasonYuJjyu/unsupFlownet | 3f652d7aaa0ce99efb767114ec119a3c23e3051b | [
"MIT"
] | 24 | 2018-09-25T14:39:45.000Z | 2022-03-29T10:44:50.000Z | src/util/data_input/reader/__init__.py | y788zhan/joint_seg_flow | 4c0082e9c1f625d6f6f1e1195a2c3d9dbf82bec0 | [
"MIT"
] | 6 | 2018-09-28T18:03:26.000Z | 2019-03-25T01:43:29.000Z | src/util/data_input/reader/__init__.py | y788zhan/joint_seg_flow | 4c0082e9c1f625d6f6f1e1195a2c3d9dbf82bec0 | [
"MIT"
] | 7 | 2018-10-19T03:19:55.000Z | 2022-02-22T02:42:28.000Z | from Png import *
from PngFlow import *
| 13.333333 | 21 | 0.75 | 6 | 40 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 22 | 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 |
88009f3eb8b07a4ca95e6d7292ab0d46fecab47f | 3,069 | py | Python | tests/test_common.py | akaterra/udb.py | 3c04fa788e4b2fc8356c1210b9d81004aa932c0b | [
"MIT"
] | 2 | 2020-01-04T12:04:58.000Z | 2020-02-15T16:32:12.000Z | tests/test_common.py | akaterra/udb.py | 3c04fa788e4b2fc8356c1210b9d81004aa932c0b | [
"MIT"
] | null | null | null | tests/test_common.py | akaterra/udb.py | 3c04fa788e4b2fc8356c1210b9d81004aa932c0b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from udb_py.common import *
@pytest.mark.common
def test_should_format_positive_int_value():
i = TYPE_FORMAT_MAPPERS[int](1)
assert i == u'\x02\x01\x00\x00\x00\x00\x00\x00\x00\x01'
@pytest.mark.common
def test_should_compare_formatted_positive_int():
i = TYPE_FOR... | 24.75 | 99 | 0.72434 | 524 | 3,069 | 3.910305 | 0.118321 | 0.093704 | 0.118594 | 0.128843 | 0.919473 | 0.897023 | 0.870669 | 0.852123 | 0.790142 | 0.691557 | 0 | 0.067712 | 0.148257 | 3,069 | 123 | 100 | 24.95122 | 0.715761 | 0.006843 | 0 | 0.410256 | 0 | 0.038462 | 0.122127 | 0.113592 | 0 | 0 | 0 | 0 | 0.282051 | 1 | 0.179487 | false | 0 | 0.025641 | 0 | 0.205128 | 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 |
7187b3594f486b1742fec88609e8dac0f8afed8f | 1,837 | py | Python | ivy_mech_tests/test_position/test_coordinate_conversions.py | unifyai/mech | d678c8732ee5aba4a92fb37b96519cd06553c0c6 | [
"Apache-2.0"
] | 1 | 2021-10-11T17:58:41.000Z | 2021-10-11T17:58:41.000Z | ivy_mech_tests/test_position/test_coordinate_conversions.py | ivy-dl/mech | f3ce5f7b38fe2c453a066f58019ff84dcee517a6 | [
"Apache-2.0"
] | null | null | null | ivy_mech_tests/test_position/test_coordinate_conversions.py | ivy-dl/mech | f3ce5f7b38fe2c453a066f58019ff84dcee517a6 | [
"Apache-2.0"
] | null | null | null | """
Collection of tests for co-ordinate conversion functions
"""
# global
import ivy_mech
import numpy as np
# local
from ivy_mech_tests.test_position.position_data import PositionTestData
ptd = PositionTestData()
def test_polar_to_cartesian_coords(dev_str, call):
assert np.allclose(call(ivy_mech.polar_to_cart... | 42.72093 | 115 | 0.709853 | 257 | 1,837 | 4.696498 | 0.151751 | 0.19884 | 0.109362 | 0.145816 | 0.859983 | 0.859983 | 0.827672 | 0.827672 | 0.808616 | 0.808616 | 0 | 0.01368 | 0.204137 | 1,837 | 42 | 116 | 43.738095 | 0.811902 | 0.038106 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.153846 | false | 0 | 0.115385 | 0 | 0.269231 | 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 |
71b703aaf0de8596eb991051185e3cbfacf32ca2 | 221 | py | Python | python/bitcoin_101/create_your_own_network.py | fcracker79/python_bitcoin_101 | 3af1b1e1b817d9676981f3c6c87d93064ac8febe | [
"MIT"
] | 1 | 2018-09-26T18:10:36.000Z | 2018-09-26T18:10:36.000Z | python/bitcoin_101/create_your_own_network.py | fcracker79/python_bitcoin_101 | 3af1b1e1b817d9676981f3c6c87d93064ac8febe | [
"MIT"
] | null | null | null | python/bitcoin_101/create_your_own_network.py | fcracker79/python_bitcoin_101 | 3af1b1e1b817d9676981f3c6c87d93064ac8febe | [
"MIT"
] | null | null | null | from pprint import pprint
from bitcoin_101 import bitprint
from bitcoin_101.bitcoin_client import BitcoinClient
# make start
if __name__ == '__main__':
bitprint(BitcoinClient().getinfo())
# show keys_regtest.py
| 22.1 | 52 | 0.778281 | 28 | 221 | 5.714286 | 0.642857 | 0.1375 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.149321 | 221 | 9 | 53 | 24.555556 | 0.819149 | 0.140271 | 0 | 0 | 0 | 0 | 0.042781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.6 | 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 |
71ba530d23ad063971fe775d4e95f2e7eba71ad7 | 212,248 | py | Python | pynitrokey/nethsm/client/api/default_api.py | fayrlight/pynitrokey | c6a93da7a811d34213746b60fab22affb3616a88 | [
"Apache-2.0",
"MIT"
] | null | null | null | pynitrokey/nethsm/client/api/default_api.py | fayrlight/pynitrokey | c6a93da7a811d34213746b60fab22affb3616a88 | [
"Apache-2.0",
"MIT"
] | null | null | null | pynitrokey/nethsm/client/api/default_api.py | fayrlight/pynitrokey | c6a93da7a811d34213746b60fab22affb3616a88 | [
"Apache-2.0",
"MIT"
] | null | null | null | """
NetHSM
All endpoints expect exactly the specified JSON. Additional properties will cause a Bad Request Error (400). All HTTP errors contain a JSON structure with an explanation of type string. All <a href=\"https://tools.ietf.org/html/rfc4648#section-4\">base64</a> encoded values are Big Endian. # noqa: E... | 36.525211 | 307 | 0.459566 | 18,462 | 212,248 | 5.015979 | 0.020691 | 0.034696 | 0.028638 | 0.029739 | 0.923071 | 0.904843 | 0.88885 | 0.885978 | 0.880093 | 0.875406 | 0 | 0.00335 | 0.459896 | 212,248 | 5,810 | 308 | 36.531497 | 0.804468 | 0.349761 | 0 | 0.66614 | 0 | 0 | 0.212534 | 0.033977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013691 | false | 0.007636 | 0.008689 | 0 | 0.036072 | 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 |
71dba5d250d0c243bd200bcc2c70bff0b2f35454 | 130 | py | Python | back-end/app/api/ping.py | naruto890809/flask-vuejs-hmblog | 4324dd4eb6d26ba4de041ffced6f546476c25b1f | [
"MIT"
] | null | null | null | back-end/app/api/ping.py | naruto890809/flask-vuejs-hmblog | 4324dd4eb6d26ba4de041ffced6f546476c25b1f | [
"MIT"
] | 5 | 2021-03-10T06:11:49.000Z | 2022-02-26T23:08:00.000Z | back-end/app/api/ping.py | naruto890809/flask-vuejs-hmblog | 4324dd4eb6d26ba4de041ffced6f546476c25b1f | [
"MIT"
] | null | null | null | from flask import jsonify
from app.api import bp
@bp.route('/ping',methods=["GET"])
def ping():
return jsonify("pong!!") | 21.666667 | 35 | 0.653846 | 19 | 130 | 4.473684 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 130 | 6 | 36 | 21.666667 | 0.787037 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e096b4dc8006c1fc410bee224c2d73f997d041c3 | 16,640 | py | Python | tests/base/test_tensor_boundary.py | bluetyson/discretize | a4ead91d6a1f84658ab20946da5fa86dc9ccc831 | [
"MIT"
] | null | null | null | tests/base/test_tensor_boundary.py | bluetyson/discretize | a4ead91d6a1f84658ab20946da5fa86dc9ccc831 | [
"MIT"
] | null | null | null | tests/base/test_tensor_boundary.py | bluetyson/discretize | a4ead91d6a1f84658ab20946da5fa86dc9ccc831 | [
"MIT"
] | null | null | null | from __future__ import print_function
import numpy as np
import unittest
import discretize
from pymatsolver import Solver
MESHTYPES = ['uniformTensorMesh']
def getxBCyBC_CC(mesh, alpha, beta, gamma):
"""
This is a subfunction generating mixed-boundary condition:
.. math::
\nabla \cdot \vec{j} =... | 35.862069 | 81 | 0.576502 | 2,793 | 16,640 | 3.185822 | 0.074472 | 0.013486 | 0.028321 | 0.015172 | 0.813216 | 0.786581 | 0.758373 | 0.749382 | 0.725332 | 0.685098 | 0 | 0.025377 | 0.275361 | 16,640 | 463 | 82 | 35.939525 | 0.712556 | 0.069591 | 0 | 0.669617 | 0 | 0 | 0.022221 | 0 | 0 | 0 | 0 | 0.00216 | 0 | 1 | 0.079646 | false | 0 | 0.014749 | 0.058997 | 0.19469 | 0.011799 | 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 |
e0cd8fdf7b63bca58ddd0dd2a724fca91d1de4ef | 307 | py | Python | Practical 1/src/conjugate.py | n1snt/Linear-Algebra-using-Python | 1335a4969cce70f379d4a82bbffefe47703c6cf6 | [
"MIT"
] | 1 | 2021-03-06T06:59:19.000Z | 2021-03-06T06:59:19.000Z | Practical 1/src/conjugate.py | n1snt/Linear-Algebra-using-Python | 1335a4969cce70f379d4a82bbffefe47703c6cf6 | [
"MIT"
] | null | null | null | Practical 1/src/conjugate.py | n1snt/Linear-Algebra-using-Python | 1335a4969cce70f379d4a82bbffefe47703c6cf6 | [
"MIT"
] | null | null | null | a = 5+2j
b = 3+6j
c = 6-4j
d = 2+ 1j
print("Conjugate of the complex number 5-2j is : ", a.conjugate())
print("Conjugate of the complex number -6+3j is : ", b.conjugate())
print("Conjugate of the complex number -6-4j is : ", c.conjugate())
print("Conjugate of the complex number 2+1j is : ", d.conjugate())
| 34.111111 | 67 | 0.664495 | 56 | 307 | 3.642857 | 0.357143 | 0.27451 | 0.313725 | 0.372549 | 0.769608 | 0.769608 | 0.612745 | 0.411765 | 0 | 0 | 0 | 0.062992 | 0.172638 | 307 | 8 | 68 | 38.375 | 0.740157 | 0 | 0 | 0 | 0 | 0 | 0.553746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1cbcb083f08f405a68bcef9043ee68c54a2da479 | 22 | py | Python | src/formsettesthelpers/__init__.py | Raekkeri/django-formsettesthelpers | eb2e392c47dd4c21e56af301fb53bd5686fdc334 | [
"MIT"
] | 1 | 2015-01-04T15:06:56.000Z | 2015-01-04T15:06:56.000Z | src/formsettesthelpers/__init__.py | Raekkeri/django-formsettesthelpers | eb2e392c47dd4c21e56af301fb53bd5686fdc334 | [
"MIT"
] | null | null | null | src/formsettesthelpers/__init__.py | Raekkeri/django-formsettesthelpers | eb2e392c47dd4c21e56af301fb53bd5686fdc334 | [
"MIT"
] | null | null | null | from formset import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
1cd70297b19b768a2ff49ffad032b5a3fb003813 | 21,298 | py | Python | nailgun/nailgun/test/integration/test_master_node_settings_handler.py | Zipfer/fuel-web | c6c4032eb6e29474e2be0318349265bdb566454c | [
"Apache-2.0"
] | null | null | null | nailgun/nailgun/test/integration/test_master_node_settings_handler.py | Zipfer/fuel-web | c6c4032eb6e29474e2be0318349265bdb566454c | [
"Apache-2.0"
] | null | null | null | nailgun/nailgun/test/integration/test_master_node_settings_handler.py | Zipfer/fuel-web | c6c4032eb6e29474e2be0318349265bdb566454c | [
"Apache-2.0"
] | null | null | null | # Copyright 2014 Mirantis, 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 ... | 39.587361 | 79 | 0.428021 | 1,489 | 21,298 | 5.92814 | 0.137005 | 0.07749 | 0.067294 | 0.061856 | 0.845927 | 0.807069 | 0.802991 | 0.777048 | 0.765039 | 0.765039 | 0 | 0.007204 | 0.472063 | 21,298 | 537 | 80 | 39.66108 | 0.777837 | 0.04423 | 0 | 0.698947 | 0 | 0 | 0.248033 | 0.122713 | 0 | 0 | 0 | 0 | 0.063158 | 1 | 0.025263 | false | 0 | 0.014737 | 0 | 0.042105 | 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 |
e80cdec79e6b9dcedb7e207e947d21434bf72a9a | 28 | py | Python | dae_RelayBoard/__init__.py | jhonsay/dae-py-relay-controller | a472e64a9394cdcb53f5061926edb5d0bb0ca166 | [
"Unlicense"
] | null | null | null | dae_RelayBoard/__init__.py | jhonsay/dae-py-relay-controller | a472e64a9394cdcb53f5061926edb5d0bb0ca166 | [
"Unlicense"
] | null | null | null | dae_RelayBoard/__init__.py | jhonsay/dae-py-relay-controller | a472e64a9394cdcb53f5061926edb5d0bb0ca166 | [
"Unlicense"
] | null | null | null | from dae_RelayBoard import * | 28 | 28 | 0.857143 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 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 |
e8181cc5f085ce06ff85dd7d78f7176792c3baf1 | 11,805 | py | Python | spiketoolkit/validation/validation_tools.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | null | null | null | spiketoolkit/validation/validation_tools.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | 5 | 2019-02-15T20:16:43.000Z | 2019-02-27T14:54:08.000Z | spiketoolkit/validation/validation_tools.py | Shawn-Guo-CN/spiketoolkit | 11e60f3cd80c135c62e27538a4e141115a7e27ad | [
"MIT"
] | 1 | 2019-02-15T14:40:54.000Z | 2019-02-15T14:40:54.000Z | from ..postprocessing.postprocessing_tools import _get_quality_metric_data, _get_pca_metric_data, \
_get_spike_times_clusters, _get_amp_metric_data
import spikeextractors as se
import numpy as np
def get_spike_times_metrics_data(sorting, sampling_frequency):
'''
Computes and returns the spike times in sec... | 46.660079 | 120 | 0.62482 | 1,429 | 11,805 | 4.930021 | 0.109867 | 0.044003 | 0.038325 | 0.047693 | 0.890987 | 0.881618 | 0.84741 | 0.838893 | 0.827395 | 0.822569 | 0 | 0.003857 | 0.319102 | 11,805 | 252 | 121 | 46.845238 | 0.872605 | 0.450064 | 0 | 0.453333 | 0 | 0 | 0.051064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053333 | false | 0 | 0.04 | 0 | 0.146667 | 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 |
e81a66fed3ca2dbb0c008fa052a0344b83bf0cb3 | 40 | py | Python | cride/users/serializers/__init__.py | devmiguelangel/cride | 8593eb76291ff8af46a93b5625304766f95b2347 | [
"MIT"
] | null | null | null | cride/users/serializers/__init__.py | devmiguelangel/cride | 8593eb76291ff8af46a93b5625304766f95b2347 | [
"MIT"
] | null | null | null | cride/users/serializers/__init__.py | devmiguelangel/cride | 8593eb76291ff8af46a93b5625304766f95b2347 | [
"MIT"
] | null | null | null | # User serializers
from .users import *
| 13.333333 | 20 | 0.75 | 5 | 40 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 20 | 0.909091 | 0.4 | 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 |
e82a84adab31d63d2fbdfff0a04424e862fd8bb5 | 20 | py | Python | solaris/raster/__init__.py | rbavery/solaris | 0d7bd1439a96c243d7810fcddf776b7e635a05ea | [
"Apache-2.0"
] | 367 | 2019-05-05T22:09:39.000Z | 2022-03-27T10:05:16.000Z | 3-SatShipAI/solaris/raster/__init__.py | Z-Zheng/SpaceNet_SAR_Buildings_Solutions | 6a9c3962d987d985384d0d41a187f5fbfadac82c | [
"Apache-2.0"
] | 396 | 2019-04-30T21:51:12.000Z | 2022-03-31T09:21:09.000Z | 3-SatShipAI/solaris/raster/__init__.py | Z-Zheng/SpaceNet_SAR_Buildings_Solutions | 6a9c3962d987d985384d0d41a187f5fbfadac82c | [
"Apache-2.0"
] | 120 | 2019-06-29T20:20:08.000Z | 2022-03-10T07:37:57.000Z | from . import image
| 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 |
1c028b2de24b74487417246a6b4120e335e24362 | 43 | py | Python | src/lr_schedulers/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | 8 | 2021-11-13T19:21:36.000Z | 2021-12-14T15:00:16.000Z | src/lr_schedulers/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | 6 | 2021-11-11T13:05:21.000Z | 2021-12-13T09:59:05.000Z | src/lr_schedulers/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | null | null | null | from lr_schedulers.wrapper import Scheduler | 43 | 43 | 0.906977 | 6 | 43 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 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 |
1c5d2f67a7faa40ec66fe41a1a9c471496826898 | 85 | py | Python | model/__init__.py | drah/UGATIT | 69c7f6d9887407f21c900a8bdf952e65cdcbc8a6 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | drah/UGATIT | 69c7f6d9887407f21c900a8bdf952e65cdcbc8a6 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | drah/UGATIT | 69c7f6d9887407f21c900a8bdf952e65cdcbc8a6 | [
"Apache-2.0"
] | null | null | null | from . import helpers
from . import modules
from . import factory
from . import model | 21.25 | 21 | 0.776471 | 12 | 85 | 5.5 | 0.5 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 4 | 22 | 21.25 | 0.942857 | 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 |
98c67ce5625cfdb781f5cb1b11b2a5c8b4b0c7e3 | 142 | py | Python | api/ext_news/cron.py | sp-team-lutsk/docker_polls_group | e59aa4d9b0b703e31046460a87a8b14d9e3f3d1e | [
"MIT"
] | null | null | null | api/ext_news/cron.py | sp-team-lutsk/docker_polls_group | e59aa4d9b0b703e31046460a87a8b14d9e3f3d1e | [
"MIT"
] | 18 | 2019-06-25T14:37:52.000Z | 2019-10-25T21:18:44.000Z | api/ext_news/cron.py | sp-team-lutsk/cyber_security_web_portal | e59aa4d9b0b703e31046460a87a8b14d9e3f3d1e | [
"MIT"
] | 2 | 2019-06-25T12:43:44.000Z | 2019-08-21T08:36:44.000Z | from utils.views import news_subscription
from parsing import main
def CronMailing():
news_subscription()
def CronParse():
main()
| 12.909091 | 41 | 0.739437 | 17 | 142 | 6.058824 | 0.647059 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 142 | 10 | 42 | 14.2 | 0.887931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c70acf0d76f55e0a16bd98ff3e266297fefe8d69 | 24 | py | Python | main.py | Fernandohf/NURBS | 6cd5db1ba7009e48d434e4e04b13fd29a8d26678 | [
"MIT"
] | 4 | 2019-03-19T17:56:06.000Z | 2021-03-28T11:09:01.000Z | main.py | Fernandohf/NURBS | 6cd5db1ba7009e48d434e4e04b13fd29a8d26678 | [
"MIT"
] | null | null | null | main.py | Fernandohf/NURBS | 6cd5db1ba7009e48d434e4e04b13fd29a8d26678 | [
"MIT"
] | 3 | 2019-03-19T17:56:06.000Z | 2020-11-17T08:50:33.000Z | import NURBS
import UI
| 6 | 12 | 0.791667 | 4 | 24 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 3 | 13 | 8 | 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 |
c74f05073459c0bb58f387f9c6d002892b1d85c6 | 8,652 | py | Python | tests/serialization/test_complex_types_serialization.py | marcosschroh/-dataclasses-avroschema | 37f7ba34a9e53a5f1f45edae051e5821934934d3 | [
"MIT"
] | null | null | null | tests/serialization/test_complex_types_serialization.py | marcosschroh/-dataclasses-avroschema | 37f7ba34a9e53a5f1f45edae051e5821934934d3 | [
"MIT"
] | null | null | null | tests/serialization/test_complex_types_serialization.py | marcosschroh/-dataclasses-avroschema | 37f7ba34a9e53a5f1f45edae051e5821934934d3 | [
"MIT"
] | null | null | null | import dataclasses
import enum
import json
from dataclasses_avroschema import AvroModel
def test_complex_fields(user_advance_dataclass, color_enum):
data = {
"name": "juan",
"age": 20,
"pets": ["dog"],
"accounts": {"ing": 100},
"has_car": True,
"favorite_colors": c... | 30.464789 | 119 | 0.63338 | 948 | 8,652 | 5.471519 | 0.101266 | 0.04627 | 0.052439 | 0.072296 | 0.895701 | 0.877386 | 0.861384 | 0.808174 | 0.747831 | 0.705032 | 0 | 0.021251 | 0.238558 | 8,652 | 283 | 120 | 30.572438 | 0.76609 | 0.022885 | 0 | 0.597403 | 0 | 0.008658 | 0.158019 | 0.018242 | 0 | 0 | 0 | 0 | 0.125541 | 1 | 0.021645 | false | 0 | 0.017316 | 0 | 0.095238 | 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 |
c7623ba54da666904cc2752c52173e7ab6f519e4 | 11,037 | py | Python | products/views.py | stephane-lucienvauthier/foodstock-api | 6b886cd638b5f1a10774280845bc85fd37a6ca9d | [
"Apache-2.0"
] | null | null | null | products/views.py | stephane-lucienvauthier/foodstock-api | 6b886cd638b5f1a10774280845bc85fd37a6ca9d | [
"Apache-2.0"
] | null | null | null | products/views.py | stephane-lucienvauthier/foodstock-api | 6b886cd638b5f1a10774280845bc85fd37a6ca9d | [
"Apache-2.0"
] | null | null | null | """This module manages the views of the categories app."""
from rest_framework import generics, permissions, status
from rest_framework.views import APIView
from rest_framework.response import Response
from products.models import Product, Batch
from products.serializers import ProductSerializer, ProductUpdateSerializer... | 41.02974 | 115 | 0.641026 | 1,369 | 11,037 | 5.136596 | 0.096421 | 0.046928 | 0.029579 | 0.038823 | 0.865188 | 0.848407 | 0.82992 | 0.828925 | 0.828925 | 0.792804 | 0 | 0.025108 | 0.285494 | 11,037 | 268 | 116 | 41.182836 | 0.866599 | 0.559482 | 0 | 0.521739 | 0 | 0 | 0.001051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144928 | false | 0 | 0.072464 | 0 | 0.550725 | 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 |
c7a4aea6607d6da0c0fd2beaf2fd3de120fa8c46 | 3,238 | py | Python | ticker/api.py | yusenjeng/invintdex | ea68477d248ca8bdb4d62fd09ee4008e01cb831c | [
"MIT"
] | null | null | null | ticker/api.py | yusenjeng/invintdex | ea68477d248ca8bdb4d62fd09ee4008e01cb831c | [
"MIT"
] | null | null | null | ticker/api.py | yusenjeng/invintdex | ea68477d248ca8bdb4d62fd09ee4008e01cb831c | [
"MIT"
] | null | null | null | from control import helper as Helper
from control.models import Quote, ETFQuote
def generateTBondsReturns(target, f, t):
tickers = ['TLT', 'IEF', 'SHY']
title1, series1, dates = generateReturnsSeries(tickers, f, t, True)
stream1 = Helper.toCsvString(title1, dates, series1)
quotes = ETFQuote.objects.f... | 28.654867 | 71 | 0.565164 | 341 | 3,238 | 5.322581 | 0.237537 | 0.013223 | 0.052342 | 0.030303 | 0.741047 | 0.733333 | 0.733333 | 0.733333 | 0.733333 | 0.733333 | 0 | 0.029235 | 0.281655 | 3,238 | 113 | 72 | 28.654867 | 0.751075 | 0 | 0 | 0.684783 | 1 | 0 | 0.12967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.021739 | 0 | 0.108696 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7bce37f59e14659e2893b122faf1775fa1d9f44 | 143 | py | Python | example_snippets/multimenus_snippets/Snippets/NumPy/Pretty printing/Formatting functions for specific dtypes/Set formatter for `float` type.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Pretty printing/Formatting functions for specific dtypes/Set formatter for `float` type.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Pretty printing/Formatting functions for specific dtypes/Set formatter for `float` type.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | def format_float(x):
return '{0:+0.2f}'.format(x)
with printoptions(formatter={'float': format_float}):
print(np.random.random(10)-0.5) | 35.75 | 53 | 0.685315 | 23 | 143 | 4.173913 | 0.652174 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 0.104895 | 143 | 4 | 54 | 35.75 | 0.695313 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
1beb8f6c38c4fa79fb57217b6556d7fe3d8d619a | 23 | py | Python | src/test/python/testDataSetRepo/provider/library/dsalib/__init__.py | ninjapapa/SMV2 | 42cf9f176c3ec0bed61f66fbf859c18d97027dd6 | [
"Apache-2.0"
] | null | null | null | src/test/python/testDataSetRepo/provider/library/dsalib/__init__.py | ninjapapa/SMV2 | 42cf9f176c3ec0bed61f66fbf859c18d97027dd6 | [
"Apache-2.0"
] | 34 | 2022-02-26T04:27:34.000Z | 2022-03-29T23:05:47.000Z | src/test/python/testDataSetRepo/provider/library/dsalib/__init__.py | ninjapapa/SMV2 | 42cf9f176c3ec0bed61f66fbf859c18d97027dd6 | [
"Apache-2.0"
] | null | null | null | from dsalib.d import *
| 11.5 | 22 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 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 |
4045d135d97ebfe6f37e4c39294d397d8cb8755e | 21 | py | Python | vial-plugin/cash/__init__.py | baverman/vial-cash | f9fd11f9b7e5ef39433ed8632a347afe99997cb5 | [
"MIT"
] | 10 | 2021-02-26T13:00:22.000Z | 2022-03-31T11:38:28.000Z | vial-plugin/cash/__init__.py | baverman/vial-cash | f9fd11f9b7e5ef39433ed8632a347afe99997cb5 | [
"MIT"
] | 1 | 2021-08-03T10:21:12.000Z | 2021-08-03T10:21:12.000Z | images/ruleset-image-base/app/env.py | airspot-dev/krules | 0e402feef51c6189a163a62912480cfac0c438bb | [
"Apache-2.0"
] | null | null | null | def init():
pass
| 7 | 11 | 0.52381 | 3 | 21 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
406c94a9b95cbe2bfb301d08181a7fba23f8c98a | 457 | py | Python | python/super.py | zykzhang/practice | 180cdf41ae6397b1e71059fc32389cb305e8fea0 | [
"Apache-2.0"
] | null | null | null | python/super.py | zykzhang/practice | 180cdf41ae6397b1e71059fc32389cb305e8fea0 | [
"Apache-2.0"
] | null | null | null | python/super.py | zykzhang/practice | 180cdf41ae6397b1e71059fc32389cb305e8fea0 | [
"Apache-2.0"
] | 1 | 2017-12-26T17:10:15.000Z | 2017-12-26T17:10:15.000Z | # class A:
# def __init__(self):
# print "enter A"
# print "leave A"
# class B(A):
# def __init__(self):
# print "enter B"
# A.__init__(self)
# print "leave B"
class A(object):
def __init__(self):
print "enter A"
print "leave A"
class C(object):
def __init__(self):
print "enter C"
print "le... | 13.848485 | 27 | 0.601751 | 71 | 457 | 3.422535 | 0.169014 | 0.230453 | 0.320988 | 0.329218 | 0.711934 | 0.711934 | 0.567901 | 0.567901 | 0.567901 | 0.312757 | 0 | 0 | 0.238512 | 457 | 32 | 28 | 14.28125 | 0.698276 | 0.378556 | 0 | 0.214286 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4094edf07cef101942bf310c7f1736b7855ecbfe | 1,653 | py | Python | catkin_ws/build/vision_msgs/cmake/vision_msgs-genmsg-context.py | Colin1245/ROS-Theory-Application-Shenlan | 49986c83a2c73c7ab4310fd3f010e1b6bc0de786 | [
"Apache-2.0"
] | null | null | null | catkin_ws/build/vision_msgs/cmake/vision_msgs-genmsg-context.py | Colin1245/ROS-Theory-Application-Shenlan | 49986c83a2c73c7ab4310fd3f010e1b6bc0de786 | [
"Apache-2.0"
] | null | null | null | catkin_ws/build/vision_msgs/cmake/vision_msgs-genmsg-context.py | Colin1245/ROS-Theory-Application-Shenlan | 49986c83a2c73c7ab4310fd3f010e1b6bc0de786 | [
"Apache-2.0"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/lwh/Desktop/Learning/shenlanROS/catkin_ws/src/vision_msgs/msg/BoundingBox2D.msg;/home/lwh/Desktop/Learning/shenlanROS/catkin_ws/src/vision_msgs/msg/BoundingBox3D.msg;/home/lwh/Desktop/Learning/shenlanROS/catkin_ws/src/vision_msgs/msg/Classificat... | 137.75 | 981 | 0.833031 | 246 | 1,653 | 5.390244 | 0.264228 | 0.105581 | 0.126697 | 0.199095 | 0.579186 | 0.529412 | 0.529412 | 0.529412 | 0.529412 | 0.529412 | 0 | 0.005559 | 0.020569 | 1,653 | 11 | 982 | 150.272727 | 0.813465 | 0.029643 | 0 | 0 | 1 | 0.222222 | 0.873283 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
905c84815311912a57b96304a8f8e78afa51abdc | 664 | py | Python | DigitalInnovationOne/hello_django/core/views.py | Neto002/Python | 6892bc8446f216711949a982524867b17d973735 | [
"MIT"
] | null | null | null | DigitalInnovationOne/hello_django/core/views.py | Neto002/Python | 6892bc8446f216711949a982524867b17d973735 | [
"MIT"
] | null | null | null | DigitalInnovationOne/hello_django/core/views.py | Neto002/Python | 6892bc8446f216711949a982524867b17d973735 | [
"MIT"
] | null | null | null | from django.shortcuts import render, HttpResponse
# Create your views here.
def hello(request, nome, idade):
return HttpResponse(f'<h1>Hello {nome} de {idade} anos</h1>')
def soma(request, n1, n2):
return HttpResponse(f'<h1>A soma entre {n1} e {n2} é {n1+n2}</h1>')
def subtracao(request, n1, n2):
return... | 31.619048 | 80 | 0.667169 | 108 | 664 | 4.101852 | 0.333333 | 0.072235 | 0.214447 | 0.23702 | 0.467269 | 0.467269 | 0.467269 | 0.433409 | 0.13544 | 0 | 0 | 0.062724 | 0.159639 | 664 | 21 | 81 | 31.619048 | 0.731183 | 0.034639 | 0 | 0 | 0 | 0.307692 | 0.3625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
908f984f38a543120836260a1cc08d594d8b9d88 | 178 | py | Python | pystrf/__init__.py | choldgraf/pySTRF | 26e66febd5f2f84e195645cfe4432954173caf14 | [
"BSD-2-Clause"
] | 3 | 2018-05-21T21:22:04.000Z | 2021-09-17T08:12:01.000Z | pystrf/__init__.py | choldgraf/pySTRF | 26e66febd5f2f84e195645cfe4432954173caf14 | [
"BSD-2-Clause"
] | null | null | null | pystrf/__init__.py | choldgraf/pySTRF | 26e66febd5f2f84e195645cfe4432954173caf14 | [
"BSD-2-Clause"
] | null | null | null | """Helpers for STRF analysis"""
from .audio import *
from .fit import *
from .mps import *
from .preprocess import *
from .sig import *
from .stats import *
from .utils import *
| 19.777778 | 31 | 0.707865 | 25 | 178 | 5.04 | 0.52 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 178 | 8 | 32 | 22.25 | 0.863014 | 0.140449 | 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 |
90d040603c620ce31ee22f0c7f8f250f2031bac3 | 9,831 | py | Python | test_backup.py | nathants/backup | fe2fe885ce5d039df377921380e36f5c6c8b9499 | [
"MIT"
] | null | null | null | test_backup.py | nathants/backup | fe2fe885ce5d039df377921380e36f5c6c8b9499 | [
"MIT"
] | null | null | null | test_backup.py | nathants/backup | fe2fe885ce5d039df377921380e36f5c6c8b9499 | [
"MIT"
] | null | null | null | import shell as sh
import os
import re
import uuid
sh.set['stream'] = True
def scrub(text):
text = re.sub(r'\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}Z', 'DATE', text) # remove digits from date
text = re.sub(r'(\w{8})\w{120}', r'\1', text) # truncate blake2b
return text
def scrub2(text):
text = re.sub(r'\... | 39.641129 | 156 | 0.462517 | 1,087 | 9,831 | 4.147194 | 0.117755 | 0.047915 | 0.068767 | 0.089397 | 0.860248 | 0.824534 | 0.785936 | 0.760204 | 0.725599 | 0.725599 | 0 | 0.123023 | 0.331096 | 9,831 | 247 | 157 | 39.801619 | 0.5625 | 0.017191 | 0 | 0.610619 | 0 | 0.013274 | 0.338487 | 0.128567 | 0 | 0 | 0 | 0 | 0.141593 | 1 | 0.048673 | false | 0 | 0.017699 | 0.030973 | 0.106195 | 0.013274 | 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 |
90db32ba1e1e5c8f6e58f0a8918625024dba8ad5 | 314 | py | Python | src/dc_federated/backend/__init__.py | cchanzl/dc-federated | 9a506f2e576f62048e2366fb52d28811190e01a7 | [
"Apache-2.0"
] | 8 | 2020-12-22T12:37:03.000Z | 2022-03-16T12:45:34.000Z | src/dc_federated/backend/__init__.py | cchanzl/dc-federated | 9a506f2e576f62048e2366fb52d28811190e01a7 | [
"Apache-2.0"
] | 3 | 2021-01-04T14:19:41.000Z | 2022-01-06T23:56:08.000Z | src/dc_federated/backend/__init__.py | cchanzl/dc-federated | 9a506f2e576f62048e2366fb52d28811190e01a7 | [
"Apache-2.0"
] | 5 | 2021-01-04T13:25:44.000Z | 2022-01-05T10:02:48.000Z | from dc_federated.backend.dcf_server import DCFServer
from dc_federated.backend.dcf_worker import DCFWorker
from dc_federated.backend._constants import GLOBAL_MODEL, \
GLOBAL_MODEL_VERSION, LAST_WORKER_MODEL_VERSION, WID_LEN
from dc_federated.backend.backend_utils import create_model_dict, is_valid_model_dict | 62.8 | 85 | 0.882166 | 47 | 314 | 5.468085 | 0.468085 | 0.093385 | 0.233463 | 0.342412 | 0.194553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 314 | 5 | 85 | 62.8 | 0.886207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
90f807e00b325de5aad57e29d0223b2ea0a94e01 | 86 | py | Python | __init__.py | WowlNAN/qpath | 45dd116780e946a8de199c7f5a85a57751f2f593 | [
"CC0-1.0"
] | 3 | 2020-07-19T04:16:24.000Z | 2020-09-21T04:50:43.000Z | __init__.py | WowlNAN/qpath | 45dd116780e946a8de199c7f5a85a57751f2f593 | [
"CC0-1.0"
] | null | null | null | __init__.py | WowlNAN/qpath | 45dd116780e946a8de199c7f5a85a57751f2f593 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Jul 19 20:37:37 2020
@author: MRN_6
"""
| 9.555556 | 35 | 0.55814 | 15 | 86 | 3.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 0.22093 | 86 | 8 | 36 | 10.75 | 0.492537 | 0.860465 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90fbd8a92da9a74d3dfdc49125a36b8c939f2c91 | 43 | py | Python | ftpclient/logger/__init__.py | gusenov/ftp-client-py | 983ab42c1dbf526b9798ceccc9282ae2d9fa3cf7 | [
"MIT"
] | null | null | null | ftpclient/logger/__init__.py | gusenov/ftp-client-py | 983ab42c1dbf526b9798ceccc9282ae2d9fa3cf7 | [
"MIT"
] | null | null | null | ftpclient/logger/__init__.py | gusenov/ftp-client-py | 983ab42c1dbf526b9798ceccc9282ae2d9fa3cf7 | [
"MIT"
] | null | null | null | from ftpclient.logger.file_logger import *
| 21.5 | 42 | 0.837209 | 6 | 43 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.