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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6982409f3621cdb6b714e375670fc5b7fe0a50dc | 48 | py | Python | micromlgen/__init__.py | agrimagsrl/micromlgen | e0cbb274a5343df5170c7dbb6bbc71c716b62d04 | [
"MIT"
] | 27 | 2019-12-22T10:27:22.000Z | 2021-12-15T16:03:17.000Z | micromlgen/__init__.py | agrimagsrl/micromlgen | e0cbb274a5343df5170c7dbb6bbc71c716b62d04 | [
"MIT"
] | 1 | 2020-01-14T22:28:38.000Z | 2020-01-15T07:38:30.000Z | micromlgen/__init__.py | agrimagsrl/micromlgen | e0cbb274a5343df5170c7dbb6bbc71c716b62d04 | [
"MIT"
] | 7 | 2019-12-20T06:07:45.000Z | 2021-09-10T18:19:33.000Z | from micromlgen.micromlgen import port, port_pca | 48 | 48 | 0.875 | 7 | 48 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
699067425967762592bc4909ea4844898c104c66 | 43 | py | Python | packages/watchmen-data-surface/src/watchmen_data_surface/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-data-surface/src/watchmen_data_surface/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-data-surface/src/watchmen_data_surface/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .main import get_data_surface_routers
| 21.5 | 42 | 0.883721 | 7 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69b74522fbb874fb8b54aee21ebd8649105a2451 | 173 | py | Python | TorchFly/torchfly/utilities/utils/__init__.py | mrazizi/TextGAIL | 9b6e0e62669e0bd4fbb1a8b64098c8432b0d725d | [
"MIT"
] | 19 | 2020-05-16T23:13:43.000Z | 2022-03-08T15:01:48.000Z | TorchFly/torchfly/common/utils/__init__.py | MarkusSagen/TextGAIL | 18ba72c6d63c3c3db1f195d118267c6e8243b4ff | [
"MIT"
] | 3 | 2021-06-08T21:07:12.000Z | 2021-12-13T20:41:53.000Z | TorchFly/torchfly/common/utils/__init__.py | MarkusSagen/TextGAIL | 18ba72c6d63c3c3db1f195d118267c6e8243b4ff | [
"MIT"
] | 10 | 2020-06-09T09:15:14.000Z | 2022-03-20T09:36:30.000Z | from .progress_bar import progress_bar, master_bar
from .set_random_seed import set_random_seed
from .fly_logging import init_logging
from .model_utils import get_pretrained | 43.25 | 50 | 0.878613 | 28 | 173 | 5.035714 | 0.535714 | 0.156028 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 173 | 4 | 51 | 43.25 | 0.898089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e0d000cca437f11b67324bbb554ce787e700404 | 24 | py | Python | primary/lib_secondary.py | manubhardwaj/python-skeleton | d6d8b24261c705398468bae7936ea35d76647b5d | [
"Apache-2.0"
] | null | null | null | primary/lib_secondary.py | manubhardwaj/python-skeleton | d6d8b24261c705398468bae7936ea35d76647b5d | [
"Apache-2.0"
] | null | null | null | primary/lib_secondary.py | manubhardwaj/python-skeleton | d6d8b24261c705398468bae7936ea35d76647b5d | [
"Apache-2.0"
] | null | null | null | def A():
print('A')
| 8 | 14 | 0.416667 | 4 | 24 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 2 | 15 | 12 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
38959b62a4f4d4e9e18aa8231c142ebe1b62cb08 | 205 | py | Python | ErrorPages/views.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | 4 | 2016-08-14T22:07:03.000Z | 2020-10-05T14:43:03.000Z | ErrorPages/views.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | null | null | null | ErrorPages/views.py | Tomcuzz/OctaHomeAutomation | 4f0c5ea8b3d5b6e67633ae9c4cb95287d2784f5e | [
"MIT"
] | null | null | null | # Create your views here.
from django.http import HttpResponse, HttpResponseNotFound
from django.shortcuts import render
def Error404(request):
return render(request, 'OctaHomeCore/errorPages/404.html')
| 29.285714 | 59 | 0.819512 | 25 | 205 | 6.72 | 0.8 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.102439 | 205 | 6 | 60 | 34.166667 | 0.880435 | 0.112195 | 0 | 0 | 0 | 0 | 0.177778 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2a7407dd8be5127d505ada30d633afe7966c30ae | 177 | py | Python | pythonapp/demo/views.py | svdemo/unit-test | b2c67c171395fafbf165819bc5c30a8f1797ce7b | [
"Apache-2.0"
] | 14 | 2020-09-17T09:17:16.000Z | 2022-03-08T05:19:03.000Z | pythonapp/demo/views.py | svdemo/unit-test | b2c67c171395fafbf165819bc5c30a8f1797ce7b | [
"Apache-2.0"
] | null | null | null | pythonapp/demo/views.py | svdemo/unit-test | b2c67c171395fafbf165819bc5c30a8f1797ce7b | [
"Apache-2.0"
] | 8 | 2021-02-14T23:04:31.000Z | 2022-03-25T17:46:28.000Z | from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def index(request):
return HttpResponse("Welcome to our UNIT-Webinar!")
| 19.666667 | 54 | 0.779661 | 24 | 177 | 5.75 | 0.833333 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146893 | 177 | 8 | 55 | 22.125 | 0.913907 | 0.129944 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
aa737fc9d9a1e105e4e048f462f43b24a1a66456 | 115 | py | Python | __init__.py | Suspir0n/Care-API | 13e9a5116b77a81ed356ab6a8f1d0db1eb8b9a00 | [
"MIT"
] | 1 | 2021-02-08T13:33:43.000Z | 2021-02-08T13:33:43.000Z | __init__.py | Suspir0n/Care-API | 13e9a5116b77a81ed356ab6a8f1d0db1eb8b9a00 | [
"MIT"
] | null | null | null | __init__.py | Suspir0n/Care-API | 13e9a5116b77a81ed356ab6a8f1d0db1eb8b9a00 | [
"MIT"
] | null | null | null | from .app import create_app
# run server
def server():
if __name__ == '__main__':
create_app().run()
| 14.375 | 30 | 0.626087 | 15 | 115 | 4.133333 | 0.666667 | 0.290323 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243478 | 115 | 7 | 31 | 16.428571 | 0.712644 | 0.086957 | 0 | 0 | 0 | 0 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa882611394545883346238373fc792b9831f621 | 2,252 | py | Python | t_speech_assisstant/venv/lib/python3.7/site-packages/IMServicePlugIn/_metadata.py | TEgo17/SpeechAssistant | 0e16dd4757f1b05f08ecbb4f4956b2ccd1a63c10 | [
"MIT"
] | 1 | 2020-09-01T16:24:50.000Z | 2020-09-01T16:24:50.000Z | t_speech_assisstant/venv/lib/python3.7/site-packages/IMServicePlugIn/_metadata.py | TEgo17/SpeechAssistant | 0e16dd4757f1b05f08ecbb4f4956b2ccd1a63c10 | [
"MIT"
] | 1 | 2021-01-28T20:40:19.000Z | 2021-01-28T20:40:19.000Z | t_speech_assisstant/venv/lib/python3.7/site-packages/IMServicePlugIn/_metadata.py | TEgo17/SpeechAssistant | 0e16dd4757f1b05f08ecbb4f4956b2ccd1a63c10 | [
"MIT"
] | null | null | null | # This file is generated by objective.metadata
#
# Last update: Sun Aug 2 18:47:32 2015
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b):
return b
else:
def sel32or64(a, b):
return a
if sys.byteorder == "little":
def littleOrBig(a, b):
return a
else:
de... | 46.916667 | 1,134 | 0.841918 | 154 | 2,252 | 12.298701 | 0.720779 | 0.004224 | 0.016895 | 0.014784 | 0.044351 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018366 | 0.081261 | 2,252 | 47 | 1,135 | 47.914894 | 0.897052 | 0.041741 | 0 | 0.357143 | 1 | 0.071429 | 0.754296 | 0.741291 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.035714 | 0.035714 | 0.142857 | 0.321429 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
aabcf93e14349da9ef6fba6e25920bdf2952672f | 37 | py | Python | examples/foo/main.py | philippeitis/nimporter | 707b18d76cef1996f883a2cc7ccba7cc2853c0f3 | [
"MIT"
] | 656 | 2019-12-06T01:35:40.000Z | 2022-03-29T23:43:42.000Z | examples/foo/main.py | juancarlospaco/nimporter | d230e0e4ea40370d162f3806fafa168aef560672 | [
"MIT"
] | 52 | 2019-12-06T23:15:56.000Z | 2022-03-25T22:42:15.000Z | examples/foo/main.py | juancarlospaco/nimporter | d230e0e4ea40370d162f3806fafa168aef560672 | [
"MIT"
] | 32 | 2019-12-07T04:06:16.000Z | 2022-02-19T14:04:55.000Z | from bar.baz import *
foo_bar_baz()
| 9.25 | 21 | 0.72973 | 7 | 37 | 3.571429 | 0.714286 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 3 | 22 | 12.333333 | 0.806452 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aae32c5cffb9b1d4da991e8b3d68b31b091cc4bd | 40 | py | Python | codesignal/arcade/python/intro_36_different_symbols_naive.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | codesignal/arcade/python/intro_36_different_symbols_naive.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | codesignal/arcade/python/intro_36_different_symbols_naive.py | tinesife94/random | b802924dce4635ae074d30dc03962d4301bd6d8b | [
"MIT"
] | null | null | null | def solution(s):
return len(set(s))
| 13.333333 | 22 | 0.625 | 7 | 40 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 23 | 20 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2aa2ad45cfc122a04ca8b655ac86eee93a1f0160 | 47 | py | Python | src/prefect/tasks/HelloWorld/__init__.py | rfcsilva/prefect | c6f81694f2cb0f6bff4c254b35b6615b0387a6cd | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/HelloWorld/__init__.py | rfcsilva/prefect | c6f81694f2cb0f6bff4c254b35b6615b0387a6cd | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/HelloWorld/__init__.py | rfcsilva/prefect | c6f81694f2cb0f6bff4c254b35b6615b0387a6cd | [
"Apache-2.0"
] | null | null | null | import prefect.tasks.HelloWorld.HelloWorldTask
| 23.5 | 46 | 0.893617 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 47 | 1 | 47 | 47 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63086cae35751d237b7d8fa59c0558f74d906d00 | 1,789 | py | Python | tests/test_hooks.py | palazzem/elmo-server | b2e02d600a431dc1db31090f0d8dd09a8d586373 | [
"BSD-3-Clause"
] | null | null | null | tests/test_hooks.py | palazzem/elmo-server | b2e02d600a431dc1db31090f0d8dd09a8d586373 | [
"BSD-3-Clause"
] | 8 | 2019-05-20T19:26:01.000Z | 2019-05-26T13:02:45.000Z | tests/test_hooks.py | palazzem/elmo-server | b2e02d600a431dc1db31090f0d8dd09a8d586373 | [
"BSD-3-Clause"
] | null | null | null | def test_authorization_required(hooks_client):
"""Should return a 401 if the Authorization header is missing"""
result = hooks_client.simulate_get("/hooks/authorization_required")
assert result.status_code == 401
def test_authorization_is_valid(hooks_client):
"""Should return a 401 if the Authorizatio... | 42.595238 | 88 | 0.740078 | 234 | 1,789 | 5.448718 | 0.196581 | 0.103529 | 0.08 | 0.108235 | 0.842353 | 0.745098 | 0.745098 | 0.745098 | 0.655686 | 0.655686 | 0 | 0.067194 | 0.151481 | 1,789 | 41 | 89 | 43.634146 | 0.772727 | 0.225266 | 0 | 0.32 | 0 | 0 | 0.237638 | 0.138745 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.24 | false | 0 | 0 | 0 | 0.24 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
632f9d3a33b80a67d56c95a52a7a9de57405d8ff | 70 | py | Python | #2 Mundo/#13/for.py | Henrique-Navarro/phyton | 26d66847afa2b15c254677a36eb22f7558816b59 | [
"MIT"
] | null | null | null | #2 Mundo/#13/for.py | Henrique-Navarro/phyton | 26d66847afa2b15c254677a36eb22f7558816b59 | [
"MIT"
] | null | null | null | #2 Mundo/#13/for.py | Henrique-Navarro/phyton | 26d66847afa2b15c254677a36eb22f7558816b59 | [
"MIT"
] | null | null | null | for c in range(1,4):
print(c)
for c in range(4,0,-1):
print(c) | 17.5 | 23 | 0.557143 | 17 | 70 | 2.294118 | 0.470588 | 0.205128 | 0.307692 | 0.564103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 0.242857 | 70 | 4 | 24 | 17.5 | 0.641509 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2d7e8c4ef1f02eabbde90f3dc6932f2e5551e242 | 46 | py | Python | sources/__init__.py | plasticruler/newshound | c97ef09165eabb27ac65682e4893cf72dae7f3fb | [
"Apache-2.0"
] | null | null | null | sources/__init__.py | plasticruler/newshound | c97ef09165eabb27ac65682e4893cf72dae7f3fb | [
"Apache-2.0"
] | null | null | null | sources/__init__.py | plasticruler/newshound | c97ef09165eabb27ac65682e4893cf72dae7f3fb | [
"Apache-2.0"
] | null | null | null | from .source import SourceOfNews, NewsManager
| 23 | 45 | 0.847826 | 5 | 46 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ddaea36c431569b19773467a6c4ebb183369b1d | 50,360 | py | Python | hydrus/test/TestClientDBTags.py | baibhavvishalpani/hydrus | 1117ebbde9e5d5ec17e469dba6bd8086838cfb89 | [
"WTFPL"
] | null | null | null | hydrus/test/TestClientDBTags.py | baibhavvishalpani/hydrus | 1117ebbde9e5d5ec17e469dba6bd8086838cfb89 | [
"WTFPL"
] | null | null | null | hydrus/test/TestClientDBTags.py | baibhavvishalpani/hydrus | 1117ebbde9e5d5ec17e469dba6bd8086838cfb89 | [
"WTFPL"
] | null | null | null | import os
import time
import unittest
from hydrus.core import HydrusConstants as HC
from hydrus.core import HydrusData
from hydrus.core import HydrusGlobals as HG
from hydrus.client import ClientConstants as CC
from hydrus.client import ClientDB
from hydrus.client import ClientSearch
from hydrus.client import ClientS... | 80.191083 | 327 | 0.595473 | 5,874 | 50,360 | 4.734763 | 0.045455 | 0.112541 | 0.046814 | 0.04401 | 0.906156 | 0.89936 | 0.891917 | 0.886236 | 0.879944 | 0.878218 | 0 | 0.011615 | 0.295671 | 50,360 | 627 | 328 | 80.318979 | 0.772484 | 0.031076 | 0 | 0.571429 | 0 | 0 | 0.128924 | 0.028525 | 0 | 0 | 0 | 0 | 0.21978 | 1 | 0.024725 | false | 0 | 0.046703 | 0.005495 | 0.074176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
931c11d0dd816e841c653793f3c263a2d508bebc | 979 | py | Python | python__fundamentals/dictionaries _exercise/09.courses.py | EmilianStoyanov/Projects-in-SoftUni | e83996670fe00424a158905d537a7bbbeee8fb59 | [
"MIT"
] | 1 | 2020-07-14T12:32:47.000Z | 2020-07-14T12:32:47.000Z | python__fundamentals/dictionaries _exercise/09.courses.py | EmilianStoyanov/Projects-in-SoftUni | e83996670fe00424a158905d537a7bbbeee8fb59 | [
"MIT"
] | null | null | null | python__fundamentals/dictionaries _exercise/09.courses.py | EmilianStoyanov/Projects-in-SoftUni | e83996670fe00424a158905d537a7bbbeee8fb59 | [
"MIT"
] | null | null | null | reg = {}
while True:
text = input().split(" : ")
if text[0] == "end":
break
course = text[0]
name = text[1]
if course not in reg:
reg[course] = []
reg[course].append(name)
sorted_dict = dict(sorted(reg.items(), key=lambda x: (-len(x[1]))))
for (key, value) in sorted_dict.ite... | 19.196078 | 69 | 0.512768 | 136 | 979 | 3.661765 | 0.205882 | 0.080321 | 0.066265 | 0.064257 | 0.939759 | 0.939759 | 0.939759 | 0.939759 | 0.939759 | 0.939759 | 0 | 0.014045 | 0.272727 | 979 | 50 | 70 | 19.58 | 0.685393 | 0.494382 | 0 | 0 | 0 | 0 | 0.071882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
933fcfd0d955d1f24dac776c6352261b49aa0566 | 15,787 | py | Python | nhance/nhance/report/opportunity_full_with_stage_and_communication/opportunity_full_with_stage_and_communication.py | ksbbalean/nhance | 2660878f9226d0bdaca7ffef7260c3af03a60885 | [
"MIT"
] | null | null | null | nhance/nhance/report/opportunity_full_with_stage_and_communication/opportunity_full_with_stage_and_communication.py | ksbbalean/nhance | 2660878f9226d0bdaca7ffef7260c3af03a60885 | [
"MIT"
] | null | null | null | nhance/nhance/report/opportunity_full_with_stage_and_communication/opportunity_full_with_stage_and_communication.py | ksbbalean/nhance | 2660878f9226d0bdaca7ffef7260c3af03a60885 | [
"MIT"
] | null | null | null | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe import _, msgprint
from frappe.utils import flt, getdate
def execute(filters=None):
if not filters: filters = {}
... | 41.435696 | 592 | 0.631786 | 2,172 | 15,787 | 4.353591 | 0.074125 | 0.074767 | 0.026756 | 0.027919 | 0.797166 | 0.778236 | 0.751163 | 0.751163 | 0.750952 | 0.742492 | 0 | 0.019097 | 0.25369 | 15,787 | 380 | 593 | 41.544737 | 0.783483 | 0.010452 | 0 | 0.547101 | 0 | 0.054348 | 0.311318 | 0.01244 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.014493 | null | null | 0.003623 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93751190fa62272309ba9feded02d1c046ec9d1e | 80 | py | Python | handlers/__init__.py | JuiceBilinskii/wei_pollbot | d1442dca0eb6f854e47355d1fe6eb9a6010c0f80 | [
"MIT"
] | null | null | null | handlers/__init__.py | JuiceBilinskii/wei_pollbot | d1442dca0eb6f854e47355d1fe6eb9a6010c0f80 | [
"MIT"
] | null | null | null | handlers/__init__.py | JuiceBilinskii/wei_pollbot | d1442dca0eb6f854e47355d1fe6eb9a6010c0f80 | [
"MIT"
] | null | null | null | from . import start
from . import conduct_poll
from . import display_characters
| 20 | 32 | 0.8125 | 11 | 80 | 5.727273 | 0.636364 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 3 | 33 | 26.666667 | 0.926471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
faade7788b373519c69f1dae60368950c024c3fb | 580 | py | Python | chemicalx/models/__init__.py | bgyori/chemicalx | dfc92eaea95077d2c170b1fa8247e36d78daba5b | [
"Apache-2.0"
] | null | null | null | chemicalx/models/__init__.py | bgyori/chemicalx | dfc92eaea95077d2c170b1fa8247e36d78daba5b | [
"Apache-2.0"
] | null | null | null | chemicalx/models/__init__.py | bgyori/chemicalx | dfc92eaea95077d2c170b1fa8247e36d78daba5b | [
"Apache-2.0"
] | null | null | null | from .audnnsynergy import * # noqa:F401,F403
from .caster import * # noqa:F401,F403
from .deepcci import * # noqa:F401,F403
from .deepddi import * # noqa:F401,F403
from .deepdds import * # noqa:F401,F403
from .deepdrug import * # noqa:F401,F403
from .deepsynergy import * # noqa:F401,F403
from .dpddi import * # ... | 38.666667 | 45 | 0.710345 | 84 | 580 | 4.904762 | 0.22619 | 0.339806 | 0.475728 | 0.61165 | 0.694175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174274 | 0.168966 | 580 | 14 | 46 | 41.428571 | 0.680498 | 0.360345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fabc7e83cc1b9717aabcee71dc4defd479af8065 | 127 | py | Python | easy/14_string_split_and_join.py | UltiRequiem/hacker-rank-python | bcc6a467dd2a1f90cf61c1d6b049f566f5ffabe1 | [
"MIT"
] | 4 | 2021-08-02T21:34:38.000Z | 2021-09-24T03:26:33.000Z | easy/14_string_split_and_join.py | UltiRequiem/hacker-rank-python | bcc6a467dd2a1f90cf61c1d6b049f566f5ffabe1 | [
"MIT"
] | null | null | null | easy/14_string_split_and_join.py | UltiRequiem/hacker-rank-python | bcc6a467dd2a1f90cf61c1d6b049f566f5ffabe1 | [
"MIT"
] | 3 | 2021-08-02T21:34:39.000Z | 2021-08-02T21:37:16.000Z | def split_and_join(line):
return "-".join(line.split(" "))
if __name__ == "__main__":
print(split_and_join(input()))
| 18.142857 | 36 | 0.645669 | 17 | 127 | 4.117647 | 0.647059 | 0.228571 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 6 | 37 | 21.166667 | 0.654206 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
fac996ad62b8bbbf8933f1c5b5c43dec997d1cd2 | 212 | py | Python | pykager/snippets/__init__.py | Hexiro/pykager | ec2bd700df647fc05a56ab3630a604357ef07498 | [
"MIT"
] | 1 | 2021-08-07T02:32:43.000Z | 2021-08-07T02:32:43.000Z | pykager/snippets/__init__.py | Hexiro/pykager | ec2bd700df647fc05a56ab3630a604357ef07498 | [
"MIT"
] | null | null | null | pykager/snippets/__init__.py | Hexiro/pykager | ec2bd700df647fc05a56ab3630a604357ef07498 | [
"MIT"
] | null | null | null | from .readme import Readme
from .readmecontenttype import ReadmeContentType
from .requirements import Requirements
from .snippet import DetailedSnippet
from .snippet import Snippet
from .packages import Packages
| 30.285714 | 48 | 0.858491 | 24 | 212 | 7.583333 | 0.333333 | 0.120879 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 212 | 6 | 49 | 35.333333 | 0.968085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fae2937c8fd76151f781461592476a2511101ffd | 9,766 | py | Python | skdecide/discrete_optimization/generic_tools/ls/hill_climber.py | POPOGO/scikit-decide | 1128499c57aae1c989815b6fca4a29b96994dc12 | [
"MIT"
] | null | null | null | skdecide/discrete_optimization/generic_tools/ls/hill_climber.py | POPOGO/scikit-decide | 1128499c57aae1c989815b6fca4a29b96994dc12 | [
"MIT"
] | null | null | null | skdecide/discrete_optimization/generic_tools/ls/hill_climber.py | POPOGO/scikit-decide | 1128499c57aae1c989815b6fca4a29b96994dc12 | [
"MIT"
] | 1 | 2021-02-26T17:31:51.000Z | 2021-02-26T17:31:51.000Z | # Copyright (c) AIRBUS and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from __future__ import annotations
import pickle
from skdecide.discrete_optimization.generic_tools.do_problem import Solution, Problem, \
build_eva... | 49.075377 | 113 | 0.593283 | 914 | 9,766 | 6.0186 | 0.14442 | 0.04581 | 0.034903 | 0.045446 | 0.798582 | 0.779858 | 0.735139 | 0.718415 | 0.718415 | 0.718415 | 0 | 0.005958 | 0.346918 | 9,766 | 198 | 114 | 49.323232 | 0.856538 | 0.04444 | 0 | 0.717514 | 0 | 0 | 0.009122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022599 | false | 0 | 0.033898 | 0 | 0.079096 | 0.033898 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f0b9e40a9e71615712823171539e8f1f070ff1f | 6,824 | py | Python | build/lib/cryptodataaccess/UsersRepository.py | athanikos/cryptodataaccess | 6189a44c65a9b03c02822a534e865740ab488809 | [
"MIT"
] | null | null | null | build/lib/cryptodataaccess/UsersRepository.py | athanikos/cryptodataaccess | 6189a44c65a9b03c02822a534e865740ab488809 | [
"MIT"
] | null | null | null | build/lib/cryptodataaccess/UsersRepository.py | athanikos/cryptodataaccess | 6189a44c65a9b03c02822a534e865740ab488809 | [
"MIT"
] | null | null | null | from mongoengine import Q
from cryptomodel.cryptostore import user_notification, user_channel, user_transaction, operation_type
from cryptomodel.cryptostore import user_settings
from cryptodataaccess import helpers
from cryptodataaccess.helpers import if_none_raise, if_none_raise_with_id
DATE_FORMAT = "%Y-%m-%d"
cla... | 46.108108 | 128 | 0.706477 | 919 | 6,824 | 4.829162 | 0.088139 | 0.040559 | 0.0347 | 0.05205 | 0.855115 | 0.803064 | 0.777377 | 0.742226 | 0.723524 | 0.723524 | 0 | 0 | 0.219519 | 6,824 | 148 | 129 | 46.108108 | 0.833271 | 0 | 0 | 0.487805 | 0 | 0 | 0.001172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178862 | false | 0 | 0.04065 | 0.056911 | 0.349594 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87b57e6f51a95b431d829a73cbdae7f90c9b91d8 | 161 | py | Python | RepositoryModule/__init__.py | sd12582000/PyCloudGameSaving | e5ab42326c92fef6632fd0098a7a4fa3d0375ada | [
"MIT"
] | 1 | 2017-08-08T09:27:50.000Z | 2017-08-08T09:27:50.000Z | RepositoryModule/__init__.py | sd12582000/PyCloudGameSaving | e5ab42326c92fef6632fd0098a7a4fa3d0375ada | [
"MIT"
] | null | null | null | RepositoryModule/__init__.py | sd12582000/PyCloudGameSaving | e5ab42326c92fef6632fd0098a7a4fa3d0375ada | [
"MIT"
] | null | null | null | """
__init__.py
"""
from .repository_base import Repository
from .repository_local import LocalRepository
from .repository_remote import RemoteRepository
| 23 | 48 | 0.801242 | 17 | 161 | 7.176471 | 0.588235 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136646 | 161 | 6 | 49 | 26.833333 | 0.877698 | 0.068323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87f73a334314740813918568d6ad3d1326a6215b | 103 | py | Python | playserver/__init__.py | ollien/playserver | 9043c4ae92e382a4c5f83cfd77db21b0dff39404 | [
"MIT"
] | null | null | null | playserver/__init__.py | ollien/playserver | 9043c4ae92e382a4c5f83cfd77db21b0dff39404 | [
"MIT"
] | null | null | null | playserver/__init__.py | ollien/playserver | 9043c4ae92e382a4c5f83cfd77db21b0dff39404 | [
"MIT"
] | null | null | null | from . import track
from . import webserver
from . import tracksocketserver
from . import globalconfig
| 20.6 | 31 | 0.805825 | 12 | 103 | 6.916667 | 0.5 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 32 | 25.75 | 0.954023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e215b59d6c33faf3294b8cd0578070c4bd4f7abc | 169 | py | Python | wheresettings/views.py | jbking/djangae-with-drf-sample | ffb6846f2a3f06cf7521da58bf349855cde98706 | [
"Apache-2.0"
] | 2 | 2015-09-28T00:46:44.000Z | 2016-04-12T04:23:35.000Z | wheresettings/views.py | jbking/djangae-with-drf-sample | ffb6846f2a3f06cf7521da58bf349855cde98706 | [
"Apache-2.0"
] | null | null | null | wheresettings/views.py | jbking/djangae-with-drf-sample | ffb6846f2a3f06cf7521da58bf349855cde98706 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
from django.conf import settings
def index(request):
return HttpResponse("I'm a module, using %s" % settings.SETTINGS_MODULE)
| 24.142857 | 76 | 0.775148 | 24 | 169 | 5.416667 | 0.708333 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142012 | 169 | 6 | 77 | 28.166667 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3553d9f3bb6af6e67529feb5dab1177d65bec041 | 1,729 | py | Python | _unittests/ut_ml/test_pandas_missing.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 28 | 2015-07-19T21:20:51.000Z | 2022-02-16T11:50:53.000Z | _unittests/ut_ml/test_pandas_missing.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 34 | 2015-06-16T15:38:25.000Z | 2021-12-29T11:04:01.000Z | _unittests/ut_ml/test_pandas_missing.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 27 | 2015-01-13T08:24:22.000Z | 2022-03-31T14:51:23.000Z | """
@brief test log(time=7s)
"""
import unittest
import pandas
import numpy
from pyensae.mlhelper import add_missing_indices
class TestPandasMissing(unittest.TestCase):
def test_missing_indices(self):
df = pandas.DataFrame(
[{"x": 3, "y": 4, "z": 1}, {"x": 5, "y": 6, "z": 2}])
df... | 35.285714 | 84 | 0.533835 | 248 | 1,729 | 3.568548 | 0.181452 | 0.174011 | 0.172881 | 0.180791 | 0.731073 | 0.731073 | 0.731073 | 0.731073 | 0.729944 | 0.729944 | 0 | 0.065925 | 0.271833 | 1,729 | 48 | 85 | 36.020833 | 0.637014 | 0.016773 | 0 | 0.578947 | 0 | 0 | 0.022459 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
356061831f0668f298568226e1ed1f05bdcf0aa7 | 177 | py | Python | tesseractXplore/widgets/tabs.py | JKamlah/tesseractXplore | 649554d1fb608717e2faa40e32c647f446d4d369 | [
"MIT"
] | 15 | 2021-02-11T14:16:47.000Z | 2021-09-30T15:44:28.000Z | tesseractXplore/widgets/tabs.py | UB-Mannheim/tesseractXplore | 81c84b1d2acd9675044113918a87fd80accb788b | [
"MIT"
] | 13 | 2021-02-12T13:10:10.000Z | 2021-07-16T08:20:29.000Z | tesseractXplore/widgets/tabs.py | UB-Mannheim/tesseractXplore | 81c84b1d2acd9675044113918a87fd80accb788b | [
"MIT"
] | 6 | 2021-02-11T15:18:57.000Z | 2021-12-26T16:10:52.000Z | from kivymd.uix.floatlayout import MDFloatLayout
from kivymd.uix.tab import MDTabsBase
class Tab(MDFloatLayout, MDTabsBase):
'''Class implementing content for a tab.'''
| 19.666667 | 48 | 0.774011 | 22 | 177 | 6.227273 | 0.590909 | 0.145985 | 0.189781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141243 | 177 | 8 | 49 | 22.125 | 0.901316 | 0.20904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35654cd6c8d1502f3b16c6fcb81134e0f070ff55 | 458 | py | Python | gloop/clients/player.py | pitzer42/nano_tcg | c984b253b8a53a707460aac21c10f140d16d902e | [
"MIT"
] | 1 | 2020-09-30T21:03:37.000Z | 2020-09-30T21:03:37.000Z | gloop/clients/player.py | pitzer42/nano_tcg | c984b253b8a53a707460aac21c10f140d16d902e | [
"MIT"
] | null | null | null | gloop/clients/player.py | pitzer42/nano_tcg | c984b253b8a53a707460aac21c10f140d16d902e | [
"MIT"
] | null | null | null | from abc import ABC
class PlayerClient(ABC):
def request_player_id(self):
raise NotImplementedError()
def request_match_id_and_password(self, waiting_matches):
raise NotImplementedError()
def notify_unavailable_player_id(self, player_id):
raise NotImplementedError()
def not... | 22.9 | 61 | 0.724891 | 52 | 458 | 6.057692 | 0.461538 | 0.304762 | 0.257143 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209607 | 458 | 19 | 62 | 24.105263 | 0.870166 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.25 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
359a3448ed0a996e9f4fb8846a0a0439ecf13514 | 74 | py | Python | runner_master/runner/transforms/batch/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | 5 | 2021-09-15T21:48:55.000Z | 2022-03-22T11:21:58.000Z | runner_master/runner/transforms/batch/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | null | null | null | runner_master/runner/transforms/batch/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | 1 | 2021-08-20T08:40:15.000Z | 2021-08-20T08:40:15.000Z | from .tensor import *
from .mixup import *
from .default_collate import *
| 18.5 | 30 | 0.756757 | 10 | 74 | 5.5 | 0.6 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 31 | 24.666667 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea6f68c2a296f027881412db6ea489c7923ced10 | 86 | py | Python | algorithms/hello_world/src/hello_world_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/hello_world/src/hello_world_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/hello_world/src/hello_world_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | from . import hello
def test_hello():
assert hello.apply("Jane") == "hello Jane"
| 17.2 | 46 | 0.662791 | 12 | 86 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 47 | 21.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57ad26ef88607378aa4236e17d4423bfd5fbcb68 | 36 | py | Python | frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/__init__.py | xsoheilalizadeh/FrameworkBenchmarks | 855527008f7488e4fd508d1e72dfa9953874a2c6 | [
"BSD-3-Clause"
] | 5,300 | 2015-01-02T08:04:20.000Z | 2022-03-31T10:08:33.000Z | frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/__init__.py | xsoheilalizadeh/FrameworkBenchmarks | 855527008f7488e4fd508d1e72dfa9953874a2c6 | [
"BSD-3-Clause"
] | 3,075 | 2015-01-01T05:11:45.000Z | 2022-03-31T23:56:33.000Z | frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/__init__.py | xsoheilalizadeh/FrameworkBenchmarks | 855527008f7488e4fd508d1e72dfa9953874a2c6 | [
"BSD-3-Clause"
] | 2,151 | 2015-01-02T14:16:09.000Z | 2022-03-30T00:15:26.000Z | from .application import Application | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57b4e5108739969bac4a4d9745fa1474fd9c5d8f | 40 | py | Python | segmentation_models_pytorch/efficientunetplusplus/__init__.py | PhilippMarquardt/segmentation_models.pytorch | 8a884bdf7a0c92a2eb4f5d85120a83cd13b08a06 | [
"MIT"
] | null | null | null | segmentation_models_pytorch/efficientunetplusplus/__init__.py | PhilippMarquardt/segmentation_models.pytorch | 8a884bdf7a0c92a2eb4f5d85120a83cd13b08a06 | [
"MIT"
] | null | null | null | segmentation_models_pytorch/efficientunetplusplus/__init__.py | PhilippMarquardt/segmentation_models.pytorch | 8a884bdf7a0c92a2eb4f5d85120a83cd13b08a06 | [
"MIT"
] | null | null | null | from .model import EfficientUnetPlusPlus | 40 | 40 | 0.9 | 4 | 40 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57da33874afa497ff895c180c6e826ae25bc55b0 | 26 | py | Python | Hello_World.py | danish21752/profiles-rest-api | 62b071f09a02e2fca247dcf51d8cb46f368fce13 | [
"MIT"
] | null | null | null | Hello_World.py | danish21752/profiles-rest-api | 62b071f09a02e2fca247dcf51d8cb46f368fce13 | [
"MIT"
] | 8 | 2019-12-05T00:18:54.000Z | 2022-02-10T09:02:51.000Z | Hello_World.py | danish21752/profiles-rest-api | 62b071f09a02e2fca247dcf51d8cb46f368fce13 | [
"MIT"
] | null | null | null | print("HELLO WORLDD!!! ")
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
aa053f917bca6a4b0c262d6652fc13da9309f04f | 2,397 | py | Python | src/helm_dhm/validate/test/conftest.py | SteffenMauceri/OWLS-Autonomy | e676282a87e17030887b0174f3b8b38aab170d15 | [
"RSA-MD"
] | 5 | 2020-10-28T01:25:09.000Z | 2022-03-08T02:54:55.000Z | src/helm_dhm/validate/test/conftest.py | SteffenMauceri/OWLS-Autonomy | e676282a87e17030887b0174f3b8b38aab170d15 | [
"RSA-MD"
] | 3 | 2021-03-27T20:24:06.000Z | 2021-04-30T20:28:26.000Z | src/helm_dhm/validate/test/conftest.py | SteffenMauceri/OWLS-Autonomy | e676282a87e17030887b0174f3b8b38aab170d15 | [
"RSA-MD"
] | 1 | 2020-10-28T20:31:15.000Z | 2020-10-28T20:31:15.000Z | import pytest
import os
@pytest.fixture
def create_partition_cases():
base_path = os.path.join(os.path.dirname(__file__), 'data', 'test', 'test_sub')
test_case = [os.path.join(base_path, 'case2', 'Holograms', '00001_holo.tif'),
os.path.join(base_path, 'case2', 'Holograms', '00002_holo.tif'),
... | 58.463415 | 139 | 0.596162 | 308 | 2,397 | 4.295455 | 0.133117 | 0.136054 | 0.136054 | 0.108844 | 0.809524 | 0.790627 | 0.790627 | 0.749055 | 0.730915 | 0.622071 | 0 | 0.041777 | 0.211097 | 2,397 | 40 | 140 | 59.925 | 0.657853 | 0 | 0 | 0.264706 | 0 | 0 | 0.279516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa346198400b8efed2d2f77c30ccbd8a7516ec9c | 171 | py | Python | bin/iamonds/heptiamonds-hexagons-2x3-1.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/iamonds/heptiamonds-hexagons-2x3-1.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/iamonds/heptiamonds-hexagons-2x3-1.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""many solutions"""
import puzzler
from puzzler.puzzles.heptiamonds import HeptiamondsHexagons2x3_1
puzzler.run(HeptiamondsHexagons2x3_1)
| 17.1 | 64 | 0.795322 | 20 | 171 | 6.7 | 0.75 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0.093567 | 171 | 9 | 65 | 19 | 0.825806 | 0.233918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
3525712b734f13901222799301ffc6e534bd73a2 | 3,759 | py | Python | main/apiclient.py | stavanmehta/api_automation | 4871f85450106c48b0c1ae1d7f976d40cf87f491 | [
"Apache-2.0"
] | null | null | null | main/apiclient.py | stavanmehta/api_automation | 4871f85450106c48b0c1ae1d7f976d40cf87f491 | [
"Apache-2.0"
] | null | null | null | main/apiclient.py | stavanmehta/api_automation | 4871f85450106c48b0c1ae1d7f976d40cf87f491 | [
"Apache-2.0"
] | null | null | null | import requests
import json
class APIClient(object):
def __init__(self):
"""
Initialize API client with application under test's base url and default header information
"""
self.base_url = "http://localhost:5000"
self.default_headers = {'content-type': 'application/json'}
... | 48.818182 | 117 | 0.653631 | 461 | 3,759 | 5.190889 | 0.156182 | 0.163811 | 0.022984 | 0.054325 | 0.838696 | 0.814459 | 0.80234 | 0.80234 | 0.80234 | 0.760552 | 0 | 0.001403 | 0.241554 | 3,759 | 76 | 118 | 49.460526 | 0.837952 | 0.43735 | 0 | 0.6 | 0 | 0 | 0.05801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.05 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
354a1928692de838891a1ecc200ea09748fa8688 | 84 | py | Python | boa3_test/test_sc/interop_test/binary/AtoiTooFewArguments.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/binary/AtoiTooFewArguments.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/test_sc/interop_test/binary/AtoiTooFewArguments.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | from boa3.builtin.interop.binary import atoi
def main() -> int:
return atoi()
| 14 | 44 | 0.690476 | 12 | 84 | 4.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.190476 | 84 | 5 | 45 | 16.8 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
106114488f0f9e8e139829540d943c422facc397 | 12,734 | py | Python | Tutorial 2 - Data Navigation/PlugIns/experimental/nionswift_plugin/nion_experimental_tools/test/MultiDimensionalProcessing_test.py | paradimdata/Cornell_EM_SummerSchool_2021 | 9f3583e1b85a9cdd86e1b91800027966d501ce96 | [
"MIT"
] | 8 | 2021-06-13T20:02:12.000Z | 2022-03-24T09:19:23.000Z | Tutorial 2 - Data Navigation/PlugIns/experimental/nionswift_plugin/nion_experimental_tools/test/MultiDimensionalProcessing_test.py | paradimdata/Cornell_EM_SummerSchool_2021 | 9f3583e1b85a9cdd86e1b91800027966d501ce96 | [
"MIT"
] | null | null | null | Tutorial 2 - Data Navigation/PlugIns/experimental/nionswift_plugin/nion_experimental_tools/test/MultiDimensionalProcessing_test.py | paradimdata/Cornell_EM_SummerSchool_2021 | 9f3583e1b85a9cdd86e1b91800027966d501ce96 | [
"MIT"
] | 1 | 2021-07-16T20:12:28.000Z | 2021-07-16T20:12:28.000Z | import gettext
import unittest
import numpy
import scipy.ndimage
# local libraries
from nion.swift import Facade
from nion.data import DataAndMetadata
from nion.swift.test import TestContext
from nion.ui import TestUI
from nion.swift import Application
from nion.swift.model import DocumentModel
from nionswift_plugin... | 49.937255 | 149 | 0.588503 | 1,530 | 12,734 | 4.784967 | 0.086928 | 0.025816 | 0.027865 | 0.028548 | 0.861221 | 0.855484 | 0.84401 | 0.823931 | 0.823931 | 0.822019 | 0 | 0.034904 | 0.286791 | 12,734 | 255 | 150 | 49.937255 | 0.771196 | 0.001178 | 0 | 0.617647 | 0 | 0 | 0.080201 | 0 | 0 | 0 | 0 | 0 | 0.064706 | 1 | 0.041176 | false | 0.005882 | 0.064706 | 0.005882 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10ac6ead2a988a947e03ea07d1ad8435b295d4e4 | 2,572 | py | Python | tests/tests_integration/test_contextualization/test_plot_extraction.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_integration/test_contextualization/test_plot_extraction.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_integration/test_contextualization/test_plot_extraction.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | import pytest
from cognite.client.data_classes import ContextualizationJob
from cognite.experimental import CogniteClient
COGNITE_CLIENT = CogniteClient()
PLOT_EXTRACTION_API = COGNITE_CLIENT.plot_extraction
IMAGE = "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxN... | 135.368421 | 1,898 | 0.894635 | 143 | 2,572 | 16.020979 | 0.741259 | 0.017023 | 0.014841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102439 | 0.043546 | 2,572 | 18 | 1,899 | 142.888889 | 0.828862 | 0 | 0 | 0 | 0 | 0.071429 | 0.763219 | 0.734059 | 0 | 1 | 0 | 0 | 0.357143 | 1 | 0.071429 | false | 0 | 0.214286 | 0 | 0.357143 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e01925ccec635814aef7b6448935cc697a4da95 | 5,736 | py | Python | .github/workflows/script.py | JaydipGabani/crane-plugin-openshift | 6214cb669c138616af6455b4a992bfd9c40687db | [
"Apache-2.0"
] | null | null | null | .github/workflows/script.py | JaydipGabani/crane-plugin-openshift | 6214cb669c138616af6455b4a992bfd9c40687db | [
"Apache-2.0"
] | 1 | 2021-11-15T17:39:07.000Z | 2021-11-15T17:39:07.000Z | .github/workflows/script.py | JaydipGabani/crane-plugin-openshift | 6214cb669c138616af6455b4a992bfd9c40687db | [
"Apache-2.0"
] | 3 | 2021-11-02T14:36:03.000Z | 2022-02-25T16:55:39.000Z | import os
import yaml
import sys
os.makedirs('plugins/OpenShift', exist_ok=True)
if os.path.exists("index.yaml"):
file = open("index.yaml","r")
not_present = 1
index = yaml.safe_load(file)
for plugin in index['plugins']:
if plugin['name'] == 'OpenShiftPlugin':
not_present = 0
... | 40.111888 | 203 | 0.559623 | 616 | 5,736 | 5.198052 | 0.204545 | 0.048095 | 0.034978 | 0.037477 | 0.905372 | 0.880387 | 0.833229 | 0.806371 | 0.806371 | 0.806371 | 0 | 0.0265 | 0.276325 | 5,736 | 143 | 204 | 40.111888 | 0.744881 | 0.005579 | 0 | 0.580645 | 0 | 0.145161 | 0.505173 | 0.178853 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024194 | 0 | 0.024194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d81845a59bc5a89418b2171582b4efc574e40ff4 | 129 | py | Python | soundfleet/accounts/models.py | Soundfleet/soundfleet | d2d8a6ac875372884e6494d618c54613f2fcd725 | [
"BSD-3-Clause"
] | null | null | null | soundfleet/accounts/models.py | Soundfleet/soundfleet | d2d8a6ac875372884e6494d618c54613f2fcd725 | [
"BSD-3-Clause"
] | null | null | null | soundfleet/accounts/models.py | Soundfleet/soundfleet | d2d8a6ac875372884e6494d618c54613f2fcd725 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
"""
Custom user model.
"""
pass
| 12.9 | 51 | 0.658915 | 14 | 129 | 6.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24031 | 129 | 9 | 52 | 14.333333 | 0.867347 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dc2778247beca7087a9db5ee9552a597fd342ac9 | 208 | py | Python | OpenGLCffi/GLX/EXT/ARB/create_context.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLX/EXT/ARB/create_context.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLX/EXT/ARB/create_context.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GLX import params
@params(api='glx', prms=['dpy', 'config', 'share_context', 'direct', 'attrib_list'])
def glXCreateContextAttribsARB(dpy, config, share_context, direct, attrib_list):
pass
| 29.714286 | 84 | 0.75 | 26 | 208 | 5.846154 | 0.653846 | 0.118421 | 0.184211 | 0.276316 | 0.486842 | 0.486842 | 0.486842 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 208 | 6 | 85 | 34.666667 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dc3bb5834816a8ede5f990bc0d32fb6db618038b | 3,865 | py | Python | cell2location/cluster_averages/cluster_averages.py | jacobhepkema/cell2location | 65ba20c9aa83d8fbc482f5995c4360b345b06444 | [
"Apache-2.0"
] | null | null | null | cell2location/cluster_averages/cluster_averages.py | jacobhepkema/cell2location | 65ba20c9aa83d8fbc482f5995c4360b345b06444 | [
"Apache-2.0"
] | null | null | null | cell2location/cluster_averages/cluster_averages.py | jacobhepkema/cell2location | 65ba20c9aa83d8fbc482f5995c4360b345b06444 | [
"Apache-2.0"
] | null | null | null | ### Build cell state signature matrix ###
import anndata
import numpy as np
import pandas as pd
from scipy.sparse import csr_matrix
# +
def get_cluster_averages(adata_ref, cluster_col):
"""
:param adata_ref: AnnData object of reference single-cell dataset
:param cluster_col: Name of adata_ref.obs column c... | 37.163462 | 94 | 0.65511 | 550 | 3,865 | 4.410909 | 0.169091 | 0.072547 | 0.045342 | 0.049464 | 0.870157 | 0.870157 | 0.870157 | 0.866859 | 0.866859 | 0.836356 | 0 | 0.008532 | 0.241915 | 3,865 | 103 | 95 | 37.524272 | 0.819454 | 0.225614 | 0 | 0.639344 | 0 | 0 | 0.056669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.065574 | 0 | 0.196721 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc5d6d59e20c3f530f13255e2d237b846a6515b8 | 203 | py | Python | src/pbn_api/models/country.py | iplweb/django-bpp | 85f183a99d8d5027ae4772efac1e4a9f21675849 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:50:02.000Z | 2017-04-27T19:50:02.000Z | src/pbn_api/models/country.py | mpasternak/django-bpp | 434338821d5ad1aaee598f6327151aba0af66f5e | [
"BSD-3-Clause"
] | 41 | 2019-11-07T00:07:02.000Z | 2022-02-27T22:09:39.000Z | src/pbn_api/models/country.py | iplweb/bpp | f027415cc3faf1ca79082bf7bacd4be35b1a6fdf | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
from .base import BasePBNModel
class Country(BasePBNModel):
code = models.CharField(max_length=5, primary_key=True)
description = models.CharField(max_length=200)
| 22.555556 | 59 | 0.778325 | 27 | 203 | 5.740741 | 0.703704 | 0.193548 | 0.232258 | 0.309677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022857 | 0.137931 | 203 | 8 | 60 | 25.375 | 0.862857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc8ffa12ae4baad3f545835a78c95ecda212c9b1 | 63 | py | Python | libs/openweathermap/__init__.py | crazygmr101/Almanac | 2309325f21ef06f96c700740162875b2f085678a | [
"MIT"
] | null | null | null | libs/openweathermap/__init__.py | crazygmr101/Almanac | 2309325f21ef06f96c700740162875b2f085678a | [
"MIT"
] | null | null | null | libs/openweathermap/__init__.py | crazygmr101/Almanac | 2309325f21ef06f96c700740162875b2f085678a | [
"MIT"
] | null | null | null | from .api import *
from .models import *
from .errors import *
| 15.75 | 21 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 22 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4b23962fce70ee140f5d7dba12c46cffe34721c | 10,131 | py | Python | unbalancedot/tests/test_sinkhorn.py | thibsej/unbalanced-ot-functionals | bfd098e98ed10b90a36e0dbe7b099c1c31770931 | [
"MIT"
] | 14 | 2019-12-04T12:41:12.000Z | 2022-03-30T11:37:00.000Z | unbalancedot/tests/test_sinkhorn.py | thibsej/unbalanced-ot-functionals | bfd098e98ed10b90a36e0dbe7b099c1c31770931 | [
"MIT"
] | 1 | 2022-01-14T16:35:18.000Z | 2022-01-18T09:15:03.000Z | unbalancedot/tests/test_sinkhorn.py | thibsej/unbalanced-ot-functionals | bfd098e98ed10b90a36e0dbe7b099c1c31770931 | [
"MIT"
] | 3 | 2020-10-09T08:24:22.000Z | 2022-02-18T15:48:35.000Z | import pytest
import torch
from unbalancedot.sinkhorn import (
BatchVanillaSinkhorn,
BatchScalingSinkhorn,
BatchExpSinkhorn,
)
from unbalancedot.entropy import (
KullbackLeibler,
Balanced,
TotalVariation,
Range,
PowerEntropy,
)
from unbalancedot.utils import generate_measure, euclidean... | 31.268519 | 79 | 0.612082 | 1,431 | 10,131 | 4.214535 | 0.086653 | 0.051401 | 0.107942 | 0.036644 | 0.850771 | 0.83618 | 0.824407 | 0.819433 | 0.786768 | 0.773669 | 0 | 0.077102 | 0.236995 | 10,131 | 323 | 80 | 31.365325 | 0.703105 | 0.047083 | 0 | 0.602041 | 0 | 0 | 0.015578 | 0 | 0 | 0 | 0 | 0.003096 | 0.044218 | 1 | 0.027211 | false | 0 | 0.017007 | 0 | 0.044218 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4efe6f93d0ab6cd7742bb14cfa418cf429289a1 | 104 | py | Python | src/errors.py | sprakbankental/simulerror | dd219ee276e9e857d87e9973648056c6af1bb6df | [
"Apache-2.0"
] | 2 | 2021-04-13T06:53:22.000Z | 2022-03-17T12:52:44.000Z | src/errors.py | sprakbankental/simulerror | dd219ee276e9e857d87e9973648056c6af1bb6df | [
"Apache-2.0"
] | null | null | null | src/errors.py | sprakbankental/simulerror | dd219ee276e9e857d87e9973648056c6af1bb6df | [
"Apache-2.0"
] | null | null | null | class PronunciationNotFoundError(Exception):
pass
class ResourceMissingError(Exception):
pass
| 14.857143 | 44 | 0.788462 | 8 | 104 | 10.25 | 0.625 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 45 | 17.333333 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 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 | 6 |
5225dda463f1dd08964ac1930339689c62567308 | 4,257 | py | Python | anoncreds/test/test_single_prover_multiple_issuers.py | fabienpe/indy-anoncreds | 3173226ed1450d55f62ea679b930475c92b03c00 | [
"Apache-2.0"
] | 16 | 2017-07-17T04:51:30.000Z | 2019-03-18T02:21:33.000Z | anoncreds/test/test_single_prover_multiple_issuers.py | fabienpe/indy-anoncreds | 3173226ed1450d55f62ea679b930475c92b03c00 | [
"Apache-2.0"
] | 28 | 2017-06-29T18:00:00.000Z | 2018-09-05T09:57:41.000Z | anoncreds/test/test_single_prover_multiple_issuers.py | fabienpe/indy-anoncreds | 3173226ed1450d55f62ea679b930475c92b03c00 | [
"Apache-2.0"
] | 25 | 2016-10-17T13:15:02.000Z | 2017-06-19T11:54:20.000Z | import pytest
from anoncreds.protocol.types import ProofRequest, PredicateGE, AttributeInfo
from anoncreds.test.conftest import presentProofAndVerify
@pytest.mark.skipif('sys.platform == "win32"', reason='SOV-86')
@pytest.mark.asyncio
async def testNoPredicates(prover1, verifier, claimsProver1):
proofRequest = P... | 51.914634 | 98 | 0.599483 | 339 | 4,257 | 7.480826 | 0.168142 | 0.055205 | 0.044164 | 0.052445 | 0.858044 | 0.832019 | 0.832019 | 0.832019 | 0.832019 | 0.832019 | 0 | 0.030016 | 0.280009 | 4,257 | 81 | 99 | 52.555556 | 0.79739 | 0 | 0 | 0.692308 | 0 | 0 | 0.131078 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 1 | 0 | false | 0 | 0.046154 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5227eb81ff76ce8a00a966f60ec3fa5162377512 | 9,755 | py | Python | payloads/rmi.py | shad0w008/Scanver | cbe03d38422641e83275bfbc8d1ae93f42c3f387 | [
"Apache-2.0"
] | 22 | 2019-01-25T02:39:08.000Z | 2021-09-19T06:44:20.000Z | payloads/rmi.py | aptkid/Scanver | 0578b259d113dbf8153f59d1743bb6bdd0cc4711 | [
"Apache-2.0"
] | null | null | null | payloads/rmi.py | aptkid/Scanver | 0578b259d113dbf8153f59d1743bb6bdd0cc4711 | [
"Apache-2.0"
] | 13 | 2019-06-11T09:32:34.000Z | 2021-06-28T15:58:32.000Z | # -*- coding: utf-8 -*-
# @Author: Marte
# @Date: 2018-06-11 20:48:46
# @Last Modified by: Marte
# @Last Modified time: 2018-06-11 21:34:27
from core.plugin import BaseHostPlugin
import socket
import binascii
import time
import re
class JavaRmiRce(BaseHostPlugin):
bugname = "JavaRMI 反序列化代码执行"
bugrank = "紧... | 82.669492 | 127 | 0.704152 | 232 | 9,755 | 29.512931 | 0.655172 | 0.005842 | 0.002337 | 0.005258 | 0.00701 | 0 | 0 | 0 | 0 | 0 | 0 | 0.721375 | 0.260482 | 9,755 | 117 | 128 | 83.376068 | 0.227752 | 0.013634 | 0 | 0 | 0 | 0 | 0.638143 | 0.634812 | 0 | 1 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.05102 | 0.010204 | 0.122449 | 0.010204 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
528bd3f6821d59e03fdc9901eb69fc12ac206542 | 144 | py | Python | examples/submission_chain/sine/objective.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 6 | 2020-10-20T14:03:50.000Z | 2021-11-02T15:08:55.000Z | validation/examples/sine/objective.py | kjetil-lye/ismo_validation | 936caf89f7aecd7ae508fdce4953c2fdbe338bb7 | [
"MIT"
] | 8 | 2020-11-13T19:03:48.000Z | 2022-03-12T00:46:36.000Z | validation/examples/sine/objective.py | kjetil-lye/ismo_validation | 936caf89f7aecd7ae508fdce4953c2fdbe338bb7 | [
"MIT"
] | 3 | 2020-10-20T14:05:46.000Z | 2021-03-19T23:11:03.000Z | import numpy as np
class Objective(object):
def __call__(self, x):
return x
def grad(self, x):
return np.ones_like(x) | 16 | 30 | 0.611111 | 22 | 144 | 3.772727 | 0.681818 | 0.120482 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 144 | 9 | 30 | 16 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
529687bb3d24e15b3d59ec39efccc8d36a94ee6e | 169 | py | Python | python/dgl/function/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 9,516 | 2018-12-08T22:11:31.000Z | 2022-03-31T13:04:33.000Z | python/dgl/function/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 2,494 | 2018-12-08T22:43:00.000Z | 2022-03-31T21:16:27.000Z | python/dgl/function/__init__.py | ketyi/dgl | a1b859c29b63a673c148d13231a49504740e0e01 | [
"Apache-2.0"
] | 2,529 | 2018-12-08T22:56:14.000Z | 2022-03-31T13:07:41.000Z | """DGL builtin functors"""
# pylint: disable=redefined-builtin
from __future__ import absolute_import
from .message import *
from .reducer import *
from .base import *
| 21.125 | 38 | 0.769231 | 21 | 169 | 5.952381 | 0.619048 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 7 | 39 | 24.142857 | 0.856164 | 0.325444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87005d286f810387288915680747a9ef8af840f0 | 132 | py | Python | tests/missing_data/test_missing_data_air_passengers_None_DiscardRow.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/missing_data/test_missing_data_air_passengers_None_DiscardRow.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/missing_data/test_missing_data_air_passengers_None_DiscardRow.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.missing_data.test_missing_data_air_passengers_generic as gen
gen.test_air_passengers_missing_data(None, 'DiscardRow')
| 33 | 73 | 0.886364 | 20 | 132 | 5.35 | 0.6 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05303 | 132 | 3 | 74 | 44 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
874467366e49ab116b152451dc049182e9854619 | 10,419 | py | Python | Code/Algorithm.py | chaOtis/simulating-woc | 433e6aba1603a87cf743a2142afe85fbd40722cc | [
"MIT"
] | 1 | 2021-02-21T16:52:07.000Z | 2021-02-21T16:52:07.000Z | Code/Algorithm.py | chaOtis/simulating-woc | 433e6aba1603a87cf743a2142afe85fbd40722cc | [
"MIT"
] | null | null | null | Code/Algorithm.py | chaOtis/simulating-woc | 433e6aba1603a87cf743a2142afe85fbd40722cc | [
"MIT"
] | null | null | null | from JudgmentData import *
from Event import *
import numpy as np
class Algorithm():
def __init__(self, judgmentData, performanceMeasure=None):
self.judgmentData = judgmentData
self.seeds = self.judgmentData.seeds
self.target = self.judgmentData.target
self.observationPDF = self.ju... | 36.816254 | 112 | 0.545734 | 1,261 | 10,419 | 4.455194 | 0.073751 | 0.054824 | 0.061232 | 0.084194 | 0.783731 | 0.771805 | 0.738341 | 0.730331 | 0.711819 | 0.711285 | 0 | 0.025799 | 0.330358 | 10,419 | 282 | 113 | 36.946809 | 0.779418 | 0.024283 | 0 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 1 | 0.08642 | false | 0.024691 | 0.012346 | 0.012346 | 0.152263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8754125dd8de0bc94aa42c2f4b8ef9edfbd563dd | 16,163 | py | Python | tmps/star/ground.py | fhoeb/py-tmps | b7eced582acb4042815a775090a59f569975e3be | [
"BSD-3-Clause"
] | 1 | 2020-02-21T20:03:44.000Z | 2020-02-21T20:03:44.000Z | tmps/star/ground.py | fhoeb/py-tmps | b7eced582acb4042815a775090a59f569975e3be | [
"BSD-3-Clause"
] | null | null | null | tmps/star/ground.py | fhoeb/py-tmps | b7eced582acb4042815a775090a59f569975e3be | [
"BSD-3-Clause"
] | 1 | 2020-02-21T19:56:53.000Z | 2020-02-21T19:56:53.000Z | """
Functions for ground state generation for star geometries via imaginary time evolution
"""
import mpnum as mp
from tmps.star.itime.factory import from_hi as propagator_from_hi, from_hamiltonian as propagator_from_hamiltonian
from tmps.utils.random import get_random_mpa
def _propagation(propagator, nof_steps,... | 60.535581 | 120 | 0.673019 | 2,111 | 16,163 | 4.972051 | 0.085268 | 0.126334 | 0.061738 | 0.048018 | 0.922161 | 0.919779 | 0.901486 | 0.882908 | 0.872428 | 0.848418 | 0 | 0.008053 | 0.270123 | 16,163 | 266 | 121 | 60.763158 | 0.881665 | 0.553177 | 0 | 0.616071 | 0 | 0 | 0.025309 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 1 | 0.071429 | false | 0 | 0.026786 | 0 | 0.169643 | 0.116071 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e4eb17e47e7dbddc8c65fb41555375a1f82c6c4 | 686 | py | Python | data_process/data_process2.py | zczllw5/wclient | d03943b7060150662123b8a7d3918f08fcfac25d | [
"MIT"
] | null | null | null | data_process/data_process2.py | zczllw5/wclient | d03943b7060150662123b8a7d3918f08fcfac25d | [
"MIT"
] | null | null | null | data_process/data_process2.py | zczllw5/wclient | d03943b7060150662123b8a7d3918f08fcfac25d | [
"MIT"
] | null | null | null | import csv
import pandas as pd
with open("non_forward_secrecy_ciphers.txt", "w") as my_output_file:
with open("non_(EC)DHE_ciphers.txt", "r") as my_input_file:
ciphers = my_input_file.read().split(":")
substring = "DHE"
for cipher in ciphers:
if substring not in cipher:
... | 38.111111 | 68 | 0.623907 | 96 | 686 | 4.197917 | 0.302083 | 0.079404 | 0.119107 | 0.119107 | 0.883375 | 0.883375 | 0.883375 | 0.729529 | 0.729529 | 0.729529 | 0 | 0 | 0.253644 | 686 | 18 | 69 | 38.111111 | 0.787109 | 0 | 0 | 0.625 | 0 | 0 | 0.171761 | 0.151383 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e4fff67f84cebba4f3f9f4163e9e22102e19880 | 159 | py | Python | ABC/ABC134/abc134_a.py | yatabis/AtCoder-in-Python3 | cc2948853b549a6b8f39df5685c9e84cda81499d | [
"MIT"
] | null | null | null | ABC/ABC134/abc134_a.py | yatabis/AtCoder-in-Python3 | cc2948853b549a6b8f39df5685c9e84cda81499d | [
"MIT"
] | null | null | null | ABC/ABC134/abc134_a.py | yatabis/AtCoder-in-Python3 | cc2948853b549a6b8f39df5685c9e84cda81499d | [
"MIT"
] | null | null | null | # 問題URL: https://atcoder.jp/contests/abc134/tasks/abc134_a
# 解答URL: https://atcoder.jp/contests/abc134/submissions/24157829
r = int(input())
print(3 * r * r)
| 26.5 | 64 | 0.72327 | 24 | 159 | 4.75 | 0.666667 | 0.210526 | 0.245614 | 0.385965 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.09434 | 159 | 5 | 65 | 31.8 | 0.666667 | 0.748428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5e6bef76e943b72c9579fe3bc59eb19a7f628b6d | 33,323 | py | Python | opencivicdata/core/migrations/0001_initial.py | palewire/python-opencivicdata | 7862be45bef6846d3e284995d208fabcc8635362 | [
"BSD-3-Clause"
] | 20 | 2017-06-23T17:31:48.000Z | 2021-11-23T19:20:58.000Z | opencivicdata/core/migrations/0001_initial.py | palewire/python-opencivicdata | 7862be45bef6846d3e284995d208fabcc8635362 | [
"BSD-3-Clause"
] | 70 | 2015-01-06T18:40:22.000Z | 2017-05-24T18:06:52.000Z | opencivicdata/core/migrations/0001_initial.py | california-civic-data-coalition/python-opencivicdata-django | 375cd09d48908a7be58186de64f470b233f616d6 | [
"BSD-3-Clause"
] | 17 | 2017-05-25T17:05:57.000Z | 2021-06-05T14:45:39.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-05-18 18:46
from __future__ import unicode_literals
import django.contrib.postgres.fields
import django.contrib.postgres.fields.jsonb
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import opencivicdata... | 39.57601 | 121 | 0.38757 | 2,220 | 33,323 | 5.693694 | 0.102252 | 0.05981 | 0.056566 | 0.100633 | 0.794858 | 0.785918 | 0.77144 | 0.671203 | 0.637579 | 0.621203 | 0 | 0.022838 | 0.500675 | 33,323 | 841 | 122 | 39.623068 | 0.736823 | 0.002041 | 0 | 0.759904 | 1 | 0.012005 | 0.132323 | 0.035787 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009604 | 0 | 0.014406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e8e1b172a2a928270f6aff17aa75f8fd2041ea1 | 21,441 | py | Python | tfmiss/keras/layers/wordvec_test.py | shkarupa-alex/tfmiss | 4fe1bb3a47327c07711f910ee53319167032b6af | [
"MIT"
] | 1 | 2019-06-25T15:58:20.000Z | 2019-06-25T15:58:20.000Z | tfmiss/keras/layers/wordvec_test.py | shkarupa-alex/tfmiss | 4fe1bb3a47327c07711f910ee53319167032b6af | [
"MIT"
] | 1 | 2021-11-11T12:56:51.000Z | 2021-11-11T12:56:51.000Z | tfmiss/keras/layers/wordvec_test.py | shkarupa-alex/tfmiss | 4fe1bb3a47327c07711f910ee53319167032b6af | [
"MIT"
] | 2 | 2020-02-11T15:46:58.000Z | 2021-11-21T02:47:36.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import tensorflow as tf
from collections import Counter
from keras import keras_parameterized, testing_utils
from tfmiss.keras.layers.wordvec import WordEmbedding, CharNgramEmbedding, CharBpe... | 49.403226 | 120 | 0.531085 | 2,401 | 21,441 | 4.543524 | 0.088297 | 0.045284 | 0.0385 | 0.05005 | 0.875607 | 0.855807 | 0.821615 | 0.811532 | 0.807407 | 0.798515 | 0.000187 | 0.035353 | 0.262534 | 21,441 | 433 | 121 | 49.517321 | 0.654313 | 0.001026 | 0 | 0.654354 | 0 | 0 | 0.207639 | 0.001961 | 0 | 0 | 0 | 0.002309 | 0.076517 | 1 | 0.055409 | false | 0 | 0.021108 | 0 | 0.08971 | 0.002639 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5eaddf99a3d8a943c88125b7df128964a5fb2dc2 | 336 | py | Python | CA117/Lab_4/poker_31.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 6 | 2016-02-04T00:15:20.000Z | 2019-10-13T13:53:16.000Z | CA117/Lab_4/poker_31.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 2 | 2016-03-14T04:01:36.000Z | 2019-10-16T12:45:34.000Z | CA117/Lab_4/poker_31.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 10 | 2016-02-09T14:38:32.000Z | 2021-05-25T08:16:26.000Z | (lambda x:[print("The probability of {} is {:.4f}%".format(n,d[0]*100/len(x)))for n,d in enumerate([(x.count(str(n)),["nothing","one pair","two pairs","three of a kind","a straight","a flush","a full house","four of a kind","a straight flush","a royal flush"][n])for n in range(0, 10)])])([line[-2]for line in __import__... | 168 | 335 | 0.642857 | 65 | 336 | 3.261538 | 0.615385 | 0.018868 | 0.066038 | 0.075472 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.098214 | 336 | 1 | 336 | 336 | 0.669967 | 0 | 0 | 0 | 0 | 0 | 0.434524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
0d5ef18b0efd6f0ad3f16df7f39d0eef101882a4 | 398 | py | Python | src/the_tale/the_tale/portal/jinjaglobals.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/portal/jinjaglobals.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/portal/jinjaglobals.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
@utils_jinja2.jinjaglobal
def faq_url():
return utils_jinja2.Markup(conf.settings.FAQ_URL)
@utils_jinja2.jinjaglobal
def players_projects_url():
return utils_jinja2.Markup(conf.settings.PLAYERS_PROJECTS_URL)
@utils_jinja2.jinjaglobal
def get_edition_number():
... | 19.9 | 80 | 0.796482 | 54 | 398 | 5.555556 | 0.462963 | 0.183333 | 0.22 | 0.25 | 0.44 | 0.253333 | 0.253333 | 0 | 0 | 0 | 0 | 0.016854 | 0.105528 | 398 | 19 | 81 | 20.947368 | 0.825843 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0da46e5f77d23f24fdfe8f386561a9abef078c61 | 253 | py | Python | python_anticaptcha/compat.py | uguraba/python-anticaptcha | 572e51fc60e768150429832c31e352e28d1a340c | [
"MIT"
] | null | null | null | python_anticaptcha/compat.py | uguraba/python-anticaptcha | 572e51fc60e768150429832c31e352e28d1a340c | [
"MIT"
] | null | null | null | python_anticaptcha/compat.py | uguraba/python-anticaptcha | 572e51fc60e768150429832c31e352e28d1a340c | [
"MIT"
] | null | null | null | import six
if six.PY3:
def split(value, sep, maxsplit):
return value.split(sep, maxsplit=maxsplit)
else:
def split(value, sep, maxsplit):
parts = value.split(sep)
return parts[:maxsplit] + [sep.join(parts[maxsplit:]), ]
| 25.3 | 64 | 0.636364 | 33 | 253 | 4.878788 | 0.393939 | 0.204969 | 0.161491 | 0.198758 | 0.298137 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.225296 | 253 | 9 | 65 | 28.111111 | 0.816327 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0da72b067c6c4cec077090213a41b062114d9270 | 207 | py | Python | player/player_human.py | j-freddy/ultimate-tictactoe-2 | 8958abd4754c089085b5989718aad573a425f7d7 | [
"MIT"
] | null | null | null | player/player_human.py | j-freddy/ultimate-tictactoe-2 | 8958abd4754c089085b5989718aad573a425f7d7 | [
"MIT"
] | null | null | null | player/player_human.py | j-freddy/ultimate-tictactoe-2 | 8958abd4754c089085b5989718aad573a425f7d7 | [
"MIT"
] | null | null | null | from player.player_type import PlayerType
from player.player import Player
class PlayerHuman(Player):
def __init__(self, id):
super().__init__(id)
def get_type(self):
return PlayerType.Human
| 20.7 | 41 | 0.748792 | 28 | 207 | 5.178571 | 0.535714 | 0.137931 | 0.22069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164251 | 207 | 9 | 42 | 23 | 0.83815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0dada3125a9577d014898e3e642271b894d29736 | 5,045 | py | Python | tests/unit/test_db_upgrade.py | charmed-osm/osm-update-db-operator | 565cbc8c380aa5543fbd75a4f935a8b5461be810 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_db_upgrade.py | charmed-osm/osm-update-db-operator | 565cbc8c380aa5543fbd75a4f935a8b5461be810 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_db_upgrade.py | charmed-osm/osm-update-db-operator | 565cbc8c380aa5543fbd75a4f935a8b5461be810 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
import logging
import unittest
from unittest.mock import MagicMock, Mock, patch
import db_upgrade
from db_upgrade import MongoUpgrade, MysqlUpgrade, _upgrade_mongo_9_10
logger = logging.getLogger(__name__)
class TestUpgradeMongo910(unittest.... | 41.01626 | 97 | 0.694153 | 603 | 5,045 | 5.412935 | 0.159204 | 0.029412 | 0.02788 | 0.032169 | 0.808211 | 0.782782 | 0.744792 | 0.71538 | 0.701593 | 0.617647 | 0 | 0.025501 | 0.199405 | 5,045 | 122 | 98 | 41.352459 | 0.782619 | 0.013677 | 0 | 0.56 | 0 | 0 | 0.120652 | 0.054092 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.13 | false | 0.01 | 0.05 | 0 | 0.21 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ddf7d2086c62475bf914e70a04f6134da702978 | 1,654 | py | Python | apps/notebooks/migrations/0007_auto_20190203_0604.py | KolevDarko/lifehq | 88d92f5fe76f2fb6511f2a892e096d95a69985d8 | [
"MIT"
] | null | null | null | apps/notebooks/migrations/0007_auto_20190203_0604.py | KolevDarko/lifehq | 88d92f5fe76f2fb6511f2a892e096d95a69985d8 | [
"MIT"
] | null | null | null | apps/notebooks/migrations/0007_auto_20190203_0604.py | KolevDarko/lifehq | 88d92f5fe76f2fb6511f2a892e096d95a69985d8 | [
"MIT"
] | null | null | null | # Generated by Django 2.0 on 2019-02-03 06:04
from django.db import migrations
import hashid_field.field
class Migration(migrations.Migration):
dependencies = [
('notebooks', '0006_defaultnotetemplate'),
]
operations = [
migrations.AlterField(
model_name='defaultnotetemplate... | 41.35 | 177 | 0.688634 | 139 | 1,654 | 8.035971 | 0.309353 | 0.059087 | 0.085944 | 0.129812 | 0.775291 | 0.775291 | 0.775291 | 0.775291 | 0.775291 | 0.775291 | 0 | 0.056197 | 0.214631 | 1,654 | 39 | 178 | 42.410256 | 0.803695 | 0.025998 | 0 | 0.606061 | 1 | 0 | 0.251709 | 0.207582 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0df553e568116932225d72cf695d8fd79e35ba89 | 4,151 | py | Python | tests/lib/regexlib.py | premandfriends/boardfarm-1 | 3c952c94507fff25ba9955cad993610ea4a95e2e | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/lib/regexlib.py | premandfriends/boardfarm-1 | 3c952c94507fff25ba9955cad993610ea4a95e2e | [
"BSD-3-Clause-Clear"
] | 1 | 2019-02-03T17:06:21.000Z | 2019-02-03T17:06:21.000Z | tests/lib/regexlib.py | mgualco-contractor/boardfarm | 6a033e5dc84c7368fdd8ec2738b08b35ca7b07e7 | [
"BSD-3-Clause-Clear"
] | null | null | null | # Copyright (c) 2018
#
# All rights reserved.
#
# This file is distributed under the Clear BSD license.
# The full text can be found in LICENSE in the root directory.
# Restrict all 4 numbers in the IP address to 0..255. It stores each of the 4
# numbers of the IP address into a capturing group. These groups can be u... | 62.893939 | 1,932 | 0.468562 | 836 | 4,151 | 2.324163 | 0.198565 | 0.044261 | 0.095214 | 0.114256 | 0.459599 | 0.39475 | 0.371076 | 0.342254 | 0.342254 | 0.342254 | 0 | 0.203157 | 0.06914 | 4,151 | 65 | 1,933 | 63.861538 | 0.299689 | 0.323296 | 0 | 0 | 0 | 0.555556 | 0.873218 | 0.843586 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21929d9f7263cc92b10c3d8a8fbb6be499cb51d9 | 83 | py | Python | generate_text/rnn/__init__.py | renjunxiang/Text_Generate | 209f2fcf58aed7661de71f34549d555e33feae53 | [
"MIT"
] | 101 | 2018-07-31T16:02:57.000Z | 2022-03-20T22:50:33.000Z | generate_text/rnn/__init__.py | renjunxiang/generate_text | 209f2fcf58aed7661de71f34549d555e33feae53 | [
"MIT"
] | 1 | 2020-12-07T04:32:38.000Z | 2021-08-18T04:47:49.000Z | generate_text/rnn/__init__.py | Jiaogh/Text_Generate | 209f2fcf58aed7661de71f34549d555e33feae53 | [
"MIT"
] | 26 | 2019-01-21T06:36:00.000Z | 2022-03-15T06:29:45.000Z | from .model_tensorflow import model_tensorflow
from .model_keras import model_keras | 41.5 | 46 | 0.891566 | 12 | 83 | 5.833333 | 0.416667 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 83 | 2 | 47 | 41.5 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21a597cb7b8fd78f08845ddbf487fca072e9c826 | 33,324 | py | Python | tests/test_abc.py | caseyduquettesc/gidgethub | e751664d95917dbdb856c382bfe2f4655e2a83c1 | [
"Apache-2.0"
] | null | null | null | tests/test_abc.py | caseyduquettesc/gidgethub | e751664d95917dbdb856c382bfe2f4655e2a83c1 | [
"Apache-2.0"
] | null | null | null | tests/test_abc.py | caseyduquettesc/gidgethub | e751664d95917dbdb856c382bfe2f4655e2a83c1 | [
"Apache-2.0"
] | null | null | null | import asyncio
import datetime
import http
import json
import re
import types
import importlib_resources
import pytest
from gidgethub import (
BadGraphQLRequest,
GitHubBroken,
GraphQLAuthorizationFailure,
GraphQLException,
QueryError,
RedirectionException,
GraphQLResponseTypeError,
)
from ... | 39.29717 | 88 | 0.613642 | 3,995 | 33,324 | 4.99199 | 0.072841 | 0.029685 | 0.048588 | 0.062879 | 0.824249 | 0.811463 | 0.77556 | 0.741363 | 0.711728 | 0.690067 | 0 | 0.014414 | 0.254681 | 33,324 | 847 | 89 | 39.343566 | 0.788541 | 0.013984 | 0 | 0.662568 | 0 | 0 | 0.190485 | 0.008944 | 0 | 0 | 0 | 0 | 0.169399 | 1 | 0.002732 | false | 0.039617 | 0.01776 | 0 | 0.038251 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0dfd412ad829233886681ea194ca207a05160184 | 16,003 | py | Python | tests/test_client.py | markin/elmo-alerting | 7562f8f05acbe9632a2e6c19da72d15c571b9e75 | [
"BSD-3-Clause"
] | null | null | null | tests/test_client.py | markin/elmo-alerting | 7562f8f05acbe9632a2e6c19da72d15c571b9e75 | [
"BSD-3-Clause"
] | null | null | null | tests/test_client.py | markin/elmo-alerting | 7562f8f05acbe9632a2e6c19da72d15c571b9e75 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from requests.exceptions import HTTPError
import responses
from elmo.api.client import ElmoClient
from elmo.api.exceptions import LockNotAcquired, PermissionDenied
def test_client_constructor():
"""Should build the client using the base URL and the vendor suffix."""
client = ElmoClient("https:/... | 28.886282 | 93 | 0.627757 | 1,924 | 16,003 | 5.073805 | 0.090956 | 0.054087 | 0.067609 | 0.058595 | 0.824216 | 0.795943 | 0.754251 | 0.726388 | 0.713071 | 0.703954 | 0 | 0.022273 | 0.239705 | 16,003 | 553 | 94 | 28.938517 | 0.780061 | 0.12079 | 0 | 0.674473 | 0 | 0 | 0.242468 | 0.009635 | 0 | 0 | 0 | 0 | 0.117096 | 1 | 0.070258 | false | 0.007026 | 0.01171 | 0 | 0.081967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df0f9058cf0380935f4d1f9256bb94478574c444 | 34 | py | Python | src/chutil/visualize/__init__.py | keisuke-umezawa/chutil | df60440983c38a6dbbe4710019bcec5e83331904 | [
"MIT"
] | 1 | 2019-02-16T06:20:50.000Z | 2019-02-16T06:20:50.000Z | src/chutil/visualize/__init__.py | keisuke-umezawa/chutil | df60440983c38a6dbbe4710019bcec5e83331904 | [
"MIT"
] | null | null | null | src/chutil/visualize/__init__.py | keisuke-umezawa/chutil | df60440983c38a6dbbe4710019bcec5e83331904 | [
"MIT"
] | null | null | null | from chutil.visualize import show
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df203e509b6230f21754a894d104f622bd52e255 | 121 | py | Python | wkExercises/wk1/rectangle.py | compagnb/SU20-IntermediatePython | 235d67320b753f9270f9a67d862f399943bbbbae | [
"RSA-MD",
"BSD-Source-Code"
] | null | null | null | wkExercises/wk1/rectangle.py | compagnb/SU20-IntermediatePython | 235d67320b753f9270f9a67d862f399943bbbbae | [
"RSA-MD",
"BSD-Source-Code"
] | null | null | null | wkExercises/wk1/rectangle.py | compagnb/SU20-IntermediatePython | 235d67320b753f9270f9a67d862f399943bbbbae | [
"RSA-MD",
"BSD-Source-Code"
] | null | null | null | import turtle
t = turtle.Pen()
t.forward(100)
t.left(90)
t.forward(50)
t.left(90)
t.forward(100)
t.left(90)
t.forward(50) | 13.444444 | 16 | 0.702479 | 26 | 121 | 3.269231 | 0.346154 | 0.376471 | 0.247059 | 0.282353 | 0.741176 | 0.658824 | 0.658824 | 0.658824 | 0.658824 | 0 | 0 | 0.145455 | 0.090909 | 121 | 9 | 17 | 13.444444 | 0.627273 | 0 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df26626da7ca3e1f37c4fec34d3d76e147b43e02 | 6,292 | py | Python | fffit/tests/test_utils.py | helpscott/fffit | 22f83c3e804304398822bfdc335704cacab5efc5 | [
"MIT"
] | null | null | null | fffit/tests/test_utils.py | helpscott/fffit | 22f83c3e804304398822bfdc335704cacab5efc5 | [
"MIT"
] | null | null | null | fffit/tests/test_utils.py | helpscott/fffit | 22f83c3e804304398822bfdc335704cacab5efc5 | [
"MIT"
] | 4 | 2021-05-13T19:51:08.000Z | 2021-12-08T01:22:20.000Z | import pytest
import numpy as np
from fffit.utils import _clean_bounds_values
from fffit.utils import values_real_to_scaled
from fffit.utils import values_scaled_to_real
from fffit.utils import variances_scaled_to_real
from fffit.tests.base_test import BaseTest
class TestUtils(BaseTest):
def test_values_real_to... | 37.230769 | 72 | 0.621265 | 936 | 6,292 | 3.941239 | 0.054487 | 0.019517 | 0.084576 | 0.148008 | 0.935755 | 0.887232 | 0.864733 | 0.808349 | 0.74058 | 0.73814 | 0 | 0.064326 | 0.243961 | 6,292 | 168 | 73 | 37.452381 | 0.711163 | 0 | 0 | 0.451128 | 0 | 0 | 0.010172 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.075188 | false | 0 | 0.052632 | 0 | 0.135338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df8040e60544902bcff3e06c3e272ad531e12fb8 | 164 | py | Python | guv/hubs/__init__.py | timgates42/guv | d7bac2ca6a73cc2059969af08223b82f3e187922 | [
"MIT"
] | 120 | 2015-01-05T15:15:26.000Z | 2020-07-28T11:25:10.000Z | guv/hubs/__init__.py | timgates42/guv | d7bac2ca6a73cc2059969af08223b82f3e187922 | [
"MIT"
] | 22 | 2015-01-12T21:52:32.000Z | 2017-01-22T18:18:20.000Z | guv/hubs/__init__.py | timgates42/guv | d7bac2ca6a73cc2059969af08223b82f3e187922 | [
"MIT"
] | 13 | 2015-01-18T11:42:34.000Z | 2021-07-15T10:59:22.000Z | from .switch import trampoline
from .hub import get_default_hub, use_hub, get_hub, notify_opened
__all__ = ['use_hub', 'get_hub', 'get_default_hub', 'trampoline']
| 32.8 | 65 | 0.77439 | 25 | 164 | 4.56 | 0.44 | 0.157895 | 0.22807 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 4 | 66 | 41 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0.237805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df834df27a8a9d7da0197f9494d6300d8071179b | 152 | py | Python | backend/src/controllers/util/redis.py | tmdt-buw/gideon-ts | b839672fcc19f13562f6da23e6407fff0b18d3ec | [
"MIT"
] | null | null | null | backend/src/controllers/util/redis.py | tmdt-buw/gideon-ts | b839672fcc19f13562f6da23e6407fff0b18d3ec | [
"MIT"
] | null | null | null | backend/src/controllers/util/redis.py | tmdt-buw/gideon-ts | b839672fcc19f13562f6da23e6407fff0b18d3ec | [
"MIT"
] | null | null | null | import redis
from src.config.settings import get_settings
redis_instance = redis.Redis(host=get_settings().redis_url, port=get_settings().redis_port)
| 25.333333 | 91 | 0.822368 | 23 | 152 | 5.173913 | 0.478261 | 0.277311 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 152 | 5 | 92 | 30.4 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
800269c6a1b93e340e2fd0a2b38402c08bb45c34 | 2,368 | py | Python | pyaz/synapse/integration_runtime_node/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/synapse/integration_runtime_node/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/synapse/integration_runtime_node/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from ... pyaz_utils import _call_az
def show(name, node_name, resource_group, workspace_name):
'''
Get self-hosted integration runtime node information.
Required Parameters:
- name -- The integration runtime name.
- node_name -- The integration runtime node name.
- resource_group -- Name of re... | 40.135593 | 128 | 0.717483 | 304 | 2,368 | 5.447368 | 0.177632 | 0.195652 | 0.15942 | 0.101449 | 0.820652 | 0.805556 | 0.805556 | 0.683575 | 0.657609 | 0.657609 | 0 | 0 | 0.192145 | 2,368 | 58 | 129 | 40.827586 | 0.865656 | 0.651605 | 0 | 0 | 0 | 0 | 0.26087 | 0.143928 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
339843989e7ba1de9245d79cf7f45d3038dbf1af | 5,342 | py | Python | python_modules/dagster-airflow/dagster_airflow_tests/test_scaffold_airflow_dag.py | vishvananda/dagster | f6aa44714246bc770fe05a9c986fe8b7d848956b | [
"Apache-2.0"
] | null | null | null | python_modules/dagster-airflow/dagster_airflow_tests/test_scaffold_airflow_dag.py | vishvananda/dagster | f6aa44714246bc770fe05a9c986fe8b7d848956b | [
"Apache-2.0"
] | null | null | null | python_modules/dagster-airflow/dagster_airflow_tests/test_scaffold_airflow_dag.py | vishvananda/dagster | f6aa44714246bc770fe05a9c986fe8b7d848956b | [
"Apache-2.0"
] | null | null | null | import datetime
import os
import shutil
import pytest
from dagster.utils import load_yaml_from_path, script_relative_path
from dagster_airflow.scaffold import scaffold_airflow_dag
from .test_project.dagster_airflow_demo import define_demo_execution_pipeline
PIPELINE = define_demo_execution_pipeline()
ENV_CONFIG =... | 32.975309 | 100 | 0.686821 | 670 | 5,342 | 5.113433 | 0.146269 | 0.068301 | 0.120841 | 0.091068 | 0.845009 | 0.812901 | 0.773497 | 0.708698 | 0.708698 | 0.708698 | 0 | 0.003098 | 0.214526 | 5,342 | 161 | 101 | 33.180124 | 0.813394 | 0 | 0 | 0.511811 | 0 | 0 | 0.078248 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 1 | 0.102362 | false | 0 | 0.055118 | 0.007874 | 0.165354 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33a8f35de4e33f5e6314bd9e2782c7495a319077 | 46 | py | Python | adapters/pox/ext/debugger/elt/message_server/__init__.py | ARCCN/elt | 3bf4e6cc0c7abbe442d6513ed294e956143c3bea | [
"BSD-3-Clause"
] | 1 | 2016-07-14T14:45:56.000Z | 2016-07-14T14:45:56.000Z | adapters/pox/ext/debugger/elt/message_server/__init__.py | ARCCN/elt | 3bf4e6cc0c7abbe442d6513ed294e956143c3bea | [
"BSD-3-Clause"
] | null | null | null | adapters/pox/ext/debugger/elt/message_server/__init__.py | ARCCN/elt | 3bf4e6cc0c7abbe442d6513ed294e956143c3bea | [
"BSD-3-Clause"
] | null | null | null | from .messages import Message, ClosingMessage
| 23 | 45 | 0.847826 | 5 | 46 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33c299eb33d168bbe5a6841864b098048eed9e0c | 19 | py | Python | apy/__init__.py | amccloud/apy | c5546902326dcde70023d612a0481766b21ac991 | [
"MIT"
] | 1 | 2019-09-11T00:17:47.000Z | 2019-09-11T00:17:47.000Z | apy/__init__.py | amccloud/apy | c5546902326dcde70023d612a0481766b21ac991 | [
"MIT"
] | null | null | null | apy/__init__.py | amccloud/apy | c5546902326dcde70023d612a0481766b21ac991 | [
"MIT"
] | null | null | null | from .apy import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33d39008a048d962db3722bddaa631d08963dd0f | 22 | py | Python | rynda/Rynda/settings/dev_sarutobi.py | sarutobi/ritmserdtsa | 49ca83e19cad0cd92deecc4baf86d653ac0188fa | [
"MIT"
] | null | null | null | rynda/Rynda/settings/dev_sarutobi.py | sarutobi/ritmserdtsa | 49ca83e19cad0cd92deecc4baf86d653ac0188fa | [
"MIT"
] | null | null | null | rynda/Rynda/settings/dev_sarutobi.py | sarutobi/ritmserdtsa | 49ca83e19cad0cd92deecc4baf86d653ac0188fa | [
"MIT"
] | null | null | null | from .local import *
| 7.333333 | 20 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d83170fd693a26595014b57a995208d7570650a | 73 | py | Python | modules/shell.py | tropicalDesert/frontline | 2f6b24c3feb0add6ab555d93246b3e5a46326d30 | [
"MIT"
] | null | null | null | modules/shell.py | tropicalDesert/frontline | 2f6b24c3feb0add6ab555d93246b3e5a46326d30 | [
"MIT"
] | null | null | null | modules/shell.py | tropicalDesert/frontline | 2f6b24c3feb0add6ab555d93246b3e5a46326d30 | [
"MIT"
] | null | null | null | from os import popen
def command(instr):
return popen(instr).read()
| 14.6 | 30 | 0.712329 | 11 | 73 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 73 | 4 | 31 | 18.25 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1da17a3b90dde04fa9f19a5f69c8652a0d718e81 | 64 | py | Python | acq4/devices/LightSource/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 1 | 2020-06-04T17:04:53.000Z | 2020-06-04T17:04:53.000Z | acq4/devices/LightSource/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 24 | 2016-09-27T17:25:24.000Z | 2017-03-02T21:00:11.000Z | acq4/devices/LightSource/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 4 | 2016-10-19T06:39:36.000Z | 2019-09-30T21:06:45.000Z | from __future__ import print_function
from .LightSource import * | 32 | 37 | 0.859375 | 8 | 64 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 2 | 38 | 32 | 0.877193 | 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 | 1 | 1 | 0 | 6 |
d563fc662805b04dcb6fa109564a5bc4448c1ab8 | 3,783 | py | Python | test/test_admin.py | LifeLaboratory/asi_hardware | d6c4fa3c871fd5e4c09dcee1587c8f0a53a10c93 | [
"MIT"
] | null | null | null | test/test_admin.py | LifeLaboratory/asi_hardware | d6c4fa3c871fd5e4c09dcee1587c8f0a53a10c93 | [
"MIT"
] | null | null | null | test/test_admin.py | LifeLaboratory/asi_hardware | d6c4fa3c871fd5e4c09dcee1587c8f0a53a10c93 | [
"MIT"
] | null | null | null | import unittest
import requests as req
from admin.config.config import HOST
from admin.api.src.admin_method import *
from admin.api.helpers.service import Gis
import admin.api.helpers.base_name as names
class TestAdmin(unittest.TestCase):
def test_change_coefficients_back_sales(self):
args = {
... | 29.1 | 59 | 0.571504 | 448 | 3,783 | 4.631696 | 0.158482 | 0.050602 | 0.09253 | 0.064096 | 0.805301 | 0.767229 | 0.734458 | 0.734458 | 0.712771 | 0.683855 | 0 | 0.04341 | 0.324081 | 3,783 | 129 | 60 | 29.325581 | 0.768088 | 0 | 0 | 0.651376 | 0 | 0 | 0.02802 | 0.006609 | 0 | 0 | 0 | 0 | 0.12844 | 1 | 0.091743 | false | 0 | 0.055046 | 0 | 0.220183 | 0.027523 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
633466dac533fd4a3ce8aea9333527d805add2b6 | 38,623 | py | Python | DAQ.py | edward-mu/CHEM274 | a0483040643f23f903873048aea14aa656b25fe1 | [
"MIT"
] | null | null | null | DAQ.py | edward-mu/CHEM274 | a0483040643f23f903873048aea14aa656b25fe1 | [
"MIT"
] | 6 | 2021-10-31T23:03:17.000Z | 2021-12-07T05:56:11.000Z | DAQ.py | edward-mu/CHEM274 | a0483040643f23f903873048aea14aa656b25fe1 | [
"MIT"
] | 1 | 2021-11-12T22:07:10.000Z | 2021-11-12T22:07:10.000Z | '''
Functions that run the DAQ
'''
import nidaqmx
from nidaqmx import Task
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
from cycler import cycler
'''EIS functions'''
def take_EIS_custom_array(E_DC: float, E_AC: float, freq: np.ndarray, Rm: float, Cm:float,... | 48.158354 | 124 | 0.648629 | 5,770 | 38,623 | 4.165338 | 0.095147 | 0.016643 | 0.010402 | 0.008238 | 0.802239 | 0.774777 | 0.75439 | 0.742739 | 0.722185 | 0.709786 | 0 | 0.024016 | 0.247495 | 38,623 | 802 | 125 | 48.158354 | 0.802918 | 0.369909 | 0 | 0.612994 | 0 | 0.002825 | 0.06981 | 0.002798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025424 | false | 0 | 0.019774 | 0 | 0.070621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63639d7eea77b3167522ae0ae1843a5696ade216 | 21 | py | Python | face_analysis.py | Pablo-Arias/STIM | 4f9594c32003bc29268226b7766cc160655f7000 | [
"MIT"
] | 2 | 2018-02-12T14:31:14.000Z | 2020-02-27T22:53:05.000Z | face_analysis.py | Pablo-Arias/STIM | 4f9594c32003bc29268226b7766cc160655f7000 | [
"MIT"
] | null | null | null | face_analysis.py | Pablo-Arias/STIM | 4f9594c32003bc29268226b7766cc160655f7000 | [
"MIT"
] | 1 | 2018-09-27T10:11:25.000Z | 2018-09-27T10:11:25.000Z | from feat import Fex
| 10.5 | 20 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6389e56cebc7d3eb02c21bcf1f49221ef5be6f50 | 96 | py | Python | python/floret_module/floret/tests/test_tokenize.py | GerHobbelt/fastText | 39cee552f82710ac2f8683f20c2ac4f847500dc7 | [
"MIT"
] | 137 | 2021-11-04T04:11:50.000Z | 2022-03-30T09:14:51.000Z | python/floret_module/floret/tests/test_tokenize.py | GerHobbelt/fastText | 39cee552f82710ac2f8683f20c2ac4f847500dc7 | [
"MIT"
] | null | null | null | python/floret_module/floret/tests/test_tokenize.py | GerHobbelt/fastText | 39cee552f82710ac2f8683f20c2ac4f847500dc7 | [
"MIT"
] | 5 | 2021-10-02T15:18:12.000Z | 2022-03-21T09:40:41.000Z | import floret
def test_tokenize():
assert floret.tokenize("a b cde") == ["a", "b", "cde"]
| 16 | 58 | 0.604167 | 14 | 96 | 4.071429 | 0.642857 | 0.070175 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 96 | 5 | 59 | 19.2 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
638d0371df93880e7be89ed41e06603124b01f83 | 281 | py | Python | RasPi_Dev/ros_ws/devel/lib/python2.7/dist-packages/frontier_exploration/msg/__init__.py | QianheYu/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T03:31:15.000Z | 2022-03-11T03:31:15.000Z | RasPi_Dev/ros_ws/devel/lib/python2.7/dist-packages/frontier_exploration/msg/__init__.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | RasPi_Dev/ros_ws/devel/lib/python2.7/dist-packages/frontier_exploration/msg/__init__.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | from ._ExploreTaskAction import *
from ._ExploreTaskActionFeedback import *
from ._ExploreTaskActionGoal import *
from ._ExploreTaskActionResult import *
from ._ExploreTaskFeedback import *
from ._ExploreTaskGoal import *
from ._ExploreTaskResult import *
from ._Frontier import *
| 31.222222 | 41 | 0.829181 | 24 | 281 | 9.375 | 0.416667 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113879 | 281 | 8 | 42 | 35.125 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
892490291456ab61faf6dcc46398ebc5a8960336 | 414 | py | Python | zvt/recorders/emquantapi/__init__.py | markqiu/zvt | 1bcfb71279f2652c3600f0f8e45d941f98ceaa10 | [
"MIT"
] | 6 | 2020-09-03T10:02:00.000Z | 2021-02-04T02:51:47.000Z | zvt/recorders/emquantapi/__init__.py | wlwd13303/zvt | 23105a5bfdc3a5080c6c22d11e9e53d216688dea | [
"MIT"
] | null | null | null | zvt/recorders/emquantapi/__init__.py | wlwd13303/zvt | 23105a5bfdc3a5080c6c22d11e9e53d216688dea | [
"MIT"
] | 2 | 2020-07-08T04:15:40.000Z | 2021-06-08T08:51:31.000Z | # -*- coding: utf-8 -*-
from zvt.recorders.emquantapi.dividend_financing import *
from zvt.recorders.emquantapi.finance import *
from zvt.recorders.emquantapi.finance_qtr import *
from zvt.recorders.emquantapi.holder import *
from zvt.recorders.emquantapi.meta import *
from zvt.recorders.emquantapi.quotes import *
from... | 41.4 | 57 | 0.811594 | 53 | 414 | 6.301887 | 0.320755 | 0.167665 | 0.383234 | 0.622754 | 0.712575 | 0.233533 | 0 | 0 | 0 | 0 | 0 | 0.002653 | 0.089372 | 414 | 9 | 58 | 46 | 0.883289 | 0.050725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8998e1e7174e1660919b2c10d0e80e359f122ecb | 179 | py | Python | Data Scientist Career Path/3. Python Fundamentals/5. Python List/3. Working with List/1. list insert.py | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/3. Python Fundamentals/5. Python List/3. Working with List/1. list insert.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/3. Python Fundamentals/5. Python List/3. Working with List/1. list insert.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | front_display_list = ["Mango", "Filet Mignon", "Chocolate Milk"]
print(front_display_list)
# Your code below:
front_display_list.insert(0,"Pineapple")
print(front_display_list) | 25.571429 | 64 | 0.782123 | 25 | 179 | 5.28 | 0.6 | 0.363636 | 0.484848 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.089385 | 179 | 7 | 65 | 25.571429 | 0.803681 | 0.089385 | 0 | 0.5 | 0 | 0 | 0.248447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9825e5c6097d5d9b991ee3fe71f403e94a8703d8 | 102 | py | Python | tests/test_cli.py | BCM-HGSC/conda-demo-py | 09e8839d3aa8ec8a36fa448157dce50e59ffb243 | [
"MIT"
] | null | null | null | tests/test_cli.py | BCM-HGSC/conda-demo-py | 09e8839d3aa8ec8a36fa448157dce50e59ffb243 | [
"MIT"
] | null | null | null | tests/test_cli.py | BCM-HGSC/conda-demo-py | 09e8839d3aa8ec8a36fa448157dce50e59ffb243 | [
"MIT"
] | null | null | null | from conda_demo_py import cli
def test_cli_template():
assert cli.implement_cdemopy([]) is None
| 17 | 44 | 0.764706 | 16 | 102 | 4.5625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 5 | 45 | 20.4 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9843fd54616da7add9c8789bd904ccbdcedfcafb | 184 | py | Python | project_euler/Problem20/p20.py | bernardosequeir/CTFfiles | 36a6ceba49d9a9019056d3669c5e8f84aa83b618 | [
"MIT"
] | null | null | null | project_euler/Problem20/p20.py | bernardosequeir/CTFfiles | 36a6ceba49d9a9019056d3669c5e8f84aa83b618 | [
"MIT"
] | 5 | 2020-09-23T18:28:25.000Z | 2020-09-23T18:28:41.000Z | project_euler/Problem20/p20.py | bernardosequeir/CTFSolutions | 503944617cb18826d12ab98fa33fd761e791328a | [
"MIT"
] | null | null | null | from math import factorial
def factorial_digit_sum(number):
return sum([int(i) for i in str(factorial(number))])
if __name__ == "__main__":
print(factorial_digit_sum(100))
| 18.4 | 56 | 0.722826 | 27 | 184 | 4.481481 | 0.703704 | 0.231405 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019355 | 0.157609 | 184 | 9 | 57 | 20.444444 | 0.76129 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.2 | 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 | 1 | 1 | 0 | 0 | 6 |
9845f769e0765c1eb15345ea121f40440fe6f988 | 157 | py | Python | python/dataingest/graph/dmo/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/graph/dmo/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/graph/dmo/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .graph_data_extractor import GraphDataExtractor
from .graph_data_transform import GraphDataTransform
from .graph_field_mapping import GraphFieldMapping
| 39.25 | 52 | 0.904459 | 18 | 157 | 7.555556 | 0.611111 | 0.198529 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 157 | 3 | 53 | 52.333333 | 0.937931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f4d8089e4627594b10e475b99b9121444aaeb6e | 3,447 | py | Python | pyhealth/test/test_generator.py | rkalahasty/PyHealth | 1ee0859d8d39a7fc6f8df48ef8d2bf6c17dcf4a5 | [
"BSD-2-Clause"
] | 485 | 2020-08-03T20:04:21.000Z | 2022-02-25T13:35:43.000Z | pyhealth/test/test_generator.py | rkalahasty/PyHealth | 1ee0859d8d39a7fc6f8df48ef8d2bf6c17dcf4a5 | [
"BSD-2-Clause"
] | 6 | 2020-08-06T01:07:45.000Z | 2021-10-15T21:49:42.000Z | pyhealth/test/test_generator.py | rkalahasty/PyHealth | 1ee0859d8d39a7fc6f8df48ef8d2bf6c17dcf4a5 | [
"BSD-2-Clause"
] | 98 | 2020-08-04T01:04:38.000Z | 2022-02-09T10:36:03.000Z | # -*- coding: utf-8 -*-
from __future__ import division
from __future__ import print_function
import os
import sys
import unittest
import shutil
import numpy as np
import zipfile
from pyhealth.data.expdata_generator import sequencedata
from pyhealth.data.expdata_generator import imagedata
from pyhealth.data.expda... | 40.552941 | 89 | 0.607195 | 408 | 3,447 | 4.865196 | 0.161765 | 0.06801 | 0.024181 | 0.042317 | 0.855416 | 0.855416 | 0.750126 | 0.750126 | 0.750126 | 0.750126 | 0 | 0.000394 | 0.262837 | 3,447 | 84 | 90 | 41.035714 | 0.780795 | 0.006092 | 0 | 0.666667 | 0 | 0 | 0.184287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.146667 | 0 | 0.2 | 0.013333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f5e0f3f33de646d663a7535aea1e2fe1e65c5a3 | 71 | py | Python | app/model/__init__.py | tuum-tech/did-email-validator | 581dc2c9954d874dbfa7599672d5cc90b668866b | [
"MIT"
] | null | null | null | app/model/__init__.py | tuum-tech/did-email-validator | 581dc2c9954d874dbfa7599672d5cc90b668866b | [
"MIT"
] | 9 | 2020-05-26T16:50:59.000Z | 2022-03-12T00:39:56.000Z | app/model/__init__.py | tuum-tech/did-email-validator | 581dc2c9954d874dbfa7599672d5cc90b668866b | [
"MIT"
] | null | null | null | from .emailValidationTx import EmailValidationTx, EmailValidationStatus | 71 | 71 | 0.915493 | 5 | 71 | 13 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 1 | 71 | 71 | 0.970149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f69e8fa7a1679bd264fbe6b45f439e1afb9edf6f | 31 | py | Python | tests/custom_tags/__init__.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 62 | 2019-01-17T18:47:45.000Z | 2022-03-23T10:00:09.000Z | tests/custom_tags/__init__.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 24 | 2019-01-18T10:05:36.000Z | 2022-02-20T17:46:36.000Z | tests/custom_tags/__init__.py | dkreuer/emrichen | ef2b2ad5cd828a9dfed6d7924cee207e13598b0f | [
"MIT"
] | 10 | 2019-02-12T23:58:29.000Z | 2022-02-18T09:42:35.000Z | from . import kube_env # noqa
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.875 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6e8891a2ff76e5b31d4bd4135791424fbc48ade | 125 | py | Python | onnx_opcounter/__init__.py | blacklong28/onnx-opcounter | 9e500983f0fd44861b6d7d2b2472e2a74a1c0e8c | [
"Apache-2.0"
] | 25 | 2021-05-25T10:32:37.000Z | 2022-03-25T05:15:26.000Z | onnx_opcounter/__init__.py | blacklong28/onnx-opcounter | 9e500983f0fd44861b6d7d2b2472e2a74a1c0e8c | [
"Apache-2.0"
] | 1 | 2021-06-01T13:30:23.000Z | 2022-02-21T03:42:09.000Z | onnx_opcounter/__init__.py | blacklong28/onnx-opcounter | 9e500983f0fd44861b6d7d2b2472e2a74a1c0e8c | [
"Apache-2.0"
] | 11 | 2021-06-08T03:08:08.000Z | 2021-12-24T16:41:27.000Z | from onnx_opcounter.onnx_opcounter import calculate_params, calculate_macs
__all__ = ['calculate_params', 'calculate_macs']
| 31.25 | 74 | 0.84 | 15 | 125 | 6.333333 | 0.533333 | 0.273684 | 0.505263 | 0.589474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 125 | 3 | 75 | 41.666667 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1008eb507849433a7315cdb02e6fb9b6ef583289 | 237 | py | Python | src/client/py/app/errors.py | sanchaymittal/Rolls-Royce-Challenge | 7fd5d79154baab6f6971179bbb5ba1a3241cd499 | [
"Apache-2.0"
] | null | null | null | src/client/py/app/errors.py | sanchaymittal/Rolls-Royce-Challenge | 7fd5d79154baab6f6971179bbb5ba1a3241cd499 | [
"Apache-2.0"
] | 4 | 2019-09-28T10:49:06.000Z | 2019-09-28T10:49:07.000Z | src/client/py/app/errors.py | sanchaymittal/Rolls-Royce-Challenge | 7fd5d79154baab6f6971179bbb5ba1a3241cd499 | [
"Apache-2.0"
] | 1 | 2020-03-24T16:52:06.000Z | 2020-03-24T16:52:06.000Z | from flask import render_template
from app import app
@app.errorhandler(404)
def not_found(error):
return render_template('404.html'),404
@app.errorhandler(500)
def internal_error(error):
return render_template('500.html'),500
| 21.545455 | 42 | 0.772152 | 35 | 237 | 5.085714 | 0.457143 | 0.235955 | 0.191011 | 0.280899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086124 | 0.118143 | 237 | 10 | 43 | 23.7 | 0.76555 | 0 | 0 | 0 | 0 | 0 | 0.067511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
63d78b8aba45dc643a390bf5ac970c91747b4113 | 7,782 | py | Python | tests/ev3dev2/simulator/connection/test_MotorCommandProcessor.py | NielsOkker/ev3dev2simulator | fc0b89eae09634b34b9e64c989c5febc86e70ef1 | [
"MIT"
] | null | null | null | tests/ev3dev2/simulator/connection/test_MotorCommandProcessor.py | NielsOkker/ev3dev2simulator | fc0b89eae09634b34b9e64c989c5febc86e70ef1 | [
"MIT"
] | 2 | 2020-05-31T11:16:40.000Z | 2020-05-31T12:28:33.000Z | tests/ev3dev2/simulator/connection/test_MotorCommandProcessor.py | NielsOkker/ev3dev2simulator | fc0b89eae09634b34b9e64c989c5febc86e70ef1 | [
"MIT"
] | null | null | null | import unittest
from ev3dev2simulator.config.config import get_simulation_settings, load_config
from ev3dev2simulator.state.MotorCommandProcessor import MotorCommandProcessor
from ev3dev2simulator.connection.message.RotateCommand import RotateCommand
from ev3dev2simulator.connection.message.StopCommand import StopComm... | 37.413462 | 99 | 0.687869 | 910 | 7,782 | 5.613187 | 0.10989 | 0.108653 | 0.078113 | 0.091621 | 0.818128 | 0.805012 | 0.778387 | 0.761159 | 0.74863 | 0.74863 | 0 | 0.059286 | 0.215369 | 7,782 | 207 | 100 | 37.594203 | 0.777268 | 0.021845 | 0 | 0.590604 | 0 | 0 | 0.036175 | 0.003815 | 0 | 0 | 0 | 0 | 0.355705 | 1 | 0.114094 | false | 0 | 0.033557 | 0 | 0.154362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
120801055ec065a39820dec3fbfe68f71fa43e6d | 306 | py | Python | test/common.py | FabianElsmer/rueckenwind | 255b026009edcdc41b6a5ad7cbae3e5e4970696c | [
"Apache-2.0"
] | 3 | 2015-09-03T07:39:57.000Z | 2020-01-28T09:14:04.000Z | test/common.py | FabianElsmer/rueckenwind | 255b026009edcdc41b6a5ad7cbae3e5e4970696c | [
"Apache-2.0"
] | 6 | 2015-05-09T13:26:12.000Z | 2017-07-13T14:22:31.000Z | test/common.py | FabianElsmer/rueckenwind | 255b026009edcdc41b6a5ad7cbae3e5e4970696c | [
"Apache-2.0"
] | 5 | 2015-05-13T08:58:22.000Z | 2020-09-10T14:49:43.000Z | def generate_route_func(name):
def f(x):
return x
f.__name__ = name
return f
def generate_handler_func(route_func, path, name=None):
if name is None:
name = route_func.__name__ + '_' + {'/': 'index'}[path]
f = generate_route_func(name)
return route_func(path)(f)
| 21.857143 | 63 | 0.630719 | 44 | 306 | 3.977273 | 0.318182 | 0.257143 | 0.222857 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245098 | 306 | 13 | 64 | 23.538462 | 0.757576 | 0 | 0 | 0 | 1 | 0 | 0.022876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.1 | 0.6 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
122fe99d313a84d4a43fa1b086441794339f5be1 | 26 | py | Python | model-optimizer/telemetry/backend/__init__.py | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | null | null | null | model-optimizer/telemetry/backend/__init__.py | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 21 | 2021-02-16T13:02:05.000Z | 2022-02-21T13:05:06.000Z | model-optimizer/telemetry/backend/__init__.py | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | from .backend_ga import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1235fc165c0ef482432527424889b5427920c5fa | 2,759 | py | Python | tests/util.py | purificant/python-paseto | 1f3b2a77b9e1d0a4cd807275338b934698f59949 | [
"MIT"
] | 13 | 2019-05-12T19:10:21.000Z | 2022-02-09T10:07:19.000Z | tests/util.py | sumitsharansatsangi/python-paseto | 77d228e2eb87e82571c1f6ab1643f73a45d979f9 | [
"MIT"
] | 4 | 2019-05-12T10:49:49.000Z | 2021-10-18T17:19:25.000Z | tests/util.py | sumitsharansatsangi/python-paseto | 77d228e2eb87e82571c1f6ab1643f73a45d979f9 | [
"MIT"
] | null | null | null | """This module contains utility functions used in tests."""
import json
from typing import Tuple
TransformedTestCaseV4 = Tuple[str, bytes, bytes, bytes, bytes, bytes, bytes]
TransformedTestCaseV2 = Tuple[str, bytes, bytes, bytes, bytes, bytes]
def transform_test_case_for_v4_public(
test_case: dict,
) -> Transfo... | 34.4875 | 80 | 0.647698 | 345 | 2,759 | 5.034783 | 0.191304 | 0.156592 | 0.07369 | 0.092113 | 0.912493 | 0.909614 | 0.89407 | 0.84053 | 0.84053 | 0.84053 | 0 | 0.012004 | 0.214933 | 2,759 | 79 | 81 | 34.924051 | 0.789935 | 0.306633 | 0 | 0.681818 | 0 | 0 | 0.10307 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.090909 | false | 0 | 0.045455 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.