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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23e02b42f9834f452d669bf43e6ade3322053afe | 45 | py | Python | cflearn/data/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 400 | 2020-07-05T18:55:49.000Z | 2022-02-21T02:33:08.000Z | cflow/api/cv/data/__init__.py | carefree0910/carefree-flow | 7035015a072cf8142074d01683889f90950d2939 | [
"MIT"
] | 82 | 2020-08-01T13:29:38.000Z | 2021-10-09T07:13:44.000Z | cflearn/data/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 34 | 2020-07-05T21:15:34.000Z | 2021-12-20T08:45:17.000Z | from .core import *
from .interface import *
| 15 | 24 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 25 | 22.5 | 0.891892 | 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 |
9b0d40641bbef7004d990876a4240fcad00c7ef2 | 45 | py | Python | app/users/serializers/__init__.py | InNickF/django-template | a8a9e1e5cd8cf63543cc78ef4fbd6bce060a448b | [
"MIT"
] | 3 | 2020-09-20T11:21:01.000Z | 2021-01-31T18:55:54.000Z | app/users/serializers/__init__.py | InNickF/django-template | a8a9e1e5cd8cf63543cc78ef4fbd6bce060a448b | [
"MIT"
] | 2 | 2020-09-21T09:53:32.000Z | 2021-06-10T19:40:41.000Z | app/users/serializers/__init__.py | InNickF/django-template | a8a9e1e5cd8cf63543cc78ef4fbd6bce060a448b | [
"MIT"
] | 2 | 2021-01-17T20:59:23.000Z | 2021-01-31T18:55:58.000Z | """Users serializers"""
from .users import *
| 15 | 23 | 0.688889 | 5 | 45 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 2 | 24 | 22.5 | 0.794872 | 0.377778 | 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 |
7b0ff51baec4951388f12a5b837fc3652e41ad1a | 9,550 | py | Python | tests/unit/workflows/nodejs_npm/test_actions.py | honey-insurance/aws-lambda-builders | 908ad5f892b9a40ace7181fa53b949511c929055 | [
"Apache-2.0"
] | 180 | 2018-11-09T04:51:19.000Z | 2020-08-06T21:43:20.000Z | tests/unit/workflows/nodejs_npm/test_actions.py | honey-insurance/aws-lambda-builders | 908ad5f892b9a40ace7181fa53b949511c929055 | [
"Apache-2.0"
] | 108 | 2018-11-08T18:34:51.000Z | 2020-08-12T17:59:41.000Z | tests/unit/workflows/nodejs_npm/test_actions.py | honey-insurance/aws-lambda-builders | 908ad5f892b9a40ace7181fa53b949511c929055 | [
"Apache-2.0"
] | 91 | 2018-11-08T22:58:00.000Z | 2020-08-17T21:15:31.000Z | from unittest import TestCase
from mock import patch, call
from parameterized import parameterized
from aws_lambda_builders.actions import ActionFailedError
from aws_lambda_builders.workflows.nodejs_npm.actions import (
NodejsNpmPackAction,
NodejsNpmInstallAction,
NodejsNpmrcAndLockfileCopyAction,
Node... | 40.466102 | 117 | 0.718639 | 1,027 | 9,550 | 6.401168 | 0.133398 | 0.051415 | 0.051719 | 0.075145 | 0.808336 | 0.779586 | 0.764375 | 0.71874 | 0.703681 | 0.670216 | 0 | 0.000381 | 0.174974 | 9,550 | 235 | 118 | 40.638298 | 0.833989 | 0 | 0 | 0.620482 | 0 | 0 | 0.166492 | 0.108168 | 0 | 0 | 0 | 0 | 0.120482 | 1 | 0.090361 | false | 0 | 0.036145 | 0 | 0.162651 | 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 |
9e43cb94c88ac2bd2d63336288831b58d9b57cc0 | 28 | py | Python | simple.py | saivenkat288/goCD-Test | 54cbc274f37d7ef8ecd9de608789ef89a8fb3fa4 | [
"Apache-2.0"
] | 1 | 2021-08-09T10:17:13.000Z | 2021-08-09T10:17:13.000Z | simple.py | saivenkat288/goCD-Test | 54cbc274f37d7ef8ecd9de608789ef89a8fb3fa4 | [
"Apache-2.0"
] | null | null | null | simple.py | saivenkat288/goCD-Test | 54cbc274f37d7ef8ecd9de608789ef89a8fb3fa4 | [
"Apache-2.0"
] | null | null | null | print("Hey, Its working!!")
| 14 | 27 | 0.642857 | 4 | 28 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9e44cd41605a4e45ff04c0276011bf4eae3ea27a | 42 | py | Python | lidardet/datasets/processor/__init__.py | Jiaolong/trajectory-prediction | 3fd4e6253b44dfdc86e7c08e93c002baf66f2e46 | [
"Apache-2.0"
] | 6 | 2021-05-10T09:42:01.000Z | 2022-01-04T08:03:42.000Z | lidardet/datasets/processor/__init__.py | Jiaolong/trajectory-prediction | 3fd4e6253b44dfdc86e7c08e93c002baf66f2e46 | [
"Apache-2.0"
] | 3 | 2021-08-16T02:19:10.000Z | 2022-01-10T02:05:48.000Z | lidardet/datasets/processor/__init__.py | Jiaolong/trajectory-prediction | 3fd4e6253b44dfdc86e7c08e93c002baf66f2e46 | [
"Apache-2.0"
] | 1 | 2021-07-15T00:51:58.000Z | 2021-07-15T00:51:58.000Z | from .data_processor import DataProcessor
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e7e147544db863076beb658f81087becee0b6b7 | 20 | py | Python | examples/py30-0027-type-hints1.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 8 | 2020-11-21T22:39:41.000Z | 2022-03-13T18:45:53.000Z | examples/py30-0027-type-hints1.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 1 | 2021-12-10T10:45:38.000Z | 2021-12-10T10:45:38.000Z | examples/py30-0027-type-hints1.py | jwilk-forks/python-grammar-changes | 5cbc14e520fadfef8539760a4ffdbe14b9d02f39 | [
"MIT"
] | 1 | 2022-02-07T11:16:38.000Z | 2022-02-07T11:16:38.000Z | def f(x: str): pass
| 10 | 19 | 0.6 | 5 | 20 | 2.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9e83d931b3bea5e28898303ee54c401b375ee99a | 33 | py | Python | cw_nets/unet_pytorch.py | dlindenbaum/cw-nets | 141b8f9a01b8f75e6ce34be0e8c8a931d0559b7c | [
"Apache-2.0"
] | 3 | 2018-07-14T07:45:29.000Z | 2019-04-01T15:28:24.000Z | cw_nets/unet_pytorch.py | CosmiQ/cw-nets | 7b78ac7e1f23b512def23ede52663970b2c87d6e | [
"Apache-2.0"
] | 44 | 2018-07-12T17:13:20.000Z | 2019-05-01T16:04:04.000Z | cw_nets/unet_pytorch.py | dlindenbaum/cw-nets | 141b8f9a01b8f75e6ce34be0e8c8a931d0559b7c | [
"Apache-2.0"
] | 1 | 2018-10-13T17:06:20.000Z | 2018-10-13T17:06:20.000Z | print("TODO-Not implemented yet") | 33 | 33 | 0.787879 | 5 | 33 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 33 | 1 | 33 | 33 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7b459dfd9fadfe8508bab4f85b7f513fe02f990e | 61 | py | Python | tests/test_greet.py | terasakisatoshi/pydev_conda | dc26fed9d329a06151354e692c6d18ac342cf08c | [
"MIT"
] | null | null | null | tests/test_greet.py | terasakisatoshi/pydev_conda | dc26fed9d329a06151354e692c6d18ac342cf08c | [
"MIT"
] | null | null | null | tests/test_greet.py | terasakisatoshi/pydev_conda | dc26fed9d329a06151354e692c6d18ac342cf08c | [
"MIT"
] | null | null | null | from pydev_conda import greet
def test_greet():
greet()
| 12.2 | 29 | 0.721311 | 9 | 61 | 4.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 4 | 30 | 15.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b800911d241237bcc706e3f97f87cd8adf0474c | 202 | py | Python | src/utils/build_key.py | VitalyPetrov/asgi-ml | c297df2e3365cb8fd36fb8048db31e8f16d96fe7 | [
"MIT"
] | 1 | 2020-10-09T16:04:43.000Z | 2020-10-09T16:04:43.000Z | src/utils/build_key.py | VitalyPetrov/asgi-ml | c297df2e3365cb8fd36fb8048db31e8f16d96fe7 | [
"MIT"
] | null | null | null | src/utils/build_key.py | VitalyPetrov/asgi-ml | c297df2e3365cb8fd36fb8048db31e8f16d96fe7 | [
"MIT"
] | null | null | null | from hashlib import md5
from typing import Any, Callable
def build_hashkey(func: Callable, *args: Any, **kwargs: Any) -> str:
return md5(kwargs.get("features").json().encode("utf-8")).hexdigest()
| 28.857143 | 73 | 0.707921 | 29 | 202 | 4.896552 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017045 | 0.128713 | 202 | 6 | 74 | 33.666667 | 0.789773 | 0 | 0 | 0 | 0 | 0 | 0.064356 | 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 |
7bc4abcded457e23ca930818e1b41837e22ff7ee | 990 | py | Python | temboo/core/Library/SendGrid/WebAPI/Statistics/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/SendGrid/WebAPI/Statistics/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/SendGrid/WebAPI/Statistics/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.SendGrid.WebAPI.Statistics.GetAllTimeCategoryTotals import GetAllTimeCategoryTotals, GetAllTimeCategoryTotalsInputSet, GetAllTimeCategoryTotalsResultSet, GetAllTimeCategoryTotalsChoreographyExecution
from temboo.Library.SendGrid.WebAPI.Statistics.GetCategoryStatistics import GetCategoryStatistics, G... | 165 | 219 | 0.924242 | 60 | 990 | 15.25 | 0.45 | 0.054645 | 0.092896 | 0.136612 | 0.224044 | 0.224044 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035354 | 990 | 5 | 220 | 198 | 0.958115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c86d74af8a4641dccf7d64383ceba5a0f5ec7b26 | 2,552 | py | Python | day17/program.py | jredzepovic/AoC2020 | aed66e27ea8a3e1f38457f8f8b21f9cdbf4d173d | [
"MIT"
] | null | null | null | day17/program.py | jredzepovic/AoC2020 | aed66e27ea8a3e1f38457f8f8b21f9cdbf4d173d | [
"MIT"
] | null | null | null | day17/program.py | jredzepovic/AoC2020 | aed66e27ea8a3e1f38457f8f8b21f9cdbf4d173d | [
"MIT"
] | null | null | null | from itertools import product
import numpy as np
def extend_grid_3d(current_grid):
x, y, z = [], [], []
for loc in current_grid:
x.append(loc[0])
y.append(loc[1])
z.append(loc[2])
grid = np.meshgrid(
range(min(x) - 1, max(x) + 2),
range(min(y) - 1, max(y) + 2),
... | 31.9 | 115 | 0.519201 | 411 | 2,552 | 3.131387 | 0.172749 | 0.018648 | 0.027972 | 0.018648 | 0.872572 | 0.798757 | 0.700855 | 0.700855 | 0.700855 | 0.700855 | 0 | 0.034871 | 0.303292 | 2,552 | 79 | 116 | 32.303797 | 0.688976 | 0.005094 | 0 | 0.474576 | 0 | 0 | 0.012618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050847 | false | 0 | 0.033898 | 0 | 0.118644 | 0.033898 | 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 |
c8737a92b4e8d950d80241dbe25134323f70c768 | 5,985 | py | Python | scripts/processed_data_generator.py | tugot17/Polish-Parties-Twitter-Activity | 46c92b6a1d7a2d5a57f36b27c8dcb2ac3a5af6ef | [
"MIT"
] | null | null | null | scripts/processed_data_generator.py | tugot17/Polish-Parties-Twitter-Activity | 46c92b6a1d7a2d5a57f36b27c8dcb2ac3a5af6ef | [
"MIT"
] | null | null | null | scripts/processed_data_generator.py | tugot17/Polish-Parties-Twitter-Activity | 46c92b6a1d7a2d5a57f36b27c8dcb2ac3a5af6ef | [
"MIT"
] | null | null | null | from os.path import join, realpath, dirname, exists, basename
from os import makedirs
import pandas as pd
from pandas import CategoricalDtype
from tqdm.auto import tqdm
from .coalitions import coalitions
def generate_number_of_tweets_per_day(df, output_dir):
# exclude retweets
df = df[df.user_rt.isnull()]
... | 37.879747 | 89 | 0.741855 | 878 | 5,985 | 4.611617 | 0.102506 | 0.17387 | 0.147691 | 0.088911 | 0.879476 | 0.868116 | 0.868116 | 0.854779 | 0.841689 | 0.831069 | 0 | 0 | 0.146867 | 5,985 | 158 | 90 | 37.879747 | 0.792989 | 0.008354 | 0 | 0.54717 | 0 | 0 | 0.126939 | 0.055125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.056604 | 0 | 0.132075 | 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 |
c8d59f767d1e53762d773da161d29b34be697973 | 90 | py | Python | kipoiseq/extractors/__init__.py | KalinNonchev/kipoiseq | 38d1134885e401198acd3883286dc55627cf12a6 | [
"MIT"
] | 2 | 2019-12-16T17:13:04.000Z | 2021-07-29T12:05:47.000Z | kipoiseq/extractors/__init__.py | KalinNonchev/kipoiseq | 38d1134885e401198acd3883286dc55627cf12a6 | [
"MIT"
] | 117 | 2020-04-22T12:46:45.000Z | 2021-08-02T04:40:58.000Z | kipoiseq/extractors/__init__.py | KalinNonchev/kipoiseq | 38d1134885e401198acd3883286dc55627cf12a6 | [
"MIT"
] | null | null | null | from .base import *
from .vcf import *
from .vcf_seq import *
from .vcf_matching import *
| 18 | 27 | 0.733333 | 14 | 90 | 4.571429 | 0.428571 | 0.46875 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 4 | 28 | 22.5 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cdd290d17b404d89bee6287777511a63a7408c1a | 363 | py | Python | vesper/command/clip_exporter.py | HaroldMills/NFC | 356b2234dc3c7d180282a597fa1e039ae79e03c6 | [
"MIT"
] | null | null | null | vesper/command/clip_exporter.py | HaroldMills/NFC | 356b2234dc3c7d180282a597fa1e039ae79e03c6 | [
"MIT"
] | 1 | 2015-01-12T12:41:29.000Z | 2015-01-12T12:41:29.000Z | vesper/command/clip_exporter.py | HaroldMills/NFC | 356b2234dc3c7d180282a597fa1e039ae79e03c6 | [
"MIT"
] | null | null | null | class ClipExporter:
clip_query_set_select_related_args = None
def begin_exports(self):
pass
def begin_subset_exports(
self, station, mic_output, date, detector, clip_count):
pass
def export(self, clip):
pass
def end_subset_exports(self):
pass... | 13.961538 | 67 | 0.608815 | 43 | 363 | 4.837209 | 0.534884 | 0.211538 | 0.216346 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327824 | 363 | 25 | 68 | 14.52 | 0.852459 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.384615 | 0 | 0 | 0.538462 | 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 |
a808bef29ee082d73f135a0f9fba51a82693d944 | 215 | py | Python | src/vanchor/resources/__init__.py | AlexAsplund/Vanchor | cb5d1c95567ab9d9bd280e2ca3022e4a2da1fa67 | [
"MIT"
] | 12 | 2021-09-25T01:03:31.000Z | 2022-02-04T09:13:00.000Z | src/vanchor/resources/__init__.py | AlexAsplund/Vanchor | cb5d1c95567ab9d9bd280e2ca3022e4a2da1fa67 | [
"MIT"
] | 13 | 2021-09-20T19:56:50.000Z | 2022-01-10T13:08:32.000Z | src/vanchor/resources/__init__.py | AlexAsplund/Vanchor | cb5d1c95567ab9d9bd280e2ca3022e4a2da1fa67 | [
"MIT"
] | 1 | 2021-10-05T10:49:59.000Z | 2021-10-05T10:49:59.000Z | from .config import *
from .events import *
from .device_manager import *
from .workers import *
from .functions import *
from .tools import *
from .data import *
from .main import *
from .metrics import *
| 21.5 | 30 | 0.706977 | 28 | 215 | 5.392857 | 0.428571 | 0.529801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 215 | 9 | 31 | 23.888889 | 0.888235 | 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 |
a82c56e6c83c863d1bd739fff6aae57a9fa3eee4 | 1,156 | py | Python | src/cosa_constants.py | charleshong3/cosa | 20936a87ced9371736d7280d613821ae8d564fa3 | [
"BSD-2-Clause"
] | 35 | 2021-06-15T17:37:45.000Z | 2022-03-10T10:50:31.000Z | src/cosa_constants.py | charleshong3/cosa | 20936a87ced9371736d7280d613821ae8d564fa3 | [
"BSD-2-Clause"
] | 1 | 2021-08-07T17:52:04.000Z | 2021-09-15T19:35:51.000Z | src/cosa_constants.py | charleshong3/cosa | 20936a87ced9371736d7280d613821ae8d564fa3 | [
"BSD-2-Clause"
] | 7 | 2021-06-18T08:52:54.000Z | 2022-03-08T15:39:40.000Z | #!/usr/bin/env python3
# j=7, v=3, prob - var
_A = [
[1, 0, 0], # R
[1, 0, 0], # S
[0, 1, 1], # P
[0, 1, 1], # Q
[1, 1, 0], # C
[1, 0, 1], # K
[0, 1, 1], # N
]
# assume 6 levels of ranks
# v=3, i=6 var - rank
_B = [
[1, 0, 1, 0, 0, 1], # Weights
[0, 0, 0, 1, 1, 1], # In... | 21.407407 | 36 | 0.304498 | 229 | 1,156 | 1.524017 | 0.170306 | 0.361032 | 0.386819 | 0.366762 | 0.544413 | 0.510029 | 0.487106 | 0.472779 | 0.441261 | 0.441261 | 0 | 0.27663 | 0.455882 | 1,156 | 53 | 37 | 21.811321 | 0.278219 | 0.25173 | 0 | 0.55 | 0 | 0 | 0 | 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 |
b57a3b8bb757613e8cd40079603a5ea0de8841ec | 208 | py | Python | asgi_correlation_id/__init__.py | lakshaythareja/asgi-correlation-id | c8febfdc04191087fb96b8d1843ad80e6f5cd080 | [
"BSD-4-Clause"
] | null | null | null | asgi_correlation_id/__init__.py | lakshaythareja/asgi-correlation-id | c8febfdc04191087fb96b8d1843ad80e6f5cd080 | [
"BSD-4-Clause"
] | null | null | null | asgi_correlation_id/__init__.py | lakshaythareja/asgi-correlation-id | c8febfdc04191087fb96b8d1843ad80e6f5cd080 | [
"BSD-4-Clause"
] | null | null | null | from asgi_correlation_id.log_filters import correlation_id_filter
from asgi_correlation_id.middleware import CorrelationIdMiddleware
__all__ = (
'CorrelationIdMiddleware',
'correlation_id_filter',
)
| 26 | 66 | 0.836538 | 22 | 208 | 7.318182 | 0.5 | 0.322981 | 0.236025 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110577 | 208 | 7 | 67 | 29.714286 | 0.87027 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a92c3b2733eeda494ec4c11450a70b5759d0e42f | 146 | py | Python | python/tom/hmm/__init__.py | m7thon/tom | fde3e934083c8c91256350b00e4128e48b351a8c | [
"MIT"
] | 7 | 2017-10-04T05:41:46.000Z | 2021-07-18T01:31:36.000Z | python/tom/hmm/__init__.py | m7thon/tom | fde3e934083c8c91256350b00e4128e48b351a8c | [
"MIT"
] | 1 | 2021-05-16T16:16:55.000Z | 2021-05-20T09:21:30.000Z | python/tom/hmm/__init__.py | m7thon/tom | fde3e934083c8c91256350b00e4128e48b351a8c | [
"MIT"
] | 1 | 2017-10-04T05:41:59.000Z | 2017-10-04T05:41:59.000Z | from .._tomlib import Hmm, Policy
from ._hmm import random_HMM, convert_HMM_to_OOM, learn_EM
#try:
# from ._hmm import ghmm
#except:
# pass
| 20.857143 | 58 | 0.732877 | 23 | 146 | 4.304348 | 0.652174 | 0.141414 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 146 | 6 | 59 | 24.333333 | 0.825 | 0.308219 | 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 |
a93b1738e39802cd55ad28aad02d09302286e47e | 486 | py | Python | pdf_struct/core/__init__.py | koreyou/pdf-struct | 2a1549f21e63c9291f4daf62d7832b87ab20f7fd | [
"Apache-2.0"
] | 10 | 2021-11-08T14:40:23.000Z | 2022-03-29T13:57:33.000Z | pdf_struct/core/__init__.py | koreyou/pdf-struct | 2a1549f21e63c9291f4daf62d7832b87ab20f7fd | [
"Apache-2.0"
] | 1 | 2022-03-04T11:48:16.000Z | 2022-03-09T15:43:36.000Z | pdf_struct/core/__init__.py | koreyou/pdf-struct | 2a1549f21e63c9291f4daf62d7832b87ab20f7fd | [
"Apache-2.0"
] | 4 | 2021-12-25T22:12:06.000Z | 2022-03-13T17:44:10.000Z | from pdf_struct.core import clustering
from pdf_struct.core import data_statistics
from pdf_struct.core import document
from pdf_struct.core import download
from pdf_struct.core import evaluation
from pdf_struct.core import export
from pdf_struct.core import feature_extractor
from pdf_struct.core import predictor
from ... | 37.384615 | 48 | 0.876543 | 76 | 486 | 5.394737 | 0.263158 | 0.204878 | 0.380488 | 0.497561 | 0.721951 | 0.160976 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 486 | 12 | 49 | 40.5 | 0.936073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d242655e2ddceb02c06b2d36050828ad7b4852f | 31 | py | Python | livecoding/helper.py | akafliegdarmstadt/AkaPythonTutorial | ab05b5e0f00c02526d280d0c567d5192890dc399 | [
"MIT"
] | null | null | null | livecoding/helper.py | akafliegdarmstadt/AkaPythonTutorial | ab05b5e0f00c02526d280d0c567d5192890dc399 | [
"MIT"
] | 1 | 2018-10-15T19:46:45.000Z | 2018-10-15T19:46:45.000Z | livecoding/helper.py | akafliegdarmstadt/AkaPythonTutorial | ab05b5e0f00c02526d280d0c567d5192890dc399 | [
"MIT"
] | 1 | 2018-10-10T18:39:56.000Z | 2018-10-10T18:39:56.000Z | def hallo():
print('hallo') | 15.5 | 18 | 0.580645 | 4 | 31 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 2 | 18 | 15.5 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8d50947ee79bd00367f5849abd72ed9b154daf6b | 16,911 | py | Python | tests/api/online/settings.py | happz/settlers | 961a6d2121ab6e89106f17017f026c60c77f16f9 | [
"MIT"
] | 1 | 2018-11-16T09:41:31.000Z | 2018-11-16T09:41:31.000Z | tests/api/online/settings.py | happz/settlers | 961a6d2121ab6e89106f17017f026c60c77f16f9 | [
"MIT"
] | 15 | 2015-01-07T14:17:36.000Z | 2019-04-29T13:26:43.000Z | tests/api/online/settings.py | happz/settlers | 961a6d2121ab6e89106f17017f026c60c77f16f9 | [
"MIT"
] | null | null | null | """
"""
from tests.online import TestCase
from tests import cmp_json_dicts
import random
class Email(TestCase):
def test_empty_submit(self):
reply = self.query('/settings/email')
cmp_json_dicts(reply, {
'status': 400,
'form': {
'updated_fields': None,
'invalid_field': 'email... | 24.089744 | 148 | 0.486252 | 1,711 | 16,911 | 4.584454 | 0.072472 | 0.054819 | 0.058134 | 0.103774 | 0.920066 | 0.90668 | 0.889087 | 0.849057 | 0.787098 | 0.756119 | 0 | 0.018646 | 0.346697 | 16,911 | 701 | 149 | 24.124108 | 0.691347 | 0 | 0 | 0.631912 | 0 | 0.004739 | 0.28863 | 0.010353 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063191 | false | 0.012638 | 0.004739 | 0.00158 | 0.090047 | 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 |
570113d9e2b2057607af6cf330db571e53552eb1 | 224 | py | Python | confo/Exceptions/EtcdExceptions.py | sambe-consulting/confo | 3def0c151a45aa14849710da0daa678458d24d91 | [
"Apache-2.0"
] | 1 | 2021-03-21T20:55:12.000Z | 2021-03-21T20:55:12.000Z | confo/Exceptions/EtcdExceptions.py | sambe-consulting/confo | 3def0c151a45aa14849710da0daa678458d24d91 | [
"Apache-2.0"
] | 6 | 2021-03-09T01:13:13.000Z | 2021-03-20T05:57:59.000Z | confo/Exceptions/EtcdExceptions.py | sambe-consulting/confo | 3def0c151a45aa14849710da0daa678458d24d91 | [
"Apache-2.0"
] | 1 | 2021-08-24T07:52:35.000Z | 2021-08-24T07:52:35.000Z | class Etcd3HostNotFoundException(Exception):
pass
class Etcd3PortNotFoundException(Exception):
pass
class ConfigurationNotSetException(Exception):
pass
class UnknownFormatInMainNameSpace(Exception):
pass
| 17.230769 | 46 | 0.803571 | 16 | 224 | 11.25 | 0.4375 | 0.288889 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.142857 | 224 | 12 | 47 | 18.666667 | 0.927083 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5712886cfb5a86b05a786ff611bdf6a0db859daa | 33 | py | Python | django_user_agents/tests/__init__.py | claymcenter/django-user_agents | e2a0d92e371446c151b0830a911f44f8253c9376 | [
"MIT"
] | null | null | null | django_user_agents/tests/__init__.py | claymcenter/django-user_agents | e2a0d92e371446c151b0830a911f44f8253c9376 | [
"MIT"
] | null | null | null | django_user_agents/tests/__init__.py | claymcenter/django-user_agents | e2a0d92e371446c151b0830a911f44f8253c9376 | [
"MIT"
] | 1 | 2020-10-21T09:39:35.000Z | 2020-10-21T09:39:35.000Z | from .tests import MiddlewareTest | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 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 |
5740d83f137d1d9e4a0a9cb102eae6bf26695008 | 170 | py | Python | todo_app/admin.py | SpaceWalker0318/Todo-app-backend | b885a0c87e07584b689b2d43d923ce4233fc7738 | [
"MIT"
] | null | null | null | todo_app/admin.py | SpaceWalker0318/Todo-app-backend | b885a0c87e07584b689b2d43d923ce4233fc7738 | [
"MIT"
] | null | null | null | todo_app/admin.py | SpaceWalker0318/Todo-app-backend | b885a0c87e07584b689b2d43d923ce4233fc7738 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from todo_app import models
admin.site.register(models.UserProfile)
admin.site.register(models.TodoItem)
| 18.888889 | 39 | 0.817647 | 24 | 170 | 5.75 | 0.583333 | 0.130435 | 0.246377 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 170 | 8 | 40 | 21.25 | 0.907895 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5744319e78c4f5736d74739e3e78fcd00cdfb614 | 7,274 | py | Python | tests/unit/test_upstream.py | Brickstertwo/git-commands | 87fa9a6573dd426eecece098fbadc3f5550c8976 | [
"MIT"
] | 1 | 2018-10-17T11:09:32.000Z | 2018-10-17T11:09:32.000Z | tests/unit/test_upstream.py | Brickstertwo/git-commands | 87fa9a6573dd426eecece098fbadc3f5550c8976 | [
"MIT"
] | 122 | 2015-01-06T19:10:23.000Z | 2017-09-26T14:22:11.000Z | tests/unit/test_upstream.py | Brickster/git-commands | 87fa9a6573dd426eecece098fbadc3f5550c8976 | [
"MIT"
] | null | null | null | import unittest
import mock
from . import testutils
from ..layers import GitUpstream
from bin.commands import upstream
@mock.patch('bin.commands.utils.git.is_empty_repository', return_value=False)
class TestUpstream(unittest.TestCase):
layer = GitUpstream
@mock.patch('bin.commands.utils.git.current_branch',... | 41.096045 | 136 | 0.726285 | 846 | 7,274 | 5.949173 | 0.109929 | 0.059607 | 0.079475 | 0.083449 | 0.849195 | 0.819591 | 0.796145 | 0.780052 | 0.758196 | 0.758196 | 0 | 0 | 0.173082 | 7,274 | 176 | 137 | 41.329545 | 0.836741 | 0.020484 | 0 | 0.628571 | 0 | 0 | 0.218935 | 0.140462 | 0 | 0 | 0 | 0 | 0.32381 | 1 | 0.085714 | false | 0.009524 | 0.047619 | 0 | 0.152381 | 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 |
93f48fa5d89c272d91b0677c380d31cabfdfdeb2 | 40 | py | Python | pdip/integrator/connection/types/file/connectors/csv/__init__.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/connection/file/connectors/csv/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | null | null | null | pdip/connection/file/connectors/csv/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from .csv_connector import CsvConnector
| 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 |
93fa9bb8e9f862e7049ff821692edf030f9269c2 | 159 | py | Python | psi/app/api/__init__.py | lusi1990/betterlifepsi | 8e7f8562967ab1816d8c25db3251c550a357f39c | [
"MIT"
] | 33 | 2018-10-19T03:41:56.000Z | 2022-01-23T16:26:02.000Z | psi/app/api/__init__.py | lusi1990/betterlifepsi | 8e7f8562967ab1816d8c25db3251c550a357f39c | [
"MIT"
] | 318 | 2018-09-23T15:16:54.000Z | 2022-03-31T22:58:55.000Z | psi/app/api/__init__.py | lusi1990/betterlifepsi | 8e7f8562967ab1816d8c25db3251c550a357f39c | [
"MIT"
] | 19 | 2018-10-22T18:04:18.000Z | 2021-12-06T19:49:05.000Z | # encoding=utf-8
from .sales_order import SalesOrderApi
def init_all_apis(api):
api.add_resource(SalesOrderApi, '/api/sales_order/<int:sales_order_id>')
| 22.714286 | 76 | 0.779874 | 24 | 159 | 4.875 | 0.708333 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.100629 | 159 | 6 | 77 | 26.5 | 0.811189 | 0.08805 | 0 | 0 | 0 | 0 | 0.258741 | 0.258741 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5227c2fa6368b43ec3f026e100c93b81f005a1c | 250 | py | Python | keys.py | lizKimita/Mshauri-Connect | 24f6f67017eebf5ee1d2e08c9bf249108dee28a2 | [
"MIT"
] | 1 | 2019-06-20T08:23:22.000Z | 2019-06-20T08:23:22.000Z | keys.py | lizKimita/Mshauri-Connect | 24f6f67017eebf5ee1d2e08c9bf249108dee28a2 | [
"MIT"
] | 16 | 2019-06-11T14:55:14.000Z | 2021-09-08T01:02:58.000Z | keys.py | lizKimita/Mshauri-Connect | 24f6f67017eebf5ee1d2e08c9bf249108dee28a2 | [
"MIT"
] | null | null | null | business_shortcode = "174379" #lipa na mpesa code
phone_number = "254740392957"
mpesa_passkey = "bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919"
consumer_key = "nJKAXNYR4L0Jo3vbBu5C4oWVWuyASWZK"
consumer_secret = "VirFCmLCWpQVOJL4"
| 41.666667 | 82 | 0.86 | 19 | 250 | 11.052632 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255411 | 0.076 | 250 | 5 | 83 | 50 | 0.65368 | 0.072 | 0 | 0 | 0 | 0 | 0.562771 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f52b4ebc57c5911c5977f8b5074a7be35f7f512d | 43 | py | Python | addons14/base_technical_features/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/base_technical_features/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/base_technical_features/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import test_base_technical_features
| 21.5 | 42 | 0.883721 | 6 | 43 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f535cc78f7f056b66b85171c2e054fe6b54c9f11 | 285 | py | Python | tests/test_10_cfunits.py | shoyer/cfgrib | fe11a1b638b1779e51da87eaa30f1f12b2d0911c | [
"Apache-2.0"
] | null | null | null | tests/test_10_cfunits.py | shoyer/cfgrib | fe11a1b638b1779e51da87eaa30f1f12b2d0911c | [
"Apache-2.0"
] | null | null | null | tests/test_10_cfunits.py | shoyer/cfgrib | fe11a1b638b1779e51da87eaa30f1f12b2d0911c | [
"Apache-2.0"
] | null | null | null |
from __future__ import absolute_import, division, print_function, unicode_literals
from cf2cdm import cfunits
def test_are_convertible():
assert cfunits.are_convertible('m', 'm')
assert cfunits.are_convertible('hPa', 'Pa')
assert not cfunits.are_convertible('m', 'Pa')
| 25.909091 | 82 | 0.757895 | 37 | 285 | 5.513514 | 0.540541 | 0.27451 | 0.308824 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.136842 | 285 | 10 | 83 | 28.5 | 0.825203 | 0 | 0 | 0 | 0 | 0 | 0.035211 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0.166667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f5745f7c2245ec7e9341ca9b8a489b1bd7e8790d | 2,054 | py | Python | dev/Gems/CloudGemMetric/v1/AWS/common-code/AWSCommon/keyparts.py | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | dev/Gems/CloudGemMetric/v1/AWS/common-code/AWSCommon/keyparts.py | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null | dev/Gems/CloudGemMetric/v1/AWS/common-code/AWSCommon/keyparts.py | kostenickj/lumberyard | e881f3023cc1840650eb7b133e605881d1d4330d | [
"AML"
] | null | null | null |
class KeyParts(object):
def __init__(self, key, sep):
self.__key = key
if self.__key.index("/") == 0:
self.__key = self.__key[1:]
self.__parts = self.__key.split(sep)
@property
def sensitivity_level(self):
return self.raw_split(self.key_sen... | 20.54 | 53 | 0.601266 | 259 | 2,054 | 4.490347 | 0.166023 | 0.208083 | 0.216681 | 0.179708 | 0.259673 | 0.259673 | 0.259673 | 0.11006 | 0 | 0 | 0 | 0.010989 | 0.291139 | 2,054 | 100 | 54 | 20.54 | 0.787775 | 0 | 0 | 0.297297 | 0 | 0 | 0.000974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324324 | false | 0 | 0 | 0.310811 | 0.648649 | 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 |
f578b750742d961ce0b0b9703f69ef9ef6507e90 | 7,760 | py | Python | src/network/architecture.py | keyochali/handwritten-text-recognition | b2a26ac47dd6d6e0dfd128d841941db00aece748 | [
"MIT"
] | 2 | 2020-05-11T19:41:11.000Z | 2021-11-08T15:53:45.000Z | src/network/architecture.py | keyochali/handwritten-text-recognition | b2a26ac47dd6d6e0dfd128d841941db00aece748 | [
"MIT"
] | null | null | null | src/network/architecture.py | keyochali/handwritten-text-recognition | b2a26ac47dd6d6e0dfd128d841941db00aece748 | [
"MIT"
] | 1 | 2021-11-06T08:52:24.000Z | 2021-11-06T08:52:24.000Z | """Networks to the Handwritten Text Recognition Model"""
from tensorflow.keras.layers import Input, Conv2D, Bidirectional, LSTM, Dense
from tensorflow.keras.layers import Dropout, BatchNormalization, MaxPooling2D
from tensorflow.keras.layers import Reshape, Activation, LeakyReLU, PReLU
from tensorflow.keras.constraint... | 41.058201 | 116 | 0.672165 | 1,084 | 7,760 | 4.737085 | 0.134686 | 0.072444 | 0.042843 | 0.046738 | 0.819864 | 0.7889 | 0.776631 | 0.769426 | 0.754625 | 0.746835 | 0 | 0.056592 | 0.164304 | 7,760 | 188 | 117 | 41.276596 | 0.734927 | 0.144459 | 0 | 0.693694 | 0 | 0 | 0.027701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.054054 | 0 | 0.108108 | 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 |
1977f951e12f01b6bc1fb379ea50332d6748cac0 | 212 | py | Python | stump/admin/__init__.py | The-Politico/politico-civic-stump | b66f4288841823d327a49563ffbc9ad1c826e247 | [
"MIT"
] | null | null | null | stump/admin/__init__.py | The-Politico/politico-civic-stump | b66f4288841823d327a49563ffbc9ad1c826e247 | [
"MIT"
] | null | null | null | stump/admin/__init__.py | The-Politico/politico-civic-stump | b66f4288841823d327a49563ffbc9ad1c826e247 | [
"MIT"
] | null | null | null | from django.contrib import admin
from stump.models import Appearance, AppearanceType
from .appearance import AppearanceAdmin
admin.site.register(AppearanceType)
admin.site.register(Appearance, AppearanceAdmin)
| 26.5 | 51 | 0.853774 | 24 | 212 | 7.541667 | 0.5 | 0.099448 | 0.187845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 212 | 7 | 52 | 30.285714 | 0.93299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
19824a85fe31a60ed270f2fb4f9df3fd575bf951 | 2,964 | py | Python | Classes/reservations.py | paulmouzas/Projects | cd2f489706bfb39a310d580e000c9f188cb9f305 | [
"MIT"
] | 1 | 2021-02-28T10:32:50.000Z | 2021-02-28T10:32:50.000Z | Classes/reservations.py | paulmouzas/Projects | cd2f489706bfb39a310d580e000c9f188cb9f305 | [
"MIT"
] | null | null | null | Classes/reservations.py | paulmouzas/Projects | cd2f489706bfb39a310d580e000c9f188cb9f305 | [
"MIT"
] | null | null | null | <<<<<<< HEAD
"""
**Airline / Hotel Reservation System** - Create a reservation system which books airline seats or hotel rooms. It charges various rates for particular sections of the plane or hotel. Example, first class is going to cost more than coach.
Hotel rooms have penthouse suites which cost more. Keep track of... | 35.285714 | 237 | 0.66363 | 389 | 2,964 | 4.96401 | 0.290488 | 0.037286 | 0.052822 | 0.035215 | 0.726049 | 0.709477 | 0.709477 | 0.709477 | 0.709477 | 0.709477 | 0 | 0.027559 | 0.228745 | 2,964 | 83 | 238 | 35.710843 | 0.817148 | 0.012483 | 0 | 0.627451 | 0 | 0 | 0.055884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.078431 | null | null | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19935c3e1588ff3638c086ffae6bef0b24a3182f | 26 | py | Python | terrascript/dyn/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/dyn/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/dyn/__init__.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | """2017-11-28 18:07:28"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ff296ee852dc5cd378a67d4a8957e2446b327ee | 193 | py | Python | math/Sequences/ArithematicProgression/AP.py | CarbonDDR/al-go-rithms | 8e65affbe812931b7dde0e2933eb06c0f44b4130 | [
"CC0-1.0"
] | 1,253 | 2017-06-06T07:19:25.000Z | 2022-03-30T17:07:58.000Z | math/Sequences/ArithematicProgression/AP.py | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 554 | 2017-09-29T18:56:01.000Z | 2022-02-21T15:48:13.000Z | math/Sequences/ArithematicProgression/AP.py | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 2,226 | 2017-09-29T19:59:59.000Z | 2022-03-25T08:59:55.000Z | def ap(start,difference,terms):
ans="AP IS : " + str(list(range(start,start+difference*terms,difference)))
return (ans)
def test():
return (ap(2,5,10))
test()
| 17.545455 | 79 | 0.57513 | 26 | 193 | 4.269231 | 0.576923 | 0.27027 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.253886 | 193 | 10 | 80 | 19.3 | 0.743056 | 0 | 0 | 0 | 0 | 0 | 0.043716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2767b08e22c7c155f3af2ccf0e648bb394dea313 | 35 | py | Python | authlib/specs/rfc7519/claims.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-04-26T18:17:37.000Z | 2021-04-28T21:39:45.000Z | authlib/specs/rfc7519/claims.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 4 | 2021-03-19T08:17:59.000Z | 2021-06-10T19:34:36.000Z | authlib/specs/rfc7519/claims.py | tk193192/authlib | 4c60a628f64c6d385a06ea55e416092726b94d07 | [
"BSD-3-Clause"
] | 2 | 2021-05-24T20:34:12.000Z | 2022-03-26T07:46:17.000Z | from authlib.jose import JWTClaims
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 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 |
27a32486a4ec187c578382c7af0a9691fb1d438d | 57,607 | py | Python | auxpm/samplers.py | matt-graham/auxiliary-pm-mcmc | 04e73508c1432ae5ac2fc867a9f794f95ce1d2f8 | [
"MIT"
] | 2 | 2016-01-26T19:59:42.000Z | 2020-07-11T10:26:03.000Z | auxpm/samplers.py | matt-graham/auxiliary-pm-mcmc | 04e73508c1432ae5ac2fc867a9f794f95ce1d2f8 | [
"MIT"
] | null | null | null | auxpm/samplers.py | matt-graham/auxiliary-pm-mcmc | 04e73508c1432ae5ac2fc867a9f794f95ce1d2f8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Auxiliary Pseudo-Marginal Markov chain Monte Carlo samplers
"""
__authors__ = 'Matt Graham'
__copyright__ = 'Copyright 2015, Matt Graham'
__license__ = 'MIT'
import numpy as np
import mcmc_updates as mcmc
class BaseAdaptiveMHSampler(object):
""" Base class for adaptive Metropolis Has... | 49.40566 | 79 | 0.641971 | 7,401 | 57,607 | 4.816376 | 0.060262 | 0.020199 | 0.015514 | 0.014784 | 0.864164 | 0.852129 | 0.840291 | 0.831313 | 0.819615 | 0.809376 | 0 | 0.003054 | 0.300936 | 57,607 | 1,165 | 80 | 49.448069 | 0.882099 | 0.633951 | 0 | 0.697987 | 0 | 0 | 0.007457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.110738 | false | 0 | 0.006711 | 0 | 0.218121 | 0.010067 | 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 |
fd6a1be517a6b33b0fe1a38cba9957c136ed08ad | 37 | py | Python | python-logging/mymodule/sub/__init__.py | cgt212/example-code | 739dadc5003b0a1f82cc05b3f40c168659ed31f3 | [
"Apache-2.0"
] | null | null | null | python-logging/mymodule/sub/__init__.py | cgt212/example-code | 739dadc5003b0a1f82cc05b3f40c168659ed31f3 | [
"Apache-2.0"
] | null | null | null | python-logging/mymodule/sub/__init__.py | cgt212/example-code | 739dadc5003b0a1f82cc05b3f40c168659ed31f3 | [
"Apache-2.0"
] | null | null | null | from mymodule.sub.thing import Thing
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fda5205a76f7338320e3c6b08c4926f4b6fd1878 | 21 | py | Python | ptfit/__init__.py | msyriac/ptfit | 84a002f6cf0ff47a22e4c374d0b336d57e030b35 | [
"BSD-2-Clause"
] | null | null | null | ptfit/__init__.py | msyriac/ptfit | 84a002f6cf0ff47a22e4c374d0b336d57e030b35 | [
"BSD-2-Clause"
] | null | null | null | ptfit/__init__.py | msyriac/ptfit | 84a002f6cf0ff47a22e4c374d0b336d57e030b35 | [
"BSD-2-Clause"
] | null | null | null | from .ptfit import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
fdae93356ff62838465860e6c8bd4f30ee438e5d | 193 | py | Python | profiles_api/admin.py | csilouanos/profiles-reset-api | 919648b82853d22c99dc54e54f4dcaa91964c527 | [
"MIT"
] | null | null | null | profiles_api/admin.py | csilouanos/profiles-reset-api | 919648b82853d22c99dc54e54f4dcaa91964c527 | [
"MIT"
] | null | null | null | profiles_api/admin.py | csilouanos/profiles-reset-api | 919648b82853d22c99dc54e54f4dcaa91964c527 | [
"MIT"
] | null | null | null | from django.contrib import admin
from profiles_api import models
# Registers the UserProfile model as admin
admin.site.register(models.UserProfile)
admin.site.register(models.ProfileFeedItem)
| 27.571429 | 43 | 0.84456 | 26 | 193 | 6.230769 | 0.615385 | 0.111111 | 0.209877 | 0.283951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093264 | 193 | 6 | 44 | 32.166667 | 0.925714 | 0.207254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a9044a1a633ca05906619be6044590be0cec74b6 | 155 | py | Python | tests/test_regex2.py | mannuan/dspider | bf1bbad375b3b61f800cb25d1c839659a66f3e12 | [
"Apache-2.0"
] | 15 | 2018-05-12T17:15:59.000Z | 2020-09-06T04:32:47.000Z | tests/test_regex2.py | mannuan/dspider | bf1bbad375b3b61f800cb25d1c839659a66f3e12 | [
"Apache-2.0"
] | null | null | null | tests/test_regex2.py | mannuan/dspider | bf1bbad375b3b61f800cb25d1c839659a66f3e12 | [
"Apache-2.0"
] | 2 | 2018-06-29T00:44:52.000Z | 2020-07-07T01:58:03.000Z | # -*- coding:utf-8 -*-
import re
_str = '奥斯卡级hi空间大撒545谎单价(8)'
print(re.sub(r'([^(]+)\([^)]+\)',r'\1',_str))
print(re.sub(r'[^(]+\(([^)]+)\)',r'\1',_str))
| 22.142857 | 45 | 0.470968 | 22 | 155 | 3.181818 | 0.5 | 0.2 | 0.285714 | 0.314286 | 0.457143 | 0.457143 | 0.457143 | 0 | 0 | 0 | 0 | 0.048951 | 0.077419 | 155 | 6 | 46 | 25.833333 | 0.440559 | 0.129032 | 0 | 0 | 0 | 0 | 0.413534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e3000309b23a18d7ba6afdb32965ac922810c4dc | 52,614 | py | Python | dlkit/json_/assessment_authoring/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/json_/assessment_authoring/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/json_/assessment_authoring/managers.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """JSON implementations of assessment.authoring managers."""
# pylint: disable=no-init
# Numerous classes don't require __init__.
# pylint: disable=too-many-public-methods,too-few-public-methods
# Number of methods are defined in specification
# pylint: disable=protected-access
# Access to protected method... | 47.272237 | 161 | 0.682233 | 5,582 | 52,614 | 6.227875 | 0.039592 | 0.077724 | 0.054424 | 0.021632 | 0.960678 | 0.951818 | 0.938097 | 0.907749 | 0.877085 | 0.861495 | 0 | 0 | 0.231345 | 52,614 | 1,112 | 162 | 47.314748 | 0.859601 | 0.604706 | 0 | 0.541667 | 0 | 0 | 0.039497 | 0.028708 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185606 | false | 0 | 0.034091 | 0 | 0.473485 | 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 |
e32de162c339beb09a447120cd19afe54eb08cc3 | 7,364 | py | Python | resolution_dim_multiple.py | Theme-Maths/MultipleDegree-DifferentialEquationsSolver | 8400c4d72ca9377ff46a64f16ac60c33b7bb3f44 | [
"MIT"
] | null | null | null | resolution_dim_multiple.py | Theme-Maths/MultipleDegree-DifferentialEquationsSolver | 8400c4d72ca9377ff46a64f16ac60c33b7bb3f44 | [
"MIT"
] | null | null | null | resolution_dim_multiple.py | Theme-Maths/MultipleDegree-DifferentialEquationsSolver | 8400c4d72ca9377ff46a64f16ac60c33b7bb3f44 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Ce fichier est chargé de résoudre les ED de dimension n, et d'interfacer les entrées utilisateur.
Contient les fonctions de résolution à plusieurs dimensions :
- solution_dim_2(g, y0, yp0, t0, T, h, methode='rk4')
- solution_dim_n(g, Y0, t0, T, h, methode='rk4')
- sol_exa... | 37.005025 | 144 | 0.573873 | 1,148 | 7,364 | 3.621951 | 0.158537 | 0.023088 | 0.031265 | 0.011544 | 0.810005 | 0.807359 | 0.797018 | 0.783069 | 0.761424 | 0.745551 | 0 | 0.051482 | 0.285171 | 7,364 | 198 | 145 | 37.191919 | 0.738412 | 0.682238 | 0 | 0.577778 | 0 | 0 | 0.087493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.177778 | false | 0 | 0.088889 | 0 | 0.488889 | 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 |
e3390e58dea4abbe0459fa110eba1be9496fe02a | 61 | py | Python | test.py | nsde/TPReplace | d3e8b6db420da49c34d17369b9753fe8ed1a92e4 | [
"MIT"
] | null | null | null | test.py | nsde/TPReplace | d3e8b6db420da49c34d17369b9753fe8ed1a92e4 | [
"MIT"
] | null | null | null | test.py | nsde/TPReplace | d3e8b6db420da49c34d17369b9753fe8ed1a92e4 | [
"MIT"
] | null | null | null | import os
print(os.listdir(r"C:\Users\xitzf\Desktop\blocks")) | 30.5 | 51 | 0.770492 | 11 | 61 | 4.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 61 | 2 | 51 | 30.5 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0.467742 | 0.467742 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e33950bc8e0c5c69941aec80d91f16cd580e8ffa | 24 | py | Python | confrm/__init__.py | confrm/confrm | 7d2b0b2f5efac243d9877509684d71acf4816dd6 | [
"Apache-2.0"
] | 1 | 2021-04-15T05:55:42.000Z | 2021-04-15T05:55:42.000Z | confrm/__init__.py | confrm/confrm | 7d2b0b2f5efac243d9877509684d71acf4816dd6 | [
"Apache-2.0"
] | 33 | 2020-12-23T19:44:41.000Z | 2021-01-26T20:53:01.000Z | confrm/__init__.py | confrm/confrm | 7d2b0b2f5efac243d9877509684d71acf4816dd6 | [
"Apache-2.0"
] | 1 | 2021-01-07T11:06:35.000Z | 2021-01-07T11:06:35.000Z | from .confrm import APP
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e34c82bcbb0b62e20773fb195f17e0a49e8b4f1e | 37 | py | Python | ncc/callbacks/__init__.py | NCC-AI/ncc | c53379abcb21eb18268591239d02f69a148df6c5 | [
"MIT"
] | null | null | null | ncc/callbacks/__init__.py | NCC-AI/ncc | c53379abcb21eb18268591239d02f69a148df6c5 | [
"MIT"
] | null | null | null | ncc/callbacks/__init__.py | NCC-AI/ncc | c53379abcb21eb18268591239d02f69a148df6c5 | [
"MIT"
] | null | null | null | from .callbacks import slack_logging
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e366f18dda2c3c4e031ce91ba556ac9380962e56 | 81 | py | Python | fsm_eigenvalue/compute/__init__.py | petarmaric/fsm_eigenvalue | d4ca102cf2920ca41d31085f9e4bf1866d06a320 | [
"BSD-3-Clause"
] | 1 | 2021-03-09T13:16:17.000Z | 2021-03-09T13:16:17.000Z | fsm_eigenvalue/compute/__init__.py | petarmaric/fsm_eigenvalue | d4ca102cf2920ca41d31085f9e4bf1866d06a320 | [
"BSD-3-Clause"
] | null | null | null | fsm_eigenvalue/compute/__init__.py | petarmaric/fsm_eigenvalue | d4ca102cf2920ca41d31085f9e4bf1866d06a320 | [
"BSD-3-Clause"
] | null | null | null | from .core import perform_iteration
from .parameter_sweep import parameter_sweep
| 27 | 44 | 0.876543 | 11 | 81 | 6.181818 | 0.636364 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 2 | 45 | 40.5 | 0.931507 | 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 |
e3754bd635c94dad3d8bd69c188f3201731bfdae | 119 | py | Python | src/blog/views.py | hamdyadam97/blog-django-ar | 2e2fec47cfe149c904f822503272a4b2fd90de0d | [
"bzip2-1.0.6"
] | null | null | null | src/blog/views.py | hamdyadam97/blog-django-ar | 2e2fec47cfe149c904f822503272a4b2fd90de0d | [
"bzip2-1.0.6"
] | null | null | null | src/blog/views.py | hamdyadam97/blog-django-ar | 2e2fec47cfe149c904f822503272a4b2fd90de0d | [
"bzip2-1.0.6"
] | null | null | null | from django.shortcuts import render
def home(request):
return render(request,'blog/index.html',{'title':'home'})
| 19.833333 | 61 | 0.722689 | 16 | 119 | 5.375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 62 | 23.8 | 0.819048 | 0 | 0 | 0 | 0 | 0 | 0.201681 | 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 |
8b696220b30c44fa269683be7b2dd86ec1a5e98c | 114 | py | Python | pyquadfilter/__init__.py | Kurene/pyquadfilter | 89f678bd845fac556b46640e346b5503803e0e0d | [
"MIT"
] | 1 | 2021-09-24T07:32:16.000Z | 2021-09-24T07:32:16.000Z | pyquadfilter/__init__.py | Kurene/pyquadfilter | 89f678bd845fac556b46640e346b5503803e0e0d | [
"MIT"
] | null | null | null | pyquadfilter/__init__.py | Kurene/pyquadfilter | 89f678bd845fac556b46640e346b5503803e0e0d | [
"MIT"
] | null | null | null | """Top-level module for pyquadfilter"""
from .core import PyQuadFilter
from .plot import plot_frequency_response
| 22.8 | 41 | 0.807018 | 15 | 114 | 6 | 0.733333 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 114 | 4 | 42 | 28.5 | 0.891089 | 0.289474 | 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 |
8b711a23a662358ce47d2c710fe2ea644098d61e | 27 | py | Python | treeHandler/__init__.py | Sreekiranar/tree-handler | 3ceadfd0a50d2f02861531fcf693cd5c343c398c | [
"MIT"
] | 1 | 2020-02-13T06:55:16.000Z | 2020-02-13T06:55:16.000Z | treeHandler/__init__.py | Sreekiranar/treeHandler | 3ceadfd0a50d2f02861531fcf693cd5c343c398c | [
"MIT"
] | null | null | null | treeHandler/__init__.py | Sreekiranar/treeHandler | 3ceadfd0a50d2f02861531fcf693cd5c343c398c | [
"MIT"
] | null | null | null | from .treeHandler import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
8b8e521094722ff54569862900116d59450bb130 | 48 | py | Python | detection/keypoint/__init__.py | corenel/auto-traffic-camera-calib | a81d52b3a21b7cef37006cc93f764d93807293b0 | [
"MIT"
] | 3 | 2020-11-27T08:26:12.000Z | 2021-08-24T02:53:45.000Z | detection/keypoint/__init__.py | corenel/auto-traffic-camera-calib | a81d52b3a21b7cef37006cc93f764d93807293b0 | [
"MIT"
] | 1 | 2021-07-17T20:15:59.000Z | 2021-07-17T20:15:59.000Z | detection/keypoint/__init__.py | corenel/auto-traffic-camera-calib | a81d52b3a21b7cef37006cc93f764d93807293b0 | [
"MIT"
] | null | null | null | from .keypoint_detector import KeypointDetector
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8bb7e35b22c001f952f06596fa9c83016c3cf865 | 7,544 | py | Python | symmetry_functions.py | haakonvt/LearningTensorFlow | 6988a15af2ac916ae1a5e23b2c5bde9630cc0519 | [
"MIT"
] | 5 | 2018-09-06T12:52:12.000Z | 2020-05-09T01:40:12.000Z | symmetry_functions.py | haakonvt/LearningTensorFlow | 6988a15af2ac916ae1a5e23b2c5bde9630cc0519 | [
"MIT"
] | null | null | null | symmetry_functions.py | haakonvt/LearningTensorFlow | 6988a15af2ac916ae1a5e23b2c5bde9630cc0519 | [
"MIT"
] | 4 | 2018-02-06T08:42:06.000Z | 2019-04-16T11:23:06.000Z | from math import exp,cos,pi,tanh,sqrt # Faster than numpy for scalars
import numpy as np
"""
#################
The cutoff functions
#################
"""
def cutoff_tanh(r,rc):
"""
Can take scalar and vector input of r and evaluate the cutoff function
"""
if type(r) == int:
if r <= rc:
... | 32.239316 | 97 | 0.568399 | 1,183 | 7,544 | 3.459003 | 0.144548 | 0.020528 | 0.058651 | 0.030792 | 0.812072 | 0.745112 | 0.732893 | 0.722141 | 0.687439 | 0.687439 | 0 | 0.033073 | 0.270546 | 7,544 | 233 | 98 | 32.377682 | 0.710522 | 0.08868 | 0 | 0.640625 | 0 | 0 | 0.009541 | 0 | 0 | 0 | 0 | 0.004292 | 0 | 0 | null | null | 0 | 0.015625 | null | null | 0.007813 | 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 |
8bbe6d5e2e40ba5708d40eec499289daf2f9bd49 | 5,462 | py | Python | pymbs/processing/body.py | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | pymbs/processing/body.py | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | pymbs/processing/body.py | brutzl/pymbs | fb7c91435f56b5c4d460f82f081d5d1960fea886 | [
"MIT"
] | null | null | null | from pymbs.common.abstractbody import AbstractBody
from pymbs.symbolics import Matrix
from .frame import Frame
import pymbs.symbolics as symbolics
class Body(AbstractBody):
'''
Body holding mass and inertia properties
'''
def __init__(self, name, mass=0, cg=symbolics.zeros((3,)), inertia=symbolic... | 40.459259 | 149 | 0.642439 | 760 | 5,462 | 4.532895 | 0.168421 | 0.008128 | 0.012192 | 0.025544 | 0.824383 | 0.817126 | 0.800871 | 0.786067 | 0.76865 | 0.76865 | 0 | 0.010131 | 0.259063 | 5,462 | 134 | 150 | 40.761194 | 0.841117 | 0.42219 | 0 | 0.581818 | 0 | 0 | 0.053015 | 0.007277 | 0 | 0 | 0 | 0 | 0.036364 | 1 | 0.072727 | false | 0 | 0.072727 | 0 | 0.218182 | 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 |
8bcc3a870bcbbeb41b4ff8351bbeb22f3d1ac191 | 80 | py | Python | tests/test_sanity.py | ffreemt/freemt-utils | 25bf192033235bb783005795f8c0bcdd8a79610f | [
"MIT"
] | null | null | null | tests/test_sanity.py | ffreemt/freemt-utils | 25bf192033235bb783005795f8c0bcdd8a79610f | [
"MIT"
] | null | null | null | tests/test_sanity.py | ffreemt/freemt-utils | 25bf192033235bb783005795f8c0bcdd8a79610f | [
"MIT"
] | null | null | null | ''' sanity check
'''
def test_sanity():
''' sanity check '''
assert 1
| 10 | 24 | 0.5375 | 9 | 80 | 4.666667 | 0.666667 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.275 | 80 | 7 | 25 | 11.428571 | 0.706897 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4770f7a6a8ed87a23f0ee21a13326e42b2c6c6b1 | 41,723 | py | Python | NitroFE/time_based_features/weighted_window_features/weighted_window_features.py | NITRO-AI/NitroFE | 08d5ccd2be7da4534bd1fb04b85d7c61ba1c017e | [
"Apache-2.0"
] | 81 | 2021-10-31T12:20:10.000Z | 2022-03-29T22:38:06.000Z | NitroFE/time_based_features/weighted_window_features/weighted_window_features.py | adbmd/NitroFE | 327a54ffd5f9aaa19d05d7d87918757e3b0f5712 | [
"Apache-2.0"
] | 1 | 2021-11-02T14:21:48.000Z | 2021-11-02T14:21:48.000Z | NitroFE/time_based_features/weighted_window_features/weighted_window_features.py | adbmd/NitroFE | 327a54ffd5f9aaa19d05d7d87918757e3b0f5712 | [
"Apache-2.0"
] | 7 | 2021-11-01T08:17:37.000Z | 2022-01-01T19:06:06.000Z | from pandas.core.series import Series
from NitroFE.time_based_features.weighted_window_features.weighted_windows import (
_barthann_window,
_bartlett_window,
_equal_window,
_blackman_window,
_blackmanharris_window,
_bohman_window,
_cosine_window,
_exponential_window,
_fla... | 45.252711 | 152 | 0.619826 | 4,703 | 41,723 | 5.364448 | 0.046991 | 0.038051 | 0.026636 | 0.038051 | 0.904792 | 0.884022 | 0.870387 | 0.866305 | 0.862301 | 0.858575 | 0 | 0.002903 | 0.322987 | 41,723 | 921 | 153 | 45.301846 | 0.890183 | 0.488627 | 0 | 0.652893 | 0 | 0 | 0.04859 | 0.032451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039256 | false | 0.002066 | 0.010331 | 0 | 0.086777 | 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 |
479552a1291447af4dd9a90c5ce8421e6dfc32fc | 20 | py | Python | sturn/stun/__init__.py | m32/sturn | ffc252db2a434daef33c5e819444b1d929a8599b | [
"MIT"
] | 2 | 2021-07-11T21:24:37.000Z | 2021-12-23T18:30:50.000Z | sturn/stun/__init__.py | m32/sturn | ffc252db2a434daef33c5e819444b1d929a8599b | [
"MIT"
] | null | null | null | sturn/stun/__init__.py | m32/sturn | ffc252db2a434daef33c5e819444b1d929a8599b | [
"MIT"
] | 1 | 2021-12-24T01:07:21.000Z | 2021-12-24T01:07:21.000Z | from .stun 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 |
4796ec376b4ed0889615feae4b523334d5744c98 | 1,638 | py | Python | hackerrank/ginortS.py | FelixTheC/hackerrank_exercises | 24eedbedebd122c53fd2cb6018cc3535d0d4c6a0 | [
"MIT"
] | null | null | null | hackerrank/ginortS.py | FelixTheC/hackerrank_exercises | 24eedbedebd122c53fd2cb6018cc3535d0d4c6a0 | [
"MIT"
] | null | null | null | hackerrank/ginortS.py | FelixTheC/hackerrank_exercises | 24eedbedebd122c53fd2cb6018cc3535d0d4c6a0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@created: 08.11.19
@author: felix
"""
import re
def my_sort(string: str) -> str:
lower_letters = re.findall(r'[a-z]', string)
lower_letters.sort()
upper_letters = re.findall(r'[A-Z]', string)
upper_letters.sort()
digits = [x for x in re.findall(r'... | 58.5 | 1,029 | 0.840659 | 101 | 1,638 | 13.465347 | 0.475248 | 0.026471 | 0.022059 | 0.015441 | 0.067647 | 0.067647 | 0.067647 | 0.030882 | 0.030882 | 0.030882 | 0 | 0.295378 | 0.088523 | 1,638 | 27 | 1,030 | 60.666667 | 0.615539 | 0.051282 | 0 | 0 | 0 | 0 | 0.662346 | 0.64744 | 0 | 1 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.1875 | 0.0625 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
47f48c04680b0fc028c0341372f898d4f326292b | 20 | py | Python | test.py | 846395745/myProject | c4db486641d411485eab2bcc26def0f8a1318d66 | [
"MIT"
] | 1 | 2019-12-23T12:22:15.000Z | 2019-12-23T12:22:15.000Z | test.py | 846395745/myProject | c4db486641d411485eab2bcc26def0f8a1318d66 | [
"MIT"
] | null | null | null | test.py | 846395745/myProject | c4db486641d411485eab2bcc26def0f8a1318d66 | [
"MIT"
] | null | null | null | a = 123
print(a)
| 3.333333 | 8 | 0.5 | 4 | 20 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.35 | 20 | 5 | 9 | 4 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9a23481c5c8c94dc6bf3a42693240d3dc146a28e | 96 | py | Python | vmachine/__init__.py | horus-4ever/python-chip8-emulator | a22b4003b0f2e6d333346927902661a6dd06d980 | [
"MIT"
] | null | null | null | vmachine/__init__.py | horus-4ever/python-chip8-emulator | a22b4003b0f2e6d333346927902661a6dd06d980 | [
"MIT"
] | null | null | null | vmachine/__init__.py | horus-4ever/python-chip8-emulator | a22b4003b0f2e6d333346927902661a6dd06d980 | [
"MIT"
] | null | null | null | from .registers import *
from .instructionset import *
from .vcpu import *
from .memory import * | 24 | 29 | 0.760417 | 12 | 96 | 6.083333 | 0.5 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 4 | 30 | 24 | 0.901235 | 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 |
9a41cdd9cca7417079cd4d1c2752aab4d67bdae0 | 37 | py | Python | zeroth/namesss/__init__.py | njvrzm/zeroth | 26c000389403cd7e54dca7dfb9364b9fe50e161a | [
"MIT"
] | null | null | null | zeroth/namesss/__init__.py | njvrzm/zeroth | 26c000389403cd7e54dca7dfb9364b9fe50e161a | [
"MIT"
] | null | null | null | zeroth/namesss/__init__.py | njvrzm/zeroth | 26c000389403cd7e54dca7dfb9364b9fe50e161a | [
"MIT"
] | null | null | null | from .namesss import getNamesForYear
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
d0005db1a2e08a9d801cd8b63bf0ba6675c55db9 | 49 | py | Python | app/business/blog/__init__.py | Anioko/reusable | de6480bc23fb8cfff474985128be91f4dd391be6 | [
"MIT"
] | null | null | null | app/business/blog/__init__.py | Anioko/reusable | de6480bc23fb8cfff474985128be91f4dd391be6 | [
"MIT"
] | null | null | null | app/business/blog/__init__.py | Anioko/reusable | de6480bc23fb8cfff474985128be91f4dd391be6 | [
"MIT"
] | null | null | null | from app.business.blog.views import blog # noqa
| 24.5 | 48 | 0.77551 | 8 | 49 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 0.904762 | 0.081633 | 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 |
d09a47265de40fa28d63d23152163d2afe398393 | 32 | py | Python | RandomBot/__init__.py | RandomBotDev/RandomBotCog | a00db232cf6eeb85293060a3ffaf6d44f4330450 | [
"MIT"
] | null | null | null | RandomBot/__init__.py | RandomBotDev/RandomBotCog | a00db232cf6eeb85293060a3ffaf6d44f4330450 | [
"MIT"
] | null | null | null | RandomBot/__init__.py | RandomBotDev/RandomBotCog | a00db232cf6eeb85293060a3ffaf6d44f4330450 | [
"MIT"
] | 1 | 2022-03-07T11:48:37.000Z | 2022-03-07T11:48:37.000Z | from RandomBot.MainCog import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 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 |
efecbbcd5adab5ef1bed01ae2353a20bf7d46be4 | 48 | py | Python | tests/examples-bad/2.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-05T08:53:26.000Z | 2020-06-05T08:53:26.000Z | tests/examples-bad/2.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-04T13:47:19.000Z | 2020-06-04T13:47:57.000Z | tests/examples-bad/2.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-11-07T17:02:46.000Z | 2020-11-07T17:02:46.000Z | def format():
pass ## bad, format is a keyword
| 16 | 33 | 0.666667 | 8 | 48 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 2 | 34 | 24 | 0.842105 | 0.5 | 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 |
4bd4fec1d55acfabcdd266d3d2c4b9e7eead06a4 | 7,156 | py | Python | models/unet.py | johnmartinsson/adversarial-representation-learning | 86cd1489b0bdfa76bab37e313c6ab53304179f1e | [
"Apache-2.0"
] | null | null | null | models/unet.py | johnmartinsson/adversarial-representation-learning | 86cd1489b0bdfa76bab37e313c6ab53304179f1e | [
"Apache-2.0"
] | null | null | null | models/unet.py | johnmartinsson/adversarial-representation-learning | 86cd1489b0bdfa76bab37e313c6ab53304179f1e | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
def double_conv(channels_in, channels_out):
return nn.Sequential(
nn.Conv2d(channels_in, channels_out, 3, padding=1),
nn.BatchNorm2d(channels_out),
nn.ReLU(),
nn.Conv2d(channels_out, channels_out, 3, padding=1),
... | 37.862434 | 195 | 0.629402 | 1,054 | 7,156 | 4.023719 | 0.102467 | 0.091252 | 0.05211 | 0.033954 | 0.80382 | 0.801462 | 0.785192 | 0.752888 | 0.723886 | 0.653619 | 0 | 0.062569 | 0.245109 | 7,156 | 188 | 196 | 38.06383 | 0.72251 | 0.015092 | 0 | 0.608696 | 0 | 0 | 0.011501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036232 | false | 0 | 0.021739 | 0.007246 | 0.094203 | 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 |
4bfa9c0cfb779d6b4fdbdd0f2917e034d14fb504 | 229 | py | Python | src/mpls/mpls_controller.py | harpratap/nfv-mpls | bd7cb779a0ddf613f112fae860d149b7f8f0972f | [
"MIT"
] | null | null | null | src/mpls/mpls_controller.py | harpratap/nfv-mpls | bd7cb779a0ddf613f112fae860d149b7f8f0972f | [
"MIT"
] | null | null | null | src/mpls/mpls_controller.py | harpratap/nfv-mpls | bd7cb779a0ddf613f112fae860d149b7f8f0972f | [
"MIT"
] | null | null | null | class MPLSController:
# host
_host = None
# port
_port = None
# has a label distribution protocol
_label_distribution_protocol = None
def getHost(self):
return _host
def getPort(self):
return _port
| 13.470588 | 37 | 0.681223 | 27 | 229 | 5.518519 | 0.555556 | 0.228188 | 0.33557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262009 | 229 | 16 | 38 | 14.3125 | 0.881657 | 0.187773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ef6894bbfe2c86e66e2bbae6584d8f1c8bf63886 | 46 | py | Python | vision/settings/__init__.py | JackGoldsworth/Vision | 084330bec340596167944b623bc7b8d7d9c26b01 | [
"MIT"
] | null | null | null | vision/settings/__init__.py | JackGoldsworth/Vision | 084330bec340596167944b623bc7b8d7d9c26b01 | [
"MIT"
] | 1 | 2018-08-20T18:35:48.000Z | 2019-01-10T02:56:12.000Z | vision/settings/__init__.py | JackGoldsworth/Vision | 084330bec340596167944b623bc7b8d7d9c26b01 | [
"MIT"
] | null | null | null | from .settings_handler import SettingsHandler
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
324770b7e7d379ad16c037efadb8859f7c70801f | 25 | py | Python | robotframework-ls/tests/robotframework_ls_tests/_resources/case_same_basename/directory/my_library.py | mardukbp/robotframework-lsp | 57b4b2b14b712c9bf90577924a920fb9b9e831c7 | [
"ECL-2.0",
"Apache-2.0"
] | 92 | 2020-01-22T22:15:29.000Z | 2022-03-31T05:19:16.000Z | robotframework-ls/tests/robotframework_ls_tests/_resources/case_same_basename/directory/my_library.py | mardukbp/robotframework-lsp | 57b4b2b14b712c9bf90577924a920fb9b9e831c7 | [
"ECL-2.0",
"Apache-2.0"
] | 604 | 2020-01-25T17:13:27.000Z | 2022-03-31T18:58:24.000Z | robotframework-ls/tests/robotframework_ls_tests/_resources/case_same_basename/directory/my_library.py | mardukbp/robotframework-lsp | 57b4b2b14b712c9bf90577924a920fb9b9e831c7 | [
"ECL-2.0",
"Apache-2.0"
] | 39 | 2020-02-06T00:38:06.000Z | 2022-03-15T06:14:19.000Z | def in_lib_2():
pass
| 8.333333 | 15 | 0.6 | 5 | 25 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.28 | 25 | 2 | 16 | 12.5 | 0.666667 | 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 |
32479c50d88fc863dca5519fbbc0d501bea7ab11 | 91 | py | Python | tools/dist_train.py | chetanmreddy/imvoxelnet | 10dd35a96539af7b147be4bb03b0395cc164177e | [
"MIT"
] | 1 | 2022-03-11T11:05:35.000Z | 2022-03-11T11:05:35.000Z | tools/dist_train.py | chetanmreddy/imvoxelnet | 10dd35a96539af7b147be4bb03b0395cc164177e | [
"MIT"
] | null | null | null | tools/dist_train.py | chetanmreddy/imvoxelnet | 10dd35a96539af7b147be4bb03b0395cc164177e | [
"MIT"
] | null | null | null | import os
os.system('bash tools/dist_train.sh configs/imvoxelnet/imvoxelnet_scannet.py 2') | 30.333333 | 80 | 0.824176 | 15 | 91 | 4.866667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.065934 | 91 | 3 | 80 | 30.333333 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.728261 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3270af60a9809cb2ae7836127962db973a4cdd5f | 75 | py | Python | bnf/test/fixtures/rules/__init__.py | Nikita-Boyarskikh/bnf | 1293b0f2187593989e2484a7af9612477fa8bbe0 | [
"MIT"
] | null | null | null | bnf/test/fixtures/rules/__init__.py | Nikita-Boyarskikh/bnf | 1293b0f2187593989e2484a7af9612477fa8bbe0 | [
"MIT"
] | null | null | null | bnf/test/fixtures/rules/__init__.py | Nikita-Boyarskikh/bnf | 1293b0f2187593989e2484a7af9612477fa8bbe0 | [
"MIT"
] | null | null | null | # flake8: noqa
from .common import *
from .llk import *
from .lrk import *
| 15 | 21 | 0.693333 | 11 | 75 | 4.727273 | 0.636364 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.2 | 75 | 4 | 22 | 18.75 | 0.85 | 0.16 | 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 |
32b67ff4a1d3c45ab161c0d5ef092858421d702a | 39 | py | Python | web3_erc20_predefined/predefined/bsc/__init__.py | kkristof200/py_web3_erc20_predefined | e95399bb14c61bb56e56f474937b0ace8565772b | [
"MIT"
] | null | null | null | web3_erc20_predefined/predefined/bsc/__init__.py | kkristof200/py_web3_erc20_predefined | e95399bb14c61bb56e56f474937b0ace8565772b | [
"MIT"
] | null | null | null | web3_erc20_predefined/predefined/bsc/__init__.py | kkristof200/py_web3_erc20_predefined | e95399bb14c61bb56e56f474937b0ace8565772b | [
"MIT"
] | null | null | null | from .busd import *
from .wbnb import * | 19.5 | 19 | 0.717949 | 6 | 39 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 20 | 19.5 | 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 |
32be6734f613b0b90f439ca6fdc9baa989e825d0 | 15,960 | py | Python | tests/live_tests.py | gramedia-digital-nusantara/midtranspay | 0367f8b261293e49ee8a6e395f6c44455212cf7b | [
"BSD-3-Clause"
] | 6 | 2018-01-30T06:08:52.000Z | 2021-02-15T12:41:40.000Z | tests/live_tests.py | derekjamescurtis/veritranspay | 0367f8b261293e49ee8a6e395f6c44455212cf7b | [
"BSD-3-Clause"
] | 8 | 2015-01-21T17:00:42.000Z | 2017-07-06T05:26:30.000Z | tests/live_tests.py | derekjamescurtis/veritranspay | 0367f8b261293e49ee8a6e395f6c44455212cf7b | [
"BSD-3-Clause"
] | 6 | 2015-07-21T16:49:57.000Z | 2017-07-05T07:55:35.000Z | import random
import unittest
import os
import requests
from requests import codes
import veritranspay
from veritranspay import request, veritrans, payment_types, response
from veritranspay.response import status
from . import fixtures
from faker import Faker
fake = Faker()
SANDBOX_CLIENT_KEY = os.environ.get('SAND... | 36.689655 | 157 | 0.622744 | 1,651 | 15,960 | 5.773471 | 0.127801 | 0.053504 | 0.067562 | 0.028326 | 0.768254 | 0.758078 | 0.741922 | 0.741922 | 0.741922 | 0.735208 | 0 | 0.006478 | 0.284211 | 15,960 | 435 | 158 | 36.689655 | 0.827906 | 0.086278 | 0 | 0.705882 | 0 | 0 | 0.128173 | 0.001665 | 0 | 0 | 0 | 0 | 0.069204 | 1 | 0.051903 | false | 0.010381 | 0.034602 | 0 | 0.141869 | 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 |
08ab2cc86667f7b5599664a0dbe1be1b56370be8 | 123 | py | Python | app/improving_agent/models/any_type.py | brettasmi/EvidARA | 319bbe80ddb4d7d6aa4f1db005ad5461e015a8bc | [
"MIT"
] | null | null | null | app/improving_agent/models/any_type.py | brettasmi/EvidARA | 319bbe80ddb4d7d6aa4f1db005ad5461e015a8bc | [
"MIT"
] | 5 | 2020-06-25T21:47:50.000Z | 2020-07-15T01:22:51.000Z | app/improving_agent/models/any_type.py | suihuanglab/evidARA | cf5b8bbdb9f90136c66b58c694acf2efc18ffc22 | [
"MIT"
] | 1 | 2020-03-23T10:39:59.000Z | 2020-03-23T10:39:59.000Z | class AnyType:
def __init__(self):
pass
@staticmethod
def get_value(self, value):
return value | 17.571429 | 31 | 0.609756 | 14 | 123 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317073 | 123 | 7 | 32 | 17.571429 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0.166667 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
08d448164d3290e329010a8b9202706276607c36 | 94 | py | Python | terrascript/ovh/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ovh/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ovh/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/ovh/__init__.py
import terrascript
class ovh(terrascript.Provider):
pass
| 11.75 | 32 | 0.765957 | 11 | 94 | 6.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 7 | 33 | 13.428571 | 0.85 | 0.287234 | 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 |
08efeff1de865af9ab4a8f08fe438929fb0a9876 | 42 | py | Python | packaging_tutorial/example_pkg/hello_module.py | HFM3/pypi-template | d9407c0171f48dd35c06598600f6299850ea69a2 | [
"Unlicense"
] | null | null | null | packaging_tutorial/example_pkg/hello_module.py | HFM3/pypi-template | d9407c0171f48dd35c06598600f6299850ea69a2 | [
"Unlicense"
] | null | null | null | packaging_tutorial/example_pkg/hello_module.py | HFM3/pypi-template | d9407c0171f48dd35c06598600f6299850ea69a2 | [
"Unlicense"
] | null | null | null | def hello_function():
print('HELLO!')
| 14 | 21 | 0.642857 | 5 | 42 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 22 | 21 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
41262714c6da19e2b65742beb459a14e0a215487 | 86 | py | Python | code/planner/__init__.py | jeguzzi/resilience | f6fb8be52a7f5a9dbf755ff7dbd5f8117c802a30 | [
"MIT"
] | 6 | 2019-05-23T22:52:56.000Z | 2021-09-02T08:52:23.000Z | code/planner/__init__.py | hebinbing/resilience | f6fb8be52a7f5a9dbf755ff7dbd5f8117c802a30 | [
"MIT"
] | null | null | null | code/planner/__init__.py | hebinbing/resilience | f6fb8be52a7f5a9dbf755ff7dbd5f8117c802a30 | [
"MIT"
] | 3 | 2019-10-17T07:51:16.000Z | 2022-02-09T12:51:58.000Z | from .planner_abs import Planner
from .planner_doors import DoorPlanner, CellPlanner
| 21.5 | 51 | 0.848837 | 11 | 86 | 6.454545 | 0.636364 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 86 | 3 | 52 | 28.666667 | 0.934211 | 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 |
f5afd9072ed77cdc8ad81fa524a5eca4d50dc10b | 121 | py | Python | app/cogs/settings/__init__.py | fossabot/Starboard-2 | 798e2d04995ae7d920e76708b9ea8fae6f4af319 | [
"MIT"
] | 16 | 2021-01-19T19:12:00.000Z | 2021-12-21T12:00:04.000Z | app/cogs/settings/__init__.py | Davi-the-Mudkip/Starboard-2 | 4de3c689ffef007e4f4a279251d107d890b69b15 | [
"MIT"
] | 15 | 2021-04-02T16:58:48.000Z | 2022-03-28T06:09:49.000Z | app/cogs/settings/__init__.py | Davi-the-Mudkip/Starboard-2 | 4de3c689ffef007e4f4a279251d107d890b69b15 | [
"MIT"
] | 13 | 2021-01-21T14:26:00.000Z | 2021-09-29T18:55:17.000Z | from app.classes.bot import Bot
from . import settings_commands
def setup(bot: Bot):
settings_commands.setup(bot)
| 15.125 | 32 | 0.760331 | 18 | 121 | 5 | 0.5 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 7 | 33 | 17.285714 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb3c984a796a7c011b62d9b99c9febb0c58dd8b4 | 92 | py | Python | pentagon/component/vpn/__init__.py | supaflysnooka/pentagon | 7431cc29a80e090172b78abdf12d5da54d7f2455 | [
"Apache-2.0"
] | null | null | null | pentagon/component/vpn/__init__.py | supaflysnooka/pentagon | 7431cc29a80e090172b78abdf12d5da54d7f2455 | [
"Apache-2.0"
] | null | null | null | pentagon/component/vpn/__init__.py | supaflysnooka/pentagon | 7431cc29a80e090172b78abdf12d5da54d7f2455 | [
"Apache-2.0"
] | null | null | null | from pentagon.component import ComponentBase
import os
class Vpn(ComponentBase):
pass
| 13.142857 | 44 | 0.793478 | 11 | 92 | 6.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 6 | 45 | 15.333333 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
de9920dae17bd40f291f9901725aac008020d82a | 153 | py | Python | 01_basic-python/solution_condition.py | utecx/py-algorithms-4-automotive-engineering | 45fa443b721efe6d887aaeeeae9b6867d71f2677 | [
"MIT"
] | 47 | 2020-04-20T14:12:20.000Z | 2022-03-02T15:26:59.000Z | 01_basic-python/solution_condition.py | utecx/py-algorithms-4-automotive-engineering | 45fa443b721efe6d887aaeeeae9b6867d71f2677 | [
"MIT"
] | 6 | 2019-08-08T05:15:44.000Z | 2020-03-27T09:39:06.000Z | 01_basic-python/solution_condition.py | utecx/py-algorithms-4-automotive-engineering | 45fa443b721efe6d887aaeeeae9b6867d71f2677 | [
"MIT"
] | 65 | 2019-07-01T06:09:48.000Z | 2022-03-08T18:37:45.000Z | def check_value(x):
if x == 0:
print("Is zero", x)
elif x > 0:
print("Is positive", x)
else:
print("Is negative", x)
| 19.125 | 31 | 0.477124 | 23 | 153 | 3.130435 | 0.565217 | 0.291667 | 0.194444 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.366013 | 153 | 7 | 32 | 21.857143 | 0.721649 | 0 | 0 | 0 | 0 | 0 | 0.189542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 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 | 0 | 1 | 0 | 6 |
dedf7a9d3dec8145688e43976274b55f740b23ce | 72 | py | Python | citizenscience/user/__init__.py | otwn/citizenscience | 24ed9652ff896d46c7c7da9530c51fbd451d14ae | [
"BSD-3-Clause"
] | 1 | 2021-07-06T19:44:15.000Z | 2021-07-06T19:44:15.000Z | fbone/user/__init__.py | pyeliteman/PDF-OCR-RTP | 1833cda366ece33e6f6850dabec029d6a1502c74 | [
"Apache-2.0"
] | null | null | null | fbone/user/__init__.py | pyeliteman/PDF-OCR-RTP | 1833cda366ece33e6f6850dabec029d6a1502c74 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from models import User
from views import user
| 14.4 | 23 | 0.680556 | 11 | 72 | 4.454545 | 0.727273 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.194444 | 72 | 4 | 24 | 18 | 0.827586 | 0.291667 | 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 |
dee61ee2bac8e2e1b692011d32e985f47e9a5049 | 21 | py | Python | src/metricas/__init__.py | JLuisRojas/reconocimiento-de-voz | 59282ffd6841f22e514a7055cb4d20ef97181b90 | [
"MIT"
] | 1 | 2021-12-03T00:01:09.000Z | 2021-12-03T00:01:09.000Z | src/metricas/__init__.py | JLuisRojas/reconocimiento-de-voz | 59282ffd6841f22e514a7055cb4d20ef97181b90 | [
"MIT"
] | 2 | 2021-04-30T21:11:01.000Z | 2021-08-25T16:00:42.000Z | src/metricas/__init__.py | JLuisRojas/reconocimiento-de-voz | 59282ffd6841f22e514a7055cb4d20ef97181b90 | [
"MIT"
] | null | null | null | from .wer import wer
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
720178181ed5bcab6b3dc4901a38c870b21d2e79 | 180 | py | Python | yys/RegisterKeyModule.py | yangxu0110/yysScript | 079101f57fb1a64b871924c988760d9e74063a71 | [
"Apache-2.0"
] | 62 | 2019-09-28T14:07:22.000Z | 2022-02-25T05:54:47.000Z | yys/RegisterKeyModule.py | fishtank666/yysScript | 079101f57fb1a64b871924c988760d9e74063a71 | [
"Apache-2.0"
] | 6 | 2019-11-12T11:08:36.000Z | 2020-11-25T10:40:52.000Z | yys/RegisterKeyModule.py | fishtank666/yysScript | 079101f57fb1a64b871924c988760d9e74063a71 | [
"Apache-2.0"
] | 24 | 2019-10-12T02:21:39.000Z | 2021-11-13T07:32:25.000Z | # 生成激活码模块
class RegisterKeyUtil:
def ValidateUserKey(userkey: str) -> bool:
# todo
pass
def CreateUserKey(path: str) -> bool:
# todo
pass
| 16.363636 | 46 | 0.566667 | 17 | 180 | 6 | 0.705882 | 0.137255 | 0.215686 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.344444 | 180 | 10 | 47 | 18 | 0.864407 | 0.094444 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
720b306ddd21576c4aaf2e51f6d4e052c293d0c6 | 28 | py | Python | mcpi_functions.py | leha-code/mcpi-zero | fae9dbe1677fca64b9cc617e3a06858de2e220fd | [
"MIT"
] | 2 | 2021-01-27T00:23:39.000Z | 2021-01-27T15:46:38.000Z | mcpi_functions.py | mcpiscript/mcpi-zero | fae9dbe1677fca64b9cc617e3a06858de2e220fd | [
"MIT"
] | null | null | null | mcpi_functions.py | mcpiscript/mcpi-zero | fae9dbe1677fca64b9cc617e3a06858de2e220fd | [
"MIT"
] | null | null | null | def coming_soon():
pass
| 9.333333 | 18 | 0.642857 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.809524 | 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 |
9d4542b4ee808d471aff9ee0b50fdfe05183bd98 | 48 | py | Python | wrappers/__init__.py | kylestach/learn-you-a-soccer | e4163602ffb73b51d1b9ab35e75f2033f7179fff | [
"MIT"
] | 24 | 2020-01-12T08:20:36.000Z | 2022-03-17T13:07:30.000Z | wrappers/__init__.py | kylestach/learn-you-a-soccer | e4163602ffb73b51d1b9ab35e75f2033f7179fff | [
"MIT"
] | null | null | null | wrappers/__init__.py | kylestach/learn-you-a-soccer | e4163602ffb73b51d1b9ab35e75f2033f7179fff | [
"MIT"
] | 10 | 2020-01-21T04:43:20.000Z | 2021-11-02T02:50:56.000Z | # __init__.py
from .normalized_actions import *
| 16 | 33 | 0.791667 | 6 | 48 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 2 | 34 | 24 | 0.785714 | 0.229167 | 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 |
c2105be514f22bc8e73aa96bf2f2ec1e97ac1ed5 | 115 | py | Python | annotate/admin.py | henryyang42/lifelog_annotation | 586f44132508f59e97dda701bd5602d26b79a6f4 | [
"MIT"
] | null | null | null | annotate/admin.py | henryyang42/lifelog_annotation | 586f44132508f59e97dda701bd5602d26b79a6f4 | [
"MIT"
] | null | null | null | annotate/admin.py | henryyang42/lifelog_annotation | 586f44132508f59e97dda701bd5602d26b79a6f4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Entry)
admin.site.register(Annotation)
| 19.166667 | 32 | 0.808696 | 16 | 115 | 5.8125 | 0.625 | 0.236559 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 115 | 5 | 33 | 23 | 0.894231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dfa90ccdbd251b8efecf8574615a12d9633f01e4 | 114 | py | Python | KFR/build/examples/Debug/audio_low_quality.py | Asifadam93/FiltreMusical | dcd53bc41934f219fb9b3d5aef281099fb572a49 | [
"BSD-3-Clause"
] | null | null | null | KFR/build/examples/Debug/audio_low_quality.py | Asifadam93/FiltreMusical | dcd53bc41934f219fb9b3d5aef281099fb572a49 | [
"BSD-3-Clause"
] | null | null | null | KFR/build/examples/Debug/audio_low_quality.py | Asifadam93/FiltreMusical | dcd53bc41934f219fb9b3d5aef281099fb572a49 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import dspplot
dspplot.plot(r'audio_low_quality.wav', file='../svg/audio_low_quality.svg')
| 22.8 | 75 | 0.763158 | 19 | 114 | 4.368421 | 0.736842 | 0.192771 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 114 | 4 | 76 | 28.5 | 0.775701 | 0.175439 | 0 | 0 | 0 | 0 | 0.526882 | 0.526882 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a05ec202e173da996b727c6d7156b8f343c384d1 | 131 | py | Python | ct/preprocess/__init__.py | ViktorStagge/CompressiveTransformer | 644b363b1314f4f10c803ff4f014ff6d1a238fad | [
"MIT"
] | 2 | 2020-10-26T10:08:37.000Z | 2021-07-02T02:21:35.000Z | ct/preprocess/__init__.py | ViktorStagge/CompressiveTransformer | 644b363b1314f4f10c803ff4f014ff6d1a238fad | [
"MIT"
] | null | null | null | ct/preprocess/__init__.py | ViktorStagge/CompressiveTransformer | 644b363b1314f4f10c803ff4f014ff6d1a238fad | [
"MIT"
] | null | null | null | from ct.preprocess.tokenize import Tokenizer
from ct.preprocess.dataset import preprocess
from ct.preprocess.wma import wma as wma
| 32.75 | 44 | 0.847328 | 20 | 131 | 5.55 | 0.45 | 0.162162 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 131 | 3 | 45 | 43.666667 | 0.948718 | 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 |
a0a7c71bca46cc9409ebf4d801ee0d1ce28d9d6d | 60 | py | Python | products_app/Reset.py | sergiomastro/inventory-mgmt-app-py-master | 56b89a11bec453537657a7ea10f51fa91307bf2d | [
"MIT"
] | 1 | 2018-06-07T03:58:15.000Z | 2018-06-07T03:58:15.000Z | products_app/Reset.py | sergiomastro/inventory-mgmt-app-py-master | 56b89a11bec453537657a7ea10f51fa91307bf2d | [
"MIT"
] | null | null | null | products_app/Reset.py | sergiomastro/inventory-mgmt-app-py-master | 56b89a11bec453537657a7ea10f51fa91307bf2d | [
"MIT"
] | null | null | null | from app import reset_products_file
reset_products_file() | 20 | 36 | 0.85 | 9 | 60 | 5.222222 | 0.666667 | 0.553191 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 3 | 37 | 20 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a0b34aef92f144b3ba9e7de5897ec189e97871eb | 4,511 | py | Python | cybox/common/datetimewithprecision.py | siemens/python-cybox | b692a98c8a62bd696e2a0dda802ada7359853482 | [
"BSD-3-Clause"
] | null | null | null | cybox/common/datetimewithprecision.py | siemens/python-cybox | b692a98c8a62bd696e2a0dda802ada7359853482 | [
"BSD-3-Clause"
] | null | null | null | cybox/common/datetimewithprecision.py | siemens/python-cybox | b692a98c8a62bd696e2a0dda802ada7359853482 | [
"BSD-3-Clause"
] | 1 | 2019-04-16T18:37:32.000Z | 2019-04-16T18:37:32.000Z | # Copyright (c) 2014, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.
import cybox
import cybox.bindings.cybox_common as common_binding
import dateutil
from datetime import datetime
DATE_PRECISION_VALUES = ("year", "month", "day")
TIME_PRECISION_VALUES = ("hour", "minute", "second")
D... | 26.85119 | 107 | 0.630459 | 526 | 4,511 | 5.15019 | 0.155894 | 0.07309 | 0.046512 | 0.033961 | 0.761905 | 0.761905 | 0.761905 | 0.739756 | 0.739756 | 0.698413 | 0 | 0.001843 | 0.278431 | 4,511 | 167 | 108 | 27.011976 | 0.830415 | 0.021946 | 0 | 0.782946 | 0 | 0 | 0.049444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155039 | false | 0 | 0.031008 | 0.031008 | 0.426357 | 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 |
a0bfd6ab0ca423ed8a3ab37f8d4db02c20997664 | 51 | py | Python | cfdm/core/meta/__init__.py | tsjackson-noaa/cfdm | a669677905badaced2eba87413288ac0bc2697fc | [
"MIT"
] | 22 | 2018-11-07T18:16:22.000Z | 2022-03-16T16:05:21.000Z | cfdm/core/meta/__init__.py | tsjackson-noaa/cfdm | a669677905badaced2eba87413288ac0bc2697fc | [
"MIT"
] | 119 | 2019-04-08T08:00:24.000Z | 2022-03-22T08:21:22.000Z | cfdm/core/meta/__init__.py | tsjackson-noaa/cfdm | a669677905badaced2eba87413288ac0bc2697fc | [
"MIT"
] | 8 | 2019-04-09T10:12:26.000Z | 2021-07-22T02:41:15.000Z | from .docstringrewrite import DocstringRewriteMeta
| 25.5 | 50 | 0.901961 | 4 | 51 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.978723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd07214a2b2bb586fbbe30af40b7635992db8cc6 | 72 | py | Python | glue/dialogs/link_editor/qt/__init__.py | sergiopasra/glue | c25a217a122a11818382672c99cb21f57a30636f | [
"BSD-3-Clause"
] | null | null | null | glue/dialogs/link_editor/qt/__init__.py | sergiopasra/glue | c25a217a122a11818382672c99cb21f57a30636f | [
"BSD-3-Clause"
] | null | null | null | glue/dialogs/link_editor/qt/__init__.py | sergiopasra/glue | c25a217a122a11818382672c99cb21f57a30636f | [
"BSD-3-Clause"
] | null | null | null | from .link_editor import * # noqa
from .link_equation import * # noqa
| 24 | 36 | 0.722222 | 10 | 72 | 5 | 0.6 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 72 | 2 | 37 | 36 | 0.862069 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
cd855c4e472af9a7d55f8517ec75030ac037e339 | 6,819 | py | Python | test/test_modbus_slave.py | eydam-prototyping/mp_modbus | 8007c41dd16e6f71bd27b587628f57f38f27a7e0 | [
"MIT"
] | 2 | 2022-01-06T02:21:16.000Z | 2022-03-08T07:55:43.000Z | test/test_modbus_slave.py | eydam-prototyping/mp_modbus | 8007c41dd16e6f71bd27b587628f57f38f27a7e0 | [
"MIT"
] | 2 | 2021-12-10T15:56:52.000Z | 2022-02-19T23:45:24.000Z | test/test_modbus_slave.py | eydam-prototyping/mp_modbus | 8007c41dd16e6f71bd27b587628f57f38f27a7e0 | [
"MIT"
] | 3 | 2021-07-30T11:16:55.000Z | 2022-01-05T18:19:55.000Z | import unittest
from mp_modbus_slave import modbus_tcp_server
from mp_modbus_frame import modbus_tcp_frame
class Test(unittest.TestCase):
def test_server_handle_message_1(self):
srv = modbus_tcp_server("", 0, context={"co":{"startAddr": 1000, "registers": bytearray([0xFF, 0x00, 0x00, 0x00]*5)}})
m... | 71.03125 | 196 | 0.691304 | 986 | 6,819 | 4.578093 | 0.075051 | 0.05494 | 0.095702 | 0.075321 | 0.95525 | 0.942401 | 0.933097 | 0.90031 | 0.874391 | 0.834072 | 0 | 0.126502 | 0.145623 | 6,819 | 96 | 197 | 71.03125 | 0.648301 | 0 | 0 | 0.235294 | 0 | 0 | 0.056892 | 0 | 0 | 0 | 0.118475 | 0 | 0.352941 | 1 | 0.117647 | false | 0 | 0.044118 | 0 | 0.176471 | 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 |
cd88ddbb62ea20fc330c2cbbcf5198044ea6c04a | 51 | py | Python | boa3/model/builtin/interop/storage/storagecontext/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3/model/builtin/interop/storage/storagecontext/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3/model/builtin/interop/storage/storagecontext/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from .storagecontexttype import StorageContextType
| 25.5 | 50 | 0.901961 | 4 | 51 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.978723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26a7a7efea8830b102b86e7d98532d5aa6e8067d | 26 | py | Python | ttt_pkg/__init__.py | Alkatat/Tic-Tac-Toe | cdff8cd776a8463d45715ab41c1ebb2f386c68a2 | [
"MIT"
] | null | null | null | ttt_pkg/__init__.py | Alkatat/Tic-Tac-Toe | cdff8cd776a8463d45715ab41c1ebb2f386c68a2 | [
"MIT"
] | null | null | null | ttt_pkg/__init__.py | Alkatat/Tic-Tac-Toe | cdff8cd776a8463d45715ab41c1ebb2f386c68a2 | [
"MIT"
] | null | null | null | from ttt_pkg.ttt import * | 26 | 26 | 0.769231 | 5 | 26 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26fc939783feaae91ea55cb32501051a7bbee747 | 204 | py | Python | fcn/keras_fcn/__init__.py | NickleDave/fcn-syl-seg | 90f66cc716d5564dc297ba70720b31ada2ff062c | [
"BSD-3-Clause"
] | null | null | null | fcn/keras_fcn/__init__.py | NickleDave/fcn-syl-seg | 90f66cc716d5564dc297ba70720b31ada2ff062c | [
"BSD-3-Clause"
] | null | null | null | fcn/keras_fcn/__init__.py | NickleDave/fcn-syl-seg | 90f66cc716d5564dc297ba70720b31ada2ff062c | [
"BSD-3-Clause"
] | null | null | null | """This subpackage is adapted from https://github.com/JihongJu/keras-fcn
under MIT License, https://github.com/JihongJu/keras-fcn/blob/master/LICENSE"""
from . import encoders, decoders, callbacks, blocks | 68 | 79 | 0.784314 | 29 | 204 | 5.517241 | 0.724138 | 0.1375 | 0.175 | 0.275 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 204 | 3 | 80 | 68 | 0.851064 | 0.715686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f808c28b47da5fa2f39ff6e16efaea4ba3fb3caa | 1,116 | py | Python | Lintcode/Ladder_29_F/64. Merge Sorted Array.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | Lintcode/Ladder_29_F/64. Merge Sorted Array.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | Lintcode/Ladder_29_F/64. Merge Sorted Array.py | ctc316/algorithm-python | ac4580d55e05e93e407c6156c9bb801808027d60 | [
"MIT"
] | null | null | null | class Solution:
"""
@param: A: sorted integer array A which has m elements, but size of A is m+n
@param: m: An integer
@param: B: sorted integer array B which has n elements
@param: n: An integer
@return: nothing
"""
def mergeSortedArray(self, A, m, B, n):
for i in range(n):
... | 22.77551 | 80 | 0.44086 | 162 | 1,116 | 3.037037 | 0.222222 | 0.105691 | 0.146341 | 0.077236 | 0.841463 | 0.841463 | 0.800813 | 0.800813 | 0.735772 | 0.735772 | 0 | 0.022472 | 0.441756 | 1,116 | 49 | 81 | 22.77551 | 0.767255 | 0.344982 | 0 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.153846 | 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 |
f82f89eaa35c05fb7590a214dc8fadc69fc41451 | 27 | py | Python | avalanche/benchmarks/scenarios/new_classes/__init__.py | PRISHIta123/avalanche | cf92e4e1b7135fedd04106a195eb1fb67b97c124 | [
"MIT"
] | 810 | 2018-10-08T15:49:05.000Z | 2022-03-31T15:28:09.000Z | avalanche/benchmarks/scenarios/new_classes/__init__.py | PRISHIta123/avalanche | cf92e4e1b7135fedd04106a195eb1fb67b97c124 | [
"MIT"
] | 477 | 2021-03-01T17:50:51.000Z | 2022-03-31T14:51:23.000Z | avalanche/benchmarks/scenarios/new_classes/__init__.py | PRISHIta123/avalanche | cf92e4e1b7135fedd04106a195eb1fb67b97c124 | [
"MIT"
] | 147 | 2018-10-08T15:49:18.000Z | 2022-03-31T04:08:45.000Z | from .nc_scenario import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f85d516baeafdaf2dca8151502d7b875df9e198f | 31,171 | py | Python | tests/runtime/linux/finish_test.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-03-20T07:13:33.000Z | 2017-05-03T03:39:53.000Z | tests/runtime/linux/finish_test.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 12 | 2017-07-10T07:04:06.000Z | 2017-07-26T09:32:54.000Z | tests/runtime/linux/finish_test.py | gaocegege/treadmill | 04325d319c0ee912c066f07b88b674e84485f154 | [
"Apache-2.0"
] | 2 | 2017-05-04T11:25:32.000Z | 2017-07-11T09:10:01.000Z | """Unit test for treadmill.runtime.linux._finish.
"""
import datetime
import os
import shutil
import tempfile
import tarfile
import time
import unittest
import kazoo
import mock
import yaml
import treadmill
import treadmill.rulefile
from treadmill import firewall
from treadmill import fs
from treadmill import iptab... | 37.967113 | 79 | 0.523403 | 3,308 | 31,171 | 4.727932 | 0.104595 | 0.056777 | 0.036445 | 0.040217 | 0.83133 | 0.792199 | 0.760742 | 0.744309 | 0.727302 | 0.701726 | 0 | 0.036307 | 0.352315 | 31,171 | 820 | 80 | 38.013415 | 0.738372 | 0.06567 | 0 | 0.636872 | 0 | 0 | 0.165272 | 0.072991 | 0 | 0 | 0 | 0 | 0.069832 | 1 | 0.015363 | false | 0.001397 | 0.02514 | 0 | 0.041899 | 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 |
f87d9e97668b459629470a6aa8e32511acb2300e | 39 | py | Python | tnread/__init__.py | Uiuran/text-network-notebooks | d2744890df896def45047e7d266d21d1d5287533 | [
"CC-BY-4.0"
] | null | null | null | tnread/__init__.py | Uiuran/text-network-notebooks | d2744890df896def45047e7d266d21d1d5287533 | [
"CC-BY-4.0"
] | null | null | null | tnread/__init__.py | Uiuran/text-network-notebooks | d2744890df896def45047e7d266d21d1d5287533 | [
"CC-BY-4.0"
] | null | null | null | from .main import *
from .vis import *
| 13 | 19 | 0.692308 | 6 | 39 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 20 | 19.5 | 0.870968 | 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 |
f8b65c77a81990f272b5984a31eeefdb94f59b5b | 5,414 | py | Python | sstcam_sandbox/d191128_pedestal_lab/extract_dc_tf.py | watsonjj/CHECLabPySB | 91330d3a6f510a392f635bd7f4abd2f77871322c | [
"BSD-3-Clause"
] | null | null | null | sstcam_sandbox/d191128_pedestal_lab/extract_dc_tf.py | watsonjj/CHECLabPySB | 91330d3a6f510a392f635bd7f4abd2f77871322c | [
"BSD-3-Clause"
] | null | null | null | sstcam_sandbox/d191128_pedestal_lab/extract_dc_tf.py | watsonjj/CHECLabPySB | 91330d3a6f510a392f635bd7f4abd2f77871322c | [
"BSD-3-Clause"
] | 1 | 2021-03-30T09:46:56.000Z | 2021-03-30T09:46:56.000Z | from sstcam_sandbox import get_checs, get_data
from CHECLabPy.core.io import TIOReader
from TargetCalibSB.tf import TFDC
from TargetCalibSB.pedestal import PedestalTargetCalib
from TargetCalibSB import get_cell_ids_for_waveform
from tqdm import tqdm
from glob import glob
import re
def process(tf_r0_paths, pedestal_pa... | 48.774775 | 119 | 0.744366 | 816 | 5,414 | 4.506127 | 0.142157 | 0.134621 | 0.161545 | 0.179494 | 0.746533 | 0.746533 | 0.746533 | 0.746533 | 0.737286 | 0.737286 | 0 | 0.094753 | 0.148134 | 5,414 | 110 | 120 | 49.218182 | 0.702515 | 0.558921 | 0 | 0.08 | 0 | 0 | 0.199915 | 0.184143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.16 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.