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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
69f409b13ad0b46a22392d114e37fc306b39bf56 | 43 | py | Python | dangerfile.py | elpassion/danger-flake8 | 87703148ee6fef44fc13799dba79c7ef3130fd0c | [
"MIT"
] | 1 | 2020-02-17T10:19:45.000Z | 2020-02-17T10:19:45.000Z | dangerfile.py | elpassion/danger-flake8 | 87703148ee6fef44fc13799dba79c7ef3130fd0c | [
"MIT"
] | null | null | null | dangerfile.py | elpassion/danger-flake8 | 87703148ee6fef44fc13799dba79c7ef3130fd0c | [
"MIT"
] | null | null | null | import danger_flake8
danger_flake8.lint()
| 10.75 | 20 | 0.837209 | 6 | 43 | 5.666667 | 0.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.093023 | 43 | 3 | 21 | 14.333333 | 0.820513 | 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 |
0e0c9ebf10bf29904582876b920722df911a8630 | 40 | py | Python | app/api/comment/__init__.py | codingjerk/ztd.blunders-web | 38d4c1049dc3d0bd0b4294ffa419d25cbfbf2b83 | [
"MIT"
] | null | null | null | app/api/comment/__init__.py | codingjerk/ztd.blunders-web | 38d4c1049dc3d0bd0b4294ffa419d25cbfbf2b83 | [
"MIT"
] | null | null | null | app/api/comment/__init__.py | codingjerk/ztd.blunders-web | 38d4c1049dc3d0bd0b4294ffa419d25cbfbf2b83 | [
"MIT"
] | null | null | null | from app.api.comment import send, vote
| 13.333333 | 38 | 0.775 | 7 | 40 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 2 | 39 | 20 | 0.911765 | 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 |
38a5c225f1d09b1b089f6dd63b17dd6f15759da1 | 23,815 | py | Python | test/units/pattern/test_resub.py | larsborn/refinery | c8b19156b17e5fa5de5c72bc668a14d646584560 | [
"BSD-3-Clause"
] | null | null | null | test/units/pattern/test_resub.py | larsborn/refinery | c8b19156b17e5fa5de5c72bc668a14d646584560 | [
"BSD-3-Clause"
] | null | null | null | test/units/pattern/test_resub.py | larsborn/refinery | c8b19156b17e5fa5de5c72bc668a14d646584560 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .. import TestUnitBase
class TestRegexSubstitution(TestUnitBase):
def test_real_world_obfuscated_code(self):
autoit_obfuscated = '''
Func lwmmqmcfqg($vdata, $vcryptkey)
Local $__g_acryptinternaldata[nvbjtycmyxlfrdbypxqk(sjwakhwbtxwwb... | 210.752212 | 2,146 | 0.890699 | 614 | 23,815 | 34.456026 | 0.265472 | 0.037436 | 0.017678 | 0.028124 | 0.186377 | 0.163122 | 0.149603 | 0.144687 | 0.142513 | 0.142513 | 0 | 0.127324 | 0.058115 | 23,815 | 112 | 2,147 | 212.633929 | 0.815835 | 0.001806 | 0 | 0.185567 | 0 | 0.082474 | 0.942533 | 0.822802 | 0 | 1 | 0.001683 | 0 | 0.072165 | 1 | 0.072165 | false | 0 | 0.010309 | 0 | 0.092784 | 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 |
38c6d17d77ad5f717c8828619b159902bb405af2 | 43,822 | py | Python | openapi_client/api/inpy_versions_api.py | nens/threedi-api-client | 43b0eb1bd47310b1783f87f6ad8bfbfe0fb4d90a | [
"BSD-3-Clause"
] | null | null | null | openapi_client/api/inpy_versions_api.py | nens/threedi-api-client | 43b0eb1bd47310b1783f87f6ad8bfbfe0fb4d90a | [
"BSD-3-Clause"
] | 16 | 2021-05-31T09:52:04.000Z | 2022-03-14T16:07:19.000Z | openapi_client/api/inpy_versions_api.py | nens/threedi-api-client | 43b0eb1bd47310b1783f87f6ad8bfbfe0fb4d90a | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
3Di API
3Di simulation API (latest version: 3.0) Framework release: 1.0.16 3Di core release: 2.0.11 deployed on: 07:33AM (UTC) on September 04, 2020 # noqa: E501
The version of the OpenAPI document: 3.0
Contact: info@nelen-schuurmans.nl
Generated by: https://openapi-gen... | 50.370115 | 236 | 0.624412 | 5,063 | 43,822 | 5.117124 | 0.046218 | 0.051258 | 0.083218 | 0.026556 | 0.942836 | 0.918172 | 0.889108 | 0.88602 | 0.880307 | 0.851783 | 0 | 0.016557 | 0.30398 | 43,822 | 869 | 237 | 50.428078 | 0.832858 | 0.444571 | 0 | 0.623529 | 0 | 0 | 0.229856 | 0.107113 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030588 | false | 0 | 0.011765 | 0 | 0.072941 | 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 |
c7f773dff5885a94aa3558ed2fda8940dbab0ef0 | 36 | py | Python | sftp/data_reader/batch_sampler/__init__.py | hiaoxui/span-finder | c5f9886eae12921796b33bdb84ffcb6bfa905cb4 | [
"Apache-2.0"
] | 3 | 2021-05-08T15:35:21.000Z | 2022-01-24T02:52:55.000Z | sftp/data_reader/batch_sampler/__init__.py | hiaoxui/span-finder | c5f9886eae12921796b33bdb84ffcb6bfa905cb4 | [
"Apache-2.0"
] | null | null | null | sftp/data_reader/batch_sampler/__init__.py | hiaoxui/span-finder | c5f9886eae12921796b33bdb84ffcb6bfa905cb4 | [
"Apache-2.0"
] | 1 | 2021-09-07T22:31:40.000Z | 2021-09-07T22:31:40.000Z | from .mix_sampler import MixSampler
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
2a02444410b64e55a6d66f9e55ad48385cf2dec7 | 54 | py | Python | advertise/helpers/__init__.py | sadagatasgarov1/sahibinden | 76b16c64551d37b055f80b82808736f107afb92c | [
"MIT"
] | 2 | 2020-08-13T19:50:43.000Z | 2021-01-16T17:15:43.000Z | advertise/helpers/__init__.py | sadagatasgarov1/sahibinden | 76b16c64551d37b055f80b82808736f107afb92c | [
"MIT"
] | 5 | 2021-04-08T21:50:04.000Z | 2022-02-10T12:34:46.000Z | advertise/helpers/__init__.py | ozanteoman/sahibinden | 76b16c64551d37b055f80b82808736f107afb92c | [
"MIT"
] | 3 | 2020-09-26T13:17:06.000Z | 2022-01-26T20:02:56.000Z | from advertise.helpers.upload_to import upload_to_user | 54 | 54 | 0.907407 | 9 | 54 | 5.111111 | 0.777778 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
2a3da89e02104dc953104dee75248994b1d11a3e | 34 | py | Python | cometblue_lite/__init__.py | fleXible/python-cometblue_lite | 804f8665bad5a9c926a5779a1a1ff9b0f37d1cb3 | [
"MIT"
] | 4 | 2019-12-29T22:06:13.000Z | 2020-11-24T14:29:28.000Z | cometblue_lite/__init__.py | fleXible/python-cometblue_lite | 804f8665bad5a9c926a5779a1a1ff9b0f37d1cb3 | [
"MIT"
] | 3 | 2020-03-12T19:51:19.000Z | 2021-05-30T19:28:43.000Z | cometblue_lite/__init__.py | fleXible/python-cometblue_lite | 804f8665bad5a9c926a5779a1a1ff9b0f37d1cb3 | [
"MIT"
] | 2 | 2020-02-09T19:09:23.000Z | 2021-12-09T07:53:13.000Z | from .cometblue import CometBlue
| 11.333333 | 32 | 0.823529 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa551fb8c21b13a054c44c5d84a7465938408a6c | 18 | py | Python | nus_tools/content/__init__.py | arcticdiv/nus_tools | 24bd7945e720376f24d54fc5dbdcaf126b7294f1 | [
"Apache-2.0"
] | 1 | 2020-01-28T17:10:51.000Z | 2020-01-28T17:10:51.000Z | nus_tools/content/__init__.py | arcticdiv/nus_tools | 24bd7945e720376f24d54fc5dbdcaf126b7294f1 | [
"Apache-2.0"
] | 20 | 2019-11-15T14:53:57.000Z | 2022-03-02T06:20:14.000Z | radio/__init__.py | MrJacob12/Radio | fecf4734da429152f88cd186e4661237a72155ec | [
"MIT"
] | null | null | null | from . import app
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aaa698973c4ab0bf689d2878cfd0b1392a850c84 | 28 | py | Python | script.py | fluthi/casimir-programming | b3f0bc2bc0f84aa757399ff7cf8957576e32e5c8 | [
"MIT"
] | null | null | null | script.py | fluthi/casimir-programming | b3f0bc2bc0f84aa757399ff7cf8957576e32e5c8 | [
"MIT"
] | null | null | null | script.py | fluthi/casimir-programming | b3f0bc2bc0f84aa757399ff7cf8957576e32e5c8 | [
"MIT"
] | null | null | null | print('this is so awesome!') | 28 | 28 | 0.714286 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 |
aabfd8cc20759c0cb30a7b22ee19e4208913726b | 8,593 | py | Python | py_entitymatching/tests/test_blockercombiner.py | kvpradap/py_entitymatching | 4ff803df1a03cf4d77ef935357355e6de5dd9438 | [
"BSD-3-Clause"
] | 165 | 2016-08-28T14:30:01.000Z | 2022-03-29T17:24:03.000Z | py_entitymatching/tests/test_blockercombiner.py | mvahit/py_entitymatching | 6724081d7d95c547e5a51625b4a8207c6c1737f8 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 70 | 2016-11-22T00:35:22.000Z | 2022-03-11T22:26:26.000Z | py_entitymatching/tests/test_blockercombiner.py | mvahit/py_entitymatching | 6724081d7d95c547e5a51625b4a8207c6c1737f8 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | 53 | 2016-09-22T02:07:34.000Z | 2022-03-19T18:57:06.000Z | # coding=utf-8
import os
from nose.tools import *
import unittest
import pandas as pd
import six
from py_entitymatching.utils.generic_helper import get_install_path
import py_entitymatching.catalog.catalog_manager as cm
from py_entitymatching.io.parsers import read_csv_metadata, to_csv_metadata
from py_entitymatching.... | 43.39899 | 100 | 0.65053 | 1,331 | 8,593 | 3.863261 | 0.084147 | 0.03345 | 0.110852 | 0.044924 | 0.873979 | 0.839557 | 0.811163 | 0.772073 | 0.712952 | 0.708285 | 0 | 0.020971 | 0.206447 | 8,593 | 197 | 101 | 43.619289 | 0.733099 | 0.099616 | 0 | 0.5625 | 0 | 0 | 0.063262 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 1 | 0.090278 | false | 0 | 0.0625 | 0 | 0.159722 | 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 |
2ad11b961d22ec96a71e67ff3edcd58067150fc4 | 167 | py | Python | app/main/model/persistence/__init__.py | justTill/whereToLunch | 555ffd9c987cbbb17bd4b69ab48fe23b58691bbd | [
"Unlicense"
] | 1 | 2020-05-21T15:12:19.000Z | 2020-05-21T15:12:19.000Z | app/main/model/persistence/__init__.py | justTill/whereToLunch | 555ffd9c987cbbb17bd4b69ab48fe23b58691bbd | [
"Unlicense"
] | 10 | 2020-04-08T14:44:17.000Z | 2021-06-10T20:00:10.000Z | app/main/model/persistence/__init__.py | justTill/whereToLunch | 555ffd9c987cbbb17bd4b69ab48fe23b58691bbd | [
"Unlicense"
] | null | null | null | from .absenceDAO import *
from .customizeDAO import *
from .restaurantDAO import *
from .restaurantStatisticsDAO import *
from .userDAO import *
from .voteDAO import * | 27.833333 | 38 | 0.790419 | 18 | 167 | 7.333333 | 0.444444 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 6 | 39 | 27.833333 | 0.916667 | 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 |
2ad3588657becb39912282a5e389df4cec9140ce | 18,846 | py | Python | tests/test_load_link16.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 4 | 2021-05-14T08:22:47.000Z | 2022-02-04T19:48:25.000Z | tests/test_load_link16.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 1,083 | 2019-11-06T17:01:07.000Z | 2022-03-25T10:26:51.000Z | tests/test_load_link16.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 4 | 2019-11-06T12:00:45.000Z | 2021-06-09T04:18:28.000Z | import os
import unittest
from datetime import datetime
from pint import UnitRegistry
from sqlalchemy import func
from importers.link_16_importer import Link16Importer
from pepys_import.core.store.data_store import DataStore
from pepys_import.file.file_processor import FileProcessor
from tests.utils import check_erro... | 41.148472 | 100 | 0.624589 | 2,359 | 18,846 | 4.860534 | 0.114455 | 0.088697 | 0.075353 | 0.076923 | 0.852084 | 0.809437 | 0.784406 | 0.780569 | 0.737659 | 0.723967 | 0 | 0.060907 | 0.273427 | 18,846 | 457 | 101 | 41.238512 | 0.776455 | 0.138173 | 0 | 0.564912 | 0 | 0.021053 | 0.070022 | 0.054544 | 0 | 0 | 0 | 0 | 0.322807 | 1 | 0.063158 | false | 0.003509 | 0.108772 | 0 | 0.175439 | 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 |
2af7c07c9ae2b14b7cf18224debd5711a814e231 | 71 | py | Python | banana_octo_py/utils.py | charlesreid1/banana-octo-py | aab96d7550121dc876ebcac7d0343aebda9199c8 | [
"MIT"
] | null | null | null | banana_octo_py/utils.py | charlesreid1/banana-octo-py | aab96d7550121dc876ebcac7d0343aebda9199c8 | [
"MIT"
] | null | null | null | banana_octo_py/utils.py | charlesreid1/banana-octo-py | aab96d7550121dc876ebcac7d0343aebda9199c8 | [
"MIT"
] | null | null | null | def hello_utils():
return "Hello world! This is the utils.py file"
| 23.666667 | 51 | 0.704225 | 12 | 71 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 2 | 52 | 35.5 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0.535211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6309e059b8d95ee0bba161437252b990b25a2813 | 11,166 | py | Python | src/PythonUnitTests/HistogramTests.py | AvenSun/numpy.net | c055f7eac174692fc801c923b6cfd08f634eca9c | [
"BSD-3-Clause"
] | 59 | 2019-01-20T19:43:05.000Z | 2022-03-26T06:08:51.000Z | src/PythonUnitTests/HistogramTests.py | AvenSun/numpy.net | c055f7eac174692fc801c923b6cfd08f634eca9c | [
"BSD-3-Clause"
] | 21 | 2019-06-06T17:45:01.000Z | 2022-03-30T10:37:24.000Z | src/PythonUnitTests/HistogramTests.py | AvenSun/numpy.net | c055f7eac174692fc801c923b6cfd08f634eca9c | [
"BSD-3-Clause"
] | 7 | 2019-05-12T21:06:18.000Z | 2022-02-13T12:23:23.000Z | import unittest
import numpy as np
from nptest import nptest
class HistogramTests(unittest.TestCase):
#region bincount
def test_bincount_1(self):
x = np.arange(5)
a = np.bincount(x)
print(a)
x = np.array([0, 1, 1, 3, 2, 1, 7])
a = np.bincount(x)
print(a)
... | 25.377273 | 127 | 0.529554 | 1,738 | 11,166 | 3.348101 | 0.06214 | 0.030933 | 0.038495 | 0.044853 | 0.864582 | 0.81526 | 0.791029 | 0.745489 | 0.70476 | 0.674515 | 0 | 0.104958 | 0.288375 | 11,166 | 439 | 128 | 25.43508 | 0.62736 | 0.015941 | 0 | 0.585185 | 0 | 0 | 0.017952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.011111 | 0 | 0.114815 | 0.337037 | 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 |
630b020e59687209bd27dcd1dd370c0b192745cd | 83 | py | Python | accounts/forms/__init__.py | tavoxr/django-crm | d6ce34b8e8e93c3ae9853df34641868d4c891125 | [
"MIT"
] | null | null | null | accounts/forms/__init__.py | tavoxr/django-crm | d6ce34b8e8e93c3ae9853df34641868d4c891125 | [
"MIT"
] | null | null | null | accounts/forms/__init__.py | tavoxr/django-crm | d6ce34b8e8e93c3ae9853df34641868d4c891125 | [
"MIT"
] | null | null | null | from .orderForm import *
from .CreateUserForm import *
from .customerForm import * | 27.666667 | 30 | 0.783133 | 9 | 83 | 7.222222 | 0.555556 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 31 | 27.666667 | 0.915493 | 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 |
2d55510e2c5fb5e22371bda18205dcfb1b5ebd80 | 438 | py | Python | password_manager/tests.py | BillyGLW/__password_manager | 7066a1380c8a95dc3e64ca64248305773784c406 | [
"MIT"
] | null | null | null | password_manager/tests.py | BillyGLW/__password_manager | 7066a1380c8a95dc3e64ca64248305773784c406 | [
"MIT"
] | 5 | 2020-08-14T11:04:47.000Z | 2022-02-10T10:08:39.000Z | password_manager/tests.py | BillyGLW/__password_manager | 7066a1380c8a95dc3e64ca64248305773784c406 | [
"MIT"
] | 1 | 2020-08-13T20:43:57.000Z | 2020-08-13T20:43:57.000Z | from django.test import TestCase
from django.test.client import Client
from django.urls import reverse
class Password_Manager_CryptoTestCase(TestCase):
def setUp(self):
self.c = Client()
def test_password_manager_redirect(self):
''' since pm is on TODO list it should always return 302 '''
response = self.... | 24.333333 | 62 | 0.762557 | 62 | 438 | 5.274194 | 0.564516 | 0.091743 | 0.085627 | 0.17737 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023873 | 0.139269 | 438 | 17 | 63 | 25.764706 | 0.843501 | 0.223744 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0.058824 | 0.111111 | 1 | 0.222222 | false | 0.222222 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2d61191f7495e1652e9569f63929b5c9d23ce619 | 19,787 | py | Python | CUB-experiments/model.py | ashleylqx/AIB | 77e418cac52f0ca5f2a7c54927468a7bd75a8fc9 | [
"MIT"
] | 5 | 2021-05-23T13:05:45.000Z | 2022-02-13T21:40:59.000Z | CUB-experiments/model.py | ashleylqx/AIB | 77e418cac52f0ca5f2a7c54927468a7bd75a8fc9 | [
"MIT"
] | null | null | null | CUB-experiments/model.py | ashleylqx/AIB | 77e418cac52f0ca5f2a7c54927468a7bd75a8fc9 | [
"MIT"
] | 3 | 2021-08-11T03:23:31.000Z | 2021-11-17T01:48:52.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.nn.init as init
from torch.autograd import Variable
from utils import cuda
import time
from numbers import Number
import pdb
from torchvision import models
from torchvision.models.resnet import Bottleneck, conv1x1, BasicBlock
... | 39.182178 | 162 | 0.56709 | 2,588 | 19,787 | 4.137558 | 0.110124 | 0.035301 | 0.01681 | 0.01681 | 0.816586 | 0.814811 | 0.798468 | 0.790064 | 0.786048 | 0.786048 | 0 | 0.030766 | 0.30515 | 19,787 | 504 | 163 | 39.259921 | 0.748054 | 0.280588 | 0 | 0.676364 | 0 | 0 | 0.021229 | 0.006853 | 0 | 0 | 0 | 0 | 0.007273 | 1 | 0.065455 | false | 0 | 0.047273 | 0.003636 | 0.185455 | 0.014545 | 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 |
2dd32dac76fa0db63ea04c1690e20eb3251e8b36 | 260,287 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/95.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/95.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/95.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34521
passenger_arriving = (
(11, 11, 6, 9, 7, 3, 2, 1, 2, 1, 5, 2, 0, 9, 6, 8, 9, 8, 6, 5, 8, 3, 4, 2, 1, 0), # 0
(7, 7, 4, 10, 8, 7, 6, 2, 1, 2, 1, 1, 0, 11, 11, 8, 7, 2, 5, 6, 2, 3, 1, 1, 0, 0), # 1
(12, 6, 5, 6, 5, 2, 3, 3, 5, 1, 1, 0, 0, 12, 13, 10, 7, 11, 4, 4, 3, 0, 2, ... | 278.381818 | 490 | 0.771314 | 32,987 | 260,287 | 6.085791 | 0.234213 | 0.355065 | 0.340719 | 0.645573 | 0.366318 | 0.361052 | 0.360554 | 0.360554 | 0.360554 | 0.360554 | 0 | 0.851074 | 0.095026 | 260,287 | 934 | 491 | 278.679872 | 0.001184 | 0.01541 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2dee1c6da90c06c11b1886c3fcc895736a955350 | 79 | py | Python | neuralqa/expander/__init__.py | thecloudcircle/neuralqa | 4bf8a01c75af747053bf52d1dd8f0cc23daf1d58 | [
"MIT"
] | 220 | 2020-06-30T16:16:41.000Z | 2022-03-21T08:01:13.000Z | neuralqa/expander/__init__.py | thecloudcircle/neuralqa | 4bf8a01c75af747053bf52d1dd8f0cc23daf1d58 | [
"MIT"
] | 36 | 2020-06-15T16:28:04.000Z | 2022-02-27T09:59:57.000Z | neuralqa/expander/__init__.py | thecloudcircle/neuralqa | 4bf8a01c75af747053bf52d1dd8f0cc23daf1d58 | [
"MIT"
] | 33 | 2020-08-01T05:33:37.000Z | 2021-11-29T18:31:10.000Z | from .expander import *
from .mlmexpander import *
from .expanderpool import *
| 19.75 | 27 | 0.772152 | 9 | 79 | 6.777778 | 0.555556 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 28 | 26.333333 | 0.910448 | 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 |
93014a77dcdc2c2462410c7dbf5509dc46159217 | 20,128 | py | Python | rem_backend/query_data.py | danieldUKIM/rem_backend | 8c590d5288f578f76e265bb8bc6651ff6bd0ec63 | [
"Apache-2.0"
] | null | null | null | rem_backend/query_data.py | danieldUKIM/rem_backend | 8c590d5288f578f76e265bb8bc6651ff6bd0ec63 | [
"Apache-2.0"
] | null | null | null | rem_backend/query_data.py | danieldUKIM/rem_backend | 8c590d5288f578f76e265bb8bc6651ff6bd0ec63 | [
"Apache-2.0"
] | 1 | 2020-06-05T08:23:12.000Z | 2020-06-05T08:23:12.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
from __future__ import print_function
from datetime import date, datetime, timedelta
import mysql.connector
import os
import rem_backend.interpolation as interpolation
import rem_backend.localization as localization
import math
__author__ = "Valentin Rakovic"
__copyright__ =... | 30.918587 | 615 | 0.718005 | 2,886 | 20,128 | 4.886348 | 0.093902 | 0.020848 | 0.028081 | 0.022337 | 0.781804 | 0.762303 | 0.751454 | 0.724578 | 0.688271 | 0.672741 | 0 | 0.007102 | 0.139557 | 20,128 | 650 | 616 | 30.966154 | 0.807148 | 0.236387 | 0 | 0.71987 | 0 | 0.032573 | 0.318798 | 0.027253 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068404 | false | 0.068404 | 0.022801 | 0 | 0.159609 | 0.006515 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9332873a6f20ea552294df94ef7b7cc019afc51b | 86 | py | Python | expand_string/__main__.py | ja-odur/exapnd-string | c85de2089d6aa0921f7385274e45d29e9c3d8f02 | [
"MIT"
] | null | null | null | expand_string/__main__.py | ja-odur/exapnd-string | c85de2089d6aa0921f7385274e45d29e9c3d8f02 | [
"MIT"
] | null | null | null | expand_string/__main__.py | ja-odur/exapnd-string | c85de2089d6aa0921f7385274e45d29e9c3d8f02 | [
"MIT"
] | null | null | null | import sys
from expand_string import expand_string
print(expand_string(sys.argv[1]))
| 17.2 | 39 | 0.825581 | 14 | 86 | 4.857143 | 0.571429 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.093023 | 86 | 4 | 40 | 21.5 | 0.858974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
935c116eaec5b6713075db0176147e54dcdd393c | 123 | py | Python | program/assignment/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 2 | 2021-10-06T13:29:24.000Z | 2021-11-11T19:42:43.000Z | program/assignment/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 1 | 2022-01-26T15:58:28.000Z | 2022-01-28T13:47:28.000Z | program/assignment/__init__.py | mmsbrggr/polar | 34348baf6992232e47cee7a4d56b5a96567c50b8 | [
"MIT"
] | 2 | 2021-10-01T15:08:52.000Z | 2022-03-15T14:10:06.000Z | from .assignment import Assignment
from .dist_assignment import DistAssignment
from .poly_assignment import PolyAssignment
| 30.75 | 43 | 0.878049 | 14 | 123 | 7.571429 | 0.5 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 3 | 44 | 41 | 0.954955 | 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 |
fa8a45d9c7b47f7eef32e8dc41b9918c1f0f2e6c | 737 | py | Python | caffe-onnx/onnx_caffe/layers.py | jwj04ok/ONNX_Convertor | 067a17e16dfc8aa80e36f44c4523959daf7359f5 | [
"MIT"
] | 33 | 2020-06-09T21:05:35.000Z | 2022-02-24T01:48:45.000Z | caffe-onnx/onnx_caffe/layers.py | jwj04ok/ONNX_Convertor | 067a17e16dfc8aa80e36f44c4523959daf7359f5 | [
"MIT"
] | 17 | 2020-07-14T19:44:09.000Z | 2022-02-10T10:03:01.000Z | caffe-onnx/onnx_caffe/layers.py | jwj04ok/ONNX_Convertor | 067a17e16dfc8aa80e36f44c4523959daf7359f5 | [
"MIT"
] | 16 | 2020-06-17T22:56:11.000Z | 2021-12-21T05:44:32.000Z | # This file is generated by generate_layers.py
from .merg_layers import Eltwise
from .merg_layers import Concat
from .mystery_layers import Mystery
from .norm_layers import BatchNorm
from .norm_layers import Power
from .norm_layers import Normalize
from .conv_layers import Convolution
from .conv_layers import Depthwise... | 33.5 | 46 | 0.852103 | 108 | 737 | 5.62037 | 0.333333 | 0.395387 | 0.115321 | 0.164745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118046 | 737 | 21 | 47 | 35.095238 | 0.933846 | 0.059701 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fae3755b6088dd5738ba505be944d136b67a45df | 9,873 | py | Python | paper_evaluation/IV.F_sensitivity_geographic_location/dataLoader.py | rafaspadilha/timestampVerificationTIFS | bad325e676b0b6087e54f2e280c3600c3b0b767f | [
"MIT"
] | 5 | 2022-03-11T18:08:32.000Z | 2022-03-31T13:47:49.000Z | paper_evaluation/IV.F_sensitivity_geographic_location/dataLoader.py | rafaspadilha/timestampVerificationTIFS | bad325e676b0b6087e54f2e280c3600c3b0b767f | [
"MIT"
] | null | null | null | paper_evaluation/IV.F_sensitivity_geographic_location/dataLoader.py | rafaspadilha/timestampVerificationTIFS | bad325e676b0b6087e54f2e280c3600c3b0b767f | [
"MIT"
] | null | null | null | #####################################################
# Content-Aware Detection of Timestamp Manipulation #
# IEEE Trans. on Information Forensics and Security #
# R. Padilha, T. Salem, S. Workman, #
# F. A. Andalo, A. Rocha, N. Jacobs #
##################################################... | 36.839552 | 97 | 0.492353 | 885 | 9,873 | 5.451977 | 0.224859 | 0.031917 | 0.04228 | 0.026114 | 0.732021 | 0.727047 | 0.727047 | 0.727047 | 0.727047 | 0.727047 | 0 | 0.023205 | 0.393295 | 9,873 | 267 | 98 | 36.977528 | 0.782304 | 0.152335 | 0 | 0.731034 | 0 | 0 | 0.005988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027586 | false | 0 | 0.027586 | 0.006897 | 0.068966 | 0.02069 | 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 |
faf95fbc1259b26f3393cf097994d4f77c62b0c1 | 86 | py | Python | megatron/utils/__init__.py | ntaylorwss/megatron | a6c572e04583e21715f3eaf35630cb4d75f686f7 | [
"MIT"
] | 9 | 2018-08-21T21:30:08.000Z | 2021-12-29T06:39:05.000Z | megatron/utils/__init__.py | ntaylorwss/megatron | a6c572e04583e21715f3eaf35630cb4d75f686f7 | [
"MIT"
] | 6 | 2018-08-23T18:30:48.000Z | 2020-03-30T22:08:13.000Z | megatron/utils/__init__.py | ntaylorwss/megatron | a6c572e04583e21715f3eaf35630cb4d75f686f7 | [
"MIT"
] | 3 | 2018-08-26T15:53:57.000Z | 2020-07-21T12:06:55.000Z | from . import pipeline
from . import hash
from . import errors
from .generic import *
| 17.2 | 22 | 0.755814 | 12 | 86 | 5.416667 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 23 | 21.5 | 0.928571 | 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 |
877bf205cfc40705c23a6a25ec2b52d90252aad5 | 1,148 | py | Python | mat.py | 256dpi/art32 | 95e76b4c519df4baa4cfd98bef89abe6bf884186 | [
"MIT"
] | 1 | 2019-04-24T19:03:27.000Z | 2019-04-24T19:03:27.000Z | mat.py | 256dpi/art32 | 95e76b4c519df4baa4cfd98bef89abe6bf884186 | [
"MIT"
] | null | null | null | mat.py | 256dpi/art32 | 95e76b4c519df4baa4cfd98bef89abe6bf884186 | [
"MIT"
] | null | null | null | import numpy as np
np.set_printoptions(precision=4, suppress=True)
print("--- test 2x2")
print(np.linalg.pinv(np.array([
[0.1, 0.2],
[0.3, 0.4],
])))
# [[-20. 10.]
# [ 15. -5.]]
print("--- test 2x3")
print(np.linalg.pinv(np.array([
[0.1, 0.2, 0.1],
[0.3, 0.4, 0.1],
])))
# [[-8.3333 5. ]
# [... | 19.133333 | 47 | 0.373693 | 212 | 1,148 | 2.018868 | 0.15566 | 0.224299 | 0.245327 | 0.214953 | 0.595794 | 0.492991 | 0.462617 | 0.436916 | 0.436916 | 0.317757 | 0 | 0.262274 | 0.325784 | 1,148 | 59 | 48 | 19.457627 | 0.290698 | 0.352787 | 0 | 0.5 | 0 | 0 | 0.085399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.03125 | 0 | 0.03125 | 0.34375 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87d5a575ec4f3cc588eda7485f87e5491edf1085 | 35 | py | Python | jupyter/__index__.py | cipherkit/PowershellFileScripts | 7b2589ee1f38d9fee178b891c450a2f4eae0cac0 | [
"MIT"
] | null | null | null | jupyter/__index__.py | cipherkit/PowershellFileScripts | 7b2589ee1f38d9fee178b891c450a2f4eae0cac0 | [
"MIT"
] | null | null | null | jupyter/__index__.py | cipherkit/PowershellFileScripts | 7b2589ee1f38d9fee178b891c450a2f4eae0cac0 | [
"MIT"
] | null | null | null | from migration.py import Migration
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e207790411566b950f145becc6c0493509b2a70f | 114 | py | Python | utils/voc_classname_encoder.py | DLH06/CenterNet-tensorflow | cca054182842c2745f9113b8cd6d1b73afd129f2 | [
"MIT"
] | null | null | null | utils/voc_classname_encoder.py | DLH06/CenterNet-tensorflow | cca054182842c2745f9113b8cd6d1b73afd129f2 | [
"MIT"
] | null | null | null | utils/voc_classname_encoder.py | DLH06/CenterNet-tensorflow | cca054182842c2745f9113b8cd6d1b73afd129f2 | [
"MIT"
] | null | null | null | classname_to_ids = {'0': 0, '1': 1, '2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9, 'colon': 10}
| 57 | 113 | 0.377193 | 25 | 114 | 1.64 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 0.219298 | 114 | 1 | 114 | 114 | 0.213483 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35813341566cf40be4dde7b3088b4be881589bec | 248 | py | Python | gbvision/utils/continuity/__init__.py | computerboy0555/GBVision | 79fc9ba09865bfd9c7a39abaa3980c46ce090b07 | [
"Apache-2.0"
] | 16 | 2019-04-15T18:52:58.000Z | 2022-02-13T23:00:46.000Z | gbvision/utils/continuity/__init__.py | computerboy0555/GBVision | 79fc9ba09865bfd9c7a39abaa3980c46ce090b07 | [
"Apache-2.0"
] | 2 | 2019-04-15T19:00:05.000Z | 2019-04-19T15:47:21.000Z | gbvision/utils/continuity/__init__.py | computerboy0555/GBVision | 79fc9ba09865bfd9c7a39abaa3980c46ce090b07 | [
"Apache-2.0"
] | 3 | 2019-05-03T13:48:25.000Z | 2019-09-22T14:03:49.000Z | from .continues_circle import ContinuesCircle
from .continues_rect import ContinuesRect
from .continues_rotated_rect import ContinuesRotatedRect
from .continues_shape import ContinuesShape
from .continues_shape_wrapper import ContinuesShapeWrapper
| 41.333333 | 58 | 0.899194 | 27 | 248 | 8 | 0.481481 | 0.300926 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 248 | 5 | 59 | 49.6 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35b041a58d062dbc5306bd5900ff350ac9cfcc1b | 5,420 | py | Python | tests/test_loan_transition_to_item_on_loan.py | blankoworld/invenio-circulation | 7ec41adb96ab3780029ae3a378f3fbc7a4d6b77b | [
"MIT"
] | null | null | null | tests/test_loan_transition_to_item_on_loan.py | blankoworld/invenio-circulation | 7ec41adb96ab3780029ae3a378f3fbc7a4d6b77b | [
"MIT"
] | null | null | null | tests/test_loan_transition_to_item_on_loan.py | blankoworld/invenio-circulation | 7ec41adb96ab3780029ae3a378f3fbc7a4d6b77b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (C) 2018-2019 CERN.
# Copyright (C) 2018-2019 RERO.
#
# Invenio-Circulation is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
"""Tests for loan states."""
from datetime import timedelta
import arro... | 33.251534 | 78 | 0.7 | 625 | 5,420 | 5.6912 | 0.1616 | 0.06185 | 0.07169 | 0.070846 | 0.796458 | 0.768625 | 0.752882 | 0.752882 | 0.752882 | 0.739949 | 0 | 0.008585 | 0.204797 | 5,420 | 162 | 79 | 33.45679 | 0.816705 | 0.107934 | 0 | 0.707547 | 0 | 0 | 0.193824 | 0.043814 | 0 | 0 | 0 | 0 | 0.179245 | 1 | 0.056604 | false | 0 | 0.056604 | 0 | 0.113208 | 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 |
35be5dd7b7bd2344fc9b40d90dc192d149e820f6 | 9,214 | py | Python | episode_dataloader.py | lovelyqian/AMeFu-Net | 1c1dedd0390fe35cf5e73ac1f6f9f8a9ae7595c2 | [
"MIT"
] | 24 | 2021-05-13T13:25:29.000Z | 2022-01-18T08:49:02.000Z | episode_dataloader.py | lovelyqian/AMeFu-Net | 1c1dedd0390fe35cf5e73ac1f6f9f8a9ae7595c2 | [
"MIT"
] | 8 | 2021-05-27T05:12:54.000Z | 2021-12-22T03:25:10.000Z | episode_dataloader.py | lovelyqian/AMeFu-Net | 1c1dedd0390fe35cf5e73ac1f6f9f8a9ae7595c2 | [
"MIT"
] | 3 | 2021-05-15T07:23:00.000Z | 2021-11-24T01:58:02.000Z | import torch
from utils import *
class EpisodeDataloader():
'''
get_episode: return episode
shuffle label every episode
'''
def __init__(self, params):
self.dataset = params.dataset
self.mode = params.mode
self.n_way = params.n_way
self.k_shot = param... | 43.056075 | 244 | 0.617104 | 1,188 | 9,214 | 4.37037 | 0.072391 | 0.077042 | 0.032357 | 0.024653 | 0.862866 | 0.811248 | 0.739214 | 0.739214 | 0.739214 | 0.739214 | 0 | 0.010533 | 0.299327 | 9,214 | 213 | 245 | 43.258216 | 0.79368 | 0.087584 | 0 | 0.639456 | 0 | 0 | 0.024469 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0 | 0.013605 | 0 | 0.054422 | 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 |
35d473e4e55aad67a646e907790ffd9dcb62b3b8 | 7,700 | py | Python | convert_nii_to_tfrecords.py | zhongzisha/ISBI2018_PETCT_Segmentation | 4501d368e430096cd97b046a607737cc675d58a0 | [
"MIT"
] | 15 | 2018-06-14T07:00:56.000Z | 2022-03-30T11:24:55.000Z | convert_nii_to_tfrecords.py | SSurprising/ISBI2018_PETCT_Segmentation | d403df7cd6e284711a8cbdc9dc13d4df2bb47746 | [
"MIT"
] | 3 | 2018-06-22T13:06:01.000Z | 2020-11-26T14:54:01.000Z | convert_nii_to_tfrecords.py | zhongzisha/ISBI2018_PETCT_Segmentation | 4501d368e430096cd97b046a607737cc675d58a0 | [
"MIT"
] | 2 | 2018-12-28T08:12:56.000Z | 2021-08-29T13:10:56.000Z | # -*- coding: utf-8 -*-
"""
Created on Sun Jul 30 07:22:32 2017
@author: ziszhong
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import sys
import glob
import tensorflow as tf
import numpy as np
import nibabel as nib
import pandas as pd
imp... | 37.378641 | 102 | 0.622208 | 1,044 | 7,700 | 4.37069 | 0.14272 | 0.038571 | 0.039448 | 0.042735 | 0.800789 | 0.766601 | 0.746877 | 0.746877 | 0.746877 | 0.746877 | 0 | 0.036074 | 0.225974 | 7,700 | 205 | 103 | 37.560976 | 0.72953 | 0.039481 | 0 | 0.666667 | 0 | 0 | 0.062551 | 0.031208 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034722 | false | 0 | 0.083333 | 0.013889 | 0.131944 | 0.048611 | 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 |
ea031102a48020afa88b1ca0dd34739e8c80b935 | 2,252 | py | Python | migrations/versions/2020_06_28_ff4a8e283767_remove_unneeded_server_defaults.py | MobidX/Ultimate-Poll-Bot | 5d525dcccf7cd81582c653ff21dfb1d8b1f89c09 | [
"MIT"
] | 1 | 2020-08-10T08:07:34.000Z | 2020-08-10T08:07:34.000Z | migrations/versions/2020_06_28_ff4a8e283767_remove_unneeded_server_defaults.py | MobidX/Ultimate-Poll-Bot | 5d525dcccf7cd81582c653ff21dfb1d8b1f89c09 | [
"MIT"
] | null | null | null | migrations/versions/2020_06_28_ff4a8e283767_remove_unneeded_server_defaults.py | MobidX/Ultimate-Poll-Bot | 5d525dcccf7cd81582c653ff21dfb1d8b1f89c09 | [
"MIT"
] | null | null | null | """Remove unneeded server defaults
Revision ID: ff4a8e283767
Revises: 1095210c0ba3
Create Date: 2020-06-28 16:40:52.974552
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ff4a8e283767'
down_revision = '1095210c0ba3'
branch_labels = None
depends_on = None
def... | 33.61194 | 65 | 0.600355 | 234 | 2,252 | 5.559829 | 0.286325 | 0.053805 | 0.099923 | 0.14143 | 0.787856 | 0.787856 | 0.744043 | 0.744043 | 0.739431 | 0.739431 | 0 | 0.034161 | 0.28508 | 2,252 | 66 | 66 | 34.121212 | 0.773913 | 0.138988 | 0 | 0.791667 | 0 | 0 | 0.114616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.083333 | 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 |
ea8b19f3e24d22583bb4dcbf2fa78005c5df8c3d | 89 | py | Python | apps/bouygue/models.py | GuillaumeM92/La-Bouygue | a402efbc9746acb51cd7fc66ccdac4a45b854a22 | [
"MIT"
] | null | null | null | apps/bouygue/models.py | GuillaumeM92/La-Bouygue | a402efbc9746acb51cd7fc66ccdac4a45b854a22 | [
"MIT"
] | null | null | null | apps/bouygue/models.py | GuillaumeM92/La-Bouygue | a402efbc9746acb51cd7fc66ccdac4a45b854a22 | [
"MIT"
] | null | null | null | # """Bouygue models."""
# from django.db import models
# from django.urls import reverse
| 22.25 | 33 | 0.719101 | 12 | 89 | 5.333333 | 0.666667 | 0.3125 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 3 | 34 | 29.666667 | 0.842105 | 0.921348 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea9e21e70f36a21d3e4d0041ef447c49998e78a9 | 24 | py | Python | itemmodelmixins/__init__.py | jamathews/MPE_Util | cd99a25fbb8cb665f36a9a52a7641107cadb8161 | [
"MIT"
] | 1 | 2021-03-02T11:42:49.000Z | 2021-03-02T11:42:49.000Z | itemmodelmixins/__init__.py | jamathews/MPE_Util | cd99a25fbb8cb665f36a9a52a7641107cadb8161 | [
"MIT"
] | null | null | null | itemmodelmixins/__init__.py | jamathews/MPE_Util | cd99a25fbb8cb665f36a9a52a7641107cadb8161 | [
"MIT"
] | null | null | null | from MPEMixIns import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
577f620a48c2ec3ddd3ded67ccc2889a8953b3dd | 16,423 | py | Python | equinox/nn/conv.py | marcelroed/equinox | 3804a8d60217bde685bee0a893a7bd55b1e63c26 | [
"Apache-2.0"
] | null | null | null | equinox/nn/conv.py | marcelroed/equinox | 3804a8d60217bde685bee0a893a7bd55b1e63c26 | [
"Apache-2.0"
] | null | null | null | equinox/nn/conv.py | marcelroed/equinox | 3804a8d60217bde685bee0a893a7bd55b1e63c26 | [
"Apache-2.0"
] | null | null | null | import itertools as it
from typing import Any, Optional, Sequence, Tuple, Union
import jax
import jax.lax as lax
import jax.numpy as jnp
import jax.random as jrandom
import numpy as np
from ..custom_types import Array
from ..module import Module, static_field
def _ntuple(n: int) -> callable:
def parse(x: Any) -... | 32.32874 | 170 | 0.560982 | 1,898 | 16,423 | 4.660169 | 0.138567 | 0.047484 | 0.06173 | 0.028491 | 0.781458 | 0.768005 | 0.753081 | 0.745845 | 0.745845 | 0.726851 | 0 | 0.013212 | 0.336358 | 16,423 | 507 | 171 | 32.392505 | 0.79833 | 0.278512 | 0 | 0.824658 | 0 | 0 | 0.043633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032877 | false | 0 | 0.024658 | 0 | 0.150685 | 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 |
17b58c5f773e39bd680224e954ccb7e7e1aa6d48 | 41 | py | Python | rdap_query/__init__.py | BrandonNX01/rdap_query | 36496358e78cbac0766095941a47fbe8c7951cf1 | [
"MIT"
] | null | null | null | rdap_query/__init__.py | BrandonNX01/rdap_query | 36496358e78cbac0766095941a47fbe8c7951cf1 | [
"MIT"
] | null | null | null | rdap_query/__init__.py | BrandonNX01/rdap_query | 36496358e78cbac0766095941a47fbe8c7951cf1 | [
"MIT"
] | null | null | null | from .rdap import Rdap
from . import cli
| 13.666667 | 22 | 0.756098 | 7 | 41 | 4.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 23 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
17ce1efad8ddd883d8df2b22a9e3f6829b71397e | 4,842 | py | Python | neuroio/groups/v1.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | null | null | null | neuroio/groups/v1.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | 6 | 2021-09-06T08:23:09.000Z | 2021-11-10T16:19:20.000Z | neuroio/groups/v1.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | null | null | null | from typing import List, Union
from httpx import Response
from neuroio.base import APIBase, APIBaseAsync, APIBaseBase
from neuroio.constants import sentinel
from neuroio.utils import request_query_processing
class GroupsBase(APIBaseBase):
def get_url(self, key: str = None) -> str:
if key:
re... | 36.406015 | 79 | 0.593763 | 630 | 4,842 | 4.460317 | 0.104762 | 0.079715 | 0.062633 | 0.096797 | 0.858363 | 0.858363 | 0.847687 | 0.847687 | 0.815658 | 0.797865 | 0 | 0.00396 | 0.26993 | 4,842 | 132 | 80 | 36.681818 | 0.790948 | 0 | 0 | 0.550459 | 0 | 0 | 0.042544 | 0.005163 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082569 | false | 0 | 0.045872 | 0 | 0.321101 | 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 |
17e2ab9758fb2ffba8031d55ab98d474c8e0ee32 | 48 | py | Python | segmentation_models_pytorch/experiments/__init__.py | utegulovalmat/segmentation_models.pytorch | 01fb07e9b3d91b7643394ffb1631cb3a9fc214a4 | [
"MIT"
] | null | null | null | segmentation_models_pytorch/experiments/__init__.py | utegulovalmat/segmentation_models.pytorch | 01fb07e9b3d91b7643394ffb1631cb3a9fc214a4 | [
"MIT"
] | null | null | null | segmentation_models_pytorch/experiments/__init__.py | utegulovalmat/segmentation_models.pytorch | 01fb07e9b3d91b7643394ffb1631cb3a9fc214a4 | [
"MIT"
] | null | null | null | from . import helpers
from . import train_model
| 16 | 25 | 0.791667 | 7 | 48 | 5.285714 | 0.714286 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 26 | 24 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aa06e883fc5e91f12ec094ab9e3f605e09d30cc4 | 320 | py | Python | ignite/contrib/handlers/__init__.py | maaario/ignite | 4dfd75ced07f4b45f0b6de6e247353aa317d7e93 | [
"BSD-3-Clause"
] | null | null | null | ignite/contrib/handlers/__init__.py | maaario/ignite | 4dfd75ced07f4b45f0b6de6e247353aa317d7e93 | [
"BSD-3-Clause"
] | null | null | null | ignite/contrib/handlers/__init__.py | maaario/ignite | 4dfd75ced07f4b45f0b6de6e247353aa317d7e93 | [
"BSD-3-Clause"
] | null | null | null |
from ignite.contrib.handlers.param_scheduler import LinearCyclicalScheduler, CosineAnnealingScheduler, \
ConcatScheduler, LRScheduler, create_lr_scheduler_with_warmup, PiecewiseLinear
from ignite.contrib.handlers.tqdm_logger import ProgressBar
from ignite.contrib.handlers.custom_events import CustomPeriodicEvent
| 45.714286 | 104 | 0.878125 | 33 | 320 | 8.30303 | 0.666667 | 0.109489 | 0.186131 | 0.273723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 320 | 6 | 105 | 53.333333 | 0.925676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
351ec81dddb1743798128f1fc2062aafdbad5900 | 5,200 | py | Python | tests/test_paillier.py | guypod/PySyft | bb3fa00840f5bc73e462ead50220334e55dae0c4 | [
"Apache-2.0"
] | null | null | null | tests/test_paillier.py | guypod/PySyft | bb3fa00840f5bc73e462ead50220334e55dae0c4 | [
"Apache-2.0"
] | null | null | null | tests/test_paillier.py | guypod/PySyft | bb3fa00840f5bc73e462ead50220334e55dae0c4 | [
"Apache-2.0"
] | 1 | 2020-05-27T10:20:40.000Z | 2020-05-27T10:20:40.000Z | from syft.he.paillier import KeyPair, PaillierTensor
from syft.he.keys import Paillier
from syft import TensorBase
import unittest
import numpy as np
import syft as sy
# Here's our "unit tests".
class DimTests(unittest.TestCase):
def test_dim_one(self):
p, s = KeyPair().generate()
x = PaillierTens... | 27.368421 | 76 | 0.513077 | 788 | 5,200 | 3.337563 | 0.100254 | 0.122433 | 0.036502 | 0.18403 | 0.775665 | 0.772624 | 0.772624 | 0.760837 | 0.748669 | 0.724715 | 0 | 0.083712 | 0.280962 | 5,200 | 189 | 77 | 27.513228 | 0.619684 | 0.004615 | 0 | 0.540984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 1 | 0.155738 | false | 0 | 0.04918 | 0 | 0.245902 | 0.008197 | 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 |
1048ee6e3b715d3e90ef04e1c3c4f195d6bcf230 | 44 | py | Python | examples/modules/motion_detector/__init__.py | jagin/dvg-utils | a7d19ead75398b09a9f1e146464cf4227f06a476 | [
"MIT"
] | 7 | 2020-09-02T08:39:22.000Z | 2021-10-13T18:13:04.000Z | examples/modules/motion_detector/__init__.py | jagin/dvg-utils | a7d19ead75398b09a9f1e146464cf4227f06a476 | [
"MIT"
] | null | null | null | examples/modules/motion_detector/__init__.py | jagin/dvg-utils | a7d19ead75398b09a9f1e146464cf4227f06a476 | [
"MIT"
] | null | null | null | from .motion_detector import MotionDetector
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
108592a0092a48323baae7f7089db0692e968145 | 114 | py | Python | metrics/__init__.py | caixin1998/pl-template | 6918f0289ab2b32d107e5722617d25c9a683399c | [
"BSD-3-Clause"
] | 1 | 2021-08-31T04:03:44.000Z | 2021-08-31T04:03:44.000Z | metrics/__init__.py | caixin1998/Gaze-Estimation | 17524aab7c7d7b43b855967782dc8f33b9bf4a32 | [
"BSD-3-Clause"
] | null | null | null | metrics/__init__.py | caixin1998/Gaze-Estimation | 17524aab7c7d7b43b855967782dc8f33b9bf4a32 | [
"BSD-3-Clause"
] | null | null | null | from metrics.mean_angular_error import MeanAngularError
from metrics.mean_distance_error import MeanDistanceError
| 38 | 57 | 0.912281 | 14 | 114 | 7.142857 | 0.642857 | 0.22 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 58 | 57 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1087086ea6005facbdcc1b8828648bc3436b8423 | 11,436 | py | Python | Estimation/auxiliary_functions_likelihood.py | vpnsctl/pybetareg | 9f75dcb9972cf57dc0e62965d117ac70d0fdb308 | [
"MIT"
] | null | null | null | Estimation/auxiliary_functions_likelihood.py | vpnsctl/pybetareg | 9f75dcb9972cf57dc0e62965d117ac70d0fdb308 | [
"MIT"
] | null | null | null | Estimation/auxiliary_functions_likelihood.py | vpnsctl/pybetareg | 9f75dcb9972cf57dc0e62965d117ac70d0fdb308 | [
"MIT"
] | null | null | null | import numpy as np
from scipy.special import gammaln, digamma
from scipy.optimize import minimize
from auxiliary_functions_estimation import (
correct_dimension,
estimate_mean,
estimate_precision,
)
def loglikelihood_function_beta(
endog,
exog_mean,
exog_precision,
bounded_reg_link,
... | 34.549849 | 78 | 0.676898 | 1,549 | 11,436 | 4.855391 | 0.111039 | 0.041484 | 0.044675 | 0.03457 | 0.807074 | 0.796171 | 0.769711 | 0.759872 | 0.752294 | 0.752294 | 0 | 0.017741 | 0.260668 | 11,436 | 331 | 79 | 34.549849 | 0.870609 | 0.574939 | 0 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034722 | false | 0 | 0.027778 | 0 | 0.097222 | 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 |
10a078e519f747fbbd3eabaf38b2fac0078acce6 | 117 | py | Python | 3GPP Meeting Helper/config/tdoc_regex_matching.py | telekom/3gpp-meeting-tools | 1276a62835fd595487aa817c9500c42c3f5e35f3 | [
"MIT"
] | null | null | null | 3GPP Meeting Helper/config/tdoc_regex_matching.py | telekom/3gpp-meeting-tools | 1276a62835fd595487aa817c9500c42c3f5e35f3 | [
"MIT"
] | 1 | 2020-09-04T06:26:41.000Z | 2020-09-04T06:26:41.000Z | 3GPP Meeting Helper/config/tdoc_regex_matching.py | telekom/3gpp-meeting-tools | 1276a62835fd595487aa817c9500c42c3f5e35f3 | [
"MIT"
] | 3 | 2020-06-12T02:09:48.000Z | 2021-08-30T10:36:37.000Z | import re
tdoc_regex = re.compile(r'(?P<group>[S\d]*)-(?P<year>\d\d)(?P<tdoc_number>[\d]+)(?P<revision>r[\d][\d])?') | 39 | 106 | 0.581197 | 24 | 117 | 2.75 | 0.541667 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 117 | 3 | 106 | 39 | 0.589286 | 0 | 0 | 0 | 0 | 0.5 | 0.661017 | 0.661017 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
10a370cdcf9a97d6b9894b4b082e30d25e91233b | 9,923 | py | Python | NeoML/Python/neoml/Dnn/Concat.py | ndrewl/neoml | c87361fa8489c28a672cb8e1a447f47ba4c1dbc5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NeoML/Python/neoml/Dnn/Concat.py | ndrewl/neoml | c87361fa8489c28a672cb8e1a447f47ba4c1dbc5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NeoML/Python/neoml/Dnn/Concat.py | ndrewl/neoml | c87361fa8489c28a672cb8e1a447f47ba4c1dbc5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Copyright (c) 2017-2020 ABBYY Production LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | 34.454861 | 120 | 0.607679 | 1,134 | 9,923 | 5.209877 | 0.133157 | 0.091232 | 0.048747 | 0.057549 | 0.819397 | 0.806872 | 0.788761 | 0.75457 | 0.711916 | 0.677725 | 0 | 0.00655 | 0.246095 | 9,923 | 287 | 121 | 34.574913 | 0.783184 | 0.615338 | 0 | 0.571429 | 0 | 0 | 0.095803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.333333 | 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 |
10b32f03bdcdb48a6ca476dbdcd58f93f3ea5284 | 44 | py | Python | tests/tests_unit/test_api/bad_function_code2/handler.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/bad_function_code2/handler.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | tests/tests_unit/test_api/bad_function_code2/handler.py | AlexThunder/cognite-sdk-python-experimental | 468d29e7809793ed45cef5da25dca22418839972 | [
"Apache-2.0"
] | null | null | null | def xyz(data):
return {"assetId": 1234}
| 14.666667 | 28 | 0.613636 | 6 | 44 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.204545 | 44 | 2 | 29 | 22 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 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 |
52ca1cfec266dd9d40dd15daa3862025a7bbf535 | 24 | py | Python | eddl/utils/__init__.py | salvacarrion/pyeddl | 56d1e4378844d12c064f168f4541900684079c4b | [
"MIT"
] | null | null | null | eddl/utils/__init__.py | salvacarrion/pyeddl | 56d1e4378844d12c064f168f4541900684079c4b | [
"MIT"
] | null | null | null | eddl/utils/__init__.py | salvacarrion/pyeddl | 56d1e4378844d12c064f168f4541900684079c4b | [
"MIT"
] | null | null | null | from .np_utils import *
| 12 | 23 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 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 |
5e03b3dc8eaaad57f2b1e76df934ee3182b1484e | 327 | py | Python | tetrominos_handler/__init__.py | RahulShagri/OG-Tetris-Game | 0a746f5a10e9278ef42d579c394d4b684ec9cc5a | [
"MIT"
] | 8 | 2021-08-06T16:29:22.000Z | 2021-12-12T16:23:32.000Z | tetrominos_handler/__init__.py | RahulShagri/OG-Tetris-Game | 0a746f5a10e9278ef42d579c394d4b684ec9cc5a | [
"MIT"
] | 1 | 2021-10-31T16:41:22.000Z | 2021-11-07T18:53:37.000Z | tetrominos_handler/__init__.py | RahulShagri/OG-Tetris-Game | 0a746f5a10e9278ef42d579c394d4b684ec9cc5a | [
"MIT"
] | 1 | 2021-08-09T09:41:18.000Z | 2021-08-09T09:41:18.000Z | from tetrominos_handler.tetrominosAPI import *
from tetrominos_handler.IBlock import *
from tetrominos_handler.JBlock import *
from tetrominos_handler.LBlock import *
from tetrominos_handler.OBlock import *
from tetrominos_handler.SBlock import *
from tetrominos_handler.TBlock import *
from tetrominos_handler.ZBlock im... | 36.333333 | 46 | 0.853211 | 40 | 327 | 6.775 | 0.3 | 0.413284 | 0.619926 | 0.697417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097859 | 327 | 8 | 47 | 40.875 | 0.918644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5e0d0c7b44c3578b1694d0b848a2a384ab2a1042 | 13,858 | py | Python | surv_ci_info/survci_info_api.py | muskang48/SurvCI | 8bd778f288ebb9664e61b354bbf07b2a23d1e952 | [
"MIT"
] | 1 | 2022-03-08T09:42:35.000Z | 2022-03-08T09:42:35.000Z | surv_ci_info/survci_info_api.py | muskang48/SurvCI | 8bd778f288ebb9664e61b354bbf07b2a23d1e952 | [
"MIT"
] | null | null | null | surv_ci_info/survci_info_api.py | muskang48/SurvCI | 8bd778f288ebb9664e61b354bbf07b2a23d1e952 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""csa_api.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1OfXVnydZA5UonDed1gTcBbFmpMLW4YTY
"""
from surv_ci_info.train_utils import train_survci_info
from surv_ci_info.train_utils import _get_padded_features, _get_padde... | 43.442006 | 215 | 0.652475 | 2,272 | 13,858 | 3.584507 | 0.084067 | 0.028978 | 0.038679 | 0.036346 | 0.787083 | 0.76805 | 0.741036 | 0.720653 | 0.713409 | 0.701498 | 0 | 0.009352 | 0.228388 | 13,858 | 319 | 216 | 43.442006 | 0.752268 | 0.38779 | 0 | 0.266667 | 1 | 0 | 0.065056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.066667 | 0.006667 | 0.186667 | 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 |
5e330f7e1745717c98bc320386640a68edcb6ac6 | 1,039 | py | Python | dae/dae/backends/tests/test_fixtures_query_by_variant_type.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | dae/dae/backends/tests/test_fixtures_query_by_variant_type.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | 82 | 2019-07-22T11:44:23.000Z | 2022-01-13T15:27:33.000Z | dae/dae/backends/tests/test_fixtures_query_by_variant_type.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | """
Created on Jul 5, 2018
@author: lubo
"""
import pytest
@pytest.mark.parametrize("variants", ["variants_impala", "variants_vcf"])
@pytest.mark.parametrize(
"variant_type,count",
[(None, 10), ("sub", 9), ("del", 1), ("sub or del", 10), ],
)
def test_single_alt_allele_variant_types(
variants_impl, varia... | 28.081081 | 73 | 0.681424 | 140 | 1,039 | 4.821429 | 0.328571 | 0.13037 | 0.124444 | 0.085926 | 0.841481 | 0.841481 | 0.841481 | 0.841481 | 0.841481 | 0.841481 | 0 | 0.017162 | 0.158807 | 1,039 | 36 | 74 | 28.861111 | 0.755149 | 0.035611 | 0 | 0.666667 | 0 | 0 | 0.187123 | 0.04829 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.111111 | 0.074074 | 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 |
eaaa3c4b68fba871db587db58a33ac52aa131d3f | 32,957 | py | Python | e3nn/o3/_tensor_product/_codegen.py | claycurry34/e3nn | 3cfbf679d10781a01d9c83b04a2e7d79d4914c23 | [
"MIT"
] | null | null | null | e3nn/o3/_tensor_product/_codegen.py | claycurry34/e3nn | 3cfbf679d10781a01d9c83b04a2e7d79d4914c23 | [
"MIT"
] | null | null | null | e3nn/o3/_tensor_product/_codegen.py | claycurry34/e3nn | 3cfbf679d10781a01d9c83b04a2e7d79d4914c23 | [
"MIT"
] | null | null | null | from collections import OrderedDict
from math import sqrt
from typing import List
import torch
from e3nn import o3
from e3nn.util import prod
from opt_einsum_fx import optimize_einsums_full
from torch import fx
from ._instruction import Instruction
def _sum_tensors(xs: List[torch.Tensor], shape: torch.Size, like: t... | 50.162861 | 228 | 0.600935 | 4,952 | 32,957 | 3.821284 | 0.076939 | 0.062886 | 0.035935 | 0.02748 | 0.913861 | 0.906357 | 0.892565 | 0.884109 | 0.876552 | 0.866247 | 0 | 0.028782 | 0.281033 | 32,957 | 656 | 229 | 50.239329 | 0.769825 | 0.17896 | 0 | 0.651416 | 0 | 0.004357 | 0.059834 | 0.013808 | 0 | 0 | 0 | 0.001524 | 0.052288 | 1 | 0.006536 | false | 0 | 0.019608 | 0 | 0.039216 | 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 |
d802710486b7a2c4c2b659b24fb0dce7b460973d | 16,547 | py | Python | Old MRI segmentation code/Hist-seg-WES_010.py | akac0297/PETLAB | 950cc153ce230d12d752ad0d11111e7fc22d9e7d | [
"MIT"
] | null | null | null | Old MRI segmentation code/Hist-seg-WES_010.py | akac0297/PETLAB | 950cc153ce230d12d752ad0d11111e7fc22d9e7d | [
"MIT"
] | null | null | null | Old MRI segmentation code/Hist-seg-WES_010.py | akac0297/PETLAB | 950cc153ce230d12d752ad0d11111e7fc22d9e7d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[1]:
#import modules
import SimpleITK as sitk
from platipy.imaging.visualisation.tools import ImageVisualiser
from platipy.imaging.utils.tools import get_com
import matplotlib.pyplot as plt
import numpy as np
get_ipython().run_line_magic('matplotlib', 'notebook')
# In[4]... | 26.949511 | 180 | 0.794223 | 2,817 | 16,547 | 4.257366 | 0.103301 | 0.036521 | 0.018678 | 0.031185 | 0.881097 | 0.843992 | 0.841491 | 0.827149 | 0.816226 | 0.8003 | 0 | 0.080417 | 0.077899 | 16,547 | 613 | 181 | 26.993475 | 0.705597 | 0.065813 | 0 | 0.655844 | 0 | 0 | 0.17419 | 0.142839 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003247 | false | 0 | 0.022727 | 0 | 0.025974 | 0.003247 | 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 |
d83667512f38d1603941dbb2e7bbb98003a4e531 | 22 | py | Python | src/deeply/model/pranet.py | achillesrasquinha/deeply | fd1ce32da130591fc92df8df89e07f1497b2b902 | [
"MIT"
] | 2 | 2021-10-05T16:37:30.000Z | 2021-10-11T21:31:43.000Z | src/deeply/model/pranet.py | achillesrasquinha/deeply | fd1ce32da130591fc92df8df89e07f1497b2b902 | [
"MIT"
] | null | null | null | src/deeply/model/pranet.py | achillesrasquinha/deeply | fd1ce32da130591fc92df8df89e07f1497b2b902 | [
"MIT"
] | 1 | 2021-07-16T02:23:37.000Z | 2021-07-16T02:23:37.000Z | def PraNet():
pass | 11 | 13 | 0.590909 | 3 | 22 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 22 | 2 | 14 | 11 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dc43e5b59eafdcf8e26c10f0cbf396eaf9993fe5 | 713 | bzl | Python | test/com/facebook/buck/apple/testdata/apple_binary_with_conditional_relinking/Apps/Libraries/defs.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | test/com/facebook/buck/apple/testdata/apple_binary_with_conditional_relinking/Apps/Libraries/defs.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | test/com/facebook/buck/apple/testdata/apple_binary_with_conditional_relinking/Apps/Libraries/defs.bzl | jasonnam/buck | 1ddbbf986312b30413aa36cac337267536a11f04 | [
"Apache-2.0"
] | null | null | null | LOCATION_PREPROCESSOR_FLAGS = []
CONTACTS_PREPROCESSOR_FLAGS = []
def _update_fields():
if native.read_config("test", "swap_symbols", None):
LOCATION_PREPROCESSOR_FLAGS.append("-DTEST_IMPLEMENT_CONTACTS_FUNCTION=1")
CONTACTS_PREPROCESSOR_FLAGS.append("-DTEST_IMPLEMENT_LOCATION_FUNCTION=1")
else... | 41.941176 | 82 | 0.774194 | 82 | 713 | 6.219512 | 0.292683 | 0.266667 | 0.270588 | 0.329412 | 0.827451 | 0.741176 | 0.72549 | 0.635294 | 0 | 0 | 0 | 0.009585 | 0.12202 | 713 | 16 | 83 | 44.5625 | 0.805112 | 0 | 0 | 0 | 0 | 0 | 0.323983 | 0.280505 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc9001065c036f4e9017109d1ee4ddc870dadd55 | 7,882 | py | Python | fmspy/rtmp/tests/test_packets.py | smira/fmspy | 85260f4ebe8ccb17b0c755f8631f15af848b1707 | [
"MIT"
] | 11 | 2015-01-06T09:43:26.000Z | 2022-02-02T14:30:42.000Z | fmspy/rtmp/tests/test_packets.py | smira/fmspy | 85260f4ebe8ccb17b0c755f8631f15af848b1707 | [
"MIT"
] | null | null | null | fmspy/rtmp/tests/test_packets.py | smira/fmspy | 85260f4ebe8ccb17b0c755f8631f15af848b1707 | [
"MIT"
] | 3 | 2015-07-13T03:18:21.000Z | 2020-07-14T07:06:26.000Z | # FMSPy - Copyright (c) 2009 Andrey Smirnov.
#
# See COPYRIGHT for details.
"""
Tests for L{fmspy.rtmp.packets}.
"""
import unittest
import pyamf
from pyamf.util import BufferedByteStream
from fmspy.rtmp.header import RTMPHeader
from fmspy.rtmp.packets import Packet, DataPacket, Invoke, BytesRead, Ping
class DataP... | 50.851613 | 548 | 0.604161 | 1,051 | 7,882 | 4.468126 | 0.135109 | 0.079216 | 0.08816 | 0.199319 | 0.790886 | 0.782155 | 0.72977 | 0.717632 | 0.685477 | 0.619889 | 0 | 0.094639 | 0.223801 | 7,882 | 154 | 549 | 51.181818 | 0.672932 | 0.008754 | 0 | 0.321429 | 0 | 0.044643 | 0.168969 | 0.114772 | 0 | 0 | 0.009564 | 0 | 0 | 0 | null | null | 0 | 0.044643 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcaedd21e3f5e832cce2cad517e82ebb31e79253 | 45 | py | Python | scripts/qgis_fixes/fix_input.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_input.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_input.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | from lib2to3.fixes.fix_input import FixInput
| 22.5 | 44 | 0.866667 | 7 | 45 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.088889 | 45 | 1 | 45 | 45 | 0.878049 | 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 |
f4991febc78ec59287ddc161d889c4318d46db96 | 187 | py | Python | django/contrib/gis/geos/base.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | django/contrib/gis/geos/base.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | django/contrib/gis/geos/base.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | from django.contrib.gis.geos.error import GEOSException
from django.contrib.gis.ptr import CPointerBase
class GEOSBase(CPointerBase):
null_ptr_exception_class = GEOSException
| 26.714286 | 56 | 0.807487 | 23 | 187 | 6.434783 | 0.608696 | 0.135135 | 0.22973 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13369 | 187 | 6 | 57 | 31.166667 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 |
f4e96a5a45c36e1ed802ad6105344f8efe720bdd | 7,405 | gyp | Python | ppapi/native_client/native_client.gyp | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 1 | 2019-04-23T15:57:04.000Z | 2019-04-23T15:57:04.000Z | ppapi/native_client/native_client.gyp | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | null | null | null | ppapi/native_client/native_client.gyp | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'../../native_client/build/common.gypi',
],
'conditions': [
['disable_nacl==0 and disable_nacl_untrusted==0', {
'targ... | 44.608434 | 86 | 0.544767 | 739 | 7,405 | 5.136671 | 0.230041 | 0.213383 | 0.248946 | 0.272655 | 0.676238 | 0.630137 | 0.574552 | 0.462856 | 0.389884 | 0.389884 | 0 | 0.023151 | 0.311681 | 7,405 | 165 | 87 | 44.878788 | 0.721601 | 0.083052 | 0 | 0.418301 | 0 | 0 | 0.601446 | 0.510846 | 0 | 0 | 0 | 0.006061 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7612cd34848cec45d650330a637352bd9a244b7a | 64 | py | Python | adn/utils/__init__.py | SunYH66/adn-master | d69a73e2f9cf2a4472c1d97f7347677b1947543a | [
"BSD-2-Clause"
] | null | null | null | adn/utils/__init__.py | SunYH66/adn-master | d69a73e2f9cf2a4472c1d97f7347677b1947543a | [
"BSD-2-Clause"
] | null | null | null | adn/utils/__init__.py | SunYH66/adn-master | d69a73e2f9cf2a4472c1d97f7347677b1947543a | [
"BSD-2-Clause"
] | null | null | null | from .misc import *
from .torch import *
from .log import Logger | 21.333333 | 23 | 0.75 | 10 | 64 | 4.8 | 0.6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 23 | 21.333333 | 0.90566 | 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 |
52035bda987af8d5570d35cc65bf8d3cdd828cb2 | 27 | py | Python | goto_cloud/source/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | 2 | 2018-02-04T23:22:17.000Z | 2019-04-15T12:06:04.000Z | goto_cloud/source/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | goto_cloud/source/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | from .models import Source
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
520374dfc467ee85ef925c1e408d7eaca7b7e2a0 | 242 | py | Python | torch_gists/models/__init__.py | rishikanthc/torch-snippets | b836c2c2fffbc5be1f08a1adae4b48473ad1fd60 | [
"MIT"
] | null | null | null | torch_gists/models/__init__.py | rishikanthc/torch-snippets | b836c2c2fffbc5be1f08a1adae4b48473ad1fd60 | [
"MIT"
] | null | null | null | torch_gists/models/__init__.py | rishikanthc/torch-snippets | b836c2c2fffbc5be1f08a1adae4b48473ad1fd60 | [
"MIT"
] | null | null | null | from torch_gists.models.resnet import ResNet18, ResNet34, ResNet50, ResNet152, ResNet101
from torch_gists.models.mobilenetv2 import MobileNetV2
from torch_gists.models.vgg import VGG
from torch_gists.models.resnetsignals import ResNetSignals
| 48.4 | 88 | 0.867769 | 32 | 242 | 6.4375 | 0.4375 | 0.174757 | 0.271845 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.082645 | 242 | 4 | 89 | 60.5 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
5246bf0aa4ae6a3cf0669bb52c2ab38c2e77ea7f | 46 | py | Python | PyCAD/test.py | danheeks/HeeksCAM | eb54f5c402effd74aa97fee4041ab303bafd1a7e | [
"BSD-2-Clause"
] | 5 | 2015-12-07T15:27:43.000Z | 2021-03-03T15:51:52.000Z | PyCAD/test.py | danheeks/HeeksCAM | eb54f5c402effd74aa97fee4041ab303bafd1a7e | [
"BSD-2-Clause"
] | null | null | null | PyCAD/test.py | danheeks/HeeksCAM | eb54f5c402effd74aa97fee4041ab303bafd1a7e | [
"BSD-2-Clause"
] | 4 | 2017-02-12T10:30:28.000Z | 2020-06-15T12:18:21.000Z | import sys
from HeeksCAD import HeeksCADapp
| 15.333333 | 33 | 0.826087 | 6 | 46 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 34 | 23 | 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 |
52847d7a9d2b0253bebd0aaf378d34496306fb91 | 25 | py | Python | tests/example/tests/__init__.py | frankhood/django-self-aware-model | 837ef249c218e5cd7078f3ef25de6e11da1bb8b6 | [
"MIT"
] | null | null | null | tests/example/tests/__init__.py | frankhood/django-self-aware-model | 837ef249c218e5cd7078f3ef25de6e11da1bb8b6 | [
"MIT"
] | null | null | null | tests/example/tests/__init__.py | frankhood/django-self-aware-model | 837ef249c218e5cd7078f3ef25de6e11da1bb8b6 | [
"MIT"
] | null | null | null | from . import test_models | 25 | 25 | 0.84 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
876207c549549cbdfe0fbc690792b23f8d765f43 | 4,039 | py | Python | tests/functionnal/test_example_4.py | docker-leash/docker-leash | d98c0a98ddecac2c9775e839d1e64382b811a3cf | [
"MIT"
] | 1 | 2018-01-15T12:29:20.000Z | 2018-01-15T12:29:20.000Z | tests/functionnal/test_example_4.py | docker-leash/docker-leash | d98c0a98ddecac2c9775e839d1e64382b811a3cf | [
"MIT"
] | 92 | 2018-01-12T21:04:42.000Z | 2018-04-08T17:25:26.000Z | tests/functionnal/test_example_4.py | docker-leash/docker-leash | d98c0a98ddecac2c9775e839d1e64382b811a3cf | [
"MIT"
] | 2 | 2018-01-13T16:52:54.000Z | 2020-04-24T22:45:46.000Z | # vim:set ts=4 sw=4 et:
'''
ValidateExample4Functionnal
---------------------------
'''
from . import is_success, post
from .test_base import LeashServerFunctionnalBaseTests
class ValidateExample4Functionnal(LeashServerFunctionnalBaseTests):
"""Functionnal validation of the documented example 4
"""
@sta... | 30.141791 | 76 | 0.562763 | 407 | 4,039 | 5.481572 | 0.206388 | 0.036307 | 0.082474 | 0.118333 | 0.779471 | 0.779471 | 0.774092 | 0.742716 | 0.707754 | 0.707754 | 0 | 0.027788 | 0.305026 | 4,039 | 133 | 77 | 30.368421 | 0.767011 | 0.18049 | 0 | 0.72093 | 0 | 0 | 0.181453 | 0.064606 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.104651 | false | 0 | 0.023256 | 0 | 0.139535 | 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 |
5eb175318ff0c7dd1f610844789ac09024b5c50a | 36 | py | Python | ra-gym/ra_gym/envs/__init__.py | RickyMexx/DeepRL-LTLf | 24cb3ac49e5bb9e07c37644d7226201ccb2b59a4 | [
"Apache-2.0"
] | 6 | 2020-12-07T23:47:44.000Z | 2022-02-14T13:27:45.000Z | ra-gym/ra_gym/envs/__init__.py | RickyMexx/DeepRL-LTLf | 24cb3ac49e5bb9e07c37644d7226201ccb2b59a4 | [
"Apache-2.0"
] | 1 | 2021-05-06T11:38:33.000Z | 2021-05-10T18:06:33.000Z | ra-gym/ra_gym/envs/__init__.py | RickyMexx/DeepRL-LTLf | 24cb3ac49e5bb9e07c37644d7226201ccb2b59a4 | [
"Apache-2.0"
] | 1 | 2021-01-09T02:32:10.000Z | 2021-01-09T02:32:10.000Z | from ra_gym.envs.ra_env import RAEnv | 36 | 36 | 0.861111 | 8 | 36 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.878788 | 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 |
0d7a94f1620dea529b89f88c2c59bc5be223eb57 | 191 | py | Python | list.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | list.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | list.py | sshan0509/day3 | 21cb110f28346e5171252a1ecd37b48526e7afd6 | [
"Apache-2.0"
] | null | null | null | fruits = ['apple', 'banana', 'watermelon', 'orange']
print(fruits)
fruits.append('melon')
print(fruits)
print(fruits[0])
del fruits[0]
print(fruits)
fruits.append('apple'[0:5])
print(fruits)
| 19.1 | 52 | 0.706806 | 27 | 191 | 5 | 0.407407 | 0.407407 | 0.251852 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.078534 | 191 | 9 | 53 | 21.222222 | 0.744318 | 0 | 0 | 0.444444 | 0 | 0 | 0.193717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.555556 | 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 |
0d97cb009e70f6cac1939c6e51d07fc204743b39 | 23 | py | Python | tardis/apps/related_info/__init__.py | keithschulze/mytardis | 8ed3562574ce990d42bfe96133185a82c31c27d4 | [
"Apache-2.0"
] | 42 | 2020-03-02T17:48:36.000Z | 2022-02-05T17:44:15.000Z | tardis/apps/related_info/__init__.py | keithschulze/mytardis | 8ed3562574ce990d42bfe96133185a82c31c27d4 | [
"Apache-2.0"
] | 238 | 2019-09-04T14:37:54.000Z | 2020-04-15T16:24:24.000Z | tardis/apps/related_info/__init__.py | keithschulze/mytardis | 8ed3562574ce990d42bfe96133185a82c31c27d4 | [
"Apache-2.0"
] | 10 | 2020-04-13T20:43:08.000Z | 2022-01-11T09:29:37.000Z | from . import settings
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d9bcd711035b4abcad54478fbd03562313596af | 6,391 | py | Python | auth-api/tests/unit/services/test_membership.py | karthik-aot/sbc-auth | f24028040fda67d4f10ae9b608b8832c15d2a8ad | [
"Apache-2.0"
] | null | null | null | auth-api/tests/unit/services/test_membership.py | karthik-aot/sbc-auth | f24028040fda67d4f10ae9b608b8832c15d2a8ad | [
"Apache-2.0"
] | null | null | null | auth-api/tests/unit/services/test_membership.py | karthik-aot/sbc-auth | f24028040fda67d4f10ae9b608b8832c15d2a8ad | [
"Apache-2.0"
] | null | null | null | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 46.992647 | 109 | 0.752151 | 843 | 6,391 | 5.421115 | 0.196916 | 0.027571 | 0.014004 | 0.033698 | 0.771116 | 0.760175 | 0.75186 | 0.75186 | 0.75186 | 0.75186 | 0 | 0.004683 | 0.164763 | 6,391 | 135 | 110 | 47.340741 | 0.851255 | 0.213895 | 0 | 0.785714 | 0 | 0 | 0.064886 | 0.023303 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.047619 | false | 0 | 0.095238 | 0.02381 | 0.166667 | 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 |
0dd26418ddd25e40ef983e63d8b6a1765c383946 | 117 | py | Python | app/app/views.py | ronnyrules/Django-Docker-4-Dummies | bc616c71a27553d7566acaf9a6c2aa6389f3c79e | [
"MIT"
] | 7 | 2022-03-14T00:42:28.000Z | 2022-03-21T11:21:58.000Z | app/app/views.py | ronnyrules/Django-Docker-4-Dummies | bc616c71a27553d7566acaf9a6c2aa6389f3c79e | [
"MIT"
] | null | null | null | app/app/views.py | ronnyrules/Django-Docker-4-Dummies | bc616c71a27553d7566acaf9a6c2aa6389f3c79e | [
"MIT"
] | 2 | 2022-03-14T05:16:35.000Z | 2022-03-14T05:23:12.000Z | from django.http import HttpResponse
def index(request):
return HttpResponse("WELCOME TO A NEW DJANGO PROJECT")
| 23.4 | 58 | 0.777778 | 16 | 117 | 5.6875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 4 | 59 | 29.25 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0.264957 | 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 |
2195b412287eff0336f494cf1485b2d46c3842ee | 27,034 | py | Python | annotation/migrations/0002_auto_20200929_1503.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | annotation/migrations/0002_auto_20200929_1503.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | annotation/migrations/0002_auto_20200929_1503.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | # Generated by Django 3.1 on 2020-09-29 05:33
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
('annotation', '0001_initial'),
migrations.swappable_dependency(set... | 46.211966 | 167 | 0.636532 | 2,411 | 27,034 | 6.99046 | 0.070925 | 0.049365 | 0.085558 | 0.134449 | 0.870239 | 0.86478 | 0.72333 | 0.66726 | 0.66637 | 0.657648 | 0 | 0.001473 | 0.246393 | 27,034 | 584 | 168 | 46.291096 | 0.825799 | 0.001591 | 0 | 0.792028 | 1 | 0 | 0.241321 | 0.133017 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010399 | 0.005199 | 0 | 0.012132 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
219835c4456616cd2ca6c2bfcf3040f3bec217da | 349 | py | Python | src/aptitude/nodes/literary_devices/characterization/characterization.py | ThatAquarel/Aptitude | 1311b6a1a284c5f84ae5ec5707b1f896ac7bc710 | [
"MIT"
] | null | null | null | src/aptitude/nodes/literary_devices/characterization/characterization.py | ThatAquarel/Aptitude | 1311b6a1a284c5f84ae5ec5707b1f896ac7bc710 | [
"MIT"
] | null | null | null | src/aptitude/nodes/literary_devices/characterization/characterization.py | ThatAquarel/Aptitude | 1311b6a1a284c5f84ae5ec5707b1f896ac7bc710 | [
"MIT"
] | null | null | null | from aptitude.nodes.literary_devices.metaphor.metaphor import Metaphor
from aptitude.nodes.literary_devices.simile.simile import Simile
from aptitude.pipeline.parser import Parser
class Characterization(Parser):
@staticmethod
def get_dependencies() -> list[type]:
return [Metaphor, Simile]
def par... | 26.846154 | 70 | 0.756447 | 41 | 349 | 6.365854 | 0.560976 | 0.137931 | 0.130268 | 0.191571 | 0.245211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163324 | 349 | 12 | 71 | 29.083333 | 0.893836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
0dfe4aae3ddeb363f3d0d606cdeaf47e8fa17002 | 171 | py | Python | angrmanagement/ui/toolbars/__init__.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | null | null | null | angrmanagement/ui/toolbars/__init__.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | null | null | null | angrmanagement/ui/toolbars/__init__.py | DennyDai/angr-management | 8a4ba5dafbf2f4d2ba558528a0d1ae099a199a04 | [
"BSD-2-Clause"
] | null | null | null | from .file_toolbar import FileToolbar
from .function_table_toolbar import FunctionTableToolbar
from .nav_toolbar import NavToolbar
from .debug_toolbar import DebugToolbar
| 34.2 | 56 | 0.883041 | 21 | 171 | 6.952381 | 0.571429 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093567 | 171 | 4 | 57 | 42.75 | 0.941935 | 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 |
df267c6adde430320bce250928b5d8430b63bea7 | 11,655 | py | Python | ws2122-lspm/Lib/site-packages/pm4py/algo/organizational_mining/resource_profiles/algorithm.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-19T04:02:46.000Z | 2022-01-19T04:02:46.000Z | ws2122-lspm/Lib/site-packages/pm4py/algo/organizational_mining/resource_profiles/algorithm.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2021-11-19T07:21:48.000Z | 2021-11-19T07:21:48.000Z | ws2122-lspm/Lib/site-packages/pm4py/algo/organizational_mining/resource_profiles/algorithm.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-14T17:15:38.000Z | 2022-01-14T17:15:38.000Z | '''
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
PM4Py is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any late... | 32.196133 | 139 | 0.63329 | 1,537 | 11,655 | 4.73715 | 0.111906 | 0.046148 | 0.048345 | 0.030216 | 0.822277 | 0.79783 | 0.779014 | 0.767065 | 0.753193 | 0.704162 | 0 | 0.027024 | 0.260232 | 11,655 | 361 | 140 | 32.285319 | 0.817444 | 0.492578 | 0 | 0.464789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15493 | false | 0 | 0.070423 | 0 | 0.535211 | 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 |
df3069f0cb3b40d0f7f9d3dd48527ddaa8d3be57 | 7,804 | py | Python | registry/tests/profile_test.py | jbn/quilt | 67960d2739ce5ea34c05febbe8f2bb9f75e211a8 | [
"Apache-2.0"
] | null | null | null | registry/tests/profile_test.py | jbn/quilt | 67960d2739ce5ea34c05febbe8f2bb9f75e211a8 | [
"Apache-2.0"
] | null | null | null | registry/tests/profile_test.py | jbn/quilt | 67960d2739ce5ea34c05febbe8f2bb9f75e211a8 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017 Quilt Data, Inc. All rights reserved.
"""
Profile tests
"""
import json
from unittest.mock import patch
import requests
from quilt_server.const import PUBLIC, TEAM
from quilt_server.core import RootNode
from .utils import QuiltTestCase
class ProfileTestCase(QuiltTestCase):
"""
Test t... | 30.84585 | 95 | 0.564198 | 879 | 7,804 | 4.895336 | 0.108077 | 0.051127 | 0.063212 | 0.079015 | 0.884034 | 0.862189 | 0.826168 | 0.791076 | 0.77016 | 0.731118 | 0 | 0.004962 | 0.302793 | 7,804 | 252 | 96 | 30.968254 | 0.785885 | 0.089185 | 0 | 0.668639 | 0 | 0 | 0.118201 | 0.027837 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.017751 | false | 0 | 0.035503 | 0 | 0.059172 | 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 |
df4d0d36522801fde9a6639c3c149f922b2e7276 | 6,379 | py | Python | day3.py | gitkoogie/AdventOfCode2021 | 416408c22bc704abc95ed46105d086d08e116e1d | [
"Apache-2.0"
] | null | null | null | day3.py | gitkoogie/AdventOfCode2021 | 416408c22bc704abc95ed46105d086d08e116e1d | [
"Apache-2.0"
] | null | null | null | day3.py | gitkoogie/AdventOfCode2021 | 416408c22bc704abc95ed46105d086d08e116e1d | [
"Apache-2.0"
] | null | null | null | import time
start = time.perf_counter()
with open('inputs/day3.txt') as f:
temp = f.readlines()
# fix input
data = []
for i in range(len(temp)):
data.append(temp[i].strip("\n"))
import numpy
#data = numpy.loadtxt("inputs/day3.txt")
#data = ["00100", "11110", "10110", "10111", "10101", "01111", "00111", "... | 22.620567 | 116 | 0.45446 | 967 | 6,379 | 2.972079 | 0.092037 | 0.075505 | 0.107864 | 0.114823 | 0.786708 | 0.786708 | 0.767223 | 0.722338 | 0.707724 | 0.692415 | 0 | 0.081758 | 0.361499 | 6,379 | 282 | 117 | 22.620567 | 0.623864 | 0.034802 | 0 | 0.70339 | 0 | 0 | 0.005041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021186 | false | 0 | 0.008475 | 0 | 0.15678 | 0.012712 | 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 |
10e2f0961c766351ca007e3738763ca8811238a3 | 36 | py | Python | TurtleBop/models/__init__.py | ThatGuyJustin/TurtleBop | 40b18ad524f297b9fda02bab11173b61b6fa4099 | [
"MIT"
] | null | null | null | TurtleBop/models/__init__.py | ThatGuyJustin/TurtleBop | 40b18ad524f297b9fda02bab11173b61b6fa4099 | [
"MIT"
] | null | null | null | TurtleBop/models/__init__.py | ThatGuyJustin/TurtleBop | 40b18ad524f297b9fda02bab11173b61b6fa4099 | [
"MIT"
] | null | null | null | from TurtleBop.models.guild import * | 36 | 36 | 0.833333 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10f076ae907c96c4683235252866134c0cfb0d3b | 123 | py | Python | torch_mimicry/nets/sngan/__init__.py | houliangict/mimicry | d9e43940254de4a85c78e644f2d2b1135de4b50d | [
"MIT"
] | 560 | 2020-03-31T07:07:26.000Z | 2022-03-15T08:29:37.000Z | torch_mimicry/nets/sngan/__init__.py | houliangict/mimicry | d9e43940254de4a85c78e644f2d2b1135de4b50d | [
"MIT"
] | 34 | 2020-03-31T02:42:16.000Z | 2021-12-10T15:47:30.000Z | torch_mimicry/nets/sngan/__init__.py | houliangict/mimicry | d9e43940254de4a85c78e644f2d2b1135de4b50d | [
"MIT"
] | 63 | 2020-04-04T09:56:22.000Z | 2022-03-15T02:34:58.000Z | from .sngan_128 import *
from .sngan_32 import *
from .sngan_48 import *
from .sngan_64 import *
from .sngan_base import *
| 20.5 | 25 | 0.756098 | 20 | 123 | 4.4 | 0.4 | 0.511364 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 0.162602 | 123 | 5 | 26 | 24.6 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
802575b4e4c05a5e38167bcb911569003f0bad6b | 174 | py | Python | domain/useCases/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | domain/useCases/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | domain/useCases/__init__.py | JVGC/MyFinancesPython | 5e4ac02ea00c4ddab688dd0093eed3f3fb2ad826 | [
"MIT"
] | null | null | null | from .AddNewDebt import *
from .GetDebtById import *
from .PayDebtPart import *
from .UpdateDebtDescription import *
from .DeleteDebtById import *
from .GetAllDebts import *
| 24.857143 | 36 | 0.793103 | 18 | 174 | 7.666667 | 0.444444 | 0.362319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 174 | 6 | 37 | 29 | 0.92 | 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 |
3378601f401cc65b610da88dac290768b028faa7 | 15,284 | py | Python | sau/sau.py | mwhit74/sau | 2278f0d34ac609aaa8360b99b34eb433e124e3c0 | [
"MIT"
] | null | null | null | sau/sau.py | mwhit74/sau | 2278f0d34ac609aaa8360b99b34eb433e124e3c0 | [
"MIT"
] | null | null | null | sau/sau.py | mwhit74/sau | 2278f0d34ac609aaa8360b99b34eb433e124e3c0 | [
"MIT"
] | 2 | 2020-11-14T04:42:29.000Z | 2022-02-09T18:51:08.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue Jan 14 08:39:58 2020
@author: mwhitten
"""
"""
Functions ac1 - ac45 are taken from AISC
Functions rc1 - rc20 are taken from Roarks' Forumlas for Stress-Strain
Signularity function for multiple point loads on a simply-supported beam
Singularity function f... | 30.205534 | 79 | 0.489728 | 2,283 | 15,284 | 3.240473 | 0.09505 | 0.009462 | 0.019465 | 0.010949 | 0.892944 | 0.87037 | 0.846445 | 0.829413 | 0.8186 | 0.802379 | 0 | 0.040644 | 0.37379 | 15,284 | 506 | 80 | 30.205534 | 0.732316 | 0.432348 | 0 | 0.6 | 0 | 0.059459 | 0.178994 | 0.065896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102703 | false | 0.016216 | 0.016216 | 0 | 0.248649 | 0.005405 | 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 |
338289597b6c8354f0d1713c6f0ced5c4b49ad04 | 2,318 | py | Python | tests/core/pyspec/eth2spec/test/altair/transition/test_leaking.py | sifraitech/eth2.0-specs | 1bfefe301da592375e2e02f65849a96aadec1936 | [
"CC0-1.0"
] | 497 | 2021-08-19T01:22:07.000Z | 2022-03-30T21:40:40.000Z | tests/core/pyspec/eth2spec/test/altair/transition/test_leaking.py | sifraitech/eth2.0-specs | 1bfefe301da592375e2e02f65849a96aadec1936 | [
"CC0-1.0"
] | 133 | 2021-08-18T16:47:29.000Z | 2022-03-31T22:31:56.000Z | tests/core/pyspec/eth2spec/test/altair/transition/test_leaking.py | sifraitech/eth2.0-specs | 1bfefe301da592375e2e02f65849a96aadec1936 | [
"CC0-1.0"
] | 98 | 2021-08-31T09:19:27.000Z | 2022-03-27T05:07:04.000Z | from eth2spec.test.context import (
ForkMeta,
with_fork_metas,
)
from eth2spec.test.helpers.constants import (
ALL_PRE_POST_FORKS,
)
from eth2spec.test.helpers.fork_transition import (
do_fork,
transition_until_fork,
transition_to_next_epoch_and_append_blocks,
)
@with_fork_metas([ForkMeta(pre_... | 33.594203 | 118 | 0.75151 | 343 | 2,318 | 4.749271 | 0.183673 | 0.055249 | 0.051565 | 0.044199 | 0.883978 | 0.883978 | 0.883978 | 0.861878 | 0.861878 | 0.861878 | 0 | 0.004678 | 0.169974 | 2,318 | 68 | 119 | 34.088235 | 0.841996 | 0.223469 | 0 | 0.552632 | 0 | 0 | 0.014806 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.052632 | false | 0 | 0.078947 | 0 | 0.131579 | 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 |
33e1ce7265f000ab487068fc79f10413b37e1780 | 78 | py | Python | jacdac/braille_display/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/braille_display/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/braille_display/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import BrailleDisplayClient # type: ignore
| 26 | 55 | 0.807692 | 8 | 78 | 7.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 2 | 56 | 39 | 0.926471 | 0.410256 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33e3706bc8f8d5b4803acc1c238fa2680a135709 | 73 | py | Python | libg3n/modules/python/__init__.py | jhkloss/libg3n | f7394b39c51bb199a1307edc2fcba1bd2ba0d0dd | [
"Unlicense"
] | null | null | null | libg3n/modules/python/__init__.py | jhkloss/libg3n | f7394b39c51bb199a1307edc2fcba1bd2ba0d0dd | [
"Unlicense"
] | null | null | null | libg3n/modules/python/__init__.py | jhkloss/libg3n | f7394b39c51bb199a1307edc2fcba1bd2ba0d0dd | [
"Unlicense"
] | null | null | null | from .python_class import PythonClass
from .python_file import PythonFile | 36.5 | 37 | 0.876712 | 10 | 73 | 6.2 | 0.7 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 2 | 38 | 36.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
d509e61de87cbad77d72a02bd8c29b7a969a8eaf | 2,311 | py | Python | tests/test_inline_functions/test_query.py | JourneyG/pymapdl | 23fdc008c151c0546504e4ef8257a64f5f169100 | [
"MIT"
] | 1 | 2021-07-28T00:42:53.000Z | 2021-07-28T00:42:53.000Z | tests/test_inline_functions/test_query.py | JourneyG/pymapdl | 23fdc008c151c0546504e4ef8257a64f5f169100 | [
"MIT"
] | null | null | null | tests/test_inline_functions/test_query.py | JourneyG/pymapdl | 23fdc008c151c0546504e4ef8257a64f5f169100 | [
"MIT"
] | null | null | null | import pytest
class TestParseParameter:
@pytest.mark.parametrize('values', [('PARAMETER test = 4', 4.),
('PARAMETER=4', 4.),
('PARAMETER WARNING = 4', 4.),
('PARAMETER = _=4', 4.),
... | 42.796296 | 72 | 0.473821 | 198 | 2,311 | 5.237374 | 0.156566 | 0.115718 | 0.08486 | 0.069431 | 0.939248 | 0.883317 | 0.798457 | 0.798457 | 0.798457 | 0.798457 | 0 | 0.023952 | 0.421895 | 2,311 | 53 | 73 | 43.603774 | 0.752246 | 0 | 0 | 0.5 | 0 | 0 | 0.150715 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.136364 | false | 0 | 0.022727 | 0 | 0.181818 | 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 |
1d40d2f0b1384b460edcfed384a44c4355b9bed7 | 186 | py | Python | pytest_cases/tests/cases/doc/test_doc_cases.py | chinghwayu/python-pytest-cases | a95f2a50c201a10c6a2aa2544bd1ea39aab23a47 | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/cases/doc/test_doc_cases.py | chinghwayu/python-pytest-cases | a95f2a50c201a10c6a2aa2544bd1ea39aab23a47 | [
"BSD-3-Clause"
] | null | null | null | pytest_cases/tests/cases/doc/test_doc_cases.py | chinghwayu/python-pytest-cases | a95f2a50c201a10c6a2aa2544bd1ea39aab23a47 | [
"BSD-3-Clause"
] | null | null | null | def case_two_positive_ints():
""" Inputs are two positive integers """
return 1, 2
def case_two_negative_ints():
""" Inputs are two negative integers """
return -1, -2
| 20.666667 | 44 | 0.655914 | 26 | 186 | 4.461538 | 0.461538 | 0.12069 | 0.172414 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.225806 | 186 | 8 | 45 | 23.25 | 0.777778 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1d4fc4004cd2f3bac5863c2b2ce662eca826939c | 21 | py | Python | hw1/__init__.py | Xanonymous-GitHub/data-structure | 96f9d09bacd986dcfd40fd0b16e179a5da96f888 | [
"MIT"
] | null | null | null | hw1/__init__.py | Xanonymous-GitHub/data-structure | 96f9d09bacd986dcfd40fd0b16e179a5da96f888 | [
"MIT"
] | null | null | null | hw1/__init__.py | Xanonymous-GitHub/data-structure | 96f9d09bacd986dcfd40fd0b16e179a5da96f888 | [
"MIT"
] | null | null | null | from .hw1 import run
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1d713bc1ccdc48d522e885667d74569e9f0bd641 | 304 | py | Python | sabot/decorators.py | Make-Munich/SaBoT | cabc7e2f5e0f7166d94d2ef683f75d8d3be02834 | [
"MIT"
] | 19 | 2016-04-09T10:13:26.000Z | 2020-06-21T23:14:16.000Z | sabot/decorators.py | Make-Munich/SaBoT | cabc7e2f5e0f7166d94d2ef683f75d8d3be02834 | [
"MIT"
] | 13 | 2017-01-14T20:42:45.000Z | 2019-08-10T22:48:44.000Z | sabot/decorators.py | Make-Munich/SaBoT | cabc7e2f5e0f7166d94d2ef683f75d8d3be02834 | [
"MIT"
] | 9 | 2016-04-09T12:52:48.000Z | 2018-08-16T19:08:16.000Z | from django.contrib.auth.decorators import user_passes_test, login_required
def user_is_staff(func):
return user_passes_test(lambda u: u.is_staff)(login_required(func))
def user_is_finance(func):
return user_passes_test(lambda u: u.is_staff and u.groups.filter(name="finance"))(login_required(func))
| 38 | 104 | 0.815789 | 51 | 304 | 4.568627 | 0.45098 | 0.128755 | 0.180258 | 0.171674 | 0.334764 | 0.334764 | 0.334764 | 0.334764 | 0.334764 | 0.334764 | 0 | 0 | 0.075658 | 304 | 7 | 105 | 43.428571 | 0.829181 | 0 | 0 | 0 | 0 | 0 | 0.023026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.6 | 0.2 | 0.4 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
d53bc4df42733552f59d73a18b51b12461bdf781 | 24 | py | Python | exts/omni.warp/omni/warp/tests/__init__.py | addy1997/warp | 1c231e3eda88a39ce8142b9727e918d2a3e4a4b1 | [
"MIT",
"Unlicense",
"Apache-2.0",
"0BSD"
] | 306 | 2022-03-21T23:24:13.000Z | 2022-03-31T21:11:28.000Z | exts/omni.warp/omni/warp/tests/__init__.py | addy1997/warp | 1c231e3eda88a39ce8142b9727e918d2a3e4a4b1 | [
"MIT",
"Unlicense",
"Apache-2.0",
"0BSD"
] | 11 | 2022-03-23T06:23:25.000Z | 2022-03-31T22:17:18.000Z | exts/omni.warp/omni/warp/tests/__init__.py | addy1997/warp | 1c231e3eda88a39ce8142b9727e918d2a3e4a4b1 | [
"MIT",
"Unlicense",
"Apache-2.0",
"0BSD"
] | 18 | 2022-03-22T16:27:21.000Z | 2022-03-30T20:07:47.000Z | from .test_ext import *
| 12 | 23 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 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 |
d55495b429b19a34fbd8f9c2a3e62a8cc94671af | 97 | py | Python | pyflu/__init__.py | flupke/pyflu | 8856759ced5367fc8439a418b3ce6570b82707ce | [
"BSD-3-Clause"
] | 1 | 2017-07-17T06:50:24.000Z | 2017-07-17T06:50:24.000Z | pyflu/__init__.py | flupke/pyflu | 8856759ced5367fc8439a418b3ce6570b82707ce | [
"BSD-3-Clause"
] | null | null | null | pyflu/__init__.py | flupke/pyflu | 8856759ced5367fc8439a418b3ce6570b82707ce | [
"BSD-3-Clause"
] | null | null | null | """
A collection of general purpose reusable utilities.
"""
def version():
return "0.9.7"
| 10.777778 | 51 | 0.649485 | 13 | 97 | 4.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.206186 | 97 | 8 | 52 | 12.125 | 0.779221 | 0.525773 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d56e576e10564f2434ba37108989a908e82d6505 | 11,433 | py | Python | sendit/apps/parcels/tests/test_parcels.py | dbytecoderc/sendit-api | 8ccb4729fc3123581794b547ec8937804e95687a | [
"MIT"
] | 2 | 2020-04-12T14:55:08.000Z | 2021-11-19T22:14:06.000Z | sendit/apps/parcels/tests/test_parcels.py | dbytecoderc/sendit-api | 8ccb4729fc3123581794b547ec8937804e95687a | [
"MIT"
] | 6 | 2020-04-12T15:17:48.000Z | 2021-09-22T18:40:48.000Z | sendit/apps/parcels/tests/test_parcels.py | dbytecoderc/sendit-api | 8ccb4729fc3123581794b547ec8937804e95687a | [
"MIT"
] | null | null | null | from rest_framework.views import status
from sendit.apps.core.tests.base_test import TestBaseCase
class TestCreateParcelOrder(TestBaseCase):
def base_parcels(self, message, response):
self.assertIn(message.encode(), response.content)
def regular_authorized_post_request(self, url):
return sel... | 37.12013 | 97 | 0.647774 | 1,330 | 11,433 | 5.293985 | 0.089474 | 0.083511 | 0.070303 | 0.081665 | 0.912939 | 0.865076 | 0.848459 | 0.828718 | 0.802159 | 0.746201 | 0 | 0.010969 | 0.266422 | 11,433 | 307 | 98 | 37.241042 | 0.828544 | 0.122103 | 0 | 0.646226 | 0 | 0 | 0.092728 | 0 | 0 | 0 | 0 | 0 | 0.042453 | 1 | 0.117925 | false | 0 | 0.009434 | 0.014151 | 0.146226 | 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 |
8951be043183271b7dcedae2bb22b13db36c442a | 88 | py | Python | src/lib/application/cliApp/command.py | kolesa-team/python-ms-skeleton | b0ac658a0539ce18bb4384f96dc7f7473e701111 | [
"MIT"
] | null | null | null | src/lib/application/cliApp/command.py | kolesa-team/python-ms-skeleton | b0ac658a0539ce18bb4384f96dc7f7473e701111 | [
"MIT"
] | 1 | 2021-06-01T22:48:10.000Z | 2021-06-01T22:48:10.000Z | src/lib/application/cliApp/command.py | kolesa-team/python-ms-skeleton | b0ac658a0539ce18bb4384f96dc7f7473e701111 | [
"MIT"
] | 1 | 2018-10-12T11:40:55.000Z | 2018-10-12T11:40:55.000Z | from src.lib.application.component import Component
class Command(Component):
pass | 17.6 | 51 | 0.795455 | 11 | 88 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 52 | 17.6 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
899172b6047a11d17295877d165526883115b65a | 58 | py | Python | rplanpy/__init__.py | unaisaralegui/rplanpy | eebdfde4e523c085e6309f5a35f2d2234806d898 | [
"MIT"
] | 1 | 2021-04-27T14:27:01.000Z | 2021-04-27T14:27:01.000Z | rplanpy/__init__.py | unaisaralegui/rplanpy | eebdfde4e523c085e6309f5a35f2d2234806d898 | [
"MIT"
] | null | null | null | rplanpy/__init__.py | unaisaralegui/rplanpy | eebdfde4e523c085e6309f5a35f2d2234806d898 | [
"MIT"
] | 1 | 2021-06-25T10:20:58.000Z | 2021-06-25T10:20:58.000Z | from . import data
from . import utils
from . import plot
| 14.5 | 19 | 0.741379 | 9 | 58 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 3 | 20 | 19.333333 | 0.934783 | 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 |
9849bac8c775ea6afe2ade0bd6dba3f475fb3512 | 96 | py | Python | venv/lib/python3.8/site-packages/yapftests/file_resources_test.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/yapftests/file_resources_test.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/yapftests/file_resources_test.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/3f/27/12/fe7b25a27b163474da08cb24039e40460b00dccde40d392a7f260611fc | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
985bd1b038339285f12f5bfff0e63c341065dc6b | 20,172 | py | Python | seqdb_py/tools/test/test_pull_seqdb_seqs.py | AAFC-BICoE/seqdb-py | 7bd2c3ee53af42149bc287c8087cdbea79b043c6 | [
"MIT"
] | null | null | null | seqdb_py/tools/test/test_pull_seqdb_seqs.py | AAFC-BICoE/seqdb-py | 7bd2c3ee53af42149bc287c8087cdbea79b043c6 | [
"MIT"
] | null | null | null | seqdb_py/tools/test/test_pull_seqdb_seqs.py | AAFC-BICoE/seqdb-py | 7bd2c3ee53af42149bc287c8087cdbea79b043c6 | [
"MIT"
] | null | null | null | '''
Created on Oct 16, 2015
@author: korolo
'''
import os.path
import unittest
from config import config_root
from tools import pull_seqdb_seqs
class TestPullSeqdbSeqs(unittest.TestCase):
@classmethod
def setUpClass(self):
self.output_file_name = "test_output_file."
self.output_fasta_file_n... | 57.144476 | 176 | 0.629437 | 2,612 | 20,172 | 4.701378 | 0.083461 | 0.087948 | 0.049837 | 0.06645 | 0.849267 | 0.842427 | 0.817752 | 0.798779 | 0.755537 | 0.743811 | 0 | 0.047044 | 0.252875 | 20,172 | 353 | 177 | 57.144476 | 0.767766 | 0.106088 | 0 | 0.606426 | 0 | 0 | 0.278234 | 0.00135 | 0 | 0 | 0 | 0 | 0.393574 | 1 | 0.040161 | false | 0 | 0.016064 | 0 | 0.060241 | 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 |
986c7d0f12959bc1eeb84cc3f29793648aa5e24a | 33 | py | Python | my_package/analysis/__init__.py | kaushal-banthia/Image-Detector-Using-OOPs | d9d4add55ffaa3097ddd1494a86805e134e009af | [
"MIT"
] | null | null | null | my_package/analysis/__init__.py | kaushal-banthia/Image-Detector-Using-OOPs | d9d4add55ffaa3097ddd1494a86805e134e009af | [
"MIT"
] | null | null | null | my_package/analysis/__init__.py | kaushal-banthia/Image-Detector-Using-OOPs | d9d4add55ffaa3097ddd1494a86805e134e009af | [
"MIT"
] | null | null | null | from .visualize import plot_boxes | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
986d21480de15efb35b4c2a8b57dd46792d2fac7 | 175 | py | Python | mmdet/utils/__init__.py | witnessai/GRAN | 952c2b08a58f3b0087f0f18fd48f8e385e45908b | [
"Apache-2.0"
] | null | null | null | mmdet/utils/__init__.py | witnessai/GRAN | 952c2b08a58f3b0087f0f18fd48f8e385e45908b | [
"Apache-2.0"
] | null | null | null | mmdet/utils/__init__.py | witnessai/GRAN | 952c2b08a58f3b0087f0f18fd48f8e385e45908b | [
"Apache-2.0"
] | null | null | null | from .flops_counter import get_model_complexity_info
from .registry import Registry, build_from_cfg
__all__ = ['Registry', 'build_from_cfg', 'get_model_complexity_info']
| 35 | 70 | 0.811429 | 24 | 175 | 5.291667 | 0.5 | 0.125984 | 0.283465 | 0.346457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108571 | 175 | 4 | 71 | 43.75 | 0.814103 | 0 | 0 | 0 | 0 | 0 | 0.274854 | 0.146199 | 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 |
98844812557b9426f944a36c844f7323a1159e30 | 48 | py | Python | cartomap/__init__.py | gregstarr/cartomap | 46f0917c4315dede1a12a663de80cdde0ae73393 | [
"MIT"
] | 5 | 2019-06-21T01:18:20.000Z | 2021-03-21T22:17:40.000Z | cartomap/__init__.py | gregstarr/cartomap | 46f0917c4315dede1a12a663de80cdde0ae73393 | [
"MIT"
] | 1 | 2019-06-10T13:05:18.000Z | 2019-06-10T13:05:18.000Z | cartomap/__init__.py | gregstarr/cartomap | 46f0917c4315dede1a12a663de80cdde0ae73393 | [
"MIT"
] | 4 | 2018-08-29T00:08:39.000Z | 2020-06-02T21:51:19.000Z | from .geogmap import plotCartoMap # noqa: F401
| 24 | 47 | 0.770833 | 6 | 48 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.166667 | 48 | 1 | 48 | 48 | 0.85 | 0.208333 | 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 |
7f2cf29b0eadc8431d14e75ac9dfe17a900e9837 | 75 | py | Python | src/Debug/__init__.py | AndrewGrim/MonsterHunterWorldDatabase | a904647f5499926e46a64d884a2ffebe38dd5407 | [
"MIT"
] | 1 | 2020-02-17T00:16:01.000Z | 2020-02-17T00:16:01.000Z | src/Debug/__init__.py | AndrewGrim/MonsterHunterWorldDatabase | a904647f5499926e46a64d884a2ffebe38dd5407 | [
"MIT"
] | null | null | null | src/Debug/__init__.py | AndrewGrim/MonsterHunterWorldDatabase | a904647f5499926e46a64d884a2ffebe38dd5407 | [
"MIT"
] | 1 | 2020-06-26T06:54:00.000Z | 2020-06-26T06:54:00.000Z | from .RedirectText import *
from .DebugWindow import *
from .debug import * | 25 | 27 | 0.773333 | 9 | 75 | 6.444444 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 3 | 28 | 25 | 0.90625 | 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 |
7f408a8ef5ef4701dbba9ac015da005f59bbe55e | 3,791 | py | Python | logdeep/models/lstm.py | zaihanLit/logbert | 8128ffc1544d537e41bf178bbca7f5086f910da0 | [
"MIT"
] | null | null | null | logdeep/models/lstm.py | zaihanLit/logbert | 8128ffc1544d537e41bf178bbca7f5086f910da0 | [
"MIT"
] | null | null | null | logdeep/models/lstm.py | zaihanLit/logbert | 8128ffc1544d537e41bf178bbca7f5086f910da0 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
class Deeplog(nn.Module):
def __init__(self, input_size, hidden_size, num_layers, vocab_size, embedding_dim):
super(Deeplog, self).__init__()
self.hidden_size = hidden_size
self.num_layers = num_layers
self.embedding_dim = embedding_dim
s... | 36.451923 | 87 | 0.566869 | 456 | 3,791 | 4.453947 | 0.125 | 0.118168 | 0.075825 | 0.066962 | 0.805022 | 0.779419 | 0.77745 | 0.77745 | 0.710487 | 0.710487 | 0 | 0.028997 | 0.326827 | 3,791 | 103 | 88 | 36.805825 | 0.76685 | 0.005539 | 0 | 0.530864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.024691 | 0 | 0.17284 | 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 |
7fa6e7bd16e31496925e02517152f073e731744b | 71 | py | Python | abi2solc/__init__.py | iamdefinitelyahuman/abi2solc | 65526eced1888d10067d14099b5668c14a0bfbcd | [
"MIT"
] | 8 | 2019-09-30T11:51:17.000Z | 2021-12-30T14:30:48.000Z | abi2solc/__init__.py | iamdefinitelyahuman/abi2solc | 65526eced1888d10067d14099b5668c14a0bfbcd | [
"MIT"
] | null | null | null | abi2solc/__init__.py | iamdefinitelyahuman/abi2solc | 65526eced1888d10067d14099b5668c14a0bfbcd | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from .main import generate_interface # NOQA: F401
| 17.75 | 50 | 0.746479 | 10 | 71 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.140845 | 71 | 3 | 51 | 23.666667 | 0.786885 | 0.394366 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.