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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
602a749ac576513e76eee6bac1e2e15eeb11e64d | 55 | py | Python | src/pyEanGenerator/EanGenerator/__init__.py | Gegelascience/pyean | 64c0d321fb798d88020f76562a6bfa9a5c360b48 | [
"MIT"
] | null | null | null | src/pyEanGenerator/EanGenerator/__init__.py | Gegelascience/pyean | 64c0d321fb798d88020f76562a6bfa9a5c360b48 | [
"MIT"
] | null | null | null | src/pyEanGenerator/EanGenerator/__init__.py | Gegelascience/pyean | 64c0d321fb798d88020f76562a6bfa9a5c360b48 | [
"MIT"
] | null | null | null | from .EanGenerator import Ean13Generator, Ean8Generator | 55 | 55 | 0.890909 | 5 | 55 | 9.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.072727 | 55 | 1 | 55 | 55 | 0.901961 | 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 | 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 | 5 |
603f2102e7dda9c2e54c1c70af7b98c94abe350a | 26 | py | Python | python/testData/inheritors/dotted/A.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inheritors/dotted/A.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inheritors/dotted/A.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A(object):
pass
| 8.666667 | 16 | 0.615385 | 4 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 3 | 17 | 8.666667 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
606002a45a42299834fc7057b11a717c9e8c96fa | 108 | py | Python | tests/data/make_jit.py | jlarmstrongiv/libtorchjs | d2466337db2707157f8b402dbefd80e84466e3a1 | [
"BSD-3-Clause"
] | 20 | 2019-01-08T00:45:44.000Z | 2021-05-21T23:38:26.000Z | tests/data/make_jit.py | jlarmstrongiv/libtorchjs | d2466337db2707157f8b402dbefd80e84466e3a1 | [
"BSD-3-Clause"
] | 5 | 2020-02-19T14:39:00.000Z | 2021-04-18T20:33:49.000Z | tests/data/make_jit.py | jlarmstrongiv/libtorchjs | d2466337db2707157f8b402dbefd80e84466e3a1 | [
"BSD-3-Clause"
] | 4 | 2019-07-14T10:50:08.000Z | 2021-04-10T20:19:52.000Z | import torch
def mul2(x):
return x * 2
torch.jit.trace(mul2, torch.randn(3, 3)).save("mul2.pt") | 18 | 58 | 0.611111 | 19 | 108 | 3.473684 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 0.212963 | 108 | 6 | 58 | 18 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
609d149f4effb22ae367216072dcceb4aa2a51c0 | 184 | py | Python | causaldag/structure_learning/dag/__init__.py | jcai117/causaldag | 94933db7086d21dad1f9d0ea64d538b0365c8add | [
"BSD-3-Clause"
] | 3 | 2021-09-12T13:41:23.000Z | 2022-03-24T14:44:04.000Z | causaldag/structure_learning/dag/__init__.py | jcai117/causaldag | 94933db7086d21dad1f9d0ea64d538b0365c8add | [
"BSD-3-Clause"
] | null | null | null | causaldag/structure_learning/dag/__init__.py | jcai117/causaldag | 94933db7086d21dad1f9d0ea64d538b0365c8add | [
"BSD-3-Clause"
] | 2 | 2021-02-03T04:05:41.000Z | 2021-09-12T13:41:26.000Z | from .gsp import permutation2dag, gsp, jci_gsp, igsp, unknown_target_igsp, min_degree_alg_amat, update_minimal_imap, sparsest_permutation
from .pcalg import pcalg
from .ges import ges
| 46 | 137 | 0.842391 | 28 | 184 | 5.214286 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.103261 | 184 | 3 | 138 | 61.333333 | 0.878788 | 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 | 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 | 5 |
7154761d6381d18414b7b9dd026607519aa0d886 | 43 | py | Python | ABC_A/ABC003_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ABC_A/ABC003_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ABC_A/ABC003_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | n = int(input())
print(int((n+1)/2*10000))
| 14.333333 | 25 | 0.581395 | 9 | 43 | 2.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0.093023 | 43 | 2 | 26 | 21.5 | 0.461538 | 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 | 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 | 5 |
7170886e836d736a054d996e037b4619b2d5958a | 226 | py | Python | crosswalk/hosts/mx/hierarchy.py | mikemalinowski/crosswalk | 9e1c49fcfd3a4a38e24e59660d06c2d903cc3ff4 | [
"MIT"
] | 1 | 2019-03-09T12:55:31.000Z | 2019-03-09T12:55:31.000Z | crosswalk/hosts/pm/hierarchy.py | mikemalinowski/crosswalk | 9e1c49fcfd3a4a38e24e59660d06c2d903cc3ff4 | [
"MIT"
] | null | null | null | crosswalk/hosts/pm/hierarchy.py | mikemalinowski/crosswalk | 9e1c49fcfd3a4a38e24e59660d06c2d903cc3ff4 | [
"MIT"
] | null | null | null | import crosswalk
def children(element, wildcard=None, recursive=None):
return None
def parent(element, index=0):
return None
def add_child(element, child):
return None
def set_parent(element, parent):
return None
| 11.894737 | 53 | 0.752212 | 32 | 226 | 5.25 | 0.46875 | 0.238095 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.159292 | 226 | 18 | 54 | 12.555556 | 0.878947 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7172a57607b1a690f135ec16d28f5f62e303a957 | 251 | py | Python | froide/bounce/signals.py | manonthemat/froide | 698c49935eaf2e922f3c9f6a46af0fd545ccbbbb | [
"MIT"
] | null | null | null | froide/bounce/signals.py | manonthemat/froide | 698c49935eaf2e922f3c9f6a46af0fd545ccbbbb | [
"MIT"
] | null | null | null | froide/bounce/signals.py | manonthemat/froide | 698c49935eaf2e922f3c9f6a46af0fd545ccbbbb | [
"MIT"
] | null | null | null | from django.dispatch import Signal
user_email_bounced = Signal(providing_args=['bounce', 'should_deactivate'])
email_bounced = Signal(providing_args=['bounce', 'should_deactivate'])
email_unsubscribed = Signal(providing_args=['email', 'reference'])
| 35.857143 | 75 | 0.792829 | 29 | 251 | 6.551724 | 0.517241 | 0.236842 | 0.3 | 0.284211 | 0.584211 | 0.584211 | 0.584211 | 0.584211 | 0.584211 | 0 | 0 | 0 | 0.071713 | 251 | 6 | 76 | 41.833333 | 0.815451 | 0 | 0 | 0 | 0 | 0 | 0.239044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
718fa5a23d6369ef32268fbf62c13995bf1055a4 | 42 | py | Python | pacmen_env/gym_foo/envs/__init__.py | lich14/CDS | 1f50446fb17e0793c91157e0cdf8754d4a040e5c | [
"Apache-2.0"
] | 35 | 2021-06-04T01:54:42.000Z | 2022-03-25T07:08:41.000Z | CDS_GRF/env/gym-foo/gym_foo/envs/__init__.py | ltzheng/CDS | 397282147498647a9f26577adfa451e8478de76d | [
"Apache-2.0"
] | 6 | 2021-12-23T12:11:20.000Z | 2022-03-01T08:12:32.000Z | CDS_GRF/env/gym-foo/gym_foo/envs/__init__.py | ltzheng/CDS | 397282147498647a9f26577adfa451e8478de76d | [
"Apache-2.0"
] | 10 | 2021-06-13T08:07:29.000Z | 2022-01-23T03:33:50.000Z | from gym_foo.envs.pac_men import CustomEnv | 42 | 42 | 0.880952 | 8 | 42 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 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 | 0 | 0 | 0 | 5 |
71a64fda08400fe346b34da25855379831494d5e | 305 | py | Python | django_workflow_system/api/tests/factories/workflows/__init__.py | eikonomega/django-workflow-system | dc0e8807263266713d3d7fa46e240e8d72db28d1 | [
"MIT"
] | 2 | 2022-01-28T12:35:42.000Z | 2022-03-23T16:06:05.000Z | django_workflow_system/api/tests/factories/workflows/__init__.py | eikonomega/django-workflow-system | dc0e8807263266713d3d7fa46e240e8d72db28d1 | [
"MIT"
] | 10 | 2021-04-27T20:26:32.000Z | 2021-07-21T15:34:31.000Z | django_workflow_system/api/tests/factories/workflows/__init__.py | eikonomega/django-workflow-system | dc0e8807263266713d3d7fa46e240e8d72db28d1 | [
"MIT"
] | 1 | 2021-11-13T14:30:34.000Z | 2021-11-13T14:30:34.000Z | from .assignment import *
from .authors import *
from .metadata import *
from .engagement import *
from .json_schema import *
from .step import *
from .subscription import *
from .workflow_collection import *
from .workflows import *
from .workflow_collection_image import *
from .recommendation import *
| 25.416667 | 40 | 0.783607 | 37 | 305 | 6.351351 | 0.405405 | 0.425532 | 0.153191 | 0.238298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144262 | 305 | 11 | 41 | 27.727273 | 0.900383 | 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 | 0 | 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 | 5 |
71a8000418f5266f64dbbc393acb655738b7fa5e | 127 | py | Python | src/meru/exceptions.py | noname-cyber/meru | cf06f3bae01b1721babeb2f8bcbda165c638091e | [
"MIT"
] | null | null | null | src/meru/exceptions.py | noname-cyber/meru | cf06f3bae01b1721babeb2f8bcbda165c638091e | [
"MIT"
] | null | null | null | src/meru/exceptions.py | noname-cyber/meru | cf06f3bae01b1721babeb2f8bcbda165c638091e | [
"MIT"
] | null | null | null | class ActionException(Exception):
pass
class PingTimeout(Exception):
pass
class MeruException(Exception):
pass
| 11.545455 | 33 | 0.732283 | 12 | 127 | 7.75 | 0.5 | 0.419355 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 127 | 10 | 34 | 12.7 | 0.911765 | 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 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
71da650e84bf8791c71bc3610914d61009cfd920 | 66 | py | Python | phoenix/outages/utils.py | kiwicom/phoenix | 19bfbd23387e7d054780cfba9dbb385525aa7d80 | [
"MIT"
] | 8 | 2019-03-03T22:46:06.000Z | 2021-12-14T20:26:28.000Z | phoenix/outages/utils.py | kiwicom/phoenix | 19bfbd23387e7d054780cfba9dbb385525aa7d80 | [
"MIT"
] | 250 | 2018-11-21T09:21:11.000Z | 2021-09-22T17:48:07.000Z | phoenix/outages/utils.py | kiwicom/phoenix | 19bfbd23387e7d054780cfba9dbb385525aa7d80 | [
"MIT"
] | 1 | 2021-02-16T08:01:04.000Z | 2021-02-16T08:01:04.000Z | def format_datetime(dt):
return dt.strftime("%Y-%m-%d %H:%M")
| 22 | 40 | 0.621212 | 12 | 66 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 2 | 41 | 33 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e0b074dfea47675a998f2ee09c96d8c1e7228a20 | 2,883 | py | Python | test/known_issues/test_augment_with_executor.py | jimbozhang/lhotse | 85a5c8e9d9827f457ba33432bfe37f44ca28365a | [
"Apache-2.0"
] | 1 | 2020-10-02T02:42:25.000Z | 2020-10-02T02:42:25.000Z | test/known_issues/test_augment_with_executor.py | jimbozhang/lhotse | 85a5c8e9d9827f457ba33432bfe37f44ca28365a | [
"Apache-2.0"
] | 2 | 2020-11-05T11:44:17.000Z | 2021-04-08T11:38:48.000Z | test/known_issues/test_augment_with_executor.py | jimbozhang/lhotse | 85a5c8e9d9827f457ba33432bfe37f44ca28365a | [
"Apache-2.0"
] | null | null | null | import multiprocessing
import sys
from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor
from functools import partial
from tempfile import TemporaryDirectory
import pytest
from lhotse import CutSet, Fbank
from lhotse.testing.fixtures import RandomCutTestCase
torchaudio = pytest.importorskip('torchau... | 39.493151 | 96 | 0.610128 | 324 | 2,883 | 5.237654 | 0.320988 | 0.028285 | 0.032999 | 0.029464 | 0.74013 | 0.74013 | 0.74013 | 0.74013 | 0.74013 | 0.74013 | 0 | 0.024785 | 0.314256 | 2,883 | 72 | 97 | 40.041667 | 0.833586 | 0.135969 | 0 | 0.566667 | 0 | 0 | 0.058421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.15 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e0c22a0dda664578591f28d034256ddcc240e7f1 | 60 | py | Python | snappy/__init__.py | connor-mccarthy/snappy | 58b890ddffe46ea2de37c40bf8ab971788649b17 | [
"MIT"
] | null | null | null | snappy/__init__.py | connor-mccarthy/snappy | 58b890ddffe46ea2de37c40bf8ab971788649b17 | [
"MIT"
] | null | null | null | snappy/__init__.py | connor-mccarthy/snappy | 58b890ddffe46ea2de37c40bf8ab971788649b17 | [
"MIT"
] | null | null | null | from snappy.lambda_handler import set_handler # noqa: F401
| 30 | 59 | 0.816667 | 9 | 60 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.133333 | 60 | 1 | 60 | 60 | 0.846154 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 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 | 5 |
e0d222398fd24e0c2066400c6b0c553e03164d4b | 232 | py | Python | meli_challenge/core/input/__init__.py | rafaelleinio/meli-challenge | 72391cc24a502a199523f204779d4fe928c7b10d | [
"MIT"
] | 1 | 2021-02-28T02:12:37.000Z | 2021-02-28T02:12:37.000Z | meli_challenge/core/input/__init__.py | rafaelleinio/meli-challenge | 72391cc24a502a199523f204779d4fe928c7b10d | [
"MIT"
] | null | null | null | meli_challenge/core/input/__init__.py | rafaelleinio/meli-challenge | 72391cc24a502a199523f204779d4fe928c7b10d | [
"MIT"
] | null | null | null | """input module."""
from meli_challenge.core.input.csv_input import CsvInput
from meli_challenge.core.input.input import Input
from meli_challenge.core.input.json_input import JsonInput
__all__ = ["CsvInput", "JsonInput", "Input"]
| 33.142857 | 58 | 0.797414 | 32 | 232 | 5.5 | 0.375 | 0.136364 | 0.289773 | 0.357955 | 0.443182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 232 | 6 | 59 | 38.666667 | 0.830189 | 0.056034 | 0 | 0 | 0 | 0 | 0.103286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
460d54cc3e33921ad6dbd7e08ed88e9b9a4d8d09 | 122 | py | Python | proxy_pool/__init__.py | ggqshr/proxy_pool | 469bd96e7525d1bfbbcf4a349618d1a6e63b1596 | [
"MIT"
] | null | null | null | proxy_pool/__init__.py | ggqshr/proxy_pool | 469bd96e7525d1bfbbcf4a349618d1a6e63b1596 | [
"MIT"
] | null | null | null | proxy_pool/__init__.py | ggqshr/proxy_pool | 469bd96e7525d1bfbbcf4a349618d1a6e63b1596 | [
"MIT"
] | null | null | null | from .ip_pool import IpPool
from .xun_proxy import XunProxy
from .data5u_proxy import Data5UProxy
name = "ggq_proxy_pool"
| 24.4 | 37 | 0.827869 | 19 | 122 | 5.052632 | 0.631579 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.122951 | 122 | 4 | 38 | 30.5 | 0.878505 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
460f21e9ad47afaf2f8ef480b3daae23e96a3831 | 118 | py | Python | docker/sds-api/spine-directory-service/sds/request/http_headers.py | NHSDigital/elecronic-prescriptions-service-api | 41fb4b02cfdb674b2a787dd2d8dd698a8c7a59b0 | [
"MIT"
] | 2 | 2020-08-18T09:23:09.000Z | 2020-11-23T11:43:27.000Z | docker/sds-api/spine-directory-service/sds/request/http_headers.py | NHSDigital/elecronic-prescriptions-service-api | 41fb4b02cfdb674b2a787dd2d8dd698a8c7a59b0 | [
"MIT"
] | 179 | 2020-07-01T08:53:50.000Z | 2022-03-11T14:18:39.000Z | docker/sds-api/spine-directory-service/sds/request/http_headers.py | NHSDigital/elecronic-prescriptions-service-api | 41fb4b02cfdb674b2a787dd2d8dd698a8c7a59b0 | [
"MIT"
] | 3 | 2020-07-22T14:00:41.000Z | 2021-12-15T15:15:06.000Z | class HttpHeaders:
X_CORRELATION_ID = "X-Correlation-ID"
CONTENT_TYPE = "Content-Type"
ACCEPT = 'Accept'
| 19.666667 | 41 | 0.686441 | 14 | 118 | 5.571429 | 0.571429 | 0.307692 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 118 | 5 | 42 | 23.6 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1cb1485ae94b8feac0d35ccc4e36abe4d3ff64c7 | 5,269 | py | Python | tests/query_runner/test_basesql_queryrunner.py | zero1number/redash | caabc4afa4e60e273782a46d84099857821c6500 | [
"BSD-2-Clause"
] | 20,680 | 2015-11-16T15:38:37.000Z | 2022-03-31T21:43:43.000Z | tests/query_runner/test_basesql_queryrunner.py | zero1number/redash | caabc4afa4e60e273782a46d84099857821c6500 | [
"BSD-2-Clause"
] | 3,934 | 2015-11-16T14:46:49.000Z | 2022-03-31T13:22:31.000Z | tests/query_runner/test_basesql_queryrunner.py | zero1number/redash | caabc4afa4e60e273782a46d84099857821c6500 | [
"BSD-2-Clause"
] | 4,147 | 2015-11-17T15:57:23.000Z | 2022-03-31T11:57:43.000Z | import unittest
from redash.query_runner import BaseSQLQueryRunner, BaseQueryRunner
from redash.utils import gen_query_hash
class TestBaseSQLQueryRunner(unittest.TestCase):
def setUp(self):
self.query_runner = BaseSQLQueryRunner({})
def test_apply_auto_limit_origin_no_limit_1(self):
origin_... | 51.15534 | 122 | 0.70279 | 698 | 5,269 | 4.875358 | 0.130372 | 0.177197 | 0.171907 | 0.099912 | 0.803703 | 0.729356 | 0.709668 | 0.709374 | 0.640024 | 0.637379 | 0 | 0.016082 | 0.221105 | 5,269 | 102 | 123 | 51.656863 | 0.813109 | 0 | 0 | 0.37037 | 0 | 0 | 0.229266 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 1 | 0.197531 | false | 0 | 0.037037 | 0 | 0.246914 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1cc01ffc7419903ce7d2e0ad53f099c7e2bda696 | 202 | py | Python | deepspace/tabular/__init__.py | bigwater/deepspace | 6766d05c3bb8529142aee415134513b0521e7f4f | [
"BSD-2-Clause"
] | null | null | null | deepspace/tabular/__init__.py | bigwater/deepspace | 6766d05c3bb8529142aee415134513b0521e7f4f | [
"BSD-2-Clause"
] | null | null | null | deepspace/tabular/__init__.py | bigwater/deepspace | 6766d05c3bb8529142aee415134513b0521e7f4f | [
"BSD-2-Clause"
] | null | null | null | from .dense_skipco import DenseSkipCoFactory
from .one_layer import OneLayerFactory
from .feed_forward import FeedForwardFactory
from .supervised_reg_auto_encoder import SupervisedRegAutoEncoderFactory
| 40.4 | 72 | 0.90099 | 22 | 202 | 8 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 202 | 4 | 73 | 50.5 | 0.946237 | 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 | 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 | 5 |
1ce51c8c83f3d3a114712782553fff122dc57ef6 | 293 | py | Python | admit/bdp/FeatureList_BDP.py | astroumd/admit | bbf3d79bb6e1a6f7523553ed8ede0d358d106f2c | [
"MIT"
] | 4 | 2017-03-01T17:26:28.000Z | 2022-03-03T19:23:06.000Z | admit/bdp/FeatureList_BDP.py | teuben/admit | 1cae54d1937c9af3f719102838df716e7e6d655c | [
"MIT"
] | 48 | 2016-10-04T01:25:33.000Z | 2021-09-08T14:51:10.000Z | admit/bdp/FeatureList_BDP.py | teuben/admit | 1cae54d1937c9af3f719102838df716e7e6d655c | [
"MIT"
] | 2 | 2016-11-10T14:10:22.000Z | 2017-03-30T18:58:05.000Z | import admit.util.bdp_types as bt
from Table_BDP import Table_BDP
from Image_BDP import Image_BDP
class FeatureList_BDP(Image_BDP,Table_BDP):
def __init__(self,xmlFile=None):
Table_BDP.__init__(self,xmlFile)
Image_BDP.__init__(self,xmlFile)
self._version= "0.1.0"
| 29.3 | 43 | 0.74744 | 46 | 293 | 4.26087 | 0.434783 | 0.163265 | 0.229592 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012295 | 0.167235 | 293 | 9 | 44 | 32.555556 | 0.790984 | 0 | 0 | 0 | 0 | 0 | 0.017065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1cfaa3b473c961f1ae49643b7fb63a548a0da10a | 1,159 | py | Python | keras-onnx/onnx_keras/layers.py | jwj04ok/ONNX_Convertor | 067a17e16dfc8aa80e36f44c4523959daf7359f5 | [
"MIT"
] | 33 | 2020-06-09T21:05:35.000Z | 2022-02-24T01:48:45.000Z | keras-onnx/onnx_keras/layers.py | jwj04ok/ONNX_Convertor | 067a17e16dfc8aa80e36f44c4523959daf7359f5 | [
"MIT"
] | 17 | 2020-07-14T19:44:09.000Z | 2022-02-10T10:03:01.000Z | keras-onnx/onnx_keras/layers.py | jwj04ok/ONNX_Convertor | 067a17e16dfc8aa80e36f44c4523959daf7359f5 | [
"MIT"
] | 16 | 2020-06-17T22:56:11.000Z | 2021-12-21T05:44:32.000Z | # This file is generated by generate_layers.py
from .merg_layers import Add
from .merg_layers import Subtract
from .merg_layers import Multiply
from .merg_layers import Concatenate
from .norm_layers import BatchNormalization
from .conv_layers import Conv2D
from .conv_layers import Conv2DTranspose
from .conv_layers impo... | 35.121212 | 47 | 0.858499 | 163 | 1,159 | 5.907975 | 0.300614 | 0.386293 | 0.116303 | 0.166147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011673 | 0.113028 | 1,159 | 32 | 48 | 36.21875 | 0.925097 | 0.037964 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1cfbfba27f9332ef91c5770af4f03d04402530b8 | 37 | py | Python | src/mediaeval2020/dataloaders/__init__.py | dbis-uibk/MediaEval2020 | c1ba6b55ce91347556020b7a14fc317aae1dac9a | [
"BSD-3-Clause"
] | 2 | 2022-03-09T07:09:18.000Z | 2022-03-31T07:29:43.000Z | src/mediaeval2020/dataloaders/__init__.py | dbis-uibk/MediaEval2020 | c1ba6b55ce91347556020b7a14fc317aae1dac9a | [
"BSD-3-Clause"
] | null | null | null | src/mediaeval2020/dataloaders/__init__.py | dbis-uibk/MediaEval2020 | c1ba6b55ce91347556020b7a14fc317aae1dac9a | [
"BSD-3-Clause"
] | null | null | null | """Dataloaders for mediaeval2020."""
| 18.5 | 36 | 0.72973 | 3 | 37 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.081081 | 37 | 1 | 37 | 37 | 0.676471 | 0.810811 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1cffcb8741e84b3be6f4a959acd82ae2e8446e4c | 1,265 | py | Python | src/scs_core/data/regression.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 3 | 2019-03-12T01:59:58.000Z | 2020-09-12T07:27:42.000Z | src/scs_core/data/regression.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 1 | 2018-04-20T07:58:38.000Z | 2021-03-27T08:52:45.000Z | src/scs_core/data/regression.py | south-coast-science/scs_core | 81ad4010abb37ca935f3a31ac805639ef53b1bcf | [
"MIT"
] | 4 | 2017-09-29T13:08:43.000Z | 2019-10-09T09:13:58.000Z | """
Created on 14 Oct 2016
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
"""
from abc import ABC, abstractmethod
from scs_core.data.datetime import LocalizedDatetime
# --------------------------------------------------------------------------------------------------------------------
class Regression... | 20.079365 | 118 | 0.389723 | 81 | 1,265 | 6.049383 | 0.444444 | 0.277551 | 0.3 | 0.155102 | 0.220408 | 0.220408 | 0 | 0 | 0 | 0 | 0 | 0.0059 | 0.196047 | 1,265 | 62 | 119 | 20.403226 | 0.47591 | 0.433992 | 0 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.296296 | 0.074074 | 0 | 0.407407 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e80a2c81cd2e64dbc0c34cd7607f55e55b913a2b | 2,266 | py | Python | src/dictionaryupdate.py | att/Distributed-Dictionary-Learning | c6915477dac1ffe7d9a732dd31333d540f5bd00b | [
"MIT"
] | 5 | 2020-07-25T18:44:54.000Z | 2022-03-27T14:14:20.000Z | src/dictionaryupdate.py | att/Distributed-Dictionary-Learning | c6915477dac1ffe7d9a732dd31333d540f5bd00b | [
"MIT"
] | null | null | null | src/dictionaryupdate.py | att/Distributed-Dictionary-Learning | c6915477dac1ffe7d9a732dd31333d540f5bd00b | [
"MIT"
] | 3 | 2019-09-04T08:04:09.000Z | 2022-03-27T14:14:26.000Z | import numpy as np
def l2_update_dict(olddict, X, coef):
"""Update the dictionary for KSVD.
Parameters
----------
Inputs:
olddict: dictionary in the previous iteration
X: data matrix
coef: sparse coding of the data against which to optimize the dictionary
... | 27.975309 | 81 | 0.461606 | 271 | 2,266 | 3.845018 | 0.225092 | 0.028791 | 0.008637 | 0.034549 | 0.777351 | 0.769674 | 0.769674 | 0.756238 | 0.756238 | 0.671785 | 0 | 0.018954 | 0.417917 | 2,266 | 81 | 82 | 27.975309 | 0.771039 | 0.260371 | 0 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.02439 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e820e5680c3fed8cc8938312cb03a43d74320514 | 64,685 | py | Python | nova/objects/flavor.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/objects/flavor.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/objects/flavor.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2013 Red Hat, Inc'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'
... | 12.511605 | 162 | 0.597573 | 9,582 | 64,685 | 3.924024 | 0.046024 | 0.169149 | 0.092553 | 0.065532 | 0.866303 | 0.814069 | 0.756569 | 0.696064 | 0.643059 | 0.579495 | 0 | 0.000769 | 0.115823 | 64,685 | 5,169 | 163 | 12.514026 | 0.656654 | 0 | 0 | 0.960534 | 0 | 0.000387 | 0.369174 | 0.017346 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000193 | 0.00445 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c0022632125c586628c375e523f8a08d3babe0c | 71 | py | Python | trekipsum/dialog/__init__.py | infinitewarp/trekipsum | 1401d5cedef5ac20e9941708d846911c7ec9ca09 | [
"MIT"
] | 1 | 2019-09-25T19:31:07.000Z | 2019-09-25T19:31:07.000Z | trekipsum/dialog/__init__.py | infinitewarp/trekipsum | 1401d5cedef5ac20e9941708d846911c7ec9ca09 | [
"MIT"
] | 2 | 2017-08-23T15:01:36.000Z | 2018-01-26T20:24:03.000Z | trekipsum/dialog/__init__.py | infinitewarp/trekipsum | 1401d5cedef5ac20e9941708d846911c7ec9ca09 | [
"MIT"
] | 1 | 2018-01-25T15:17:13.000Z | 2018-01-25T15:17:13.000Z | from .sqlite import DialogChooser as SqliteRandomChooser # noqa: F401
| 35.5 | 70 | 0.816901 | 8 | 71 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.140845 | 71 | 1 | 71 | 71 | 0.901639 | 0.140845 | 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 | 0 | 0 | 0 | 0 | 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 | 5 |
1c1e94a6b87cd3fde319757c1600fa4d0a6ba15b | 50 | py | Python | archives/views/__init__.py | by46/archives | b97e2e2d5f413a7702a8980bcb07bd5b46d5a3f8 | [
"MIT"
] | null | null | null | archives/views/__init__.py | by46/archives | b97e2e2d5f413a7702a8980bcb07bd5b46d5a3f8 | [
"MIT"
] | null | null | null | archives/views/__init__.py | by46/archives | b97e2e2d5f413a7702a8980bcb07bd5b46d5a3f8 | [
"MIT"
] | null | null | null | from . import catalogue
from .hooks import hook
| 16.666667 | 24 | 0.76 | 7 | 50 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 50 | 2 | 25 | 25 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
1c2ad84bd58333fca1a453e809b5571f7a6e794d | 149 | py | Python | average_scores.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | average_scores.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | average_scores.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | #Kunal Gautam
#Codewars : @Kunalpod
#Problem name: Average Scores
#Problem level: 7 kyu
def average(array):
return round(sum(array)/len(array))
| 18.625 | 39 | 0.731544 | 21 | 149 | 5.190476 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.147651 | 149 | 7 | 40 | 21.285714 | 0.850394 | 0.536913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1c3e1ac1ffbcaae6a149c06bab5c2378e1b7ba27 | 5,010 | py | Python | bitflow-script/generated/python2/BitflowLexer.py | bitflow-stream/bitflow-script | b8427c02f65820108ca08356f9483e400fcbcaee | [
"Apache-2.0"
] | null | null | null | bitflow-script/generated/python2/BitflowLexer.py | bitflow-stream/bitflow-script | b8427c02f65820108ca08356f9483e400fcbcaee | [
"Apache-2.0"
] | null | null | null | bitflow-script/generated/python2/BitflowLexer.py | bitflow-stream/bitflow-script | b8427c02f65820108ca08356f9483e400fcbcaee | [
"Apache-2.0"
] | null | null | null | # Generated from Bitflow.g4 by ANTLR 4.7.1
# encoding: utf-8
from __future__ import print_function
from antlr4 import *
from io import StringIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write(u"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2")
buf.write(u"\23|\b\1\4\2\t\2\4\... | 46.388889 | 103 | 0.530539 | 1,261 | 5,010 | 2.080888 | 0.179223 | 0.133384 | 0.088034 | 0.060976 | 0.349848 | 0.288872 | 0.228277 | 0.180259 | 0.140244 | 0.132622 | 0 | 0.23396 | 0.172455 | 5,010 | 107 | 104 | 46.82243 | 0.398939 | 0.011178 | 0 | 0 | 1 | 0.438202 | 0.499899 | 0.432411 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0.044944 | 0 | 0.370787 | 0.011236 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c527dcb1cbd05eb3791bdd15c463efe0d6ec249 | 74 | py | Python | scripts/setup.py | yat011/singk_qt | b0d09fc3d1b5e18e10331356e4a22e75c7fa3c01 | [
"MIT"
] | null | null | null | scripts/setup.py | yat011/singk_qt | b0d09fc3d1b5e18e10331356e4a22e75c7fa3c01 | [
"MIT"
] | null | null | null | scripts/setup.py | yat011/singk_qt | b0d09fc3d1b5e18e10331356e4a22e75c7fa3c01 | [
"MIT"
] | null | null | null | from distutils.core import setup
import py2exe
setup(console=['main']) | 18.5 | 33 | 0.756757 | 10 | 74 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.135135 | 74 | 4 | 34 | 18.5 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
98dea635909b2da0e4d0530ee0b53398c8690a49 | 77 | py | Python | nnunet/network_architecture/transunet/__init__.py | nntrongnghia/TDSI21-Shoulder-Muscle-Segmentation | 29f0f83d93e4fdd8127261283dcf9242d9914ba6 | [
"Apache-2.0"
] | 1 | 2022-02-13T15:07:40.000Z | 2022-02-13T15:07:40.000Z | nnunet/network_architecture/transunet/__init__.py | nntrongnghia/TDSI21-Shoulder-Muscle-Segmentation | 29f0f83d93e4fdd8127261283dcf9242d9914ba6 | [
"Apache-2.0"
] | null | null | null | nnunet/network_architecture/transunet/__init__.py | nntrongnghia/TDSI21-Shoulder-Muscle-Segmentation | 29f0f83d93e4fdd8127261283dcf9242d9914ba6 | [
"Apache-2.0"
] | 2 | 2022-01-17T16:33:38.000Z | 2022-01-17T17:13:26.000Z | print("TransUNet implementation from https://github.com/Beckschen/TransUNet") | 77 | 77 | 0.831169 | 9 | 77 | 7.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 77 | 1 | 77 | 77 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
98f42fd69ebe7ddfc10267dcc2d3ee72578a6d8b | 2,139 | py | Python | trader/sequence/abstract_book_manager.py | rev3ks/Crypto-Liquid-Market-Maker | 82b2c8cfd0488d12fde71691147b5f54bce93179 | [
"MIT"
] | 19 | 2018-05-04T02:36:29.000Z | 2021-12-26T22:17:34.000Z | trader/sequence/abstract_book_manager.py | rev3ks/Crypto-Liquid-Market-Maker | 82b2c8cfd0488d12fde71691147b5f54bce93179 | [
"MIT"
] | 18 | 2018-04-28T02:35:20.000Z | 2019-11-22T04:26:47.000Z | trader/sequence/abstract_book_manager.py | rev3ks/Crypto-Liquid-Market-Maker | 82b2c8cfd0488d12fde71691147b5f54bce93179 | [
"MIT"
] | 5 | 2018-04-27T03:04:34.000Z | 2022-01-10T14:34:50.000Z | import abc
from trader.exchange.api_wrapper.exchange_api import ExchangeApi
from trader.exchange.api_wrapper.noop_trader import NoopApi
from trader.exchange.persisted_book import Book
class AbstractBookManager(abc.ABC):
@abc.abstractmethod
def load_book(self):
pass
@abc.abstractmethod
def close_book(se... | 22.28125 | 78 | 0.73352 | 301 | 2,139 | 5.019934 | 0.299003 | 0.202515 | 0.238253 | 0.222369 | 0.352747 | 0.193911 | 0.050298 | 0 | 0 | 0 | 0 | 0 | 0.194951 | 2,139 | 95 | 79 | 22.515789 | 0.877468 | 0.215989 | 0 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.305085 | false | 0.237288 | 0.067797 | 0.050847 | 0.440678 | 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 | 0 | 0 | 0 | 5 |
c71243ec0c84bf1d8efee1ca4ef5ed16a7edb391 | 48 | py | Python | ichnaea/api/__init__.py | crankycoder/ichnaea | fb54000e92c605843b7a41521e36fd648c11ae94 | [
"Apache-2.0"
] | 348 | 2015-01-13T11:48:07.000Z | 2022-03-31T08:33:07.000Z | ichnaea/api/__init__.py | crankycoder/ichnaea | fb54000e92c605843b7a41521e36fd648c11ae94 | [
"Apache-2.0"
] | 1,274 | 2015-01-02T18:15:56.000Z | 2022-03-23T15:29:08.000Z | ichnaea/api/__init__.py | crankycoder/ichnaea | fb54000e92c605843b7a41521e36fd648c11ae94 | [
"Apache-2.0"
] | 149 | 2015-01-04T21:15:07.000Z | 2021-12-10T06:05:09.000Z | """
Implementation of the public HTTP APIs.
"""
| 12 | 39 | 0.6875 | 6 | 48 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 40 | 16 | 0.825 | 0.8125 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c74297b1b291bcb8655cb660b6c0294ac4af5045 | 1,085 | py | Python | tradgram/caseFiles/migrations/0005_auto_20181201_2249.py | didils/tradgram | 4868ca082ab78a1b5b96f25ee9f958567bd1bb1e | [
"MIT"
] | null | null | null | tradgram/caseFiles/migrations/0005_auto_20181201_2249.py | didils/tradgram | 4868ca082ab78a1b5b96f25ee9f958567bd1bb1e | [
"MIT"
] | 4 | 2020-06-05T20:21:46.000Z | 2021-09-08T00:57:42.000Z | tradgram/caseFiles/migrations/0005_auto_20181201_2249.py | didils/tradgram | 4868ca082ab78a1b5b96f25ee9f958567bd1bb1e | [
"MIT"
] | null | null | null | # Generated by Django 2.0.8 on 2018-12-01 13:49
from django.db import migrations
import imagekit.models.fields
class Migration(migrations.Migration):
dependencies = [
('caseFiles', '0004_auto_20181201_2245'),
]
operations = [
migrations.AlterField(
model_name='casefile',
... | 31 | 98 | 0.61106 | 108 | 1,085 | 6 | 0.407407 | 0.108025 | 0.154321 | 0.179012 | 0.703704 | 0.703704 | 0.703704 | 0.634259 | 0.634259 | 0.634259 | 0 | 0.044081 | 0.268203 | 1,085 | 34 | 99 | 31.911765 | 0.77204 | 0.041475 | 0 | 0.571429 | 1 | 0 | 0.100193 | 0.022158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c75e2966f162b5819898a0791a3c766143525134 | 153 | py | Python | venv/Lib/site-packages/pandas/tests/extension/json/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pandas/tests/extension/json/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pandas/tests/extension/json/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | null | null | null | from pandas.tests.extension.json.array import (
JSONArray,
JSONDtype,
make_data,
)
__all__ = ["JSONArray", "JSONDtype", "make_data"]
| 19.125 | 50 | 0.653595 | 16 | 153 | 5.875 | 0.75 | 0.382979 | 0.468085 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 153 | 7 | 51 | 21.857143 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0.184932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c77969bc14eede6b58977cf63f6b26b25b4c2123 | 4,077 | py | Python | z2/part3/updated_part2_batch/jm/parser_errors_2/414514510.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/414514510.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/414514510.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 414514510
"""
"""
random actions, total chaos
"""
board = gamma_new(5, 5, 4, 6)
assert board is... | 28.51049 | 46 | 0.659554 | 744 | 4,077 | 3.475806 | 0.063172 | 0.310518 | 0.365429 | 0.487239 | 0.728538 | 0.702243 | 0.613302 | 0.354602 | 0.29041 | 0.289637 | 0 | 0.16442 | 0.181015 | 4,077 | 142 | 47 | 28.711268 | 0.610063 | 0 | 0 | 0.270492 | 0 | 0 | 0.035097 | 0 | 0 | 0 | 0 | 0 | 0.672131 | 1 | 0 | false | 0 | 0.008197 | 0 | 0.008197 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7a86e7da0f40d6ce5e8c453fff0e849bb0930d2 | 390 | py | Python | modules/tests/test_flights.py | joemulray/ostorybook-jarvis | c08502b843691207f68270e621032fe4299350d7 | [
"MIT"
] | 3 | 2018-01-25T18:00:50.000Z | 2019-02-20T03:22:07.000Z | modules/tests/test_flights.py | joemulray/ostorybook-jarvis | c08502b843691207f68270e621032fe4299350d7 | [
"MIT"
] | null | null | null | modules/tests/test_flights.py | joemulray/ostorybook-jarvis | c08502b843691207f68270e621032fe4299350d7 | [
"MIT"
] | null | null | null | import modules
def test_flights():
assert ('flights' == modules.process_query('Find me cheap flights')[0])
assert ('flights' == modules.process_query('Find me a flight home')[0])
assert ('flights' == modules.process_query('Can you find me a flight from <Location> to <Location>')[0])
assert ('flights' ... | 43.333333 | 108 | 0.689744 | 53 | 390 | 4.981132 | 0.377358 | 0.19697 | 0.30303 | 0.409091 | 0.541667 | 0.541667 | 0.287879 | 0 | 0 | 0 | 0 | 0.012048 | 0.148718 | 390 | 8 | 109 | 48.75 | 0.783133 | 0 | 0 | 0 | 0 | 0 | 0.412821 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7b1d2a8a949a049702260e062c2cb35261f1aea | 223 | py | Python | tseries_patterns/ml/hmm/__init__.py | tr8dr/patterns | 757a0b9d4936a0c6af633af6f16c0ca8ee676bb0 | [
"MIT"
] | 127 | 2020-07-12T21:48:20.000Z | 2022-03-27T21:12:26.000Z | tseries_patterns/ml/hmm/__init__.py | kumprj/tseries-patterns | 99c5279d1a06e4ab0fe92f2a04102d09ae6300c7 | [
"MIT"
] | 11 | 2020-08-08T05:17:16.000Z | 2022-02-23T13:29:23.000Z | tseries_patterns/ml/hmm/__init__.py | kumprj/tseries-patterns | 99c5279d1a06e4ab0fe92f2a04102d09ae6300c7 | [
"MIT"
] | 46 | 2020-07-22T20:50:55.000Z | 2021-12-16T00:57:50.000Z | from .HMM import HMM
from .GaussianHMM import GaussianHMM
from .HMM2State import HMM2State
from .HMM3State import HMM3State
from .HMMExponential2State import HMMExponential2State
from .WalkforwardHMM import WalkforwardHMM
| 27.875 | 54 | 0.860987 | 24 | 223 | 8 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.112108 | 223 | 7 | 55 | 31.857143 | 0.939394 | 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 | 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 | 5 |
c7b5c597d2ae731abfddeac6a7dceafceccda0bb | 174 | py | Python | PythonStarter/7_3_2.py | fsbd1285228/PythonCodes | e71fcd695e19e3d286ec249113791d0729bec751 | [
"MIT"
] | null | null | null | PythonStarter/7_3_2.py | fsbd1285228/PythonCodes | e71fcd695e19e3d286ec249113791d0729bec751 | [
"MIT"
] | null | null | null | PythonStarter/7_3_2.py | fsbd1285228/PythonCodes | e71fcd695e19e3d286ec249113791d0729bec751 | [
"MIT"
] | null | null | null | '''Exercist 7.2'''
import numpy
x = numpy.arange(6.0)
y = x**2
z = x**3
print 'The first array is :\n', x
print 'The second array is :\n', y
print 'The third array is :\n', z | 21.75 | 34 | 0.62069 | 37 | 174 | 2.918919 | 0.540541 | 0.222222 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.189655 | 174 | 8 | 35 | 21.75 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0.426752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1bf5569e276bfb15df60c3ce1cf095739060828e | 32 | py | Python | Python/30-infinite-loops.py | strawman2511/Learning | 21ee7bdad376060503fdc0a739fed2d7bd40f9b9 | [
"MIT"
] | 1 | 2022-03-16T23:25:54.000Z | 2022-03-16T23:25:54.000Z | Python/30-infinite-loops.py | strawman2511/Learning | 21ee7bdad376060503fdc0a739fed2d7bd40f9b9 | [
"MIT"
] | null | null | null | Python/30-infinite-loops.py | strawman2511/Learning | 21ee7bdad376060503fdc0a739fed2d7bd40f9b9 | [
"MIT"
] | null | null | null | while True:
print("Python")
| 10.666667 | 19 | 0.625 | 4 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 20 | 16 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
400534810b56739810dc2d7dacb25b14769fccdc | 593 | py | Python | ECC_main/platform/platformBase.py | dongh9508/ECC-main | 904110b70ba3e459d92c6d21a5ad1693b4ee726a | [
"MIT"
] | 2 | 2019-01-23T00:04:18.000Z | 2019-02-01T10:09:15.000Z | ECC_main/platform/platformBase.py | dongh9508/ECC-main | 904110b70ba3e459d92c6d21a5ad1693b4ee726a | [
"MIT"
] | 26 | 2018-07-11T07:59:46.000Z | 2021-02-08T20:21:46.000Z | ECC_main/platform/platformBase.py | dongh9508/ECC-main | 904110b70ba3e459d92c6d21a5ad1693b4ee726a | [
"MIT"
] | 2 | 2017-10-01T15:55:55.000Z | 2017-10-01T18:27:11.000Z | from abc import ABCMeta, abstractmethod
class PlatformBase(metaclass=ABCMeta):
@abstractmethod
def slash_command(request, func):
pass
@abstractmethod
def lazy_slash_command(request, func):
pass
@abstractmethod
def platform():
pass
@abstractmethod
... | 19.766667 | 42 | 0.617201 | 60 | 593 | 5.783333 | 0.4 | 0.342939 | 0.363112 | 0.276657 | 0.564842 | 0.564842 | 0.472622 | 0.21902 | 0 | 0 | 0 | 0 | 0.323777 | 593 | 30 | 43 | 19.766667 | 0.865337 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0.304348 | 0.043478 | 0 | 0.391304 | 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 | 0 | 0 | 0 | 5 |
400be34b47ce85ef5674a1307f43fda532124949 | 340 | py | Python | builder/views.py | jtrussell/kf-cube-builder | 8d90ddc76e6b052b98ff91273b1891a2b394a6be | [
"MIT"
] | null | null | null | builder/views.py | jtrussell/kf-cube-builder | 8d90ddc76e6b052b98ff91273b1891a2b394a6be | [
"MIT"
] | null | null | null | builder/views.py | jtrussell/kf-cube-builder | 8d90ddc76e6b052b98ff91273b1891a2b394a6be | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'builder/form_page.html', {})
def results(request):
return render(request, 'builder/results_page.html', {})
def error(request):
return render(request, 'builder/error_page.html', {
'errorMessage': 'That username does... | 20 | 59 | 0.685294 | 41 | 340 | 5.609756 | 0.512195 | 0.169565 | 0.247826 | 0.33913 | 0.430435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173529 | 340 | 16 | 60 | 21.25 | 0.818505 | 0 | 0 | 0 | 0 | 0 | 0.297935 | 0.20649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.333333 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
403a4698f1216bbbc111b2c149244cfaa3f342e8 | 45 | py | Python | guillotina/contrib/redis/exceptions.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 173 | 2017-03-10T18:26:12.000Z | 2022-03-03T06:48:56.000Z | guillotina/contrib/redis/exceptions.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 921 | 2017-03-08T14:04:43.000Z | 2022-03-30T10:28:56.000Z | guillotina/contrib/redis/exceptions.py | rboixaderg/guillotina | fcae65c2185222272f3b8fee4bc2754e81e0e983 | [
"BSD-2-Clause"
] | 60 | 2017-03-16T19:59:44.000Z | 2022-03-03T06:48:59.000Z | class NoRedisConfigured(Exception):
pass
| 15 | 35 | 0.777778 | 4 | 45 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 36 | 22.5 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
403fb7ba9f31f7045891c065163e860b9240edf3 | 174 | py | Python | dask/bytes/__init__.py | TryTestspace/dask | 86d4f7d8c6d48ec6c4b1de1b6cfd2d3f4e5a4c1b | [
"BSD-3-Clause"
] | 1 | 2021-06-06T10:39:50.000Z | 2021-06-06T10:39:50.000Z | dask/bytes/__init__.py | TryTestspace/dask | 86d4f7d8c6d48ec6c4b1de1b6cfd2d3f4e5a4c1b | [
"BSD-3-Clause"
] | 1 | 2021-04-30T20:41:53.000Z | 2021-04-30T20:41:53.000Z | dask/bytes/__init__.py | TryTestspace/dask | 86d4f7d8c6d48ec6c4b1de1b6cfd2d3f4e5a4c1b | [
"BSD-3-Clause"
] | 1 | 2021-03-28T04:50:43.000Z | 2021-03-28T04:50:43.000Z | from __future__ import print_function, division, absolute_import
from ..utils import ignoring
from .core import read_bytes, open_files, open_text_files
from . import local
| 24.857143 | 64 | 0.827586 | 25 | 174 | 5.36 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 6 | 65 | 29 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4065fd9b9086cfb7da2c0f0f68d30accbaf13030 | 66 | py | Python | appz.py | joyfulflyer/billboard-reader | 4cd2a6346954e886c7aaa352ffa396d8c9ff0648 | [
"MIT"
] | null | null | null | appz.py | joyfulflyer/billboard-reader | 4cd2a6346954e886c7aaa352ffa396d8c9ff0648 | [
"MIT"
] | 3 | 2021-06-01T23:42:24.000Z | 2021-08-09T17:19:36.000Z | appz.py | joyfulflyer/billboard-reader | 4cd2a6346954e886c7aaa352ffa396d8c9ff0648 | [
"MIT"
] | null | null | null | from . import reader
from reader import getSongsFlaskApp as app
| 22 | 43 | 0.80303 | 9 | 66 | 5.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 2 | 44 | 33 | 0.981481 | 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 | 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 | 5 |
407065abc520a4ed8aef6525e26c88cb0be626c7 | 20,864 | py | Python | src/fmthdl.py | jeppeter/py-obcode | c2cdcb198b3cbc19f87dafd2a63e05901c11fcd9 | [
"BSD-Source-Code"
] | null | null | null | src/fmthdl.py | jeppeter/py-obcode | c2cdcb198b3cbc19f87dafd2a63e05901c11fcd9 | [
"BSD-Source-Code"
] | null | null | null | src/fmthdl.py | jeppeter/py-obcode | c2cdcb198b3cbc19f87dafd2a63e05901c11fcd9 | [
"BSD-Source-Code"
] | null | null | null | #! /usr/bin/env python
import random
import json
import logging
import re
import sys
import os
##importdebugstart
sys.path.append(os.path.abspath(os.path.dirname(__file__)))
from strparser import *
##importdebugend
##extractcode_start
class Utf8Encode(object):
def __dict_utf8(self,val):
newdict =dict()
... | 48.976526 | 259 | 0.562883 | 2,844 | 20,864 | 4.012307 | 0.065049 | 0.190255 | 0.184734 | 0.108579 | 0.798791 | 0.773639 | 0.756113 | 0.733941 | 0.698799 | 0.67952 | 0 | 0.021349 | 0.234423 | 20,864 | 426 | 260 | 48.976526 | 0.693045 | 0.024204 | 0 | 0.509537 | 0 | 0.013624 | 0.192763 | 0.022713 | 0 | 0 | 0.00118 | 0 | 0.008174 | 1 | 0.049046 | false | 0 | 0.019074 | 0.010899 | 0.119891 | 0.027248 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
407134bc2f10896590c4ce1fc32aa475b238114c | 196 | py | Python | customer/admin.py | lautarianoo/django_shop | 9bc575df8b7af5452bd15cc3cf4fb375be6384bd | [
"MIT"
] | null | null | null | customer/admin.py | lautarianoo/django_shop | 9bc575df8b7af5452bd15cc3cf4fb375be6384bd | [
"MIT"
] | null | null | null | customer/admin.py | lautarianoo/django_shop | 9bc575df8b7af5452bd15cc3cf4fb375be6384bd | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Customer, CompanySeller, ShippingAddress
admin.site.register(Customer)
admin.site.register(CompanySeller)
admin.site.register(ShippingAddress) | 32.666667 | 60 | 0.852041 | 23 | 196 | 7.26087 | 0.478261 | 0.161677 | 0.305389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066327 | 196 | 6 | 61 | 32.666667 | 0.912568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
407a9244e727197497bf01ebcc8c36a1738cb867 | 2,613 | py | Python | test/test_chain.py | micetti/TweetsOnBlocks | e9355a0d35c0bfe1755d80fc64ae2d781c762e30 | [
"MIT"
] | null | null | null | test/test_chain.py | micetti/TweetsOnBlocks | e9355a0d35c0bfe1755d80fc64ae2d781c762e30 | [
"MIT"
] | null | null | null | test/test_chain.py | micetti/TweetsOnBlocks | e9355a0d35c0bfe1755d80fc64ae2d781c762e30 | [
"MIT"
] | null | null | null | from blockchain.chain import Chain
from blockchain.block import Block
class TestChain:
def test_chain_constructor(self):
test_chain = Chain()
assert len(test_chain.chain) == 1
assert type(test_chain.get_latest_block()) == Block
assert test_chain.get_latest_block().data == 'first Bl... | 31.107143 | 69 | 0.667432 | 358 | 2,613 | 4.51676 | 0.139665 | 0.239332 | 0.12987 | 0.120594 | 0.796537 | 0.75572 | 0.75572 | 0.704391 | 0.698207 | 0.672851 | 0 | 0.022144 | 0.239571 | 2,613 | 83 | 70 | 31.481928 | 0.791646 | 0 | 0 | 0.55 | 0 | 0 | 0.082664 | 0.00995 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.133333 | false | 0 | 0.033333 | 0 | 0.183333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40841b864aeda8b827c43907fdf948d724c837f9 | 4,135 | py | Python | tests/darwin/cli_functions_test.py | sachasamama/darwin-py | d263132fa3526e0a5ddf4e5cf0450b1ba9d40ef6 | [
"MIT"
] | 28 | 2019-10-23T09:05:45.000Z | 2022-03-07T16:28:36.000Z | tests/darwin/cli_functions_test.py | sachasamama/darwin-py | d263132fa3526e0a5ddf4e5cf0450b1ba9d40ef6 | [
"MIT"
] | 91 | 2019-09-20T10:31:25.000Z | 2022-03-30T15:27:17.000Z | tests/darwin/cli_functions_test.py | sachasamama/darwin-py | d263132fa3526e0a5ddf4e5cf0450b1ba9d40ef6 | [
"MIT"
] | 11 | 2020-04-02T08:31:37.000Z | 2021-12-20T22:57:38.000Z | from unittest.mock import call, patch
import pytest
import responses
from rich.console import Console
from tests.fixtures import *
from darwin.cli_functions import upload_data
from darwin.client import Client
from darwin.config import Config
from darwin.dataset import RemoteDataset
def describe_upload_data():
@... | 43.526316 | 118 | 0.592019 | 476 | 4,135 | 4.863445 | 0.226891 | 0.061771 | 0.033693 | 0.038877 | 0.754644 | 0.754644 | 0.723974 | 0.723974 | 0.723974 | 0.723974 | 0 | 0.010985 | 0.295526 | 4,135 | 94 | 119 | 43.989362 | 0.783728 | 0 | 0 | 0.679012 | 0 | 0 | 0.2237 | 0.012576 | 0 | 0 | 0 | 0 | 0.098765 | 1 | 0.061728 | false | 0 | 0.111111 | 0.012346 | 0.197531 | 0.098765 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40a1da6680f2e46695cf02669bdfb2d50798566a | 861 | py | Python | tests/test_run.py | 0just0/ibench | 72b5c42d202b71ba11a09e1f3323186cc6aa5275 | [
"MIT"
] | null | null | null | tests/test_run.py | 0just0/ibench | 72b5c42d202b71ba11a09e1f3323186cc6aa5275 | [
"MIT"
] | null | null | null | tests/test_run.py | 0just0/ibench | 72b5c42d202b71ba11a09e1f3323186cc6aa5275 | [
"MIT"
] | 1 | 2021-11-24T04:24:00.000Z | 2021-11-24T04:24:00.000Z | # Copyright (C) 2016-2018 Intel Corporation
#
# SPDX-License-Identifier: MIT
import subprocess
def test_run_plugin():
subprocess.check_call('IBENCH_PLUGINS="os sys" python -m ibench run -b cholesky --size test --file foo', shell=True)
def test_run():
subprocess.check_call('python -m ibench run', shell=True)
... | 37.434783 | 120 | 0.718931 | 134 | 861 | 4.492537 | 0.283582 | 0.174419 | 0.22093 | 0.186047 | 0.734219 | 0.702658 | 0.656146 | 0.554817 | 0.463455 | 0.463455 | 0 | 0.010929 | 0.149826 | 861 | 22 | 121 | 39.136364 | 0.811475 | 0.081301 | 0 | 0 | 0 | 0 | 0.456163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | true | 0 | 0.076923 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40ce4507c346b824c9ee80f1b42ad09283580db7 | 1,010 | py | Python | tests/conftest.py | lykius/hesiod | 091ba1b06cfa870133415fc1df6efdd8e50a2cfe | [
"MIT"
] | 19 | 2020-12-11T15:40:55.000Z | 2022-01-17T16:55:13.000Z | tests/conftest.py | lykius/hesiod | 091ba1b06cfa870133415fc1df6efdd8e50a2cfe | [
"MIT"
] | null | null | null | tests/conftest.py | lykius/hesiod | 091ba1b06cfa870133415fc1df6efdd8e50a2cfe | [
"MIT"
] | null | null | null | from pathlib import Path
import pytest
@pytest.fixture
def cwd() -> Path:
return Path(".").absolute()
@pytest.fixture
def base_cfg_dir(cwd: Path) -> Path:
return cwd / "tests/configs/bases"
@pytest.fixture
def simple_run_file(cwd: Path) -> Path:
return cwd / "tests/configs/runs/simple.yaml"
@pytest... | 20.612245 | 66 | 0.719802 | 146 | 1,010 | 4.842466 | 0.205479 | 0.165488 | 0.203678 | 0.192362 | 0.656294 | 0.503536 | 0.503536 | 0.503536 | 0.393211 | 0.393211 | 0 | 0.006961 | 0.146535 | 1,010 | 48 | 67 | 21.041667 | 0.813225 | 0 | 0 | 0.310345 | 0 | 0 | 0.260396 | 0.240594 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0 | 0.068966 | 0.310345 | 0.689655 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
40d0d27b368d55bff7390319356bc22470a657e8 | 21 | py | Python | hello.py | snidu001/rest-api | 75aa4368546de306fa3ac32ff437b29adff6ff02 | [
"MIT"
] | null | null | null | hello.py | snidu001/rest-api | 75aa4368546de306fa3ac32ff437b29adff6ff02 | [
"MIT"
] | 7 | 2019-12-05T00:00:31.000Z | 2022-02-10T10:19:20.000Z | hello.py | snidu001/rest-api | 75aa4368546de306fa3ac32ff437b29adff6ff02 | [
"MIT"
] | null | null | null | print("How are you")
| 10.5 | 20 | 0.666667 | 4 | 21 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
906b42c5ddda3e5fe8e1a3f8127a54abc949a901 | 1,390 | py | Python | test/test_perpetual_snake_draft.py | pahwaranger/draft | 154f929293bd357db02702aa4a4939c91e9f79b7 | [
"MIT"
] | null | null | null | test/test_perpetual_snake_draft.py | pahwaranger/draft | 154f929293bd357db02702aa4a4939c91e9f79b7 | [
"MIT"
] | null | null | null | test/test_perpetual_snake_draft.py | pahwaranger/draft | 154f929293bd357db02702aa4a4939c91e9f79b7 | [
"MIT"
] | null | null | null | import pytest
from draft import perpetual_snake_draft
class TestPerpetualSnakeDraft:
@pytest.mark.parametrize("df", ["draft_zero.csv"], indirect=["df"])
def test_draft_zero(self, df):
fairness, assignment = perpetual_snake_draft.get_fairest_attempt(perpetual_snake_draft.permute_draft_order(df))
... | 44.83871 | 119 | 0.730935 | 178 | 1,390 | 5.38764 | 0.191011 | 0.160584 | 0.217935 | 0.119917 | 0.863399 | 0.805005 | 0.644421 | 0.644421 | 0.644421 | 0.644421 | 0 | 0.018565 | 0.147482 | 1,390 | 30 | 120 | 46.333333 | 0.790717 | 0 | 0 | 0.304348 | 0 | 0 | 0.064029 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.217391 | false | 0 | 0.086957 | 0 | 0.347826 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
909287dde4c76ddaed6de62368ba5e0bba248ba0 | 443 | py | Python | ParallelPyMetaMap/main/__init__.py | biomedicalinformaticsgroup/ParallelPyMetaMap | 7d78cc026d914de81803a794f833223f1dab2df9 | [
"MIT"
] | null | null | null | ParallelPyMetaMap/main/__init__.py | biomedicalinformaticsgroup/ParallelPyMetaMap | 7d78cc026d914de81803a794f833223f1dab2df9 | [
"MIT"
] | null | null | null | ParallelPyMetaMap/main/__init__.py | biomedicalinformaticsgroup/ParallelPyMetaMap | 7d78cc026d914de81803a794f833223f1dab2df9 | [
"MIT"
] | null | null | null | from ParallelPyMetaMap.main.removeNonAscii import removeNonAscii
from ParallelPyMetaMap.main.concept2dict import concept2dict
from ParallelPyMetaMap.main.annotation_func import annotation_func
from ParallelPyMetaMap.main.parralelism_metamap import ppmm
from ParallelPyMetaMap.main.output_files import output_files
from P... | 63.285714 | 68 | 0.907449 | 51 | 443 | 7.705882 | 0.313725 | 0.374046 | 0.445293 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.060948 | 443 | 7 | 69 | 63.285714 | 0.939904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
90b603285f517e4d861f06c6f0fafbac78c2b669 | 263 | py | Python | src/trunk/apps/templates/initd.py | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/trunk/apps/templates/initd.py | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/trunk/apps/templates/initd.py | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-09-15T08:13:27.000Z | 2021-09-15T08:13:27.000Z | import seiscomp3.Kernel
class Module(seiscomp3.Kernel.Module):
def __init__(self, env):
seiscomp3.Kernel.Module.__init__(self, env, env.moduleName(__file__))
def supportsAliases(self):
# The default handler does not support aliases
return True
| 23.909091 | 73 | 0.752852 | 33 | 263 | 5.636364 | 0.636364 | 0.241935 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.155894 | 263 | 10 | 74 | 26.3 | 0.824324 | 0.1673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
90b7a303b3f9624b507786a45a64cf6613f1a985 | 2,627 | py | Python | test/test_data/test_datasets.py | ZJCV/Non-local | fbd8d4377c7526f482081d7268eac0df474196f9 | [
"Apache-2.0"
] | 13 | 2020-11-07T08:53:49.000Z | 2021-12-29T02:48:20.000Z | test/test_data/test_datasets.py | ZJCV/Non-local | fbd8d4377c7526f482081d7268eac0df474196f9 | [
"Apache-2.0"
] | 3 | 2021-05-17T10:19:23.000Z | 2021-07-22T05:57:17.000Z | test/test_data/test_datasets.py | ZJCV/Non-local | fbd8d4377c7526f482081d7268eac0df474196f9 | [
"Apache-2.0"
] | 2 | 2021-06-15T02:39:50.000Z | 2021-09-30T05:03:29.000Z | # -*- coding: utf-8 -*-
"""
@date: 2020/10/9 下午8:34
@file: test_datasets.py
@author: zj
@description:
"""
from tsn.config import cfg
from tsn.data.datasets.build import build_dataset
from tsn.data.transforms.build import build_transform
def test_ucf101_rgb():
cfg.merge_from_file('configs/tsn_r50_ucf101_rgb_raw... | 27.082474 | 76 | 0.722497 | 373 | 2,627 | 4.729223 | 0.152815 | 0.047619 | 0.07483 | 0.054422 | 0.834467 | 0.820862 | 0.820862 | 0.820862 | 0.684807 | 0.684807 | 0 | 0.062329 | 0.163304 | 2,627 | 96 | 77 | 27.364583 | 0.740218 | 0.036924 | 0 | 0.639344 | 0 | 0 | 0.114988 | 0.111816 | 0 | 0 | 0 | 0 | 0.098361 | 1 | 0.098361 | false | 0 | 0.04918 | 0 | 0.147541 | 0.196721 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2906c28e1f1c54e5b5b3178b807f6d37f290b241 | 58 | py | Python | datasets/__init__.py | nota-github/ssd_tf2 | e69260cad8595749ca38ee89a0f0bc0619b717e4 | [
"MIT"
] | 8 | 2020-12-24T06:21:42.000Z | 2022-03-20T01:40:54.000Z | datasets/__init__.py | nota-github/ssd_tf2 | e69260cad8595749ca38ee89a0f0bc0619b717e4 | [
"MIT"
] | null | null | null | datasets/__init__.py | nota-github/ssd_tf2 | e69260cad8595749ca38ee89a0f0bc0619b717e4 | [
"MIT"
] | 2 | 2021-09-04T07:30:25.000Z | 2022-03-16T12:06:13.000Z | from .voc import VOCDataset
from .coco import COCODataset | 29 | 29 | 0.827586 | 8 | 58 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 29 | 29 | 0.96 | 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 | 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 | 5 |
29226528b940150df9c3afe571d541c5dc154f48 | 77 | py | Python | scripts/dbpedia/dbpedia/basic.py | aitrek/quepy3 | 977452585bd04765a1e3d30d3d354b73d4a261cf | [
"BSD-3-Clause"
] | 1 | 2022-03-20T06:37:30.000Z | 2022-03-20T06:37:30.000Z | scripts/dbpedia/dbpedia/basic.py | aitrek/quepy3 | 977452585bd04765a1e3d30d3d354b73d4a261cf | [
"BSD-3-Clause"
] | null | null | null | scripts/dbpedia/dbpedia/basic.py | aitrek/quepy3 | 977452585bd04765a1e3d30d3d354b73d4a261cf | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
Basic queries for dbpedia quepy.
"""
from dsl import *
| 9.625 | 32 | 0.649351 | 11 | 77 | 4.545455 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.207792 | 77 | 7 | 33 | 11 | 0.803279 | 0.61039 | 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 | 0 | 0 | 0 | 0 | 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 | 5 |
29263158b10efb99a6059069ccac08153f4c8c61 | 270 | py | Python | src/simapi_web/rest_api/admin.py | RichieBrady/SimAPI-Python | 9bd07e9fd0b3b4f37c968b061791ef9c1c6d213c | [
"MIT"
] | 1 | 2020-04-08T19:40:10.000Z | 2020-04-08T19:40:10.000Z | src/simapi_web/rest_api/admin.py | RichieBrady/SimAPI-Python | 9bd07e9fd0b3b4f37c968b061791ef9c1c6d213c | [
"MIT"
] | 8 | 2020-04-12T08:52:21.000Z | 2021-09-22T18:34:19.000Z | src/simapi_web/rest_api/admin.py | RichieBrady/SimAPI-Python | 9bd07e9fd0b3b4f37c968b061791ef9c1c6d213c | [
"MIT"
] | 2 | 2020-04-08T08:52:15.000Z | 2021-04-24T12:44:39.000Z | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.User)
admin.site.register(models.FmuModel)
admin.site.register(models.Input)
admin.site.register(models.Output)
admin.site.register(models.ContainerHostNames)
| 27 | 46 | 0.822222 | 37 | 270 | 6 | 0.405405 | 0.202703 | 0.382883 | 0.518018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07037 | 270 | 9 | 47 | 30 | 0.884462 | 0.096296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
294d8cccd7adc33a8fa4ec68397d0d3ebc19a7c8 | 271 | py | Python | lib/exceptions.py | OneIdentity/safeguard-sessions-plugin-onelogin | ade31df93a8eeadf4269da712b5b65ddc3085621 | [
"MIT"
] | null | null | null | lib/exceptions.py | OneIdentity/safeguard-sessions-plugin-onelogin | ade31df93a8eeadf4269da712b5b65ddc3085621 | [
"MIT"
] | null | null | null | lib/exceptions.py | OneIdentity/safeguard-sessions-plugin-onelogin | ade31df93a8eeadf4269da712b5b65ddc3085621 | [
"MIT"
] | null | null | null | class PluginError(Exception):
pass
class OneLoginClientError(PluginError):
pass
class UserNotFound(PluginError):
pass
class FactorNotFound(PluginError):
pass
class TimeOutError(PluginError):
pass
class APIResponseError(PluginError):
pass | 12.318182 | 39 | 0.745387 | 24 | 271 | 8.416667 | 0.375 | 0.222772 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188192 | 271 | 22 | 40 | 12.318182 | 0.918182 | 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 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
29816e37d95eafd46ff49906d1280e8bb2e0e368 | 727 | py | Python | recipe_parser/recipes/dr.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | recipe_parser/recipes/dr.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | recipe_parser/recipes/dr.py | tyler-a-cox/recipe-parsing | fa883f66a39063cf72912527628b082cda455e76 | [
"MIT"
] | null | null | null | from ._schema import DefaultSchema
class Dr(DefaultSchema):
@classmethod
def host(cls):
return "dr.dk"
def title(self):
return self.schema.title()
def total_time(self):
return self.schema.total_time()
def yields(self):
return self.schema.yields()
def image(s... | 21.382353 | 85 | 0.598349 | 83 | 727 | 5.180723 | 0.39759 | 0.139535 | 0.195349 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280605 | 727 | 33 | 86 | 22.030303 | 0.82218 | 0 | 0 | 0 | 0 | 0 | 0.048143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0.043478 | 0.304348 | 0.782609 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
465bbdf377eb91a6d7fa0b9bb6d789d9fdab976a | 189 | py | Python | O4/__init__.py | ShAlireza/ML-Tries | 4516be7a3275c9bdedd7bd258800be384b6b34f0 | [
"MIT"
] | null | null | null | O4/__init__.py | ShAlireza/ML-Tries | 4516be7a3275c9bdedd7bd258800be384b6b34f0 | [
"MIT"
] | null | null | null | O4/__init__.py | ShAlireza/ML-Tries | 4516be7a3275c9bdedd7bd258800be384b6b34f0 | [
"MIT"
] | null | null | null | from .utils import csv_file, categorical_dataframe, prepare_data
from ._23_select_meaningful_features.SBS import SBS
__all__ = ('csv_file', 'categorical_dataframe', 'prepare_data', 'SBS')
| 37.8 | 70 | 0.809524 | 25 | 189 | 5.56 | 0.6 | 0.100719 | 0.258993 | 0.388489 | 0.546763 | 0.546763 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.089947 | 189 | 4 | 71 | 47.25 | 0.796512 | 0 | 0 | 0 | 0 | 0 | 0.232804 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
466c83f0f68fbce139fd0ba939a3a34f6f158644 | 1,063 | py | Python | jterritory/exceptions/method.py | jameysharp/jterritory | b41e53ce04fe63db8a5943d2808e4fa9f9b15b32 | [
"Apache-2.0"
] | 5 | 2021-05-14T18:50:11.000Z | 2021-05-23T03:08:55.000Z | jterritory/exceptions/method.py | jameysharp/jterritory | b41e53ce04fe63db8a5943d2808e4fa9f9b15b32 | [
"Apache-2.0"
] | null | null | null | jterritory/exceptions/method.py | jameysharp/jterritory | b41e53ce04fe63db8a5943d2808e4fa9f9b15b32 | [
"Apache-2.0"
] | null | null | null | from __future__ import annotations
from typing import Optional
from . import MethodError
class ServerUnavailable(MethodError):
pass
class ServerFail(MethodError):
description: Optional[str]
class ServerPartialFail(MethodError):
pass
class UnknownMethod(MethodError):
pass
class InvalidArgument... | 13.123457 | 51 | 0.764817 | 91 | 1,063 | 8.89011 | 0.32967 | 0.315204 | 0.39555 | 0.081582 | 0.093943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174976 | 1,063 | 80 | 52 | 13.2875 | 0.922463 | 0 | 0 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.414634 | 0.073171 | 0 | 0.585366 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
467a538c28944cd7c022906526287ae5c942a0b7 | 162 | py | Python | chatServer/admin.py | odeke-em/restAssured | 72d5c3a3fe9fd090f067a4332f2a1df15370b1bb | [
"MIT"
] | 1 | 2016-11-20T17:54:02.000Z | 2016-11-20T17:54:02.000Z | chatServer/admin.py | odeke-em/restAssured | 72d5c3a3fe9fd090f067a4332f2a1df15370b1bb | [
"MIT"
] | null | null | null | chatServer/admin.py | odeke-em/restAssured | 72d5c3a3fe9fd090f067a4332f2a1df15370b1bb | [
"MIT"
] | null | null | null | from django.contrib import admin
from chatServer.models import *
admin.site.register(Message)
admin.site.register(MessageMarker)
admin.site.register(Receipient)
| 23.142857 | 34 | 0.833333 | 21 | 162 | 6.428571 | 0.571429 | 0.2 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 162 | 6 | 35 | 27 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
46acbda3033470eab088040369aa3421cadcdff4 | 2,452 | py | Python | permissions/department.py | CloudCIX/membership | a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b | [
"Apache-2.0"
] | null | null | null | permissions/department.py | CloudCIX/membership | a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b | [
"Apache-2.0"
] | null | null | null | permissions/department.py | CloudCIX/membership | a7a62918c7d7c65dd1bf2068431dbf2ec2573e4b | [
"Apache-2.0"
] | null | null | null | # stdlib
from typing import Optional
# lib
from cloudcix_rest.exceptions import Http403
from rest_framework.request import Request
# local
from membership.models import Department, User
class Permissions:
@staticmethod
def create(request: Request) -> Optional[Http403]:
"""
The request to crea... | 36.597015 | 73 | 0.682708 | 298 | 2,452 | 5.506711 | 0.184564 | 0.095064 | 0.124314 | 0.093845 | 0.813528 | 0.729433 | 0.729433 | 0.628275 | 0.628275 | 0.628275 | 0 | 0.029476 | 0.252855 | 2,452 | 66 | 74 | 37.151515 | 0.866266 | 0.356444 | 0 | 0.428571 | 0 | 0 | 0.18018 | 0.155232 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.142857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
46b5d9659284fc76390dfdb3dc0b54fb96b6d010 | 206 | py | Python | prettyqr/error.py | olorin/prettyqr | 6206c32ce6f3a8c91ee5f25b4d71b49d4c0b7cde | [
"MIT"
] | 2 | 2018-05-13T14:42:36.000Z | 2021-12-17T15:08:15.000Z | prettyqr/error.py | olorin/prettyqr | 6206c32ce6f3a8c91ee5f25b4d71b49d4c0b7cde | [
"MIT"
] | 4 | 2021-03-18T20:25:28.000Z | 2022-01-13T00:42:14.000Z | prettyqr/error.py | olorin/prettyqr | 6206c32ce6f3a8c91ee5f25b4d71b49d4c0b7cde | [
"MIT"
] | null | null | null | class PrettyException(Exception):
"Semantic errors in prettyqr."
pass
class ImageNotSquareException(PrettyException):
pass
class BaseImageSmallerThanQRCodeException(PrettyException):
pass
| 20.6 | 59 | 0.791262 | 16 | 206 | 10.1875 | 0.625 | 0.110429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150485 | 206 | 9 | 60 | 22.888889 | 0.931429 | 0.135922 | 0 | 0.428571 | 0 | 0 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d3bc2e8c84b574db78e425e12f4437a0fab243f6 | 164 | py | Python | subproc/__init__.py | luxmeter/subproc | bb76d7a2ef63a91189a2b72792d6d5334f20d78f | [
"Apache-2.0"
] | null | null | null | subproc/__init__.py | luxmeter/subproc | bb76d7a2ef63a91189a2b72792d6d5334f20d78f | [
"Apache-2.0"
] | null | null | null | subproc/__init__.py | luxmeter/subproc | bb76d7a2ef63a91189a2b72792d6d5334f20d78f | [
"Apache-2.0"
] | null | null | null | from .subproc import DEVNULL, run, run_cmds, run_cmds_redirected, run_redirected
__all__ = ['run', 'run_cmds', 'run_redirected', 'run_cmds_redirected', 'DEVNULL']
| 41 | 81 | 0.768293 | 22 | 164 | 5.181818 | 0.363636 | 0.245614 | 0.175439 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 164 | 3 | 82 | 54.666667 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0.310976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
31024f429d501c05f80ed0db1ace43bfa32e0114 | 86 | py | Python | novafitness_sds018/__init__.py | FEEprojects/novafitness-sds018 | 1ea85baea8fb7666a3369586b113f1edd3312172 | [
"MIT"
] | 2 | 2019-01-24T10:58:38.000Z | 2021-03-16T20:33:11.000Z | novafitness_sds018/__init__.py | FEEprojects/novafitness-sds018 | 1ea85baea8fb7666a3369586b113f1edd3312172 | [
"MIT"
] | null | null | null | novafitness_sds018/__init__.py | FEEprojects/novafitness-sds018 | 1ea85baea8fb7666a3369586b113f1edd3312172 | [
"MIT"
] | null | null | null | from .novafitness_sds018 import NovafitnessReading, Novafitness, NovafitnessException
| 43 | 85 | 0.895349 | 7 | 86 | 10.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.069767 | 86 | 1 | 86 | 86 | 0.9125 | 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 | 0 | 0 | 0 | 5 |
3129d941048ad90a5b940f17927ae9125c7448ce | 75 | py | Python | states/__init__.py | sd65/ssm-diff | f141212276cbb6865a66949b4acd307f35862d38 | [
"MIT"
] | 1 | 2021-11-14T21:14:20.000Z | 2021-11-14T21:14:20.000Z | states/__init__.py | sd65/ssm-diff | f141212276cbb6865a66949b4acd307f35862d38 | [
"MIT"
] | 7 | 2019-06-24T19:07:18.000Z | 2020-07-02T18:46:42.000Z | states/__init__.py | sd65/ssm-diff | f141212276cbb6865a66949b4acd307f35862d38 | [
"MIT"
] | 4 | 2019-07-30T14:56:47.000Z | 2021-02-01T19:57:29.000Z | from .storage import YAMLFile, ParameterStore
from .engine import DiffBase
| 25 | 45 | 0.84 | 9 | 75 | 7 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 2 | 46 | 37.5 | 0.954545 | 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 | 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 | 5 |
312c0e9577f108b94b325522ea5d16103ac9183b | 241 | py | Python | grammar/ptl/decl.py | xurxodiz/cardwalker | 110e391d71854aaaa6d2b231d6c29f7d4f2d1dfa | [
"MIT"
] | 1 | 2018-07-22T22:52:12.000Z | 2018-07-22T22:52:12.000Z | grammar/ptl/decl.py | xurxodiz/cardwalker | 110e391d71854aaaa6d2b231d6c29f7d4f2d1dfa | [
"MIT"
] | null | null | null | grammar/ptl/decl.py | xurxodiz/cardwalker | 110e391d71854aaaa6d2b231d6c29f7d4f2d1dfa | [
"MIT"
] | null | null | null | from pyparsing import *
import act
loyaltymod = Forward().setParseAction(act.loyaltymod)
ptmod = Forward().setParseAction(act.ptmod)
loyaltystart = Forward().setParseAction(act.loyaltystart)
ptstart = Forward().setParseAction(act.ptstart) | 26.777778 | 57 | 0.79668 | 25 | 241 | 7.68 | 0.4 | 0.4375 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082988 | 241 | 9 | 58 | 26.777778 | 0.868778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 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 | 5 |
3137733a779df89392191c3b812a27d4a8e532c4 | 267 | py | Python | rest_api/src/restapi/mixins.py | supermonkeyparadise/python | ce8799d643dd7af2b1cb5bc9179bcd83be9769d6 | [
"MIT"
] | null | null | null | rest_api/src/restapi/mixins.py | supermonkeyparadise/python | ce8799d643dd7af2b1cb5bc9179bcd83be9769d6 | [
"MIT"
] | null | null | null | rest_api/src/restapi/mixins.py | supermonkeyparadise/python | ce8799d643dd7af2b1cb5bc9179bcd83be9769d6 | [
"MIT"
] | null | null | null | from django.http import JsonResponse
class JsonResponseMixin(object):
def render_to_json_response(self, context, **response_kwargs):
return JsonResponse(self.get_data(context), **response_kwargs)
def get_data(self, context):
return context
| 26.7 | 70 | 0.745318 | 32 | 267 | 6 | 0.59375 | 0.114583 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 267 | 9 | 71 | 29.666667 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
31467481191e5773e833bc50d4424c8751c803ff | 2,922 | py | Python | mecache/core.py | AberSheeran/mecache | 1e4995bae16320c6d26ad9b0b0200a092a42eea0 | [
"MIT"
] | 4 | 2019-04-01T12:11:27.000Z | 2019-04-09T11:14:33.000Z | mecache/core.py | AberSheeran/mecache | 1e4995bae16320c6d26ad9b0b0200a092a42eea0 | [
"MIT"
] | null | null | null | mecache/core.py | AberSheeran/mecache | 1e4995bae16320c6d26ad9b0b0200a092a42eea0 | [
"MIT"
] | 1 | 2020-07-30T07:37:01.000Z | 2020-07-30T07:37:01.000Z | import time
import pickle
import hmac
from hashlib import sha1
from functools import wraps
class Aboriginal:
@staticmethod
def keyf(*args, **kwargs):
key = pickle.dumps([args, kwargs])
mac = hmac.new(b'mecache', msg=key, digestmod=sha1)
return str(mac.hexdigest())
class BaseCache(Ab... | 29.515152 | 78 | 0.52601 | 333 | 2,922 | 4.543544 | 0.201201 | 0.079313 | 0.052875 | 0.074025 | 0.797092 | 0.748182 | 0.715135 | 0.715135 | 0.715135 | 0.715135 | 0 | 0.003286 | 0.375086 | 2,922 | 98 | 79 | 29.816327 | 0.825301 | 0.207734 | 0 | 0.509804 | 0 | 0 | 0.060959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156863 | false | 0 | 0.098039 | 0 | 0.45098 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3165b190e8f17df5618b7a166bf04f02aaa9e80d | 121 | py | Python | atest/robot/running/enable_ctrl_c_event.py | bhirsz/robotframework | d62ee5091ed932aee8fc12ae5e340a5b19288f05 | [
"ECL-2.0",
"Apache-2.0"
] | 7,073 | 2015-01-01T17:19:16.000Z | 2022-03-31T22:01:29.000Z | atest/robot/running/enable_ctrl_c_event.py | bhirsz/robotframework | d62ee5091ed932aee8fc12ae5e340a5b19288f05 | [
"ECL-2.0",
"Apache-2.0"
] | 2,412 | 2015-01-02T09:29:05.000Z | 2022-03-31T13:10:46.000Z | atest/robot/running/enable_ctrl_c_event.py | bhirsz/robotframework | d62ee5091ed932aee8fc12ae5e340a5b19288f05 | [
"ECL-2.0",
"Apache-2.0"
] | 2,298 | 2015-01-03T02:47:15.000Z | 2022-03-31T02:00:16.000Z | try:
from ctypes import windll
windll.kernel32.SetConsoleCtrlHandler(None, False)
except ImportError:
pass
| 15.125 | 54 | 0.743802 | 13 | 121 | 6.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.198347 | 121 | 7 | 55 | 17.285714 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 5 |
316727da0660dbed8d5f83dc5317f376c0f05bc1 | 177 | py | Python | depsland/data_struct/__init__.py | Likianta/depsland | 695c55acea755bc5ad5da5cf1d2f5990baaa5a7a | [
"MIT"
] | null | null | null | depsland/data_struct/__init__.py | Likianta/depsland | 695c55acea755bc5ad5da5cf1d2f5990baaa5a7a | [
"MIT"
] | null | null | null | depsland/data_struct/__init__.py | Likianta/depsland | 695c55acea755bc5ad5da5cf1d2f5990baaa5a7a | [
"MIT"
] | null | null | null | from . import special_versions
from .packge_info import PackageInfo
from .requester import Requester
from .requirement import Requirement
from .venv_options import VenvOptions
| 25.285714 | 37 | 0.853107 | 22 | 177 | 6.727273 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 177 | 6 | 38 | 29.5 | 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 | 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 | 5 |
31976c47657409305368cf5781f97e6e67e84d0a | 50 | py | Python | fewrel/__init__.py | bloomberg/emnlp21_fewrel | 894bee155196f99116e2ff12a01e2a942f861242 | [
"MIT"
] | 5 | 2021-11-04T20:55:42.000Z | 2022-02-26T08:03:23.000Z | fewrel/__init__.py | bloomberg/emnlp21_fewrel | 894bee155196f99116e2ff12a01e2a942f861242 | [
"MIT"
] | null | null | null | fewrel/__init__.py | bloomberg/emnlp21_fewrel | 894bee155196f99116e2ff12a01e2a942f861242 | [
"MIT"
] | 4 | 2021-11-09T05:13:06.000Z | 2022-02-26T13:10:37.000Z | from . import models
from . import fewshot_re_kit
| 16.666667 | 28 | 0.8 | 8 | 50 | 4.75 | 0.75 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 29 | 25 | 0.904762 | 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 | 0 | 0 | 0 | 5 |
31bc2e0bd6364f613e1275bf1be59d62d2c776ba | 197 | py | Python | cabot/metricsapp/models/__init__.py | Affirm/cabot | c648d50364efe8506cfbb849d38e328afdaa4e37 | [
"MIT"
] | 12 | 2016-04-01T18:49:05.000Z | 2020-10-21T18:25:23.000Z | cabot/metricsapp/models/__init__.py | Affirm/cabot | c648d50364efe8506cfbb849d38e328afdaa4e37 | [
"MIT"
] | 125 | 2016-01-19T23:52:11.000Z | 2021-04-08T00:30:36.000Z | cabot/metricsapp/models/__init__.py | Affirm/cabot | c648d50364efe8506cfbb849d38e328afdaa4e37 | [
"MIT"
] | 8 | 2015-12-01T14:54:02.000Z | 2020-01-13T11:06:40.000Z | from .base import MetricsSourceBase, MetricsStatusCheckBase
from .elastic import ElasticsearchSource, ElasticsearchStatusCheck
from .grafana import GrafanaInstance, GrafanaDataSource, GrafanaPanel
| 49.25 | 69 | 0.883249 | 16 | 197 | 10.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081218 | 197 | 3 | 70 | 65.666667 | 0.961326 | 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 | 0 | 0 | 0 | 5 |
31cbcd52cbda60c239eff04d0ca9972de8f1a938 | 108 | py | Python | xnmt/test/utils.py | mukund-v/xnmt | d9e227b04c8ec54b4bb136e827bcfaf14cd11e3a | [
"Apache-2.0"
] | null | null | null | xnmt/test/utils.py | mukund-v/xnmt | d9e227b04c8ec54b4bb136e827bcfaf14cd11e3a | [
"Apache-2.0"
] | null | null | null | xnmt/test/utils.py | mukund-v/xnmt | d9e227b04c8ec54b4bb136e827bcfaf14cd11e3a | [
"Apache-2.0"
] | null | null | null | def has_cython():
try:
from xnmt.cython import xnmt_cython
return True
except:
return False
| 15.428571 | 39 | 0.685185 | 15 | 108 | 4.8 | 0.733333 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 108 | 6 | 40 | 18 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
9ed4c9481d1f988354d656f11f9d98ee7291a5c8 | 55 | py | Python | src/bookmark/tag/__init__.py | microservice-experiment-flask-0hsn/pocket-ws-flask | e7582a6ebe4b554070f183e43042c87762633085 | [
"MIT"
] | null | null | null | src/bookmark/tag/__init__.py | microservice-experiment-flask-0hsn/pocket-ws-flask | e7582a6ebe4b554070f183e43042c87762633085 | [
"MIT"
] | null | null | null | src/bookmark/tag/__init__.py | microservice-experiment-flask-0hsn/pocket-ws-flask | e7582a6ebe4b554070f183e43042c87762633085 | [
"MIT"
] | null | null | null | from .domain import Tag
from .api import blueprint_tag
| 18.333333 | 30 | 0.818182 | 9 | 55 | 4.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 31 | 27.5 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9ede2c2b1fb03b803184ad0361695515a113541f | 126 | py | Python | services/controller/src/plz/controller/results/__init__.py | prodo-ai/plz | 46d179fca5730b7ed2f236d53d78c42358aed72b | [
"MIT"
] | 29 | 2018-04-14T20:05:41.000Z | 2019-04-15T09:02:40.000Z | services/controller/src/plz/controller/results/__init__.py | neomatrix369/plz | 12f05a8d071e9c1976c444d34161530ffa73eeae | [
"MIT"
] | 23 | 2018-04-14T23:32:32.000Z | 2019-06-07T21:38:58.000Z | services/controller/src/plz/controller/results/__init__.py | neomatrix369/plz | 12f05a8d071e9c1976c444d34161530ffa73eeae | [
"MIT"
] | 3 | 2018-09-19T15:08:21.000Z | 2019-03-22T12:21:07.000Z | from .local import LocalResultsStorage # noqa: F401 (unused)
from .results_base import ResultsStorage # noqa: F401 (unused)
| 42 | 63 | 0.777778 | 15 | 126 | 6.466667 | 0.666667 | 0.164948 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.142857 | 126 | 2 | 64 | 63 | 0.842593 | 0.309524 | 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 | 0 | 0 | 0 | 5 |
9ef9ebb50bc1a5ca4c6d6d16bbe5864b7bd76e9c | 3,724 | py | Python | packages/pyright-internal/src/tests/samples/arrowCallable3.py | PylanceBot/pyright | 66204014fef40dc4ff9d4822ba0095f3073d49bf | [
"MIT"
] | 1 | 2022-02-14T04:03:29.000Z | 2022-02-14T04:03:29.000Z | packages/pyright-internal/src/tests/samples/arrowCallable3.py | PylanceBot/pyright | 66204014fef40dc4ff9d4822ba0095f3073d49bf | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/arrowCallable3.py | PylanceBot/pyright | 66204014fef40dc4ff9d4822ba0095f3073d49bf | [
"MIT"
] | null | null | null | # This sample tests deeply-nested parentheses, which can cause problems
# in the parser for arrow callables.
from typing import Any
def func(*args: Any):
...
def func2(*args: Any) -> str:
...
def func3(a: str | None, b: str | None, x: str | None, y: str | None, z1: int, z2: int):
func(
(
... | 44.333333 | 135 | 0.104458 | 115 | 3,724 | 3.382609 | 0.347826 | 0.246787 | 0.339332 | 0.411311 | 0.269923 | 0.269923 | 0.226221 | 0.133676 | 0.133676 | 0.133676 | 0 | 0.015126 | 0.840226 | 3,724 | 83 | 136 | 44.86747 | 0.638655 | 0.027927 | 0 | 0.236111 | 0 | 0 | 0.010782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013889 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
73256e00ddb3876659ba2a8a94e72ff1272f1e51 | 437 | py | Python | ariadne/contrib/__init__.py | MeTaNoV/inception-external-recommender | 41d894c05053720d2b37510568d11d36433c3cf9 | [
"Apache-2.0"
] | 30 | 2019-12-03T21:41:44.000Z | 2022-02-23T16:11:24.000Z | ariadne/contrib/__init__.py | MeTaNoV/inception-external-recommender | 41d894c05053720d2b37510568d11d36433c3cf9 | [
"Apache-2.0"
] | 31 | 2019-10-22T19:59:09.000Z | 2022-02-07T19:41:42.000Z | ariadne/contrib/__init__.py | MeTaNoV/inception-external-recommender | 41d894c05053720d2b37510568d11d36433c3cf9 | [
"Apache-2.0"
] | 11 | 2019-11-01T06:30:40.000Z | 2022-03-21T16:01:07.000Z | from ariadne.contrib.adapters import AdapterSequenceTagger
from ariadne.contrib.jieba import JiebaSegmenter
from ariadne.contrib.nltk import NltkStemmer
from ariadne.contrib.sbert import SbertSentenceClassifier
from ariadne.contrib.sklearn import SklearnSentenceClassifier, SklearnMentionDetector
from ariadne.contrib.sp... | 54.625 | 85 | 0.894737 | 44 | 437 | 8.886364 | 0.454545 | 0.196931 | 0.322251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06865 | 437 | 7 | 86 | 62.428571 | 0.960688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 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 | 5 |
7348ddefe8db2334e25e2cabecc2f2cf5ec9ded5 | 114 | py | Python | costar_task_plan/python/costar_task_plan/robotics/perception/__init__.py | cpaxton/costar_plan | be5c12f9d0e9d7078e6a5c283d3be059e7f3d040 | [
"Apache-2.0"
] | 66 | 2018-10-31T04:58:53.000Z | 2022-03-17T02:32:25.000Z | costar_task_plan/python/costar_task_plan/robotics/perception/__init__.py | cpaxton/costar_plan | be5c12f9d0e9d7078e6a5c283d3be059e7f3d040 | [
"Apache-2.0"
] | 8 | 2018-10-23T21:19:25.000Z | 2018-12-03T02:08:41.000Z | costar_task_plan/python/costar_task_plan/robotics/perception/__init__.py | cpaxton/costar_plan | be5c12f9d0e9d7078e6a5c283d3be059e7f3d040 | [
"Apache-2.0"
] | 25 | 2018-10-19T00:54:17.000Z | 2021-10-10T08:28:15.000Z | from .transform_integrator import TransformIntegator
from .urdf_to_collision_object import CollisionObjectManager
| 38 | 60 | 0.912281 | 12 | 114 | 8.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 61 | 57 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
b4383875b089c239ea13a6848e41eed0f0ab8c02 | 67 | py | Python | utils/__init__.py | LividWo/Perturbed-Masking | f57859261a7daa24de6310ad6ea8cce977d52fde | [
"MIT"
] | 94 | 2020-05-24T03:57:08.000Z | 2022-03-16T08:47:27.000Z | utils/__init__.py | LividWo/Perturbed-Masking | f57859261a7daa24de6310ad6ea8cce977d52fde | [
"MIT"
] | 9 | 2020-06-22T03:52:20.000Z | 2021-09-08T06:53:42.000Z | utils/__init__.py | LividWo/Perturbed-Masking | f57859261a7daa24de6310ad6ea8cce977d52fde | [
"MIT"
] | 13 | 2020-06-14T03:07:39.000Z | 2022-02-24T08:56:45.000Z | from .tokens import UToken
from .conlludataset import ConllUDataset | 33.5 | 40 | 0.865672 | 8 | 67 | 7.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 2 | 40 | 33.5 | 0.966667 | 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 | 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 | 5 |
b4391bd6012aa042e2e78de4bd4dc8296c8f4b3e | 27 | py | Python | keras/train.py | nynicg/graduation | b02cfc083b37c4511fa48be0ebc8528e21d4159b | [
"FTL"
] | null | null | null | keras/train.py | nynicg/graduation | b02cfc083b37c4511fa48be0ebc8528e21d4159b | [
"FTL"
] | null | null | null | keras/train.py | nynicg/graduation | b02cfc083b37c4511fa48be0ebc8528e21d4159b | [
"FTL"
] | null | null | null | import snnn
snnn.train() | 9 | 12 | 0.703704 | 4 | 27 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 3 | 13 | 9 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b441e7c82bb9214f8c4c89ccd5df6b7f168c015a | 118 | wsgi | Python | flaskapp.wsgi | dcollan/Gator-Grub | e46b81ab93dc5296679ee8bb6a203c2d1a2c69f3 | [
"MIT"
] | null | null | null | flaskapp.wsgi | dcollan/Gator-Grub | e46b81ab93dc5296679ee8bb6a203c2d1a2c69f3 | [
"MIT"
] | null | null | null | flaskapp.wsgi | dcollan/Gator-Grub | e46b81ab93dc5296679ee8bb6a203c2d1a2c69f3 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, '/var/www/html/csc648-03-sp21-Team02/application')
from main import app as application
| 23.6 | 69 | 0.779661 | 20 | 118 | 4.6 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0.09322 | 118 | 4 | 70 | 29.5 | 0.766355 | 0 | 0 | 0 | 0 | 0 | 0.398305 | 0.398305 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b4608ced0546db35235eabb8a5c7d5b8bc3dad83 | 89 | py | Python | ulidr/__init__.py | RonquilloAeon/ulidr | 8406ece22ff3d47c3c360928769cfa85adaec36a | [
"MIT"
] | null | null | null | ulidr/__init__.py | RonquilloAeon/ulidr | 8406ece22ff3d47c3c360928769cfa85adaec36a | [
"MIT"
] | null | null | null | ulidr/__init__.py | RonquilloAeon/ulidr | 8406ece22ff3d47c3c360928769cfa85adaec36a | [
"MIT"
] | null | null | null | from ._rust_ulid import generate_ulid
__version__ = "0.1.0"
__all__ = ["generate_ulid"]
| 17.8 | 37 | 0.752809 | 13 | 89 | 4.230769 | 0.692308 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.123596 | 89 | 4 | 38 | 22.25 | 0.666667 | 0 | 0 | 0 | 1 | 0 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b47379248dad547b3811d27d09660f72e71494ed | 192 | py | Python | contact/urls.py | Sahil1515/VeriListo | 7488df770196dc416bf5a5ef0ff29055d0154f74 | [
"MIT"
] | null | null | null | contact/urls.py | Sahil1515/VeriListo | 7488df770196dc416bf5a5ef0ff29055d0154f74 | [
"MIT"
] | null | null | null | contact/urls.py | Sahil1515/VeriListo | 7488df770196dc416bf5a5ef0ff29055d0154f74 | [
"MIT"
] | null | null | null |
from django.urls import path
from . import views
urlpatterns = [
path('',views.contact,name='contact'),
path('send_mail_by_user',views.send_mail_by_user,name='send_mail_by_user'),
] | 21.333333 | 79 | 0.734375 | 29 | 192 | 4.551724 | 0.448276 | 0.181818 | 0.227273 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 192 | 9 | 80 | 21.333333 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.213542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b4818ce695a52ff6cbc3f1cd492575e1570ecafd | 105 | py | Python | week1.py | alicia3106/csws-week1 | 3506e2bd288e1427e0a1b87dc25f1e5185a484bd | [
"Apache-2.0"
] | null | null | null | week1.py | alicia3106/csws-week1 | 3506e2bd288e1427e0a1b87dc25f1e5185a484bd | [
"Apache-2.0"
] | null | null | null | week1.py | alicia3106/csws-week1 | 3506e2bd288e1427e0a1b87dc25f1e5185a484bd | [
"Apache-2.0"
] | null | null | null | message = "Hello python world"
print(message)
message = "Hello python crash course world"
print(message) | 21 | 43 | 0.771429 | 14 | 105 | 5.785714 | 0.5 | 0.296296 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 5 | 44 | 21 | 0.89011 | 0 | 0 | 0.5 | 0 | 0 | 0.462264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b483908674abf4a64f4c506fc37adea0482f1c0f | 79 | py | Python | easyTCP2/Server/__init__.py | dsal3389/easyTCP2 | f595442c9e56e36cbc067df95675f4fa1f7b889f | [
"MIT"
] | 1 | 2019-03-28T02:10:52.000Z | 2019-03-28T02:10:52.000Z | easyTCP2/Server/__init__.py | dsal3389/easyTCP2 | f595442c9e56e36cbc067df95675f4fa1f7b889f | [
"MIT"
] | null | null | null | easyTCP2/Server/__init__.py | dsal3389/easyTCP2 | f595442c9e56e36cbc067df95675f4fa1f7b889f | [
"MIT"
] | null | null | null | from .Server import Server
from .Client import Client
from .Groups import Group | 26.333333 | 26 | 0.822785 | 12 | 79 | 5.416667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 3 | 27 | 26.333333 | 0.955882 | 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 | 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 | 5 |
81e7d8781d7961f182d1dd71188b8f3d4f6f18be | 12 | py | Python | Ex_Files_Python_EssT/Exercise Files/Chap09/teste.py | cinthiatengan/Basic-Python | 9dbc280af2e9af9b79421018be814d0f178d8097 | [
"MIT"
] | null | null | null | Ex_Files_Python_EssT/Exercise Files/Chap09/teste.py | cinthiatengan/Basic-Python | 9dbc280af2e9af9b79421018be814d0f178d8097 | [
"MIT"
] | null | null | null | Ex_Files_Python_EssT/Exercise Files/Chap09/teste.py | cinthiatengan/Basic-Python | 9dbc280af2e9af9b79421018be814d0f178d8097 | [
"MIT"
] | null | null | null | print('OLA') | 12 | 12 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 | 1 | 12 | 12 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c31ed96af97354d17c41b803d86885e194942ea0 | 247 | py | Python | profiles_api/admin.py | gouemoolaf28/profiles-rest-api | a4b1f2ef136bc445df0923930e3c42af0de7e800 | [
"MIT"
] | null | null | null | profiles_api/admin.py | gouemoolaf28/profiles-rest-api | a4b1f2ef136bc445df0923930e3c42af0de7e800 | [
"MIT"
] | 7 | 2020-06-06T01:35:34.000Z | 2022-02-10T10:17:36.000Z | profiles_api/admin.py | gouemoolaf28/profiles-rest-api | a4b1f2ef136bc445df0923930e3c42af0de7e800 | [
"MIT"
] | null | null | null | from django.contrib import admin
#from .models import UserProfile
from profiles_api import models
# Register your models here.
# admin.site.register(UserProfile)
admin.site.register(models.UserProfile)
admin.site.register(models.ProfileFeedItem)
| 27.444444 | 43 | 0.82996 | 32 | 247 | 6.375 | 0.4375 | 0.132353 | 0.25 | 0.27451 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089069 | 247 | 8 | 44 | 30.875 | 0.906667 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c33a7f1cd832956cc2f72cb5203978bbc71d475d | 18,897 | py | Python | sdk/python/pulumi_aws/organizations/delegated_administrator.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-10T16:33:40.000Z | 2021-11-10T16:33:40.000Z | sdk/python/pulumi_aws/organizations/delegated_administrator.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/organizations/delegated_administrator.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.844548 | 188 | 0.665238 | 2,176 | 18,897 | 5.556985 | 0.08364 | 0.065498 | 0.081045 | 0.072775 | 0.803837 | 0.766788 | 0.718492 | 0.689216 | 0.674744 | 0.620906 | 0 | 0.001747 | 0.242525 | 18,897 | 430 | 189 | 43.946512 | 0.843021 | 0.359898 | 0 | 0.483051 | 1 | 0 | 0.109122 | 0.028298 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161017 | false | 0.004237 | 0.021186 | 0 | 0.283898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c35c0e2e3d2137535858db4788e0ffd1e985b97d | 68 | py | Python | Strain/test1.py | chrishoen/Plots | d7fac99b0c80ebfc9148442576b1f14c54f2e88b | [
"MIT"
] | null | null | null | Strain/test1.py | chrishoen/Plots | d7fac99b0c80ebfc9148442576b1f14c54f2e88b | [
"MIT"
] | null | null | null | Strain/test1.py | chrishoen/Plots | d7fac99b0c80ebfc9148442576b1f14c54f2e88b | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
print("hello")
| 11.333333 | 31 | 0.764706 | 11 | 68 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 5 | 32 | 13.6 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5ed92d0fbbc74dcaa8eba144fb1888c504c1d64f | 9,324 | py | Python | test/test_squash.py | max-wittig/smartsquash | 3f68f2f3f3909316017126941ae2d5373593025c | [
"MIT"
] | 2 | 2020-03-09T13:17:29.000Z | 2020-03-10T14:09:25.000Z | test/test_squash.py | max-wittig/smartsquash | 3f68f2f3f3909316017126941ae2d5373593025c | [
"MIT"
] | 1 | 2020-03-11T08:59:03.000Z | 2020-03-11T22:00:16.000Z | test/test_squash.py | max-wittig/smartsquash | 3f68f2f3f3909316017126941ae2d5373593025c | [
"MIT"
] | null | null | null | import git
import re
from smartsquash import helpers, sq, squash
from typing import List, Dict, Set, Callable
def test_get_commits_in_between(repository: git.Repo, commit_files: Callable):
commit_1: git.Commit = commit_files(repository, ["test.txt"], "whatever")
commit_2: git.Commit = commit_files(
re... | 43.981132 | 85 | 0.683934 | 1,325 | 9,324 | 4.57434 | 0.071698 | 0.087444 | 0.138591 | 0.094374 | 0.872463 | 0.804653 | 0.797063 | 0.725128 | 0.671341 | 0.635539 | 0 | 0.017382 | 0.160875 | 9,324 | 211 | 86 | 44.189573 | 0.757285 | 0.0074 | 0 | 0.43956 | 0 | 0 | 0.193601 | 0.047454 | 0 | 0 | 0 | 0 | 0.236264 | 1 | 0.071429 | false | 0 | 0.021978 | 0 | 0.093407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5eeb52e5ccdb4e6ec1ca42f0a4fe0e0dbc21fd04 | 330 | py | Python | immvis/messagehandler/response/response_builder.py | imdavi/ImmVisWebsocketsServerPython | 6eb9e1166e97525ab1f252ef6ff176515f8dbbe8 | [
"MIT"
] | null | null | null | immvis/messagehandler/response/response_builder.py | imdavi/ImmVisWebsocketsServerPython | 6eb9e1166e97525ab1f252ef6ff176515f8dbbe8 | [
"MIT"
] | null | null | null | immvis/messagehandler/response/response_builder.py | imdavi/ImmVisWebsocketsServerPython | 6eb9e1166e97525ab1f252ef6ff176515f8dbbe8 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from ..actions.action_result import ActionResult
class ResponseBuilder(ABC):
@abstractmethod
def build_response_from_result(self, action_result: ActionResult) -> str:
pass
@abstractmethod
def build_response_from_error(self, error: Exception) -> str:
... | 25.384615 | 77 | 0.730303 | 37 | 330 | 6.297297 | 0.486486 | 0.145923 | 0.188841 | 0.257511 | 0.291845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 330 | 12 | 78 | 27.5 | 0.882576 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
6f14ee83f7983ff5856195a697eda6d8464b17bf | 220 | py | Python | app/api/config.py | daghan/graph-explorer | 0a01f3525cf618b45b92b092b10f48d70706f28c | [
"MIT"
] | 30 | 2018-06-18T13:45:10.000Z | 2021-11-22T19:10:24.000Z | app/api/config.py | daghan/graph-explorer | 0a01f3525cf618b45b92b092b10f48d70706f28c | [
"MIT"
] | 1 | 2022-02-10T22:51:29.000Z | 2022-02-10T22:51:29.000Z | app/api/config.py | gavinJLing/graphDataExplorer | f06501598e49649e68c7261a973dfd89ae1a2ea7 | [
"MIT"
] | 12 | 2018-09-28T07:31:02.000Z | 2020-12-18T08:02:59.000Z | class Config(object):
pass
class Production(Config):
ELASTICSEARCH_HOST = 'elasticsearch'
JANUS_HOST = 'janus'
class Development(Config):
ELASTICSEARCH_HOST = '127.0.0.1'
JANUS_HOST = '127.0.0.1'
| 16.923077 | 40 | 0.681818 | 28 | 220 | 5.214286 | 0.428571 | 0.260274 | 0.315068 | 0.123288 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.195455 | 220 | 12 | 41 | 18.333333 | 0.757062 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
6f531c8094873ea86814f3c33ab1b9d4952760dc | 97 | py | Python | ClassWorks/Shtepa/Lesson4/untitled/venv/BIBOT.py | BIBOT-BIBOT/FamousTeamDream | 273a9b831a80218cd6f904bc156d5d8f0a8f087e | [
"Apache-2.0"
] | null | null | null | ClassWorks/Shtepa/Lesson4/untitled/venv/BIBOT.py | BIBOT-BIBOT/FamousTeamDream | 273a9b831a80218cd6f904bc156d5d8f0a8f087e | [
"Apache-2.0"
] | null | null | null | ClassWorks/Shtepa/Lesson4/untitled/venv/BIBOT.py | BIBOT-BIBOT/FamousTeamDream | 273a9b831a80218cd6f904bc156d5d8f0a8f087e | [
"Apache-2.0"
] | null | null | null | a = int(input())
b = int(input())
if a == b:
print('a == b')
if a < b:
print('a < b')
if | 12.125 | 19 | 0.43299 | 19 | 97 | 2.210526 | 0.315789 | 0.190476 | 0.190476 | 0.428571 | 0.571429 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.298969 | 97 | 8 | 20 | 12.125 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f5fd910ce0fc0e2d343cf24247b43889bf5183f | 5,877 | py | Python | numom2b_preprocessing/unittests/preprocess_tests/test_read_from_csv.py | batflyer/nuMoM2b-preprocessing | e3831d33e06a2620df84655a3c9474794ecc8c44 | [
"MIT"
] | 2 | 2021-11-11T22:24:35.000Z | 2021-12-17T23:13:49.000Z | numom2b_preprocessing/unittests/preprocess_tests/test_read_from_csv.py | batflyer/nuMoM2b-preprocessing | e3831d33e06a2620df84655a3c9474794ecc8c44 | [
"MIT"
] | 5 | 2019-05-16T20:09:37.000Z | 2019-10-14T13:41:18.000Z | numom2b_preprocessing/unittests/preprocess_tests/test_read_from_csv.py | hayesall/nuMoM2b_preprocessing | e3831d33e06a2620df84655a3c9474794ecc8c44 | [
"MIT"
] | null | null | null | # Copyright 2019 Alexander L. Hayes
"""
Test for the preprocess module.
"""
from pandas import DataFrame
from pandas.util.testing import assert_frame_equal
from numpy import float64
import unittest
# Tests for:
from ... import preprocess
class ReadTargetTest(unittest.TestCase):
"""
Tests for the ``preproce... | 29.532663 | 112 | 0.508253 | 503 | 5,877 | 5.610338 | 0.159046 | 0.053154 | 0.102764 | 0.1382 | 0.781715 | 0.763997 | 0.763997 | 0.733877 | 0.713324 | 0.713324 | 0 | 0.044697 | 0.356645 | 5,877 | 198 | 113 | 29.681818 | 0.701666 | 0.091373 | 0 | 0.6 | 0 | 0 | 0.260314 | 0.146814 | 0 | 0 | 0 | 0 | 0.051852 | 1 | 0.044444 | false | 0 | 0.037037 | 0 | 0.096296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48e350aedf53a5716922d8eb05853f809c5ba381 | 110 | py | Python | ex6_threaded.py | buq2/cpp_embedded_python | 6b6faf0a5f0ecf9b5ec0e21a89143498b52765cc | [
"BSD-3-Clause"
] | null | null | null | ex6_threaded.py | buq2/cpp_embedded_python | 6b6faf0a5f0ecf9b5ec0e21a89143498b52765cc | [
"BSD-3-Clause"
] | null | null | null | ex6_threaded.py | buq2/cpp_embedded_python | 6b6faf0a5f0ecf9b5ec0e21a89143498b52765cc | [
"BSD-3-Clause"
] | null | null | null | print('Python module loaded')
import numpy as np
def sum(i, j):
return np.sum(np.array(i) + np.array(j)) | 18.333333 | 44 | 0.663636 | 21 | 110 | 3.47619 | 0.666667 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 110 | 6 | 44 | 18.333333 | 0.802198 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
48f124189894818a7bb9ddde4518b8610619442a | 142 | py | Python | paginate-example.py | xflr6/latexpages | 65d2961ecbbf47ab1ab126cab90b63e1ba121e26 | [
"MIT"
] | 2 | 2019-05-19T00:08:10.000Z | 2021-03-29T14:10:25.000Z | paginate-example.py | xflr6/latexpages | 65d2961ecbbf47ab1ab126cab90b63e1ba121e26 | [
"MIT"
] | null | null | null | paginate-example.py | xflr6/latexpages | 65d2961ecbbf47ab1ab126cab90b63e1ba121e26 | [
"MIT"
] | 1 | 2021-03-29T14:14:18.000Z | 2021-03-29T14:14:18.000Z | #!/usr/bin/env python3
# paginate-example.py
import latexpages
if __name__ == '__main__':
latexpages.paginate('example/latexpages.ini')
| 17.75 | 49 | 0.739437 | 17 | 142 | 5.705882 | 0.764706 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.119718 | 142 | 7 | 50 | 20.285714 | 0.768 | 0.288732 | 0 | 0 | 0 | 0 | 0.30303 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
48f367e916083ba41358350176af78574fe5e97d | 70 | py | Python | effector_database/tests.py | LuukHenk/effector_database | d9702f89ffd2a23b4f5233d4ece69c1ceebd6164 | [
"MIT"
] | null | null | null | effector_database/tests.py | LuukHenk/effector_database | d9702f89ffd2a23b4f5233d4ece69c1ceebd6164 | [
"MIT"
] | null | null | null | effector_database/tests.py | LuukHenk/effector_database | d9702f89ffd2a23b4f5233d4ece69c1ceebd6164 | [
"MIT"
] | null | null | null | from django.test import TestCase
# Too lazy to add some tests!??!??!
| 17.5 | 35 | 0.7 | 11 | 70 | 4.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 36 | 23.333333 | 0.844828 | 0.471429 | 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 | 0 | 0 | 0 | 0 | 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 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.