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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b9678f27461c722fc89e4edb93a357ffded7a5ae | 132 | py | Python | tests/missing_data/test_missing_data_air_passengers_DiscardRow_None.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_None.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_None.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', None)
| 33 | 73 | 0.886364 | 20 | 132 | 5.35 | 0.6 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05303 | 132 | 3 | 74 | 44 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 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 |
b96b22bb81b0a9151d3781c08783a7e680e8cd3d | 1,226 | gyp | Python | client/build/i18n_input_engine.gyp | zamorajavi/google-input-tools | fc9f11d80d957560f7accf85a5fc27dd23625f70 | [
"Apache-2.0"
] | 175 | 2015-01-01T12:40:33.000Z | 2019-05-24T22:33:59.000Z | client/build/i18n_input_engine.gyp | zamorajavi/google-input-tools | fc9f11d80d957560f7accf85a5fc27dd23625f70 | [
"Apache-2.0"
] | 11 | 2015-01-19T16:30:56.000Z | 2018-04-25T01:06:52.000Z | client/build/i18n_input_engine.gyp | zamorajavi/google-input-tools | fc9f11d80d957560f7accf85a5fc27dd23625f70 | [
"Apache-2.0"
] | 97 | 2015-01-19T15:35:29.000Z | 2019-05-15T05:48:02.000Z | {
'variables': {
'ENGINE_ROOT': '<(GOOGLE3)/i18n/input/engine',
},
'conditions': [
['OS!="win"', {
'variables': {
'PROTOC': '<!(which protoc)',
},
}],
],
'targets': [
{
'target_name': 'stubs',
'type': '<(library)',
'sources': [
'<(ENGINE_ROOT)/stub... | 29.190476 | 74 | 0.527732 | 122 | 1,226 | 5.122951 | 0.336066 | 0.224 | 0.312 | 0.272 | 0.6016 | 0.5664 | 0 | 0 | 0 | 0 | 0 | 0.013304 | 0.264274 | 1,226 | 41 | 75 | 29.902439 | 0.679601 | 0 | 0 | 0.317073 | 0 | 0 | 0.62969 | 0.50571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9b7f5b3092a63cc5fca83642417fbe382b41966 | 1,376 | py | Python | tests/comprehension_test.py | mxr/unkey | 5245570cc3599a6750273f3f61d77e1fc99e3593 | [
"MIT"
] | 2 | 2021-08-04T04:50:39.000Z | 2022-02-01T21:38:34.000Z | tests/comprehension_test.py | mxr/unkey | 13188911df145b9ea6369fadd47a510948eb8b5b | [
"MIT"
] | null | null | null | tests/comprehension_test.py | mxr/unkey | 13188911df145b9ea6369fadd47a510948eb8b5b | [
"MIT"
] | null | null | null | import pytest
from unkey import _fix
@pytest.mark.parametrize(
("s", "expected"),
(
pytest.param("[x for x in d.keys()]", "[x for x in d]", id="attr list comp"),
pytest.param(
"[x for x in {}.keys()]", "[x for x in {}]", id="literal list comp"
),
pytest.param(
... | 37.189189 | 88 | 0.473837 | 222 | 1,376 | 2.923423 | 0.135135 | 0.14792 | 0.1849 | 0.25886 | 0.821263 | 0.816641 | 0.784284 | 0.72265 | 0.625578 | 0.542373 | 0 | 0 | 0.306686 | 1,376 | 36 | 89 | 38.222222 | 0.680294 | 0 | 0 | 0.393939 | 0 | 0 | 0.462209 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 1 | 0.030303 | false | 0 | 0.060606 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9bdfa732965931492e679f92a50c4ba7a1297c5 | 26,194 | py | Python | mayaSDK/PySide2/QtQml.py | FXTD-ODYSSEY/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/PySide2/QtQml.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/PySide2/QtQml.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | from PySide2.QtCore import QObject as _QObject
class _Object(object):
__dict__ = None
class VolatileBool(object):
"""
VolatileBool objects contain a C++ volatile bool
"""
def __repr__(*args, **kwargs):
"""
x.__repr__() <==> repr(x)
"""
pass
... | 15.06268 | 70 | 0.457433 | 2,182 | 26,194 | 5.238772 | 0.146196 | 0.25807 | 0.300061 | 0.322719 | 0.48316 | 0.471875 | 0.444755 | 0.426034 | 0.399703 | 0.28379 | 0 | 0.000399 | 0.425288 | 26,194 | 1,738 | 71 | 15.071346 | 0.758935 | 0.090861 | 0 | 0.657497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.405777 | false | 0.405777 | 0.006878 | 0 | 0.598349 | 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 |
b9d1f0dd73f31b5e7afe7b66a7f352bc783bd42a | 74 | py | Python | app/engine/NoReturnFig/Loop/Break.py | normidar/py-visibility-coding-alpha | 479d0c928f325178fc383dc1af0014cdf9771d1d | [
"MIT"
] | null | null | null | app/engine/NoReturnFig/Loop/Break.py | normidar/py-visibility-coding-alpha | 479d0c928f325178fc383dc1af0014cdf9771d1d | [
"MIT"
] | null | null | null | app/engine/NoReturnFig/Loop/Break.py | normidar/py-visibility-coding-alpha | 479d0c928f325178fc383dc1af0014cdf9771d1d | [
"MIT"
] | null | null | null | from ..NoReturnFig import NoReturnFig
class Break(NoReturnFig):
pass
| 14.8 | 37 | 0.77027 | 8 | 74 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 4 | 38 | 18.5 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b9d7d6797a54ea35ab52e099269ba5314a8f950e | 12,764 | py | Python | cottonformation/res/servicecatalogappregistry.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/servicecatalogappregistry.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/servicecatalogappregistry.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
#--- Resource declaration ---
@attr.s
class Application(Resource):
"""
AWS Object... | 58.820276 | 231 | 0.776637 | 1,253 | 12,764 | 7.818037 | 0.059058 | 0.0539 | 0.176399 | 0.065945 | 0.953859 | 0.953859 | 0.903022 | 0.903022 | 0.903022 | 0.897509 | 0 | 0.000088 | 0.104669 | 12,764 | 216 | 232 | 59.092593 | 0.857105 | 0.427139 | 0 | 0.638889 | 0 | 0 | 0.077099 | 0.040939 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0.018519 | 0.037037 | 0 | 0.407407 | 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 |
b9e80da292d2c9f03d060b47d11ef742ae0f830d | 229 | py | Python | RNAPuzzles/rnapuzzles/views/user/__init__.py | whinyadventure/RNA-Puzzles | bbd147e1a0748a77b5e3424a93ad57bb430b5a0e | [
"Apache-2.0"
] | null | null | null | RNAPuzzles/rnapuzzles/views/user/__init__.py | whinyadventure/RNA-Puzzles | bbd147e1a0748a77b5e3424a93ad57bb430b5a0e | [
"Apache-2.0"
] | 26 | 2019-10-08T11:11:25.000Z | 2022-03-12T00:52:30.000Z | RNAPuzzles/rnapuzzles/views/user/__init__.py | whinyadventure/RNA-Puzzles | bbd147e1a0748a77b5e3424a93ad57bb430b5a0e | [
"Apache-2.0"
] | 1 | 2020-05-11T18:51:04.000Z | 2020-05-11T18:51:04.000Z | from .detail import *
from .signin import *
from .signup import *
from .update import *
from .passwordUpdate import *
from .passwordReset import *
from .newPassword import *
from .resetForm import *
from .unconfirmedList import * | 25.444444 | 30 | 0.768559 | 27 | 229 | 6.518519 | 0.407407 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152838 | 229 | 9 | 30 | 25.444444 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
6a0aaa2cd589f7255a174e83c9cf3538a3359f9b | 22 | py | Python | cride/circles/views/__init__.py | AngelFA04/PlatziCride | ab37e6e7ff5b552ed799da22f562084592563680 | [
"MIT"
] | null | null | null | cride/circles/views/__init__.py | AngelFA04/PlatziCride | ab37e6e7ff5b552ed799da22f562084592563680 | [
"MIT"
] | null | null | null | cride/circles/views/__init__.py | AngelFA04/PlatziCride | ab37e6e7ff5b552ed799da22f562084592563680 | [
"MIT"
] | null | null | null | from . import circles
| 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 |
6a0d0818368942a4bfc0c3475d8a2e32d4b3175c | 151 | py | Python | google-cloud-sdk/platform/gsutil/third_party/rsa/tests/constants.py | bopopescu/searchparty | afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6 | [
"Apache-2.0"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | google-cloud-sdk/platform/gsutil/third_party/rsa/tests/constants.py | bopopescu/searchparty | afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6 | [
"Apache-2.0"
] | 1 | 2021-02-23T22:20:14.000Z | 2021-02-23T22:20:14.000Z | google-cloud-sdk/platform/gsutil/third_party/rsa/tests/constants.py | bopopescu/searchparty | afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6 | [
"Apache-2.0"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | # -*- coding: utf-8 -*-
from rsa._compat import have_python3
if have_python3:
from py3kconstants import *
else:
from py2kconstants import *
| 15.1 | 36 | 0.701987 | 19 | 151 | 5.421053 | 0.684211 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.205298 | 151 | 9 | 37 | 16.777778 | 0.816667 | 0.139073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
dbea7b5668a6caab9724b591b737a24de13987bc | 167 | py | Python | obywatele/admin.py | testteammaciej/wikikracja | c530a90da5e9fbe7f506f98d7135de2eae3043c8 | [
"MIT"
] | 7 | 2016-02-21T17:25:54.000Z | 2021-10-09T19:36:10.000Z | obywatele/admin.py | soma115/wikikracja | 7715ca1daa4ca09888e1c7389ed5f8a2df29898b | [
"MIT"
] | 19 | 2020-02-11T23:55:01.000Z | 2022-03-31T18:11:56.000Z | obywatele/admin.py | testteammaciej/wikikracja | c530a90da5e9fbe7f506f98d7135de2eae3043c8 | [
"MIT"
] | 3 | 2016-01-20T22:34:58.000Z | 2020-09-16T07:45:42.000Z | from django.contrib import admin
# from django.contrib.auth.models import User
# Register your models here.
# admin.site.unregister(User)
# admin.site.register(User)
| 23.857143 | 45 | 0.784431 | 24 | 167 | 5.458333 | 0.541667 | 0.152672 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113772 | 167 | 6 | 46 | 27.833333 | 0.885135 | 0.742515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbfc539a2f80a3db6bd2eca1dd01d62ffdd19006 | 48 | py | Python | pyqtuidoc/fakemods/yselector.py | twardoch/pyqtuidoc | 6c03d7f1311c36acd738fb05f2282dd1f7b5d85d | [
"MIT"
] | null | null | null | pyqtuidoc/fakemods/yselector.py | twardoch/pyqtuidoc | 6c03d7f1311c36acd738fb05f2282dd1f7b5d85d | [
"MIT"
] | null | null | null | pyqtuidoc/fakemods/yselector.py | twardoch/pyqtuidoc | 6c03d7f1311c36acd738fb05f2282dd1f7b5d85d | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import QLabel as YSelector
| 24 | 47 | 0.854167 | 7 | 48 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.125 | 48 | 1 | 48 | 48 | 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 |
e000f45c9400f1d0a092a11d2069952008125f5c | 24 | py | Python | __init__.py | smurfix/PushForKiCad | 22b1110992ba5afd35dd92d14b380177d23e5914 | [
"MIT"
] | 24 | 2022-01-06T11:15:11.000Z | 2022-02-06T09:51:39.000Z | __init__.py | smurfix/PushForKiCad | 22b1110992ba5afd35dd92d14b380177d23e5914 | [
"MIT"
] | 13 | 2022-01-06T18:10:05.000Z | 2022-03-06T12:52:40.000Z | __init__.py | smurfix/PushForKiCad | 22b1110992ba5afd35dd92d14b380177d23e5914 | [
"MIT"
] | 2 | 2022-03-05T11:53:04.000Z | 2022-03-07T00:55:27.000Z | from .src import plugin
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
e056c0d1175b95adb492297891efbad51804b931 | 89 | py | Python | sdwan/sdwan/utils.py | sambyers/netauto_learning | 22c1049bf86e188f774f1c977823abea2bb3abfe | [
"MIT"
] | null | null | null | sdwan/sdwan/utils.py | sambyers/netauto_learning | 22c1049bf86e188f774f1c977823abea2bb3abfe | [
"MIT"
] | null | null | null | sdwan/sdwan/utils.py | sambyers/netauto_learning | 22c1049bf86e188f774f1c977823abea2bb3abfe | [
"MIT"
] | null | null | null | from munch import munchify
def dict_to_obj(dictionary):
return munchify(dictionary) | 17.8 | 31 | 0.797753 | 12 | 89 | 5.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 31 | 17.8 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e0614371bd11dc505fbf930753981c97ce9b5e42 | 63,548 | py | Python | pyspedas/mms/__init__.py | xnchu/pyspedas | 62657581c0b6ed980fcd99ac34455a8b7a77dede | [
"MIT"
] | null | null | null | pyspedas/mms/__init__.py | xnchu/pyspedas | 62657581c0b6ed980fcd99ac34455a8b7a77dede | [
"MIT"
] | null | null | null | pyspedas/mms/__init__.py | xnchu/pyspedas | 62657581c0b6ed980fcd99ac34455a8b7a77dede | [
"MIT"
] | null | null | null | """
This module contains routines for loading MMS data
"""
from .mms_load_data import mms_load_data
from .fgm.mms_curl import mms_curl
from .fgm.mms_fgm_remove_flags import mms_fgm_remove_flags
from .fgm.mms_fgm_set_metadata import mms_fgm_set_metadata
from .scm.mms_scm_set_metadata import mms_scm_set_metadata
from .... | 42.507023 | 171 | 0.645229 | 8,796 | 63,548 | 4.51694 | 0.041724 | 0.024364 | 0.014271 | 0.010521 | 0.8736 | 0.846543 | 0.837432 | 0.832222 | 0.821147 | 0.813949 | 0 | 0.007866 | 0.281818 | 63,548 | 1,494 | 172 | 42.535475 | 0.862683 | 0.550041 | 0 | 0.371134 | 0 | 0 | 0.03507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074742 | false | 0 | 0.072165 | 0.036082 | 0.25 | 0.043814 | 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 |
1631cd2cb606a2379e7a111f471934645c5f7c19 | 11,205 | py | Python | tests/components/hunterdouglas_powerview/test_config_flow.py | gdt/core | 72b0eb719e646cd8983f30ff797e7cd1cbe911e9 | [
"Apache-2.0"
] | 6 | 2017-11-15T09:56:41.000Z | 2021-01-24T15:12:09.000Z | tests/components/hunterdouglas_powerview/test_config_flow.py | gdt/core | 72b0eb719e646cd8983f30ff797e7cd1cbe911e9 | [
"Apache-2.0"
] | 87 | 2020-07-15T13:43:35.000Z | 2022-03-23T07:43:10.000Z | tests/components/hunterdouglas_powerview/test_config_flow.py | gdt/core | 72b0eb719e646cd8983f30ff797e7cd1cbe911e9 | [
"Apache-2.0"
] | 2 | 2021-11-19T23:20:40.000Z | 2021-11-20T00:18:40.000Z | """Test the Logitech Harmony Hub config flow."""
import asyncio
import json
from unittest.mock import AsyncMock, MagicMock, patch
import pytest
from homeassistant import config_entries
from homeassistant.components import dhcp, zeroconf
from homeassistant.components.hunterdouglas_powerview.const import DOMAIN
from t... | 33.249258 | 87 | 0.682195 | 1,279 | 11,205 | 5.689601 | 0.111806 | 0.107462 | 0.098117 | 0.060464 | 0.817232 | 0.785763 | 0.765838 | 0.741514 | 0.737392 | 0.698502 | 0 | 0.011574 | 0.205801 | 11,205 | 336 | 88 | 33.348214 | 0.806158 | 0.003748 | 0 | 0.604478 | 0 | 0 | 0.176553 | 0.094702 | 0 | 0 | 0 | 0 | 0.149254 | 1 | 0.011194 | false | 0 | 0.029851 | 0 | 0.052239 | 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 |
164bd05d32b19f9b79b2c0031c7c29bbae53e767 | 102 | py | Python | terrascript/arukas/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/arukas/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/arukas/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/arukas/r.py
import terrascript
class arukas_container(terrascript.Resource):
pass
| 14.571429 | 45 | 0.794118 | 12 | 102 | 6.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 6 | 46 | 17 | 0.898876 | 0.22549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1669a984c539884229b910755834681fe5388538 | 194 | py | Python | attendance_log/attendance_log/doctype/device_ip_details/device_ip_details.py | KaviyaPeriyasamy/attendance_log | fb9636067c54924f51ecd4df3cb66cbac829b6af | [
"MIT"
] | null | null | null | attendance_log/attendance_log/doctype/device_ip_details/device_ip_details.py | KaviyaPeriyasamy/attendance_log | fb9636067c54924f51ecd4df3cb66cbac829b6af | [
"MIT"
] | null | null | null | attendance_log/attendance_log/doctype/device_ip_details/device_ip_details.py | KaviyaPeriyasamy/attendance_log | fb9636067c54924f51ecd4df3cb66cbac829b6af | [
"MIT"
] | null | null | null | # Copyright (c) 2021, alaa and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class DeviceIPDetails(Document):
pass
| 21.555556 | 49 | 0.793814 | 25 | 194 | 6.16 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.139175 | 194 | 8 | 50 | 24.25 | 0.898204 | 0.530928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
169981ceedf4a46996aee744b10545d746cd0b2f | 68,076 | py | Python | FasterRCNN_SE_Train/src/cntk/learners/__init__.py | springkim/FasterRCNN_SpringEdition | 7771dcf310cd80a195c44839c83e65adcd5df37d | [
"MIT"
] | 9 | 2017-10-03T14:02:29.000Z | 2019-05-31T01:07:40.000Z | FasterRCNN_SE_Train/src/cntk/learners/__init__.py | springkim/FasterRCNN_SpringEdition | 7771dcf310cd80a195c44839c83e65adcd5df37d | [
"MIT"
] | 2 | 2018-06-21T11:09:36.000Z | 2018-10-25T18:05:30.000Z | FasterRCNN_SE_Train/src/cntk/learners/__init__.py | springkim/FasterRCNN_SpringEdition | 7771dcf310cd80a195c44839c83e65adcd5df37d | [
"MIT"
] | 1 | 2019-03-22T02:16:17.000Z | 2019-03-22T02:16:17.000Z | # Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE.md file in the project root
# for full license information.
# ==============================================================================
'''
A learner tunes a set of parameters during the training process. One can use
dif... | 56.967364 | 343 | 0.728906 | 9,004 | 68,076 | 5.281986 | 0.071302 | 0.064509 | 0.020185 | 0.029437 | 0.800269 | 0.769676 | 0.745789 | 0.729263 | 0.71364 | 0.702685 | 0 | 0.012619 | 0.203772 | 68,076 | 1,194 | 344 | 57.015075 | 0.864789 | 0.593807 | 0 | 0.598465 | 0 | 0.005115 | 0.054476 | 0.005048 | 0 | 0 | 0 | 0.001675 | 0 | 1 | 0.079284 | false | 0 | 0.02046 | 0 | 0.204604 | 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 |
16a11a3584c157d4027243355c7e3a6df5e85f2c | 142 | py | Python | SRC/Chapter_01-The-Basics/08_range_example.py | archeranimesh/HeadFirstPython | 8e0c84871328a6bf3a8d723341be56298440f29b | [
"MIT"
] | 1 | 2020-12-26T19:37:14.000Z | 2020-12-26T19:37:14.000Z | SRC/Chapter_01-The-Basics/08_range_example.py | archeranimesh/HeadFirstPython | 8e0c84871328a6bf3a8d723341be56298440f29b | [
"MIT"
] | null | null | null | SRC/Chapter_01-The-Basics/08_range_example.py | archeranimesh/HeadFirstPython | 8e0c84871328a6bf3a8d723341be56298440f29b | [
"MIT"
] | null | null | null | print(list(range(5)))
print(list(range(5, 10)))
print(list(range(0, 10, 2)))
print(list(range(10, 0, -2)))
print(list(range(0, 10, -2)))
| 12.909091 | 29 | 0.605634 | 27 | 142 | 3.185185 | 0.259259 | 0.523256 | 0.813953 | 0.348837 | 0.418605 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0.128 | 0.119718 | 142 | 10 | 30 | 14.2 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
16b85881135eefe45aa0a9b794f4863f2eda78f1 | 98 | py | Python | terrascript/triton/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/triton/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/triton/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/triton/__init__.py
import terrascript
class triton(terrascript.Provider):
pass | 16.333333 | 35 | 0.795918 | 11 | 98 | 6.727273 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 6 | 36 | 16.333333 | 0.860465 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bc6c3d2943dffd2db638fdc56eedb5f617d7fe41 | 47 | py | Python | aiohttphelper/__init__.py | gregorybarille/AioCalls | 15a8ffe56e656b641abcbc5a899b662e7fc2f0d8 | [
"MIT"
] | 1 | 2020-07-10T13:06:27.000Z | 2020-07-10T13:06:27.000Z | aiohttphelper/__init__.py | gregorybarille/AioCalls | 15a8ffe56e656b641abcbc5a899b662e7fc2f0d8 | [
"MIT"
] | null | null | null | aiohttphelper/__init__.py | gregorybarille/AioCalls | 15a8ffe56e656b641abcbc5a899b662e7fc2f0d8 | [
"MIT"
] | null | null | null | from .functions import get, put, post, delete
| 15.666667 | 45 | 0.744681 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 46 | 23.5 | 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 |
bc7d118927d5343e885592d3c62eefb0a18867ce | 51 | py | Python | __init__.py | goodship1/CoinCommand | 9b8f36d4b5241f9cb56cf68bf449c1af03c44a7a | [
"MIT"
] | 2 | 2018-01-25T22:10:37.000Z | 2020-02-13T16:49:55.000Z | __init__.py | goodship1/CoinCommand | 9b8f36d4b5241f9cb56cf68bf449c1af03c44a7a | [
"MIT"
] | 5 | 2018-03-03T23:35:21.000Z | 2019-09-22T18:30:49.000Z | __init__.py | goodship1/CoinCommand | 9b8f36d4b5241f9cb56cf68bf449c1af03c44a7a | [
"MIT"
] | null | null | null | from .CoincommandExceptions import CoinDoesntExist
| 25.5 | 50 | 0.901961 | 4 | 51 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.978723 | 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 |
bc825e0310b5e4859b0059b3ada81590c68d8418 | 569 | py | Python | pyspedas/erg/__init__.py | pulupa/pyspedas | 7228199cf16eca2a27d130f1e4985ef1e69462ea | [
"MIT"
] | 3 | 2018-10-22T20:15:39.000Z | 2019-03-06T18:03:35.000Z | pyspedas/erg/__init__.py | pulupa/pyspedas | 7228199cf16eca2a27d130f1e4985ef1e69462ea | [
"MIT"
] | null | null | null | pyspedas/erg/__init__.py | pulupa/pyspedas | 7228199cf16eca2a27d130f1e4985ef1e69462ea | [
"MIT"
] | 2 | 2019-01-25T20:03:33.000Z | 2019-07-05T19:53:30.000Z | from .satellite.erg.hep.hep import hep
from .satellite.erg.lepe.lepe import lepe
from .satellite.erg.lepi.lepi import lepi
from .satellite.erg.mepe.mepe import mepe
from .satellite.erg.mepi.mepi_nml import mepi_nml
from .satellite.erg.mepi.mepi_tof import mepi_tof
from .satellite.erg.mgf.mgf import mgf
from .satellite.... | 43.769231 | 49 | 0.818981 | 103 | 569 | 4.407767 | 0.184466 | 0.372247 | 0.45815 | 0.167401 | 0.299559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089631 | 569 | 13 | 50 | 43.769231 | 0.876448 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcaccc0f170c85448aa391ca61f85defd86f0387 | 250 | py | Python | examplepackage/tests/test_examplemodule.py | dionysisbacchus/python-project-template | 1c25dc7022614b59c61bb99321c580afdeac17f2 | [
"MIT"
] | null | null | null | examplepackage/tests/test_examplemodule.py | dionysisbacchus/python-project-template | 1c25dc7022614b59c61bb99321c580afdeac17f2 | [
"MIT"
] | null | null | null | examplepackage/tests/test_examplemodule.py | dionysisbacchus/python-project-template | 1c25dc7022614b59c61bb99321c580afdeac17f2 | [
"MIT"
] | 3 | 2022-02-22T06:54:19.000Z | 2022-02-23T20:06:13.000Z | import pytest
from examplepackage.examplemodule import example_function
@pytest.mark.parametrize("test_input,expected", [(2, 4), (3, 9), (5, 25)])
def test_example_function(test_input, expected):
assert example_function(test_input) == expected
| 31.25 | 74 | 0.772 | 33 | 250 | 5.636364 | 0.606061 | 0.241935 | 0.274194 | 0.258065 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.104 | 250 | 7 | 75 | 35.714286 | 0.799107 | 0 | 0 | 0 | 0 | 0 | 0.076 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcf9571cb6b1398073675c04d6c2d86ad989f69e | 7,371 | py | Python | cottonformation/res/inspector.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/inspector.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/inspector.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
#--- Resource declaration ---
@attr.s
class ResourceGroup(Resource):
"""
AWS Obje... | 52.65 | 206 | 0.765025 | 765 | 7,371 | 7.275817 | 0.099346 | 0.049407 | 0.089831 | 0.067194 | 0.874057 | 0.874057 | 0.82447 | 0.82447 | 0.82447 | 0.802551 | 0 | 0.000152 | 0.109076 | 7,371 | 139 | 207 | 53.028777 | 0.847419 | 0.366436 | 0 | 0.378788 | 0 | 0 | 0.080655 | 0.044739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.060606 | 0 | 0.363636 | 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 |
4c2861eb6324559081276d32528bdabcbc7ccbf6 | 38 | py | Python | tests/inline_test_resources/5/importB.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | tests/inline_test_resources/5/importB.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | tests/inline_test_resources/5/importB.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | noway = 'should not import this file'
| 19 | 37 | 0.736842 | 6 | 38 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c3abb2a1ed1cbd85234cb3c5af8aefe1a81b75d | 32,443 | py | Python | dlp/tests/unit/gapic/v2/test_dlp_service_client_v2.py | udengcnf/gcloud | dd1714bd754e18739339e611c42a391ced27c614 | [
"Apache-2.0"
] | null | null | null | dlp/tests/unit/gapic/v2/test_dlp_service_client_v2.py | udengcnf/gcloud | dd1714bd754e18739339e611c42a391ced27c614 | [
"Apache-2.0"
] | null | null | null | dlp/tests/unit/gapic/v2/test_dlp_service_client_v2.py | udengcnf/gcloud | dd1714bd754e18739339e611c42a391ced27c614 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 35.073514 | 79 | 0.668095 | 3,223 | 32,443 | 6.471921 | 0.064536 | 0.092047 | 0.026368 | 0.06472 | 0.871422 | 0.82655 | 0.82281 | 0.814756 | 0.802148 | 0.79745 | 0 | 0.021822 | 0.247141 | 32,443 | 924 | 80 | 35.111472 | 0.83218 | 0.083192 | 0 | 0.693878 | 0 | 0 | 0.06235 | 0.019691 | 0 | 0 | 0 | 0 | 0.12585 | 1 | 0.091837 | false | 0.001701 | 0.006803 | 0.001701 | 0.108844 | 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 |
910dd7c2ccdb8478d45a4d1037b5ebdbb57c27fd | 49 | py | Python | teste3.py | asalesg/python | 885ff5fae1e685424863286082fbe49ca5f4efe7 | [
"MIT"
] | null | null | null | teste3.py | asalesg/python | 885ff5fae1e685424863286082fbe49ca5f4efe7 | [
"MIT"
] | null | null | null | teste3.py | asalesg/python | 885ff5fae1e685424863286082fbe49ca5f4efe7 | [
"MIT"
] | null | null | null | lista = [0,5,10,15,5,10,20]
print(lista.count(5)) | 24.5 | 27 | 0.653061 | 12 | 49 | 2.666667 | 0.666667 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.061224 | 49 | 2 | 28 | 24.5 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9129bbed156ecbcc8cc5c6c777c4e04f572f2563 | 125 | py | Python | tests/test_match_parse.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 13 | 2020-04-18T15:17:58.000Z | 2022-02-24T13:25:46.000Z | tests/test_match_parse.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 5 | 2020-04-04T21:16:00.000Z | 2022-02-10T00:26:20.000Z | tests/test_match_parse.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 3 | 2020-06-06T17:26:19.000Z | 2022-02-10T00:30:39.000Z | from .utils import execute_script
def test_match_parse(url):
execute_script('test_match_parse.twill', initial_url=url)
| 20.833333 | 61 | 0.8 | 19 | 125 | 4.894737 | 0.631579 | 0.27957 | 0.301075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 5 | 62 | 25 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.176 | 0.176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
91454052c40a3924d575f59ff7f47c6043d9897f | 45,806 | py | Python | tests/api/v1_3_0/test_devices.py | wastorga/dnacentersdk | 1a25aaef2eaa016fe54ebebbd7448919e0effa3f | [
"MIT"
] | null | null | null | tests/api/v1_3_0/test_devices.py | wastorga/dnacentersdk | 1a25aaef2eaa016fe54ebebbd7448919e0effa3f | [
"MIT"
] | null | null | null | tests/api/v1_3_0/test_devices.py | wastorga/dnacentersdk | 1a25aaef2eaa016fe54ebebbd7448919e0effa3f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""DNACenterAPI devices API fixtures and tests.
Copyright (c) 2019 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includ... | 26.159909 | 97 | 0.717832 | 5,862 | 45,806 | 5.19362 | 0.054248 | 0.071736 | 0.030547 | 0.05124 | 0.881196 | 0.857021 | 0.829562 | 0.799901 | 0.765446 | 0.710133 | 0 | 0.016648 | 0.210562 | 45,806 | 1,750 | 98 | 26.174857 | 0.825281 | 0.024888 | 0 | 0.570129 | 0 | 0 | 0.079043 | 0.023579 | 0 | 0 | 0 | 0 | 0.059136 | 1 | 0.147839 | false | 0.016679 | 0.002274 | 0 | 0.238817 | 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 |
9148cd2a1e8537ffec6d90651ed4e957a922ee7e | 11,695 | py | Python | formwizard/tests/wizardtests/tests.py | djangsters/django-formwizard | 7b35165f0340aae4e8302d5b05b0cb443f6c9904 | [
"BSD-3-Clause"
] | 4 | 2015-02-05T00:12:55.000Z | 2017-08-14T10:37:20.000Z | formwizard/tests/wizardtests/tests.py | djangsters/django-formwizard | 7b35165f0340aae4e8302d5b05b0cb443f6c9904 | [
"BSD-3-Clause"
] | 2 | 2017-05-18T20:21:03.000Z | 2017-08-16T14:33:28.000Z | formwizard/tests/wizardtests/tests.py | djangsters/django-formwizard | 7b35165f0340aae4e8302d5b05b0cb443f6c9904 | [
"BSD-3-Clause"
] | 4 | 2015-01-20T00:19:22.000Z | 2017-11-24T15:17:02.000Z | from __future__ import with_statement
import os
from django.test import TestCase
from django.conf import settings
from django.contrib.auth.models import User
import formwizard
class WizardTests(object):
urls = 'formwizard.tests.wizardtests.urls'
def setUp(self):
self.testuser, created = User.objects... | 41.035088 | 81 | 0.633604 | 1,359 | 11,695 | 5.234731 | 0.091979 | 0.137054 | 0.161653 | 0.122294 | 0.879393 | 0.832865 | 0.823166 | 0.823166 | 0.794771 | 0.789429 | 0 | 0.028054 | 0.225823 | 11,695 | 284 | 82 | 41.179577 | 0.757676 | 0 | 0 | 0.59751 | 0 | 0 | 0.194459 | 0.053959 | 0 | 0 | 0 | 0 | 0.273859 | 1 | 0.049793 | false | 0 | 0.024896 | 0 | 0.136929 | 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 |
914c36194321c929b91469d5d4a236a46c7f5471 | 4,212 | py | Python | tests/Python/Dynamic/PyATKDynamic_swellgain_test.py | D-J-Roberts/AudioTK | accf009d7238f32702eb1d5ee23c5148fc68e3bd | [
"BSD-3-Clause"
] | 249 | 2015-01-05T13:36:26.000Z | 2022-03-15T18:47:46.000Z | tests/Python/Dynamic/PyATKDynamic_swellgain_test.py | D-J-Roberts/AudioTK | accf009d7238f32702eb1d5ee23c5148fc68e3bd | [
"BSD-3-Clause"
] | 22 | 2015-07-28T15:20:24.000Z | 2020-07-11T14:18:19.000Z | tests/Python/Dynamic/PyATKDynamic_swellgain_test.py | D-J-Roberts/AudioTK | accf009d7238f32702eb1d5ee23c5148fc68e3bd | [
"BSD-3-Clause"
] | 48 | 2015-08-15T12:08:13.000Z | 2021-04-07T02:33:07.000Z | #!/usr/bin/env python
from ATK.Core import DoubleInPointerFilter, DoubleOutPointerFilter
from ATK.Dynamic import DoubleGainCompressorFilter, DoubleGainSwellFilter
from ATK.Tools import DoubleApplyGainFilter
sample_rate = 96000
def filter(input, ratio=4, threshold=1, softness=1):
import numpy as np
output = np.ze... | 31.909091 | 99 | 0.746676 | 606 | 4,212 | 4.965347 | 0.148515 | 0.019276 | 0.056497 | 0.076437 | 0.834829 | 0.790296 | 0.77102 | 0.762712 | 0.753074 | 0.753074 | 0 | 0.042242 | 0.140076 | 4,212 | 131 | 100 | 32.152672 | 0.788515 | 0.004748 | 0 | 0.628866 | 0 | 0 | 0.086137 | 0.022906 | 0 | 0 | 0 | 0 | 0.061856 | 1 | 0.051546 | false | 0 | 0.164948 | 0 | 0.237113 | 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 |
e671a756af30787a22d288d1457e85890664447d | 151 | py | Python | Udemy/GeekUniversity/secao_4/ex8_conversor_kelvin_p_celsuis.py | SandboxGTASA/Python-1 | bbb5f8bdf7d5110528e457b2a9ebdb2d67e40805 | [
"MIT"
] | null | null | null | Udemy/GeekUniversity/secao_4/ex8_conversor_kelvin_p_celsuis.py | SandboxGTASA/Python-1 | bbb5f8bdf7d5110528e457b2a9ebdb2d67e40805 | [
"MIT"
] | null | null | null | Udemy/GeekUniversity/secao_4/ex8_conversor_kelvin_p_celsuis.py | SandboxGTASA/Python-1 | bbb5f8bdf7d5110528e457b2a9ebdb2d67e40805 | [
"MIT"
] | null | null | null | kelvin = float(input('Entre com a temperatura em Kelvin: '))
c = kelvin - 273.15
print(f'A temperatura em Kelvin convertida para Celsius é de: {c}')
| 25.166667 | 67 | 0.708609 | 25 | 151 | 4.28 | 0.72 | 0.224299 | 0.261682 | 0.373832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.172185 | 151 | 5 | 68 | 30.2 | 0.816 | 0 | 0 | 0 | 0 | 0 | 0.609272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e679bb586817f3b04e1a1806bc2b851af82b2dd0 | 124 | py | Python | mapek_framework/src/test_mapek_framework/test_managed_system.py | imcatta/ros-mapek-framework | 55e5aa299d322df4edea9b5898e969add122c445 | [
"MIT"
] | 1 | 2019-08-18T17:36:42.000Z | 2019-08-18T17:36:42.000Z | mapek_framework/src/test_mapek_framework/test_managed_system.py | imcatta/ros-mapek-framework | 55e5aa299d322df4edea9b5898e969add122c445 | [
"MIT"
] | 4 | 2019-02-01T13:07:49.000Z | 2019-02-04T14:10:46.000Z | mapek_framework/src/test_mapek_framework/test_managed_system.py | imcatta/ros-mapek-framework | 55e5aa299d322df4edea9b5898e969add122c445 | [
"MIT"
] | 1 | 2019-09-06T13:03:51.000Z | 2019-09-06T13:03:51.000Z | import unittest
from mapek_framework import ManagedSystem
class ManagedSystemTestCase(unittest.TestCase):
pass
| 20.666667 | 47 | 0.790323 | 12 | 124 | 8.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 6 | 48 | 20.666667 | 0.95098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e6956c35a56722f2ba4aac72cf5966b1d268d604 | 200 | py | Python | webapp/manage.py | zhiwehu/IBookmark | b416f14f2b7ede4f38a00f386c2cdac01cbd740f | [
"Apache-2.0"
] | 1 | 2020-04-01T11:11:37.000Z | 2020-04-01T11:11:37.000Z | webapp/manage.py | zhiwehu/IBookmark | b416f14f2b7ede4f38a00f386c2cdac01cbd740f | [
"Apache-2.0"
] | null | null | null | webapp/manage.py | zhiwehu/IBookmark | b416f14f2b7ede4f38a00f386c2cdac01cbd740f | [
"Apache-2.0"
] | 2 | 2019-10-04T06:00:32.000Z | 2021-02-03T08:08:27.000Z | #!/usr/bin/env python
from django.core.management import execute_from_command_line
import environment
environment.setup_environ(__file__)
if __name__ == "__main__":
execute_from_command_line()
| 20 | 60 | 0.81 | 26 | 200 | 5.5 | 0.730769 | 0.153846 | 0.251748 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105 | 200 | 9 | 61 | 22.222222 | 0.798883 | 0.1 | 0 | 0 | 0 | 0 | 0.044693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e69c9a56157705b84f1e8585b89a2f87f6564b96 | 3,211 | py | Python | tests/test_backoff.py | alexferl/justbackoff | 8d99124122e744b1e6a721742c2bcc96b7917993 | [
"MIT"
] | null | null | null | tests/test_backoff.py | alexferl/justbackoff | 8d99124122e744b1e6a721742c2bcc96b7917993 | [
"MIT"
] | null | null | null | tests/test_backoff.py | alexferl/justbackoff | 8d99124122e744b1e6a721742c2bcc96b7917993 | [
"MIT"
] | null | null | null | import unittest
from justbackoff import Backoff, to_ms, to_seconds
class CustomAssertions:
@staticmethod
def assert_between(actual: float, low: float, high: float):
if actual < low:
raise AssertionError("Got {}, expecting >= {}".format(actual, low))
if actual > high:
... | 37.337209 | 79 | 0.63843 | 458 | 3,211 | 4.344978 | 0.128821 | 0.248744 | 0.110553 | 0.180905 | 0.769849 | 0.757789 | 0.723116 | 0.671357 | 0.631658 | 0.603015 | 0 | 0.072492 | 0.205232 | 3,211 | 85 | 80 | 37.776471 | 0.707288 | 0 | 0 | 0.462687 | 0 | 0 | 0.014326 | 0 | 0 | 0 | 0 | 0 | 0.597015 | 1 | 0.149254 | false | 0 | 0.029851 | 0 | 0.208955 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6b6b25cb2f1a9b15538ae2b6015c734c94717c7 | 10,335 | py | Python | tests/pytests/unit/states/test_win_network.py | waynegemmell/salt | 88056db3589cccab8956c2ae4f9b733acce89461 | [
"Apache-2.0"
] | 9,425 | 2015-01-01T05:59:24.000Z | 2022-03-31T20:44:05.000Z | tests/pytests/unit/states/test_win_network.py | waynegemmell/salt | 88056db3589cccab8956c2ae4f9b733acce89461 | [
"Apache-2.0"
] | 33,507 | 2015-01-01T00:19:56.000Z | 2022-03-31T23:48:20.000Z | tests/pytests/unit/states/test_win_network.py | waynegemmell/salt | 88056db3589cccab8956c2ae4f9b733acce89461 | [
"Apache-2.0"
] | 5,810 | 2015-01-01T19:11:45.000Z | 2022-03-31T02:37:20.000Z | """
:codeauthor: Rahul Handay <rahulha@saltstack.com>
"""
import pytest
import salt.states.win_network as win_network
from tests.support.mock import MagicMock, patch
@pytest.fixture
def configure_loader_modules():
return {win_network: {}}
def test_managed_missing_parameters():
"""
Test to ensure th... | 31.413374 | 88 | 0.568553 | 1,137 | 10,335 | 4.866315 | 0.100264 | 0.079523 | 0.090367 | 0.065245 | 0.868426 | 0.840412 | 0.808241 | 0.790349 | 0.773902 | 0.716429 | 0 | 0.016019 | 0.293275 | 10,335 | 328 | 89 | 31.509146 | 0.741512 | 0.015385 | 0 | 0.628866 | 0 | 0 | 0.254927 | 0 | 0 | 0 | 0 | 0 | 0.044674 | 1 | 0.044674 | false | 0 | 0.010309 | 0.003436 | 0.058419 | 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 |
e6c2807a6d162830d87e51e42c2b02735337f341 | 55 | py | Python | test.py | RealityAbb/panSky | fadf7063094f809f679d0bcaafbd161054b6b63b | [
"Apache-2.0"
] | null | null | null | test.py | RealityAbb/panSky | fadf7063094f809f679d0bcaafbd161054b6b63b | [
"Apache-2.0"
] | null | null | null | test.py | RealityAbb/panSky | fadf7063094f809f679d0bcaafbd161054b6b63b | [
"Apache-2.0"
] | null | null | null | from CTFd.models import get_id
print(get_id("1234567")) | 27.5 | 30 | 0.8 | 10 | 55 | 4.2 | 0.8 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0.072727 | 55 | 2 | 31 | 27.5 | 0.686275 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
fc3895f4c5e42de64e0861e83b74e6a6914e1a8a | 32 | py | Python | nglview/theme/__init__.py | tovrstra/nglview | 12ab36c78dffc04bc2dde1f4048bc61ca75d33a5 | [
"MIT"
] | 161 | 2020-07-28T14:05:57.000Z | 2022-03-31T08:38:06.000Z | nglview/theme/__init__.py | tovrstra/nglview | 12ab36c78dffc04bc2dde1f4048bc61ca75d33a5 | [
"MIT"
] | 123 | 2020-07-27T15:02:27.000Z | 2022-03-30T18:31:51.000Z | nglview/theme/__init__.py | tovrstra/nglview | 12ab36c78dffc04bc2dde1f4048bc61ca75d33a5 | [
"MIT"
] | 42 | 2020-07-28T09:50:06.000Z | 2022-03-11T18:50:22.000Z | from .theme import ThemeManager
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc52e144812958fd47d18fcda49e62314066b23d | 1,587 | py | Python | python/easy/1470_Shuffle_the_Array.py | JackWang0107/leetcode | c02932190b639ef87a8d0fcd07d9cd6ec7344a67 | [
"MIT"
] | 1 | 2021-05-22T03:27:33.000Z | 2021-05-22T03:27:33.000Z | python/easy/1470_Shuffle_the_Array.py | JackWang0107/leetcode | c02932190b639ef87a8d0fcd07d9cd6ec7344a67 | [
"MIT"
] | null | null | null | python/easy/1470_Shuffle_the_Array.py | JackWang0107/leetcode | c02932190b639ef87a8d0fcd07d9cd6ec7344a67 | [
"MIT"
] | null | null | null | from typing import *
class Solution:
# 60 ms, faster than 61.39% of Python3 online submissions for Shuffle the Array.
# 14.2 MB, less than 98.76% of Python3 online submissions for Shuffle the Array.
def shuffle(self, nums: List[int], n: int) -> List[int]:
ans = []
for i in range(n):
... | 36.906977 | 85 | 0.57719 | 247 | 1,587 | 3.676113 | 0.230769 | 0.079295 | 0.132159 | 0.229075 | 0.742291 | 0.742291 | 0.71696 | 0.71696 | 0.71696 | 0.71696 | 0 | 0.066845 | 0.293006 | 1,587 | 43 | 86 | 36.906977 | 0.742424 | 0.398236 | 0 | 0.413793 | 0 | 0 | 0.008448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.034483 | 0 | 0.344828 | 0.034483 | 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 |
fca6b4abd9a3d599a91d273c5c04d4c4a0463e16 | 164 | py | Python | Tensorflow/my_tensorflow/src/regularizers/__init__.py | hywel1994/mac-workspace | 10c20555104ce6ebba77657c7605ce2b7fa2fc34 | [
"MIT"
] | 37 | 2018-10-18T06:19:08.000Z | 2022-03-20T08:13:08.000Z | github/Algorithm_Interview_Notes-Chinese/_codes/my_tensorflow/src/regularizers/__init__.py | keeya/Interview | 2b40108d39de9ca9e9ab069edb9d4fcf9fe5760c | [
"MIT"
] | 1 | 2019-01-27T14:21:21.000Z | 2019-01-27T14:21:21.000Z | github/Algorithm_Interview_Notes-Chinese/_codes/my_tensorflow/src/regularizers/__init__.py | keeya/Interview | 2b40108d39de9ca9e9ab069edb9d4fcf9fe5760c | [
"MIT"
] | 13 | 2018-10-23T12:39:55.000Z | 2022-02-25T10:54:01.000Z | """
正则化函数
`Tensor -> Tensor or None`
Examples:
l2_regularizer = l2(0.01)
tf.get_variable(..., regularizer=l2_regularizer, ...)
"""
from .L1L2 import *
| 16.4 | 57 | 0.628049 | 20 | 164 | 5 | 0.75 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.195122 | 164 | 9 | 58 | 18.222222 | 0.69697 | 0.823171 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5dccee1d5537a67eb75dd0175f90ce68d50a316c | 8,572 | py | Python | tasks/libs/version_tests.py | Taiki-San/datadog-agent | 40aa7e6d8a663dfda52ee5d35179fccc15e7ff51 | [
"Apache-2.0"
] | 1,611 | 2017-09-28T15:07:39.000Z | 2022-03-31T18:23:05.000Z | tasks/libs/version_tests.py | Taiki-San/datadog-agent | 40aa7e6d8a663dfda52ee5d35179fccc15e7ff51 | [
"Apache-2.0"
] | 3,946 | 2017-09-28T14:45:19.000Z | 2022-03-31T20:19:36.000Z | tasks/libs/version_tests.py | Taiki-San/datadog-agent | 40aa7e6d8a663dfda52ee5d35179fccc15e7ff51 | [
"Apache-2.0"
] | 916 | 2017-10-17T23:18:48.000Z | 2022-03-30T09:26:14.000Z | import random
import unittest
from .version import Version
class TestVersionComparison(unittest.TestCase):
def _get_version(self, major, minor, patch, rc, devel):
return Version(major, minor, patch=patch, rc=rc, devel=devel)
def _get_random_version(self):
return self._get_version(
... | 40.819048 | 115 | 0.673705 | 1,072 | 8,572 | 5.142724 | 0.059701 | 0.062217 | 0.148195 | 0.121894 | 0.902594 | 0.88645 | 0.879013 | 0.861963 | 0.817159 | 0.801923 | 0 | 0.012425 | 0.220719 | 8,572 | 209 | 116 | 41.014354 | 0.812874 | 0.018315 | 0 | 0.435583 | 0 | 0 | 0.000951 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 1 | 0.165644 | false | 0 | 0.018405 | 0.01227 | 0.226994 | 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 |
f8df4a44bfc676df0719491c5c618876d5b9eadf | 35,038 | py | Python | src/test/python/org/o3project/odenos/core/component/network/flow/ofpflow/test_ofp_flow_match.py | o3project/odenos | 837d0d3d3c37482e843c40c5eeeac10646e68c65 | [
"Apache-2.0"
] | 26 | 2015-02-18T10:22:50.000Z | 2020-06-18T05:07:54.000Z | src/test/python/org/o3project/odenos/core/component/network/flow/ofpflow/test_ofp_flow_match.py | o3project/odenos | 837d0d3d3c37482e843c40c5eeeac10646e68c65 | [
"Apache-2.0"
] | 45 | 2015-02-20T00:40:45.000Z | 2021-12-14T21:07:57.000Z | src/test/python/org/o3project/odenos/core/component/network/flow/ofpflow/test_ofp_flow_match.py | o3project/odenos | 837d0d3d3c37482e843c40c5eeeac10646e68c65 | [
"Apache-2.0"
] | 30 | 2015-02-19T02:00:35.000Z | 2017-02-18T15:28:09.000Z | # -*- coding:utf-8 -*-
# Copyright 2015 NEC Corporation. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License... | 42.938725 | 90 | 0.680062 | 4,573 | 35,038 | 4.894817 | 0.038924 | 0.191655 | 0.242763 | 0.188751 | 0.888983 | 0.836356 | 0.711982 | 0.590198 | 0.312232 | 0.146533 | 0 | 0.024454 | 0.214539 | 35,038 | 815 | 91 | 42.991411 | 0.788888 | 0.045037 | 0 | 0.013468 | 0 | 0 | 0.05315 | 0 | 0 | 0 | 0 | 0 | 0.481481 | 1 | 0.19697 | false | 0 | 0.003367 | 0 | 0.20202 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d0f2bb186ffc7b9a92b6551237bf7d09fab5ce6 | 103 | py | Python | blaze/compute/air/__init__.py | talumbau/blaze | 66c9e61476f11d53f7b734664214537182397739 | [
"BSD-3-Clause"
] | 1 | 2018-01-24T08:54:04.000Z | 2018-01-24T08:54:04.000Z | blaze/compute/air/__init__.py | talumbau/blaze | 66c9e61476f11d53f7b734664214537182397739 | [
"BSD-3-Clause"
] | null | null | null | blaze/compute/air/__init__.py | talumbau/blaze | 66c9e61476f11d53f7b734664214537182397739 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, division, print_function
from .entrypoint import compile, run
| 25.75 | 64 | 0.84466 | 13 | 103 | 6.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 3 | 65 | 34.333333 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 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 |
5d1bd9fe989869ca0c0660a2f03f1cd70651cc37 | 248 | py | Python | core/src/zeit/content/text/browser/tests/test_doctest.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 5 | 2019-05-16T09:51:29.000Z | 2021-05-31T09:30:03.000Z | core/src/zeit/content/text/browser/tests/test_doctest.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 107 | 2019-05-24T12:19:02.000Z | 2022-03-23T15:05:56.000Z | core/src/zeit/content/text/browser/tests/test_doctest.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 3 | 2020-08-14T11:01:17.000Z | 2022-01-08T17:32:19.000Z | import zeit.cms.testing
import zeit.content.text.testing
def test_suite():
return zeit.cms.testing.FunctionalDocFileSuite(
'README.txt',
package='zeit.content.text.browser',
layer=zeit.content.text.testing.WSGI_LAYER)
| 24.8 | 51 | 0.717742 | 31 | 248 | 5.677419 | 0.548387 | 0.1875 | 0.255682 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165323 | 248 | 9 | 52 | 27.555556 | 0.850242 | 0 | 0 | 0 | 0 | 0 | 0.141129 | 0.100806 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.285714 | 0.142857 | 0.571429 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
5d543c23a7e260984b7ac5f5a9a21d89b2db2216 | 6,236 | py | Python | simulation/behaviors.py | tmsquill/grove | afe2d6ff35a2db7d8cb1e3ff7e5a0e3b29f369f7 | [
"MIT"
] | 1 | 2016-11-23T16:59:01.000Z | 2016-11-23T16:59:01.000Z | simulation/behaviors.py | zivia/grove | afe2d6ff35a2db7d8cb1e3ff7e5a0e3b29f369f7 | [
"MIT"
] | 1 | 2020-04-26T19:28:42.000Z | 2020-04-26T19:28:42.000Z | simulation/behaviors.py | zivia/grove | afe2d6ff35a2db7d8cb1e3ff7e5a0e3b29f369f7 | [
"MIT"
] | null | null | null | import entity
from utils import Point, rand
def move_north(agent=None, entities=None, environment=None):
"""
Behavior that causes an agent to move north one unit.
:param agent: The agent to perform the behavior.
:param entities: A list of entities in the simulation.
:param environment: The envir... | 28.605505 | 124 | 0.669179 | 854 | 6,236 | 4.807963 | 0.094848 | 0.050414 | 0.05358 | 0.083293 | 0.830005 | 0.819776 | 0.760594 | 0.736727 | 0.728933 | 0.726498 | 0 | 0.015618 | 0.229955 | 6,236 | 217 | 125 | 28.737327 | 0.839442 | 0.314785 | 0 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.025 | 0 | 0.275 | 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 |
538c39a701a8f10c699e5e979d44542d758f1f16 | 73 | py | Python | src/cranet/metrics/__init__.py | shizuku/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | 4 | 2021-10-31T13:31:13.000Z | 2021-12-11T08:45:36.000Z | src/cranet/metrics/__init__.py | Azathoth1729/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | null | null | null | src/cranet/metrics/__init__.py | Azathoth1729/cranet | 4c86ad16029ed76a74e22b5e5e4c21267d6b9996 | [
"MIT"
] | 2 | 2021-10-31T13:34:28.000Z | 2021-11-21T09:11:46.000Z | from .classification import *
from .common import *
from .image import *
| 18.25 | 29 | 0.753425 | 9 | 73 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 30 | 24.333333 | 0.901639 | 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 |
53993a1bb828fc6a921c953e078dfc8940f4a60d | 184 | py | Python | umetnine/account/admin.py | jaanos/OPB-umetnine | f1fedd62e750317548510c412793d80c60b9e392 | [
"MIT"
] | null | null | null | umetnine/account/admin.py | jaanos/OPB-umetnine | f1fedd62e750317548510c412793d80c60b9e392 | [
"MIT"
] | null | null | null | umetnine/account/admin.py | jaanos/OPB-umetnine | f1fedd62e750317548510c412793d80c60b9e392 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import UserArtwork
# from .models import User
# Register your models here.
# admin.site.register(User)
admin.site.register(UserArtwork)
| 20.444444 | 32 | 0.793478 | 25 | 184 | 5.84 | 0.48 | 0.136986 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 184 | 8 | 33 | 23 | 0.906832 | 0.418478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 |
53aa7ff3e92639633021ae82763cdc6ae5481066 | 134 | py | Python | coffin/conf/urls.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | null | null | null | coffin/conf/urls.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | null | null | null | coffin/conf/urls.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import *
handler404 = 'coffin.views.defaults.page_not_found'
handler500 = 'coffin.views.defaults.server_error'
| 26.8 | 51 | 0.80597 | 18 | 134 | 5.833333 | 0.833333 | 0.209524 | 0.361905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.08209 | 134 | 4 | 52 | 33.5 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.522388 | 0.522388 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
53d41097a07696ea306c9d943df32e690a1a8ed1 | 72 | py | Python | pycocotools/loss.py | mintanwei/IPCLs-Net | 04937df683216a090c0749cc90ab7e517dbab0fd | [
"MIT"
] | null | null | null | pycocotools/loss.py | mintanwei/IPCLs-Net | 04937df683216a090c0749cc90ab7e517dbab0fd | [
"MIT"
] | null | null | null | pycocotools/loss.py | mintanwei/IPCLs-Net | 04937df683216a090c0749cc90ab7e517dbab0fd | [
"MIT"
] | null | null | null | from torch import nn
import torch
from torch.nn import functional as F
| 14.4 | 36 | 0.805556 | 13 | 72 | 4.461538 | 0.538462 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 4 | 37 | 18 | 0.983051 | 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 |
53d915ed8952fb531f3395dc69a8724c25682022 | 47 | py | Python | urls/__init__.py | AileenLumina/dwarf | 5fc3b1b532290a474d17f84694dae1d0d53be7b4 | [
"MIT"
] | null | null | null | urls/__init__.py | AileenLumina/dwarf | 5fc3b1b532290a474d17f84694dae1d0d53be7b4 | [
"MIT"
] | null | null | null | urls/__init__.py | AileenLumina/dwarf | 5fc3b1b532290a474d17f84694dae1d0d53be7b4 | [
"MIT"
] | null | null | null | import importlib
# importlib.import_module()
| 9.4 | 27 | 0.787234 | 5 | 47 | 7.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 4 | 28 | 11.75 | 0.878049 | 0.531915 | 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 |
53e82b8a1f5a8b1b5a831baf0275f818ebf4aae4 | 1,776 | py | Python | 4 - camera & ysort/code/settings.py | aldrinbrillante/Zelda | 83d74beca1e1d352a17fc4218cf1e2226d5788c3 | [
"CC0-1.0"
] | null | null | null | 4 - camera & ysort/code/settings.py | aldrinbrillante/Zelda | 83d74beca1e1d352a17fc4218cf1e2226d5788c3 | [
"CC0-1.0"
] | null | null | null | 4 - camera & ysort/code/settings.py | aldrinbrillante/Zelda | 83d74beca1e1d352a17fc4218cf1e2226d5788c3 | [
"CC0-1.0"
] | null | null | null | # game setup
WIDTH = 1280
HEIGTH = 720
FPS = 60
TILESIZE = 64
WORLD_MAP = [
['x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x','x'],
['x',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','x'],
['x',' ','p',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',... | 63.428571 | 83 | 0.091779 | 124 | 1,776 | 1.306452 | 0.112903 | 1.345679 | 1.981481 | 2.592593 | 0.685185 | 0.685185 | 0.685185 | 0.685185 | 0.685185 | 0.685185 | 0 | 0.007796 | 0.205518 | 1,776 | 28 | 84 | 63.428571 | 0.107016 | 0.005631 | 0 | 0.5 | 0 | 0 | 0.23015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53ef02c674653b5749ae7c259d02425420920e68 | 29,616 | py | Python | code/python/FactSetOwnership/v1/fds/sdk/FactSetOwnership/api/fund_holdings_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetOwnership/v1/fds/sdk/FactSetOwnership/api/fund_holdings_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetOwnership/v1/fds/sdk/FactSetOwnership/api/fund_holdings_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
FactSet Ownership API
FactSet’s Fund Ownership API gives access to both **Holdings** and **Holders** data.<p> Factset's Holdings endpoints gives access to all the underlying securities and their position detils held within a given fund. Fund Types supported include Open-End Mutual Funds, Closed-end Mutual ... | 49.942664 | 860 | 0.596738 | 3,382 | 29,616 | 5.09728 | 0.096984 | 0.029236 | 0.018099 | 0.017634 | 0.854574 | 0.837926 | 0.837462 | 0.822844 | 0.822147 | 0.820175 | 0 | 0.009983 | 0.333671 | 29,616 | 592 | 861 | 50.027027 | 0.863586 | 0.605416 | 0 | 0.570281 | 0 | 0 | 0.160252 | 0.063226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040161 | false | 0 | 0.040161 | 0 | 0.116466 | 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 |
54d8ce9fda6d8630409124fe8f41eb51b96ce584 | 620 | py | Python | rcnn/lib/python3.6/site-packages/tensorflow/graph_util/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | 1 | 2019-01-12T13:17:32.000Z | 2019-01-12T13:17:32.000Z | rcnn/lib/python3.6/site-packages/tensorflow/graph_util/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | rcnn/lib/python3.6/site-packages/tensorflow/graph_util/__init__.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Helpers to manipulate a tensor graph in python.
"""
from __future__ import print_function
from tensorflow.python.framework.graph_util import convert_variables_to_constants
from tensorf... | 38.75 | 82 | 0.859677 | 91 | 620 | 5.549451 | 0.527473 | 0.190099 | 0.19802 | 0.287129 | 0.435644 | 0.435644 | 0.435644 | 0 | 0 | 0 | 0 | 0 | 0.085484 | 620 | 15 | 83 | 41.333333 | 0.890653 | 0.280645 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54fea51f6d1cb4c372a2272b257c00584e640961 | 123 | py | Python | adventures/bucketlist/admin.py | lakivisi-zz/adventures | f094ac3fa1d5c85d65650c9cdc2ff2f60f9189a5 | [
"MIT"
] | null | null | null | adventures/bucketlist/admin.py | lakivisi-zz/adventures | f094ac3fa1d5c85d65650c9cdc2ff2f60f9189a5 | [
"MIT"
] | null | null | null | adventures/bucketlist/admin.py | lakivisi-zz/adventures | f094ac3fa1d5c85d65650c9cdc2ff2f60f9189a5 | [
"MIT"
] | 1 | 2021-01-14T21:27:32.000Z | 2021-01-14T21:27:32.000Z | from django.contrib import admin
from bucketlist.models import Bucketlist, Item
admin.site.register((Bucketlist, Item))
| 17.571429 | 46 | 0.804878 | 16 | 123 | 6.1875 | 0.625 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 6 | 47 | 20.5 | 0.908257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
073308290954ca159881f4e1d0c513bbe9ea4754 | 64 | py | Python | unittest/functions.test.py | mokpolar/devops-eng-training | 2cf327a37e4575991f2846f42cad03f3cbab770d | [
"MIT"
] | null | null | null | unittest/functions.test.py | mokpolar/devops-eng-training | 2cf327a37e4575991f2846f42cad03f3cbab770d | [
"MIT"
] | 1 | 2021-05-17T07:43:26.000Z | 2021-05-17T07:43:26.000Z | unittest/functions.test.py | mokpolar/devops-eng-training | 2cf327a37e4575991f2846f42cad03f3cbab770d | [
"MIT"
] | 9 | 2021-05-06T06:00:18.000Z | 2021-05-15T08:30:47.000Z | # TODO(everyone): 더하기, 빼기, 곱하기, 나누기 함수 테스트 케이스 작성
import pytest | 21.333333 | 49 | 0.703125 | 12 | 64 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 50 | 21.333333 | 0.865385 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07463e6b6117126e9dd1efba8bcdf70ce2d2e411 | 103 | py | Python | soccer/exceptions.py | elimt/soccer-cli | 400665812bbe2d29b8ead7627713f38fa688bd75 | [
"MIT"
] | 1,185 | 2015-08-19T15:52:35.000Z | 2022-03-27T19:28:36.000Z | soccer/exceptions.py | elimt/soccer-cli | 400665812bbe2d29b8ead7627713f38fa688bd75 | [
"MIT"
] | 129 | 2015-09-01T18:32:21.000Z | 2022-02-13T06:35:38.000Z | soccer/exceptions.py | elimt/soccer-cli | 400665812bbe2d29b8ead7627713f38fa688bd75 | [
"MIT"
] | 312 | 2015-09-01T17:58:15.000Z | 2022-03-27T19:29:55.000Z | class IncorrectParametersException(Exception):
pass
class APIErrorException(Exception):
pass
| 14.714286 | 46 | 0.786408 | 8 | 103 | 10.125 | 0.625 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 6 | 47 | 17.166667 | 0.931034 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
075125aa69f3fb3a8390c035fd0dc11f2920d054 | 9,409 | py | Python | papi_sdk/tests/mocked_data/overview.py | stanislav-losev/papi-sdk-python | 4a296745d626ef13c6d1170e9d3569cb1c37eb3c | [
"MIT"
] | 1 | 2022-02-01T08:53:24.000Z | 2022-02-01T08:53:24.000Z | papi_sdk/tests/mocked_data/overview.py | stanislav-losev/papi-sdk-python | 4a296745d626ef13c6d1170e9d3569cb1c37eb3c | [
"MIT"
] | 2 | 2021-01-18T07:57:29.000Z | 2021-06-23T11:04:14.000Z | papi_sdk/tests/mocked_data/overview.py | stanislav-losev/papi-sdk-python | 4a296745d626ef13c6d1170e9d3569cb1c37eb3c | [
"MIT"
] | 3 | 2020-12-30T13:09:45.000Z | 2020-12-30T13:42:33.000Z | overview_response = {
"debug": None,
"error": None,
"status": "ok",
"data": [
{
"endpoint": "api/b2b/v3/general/contract/data/info/",
"is_active": True,
"is_debug_mode": False,
"is_limited": True,
"requests_number": 100,
"se... | 30.950658 | 82 | 0.455628 | 862 | 9,409 | 4.708817 | 0.078886 | 0.100271 | 0.109387 | 0.127618 | 0.942597 | 0.934959 | 0.930525 | 0.930525 | 0.924612 | 0.924612 | 0 | 0.046591 | 0.404613 | 9,409 | 303 | 83 | 31.052805 | 0.677972 | 0 | 0 | 0.610561 | 0 | 0 | 0.405144 | 0.129344 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0759cebe101d132eb123673aae139f2fc2abee01 | 326 | py | Python | tests/test_my_package.py | lucianojardim/pyskeleton | 19b67f1e57c19bd882271be06b0605b6ba355db0 | [
"MIT"
] | null | null | null | tests/test_my_package.py | lucianojardim/pyskeleton | 19b67f1e57c19bd882271be06b0605b6ba355db0 | [
"MIT"
] | null | null | null | tests/test_my_package.py | lucianojardim/pyskeleton | 19b67f1e57c19bd882271be06b0605b6ba355db0 | [
"MIT"
] | null | null | null | """ tests for my_package """
from .context import my_package
def test_increment():
""" test increment """
assert my_package.increment(3) == 4
def test_decrement():
""" test decrement """
assert my_package.decrement(3) == 2
def test_double():
""" test double """
assert my_package.double(3)... | 17.157895 | 39 | 0.634969 | 42 | 326 | 4.738095 | 0.404762 | 0.226131 | 0.226131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.214724 | 326 | 18 | 40 | 18.111111 | 0.753906 | 0.199387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 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 |
ab059a3f68c0786e384bdc1f9523ecd6e3bc33aa | 131 | py | Python | ranking/admin.py | ShitamatsugeFactory/KokoWalk_Server | 9af36f750a512aa56635b04a190589d76822bc86 | [
"MIT"
] | 3 | 2017-01-01T07:34:54.000Z | 2017-01-04T02:18:37.000Z | ranking/admin.py | ShitamatsugeFactory/KokoWalk_Server | 9af36f750a512aa56635b04a190589d76822bc86 | [
"MIT"
] | null | null | null | ranking/admin.py | ShitamatsugeFactory/KokoWalk_Server | 9af36f750a512aa56635b04a190589d76822bc86 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Ranking
@admin.register(Ranking)
class Ranking(admin.ModelAdmin):
pass | 16.375 | 33 | 0.778626 | 18 | 131 | 5.722222 | 0.666667 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 8 | 34 | 16.375 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.4 | null | null | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
ab26df89f6ef8af4754cf6ce61455085d2b634e1 | 32 | py | Python | dlex_impl/deep_sets/src/datasets/__init__.py | dvtrung/dl-torch | b49e57d10d32bb223e2d7643f2579ccc32c63a9a | [
"MIT"
] | null | null | null | dlex_impl/deep_sets/src/datasets/__init__.py | dvtrung/dl-torch | b49e57d10d32bb223e2d7643f2579ccc32c63a9a | [
"MIT"
] | null | null | null | dlex_impl/deep_sets/src/datasets/__init__.py | dvtrung/dl-torch | b49e57d10d32bb223e2d7643f2579ccc32c63a9a | [
"MIT"
] | null | null | null | from .modelnet import ModelNet40 | 32 | 32 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 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 |
db7354bd91d165215e863d1dc8f6118a73eba28f | 35 | py | Python | tests/unit/test_modulegraph/testdata/nspkg/src/parent/namedpkg/parent.py | hawkhai/pyinstaller | 016a24479b34de161792c72dde455a81ad4c78ae | [
"Apache-2.0"
] | 9,267 | 2015-01-01T04:08:45.000Z | 2022-03-31T11:42:38.000Z | tests/unit/test_modulegraph/testdata/nspkg/src/parent/namedpkg/parent.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 5,150 | 2015-01-01T12:09:56.000Z | 2022-03-31T18:06:12.000Z | tests/unit/test_modulegraph/testdata/nspkg/src/parent/namedpkg/parent.py | jeremysanders/pyinstaller | 321b24f9a9a5978337735816b36ca6b4a90a2fb4 | [
"Apache-2.0"
] | 2,101 | 2015-01-03T10:25:27.000Z | 2022-03-30T11:04:42.000Z | """ parent packages """
import sys
| 11.666667 | 23 | 0.657143 | 4 | 35 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 24 | 17.5 | 0.793103 | 0.428571 | 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 |
dbc23709c7cec8f99f3984d24ca2dcaf6002878b | 191 | py | Python | statsmodels/sandbox/tools/__init__.py | yarikoptic/statsmodels | f990cb1a1ef0c9883c9394444e6f9d027efabec6 | [
"BSD-3-Clause"
] | 34 | 2018-07-13T11:30:46.000Z | 2022-01-05T13:48:10.000Z | venv/lib/python3.6/site-packages/statsmodels/sandbox/tools/__init__.py | HeyWeiPan/vnpy_crypto | 844381797a475a01c05a4e162592a5a6e3a48032 | [
"MIT"
] | 7 | 2015-11-20T08:33:04.000Z | 2020-07-24T19:34:39.000Z | venv/lib/python3.6/site-packages/statsmodels/sandbox/tools/__init__.py | HeyWeiPan/vnpy_crypto | 844381797a475a01c05a4e162592a5a6e3a48032 | [
"MIT"
] | 28 | 2015-04-01T20:02:25.000Z | 2021-07-03T00:09:28.000Z | '''some helper function for principal component and time series analysis
Status
------
pca : tested against matlab
pcasvd : tested against matlab
'''
from .tools_pca import * #pca, pcasvd
| 17.363636 | 72 | 0.73822 | 25 | 191 | 5.6 | 0.76 | 0.185714 | 0.271429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167539 | 191 | 10 | 73 | 19.1 | 0.880503 | 0.816754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91a69bf2e3b09b5c2d2ab9c4930e98ed67a67ef3 | 181 | py | Python | graphPlot/__init__.py | francisp336/graphPlot | 2e12535aebf39b65c93a16fe8de9b657555392e8 | [
"MIT"
] | null | null | null | graphPlot/__init__.py | francisp336/graphPlot | 2e12535aebf39b65c93a16fe8de9b657555392e8 | [
"MIT"
] | 1 | 2020-09-29T22:01:56.000Z | 2020-09-29T22:01:56.000Z | graphPlot/__init__.py | francisp336/graphPlot | 2e12535aebf39b65c93a16fe8de9b657555392e8 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import matplotlib.patches as ptc
import random as r
from .graphPlot import *
# def _unit_test():
# TODO define unit test
| 13.923077 | 32 | 0.745856 | 28 | 181 | 4.75 | 0.642857 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20442 | 181 | 12 | 33 | 15.083333 | 0.923611 | 0.21547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91e6edfa77d27dad68c6edfea1331fb3d2c2dab7 | 32,178 | py | Python | Tests/scripts/hook_validations/tests/integration_test.py | TBE-Comp/content | 3a27b1c779dec1e4ee918ca2da77538238dd10f0 | [
"MIT"
] | 7 | 2020-09-24T22:38:01.000Z | 2021-07-14T15:58:35.000Z | Tests/scripts/hook_validations/tests/integration_test.py | TBE-Comp/content | 3a27b1c779dec1e4ee918ca2da77538238dd10f0 | [
"MIT"
] | 7 | 2021-03-25T23:09:39.000Z | 2021-09-23T23:27:14.000Z | Tests/scripts/hook_validations/tests/integration_test.py | TBE-Comp/content | 3a27b1c779dec1e4ee918ca2da77538238dd10f0 | [
"MIT"
] | 2 | 2020-12-08T17:03:33.000Z | 2021-07-13T18:32:06.000Z | from Tests.scripts.hook_validations.integration import IntegrationValidator
def test_removed_docker_image_on_existing_integration():
validator = IntegrationValidator("temp_file", check_git=False)
validator.old_integration = {
"script": {
"dockerimage": "test"
}
}
validator.... | 30.101029 | 120 | 0.478153 | 2,417 | 32,178 | 6.136533 | 0.078196 | 0.045307 | 0.086839 | 0.102346 | 0.874865 | 0.847087 | 0.809668 | 0.755663 | 0.741437 | 0.718379 | 0 | 0.001519 | 0.427217 | 32,178 | 1,068 | 121 | 30.129213 | 0.803212 | 0 | 0 | 0.459721 | 0 | 0 | 0.241531 | 0.002113 | 0 | 0 | 0 | 0 | 0.049409 | 1 | 0.045113 | false | 0 | 0.001074 | 0 | 0.046187 | 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 |
72755bc746d04b3e5d1fb511a7512ba186454e41 | 25,748 | py | Python | sunshine_conversations_client/__init__.py | zendesk/sunshine-conversations-python | 2d0240681b809ffd8ff0e9ed58b33aae844d29f6 | [
"Apache-2.0"
] | 4 | 2020-09-27T14:28:25.000Z | 2022-02-02T13:51:29.000Z | sunshine_conversations_client/__init__.py | zendesk/sunshine-conversations-python | 2d0240681b809ffd8ff0e9ed58b33aae844d29f6 | [
"Apache-2.0"
] | 3 | 2021-09-30T18:18:58.000Z | 2021-12-04T07:55:23.000Z | sunshine_conversations_client/__init__.py | zendesk/sunshine-conversations-python | 2d0240681b809ffd8ff0e9ed58b33aae844d29f6 | [
"Apache-2.0"
] | 5 | 2020-11-07T02:08:18.000Z | 2021-12-07T17:10:23.000Z | # coding: utf-8
# flake8: noqa
"""
Sunshine Conversations API
The version of the OpenAPI document: 9.4.5
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
__version__ = "9.4.6"
# import apis into sdk package
from sunshine_conversations_client.api.activities_api i... | 82.525641 | 154 | 0.929121 | 2,926 | 25,748 | 7.780246 | 0.138072 | 0.268438 | 0.318471 | 0.394904 | 0.627323 | 0.557083 | 0.338326 | 0.227103 | 0.130815 | 0.110301 | 0 | 0.000326 | 0.047538 | 25,748 | 311 | 155 | 82.790997 | 0.927948 | 0.008544 | 0 | 0 | 1 | 0 | 0.000196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.017123 | 0.996575 | 0 | 0.996575 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72761545ae336a19e68ea01bb8ef61ca83d8229d | 1,282 | py | Python | demo_pshape.py | sam1902/pshape | b94b474ecd528284307907d85455e6252946fb95 | [
"BSD-3-Clause"
] | null | null | null | demo_pshape.py | sam1902/pshape | b94b474ecd528284307907d85455e6252946fb95 | [
"BSD-3-Clause"
] | null | null | null | demo_pshape.py | sam1902/pshape | b94b474ecd528284307907d85455e6252946fb95 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
"""Module doc"""
from pshape import pshape
import torch
import numpy as np
def main():
"""Main function"""
print(">>> pshape(np.arange(10).reshape(5,2,1), heading=True)")
print()
pshape(np.arange(10).reshape(5,2,1), heading=True)
print()
print(">>> pshape(np.eye(4), np.a... | 29.136364 | 91 | 0.620125 | 210 | 1,282 | 3.661905 | 0.185714 | 0.143043 | 0.093628 | 0.117035 | 0.828349 | 0.828349 | 0.828349 | 0.828349 | 0.828349 | 0.527958 | 0 | 0.094393 | 0.165367 | 1,282 | 43 | 92 | 29.813953 | 0.624299 | 0.035881 | 0 | 0.3125 | 0 | 0.09375 | 0.351594 | 0.186427 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.09375 | 0 | 0.125 | 0.5625 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 6 |
72976487139c1c744f4018393d1580ee68ac1e88 | 16,745 | py | Python | mayan/apps/user_management/tests/test_api.py | Fourdee/mayan-edms | 39a94f8b4fed519a3b20ab419e920ea53c11eb84 | [
"Apache-2.0"
] | 4 | 2019-02-17T08:35:42.000Z | 2019-03-28T06:02:11.000Z | mayan/apps/user_management/tests/test_api.py | zhoubear/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 1 | 2018-10-11T13:01:34.000Z | 2018-10-11T13:01:34.000Z | mayan/apps/user_management/tests/test_api.py | prezi/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 3 | 2019-01-29T13:21:57.000Z | 2019-10-27T03:20:15.000Z | from __future__ import unicode_literals
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Group
from rest_framework import status
from rest_api.tests import BaseAPITestCase
from ..permissions import (
permission_group_create, permission_group_delete,
permission_group_edit... | 38.318078 | 83 | 0.690475 | 2,158 | 16,745 | 4.969416 | 0.055144 | 0.044013 | 0.027695 | 0.075718 | 0.898079 | 0.875979 | 0.844368 | 0.815834 | 0.791682 | 0.761376 | 0 | 0.014019 | 0.216184 | 16,745 | 436 | 84 | 38.405963 | 0.803048 | 0.030337 | 0 | 0.587879 | 0 | 0 | 0.030333 | 0.005672 | 0 | 0 | 0 | 0.002294 | 0.181818 | 1 | 0.136364 | false | 0.036364 | 0.021212 | 0.036364 | 0.2 | 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 |
729aec100312ae793527a7e94b62e9476eb868b9 | 113 | py | Python | bodyhands/__init__.py | cvlab-stonybrook/BodyHands | dcfe470f6fd31a048d4d17d4ae9a2a524538b380 | [
"MIT"
] | 1 | 2022-03-06T08:18:33.000Z | 2022-03-06T08:18:33.000Z | bodyhands/__init__.py | cvlab-stonybrook/BodyHands | dcfe470f6fd31a048d4d17d4ae9a2a524538b380 | [
"MIT"
] | null | null | null | bodyhands/__init__.py | cvlab-stonybrook/BodyHands | dcfe470f6fd31a048d4d17d4ae9a2a524538b380 | [
"MIT"
] | null | null | null | from .config import *
from .data import *
from .evaluation import *
from .modeling import *
from .utils import *
| 18.833333 | 25 | 0.734513 | 15 | 113 | 5.533333 | 0.466667 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 113 | 5 | 26 | 22.6 | 0.892473 | 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 |
f42cb37aa2d3c697c189931afe7aa988e5cfa79d | 293 | py | Python | pkg_radish_selenium/radish_selenium/__init__.py | bbielicki/radish-bdd-extensions | 7f1317461af23a70f2a551b66299b54e296af32f | [
"BSD-3-Clause"
] | 4 | 2019-09-19T21:25:26.000Z | 2019-11-10T06:09:06.000Z | pkg_radish_selenium/radish_selenium/__init__.py | bbielicki/radish-bdd-extensions | 7f1317461af23a70f2a551b66299b54e296af32f | [
"BSD-3-Clause"
] | null | null | null | pkg_radish_selenium/radish_selenium/__init__.py | bbielicki/radish-bdd-extensions | 7f1317461af23a70f2a551b66299b54e296af32f | [
"BSD-3-Clause"
] | 2 | 2019-09-17T11:26:59.000Z | 2020-01-23T20:20:43.000Z | # © 2019 Nokia
# Licensed under the BSD 3 Clause license
# SPDX-License-Identifier: BSD-3-Clause
import os
def get_radish_selenium_dir():
return os.path.abspath(os.path.dirname(__file__))
def get_radish_selenium_etc_dir():
return os.path.join(get_radish_selenium_dir(), 'etc')
| 17.235294 | 57 | 0.74744 | 46 | 293 | 4.478261 | 0.565217 | 0.131068 | 0.247573 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023904 | 0.143345 | 293 | 16 | 58 | 18.3125 | 0.792829 | 0.307167 | 0 | 0 | 0 | 0 | 0.015228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f439440399888de027a2324c8c89546e0f24d846 | 7,422 | py | Python | povary/apps/events/migrations/0006_auto__add_field_event_visits_num__add_field_eventcategory_visits_num.py | TorinAsakura/cooking | cf0c78f613fa9ce0fcd4ec7a397ab880d9dd631a | [
"BSD-3-Clause"
] | null | null | null | povary/apps/events/migrations/0006_auto__add_field_event_visits_num__add_field_eventcategory_visits_num.py | TorinAsakura/cooking | cf0c78f613fa9ce0fcd4ec7a397ab880d9dd631a | [
"BSD-3-Clause"
] | null | null | null | povary/apps/events/migrations/0006_auto__add_field_event_visits_num__add_field_eventcategory_visits_num.py | TorinAsakura/cooking | cf0c78f613fa9ce0fcd4ec7a397ab880d9dd631a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Event.visits_num'
db.add_column('events_event', 'visits_num',
self.gf(... | 75.734694 | 152 | 0.560765 | 764 | 7,422 | 5.311518 | 0.143979 | 0.100542 | 0.172499 | 0.246427 | 0.810251 | 0.783144 | 0.715377 | 0.706013 | 0.686792 | 0.66412 | 0 | 0.01034 | 0.192132 | 7,422 | 98 | 153 | 75.734694 | 0.666444 | 0.02277 | 0 | 0.423529 | 0 | 0 | 0.555326 | 0.286286 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023529 | false | 0 | 0.047059 | 0 | 0.105882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4399ebf5dd63b964e0c1dae5cd95ec230b4ffd9 | 420 | py | Python | src/modules/priors/prior.py | Constantin771/Improved_srVAE | c1dc8662a077fa8b43ed14d77d5491f50faed79f | [
"MIT"
] | 60 | 2020-06-11T11:06:15.000Z | 2022-03-31T14:35:19.000Z | src/modules/priors/prior.py | Constantin771/Improved_srVAE | c1dc8662a077fa8b43ed14d77d5491f50faed79f | [
"MIT"
] | 9 | 2020-06-28T09:45:28.000Z | 2020-12-30T15:20:19.000Z | src/modules/priors/prior.py | Constantin771/Improved_srVAE | c1dc8662a077fa8b43ed14d77d5491f50faed79f | [
"MIT"
] | 9 | 2020-07-28T12:03:32.000Z | 2022-03-31T14:34:08.000Z | import torch
import torch.nn as nn
class Prior(nn.Module):
def __init__(self):
super().__init__()
def sample(self, **kwargs):
raise NotImplementedError
def log_p(self, input, **kwargs):
return self.forward(z)
def forward(self, input, **kwargs):
raise NotImplementedEr... | 17.5 | 39 | 0.635714 | 48 | 420 | 5.125 | 0.541667 | 0.292683 | 0.243902 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259524 | 420 | 23 | 40 | 18.26087 | 0.790997 | 0 | 0 | 0.2 | 0 | 0 | 0.019048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.066667 | 0.133333 | 0.066667 | 0.6 | 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 |
f48002125b3db6047ffea0bb08eec9a4ef22c59d | 36 | py | Python | pose_tracking_3d/__init__.py | WildflowerSchools/wf-3d-pose-tracking | 0ba099e3d573ecbc39773617c540360668fcee9a | [
"MIT"
] | 1 | 2019-12-06T21:15:36.000Z | 2019-12-06T21:15:36.000Z | pose_tracking_3d/__init__.py | WildflowerSchools/wf-3d-pose-tracking | 0ba099e3d573ecbc39773617c540360668fcee9a | [
"MIT"
] | 1 | 2019-12-15T23:49:06.000Z | 2019-12-16T20:20:52.000Z | pose_tracking_3d/__init__.py | WildflowerSchools/wf-3d-pose-tracking | 0ba099e3d573ecbc39773617c540360668fcee9a | [
"MIT"
] | 2 | 2019-12-06T19:46:07.000Z | 2019-12-11T22:38:15.000Z | from pose_tracking_3d.core import *
| 18 | 35 | 0.833333 | 6 | 36 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.84375 | 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 |
be797d25bdb54a612514ab0799e16c4b21917fe2 | 167 | py | Python | cpab/gpu/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | 17 | 2016-03-16T21:35:36.000Z | 2021-11-11T04:16:21.000Z | cpab/gpu/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | null | null | null | cpab/gpu/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | 4 | 2016-08-12T23:02:09.000Z | 2019-03-14T18:20:36.000Z | import os
dirname_of_cuda_files = os.path.abspath(os.path.dirname(str(__file__)))
if __name__ == "__main__":
print 'dirname_of_cuda_files:',dirname_of_cuda_files | 27.833333 | 71 | 0.784431 | 26 | 167 | 4.230769 | 0.538462 | 0.245455 | 0.354545 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095808 | 167 | 6 | 72 | 27.833333 | 0.728477 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.130952 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be9c67abdf4450516929b46cb9d0a2bd1cd7a8ff | 166 | py | Python | misc/pyschemes_fun.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | misc/pyschemes_fun.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | misc/pyschemes_fun.py | diegopacheco/python-playground | 8e6ba427df6922fb578c2328babbf3466687ccbf | [
"Unlicense"
] | null | null | null | from pyschemes import Scheme, validators
from collections import Iterable
print( str( Scheme(int).validate(10) ))
print( str( Scheme(Iterable).validate([1, 2]) ))
| 27.666667 | 49 | 0.740964 | 22 | 166 | 5.590909 | 0.636364 | 0.130081 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.126506 | 166 | 5 | 50 | 33.2 | 0.82069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
fe57f8c8c300823790f15c1c2940a65808751edc | 1,380 | py | Python | tests/test_provider_invidian_libvirt.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_invidian_libvirt.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_invidian_libvirt.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_invidian_libvirt.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:21:04 UTC)
def test_provider_import():
import terrascript.provider.invidian.libvirt
def test_resource_import():
from terrascript.resource.invidian.libvirt import libvirt_cloudinit_disk
from terrascr... | 30.666667 | 83 | 0.784058 | 174 | 1,380 | 6.04023 | 0.413793 | 0.185538 | 0.179829 | 0.239772 | 0.549001 | 0.466223 | 0.466223 | 0.175071 | 0.175071 | 0 | 0 | 0.014382 | 0.143478 | 1,380 | 44 | 84 | 31.363636 | 0.874788 | 0.365217 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.2 | true | 0 | 0.866667 | 0 | 1.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe7dd5a7728664c1b1e9772fa5df5fda1c08e621 | 69 | py | Python | CAIL2020/cocr/torchocr/networks/heads/__init__.py | ShenDezhou/CAIL | c4cfa98ab4ecedbce34a7a5a186830486047540c | [
"Apache-2.0"
] | 71 | 2020-07-16T01:49:27.000Z | 2022-03-27T16:55:00.000Z | CAIL2020/cocr/torchocr/networks/heads/__init__.py | ShenDezhou/CAIL | c4cfa98ab4ecedbce34a7a5a186830486047540c | [
"Apache-2.0"
] | 11 | 2020-09-18T14:26:25.000Z | 2022-02-09T23:49:33.000Z | CAIL2020/cocr/torchocr/networks/necks/__init__.py | ShenDezhou/CAIL | c4cfa98ab4ecedbce34a7a5a186830486047540c | [
"Apache-2.0"
] | 16 | 2020-07-15T07:24:30.000Z | 2022-03-19T05:41:11.000Z | # -*- coding: utf-8 -*-
# @Time : 2020/5/15 17:42
# @Author : THU | 23 | 28 | 0.492754 | 11 | 69 | 3.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.246377 | 69 | 3 | 29 | 23 | 0.423077 | 0.913043 | 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 |
fe91f139723675c70a0d84c29b7f358dc9272a66 | 1,432 | py | Python | tests/datastructures/trees/test_serialize_tree.py | sikakente/educative-io-python | be6e6c3534bf76e6f77addce16d1ab0c40e3e48d | [
"MIT"
] | 1 | 2021-12-28T21:19:53.000Z | 2021-12-28T21:19:53.000Z | tests/datastructures/trees/test_serialize_tree.py | sikakente/educative-io-python | be6e6c3534bf76e6f77addce16d1ab0c40e3e48d | [
"MIT"
] | 72 | 2022-02-01T18:18:47.000Z | 2022-03-13T12:31:26.000Z | tests/datastructures/trees/test_serialize_tree.py | sikakente/educative-io-python | be6e6c3534bf76e6f77addce16d1ab0c40e3e48d | [
"MIT"
] | null | null | null | import unittest
import pytest
from datastructures.trees.binary_tree_utils import BinaryTree, NULL_MARKER
from datastructures.trees.serialize_tree import Codec, Codec2
@pytest.mark.parametrize("values", [
([2, 1, 3]),
([]),
([1, 2]),
([1, NULL_MARKER, 2]),
([5, 3, 6, 2, 4, NULL_MARKER, NULL_MARKER,... | 31.822222 | 95 | 0.683659 | 161 | 1,432 | 5.857143 | 0.236025 | 0.152704 | 0.093319 | 0.110286 | 0.776246 | 0.776246 | 0.776246 | 0.776246 | 0.776246 | 0.776246 | 0 | 0.024066 | 0.15852 | 1,432 | 44 | 96 | 32.545455 | 0.758506 | 0 | 0 | 0.736842 | 0 | 0 | 0.013966 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22ab98ecd9c94f3ed445f7ea1e896080f788d740 | 974 | py | Python | ShowMhd.py | ZvikaDia/LearnGitHub | c9f15e01fc795b08440fb30fdf2d0afcfd728fbc | [
"BSD-2-Clause"
] | null | null | null | ShowMhd.py | ZvikaDia/LearnGitHub | c9f15e01fc795b08440fb30fdf2d0afcfd728fbc | [
"BSD-2-Clause"
] | 1 | 2021-08-19T10:20:53.000Z | 2021-08-19T10:27:35.000Z | ShowMhd.py | ZvikaDia/LearnGitHub | c9f15e01fc795b08440fb30fdf2d0afcfd728fbc | [
"BSD-2-Clause"
] | null | null | null | import SimpleITK as sitk
import matplotlib.pylab as plt
ct_scans = sitk.GetArrayFromImage(sitk.ReadImage(r"D:\DIACARDIO\DATA\Camus\training\patient0002\patient0002_4CH_ES_gt.mhd", sitk.sitkFloat32))
plt.figure()
plt.gray()
plt.imshow(ct_scans[0])
# plt.subplots_adjust(0,0,1,1,0.01,0.01)
# for i in range(ct_scans.shape[... | 46.380952 | 142 | 0.717659 | 179 | 974 | 3.815642 | 0.324022 | 0.081991 | 0.064422 | 0.093704 | 0.916545 | 0.916545 | 0.916545 | 0.916545 | 0.916545 | 0.916545 | 0 | 0.063636 | 0.096509 | 974 | 21 | 143 | 46.380952 | 0.7125 | 0.446612 | 0 | 0.5 | 0 | 0 | 0.351607 | 0.351607 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
22d682bd051b7e91419cbfd52b1e75f59c3df840 | 776 | py | Python | steam/client/builtins/__init__.py | oczkers/steam-httpx | 77c4c63a5b9937839f62acac01f8e07ca765f20c | [
"MIT"
] | 1 | 2019-10-01T11:33:44.000Z | 2019-10-01T11:33:44.000Z | steam/client/builtins/__init__.py | wynick27/steam | deb1390f319d91d0fec14c32514f1a5f95d4647b | [
"MIT"
] | null | null | null | steam/client/builtins/__init__.py | wynick27/steam | deb1390f319d91d0fec14c32514f1a5f95d4647b | [
"MIT"
] | null | null | null | """
All high level features of :class:`steam.client.SteamClient` are implemented here in separate submodules.
"""
from steam.client.builtins.account import Account
from steam.client.builtins.user import User
from steam.client.builtins.web import Web
from steam.client.builtins.unified_messages import UnifiedMessages
fro... | 40.842105 | 105 | 0.804124 | 101 | 776 | 6.168317 | 0.415842 | 0.158909 | 0.192616 | 0.295345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 776 | 18 | 106 | 43.111111 | 0.917526 | 0.283505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.8 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a3db5a9ea9a2244850491175f9b783b611e2df44 | 156 | py | Python | socket_programming/using_telnet.py | disooqi/learn-with-corey-schafer | d76b4e30190ed4d514455ddbb07cae96e6ed4d2e | [
"MIT"
] | 2 | 2018-03-06T22:27:11.000Z | 2020-10-04T06:14:27.000Z | socket_programming/using_telnet.py | disooqi/learn-with-corey-schafer | d76b4e30190ed4d514455ddbb07cae96e6ed4d2e | [
"MIT"
] | null | null | null | socket_programming/using_telnet.py | disooqi/learn-with-corey-schafer | d76b4e30190ed4d514455ddbb07cae96e6ed4d2e | [
"MIT"
] | 1 | 2018-03-06T22:27:14.000Z | 2018-03-06T22:27:14.000Z | import getpass
import telnetlib
from telnetlib import Telnet
with Telnet('localhost', 9600) as tn:
tn.write('disooqi'.encode('ascii'))
# tn.interact()
| 19.5 | 39 | 0.737179 | 21 | 156 | 5.47619 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.134615 | 156 | 7 | 40 | 22.285714 | 0.822222 | 0.083333 | 0 | 0 | 0 | 0 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a3e6c41c13851cd73965d5c7209ec44eabb4392e | 44 | py | Python | mne_qt_browser/figure.py | marsipu/mne-qt-browser | 6b67dd5af1ef0e39590ffacfbd4dffd8bd7d273d | [
"BSD-3-Clause"
] | 1 | 2021-11-01T08:59:15.000Z | 2021-11-01T08:59:15.000Z | mne_qt_browser/figure.py | mscheltienne/mne-qt-browser | 6c2431632c577fb41f2c1fa25dfbe4e19205da69 | [
"BSD-3-Clause"
] | null | null | null | mne_qt_browser/figure.py | mscheltienne/mne-qt-browser | 6c2431632c577fb41f2c1fa25dfbe4e19205da69 | [
"BSD-3-Clause"
] | null | null | null | from ._pg_figure import MNEQtBrowser # noqa | 44 | 44 | 0.818182 | 6 | 44 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.894737 | 0.090909 | 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 |
431a3b3236d9250faac854d90248e62b7cf16b52 | 101 | py | Python | accounts/filters.py | yamansener199/CS308-Project | 11b915c891494278db73dede565554704cbc8ae2 | [
"Apache-2.0"
] | 1 | 2021-11-13T11:35:40.000Z | 2021-11-13T11:35:40.000Z | accounts/filters.py | yamansener199/CS308-Project | 11b915c891494278db73dede565554704cbc8ae2 | [
"Apache-2.0"
] | null | null | null | accounts/filters.py | yamansener199/CS308-Project | 11b915c891494278db73dede565554704cbc8ae2 | [
"Apache-2.0"
] | 2 | 2021-11-11T14:22:38.000Z | 2021-11-13T11:35:42.000Z | import django_filters
from django_filters import DateFilter, CharFilter
from .models import *
| 16.833333 | 50 | 0.792079 | 12 | 101 | 6.5 | 0.583333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 5 | 51 | 20.2 | 0.939759 | 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 |
4a375f3eef82646da3adb5a7927be5b831428df3 | 261 | py | Python | coveo-functools/coveo_functools/flex/__init__.py | coveooss/coveo-python-oss | 08f5048e12449392f3acaeff85e075711543daab | [
"Apache-2.0"
] | 7 | 2021-03-02T19:30:30.000Z | 2022-03-08T12:24:50.000Z | coveo-functools/coveo_functools/flex/__init__.py | coveooss/coveo-python-oss | 08f5048e12449392f3acaeff85e075711543daab | [
"Apache-2.0"
] | 29 | 2021-01-21T16:45:33.000Z | 2021-12-10T12:09:26.000Z | coveo-functools/coveo_functools/flex/__init__.py | coveooss/coveo-python-oss | 08f5048e12449392f3acaeff85e075711543daab | [
"Apache-2.0"
] | null | null | null | # backward compatibility stuff and import shortcuts
from coveo_functools.flex.decorator import flex, RAW_KEY # noqa: F401
from coveo_functools.flex.deserializer import deserialize # noqa: F401
from coveo_functools.flex.types import * # noqa: F401,F403
| 43.5 | 72 | 0.793103 | 35 | 261 | 5.8 | 0.542857 | 0.133005 | 0.26601 | 0.325123 | 0.295567 | 0.295567 | 0 | 0 | 0 | 0 | 0 | 0.053812 | 0.145594 | 261 | 5 | 73 | 52.2 | 0.856502 | 0.333333 | 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 |
4a907bcfa0dc0ff154f451b28b77c0b96f47c1a2 | 2,768 | py | Python | ivy_tests/test_ivy/test_functional/test_core/test_logic.py | MudasserAfzal/ivy | d43b5da54651ebf1183913acee1279b881e84245 | [
"Apache-2.0"
] | 1 | 2022-02-28T03:20:54.000Z | 2022-02-28T03:20:54.000Z | ivy_tests/test_ivy/test_functional/test_core/test_logic.py | MudasserAfzal/ivy | d43b5da54651ebf1183913acee1279b881e84245 | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_ivy/test_functional/test_core/test_logic.py | MudasserAfzal/ivy | d43b5da54651ebf1183913acee1279b881e84245 | [
"Apache-2.0"
] | null | null | null | """
Collection of tests for unified logic functions
"""
# global
import pytest
import numpy as np
# local
import ivy
import ivy.functional.backends.numpy
import ivy_tests.test_ivy.helpers as helpers
# logical_and
@pytest.mark.parametrize(
"x1_n_x2", [([True, True], [False, True]), ([[0.]], [[1.]])])
@pytest.mar... | 30.086957 | 132 | 0.66474 | 402 | 2,768 | 4.412935 | 0.159204 | 0.049605 | 0.106539 | 0.058625 | 0.846674 | 0.810598 | 0.810598 | 0.752537 | 0.752537 | 0.727734 | 0 | 0.022022 | 0.196171 | 2,768 | 91 | 133 | 30.417582 | 0.775281 | 0.160405 | 0 | 0.649123 | 0 | 0 | 0.034002 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.052632 | false | 0 | 0.087719 | 0 | 0.192982 | 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 |
43cfdf154d0ec1ce3831edaaeb95a6d991105d96 | 3,410 | py | Python | tests/datasets/test_multi_datamodule.py | facebookresearch/pythia | 079740bee4b357a7b1b866d35e2f1fad6edba8a4 | [
"BSD-3-Clause"
] | 3,252 | 2018-07-27T02:32:24.000Z | 2020-05-07T17:54:46.000Z | tests/datasets/test_multi_datamodule.py | facebookresearch/pythia | 079740bee4b357a7b1b866d35e2f1fad6edba8a4 | [
"BSD-3-Clause"
] | 209 | 2018-07-30T06:39:59.000Z | 2020-05-04T22:03:48.000Z | tests/datasets/test_multi_datamodule.py | facebookresearch/pythia | 079740bee4b357a7b1b866d35e2f1fad6edba8a4 | [
"BSD-3-Clause"
] | 431 | 2018-07-27T04:17:37.000Z | 2020-05-05T13:58:02.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
import functools
import torch
from mmf.datasets.lightning_multi_datamodule import LightningMultiDataModule
from mmf.datasets.mmf_dataset_builder import MMFDatasetBuilder
from mmf.datasets.multi_datamodule import MultiDataModule
from omegaconf import OmegaConf
from tes... | 34.795918 | 76 | 0.592082 | 309 | 3,410 | 6.184466 | 0.210356 | 0.087912 | 0.03349 | 0.084772 | 0.77551 | 0.77551 | 0.77551 | 0.77551 | 0.77551 | 0.77551 | 0 | 0.00696 | 0.325806 | 3,410 | 97 | 77 | 35.154639 | 0.824271 | 0.014076 | 0 | 0.719101 | 0 | 0 | 0.120238 | 0.067857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044944 | false | 0 | 0.078652 | 0 | 0.168539 | 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 |
43d39546ea2d1046b2d090b13c9a78e4f68b1b01 | 246 | py | Python | Python/B2-Wuerfel/Wuerfel.py | frankyhub/Calliope | 335f0ef5ca9bcf57e14166319501ec9086bc09bf | [
"MIT"
] | null | null | null | Python/B2-Wuerfel/Wuerfel.py | frankyhub/Calliope | 335f0ef5ca9bcf57e14166319501ec9086bc09bf | [
"MIT"
] | null | null | null | Python/B2-Wuerfel/Wuerfel.py | frankyhub/Calliope | 335f0ef5ca9bcf57e14166319501ec9086bc09bf | [
"MIT"
] | null | null | null | def on_button_pressed_a():
basic.show_number(randint(1, 6))
input.on_button_pressed(Button.A, on_button_pressed_a)
def on_button_pressed_b():
basic.show_number(randint(1, 4))
input.on_button_pressed(Button.B, on_button_pressed_b)
| 30.75 | 55 | 0.772358 | 42 | 246 | 4.095238 | 0.333333 | 0.27907 | 0.523256 | 0.209302 | 0.569767 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.113821 | 246 | 7 | 56 | 35.142857 | 0.770642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78f38e5a158b625177f169e9748e7a88cbc9ecd2 | 4,594 | py | Python | graphql_compiler/tests/test_graphql_pretty_print.py | manesioz/graphql-compiler | b23be9c4a8e26f8c82e741625e04f7c9ac2e623b | [
"Apache-2.0"
] | 521 | 2017-07-18T23:56:25.000Z | 2022-03-25T16:39:06.000Z | graphql_compiler/tests/test_graphql_pretty_print.py | manesioz/graphql-compiler | b23be9c4a8e26f8c82e741625e04f7c9ac2e623b | [
"Apache-2.0"
] | 740 | 2017-07-19T01:52:42.000Z | 2021-09-30T11:15:00.000Z | graphql_compiler/tests/test_graphql_pretty_print.py | manesioz/graphql-compiler | b23be9c4a8e26f8c82e741625e04f7c9ac2e623b | [
"Apache-2.0"
] | 56 | 2017-07-18T23:56:14.000Z | 2021-10-30T08:08:56.000Z | # Copyright 2017-present Kensho Technologies, LLC.
from textwrap import dedent
import unittest
from ..query_formatting.graphql_formatting import pretty_print_graphql
class GraphQLPrettyPrintTests(unittest.TestCase):
def test_graphql_pretty_print_indentation(self) -> None:
bad_query = """{
Anima... | 29.63871 | 98 | 0.44471 | 380 | 4,594 | 5.047368 | 0.163158 | 0.037539 | 0.074557 | 0.097497 | 0.818561 | 0.794578 | 0.780501 | 0.741919 | 0.703337 | 0.657456 | 0 | 0.004591 | 0.430997 | 4,594 | 154 | 99 | 29.831169 | 0.729151 | 0.010448 | 0 | 0.486111 | 0 | 0 | 0.512169 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.069444 | false | 0 | 0.041667 | 0 | 0.125 | 0.111111 | 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 |
78ff0ff94b158b8a0b4a0bdd82c57578f958bc59 | 121 | py | Python | hydra/plugins/plugin.py | andrewjong/hydra | c2faea0f137164721e73d4d0143f9e03554daae4 | [
"MIT"
] | 2 | 2021-02-06T00:23:56.000Z | 2021-03-08T17:31:49.000Z | hydra/plugins/plugin.py | andrewjong/hydra | c2faea0f137164721e73d4d0143f9e03554daae4 | [
"MIT"
] | 4 | 2021-10-06T22:51:46.000Z | 2022-02-27T12:53:27.000Z | hydra/plugins/plugin.py | andrewjong/hydra | c2faea0f137164721e73d4d0143f9e03554daae4 | [
"MIT"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
from abc import ABC
class Plugin(ABC):
pass
| 17.285714 | 70 | 0.727273 | 18 | 121 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198347 | 121 | 6 | 71 | 20.166667 | 0.907216 | 0.561983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
78ffa1be2666509203b8ad6638c6f9b74cdd04a0 | 45 | py | Python | RobotMovingPanel/features/__init__.py | Vlad12344/Pulseapi_Integration | 2acf93a17dd2911328141886b8724134fff84f00 | [
"MIT"
] | null | null | null | RobotMovingPanel/features/__init__.py | Vlad12344/Pulseapi_Integration | 2acf93a17dd2911328141886b8724134fff84f00 | [
"MIT"
] | null | null | null | RobotMovingPanel/features/__init__.py | Vlad12344/Pulseapi_Integration | 2acf93a17dd2911328141886b8724134fff84f00 | [
"MIT"
] | null | null | null | from RobotMovingPanel.features.TCP import tcp | 45 | 45 | 0.888889 | 6 | 45 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 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 |
602893babf2340c835d0745a7c7a285b961f55ee | 21,295 | py | Python | demo_scripts/variable_type_config.py | groverpr/aws-fraud-detector-samples | a1f178ee4389416b93750abb1db622f74a6b3cb4 | [
"MIT-0"
] | null | null | null | demo_scripts/variable_type_config.py | groverpr/aws-fraud-detector-samples | a1f178ee4389416b93750abb1db622f74a6b3cb4 | [
"MIT-0"
] | null | null | null | demo_scripts/variable_type_config.py | groverpr/aws-fraud-detector-samples | a1f178ee4389416b93750abb1db622f74a6b3cb4 | [
"MIT-0"
] | 1 | 2022-01-25T20:48:22.000Z | 2022-01-25T20:48:22.000Z | RECIPE = \
{
"Registration_FakeAccountCreationByBots":
{
"data_path": "data/Registration_FakeAccountCreationByBots_100k.csv",
"variable_mappings": [
{
"variable_name": "first_name",
... | 39.508349 | 91 | 0.325898 | 1,105 | 21,295 | 5.838914 | 0.114027 | 0.16367 | 0.136702 | 0.194358 | 0.811066 | 0.811066 | 0.771079 | 0.764259 | 0.695908 | 0.546962 | 0 | 0.002773 | 0.576661 | 21,295 | 539 | 92 | 39.508349 | 0.712923 | 0 | 0 | 0.472275 | 0 | 0 | 0.326352 | 0.047474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.001912 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 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 |
6065cdf1306b7e7a7bcc249359b334450efed9ac | 55 | py | Python | net_ner/task/__init__.py | renjunxiang/ccks2019_el | 67b7b35312c06248ea1deccbfb37cf5d8e5c6376 | [
"MIT"
] | 99 | 2019-08-01T01:04:54.000Z | 2022-03-17T09:00:14.000Z | net_ner/task/__init__.py | ZhouXiaoLeilei/ccks2019_el-1 | 67b7b35312c06248ea1deccbfb37cf5d8e5c6376 | [
"MIT"
] | 5 | 2019-08-06T02:16:20.000Z | 2021-12-12T15:37:27.000Z | net_ner/task/__init__.py | ZhouXiaoLeilei/ccks2019_el-1 | 67b7b35312c06248ea1deccbfb37cf5d8e5c6376 | [
"MIT"
] | 18 | 2019-08-10T11:18:29.000Z | 2022-03-15T04:44:52.000Z | from .Locate_Entity import Locate_Entity, slice_entity
| 27.5 | 54 | 0.872727 | 8 | 55 | 5.625 | 0.625 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 1 | 55 | 55 | 0.9 | 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 |
60ed1a174d34aacfa7b01dbf21c63f1db5b18160 | 6,838 | py | Python | scripts/networkDesign.py | johodges/datadriven-wildfire-spread | f391c6322b70c28c0016eecc3d324c6078b03dc9 | [
"Apache-2.0"
] | null | null | null | scripts/networkDesign.py | johodges/datadriven-wildfire-spread | f391c6322b70c28c0016eecc3d324c6078b03dc9 | [
"Apache-2.0"
] | null | null | null | scripts/networkDesign.py | johodges/datadriven-wildfire-spread | f391c6322b70c28c0016eecc3d324c6078b03dc9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Apr 20 14:05:20 2018
@author: JHodges
"""
import tensorflow as tf
def cnnModel3(features, labels, mode):
"""Model function for CNN."""
dconv = True
sz = 50
n_dimensions = 13
#n_dimensions = int(features["x"].get_shape().as_list()[1]/(sz**2))
pri... | 43.278481 | 131 | 0.65253 | 951 | 6,838 | 4.605678 | 0.162986 | 0.03105 | 0.028767 | 0.018265 | 0.835616 | 0.808219 | 0.80137 | 0.774886 | 0.74589 | 0.708219 | 0 | 0.045356 | 0.193916 | 6,838 | 157 | 132 | 43.55414 | 0.749274 | 0.09067 | 0 | 0.486486 | 0 | 0 | 0.097427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018018 | false | 0 | 0.009009 | 0 | 0.072072 | 0.18018 | 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 |
71c62ab4879ea1f548ed7cf43cbd971c494b3dbd | 25 | py | Python | labtools/__main__.py | Jejulia/labtools | fbd5e6d9857e2403feda47fd683e7a2d0532b600 | [
"MIT"
] | null | null | null | labtools/__main__.py | Jejulia/labtools | fbd5e6d9857e2403feda47fd683e7a2d0532b600 | [
"MIT"
] | null | null | null | labtools/__main__.py | Jejulia/labtools | fbd5e6d9857e2403feda47fd683e7a2d0532b600 | [
"MIT"
] | null | null | null | import labtools as lb
| 5 | 21 | 0.72 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 4 | 22 | 6.25 | 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 |
71cb60f27edd018e3882af6dccfb9181ed5d4dcb | 44 | py | Python | gym_fabrikatioRL/__init__.py | malerinc/fabricatio-rl | 414ec7cacd0e4316882bb93109930ad8c257cf7f | [
"MIT"
] | 3 | 2021-08-09T15:40:36.000Z | 2022-03-18T07:31:16.000Z | gym_fabrikatioRL/__init__.py | malerinc/fabricatio-rl | 414ec7cacd0e4316882bb93109930ad8c257cf7f | [
"MIT"
] | null | null | null | gym_fabrikatioRL/__init__.py | malerinc/fabricatio-rl | 414ec7cacd0e4316882bb93109930ad8c257cf7f | [
"MIT"
] | null | null | null | from gym.envs.registration import register
| 14.666667 | 42 | 0.840909 | 6 | 44 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 0.948718 | 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 |
e0b3b5d46f632529071d69810a97f8aa2d59e9dd | 21 | py | Python | invoke_tools/cloud/__init__.py | VJftw/invoke-tools | 9584a1f8a402118310b6f2a495062f388fc8dc3a | [
"MIT"
] | 2 | 2017-07-02T02:46:58.000Z | 2018-07-24T03:36:30.000Z | invoke_tools/cloud/__init__.py | VJftw/invoke-tools | 9584a1f8a402118310b6f2a495062f388fc8dc3a | [
"MIT"
] | null | null | null | invoke_tools/cloud/__init__.py | VJftw/invoke-tools | 9584a1f8a402118310b6f2a495062f388fc8dc3a | [
"MIT"
] | 1 | 2019-11-27T14:43:03.000Z | 2019-11-27T14:43:03.000Z | from .aws import AWS
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 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 |
e0be315d5602fa72ecd0629df16722e7a4480341 | 134 | py | Python | __init__.py | fuzzyVineStone/PygamePlus | e17e536c82aec5275d21261b233f5b1dd2083747 | [
"MIT"
] | null | null | null | __init__.py | fuzzyVineStone/PygamePlus | e17e536c82aec5275d21261b233f5b1dd2083747 | [
"MIT"
] | null | null | null | __init__.py | fuzzyVineStone/PygamePlus | e17e536c82aec5275d21261b233f5b1dd2083747 | [
"MIT"
] | null | null | null | from .audio import *
from .event import *
from .graphics import *
from .keyboard import *
from .physics import *
from .time import *
| 16.75 | 23 | 0.723881 | 18 | 134 | 5.388889 | 0.444444 | 0.515464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186567 | 134 | 7 | 24 | 19.142857 | 0.889908 | 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 |
e0e160fd2d76274dc3ea7103fefc3d37e92db99b | 4,513 | py | Python | data/level/level10216.py | levelupai/match3-level-similarity | cc9b28b8741b41bea1273c8bc9b4d265d79a1dca | [
"Apache-2.0"
] | null | null | null | data/level/level10216.py | levelupai/match3-level-similarity | cc9b28b8741b41bea1273c8bc9b4d265d79a1dca | [
"Apache-2.0"
] | 6 | 2020-07-04T02:53:08.000Z | 2022-03-11T23:53:14.000Z | data/level/level10216.py | levelupai/match3-level-similarity | cc9b28b8741b41bea1273c8bc9b4d265d79a1dca | [
"Apache-2.0"
] | 3 | 2019-12-31T11:42:59.000Z | 2021-03-28T20:06:13.000Z | data = {'level_index': 10216, 'move_count': '24',
'board_info': {(-7, 14): {}, (-7, 13): {}, (-4, 13): {'next': (0, -1), 'prev': (1, 0)},
(-4, 12): {'next': (0, -1), 'prev': (0, 1)}, (-4, 11): {'next': (0, -1), 'prev': (0, 1)},
(-4, 10): {'next': (0, -1), 'prev': (0... | 102.568182 | 120 | 0.250609 | 656 | 4,513 | 1.71189 | 0.045732 | 0.149599 | 0.229742 | 0.311665 | 0.731077 | 0.720392 | 0.672306 | 0.252894 | 0.167409 | 0.167409 | 0 | 0.197881 | 0.351651 | 4,513 | 43 | 121 | 104.953488 | 0.185919 | 0 | 0 | 0 | 0 | 0 | 0.12187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0fa55e4200d0e84f069807b27139c601e515801 | 6,505 | py | Python | tests/nlu_core_tests/training_tests/classifiers/multi_classifier_dl_tests.py | askmetoo/nlu | e9ce74895ac44f6b61610f0926e4ab08759f04f7 | [
"Apache-2.0"
] | 1 | 2021-12-26T07:56:38.000Z | 2021-12-26T07:56:38.000Z | tests/nlu_core_tests/training_tests/classifiers/multi_classifier_dl_tests.py | avanishiitk/nlu | ca244fe422923084196f6f6f4c5c41723e46d537 | [
"Apache-2.0"
] | null | null | null | tests/nlu_core_tests/training_tests/classifiers/multi_classifier_dl_tests.py | avanishiitk/nlu | ca244fe422923084196f6f6f4c5c41723e46d537 | [
"Apache-2.0"
] | null | null | null |
from sklearn.metrics import classification_report
import unittest
from nlu import *
import tests.test_utils as t
import pandas as pd
class MultiClassifierDlTests(unittest.TestCase):
def test_multi_classifier_dl_training(self):
# The y column must be a string seperated with ```,``` . Custom seperators ... | 41.433121 | 225 | 0.652267 | 833 | 6,505 | 4.801921 | 0.193277 | 0.11625 | 0.07225 | 0.032 | 0.851 | 0.836 | 0.82 | 0.77275 | 0.7585 | 0.7315 | 0 | 0.007834 | 0.215065 | 6,505 | 156 | 226 | 41.698718 | 0.775558 | 0.71837 | 0 | 0.142857 | 0 | 0.035714 | 0.065966 | 0.012843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.178571 | 0 | 0.321429 | 0.25 | 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 |
4603d3536529da1f700d39e4f9811b735a279b61 | 34 | py | Python | Week10/Day5/sortingtry.py | malharlakdawala/DevelopersInstitute | 3d6a9fb0002670878105d983edca432f635bce6d | [
"MIT"
] | null | null | null | Week10/Day5/sortingtry.py | malharlakdawala/DevelopersInstitute | 3d6a9fb0002670878105d983edca432f635bce6d | [
"MIT"
] | null | null | null | Week10/Day5/sortingtry.py | malharlakdawala/DevelopersInstitute | 3d6a9fb0002670878105d983edca432f635bce6d | [
"MIT"
] | 1 | 2021-10-09T19:01:08.000Z | 2021-10-09T19:01:08.000Z |
array = [6, 5, 12, 10, 9, 1]
| 4.857143 | 28 | 0.382353 | 7 | 34 | 1.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 0.382353 | 34 | 6 | 29 | 5.666667 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.