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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
122a202f54b054489c734cac7176644851a8bea3 | 84 | py | Python | notifyker/keras/__init__.py | Qwinpin/NotifyKer | 18a82f37dbab8c1c526a49285403e3fba25b72a0 | [
"MIT"
] | 11 | 2019-01-31T17:12:20.000Z | 2020-04-22T20:23:58.000Z | notifyker/keras/__init__.py | Qwinpin/NotifyKer | 18a82f37dbab8c1c526a49285403e3fba25b72a0 | [
"MIT"
] | null | null | null | notifyker/keras/__init__.py | Qwinpin/NotifyKer | 18a82f37dbab8c1c526a49285403e3fba25b72a0 | [
"MIT"
] | null | null | null | from .callback_base import CallbackBase
from .callback_simple import CallbackSimple
| 28 | 43 | 0.880952 | 10 | 84 | 7.2 | 0.7 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 44 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
124f466537c9bf7152a03afa0443e720b16cc979 | 36 | py | Python | petra_viewer/data_sources/sardana/__init__.py | yamedvedya/data_viewer | c6238b71edcf0178ebe8ab8f9bf6e56e41cd4916 | [
"MIT"
] | null | null | null | petra_viewer/data_sources/sardana/__init__.py | yamedvedya/data_viewer | c6238b71edcf0178ebe8ab8f9bf6e56e41cd4916 | [
"MIT"
] | null | null | null | petra_viewer/data_sources/sardana/__init__.py | yamedvedya/data_viewer | c6238b71edcf0178ebe8ab8f9bf6e56e41cd4916 | [
"MIT"
] | null | null | null | # Created by matveyev at 13.08.2021
| 18 | 35 | 0.75 | 7 | 36 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.166667 | 36 | 1 | 36 | 36 | 0.633333 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
125afe6ce6eb5e89ad625b45342ed70452d34369 | 2,022 | py | Python | tests/test_class/raises_class.py | jepperaskdk/doctest | b084223b971c4f52e8a97f7623729d8c256c10e4 | [
"MIT"
] | 1 | 2022-02-25T14:30:57.000Z | 2022-02-25T14:30:57.000Z | tests/test_class/raises_class.py | jepperaskdk/doctest | b084223b971c4f52e8a97f7623729d8c256c10e4 | [
"MIT"
] | 13 | 2021-05-23T06:59:45.000Z | 2021-10-14T06:10:10.000Z | tests/test_class/raises_class.py | jepperaskdk/pydoctest | b084223b971c4f52e8a97f7623729d8c256c10e4 | [
"MIT"
] | null | null | null | class RaisesClass():
def func_with_raise(self) -> None:
"""
Raises:
RuntimeError: [description]
ValueError: [description]
IndexError: [description]
"""
if 2 == 3:
raise RuntimeError()
if 2 == 4:
raise ValueError()
... | 21.741935 | 76 | 0.464392 | 173 | 2,022 | 5.300578 | 0.190751 | 0.049073 | 0.071974 | 0.058888 | 0.802617 | 0.802617 | 0.802617 | 0.725191 | 0.692475 | 0.692475 | 0 | 0.026042 | 0.430267 | 2,022 | 93 | 77 | 21.741935 | 0.769965 | 0.285856 | 0 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
d604ece38bb7ed564040265560c96f49a61bf4ed | 183 | py | Python | aos_sw_api/enums/time_window_type.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | null | null | null | aos_sw_api/enums/time_window_type.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2020-12-24T15:36:56.000Z | 2021-01-28T23:19:57.000Z | aos_sw_api/enums/time_window_type.py | KennethSoelberg/AOS-Switch | a5a2c54917bbb69fab044bf0b313bcf795642d30 | [
"MIT"
] | 1 | 2021-02-16T23:26:28.000Z | 2021-02-16T23:26:28.000Z | from enum import Enum
class TimeWindowTypeEnum(str, Enum):
TW_POSITIVE_TIME_WINDOW = "TW_POSITIVE_TIME_WINDOW"
TW_PLUS_OR_MINUS_TIME_WINDOW = "TW_PLUS_OR_MINUS_TIME_WINDOW"
| 26.142857 | 65 | 0.819672 | 28 | 183 | 4.785714 | 0.464286 | 0.298507 | 0.268657 | 0.298507 | 0.641791 | 0.41791 | 0.41791 | 0.41791 | 0 | 0 | 0 | 0 | 0.125683 | 183 | 6 | 66 | 30.5 | 0.8375 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d6160b2fbc025c55f183ccea66b4e72394d161d1 | 214 | py | Python | api/app/utils/mongo_users_utils.py | crtarsorg/istinomer-factchecker | eb0639f526fc2b75bf4628dcff9080a030f34f38 | [
"CC0-1.0"
] | 2 | 2016-07-20T17:49:22.000Z | 2016-07-21T12:31:26.000Z | api/app/utils/mongo_users_utils.py | crtarsorg/istinomer-factchecker | eb0639f526fc2b75bf4628dcff9080a030f34f38 | [
"CC0-1.0"
] | null | null | null | api/app/utils/mongo_users_utils.py | crtarsorg/istinomer-factchecker | eb0639f526fc2b75bf4628dcff9080a030f34f38 | [
"CC0-1.0"
] | 9 | 2016-07-08T08:56:29.000Z | 2019-06-26T11:59:30.000Z |
class MongoUsersUtils:
def __init__(self, mongo):
self.mongo = mongo
self.collection_name = "users"
def save(self, user):
return self.mongo.db[self.collection_name].insert(user)
| 19.454545 | 63 | 0.649533 | 26 | 214 | 5.115385 | 0.538462 | 0.203008 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242991 | 214 | 10 | 64 | 21.4 | 0.820988 | 0 | 0 | 0 | 0 | 0 | 0.023585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d61765463b7185039b6dd5e2a0b3452fb297323e | 90 | py | Python | test/tests/float.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | 1 | 2015-11-06T03:39:51.000Z | 2015-11-06T03:39:51.000Z | test/tests/float.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | null | null | null | test/tests/float.py | kevinxucs/pyston | bdb87c1706ac74a0d15d9bc2bae53798678a5f14 | [
"Apache-2.0"
] | null | null | null | print 123542598.12938712938192831293812983
f = 1.0
print f
print float(2)
# print f - 2
| 11.25 | 42 | 0.744444 | 14 | 90 | 4.785714 | 0.571429 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.527027 | 0.177778 | 90 | 7 | 43 | 12.857143 | 0.378378 | 0.122222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c3830fc4a1262c462b34898c8487f1648ff6f66f | 21 | py | Python | Engine/Extras/Maya_AnimationRiggingTools/ARTv1/MayaTools/General/Scripts/Modules/uExport/__init__.py | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 42 | 2018-03-03T06:08:59.000Z | 2022-03-12T07:14:41.000Z | Engine/Extras/Maya_AnimationRiggingTools/ARTv1/MayaTools/General/Scripts/Modules/uExport/__init__.py | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2018-03-04T20:00:36.000Z | 2018-10-10T01:38:37.000Z | Engine/Extras/Maya_AnimationRiggingTools/ARTv1/MayaTools/General/Scripts/Modules/uExport/__init__.py | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 13 | 2018-03-02T01:54:50.000Z | 2022-02-17T22:54:25.000Z | from uExport 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 |
7f18b652833d528778b4dc6fc98364b62b511bdc | 10,116 | py | Python | datalayerprovider/nodes.py | bostroemc/rfs-parts-db | d49231239c3041daf40db35eb665cb4b983a9516 | [
"MIT"
] | null | null | null | datalayerprovider/nodes.py | bostroemc/rfs-parts-db | d49231239c3041daf40db35eb665cb4b983a9516 | [
"MIT"
] | null | null | null | datalayerprovider/nodes.py | bostroemc/rfs-parts-db | d49231239c3041daf40db35eb665cb4b983a9516 | [
"MIT"
] | null | null | null | # MIT License
#
# Copyright (c) 2020, Bosch Rexroth AG
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, m... | 35.745583 | 150 | 0.640273 | 1,229 | 10,116 | 4.996745 | 0.158666 | 0.052923 | 0.082071 | 0.097704 | 0.75916 | 0.75916 | 0.747761 | 0.747761 | 0.747761 | 0.716496 | 0 | 0.003171 | 0.251878 | 10,116 | 283 | 151 | 35.745583 | 0.808272 | 0.175366 | 0 | 0.847368 | 0 | 0 | 0.040568 | 0.00626 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147368 | false | 0 | 0.042105 | 0 | 0.252632 | 0.015789 | 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 |
7f1c4f141c9d2ea8f3fd3f9b5081bae4ba61b2e6 | 129 | py | Python | tfdet/model/__init__.py | Burf/tfdetection | 658e67d6db71e04bda2965d5a5d506d304ab8ad6 | [
"Apache-2.0"
] | null | null | null | tfdet/model/__init__.py | Burf/tfdetection | 658e67d6db71e04bda2965d5a5d506d304ab8ad6 | [
"Apache-2.0"
] | null | null | null | tfdet/model/__init__.py | Burf/tfdetection | 658e67d6db71e04bda2965d5a5d506d304ab8ad6 | [
"Apache-2.0"
] | null | null | null | from . import backbone
from . import detector
from . import head
from . import neck
from . import postprocess
from . import train | 21.5 | 25 | 0.775194 | 18 | 129 | 5.555556 | 0.444444 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178295 | 129 | 6 | 26 | 21.5 | 0.943396 | 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 |
6141bd68401ea6d197fa67fc917370db40652293 | 71 | py | Python | flask_application/profiles/__init__.py | dbdeadbeat/refurence | 29e2b56751e6f69b0722ddc73c32a09e06c3c789 | [
"MIT"
] | 4 | 2015-01-15T06:24:47.000Z | 2015-10-28T18:36:53.000Z | flask_application/profiles/__init__.py | dbdeadbeat/refurence | 29e2b56751e6f69b0722ddc73c32a09e06c3c789 | [
"MIT"
] | 7 | 2015-01-21T02:31:40.000Z | 2022-03-11T23:12:43.000Z | flask_application/profiles/__init__.py | dbdeadbeat/refurence | 29e2b56751e6f69b0722ddc73c32a09e06c3c789 | [
"MIT"
] | 2 | 2015-01-14T02:01:34.000Z | 2015-01-14T06:52:01.000Z | from controllers import *
from models import *
from constants import *
| 17.75 | 25 | 0.788732 | 9 | 71 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 26 | 23.666667 | 0.949153 | 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 |
61434bc1fb6b4169fda378d01033d8fb08b09b74 | 6,725 | py | Python | tests/test_command.py | ppq200/sqlcsv | 15b0cdcb924199bdbe2b6ed8ebf45397e486f244 | [
"MIT"
] | 12 | 2018-11-27T04:17:40.000Z | 2022-01-07T23:28:14.000Z | tests/test_command.py | ppq200/sqlcsv | 15b0cdcb924199bdbe2b6ed8ebf45397e486f244 | [
"MIT"
] | 1 | 2021-10-05T03:06:41.000Z | 2021-10-05T04:12:15.000Z | tests/test_command.py | ppq200/sqlcsv | 15b0cdcb924199bdbe2b6ed8ebf45397e486f244 | [
"MIT"
] | 2 | 2020-02-04T18:46:28.000Z | 2021-10-04T08:59:22.000Z | from io import StringIO
from unittest.mock import patch
from pytest import fixture, raises
from sqlalchemy import create_engine
import sqlcsv.command
SQL_CREATE_TABLE = '''
CREATE TABLE testtable (
id INTEGER PRIMARY KEY AUTOINCREMENT,
int_col INTEGER,
real_col REAL,
text_col TEX... | 27.337398 | 80 | 0.639703 | 918 | 6,725 | 4.458606 | 0.1122 | 0.096751 | 0.043978 | 0.020523 | 0.814317 | 0.781578 | 0.741266 | 0.724408 | 0.7183 | 0.711947 | 0 | 0.021868 | 0.224833 | 6,725 | 245 | 81 | 27.44898 | 0.763284 | 0 | 0 | 0.647959 | 0 | 0 | 0.15316 | 0.03197 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.081633 | false | 0.02551 | 0.02551 | 0.005102 | 0.112245 | 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 |
619d253c38d02d6e28920205c51b1add0fed04f3 | 307 | py | Python | tests/test_puzzle10.py | harbenml/Advent_of_Code_2020 | b86596416a90980483f2d1b4ae507ad783cb6296 | [
"MIT"
] | 1 | 2020-12-10T20:01:04.000Z | 2020-12-10T20:01:04.000Z | tests/test_puzzle10.py | harbenml/advent-of-code-2020 | b86596416a90980483f2d1b4ae507ad783cb6296 | [
"MIT"
] | null | null | null | tests/test_puzzle10.py | harbenml/advent-of-code-2020 | b86596416a90980483f2d1b4ae507ad783cb6296 | [
"MIT"
] | null | null | null | from puzzles.puzzle10 import load_data
from puzzles.puzzle10 import solve_part_1
from puzzles.puzzle10 import solve_part_2
filename = "./data/test_data10.txt"
X = load_data(filename)
def test_solve_part_1():
assert solve_part_1(X) == 220
def test_solve_part_2():
assert solve_part_2(X) == 4410
| 20.466667 | 41 | 0.771987 | 51 | 307 | 4.313725 | 0.372549 | 0.245455 | 0.259091 | 0.340909 | 0.309091 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0.140065 | 307 | 14 | 42 | 21.928571 | 0.753788 | 0 | 0 | 0 | 0 | 0 | 0.071661 | 0.071661 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
61a50590a16edd82fdb9bcbd4b9dea9a577121b0 | 95 | py | Python | simsam/__init__.py | erooke/Simsam | e89e9a6c6d87ca77d764e84f8c381b52ee0e504d | [
"BSD-3-Clause"
] | 4 | 2021-05-09T10:11:48.000Z | 2021-08-02T19:53:55.000Z | simsam/__init__.py | erooke/Simsam | e89e9a6c6d87ca77d764e84f8c381b52ee0e504d | [
"BSD-3-Clause"
] | 1 | 2021-08-23T07:13:12.000Z | 2021-08-23T07:13:12.000Z | simsam/__init__.py | erooke/Simsam | e89e9a6c6d87ca77d764e84f8c381b52ee0e504d | [
"BSD-3-Clause"
] | 1 | 2021-08-22T18:05:57.000Z | 2021-08-22T18:05:57.000Z | __version__ = '0.1.0'
from .simsam import kraemer_sampling
from .simsam import naive_sampling
| 19 | 36 | 0.8 | 14 | 95 | 5 | 0.642857 | 0.285714 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.126316 | 95 | 4 | 37 | 23.75 | 0.807229 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
61bf12f445b26f5151f6b30f6e4a190333b6ea74 | 3,504 | py | Python | tests/menulist_test.py | aguilarjose11/ParachuteTimeSheetTimeMngmntSystem | 9cc6b179a114be930eb3c5abe86cd21e15a9db45 | [
"MIT"
] | 1 | 2018-12-18T15:15:21.000Z | 2018-12-18T15:15:21.000Z | tests/menulist_test.py | aguilarjose11/ParachuteTimeSheetTimeMngmntSystem | 9cc6b179a114be930eb3c5abe86cd21e15a9db45 | [
"MIT"
] | 3 | 2019-01-17T01:55:16.000Z | 2019-02-21T16:27:35.000Z | tests/menulist_test.py | aguilarjose11/ParachuteTimeSheetTimeMngmntSystem | 9cc6b179a114be930eb3c5abe86cd21e15a9db45 | [
"MIT"
] | 1 | 2019-01-16T21:51:08.000Z | 2019-01-16T21:51:08.000Z | import pytest, os, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../parachuteCore')))
from parachuteCore import menulist, menu
class Test_menulist():
@pytest.mark.parametrize("keys, expected", [
... | 32.747664 | 96 | 0.503995 | 435 | 3,504 | 3.958621 | 0.142529 | 0.097561 | 0.090592 | 0.060395 | 0.860046 | 0.839721 | 0.817073 | 0.803717 | 0.760163 | 0.67712 | 0 | 0.116162 | 0.321918 | 3,504 | 106 | 97 | 33.056604 | 0.608586 | 0 | 0 | 0.684783 | 0 | 0 | 0.048516 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 1 | 0.097826 | false | 0 | 0.021739 | 0.065217 | 0.195652 | 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 |
4ef7c3ed4544ed9c246654602062f32764fa9d2f | 20 | py | Python | fython/lex/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 41 | 2016-01-21T05:14:45.000Z | 2021-11-24T20:37:21.000Z | fython/lex/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 5 | 2016-01-21T05:36:37.000Z | 2016-08-22T19:26:51.000Z | fython/lex/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 3 | 2016-01-23T04:03:44.000Z | 2016-08-21T15:58:38.000Z | from .lex import lex | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f675844c3c7fa0c12950cf877f4571484f1336eb | 480 | py | Python | glocal_merchant_request.py | akashglocal/payglocal-python-sdk | 737ee5c7bb232bdcc43f0c13b56377d98113ad4a | [
"MIT"
] | null | null | null | glocal_merchant_request.py | akashglocal/payglocal-python-sdk | 737ee5c7bb232bdcc43f0c13b56377d98113ad4a | [
"MIT"
] | 2 | 2021-12-10T14:18:31.000Z | 2021-12-14T11:23:17.000Z | glocal_merchant_request.py | akashglocal/payglocal-python-sdk | 737ee5c7bb232bdcc43f0c13b56377d98113ad4a | [
"MIT"
] | 1 | 2021-12-10T13:48:26.000Z | 2021-12-10T13:48:26.000Z | class GlocalMerchantRequest:
def __init__(self, xgl_token_external, payload):
self.xgl_token_external = xgl_token_external
self.payload = payload
def get_payload(self):
return self.payload
def get_xgl_token_external(self):
return self.xgl_token_external
def set_xgl_tok... | 28.235294 | 57 | 0.720833 | 61 | 480 | 5.245902 | 0.196721 | 0.225 | 0.45 | 0.3125 | 0.425 | 0.3375 | 0.3375 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 480 | 16 | 58 | 30 | 0.851064 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.166667 | 0.666667 | 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 |
9c9865663c6131e2a4bb13789de42f0e2cf9476c | 99 | py | Python | src/flask/__init__.py | masterbee/mini-mead | 8d78320352eb90502b0265a466f382c1d585658a | [
"MIT"
] | null | null | null | src/flask/__init__.py | masterbee/mini-mead | 8d78320352eb90502b0265a466f382c1d585658a | [
"MIT"
] | null | null | null | src/flask/__init__.py | masterbee/mini-mead | 8d78320352eb90502b0265a466f382c1d585658a | [
"MIT"
] | null | null | null | from .threaded import ThreadedServer
def get( config ):
return ThreadedServer.create( config )
| 14.142857 | 39 | 0.767677 | 11 | 99 | 6.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 6 | 40 | 16.5 | 0.915663 | 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 |
9cf889b939fa4a90e6d7b7832e398f37aa151e0b | 2,745 | py | Python | MetaScreener/external_sw/mgltools/MGLToolsPckgs/DejaVu2/cursors.py | bio-hpc/metascreener | 6900497629f601c4b6c0c37da26de58ffa221988 | [
"Apache-2.0"
] | 8 | 2021-12-14T21:30:01.000Z | 2022-02-14T11:30:03.000Z | MetaScreener/external_sw/mgltools/MGLToolsPckgs/DejaVu2/cursors.py | bio-hpc/metascreener | 6900497629f601c4b6c0c37da26de58ffa221988 | [
"Apache-2.0"
] | null | null | null | MetaScreener/external_sw/mgltools/MGLToolsPckgs/DejaVu2/cursors.py | bio-hpc/metascreener | 6900497629f601c4b6c0c37da26de58ffa221988 | [
"Apache-2.0"
] | null | null | null | #############################################################################
#
# Author: Michel F. SANNER
#
# Copyright: M. Sanner TSRI 2010
#
#############################################################################
#
# $Header: /opt/cvs/DejaVu2/cursors.py,v 1.1.1.1 2014/06/19 19:41:03 sanner Exp $
#
# $Id: cur... | 34.746835 | 81 | 0.538069 | 272 | 2,745 | 5.408088 | 0.272059 | 0.093814 | 0.156356 | 0.224337 | 0.743712 | 0.743712 | 0.743712 | 0.743712 | 0.743712 | 0.743712 | 0 | 0.020548 | 0.202186 | 2,745 | 78 | 82 | 35.192308 | 0.651142 | 0.364299 | 0 | 0.565217 | 0 | 0 | 0.325821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.021739 | 0.043478 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9cfd624bc6dc3d85e47695b05705c9605bb051b8 | 12,073 | py | Python | src/unet/blocks.py | t-rice/PyTorch-UNet | 762b8e40d4fc66228fec8efae9dfc0a0b18e9110 | [
"MIT"
] | 9 | 2019-08-15T15:39:42.000Z | 2021-07-23T05:18:50.000Z | src/unet/blocks.py | t-rice/PyTorch-UNet | 762b8e40d4fc66228fec8efae9dfc0a0b18e9110 | [
"MIT"
] | 3 | 2020-07-29T02:36:36.000Z | 2022-02-17T11:12:18.000Z | src/unet/blocks.py | t-rice/PyTorch-UNet | 762b8e40d4fc66228fec8efae9dfc0a0b18e9110 | [
"MIT"
] | 2 | 2021-09-27T20:05:37.000Z | 2021-12-16T13:01:15.000Z | """
Class definitions for a standard U-Net Up-and Down-sampling blocks
http://arxiv.org/abs/1505.0.397
"""
import torch
import torch.nn as nn
import torch.nn.functional as F
class EncoderBlock(nn.Module):
"""
Instances the Encoder block that forms a part of a U-Net
Parameters:
in_channels (int): ... | 42.964413 | 130 | 0.514537 | 1,314 | 12,073 | 4.524353 | 0.139269 | 0.070648 | 0.059041 | 0.048108 | 0.816148 | 0.800336 | 0.776451 | 0.759294 | 0.735071 | 0.711186 | 0 | 0.017556 | 0.414976 | 12,073 | 280 | 131 | 43.117857 | 0.824154 | 0.204837 | 0 | 0.636905 | 0 | 0 | 0.001591 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 1 | 0.053571 | false | 0 | 0.017857 | 0 | 0.125 | 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 |
1422a5ffdf09b19e196823595321ab7308935649 | 21,159 | py | Python | picbackend/views/v2/provider_plan_network_views/plans_views/tools/create_update_delete.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/v2/provider_plan_network_views/plans_views/tools/create_update_delete.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | picbackend/views/v2/provider_plan_network_views/plans_views/tools/create_update_delete.py | bbcawodu/careadvisors-backend | 5ebd3c0fc189b2486cea92b2a13c0bd8a0ee3838 | [
"MIT"
] | null | null | null | """
This module defines utility functions and classes for views that handle accepted plans for provider networks contracted
with PIC
"""
import re
from picbackend.views.utils import clean_float_value_from_dict_object
from picbackend.views.utils import clean_int_value_from_dict_object
from picbackend.views.utils impor... | 39.402235 | 141 | 0.656553 | 2,330 | 21,159 | 5.408584 | 0.070386 | 0.083796 | 0.068561 | 0.060308 | 0.866688 | 0.827964 | 0.788288 | 0.763688 | 0.742422 | 0.721473 | 0 | 0.001589 | 0.286167 | 21,159 | 536 | 142 | 39.475746 | 0.83276 | 0.046363 | 0 | 0.695946 | 0 | 0 | 0.181217 | 0.131722 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02027 | false | 0 | 0.011261 | 0 | 0.045045 | 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 |
1af38f0362d85c2dfaff7ca439d94e6da0f2f424 | 36 | py | Python | eod/plugins/yolox/models/neck/__init__.py | Helicopt/EOD | b5db36f4ce267bf64d093b8174bde2c4097b4718 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | eod/tasks/det/plugins/yolox/models/neck/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | eod/tasks/det/plugins/yolox/models/neck/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | from .pafpn import YoloxPAFPN # noqa | 36 | 36 | 0.805556 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.935484 | 0.111111 | 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 |
215b55e6b36fddc0043934336c9eb9d08c71ebf4 | 122 | py | Python | neclib/parameters/parser/__init__.py | nanten2/necst-lib | 763477825c24b4307028b2d8ac1d08954512899b | [
"MIT"
] | 1 | 2022-02-04T12:12:46.000Z | 2022-02-04T12:12:46.000Z | neclib/parameters/parser/__init__.py | nanten2/neclib | 763477825c24b4307028b2d8ac1d08954512899b | [
"MIT"
] | 14 | 2022-02-09T06:32:28.000Z | 2022-03-27T10:27:20.000Z | neclib/parameters/parser/__init__.py | nanten2/neclib | 763477825c24b4307028b2d8ac1d08954512899b | [
"MIT"
] | null | null | null | # flake8: noqa
"""Parsers for NECST parameter files."""
from .obsparam_data import *
from .pointing_error_data import *
| 17.428571 | 40 | 0.745902 | 16 | 122 | 5.5 | 0.8125 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.147541 | 122 | 6 | 41 | 20.333333 | 0.836538 | 0.393443 | 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 |
21608a9ab2ba59b8800f5884f3f6f383b77bc7ed | 11,055 | py | Python | src/main/python/tensorframes/core_test.py | ai2008/- | 3b299d69ab12f1ea84d89484e0d89a321ac20b97 | [
"Apache-2.0"
] | 789 | 2016-06-27T11:14:49.000Z | 2021-10-31T11:15:35.000Z | src/main/python/tensorframes/core_test.py | ai2008/- | 3b299d69ab12f1ea84d89484e0d89a321ac20b97 | [
"Apache-2.0"
] | 117 | 2016-06-24T22:55:46.000Z | 2022-02-09T23:38:49.000Z | src/main/python/tensorframes/core_test.py | ai2008/- | 3b299d69ab12f1ea84d89484e0d89a321ac20b97 | [
"Apache-2.0"
] | 169 | 2016-06-27T07:55:27.000Z | 2021-09-02T10:18:01.000Z |
from __future__ import print_function
from pyspark import SparkContext
from pyspark.sql import DataFrame, SQLContext
from pyspark.sql import Row
from pyspark.sql.functions import col
import tensorflow as tf
import pandas as pd
import tensorframes as tfs
from tensorframes.core import _java_api
class TestCore(object)... | 38.789474 | 77 | 0.553596 | 1,624 | 11,055 | 3.664409 | 0.077586 | 0.024366 | 0.036969 | 0.04369 | 0.831457 | 0.804235 | 0.798353 | 0.780541 | 0.77466 | 0.766594 | 0 | 0.028695 | 0.309634 | 11,055 | 284 | 78 | 38.926056 | 0.751048 | 0.154229 | 0 | 0.630542 | 0 | 0 | 0.018176 | 0 | 0 | 0 | 0 | 0 | 0.083744 | 1 | 0.108374 | false | 0 | 0.044335 | 0 | 0.157635 | 0.044335 | 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 |
216b5746faa8062eca734359c9bfd1956146b675 | 46 | py | Python | src/core/__init__.py | lokaimoma/Flask-QR-Code-Web-APP | 5789753757aa1939119a799cbc6bda023ea75bbc | [
"MIT"
] | 2 | 2022-03-05T18:54:15.000Z | 2022-03-24T12:19:22.000Z | src/core/__init__.py | lokaimoma/Flask-QR-Code-Web-APP | 5789753757aa1939119a799cbc6bda023ea75bbc | [
"MIT"
] | null | null | null | src/core/__init__.py | lokaimoma/Flask-QR-Code-Web-APP | 5789753757aa1939119a799cbc6bda023ea75bbc | [
"MIT"
] | null | null | null | # Created by Kelvin_Clark on 3/13/22, 6:24 PM
| 23 | 45 | 0.717391 | 11 | 46 | 2.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.173913 | 46 | 1 | 46 | 46 | 0.631579 | 0.934783 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcd81de62bb49b3c841b68d1fb1765984071461f | 117 | py | Python | tasks/diamond/__init__.py | shu65/sequence_alinger_evaluation | 37bbb6f199f7ee12b4dc7313f3eecc5d84f8cc51 | [
"BSD-2-Clause"
] | null | null | null | tasks/diamond/__init__.py | shu65/sequence_alinger_evaluation | 37bbb6f199f7ee12b4dc7313f3eecc5d84f8cc51 | [
"BSD-2-Clause"
] | null | null | null | tasks/diamond/__init__.py | shu65/sequence_alinger_evaluation | 37bbb6f199f7ee12b4dc7313f3eecc5d84f8cc51 | [
"BSD-2-Clause"
] | null | null | null | from tasks.diamond.main import Main
from tasks.diamond.make_db import MakeDb
from tasks.diamond.blastx import Blastx
| 29.25 | 40 | 0.846154 | 19 | 117 | 5.157895 | 0.473684 | 0.27551 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 41 | 39 | 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 | 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 |
dcf0dd05fa9ac82cf46b5c576814db3c0b69f9b3 | 31 | py | Python | cazoo_cloudwatch_events/__init__.py | Cazoo-uk/cazoo-cloudwatch-events | c3af34a0a8e533c5d659b30edd0b4b47f0b1ee52 | [
"MIT"
] | 1 | 2021-02-19T21:12:09.000Z | 2021-02-19T21:12:09.000Z | cazoo_cloudwatch_events/__init__.py | Cazoo-uk/cazoo-cloudwatch-events | c3af34a0a8e533c5d659b30edd0b4b47f0b1ee52 | [
"MIT"
] | 1 | 2021-06-02T01:50:46.000Z | 2021-06-02T01:50:46.000Z | cazoo_cloudwatch_events/__init__.py | Cazoo-uk/cazoo-cloudwatch-events | c3af34a0a8e533c5d659b30edd0b4b47f0b1ee52 | [
"MIT"
] | null | null | null | from .events import put_events
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
0d10e341564cb603383db2c9576cea09a186b6a2 | 818,722 | py | Python | data/chimera_wt_dup_overlay.py | agorelick/akt1 | 9e6452b6c84fde2594186456e108aeae21fd35ba | [
"MIT"
] | null | null | null | data/chimera_wt_dup_overlay.py | agorelick/akt1 | 9e6452b6c84fde2594186456e108aeae21fd35ba | [
"MIT"
] | null | null | null | data/chimera_wt_dup_overlay.py | agorelick/akt1 | 9e6452b6c84fde2594186456e108aeae21fd35ba | [
"MIT"
] | 1 | 2021-07-17T00:35:29.000Z | 2021-07-17T00:35:29.000Z | import cPickle, base64
try:
from SimpleSession.versions.v65 import beginRestore,\
registerAfterModelsCB, reportRestoreError, checkVersion
except ImportError:
from chimera import UserError
raise UserError('Cannot open session that was saved in a'
' newer version of Chimera; update your version')
checkVersio... | 2,738.200669 | 347,710 | 0.962279 | 15,588 | 818,722 | 50.538555 | 0.473056 | 0.017256 | 0.025857 | 0.027088 | 0.087642 | 0.086592 | 0.047302 | 0.046748 | 0.046418 | 0.046355 | 0 | 0.120129 | 0.009683 | 818,722 | 298 | 347,711 | 2,747.389262 | 0.851505 | 0.000473 | 0 | 0.166667 | 0 | 0.015152 | 0.95934 | 0.917359 | 0 | 1 | 0 | 0 | 0 | 1 | 0.034091 | false | 0 | 0.094697 | 0 | 0.128788 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d4a4d23990762708c1b47f76b123e034a9c5386 | 66 | py | Python | Lib/test/test_compiler/testcorpus/40_import.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/40_import.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/40_import.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | import foo
import foo2, bar
import foo3 as baz
import foo.bar.baz
| 13.2 | 18 | 0.787879 | 13 | 66 | 4 | 0.538462 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.166667 | 66 | 4 | 19 | 16.5 | 0.909091 | 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 |
371c6733ae58095e3db81cec55ffbe113c8ca9f9 | 134 | py | Python | src/wrappers/modules/vae.py | ElementAI/beyond-trivial-explanations | c517d7bdbab68b6a26f74cee4d15e948b3b47238 | [
"Apache-2.0"
] | 3 | 2021-08-15T00:51:37.000Z | 2022-01-13T15:21:16.000Z | src/wrappers/modules/vae.py | ElementAI/beyond-trivial-explanations | c517d7bdbab68b6a26f74cee4d15e948b3b47238 | [
"Apache-2.0"
] | null | null | null | src/wrappers/modules/vae.py | ElementAI/beyond-trivial-explanations | c517d7bdbab68b6a26f74cee4d15e948b3b47238 | [
"Apache-2.0"
] | null | null | null | import torch
def get_kl_loss(mu, logvar, prior_mu=0):
return 0.5 * (-1 - logvar + mu ** 2 + torch.exp(logvar)).sum() / mu.size(0) | 33.5 | 79 | 0.626866 | 25 | 134 | 3.24 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.179104 | 134 | 4 | 79 | 33.5 | 0.681818 | 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 |
3725444bada3c3457907bd9164393a853ab1d43b | 170 | py | Python | examples/setuptools-rust-starter/setup.py | mrl5/pyo3 | edf03c12a7fb5f45b4dec71745e31498d43dfad8 | [
"Apache-2.0"
] | null | null | null | examples/setuptools-rust-starter/setup.py | mrl5/pyo3 | edf03c12a7fb5f45b4dec71745e31498d43dfad8 | [
"Apache-2.0"
] | 1 | 2021-10-14T00:25:33.000Z | 2021-10-14T00:25:33.000Z | examples/setuptools-rust-starter/setup.py | mrl5/pyo3 | edf03c12a7fb5f45b4dec71745e31498d43dfad8 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
from setuptools_rust import RustExtension
setup(
rust_extensions=[RustExtension("setuptools_rust_starter._setuptools_rust_starter")],
)
| 24.285714 | 88 | 0.841176 | 19 | 170 | 7.157895 | 0.421053 | 0.308824 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 170 | 6 | 89 | 28.333333 | 0.883117 | 0 | 0 | 0 | 0 | 0 | 0.282353 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
2e9b23892bda539f3b4cc418855049945f72f65c | 73 | py | Python | probtorch/objectives/__init__.py | alicanb/probtorch | bab762abbc94f7e9fb1391956ba353e7845fdeca | [
"Apache-2.0"
] | 876 | 2017-11-30T14:19:11.000Z | 2022-03-30T08:06:56.000Z | probtorch/objectives/__init__.py | alicanb/probtorch | bab762abbc94f7e9fb1391956ba353e7845fdeca | [
"Apache-2.0"
] | 29 | 2017-11-30T08:15:44.000Z | 2022-01-24T17:24:29.000Z | probtorch/objectives/__init__.py | alicanb/probtorch | bab762abbc94f7e9fb1391956ba353e7845fdeca | [
"Apache-2.0"
] | 75 | 2017-12-04T01:26:11.000Z | 2022-03-25T00:15:59.000Z | from . import montecarlo
from . import importance
from . import marginal
| 18.25 | 24 | 0.794521 | 9 | 73 | 6.444444 | 0.555556 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 25 | 24.333333 | 0.95082 | 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 |
2ee5d213486fbac6801b600116ec885cdcd52087 | 121 | py | Python | djangoapp/website/views.py | jaysridhar/fuzzy-spoon | 43ff6c424c6fe8e0d46cbb1555ada57957bf0cb4 | [
"MIT"
] | null | null | null | djangoapp/website/views.py | jaysridhar/fuzzy-spoon | 43ff6c424c6fe8e0d46cbb1555ada57957bf0cb4 | [
"MIT"
] | null | null | null | djangoapp/website/views.py | jaysridhar/fuzzy-spoon | 43ff6c424c6fe8e0d46cbb1555ada57957bf0cb4 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'home.html', {'user': request.user})
| 24.2 | 63 | 0.727273 | 16 | 121 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 4 | 64 | 30.25 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 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 |
2ef78f99b5fa86d3830bc04d72717eb60ba6259d | 980 | py | Python | graphene_django/utils/tests/test_testing.py | mebel-akvareli/graphene-django | 23008ad22094f3e7b8fb26b73811ce49b20cca25 | [
"MIT"
] | 4,038 | 2016-09-18T01:45:22.000Z | 2022-03-31T01:06:57.000Z | graphene_django/utils/tests/test_testing.py | mebel-akvareli/graphene-django | 23008ad22094f3e7b8fb26b73811ce49b20cca25 | [
"MIT"
] | 1,104 | 2016-09-19T20:10:22.000Z | 2022-03-30T17:37:46.000Z | graphene_django/utils/tests/test_testing.py | mebel-akvareli/graphene-django | 23008ad22094f3e7b8fb26b73811ce49b20cca25 | [
"MIT"
] | 791 | 2016-09-18T13:48:11.000Z | 2022-03-29T08:32:06.000Z | import pytest
from .. import GraphQLTestCase
from ...tests.test_types import with_local_registry
from django.test import Client
@with_local_registry
def test_graphql_test_case_deprecated_client_getter():
"""
`GraphQLTestCase._client`' getter should raise pending deprecation warning.
"""
class TestCl... | 21.304348 | 79 | 0.690816 | 103 | 980 | 6.291262 | 0.349515 | 0.041667 | 0.078704 | 0.070988 | 0.737654 | 0.737654 | 0.737654 | 0.737654 | 0.737654 | 0.737654 | 0 | 0 | 0.22551 | 980 | 45 | 80 | 21.777778 | 0.853755 | 0.154082 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.076923 | 0.153846 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2c066460b180d0f8b8e4b3781180093269acd3db | 8,935 | py | Python | grplot/features/text/check_text.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | grplot/features/text/check_text.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | grplot/features/text/check_text.py | ghiffaryr/grplot | 43ea08febac4ffecbce0a6a3d679850f5013aa28 | [
"BSD-3-Clause"
] | null | null | null | from grplot.features.text.text_type import text_type
def check_text(plot, df, x, y, ax, ci, hue, multiple, text, xtext, ytext, sep, xsep, ysep, add, xadd, yadd, text_fontsize, xaxislabel, yaxislabel, axes):
if plot in ['pieplot', 'treemapsplot', 'packedbubblesplot']:
if x is not None:
if xtext... | 83.504673 | 211 | 0.59418 | 1,263 | 8,935 | 4.124307 | 0.033254 | 0.149741 | 0.055289 | 0.098291 | 0.954502 | 0.952966 | 0.95143 | 0.95143 | 0.95143 | 0.95143 | 0 | 0 | 0.286961 | 8,935 | 107 | 212 | 83.504673 | 0.817611 | 0 | 0 | 0.619048 | 0 | 0 | 0.005819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009524 | false | 0.038095 | 0.009524 | 0 | 0.028571 | 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 |
2c0e424e15c40de0a509a476a8d73c72fc4da4fb | 48 | py | Python | scenario_four/python/main.py | tpboudreau/protoc_python_import_examples | d2ba00187a157dd65f31a07ab12656f42ad68329 | [
"MIT"
] | 1 | 2020-07-20T19:00:04.000Z | 2020-07-20T19:00:04.000Z | scenario_four/python/main.py | tpboudreau/protoc_python_import_examples | d2ba00187a157dd65f31a07ab12656f42ad68329 | [
"MIT"
] | null | null | null | scenario_four/python/main.py | tpboudreau/protoc_python_import_examples | d2ba00187a157dd65f31a07ab12656f42ad68329 | [
"MIT"
] | null | null | null |
import zeta.m_pb2
import sys
print(sys.path)
| 6.857143 | 17 | 0.75 | 9 | 48 | 3.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.166667 | 48 | 6 | 18 | 8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
2c2638e12681b2f65abe23200d2acc808681eb04 | 24 | py | Python | iamzero/instrumentation/__init__.py | common-fate/iamzero-python | 1f40bdc50d530e1b5d8cf583e00602ce615058e5 | [
"Apache-2.0"
] | 1 | 2021-05-24T13:08:13.000Z | 2021-05-24T13:08:13.000Z | iamzero/instrumentation/__init__.py | common-fate/iamzero-python | 1f40bdc50d530e1b5d8cf583e00602ce615058e5 | [
"Apache-2.0"
] | 2 | 2021-05-18T08:58:30.000Z | 2021-05-18T10:04:51.000Z | iamzero/instrumentation/__init__.py | common-fate/iamzero-python | 1f40bdc50d530e1b5d8cf583e00602ce615058e5 | [
"Apache-2.0"
] | 1 | 2021-06-01T22:37:14.000Z | 2021-06-01T22:37:14.000Z | from .botocore import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
2c2a053ac6fc785743ba11e72569b0b5d6266075 | 156 | py | Python | tests/test_packages.py | sigopt/requests | bf4a7f69412ece6f0acdb5894b3aa840e49d72a8 | [
"Apache-2.0"
] | null | null | null | tests/test_packages.py | sigopt/requests | bf4a7f69412ece6f0acdb5894b3aa840e49d72a8 | [
"Apache-2.0"
] | 1 | 2018-11-08T01:01:01.000Z | 2018-11-08T01:01:01.000Z | tests/test_packages.py | sigopt/requests | bf4a7f69412ece6f0acdb5894b3aa840e49d72a8 | [
"Apache-2.0"
] | null | null | null | import requests
def test_can_access_urllib3_attribute():
requests.packages.urllib3
def test_can_access_idna_attribute():
requests.packages.idna
| 15.6 | 40 | 0.807692 | 20 | 156 | 5.9 | 0.5 | 0.118644 | 0.169492 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.128205 | 156 | 9 | 41 | 17.333333 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2c2be237785cb1b2e572ab8416c387c04137545e | 10,010 | py | Python | fostool/model/gconv.py | meng-zha/FOST | 2fc32ded470cc465a64f46a2c06c2a081e02f3e5 | [
"MIT"
] | 181 | 2021-11-12T09:17:54.000Z | 2022-03-22T05:53:35.000Z | fostool/model/gconv.py | meng-zha/FOST | 2fc32ded470cc465a64f46a2c06c2a081e02f3e5 | [
"MIT"
] | 12 | 2021-11-12T16:50:47.000Z | 2022-03-07T09:22:16.000Z | fostool/model/gconv.py | meng-zha/FOST | 2fc32ded470cc465a64f46a2c06c2a081e02f3e5 | [
"MIT"
] | 41 | 2021-11-13T14:33:49.000Z | 2022-03-11T04:19:58.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
from __future__ import absolute_import, division, print_function
import torch
import numpy as np
import torch.nn as nn
import torch.nn.functional as F
import torch_geometric.nn as PyG
from collections import OrderedDict
class GATConv(PyG.Messa... | 31.878981 | 116 | 0.582318 | 1,215 | 10,010 | 4.618107 | 0.131687 | 0.076457 | 0.044021 | 0.04509 | 0.849759 | 0.796293 | 0.796293 | 0.7856 | 0.774194 | 0.729816 | 0 | 0.004872 | 0.323377 | 10,010 | 313 | 117 | 31.980831 | 0.823564 | 0.313986 | 0 | 0.644628 | 0 | 0 | 0.021841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082645 | false | 0.016529 | 0.057851 | 0 | 0.223141 | 0.008264 | 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 |
25aea55823e70bda7ae44c1d870bf3926473b765 | 66 | py | Python | test/test_main.py | ashwinmr/py_example | 5a09c30d6361304a40ac1ff8e66ec9da6a8f6caa | [
"MIT"
] | null | null | null | test/test_main.py | ashwinmr/py_example | 5a09c30d6361304a40ac1ff8e66ec9da6a8f6caa | [
"MIT"
] | null | null | null | test/test_main.py | ashwinmr/py_example | 5a09c30d6361304a40ac1ff8e66ec9da6a8f6caa | [
"MIT"
] | null | null | null | from pyex import pyex
def test_sqr():
assert pyex.sqr(2) == 4 | 16.5 | 27 | 0.666667 | 12 | 66 | 3.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.212121 | 66 | 4 | 27 | 16.5 | 0.788462 | 0 | 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 |
25b11ea1e84048d76f0e1635e9f73484360897d9 | 37 | py | Python | ref_utils/__init__.py | IndigoPurple/EFENet | e88234486f19534274a0a20badc251788ac67e31 | [
"MIT"
] | 11 | 2021-10-18T02:14:37.000Z | 2022-02-10T13:17:07.000Z | ref_utils/__init__.py | IndigoPurple/EFENet | e88234486f19534274a0a20badc251788ac67e31 | [
"MIT"
] | null | null | null | ref_utils/__init__.py | IndigoPurple/EFENet | e88234486f19534274a0a20badc251788ac67e31 | [
"MIT"
] | null | null | null | from .DataGenerator_pytorch import *
| 18.5 | 36 | 0.837838 | 4 | 37 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25bbe93f9d89a8e62795a5e8d23a40d84a8749a4 | 138 | py | Python | tournament/tests.py | AfricaChess/lichesshub | 833138d96cbf00c60719ae8f25ee882f2d4ba1ff | [
"MIT"
] | 2 | 2017-10-28T11:21:51.000Z | 2018-01-10T19:39:03.000Z | tournament/tests.py | AfricaChess/lichesshub | 833138d96cbf00c60719ae8f25ee882f2d4ba1ff | [
"MIT"
] | 5 | 2017-11-29T12:33:13.000Z | 2021-06-10T19:00:27.000Z | tournament/tests.py | AfricaChess/lichesshub | 833138d96cbf00c60719ae8f25ee882f2d4ba1ff | [
"MIT"
] | null | null | null | import pytest
def test_late_registration():
'''
If you register late you will be given a bye (1 pt for previous rounds)
'''
| 17.25 | 75 | 0.666667 | 21 | 138 | 4.285714 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.253623 | 138 | 7 | 76 | 19.714286 | 0.864078 | 0.514493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25e0fcbba8383fba1d628f1dfaa0ce12872d29ff | 90 | py | Python | lichee/module/torch/loss/__init__.py | Tencent/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 91 | 2021-10-30T02:25:05.000Z | 2022-03-28T06:51:52.000Z | lichee/module/torch/loss/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 1 | 2021-12-17T09:30:25.000Z | 2022-03-05T12:30:13.000Z | lichee/module/torch/loss/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 17 | 2021-11-04T07:50:23.000Z | 2022-03-24T14:24:11.000Z | # -*- coding: utf-8 -*-
"""
模型loss torch 实现
"""
from . import loss
from . import det_loss
| 12.857143 | 23 | 0.611111 | 13 | 90 | 4.153846 | 0.769231 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.2 | 90 | 6 | 24 | 15 | 0.736111 | 0.422222 | 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 |
d30b19724afeae761aac5c7a7ca8a44f26ec0315 | 134 | py | Python | lightmodels/tapered_compression/__init__.py | cshyundev/LW-PSMNet | d80d3b12c55ba30c781a7578a4728a2cd6321866 | [
"MIT"
] | 1 | 2022-01-22T14:00:27.000Z | 2022-01-22T14:00:27.000Z | lightmodels/tapered_compression/__init__.py | cshyundev/LW-PSMNet | d80d3b12c55ba30c781a7578a4728a2cd6321866 | [
"MIT"
] | null | null | null | lightmodels/tapered_compression/__init__.py | cshyundev/LW-PSMNet | d80d3b12c55ba30c781a7578a4728a2cd6321866 | [
"MIT"
] | null | null | null | from .basic import PSMNet as basic
from .stackhourglass import PSMNet as tapered_compression
# 2D CNN은 더 압축하고 3D CNN은 덜 압축한 경량화 실험 모델
| 33.5 | 57 | 0.798507 | 24 | 134 | 4.416667 | 0.75 | 0.226415 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.179104 | 134 | 3 | 58 | 44.666667 | 0.945455 | 0.283582 | 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 |
d34b024fcbeed1cb51cdb3541a39c65f1c4d4fb3 | 207 | py | Python | data/__init__.py | dutraa/alpaca1 | 103eb3056ae6a561a75eca79b345b41c9e68e97c | [
"MIT"
] | null | null | null | data/__init__.py | dutraa/alpaca1 | 103eb3056ae6a561a75eca79b345b41c9e68e97c | [
"MIT"
] | null | null | null | data/__init__.py | dutraa/alpaca1 | 103eb3056ae6a561a75eca79b345b41c9e68e97c | [
"MIT"
] | 1 | 2022-03-22T19:18:06.000Z | 2022-03-22T19:18:06.000Z | from .alpaca_data import Account, Asset, Calendar, Clock, Order, Position
from .earnings_data import EarningsDate
from .filter import Filter
from .polygon_data import PolygonSymbol
from .data import Data | 41.4 | 74 | 0.816425 | 28 | 207 | 5.928571 | 0.535714 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 207 | 5 | 75 | 41.4 | 0.927374 | 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 |
d35a7ab3a374200d74c616482652ff827ee3df06 | 136 | py | Python | efax/_src/distributions/cmvn/__init__.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 34 | 2020-03-24T06:21:08.000Z | 2022-03-19T04:48:17.000Z | efax/_src/distributions/cmvn/__init__.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 8 | 2020-03-30T11:27:48.000Z | 2021-07-05T06:10:06.000Z | efax/_src/distributions/cmvn/__init__.py | NeilGirdhar/efax | 3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f | [
"MIT"
] | 1 | 2022-03-17T01:34:07.000Z | 2022-03-17T01:34:07.000Z | # from .arbitrary import *
# from .diagonal import *
# from .isotropic import *
from .circularly_symmetric import *
from .unit import *
| 22.666667 | 35 | 0.735294 | 16 | 136 | 6.1875 | 0.5 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169118 | 136 | 5 | 36 | 27.2 | 0.876106 | 0.536765 | 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 |
d3648d7062914c72eb703681f9a9eff4247ebaf1 | 70 | py | Python | src/core/classes/players/__init__.py | javgomzar/chess | e40f784af4b8fb11e29c9c60b75ebd5800c7f643 | [
"MIT"
] | null | null | null | src/core/classes/players/__init__.py | javgomzar/chess | e40f784af4b8fb11e29c9c60b75ebd5800c7f643 | [
"MIT"
] | null | null | null | src/core/classes/players/__init__.py | javgomzar/chess | e40f784af4b8fb11e29c9c60b75ebd5800c7f643 | [
"MIT"
] | null | null | null | from .player import Player
from .terminal_player import TerminalPlayer | 35 | 43 | 0.871429 | 9 | 70 | 6.666667 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 43 | 35 | 0.952381 | 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 |
6cbd7ed2f1e3e05360eb734691a711d5e029a613 | 415 | py | Python | 3-Encryption/Person.py | AdrianAndersen/TDT4113-Computer-Science-Programming-Project | 7fa0043c67d27f2abc27f7e401ce19927df35eb4 | [
"MIT"
] | null | null | null | 3-Encryption/Person.py | AdrianAndersen/TDT4113-Computer-Science-Programming-Project | 7fa0043c67d27f2abc27f7e401ce19927df35eb4 | [
"MIT"
] | 3 | 2021-09-08T03:36:42.000Z | 2022-03-12T00:59:54.000Z | 3-Encryption/Person.py | AdrianAndersen/TDT4113-Computer-Science-Programming-Project | 7fa0043c67d27f2abc27f7e401ce19927df35eb4 | [
"MIT"
] | null | null | null | class Person:
__key = None
__cipher_algorithm = None
def get_key(self):
return self.__key
def set_key(self, new_key):
self.__key = new_key
def operate_cipher(self, encrypted_text):
pass
def set_cipher_algorithm(self, cipher_algorithm):
self.__cipher_algorithm ... | 21.842105 | 53 | 0.681928 | 52 | 415 | 4.923077 | 0.307692 | 0.410156 | 0.222656 | 0.195313 | 0.207031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253012 | 415 | 18 | 54 | 23.055556 | 0.825806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.076923 | 0 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
9f115835a4de62cbf796ed4e8d4aa48d32b3c37f | 3,681 | py | Python | tools/font.py | shenchi/ascii_fps | 4f370d3c2e6314bf212b6c09fe84795d179c02f6 | [
"MIT"
] | null | null | null | tools/font.py | shenchi/ascii_fps | 4f370d3c2e6314bf212b6c09fe84795d179c02f6 | [
"MIT"
] | null | null | null | tools/font.py | shenchi/ascii_fps | 4f370d3c2e6314bf212b6c09fe84795d179c02f6 | [
"MIT"
] | null | null | null | import struct
# these data in 'original' come from:
# http://opengameart.org/content/8x8-ascii-bitmap-font-with-c-source
original = [
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0000,
0x7E7E7E7E7E7E0... | 19.47619 | 68 | 0.738386 | 329 | 3,681 | 8.258359 | 0.492401 | 0.384247 | 0.536621 | 0.662495 | 0.314685 | 0.297019 | 0.297019 | 0.297019 | 0.295179 | 0.295179 | 0 | 0.566068 | 0.152948 | 3,681 | 188 | 69 | 19.579787 | 0.305324 | 0.053518 | 0 | 0.311765 | 0 | 0 | 0.024755 | 0 | 0 | 0 | 0.615717 | 0 | 0 | 1 | 0.005882 | false | 0 | 0.005882 | 0.005882 | 0.017647 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f1389cdc4c95969c9b25e3a564cac39c3e6ce42 | 88 | py | Python | pysaintcoinach/xiv/collections/__init__.py | icykoneko/saintcoinach-py | 66898385e1198203a7ec9da83787427bf6fe5c83 | [
"MIT"
] | 7 | 2019-11-20T17:24:49.000Z | 2022-03-29T04:17:53.000Z | pysaintcoinach/xiv/collections/__init__.py | icykoneko/saintcoinach-py | 66898385e1198203a7ec9da83787427bf6fe5c83 | [
"MIT"
] | 7 | 2019-04-08T07:36:46.000Z | 2022-01-17T22:51:54.000Z | pysaintcoinach/xiv/collections/__init__.py | icykoneko/saintcoinach-py | 66898385e1198203a7ec9da83787427bf6fe5c83 | [
"MIT"
] | 3 | 2019-04-08T08:24:22.000Z | 2021-06-27T22:19:15.000Z | from .shop_collection import ShopCollection
from .enpc_collection import ENpcCollection
| 29.333333 | 43 | 0.886364 | 10 | 88 | 7.6 | 0.7 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 44 | 44 | 0.95 | 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 |
9f82173ec624d55735f74447d14b7410898c0e19 | 248 | py | Python | run_benchmarks_geopandas.py | geofileops/geobenchmark | 573425fb9b3de2e4477b8a4c404092bbc9cd0d85 | [
"BSD-3-Clause"
] | null | null | null | run_benchmarks_geopandas.py | geofileops/geobenchmark | 573425fb9b3de2e4477b8a4c404092bbc9cd0d85 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T18:12:23.000Z | 2022-03-31T18:12:23.000Z | run_benchmarks_geopandas.py | geofileops/geobenchmark | 573425fb9b3de2e4477b8a4c404092bbc9cd0d85 | [
"BSD-3-Clause"
] | null | null | null |
import benchmarker
if __name__ == "__main__":
benchmarker.run_benchmarks(modules=["benchmarks_geopandas"])
# Only run specific benchmark function(s)
#benchmarker.run_benchmarks(modules=["benchmarks_geopandas"], functions=["buffer"])
| 27.555556 | 87 | 0.754032 | 25 | 248 | 7 | 0.64 | 0.16 | 0.274286 | 0.354286 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 248 | 8 | 88 | 31 | 0.802752 | 0.487903 | 0 | 0 | 0 | 0 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9fad56091007dff0404b5bc6df566f42c1302ad0 | 12,768 | py | Python | Components/piece.py | Bantchee/Chess | 6c898c03cd1dfef82b9e7666026aaa7bc914800d | [
"MIT"
] | null | null | null | Components/piece.py | Bantchee/Chess | 6c898c03cd1dfef82b9e7666026aaa7bc914800d | [
"MIT"
] | null | null | null | Components/piece.py | Bantchee/Chess | 6c898c03cd1dfef82b9e7666026aaa7bc914800d | [
"MIT"
] | null | null | null | from .position import Position
class Piece(object):
def __init__(self, color, name):
self.color = color
self.name = name
self.moves = []
def __str__(self):
if self.name == 'knight':
return str(self.color[0] + self.name[1])
return str(self.color[0] + self.nam... | 40.66242 | 106 | 0.524044 | 1,530 | 12,768 | 4.285621 | 0.063399 | 0.046515 | 0.074424 | 0.085405 | 0.801739 | 0.770779 | 0.765594 | 0.757054 | 0.720909 | 0.681257 | 0 | 0.02415 | 0.348136 | 12,768 | 314 | 107 | 40.66242 | 0.763667 | 0.031093 | 0 | 0.491597 | 0 | 0 | 0.003651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096639 | false | 0 | 0.004202 | 0.02521 | 0.214286 | 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 |
9fbe94548bd9dc047ba92aa2890ee4f881fda40f | 101 | py | Python | terrafirma/store/views.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | terrafirma/store/views.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | terrafirma/store/views.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django import views
class StoreView(views.View):
pass
| 14.428571 | 35 | 0.782178 | 14 | 101 | 5.642857 | 0.714286 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 101 | 6 | 36 | 16.833333 | 0.940476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
9fcb9c8c319977d7913b995576c9c2516ee2eb63 | 5,180 | py | Python | setup.py | pykit3/k3etcd | 6c2cb48edf02fece8d7540c25a473b9c33505a61 | [
"MIT"
] | null | null | null | setup.py | pykit3/k3etcd | 6c2cb48edf02fece8d7540c25a473b9c33505a61 | [
"MIT"
] | 1 | 2022-03-23T06:58:17.000Z | 2022-03-23T06:58:17.000Z | setup.py | pykit3/k3etcd | 6c2cb48edf02fece8d7540c25a473b9c33505a61 | [
"MIT"
] | 1 | 2021-08-24T03:06:42.000Z | 2021-08-24T03:06:42.000Z | # DO NOT EDIT!!! built with `python _building/build_setup.py`
import setuptools
setuptools.setup(
name="k3etcd",
packages=["k3etcd"],
version="0.1.0",
license='MIT',
description='A python client for Etcd https://github.com/coreos/etcd This module will only work correctly with the etcd server version... | 215.833333 | 4,293 | 0.562162 | 680 | 5,180 | 4.252941 | 0.348529 | 0.029046 | 0.017635 | 0.009682 | 0.295989 | 0.253112 | 0.233748 | 0.185339 | 0.153527 | 0.153527 | 0 | 0.115523 | 0.246332 | 5,180 | 23 | 4,294 | 225.217391 | 0.625256 | 0.01139 | 0 | 0 | 1 | 0.333333 | 0.873413 | 0.116038 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.095238 | 0 | 0.095238 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c7d303292cb4dc388fd93cc5ea53a0ab7056f00 | 8,360 | py | Python | healthcareai/tests/test_dataframe_filters.py | iEvidently/healthcareai-py | 8aaf1f7f758ae7797859dc21eae1c38686931e4f | [
"MIT"
] | 263 | 2017-05-04T17:00:33.000Z | 2022-03-31T20:57:27.000Z | healthcareai/tests/test_dataframe_filters.py | iEvidently/healthcareai-py | 8aaf1f7f758ae7797859dc21eae1c38686931e4f | [
"MIT"
] | 290 | 2017-05-03T05:04:35.000Z | 2020-08-14T20:18:23.000Z | healthcareai/tests/test_dataframe_filters.py | iEvidently/healthcareai-py | 8aaf1f7f758ae7797859dc21eae1c38686931e4f | [
"MIT"
] | 168 | 2017-05-18T19:44:20.000Z | 2022-03-16T19:55:51.000Z | import pandas as pd
import numpy as np
import unittest
import healthcareai.common.filters as filters
from healthcareai.common.healthcareai_error import HealthcareAIError
class TestIsDataframe(unittest.TestCase):
def test_is_dataframe(self):
df = pd.DataFrame({
'category': ['a', 'b', 'c'],
... | 31.908397 | 107 | 0.541148 | 909 | 8,360 | 4.822882 | 0.133113 | 0.075274 | 0.013686 | 0.058166 | 0.776688 | 0.737911 | 0.73198 | 0.73198 | 0.731752 | 0.69708 | 0 | 0.024365 | 0.293062 | 8,360 | 261 | 108 | 32.030651 | 0.717428 | 0.002512 | 0 | 0.711443 | 0 | 0 | 0.067051 | 0 | 0 | 0 | 0 | 0.003831 | 0.149254 | 1 | 0.104478 | false | 0.004975 | 0.024876 | 0 | 0.159204 | 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 |
e27a1c34e5312e9a612066f3282d708ba85d5ebc | 41 | py | Python | drl_atari/models/__init__.py | sebastianbujwid/drl-atari | ef2471e3e5fe339471b17ff5f08fcee626b8e464 | [
"MIT"
] | null | null | null | drl_atari/models/__init__.py | sebastianbujwid/drl-atari | ef2471e3e5fe339471b17ff5f08fcee626b8e464 | [
"MIT"
] | null | null | null | drl_atari/models/__init__.py | sebastianbujwid/drl-atari | ef2471e3e5fe339471b17ff5f08fcee626b8e464 | [
"MIT"
] | null | null | null | from .a2c import A2C
from .dqn import DQN | 20.5 | 20 | 0.780488 | 8 | 41 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.170732 | 41 | 2 | 21 | 20.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e27a90857e6dbc51e76f6ce75f96bb0a659ceb89 | 79 | py | Python | tasks/hello-world/test_solution.py | mostly-harmless-ai/challenges | 45e750d93a114faa43609dc7174e73254f5e041c | [
"MIT"
] | 11 | 2021-06-30T22:46:14.000Z | 2022-01-08T04:24:59.000Z | tasks/hello-world/test_solution.py | Hardik357/challenges | 901c8914cc4bddc3c910a3a4f122e66f43217ad7 | [
"MIT"
] | 2 | 2021-07-06T13:48:06.000Z | 2021-07-08T12:33:53.000Z | tasks/hello-world/test_solution.py | Hardik357/challenges | 901c8914cc4bddc3c910a3a4f122e66f43217ad7 | [
"MIT"
] | 2 | 2021-07-01T03:18:20.000Z | 2021-07-08T07:36:58.000Z | from hello_world import answer
def test_solution():
assert answer() == 42
| 15.8 | 30 | 0.721519 | 11 | 79 | 5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.189873 | 79 | 4 | 31 | 19.75 | 0.828125 | 0 | 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 |
e287fe381f957f1e2d95dd8e72b62826d64cc61a | 103 | py | Python | holobot/extensions/moderation/exceptions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/extensions/moderation/exceptions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/extensions/moderation/exceptions/__init__.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .no_permission_error import NoPermissionError
from .role_not_found_error import RoleNotFoundError
| 34.333333 | 51 | 0.902913 | 13 | 103 | 6.769231 | 0.769231 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 2 | 52 | 51.5 | 0.926316 | 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 |
e2995a5c07a773a755c51bce2a8c9db3ec1f13f7 | 68 | py | Python | src/reader/__init__.py | misssoft/Fan.Python | c9ffffefa44bc9a67dbf39089acc93b14c1d761c | [
"MIT"
] | null | null | null | src/reader/__init__.py | misssoft/Fan.Python | c9ffffefa44bc9a67dbf39089acc93b14c1d761c | [
"MIT"
] | null | null | null | src/reader/__init__.py | misssoft/Fan.Python | c9ffffefa44bc9a67dbf39089acc93b14c1d761c | [
"MIT"
] | null | null | null | print('reader is being imported!')
from reader.reader import Reader | 22.666667 | 34 | 0.794118 | 10 | 68 | 5.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 3 | 35 | 22.666667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.362319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
2cc972be6b31e9e9f838c3dc53b739470acccee3 | 69 | py | Python | jh_server/apps/jidou_hikki/models/__init__.py | agent-whisper/Jidou-Hikki-Django | aad3e2356f5dff91df3420359972f17c0784af53 | [
"MIT"
] | null | null | null | jh_server/apps/jidou_hikki/models/__init__.py | agent-whisper/Jidou-Hikki-Django | aad3e2356f5dff91df3420359972f17c0784af53 | [
"MIT"
] | null | null | null | jh_server/apps/jidou_hikki/models/__init__.py | agent-whisper/Jidou-Hikki-Django | aad3e2356f5dff91df3420359972f17c0784af53 | [
"MIT"
] | null | null | null | from .user import *
from .vocabulary import *
from .notebook import * | 23 | 25 | 0.753623 | 9 | 69 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 3 | 26 | 23 | 0.896552 | 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 |
e2f6a5ad6294348e7d99446a68fc4337f7fcdaed | 38 | py | Python | src/model/__init__.py | menDDang/CycleGan-tf_2_1 | 073c5ebce92ba2cfa76804e43fdf6b4b5d4b279b | [
"Apache-2.0"
] | null | null | null | src/model/__init__.py | menDDang/CycleGan-tf_2_1 | 073c5ebce92ba2cfa76804e43fdf6b4b5d4b279b | [
"Apache-2.0"
] | null | null | null | src/model/__init__.py | menDDang/CycleGan-tf_2_1 | 073c5ebce92ba2cfa76804e43fdf6b4b5d4b279b | [
"Apache-2.0"
] | null | null | null | from .generator import ResnetGenerator | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3915a2f67c24754b165d5f29c38617a5a7d88ef9 | 26 | py | Python | dailycovid/__init__.py | Fitzy1293/daily-covid | b85daa17391fccd2f6ca0b348bbbeadd57290992 | [
"MIT"
] | 5 | 2020-12-06T17:18:11.000Z | 2020-12-17T00:14:24.000Z | dailycovid/__init__.py | Fitzy1293/daily-covid | b85daa17391fccd2f6ca0b348bbbeadd57290992 | [
"MIT"
] | null | null | null | dailycovid/__init__.py | Fitzy1293/daily-covid | b85daa17391fccd2f6ca0b348bbbeadd57290992 | [
"MIT"
] | 1 | 2020-12-08T15:40:19.000Z | 2020-12-08T15:40:19.000Z | from .dailycovid import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3918b78d14e40ac4175a621c8a6a1b8ba580ee5f | 73 | py | Python | kivymd/uix/bottomnavigation/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/bottomnavigation/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/bottomnavigation/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | from .bottomnavigation import MDBottomNavigation, MDBottomNavigationItem
| 36.5 | 72 | 0.90411 | 5 | 73 | 13.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 73 | 1 | 73 | 73 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3938658ac03cf0ed34b1a62a215891ed28f6d665 | 3,453 | py | Python | pyEX/studies/technicals/volume.py | sourcery-ai-bot/pyEX | 21be6b4f72e6f8593df40f6d3632b97ea60c9532 | [
"Apache-2.0"
] | 107 | 2021-03-05T05:18:34.000Z | 2022-03-30T22:25:13.000Z | pyEX/studies/technicals/volume.py | sourcery-ai-bot/pyEX | 21be6b4f72e6f8593df40f6d3632b97ea60c9532 | [
"Apache-2.0"
] | 112 | 2021-03-05T03:41:21.000Z | 2021-12-01T03:24:22.000Z | pyEX/studies/technicals/volume.py | sourcery-ai-bot/pyEX | 21be6b4f72e6f8593df40f6d3632b97ea60c9532 | [
"Apache-2.0"
] | 37 | 2021-03-04T18:32:09.000Z | 2022-03-24T02:20:12.000Z | # *****************************************************************************
#
# Copyright (c) 2020, the pyEX authors.
#
# This file is part of the pyEX library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
import pandas as pd
import talib as t
def ... | 29.016807 | 89 | 0.594266 | 411 | 3,453 | 4.992701 | 0.199513 | 0.031676 | 0.068226 | 0.082846 | 0.806043 | 0.806043 | 0.806043 | 0.806043 | 0.758285 | 0.736842 | 0 | 0.004817 | 0.278598 | 3,453 | 118 | 90 | 29.262712 | 0.818948 | 0.462786 | 0 | 0.612903 | 0 | 0 | 0.036773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0 | 0.032258 | 0 | 0.129032 | 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 |
3948542936609bace22cf2942161a4a1a99f00cd | 31 | py | Python | johansen/__init__.py | scoursen/johansen | e4b815a09f60ce1e4d9473a3e6cad2f128d03a52 | [
"MIT"
] | 38 | 2016-08-20T20:10:02.000Z | 2022-03-25T23:17:22.000Z | johansen/__init__.py | scoursen/johansen | e4b815a09f60ce1e4d9473a3e6cad2f128d03a52 | [
"MIT"
] | 4 | 2016-08-26T05:39:11.000Z | 2020-02-29T15:37:40.000Z | johansen/__init__.py | scoursen/johansen | e4b815a09f60ce1e4d9473a3e6cad2f128d03a52 | [
"MIT"
] | 24 | 2016-08-25T23:13:50.000Z | 2022-01-18T07:42:30.000Z | from .johansen import Johansen
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ac61fe88c526a5c2a35c8b926c7c99b31220223 | 77 | py | Python | src/datasets/__init__.py | Avonite/context-project | 03b9ecb6679d28ff8fc2b3bfec8793223fefc4a6 | [
"MIT"
] | null | null | null | src/datasets/__init__.py | Avonite/context-project | 03b9ecb6679d28ff8fc2b3bfec8793223fefc4a6 | [
"MIT"
] | null | null | null | src/datasets/__init__.py | Avonite/context-project | 03b9ecb6679d28ff8fc2b3bfec8793223fefc4a6 | [
"MIT"
] | null | null | null | from .datasets import MeanFashionMNIST, MedianFashionMNIST, StdFashionMNIST
| 38.5 | 76 | 0.87013 | 6 | 77 | 11.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 1 | 77 | 77 | 0.957143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46ea8c1b3eb3362cbf81c7f1615270154113b52c | 47 | py | Python | src/server/bo/__init__.py | JanCwik/SoftwarePraktikum | d4a2b196f21a5379188cb78b31c59d69f739964f | [
"RSA-MD"
] | 7 | 2020-05-18T14:20:17.000Z | 2020-07-27T17:37:38.000Z | src/server/bo/__init__.py | JanCwik/SoftwarePraktikum | d4a2b196f21a5379188cb78b31c59d69f739964f | [
"RSA-MD"
] | null | null | null | src/server/bo/__init__.py | JanCwik/SoftwarePraktikum | d4a2b196f21a5379188cb78b31c59d69f739964f | [
"RSA-MD"
] | 2 | 2020-05-18T14:20:22.000Z | 2020-07-27T17:37:05.000Z | print("BusinessLogic package initialisiert...") | 47 | 47 | 0.808511 | 4 | 47 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 47 | 1 | 47 | 47 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
202218ee08621b579cd5905560abbc2d367f7d87 | 28 | py | Python | odoo-13.0/odoo/addons/test_action_bindings/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/odoo/addons/test_action_bindings/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/odoo/addons/test_action_bindings/tests/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | from . import test_bindings
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2023d5682e2c6925851560c638e19ef231bbd58a | 5,224 | py | Python | tests/provider/test_views.py | lenarother/django-centralauth | dadd78191d879c96fc2730cb5625ab833c1ea0da | [
"MIT"
] | 6 | 2018-11-22T15:06:57.000Z | 2021-03-16T18:44:41.000Z | tests/provider/test_views.py | lenarother/django-centralauth | dadd78191d879c96fc2730cb5625ab833c1ea0da | [
"MIT"
] | 10 | 2021-05-04T18:55:50.000Z | 2021-06-01T22:58:43.000Z | tests/provider/test_views.py | lenarother/django-centralauth | dadd78191d879c96fc2730cb5625ab833c1ea0da | [
"MIT"
] | 1 | 2019-04-30T08:07:38.000Z | 2019-04-30T08:07:38.000Z | import json
import pytest
from centralauth.provider.models import ApplicationPermission
from ..factories import ApplicationFactory
@pytest.mark.django_db
class TestPermsEndpoint:
def test_no_data(self, client):
response = client.post('/provider/perms/', content_type='application/json', secure=True)
... | 36.788732 | 96 | 0.527948 | 460 | 5,224 | 5.817391 | 0.156522 | 0.125561 | 0.134529 | 0.060538 | 0.85426 | 0.842676 | 0.842676 | 0.821749 | 0.821749 | 0.821749 | 0 | 0.023893 | 0.343032 | 5,224 | 141 | 97 | 37.049645 | 0.755828 | 0.021822 | 0 | 0.691667 | 0 | 0 | 0.191577 | 0 | 0 | 0 | 0 | 0 | 0.225 | 1 | 0.041667 | false | 0 | 0.033333 | 0 | 0.083333 | 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 |
2047eba2c494df15e37bfbaeb574bfc543ebf527 | 59 | py | Python | veruska/env.py | aricodes-oss/veruska | afa6264c12780ab59eacc39876992e1a92cde7c2 | [
"MIT"
] | null | null | null | veruska/env.py | aricodes-oss/veruska | afa6264c12780ab59eacc39876992e1a92cde7c2 | [
"MIT"
] | null | null | null | veruska/env.py | aricodes-oss/veruska | afa6264c12780ab59eacc39876992e1a92cde7c2 | [
"MIT"
] | null | null | null | import environ
env = environ.Env()
environ.Env.read_env()
| 11.8 | 22 | 0.745763 | 9 | 59 | 4.777778 | 0.444444 | 0.697674 | 0.790698 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 4 | 23 | 14.75 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
64557a692e36dcfa4e35351c699b0ed52f3f22ee | 25 | py | Python | src/py_starter/__init__.py | jameskabbes/py_starter | 0638d5835d58f889314f0afe273a628444c494f7 | [
"MIT"
] | null | null | null | src/py_starter/__init__.py | jameskabbes/py_starter | 0638d5835d58f889314f0afe273a628444c494f7 | [
"MIT"
] | null | null | null | src/py_starter/__init__.py | jameskabbes/py_starter | 0638d5835d58f889314f0afe273a628444c494f7 | [
"MIT"
] | null | null | null | from .py_starter import * | 25 | 25 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
647221d88db5aa3a67bcb7eac021d907eef8b920 | 9,483 | py | Python | GDQN/Model_Converter.py | Dongyeongkim/Alphagene | 60e4171ce2d3ae9507c637b1c4dc8f28dcae5a60 | [
"MIT"
] | 5 | 2019-09-03T15:01:47.000Z | 2020-09-13T11:55:33.000Z | GDQN/Model_Converter.py | Dongyeongkim/Alphagene-BreakOut | 60e4171ce2d3ae9507c637b1c4dc8f28dcae5a60 | [
"MIT"
] | null | null | null | GDQN/Model_Converter.py | Dongyeongkim/Alphagene-BreakOut | 60e4171ce2d3ae9507c637b1c4dc8f28dcae5a60 | [
"MIT"
] | 2 | 2019-09-15T11:46:28.000Z | 2022-02-04T00:57:17.000Z | import tensorflow as tf
class GeneticModel:
def __init__(self, Mgen, Sgen):
self.model = self.Convert2Model(Mgen, Sgen)
pass
def Calc_Conv_HP(self, PS_gen1, PS_gen2):
Kernel_Size = PS_gen1 - PS_gen2 + 1
return Kernel_Size
def Calc_Pool_HP(self, PS_gen1, PS_gen... | 49.910526 | 118 | 0.458294 | 983 | 9,483 | 4.206511 | 0.095626 | 0.125756 | 0.072551 | 0.108827 | 0.820798 | 0.80266 | 0.758888 | 0.758888 | 0.758888 | 0.744377 | 0 | 0.045497 | 0.429822 | 9,483 | 189 | 119 | 50.174603 | 0.719253 | 0.004956 | 0 | 0.592105 | 0 | 0 | 0.022939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046053 | false | 0.006579 | 0.006579 | 0 | 0.098684 | 0.013158 | 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 |
64740336ad6f45dd22e5fe579364989864bcaf20 | 93 | py | Python | exception/permission_error_exception.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | exception/permission_error_exception.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | exception/permission_error_exception.py | tuannguyendang/montypython | c0b8ff7a8130e811ba16bfab8d5e013eac37f432 | [
"Apache-2.0"
] | null | null | null | from exception import AuthException
class PermissionErrorException(AuthException):
pass | 18.6 | 46 | 0.83871 | 8 | 93 | 9.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 5 | 47 | 18.6 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6485bc3ef344210e550ea7911b6e5f55ee2de3a1 | 10,200 | py | Python | src/FlaUILibrary/keywords/element.py | GDATASoftwareAG/robotframework-flaui | 81b654be0c4bdd7a176c7186eff2757f7e5da72a | [
"MIT"
] | 22 | 2020-05-04T14:40:53.000Z | 2022-03-24T05:57:00.000Z | src/FlaUILibrary/keywords/element.py | Fxztam/robotframework-flaui | 81b654be0c4bdd7a176c7186eff2757f7e5da72a | [
"MIT"
] | 33 | 2020-07-27T12:47:33.000Z | 2022-03-29T11:16:30.000Z | src/FlaUILibrary/keywords/element.py | Fxztam/robotframework-flaui | 81b654be0c4bdd7a176c7186eff2757f7e5da72a | [
"MIT"
] | 4 | 2020-07-23T09:50:25.000Z | 2022-01-18T10:32:55.000Z | from robotlibcore import keyword
from FlaUILibrary.flaui.module.element import Element
class ElementKeywords:
"""
Interface implementation from robotframework usage for element keywords.
"""
def __init__(self, module):
"""
Constructor for element keywords.
``module`` UIA3 mo... | 36.55914 | 109 | 0.548235 | 1,006 | 10,200 | 5.45328 | 0.101392 | 0.065622 | 0.045935 | 0.069996 | 0.842326 | 0.832665 | 0.815348 | 0.768137 | 0.746628 | 0.704156 | 0 | 0.002696 | 0.381863 | 10,200 | 278 | 110 | 36.690647 | 0.867407 | 0.536471 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.19697 | false | 0 | 0.030303 | 0 | 0.287879 | 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 |
649c6459f9116cf1b38b238212567379fbe1551d | 32 | py | Python | mbench/intervention/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | 1 | 2022-03-21T14:18:11.000Z | 2022-03-21T14:18:11.000Z | mbench/intervention/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | 6 | 2022-03-04T11:37:52.000Z | 2022-03-31T19:13:43.000Z | mbench/intervention/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | null | null | null | from .efficacy import Converter
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64b146e6a88ea6f15313739ced32ec8db1670295 | 12,933 | py | Python | tests/test_mobile_client.py | danwagnerco/similarweb | 3b87690869bedd695bfd95a58b67011ae9df897d | [
"MIT"
] | 38 | 2015-03-27T13:20:55.000Z | 2022-03-21T14:05:27.000Z | tests/test_mobile_client.py | danwagnerco/similarweb | 3b87690869bedd695bfd95a58b67011ae9df897d | [
"MIT"
] | 4 | 2015-02-11T15:33:23.000Z | 2017-03-10T15:45:23.000Z | tests/test_mobile_client.py | danwagnerco/similarweb | 3b87690869bedd695bfd95a58b67011ae9df897d | [
"MIT"
] | 20 | 2015-03-27T13:25:06.000Z | 2021-06-18T09:25:07.000Z | import json
import httpretty
import os
from similarweb import MobileClient
TD = os.path.dirname(os.path.realpath(__file__))
def test_mobile_client_has_user_key():
client = MobileClient("test_key")
assert client.user_key == "test_key"
def test_mobile_client_has_base_url():
client = MobileClient("test_ke... | 41.187898 | 97 | 0.676332 | 1,563 | 12,933 | 5.309021 | 0.072937 | 0.069414 | 0.032899 | 0.048084 | 0.903591 | 0.895638 | 0.891179 | 0.874789 | 0.855628 | 0.840323 | 0 | 0.009445 | 0.205907 | 12,933 | 313 | 98 | 41.319489 | 0.798539 | 0 | 0 | 0.682731 | 0 | 0 | 0.29949 | 0.1736 | 0 | 0 | 0 | 0 | 0.084337 | 1 | 0.084337 | false | 0 | 0.016064 | 0 | 0.100402 | 0.004016 | 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 |
64b91ce535faf38acccf9c3c5dcb4b1f4ddec5c4 | 200 | py | Python | bin/Old/test.py | echaussidon/LSS | 205ce48a288acacbd41358e6d0215f4aff355049 | [
"BSD-3-Clause"
] | 8 | 2017-04-12T14:52:26.000Z | 2022-01-04T08:54:18.000Z | bin/Old/test.py | echaussidon/LSS | 205ce48a288acacbd41358e6d0215f4aff355049 | [
"BSD-3-Clause"
] | 13 | 2017-10-26T22:06:24.000Z | 2022-03-31T15:29:06.000Z | bin/Old/test.py | echaussidon/LSS | 205ce48a288acacbd41358e6d0215f4aff355049 | [
"BSD-3-Clause"
] | 13 | 2015-10-26T17:30:10.000Z | 2022-02-22T09:24:38.000Z | #just test loading modules etc.
import sys
#sys.path.append('../py')
import LSS.mkCat_singletile.cattools as ct
import LSS.mkCat_singletile.fa4lsscat as fa
import LSS.mkCat_singletile.xitools as xt
| 22.222222 | 43 | 0.8 | 32 | 200 | 4.90625 | 0.625 | 0.171975 | 0.267516 | 0.458599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.11 | 200 | 8 | 44 | 25 | 0.876404 | 0.27 | 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 |
373f0a40761f432284adf657c1f861e8669c3506 | 12,289 | py | Python | Packs/CybleThreatIntel/Integrations/CybleThreatIntel/CybleThreatIntel_test.py | mazmat-panw/content | 024a65c1dea2548e2637a9cbbe54966e9e34a722 | [
"MIT"
] | 2 | 2021-12-06T21:38:24.000Z | 2022-01-13T08:23:36.000Z | Packs/CybleThreatIntel/Integrations/CybleThreatIntel/CybleThreatIntel_test.py | mazmat-panw/content | 024a65c1dea2548e2637a9cbbe54966e9e34a722 | [
"MIT"
] | 87 | 2022-02-23T12:10:53.000Z | 2022-03-31T11:29:05.000Z | Packs/CybleThreatIntel/Integrations/CybleThreatIntel/CybleThreatIntel_test.py | henry-sue-pa/content | 043c6badfb4f9c80673cad9242fdea72efe301f7 | [
"MIT"
] | 2 | 2022-01-05T15:27:01.000Z | 2022-02-01T19:27:43.000Z | from datetime import datetime, timedelta
import json
import pytest
def load_json_file(filename):
"""
Loads the json content and return the json object
:param filename:
:return:
"""
content = None
with open("test_data/{0}".format(filename), 'r') as f:
content = json.load(f)
retu... | 29.612048 | 122 | 0.641956 | 1,570 | 12,289 | 4.86242 | 0.109554 | 0.039298 | 0.025151 | 0.041263 | 0.885381 | 0.862588 | 0.813335 | 0.808619 | 0.804559 | 0.783731 | 0 | 0.028707 | 0.226137 | 12,289 | 414 | 123 | 29.683575 | 0.774027 | 0.196599 | 0 | 0.647059 | 0 | 0.012605 | 0.248201 | 0.022526 | 0 | 0 | 0 | 0 | 0.113445 | 1 | 0.067227 | false | 0 | 0.07563 | 0 | 0.147059 | 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 |
3756955dd74fb0c35b9ab4c119a84e1c4dc450b3 | 210 | py | Python | CommunicationServer/OnCommandListener.py | CryDeb/hslu_fs18_pren2_highlevel_python | 7e6b4b7ba7fadf54b9e52e0f5f4bf357734dcfc0 | [
"MIT"
] | 1 | 2019-12-05T13:10:47.000Z | 2019-12-05T13:10:47.000Z | CommunicationServer/OnCommandListener.py | CryDeb/hslu_fs18_pren2_highlevel_python | 7e6b4b7ba7fadf54b9e52e0f5f4bf357734dcfc0 | [
"MIT"
] | null | null | null | CommunicationServer/OnCommandListener.py | CryDeb/hslu_fs18_pren2_highlevel_python | 7e6b4b7ba7fadf54b9e52e0f5f4bf357734dcfc0 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class OnCommandListener:
__metaclass__ = ABCMeta
@abstractmethod
def on_start_command(self): pass
@abstractmethod
def on_stop_command(self): pass
| 17.5 | 39 | 0.747619 | 23 | 210 | 6.478261 | 0.652174 | 0.281879 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 210 | 11 | 40 | 19.090909 | 0.886905 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
37794fbdb17801016017d4b6f26d4f0ef7586ace | 32 | py | Python | fastpunct/__init__.py | notAI-tech/fastpunct | 061eefe69eaad0ff60d96785fcbf0a518d7a83b8 | [
"MIT"
] | 208 | 2020-04-16T09:18:24.000Z | 2022-03-09T14:20:08.000Z | fastpunct/__init__.py | notAI-tech/fastpunct | 061eefe69eaad0ff60d96785fcbf0a518d7a83b8 | [
"MIT"
] | 25 | 2020-05-24T05:38:57.000Z | 2021-10-10T10:45:43.000Z | fastpunct/__init__.py | notAI-tech/fastpunct | 061eefe69eaad0ff60d96785fcbf0a518d7a83b8 | [
"MIT"
] | 24 | 2020-05-31T02:22:08.000Z | 2022-02-28T14:33:58.000Z | from .fastpunct import FastPunct | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
3783e005d0dd641c0ff6d48a9515da372ee27b81 | 13,445 | py | Python | qddate/patterns/base.py | ivbeg/qddate | f7730610611f2509ab264bc8d77a902742daf08c | [
"BSD-3-Clause"
] | 11 | 2018-01-15T08:54:33.000Z | 2022-01-25T09:08:48.000Z | qddate/patterns/base.py | ivbeg/qddate | f7730610611f2509ab264bc8d77a902742daf08c | [
"BSD-3-Clause"
] | null | null | null | qddate/patterns/base.py | ivbeg/qddate | f7730610611f2509ab264bc8d77a902742daf08c | [
"BSD-3-Clause"
] | 2 | 2018-01-14T10:25:55.000Z | 2018-03-09T13:27:49.000Z | # -*- coding: utf-8 -*-
from pyparsing import Word, nums, alphas, oneOf, lineStart, lineEnd, Optional, restOfLine, Literal, ParseException, CaselessLiteral
EN_NUMERIC_SUFFIXES = ['nd', 'rd', 'th', 'st']
PAT_EN_DAY_NUMERIC = Word(nums, min=1, max=2).setResultsName('day') + oneOf(EN_NUMERIC_SUFFIXES).suppress()
BASE_D... | 114.91453 | 443 | 0.629676 | 1,894 | 13,445 | 4.3849 | 0.087645 | 0.074172 | 0.078989 | 0.053462 | 0.858158 | 0.839013 | 0.768453 | 0.722577 | 0.689585 | 0.672366 | 0 | 0.023162 | 0.116921 | 13,445 | 116 | 444 | 115.905172 | 0.676324 | 0.007661 | 0 | 0.067416 | 0 | 0 | 0.320609 | 0.021974 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011236 | 0 | 0.011236 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37874f78dbea0ddbafddfd483dab275b6759932d | 405 | py | Python | tests/unit/video/sources/test_ColorSource.py | DrakenZA/mugen | 9f929b9713f3304a6ceb9980114365fcd5a2afa2 | [
"MIT"
] | 1 | 2020-09-10T17:37:25.000Z | 2020-09-10T17:37:25.000Z | tests/unit/video/sources/test_ColorSource.py | DrakenZA/mugen | 9f929b9713f3304a6ceb9980114365fcd5a2afa2 | [
"MIT"
] | null | null | null | tests/unit/video/sources/test_ColorSource.py | DrakenZA/mugen | 9f929b9713f3304a6ceb9980114365fcd5a2afa2 | [
"MIT"
] | null | null | null | import pytest
from mugen.video.sources import ColorSource
@pytest.fixture
def black_source() -> ColorSource:
return ColorSource('black')
@pytest.fixture
def white_source() -> ColorSource:
return ColorSource('white')
@pytest.fixture
def orange_source() -> ColorSource:
return ColorSource('#FFA500')
@... | 16.875 | 43 | 0.735802 | 44 | 405 | 6.681818 | 0.386364 | 0.176871 | 0.217687 | 0.462585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026012 | 0.145679 | 405 | 23 | 44 | 17.608696 | 0.823699 | 0 | 0 | 0.285714 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8061972b487350efb18298bd8c0fa57d09eca937 | 91 | py | Python | ls_axon_segmentation/transform/__init__.py | quantitative-mri-and-in-vivo-histology/ls_axon_segmentation | 607f5945d6d958a73b80de7f7e9322baa2b58a89 | [
"MIT"
] | null | null | null | ls_axon_segmentation/transform/__init__.py | quantitative-mri-and-in-vivo-histology/ls_axon_segmentation | 607f5945d6d958a73b80de7f7e9322baa2b58a89 | [
"MIT"
] | null | null | null | ls_axon_segmentation/transform/__init__.py | quantitative-mri-and-in-vivo-histology/ls_axon_segmentation | 607f5945d6d958a73b80de7f7e9322baa2b58a89 | [
"MIT"
] | null | null | null | from .augmentation import *
from .preprocessing import *
from .stain_augmentation import *
| 22.75 | 33 | 0.802198 | 10 | 91 | 7.2 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 34 | 30.333333 | 0.911392 | 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 |
80ac17ab6213f7899e7bc99d7ccf5f21bc8f57e0 | 190 | py | Python | torchtext/datasets/__init__.py | kobikun/text | 7bcf8b7a67da59ca3da416017218fd996b4902a9 | [
"BSD-3-Clause"
] | 3 | 2017-11-15T22:36:40.000Z | 2021-01-19T10:53:36.000Z | torchtext/datasets/__init__.py | kobikun/text | 7bcf8b7a67da59ca3da416017218fd996b4902a9 | [
"BSD-3-Clause"
] | null | null | null | torchtext/datasets/__init__.py | kobikun/text | 7bcf8b7a67da59ca3da416017218fd996b4902a9 | [
"BSD-3-Clause"
] | 1 | 2021-01-19T10:53:37.000Z | 2021-01-19T10:53:37.000Z | from .language_modeling import LanguageModelingDataset
from .language_modeling import WikiText2
from .snli import SNLI
from .sentiment import SST
from .translation import TranslationDataset
| 31.666667 | 54 | 0.868421 | 22 | 190 | 7.409091 | 0.5 | 0.147239 | 0.245399 | 0.319018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.105263 | 190 | 5 | 55 | 38 | 0.952941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
80c09244252b56e35d5927a19bad0d8702954fbd | 412 | py | Python | helpcenter/admin.py | delitamakanda/cautious-journey | a1d58e6ae649fc1ba84dc22ce7be30b4c1712b46 | [
"MIT"
] | 3 | 2018-06-24T16:53:47.000Z | 2021-04-02T03:11:24.000Z | helpcenter/admin.py | delitamakanda/cautious-journey | a1d58e6ae649fc1ba84dc22ce7be30b4c1712b46 | [
"MIT"
] | 8 | 2019-03-29T22:58:58.000Z | 2022-03-03T21:59:48.000Z | helpcenter/admin.py | delitamakanda/cautious-journey | a1d58e6ae649fc1ba84dc22ce7be30b4c1712b46 | [
"MIT"
] | null | null | null | from django.contrib import admin
from helpcenter.models import Lexique
from helpcenter.models import FoireAuxQuestions
from helpcenter.models import Board
from helpcenter.models import Topic
from helpcenter.models import Message
# Register your models here.
admin.site.register(Lexique)
admin.site.register(FoireAuxQu... | 25.75 | 47 | 0.842233 | 54 | 412 | 6.425926 | 0.296296 | 0.201729 | 0.288184 | 0.37464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089806 | 412 | 15 | 48 | 27.466667 | 0.925333 | 0.063107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.545455 | 0 | 0.545455 | 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 |
80ee2cac981da01f93689918a7064e0144757627 | 99 | py | Python | losses/pytorch_msssim/__init__.py | zack466/autoreg-sr | 88146370c04bc299c0f4fa3a43d9dbc237bb102c | [
"BSD-3-Clause"
] | null | null | null | losses/pytorch_msssim/__init__.py | zack466/autoreg-sr | 88146370c04bc299c0f4fa3a43d9dbc237bb102c | [
"BSD-3-Clause"
] | null | null | null | losses/pytorch_msssim/__init__.py | zack466/autoreg-sr | 88146370c04bc299c0f4fa3a43d9dbc237bb102c | [
"BSD-3-Clause"
] | null | null | null | # taken from https://github.com/VainF/pytorch-msssim
from .ssim import ssim, ms_ssim, SSIM, MS_SSIM | 49.5 | 52 | 0.777778 | 17 | 99 | 4.411765 | 0.647059 | 0.16 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 2 | 53 | 49.5 | 0.842697 | 0.505051 | 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 |
037f5e0938daaec6c3c788f01e2b6bdeb33c3424 | 41 | py | Python | protonets/data/__init__.py | pockerman/prototypical-networks | d19cac9637c9497181e613bb327fb0e93ee39929 | [
"MIT"
] | null | null | null | protonets/data/__init__.py | pockerman/prototypical-networks | d19cac9637c9497181e613bb327fb0e93ee39929 | [
"MIT"
] | null | null | null | protonets/data/__init__.py | pockerman/prototypical-networks | d19cac9637c9497181e613bb327fb0e93ee39929 | [
"MIT"
] | null | null | null | from . import omniglot
from . import tuf
| 13.666667 | 22 | 0.756098 | 6 | 41 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 23 | 20.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
03889bfbce8fe14bbf958f572e90fbf537051ad3 | 65 | py | Python | KwikTeam/spikedetekt2/spikedetekt2/core/__init__.py | VH-Lab/vhlab_thirdparty | e2a0e2898962ed45c748c9a32ac83dae101dad09 | [
"MIT"
] | null | null | null | KwikTeam/spikedetekt2/spikedetekt2/core/__init__.py | VH-Lab/vhlab_thirdparty | e2a0e2898962ed45c748c9a32ac83dae101dad09 | [
"MIT"
] | null | null | null | KwikTeam/spikedetekt2/spikedetekt2/core/__init__.py | VH-Lab/vhlab_thirdparty | e2a0e2898962ed45c748c9a32ac83dae101dad09 | [
"MIT"
] | null | null | null | from progressbar import *
from main import *
from script import * | 21.666667 | 25 | 0.784615 | 9 | 65 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 3 | 26 | 21.666667 | 0.944444 | 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 |
03ae7330abe1762020e2726a7b218e5656667bdd | 116 | py | Python | packages/pieces/GN3.py | kirbysebastian/Salpakan | e05a43491f7c3c2528a3f9126cee3eba8308a94d | [
"MIT"
] | null | null | null | packages/pieces/GN3.py | kirbysebastian/Salpakan | e05a43491f7c3c2528a3f9126cee3eba8308a94d | [
"MIT"
] | null | null | null | packages/pieces/GN3.py | kirbysebastian/Salpakan | e05a43491f7c3c2528a3f9126cee3eba8308a94d | [
"MIT"
] | null | null | null |
class GN3:
def __init__(self):
self.name = 'GN3'
def __str__(self):
return self.name | 16.571429 | 26 | 0.534483 | 14 | 116 | 3.857143 | 0.571429 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.362069 | 116 | 7 | 27 | 16.571429 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0.027273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 |
03f5c030f46eaf6b56b17950bcb87cae5645105f | 245 | py | Python | tests/conftest.py | TimotheDavid/web-miner | fd63943656671e2188c6d8d7b3a672bbd7b5a1e6 | [
"MIT"
] | 38 | 2018-12-09T10:33:53.000Z | 2022-01-01T05:59:44.000Z | tests/conftest.py | Createdd/web-miner | fd63943656671e2188c6d8d7b3a672bbd7b5a1e6 | [
"MIT"
] | null | null | null | tests/conftest.py | Createdd/web-miner | fd63943656671e2188c6d8d7b3a672bbd7b5a1e6 | [
"MIT"
] | 16 | 2018-10-02T17:06:27.000Z | 2022-03-16T22:12:30.000Z | import pytest
from webminer.external_interfaces.flask_server.app import create_app
from webminer.external_interfaces.flask_server.settings import TestConfig
@pytest.yield_fixture(scope='function')
def app():
return create_app(TestConfig) | 24.5 | 73 | 0.836735 | 32 | 245 | 6.1875 | 0.5625 | 0.121212 | 0.20202 | 0.30303 | 0.414141 | 0.414141 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089796 | 245 | 10 | 74 | 24.5 | 0.887892 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ff1d0b64782bcf4876bdfc9ad5cd0e082608aa52 | 27 | py | Python | src/python/zquantum/core/testing/__init__.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | 1 | 2020-05-08T15:27:19.000Z | 2020-05-08T15:27:19.000Z | src/python/zquantum/core/testing/__init__.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | null | null | null | src/python/zquantum/core/testing/__init__.py | kottmanj/z-quantum-core | 21752e92e79aafedbfeb6e7ae196bdc2fd5803e4 | [
"Apache-2.0"
] | null | null | null | from ._initialize import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
205ae2e5881b3518e5733ad55af181fe9b5a5fba | 22 | py | Python | dpmhm/datasets/cwru/__init__.py | yanncalec/dpmhm | 0a242bc8add0ba1463bb2b63b2c15abb80b83fa7 | [
"MIT"
] | null | null | null | dpmhm/datasets/cwru/__init__.py | yanncalec/dpmhm | 0a242bc8add0ba1463bb2b63b2c15abb80b83fa7 | [
"MIT"
] | null | null | null | dpmhm/datasets/cwru/__init__.py | yanncalec/dpmhm | 0a242bc8add0ba1463bb2b63b2c15abb80b83fa7 | [
"MIT"
] | null | null | null | from .cwru import CWRU | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
205bb56c957fc9e20a06bec369e570010ed79d59 | 2,899 | py | Python | Python/Practices/Trees/path_sum_ii.py | Mr-Perfection/coding_practice | 41df85292a151eef3266b01545124aeb4e831286 | [
"Unlicense"
] | null | null | null | Python/Practices/Trees/path_sum_ii.py | Mr-Perfection/coding_practice | 41df85292a151eef3266b01545124aeb4e831286 | [
"Unlicense"
] | null | null | null | Python/Practices/Trees/path_sum_ii.py | Mr-Perfection/coding_practice | 41df85292a151eef3266b01545124aeb4e831286 | [
"Unlicense"
] | null | null | null | # Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def search_paths(self, root, sum, path, paths):
if not(root): return
sum -= root.val
if sum < 0:... | 27.349057 | 68 | 0.521559 | 362 | 2,899 | 4.116022 | 0.146409 | 0.096644 | 0.096644 | 0.06443 | 0.949664 | 0.934228 | 0.880537 | 0.859732 | 0.859732 | 0.844295 | 0 | 0.004396 | 0.372197 | 2,899 | 105 | 69 | 27.609524 | 0.814286 | 0.483615 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20600c58bc6712f6f05d3fc5fb5dbd3b250a1ea8 | 70 | py | Python | discordland/__init__.py | Hype3808/DiscordLand.py | 061379b721ccb207c7f313230e67155174e63c32 | [
"MIT"
] | null | null | null | discordland/__init__.py | Hype3808/DiscordLand.py | 061379b721ccb207c7f313230e67155174e63c32 | [
"MIT"
] | 1 | 2021-12-03T03:40:04.000Z | 2022-01-06T07:56:29.000Z | discordland/__init__.py | Hype3808/DiscordLand.py | 061379b721ccb207c7f313230e67155174e63c32 | [
"MIT"
] | null | null | null | from .client import *
from .results import *
from .errors import *
| 17.5 | 23 | 0.7 | 9 | 70 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 70 | 3 | 24 | 23.333333 | 0.890909 | 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 |
208094d983fa3d671d9cd089a85e9ff6b73f822c | 41 | py | Python | examen.py | haroldmasterr/examen_1 | e420203b48a8739fbc51f35a7e4cbe49bce4b3f8 | [
"MIT"
] | null | null | null | examen.py | haroldmasterr/examen_1 | e420203b48a8739fbc51f35a7e4cbe49bce4b3f8 | [
"MIT"
] | null | null | null | examen.py | haroldmasterr/examen_1 | e420203b48a8739fbc51f35a7e4cbe49bce4b3f8 | [
"MIT"
] | null | null | null |
print("git UNT ")
print("git lunes")
| 6.833333 | 19 | 0.585366 | 6 | 41 | 4 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 5 | 20 | 8.2 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
afe36ee3c494ff8cabeb5cbe5568b6793459e70e | 90 | py | Python | xwavfreq/__init__.py | AndrewWilliams3142/xwavfreq | 716cb341b170d387dac53d321b9fc1c5bd81ec26 | [
"MIT"
] | null | null | null | xwavfreq/__init__.py | AndrewWilliams3142/xwavfreq | 716cb341b170d387dac53d321b9fc1c5bd81ec26 | [
"MIT"
] | null | null | null | xwavfreq/__init__.py | AndrewWilliams3142/xwavfreq | 716cb341b170d387dac53d321b9fc1c5bd81ec26 | [
"MIT"
] | null | null | null | from . import analysis
from . import plotting
from . import utils
from . import constants
| 18 | 23 | 0.777778 | 12 | 90 | 5.833333 | 0.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 4 | 24 | 22.5 | 0.945946 | 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 |
afe7bf93c6ddb11f7ca065ec38ab5a67d1f15372 | 1,995 | py | Python | tests/test_callbacks.py | SimonBlanke/hyperactive | 2137f682dd6351dc5c4de8d0d3ad3bd637af57dd | [
"MIT"
] | 4 | 2019-06-09T08:04:01.000Z | 2019-06-26T05:45:09.000Z | tests/test_callbacks.py | SimonBlanke/hyperactive | 2137f682dd6351dc5c4de8d0d3ad3bd637af57dd | [
"MIT"
] | null | null | null | tests/test_callbacks.py | SimonBlanke/hyperactive | 2137f682dd6351dc5c4de8d0d3ad3bd637af57dd | [
"MIT"
] | null | null | null | import copy
import pytest
import numpy as np
import pandas as pd
from hyperactive import Hyperactive
search_space = {
"x1": list(np.arange(-100, 100, 1)),
}
def test_callback_0():
def callback_1(access):
access.stuff1 = 1
def callback_2(access):
access.stuff2 = 2
def objective_fun... | 19.95 | 66 | 0.594987 | 232 | 1,995 | 4.905172 | 0.185345 | 0.071178 | 0.104569 | 0.101054 | 0.826011 | 0.787346 | 0.787346 | 0.731107 | 0.677504 | 0.602812 | 0 | 0.049006 | 0.294236 | 1,995 | 99 | 67 | 20.151515 | 0.759233 | 0 | 0 | 0.648649 | 0 | 0 | 0.03609 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 1 | 0.189189 | false | 0.094595 | 0.067568 | 0 | 0.310811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b316a3f5ef749355542e9aa1e6e6f2c1d2ffc250 | 27 | py | Python | voxel_array/__init__.py | bcov77/npose | 0b448b8a5d0ee18f991c9dc00c914def351af548 | [
"MIT"
] | 1 | 2021-12-10T02:02:22.000Z | 2021-12-10T02:02:22.000Z | voxel_array/__init__.py | bcov77/npose | 0b448b8a5d0ee18f991c9dc00c914def351af548 | [
"MIT"
] | null | null | null | voxel_array/__init__.py | bcov77/npose | 0b448b8a5d0ee18f991c9dc00c914def351af548 | [
"MIT"
] | 2 | 2020-05-05T20:03:41.000Z | 2020-06-13T15:31:35.000Z | from .voxel_array import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b337e9606cb0d898650bfce4bfc92778be53bb4e | 5,732 | py | Python | contractpy/test/test_contract_verifier.py | KumarManoj-S/pycontract | 5682741af0f98ac40819bd7c6ff7b48d0e9abf6b | [
"MIT"
] | 8 | 2020-03-23T12:50:08.000Z | 2021-04-05T02:27:34.000Z | contractpy/test/test_contract_verifier.py | KumarManoj-S/pycontract | 5682741af0f98ac40819bd7c6ff7b48d0e9abf6b | [
"MIT"
] | 1 | 2020-07-26T16:20:37.000Z | 2020-07-27T06:19:33.000Z | contractpy/test/test_contract_verifier.py | KumarManoj-S/pycontract | 5682741af0f98ac40819bd7c6ff7b48d0e9abf6b | [
"MIT"
] | 2 | 2020-03-24T15:39:20.000Z | 2020-07-26T16:49:34.000Z | from contractpy.main.contract_verifier import ContractVerifier
from contractpy.main.types import Types
def test_contract_verifier_for_single_value():
assert ContractVerifier.verify(str, "manoj") is True
assert ContractVerifier.verify(int, 10) is True
assert ContractVerifier.verify(float, 2.0) is True
... | 24.495726 | 94 | 0.45307 | 597 | 5,732 | 4.222781 | 0.135678 | 0.209441 | 0.266561 | 0.122174 | 0.87862 | 0.817929 | 0.740976 | 0.666799 | 0.634669 | 0.603729 | 0 | 0.033889 | 0.361654 | 5,732 | 234 | 95 | 24.495727 | 0.655097 | 0 | 0 | 0.699507 | 0 | 0 | 0.067155 | 0 | 0 | 0 | 0 | 0 | 0.118227 | 1 | 0.044335 | false | 0 | 0.009852 | 0 | 0.054187 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b35ee430852709036dad0cfbf886b73580e7364a | 144 | py | Python | automl_infrastructure/experiment/__init__.py | barak1412/automl_infrastructure | e8a291d175237bb7f74ebae5d6f5d2f8bcf5dc32 | [
"MIT"
] | null | null | null | automl_infrastructure/experiment/__init__.py | barak1412/automl_infrastructure | e8a291d175237bb7f74ebae5d6f5d2f8bcf5dc32 | [
"MIT"
] | null | null | null | automl_infrastructure/experiment/__init__.py | barak1412/automl_infrastructure | e8a291d175237bb7f74ebae5d6f5d2f8bcf5dc32 | [
"MIT"
] | null | null | null | from automl_infrastructure.experiment.base import Experiment
from automl_infrastructure.experiment.params import RangedParameter, ListParameter
| 48 | 82 | 0.902778 | 15 | 144 | 8.533333 | 0.6 | 0.15625 | 0.375 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 144 | 2 | 83 | 72 | 0.948148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b36091f6a355b6685e52b0f58f2767ac8ff9725b | 45 | py | Python | spitzer/lib/core/rollback.py | feliphebueno/Spitzer | a1bf88184f7ddef629c0be9ff4e157fc8ba2a0ac | [
"MIT"
] | null | null | null | spitzer/lib/core/rollback.py | feliphebueno/Spitzer | a1bf88184f7ddef629c0be9ff4e157fc8ba2a0ac | [
"MIT"
] | 1 | 2017-09-06T13:22:35.000Z | 2017-09-06T13:22:39.000Z | spitzer/lib/core/rollback.py | feliphebueno/Spitzer | a1bf88184f7ddef629c0be9ff4e157fc8ba2a0ac | [
"MIT"
] | null | null | null | from django.db import connection, connections | 45 | 45 | 0.866667 | 6 | 45 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.