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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3471202fcc8316c8ebb6592aedf2910967efebef | 23 | py | Python | mypackage/__init__.py | buleys/mypackage | 68bbad7f7757d8a1dd94c6df8a8de4a5f9a6a639 | [
"MIT"
] | null | null | null | mypackage/__init__.py | buleys/mypackage | 68bbad7f7757d8a1dd94c6df8a8de4a5f9a6a639 | [
"MIT"
] | null | null | null | mypackage/__init__.py | buleys/mypackage | 68bbad7f7757d8a1dd94c6df8a8de4a5f9a6a639 | [
"MIT"
] | null | null | null | from . import myModule
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
caa8a65281790f13329381febd4e8bdf0242b220 | 104 | py | Python | src/tm/system/user/__init__.py | calopez/pyramid_auth_api | d7854cf33ef5225f9e5d67c738775eaec99fb004 | [
"MIT"
] | null | null | null | src/tm/system/user/__init__.py | calopez/pyramid_auth_api | d7854cf33ef5225f9e5d67c738775eaec99fb004 | [
"MIT"
] | 2 | 2019-12-26T17:21:06.000Z | 2020-01-06T19:31:59.000Z | src/tm/system/user/__init__.py | calopez/pyramid_auth_api | d7854cf33ef5225f9e5d67c738775eaec99fb004 | [
"MIT"
] | null | null | null | # from tm.system.user.models import User, Group, Activation
# __all__ = ["User", "Group", "Activation"]
| 34.666667 | 59 | 0.701923 | 13 | 104 | 5.307692 | 0.692308 | 0.26087 | 0.550725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 2 | 60 | 52 | 0.758242 | 0.951923 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cabe0a49e0e34ef724aed26c8c2124b695dc062f | 13,416 | py | Python | yvain/logical_systems.py | Parowicz/Yvain | e6caba0ef0c5bd030250a4ab67381aff4d653ba6 | [
"Apache-2.0"
] | null | null | null | yvain/logical_systems.py | Parowicz/Yvain | e6caba0ef0c5bd030250a4ab67381aff4d653ba6 | [
"Apache-2.0"
] | null | null | null | yvain/logical_systems.py | Parowicz/Yvain | e6caba0ef0c5bd030250a4ab67381aff4d653ba6 | [
"Apache-2.0"
] | null | null | null | from math import isclose, log
from typing import Optional
from yvain.membership_functions import MembershipFunction
# TODO:
# Hamacher
# Aczel-Alsina
# Sugeno-Weber
# Dubois-Prade
# Yu
class LogicalSystem:
"""
Logical system describes T-Norm, T-Conorm and negation used in fuzzy set operations.
Instead ... | 32.327711 | 109 | 0.557916 | 1,622 | 13,416 | 4.45561 | 0.104192 | 0.053964 | 0.013837 | 0.047046 | 0.767123 | 0.752594 | 0.727273 | 0.711775 | 0.679258 | 0.675522 | 0 | 0.017348 | 0.303965 | 13,416 | 414 | 110 | 32.405797 | 0.756586 | 0.327892 | 0 | 0.668478 | 0 | 0 | 0.018152 | 0 | 0 | 0 | 0 | 0.002415 | 0 | 1 | 0.206522 | false | 0 | 0.016304 | 0.005435 | 0.554348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
cad36388cc5abc1d2279acd20efe7242d90856aa | 14,263 | py | Python | common/tests/api/test_spatial_lookups.py | AdamCottrill/fwsb_common | f888747e26fd2cd9c581ec86c16c3722e503a4dd | [
"MIT"
] | null | null | null | common/tests/api/test_spatial_lookups.py | AdamCottrill/fwsb_common | f888747e26fd2cd9c581ec86c16c3722e503a4dd | [
"MIT"
] | null | null | null | common/tests/api/test_spatial_lookups.py | AdamCottrill/fwsb_common | f888747e26fd2cd9c581ec86c16c3722e503a4dd | [
"MIT"
] | null | null | null | """=============================================================
~/uglmu_common/common/tests/api/test_spatial_lookups.py
Created: 19 Apr 2020 09:47:38
DESCRIPTION:
The spatial lookup api endpoints accept a lat-lon coordinate and
return the attributes of the object that contains that point within
its geometry.... | 32.415909 | 87 | 0.688775 | 1,964 | 14,263 | 4.894603 | 0.12169 | 0.029023 | 0.02299 | 0.024342 | 0.802455 | 0.769167 | 0.755643 | 0.736711 | 0.712369 | 0.664621 | 0 | 0.020396 | 0.195611 | 14,263 | 439 | 88 | 32.489749 | 0.817485 | 0.294468 | 0 | 0.614679 | 0 | 0 | 0.140884 | 0.051361 | 0 | 0 | 0 | 0 | 0.233945 | 1 | 0.068807 | false | 0 | 0.022936 | 0 | 0.100917 | 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 |
cae47fcddd36208b2f327fb91fabf7fc0d59ca79 | 47 | py | Python | models/__init__.py | kashwani29/FlowNetPytorch | 53248d194ab82550a752e2ba3d062d6744535b1a | [
"MIT"
] | 782 | 2017-01-27T15:10:24.000Z | 2022-03-31T07:51:24.000Z | models/__init__.py | Nizben/FlowNetPytorch | 0d75c4a116e08761cae109f09e25a6d1bc5ed623 | [
"MIT"
] | 105 | 2017-04-06T07:39:21.000Z | 2022-01-12T09:26:11.000Z | models/__init__.py | Nizben/FlowNetPytorch | 0d75c4a116e08761cae109f09e25a6d1bc5ed623 | [
"MIT"
] | 233 | 2017-01-27T15:24:05.000Z | 2022-03-22T11:12:34.000Z | from .FlowNetS import *
from .FlowNetC import * | 23.5 | 23 | 0.765957 | 6 | 47 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 24 | 23.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9408321794e404f0f53cf2c4b50849ff3ebb0e10 | 107 | py | Python | cloud_city/utils/__init__.py | LEGO-Han-Solo/cloud-city | 24c82ee10046b087eb6685a47460998332bff680 | [
"Apache-2.0"
] | 1 | 2021-02-20T23:23:00.000Z | 2021-02-20T23:23:00.000Z | cloud_city/utils/__init__.py | LEGO-Han-Solo/cloud-city | 24c82ee10046b087eb6685a47460998332bff680 | [
"Apache-2.0"
] | null | null | null | cloud_city/utils/__init__.py | LEGO-Han-Solo/cloud-city | 24c82ee10046b087eb6685a47460998332bff680 | [
"Apache-2.0"
] | null | null | null | from .datetime import get_str_timestamp
from .datetime import TIMESTAMP_FMT
from .datetime import TIMEZONE
| 26.75 | 39 | 0.859813 | 15 | 107 | 5.933333 | 0.533333 | 0.404494 | 0.606742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 40 | 35.666667 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
94282a0b48be50c03517c676e90e1c777d56fbf0 | 2,270 | py | Python | GPy/old_tests/bcgplvm_tests.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 1,685 | 2015-01-03T14:46:25.000Z | 2022-03-30T02:41:35.000Z | GPy/old_tests/bcgplvm_tests.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 778 | 2015-01-15T18:21:25.000Z | 2022-03-30T14:52:32.000Z | GPy/old_tests/bcgplvm_tests.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 584 | 2015-01-06T06:30:43.000Z | 2022-03-29T13:05:33.000Z | # Copyright (c) 2013, GPy authors (see AUTHORS.txt)
# Licensed under the BSD 3-clause license (see LICENSE.txt)
import unittest
import numpy as np
import GPy
class BCGPLVMTests(unittest.TestCase):
def test_kernel_backconstraint(self):
num_data, num_inducing, input_dim, output_dim = 10, 3, 2, 4
X =... | 44.509804 | 100 | 0.651542 | 351 | 2,270 | 4.014245 | 0.216524 | 0.147622 | 0.034067 | 0.063875 | 0.792761 | 0.792761 | 0.792761 | 0.792761 | 0.7445 | 0.7445 | 0 | 0.023112 | 0.218502 | 2,270 | 50 | 101 | 45.4 | 0.771139 | 0.047137 | 0 | 0.697674 | 0 | 0 | 0.025463 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | null | null | 0 | 0.069767 | null | null | 0.023256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
94596dc2e9873aad59254df362a937107427cadb | 57 | py | Python | week01/test_hello.py | neolaw84/data_science_using_python_labs | 15bd2445577c5e254831f2acd97ea4b93a224229 | [
"Apache-2.0"
] | 1 | 2022-03-20T12:49:43.000Z | 2022-03-20T12:49:43.000Z | week01/test_hello.py | neolaw84/data_science_using_python_labs | 15bd2445577c5e254831f2acd97ea4b93a224229 | [
"Apache-2.0"
] | null | null | null | week01/test_hello.py | neolaw84/data_science_using_python_labs | 15bd2445577c5e254831f2acd97ea4b93a224229 | [
"Apache-2.0"
] | null | null | null | def test_hello():
from hello import hello
hello() | 19 | 27 | 0.666667 | 8 | 57 | 4.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 57 | 3 | 28 | 19 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
945e88375ac8e496d5b4cf5eb324a9da8baf46f8 | 21 | py | Python | modeling/encoder/__init__.py | Jack12xl/scene-representation-networks | 2691b23c956cf188a1fe4c84a888b19871cac8f4 | [
"MIT"
] | null | null | null | modeling/encoder/__init__.py | Jack12xl/scene-representation-networks | 2691b23c956cf188a1fe4c84a888b19871cac8f4 | [
"MIT"
] | null | null | null | modeling/encoder/__init__.py | Jack12xl/scene-representation-networks | 2691b23c956cf188a1fe4c84a888b19871cac8f4 | [
"MIT"
] | null | null | null | from encoder import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
848e2a93bd99e55f2b180d41e160da016318da8c | 274 | py | Python | researchutils/chainer/functions/__init__.py | keio-ytlab/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 1 | 2018-10-25T12:57:38.000Z | 2018-10-25T12:57:38.000Z | researchutils/chainer/functions/__init__.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | 28 | 2018-08-25T03:54:30.000Z | 2018-10-14T12:09:47.000Z | researchutils/chainer/functions/__init__.py | yuishihara/researchutils | bb3ec467386d43a1e2282ec6d024216ce4dae841 | [
"MIT"
] | null | null | null | from researchutils.chainer.functions.loss.average_k_step_squared_error import average_k_step_squared_error
from researchutils.chainer.functions.activation.grad_clip_lstm import grad_clip_lstm
from researchutils.chainer.functions.activation.grad_clip_lstm import GradClipLSTM | 91.333333 | 106 | 0.916058 | 38 | 274 | 6.236842 | 0.421053 | 0.21519 | 0.303797 | 0.417722 | 0.7173 | 0.514768 | 0.514768 | 0.514768 | 0.514768 | 0 | 0 | 0 | 0.040146 | 274 | 3 | 107 | 91.333333 | 0.901141 | 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 | 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 |
84a718916823a5689c2719ea4953b3b320c3f66f | 12,063 | py | Python | layers.py | vitoloper/yolov3-suitcase-detector | 36c720c4c7006a6dd567feb9b5593dd42ca13579 | [
"MIT"
] | 1 | 2019-10-09T14:50:46.000Z | 2019-10-09T14:50:46.000Z | layers.py | vitoloper/yolov3-suitcase-detector | 36c720c4c7006a6dd567feb9b5593dd42ca13579 | [
"MIT"
] | null | null | null | layers.py | vitoloper/yolov3-suitcase-detector | 36c720c4c7006a6dd567feb9b5593dd42ca13579 | [
"MIT"
] | 1 | 2019-10-09T14:53:52.000Z | 2019-10-09T14:53:52.000Z | import math
import torch
import numpy as np
import torch.nn as nn
import torch.nn.functional as F
from pprint import pprint
import config
from util import bbox_iou, xywh2xyxy
class EmptyLayer(nn.Module):
"""Empty layer for shortcut connection"""
def __init__(self):
super(EmptyLayer, self).__init__()... | 41.030612 | 105 | 0.530216 | 1,721 | 12,063 | 3.500872 | 0.114468 | 0.05112 | 0.0239 | 0.026556 | 0.872531 | 0.86888 | 0.848299 | 0.843154 | 0.830705 | 0.830705 | 0 | 0.017977 | 0.331344 | 12,063 | 293 | 106 | 41.170648 | 0.728986 | 0.208406 | 0 | 0.697143 | 0 | 0 | 0.004348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.045714 | 0 | 0.114286 | 0.017143 | 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 |
84bc0daf00c33bdc82bc98316efb88ce1cb027f2 | 68,494 | py | Python | more_collections/sorted/_abc.py | SimpleArt/more-collections | c482752d0c102a0602920d832975e0de04258f26 | [
"MIT"
] | 1 | 2022-03-30T18:25:41.000Z | 2022-03-30T18:25:41.000Z | more_collections/sorted/_abc.py | SimpleArt/more-collections | c482752d0c102a0602920d832975e0de04258f26 | [
"MIT"
] | null | null | null | more_collections/sorted/_abc.py | SimpleArt/more-collections | c482752d0c102a0602920d832975e0de04258f26 | [
"MIT"
] | null | null | null | """
Sorted containers are structurally equivalent to their unsorted
counterparts. As such, sorted classes are nominally typed to create
distinction.
"""
from __future__ import annotations
import collections.abc
import operator
import sys
import typing
from abc import ABC, abstractmethod
from bisect import bisect_left, ... | 39.546189 | 180 | 0.641896 | 7,781 | 68,494 | 5.428223 | 0.030202 | 0.008168 | 0.01037 | 0.013827 | 0.866515 | 0.83782 | 0.803324 | 0.781803 | 0.755451 | 0.723465 | 0 | 0.001368 | 0.241992 | 68,494 | 1,731 | 181 | 39.569035 | 0.81215 | 0.005533 | 0 | 0.642547 | 0 | 0 | 0.093435 | 0.003686 | 0.000724 | 0 | 0 | 0 | 0 | 1 | 0.192475 | false | 0 | 0.019537 | 0.039797 | 0.439942 | 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 |
84eade5f0e8086909c09847c1e2ba4194fc5f5e5 | 18,595 | py | Python | test/test_md041.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md041.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md041.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | """
Module to provide tests related to the MD026 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
@pytest.mark.rules
def test_md041_bad_configuration_level():
"""
Test to make sure we get the expected behavior after scanning a good file from the
test/resources/rules/md004 directo... | 27.630015 | 124 | 0.685668 | 2,269 | 18,595 | 5.364037 | 0.062142 | 0.030318 | 0.059157 | 0.070988 | 0.969107 | 0.967957 | 0.964588 | 0.963848 | 0.954975 | 0.940021 | 0 | 0.021019 | 0.232428 | 18,595 | 672 | 125 | 27.671131 | 0.83171 | 0.221672 | 0 | 0.67268 | 0 | 0.023196 | 0.244084 | 0.157751 | 0 | 0 | 0 | 0 | 0.051546 | 1 | 0.051546 | false | 0 | 0.005155 | 0 | 0.056701 | 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 |
ca09ca9d7b8efbe3fc60d47c24d95e12c234e873 | 52,878 | py | Python | michael.py | mustaric/TESS_JWST_calibration_stars | 045507685309d7aab609be6c98721e4ee3a5701b | [
"BSD-2-Clause"
] | null | null | null | michael.py | mustaric/TESS_JWST_calibration_stars | 045507685309d7aab609be6c98721e4ee3a5701b | [
"BSD-2-Clause"
] | null | null | null | michael.py | mustaric/TESS_JWST_calibration_stars | 045507685309d7aab609be6c98721e4ee3a5701b | [
"BSD-2-Clause"
] | null | null | null | ##################################################################################
# Imports
from lightkurve.correctors import CBVCorrector
from lightkurve.correctors import RegressionCorrector, DesignMatrix
from lightkurve.correctors.designmatrix import create_spline_matrix, DesignMatrix, DesignMatrixCollection
#impor... | 47.594959 | 120 | 0.659934 | 6,420 | 52,878 | 5.2919 | 0.100779 | 0.030464 | 0.007947 | 0.00883 | 0.770913 | 0.744658 | 0.73047 | 0.724613 | 0.710337 | 0.703361 | 0 | 0.174762 | 0.228337 | 52,878 | 1,110 | 121 | 47.637838 | 0.657852 | 0.188623 | 0 | 0.73315 | 0 | 0 | 0.076974 | 0.026369 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035763 | false | 0.013755 | 0.017882 | 0.001376 | 0.072902 | 0.009629 | 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 |
ca0fed816563e9703dddfea0006cdcf1594fc0aa | 83,424 | py | Python | src/genie/libs/parser/iosxe/tests/ShowApTagSummary/cli/equal/golden_output_2_expected.py | cphannan/genieparser | 0b32e1ea633c532d67d89476aa5500f569cfbc6e | [
"Apache-2.0"
] | 1 | 2020-05-26T13:06:10.000Z | 2020-05-26T13:06:10.000Z | src/genie/libs/parser/iosxe/tests/ShowApTagSummary/cli/equal/golden_output_2_expected.py | dalwar23/genieparser | a9df45d3ee23f107bfb55915068e90782f92fc99 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowApTagSummary/cli/equal/golden_output_2_expected.py | dalwar23/genieparser | a9df45d3ee23f107bfb55915068e90782f92fc99 | [
"Apache-2.0"
] | 2 | 2021-02-12T21:42:30.000Z | 2021-02-12T21:47:51.000Z | expected_output = {
"ap_name": {
"b25a-13-cap10": {
"ap_mac": "3c41.0fee.5094",
"site_tag_name": "default-site-tag-fabric",
"policy_tag_name": "PT_Fabri_B25_B25-1_fe778",
"rf_tag_name": "Standard",
"misconfigured": "No",
"tag_source": "... | 37.697244 | 58 | 0.493371 | 9,116 | 83,424 | 4.151711 | 0.042343 | 0.153143 | 0.102835 | 0.131265 | 0.948054 | 0.855841 | 0.838006 | 0.838006 | 0.838006 | 0.838006 | 0 | 0.10681 | 0.341005 | 83,424 | 2,213 | 59 | 37.697244 | 0.581617 | 0 | 0 | 0.62178 | 0 | 0 | 0.519664 | 0.15493 | 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 |
ca5c14e6b4b661f291ec59115733f962415cf4a1 | 1,765 | py | Python | tests/namespaces/test_users.py | odidev/aiogithubapi | ef0917e8da5d31f3c3e64d4efe45f05a537bcfdd | [
"MIT"
] | null | null | null | tests/namespaces/test_users.py | odidev/aiogithubapi | ef0917e8da5d31f3c3e64d4efe45f05a537bcfdd | [
"MIT"
] | null | null | null | tests/namespaces/test_users.py | odidev/aiogithubapi | ef0917e8da5d31f3c3e64d4efe45f05a537bcfdd | [
"MIT"
] | null | null | null | """Test users namespace."""
# pylint: disable=missing-docstring
import pytest
from aiogithubapi import GitHubAPI
from tests.common import TEST_USER_NAME, MockedRequests
@pytest.mark.asyncio
async def test_get_user(github_api: GitHubAPI, mock_requests: MockedRequests):
response = await github_api.users.get(TEST_... | 37.553191 | 94 | 0.755241 | 241 | 1,765 | 5.319502 | 0.207469 | 0.112324 | 0.112324 | 0.068643 | 0.819813 | 0.819813 | 0.819813 | 0.792512 | 0.680187 | 0.680187 | 0 | 0.012435 | 0.134278 | 1,765 | 46 | 95 | 38.369565 | 0.826571 | 0.031728 | 0 | 0.5 | 0 | 0 | 0.125661 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0 | false | 0 | 0.088235 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca85f8618f924afc8bb071c0db3e3739751a0332 | 990 | py | Python | cap-4/exercicios/Exercicio-4.7.py | JeffeSilva/EP-python | a4d8ccb727ab9e10785b2dfd219cff72e0d808f5 | [
"MIT"
] | 1 | 2021-01-07T12:43:48.000Z | 2021-01-07T12:43:48.000Z | cap-4/exercicios/Exercicio-4.7.py | JeffeSilva/EP-python | a4d8ccb727ab9e10785b2dfd219cff72e0d808f5 | [
"MIT"
] | null | null | null | cap-4/exercicios/Exercicio-4.7.py | JeffeSilva/EP-python | a4d8ccb727ab9e10785b2dfd219cff72e0d808f5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Exercicio 4.7 - Rastreie o Programa 4.6 Compare seu resultado ao apresentado na TABELA 4.2
print (' ')
print ('TABELA 4.2')
print ('Categoria | Linhas Executadas')
print (' - 1 - | 1, 2, 3 e 19 ')
print (' - 2 - | 1, 2, 4, 5, 6 e 19 ')
print (' - 3 - | 1, 2, 4, 5, 7, 8, 9 e 19 ')
pri... | 41.25 | 92 | 0.483838 | 189 | 990 | 2.534392 | 0.248677 | 0.025052 | 0.100209 | 0.041754 | 0.344468 | 0.344468 | 0.164927 | 0.133612 | 0.066806 | 0.066806 | 0 | 0.257143 | 0.292929 | 990 | 23 | 93 | 43.043478 | 0.427143 | 0.112121 | 0 | 0.285714 | 0 | 0.285714 | 0.734322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
047ecf7dc9eeb59d4a0342056c704975f953b0df | 8,341 | py | Python | src/v20/user.py | polythilene/v20-python | f35c4a7fbe4668d3a611e75b9b6c556ead4ed183 | [
"MIT"
] | 195 | 2016-06-21T06:19:16.000Z | 2022-03-21T11:09:58.000Z | src/v20/user.py | polythilene/v20-python | f35c4a7fbe4668d3a611e75b9b6c556ead4ed183 | [
"MIT"
] | 37 | 2016-07-05T11:14:23.000Z | 2021-06-22T00:42:28.000Z | src/v20/user.py | polythilene/v20-python | f35c4a7fbe4668d3a611e75b9b6c556ead4ed183 | [
"MIT"
] | 102 | 2016-07-15T19:24:48.000Z | 2022-03-24T06:21:59.000Z | import ujson as json
from v20.base_entity import BaseEntity
from v20.base_entity import EntityDict
from v20.request import Request
from v20 import spec_properties
class UserInfo(BaseEntity):
"""
A representation of user information, as provided to the user themself.
"""
#
# Format string used wh... | 25.984424 | 79 | 0.547776 | 838 | 8,341 | 5.363962 | 0.194511 | 0.046274 | 0.031146 | 0.046719 | 0.789766 | 0.779533 | 0.76396 | 0.732369 | 0.732369 | 0.712347 | 0 | 0.007953 | 0.366862 | 8,341 | 320 | 80 | 26.065625 | 0.843212 | 0.263398 | 0 | 0.765957 | 0 | 0 | 0.109615 | 0.011014 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049645 | false | 0 | 0.035461 | 0 | 0.219858 | 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 |
048c37ff180c07f177198652e4d3021d9929a125 | 40 | py | Python | multimatching/__init__.py | donsheehy/multimatching | ba88068d17b3c123d71d4350aab79960906efc2e | [
"MIT"
] | null | null | null | multimatching/__init__.py | donsheehy/multimatching | ba88068d17b3c123d71d4350aab79960906efc2e | [
"MIT"
] | null | null | null | multimatching/__init__.py | donsheehy/multimatching | ba88068d17b3c123d71d4350aab79960906efc2e | [
"MIT"
] | null | null | null | from multimatching.bottleneck import dB
| 20 | 39 | 0.875 | 5 | 40 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
048cc415b7cc89b14c5e753dcb2273ab01a8def6 | 71 | py | Python | src/experiments/signal.py | squaresLab/SemanticCrashBucketing | 1c64a92571f76d5495940fab74886ea42f293067 | [
"Apache-2.0"
] | 13 | 2018-08-01T22:42:07.000Z | 2020-02-07T11:52:11.000Z | src/experiments/signal.py | squaresLab/SemanticCrashBucketing | 1c64a92571f76d5495940fab74886ea42f293067 | [
"Apache-2.0"
] | null | null | null | src/experiments/signal.py | squaresLab/SemanticCrashBucketing | 1c64a92571f76d5495940fab74886ea42f293067 | [
"Apache-2.0"
] | 3 | 2018-12-07T01:39:40.000Z | 2019-11-13T10:09:24.000Z | def did_crash(line):
return "SIGSEGV" in line or "SIGABRT" in line
| 23.666667 | 49 | 0.704225 | 12 | 71 | 4.083333 | 0.75 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 2 | 50 | 35.5 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
04d148d95f5905c38c0aca9b417a135897f6be63 | 32 | py | Python | json2oraparser/PublishToDBController/__init__.py | ntpythondev/json2oraparser | d03e31a13dbafb8650ebeec0fc1560ead488193c | [
"MIT"
] | 1 | 2019-10-23T11:12:13.000Z | 2019-10-23T11:12:13.000Z | json2oraparser/PublishToDBController/__init__.py | ntpythondev/testpypi2019 | e9b767d4353e09861a6f7408613bb18bdbd4df04 | [
"MIT"
] | null | null | null | json2oraparser/PublishToDBController/__init__.py | ntpythondev/testpypi2019 | e9b767d4353e09861a6f7408613bb18bdbd4df04 | [
"MIT"
] | null | null | null | from PublishDB import PublishDB
| 16 | 31 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
6d0b8cab3202ae257ec1b2538db83dc5c197f111 | 166 | py | Python | abots/events/__init__.py | aewens/abots | c462ab1be33f2bf9fb9b9afd4c280423aa53952f | [
"BSD-3-Clause"
] | null | null | null | abots/events/__init__.py | aewens/abots | c462ab1be33f2bf9fb9b9afd4c280423aa53952f | [
"BSD-3-Clause"
] | null | null | null | abots/events/__init__.py | aewens/abots | c462ab1be33f2bf9fb9b9afd4c280423aa53952f | [
"BSD-3-Clause"
] | null | null | null | from abots.events.every import Every
from abots.events.threads import ThreadPool, ThreadMarshal, acquire_timeout
from abots.events.duodecimer import Duodecimer, Cron
| 41.5 | 75 | 0.855422 | 22 | 166 | 6.409091 | 0.545455 | 0.191489 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090361 | 166 | 3 | 76 | 55.333333 | 0.933775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed9e974c73bc9a08e2f6bb4c2e221f7d62c5f7e2 | 332 | py | Python | src/algoritmia/datastructures/prioritymaps/__init__.py | DavidLlorens/algoritmia | 40ca0a89ea6de9b633fa5f697f0a28cae70816a2 | [
"MIT"
] | 6 | 2018-09-15T15:09:10.000Z | 2022-02-27T01:23:11.000Z | src/algoritmia/datastructures/prioritymaps/__init__.py | JeromeIllgner/algoritmia | 406afe7206f2411557859bf03480c16db7dcce0d | [
"MIT"
] | null | null | null | src/algoritmia/datastructures/prioritymaps/__init__.py | JeromeIllgner/algoritmia | 406afe7206f2411557859bf03480c16db7dcce0d | [
"MIT"
] | 5 | 2018-07-10T20:19:55.000Z | 2021-03-31T03:32:22.000Z | from algoritmia.datastructures.prioritymaps.interfaces import IPriorityMap
from algoritmia.datastructures.prioritymaps.heapmap import HeapMap, MinHeapMap, MaxHeapMap
from algoritmia.datastructures.prioritymaps.fibonacciheap import FibonacciHeap
__all__ = ['IPriorityMap', 'HeapMap', 'MinHeapMap', 'MaxHeapMap', 'Fib... | 66.4 | 91 | 0.840361 | 29 | 332 | 9.482759 | 0.413793 | 0.152727 | 0.305455 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075301 | 332 | 5 | 92 | 66.4 | 0.895765 | 0 | 0 | 0 | 0 | 0 | 0.158055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
edf55155e4caa62f014bcf3ad363e3a1daba130b | 23 | py | Python | loaders/__init__.py | chrBrd/loader | 1f609966ed410eb59e84a98ed5958ebb7a07d027 | [
"MIT"
] | 1 | 2021-04-06T04:33:03.000Z | 2021-04-06T04:33:03.000Z | allopy/datasets/__init__.py | wangcj05/allopy | 0d97127e5132df1449283198143994b45fb11214 | [
"MIT"
] | null | null | null | allopy/datasets/__init__.py | wangcj05/allopy | 0d97127e5132df1449283198143994b45fb11214 | [
"MIT"
] | 3 | 2021-08-28T09:32:01.000Z | 2021-09-15T11:02:39.000Z | from .loaders import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
611df0fa15ba461b44ff500bb91bfa461284da72 | 152 | py | Python | src/strawberry_django_optimizer/__init__.py | energy-efficiency/strawberry-django-optimizer | 415f5cbd381a961eca4244fbf4078e1b258583c2 | [
"MIT"
] | 7 | 2021-09-19T23:09:24.000Z | 2022-03-03T23:35:37.000Z | src/strawberry_django_optimizer/__init__.py | energy-efficiency/strawberry-django-optimizer | 415f5cbd381a961eca4244fbf4078e1b258583c2 | [
"MIT"
] | 1 | 2021-12-16T06:40:30.000Z | 2021-12-16T16:38:43.000Z | src/strawberry_django_optimizer/__init__.py | energy-efficiency/strawberry-django-optimizer | 415f5cbd381a961eca4244fbf4078e1b258583c2 | [
"MIT"
] | null | null | null | from .query import optimize_query
from .resolver import resolver_hints
try:
from .field import optimized_django_field
except ImportError:
pass
| 19 | 45 | 0.802632 | 20 | 152 | 5.9 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 7 | 46 | 21.714286 | 0.929134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6126a04c559208b698cea67930479a3286fd16f9 | 684 | py | Python | thefriendlystars/images/wise.py | zkbt/the-friendly-stars | 16efd423803a1f9e0b5d1e485e744dffb3478d27 | [
"MIT"
] | 3 | 2019-10-01T17:04:48.000Z | 2020-09-30T18:33:37.000Z | thefriendlystars/images/wise.py | zkbt/the-friendly-stars | 16efd423803a1f9e0b5d1e485e744dffb3478d27 | [
"MIT"
] | 5 | 2018-06-22T21:51:30.000Z | 2019-06-04T19:01:23.000Z | thefriendlystars/images/wise.py | zkbt/the-friendly-stars | 16efd423803a1f9e0b5d1e485e744dffb3478d27 | [
"MIT"
] | null | null | null | from .astroqueryimages import *
class W1(astroqueryImage):
def __init__(self, *args, **kwargs):
kwargs['survey'] = 'WISE 3.4'
astroqueryImage.__init__(self, *args, **kwargs)
class W2(astroqueryImage):
def __init__(self, *args, **kwargs):
kwargs['survey'] = 'WISE 4.6'
astroquer... | 28.5 | 55 | 0.634503 | 73 | 684 | 5.506849 | 0.287671 | 0.159204 | 0.238806 | 0.358209 | 0.883085 | 0.800995 | 0.517413 | 0.517413 | 0.517413 | 0 | 0 | 0.02214 | 0.207602 | 684 | 23 | 56 | 29.73913 | 0.719557 | 0 | 0 | 0.470588 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b61a4e14ddf53f4e805e914479c7c68d622a81f6 | 103 | py | Python | exceRNApipeline/tests/test_pipeline/__init__.py | zhuchcn/exceRNAseq | 14e1e35962fffb70c9ee7c494e2c7c1955ff3945 | [
"MIT"
] | 1 | 2019-11-26T02:41:11.000Z | 2019-11-26T02:41:11.000Z | exceRNApipeline/tests/test_pipeline/__init__.py | zhuchcn/exceRNAseq | 14e1e35962fffb70c9ee7c494e2c7c1955ff3945 | [
"MIT"
] | null | null | null | exceRNApipeline/tests/test_pipeline/__init__.py | zhuchcn/exceRNAseq | 14e1e35962fffb70c9ee7c494e2c7c1955ff3945 | [
"MIT"
] | 1 | 2019-11-26T02:42:07.000Z | 2019-11-26T02:42:07.000Z | from .test_pipeline_init import TestCasePipelineInit
from .test_pipeline_run import TestCasePipelineRun | 51.5 | 52 | 0.912621 | 12 | 103 | 7.5 | 0.666667 | 0.177778 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 103 | 2 | 53 | 51.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
b67ddebff4727709a0dbfad6f5a08a7a558de943 | 27 | py | Python | vindinium/learner/__init__.py | Mosfreds/mosfred_rumble | b498d6d83dfecd085962145a51d500e11d8ca118 | [
"MIT"
] | null | null | null | vindinium/learner/__init__.py | Mosfreds/mosfred_rumble | b498d6d83dfecd085962145a51d500e11d8ca118 | [
"MIT"
] | 10 | 2017-12-15T10:11:11.000Z | 2022-02-09T23:30:20.000Z | vindinium/learner/__init__.py | Mosfreds/mosfred_rumble | b498d6d83dfecd085962145a51d500e11d8ca118 | [
"MIT"
] | null | null | null | from .log_reader import *
| 9 | 25 | 0.740741 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.863636 | 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 |
b6a21b9ee0d2b20f5a4a3e6958594f01e771f70f | 148 | py | Python | qcSTR/__init__.py | richyanicky/TRTools | 6582912ad3fade6e905b78b08c991a08baca8649 | [
"MIT"
] | null | null | null | qcSTR/__init__.py | richyanicky/TRTools | 6582912ad3fade6e905b78b08c991a08baca8649 | [
"MIT"
] | null | null | null | qcSTR/__init__.py | richyanicky/TRTools | 6582912ad3fade6e905b78b08c991a08baca8649 | [
"MIT"
] | null | null | null | # expose the code in the file qcSTR/qcSTR.py
# through the statement import qcSTR
# instead of through import qcSTR.qcSTR
from qcSTR.qcSTR import *
| 29.6 | 44 | 0.783784 | 24 | 148 | 4.833333 | 0.541667 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 4 | 45 | 37 | 0.935484 | 0.777027 | 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 |
fcc31416d6a5a3337102025246ed61135401f51f | 474 | py | Python | octicons16px/device_camera.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/device_camera.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/device_camera.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_DEVICE_CAMERA = """
<svg class="octicon octicon-device-camera" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M15 3H7c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM6 5H2V4h4v1zm4.5 7C8.56 12 ... | 94.8 | 440 | 0.649789 | 124 | 474 | 2.467742 | 0.41129 | 0.058824 | 0.052288 | 0.058824 | 0.068627 | 0 | 0 | 0 | 0 | 0 | 0 | 0.397561 | 0.135021 | 474 | 4 | 441 | 118.5 | 0.34878 | 0 | 0 | 0 | 0 | 0.333333 | 0.934461 | 0.15222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fcc4c797c922eca31279f6d08d9c992513497ede | 40,591 | py | Python | rignet/rig.py | lelechen63/CIPS-3D | 49e34ecab7410ac357a3d467e347cd39ee442bd5 | [
"MIT"
] | 1 | 2022-03-20T08:10:29.000Z | 2022-03-20T08:10:29.000Z | rignet/rig.py | lelechen63/CIPS-3D | 49e34ecab7410ac357a3d467e347cd39ee442bd5 | [
"MIT"
] | 1 | 2022-03-21T04:54:10.000Z | 2022-03-21T04:54:10.000Z | rignet/rig.py | lelechen63/CIPS-3D | 49e34ecab7410ac357a3d467e347cd39ee442bd5 | [
"MIT"
] | 1 | 2022-02-25T01:28:10.000Z | 2022-02-25T01:28:10.000Z |
import torch
from torch import nn
import torch.optim as optim
import torch.nn.functional as F
from model import *
sys.path.append('/home/uss00022/lelechen/github/CIPS-3D/utils')
from visualizer import Visualizer
import util
from dataset import *
import time
class RigModule():
def __init__(self, flame_config, op... | 57.009831 | 190 | 0.554285 | 4,179 | 40,591 | 5.217516 | 0.055276 | 0.04678 | 0.048431 | 0.02339 | 0.848835 | 0.820262 | 0.784122 | 0.777426 | 0.761649 | 0.745505 | 0 | 0.020413 | 0.320539 | 40,591 | 712 | 191 | 57.009831 | 0.77016 | 0.028282 | 0 | 0.686644 | 0 | 0 | 0.067853 | 0.008018 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015411 | false | 0 | 0.015411 | 0 | 0.035959 | 0.017123 | 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 |
fcffcfa28a112fde8460422fdf87e9274610376c | 2,327 | py | Python | pylearn2/utils/tests/test_insert_along_axis.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | 2,045 | 2015-01-01T14:07:52.000Z | 2022-03-08T08:56:41.000Z | pylearn2/utils/tests/test_insert_along_axis.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | 305 | 2015-01-02T13:18:24.000Z | 2021-08-20T18:03:28.000Z | pylearn2/utils/tests/test_insert_along_axis.py | BouchardLab/pylearn2 | 4cab785b870d22cd9e85a5f536d4cac234b6bf60 | [
"BSD-3-Clause"
] | 976 | 2015-01-01T17:08:51.000Z | 2022-03-25T19:53:17.000Z | """Tests for the InsertAlongAxis op."""
import numpy as np
import theano
from theano import config
from theano import tensor
from pylearn2.utils.insert_along_axis import (
insert_columns, insert_rows, InsertAlongAxis
)
def test_insert_along_axis():
x = tensor.matrix()
y = insert_columns(x, 10, range(0, 1... | 33.242857 | 69 | 0.602063 | 404 | 2,327 | 3.326733 | 0.126238 | 0.077381 | 0.065476 | 0.073661 | 0.848958 | 0.813988 | 0.787946 | 0.787946 | 0.787946 | 0.781994 | 0 | 0.062466 | 0.208853 | 2,327 | 69 | 70 | 33.724638 | 0.667572 | 0.014181 | 0 | 0.603448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327586 | 1 | 0.034483 | false | 0 | 0.086207 | 0 | 0.12069 | 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 |
1e24a7def4db39f625db56f5c123b8ef21909689 | 93 | py | Python | app/admin/__init__.py | VirginiaNdungu1/Gypsy | fe610f0087061c77b1a18ca184ae426ad92ec0b9 | [
"MIT"
] | null | null | null | app/admin/__init__.py | VirginiaNdungu1/Gypsy | fe610f0087061c77b1a18ca184ae426ad92ec0b9 | [
"MIT"
] | null | null | null | app/admin/__init__.py | VirginiaNdungu1/Gypsy | fe610f0087061c77b1a18ca184ae426ad92ec0b9 | [
"MIT"
] | null | null | null | from flask import Blueprint
admin = Blueprint('admin', __name__)
from . import views, forms
| 18.6 | 36 | 0.763441 | 12 | 93 | 5.583333 | 0.666667 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 93 | 4 | 37 | 23.25 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1e24ea8d1fb48ec3223a04c875421abfc2871c92 | 1,005 | py | Python | alpyro_msgs/nav_msgs/getmapactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/nav_msgs/getmapactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/nav_msgs/getmapactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from typing import Final
from alpyro_msgs import RosMessage
from alpyro_msgs.actionlib_msgs.goalstatus import GoalStatus
from alpyro_msgs.nav_msgs.getmapfeedback import GetMapFeedback
from alpyro_msgs.std_msgs.header import Header
class GetMapActionFeedback(RosMessage):
__msg_typ__ = "nav_msgs/GetMapActionFeedback"... | 62.8125 | 566 | 0.926368 | 53 | 1,005 | 17.132075 | 0.45283 | 0.044053 | 0.061674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07765 | 0.051741 | 1,005 | 15 | 567 | 67 | 0.875131 | 0 | 0 | 0 | 0 | 0 | 0.60597 | 0.60597 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e3f81576feff5b0b2b4713ab1f659c531730409 | 39 | py | Python | core/datasets/__init__.py | Brain-Engine/DynamicActivation | 7dce57cdf018a8b2acdb1d7291dfbc33be6dde78 | [
"Apache-2.0"
] | 1 | 2021-05-01T03:46:00.000Z | 2021-05-01T03:46:00.000Z | core/datasets/__init__.py | dddlli/DynamicActivation | 7dce57cdf018a8b2acdb1d7291dfbc33be6dde78 | [
"Apache-2.0"
] | null | null | null | core/datasets/__init__.py | dddlli/DynamicActivation | 7dce57cdf018a8b2acdb1d7291dfbc33be6dde78 | [
"Apache-2.0"
] | 2 | 2021-04-26T14:25:20.000Z | 2021-04-28T09:05:10.000Z | from .data_zoo import get_data_by_name
| 19.5 | 38 | 0.871795 | 8 | 39 | 3.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1e46d8db4f84946ee9c93325cf88f758273b3071 | 155 | py | Python | gnsstools/orbits/__init__.py | arthurdjn/gnsstools | e496093bcecb4b543d5c73b6f5bdfc70b53dbfab | [
"MIT"
] | 3 | 2021-06-21T08:54:23.000Z | 2021-12-09T06:39:52.000Z | gnsstools/orbits/__init__.py | yxw027/gnsstools | e496093bcecb4b543d5c73b6f5bdfc70b53dbfab | [
"MIT"
] | null | null | null | gnsstools/orbits/__init__.py | yxw027/gnsstools | e496093bcecb4b543d5c73b6f5bdfc70b53dbfab | [
"MIT"
] | 3 | 2021-03-14T01:43:15.000Z | 2022-01-13T04:12:38.000Z | # File: __init__.py
# Creation: Sunday January 24th 2021
# Author: Arthur Dujardin
# ------
# Copyright (c) 2021 Arthur Dujardin
from .orbit import Orbit | 19.375 | 36 | 0.716129 | 20 | 155 | 5.35 | 0.8 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077519 | 0.167742 | 155 | 8 | 37 | 19.375 | 0.751938 | 0.76129 | 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 |
1e72cab0f93d8bb546cdc21a792d5c35bd17c9a5 | 1,060 | py | Python | tests/test_chatline.py | meesha7/WhatsApp-Analyzer | bab587804c3c32ecdb0135909f35e4aef60055b4 | [
"MIT"
] | null | null | null | tests/test_chatline.py | meesha7/WhatsApp-Analyzer | bab587804c3c32ecdb0135909f35e4aef60055b4 | [
"MIT"
] | null | null | null | tests/test_chatline.py | meesha7/WhatsApp-Analyzer | bab587804c3c32ecdb0135909f35e4aef60055b4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test the Chatline class
"""
import datetime
from unittest import TestCase
from chatline import Chatline
class TestChatline(TestCase):
def test_parse_ampm_lowercase(self):
cl = Chatline('[23/10/2020, 5:00:00 pm] User: message')
expected = datetime.datetime(2020, 10, 23... | 27.179487 | 65 | 0.653774 | 150 | 1,060 | 4.513333 | 0.246667 | 0.041359 | 0.070901 | 0.094535 | 0.82127 | 0.771049 | 0.771049 | 0.771049 | 0.771049 | 0.771049 | 0 | 0.120958 | 0.212264 | 1,060 | 38 | 66 | 27.894737 | 0.68982 | 0.043396 | 0 | 0.4 | 0 | 0 | 0.15507 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.15 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1e7b33b450e19f7d9196fd2b54a7ea4775f84457 | 7,473 | py | Python | util_widgets.py | Huatsing-Lau/Prognosis_Prediction_Tool_of_SCI_Patients | eb0c8cf76ccd5537c928742be98ebcb6d6e0988c | [
"MIT"
] | null | null | null | util_widgets.py | Huatsing-Lau/Prognosis_Prediction_Tool_of_SCI_Patients | eb0c8cf76ccd5537c928742be98ebcb6d6e0988c | [
"MIT"
] | null | null | null | util_widgets.py | Huatsing-Lau/Prognosis_Prediction_Tool_of_SCI_Patients | eb0c8cf76ccd5537c928742be98ebcb6d6e0988c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ipywidgets import interactive, widgets, Layout, GridspecLayout, Box
form_item_layout = Layout(
display='flex',
flex_flow='row',
justify_content='space-between'
)
style = {'description_width': '150px'}
# +
##======================问题1================================
w_p0_Age = ... | 21.598266 | 74 | 0.611133 | 875 | 7,473 | 5.035429 | 0.144 | 0.097367 | 0.082615 | 0.113482 | 0.856786 | 0.856786 | 0.856786 | 0.818656 | 0.818656 | 0.79596 | 0 | 0.032035 | 0.206343 | 7,473 | 345 | 75 | 21.66087 | 0.710841 | 0.312993 | 0 | 0.58547 | 0 | 0 | 0.113866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004274 | 0 | 0.004274 | 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 |
1eb948ac1fc72d42f11f0082bb964c2c7adef434 | 222 | py | Python | app/ancillary/redirects.py | sqguo/SP3 | a33893aa40cda2e2883076c3d1e032588a570d38 | [
"MIT"
] | null | null | null | app/ancillary/redirects.py | sqguo/SP3 | a33893aa40cda2e2883076c3d1e032588a570d38 | [
"MIT"
] | null | null | null | app/ancillary/redirects.py | sqguo/SP3 | a33893aa40cda2e2883076c3d1e032588a570d38 | [
"MIT"
] | null | null | null | from flask import redirect, request
from app.ancillary import bp
@bp.before_app_request
def before_request():
if request.path[-1:] == '/' and len(request.path) > 1:
return redirect(request.path[:-1])
pass
| 24.666667 | 58 | 0.689189 | 32 | 222 | 4.6875 | 0.53125 | 0.22 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.18018 | 222 | 8 | 59 | 27.75 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.004505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
1edf71f08aa7ac0ad9ed83872f1619ea71b340d5 | 63 | py | Python | tools/alarm.py | Alisa1114/yolov4-pytorch-1 | 5dd8768f2eef868c9ee4588818350d4e1b50b98f | [
"MIT"
] | null | null | null | tools/alarm.py | Alisa1114/yolov4-pytorch-1 | 5dd8768f2eef868c9ee4588818350d4e1b50b98f | [
"MIT"
] | null | null | null | tools/alarm.py | Alisa1114/yolov4-pytorch-1 | 5dd8768f2eef868c9ee4588818350d4e1b50b98f | [
"MIT"
] | null | null | null | import os
def alarm():
os.system("mpg321 tools/alarm.mp3") | 15.75 | 39 | 0.68254 | 10 | 63 | 4.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.15873 | 63 | 4 | 39 | 15.75 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94df2ba36cff73ae0a38911f18a5fbe7f4ec9137 | 42,500 | py | Python | tests/test_mock_object.py | xkdcc/aliyun-oss-python-sdk | c34c10c830b3a0f884af4bd2a1b501b3d4e52038 | [
"MIT"
] | 840 | 2015-12-07T04:00:04.000Z | 2022-03-25T15:04:53.000Z | tests/test_mock_object.py | xkdcc/aliyun-oss-python-sdk | c34c10c830b3a0f884af4bd2a1b501b3d4e52038 | [
"MIT"
] | 270 | 2016-01-11T01:55:46.000Z | 2022-03-30T10:27:49.000Z | tests/test_mock_object.py | xkdcc/aliyun-oss-python-sdk | c34c10c830b3a0f884af4bd2a1b501b3d4e52038 | [
"MIT"
] | 424 | 2015-12-05T12:26:04.000Z | 2022-03-23T10:57:16.000Z | # -*- coding: utf-8 -*-
import os
from io import BytesIO
import oss2
import unittest
import unittests
import random
from oss2 import utils
from functools import partial
from mock import patch
import struct
import copy
from .common import *
import json
def make_get_object(content):
request_text = '''GET /sjbhls... | 37.379068 | 130 | 0.715271 | 5,547 | 42,500 | 5.306292 | 0.067063 | 0.029354 | 0.045661 | 0.017938 | 0.861487 | 0.830536 | 0.801182 | 0.773018 | 0.73218 | 0.696541 | 0 | 0.071274 | 0.164776 | 42,500 | 1,136 | 131 | 37.411972 | 0.757923 | 0.002447 | 0 | 0.672606 | 0 | 0.025612 | 0.41346 | 0.192682 | 0 | 0 | 0 | 0 | 0.126949 | 1 | 0.045657 | false | 0.004454 | 0.014477 | 0 | 0.070156 | 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 |
a219e779e8f776fcd237fd3d948ea4d2356c7285 | 163 | py | Python | parasolr/django/__init__.py | Princeton-CDH/parasol | 716ad22377f811148f5380143ca3a40a07a120eb | [
"Apache-2.0"
] | null | null | null | parasolr/django/__init__.py | Princeton-CDH/parasol | 716ad22377f811148f5380143ca3a40a07a120eb | [
"Apache-2.0"
] | 25 | 2019-01-23T18:45:08.000Z | 2019-03-05T21:45:27.000Z | parasolr/django/__init__.py | Princeton-CDH/parasol | 716ad22377f811148f5380143ca3a40a07a120eb | [
"Apache-2.0"
] | null | null | null | try:
from parasolr.django.queryset import AliasedSolrQuerySet, SolrQuerySet
from parasolr.django.solrclient import SolrClient
except ImportError:
pass
| 27.166667 | 74 | 0.803681 | 17 | 163 | 7.705882 | 0.705882 | 0.183206 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 163 | 5 | 75 | 32.6 | 0.949275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
bf6997fd55c0c8984972d5635f501dec8cd184ed | 9,526 | py | Python | integration-testing/test/test_bonding.py | srinivasreddy/CasperLabs | bb299b3257d8291ccf713e4a27d62d7d486582f5 | [
"Apache-2.0"
] | null | null | null | integration-testing/test/test_bonding.py | srinivasreddy/CasperLabs | bb299b3257d8291ccf713e4a27d62d7d486582f5 | [
"Apache-2.0"
] | null | null | null | integration-testing/test/test_bonding.py | srinivasreddy/CasperLabs | bb299b3257d8291ccf713e4a27d62d7d486582f5 | [
"Apache-2.0"
] | null | null | null | from test.cl_node.common import BONDING_CONTRACT, UNBONDING_CONTRACT
from test.cl_node.client_parser import parse_show_block
from test.cl_node.client_parser import parse_show_blocks
from test.cl_node.casperlabs_network import OneNodeNetwork
from typing import List
def bond_to_the_network(network: OneNodeNetwork, cont... | 32.623288 | 101 | 0.691686 | 1,284 | 9,526 | 4.803738 | 0.088006 | 0.042315 | 0.065824 | 0.075227 | 0.871595 | 0.8643 | 0.843872 | 0.822309 | 0.809825 | 0.782912 | 0 | 0.021552 | 0.230422 | 9,526 | 291 | 102 | 32.735395 | 0.819806 | 0.082616 | 0 | 0.633621 | 0 | 0 | 0.013482 | 0 | 0 | 0 | 0 | 0 | 0.202586 | 1 | 0.038793 | false | 0 | 0.021552 | 0 | 0.064655 | 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 |
bf7cc5c0bfba057faee04e448b293895c88a5c79 | 618 | py | Python | mayaSDK/pymel/util/__init__.py | FXTD-ODYSSEY/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/pymel/util/__init__.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/pymel/util/__init__.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | from pymel.util.shell import *
from pymel.util.utilitytypes import *
from pymel.util.common import *
from collections import *
from pymel.util.decoration import *
from pymel.util.arguments import *
from pymel.util.arrays import *
from pymel.util.enum import EnumBadKeyError
from pymel.util.path import CaseInsensitivePa... | 32.526316 | 50 | 0.833333 | 87 | 618 | 5.91954 | 0.241379 | 0.262136 | 0.378641 | 0.264078 | 0.357282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 618 | 18 | 51 | 34.333333 | 0.932971 | 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 |
7853c21651fd8c400a5bc92888dd41b3d9e2afd2 | 930 | py | Python | test/test_events.py | mhils/r8 | b5b0cfa5045213abe896eea450012924d3e1fe9c | [
"MIT"
] | 14 | 2018-09-19T15:17:38.000Z | 2022-01-14T10:59:55.000Z | test/test_events.py | mhils/r8 | b5b0cfa5045213abe896eea450012924d3e1fe9c | [
"MIT"
] | 3 | 2019-05-29T16:47:36.000Z | 2020-05-02T18:16:17.000Z | test/test_events.py | mhils/r8 | b5b0cfa5045213abe896eea450012924d3e1fe9c | [
"MIT"
] | 3 | 2020-12-19T01:12:15.000Z | 2021-02-27T21:29:43.000Z | import pytest
from r8.cli.events import format_untrusted_col, min_distinguishable_column_width, wcswidth
def test_format_untrusted_col_simple():
assert format_untrusted_col(None, 5) == "- "
assert format_untrusted_col("x", 5) == "x "
assert format_untrusted_col("1234567", 5) == "12345"
def test_f... | 34.444444 | 90 | 0.687097 | 124 | 930 | 4.967742 | 0.41129 | 0.267857 | 0.321429 | 0.272727 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040455 | 0.149462 | 930 | 26 | 91 | 35.769231 | 0.710493 | 0 | 0 | 0 | 0 | 0 | 0.098925 | 0 | 0 | 0 | 0 | 0 | 0.588235 | 1 | 0.235294 | true | 0 | 0.117647 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7893ba0cc33dd653a8db69018502e283cc47b0a3 | 667 | py | Python | actions/lib/users.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 164 | 2015-01-17T16:08:33.000Z | 2021-08-03T02:34:07.000Z | actions/lib/users.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 442 | 2015-01-01T11:19:01.000Z | 2017-09-06T23:26:17.000Z | actions/lib/users.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 202 | 2015-01-13T00:37:40.000Z | 2020-11-07T11:30:10.000Z | from base import DatadogBaseAction
from datadog import api
class DatadogCreateUser(DatadogBaseAction):
def _run(self, **kwargs):
return api.User.create(**kwargs)
class DatadogDisableUser(DatadogBaseAction):
def _run(self, **kwargs):
return api.User.delete(kwargs.pop("user"))
class DatadogG... | 23.821429 | 62 | 0.707646 | 74 | 667 | 6.297297 | 0.337838 | 0.214592 | 0.246781 | 0.2897 | 0.39485 | 0.39485 | 0.39485 | 0.39485 | 0 | 0 | 0 | 0 | 0.169415 | 667 | 27 | 63 | 24.703704 | 0.841155 | 0 | 0 | 0.235294 | 0 | 0 | 0.023988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0.294118 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
78a15d4444823ee68068415a79d86cff28f9fca4 | 2,633 | py | Python | sotb_wrapper/examples/plot_curves.py | ofmla/seiscope_opt_toolbox_w_ctypes | 863eedd935dae6639161549cf9fe261a086ba6fe | [
"MIT"
] | 5 | 2021-07-19T16:05:25.000Z | 2022-03-21T00:39:43.000Z | sotb_wrapper/examples/plot_curves.py | ofmla/seiscope_opt_toolbox_w_ctypes | 863eedd935dae6639161549cf9fe261a086ba6fe | [
"MIT"
] | null | null | null | sotb_wrapper/examples/plot_curves.py | ofmla/seiscope_opt_toolbox_w_ctypes | 863eedd935dae6639161549cf9fe261a086ba6fe | [
"MIT"
] | null | null | null | import subprocess
import matplotlib.pyplot as plt
# Creating an empty dictionary
myDict = {}
words = ['ST', 'CG', 'LB']
str = "head -n -3 | awk 'NR >= 10 {print $4}'"
for i in words:
word = 'iterate_' + i + '.dat'
process = str[:11] + word + str[11:]
proc = subprocess.Popen(process, shell=True,
... | 41.140625 | 84 | 0.614888 | 344 | 2,633 | 4.677326 | 0.293605 | 0.052206 | 0.082039 | 0.104413 | 0.873835 | 0.873835 | 0.873835 | 0.873835 | 0.847732 | 0.847732 | 0 | 0.018414 | 0.195594 | 2,633 | 63 | 85 | 41.793651 | 0.741265 | 0.010634 | 0 | 0.666667 | 0 | 0 | 0.183321 | 0.019216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035088 | 0 | 0.035088 | 0.035088 | 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 |
ec704c6951d5dd03e645614ef9e4764f090a2c34 | 891 | py | Python | src/cascade/model/__init__.py | skspoon/cascade | 00534bd7e2558b880dfeb2e8bb2248a104ba6083 | [
"MIT"
] | null | null | null | src/cascade/model/__init__.py | skspoon/cascade | 00534bd7e2558b880dfeb2e8bb2248a104ba6083 | [
"MIT"
] | null | null | null | src/cascade/model/__init__.py | skspoon/cascade | 00534bd7e2558b880dfeb2e8bb2248a104ba6083 | [
"MIT"
] | null | null | null | from .compartmental import (
build_derivative_prevalence,
build_derivative_total,
build_derivative_full,
omega_from_mu,
mu_from_omega,
solve_differential_equation,
siler_default,
siler_time_dependent_hazard,
total_mortality_solution,
prevalence_solution,
dismod_solution,
... | 24.75 | 43 | 0.747475 | 87 | 891 | 7.034483 | 0.356322 | 0.147059 | 0.081699 | 0.098039 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0.862745 | 0 | 0 | 0.178451 | 891 | 35 | 44 | 25.457143 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.345679 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 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 |
01b86884a53ddb774b28eb633dadc22e19386877 | 21,295 | py | Python | Libraries/pythonBatchMagic/lclsBatch.py | mrware91/PhilTransA-TRXS-Limits | 5592c6c66276cd493d10f066aa636aaf600d3a00 | [
"MIT"
] | null | null | null | Libraries/pythonBatchMagic/lclsBatch.py | mrware91/PhilTransA-TRXS-Limits | 5592c6c66276cd493d10f066aa636aaf600d3a00 | [
"MIT"
] | null | null | null | Libraries/pythonBatchMagic/lclsBatch.py | mrware91/PhilTransA-TRXS-Limits | 5592c6c66276cd493d10f066aa636aaf600d3a00 | [
"MIT"
] | null | null | null | import os
import shlex, subprocess
import threading
import time
import re
import pickle
try:
os.environ['OUTPUTPATH']
except KeyError as e:
print('Did you remember to specify os.environ[\'OUTPUTPATH\']?')
raise e
try:
os.environ['INSTALLPATH']
except KeyError as e:
print('Did you remember to speci... | 39.435185 | 176 | 0.548392 | 2,088 | 21,295 | 5.572797 | 0.12069 | 0.038673 | 0.053885 | 0.047439 | 0.793228 | 0.782399 | 0.756875 | 0.740976 | 0.704967 | 0.6901 | 0 | 0.012378 | 0.313313 | 21,295 | 540 | 177 | 39.435185 | 0.783355 | 0.088143 | 0 | 0.757493 | 0 | 0 | 0.131902 | 0.034444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057221 | false | 0.013624 | 0.06267 | 0 | 0.152589 | 0.008174 | 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 |
01c862ae15c90ef3b0b91aa5fa841a0964556a75 | 40 | py | Python | OctaHomeCore/OctaFiles/settings/__init__.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | 4 | 2016-08-14T22:07:03.000Z | 2020-10-05T14:43:03.000Z | OctaHomeCore/OctaFiles/settings/__init__.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | null | null | null | OctaHomeCore/OctaFiles/settings/__init__.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | null | null | null | from auth import *
from message import * | 20 | 21 | 0.775 | 6 | 40 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 20 | 0.939394 | 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 |
01cda7b6f410db657aeb69d45e286d89df2f0e28 | 115 | py | Python | snook/model/__init__.py | WIN32GG/Snook | 4ec47aea6500d58661a7da5d6e898854a8e37513 | [
"MIT"
] | 3 | 2020-10-12T14:49:20.000Z | 2021-04-03T13:38:37.000Z | snook/model/__init__.py | WIN32GG/Snook | 4ec47aea6500d58661a7da5d6e898854a8e37513 | [
"MIT"
] | 1 | 2020-12-07T09:30:22.000Z | 2020-12-07T09:30:22.000Z | snook/model/__init__.py | WIN32GG/Snook | 4ec47aea6500d58661a7da5d6e898854a8e37513 | [
"MIT"
] | 1 | 2020-12-07T02:20:19.000Z | 2020-12-07T02:20:19.000Z | from snook.model.loss import AdaptiveWingLoss
from snook.model.network import AutoEncoder, Classifier, Layer, Snook | 57.5 | 69 | 0.852174 | 15 | 115 | 6.533333 | 0.666667 | 0.183673 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 115 | 2 | 69 | 57.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf07a74cc6c27a495b904b52c9732837bad019d5 | 71 | py | Python | pyautofinance/common/telegram_bot/__init__.py | webclinic017/PyAutoFinance | 532cb1c5418dd9eeb07f2f08646170cde1fe0303 | [
"MIT"
] | null | null | null | pyautofinance/common/telegram_bot/__init__.py | webclinic017/PyAutoFinance | 532cb1c5418dd9eeb07f2f08646170cde1fe0303 | [
"MIT"
] | null | null | null | pyautofinance/common/telegram_bot/__init__.py | webclinic017/PyAutoFinance | 532cb1c5418dd9eeb07f2f08646170cde1fe0303 | [
"MIT"
] | 1 | 2022-02-24T09:18:13.000Z | 2022-02-24T09:18:13.000Z | from pyautofinance.common.telegram_bot.telegram_bot import TelegramBot
| 35.5 | 70 | 0.901408 | 9 | 71 | 6.888889 | 0.777778 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 1 | 71 | 71 | 0.925373 | 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 |
bf14723a2718994670dd2e058c748bc62e5b5585 | 96 | py | Python | nodenet/python/nodenet/functions/__init__.py | NOOXY-research/NodeNet | 8bf7e0c2fd0e4fae4a51b2900014004728f3c935 | [
"Apache-2.0"
] | 2 | 2018-01-31T05:52:23.000Z | 2020-08-07T19:14:18.000Z | nodenet/python/nodenet/functions/__init__.py | NOOXY-research/NodeNet | 8bf7e0c2fd0e4fae4a51b2900014004728f3c935 | [
"Apache-2.0"
] | 1 | 2017-11-22T09:39:50.000Z | 2017-11-22T09:39:50.000Z | nodenet/python/nodenet/functions/__init__.py | magneticchen/NodeNet | 8bf7e0c2fd0e4fae4a51b2900014004728f3c935 | [
"Apache-2.0"
] | null | null | null | # Create alias
from nodenet.functions.activation import *
from nodenet.functions.loss import *
| 19.2 | 42 | 0.802083 | 12 | 96 | 6.416667 | 0.666667 | 0.285714 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 4 | 43 | 24 | 0.916667 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bf313677c71b298edce8fcbd6eb2066c10a1b5da | 19 | py | Python | MHD/FEniCS/MyPackage/PackageName/Solvers/__init__.py | wathen/PhD | 35524f40028541a4d611d8c78574e4cf9ddc3278 | [
"MIT"
] | 3 | 2020-10-25T13:30:20.000Z | 2021-08-10T21:27:30.000Z | MHD/FEniCS/MyPackage/PackageName/Solvers/__init__.py | wathen/PhD | 35524f40028541a4d611d8c78574e4cf9ddc3278 | [
"MIT"
] | null | null | null | MHD/FEniCS/MyPackage/PackageName/Solvers/__init__.py | wathen/PhD | 35524f40028541a4d611d8c78574e4cf9ddc3278 | [
"MIT"
] | 3 | 2019-10-28T16:12:13.000Z | 2020-01-13T13:59:44.000Z | from solve import * | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf38ea8806646a547528e32a0a78858ae5aa32f4 | 666 | py | Python | cyder/cydns/tests/model_tests.py | ngokevin/cyder | 8bc0e4aea9ec4b7ac9260b083839bbb1174441d3 | [
"BSD-3-Clause"
] | 1 | 2016-07-06T13:00:53.000Z | 2016-07-06T13:00:53.000Z | cyder/cydns/tests/model_tests.py | ngokevin/cyder | 8bc0e4aea9ec4b7ac9260b083839bbb1174441d3 | [
"BSD-3-Clause"
] | null | null | null | cyder/cydns/tests/model_tests.py | ngokevin/cyder | 8bc0e4aea9ec4b7ac9260b083839bbb1174441d3 | [
"BSD-3-Clause"
] | null | null | null | """
OSU IPv6 allocation:
2620:105:F000::/40
"""
from django.test import TestCase
from cyder.cydns.address_record.tests import *
from cyder.cydns.domain.tests import *
from cyder.cydns.ip.tests import *
from cyder.cydns.nameserver.tests import *
from cyder.cydns.nameserver.nameserver.tests import *
from cyder.cydn... | 30.272727 | 61 | 0.785285 | 101 | 666 | 5.148515 | 0.267327 | 0.242308 | 0.376923 | 0.5 | 0.751923 | 0.511538 | 0.373077 | 0.2 | 0.2 | 0.2 | 0 | 0.021886 | 0.108108 | 666 | 21 | 62 | 31.714286 | 0.853535 | 0.064565 | 0 | 0.133333 | 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 |
1737aaa200363a7437b4bd3244262c9f36138ad7 | 191 | py | Python | bentoml/easyocr.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 1 | 2021-06-12T17:04:07.000Z | 2021-06-12T17:04:07.000Z | bentoml/easyocr.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | 4 | 2021-05-16T08:06:25.000Z | 2021-11-13T08:46:36.000Z | bentoml/easyocr.py | francoisserra/BentoML | 213e9e9b39e055286f2649c733907df88e6d2503 | [
"Apache-2.0"
] | null | null | null | from ._internal.frameworks.easyocr import load
from ._internal.frameworks.easyocr import save
from ._internal.frameworks.easyocr import load_runner
__all__ = ["load", "load_runner", "save"]
| 31.833333 | 53 | 0.801047 | 24 | 191 | 6 | 0.375 | 0.25 | 0.458333 | 0.604167 | 0.784722 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094241 | 191 | 5 | 54 | 38.2 | 0.83237 | 0 | 0 | 0 | 0 | 0 | 0.099476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
17400c987070abf37ff5a2ef9cb7f93a4641aa8d | 167 | py | Python | seamester/__init__.py | PROgramJEDI/seamester | 736fdc55cb8b9b1c87b2767ded4fc7de86378078 | [
"MIT"
] | null | null | null | seamester/__init__.py | PROgramJEDI/seamester | 736fdc55cb8b9b1c87b2767ded4fc7de86378078 | [
"MIT"
] | 5 | 2021-12-26T07:42:18.000Z | 2021-12-28T09:43:04.000Z | seamester/__init__.py | PROgramJEDI/seamaster | 736fdc55cb8b9b1c87b2767ded4fc7de86378078 | [
"MIT"
] | null | null | null | from seamester.objects import COURSES, GROUPS
from seamester.program import Group, Course, Semester, Degree, populate
from seamester.interface import UserInterface
| 41.75 | 72 | 0.832335 | 20 | 167 | 6.95 | 0.7 | 0.280576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 167 | 3 | 73 | 55.666667 | 0.945578 | 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 |
bdc32de174a26fdd9dbdd2ccbd8af8b129afb81b | 219 | py | Python | home/views.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | home/views.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | home/views.py | Shreyanshsachan/College-Predictor | 87068aa1d1a889ced586ff155bc2b5d9a78340f7 | [
"MIT"
] | null | null | null | from django.shortcuts import render,redirect
# Create your views here.
def home_views(request):
return render(request,'home/homepage.html')
def inst_views(request):
return render(request,'home/instructions.html') | 24.333333 | 50 | 0.785388 | 30 | 219 | 5.666667 | 0.6 | 0.141176 | 0.211765 | 0.282353 | 0.411765 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105023 | 219 | 9 | 50 | 24.333333 | 0.867347 | 0.105023 | 0 | 0 | 0 | 0 | 0.205128 | 0.112821 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
da4b2d92d00350f22734b6543b1422003b3ae455 | 9,776 | py | Python | tests/test_resource_profile_weight.py | andraune/Run4IT_BackEnd | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | 1 | 2022-03-29T06:11:20.000Z | 2022-03-29T06:11:20.000Z | tests/test_resource_profile_weight.py | andraune/run4it_backend | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | null | null | null | tests/test_resource_profile_weight.py | andraune/run4it_backend | a481427a0d1189a1f08c42e7ac1b452af6bbfc8d | [
"MIT"
] | null | null | null | import pytest
import datetime as dt
from run4it.api.user.resource import User
from run4it.api.profile.resource import ProfileWeight
from run4it.api.profile.model import ProfileWeightHistory
from .helpers import get_response_json, register_confirmed_user, register_and_login_confirmed_user, get_authorization_header
@py... | 54.921348 | 194 | 0.750511 | 1,419 | 9,776 | 4.954898 | 0.095842 | 0.080216 | 0.044802 | 0.043522 | 0.878822 | 0.841843 | 0.841843 | 0.830181 | 0.824492 | 0.812829 | 0 | 0.038169 | 0.099529 | 9,776 | 177 | 195 | 55.231638 | 0.760536 | 0.011968 | 0 | 0.664557 | 0 | 0 | 0.062066 | 0 | 0 | 0 | 0 | 0 | 0.246835 | 1 | 0.094937 | false | 0 | 0.037975 | 0 | 0.139241 | 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 |
da52b7cab165b2068cfa96eb26bf3e277cc11217 | 24 | py | Python | __init__.py | paulnagy/engine_of_impact | 83cde5d5143c7f36b7e645bf3b710aa6ee38acba | [
"Apache-2.0"
] | null | null | null | __init__.py | paulnagy/engine_of_impact | 83cde5d5143c7f36b7e645bf3b710aa6ee38acba | [
"Apache-2.0"
] | null | null | null | __init__.py | paulnagy/engine_of_impact | 83cde5d5143c7f36b7e645bf3b710aa6ee38acba | [
"Apache-2.0"
] | null | null | null | from . import api_miners | 24 | 24 | 0.833333 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
da6af23821b11e8cbd5d95a7b6ab78aeb4f77ab8 | 35 | py | Python | d.py | LeonRave/Tarea_Git | 766175ed52963efd711c11a038772ab0272e560d | [
"MIT"
] | null | null | null | d.py | LeonRave/Tarea_Git | 766175ed52963efd711c11a038772ab0272e560d | [
"MIT"
] | null | null | null | d.py | LeonRave/Tarea_Git | 766175ed52963efd711c11a038772ab0272e560d | [
"MIT"
] | null | null | null | def raiz(a,b):
return a**(1.0/b)
| 8.75 | 18 | 0.542857 | 9 | 35 | 2.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.171429 | 35 | 3 | 19 | 11.666667 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e5643adbbc1e05b89efaf3a87191f1fc3db2549a | 60 | py | Python | pytdlib/td/__init__.py | pytdlib/pytdlib | e7f69512c969675a10d78359ed2d7971c49556db | [
"MIT"
] | 6 | 2019-02-24T23:44:44.000Z | 2020-04-22T18:01:33.000Z | pytdlib/td/__init__.py | pytdlib/pytdlib | e7f69512c969675a10d78359ed2d7971c49556db | [
"MIT"
] | null | null | null | pytdlib/td/__init__.py | pytdlib/pytdlib | e7f69512c969675a10d78359ed2d7971c49556db | [
"MIT"
] | 2 | 2020-08-11T15:04:17.000Z | 2021-08-05T16:13:59.000Z | from .log import *
from .client import *
from .td import TD
| 15 | 21 | 0.716667 | 10 | 60 | 4.3 | 0.5 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 22 | 20 | 0.895833 | 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 |
e574b781b0bcd8d22483ea733584264dd087a92d | 3,835 | py | Python | qleader/tests/test_views.py | blakaut/WebMark2 | 50f29b46a7813ae9ac6baad6531163b65fc3377e | [
"MIT"
] | null | null | null | qleader/tests/test_views.py | blakaut/WebMark2 | 50f29b46a7813ae9ac6baad6531163b65fc3377e | [
"MIT"
] | null | null | null | qleader/tests/test_views.py | blakaut/WebMark2 | 50f29b46a7813ae9ac6baad6531163b65fc3377e | [
"MIT"
] | null | null | null | import json
from rest_framework import status
from rest_framework.test import APITransactionTestCase
from qleader.tests.data_handler import post_data, scipy_examples, gradient_examples
# The test class for views.py.
class ViewsTests(APITransactionTestCase):
def test_result_list_GET(self):
response = self.... | 51.133333 | 84 | 0.70352 | 465 | 3,835 | 5.569892 | 0.150538 | 0.133205 | 0.204247 | 0.135521 | 0.82973 | 0.779537 | 0.729344 | 0.679537 | 0.66139 | 0.63861 | 0 | 0.013915 | 0.156714 | 3,835 | 74 | 85 | 51.824324 | 0.786951 | 0.007301 | 0 | 0.492063 | 0 | 0 | 0.12431 | 0.022076 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.142857 | false | 0 | 0.063492 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 |
e5970aeb2b25dc89075ff10d960b61c04652766d | 2,360 | py | Python | fate/operators.py | Mattias1/fate | 10266406336bc4c683ff5b23af32ac3447f7f054 | [
"MIT"
] | null | null | null | fate/operators.py | Mattias1/fate | 10266406336bc4c683ff5b23af32ac3447f7f054 | [
"MIT"
] | null | null | null | fate/operators.py | Mattias1/fate | 10266406336bc4c683ff5b23af32ac3447f7f054 | [
"MIT"
] | null | null | null | """
An operator is a special type of command, that applies an operation to a
document. Strictly speaking, an operator is a function that is decorated
by operator, either directly or indirectly.
"""
from . import commands
from .operation import Operation
def uppercase(document, selection=None):
"""Delete content."... | 28.780488 | 88 | 0.707627 | 267 | 2,360 | 6.116105 | 0.198502 | 0.124923 | 0.077159 | 0.102878 | 0.726271 | 0.726271 | 0.726271 | 0.726271 | 0.726271 | 0.649112 | 0 | 0 | 0.200847 | 2,360 | 81 | 89 | 29.135802 | 0.865854 | 0.155085 | 0 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0 | 0.045455 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5a18a5c633f11836e925347dca41f077eed3f05 | 63 | py | Python | hpds/__init__.py | dskoda1/hpds | eb4ef1928753567f77ff90c5ea960db119fd0a33 | [
"BSD-2-Clause"
] | null | null | null | hpds/__init__.py | dskoda1/hpds | eb4ef1928753567f77ff90c5ea960db119fd0a33 | [
"BSD-2-Clause"
] | null | null | null | hpds/__init__.py | dskoda1/hpds | eb4ef1928753567f77ff90c5ea960db119fd0a33 | [
"BSD-2-Clause"
] | null | null | null | from .nodes import *
from .trees import *
from .heaps import *
| 15.75 | 20 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 21 | 21 | 0.882353 | 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 |
e5c0dddcf20b87b65396c50adfe0dc9997c642fa | 41 | py | Python | C02-Linux-and-Python-Setup/06-C02V05/example.py | dirchev/Python-101-Forever-1 | 13c3bb182747aae244ae6f9fd6f79c8223f3e9a6 | [
"MIT"
] | 59 | 2021-02-05T10:40:08.000Z | 2022-01-26T08:30:43.000Z | C02-Linux-and-Python-Setup/06-C02V05/example.py | dirchev/Python-101-Forever-1 | 13c3bb182747aae244ae6f9fd6f79c8223f3e9a6 | [
"MIT"
] | null | null | null | C02-Linux-and-Python-Setup/06-C02V05/example.py | dirchev/Python-101-Forever-1 | 13c3bb182747aae244ae6f9fd6f79c8223f3e9a6 | [
"MIT"
] | 10 | 2021-02-13T16:50:26.000Z | 2022-03-20T12:17:00.000Z | # example.py
import sys
print(sys.argv)
| 8.2 | 15 | 0.731707 | 7 | 41 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 4 | 16 | 10.25 | 0.857143 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e5c3ec1e6b8d10ed9d071ec8e3219c020bc3ffcd | 221 | py | Python | transquest/algo/siamese_transformers/readers/__init__.py | joaomoura1996/TransQuest | d10228616d94839c209786eda639c59b8b4a2182 | [
"Apache-2.0"
] | null | null | null | transquest/algo/siamese_transformers/readers/__init__.py | joaomoura1996/TransQuest | d10228616d94839c209786eda639c59b8b4a2182 | [
"Apache-2.0"
] | null | null | null | transquest/algo/siamese_transformers/readers/__init__.py | joaomoura1996/TransQuest | d10228616d94839c209786eda639c59b8b4a2182 | [
"Apache-2.0"
] | null | null | null | from .input_example import InputExample
from .label_sentence_reader import LabelSentenceReader
from .nli_data_reader import NLIDataReader
from .qe_data_reader import QEDataReader
from .triplet_reader import TripletReader
| 36.833333 | 54 | 0.886878 | 28 | 221 | 6.714286 | 0.571429 | 0.255319 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090498 | 221 | 5 | 55 | 44.2 | 0.935323 | 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 |
e5d2de4e8fba7617d6c7148401dfbdb86a65db9b | 353,716 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_pim_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_pim_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv4_pim_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 51.856912 | 245 | 0.496503 | 35,446 | 353,716 | 4.762709 | 0.01168 | 0.088616 | 0.11077 | 0.123067 | 0.995682 | 0.995149 | 0.989681 | 0.972971 | 0.953388 | 0.9339 | 0 | 0.033276 | 0.345817 | 353,716 | 6,820 | 246 | 51.864516 | 0.696294 | 0 | 0 | 0.682287 | 0 | 0.014211 | 0.443162 | 0.352938 | 0 | 0 | 0 | 0 | 0.001353 | 1 | 0 | false | 0 | 0.001353 | 0 | 0.001353 | 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 |
e5ff4f5e282a0e2a6055432e9046d9e8f17bfdbd | 34 | py | Python | volatility/__init__.py | zuoqin/volatility | 881b910afcb45ae8d19b7a86f115b311a6b1d8d9 | [
"MIT"
] | null | null | null | volatility/__init__.py | zuoqin/volatility | 881b910afcb45ae8d19b7a86f115b311a6b1d8d9 | [
"MIT"
] | null | null | null | volatility/__init__.py | zuoqin/volatility | 881b910afcb45ae8d19b7a86f115b311a6b1d8d9 | [
"MIT"
] | null | null | null | from .main import run_application
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
f92540fee543bfe392ad4ca51c4a574ada2abc8d | 22 | py | Python | NicBot/config/__init__.py | nicdgonzalez/NicBot-discord.py | 3a21510c1e4e2c933f48708478ae792159324a7c | [
"MIT"
] | 3 | 2018-12-20T14:01:57.000Z | 2020-05-27T21:52:00.000Z | NicBot/config/__init__.py | nicdgonzalez/NicBot-discord.py | 3a21510c1e4e2c933f48708478ae792159324a7c | [
"MIT"
] | 2 | 2022-02-11T03:39:11.000Z | 2022-02-19T21:14:15.000Z | NicBot/config/__init__.py | nicdgonzalez/NicBot-discord.py | 3a21510c1e4e2c933f48708478ae792159324a7c | [
"MIT"
] | 4 | 2019-03-06T20:15:59.000Z | 2019-12-11T12:59:34.000Z | from .secret import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 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 |
006e3f1d422f7aeb9acaedc8c6ffe0613c9b51a4 | 119 | py | Python | psga/io/__init__.py | bastienlechat/psga | 97a74db147f43c40002fc6fb58675b02fd3d920b | [
"MIT"
] | null | null | null | psga/io/__init__.py | bastienlechat/psga | 97a74db147f43c40002fc6fb58675b02fd3d920b | [
"MIT"
] | null | null | null | psga/io/__init__.py | bastienlechat/psga | 97a74db147f43c40002fc6fb58675b02fd3d920b | [
"MIT"
] | null | null | null | from . import compumedics
from . import edf
from .compumedics import read_psg_compumedics
from .edf import read_psg_edf | 29.75 | 45 | 0.840336 | 18 | 119 | 5.333333 | 0.333333 | 0.208333 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 4 | 46 | 29.75 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
008af3be942145a89f278b4f404e8c75787cbbbe | 6,141 | py | Python | tests/integration/test_telegram.py | strpc/easy_notifyer | 6d6eaf7edae9a709d34dda27d7384494fee0e772 | [
"MIT"
] | 6 | 2020-12-24T18:54:39.000Z | 2021-11-11T16:24:52.000Z | tests/integration/test_telegram.py | strpc/easy_notifyer | 6d6eaf7edae9a709d34dda27d7384494fee0e772 | [
"MIT"
] | null | null | null | tests/integration/test_telegram.py | strpc/easy_notifyer | 6d6eaf7edae9a709d34dda27d7384494fee0e772 | [
"MIT"
] | 1 | 2020-12-24T18:56:21.000Z | 2020-12-24T18:56:21.000Z | import inspect
import typing as t
import pytest
from easy_notifyer import Telegram
def test_send_message(get_token: str, get_chat_id: int):
"""Базовая отправка сообщения"""
test_name = inspect.currentframe().f_code.co_name
msg = f"test base send_message. with link preview https://github.com {test_name}"... | 33.016129 | 98 | 0.695815 | 893 | 6,141 | 4.465845 | 0.091825 | 0.055667 | 0.054162 | 0.108325 | 0.904213 | 0.878887 | 0.871364 | 0.852808 | 0.785858 | 0.718405 | 0 | 0.000399 | 0.183846 | 6,141 | 185 | 99 | 33.194595 | 0.795291 | 0.457743 | 0 | 0.623188 | 0 | 0.014493 | 0.206102 | 0.029888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115942 | false | 0 | 0.057971 | 0 | 0.173913 | 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 |
daa7283ef58b6deb59e699e05fa8e8cbfb276db1 | 92 | py | Python | tests/boot.py | totorowechat/dmzj_crawler | 6736921cd040a5e25145df13cd2d242e27938b05 | [
"MIT"
] | null | null | null | tests/boot.py | totorowechat/dmzj_crawler | 6736921cd040a5e25145df13cd2d242e27938b05 | [
"MIT"
] | null | null | null | tests/boot.py | totorowechat/dmzj_crawler | 6736921cd040a5e25145df13cd2d242e27938b05 | [
"MIT"
] | null | null | null | import sys
sys.path.append(sys.path[0] + '/../')
import dmzj_crawler
def test():
pass | 11.5 | 37 | 0.641304 | 14 | 92 | 4.142857 | 0.714286 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.173913 | 92 | 8 | 38 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
daaf8426ef9f0f8f1c6bedf62f47009fa55ff762 | 28 | py | Python | project/main.py | tarabuk1n/Debian-Miniconda-Installation | 02d2524f0ac3efc6203f483c13229384861cff52 | [
"Unlicense"
] | 1 | 2021-09-27T17:33:11.000Z | 2021-09-27T17:33:11.000Z | project/main.py | tarabuk1n/Debian-Miniconda-Installation | 02d2524f0ac3efc6203f483c13229384861cff52 | [
"Unlicense"
] | null | null | null | project/main.py | tarabuk1n/Debian-Miniconda-Installation | 02d2524f0ac3efc6203f483c13229384861cff52 | [
"Unlicense"
] | null | null | null | import sort
import timenow
| 7 | 14 | 0.821429 | 4 | 28 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 3 | 15 | 9.333333 | 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 |
daea669bf20fa0b2ad653452127ee0081d86e2aa | 6,323 | py | Python | 2020/04/test_solution.py | dlahyani/advent-of-code | a58ab67a559d6426fe4aa82443528c4e0dc28de3 | [
"Apache-2.0"
] | null | null | null | 2020/04/test_solution.py | dlahyani/advent-of-code | a58ab67a559d6426fe4aa82443528c4e0dc28de3 | [
"Apache-2.0"
] | null | null | null | 2020/04/test_solution.py | dlahyani/advent-of-code | a58ab67a559d6426fe4aa82443528c4e0dc28de3 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
import solution
class VerifyBirthYearTests(TestCase):
def test_not_a_number(self):
with self.assertRaises(ValueError):
solution.verify_birth_year("not-a-number")
def test_not_a_number_suffix(self):
with self.assertRaises(ValueError):
solut... | 27.611354 | 59 | 0.618536 | 683 | 6,323 | 5.42899 | 0.149341 | 0.086839 | 0.097087 | 0.194175 | 0.825512 | 0.789374 | 0.789374 | 0.740831 | 0.619471 | 0.460356 | 0 | 0.047303 | 0.284517 | 6,323 | 228 | 60 | 27.732456 | 0.772325 | 0 | 0 | 0.435028 | 0 | 0 | 0.043334 | 0 | 0 | 0 | 0 | 0 | 0.259887 | 1 | 0.259887 | false | 0 | 0.011299 | 0 | 0.299435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97483fc4a84c91648d84a8bb4f564490a35d100d | 514 | py | Python | code/lib/tfbldr/datasets/audio/__init__.py | dendisuhubdy/representation_mixing | 146ddc7a2cc34544bb4516149ccfcbe72eedd102 | [
"BSD-3-Clause"
] | 51 | 2018-11-16T16:11:40.000Z | 2020-04-07T08:12:26.000Z | code/lib/tfbldr/datasets/audio/__init__.py | dendisuhubdy/representation_mixing | 146ddc7a2cc34544bb4516149ccfcbe72eedd102 | [
"BSD-3-Clause"
] | 1 | 2018-11-30T08:36:58.000Z | 2018-12-18T16:37:07.000Z | code/lib/tfbldr/datasets/audio/__init__.py | dendisuhubdy/representation_mixing | 146ddc7a2cc34544bb4516149ccfcbe72eedd102 | [
"BSD-3-Clause"
] | 9 | 2018-11-21T12:54:42.000Z | 2020-07-17T07:39:24.000Z | from .audio_tools import soundsc
from .audio_tools import overlap
from .audio_tools import stft
from .audio_tools import iterate_invert_spectrogram
from .audio_tools import mel_freq_weights
from .audio_tools import linear_to_mel_weight_matrix
from .audio_tools import mu_law_encode
from .audio_tools import mu_law_decode... | 39.538462 | 56 | 0.883268 | 82 | 514 | 5.121951 | 0.390244 | 0.235714 | 0.366667 | 0.52381 | 0.238095 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093385 | 514 | 12 | 57 | 42.833333 | 0.901288 | 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 |
c15fbeebf64d78fbf8d0b72e9bfe215918319aa3 | 45 | py | Python | __init__.py | AcroMetrics/AlphaVantage-lib | 466c402570d1d41b7f3fc548c6894729a34e9f6d | [
"MIT"
] | null | null | null | __init__.py | AcroMetrics/AlphaVantage-lib | 466c402570d1d41b7f3fc548c6894729a34e9f6d | [
"MIT"
] | null | null | null | __init__.py | AcroMetrics/AlphaVantage-lib | 466c402570d1d41b7f3fc548c6894729a34e9f6d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import AlphaVantage
| 9 | 22 | 0.755556 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.133333 | 45 | 4 | 23 | 11.25 | 0.846154 | 0.466667 | 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 |
c1d37565733eb6f685160f81c2fb08cbccd1faaf | 3,298 | py | Python | src/asymmetric_jwt_auth/tests/test_views.py | crgwbr/asymmetric-jwt-auth | e4b7889a893dcc57eab20a2ed7265b6e9f44d4b9 | [
"0BSD"
] | 18 | 2017-08-12T06:57:27.000Z | 2022-03-17T18:55:04.000Z | src/asymmetric_jwt_auth/tests/test_views.py | crgwbr/asymmetric-jwt-auth | e4b7889a893dcc57eab20a2ed7265b6e9f44d4b9 | [
"0BSD"
] | 18 | 2017-03-25T04:39:23.000Z | 2021-07-07T13:18:38.000Z | src/asymmetric_jwt_auth/tests/test_views.py | crgwbr/asymmetric-jwt-auth | e4b7889a893dcc57eab20a2ed7265b6e9f44d4b9 | [
"0BSD"
] | 8 | 2017-03-02T14:00:02.000Z | 2020-03-21T08:29:17.000Z | from django.core.cache import cache
from django.test import TestCase, Client, override_settings
from django.urls import reverse
from . import data
from ..keys import PublicKey
import json
class JWKSViewTest(TestCase):
def setUp(self):
cache.clear()
def test_no_keys(self):
client = Client()
... | 34.354167 | 370 | 0.608551 | 243 | 3,298 | 8.032922 | 0.263374 | 0.061475 | 0.060963 | 0.040984 | 0.870389 | 0.870389 | 0.846824 | 0.846824 | 0.846824 | 0.846824 | 0 | 0.097222 | 0.301395 | 3,298 | 95 | 371 | 34.715789 | 0.75 | 0.002729 | 0 | 0.595506 | 0 | 0 | 0.298844 | 0.276324 | 0 | 0 | 0 | 0 | 0.089888 | 1 | 0.05618 | false | 0 | 0.067416 | 0 | 0.134831 | 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 |
e7185a83e26a606a43f5bbc1aa4d2577b0dadfef | 165 | py | Python | python/tvm/auto_tensorize/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 22 | 2022-03-18T07:29:31.000Z | 2022-03-23T14:54:32.000Z | python/tvm/auto_tensorize/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | null | null | null | python/tvm/auto_tensorize/__init__.py | QinHan-Erin/AMOS | 634bf48edf4015e4a69a8c32d49b96bce2b5f16f | [
"Apache-2.0"
] | 2 | 2022-03-18T08:26:34.000Z | 2022-03-20T06:02:48.000Z | from .auto_tensorize import *
from .hw_abstraction import *
from .hw_abs_dag import *
from .tensorization_phases import *
from .search import *
from . import policy
| 23.571429 | 35 | 0.787879 | 23 | 165 | 5.434783 | 0.521739 | 0.4 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 165 | 6 | 36 | 27.5 | 0.886525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e7c93c404ee147e261cf424cfbe401582c3423d1 | 136 | py | Python | main.py | youth-quaker/lenta_hack | 32be802af643922f1b02fe682fa5dc54f1708b7e | [
"MIT"
] | null | null | null | main.py | youth-quaker/lenta_hack | 32be802af643922f1b02fe682fa5dc54f1708b7e | [
"MIT"
] | null | null | null | main.py | youth-quaker/lenta_hack | 32be802af643922f1b02fe682fa5dc54f1708b7e | [
"MIT"
] | null | null | null | from tools import *
print("Processing started ...")
# get_cluster_stats(data=None, cluster_name=None, cluster_id=None, features=None) | 22.666667 | 81 | 0.764706 | 19 | 136 | 5.263158 | 0.736842 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 136 | 6 | 81 | 22.666667 | 0.819672 | 0.580882 | 0 | 0 | 0 | 0 | 0.392857 | 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 |
99b222327ad7e1b1354baf734f7e24821dcb357a | 19 | py | Python | python/testData/intentions/convertImport/absoluteToRelativeForNonOverlappingLocations/foo/bar.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/convertImport/absoluteToRelativeForNonOverlappingLocations/foo/bar.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/intentions/convertImport/absoluteToRelativeForNonOverlappingLocations/foo/bar.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def baz():
pass | 9.5 | 10 | 0.526316 | 3 | 19 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 19 | 2 | 11 | 9.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
99baf03b529c437ecc81d080e78a200aa0f7f2f8 | 9,881 | py | Python | CAFFR/heuristics/heuristic_cuda.py | Bobobert/RolloutFF | 23f71df2ee7e66ae0976196222aedb607b18e2a5 | [
"MIT"
] | null | null | null | CAFFR/heuristics/heuristic_cuda.py | Bobobert/RolloutFF | 23f71df2ee7e66ae0976196222aedb607b18e2a5 | [
"MIT"
] | null | null | null | CAFFR/heuristics/heuristic_cuda.py | Bobobert/RolloutFF | 23f71df2ee7e66ae0976196222aedb607b18e2a5 | [
"MIT"
] | null | null | null | """
Heuristics programmed for CUDA calls
@authors: Bobobert, MauMontenegro
"""
from CAFFR.utils.consts import *
###### PROGRAM HERE YOUR HEURISTICs ######
### ASING THEM INTO A SWITH MODE USE #####
@cuda.jit(device=True)
def Heuristic(local_grid, pos_row, pos_col, steps_to_update, parameters, prob... | 42.590517 | 127 | 0.421617 | 1,232 | 9,881 | 3.25 | 0.104708 | 0.076424 | 0.062438 | 0.068681 | 0.866633 | 0.842907 | 0.842907 | 0.842907 | 0.842907 | 0.831419 | 0 | 0.042337 | 0.471713 | 9,881 | 232 | 128 | 42.590517 | 0.724713 | 0.093209 | 0 | 0.691099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015707 | false | 0 | 0.005236 | 0 | 0.068063 | 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 |
99f88b6b8c989eddc5ce41915425affc074ea0a3 | 368 | py | Python | djangular/tests/__init__.py | mohamedmehdigara/djangular | 4fc13bbe9c94799734cd08f31ac9ed46c0a2a3b7 | [
"Apache-2.0"
] | 145 | 2015-01-01T12:09:30.000Z | 2022-01-28T13:59:50.000Z | djangular/tests/__init__.py | mohamedmehdigara/djangular | 4fc13bbe9c94799734cd08f31ac9ed46c0a2a3b7 | [
"Apache-2.0"
] | 25 | 2015-01-07T11:42:21.000Z | 2016-12-14T19:23:45.000Z | djangular/tests/__init__.py | mohamedmehdigara/djangular | 4fc13bbe9c94799734cd08f31ac9ed46c0a2a3b7 | [
"Apache-2.0"
] | 40 | 2015-02-07T13:23:09.000Z | 2022-01-28T13:59:53.000Z | import django
if django.VERSION < (1, 6):
from djangular.tests.test_base import *
from djangular.tests.test_finders import *
from djangular.tests.test_middleware import *
from djangular.tests.test_storage import *
from djangular.tests.test_utils import *
from djangular.tests.test_commands impor... | 33.454545 | 49 | 0.752717 | 49 | 368 | 5.510204 | 0.346939 | 0.337037 | 0.466667 | 0.57037 | 0.622222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.173913 | 368 | 10 | 50 | 36.8 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 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 |
820fe2c003fad8003b0f35a0b482ae344ac0dacc | 380 | py | Python | pavo_cristatus/tests/doubles/module_fakes/non_annotated/module_fake_class_with_callable_and_default.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/non_annotated/module_fake_class_with_callable_and_default.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | pavo_cristatus/tests/doubles/module_fakes/non_annotated/module_fake_class_with_callable_and_default.py | MATTHEWFRAZER/pavo_cristatus | a4b96c0eb6c454fbe38d2092e29f63457a4ee955 | [
"MIT"
] | null | null | null | from pavo_cristatus.tests.doubles.module_fakes.module_fake_class import ModuleFakeClass
from trochilidae.interoperable_with_metaclass import interoperable_with_metaclass_future
__all__ = ["ModuleFakeClassWithCallableAndDefault"]
class ModuleFakeClassWithCallableAndDefault(interoperable_with_metaclass_future(ModuleF... | 42.222222 | 98 | 0.873684 | 40 | 380 | 7.85 | 0.675 | 0.16242 | 0.248408 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002833 | 0.071053 | 380 | 9 | 99 | 42.222222 | 0.886686 | 0 | 0 | 0 | 0 | 0 | 0.097113 | 0.097113 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8211f248e6c0b6503a24d04c91884c2e9c860081 | 1,952 | py | Python | notebook/sort_in_any_order.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/sort_in_any_order.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/sort_in_any_order.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | l = ['Banana', 'Alice', 'Apple', 'Bob']
print(sorted(l))
# ['Alice', 'Apple', 'Banana', 'Bob']
print(sorted(l, reverse=True))
# ['Bob', 'Banana', 'Apple', 'Alice']
l_order = ['Alice', 'Bob', 'Apple', 'Banana']
print(sorted(l, key=l_order.index))
# ['Alice', 'Bob', 'Apple', 'Banana']
print(l)
# ['Banana', 'Alice', ... | 27.885714 | 82 | 0.578381 | 307 | 1,952 | 3.596091 | 0.120521 | 0.149457 | 0.152174 | 0.240942 | 0.86413 | 0.818841 | 0.728261 | 0.673913 | 0.673913 | 0.638587 | 0 | 0.011947 | 0.142418 | 1,952 | 69 | 83 | 28.289855 | 0.647551 | 0.329406 | 0 | 0.535714 | 0 | 0 | 0.190698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0 | 0 | 0.071429 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4168f07ce29be7d983399a2424fc9f5ddcb5397f | 184 | py | Python | sensors-hive.py | binary-animal/sensors-hive | f4c855edb15fc232fca1415718fad8e1af5051d9 | [
"MIT"
] | 1 | 2018-06-07T21:07:43.000Z | 2018-06-07T21:07:43.000Z | sensors-hive.py | binary-animal/sensors-hive | f4c855edb15fc232fca1415718fad8e1af5051d9 | [
"MIT"
] | null | null | null | sensors-hive.py | binary-animal/sensors-hive | f4c855edb15fc232fca1415718fad8e1af5051d9 | [
"MIT"
] | 1 | 2018-06-07T21:07:58.000Z | 2018-06-07T21:07:58.000Z | from backend import backend, db
from backend.models import User, Token
@backend.shell_context_processor
def make_shell_context():
return {'db': db, 'User': User, 'Token': Token}
| 23 | 51 | 0.744565 | 26 | 184 | 5.115385 | 0.5 | 0.165414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 184 | 7 | 52 | 26.285714 | 0.841772 | 0 | 0 | 0 | 0 | 0 | 0.059783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
68c159e8e9efada6d89b1e6c6190131d1282c857 | 49 | py | Python | example_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 1 | 2021-12-12T02:50:20.000Z | 2021-12-12T02:50:20.000Z | example_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 17 | 2020-02-07T23:40:36.000Z | 2020-12-22T16:38:44.000Z | example_module/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | null | null | null | from example_module.example import ExampleModule
| 24.5 | 48 | 0.897959 | 6 | 49 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 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 |
68d7d123c19ed462eb0faf17fd4c457214792d06 | 37 | py | Python | tkh_dsnr_pipeline/Models/Creators/__init__.py | DKarakoc/Cloud-Pipeline | e8d550ccec14f8d3658a1c74edd959ba76c1d48b | [
"MIT"
] | null | null | null | tkh_dsnr_pipeline/Models/Creators/__init__.py | DKarakoc/Cloud-Pipeline | e8d550ccec14f8d3658a1c74edd959ba76c1d48b | [
"MIT"
] | null | null | null | tkh_dsnr_pipeline/Models/Creators/__init__.py | DKarakoc/Cloud-Pipeline | e8d550ccec14f8d3658a1c74edd959ba76c1d48b | [
"MIT"
] | null | null | null | # from . import DownloadScriptCreator | 37 | 37 | 0.837838 | 3 | 37 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0.945946 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68e035ba29c836c4403885216fe53ae68dff2c6c | 43 | py | Python | dot_product/__init__.py | profileprojesh/dot_product | 9770adb3dff1300d76b8c3cf7bed58c525850e09 | [
"MIT"
] | null | null | null | dot_product/__init__.py | profileprojesh/dot_product | 9770adb3dff1300d76b8c3cf7bed58c525850e09 | [
"MIT"
] | null | null | null | dot_product/__init__.py | profileprojesh/dot_product | 9770adb3dff1300d76b8c3cf7bed58c525850e09 | [
"MIT"
] | null | null | null | from dot_product.numpydot import DotProduct | 43 | 43 | 0.906977 | 6 | 43 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68e693505087cc6db9b9a5f77d36b9c3bba03eeb | 30 | py | Python | models/__init__.py | olaals/end-to-end-RGB-pose-estimation-baseline | c26151587657d7d496bb2c3ab47bb4549c0e83e6 | [
"MIT"
] | 2 | 2022-03-24T08:52:58.000Z | 2022-03-24T09:18:35.000Z | models/__init__.py | olaals/end-to-end-RGB-pose-estimation-baseline | c26151587657d7d496bb2c3ab47bb4549c0e83e6 | [
"MIT"
] | null | null | null | models/__init__.py | olaals/end-to-end-RGB-pose-estimation-baseline | c26151587657d7d496bb2c3ab47bb4549c0e83e6 | [
"MIT"
] | null | null | null | from .fetch_network import *
| 10 | 28 | 0.766667 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ec102e4d91f5e3e2f754b12759865dfd20f83934 | 214 | py | Python | api/staticdata/f680_clearance_types/urls.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/staticdata/f680_clearance_types/urls.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/staticdata/f680_clearance_types/urls.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from django.urls import path
from api.staticdata.f680_clearance_types import views
app_name = "f680_clearance_types"
urlpatterns = [path("", views.F680ClearanceTypesView.as_view(), name="f680_clearance_types")]
| 26.75 | 93 | 0.808411 | 28 | 214 | 5.892857 | 0.607143 | 0.236364 | 0.327273 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.088785 | 214 | 7 | 94 | 30.571429 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6b6999b523c136133c9ef124392b220c150ed5ee | 9,127 | py | Python | sample.py | ranisalt/hackaton-saac | 39278b23ffb60c0a1ebc5a1d2f02f1167dbd30c0 | [
"MIT"
] | null | null | null | sample.py | ranisalt/hackaton-saac | 39278b23ffb60c0a1ebc5a1d2f02f1167dbd30c0 | [
"MIT"
] | null | null | null | sample.py | ranisalt/hackaton-saac | 39278b23ffb60c0a1ebc5a1d2f02f1167dbd30c0 | [
"MIT"
] | null | null | null | import gym
import numpy as np
import opentuner
from opentuner import ConfigurationManipulator
from opentuner import FloatParameter, Result
from opentuner.measurement import MeasurementInterface
from multiprocessing import pool
pool = pool.Pool()
def nyan(cfg):
def core():
env = gym.make('BipedalWalker-v... | 40.207048 | 93 | 0.517147 | 1,256 | 9,127 | 3.536624 | 0.131369 | 0.014408 | 0.013507 | 0.012607 | 0.737281 | 0.719045 | 0.713192 | 0.700585 | 0.700585 | 0.700585 | 0 | 0.067932 | 0.353238 | 9,127 | 226 | 94 | 40.384956 | 0.684567 | 0.127205 | 0 | 0.720238 | 0 | 0 | 0.03101 | 0.00542 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029762 | false | 0 | 0.041667 | 0 | 0.125 | 0.011905 | 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 |
6bdfe959daf978435b71f3a4cec5a5ad396540e5 | 202,699 | py | Python | pysnmp-with-texts/SL81-STD-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/SL81-STD-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/SL81-STD-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module SL81-STD-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SL81-STD-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:06:02 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019,... | 237.074854 | 8,566 | 0.723052 | 25,515 | 202,699 | 5.744151 | 0.04468 | 0.125803 | 0.179719 | 0.00988 | 0.756751 | 0.712968 | 0.70042 | 0.685328 | 0.672944 | 0.662737 | 0 | 0.09415 | 0.086365 | 202,699 | 854 | 8,567 | 237.352459 | 0.697251 | 0.001569 | 0 | 0 | 0 | 0.264463 | 0.50506 | 0.00081 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.008264 | 0.007084 | 0 | 0.007084 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6be927ffb209fa0b2e5671569e20a98fee5da4b3 | 130 | py | Python | Lessons/while loop/user_define_function.py | Orleanslindsay/Python_Programming | dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55 | [
"MIT"
] | 1 | 2021-08-16T10:25:01.000Z | 2021-08-16T10:25:01.000Z | Lessons/while loop/user_define_function.py | Orleanslindsay/Python_Programming | dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55 | [
"MIT"
] | null | null | null | Lessons/while loop/user_define_function.py | Orleanslindsay/Python_Programming | dacc08090e9ebf9eb43aec127ee3e2e3cdcb4f55 | [
"MIT"
] | null | null | null | def print_lyrics():
print("I'm a programmer, and I;m okay.")
print("I sleep all day and I work all night")
print(print_lyrics()) | 32.5 | 46 | 0.707692 | 25 | 130 | 3.6 | 0.56 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 4 | 47 | 32.5 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.51145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d403daaf3d68f290e11ceac6d236fb2ce6de32a7 | 45,787 | py | Python | tests/datasources/test_cuckoo_report.py | limkokhian/beagle | 791e83db94e5a8ab1965b155bb79d32bb259d2b3 | [
"MIT"
] | 1,139 | 2019-03-24T09:09:05.000Z | 2022-03-27T14:54:38.000Z | tests/datasources/test_cuckoo_report.py | limkokhian/beagle | 791e83db94e5a8ab1965b155bb79d32bb259d2b3 | [
"MIT"
] | 78 | 2019-03-24T16:56:06.000Z | 2022-02-27T21:31:38.000Z | tests/datasources/test_cuckoo_report.py | limkokhian/beagle | 791e83db94e5a8ab1965b155bb79d32bb259d2b3 | [
"MIT"
] | 149 | 2019-03-24T16:44:45.000Z | 2022-03-11T12:20:51.000Z | import json
import pytest
from beagle.constants import EventTypes, FieldNames, Protocols
from beagle.datasources.cuckoo_report import CuckooReport
def make_tmp_file(data: dict, tmpdir):
p = tmpdir.mkdir("cuckoo").join("data.json")
p.write(json.dumps(data))
return p
def test_metadata(tmpdir):
f = m... | 40.270009 | 210 | 0.420163 | 3,257 | 45,787 | 5.75284 | 0.103469 | 0.092651 | 0.06794 | 0.092971 | 0.806959 | 0.796819 | 0.790255 | 0.772749 | 0.758286 | 0.745317 | 0 | 0.102957 | 0.458645 | 45,787 | 1,136 | 211 | 40.305458 | 0.652963 | 0.008561 | 0 | 0.630597 | 0 | 0.001866 | 0.260416 | 0.122067 | 0 | 0 | 0 | 0 | 0.013993 | 1 | 0.013993 | false | 0 | 0.003731 | 0 | 0.018657 | 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 |
d44670230508c0caba20a76e860eea8590748029 | 45 | py | Python | gym/envs/WLANPaper/__init__.py | zachary2wave/UAV-aid-communication | 801fe22d839261af43127e31db00f166ed6484a0 | [
"MIT"
] | 2 | 2019-12-02T15:36:55.000Z | 2022-02-10T11:55:10.000Z | gym/envs/WLANPaper/__init__.py | zachary2wave/UAV-aid-communication | 801fe22d839261af43127e31db00f166ed6484a0 | [
"MIT"
] | null | null | null | gym/envs/WLANPaper/__init__.py | zachary2wave/UAV-aid-communication | 801fe22d839261af43127e31db00f166ed6484a0 | [
"MIT"
] | 2 | 2019-12-10T00:10:38.000Z | 2021-01-07T03:31:38.000Z | from gym.envs.WLANPaper.MAP import MapEnv
| 9 | 41 | 0.777778 | 7 | 45 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 4 | 42 | 11.25 | 0.921053 | 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 |
d46ecd78ebdd9922024f4cac66dbf50ae584e57a | 127 | py | Python | package_cb65/test/impl_test.py | phfrohring/python | 0ccd4342f6c6b9b84241465ed297382aa22ab963 | [
"MIT"
] | null | null | null | package_cb65/test/impl_test.py | phfrohring/python | 0ccd4342f6c6b9b84241465ed297382aa22ab963 | [
"MIT"
] | null | null | null | package_cb65/test/impl_test.py | phfrohring/python | 0ccd4342f6c6b9b84241465ed297382aa22ab963 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from package_cb65 import something
def test_impl():
"""docstring"""
assert something() == 1
| 14.111111 | 34 | 0.614173 | 15 | 127 | 5.066667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.212598 | 127 | 8 | 35 | 15.875 | 0.72 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4806e678879489ac61a783896306152967f17fe | 203 | py | Python | tccli/services/tcr/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/tcr/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/tcr/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.tcr.tcr_client import register_arg
from tccli.services.tcr.tcr_client import get_actions_info
from tccli.services.tcr.tcr_client import AVAILABLE_VERSION_LIST
| 40.6 | 64 | 0.827586 | 32 | 203 | 5 | 0.53125 | 0.16875 | 0.31875 | 0.375 | 0.65625 | 0.65625 | 0.65625 | 0 | 0 | 0 | 0 | 0.005376 | 0.083744 | 203 | 4 | 65 | 50.75 | 0.854839 | 0.103448 | 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 |
2e176926db310aa45ce5190e953f9e892b17f997 | 25 | py | Python | python_modules/dagster/dagster_tests/core_tests/definitions_tests/bar_repo.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | python_modules/dagster/dagster_tests/core_tests/definitions_tests/bar_repo.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | python_modules/dagster/dagster_tests/core_tests/definitions_tests/bar_repo.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | def a_method():
pass
| 8.333333 | 15 | 0.6 | 4 | 25 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 2 | 16 | 12.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2e2e52fa489f338e706a603797583008778e807f | 92 | py | Python | rulelist/util/extra_maths.py | HMProenca/RuleList | 4e500c3a9813aadb149286458f11460904fd15d4 | [
"MIT"
] | 8 | 2021-02-23T10:57:29.000Z | 2022-03-15T10:29:08.000Z | rulelist/util/extra_maths.py | HMProenca/RuleList | 4e500c3a9813aadb149286458f11460904fd15d4 | [
"MIT"
] | 3 | 2021-02-26T21:54:24.000Z | 2021-06-09T13:28:10.000Z | rulelist/util/extra_maths.py | HMProenca/RuleList | 4e500c3a9813aadb149286458f11460904fd15d4 | [
"MIT"
] | 2 | 2021-02-26T21:32:22.000Z | 2021-11-01T09:32:38.000Z | from math import log2
def log2_0(value: float):
return log2(value) if value != 0 else 0 | 23 | 43 | 0.706522 | 17 | 92 | 3.764706 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.206522 | 92 | 4 | 43 | 23 | 0.794521 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.