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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7a57c7ed60d1b6a1ebecaacc8e16b81a8a38baba | 34 | py | Python | app/__init__.py | alessap/apistar_alpine | 4848cdcf1c0becee339c2ee8cbbebdad0536e9c0 | [
"MIT"
] | null | null | null | app/__init__.py | alessap/apistar_alpine | 4848cdcf1c0becee339c2ee8cbbebdad0536e9c0 | [
"MIT"
] | 1 | 2021-03-28T07:11:05.000Z | 2021-03-28T07:11:05.000Z | app/__init__.py | alessap/apistar_alpine | 4848cdcf1c0becee339c2ee8cbbebdad0536e9c0 | [
"MIT"
] | null | null | null | from .app import app # noqa:F401
| 17 | 33 | 0.705882 | 6 | 34 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.205882 | 34 | 1 | 34 | 34 | 0.777778 | 0.264706 | 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 |
7a78998f26a56ffb975c5667776b91ef98ed8192 | 153 | py | Python | knitty/api.py | phlummox-patches/knitty | d7a5256ba9dfa4cc146681cb202343937214c0f6 | [
"MIT"
] | 41 | 2018-06-29T17:52:14.000Z | 2021-12-12T06:59:59.000Z | knitty/api.py | phlummox-patches/knitty | d7a5256ba9dfa4cc146681cb202343937214c0f6 | [
"MIT"
] | 26 | 2018-01-17T09:40:34.000Z | 2022-03-22T09:44:45.000Z | knitty/api.py | phlummox-patches/knitty | d7a5256ba9dfa4cc146681cb202343937214c0f6 | [
"MIT"
] | 2 | 2021-09-20T16:20:50.000Z | 2022-03-22T09:26:41.000Z | from .ast_filter import knitty_pandoc_filter, safe_spawn # noqa
from .preprocess_filter import knitty_preprosess # noqa
from .tools import KnittyError
| 38.25 | 64 | 0.836601 | 21 | 153 | 5.809524 | 0.619048 | 0.196721 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124183 | 153 | 3 | 65 | 51 | 0.910448 | 0.058824 | 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 |
7a9bda47acb009f76b698e2decfbc04d101063dc | 108 | py | Python | main/donate/__init__.py | Curiouspaul1/Ecolead | 1c5008b9ad9a6611b76bf61539ae3af9da06afc5 | [
"MIT"
] | null | null | null | main/donate/__init__.py | Curiouspaul1/Ecolead | 1c5008b9ad9a6611b76bf61539ae3af9da06afc5 | [
"MIT"
] | null | null | null | main/donate/__init__.py | Curiouspaul1/Ecolead | 1c5008b9ad9a6611b76bf61539ae3af9da06afc5 | [
"MIT"
] | null | null | null | from flask import Blueprint
donor = Blueprint("donor", __name__)
from . import views
from . import errors
| 15.428571 | 36 | 0.759259 | 14 | 108 | 5.571429 | 0.571429 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 6 | 37 | 18 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
7aa0a971808f685a2d562e6b25ba83c9ae07ed02 | 91 | py | Python | kingkong/__init__.py | adrn/StroemeFinden | cf907a50296c9a09d32c6a6c3e9d49a2885e8bee | [
"MIT"
] | 1 | 2015-08-04T15:38:56.000Z | 2015-08-04T15:38:56.000Z | kingkong/__init__.py | adrn/StroemeFinden | cf907a50296c9a09d32c6a6c3e9d49a2885e8bee | [
"MIT"
] | 6 | 2015-08-12T14:05:09.000Z | 2015-08-13T13:22:58.000Z | kingkong/__init__.py | adrn/KingKong | cf907a50296c9a09d32c6a6c3e9d49a2885e8bee | [
"MIT"
] | null | null | null | from .core import *
from .mockdata import *
from .coordinates import *
from .util import *
| 18.2 | 26 | 0.736264 | 12 | 91 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 4 | 27 | 22.75 | 0.893333 | 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 |
7aba77fe761f33e5d86506f0f80ae7a5f475fa31 | 713 | py | Python | 06_objects_in_motion/data/vertex_data.py | Mekire/gltut-pygame | 352df52f5e1e64a9f50cc91cd1992751e14a140b | [
"MIT"
] | 21 | 2016-03-24T10:07:06.000Z | 2021-03-26T04:40:46.000Z | 06_objects_in_motion/data/vertex_data.py | Mekire/gltut-pygame | 352df52f5e1e64a9f50cc91cd1992751e14a140b | [
"MIT"
] | null | null | null | 06_objects_in_motion/data/vertex_data.py | Mekire/gltut-pygame | 352df52f5e1e64a9f50cc91cd1992751e14a140b | [
"MIT"
] | 4 | 2018-11-04T14:35:39.000Z | 2019-11-21T10:41:21.000Z | NUMBER_OF_VERTICES = 8
_COLOR = {"GREEN" : [0.0,1.0,0.0,1.0],
"BLUE" : [0.0,0.0,1.0,1.0],
"RED" : [1.0,0.0,0.0,1.0],
"GREY" : [0.8,0.8,0.8,1.0],
"BROWN" : [0.5,0.5,0.0,1.0]}
_POSITIONS = [ 1.0, 1.0, 1.0,
-1.0,-1.0, 1.0,
-1.0, 1.0,-1.0,
... | 23 | 74 | 0.349229 | 137 | 713 | 1.737226 | 0.153285 | 0.277311 | 0.365546 | 0.403361 | 0.281513 | 0.252101 | 0.201681 | 0.201681 | 0.201681 | 0.201681 | 0 | 0.265116 | 0.396914 | 713 | 31 | 75 | 23 | 0.288372 | 0 | 0 | 0 | 0 | 0 | 0.053221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f884340f051ede74d4263c6ca8d2166dc00daaa | 47 | py | Python | app/oauth/__init__.py | fariszr/app | 932134c2123714cf1d1b7090998fbdf27344cce0 | [
"MIT"
] | 5 | 2021-01-13T16:50:46.000Z | 2021-11-29T04:01:46.000Z | app/oauth/__init__.py | fariszr/app | 932134c2123714cf1d1b7090998fbdf27344cce0 | [
"MIT"
] | 1 | 2021-02-08T21:04:06.000Z | 2021-02-08T21:04:06.000Z | app/oauth/__init__.py | fariszr/app | 932134c2123714cf1d1b7090998fbdf27344cce0 | [
"MIT"
] | 4 | 2021-02-08T23:04:33.000Z | 2022-01-05T12:02:34.000Z | from .views import authorize, token, user_info
| 23.5 | 46 | 0.808511 | 7 | 47 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.902439 | 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 |
8fc58f6812fa6483390e2642d770416f695c008e | 34 | py | Python | cride/circles/permissions/__init__.py | Audio10/Comparte-crite | e3500373ccb59a46aaad57b4549bcdcfd73cb19c | [
"MIT"
] | null | null | null | cride/circles/permissions/__init__.py | Audio10/Comparte-crite | e3500373ccb59a46aaad57b4549bcdcfd73cb19c | [
"MIT"
] | 5 | 2021-04-08T21:35:51.000Z | 2022-02-10T12:32:17.000Z | cride/circles/permissions/__init__.py | Audio10/Comparte-crite | e3500373ccb59a46aaad57b4549bcdcfd73cb19c | [
"MIT"
] | null | null | null | from .circles import IsCircleAdmin | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8904f09ae8d05ee82cf2b3de370afabcde1b6990 | 22 | py | Python | Bindings/Python/__init__.py | chrisdembia/opensim-debian | 50c255ce850aab252f26ac73b67bd2b78dc65cfe | [
"Apache-2.0"
] | null | null | null | Bindings/Python/__init__.py | chrisdembia/opensim-debian | 50c255ce850aab252f26ac73b67bd2b78dc65cfe | [
"Apache-2.0"
] | null | null | null | Bindings/Python/__init__.py | chrisdembia/opensim-debian | 50c255ce850aab252f26ac73b67bd2b78dc65cfe | [
"Apache-2.0"
] | null | null | null | from opensim import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64f496d04a1aa6d4ca5fd0a960b638bd513fe0dd | 30 | py | Python | wizard/__init__.py | afadhitya/IdeasApp | 1d85e9fcc46b271e9c79576038ff489cd54e3842 | [
"MIT"
] | null | null | null | wizard/__init__.py | afadhitya/IdeasApp | 1d85e9fcc46b271e9c79576038ff489cd54e3842 | [
"MIT"
] | null | null | null | wizard/__init__.py | afadhitya/IdeasApp | 1d85e9fcc46b271e9c79576038ff489cd54e3842 | [
"MIT"
] | null | null | null | from . import wizard_give_vote | 30 | 30 | 0.866667 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8f3897a2f436130cde7bbe0cfd215db6a66a34a5 | 180 | py | Python | dbaas/system/views.py | didindinn/database-as-a-service | 747de31ff8546f7874ddd654af860e130afd17a0 | [
"BSD-3-Clause"
] | 303 | 2015-01-08T10:35:54.000Z | 2022-02-28T08:54:06.000Z | dbaas/system/views.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 124 | 2015-01-14T12:56:15.000Z | 2022-03-22T20:45:11.000Z | dbaas/system/views.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 110 | 2015-01-02T11:59:48.000Z | 2022-02-28T08:54:06.000Z | from django.http import HttpResponse
from models import CeleryHealthCheck
def CeleryHealthCheckView(request):
return HttpResponse(CeleryHealthCheck.get_healthcheck_string())
| 25.714286 | 67 | 0.85 | 18 | 180 | 8.388889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 180 | 6 | 68 | 30 | 0.932099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
56c55aa949132afdcc0c9fb2e04302eba6b77aae | 20 | py | Python | evi/plotting/__init__.py | jranek/EVI | 7a4ec37dc847d02268241b464b296f00826c327d | [
"MIT"
] | 40 | 2018-04-23T02:03:40.000Z | 2022-02-09T14:41:03.000Z | trunk/python/gtsam_utils/__init__.py | shaolinbit/PPP-BayesTree | 6f469775277a1a33447bf4c19603c796c2c63c75 | [
"MIT"
] | 33 | 2020-08-05T23:00:56.000Z | 2022-03-21T22:37:03.000Z | trunk/python/gtsam_utils/__init__.py | shaolinbit/PPP-BayesTree | 6f469775277a1a33447bf4c19603c796c2c63c75 | [
"MIT"
] | 16 | 2018-05-18T05:59:00.000Z | 2022-03-07T13:51:18.000Z | from .plot import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 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 |
56de1acd0aa3d2632be3c5313760b68aa537535b | 698 | py | Python | src/back/tests/test_users.py | khamidou/kite | c049faf8522c8346c22c70f2a35a35db6b4a155d | [
"BSD-3-Clause"
] | 136 | 2015-01-06T01:14:35.000Z | 2022-01-20T17:04:52.000Z | src/back/tests/test_users.py | khamidou/kite | c049faf8522c8346c22c70f2a35a35db6b4a155d | [
"BSD-3-Clause"
] | 3 | 2016-01-14T21:37:10.000Z | 2019-04-17T02:44:08.000Z | src/back/tests/test_users.py | khamidou/kite | c049faf8522c8346c22c70f2a35a35db6b4a155d | [
"BSD-3-Clause"
] | 38 | 2015-02-28T14:12:26.000Z | 2021-01-17T21:01:02.000Z | import unittest
import kite.users as users
class TestUsers(unittest.TestCase):
def test_path_cleanups(self):
s = users.get_threads_index_folder("/home/kite/Maildirs/testuser/new/1234563.mail")
self.assertEqual(s, "/home/kite/Maildirs/testuser")
s = users.get_threads_index_folder("/home/kit... | 38.777778 | 103 | 0.716332 | 92 | 698 | 5.282609 | 0.315217 | 0.098765 | 0.197531 | 0.18107 | 0.751029 | 0.751029 | 0.709877 | 0.709877 | 0.709877 | 0.578189 | 0 | 0.035294 | 0.147564 | 698 | 17 | 104 | 41.058824 | 0.781513 | 0 | 0 | 0.166667 | 0 | 0 | 0.378766 | 0.355811 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
713151a7d69011ada1b55f3af80fa3067c9488b9 | 4,489 | py | Python | applygpy/tests/test_plotting.py | kant/applygpy | 11dffe8d26d31b62b85ba306d4fee25ab8d32d23 | [
"BSD-3-Clause"
] | null | null | null | applygpy/tests/test_plotting.py | kant/applygpy | 11dffe8d26d31b62b85ba306d4fee25ab8d32d23 | [
"BSD-3-Clause"
] | null | null | null | applygpy/tests/test_plotting.py | kant/applygpy | 11dffe8d26d31b62b85ba306d4fee25ab8d32d23 | [
"BSD-3-Clause"
] | 1 | 2020-03-01T15:54:49.000Z | 2020-03-01T15:54:49.000Z | '''
Created on 30 Sep 2015
@author: Max Zwiessele
'''
import matplotlib
from GPy.testing.plotting_tests import flatten_axis as fl, compare_axis_dicts as cm
matplotlib.use('agg')
import matplotlib.pyplot as plt # @UnresolvedImport
import GPy, numpy as np
from applygpy.prediction import PredictionModelSparse, Predicti... | 27.539877 | 89 | 0.559145 | 621 | 4,489 | 3.942029 | 0.148148 | 0.011438 | 0.078431 | 0.098039 | 0.75817 | 0.75817 | 0.749183 | 0.73366 | 0.73366 | 0.73366 | 0 | 0.056928 | 0.287815 | 4,489 | 162 | 90 | 27.709877 | 0.708789 | 0.203163 | 0 | 0.741573 | 0 | 0 | 0.003968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078652 | false | 0.011236 | 0.078652 | 0 | 0.168539 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
854e3045cbef08da50b69b6f63ad90f75ebc0fb5 | 10,987 | py | Python | p8_test/test_local/test_eta5_execution/test_companion.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | 1 | 2020-01-27T10:10:40.000Z | 2020-01-27T10:10:40.000Z | p8_test/test_local/test_eta5_execution/test_companion.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | 4 | 2019-08-23T05:24:23.000Z | 2021-09-16T10:05:55.000Z | p8_test/test_local/test_eta5_execution/test_companion.py | crazynayan/tpf1 | c81a15d88d4d1f3ed2cf043c90782a4b8509ef14 | [
"MIT"
] | null | null | null | from base64 import b64encode
from p1_utils.data_type import DataType
from p8_test.test_local.test_eta5_execution import NameGeneral, hfax_2812_gld, fqtv_gld, itin_2811_2812, tr1gaa
class Companion(NameGeneral):
def setUp(self) -> None:
super().setUp()
self.test_data.add_pnr_element(["1ZAVERI"], ... | 53.595122 | 111 | 0.693092 | 1,557 | 10,987 | 4.550417 | 0.07386 | 0.161468 | 0.120254 | 0.086803 | 0.905434 | 0.896683 | 0.878758 | 0.875935 | 0.875935 | 0.875512 | 0 | 0.06083 | 0.175571 | 10,987 | 204 | 112 | 53.857843 | 0.721351 | 0.001092 | 0 | 0.697802 | 0 | 0 | 0.103901 | 0.00802 | 0 | 0 | 0 | 0 | 0.318681 | 1 | 0.104396 | false | 0 | 0.016484 | 0 | 0.126374 | 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 |
85516929ae1ee9a6943fa0bece553a5694cc56f7 | 114 | py | Python | ambra_sdk/service/entrypoints/order.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/order.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/order.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.order import Order as GOrder
class Order(GOrder):
"""Order."""
| 19 | 73 | 0.745614 | 15 | 114 | 5.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 74 | 22.8 | 0.848485 | 0.052632 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
85af949785e88e7e2d5d133930dcde89f5847202 | 141 | py | Python | crosscheck/__main__.py | TinyTheBrontosaurus/nhl-ai | 0209388919ef8795c8f3eff14675b3b4df3adb31 | [
"MIT"
] | 4 | 2022-03-25T18:02:43.000Z | 2022-03-25T18:31:08.000Z | crosscheck/__main__.py | TinyTheBrontosaurus/nhl-ai | 0209388919ef8795c8f3eff14675b3b4df3adb31 | [
"MIT"
] | 5 | 2020-02-09T21:39:33.000Z | 2022-03-11T23:48:47.000Z | crosscheck/__main__.py | TinyTheBrontosaurus/nhl-ai | 0209388919ef8795c8f3eff14675b3b4df3adb31 | [
"MIT"
] | null | null | null | import sys
import crosscheck.main_train
# Sort out relative imports
if __name__ == "__main__":
crosscheck.main_train.main(sys.argv[1:])
| 20.142857 | 44 | 0.758865 | 20 | 141 | 4.85 | 0.65 | 0.28866 | 0.391753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.134752 | 141 | 6 | 45 | 23.5 | 0.786885 | 0.177305 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a48f743cccce769cc8388e6b6b97148cbcedd03e | 208 | py | Python | crm/admin.py | baniasbaabe/happy-qr | bf44ac19306ea6405cc7c9a100e6f83afca125b4 | [
"MIT"
] | 1 | 2021-01-23T21:42:10.000Z | 2021-01-23T21:42:10.000Z | crm/admin.py | baniasbaabe/happy-qr | bf44ac19306ea6405cc7c9a100e6f83afca125b4 | [
"MIT"
] | null | null | null | crm/admin.py | baniasbaabe/happy-qr | bf44ac19306ea6405cc7c9a100e6f83afca125b4 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from crm.models import *
admin.site.register(Mitarbeiter)
admin.site.register(Kunde)
admin.site.register(Auftrag)
admin.site.register(Rechnung)
| 20.8 | 32 | 0.807692 | 29 | 208 | 5.793103 | 0.517241 | 0.214286 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091346 | 208 | 9 | 33 | 23.111111 | 0.888889 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f100d0c4fadeb7cb6dba7109d6c79de516bd18b1 | 157 | py | Python | utils/__init__.py | Johnson-yue/lffont | f31f5a1cd6a075449a0f18aaafd945d373121e15 | [
"MIT"
] | 98 | 2020-09-24T01:05:19.000Z | 2022-03-04T16:13:42.000Z | utils/__init__.py | Johnson-yue/lffont | f31f5a1cd6a075449a0f18aaafd945d373121e15 | [
"MIT"
] | 26 | 2020-09-24T07:36:37.000Z | 2022-02-08T12:36:49.000Z | utils/__init__.py | Johnson-yue/lffont | f31f5a1cd6a075449a0f18aaafd945d373121e15 | [
"MIT"
] | 20 | 2020-09-24T02:29:42.000Z | 2022-01-23T15:35:28.000Z | """
LF-Font
Copyright (c) 2020-present NAVER Corp.
MIT license
"""
from .utils import *
from .visualize import *
from .writer import *
from .logger import *
| 15.7 | 38 | 0.713376 | 22 | 157 | 5.090909 | 0.727273 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.165605 | 157 | 9 | 39 | 17.444444 | 0.824427 | 0.369427 | 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 |
f1144d3759ece7570075f852d34e78c77630899b | 1,067 | py | Python | pyenv/lib/python3.6/_bootlocale.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | pyenv/lib/python3.6/_bootlocale.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | 3 | 2020-03-23T18:01:51.000Z | 2021-03-19T23:15:15.000Z | pyenv/lib/python3.6/_bootlocale.py | ronald-rgr/ai-chatbot-smartguide | c9c830feb6b66c2e362f8fb5d147ef0c4f4a08cf | [
"Apache-2.0"
] | null | null | null | XSym
0078
8f578bce46b7c425a599b77ac92178fd
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/_bootlocale.py
... | 213.4 | 945 | 0.099344 | 15 | 1,067 | 7 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 0.88941 | 1,067 | 5 | 945 | 213.4 | 0.652542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f11ce820f3087740f7751e1d65a57a6850f074ea | 71 | py | Python | Python/CodingBat/make_pi.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 1 | 2018-05-24T11:30:05.000Z | 2018-05-24T11:30:05.000Z | Python/CodingBat/make_pi.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | null | null | null | Python/CodingBat/make_pi.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 2 | 2017-08-11T06:53:30.000Z | 2017-08-29T12:07:52.000Z | # http://codingbat.com/prob/p113659
def make_pi():
return [3, 1, 4]
| 14.2 | 35 | 0.647887 | 12 | 71 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.15493 | 71 | 4 | 36 | 17.75 | 0.6 | 0.464789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f11ce9c0f8865ea4ed913621172075ad20968b0c | 264 | py | Python | fds/galaxy_fds_client_exception.py | XiaoMi/galaxy-fds-sdk-python | fd6f0203d879effc9db853b2691f0fbb5a46639b | [
"Apache-2.0"
] | 42 | 2015-07-23T07:02:06.000Z | 2022-03-30T09:08:30.000Z | fds/galaxy_fds_client_exception.py | XiaoMi/galaxy-fds-sdk-python | fd6f0203d879effc9db853b2691f0fbb5a46639b | [
"Apache-2.0"
] | 3 | 2017-02-08T09:36:37.000Z | 2020-08-03T02:04:27.000Z | fds/galaxy_fds_client_exception.py | XiaoMi/galaxy-fds-sdk-python | fd6f0203d879effc9db853b2691f0fbb5a46639b | [
"Apache-2.0"
] | 24 | 2016-04-01T12:30:23.000Z | 2022-03-29T02:04:35.000Z | class Error(Exception):
pass
class GalaxyFDSClientException(Error):
def __init__(self, message):
self.message = message
def __str__(self):
if self.message:
return super.__str__(self) + ": " + str(self.message)
return super.__str__(self)
| 20.307692 | 59 | 0.689394 | 31 | 264 | 5.354839 | 0.419355 | 0.26506 | 0.204819 | 0.26506 | 0.349398 | 0.349398 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193182 | 264 | 12 | 60 | 22 | 0.779343 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f1523cfec8010b3f2f3106cfdcde1e212ded6321 | 169 | py | Python | pydm/__init__.py | klauer/pydm | e26aad58a7a0eb6f7321c61aa1dace646ff652bd | [
"BSD-3-Clause-LBNL"
] | null | null | null | pydm/__init__.py | klauer/pydm | e26aad58a7a0eb6f7321c61aa1dace646ff652bd | [
"BSD-3-Clause-LBNL"
] | null | null | null | pydm/__init__.py | klauer/pydm | e26aad58a7a0eb6f7321c61aa1dace646ff652bd | [
"BSD-3-Clause-LBNL"
] | null | null | null | from .application import PyDMApplication
from .display_module import Display
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 28.166667 | 40 | 0.840237 | 21 | 169 | 6.333333 | 0.47619 | 0.24812 | 0.270677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100592 | 169 | 5 | 41 | 33.8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.04142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
f16d7c3c4abfe2a804e295bc8cdc0e175c2e4b80 | 154 | py | Python | nonebot_plugin_bam/database/tables/__init__.py | 7sDream/nonebot_plugin_bam | 9d19856661a75484440efff8d77094390230f4c9 | [
"MIT"
] | 4 | 2021-02-08T16:18:12.000Z | 2021-12-28T07:13:51.000Z | nonebot_plugin_bam/database/tables/__init__.py | 7sDream/nonebot_plugin_bam | 9d19856661a75484440efff8d77094390230f4c9 | [
"MIT"
] | null | null | null | nonebot_plugin_bam/database/tables/__init__.py | 7sDream/nonebot_plugin_bam | 9d19856661a75484440efff8d77094390230f4c9 | [
"MIT"
] | null | null | null | from .group import Group
from .bilibili_user import BilibiliUser
from .bilibili_user_status import BilibiliUserStatus
from .follow_link import FollowLink
| 30.8 | 52 | 0.87013 | 20 | 154 | 6.5 | 0.55 | 0.184615 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 154 | 4 | 53 | 38.5 | 0.942029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f18b6ff773ae02cd6832c359726b64fe98a2e03e | 27 | py | Python | src/euler_python_package/euler_python/medium/p399.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p399.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p399.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem399():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2d1c94a1d48ae7ad0ec8af271a9a8d7c4142ae0c | 10,904 | py | Python | commands.py | xingyousong/ufom | 05684abbaa25a668d9da59c73953f64351717328 | [
"MIT"
] | 4 | 2021-07-08T01:33:26.000Z | 2021-12-14T06:49:18.000Z | commands.py | xingyousong/ufom | 05684abbaa25a668d9da59c73953f64351717328 | [
"MIT"
] | null | null | null | commands.py | xingyousong/ufom | 05684abbaa25a668d9da59c73953f64351717328 | [
"MIT"
] | 1 | 2021-07-07T20:00:19.000Z | 2021-07-07T20:00:19.000Z | all_h_params = []
# Omniglot FOML
for seed in [0, 1, 2]:
for n_classes in [40]:
for inner_iters in [10]:
for prob in [0.0]:
h_params = {
"config.dataset": "omniglot",
"config.seed": seed,
"config.sh... | 42.929134 | 131 | 0.460473 | 1,155 | 10,904 | 4.10303 | 0.066667 | 0.075965 | 0.053176 | 0.05613 | 0.969825 | 0.954843 | 0.946191 | 0.928888 | 0.903144 | 0.895126 | 0 | 0.060895 | 0.41416 | 10,904 | 253 | 132 | 43.098814 | 0.680964 | 0.001192 | 0 | 0 | 0 | 0 | 0.278618 | 0.060475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
747417389c71cff93abb3c57f5fc87081db25816 | 8,503 | py | Python | tests/test_places_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | tests/test_places_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | tests/test_places_api.py | baffolobill/HerePy | c6655e9dfde7a5888cc231d7f9f9e8a888f54dcd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import sys
import io
import unittest
import responses
import codecs
import herepy
class PlacesApiTest(unittest.TestCase):
def setUp(self):
api = herepy.PlacesApi('app_id', 'app_code')
self._api = api
def test_initiation(self):
self.assertIsInstance(sel... | 47.502793 | 105 | 0.671881 | 1,002 | 8,503 | 5.556886 | 0.108782 | 0.028915 | 0.042744 | 0.051904 | 0.864224 | 0.836566 | 0.780352 | 0.748743 | 0.703664 | 0.677622 | 0 | 0.04171 | 0.202046 | 8,503 | 178 | 106 | 47.769663 | 0.778924 | 0.002352 | 0 | 0.641026 | 0 | 0 | 0.192761 | 0.066847 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.121795 | false | 0 | 0.044872 | 0 | 0.173077 | 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 |
747dc047001fb6bb567db3f11651ae2a9ab54840 | 93 | py | Python | src/util.py | m1kit/yalm-resources | d8b7d3ac62da210a2a7dfbeb9dffd7b0ac5514e7 | [
"Apache-2.0"
] | null | null | null | src/util.py | m1kit/yalm-resources | d8b7d3ac62da210a2a7dfbeb9dffd7b0ac5514e7 | [
"Apache-2.0"
] | null | null | null | src/util.py | m1kit/yalm-resources | d8b7d3ac62da210a2a7dfbeb9dffd7b0ac5514e7 | [
"Apache-2.0"
] | null | null | null | import re
def escape_license_id(license: str) -> str:
return re.sub(r'\W', '_', license)
| 15.5 | 43 | 0.666667 | 15 | 93 | 3.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 44 | 18.6 | 0.75641 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 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 |
7762c6330ef370120a5247b9062a569717aeaa4e | 191 | py | Python | cfgparser/matches/physdev.py | jejer/iptables-inspector | 4d05ece83d8eacff7aeb43f8798d7cf6c6bc1d5c | [
"Apache-2.0"
] | null | null | null | cfgparser/matches/physdev.py | jejer/iptables-inspector | 4d05ece83d8eacff7aeb43f8798d7cf6c6bc1d5c | [
"Apache-2.0"
] | null | null | null | cfgparser/matches/physdev.py | jejer/iptables-inspector | 4d05ece83d8eacff7aeb43f8798d7cf6c6bc1d5c | [
"Apache-2.0"
] | null | null | null | # http://ipset.netfilter.org/iptables-extensions.man.html#lbBQ
class physdev(object):
def __init__(self, raw):
pass
def match(self, packet, runner):
return False | 23.875 | 62 | 0.65445 | 24 | 191 | 5.041667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225131 | 191 | 8 | 63 | 23.875 | 0.817568 | 0.308901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
77c6182627d4b26a014b7bb4ca78533257879f3a | 31 | py | Python | src/operations/send_metrics.py | curious95/projektCORM | df03028d9ea6ae30ac29eaaceeea5541536b7754 | [
"Apache-2.0"
] | null | null | null | src/operations/send_metrics.py | curious95/projektCORM | df03028d9ea6ae30ac29eaaceeea5541536b7754 | [
"Apache-2.0"
] | null | null | null | src/operations/send_metrics.py | curious95/projektCORM | df03028d9ea6ae30ac29eaaceeea5541536b7754 | [
"Apache-2.0"
] | null | null | null |
def send_metrics():
pass
| 6.2 | 19 | 0.612903 | 4 | 31 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 31 | 4 | 20 | 7.75 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7af3c96fb1fd5277f6398e3dcf5f31a7afc89586 | 40 | py | Python | repository-miner/processing/__init__.py | INSO-TUWien/portfoliometrix | f01df7c556d3b40bc0668fd49c3961daaa64096f | [
"MIT"
] | null | null | null | repository-miner/processing/__init__.py | INSO-TUWien/portfoliometrix | f01df7c556d3b40bc0668fd49c3961daaa64096f | [
"MIT"
] | null | null | null | repository-miner/processing/__init__.py | INSO-TUWien/portfoliometrix | f01df7c556d3b40bc0668fd49c3961daaa64096f | [
"MIT"
] | null | null | null | from .post_process import PostProcessor
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb05e91caf9e5256d0256b5a57a7aaf893ead682 | 8,346 | py | Python | tests/formats/mysql/file_reader/parsers/test_constraint_foreign.py | cmancone/mygrations | 30d1d568ca7d6c38dbc5211834dd2d04c0bcf078 | [
"MIT"
] | 10 | 2018-04-09T08:39:42.000Z | 2022-03-14T15:36:05.000Z | tests/formats/mysql/file_reader/parsers/test_constraint_foreign.py | cmancone/mygrations | 30d1d568ca7d6c38dbc5211834dd2d04c0bcf078 | [
"MIT"
] | 14 | 2018-05-02T11:14:08.000Z | 2022-01-15T18:48:54.000Z | tests/formats/mysql/file_reader/parsers/test_constraint_foreign.py | cmancone/mygrations | 30d1d568ca7d6c38dbc5211834dd2d04c0bcf078 | [
"MIT"
] | 5 | 2018-07-18T02:20:48.000Z | 2022-02-19T09:32:07.000Z | import unittest
from mygrations.formats.mysql.file_reader.parsers.constraint_foreign import constraint_foreign
class test_constraint_foreign(unittest.TestCase):
def test_simple(self):
# parse a typical foreign key constraint
parser = constraint_foreign()
returned = parser.parse(
... | 44.393617 | 170 | 0.646178 | 965 | 8,346 | 5.511917 | 0.087047 | 0.084602 | 0.118443 | 0.135364 | 0.882121 | 0.871028 | 0.839444 | 0.826471 | 0.803346 | 0.778154 | 0 | 0 | 0.262521 | 8,346 | 187 | 171 | 44.631016 | 0.864175 | 0.088905 | 0 | 0.560284 | 0 | 0.120567 | 0.435522 | 0.017141 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.035461 | false | 0 | 0.014184 | 0 | 0.056738 | 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 |
bb077683b24c7a97a0273ac49f786fd9b053719c | 77 | py | Python | mazzle/command_line.py | samsquire/devops-pipeline | 8df5edfd1932224b5b29eae57c7d64a6fd356f41 | [
"MIT"
] | 13 | 2018-04-03T09:45:53.000Z | 2020-03-19T05:39:17.000Z | mazzle/command_line.py | samsquire/mazzle | 8df5edfd1932224b5b29eae57c7d64a6fd356f41 | [
"MIT"
] | 19 | 2019-10-15T06:53:07.000Z | 2020-08-11T09:12:33.000Z | mazzle/command_line.py | samsquire/mazzle | 8df5edfd1932224b5b29eae57c7d64a6fd356f41 | [
"MIT"
] | 2 | 2019-12-02T16:00:44.000Z | 2020-01-10T12:10:38.000Z | #!/usr/bin env python3
import devops_pipeline
def main():
print("hello")
| 11 | 22 | 0.701299 | 11 | 77 | 4.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.155844 | 77 | 6 | 23 | 12.833333 | 0.8 | 0.272727 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
bb0eaa1cfd27d991d4d5864d85fa5e342dec6868 | 113 | py | Python | src/lib/bver/__init__.py | backboneHQ/bver | c3c929442fadb28a3f39d0ddec19fb2dfc7a4732 | [
"MIT"
] | 1 | 2021-09-09T01:22:37.000Z | 2021-09-09T01:22:37.000Z | src/lib/bver/__init__.py | backboneHQ/bver | c3c929442fadb28a3f39d0ddec19fb2dfc7a4732 | [
"MIT"
] | null | null | null | src/lib/bver/__init__.py | backboneHQ/bver | c3c929442fadb28a3f39d0ddec19fb2dfc7a4732 | [
"MIT"
] | 1 | 2021-09-03T18:45:15.000Z | 2021-09-03T18:45:15.000Z | from . import Versioned
from . import Loader
from .Query import Query, SoftwareNotFoundError, AddonNotFoundError
| 28.25 | 67 | 0.831858 | 12 | 113 | 7.833333 | 0.583333 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 3 | 68 | 37.666667 | 0.949495 | 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 |
bb4648dec1578e3e5aa0c74012719930b1d3e752 | 19 | py | Python | naked/funcs/sklearn/feature_extraction/__init__.py | MaxHalford/naked | f1990a22903db61e6ac74ce1eccf5d43537ebfc4 | [
"MIT"
] | 26 | 2021-02-05T09:46:44.000Z | 2021-11-14T19:40:47.000Z | naked/funcs/sklearn/feature_extraction/__init__.py | MaxHalford/naked | f1990a22903db61e6ac74ce1eccf5d43537ebfc4 | [
"MIT"
] | null | null | null | naked/funcs/sklearn/feature_extraction/__init__.py | MaxHalford/naked | f1990a22903db61e6ac74ce1eccf5d43537ebfc4 | [
"MIT"
] | 1 | 2021-08-19T06:21:28.000Z | 2021-08-19T06:21:28.000Z | from . import text
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24bf37e9d0f194a57291b427fcbb67345e42963b | 105 | py | Python | braintree/apple_pay_options.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 182 | 2015-01-09T05:26:46.000Z | 2022-03-16T14:10:06.000Z | braintree/apple_pay_options.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 95 | 2015-02-24T23:29:56.000Z | 2022-03-13T03:27:58.000Z | braintree/apple_pay_options.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 93 | 2015-02-19T17:59:06.000Z | 2022-03-19T17:01:25.000Z | from braintree.attribute_getter import AttributeGetter
class ApplePayOptions(AttributeGetter):
pass
| 21 | 54 | 0.847619 | 10 | 105 | 8.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 4 | 55 | 26.25 | 0.946237 | 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 |
24cbd59a88f2b201c85a0e180bc9bfa5e1103158 | 92 | py | Python | lightwood/model_building/__init__.py | ritwik12/lightwood | 7975688355fba8b0f8349dd55a1b6cb625c3efd0 | [
"MIT"
] | null | null | null | lightwood/model_building/__init__.py | ritwik12/lightwood | 7975688355fba8b0f8349dd55a1b6cb625c3efd0 | [
"MIT"
] | null | null | null | lightwood/model_building/__init__.py | ritwik12/lightwood | 7975688355fba8b0f8349dd55a1b6cb625c3efd0 | [
"MIT"
] | null | null | null | from lightwood.model_building.basic_ax_optimizer.basic_ax_optimizer import BasicAxOptimizer
| 46 | 91 | 0.923913 | 12 | 92 | 6.666667 | 0.75 | 0.175 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 92 | 1 | 92 | 92 | 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 | 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 |
702eef261f863600fbad754f3872a37fcd3f62e1 | 104 | py | Python | hcipy/interpolation/__init__.py | dskleingeld/hcipy | 85cacfb7a8058506afb288e3acdf3b6059ba2b50 | [
"MIT"
] | 1 | 2020-07-20T23:25:17.000Z | 2020-07-20T23:25:17.000Z | hcipy/interpolation/__init__.py | dskleingeld/hcipy | 85cacfb7a8058506afb288e3acdf3b6059ba2b50 | [
"MIT"
] | null | null | null | hcipy/interpolation/__init__.py | dskleingeld/hcipy | 85cacfb7a8058506afb288e3acdf3b6059ba2b50 | [
"MIT"
] | null | null | null | from .linear import make_linear_interpolator_separated
__all__ = ['make_linear_interpolator_separated'] | 34.666667 | 54 | 0.875 | 12 | 104 | 6.75 | 0.583333 | 0.246914 | 0.54321 | 0.765432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 104 | 3 | 55 | 34.666667 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0.32381 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7033828895ee92e6f059073311b44843db03dd8f | 69 | py | Python | correcao_prova/views.py | WesGtoX/hackribeirao2018 | 65d7f21d131db9f7c90b9f71c4a8a716bd1dfb18 | [
"MIT"
] | null | null | null | correcao_prova/views.py | WesGtoX/hackribeirao2018 | 65d7f21d131db9f7c90b9f71c4a8a716bd1dfb18 | [
"MIT"
] | null | null | null | correcao_prova/views.py | WesGtoX/hackribeirao2018 | 65d7f21d131db9f7c90b9f71c4a8a716bd1dfb18 | [
"MIT"
] | 1 | 2020-04-09T18:45:53.000Z | 2020-04-09T18:45:53.000Z | from django.shortcuts import render
def corrigir(request):
pass | 13.8 | 35 | 0.768116 | 9 | 69 | 5.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 5 | 36 | 13.8 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
706404ebccebf171284617ead3f870c76b3cd553 | 9,784 | py | Python | ResNet/net.py | easilylazy/pattern-recognition | 2b95689bb3f34e4821a0211b19b76164aa6e615f | [
"MIT"
] | 2 | 2021-03-07T14:40:23.000Z | 2021-03-08T08:51:01.000Z | ResNet/net.py | easilylazy/pattern-recognition | 2b95689bb3f34e4821a0211b19b76164aa6e615f | [
"MIT"
] | null | null | null | ResNet/net.py | easilylazy/pattern-recognition | 2b95689bb3f34e4821a0211b19b76164aa6e615f | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
unit_num=2
class DimUnit(nn.Module):
'''
dimension change
'''
def __init__(self,in_channels, out_channels,stride=2):
super(DimUnit,self).__init__()
self.convList=nn.ModuleList()
self.bnList=nn.ModuleList()
... | 32.184211 | 84 | 0.572159 | 1,451 | 9,784 | 3.710544 | 0.06754 | 0.03529 | 0.056835 | 0.057578 | 0.892645 | 0.874257 | 0.816122 | 0.787704 | 0.752972 | 0.745542 | 0 | 0.061027 | 0.293234 | 9,784 | 304 | 85 | 32.184211 | 0.717571 | 0.073692 | 0 | 0.65678 | 0 | 0 | 0.000334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084746 | false | 0 | 0.012712 | 0 | 0.182203 | 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 |
706bbc850cbd81198adf4290ecdbd95d546ac6c4 | 6,686 | py | Python | test/test_convert_u01.py | kryshac/pyembroidery | 54987b6919b99f4c59f6a1b88b99ec5cb635ba71 | [
"MIT"
] | 83 | 2018-08-20T22:52:18.000Z | 2022-03-30T07:44:37.000Z | test/test_convert_u01.py | kryshac/pyembroidery | 54987b6919b99f4c59f6a1b88b99ec5cb635ba71 | [
"MIT"
] | 81 | 2018-08-12T15:43:23.000Z | 2022-01-05T14:59:51.000Z | test/test_convert_u01.py | kryshac/pyembroidery | 54987b6919b99f4c59f6a1b88b99ec5cb635ba71 | [
"MIT"
] | 21 | 2019-02-25T13:31:37.000Z | 2022-03-08T08:44:05.000Z | from __future__ import print_function
import unittest
from pyembroidery import *
from pattern_for_tests import *
class TestConverts(unittest.TestCase):
def position_equals(self, stitches, j, k):
self.assertEqual(stitches[j][:1], stitches[k][:1])
def test_convert_u01_to_u01(self):
file1 = "co... | 39.329412 | 75 | 0.669309 | 874 | 6,686 | 4.813501 | 0.067506 | 0.114096 | 0.076064 | 0.109342 | 0.823865 | 0.819349 | 0.759924 | 0.759924 | 0.759924 | 0.759924 | 0 | 0.055866 | 0.223602 | 6,686 | 170 | 76 | 39.329412 | 0.754575 | 0 | 0 | 0.544218 | 0 | 0 | 0.063706 | 0 | 0 | 0 | 0 | 0 | 0.210884 | 1 | 0.07483 | false | 0 | 0.027211 | 0 | 0.108844 | 0.07483 | 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 |
708180a814ac548e38ad5d4046f901ecedd540ab | 19,411 | py | Python | data/video_preprocessing_script.py | Cli98/industry-action-recg | d47f528d4c3003c52100f0675e43975b23bcc684 | [
"Apache-2.0"
] | null | null | null | data/video_preprocessing_script.py | Cli98/industry-action-recg | d47f528d4c3003c52100f0675e43975b23bcc684 | [
"Apache-2.0"
] | null | null | null | data/video_preprocessing_script.py | Cli98/industry-action-recg | d47f528d4c3003c52100f0675e43975b23bcc684 | [
"Apache-2.0"
] | null | null | null | import cv2
from datetime import datetime, timedelta
from dateutil import parser
from dateutil.parser._parser import ParserError
import os
from glob import glob
from sklearn.model_selection import train_test_split
import numpy as np
import ffmpeg
def check_rotation(path_video_file):
# this returns meta-data of the... | 43.039911 | 123 | 0.573747 | 2,289 | 19,411 | 4.651813 | 0.12145 | 0.020849 | 0.030053 | 0.030053 | 0.80231 | 0.77423 | 0.741266 | 0.729621 | 0.699098 | 0.671394 | 0 | 0.019395 | 0.317346 | 19,411 | 450 | 124 | 43.135556 | 0.784167 | 0.100201 | 0 | 0.761194 | 0 | 0 | 0.071935 | 0.005847 | 0 | 0 | 0 | 0 | 0.01791 | 1 | 0.020896 | false | 0 | 0.026866 | 0.002985 | 0.062687 | 0.050746 | 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 |
563e531a2903eefc2eaa1311b132f087e9e8389f | 40 | py | Python | mailhandler/__init__.py | MailHandler/py-mailhandler | 9d7af60638ac1242b5e74154b744fc0a212f4780 | [
"Apache-2.0"
] | 5 | 2016-10-21T09:15:09.000Z | 2018-09-12T03:53:39.000Z | mailhandler/__init__.py | MailHandler/py-mailhandler | 9d7af60638ac1242b5e74154b744fc0a212f4780 | [
"Apache-2.0"
] | null | null | null | mailhandler/__init__.py | MailHandler/py-mailhandler | 9d7af60638ac1242b5e74154b744fc0a212f4780 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from .core import Client | 20 | 24 | 0.75 | 7 | 40 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.15 | 40 | 2 | 24 | 20 | 0.852941 | 0.325 | 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 |
566a35707e41f121076873eaf15560a9ed0c1848 | 55 | py | Python | torchcv/visualizations/__init__.py | CVHj/torchcv | 6291f3e1e4bbf6467fd6b1e79001d34a59481bb6 | [
"MIT"
] | 433 | 2017-11-30T15:46:58.000Z | 2022-01-16T08:06:11.000Z | torchcv/visualizations/__init__.py | CVHj/torchcv | 6291f3e1e4bbf6467fd6b1e79001d34a59481bb6 | [
"MIT"
] | 51 | 2018-01-29T15:14:33.000Z | 2021-08-23T12:02:18.000Z | fpn-hoi/torchcv/visualizations/__init__.py | TheFairBear/Box-Attention-SSD-HOI | 6101e209a709899c5645342784c8f451028ff46e | [
"MIT"
] | 92 | 2018-01-20T07:45:36.000Z | 2021-05-28T10:43:53.000Z | from torchcv.visualizations.vis_image import vis_image
| 27.5 | 54 | 0.890909 | 8 | 55 | 5.875 | 0.75 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.921569 | 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 |
56a5e5f0686e362dcfeaeae29c1aabb11d7ba2a4 | 186 | py | Python | src/results/__init__.py | iN1k1/deep-pyramidal-representations-peron-re-identification | 18eacd3b7bde2c4767ba290b655cb0f5c72ed8fe | [
"MIT"
] | 13 | 2019-08-09T08:33:27.000Z | 2020-12-21T08:51:33.000Z | src/results/__init__.py | iN1k1/deep-pyramidal-representations-peron-re-identification | 18eacd3b7bde2c4767ba290b655cb0f5c72ed8fe | [
"MIT"
] | 5 | 2021-03-19T02:17:23.000Z | 2022-03-11T23:53:44.000Z | src/results/__init__.py | iN1k1/deep-pyramidal-representations-peron-re-identification | 18eacd3b7bde2c4767ba290b655cb0f5c72ed8fe | [
"MIT"
] | 4 | 2019-11-06T08:02:21.000Z | 2021-01-13T20:34:23.000Z | from .performance import nAUC, get_matching_images
from .reid import ReIDPerformance, ProbePerformance
__all__ = ['nAUC', 'get_matching_images', 'ReIDPerformance', 'ProbePerformance']
| 31 | 80 | 0.806452 | 19 | 186 | 7.473684 | 0.578947 | 0.098592 | 0.211268 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 186 | 5 | 81 | 37.2 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0.291892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b74886246482206eb5e69965e1331e2d4bd8f2f | 125 | py | Python | drill_core/__init__.py | JohnOmernik/jupyter_drill | f5bbeca43e9afcb8222093de9cc0f3dcec256276 | [
"Apache-2.0"
] | 12 | 2018-07-23T17:47:06.000Z | 2021-05-28T13:54:26.000Z | drill_core/__init__.py | JohnOmernik/jupyter_drill | f5bbeca43e9afcb8222093de9cc0f3dcec256276 | [
"Apache-2.0"
] | 7 | 2018-11-19T19:05:47.000Z | 2020-08-28T17:42:34.000Z | drill_core/__init__.py | JohnOmernik/jupyter_drill | f5bbeca43e9afcb8222093de9cc0f3dcec256276 | [
"Apache-2.0"
] | 5 | 2019-01-11T10:19:51.000Z | 2021-04-12T19:50:18.000Z | from integration_core import Integration
from drill_core.drill_base import Drill
from drill_core._version import __version__
| 31.25 | 43 | 0.888 | 18 | 125 | 5.666667 | 0.388889 | 0.176471 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 3 | 44 | 41.666667 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b75e70df3fb127d77e002bfd963ead8a9085323 | 44 | py | Python | src/viz/__init__.py | qshzh/lightning-hydra-template | acf3825676c23ad4cdd3303feebf79d35a6ff748 | [
"Unlicense",
"MIT"
] | 1 | 2021-08-24T02:54:29.000Z | 2021-08-24T02:54:29.000Z | src/viz/__init__.py | qshzh/lightning-hydra-template | acf3825676c23ad4cdd3303feebf79d35a6ff748 | [
"Unlicense",
"MIT"
] | null | null | null | src/viz/__init__.py | qshzh/lightning-hydra-template | acf3825676c23ad4cdd3303feebf79d35a6ff748 | [
"Unlicense",
"MIT"
] | null | null | null | from .wandb_fig import wandb_img, wandb_plt
| 22 | 43 | 0.840909 | 8 | 44 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.871795 | 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 |
3b91456aedbca5f4012d14236786be7d0b45fa46 | 96 | py | Python | venv/lib/python3.8/site-packages/pkg_resources/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pkg_resources/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pkg_resources/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b8/09/cf/abc16c4d71c01071562bb514f4085d363138a394a47e4f02c9f6f3b4ef | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ea8fb800e9c79180ac00bce6431041fe3baf097 | 1,707 | py | Python | eval/migrations/0002_auto_20200512_0327.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 1 | 2021-02-05T19:50:13.000Z | 2021-02-05T19:50:13.000Z | eval/migrations/0002_auto_20200512_0327.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 59 | 2020-06-17T22:21:51.000Z | 2022-02-10T05:00:01.000Z | eval/migrations/0002_auto_20200512_0327.py | dennereed/paleocore | d6da6c39cde96050ee4b9e7213ec1200530cbeee | [
"MIT"
] | 2 | 2020-07-01T14:11:09.000Z | 2020-08-10T17:27:26.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.28 on 2020-05-12 03:27
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('eval', '0001_initial'),
]
operations = [
migrations.AlterField(
... | 41.634146 | 166 | 0.602812 | 170 | 1,707 | 5.929412 | 0.305882 | 0.138889 | 0.208333 | 0.143849 | 0.771825 | 0.771825 | 0.729167 | 0.729167 | 0.678571 | 0.678571 | 0 | 0.02521 | 0.233158 | 1,707 | 40 | 167 | 42.675 | 0.744843 | 0.040422 | 0 | 0.575758 | 1 | 0 | 0.255046 | 0.012844 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d90871961620e014433675a75923c996f16c7a36 | 35 | py | Python | smol/__init__.py | romamartyanov/smol | f24cedfce0f2aeafb2a589c9da52e4a913b431c1 | [
"MIT"
] | 1 | 2021-04-01T12:03:54.000Z | 2021-04-01T12:03:54.000Z | smol/__init__.py | romamartyanov/smol | f24cedfce0f2aeafb2a589c9da52e4a913b431c1 | [
"MIT"
] | null | null | null | smol/__init__.py | romamartyanov/smol | f24cedfce0f2aeafb2a589c9da52e4a913b431c1 | [
"MIT"
] | 1 | 2021-04-01T12:10:40.000Z | 2021-04-01T12:10:40.000Z | from .yolov4_tiny import YoloV4Tiny | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.085714 | 35 | 1 | 35 | 35 | 0.875 | 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 |
d95ade140abfe250261eab407e50f27b968ecd23 | 163 | py | Python | students/admin.py | Davy-71993/MySchool | fa02c8ec19d71873fc0d714cf652d8ad05f2f0e7 | [
"MIT"
] | null | null | null | students/admin.py | Davy-71993/MySchool | fa02c8ec19d71873fc0d714cf652d8ad05f2f0e7 | [
"MIT"
] | null | null | null | students/admin.py | Davy-71993/MySchool | fa02c8ec19d71873fc0d714cf652d8ad05f2f0e7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Student, Subject, Paper
admin.site.register(Student)
admin.site.register(Subject)
admin.site.register(Paper)
| 23.285714 | 43 | 0.815951 | 23 | 163 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08589 | 163 | 6 | 44 | 27.166667 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d967bc1154fa07936e1bee9dd5f8320045c37ede | 257 | py | Python | main.py | isa-vit/CCA-B | 8637e41d4017894acfa17b3bebec4560583a1ffe | [
"MIT"
] | null | null | null | main.py | isa-vit/CCA-B | 8637e41d4017894acfa17b3bebec4560583a1ffe | [
"MIT"
] | null | null | null | main.py | isa-vit/CCA-B | 8637e41d4017894acfa17b3bebec4560583a1ffe | [
"MIT"
] | null | null | null | import db_operations
'''
To read collection
'''
# db_operations.readCompleteData("Events")
'''
To write an event into collection
'''
# db_operations.addNewTechnitude("Events")
'''
To write a whole collection
'''
# db_operations.addCompleteData("Events")
| 15.117647 | 42 | 0.7393 | 29 | 257 | 6.413793 | 0.551724 | 0.258065 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120623 | 257 | 16 | 43 | 16.0625 | 0.823009 | 0.470817 | 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 | 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 |
d984fa75e5d1bde3214bc09abcff676fc184c627 | 370 | py | Python | chapter1/tests/test_chapter1.py | AmatsukiUrato/study_python | e06afbc92a6f112ff9d3159bea4abcca6b17d280 | [
"MIT"
] | null | null | null | chapter1/tests/test_chapter1.py | AmatsukiUrato/study_python | e06afbc92a6f112ff9d3159bea4abcca6b17d280 | [
"MIT"
] | null | null | null | chapter1/tests/test_chapter1.py | AmatsukiUrato/study_python | e06afbc92a6f112ff9d3159bea4abcca6b17d280 | [
"MIT"
] | 1 | 2019-04-11T04:08:03.000Z | 2019-04-11T04:08:03.000Z | import unittest
from chapter1 import question1
class TestChapter1(unittest.TestCase):
def test_calc1(self):
self.assertEqual(question1.calc1(3, 2, 2, 1), 1)
self.assertEqual(question1.calc1(5, 5, 2, 3), 6)
def test_calc2(self):
self.assertEqual(question1.calc2(3, 2, 2, 1), 1)
... | 26.428571 | 56 | 0.659459 | 54 | 370 | 4.481481 | 0.351852 | 0.247934 | 0.396694 | 0.231405 | 0.280992 | 0.239669 | 0.239669 | 0.239669 | 0 | 0 | 0 | 0.112245 | 0.205405 | 370 | 13 | 57 | 28.461538 | 0.710884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.222222 | false | 0 | 0.222222 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d992bfa3f70e0668506503a9520f645c01712ba2 | 29 | py | Python | siggy/__init__.py | Storj/siggy | cf635cca1c5f1b084b5b5e8f789e534c1cfea4b6 | [
"MIT"
] | 4 | 2015-01-03T00:08:03.000Z | 2015-10-10T03:27:15.000Z | siggy/__init__.py | StorjOld/siggy | cf635cca1c5f1b084b5b5e8f789e534c1cfea4b6 | [
"MIT"
] | null | null | null | siggy/__init__.py | StorjOld/siggy | cf635cca1c5f1b084b5b5e8f789e534c1cfea4b6 | [
"MIT"
] | 5 | 2015-03-09T07:03:39.000Z | 2015-09-05T22:52:45.000Z | from .siggy import * # NOQA
| 14.5 | 28 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.863636 | 0.137931 | 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 |
d99431d88b970cdc95b750ccb4c412e52efe3056 | 1,595 | py | Python | tests/test_scale_offset.py | nmandery/rasterio | ba5e90c487bd1930f52e57dba999e889b4df9ade | [
"BSD-3-Clause"
] | 1,479 | 2015-01-10T12:35:07.000Z | 2021-10-18T16:17:15.000Z | tests/test_scale_offset.py | nmandery/rasterio | ba5e90c487bd1930f52e57dba999e889b4df9ade | [
"BSD-3-Clause"
] | 1,819 | 2015-01-06T21:56:25.000Z | 2021-10-20T02:28:27.000Z | tests/test_scale_offset.py | nmandery/rasterio | ba5e90c487bd1930f52e57dba999e889b4df9ade | [
"BSD-3-Clause"
] | 509 | 2015-01-06T20:59:12.000Z | 2021-10-18T14:14:57.000Z | import pytest
import rasterio
from rasterio.profiles import default_gtiff_profile
def test_set_scales(tmpdir):
"""Scales can be set when dataset is open"""
tmptiff = str(tmpdir.join('test.tif'))
with rasterio.open(
tmptiff, 'w', count=3, height=256, width=256,
**default_gtiff_prof... | 32.55102 | 57 | 0.602508 | 219 | 1,595 | 4.296804 | 0.223744 | 0.070138 | 0.100956 | 0.085016 | 0.831031 | 0.77152 | 0.77152 | 0.77152 | 0.77152 | 0.77152 | 0 | 0.046745 | 0.248903 | 1,595 | 48 | 58 | 33.229167 | 0.738731 | 0.097179 | 0 | 0.571429 | 0 | 0 | 0.032417 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.114286 | false | 0 | 0.085714 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7947ebe6d82af84e96e565ed75358755411f84bb | 237 | py | Python | pattern_classes/Engineer.py | Sunuba/PythonStrategyPattern | b0490cf63ecc87562d5fc3ef1f2a152fb97b0a78 | [
"MIT"
] | null | null | null | pattern_classes/Engineer.py | Sunuba/PythonStrategyPattern | b0490cf63ecc87562d5fc3ef1f2a152fb97b0a78 | [
"MIT"
] | null | null | null | pattern_classes/Engineer.py | Sunuba/PythonStrategyPattern | b0490cf63ecc87562d5fc3ef1f2a152fb97b0a78 | [
"MIT"
] | null | null | null | class Engineer:
def __init__(self, height, width, method):
self.method = method
self.height = height
self.width = width
def calculate(self):
return self.method().calculate(self.width, self.height) | 29.625 | 63 | 0.637131 | 28 | 237 | 5.25 | 0.357143 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257384 | 237 | 8 | 63 | 29.625 | 0.835227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 |
7948cdd8b582b2fcd8fce30038647cb2a78a07a2 | 46 | py | Python | miranda/eccc/__init__.py | Ouranosinc/miranda | 5c54767a4e6e6c3c1f638ca0fe22673ea98e2746 | [
"Apache-2.0"
] | 4 | 2019-11-07T17:45:26.000Z | 2021-09-22T18:22:01.000Z | miranda/eccc/__init__.py | Ouranosinc/miranda | 5c54767a4e6e6c3c1f638ca0fe22673ea98e2746 | [
"Apache-2.0"
] | 12 | 2019-09-19T17:05:39.000Z | 2022-03-31T20:26:16.000Z | miranda/eccc/__init__.py | Ouranosinc/miranda | 5c54767a4e6e6c3c1f638ca0fe22673ea98e2746 | [
"Apache-2.0"
] | 1 | 2020-02-01T01:01:22.000Z | 2020-02-01T01:01:22.000Z | from ._raw import *
from ._summaries import *
| 15.333333 | 25 | 0.73913 | 6 | 46 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 26 | 23 | 0.842105 | 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 |
7950c5d229922e5a3130d40ad166807b1b1e793e | 25,099 | py | Python | shed/tests/test_simple.py | st3107/shed-streaming | c632fc465d7e11fe0155fbc3e8add1965615dd51 | [
"BSD-3-Clause"
] | 4 | 2017-09-20T16:26:34.000Z | 2020-03-24T15:51:28.000Z | shed/tests/test_simple.py | st3107/shed-streaming | c632fc465d7e11fe0155fbc3e8add1965615dd51 | [
"BSD-3-Clause"
] | 172 | 2017-07-25T21:36:12.000Z | 2022-02-25T16:05:36.000Z | shed/tests/test_simple.py | st3107/shed-streaming | c632fc465d7e11fe0155fbc3e8add1965615dd51 | [
"BSD-3-Clause"
] | 6 | 2017-08-08T12:39:18.000Z | 2021-03-29T22:28:47.000Z | import operator as op
import time
import uuid
import networkx as nx
import numpy as np
import pytest
from bluesky.plan_stubs import checkpoint, abs_set, trigger_and_read
from bluesky.plans import scan, count
from shed import (
SimpleFromEventStream as FromEventStream,
SimpleToEventStream as ToEventStream,
... | 27.611661 | 79 | 0.538229 | 3,349 | 25,099 | 3.902658 | 0.0851 | 0.023412 | 0.039021 | 0.042158 | 0.805815 | 0.78508 | 0.758837 | 0.734124 | 0.708263 | 0.691431 | 0 | 0.02146 | 0.274075 | 25,099 | 908 | 80 | 27.64207 | 0.695884 | 0.018965 | 0 | 0.667606 | 0 | 0 | 0.123688 | 0 | 0 | 0 | 0 | 0.001101 | 0.152113 | 1 | 0.05493 | false | 0.001408 | 0.019718 | 0 | 0.077465 | 0.039437 | 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 |
7953ce9836a274d9c32140c193b43e238251adbf | 31,921 | py | Python | Incident-Response/Tools/dfirtrack/dfirtrack_artifacts/tests/artifact/test_artifact_exporter_spreadsheet_xls_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 1 | 2021-07-24T17:22:50.000Z | 2021-07-24T17:22:50.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_artifacts/tests/artifact/test_artifact_exporter_spreadsheet_xls_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-28T03:40:31.000Z | 2022-02-28T03:40:52.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_artifacts/tests/artifact/test_artifact_exporter_spreadsheet_xls_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-25T08:34:51.000Z | 2022-03-16T17:29:44.000Z | from datetime import datetime
from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from dfirtrack_artifacts.exporter.spreadsheet.xls import artifact_cron
from dfirtrack_artifacts.models import Artifact, Artifactstatus, Artifacttype
from dfirtrack_config.models i... | 61.268714 | 293 | 0.740986 | 3,656 | 31,921 | 6.134847 | 0.064278 | 0.077578 | 0.095412 | 0.13108 | 0.911454 | 0.907174 | 0.878951 | 0.873779 | 0.872665 | 0.852289 | 0 | 0.022982 | 0.176655 | 31,921 | 520 | 294 | 61.386538 | 0.830416 | 0.10031 | 0 | 0.675287 | 0 | 0 | 0.109741 | 0.054888 | 0 | 0 | 0 | 0 | 0.344828 | 1 | 0.020115 | false | 0.017241 | 0.031609 | 0 | 0.054598 | 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 |
79854d3299a57511d17d5ffae0a25253ce2e269d | 188 | py | Python | part34/blog/forms.py | yllew36/WellyGI | 7d53fac4c81bb994f61b22761e5ac7e48994ade4 | [
"Apache-2.0"
] | 1 | 2019-11-15T08:02:45.000Z | 2019-11-15T08:02:45.000Z | part34/blog/forms.py | yllew36/WellyGI | 7d53fac4c81bb994f61b22761e5ac7e48994ade4 | [
"Apache-2.0"
] | null | null | null | part34/blog/forms.py | yllew36/WellyGI | 7d53fac4c81bb994f61b22761e5ac7e48994ade4 | [
"Apache-2.0"
] | null | null | null | from django import forms
class PostForm(forms.Form):
judul = forms.CharField(max_length=20)
body = forms.CharField(
widget=forms.Textarea)
category = forms.CharField(max_length=20) | 26.857143 | 42 | 0.771277 | 26 | 188 | 5.5 | 0.615385 | 0.293706 | 0.237762 | 0.321678 | 0.34965 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.12234 | 188 | 7 | 42 | 26.857143 | 0.842424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 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 |
79b774d16e635541a0aaeb720b1bb505e26faa7a | 40 | py | Python | docs/19_util/test.py | rasql/turtle-tutorial | 21add97eb5a8e26bf632633256f7bb34053c083a | [
"MIT"
] | null | null | null | docs/19_util/test.py | rasql/turtle-tutorial | 21add97eb5a8e26bf632633256f7bb34053c083a | [
"MIT"
] | null | null | null | docs/19_util/test.py | rasql/turtle-tutorial | 21add97eb5a8e26bf632633256f7bb34053c083a | [
"MIT"
] | null | null | null | x = 123.123
print(f'number = {x:0.1f}') | 13.333333 | 27 | 0.575 | 9 | 40 | 2.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.15 | 40 | 3 | 27 | 13.333333 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8dca71f649f313e8dddc21f39d59919798a51c5e | 5,134 | py | Python | test/web/ui/test_ui.py | StepanBarantsev/course_management | 627d003d8ed63a5cc64485a191c4b98e91796a45 | [
"Apache-2.0"
] | null | null | null | test/web/ui/test_ui.py | StepanBarantsev/course_management | 627d003d8ed63a5cc64485a191c4b98e91796a45 | [
"Apache-2.0"
] | null | null | null | test/web/ui/test_ui.py | StepanBarantsev/course_management | 627d003d8ed63a5cc64485a191c4b98e91796a45 | [
"Apache-2.0"
] | null | null | null | from time import sleep
from test.web.db_helper import create_course, create_student
from web.app.models import Student
def test_edit_profile_data(session, app, user_logined_minimal):
app.courses_page.check_course_table_not_present()
app.navigation_component.check_edit_profile_link_present()
def test_go_by_p... | 37.75 | 114 | 0.784768 | 789 | 5,134 | 4.683143 | 0.103929 | 0.068471 | 0.093369 | 0.073072 | 0.851421 | 0.812991 | 0.749662 | 0.749662 | 0.730176 | 0.730176 | 0 | 0.012692 | 0.125243 | 5,134 | 135 | 115 | 38.02963 | 0.810065 | 0 | 0 | 0.609195 | 0 | 0 | 0.074601 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 1 | 0.08046 | false | 0 | 0.034483 | 0 | 0.114943 | 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 |
8dd389426c0b3f77c8e937de7af389f6af9fe9ac | 23,658 | py | Python | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum40_fixed/Output/Histos/MadAnalysis5job_0/selection_10.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum40_fixed/Output/Histos/MadAnalysis5job_0/selection_10.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/second_sdEta_mjj_optimization/lumi_and_kin_plots/four_cuts_lum40_fixed/Output/Histos/MadAnalysis5job_0/selection_10.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_10():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.li... | 121.948454 | 1,188 | 0.74478 | 4,710 | 23,658 | 3.585775 | 0.162845 | 0.19338 | 0.273551 | 0.34484 | 0.479839 | 0.464563 | 0.457339 | 0.448162 | 0.445912 | 0.443069 | 0 | 0.473282 | 0.069744 | 23,658 | 193 | 1,189 | 122.580311 | 0.29412 | 0.055668 | 0 | 0.185841 | 0 | 0.00885 | 0.046268 | 0.009101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8deea790842711d090ed033e95d8069e6163895f | 24,439 | py | Python | tests/prepare_test.py | DamianPala/pyrepogen | 1626d13875083b4d005b4ae5d68ac35a9879a464 | [
"MIT"
] | null | null | null | tests/prepare_test.py | DamianPala/pyrepogen | 1626d13875083b4d005b4ae5d68ac35a9879a464 | [
"MIT"
] | null | null | null | tests/prepare_test.py | DamianPala/pyrepogen | 1626d13875083b4d005b4ae5d68ac35a9879a464 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pytest
import inspect
import shutil
import stat
import tempfile
from pathlib import Path
from pprint import pprint
from pyrepogen import prepare
from pyrepogen import settings
from pyrepogen import utils
from pyrepogen import PARDIR
from pyrepogen import pygittool... | 35.316474 | 122 | 0.683089 | 2,949 | 24,439 | 5.363174 | 0.073923 | 0.034522 | 0.013657 | 0.022762 | 0.815883 | 0.779148 | 0.763025 | 0.728123 | 0.713012 | 0.696131 | 0 | 0.001647 | 0.204918 | 24,439 | 691 | 123 | 35.367583 | 0.81231 | 0.001719 | 0 | 0.675422 | 0 | 0 | 0.195327 | 0.113712 | 0 | 0 | 0 | 0 | 0.061914 | 1 | 0.035647 | false | 0 | 0.022514 | 0 | 0.067542 | 0.02439 | 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 |
8df8cf209ce48c6ec6c789fdf771d6854d7b94fe | 30 | py | Python | tests/sfko/sfko/util/queue/__init__.py | Public-Cloud-Projects/Zenko | d62a7bad90b69108bbf9ea1cbd2f9b983f1235b7 | [
"Apache-2.0"
] | 453 | 2017-07-11T13:14:05.000Z | 2022-03-31T20:50:01.000Z | tests/sfko/sfko/util/queue/__init__.py | Public-Cloud-Projects/Zenko | d62a7bad90b69108bbf9ea1cbd2f9b983f1235b7 | [
"Apache-2.0"
] | 987 | 2017-07-11T16:56:45.000Z | 2022-03-31T19:36:10.000Z | tests/sfko/sfko/util/queue/__init__.py | Public-Cloud-Projects/Zenko | d62a7bad90b69108bbf9ea1cbd2f9b983f1235b7 | [
"Apache-2.0"
] | 100 | 2017-07-11T16:16:29.000Z | 2022-03-11T15:07:54.000Z | from .client import TaskQueue
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
5c4b2fefe240a58064b2f6f060d54a63e6c3f26c | 80 | py | Python | guet/config/errors.py | sturzl/guet | b8c453f07968b689b303e20e7a31b405c02c54ef | [
"Apache-2.0"
] | 13 | 2018-12-21T22:47:28.000Z | 2021-12-17T14:27:35.000Z | guet/config/errors.py | sturzl/guet | b8c453f07968b689b303e20e7a31b405c02c54ef | [
"Apache-2.0"
] | 63 | 2018-08-30T11:19:12.000Z | 2021-05-13T12:11:08.000Z | guet/config/errors.py | sturzl/guet | b8c453f07968b689b303e20e7a31b405c02c54ef | [
"Apache-2.0"
] | 7 | 2019-05-21T13:52:37.000Z | 2022-01-30T22:57:21.000Z | from guet import GuetError
class AlreadyInitializedError(GuetError):
pass
| 13.333333 | 41 | 0.8 | 8 | 80 | 8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 5 | 42 | 16 | 0.955224 | 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 |
3082b2a859713407c8ec287ebf6723ae7d202211 | 3,060 | py | Python | python/binarytree-traversal/preorder_test.py | gurupratap-matharu/Exercism | a083c8d4bbc10d777524d917329a34e560201c9c | [
"MIT"
] | null | null | null | python/binarytree-traversal/preorder_test.py | gurupratap-matharu/Exercism | a083c8d4bbc10d777524d917329a34e560201c9c | [
"MIT"
] | null | null | null | python/binarytree-traversal/preorder_test.py | gurupratap-matharu/Exercism | a083c8d4bbc10d777524d917329a34e560201c9c | [
"MIT"
] | null | null | null | import unittest
from preorder import Tree, TreeNode
class TreeTests(unittest.TestCase):
"""Test suite for binary tree traversal using recursion and iteration method"""
def test_preorder_recursive_traversal_for_null_binary_tree(self):
root = TreeNode()
self.assertEqual(Tree().preorder_recursi... | 40.263158 | 83 | 0.688562 | 413 | 3,060 | 4.782082 | 0.125908 | 0.055696 | 0.075949 | 0.136709 | 0.919494 | 0.919494 | 0.858734 | 0.826329 | 0.749367 | 0.733165 | 0 | 0.061275 | 0.2 | 3,060 | 75 | 84 | 40.8 | 0.745507 | 0.023856 | 0 | 0.526316 | 0 | 0 | 0.002684 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 1 | 0.175439 | false | 0 | 0.035088 | 0 | 0.22807 | 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 |
308344b006b15036478016fb582c869c0a54fc8d | 2,150 | py | Python | tests/test_upstreams/test_hacker_news.py | SudoQ/rumor | a02a0b8b4ee929d9cd41c33816b1533c24b9cdb3 | [
"MIT"
] | 1 | 2019-09-16T13:57:27.000Z | 2019-09-16T13:57:27.000Z | tests/test_upstreams/test_hacker_news.py | SudoQ/rumor | a02a0b8b4ee929d9cd41c33816b1533c24b9cdb3 | [
"MIT"
] | null | null | null | tests/test_upstreams/test_hacker_news.py | SudoQ/rumor | a02a0b8b4ee929d9cd41c33816b1533c24b9cdb3 | [
"MIT"
] | null | null | null | from unittest.mock import MagicMock, patch
import pytest
from rumor.exceptions import UpstreamError
from rumor.upstreams.hacker_news import (get_news_items,
news_item_source_request)
@patch('rumor.upstreams.hacker_news.requests')
def test_get_news_items_ok(mock_requests):
... | 31.617647 | 94 | 0.749302 | 304 | 2,150 | 4.898026 | 0.171053 | 0.112827 | 0.096709 | 0.080591 | 0.882471 | 0.86501 | 0.840833 | 0.83143 | 0.83143 | 0.83143 | 0 | 0.018569 | 0.148372 | 2,150 | 67 | 95 | 32.089552 | 0.794648 | 0 | 0 | 0.622222 | 0 | 0 | 0.179535 | 0.140465 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.088889 | false | 0 | 0.088889 | 0 | 0.177778 | 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 |
30c1fbf52fa07c2fb65841f1adc873e5a79f3a93 | 123 | py | Python | tests/test_dummy.py | hbredin/pyannote-database | 11d8dcb72e54874fc9437cfbd7d944dcce7e9217 | [
"MIT"
] | 31 | 2018-05-24T11:48:20.000Z | 2022-03-12T12:39:35.000Z | tests/test_dummy.py | hbredin/pyannote-database | 11d8dcb72e54874fc9437cfbd7d944dcce7e9217 | [
"MIT"
] | 59 | 2016-11-17T13:13:11.000Z | 2022-03-16T15:41:12.000Z | tests/test_dummy.py | hbredin/pyannote-database | 11d8dcb72e54874fc9437cfbd7d944dcce7e9217 | [
"MIT"
] | 20 | 2017-07-11T12:43:44.000Z | 2022-03-10T09:50:40.000Z | import pytest
from pyannote.database import get_databases
def test_dummy():
assert isinstance(get_databases(), list)
| 17.571429 | 44 | 0.788618 | 16 | 123 | 5.875 | 0.8125 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 6 | 45 | 20.5 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
eb9e198030ca5b7518fd16d993637a03d898e777 | 31 | py | Python | projects/plyplus/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 25 | 2021-10-30T19:54:59.000Z | 2022-03-29T06:11:02.000Z | projects/plyplus/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 21 | 2021-10-19T01:09:38.000Z | 2022-03-24T16:08:53.000Z | projects/plyplus/test.py | fleimgruber/python | 2e735762c73651cffc027ca850b2a58d87d54b49 | [
"Unlicense"
] | 3 | 2022-01-25T20:25:13.000Z | 2022-03-08T02:58:50.000Z | import examples
import plyplus
| 10.333333 | 15 | 0.870968 | 4 | 31 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 2 | 16 | 15.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69576573117a59862010988dc8a7daa26708b1b8 | 106,207 | py | Python | likeyoubot_blade2.py | dogfooter-master/dogfooter | e1e39375703fe3019af7976f97c44cf2cb7ca0fa | [
"MIT"
] | null | null | null | likeyoubot_blade2.py | dogfooter-master/dogfooter | e1e39375703fe3019af7976f97c44cf2cb7ca0fa | [
"MIT"
] | null | null | null | likeyoubot_blade2.py | dogfooter-master/dogfooter | e1e39375703fe3019af7976f97c44cf2cb7ca0fa | [
"MIT"
] | null | null | null | import likeyoubot_game as lybgame
import likeyoubot_blade2_scene as lybscene
from likeyoubot_configure import LYBConstant as lybconstant
import time
import sys
import tkinter
from tkinter import ttk
from tkinter import font
import copy
class LYBBlade2(lybgame.LYBGame):
work_list = [
'게임 시작',
'로그인'... | 46.176957 | 143 | 0.631437 | 13,180 | 106,207 | 4.722989 | 0.030349 | 0.099182 | 0.106154 | 0.145962 | 0.957236 | 0.949525 | 0.948176 | 0.932738 | 0.901203 | 0.858279 | 0 | 0.014716 | 0.269351 | 106,207 | 2,299 | 144 | 46.197042 | 0.78732 | 0.013351 | 0 | 0.477225 | 0 | 0 | 0.078388 | 0.013224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050318 | false | 0 | 0.004767 | 0 | 0.066737 | 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 |
15d180f8a461d3e19ceedfbc5c8e3b73efe7bda6 | 47 | py | Python | crystalgraph/__init__.py | qai222/CrystalFiniteGraph | 9908da936325a87a81c82773984b54deb26688b7 | [
"MIT"
] | 4 | 2021-08-23T12:19:08.000Z | 2021-09-08T18:09:18.000Z | crystalgraph/__init__.py | qai222/CrystalGraph | 9908da936325a87a81c82773984b54deb26688b7 | [
"MIT"
] | null | null | null | crystalgraph/__init__.py | qai222/CrystalGraph | 9908da936325a87a81c82773984b54deb26688b7 | [
"MIT"
] | null | null | null | from crystalgraph.qgraph import LQG, UQG, LQGeq | 47 | 47 | 0.829787 | 7 | 47 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d68255e827d608cd2ed5a702515c344f9668b306 | 145 | py | Python | Fund/downloader.py | livi2000/FundSpider | c79407241fe189b61afc54dd2e5b73c906aae0b5 | [
"MIT"
] | 3 | 2016-08-17T05:46:34.000Z | 2018-02-06T22:02:42.000Z | Fund/downloader.py | livi2000/FundSpider | c79407241fe189b61afc54dd2e5b73c906aae0b5 | [
"MIT"
] | null | null | null | Fund/downloader.py | livi2000/FundSpider | c79407241fe189b61afc54dd2e5b73c906aae0b5 | [
"MIT"
] | 1 | 2018-06-26T11:03:36.000Z | 2018-06-26T11:03:36.000Z | # -*- coding: utf-8 -*-
from spider_base import SBDownloader
# 目前看来下载器是比较泛用的,毕竟只是单纯的下载静态网页,没有什么动态处理
class FundDownloader(SBDownloader):
pass | 24.166667 | 38 | 0.772414 | 15 | 145 | 7.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.124138 | 145 | 6 | 39 | 24.166667 | 0.866142 | 0.4 | 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 |
d6d3c6992f31b3e028aff4b0157c91a60d1b464e | 118 | py | Python | learn2learn/vision/__init__.py | joemzhao/learn2learn | e161e0a9e0de513d64315c4ceaf2d8608e4cef4d | [
"MIT"
] | null | null | null | learn2learn/vision/__init__.py | joemzhao/learn2learn | e161e0a9e0de513d64315c4ceaf2d8608e4cef4d | [
"MIT"
] | null | null | null | learn2learn/vision/__init__.py | joemzhao/learn2learn | e161e0a9e0de513d64315c4ceaf2d8608e4cef4d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from . import datasets
from . import models
from . import transforms
from . import benchmarks
| 16.857143 | 24 | 0.762712 | 16 | 118 | 5.625 | 0.625 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.161017 | 118 | 6 | 25 | 19.666667 | 0.89899 | 0.177966 | 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 |
d6e414b37b37652f5d12a00e26f9c9cdec0eed76 | 275 | py | Python | Metrics/code/hinge.py | TannerGilbert/Machine-Learning-Explained | 5309f44a38ce862f3f177e8d5de2e60eea44637b | [
"MIT"
] | 24 | 2020-09-14T18:55:13.000Z | 2022-03-22T22:14:30.000Z | Metrics/code/hinge.py | TannerGilbert/Machine-Learning-Explained | 5309f44a38ce862f3f177e8d5de2e60eea44637b | [
"MIT"
] | null | null | null | Metrics/code/hinge.py | TannerGilbert/Machine-Learning-Explained | 5309f44a38ce862f3f177e8d5de2e60eea44637b | [
"MIT"
] | 6 | 2021-02-06T15:34:27.000Z | 2022-01-31T23:16:07.000Z | import numpy as np
class Hinge:
def __call__(self, y: np.ndarray, y_pred: np.ndarray) -> np.float64:
return self.loss(y, y_pred)
def loss(self, y: np.ndarray, y_pred: np.ndarray) -> np.float64:
return np.sum(np.maximum(0, 1 - y * y_pred)) / len(y)
| 27.5 | 72 | 0.629091 | 48 | 275 | 3.4375 | 0.416667 | 0.218182 | 0.084848 | 0.169697 | 0.521212 | 0.521212 | 0.521212 | 0.521212 | 0.521212 | 0.521212 | 0 | 0.028037 | 0.221818 | 275 | 9 | 73 | 30.555556 | 0.742991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ba3b53bcc705b0d4f1b36fa4b96a6eb60938082b | 43 | py | Python | basic/comments/admin.py | neechadi/django-basic-apps | 3a90090857549ea4198a72c44f45f6edb238e2a8 | [
"BSD-3-Clause"
] | 548 | 2015-01-02T21:41:29.000Z | 2022-03-23T09:10:04.000Z | basic/comments/admin.py | neechadi/django-basic-apps | 3a90090857549ea4198a72c44f45f6edb238e2a8 | [
"BSD-3-Clause"
] | 4 | 2015-01-13T16:27:02.000Z | 2016-11-01T01:51:31.000Z | basic/comments/admin.py | neechadi/django-basic-apps | 3a90090857549ea4198a72c44f45f6edb238e2a8 | [
"BSD-3-Clause"
] | 182 | 2015-01-02T21:41:29.000Z | 2021-08-09T07:01:07.000Z | from django.contrib.comments.admin import * | 43 | 43 | 0.837209 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 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 |
ba68a0a8d3e245e5c5a3ac3b7da445a0c374b2ea | 353 | py | Python | agents/random_agent.py | floringogianu/categorical-dqn | eb939785e0e2eea60bbd67abeaedf4a9990fb5ce | [
"MIT"
] | 111 | 2017-07-27T13:19:21.000Z | 2022-01-15T17:52:55.000Z | agents/random_agent.py | floringogianu/categorical-dqn | eb939785e0e2eea60bbd67abeaedf4a9990fb5ce | [
"MIT"
] | 3 | 2017-12-05T07:18:23.000Z | 2018-04-30T00:03:36.000Z | agents/random_agent.py | floringogianu/categorical-dqn | eb939785e0e2eea60bbd67abeaedf4a9990fb5ce | [
"MIT"
] | 12 | 2017-07-31T13:46:25.000Z | 2021-08-23T04:03:19.000Z | from .base_agent import BaseAgent
class RandomAgent(BaseAgent):
def __init__(self, action_space, cmdl):
BaseAgent.__init__(self, action_space)
self.name = "RND_agent"
def evaluate_policy(self, state):
return self.action_space.sample()
def improve_policy(self, _state, _action, re... | 23.533333 | 67 | 0.688385 | 43 | 353 | 5.255814 | 0.55814 | 0.132743 | 0.199115 | 0.168142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21813 | 353 | 14 | 68 | 25.214286 | 0.818841 | 0 | 0 | 0 | 0 | 0 | 0.025496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.111111 | 0.111111 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
baa0c7cbab034dda58a144fb3fae0adcb1c3b72f | 19,698 | py | Python | tests/conftest.py | zreichert/zigzag | a729d33257bcb7c40e7fe8d08bbfb1dfffa25329 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | zreichert/zigzag | a729d33257bcb7c40e7fe8d08bbfb1dfffa25329 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | zreichert/zigzag | a729d33257bcb7c40e7fe8d08bbfb1dfffa25329 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# ======================================================================================================================
# Imports
# ======================================================================================================================
import pytest
pytest_plugins = ['helpers_na... | 43.197368 | 120 | 0.604833 | 2,139 | 19,698 | 5.386629 | 0.106592 | 0.039837 | 0.068044 | 0.043742 | 0.858532 | 0.839958 | 0.774952 | 0.761934 | 0.709599 | 0.702048 | 0 | 0.044048 | 0.220885 | 19,698 | 455 | 121 | 43.292308 | 0.706718 | 0.120824 | 0 | 0.675 | 0 | 0 | 0.088191 | 0.022235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.05 | 0.008333 | 0 | 0.258333 | 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 |
baaa853c801e383a515ed6eb94540014f78e5d86 | 46 | py | Python | simpleoncall/tasks/__init__.py | simpleoncall/simpleoncall | ffc247045c7ce357871899c84fdfc61f4add06a9 | [
"MIT"
] | 1 | 2016-01-11T21:37:44.000Z | 2016-01-11T21:37:44.000Z | simpleoncall/tasks/__init__.py | simpleoncall/simpleoncall | ffc247045c7ce357871899c84fdfc61f4add06a9 | [
"MIT"
] | 48 | 2015-01-04T16:04:20.000Z | 2015-01-25T20:53:49.000Z | simpleoncall/tasks/__init__.py | simpleoncall/simpleoncall | ffc247045c7ce357871899c84fdfc61f4add06a9 | [
"MIT"
] | null | null | null | from simpleoncall.tasks.notificatons import *
| 23 | 45 | 0.847826 | 5 | 46 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2424c314059fab73fa7f405e810fad7517eceecc | 19,428 | py | Python | source/services/taskService.py | hjimmy/glustermg | e43ad5f17b248fa543f0b5d4204baca3c8b18aab | [
"MulanPSL-1.0"
] | null | null | null | source/services/taskService.py | hjimmy/glustermg | e43ad5f17b248fa543f0b5d4204baca3c8b18aab | [
"MulanPSL-1.0"
] | null | null | null | source/services/taskService.py | hjimmy/glustermg | e43ad5f17b248fa543f0b5d4204baca3c8b18aab | [
"MulanPSL-1.0"
] | null | null | null | ###added by jian.hou task operations
import web
import os
import logging
import logging.config
import commands
import re
from scripts.common import XmlHandler, Globals, Utils
db =Globals.db
STATUS_CODE_SUCCESS = "0"
STATUS_CODE_FAILURE = "1"
STATUS_CODE_PART_SUCCESS = "2"
STATUS_CODE_RUNNING = "3"
STATUS_CODE_PAUSE = ... | 48.81407 | 363 | 0.605569 | 1,973 | 19,428 | 5.841358 | 0.099341 | 0.030542 | 0.059176 | 0.046161 | 0.803124 | 0.765553 | 0.734664 | 0.721562 | 0.697007 | 0.687028 | 0 | 0.013887 | 0.288347 | 19,428 | 397 | 364 | 48.937028 | 0.819688 | 0.001699 | 0 | 0.638587 | 0 | 0.005435 | 0.166485 | 0.045235 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.019022 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
24289877dbf235f16399eff9da44e602e2ecace8 | 110 | py | Python | service_skills/helpers.py | muratyaman/service-skills | 1f44c2644621fa52a0892c988693328d2311325c | [
"Unlicense"
] | null | null | null | service_skills/helpers.py | muratyaman/service-skills | 1f44c2644621fa52a0892c988693328d2311325c | [
"Unlicense"
] | null | null | null | service_skills/helpers.py | muratyaman/service-skills | 1f44c2644621fa52a0892c988693328d2311325c | [
"Unlicense"
] | null | null | null | import datetime
def now():
return datetime.datetime.utcnow()
def nowf():
return now().isoformat()
| 11 | 37 | 0.663636 | 13 | 110 | 5.615385 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 110 | 9 | 38 | 12.222222 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
243a25d0b25e8bee7ec8a0a926adf8db7ac273d8 | 199 | py | Python | src/test/test_predict_model.py | tanminghui/changedetection-main | 43899c9959b01da1ddee6b72f075b3fbd0b03423 | [
"MIT"
] | 1 | 2022-01-26T08:45:25.000Z | 2022-01-26T08:45:25.000Z | src/test/test_predict_model.py | tanminghui/changedetection-main | 43899c9959b01da1ddee6b72f075b3fbd0b03423 | [
"MIT"
] | 2 | 2022-01-18T04:51:11.000Z | 2022-01-28T06:54:51.000Z | src/test/test_predict_model.py | tanminghui/changedetection-main | 43899c9959b01da1ddee6b72f075b3fbd0b03423 | [
"MIT"
] | null | null | null | from src.models.predict_model import SampleClass
def test_factorial():
assert SampleClass.factorial(5) == 120
assert SampleClass.factorial(1) == 1
assert SampleClass.summation() == 15
| 22.111111 | 48 | 0.733668 | 24 | 199 | 6 | 0.666667 | 0.354167 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.165829 | 199 | 8 | 49 | 24.875 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
24487036c8d3410fadb1d208b0687d9e6ce4fa59 | 31 | py | Python | database/base/__init__.py | zhouhongf/transfer_database_direct | ca5f1428686d54f496aee55d6c48cfd9403cbcd5 | [
"MIT"
] | 1 | 2021-11-27T06:40:42.000Z | 2021-11-27T06:40:42.000Z | database/base/__init__.py | zhouhongf/transfer_database_direct | ca5f1428686d54f496aee55d6c48cfd9403cbcd5 | [
"MIT"
] | null | null | null | database/base/__init__.py | zhouhongf/transfer_database_direct | ca5f1428686d54f496aee55d6c48cfd9403cbcd5 | [
"MIT"
] | null | null | null | from .transfer import Transfer
| 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 |
245f97ae035050797135422f71e6b7be62cfdc7d | 219 | py | Python | sk6502/__init__.py | skoolkid/sk6502 | a5c1bd1994f06826624e3328f2698707fed1c273 | [
"0BSD"
] | 7 | 2019-10-24T15:55:14.000Z | 2021-01-26T17:44:49.000Z | sk6502/__init__.py | skoolkid/sk6502 | a5c1bd1994f06826624e3328f2698707fed1c273 | [
"0BSD"
] | null | null | null | sk6502/__init__.py | skoolkid/sk6502 | a5c1bd1994f06826624e3328f2698707fed1c273 | [
"0BSD"
] | 1 | 2021-01-29T21:40:40.000Z | 2021-01-29T21:40:40.000Z | from sk6502 import assembler
from sk6502.ctlcomposer import ControlDirectiveComposer
from sk6502 import ctlgenerator
from sk6502.disassembler import Disassembler
from sk6502.instructionutility import InstructionUtility
| 36.5 | 56 | 0.894977 | 23 | 219 | 8.521739 | 0.391304 | 0.255102 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100503 | 0.091324 | 219 | 5 | 57 | 43.8 | 0.884422 | 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 |
034973c1532c63d9fe781a740de0183ffa9279bb | 44 | py | Python | slate/utils/__init__.py | jay3332/Slate | 491835effba0d4a22b08ec689cc530b561f94736 | [
"MIT"
] | null | null | null | slate/utils/__init__.py | jay3332/Slate | 491835effba0d4a22b08ec689cc530b561f94736 | [
"MIT"
] | null | null | null | slate/utils/__init__.py | jay3332/Slate | 491835effba0d4a22b08ec689cc530b561f94736 | [
"MIT"
] | null | null | null | from .backoff import *
from .queue import *
| 14.666667 | 22 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
036c1974b08054bd9bf481591088ab8b03f87c6c | 29 | py | Python | tests/test_bot/src/send_photo/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | tests/test_bot/src/send_photo/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | tests/test_bot/src/send_photo/__init__.py | Ketre3/vkquick | 81b19111e2322d277bfbb89dae6a27fb70a9b8c7 | [
"MIT"
] | null | null | null | from .main import send_photo
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
300762cc5a4b702a50667508bab923914db5ead3 | 94 | py | Python | players/caboose.py | Mego/PyCTF | f850679515ae989e339a7f02b2d095846026a38f | [
"MIT"
] | null | null | null | players/caboose.py | Mego/PyCTF | f850679515ae989e339a7f02b2d095846026a38f | [
"MIT"
] | null | null | null | players/caboose.py | Mego/PyCTF | f850679515ae989e339a7f02b2d095846026a38f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import random
print(random.choice('wmsdp')+random.choice('nesw')) | 18.8 | 51 | 0.702128 | 13 | 94 | 5.076923 | 0.769231 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.106383 | 94 | 5 | 51 | 18.8 | 0.77381 | 0.223404 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
302ff3285d178ef21f674d4851c7576615b62681 | 22,638 | py | Python | kick/device2/asa/actions/asa_ha.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 2 | 2020-02-10T23:36:57.000Z | 2020-03-25T15:46:05.000Z | kick/device2/asa/actions/asa_ha.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-08-07T13:01:32.000Z | 2020-08-07T13:01:32.000Z | kick/device2/asa/actions/asa_ha.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-02-19T13:58:35.000Z | 2020-02-19T13:58:35.000Z | """Copyright (c) 2017 Cisco Systems, Inc.
Name:
asa_ha.py
Usage:
Submodule for Legacy ASA HA.
Author:
raywa
"""
import re
import time
from unicon.eal.dialogs import Dialog
from .constants import ASAHAStates, ASAHALinkNames
class AsaHAActiveStandby():
"""Class ASA active/standby HA
"""
def __... | 40.862816 | 124 | 0.600009 | 2,537 | 22,638 | 5.190382 | 0.091052 | 0.030908 | 0.014809 | 0.013973 | 0.798603 | 0.772555 | 0.741343 | 0.735419 | 0.712637 | 0.703827 | 0 | 0.007091 | 0.314736 | 22,638 | 553 | 125 | 40.936709 | 0.841746 | 0.160792 | 0 | 0.706395 | 0 | 0 | 0.143872 | 0.002295 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0.005814 | 0.011628 | 0 | 0.084302 | 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 |
303f5c3c53ad238e36ad1309574430574eb17f0a | 10,895 | py | Python | website/tests/test_views.py | gbif-norway/resolver-docker | 1119223d8c640627adb6a3c481f03d04cca39804 | [
"Apache-2.0"
] | null | null | null | website/tests/test_views.py | gbif-norway/resolver-docker | 1119223d8c640627adb6a3c481f03d04cca39804 | [
"Apache-2.0"
] | 5 | 2021-02-03T07:24:00.000Z | 2022-02-03T13:57:44.000Z | website/tests/test_views.py | gbif-norway/resolver-docker | 1119223d8c640627adb6a3c481f03d04cca39804 | [
"Apache-2.0"
] | 2 | 2020-11-24T14:23:55.000Z | 2022-02-26T00:32:39.000Z | from website.models import ResolvableObject, Dataset
from populator.models import Statistic
import json
from rest_framework.test import APITestCase
from rest_framework.reverse import reverse
class ResolverViewTests(APITestCase):
def setUp(self):
self.dataset = Dataset.objects.create(id='dataset_id', data=... | 67.253086 | 177 | 0.658192 | 1,254 | 10,895 | 5.623604 | 0.143541 | 0.014748 | 0.038287 | 0.074731 | 0.837777 | 0.802751 | 0.774107 | 0.756523 | 0.704056 | 0.675978 | 0 | 0.051987 | 0.182561 | 10,895 | 161 | 178 | 67.670807 | 0.739838 | 0.018541 | 0 | 0.565217 | 0 | 0.028986 | 0.320891 | 0.1103 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.130435 | false | 0 | 0.036232 | 0 | 0.188406 | 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 |
306164adbda010f4a4bfd0458ae58149fed01af5 | 215 | py | Python | alegra/resources/__init__.py | okchaty/alegra | 6c423b23a24650c9121da5f165f6f03669b98468 | [
"MIT"
] | 1 | 2022-03-31T03:44:50.000Z | 2022-03-31T03:44:50.000Z | alegra/resources/__init__.py | okchaty/alegra | 6c423b23a24650c9121da5f165f6f03669b98468 | [
"MIT"
] | 4 | 2020-03-24T17:54:03.000Z | 2021-06-02T00:48:50.000Z | alegra/resources/__init__.py | okchaty/alegra | 6c423b23a24650c9121da5f165f6f03669b98468 | [
"MIT"
] | null | null | null | from alegra.resources.contact import Contact
from alegra.resources.invoice import Invoice
from alegra.resources.item import Item
from alegra.resources.retention import Retention
from alegra.resources.tax import Tax
| 35.833333 | 48 | 0.860465 | 30 | 215 | 6.166667 | 0.3 | 0.27027 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 215 | 5 | 49 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
065764179f9e1f9242c7ee1dc6e5e8cb0ba2739d | 1,039 | py | Python | tests/conftest.py | connorkendrick/python-codepen | 5fb0465698651281d2df260ec4e32bd31575d59a | [
"MIT"
] | 4 | 2017-10-04T00:55:02.000Z | 2017-10-10T06:17:06.000Z | tests/conftest.py | connorkendrick/python-codepen | 5fb0465698651281d2df260ec4e32bd31575d59a | [
"MIT"
] | null | null | null | tests/conftest.py | connorkendrick/python-codepen | 5fb0465698651281d2df260ec4e32bd31575d59a | [
"MIT"
] | 3 | 2017-10-10T06:17:08.000Z | 2022-03-02T20:23:20.000Z | """This module provides the expected keys for all requests."""
from pytest import fixture
@fixture(scope='module')
def pen_keys():
return ['title', 'details', 'link', 'id', 'views', 'loves',
'comments', 'images', 'user']
@fixture(scope='module')
def post_keys():
return ['title', 'content', 'link',... | 28.861111 | 65 | 0.602502 | 115 | 1,039 | 5.356522 | 0.408696 | 0.136364 | 0.204545 | 0.238636 | 0.435065 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0.179018 | 1,039 | 35 | 66 | 29.685714 | 0.722157 | 0.053898 | 0 | 0.407407 | 0 | 0 | 0.321392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | true | 0 | 0.037037 | 0.259259 | 0.555556 | 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 |
0683ec3285ee1249f5143f7cd57d3344f8b8fe08 | 112 | py | Python | src/setup.py | jeelabs/monty | add6da22dd446cda5e93e023e90520cfdb3fc712 | [
"Unlicense"
] | 11 | 2021-02-02T02:32:50.000Z | 2021-12-30T12:55:41.000Z | src/setup.py | jeelabs/monty | add6da22dd446cda5e93e023e90520cfdb3fc712 | [
"Unlicense"
] | 75 | 2021-01-27T10:53:10.000Z | 2021-06-30T10:59:49.000Z | src/setup.py | jeelabs/monty | add6da22dd446cda5e93e023e90520cfdb3fc712 | [
"Unlicense"
] | 1 | 2021-09-25T11:18:38.000Z | 2021-09-25T11:18:38.000Z | import sys
#print('####################################################', file=sys.stderr)
print('-std=c++11')
| 22.4 | 79 | 0.339286 | 10 | 112 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.053571 | 112 | 4 | 80 | 28 | 0.339623 | 0.232143 | 0 | 0 | 0 | 0 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
06a04eaa9e2d0b5745713e9e05752a296d640048 | 77 | py | Python | umass_toolkit/__init__.py | ranish1/dining-back | 33655fcedbd4d48bb8d27e2c1e582fa5e00d46cc | [
"MIT"
] | 13 | 2018-07-12T20:05:26.000Z | 2021-04-02T18:11:23.000Z | umass_toolkit/__init__.py | ranish1/dining-back | 33655fcedbd4d48bb8d27e2c1e582fa5e00d46cc | [
"MIT"
] | 23 | 2018-06-24T19:54:20.000Z | 2019-04-08T13:51:19.000Z | umass_toolkit/__init__.py | ranish1/dining-back | 33655fcedbd4d48bb8d27e2c1e582fa5e00d46cc | [
"MIT"
] | 6 | 2018-07-12T20:05:37.000Z | 2018-08-27T11:28:46.000Z | from .dining import *
from .people_finder import *
from .deans_list import *
| 19.25 | 28 | 0.766234 | 11 | 77 | 5.181818 | 0.636364 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 29 | 25.666667 | 0.876923 | 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 |
2314150fdd643b91354e52fa0ab2058a3c44a266 | 409 | py | Python | src/blog/redirect_views.py | Vitaldocz/blog | 91997b542def86eee6ad58e25c4dab1ad6e68e99 | [
"MIT"
] | null | null | null | src/blog/redirect_views.py | Vitaldocz/blog | 91997b542def86eee6ad58e25c4dab1ad6e68e99 | [
"MIT"
] | null | null | null | src/blog/redirect_views.py | Vitaldocz/blog | 91997b542def86eee6ad58e25c4dab1ad6e68e99 | [
"MIT"
] | null | null | null | from django.shortcuts import redirect
def redirect_register(request):
return redirect('accounts:register')
def redirect_login(request):
return redirect('accounts:login')
def redirect_logout(request):
return redirect('accounts:logout')
def redirect_reset(request):
return redirect('accounts:resetP... | 18.590909 | 46 | 0.767726 | 45 | 409 | 6.866667 | 0.355556 | 0.177994 | 0.339806 | 0.469256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132029 | 409 | 21 | 47 | 19.47619 | 0.870423 | 0 | 0 | 0 | 0 | 0 | 0.222494 | 0.110024 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.181818 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
232cdfc34338efe77d723fcfc8f83a8cfa99074d | 563 | py | Python | coronapy/lib/color.py | Collector0/coronapy-cli | f60e61de074928834319b8029c02335cedcacdd2 | [
"MIT"
] | 45 | 2020-03-29T02:04:38.000Z | 2021-12-04T20:09:17.000Z | coronapy/lib/color.py | Collector0/coronapy-cli | f60e61de074928834319b8029c02335cedcacdd2 | [
"MIT"
] | 15 | 2020-03-29T10:14:54.000Z | 2020-10-02T19:56:40.000Z | coronapy/lib/color.py | Collector0/coronapy-cli | f60e61de074928834319b8029c02335cedcacdd2 | [
"MIT"
] | 15 | 2020-03-29T10:33:31.000Z | 2021-08-08T16:54:36.000Z | from colorama import init
init()
def prRed(skk):
return "\033[91m {}\033[00m".format(skk)
def prGreen(skk):
return "\033[92m {}\033[00m".format(skk)
def prYellow(skk):
return "\033[93m {}\033[00m".format(skk)
def prLightPurple(skk):
return "\033[94m {}\033[00m".format(skk)
def prPurple(skk):
... | 15.638889 | 44 | 0.630551 | 85 | 563 | 4.176471 | 0.305882 | 0.202817 | 0.270423 | 0.338028 | 0.35493 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170576 | 0.166963 | 563 | 35 | 45 | 16.085714 | 0.586354 | 0 | 0 | 0 | 0 | 0 | 0.269982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.055556 | 0.444444 | 0.944444 | 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 |
235034ddcca88f62f94c8aa39c596c897db8564f | 22,767 | py | Python | Benchmark/bfunctions.py | SooLee/Benchmark | 443d275f4951d986a52d6a49343177efd4d8fe49 | [
"MIT"
] | null | null | null | Benchmark/bfunctions.py | SooLee/Benchmark | 443d275f4951d986a52d6a49343177efd4d8fe49 | [
"MIT"
] | 1 | 2019-06-07T00:52:44.000Z | 2019-06-07T00:52:44.000Z | Benchmark/bfunctions.py | SooLee/Benchmark | 443d275f4951d986a52d6a49343177efd4d8fe49 | [
"MIT"
] | 1 | 2019-10-14T14:50:09.000Z | 2019-10-14T14:50:09.000Z | from Benchmark.byteformat import B2GB, B2MB, MB2GB, GB2MB
from Benchmark.classes import BenchmarkResult
def encode_rnaseq_stranded(input_json):
assert 'input_size_in_bytes' in input_json
r = BenchmarkResult(size=300,
mem=GB2MB(64),
cpu=16,
... | 32.900289 | 105 | 0.659024 | 3,236 | 22,767 | 4.318603 | 0.070457 | 0.111413 | 0.070054 | 0.092737 | 0.829696 | 0.795921 | 0.759928 | 0.732093 | 0.710912 | 0.671986 | 0 | 0.023442 | 0.237405 | 22,767 | 691 | 106 | 32.947902 | 0.781477 | 0.047745 | 0 | 0.627723 | 0 | 0 | 0.167438 | 0.002314 | 0 | 0 | 0 | 0 | 0.146535 | 1 | 0.065347 | false | 0 | 0.00396 | 0.005941 | 0.069307 | 0.00396 | 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 |
88f03befa06eb74d8748b5ba8759d02acc810f0a | 126 | py | Python | passbook/factors/captcha/admin.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/factors/captcha/admin.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/factors/captcha/admin.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | """captcha factor admin"""
from passbook.lib.admin import admin_autoregister
admin_autoregister("passbook_factors_captcha")
| 21 | 49 | 0.825397 | 15 | 126 | 6.666667 | 0.6 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 126 | 5 | 50 | 25.2 | 0.862069 | 0.15873 | 0 | 0 | 0 | 0 | 0.24 | 0.24 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
88f7ce351171bda34919f84a6353d51e34900ec6 | 12,540 | py | Python | ElectroWeakAnalysis/ZEE/python/simpleCutBasedElectronIDSpring10_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | ElectroWeakAnalysis/ZEE/python/simpleCutBasedElectronIDSpring10_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | ElectroWeakAnalysis/ZEE/python/simpleCutBasedElectronIDSpring10_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
## Electron ID Based on Simple Cuts: Spring10 MC tuned selections
#
# Instructions on how to use this file
# ====================================
#
# The selections that are implemented in this python cfg are
# explained in this twiki page:
# https://twiki.cern.ch/twiki/bi... | 76 | 135 | 0.50008 | 1,895 | 12,540 | 3.306596 | 0.095515 | 0.482605 | 0.551548 | 0.505586 | 0.687041 | 0.686882 | 0.686882 | 0.686882 | 0.685605 | 0.669646 | 0 | 0.359228 | 0.281419 | 12,540 | 164 | 136 | 76.463415 | 0.336145 | 0.419936 | 0 | 0.216867 | 0 | 0 | 0.015166 | 0.003339 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012048 | 0 | 0.012048 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0038939c5f0db892859e51eaec9e1461508bf5e4 | 27 | py | Python | bdi/__init__.py | keishinkickback/batch-document-inference | 3529810b02d596dd3cb76df2068682919f2f1857 | [
"MIT"
] | null | null | null | bdi/__init__.py | keishinkickback/batch-document-inference | 3529810b02d596dd3cb76df2068682919f2f1857 | [
"MIT"
] | null | null | null | bdi/__init__.py | keishinkickback/batch-document-inference | 3529810b02d596dd3cb76df2068682919f2f1857 | [
"MIT"
] | null | null | null | from .data import Document
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0042768d6138908c121761f91ad62ea71520820c | 80 | py | Python | Python/Tests/TestData/Grammar/FromFuture25.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Grammar/FromFuture25.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Grammar/FromFuture25.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | from __future__ import with_statement
from __future__ import absolute_import
| 26.666667 | 39 | 0.8625 | 11 | 80 | 5.454545 | 0.636364 | 0.333333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 80 | 2 | 40 | 40 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cc9991cf06d63b6f2e499739b6bff885b48a5c2d | 316 | py | Python | ppq/samples/Imagenet/Utilities/Imagenet/__init__.py | openppl-public/ppq | 0fdea7d4982bc57feb6bb8548c7f012707fbd607 | [
"Apache-2.0"
] | 100 | 2021-12-31T09:34:06.000Z | 2022-03-25T02:54:51.000Z | ppq/samples/Imagenet/Utilities/Imagenet/__init__.py | openppl-public/ppq | 0fdea7d4982bc57feb6bb8548c7f012707fbd607 | [
"Apache-2.0"
] | 12 | 2021-12-31T10:28:15.000Z | 2022-03-31T07:08:44.000Z | ppq/samples/Imagenet/Utilities/Imagenet/__init__.py | openppl-public/ppq | 0fdea7d4982bc57feb6bb8548c7f012707fbd607 | [
"Apache-2.0"
] | 21 | 2021-12-31T09:51:02.000Z | 2022-03-30T12:21:55.000Z | from .imagenet_util import (evaluate_mmlab_module_with_imagenet,
evaluate_onnx_module_with_imagenet,
evaluate_ppq_module_with_imagenet,
evaluate_torch_module_with_imagenet,
load_imagenet_from_directory)
| 52.666667 | 65 | 0.594937 | 28 | 316 | 6 | 0.464286 | 0.238095 | 0.428571 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.382911 | 316 | 5 | 66 | 63.2 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.