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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d22c061581dc640ae10762ea14b2bbcae422190b | 99 | py | Python | common_blocks/preprocessing.py | kant/open-solution-salt-identification | 46703e42d1423395030c155a929f93926838233f | [
"MIT"
] | 142 | 2018-09-02T08:59:45.000Z | 2022-03-30T17:08:24.000Z | common_blocks/preprocessing.py | kant/open-solution-salt-identification | 46703e42d1423395030c155a929f93926838233f | [
"MIT"
] | 5 | 2021-03-19T16:10:16.000Z | 2022-03-12T00:55:20.000Z | common_blocks/preprocessing.py | kant/open-solution-salt-identification | 46703e42d1423395030c155a929f93926838233f | [
"MIT"
] | 75 | 2018-10-04T17:08:40.000Z | 2022-03-08T18:50:52.000Z | import numpy as np
def img_cumsum(img):
return (np.float32(img) - img.mean()).cumsum(axis=0)
| 16.5 | 56 | 0.676768 | 17 | 99 | 3.882353 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.161616 | 99 | 5 | 57 | 19.8 | 0.759036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d2739475542622e1b8b8026e8d241a157d3e365d | 133 | py | Python | boundsdraw/boundsdraw.py | ismaelharunid/pytiledboundsdraw | d7754a01d44cc41e5ee0406cdbdf30bb1225022e | [
"MIT"
] | null | null | null | boundsdraw/boundsdraw.py | ismaelharunid/pytiledboundsdraw | d7754a01d44cc41e5ee0406cdbdf30bb1225022e | [
"MIT"
] | null | null | null | boundsdraw/boundsdraw.py | ismaelharunid/pytiledboundsdraw | d7754a01d44cc41e5ee0406cdbdf30bb1225022e | [
"MIT"
] | null | null | null |
from .dummydraw import DummyDraw
class BoundsDraw(DummyDraw):
"""
A drawer manager that maintains bounds.
"""
pass
| 14.777778 | 43 | 0.669173 | 14 | 133 | 6.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24812 | 133 | 8 | 44 | 16.625 | 0.89 | 0.293233 | 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 |
9644d30d07a3537d7a3d8ab985fc2d493ae125e0 | 34 | py | Python | showcode_forge/scaffolding/__init__.py | tituszban/showcode_forge | fbd7c0dc346c2248e87979546d780b508af01b80 | [
"MIT"
] | 3 | 2021-06-18T12:55:11.000Z | 2021-11-22T18:46:15.000Z | showcode_forge/scaffolding/__init__.py | tituszban/showcode_forge | fbd7c0dc346c2248e87979546d780b508af01b80 | [
"MIT"
] | null | null | null | showcode_forge/scaffolding/__init__.py | tituszban/showcode_forge | fbd7c0dc346c2248e87979546d780b508af01b80 | [
"MIT"
] | 1 | 2021-06-18T21:35:59.000Z | 2021-06-18T21:35:59.000Z | from .scaffolding import scaffold
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
965a505b655a0c135805ed25841a3ce8313f134c | 47 | py | Python | users/backends.py | mozilla/gelato.admin | 7cec1d8ef072208ccf957203351a986329a76f30 | [
"BSD-3-Clause"
] | null | null | null | users/backends.py | mozilla/gelato.admin | 7cec1d8ef072208ccf957203351a986329a76f30 | [
"BSD-3-Clause"
] | 1 | 2019-02-17T17:53:11.000Z | 2019-02-17T17:53:11.000Z | users/backends.py | mozilla/gelato.admin | 7cec1d8ef072208ccf957203351a986329a76f30 | [
"BSD-3-Clause"
] | 1 | 2019-11-02T23:49:16.000Z | 2019-11-02T23:49:16.000Z | from gelato.models.users import AmoUserBackend
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
965c6a5e2b2875769f4880ed693e193ae8c0f6a7 | 31 | py | Python | libsaas/services/instagram/__init__.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 155 | 2015-01-27T15:17:59.000Z | 2022-02-20T00:14:08.000Z | libsaas/services/instagram/__init__.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 14 | 2015-01-12T08:22:37.000Z | 2021-06-16T19:49:31.000Z | libsaas/services/instagram/__init__.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 43 | 2015-01-28T22:41:45.000Z | 2021-09-21T04:44:26.000Z | from .service import Instagram
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96906720df3f999866c92a374ce9399cfe4a94cf | 11,281 | py | Python | getrecords.py | prateek-py/Chess-opening-moves | 3aeb8a06ef11706a9a217224020a24e39cdc9e00 | [
"MIT"
] | null | null | null | getrecords.py | prateek-py/Chess-opening-moves | 3aeb8a06ef11706a9a217224020a24e39cdc9e00 | [
"MIT"
] | null | null | null | getrecords.py | prateek-py/Chess-opening-moves | 3aeb8a06ef11706a9a217224020a24e39cdc9e00 | [
"MIT"
] | null | null | null | from func import*
from database_setup import*
def make_table_blitz():
'''creates tables for players data and opening data for blitz'''
try:
mycursor.execute("drop table BlitzPlayers")
mycursor.execute("drop table BlitzOpening")
except:
pass
mycursor.execute("CREATE TABLE BlitzP... | 47.004167 | 187 | 0.596046 | 1,364 | 11,281 | 4.84824 | 0.128299 | 0.058975 | 0.018146 | 0.029034 | 0.794344 | 0.756238 | 0.735672 | 0.729623 | 0.729623 | 0.716316 | 0 | 0.009269 | 0.301835 | 11,281 | 240 | 188 | 47.004167 | 0.830371 | 0.157522 | 0 | 0.645503 | 0 | 0.010582 | 0.39503 | 0.010194 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0.05291 | 0.010582 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
73850a3c01e90076f5db204b1c59fe8d62d83073 | 157 | py | Python | jumpscale/sals/marketplace/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 13 | 2020-09-02T09:05:08.000Z | 2022-03-12T02:43:24.000Z | jumpscale/sals/marketplace/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 1,998 | 2020-06-15T11:46:10.000Z | 2022-03-24T22:12:41.000Z | jumpscale/sals/marketplace/__init__.py | zaibon/js-sdk | cd1d26f2c3343884c1927ceef7c1e12e3f7da905 | [
"Apache-2.0"
] | 8 | 2020-09-29T06:50:35.000Z | 2021-06-14T03:30:52.000Z | from .chatflow import MarketPlaceChatflow
from .apps_chatflow import MarketPlaceAppsChatflow
from .deployer import deployer
from .solutions import solutions
| 31.4 | 50 | 0.872611 | 17 | 157 | 8 | 0.470588 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 4 | 51 | 39.25 | 0.964539 | 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 |
73cda64c9d42829ab8cef024912d2b9dfaf66cb6 | 7,655 | py | Python | venv3/lib/python3.8/site-packages/tests/test_vcs_configuration.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 94 | 2016-05-23T17:13:11.000Z | 2021-12-03T23:06:45.000Z | venv3/lib/python3.8/site-packages/tests/test_vcs_configuration.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 39 | 2016-05-19T17:57:53.000Z | 2020-12-26T09:57:21.000Z | venv3/lib/python3.8/site-packages/tests/test_vcs_configuration.py | paul-romeo/pytest-in-60-minutes | a4817312081347737f87801c0623054eba599418 | [
"MIT"
] | 15 | 2016-05-23T20:22:37.000Z | 2019-12-27T21:13:04.000Z | import pytest
from punch import vcs_configuration as vc
@pytest.fixture
def global_variables():
return {
'serializer': '{{ major }}.{{ minor }}.{{ patch }}',
'mark': 'just a mark'
}
@pytest.fixture
def vcs_config_dict():
return {
'name': 'git',
'commit_message': "Version... | 29.670543 | 73 | 0.677204 | 883 | 7,655 | 5.434881 | 0.078143 | 0.088143 | 0.127318 | 0.155032 | 0.885184 | 0.874557 | 0.844968 | 0.812253 | 0.758075 | 0.746197 | 0 | 0.011236 | 0.232658 | 7,655 | 257 | 74 | 29.785992 | 0.805754 | 0 | 0 | 0.64532 | 0 | 0 | 0.156891 | 0 | 0 | 0 | 0 | 0 | 0.147783 | 1 | 0.083744 | false | 0 | 0.009852 | 0.014778 | 0.118227 | 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 |
73ed5effd9443babc149b43193467b020fbd7975 | 40 | py | Python | starterlite/util/__init__.py | gjsun/starterlite | 4838c0b9837e0012157596984f9e39ed52f9c86c | [
"MIT"
] | null | null | null | starterlite/util/__init__.py | gjsun/starterlite | 4838c0b9837e0012157596984f9e39ed52f9c86c | [
"MIT"
] | null | null | null | starterlite/util/__init__.py | gjsun/starterlite | 4838c0b9837e0012157596984f9e39ed52f9c86c | [
"MIT"
] | null | null | null | from .ParameterFile import ParameterFile | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb44bbfac8317c7908dea2d2ff7e58a81aef0c2a | 1,842 | py | Python | test_app.py | 3l3n01/lift-pass | 5253d00311ac0133249de2e368b6ee51cea13e93 | [
"MIT"
] | null | null | null | test_app.py | 3l3n01/lift-pass | 5253d00311ac0133249de2e368b6ee51cea13e93 | [
"MIT"
] | null | null | null | test_app.py | 3l3n01/lift-pass | 5253d00311ac0133249de2e368b6ee51cea13e93 | [
"MIT"
] | null | null | null | import pytest
from src.app import app
def test_base():
with app.test_client() as client:
response = client.get(
'/prices', query_string={'age': 20, 'date': '2020-05-08', 'type': 'Jour'})
json_data = response.get_json()
assert json_data['cost'] == 35
def test_night():
wi... | 27.492537 | 87 | 0.573833 | 239 | 1,842 | 4.242678 | 0.1841 | 0.110454 | 0.075937 | 0.117357 | 0.884615 | 0.884615 | 0.884615 | 0.884615 | 0.884615 | 0.884615 | 0 | 0.058995 | 0.254615 | 1,842 | 66 | 88 | 27.909091 | 0.679534 | 0 | 0 | 0.522727 | 0 | 0 | 0.137894 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 1 | 0.159091 | false | 0 | 0.045455 | 0 | 0.204545 | 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 |
837b35b49fb7fd383f65f141fb6e8256db2bd140 | 6,364 | py | Python | BRATS/data/singlepath.py | eanemo/KiU-Net-pytorch | 9786f9741e2abf8bbf3601c6af301868ed8c3965 | [
"MIT"
] | 236 | 2020-06-08T06:49:54.000Z | 2022-03-28T13:57:58.000Z | BRATS/data/singlepath.py | guopengf/KiU-Net-pytorch | f56e79d7e89016e0ee13a081a9bee1ded1b68cba | [
"MIT"
] | 28 | 2020-07-08T12:20:34.000Z | 2022-03-14T12:27:36.000Z | BRATS/data/singlepath.py | guopengf/KiU-Net-pytorch | f56e79d7e89016e0ee13a081a9bee1ded1b68cba | [
"MIT"
] | 59 | 2020-06-12T01:19:29.000Z | 2022-03-11T02:08:14.000Z | #echo $OMP_NUM_THREADS
import pickle
import time
import os
import torch
from torch.utils.data import Dataset
from .rand import Uniform
from .transforms import Rot90, Flip, Identity, Spatial, Compose
from .transforms import GaussianBlur, Noise, Normalize, RandSelect
from .transforms import RandCrop, CenterCrop, Pad
fro... | 28.035242 | 85 | 0.533155 | 831 | 6,364 | 3.965102 | 0.162455 | 0.011533 | 0.018209 | 0.016388 | 0.769348 | 0.769348 | 0.76176 | 0.76176 | 0.747496 | 0.722003 | 0 | 0.018076 | 0.321967 | 6,364 | 226 | 86 | 28.159292 | 0.745539 | 0.197989 | 0 | 0.81746 | 0 | 0 | 0.022579 | 0.008318 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0.047619 | 0.285714 | 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 |
837b8d971cd2bf4cedc8ab72a3007a4bd5ad0d83 | 1,725 | py | Python | 4-5.Bert-seq2seq/mask_demo.py | techthiyanes/nlp-notebook | 0e5f4b75e635128d4056c89a6c65bea60c15e836 | [
"MIT"
] | 136 | 2021-04-18T12:03:55.000Z | 2022-03-31T14:58:46.000Z | cn_summary/engine/bert_seq2seq_summarizer/mask_demo.py | ethan-iai/cn-summary | e8db43a74ebe0278e4cff5f37157b1414c120deb | [
"MIT"
] | 3 | 2021-08-08T08:38:06.000Z | 2022-03-26T17:17:40.000Z | cn_summary/engine/bert_seq2seq_summarizer/mask_demo.py | ethan-iai/cn-summary | e8db43a74ebe0278e4cff5f37157b1414c120deb | [
"MIT"
] | 40 | 2021-05-18T06:55:37.000Z | 2022-03-30T00:47:12.000Z | # -*- coding: utf-8 -*-
'''
假设输入的input_ids 为:[[101,5,6,7,102,3,9,102],[101,10,11,102,7,9,102,0],,[101,10,102,7,9,102,0,0]]
其中:101代表[CLS],102代表[SEP],0代表[PAD]
对应的 token_type_ids_for_mask 为:[[1,1,1,1,1,0,0,0],[1,1,1,1,0,0,0,-1],[1,1,1,0,0,0,-1,-1]]
构造如下特殊的 mask ,使得输入部分的Attention是双向的,输出部分的Attention是单向:
tensor([[[[1., 1., 1... | 38.333333 | 98 | 0.362899 | 340 | 1,725 | 1.791176 | 0.132353 | 0.351396 | 0.384236 | 0.341544 | 0.568145 | 0.413793 | 0.413793 | 0.413793 | 0.413793 | 0.413793 | 0 | 0.245433 | 0.270145 | 1,725 | 45 | 99 | 38.333333 | 0.238284 | 0.788986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83842f07f71d3b2f6f21033d49e60642f492e9bd | 25,224 | py | Python | tests/query/v1/test_yield.py | nevermore3/nebula-graph | 6f24438289c2b20575bc6acdf607cd2a3648d30d | [
"Apache-2.0"
] | null | null | null | tests/query/v1/test_yield.py | nevermore3/nebula-graph | 6f24438289c2b20575bc6acdf607cd2a3648d30d | [
"Apache-2.0"
] | null | null | null | tests/query/v1/test_yield.py | nevermore3/nebula-graph | 6f24438289c2b20575bc6acdf607cd2a3648d30d | [
"Apache-2.0"
] | null | null | null | # --coding:utf-8--
#
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.
import pytest
from nebula2.graph import ttypes
from tests.common.nebula_test_suite import NebulaTestSuite
... | 41.418719 | 138 | 0.598002 | 3,145 | 25,224 | 4.624801 | 0.055962 | 0.107047 | 0.08044 | 0.107253 | 0.918872 | 0.90911 | 0.905191 | 0.893915 | 0.87219 | 0.829288 | 0 | 0.041517 | 0.262805 | 25,224 | 608 | 139 | 41.486842 | 0.740683 | 0.032112 | 0 | 0.696 | 0 | 0.052 | 0.30262 | 0.012343 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034 | false | 0 | 0.006 | 0 | 0.042 | 0.002 | 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 |
83c459068bd85f21f489a1e9f758cefc822ff62c | 113,756 | py | Python | Software/Agent/Builder/builder.py | 4n6strider/Spacenet | 44e7acfc3d76a38623643ad4057403ad364cf253 | [
"MIT"
] | 1 | 2019-10-08T12:14:27.000Z | 2019-10-08T12:14:27.000Z | Software/Agent/Builder/builder.py | evil5hadow/Spacenet | 44e7acfc3d76a38623643ad4057403ad364cf253 | [
"MIT"
] | null | null | null | Software/Agent/Builder/builder.py | evil5hadow/Spacenet | 44e7acfc3d76a38623643ad4057403ad364cf253 | [
"MIT"
] | 2 | 2020-04-18T06:19:42.000Z | 2021-03-26T02:11:25.000Z | import tkinter
import tkFont
import ttk
import ctypes
import time
import tkFileDialog
import os
import sys
import shutil
from pathlib import Path
from PIL import Image, ImageTk
from threading import Thread
MB_OK = 0x0
MB_OKCXL = 0x01
MB_YESNOCXL = 0x03
MB_YESNO = 0x04
MB_HELP = 0x4000
ICON_EXLAIM=0x... | 218.341651 | 84,295 | 0.934579 | 3,874 | 113,756 | 27.410687 | 0.568405 | 0.00226 | 0.005274 | 0.007684 | 0.03732 | 0.030851 | 0.027282 | 0.020793 | 0.013542 | 0.010218 | 0 | 0.102236 | 0.025273 | 113,756 | 521 | 84,296 | 218.341651 | 0.855449 | 0.001363 | 0 | 0.259259 | 0 | 0.007407 | 0.89244 | 0.869154 | 0 | 1 | 0.000292 | 0 | 0 | 1 | 0.017284 | false | 0.02716 | 0.02963 | 0 | 0.046914 | 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 |
83d206a3c49cd75de6c7a30ab539eb58b4a508ff | 112 | py | Python | fluentcms_file/appsettings.py | bashu/fluentcms-file | cf62eb5b5073642c53473eab740f61e51762d26a | [
"Apache-2.0"
] | 1 | 2021-11-19T10:39:47.000Z | 2021-11-19T10:39:47.000Z | fluentcms_file/appsettings.py | bashu/fluentcms-file | cf62eb5b5073642c53473eab740f61e51762d26a | [
"Apache-2.0"
] | null | null | null | fluentcms_file/appsettings.py | bashu/fluentcms-file | cf62eb5b5073642c53473eab740f61e51762d26a | [
"Apache-2.0"
] | null | null | null | from django.conf import settings
FLUENTCMS_FILE_UPLOAD_TO = getattr(settings, "FLUENTCMS_FILE_UPLOAD_TO", ".")
| 28 | 77 | 0.8125 | 15 | 112 | 5.666667 | 0.666667 | 0.4 | 0.494118 | 0.635294 | 0.682353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 112 | 3 | 78 | 37.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.223214 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
83daccc9cadc1ecbb598a443e16799aa6ae2e63c | 136 | py | Python | tensor2struct/contexts/__init__.py | nghoanglong/tensor2struct-public | deb6f14de04ebcc5563b05b7fee86986d73bbd65 | [
"MIT"
] | null | null | null | tensor2struct/contexts/__init__.py | nghoanglong/tensor2struct-public | deb6f14de04ebcc5563b05b7fee86986d73bbd65 | [
"MIT"
] | null | null | null | tensor2struct/contexts/__init__.py | nghoanglong/tensor2struct-public | deb6f14de04ebcc5563b05b7fee86986d73bbd65 | [
"MIT"
] | null | null | null | from . import spider_context
from . import vitext2sql_phobert_context
from . import spider_bert_context
from . import overnight_context
| 27.2 | 40 | 0.852941 | 18 | 136 | 6.111111 | 0.444444 | 0.363636 | 0.463636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.117647 | 136 | 4 | 41 | 34 | 0.908333 | 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 |
f7c1735bcff4c53e435f36d1b3a3f9c52623ef5c | 124 | py | Python | modules/chisquare.py | rutgerhartog/apocrypha | 29e475219a5e0d510899a512cfc7be030a32c758 | [
"MIT"
] | null | null | null | modules/chisquare.py | rutgerhartog/apocrypha | 29e475219a5e0d510899a512cfc7be030a32c758 | [
"MIT"
] | null | null | null | modules/chisquare.py | rutgerhartog/apocrypha | 29e475219a5e0d510899a512cfc7be030a32c758 | [
"MIT"
] | null | null | null | from scipy.stats import chisquare as chi2
def calculate_chisquare(text: bytes) -> float:
return chi2(text).statistics
| 20.666667 | 46 | 0.766129 | 17 | 124 | 5.529412 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.153226 | 124 | 5 | 47 | 24.8 | 0.87619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f7d3c18a41e5b82ca777c517e9094973bf2eb833 | 99 | py | Python | Python Programming/03. Functions/02-Arguments.py | luckyrabbit85/Python | ed134fd70b4a7b84b183b87b85ad5190f54c9526 | [
"MIT"
] | 1 | 2021-07-15T18:40:26.000Z | 2021-07-15T18:40:26.000Z | Python Programming/03. Functions/02-Arguments.py | luckyrabbit85/Python | ed134fd70b4a7b84b183b87b85ad5190f54c9526 | [
"MIT"
] | null | null | null | Python Programming/03. Functions/02-Arguments.py | luckyrabbit85/Python | ed134fd70b4a7b84b183b87b85ad5190f54c9526 | [
"MIT"
] | null | null | null | def greet(first_name, last_name):
print(f"Hi {first_name} {last_name}")
greet("Tom", "Hill")
| 16.5 | 41 | 0.666667 | 16 | 99 | 3.875 | 0.625 | 0.290323 | 0.419355 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 5 | 42 | 19.8 | 0.729412 | 0 | 0 | 0 | 0 | 0 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7d8879b88b768977d70f6f555000648891460fe | 30 | py | Python | odoo-13.0/venv/lib/python3.8/site-packages/PcfFontFile.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 2 | 2021-06-20T16:56:45.000Z | 2021-06-20T17:30:18.000Z | odoo-13.0/venv/lib/python3.8/site-packages/PcfFontFile.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/venv/lib/python3.8/site-packages/PcfFontFile.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | from PIL.PcfFontFile import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
f7f13767030af4354230b7bb859784c3bdfb21a1 | 2,072 | py | Python | tests/threadfix/scans_test.py | matt-fevold/webbreaker | b500fc620ebba03a27321c8f832ab77bb760b9c5 | [
"MIT"
] | 7 | 2018-12-20T19:18:43.000Z | 2019-12-10T15:03:41.000Z | tests/threadfix/scans_test.py | matt-fevold/webbreaker | b500fc620ebba03a27321c8f832ab77bb760b9c5 | [
"MIT"
] | 5 | 2019-04-02T17:07:44.000Z | 2020-02-17T07:08:11.000Z | tests/threadfix/scans_test.py | matt-fevold/webbreaker | b500fc620ebba03a27321c8f832ab77bb760b9c5 | [
"MIT"
] | 7 | 2019-01-10T10:40:55.000Z | 2022-03-13T14:08:37.000Z | import mock
import pytest
from webbreaker.threadfix.scans import ThreadFixScans
from threadfixproapi.threadfixpro import ThreadFixProResponse
@mock.patch('webbreaker.threadfix.scans.ThreadFixHelper')
@mock.patch('webbreaker.threadfix.scans.threadfixloghelper')
def test_threadfix_scans_successful_list(log_mock, helper... | 49.333333 | 161 | 0.802606 | 274 | 2,072 | 5.708029 | 0.208029 | 0.116368 | 0.107417 | 0.107417 | 0.807545 | 0.792199 | 0.750639 | 0.75 | 0.75 | 0.75 | 0 | 0.00911 | 0.099421 | 2,072 | 42 | 162 | 49.333333 | 0.829046 | 0 | 0 | 0.571429 | 0 | 0 | 0.166425 | 0.125904 | 0 | 0 | 0 | 0 | 0.228571 | 1 | 0.085714 | false | 0 | 0.114286 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7f3b069ac9453e06095e4da6b3648da09f640b7 | 35 | py | Python | tools/Polygraphy/polygraphy/util/__init__.py | borisfom/TensorRT | 42805f078052daad1a98bc5965974fcffaad0960 | [
"Apache-2.0"
] | 1 | 2022-03-05T08:46:19.000Z | 2022-03-05T08:46:19.000Z | tools/Polygraphy/polygraphy/util/__init__.py | maxpark/TensorRT | 46253b644142a1d9632ba463422abfc5dcefc371 | [
"Apache-2.0"
] | null | null | null | tools/Polygraphy/polygraphy/util/__init__.py | maxpark/TensorRT | 46253b644142a1d9632ba463422abfc5dcefc371 | [
"Apache-2.0"
] | 1 | 2022-03-19T16:03:30.000Z | 2022-03-19T16:03:30.000Z | from polygraphy.util.util import *
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
f710d5a412901836e4796796cab79d895bf657b5 | 8,929 | py | Python | healthbuddy_backend/fake_news/tests.py | Asfak06/health-buddy | 1a40a35a95bc4179a44445ed0c0b9dc32360e0bc | [
"MIT"
] | null | null | null | healthbuddy_backend/fake_news/tests.py | Asfak06/health-buddy | 1a40a35a95bc4179a44445ed0c0b9dc32360e0bc | [
"MIT"
] | null | null | null | healthbuddy_backend/fake_news/tests.py | Asfak06/health-buddy | 1a40a35a95bc4179a44445ed0c0b9dc32360e0bc | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.urls import reverse_lazy
from .models import FakeNews
from ..utils.base_test import AuthenticationTestTemplate
class FakeNewsListTestCase(AuthenticationTestTemplate):
def _get_callable_client_method_http(self):
return self._client.get
def _get_... | 36.594262 | 100 | 0.648897 | 1,008 | 8,929 | 5.521825 | 0.116071 | 0.055695 | 0.09055 | 0.049587 | 0.834711 | 0.824829 | 0.818002 | 0.818002 | 0.814768 | 0.814768 | 0 | 0.005603 | 0.240452 | 8,929 | 243 | 101 | 36.744856 | 0.815099 | 0.026767 | 0 | 0.664894 | 0 | 0 | 0.18397 | 0.012011 | 0 | 0 | 0 | 0 | 0.117021 | 1 | 0.175532 | false | 0.031915 | 0.021277 | 0.095745 | 0.324468 | 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 |
f71e3ee179bc25f0ee46fadb17b0041bb26da0fb | 10,260 | py | Python | tests/components/homematicip_cloud/test_switch.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/components/homematicip_cloud/test_switch.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/components/homematicip_cloud/test_switch.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """Tests for HomematicIP Cloud switch."""
from openpeerpower.components.homematicip_cloud import DOMAIN as HMIPC_DOMAIN
from openpeerpower.components.homematicip_cloud.generic_entity import (
ATTR_GROUP_MEMBER_UNREACHABLE,
)
from openpeerpower.components.switch import (
ATTR_CURRENT_POWER_W,
ATTR_TODAY_ENER... | 37.582418 | 87 | 0.710721 | 1,444 | 10,260 | 4.675208 | 0.085873 | 0.094801 | 0.087098 | 0.118205 | 0.817509 | 0.78655 | 0.769219 | 0.755296 | 0.732188 | 0.732188 | 0 | 0.010937 | 0.180117 | 10,260 | 272 | 88 | 37.720588 | 0.791488 | 0.003411 | 0 | 0.606335 | 0 | 0 | 0.091456 | 0.015844 | 0 | 0 | 0 | 0 | 0.280543 | 1 | 0 | false | 0 | 0.027149 | 0 | 0.027149 | 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 |
f72734b87340580ae862b0b1ab93d1933cead503 | 608 | py | Python | 100_days_of_code/Beginner/day_13/art.py | Tiago-S-Ribeiro/Python-Pro-Bootcamp | 20a82443fe2e6ee9040ecd9a03853e6c6346592c | [
"MIT"
] | null | null | null | 100_days_of_code/Beginner/day_13/art.py | Tiago-S-Ribeiro/Python-Pro-Bootcamp | 20a82443fe2e6ee9040ecd9a03853e6c6346592c | [
"MIT"
] | null | null | null | 100_days_of_code/Beginner/day_13/art.py | Tiago-S-Ribeiro/Python-Pro-Bootcamp | 20a82443fe2e6ee9040ecd9a03853e6c6346592c | [
"MIT"
] | null | null | null | logo = '''
______ __ __ _ __ __
/ ____/__ __ ___ _____ _____ / /_ / /_ ___ / | / /__ __ ____ ___ / /_ ___ _____
/ / __ / / / // _ \ / ___// ___/ / __// __ \ / _ \ / |/ // / / // __ `__ \ / __ \ / _ \ / ___/
/ /_/ // ... | 86.857143 | 193 | 0.238487 | 1 | 608 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.536184 | 608 | 7 | 194 | 86.857143 | 0.014184 | 0 | 0 | 0 | 0 | 0.571429 | 0.977011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f73310aa2b49cd42868188d5dd473dea96e80215 | 45 | py | Python | mmdet2trt/models/backbones/__init__.py | jackweiwang/mmdetection-to-tensorrt | f988ba8e923764fb1173385a1c7160b8f8b5bd99 | [
"Apache-2.0"
] | 1 | 2021-08-23T10:09:37.000Z | 2021-08-23T10:09:37.000Z | mmdet2trt/models/backbones/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | mmdet2trt/models/backbones/__init__.py | gcong18/mmdetection-to-tensorrt | c31c32ee4720ff56010bcda77bacf3a110d0526c | [
"Apache-2.0"
] | null | null | null | from .base_backbone import BaseBackboneWraper | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7341e6c9c32a76959a3fd6e6bbc2c1258099c06 | 69 | py | Python | project/db/serializers/__init__.py | sunday-ucheawaji/API- | 07fb4b596cfe8e85b8575a8e70a8c886d3ab627a | [
"MIT"
] | null | null | null | project/db/serializers/__init__.py | sunday-ucheawaji/API- | 07fb4b596cfe8e85b8575a8e70a8c886d3ab627a | [
"MIT"
] | null | null | null | project/db/serializers/__init__.py | sunday-ucheawaji/API- | 07fb4b596cfe8e85b8575a8e70a8c886d3ab627a | [
"MIT"
] | 1 | 2022-02-09T14:13:20.000Z | 2022-02-09T14:13:20.000Z | from db.serializers.reset_serializer import SetNewPasswordSerializer
| 34.5 | 68 | 0.913043 | 7 | 69 | 8.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 69 | 1 | 69 | 69 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f78966e147e74211c5c4049485163bba7cc57b66 | 2,328 | py | Python | test/test_delete_contact.py | jekaterinak/python_training | 5fc48bdd6abcb47a18042096a1f8b73c105fa379 | [
"Apache-2.0"
] | null | null | null | test/test_delete_contact.py | jekaterinak/python_training | 5fc48bdd6abcb47a18042096a1f8b73c105fa379 | [
"Apache-2.0"
] | null | null | null | test/test_delete_contact.py | jekaterinak/python_training | 5fc48bdd6abcb47a18042096a1f8b73c105fa379 | [
"Apache-2.0"
] | null | null | null | from model.contact import Contact
import random
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
def test_delete_some_contact_via_main_view(app, db,check_ui):
if len(db.get_contact_list()) == 0:
app.contact.add(Contact(first... | 55.428571 | 122 | 0.682131 | 309 | 2,328 | 4.84466 | 0.265372 | 0.117568 | 0.074816 | 0.064128 | 0.818971 | 0.818971 | 0.782899 | 0.782899 | 0.782899 | 0.782899 | 0 | 0.012486 | 0.208763 | 2,328 | 41 | 123 | 56.780488 | 0.800217 | 0 | 0 | 0.684211 | 0 | 0 | 0.043288 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.157895 | 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 |
5414819b2f3b13bec1f30c9c52b02402841a9338 | 92 | py | Python | rosalind/ini2.py | sowmyamanojna/BT3051-Data-Structures-and-Algorithms | 09c17e42c2e173a6ab10339f08fbc1505db8ea56 | [
"MIT"
] | 1 | 2021-05-13T13:10:42.000Z | 2021-05-13T13:10:42.000Z | rosalind/ini2.py | sowmyamanojna/BT3051-Data-Structures-and-Algorithms | 09c17e42c2e173a6ab10339f08fbc1505db8ea56 | [
"MIT"
] | null | null | null | rosalind/ini2.py | sowmyamanojna/BT3051-Data-Structures-and-Algorithms | 09c17e42c2e173a6ab10339f08fbc1505db8ea56 | [
"MIT"
] | null | null | null | # [a, b] = map(int, input().split())
[a,b] = map(int, raw_input().split())
print a**2 + b**2 | 30.666667 | 37 | 0.532609 | 18 | 92 | 2.666667 | 0.5 | 0.083333 | 0.208333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.141304 | 92 | 3 | 38 | 30.666667 | 0.582278 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
541f1446dd19a9673cfa16a9b97254165d957119 | 10,618 | py | Python | ML-KWS-for-MCU/ensemble_csv.py | entropyencoder/keyword_spotting | c5ae9ce8492e530c6fcb7913d1947f9eebd3a49b | [
"Apache-2.0"
] | 2 | 2018-04-25T02:58:07.000Z | 2018-11-25T02:44:29.000Z | ML-KWS-for-MCU/ensemble_csv.py | entropyencoder/keyword_spotting | c5ae9ce8492e530c6fcb7913d1947f9eebd3a49b | [
"Apache-2.0"
] | null | null | null | ML-KWS-for-MCU/ensemble_csv.py | entropyencoder/keyword_spotting | c5ae9ce8492e530c6fcb7913d1947f9eebd3a49b | [
"Apache-2.0"
] | null | null | null | import csv
import numpy as np
# labels
# 0. silence
# 1. unknown
# 2. yes
# 3. no
# 4. up
# 5. down
# 6. left
# 7. right
# 8. on
# 9. off
# 10. stop
# 11. go
class_labels = ('silence','unknown','yes','no','up','down','left','right','on','off','stop','go')
###################################################... | 51.543689 | 141 | 0.691091 | 1,774 | 10,618 | 3.666855 | 0.078918 | 0.105457 | 0.054112 | 0.074404 | 0.892544 | 0.869331 | 0.854727 | 0.837663 | 0.828747 | 0.780323 | 0 | 0.094158 | 0.111791 | 10,618 | 205 | 142 | 51.795122 | 0.595589 | 0.793652 | 0 | 0 | 0 | 0 | 0.197128 | 0.157311 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 |
541fb899d81bf88f5676ab0790175487d2de51ba | 373 | py | Python | Engine/Source/Scripts/MoveRight.py | hebohang/HEngine | 82f40797a7cfabaa11aeeb7797fba70551d18017 | [
"MIT"
] | null | null | null | Engine/Source/Scripts/MoveRight.py | hebohang/HEngine | 82f40797a7cfabaa11aeeb7797fba70551d18017 | [
"MIT"
] | null | null | null | Engine/Source/Scripts/MoveRight.py | hebohang/HEngine | 82f40797a7cfabaa11aeeb7797fba70551d18017 | [
"MIT"
] | null | null | null | import numpy as np
import HEngine
def OnUpdateRuntime(transformComponent, ts):
transformComponent.SetTranslation(transformComponent.GetTranslation().x + ts.GetSeconds(), transformComponent.GetTranslation().y, transformComponent.GetTranslation().z)
return transformComponent;
def OnUpdateEditor(transformCompone... | 41.444444 | 172 | 0.823056 | 32 | 373 | 9.59375 | 0.53125 | 0.416938 | 0.214984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088472 | 373 | 9 | 173 | 41.444444 | 0.902941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
580fd97b7af06b12e1db4e20635c98699130dc30 | 185 | py | Python | src/eduid_graphdb/groupdb/__init__.py | SUNET/eduid-groupdb | c9b4631ff944211eab82595f005bc7e707142216 | [
"BSD-3-Clause"
] | 1 | 2020-09-05T03:14:37.000Z | 2020-09-05T03:14:37.000Z | src/eduid_graphdb/groupdb/__init__.py | SUNET/eduid-graphdb | c9b4631ff944211eab82595f005bc7e707142216 | [
"BSD-3-Clause"
] | null | null | null | src/eduid_graphdb/groupdb/__init__.py | SUNET/eduid-graphdb | c9b4631ff944211eab82595f005bc7e707142216 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from eduid_graphdb.groupdb.db import GroupDB
from eduid_graphdb.groupdb.group import Group
from eduid_graphdb.groupdb.user import User
__author__ = 'lundberg'
| 23.125 | 45 | 0.783784 | 26 | 185 | 5.307692 | 0.5 | 0.195652 | 0.347826 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.118919 | 185 | 7 | 46 | 26.428571 | 0.840491 | 0.113514 | 0 | 0 | 0 | 0 | 0.049383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
582fcf6f2605802fb75e5d1896a5fe2639e15c2c | 12,933 | py | Python | tests/test_compressor_fuzzing.py | pxscott/python-zstandard | 3e6553438b0d779f30e07ebc325fdd0c14cecdb2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_compressor_fuzzing.py | pxscott/python-zstandard | 3e6553438b0d779f30e07ebc325fdd0c14cecdb2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_compressor_fuzzing.py | pxscott/python-zstandard | 3e6553438b0d779f30e07ebc325fdd0c14cecdb2 | [
"BSD-3-Clause"
] | null | null | null | import io
import os
import unittest
try:
import hypothesis
import hypothesis.strategies as strategies
except ImportError:
raise unittest.SkipTest('hypothesis not available')
import zstandard as zstd
from . common import (
make_cffi,
random_input_data,
)
@unittest.skipUnless('ZSTD_SLOW_TESTS' in... | 40.415625 | 93 | 0.624217 | 1,414 | 12,933 | 5.492221 | 0.11669 | 0.057945 | 0.04597 | 0.056915 | 0.801313 | 0.799124 | 0.76307 | 0.734484 | 0.715684 | 0.699588 | 0 | 0.014295 | 0.2806 | 12,933 | 320 | 94 | 40.415625 | 0.8204 | 0.023815 | 0 | 0.659919 | 0 | 0 | 0.023693 | 0 | 0 | 0 | 0 | 0 | 0.064777 | 1 | 0.040486 | false | 0 | 0.032389 | 0 | 0.101215 | 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 |
584d73271d6eb0d7a133a8d52bc0724ae7f82470 | 524 | py | Python | Aula07/aula07a.py | anderr8/Python-Mundo-1 | cd4610b038f051adc0f6c4c1f1c383e0877c614c | [
"MIT"
] | null | null | null | Aula07/aula07a.py | anderr8/Python-Mundo-1 | cd4610b038f051adc0f6c4c1f1c383e0877c614c | [
"MIT"
] | null | null | null | Aula07/aula07a.py | anderr8/Python-Mundo-1 | cd4610b038f051adc0f6c4c1f1c383e0877c614c | [
"MIT"
] | null | null | null | nome = input('Qual é seu nome? ')
print('Prazer em te conhecer {}!'.format(nome))
#print('Prazer em te conhecer {:20}!'.format(nome)) exemplo terá 20 espaços vazios
#print('Prazer em te conhecer {:>20}!'.format(nome))exemplo será alinhado à direita
#print('Prazer em te conhecer {:<20}!'.format(nome)) exemplo será alinh... | 74.857143 | 110 | 0.727099 | 80 | 524 | 4.7625 | 0.3625 | 0.173228 | 0.204724 | 0.23622 | 0.724409 | 0.724409 | 0.519685 | 0.519685 | 0.519685 | 0.409449 | 0 | 0.025974 | 0.118321 | 524 | 7 | 110 | 74.857143 | 0.798701 | 0.826336 | 0 | 0 | 0 | 0 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5868a244151e45122e8f8b8451e0321379d8ec9f | 34,959 | py | Python | pirates/leveleditor/worldData/interior_spanish_store_weapons.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/interior_spanish_store_weapons.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/interior_spanish_store_weapons.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.interior_spanish_store_weapons
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {... | 4,994.142857 | 34,529 | 0.671129 | 4,749 | 34,959 | 4.87071 | 0.150769 | 0.029052 | 0.029441 | 0.02421 | 0.5816 | 0.484069 | 0.4679 | 0.388094 | 0.337512 | 0.313389 | 0 | 0.255172 | 0.067994 | 34,959 | 7 | 34,530 | 4,994.142857 | 0.45476 | 0.006751 | 0 | 0 | 0 | 0 | 0.578588 | 0.303839 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
587a35e8a72543d1bbd58359abaf24d9aa50395e | 45 | py | Python | workspace/module/python-2.7/LxBasic/bscModifiers/__init__.py | no7hings/Lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | 2 | 2018-03-06T03:33:55.000Z | 2019-03-26T03:25:11.000Z | workspace/module/python-2.7/LxBasic/bscModifiers/__init__.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | workspace/module/python-2.7/LxBasic/bscModifiers/__init__.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | # coding:utf-8
from ._bscMdfFunction import * | 22.5 | 30 | 0.777778 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.111111 | 45 | 2 | 30 | 22.5 | 0.825 | 0.266667 | 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 |
54302da7b5327bb34beed265374661666da3e56f | 124 | py | Python | katas/kyu_7/alphabetize_by_nth_char.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/alphabetize_by_nth_char.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/alphabetize_by_nth_char.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from operator import itemgetter
def sort_it(lst, n):
return ', '.join(sorted(lst.split(', '), key=itemgetter(n - 1)))
| 20.666667 | 68 | 0.653226 | 18 | 124 | 4.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.16129 | 124 | 5 | 69 | 24.8 | 0.759615 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
543e73aa91b1d8f8454914f5b846b3e74fe0fe5a | 25 | py | Python | tensorcanvas/__init__.py | PWhiddy/pytorch-draw | 949139826623c4037bb70dca9df06d9bbbe06fc4 | [
"MIT"
] | 6 | 2020-09-21T15:16:26.000Z | 2022-01-03T08:08:06.000Z | tensorcanvas/__init__.py | PWhiddy/pytorch-draw | 949139826623c4037bb70dca9df06d9bbbe06fc4 | [
"MIT"
] | null | null | null | tensorcanvas/__init__.py | PWhiddy/pytorch-draw | 949139826623c4037bb70dca9df06d9bbbe06fc4 | [
"MIT"
] | null | null | null | from .BaseShapes import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 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 |
547d0595dda0bf0c34db5fdaddf6d3d7a74e4d36 | 415 | py | Python | TORO/libs/toro/model_parser/__init__.py | IDA-TUBS/TORO | 54bcf10a49aeed16b97a204e01603444a13444c2 | [
"MIT"
] | 2 | 2022-01-31T09:19:00.000Z | 2022-02-08T08:37:43.000Z | TORO/libs/toro/model_parser/__init__.py | IDA-TUBS/TORO | 54bcf10a49aeed16b97a204e01603444a13444c2 | [
"MIT"
] | null | null | null | TORO/libs/toro/model_parser/__init__.py | IDA-TUBS/TORO | 54bcf10a49aeed16b97a204e01603444a13444c2 | [
"MIT"
] | null | null | null | '''
Created on 29.10.2020
:Authors:
- Alex Bendrick
'''
from .csv_parser import CSVParser
# try:
# from .amalthea_parser import AmaltheaParser
# except:
# print("-------------------------------------------------------------------\
# \nWarning: AmaltheaParser incomplete. check installation r... | 27.666667 | 82 | 0.433735 | 28 | 415 | 6.357143 | 0.857143 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023188 | 0.168675 | 415 | 15 | 82 | 27.666667 | 0.492754 | 0.86747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54854f50f6888dc0cc4e0f367775c8fd92de9e01 | 215 | py | Python | django_analyses/models/output/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 1 | 2020-12-30T12:43:34.000Z | 2020-12-30T12:43:34.000Z | django_analyses/models/output/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 59 | 2019-12-25T13:14:56.000Z | 2021-07-22T12:24:46.000Z | django_analyses/models/output/types/__init__.py | TheLabbingProject/django_analyses | 08cac40a32754a265b37524f08ec6160c69ebea8 | [
"Apache-2.0"
] | 2 | 2020-05-24T06:44:27.000Z | 2020-07-09T15:47:31.000Z | from django_analyses.models.output.types.file_output import FileOutput
from django_analyses.models.output.types.float_output import FloatOutput
from django_analyses.models.output.types.list_output import ListOutput
| 53.75 | 72 | 0.888372 | 30 | 215 | 6.166667 | 0.433333 | 0.162162 | 0.291892 | 0.389189 | 0.567568 | 0.567568 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055814 | 215 | 3 | 73 | 71.666667 | 0.91133 | 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 |
548666489d0faef19b64ab0afe7910e7a8978d92 | 9,751 | py | Python | src/robot_properties_nyu_finger/config.py | huaijiangzhu/robot_properties_nyu_finger | 36772a00059af5f48b11656a1eba2ad8f878b376 | [
"BSD-3-Clause"
] | null | null | null | src/robot_properties_nyu_finger/config.py | huaijiangzhu/robot_properties_nyu_finger | 36772a00059af5f48b11656a1eba2ad8f878b376 | [
"BSD-3-Clause"
] | null | null | null | src/robot_properties_nyu_finger/config.py | huaijiangzhu/robot_properties_nyu_finger | 36772a00059af5f48b11656a1eba2ad8f878b376 | [
"BSD-3-Clause"
] | 4 | 2021-06-17T20:37:48.000Z | 2021-08-09T02:31:25.000Z | """config
Store the configuration of the Solo family robots.
License: BSD 3-Clause License
Copyright (C) 2018-2021, New York University , Max Planck Gesellschaft
Copyright note valid unless otherwise stated in individual files.
All rights reserved.
"""
import numpy as np
from math import pi
from os.path import join,... | 29.911043 | 77 | 0.66547 | 1,309 | 9,751 | 4.649351 | 0.160428 | 0.087085 | 0.006901 | 0.024647 | 0.774893 | 0.772921 | 0.756983 | 0.750739 | 0.738909 | 0.703418 | 0 | 0.022274 | 0.244898 | 9,751 | 325 | 78 | 30.003077 | 0.804292 | 0.178956 | 0 | 0.645631 | 0 | 0 | 0.113682 | 0.085513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009709 | false | 0 | 0.038835 | 0 | 0.621359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
49c1ec1f18ad41131ef571a0c4b933ccd872ed1f | 244 | py | Python | gammapy/obs/tests/test_datastore.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | gammapy/obs/tests/test_datastore.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | gammapy/obs/tests/test_datastore.py | joleroi/gammapy | c4e0c4bd74c79d30e0837559d18b7a1a269f70d9 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import print_function, division
from ...obs import DataStore
def test_DataStore():
# data_store = DataStore(dir='TODO')
# TODO: add tests
assert True
| 24.4 | 63 | 0.729508 | 34 | 244 | 5.029412 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.188525 | 244 | 9 | 64 | 27.111111 | 0.858586 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49cf5cf0e7bc89ef11be3af53e252f61d08a8d82 | 71 | py | Python | hdre/__init__.py | freedomtowin/high-density-region-estimator | a9c4d30c32d8f6ce16d2bc0712bdcc588124ed61 | [
"MIT"
] | 1 | 2021-12-29T14:43:36.000Z | 2021-12-29T14:43:36.000Z | hdre/__init__.py | freedomtowin/high-density-region-estimator | a9c4d30c32d8f6ce16d2bc0712bdcc588124ed61 | [
"MIT"
] | null | null | null | hdre/__init__.py | freedomtowin/high-density-region-estimator | a9c4d30c32d8f6ce16d2bc0712bdcc588124ed61 | [
"MIT"
] | null | null | null | from .hdre_bycython import *
#from .hdre.hdr_helpers_bycython import *
| 23.666667 | 41 | 0.802817 | 10 | 71 | 5.4 | 0.6 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 42 | 35.5 | 0.857143 | 0.56338 | 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 |
b712cd4e347543b8ab1a1fc4fdc38bbc0433dcb9 | 2,886 | py | Python | tests/test_clr.py | ColorGenomics/clr | a444a0612374a19f22e511b5e3514a60561e6160 | [
"MIT"
] | 2 | 2016-03-09T02:15:35.000Z | 2016-03-10T12:25:27.000Z | tests/test_clr.py | color/clr | a444a0612374a19f22e511b5e3514a60561e6160 | [
"MIT"
] | 7 | 2021-04-28T03:12:55.000Z | 2021-10-07T21:13:20.000Z | tests/test_clr.py | color/clr | a444a0612374a19f22e511b5e3514a60561e6160 | [
"MIT"
] | 3 | 2017-08-21T18:43:02.000Z | 2019-04-03T01:14:36.000Z | import pytest
import clr
def test_argtest(capsys):
def check(args, expected):
with pytest.raises(SystemExit) as e:
clr.main(["clr", "argtest"] + args)
captured = capsys.readouterr()
assert expected in captured.out
assert e.value.code == 0
def check_failure(args, ex... | 40.647887 | 85 | 0.493416 | 522 | 2,886 | 2.714559 | 0.118774 | 0.032463 | 0.040226 | 0.03952 | 0.810162 | 0.802399 | 0.792519 | 0.769231 | 0.755822 | 0.714185 | 0 | 0.073887 | 0.244976 | 2,886 | 70 | 86 | 41.228571 | 0.576411 | 0 | 0 | 0.435484 | 0 | 0.080645 | 0.367637 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.096774 | false | 0 | 0.032258 | 0 | 0.129032 | 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 |
b728f97782e01b78c54ee968d32bdf2806837d8b | 35 | py | Python | src/neuropsymodelcomparison/dataio/__init__.py | OlafHaag/NeuroPsyResearchAnalysis | 83d750310ee2467979d503d2fb4b6011ead9e9fc | [
"MIT"
] | null | null | null | src/neuropsymodelcomparison/dataio/__init__.py | OlafHaag/NeuroPsyResearchAnalysis | 83d750310ee2467979d503d2fb4b6011ead9e9fc | [
"MIT"
] | null | null | null | src/neuropsymodelcomparison/dataio/__init__.py | OlafHaag/NeuroPsyResearchAnalysis | 83d750310ee2467979d503d2fb4b6011ead9e9fc | [
"MIT"
] | null | null | null | from .dbactions import get_db_table | 35 | 35 | 0.885714 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.90625 | 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 |
b734e1a92b6783d0155a3949a674fb9b33e37851 | 45,810 | py | Python | sdk/config_api.py | llnw/llnw-sdk-python | 0b3614e0e1f0b64c90d95ebd219646ea62d5efb4 | [
"Apache-2.0"
] | 5 | 2020-07-31T16:43:57.000Z | 2021-11-04T16:51:58.000Z | sdk/config_api.py | llnw/llnw-sdk-python | 0b3614e0e1f0b64c90d95ebd219646ea62d5efb4 | [
"Apache-2.0"
] | null | null | null | sdk/config_api.py | llnw/llnw-sdk-python | 0b3614e0e1f0b64c90d95ebd219646ea62d5efb4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from urllib.parse import parse_qs
from sdk.base_client import BaseRestAuthClient
__all__ = ['ConfigApiClient']
__docformat__ = 'restructuredtext'
class ConfigApiClient(BaseRestAuthClient):
"""
Rest client for Limelight Public config-api
"""
... | 41.41953 | 141 | 0.65191 | 5,319 | 45,810 | 5.425268 | 0.053958 | 0.085387 | 0.055099 | 0.047683 | 0.84794 | 0.803306 | 0.759088 | 0.721177 | 0.664587 | 0.621028 | 0 | 0.001546 | 0.237743 | 45,810 | 1,105 | 142 | 41.457014 | 0.824852 | 0.196333 | 0 | 0.385069 | 0 | 0 | 0.317644 | 0.122635 | 0 | 0 | 0 | 0 | 0.001965 | 1 | 0.225933 | false | 0 | 0.005894 | 0 | 0.45776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b73aeace7770834c0af26cbb650b68ffdd9c46f5 | 43 | py | Python | qcportal/wavefunctions/__init__.py | bennybp/QCPortal | c1d0f4e239c9363875680e93b4357c1680d6825c | [
"BSD-3-Clause"
] | null | null | null | qcportal/wavefunctions/__init__.py | bennybp/QCPortal | c1d0f4e239c9363875680e93b4357c1680d6825c | [
"BSD-3-Clause"
] | null | null | null | qcportal/wavefunctions/__init__.py | bennybp/QCPortal | c1d0f4e239c9363875680e93b4357c1680d6825c | [
"BSD-3-Clause"
] | 1 | 2022-03-18T16:37:54.000Z | 2022-03-18T16:37:54.000Z | from .models import WavefunctionProperties
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
3f791c02c61a513e738cc5912772e91526ce6d4d | 9,813 | py | Python | modules/models/buildingBlocks.py | dntaylor/DeepJet | 249610b3b80543c8c84f5ba795bbb07c097f8150 | [
"Apache-2.0"
] | 1 | 2018-02-16T13:13:09.000Z | 2018-02-16T13:13:09.000Z | modules/models/buildingBlocks.py | dntaylor/DeepJet | 249610b3b80543c8c84f5ba795bbb07c097f8150 | [
"Apache-2.0"
] | null | null | null | modules/models/buildingBlocks.py | dntaylor/DeepJet | 249610b3b80543c8c84f5ba795bbb07c097f8150 | [
"Apache-2.0"
] | 5 | 2017-11-03T15:51:27.000Z | 2019-05-29T14:45:23.000Z | '''
standardised building blocks for the models
'''
from keras.layers import Dense, Dropout, Flatten,Convolution2D, Convolution1D
from keras.layers.pooling import MaxPooling2D
from keras.layers.normalization import BatchNormalization
def block_deepFlavourBTVConvolutions(charged,vertices,dropoutRate,active=True,batchn... | 55.755682 | 120 | 0.654438 | 1,079 | 9,813 | 5.790547 | 0.112141 | 0.100672 | 0.105634 | 0.139245 | 0.847631 | 0.847631 | 0.831626 | 0.791933 | 0.753201 | 0.697503 | 0 | 0.029703 | 0.217772 | 9,813 | 175 | 121 | 56.074286 | 0.784263 | 0.022419 | 0 | 0.631944 | 0 | 0 | 0.161355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.020833 | 0 | 0.076389 | 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 |
3f833d7dd5d15d137085bfdf3e8a583e74a0c50b | 34 | py | Python | libs/yowsup/yowsup/yowsup/demos/cli/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 22 | 2017-07-14T20:01:17.000Z | 2022-03-08T14:22:39.000Z | libs/yowsup/yowsup/yowsup/demos/cli/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 6 | 2017-07-14T21:03:50.000Z | 2021-06-10T19:08:32.000Z | libs/yowsup/yowsup/yowsup/demos/cli/__init__.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 13 | 2017-07-14T20:13:14.000Z | 2020-11-12T08:06:05.000Z | from .stack import YowsupCliStack
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f9666b147c927fb18ea6ce4ba7505f1aaa1b7f0 | 32 | py | Python | package/wuphf/abc/__init__.py | derekmerck/python-wuphf | 8e26252f61e4aff3a44364bd46e6e1aab97acd9d | [
"MIT"
] | 15 | 2019-02-12T23:26:09.000Z | 2021-12-21T08:53:58.000Z | package/wuphf/abc/__init__.py | derekmerck/python-wuphf | 8e26252f61e4aff3a44364bd46e6e1aab97acd9d | [
"MIT"
] | 2 | 2019-01-23T21:13:12.000Z | 2019-06-28T15:45:51.000Z | package/wuphf/abc/__init__.py | derekmerck/python-wuphf | 8e26252f61e4aff3a44364bd46e6e1aab97acd9d | [
"MIT"
] | 6 | 2019-01-23T20:22:50.000Z | 2022-02-03T03:27:04.000Z | from .messenger import Messenger | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 |
3fd97a61a594b9fa99aa78a78247f62edb0975e4 | 29 | py | Python | annex/__init__.py | rwightman/tensorflow-annex | da17339e8e5a9ab9b66dac2edc8ece8133227713 | [
"Apache-2.0"
] | 8 | 2016-10-09T17:51:42.000Z | 2022-03-09T09:43:27.000Z | annex/__init__.py | rwightman/tensorflow-annex | da17339e8e5a9ab9b66dac2edc8ece8133227713 | [
"Apache-2.0"
] | 1 | 2017-02-12T16:33:04.000Z | 2017-02-17T15:17:04.000Z | annex/__init__.py | rwightman/tensorflow-annex | da17339e8e5a9ab9b66dac2edc8ece8133227713 | [
"Apache-2.0"
] | 4 | 2017-02-12T15:37:54.000Z | 2020-06-08T17:31:26.000Z | import dataset
import record
| 9.666667 | 14 | 0.862069 | 4 | 29 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 2 | 15 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fe4f69f108128eafa7f6443a9d9d1dbfa914132 | 42 | py | Python | PythonCurso01/aula121_docstrings/exemplo02/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo02/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo02/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | import varias_linhas
help(varias_linhas)
| 10.5 | 20 | 0.857143 | 6 | 42 | 5.666667 | 0.666667 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 3 | 21 | 14 | 0.894737 | 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 |
b2051b9ef090d8a1affc0b80781a74835030eb36 | 21 | py | Python | heat/regression/__init__.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | 2 | 2021-11-25T03:36:58.000Z | 2022-02-22T12:08:47.000Z | heat/regression/__init__.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | 3 | 2021-12-01T08:53:34.000Z | 2022-03-21T11:54:33.000Z | heat/regression/__init__.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | 1 | 2020-04-07T11:27:05.000Z | 2020-04-07T11:27:05.000Z | from .lasso import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b20b3557ad0d1a5d027e142977b48aeab8df027a | 17,625 | py | Python | tests/base_tests/test_baseview.py | CYY666666/slim | 80def99a2eee87a984e1467f83de02a040a2425f | [
"Zlib"
] | 1 | 2020-08-21T01:59:11.000Z | 2020-08-21T01:59:11.000Z | tests/base_tests/test_baseview.py | CYY666666/slim | 80def99a2eee87a984e1467f83de02a040a2425f | [
"Zlib"
] | null | null | null | tests/base_tests/test_baseview.py | CYY666666/slim | 80def99a2eee87a984e1467f83de02a040a2425f | [
"Zlib"
] | null | null | null | import base64
from unittest import mock
import pytest
from aiohttp import web
from aiohttp.test_utils import make_mocked_request
from slim import Application
from slim.base.view import BaseView
pytestmark = [pytest.mark.asyncio]
class ATestApplication(Application):
def on_startup(self, app):
print('Ini... | 391.666667 | 16,356 | 0.953305 | 588 | 17,625 | 28.544218 | 0.809524 | 0.037893 | 0.051537 | 0.063155 | 0.04123 | 0.04123 | 0.04123 | 0.037893 | 0.037893 | 0.037893 | 0 | 0.145609 | 0.01339 | 17,625 | 44 | 16,357 | 400.568182 | 0.819599 | 0 | 0 | 0 | 0 | 0.032258 | 0.940482 | 0.927319 | 0 | 1 | 0 | 0 | 0.096774 | 1 | 0.096774 | false | 0 | 0.225806 | 0 | 0.387097 | 0.096774 | 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 |
b74900b2373a0cc4fc20ed36848d3a34d0fa6313 | 32,361 | py | Python | backend/create.py | Rafalkufel/alinka | 6eebd0f8412e858863965572bb2938a2c2b649de | [
"MIT"
] | 1 | 2018-09-19T15:56:46.000Z | 2018-09-19T15:56:46.000Z | backend/create.py | Rafalkufel/alinka | 6eebd0f8412e858863965572bb2938a2c2b649de | [
"MIT"
] | 36 | 2018-09-19T17:40:42.000Z | 2018-10-12T19:00:45.000Z | backend/create.py | Rafalkufel/alinka | 6eebd0f8412e858863965572bb2938a2c2b649de | [
"MIT"
] | 7 | 2018-09-19T15:58:14.000Z | 2018-10-17T15:35:05.000Z | from docx import Document
import os
from .decision_create import (
add_line,
applicant,
individual_group,
insert_reciver,
normal_bold,
normal_center,
normal_justify,
normal_left,
normal_right,
page_break,
reason,
reason_individual,
reason_individual_preschool,
re... | 33.639293 | 79 | 0.515435 | 2,987 | 32,361 | 5.529294 | 0.108805 | 0.154032 | 0.049286 | 0.08513 | 0.854384 | 0.832465 | 0.822354 | 0.816542 | 0.813877 | 0.801344 | 0 | 0.018033 | 0.383115 | 32,361 | 961 | 80 | 33.674298 | 0.799329 | 0 | 0 | 0.690755 | 0 | 0.004251 | 0.336485 | 0.015605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009564 | false | 0 | 0.006376 | 0 | 0.017003 | 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 |
b7529bfadda4b778d1670cbf635bdec0fc96104d | 112 | py | Python | plotly/graph_objs/scatter3d/marker/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/scatter3d/marker/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/scatter3d/marker/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._line import Line
from ._colorbar import ColorBar
from plotly.graph_objs.scatter3d.marker import colorbar
| 28 | 55 | 0.848214 | 16 | 112 | 5.75 | 0.5625 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.107143 | 112 | 3 | 56 | 37.333333 | 0.91 | 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 |
b782cf37f63988e8dc73891401078a610177de9b | 2,282 | py | Python | 05-mylibrary-lab-next/main_old.py | iproduct/intro-python | 8fcf682286dad3fc65f46ccff33aefab9c601306 | [
"Apache-2.0"
] | 3 | 2022-01-10T07:56:37.000Z | 2022-02-14T16:37:56.000Z | 05-mylibrary-lab-next/main_old.py | iproduct/intro-python | 8fcf682286dad3fc65f46ccff33aefab9c601306 | [
"Apache-2.0"
] | null | null | null | 05-mylibrary-lab-next/main_old.py | iproduct/intro-python | 8fcf682286dad3fc65f46ccff33aefab9c601306 | [
"Apache-2.0"
] | 1 | 2022-02-14T16:36:46.000Z | 2022-02-14T16:36:46.000Z | from model.book import Book
from dao.book_repository import BookRepository, IntIdSequence
from dao.book_repository_json import BookRepositoryJson, load_from_file
if __name__ == "__main__":
b1 = Book(
5,
"Head First Python",
"A Brain-Friendly Guide",
["Paul Barry"],
"14919195... | 45.64 | 602 | 0.678352 | 300 | 2,282 | 5.106667 | 0.406667 | 0.023499 | 0.039164 | 0.027415 | 0.707572 | 0.707572 | 0.707572 | 0.707572 | 0.707572 | 0.707572 | 0 | 0.024263 | 0.241455 | 2,282 | 49 | 603 | 46.571429 | 0.860774 | 0.046889 | 0 | 0.341463 | 0 | 0.04878 | 0.655919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.073171 | 0 | 0.073171 | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b787a3c997531d69c4cdb550dca01245befd7b29 | 27 | py | Python | RDA_module/module/wage_trust_rda/__init__.py | franceoliver/workflow_demo | 8c6b0fa547ebe1f74463c68bdaa277b2282dcfcb | [
"MIT"
] | null | null | null | RDA_module/module/wage_trust_rda/__init__.py | franceoliver/workflow_demo | 8c6b0fa547ebe1f74463c68bdaa277b2282dcfcb | [
"MIT"
] | null | null | null | RDA_module/module/wage_trust_rda/__init__.py | franceoliver/workflow_demo | 8c6b0fa547ebe1f74463c68bdaa277b2282dcfcb | [
"MIT"
] | null | null | null | from .rda_module import RDA | 27 | 27 | 0.851852 | 5 | 27 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
b795f1a8edf206ab48f1a327939b89d8240aee22 | 99 | py | Python | src/models/classification/__init__.py | Alicegaz/torchok | 7b8f95df466a25b1ad8ee93bed1a3c7516440cf4 | [
"Apache-2.0"
] | 8 | 2021-10-12T05:39:20.000Z | 2022-03-31T10:55:01.000Z | src/models/classification/__init__.py | Alicegaz/torchok | 7b8f95df466a25b1ad8ee93bed1a3c7516440cf4 | [
"Apache-2.0"
] | 1 | 2022-03-30T19:23:42.000Z | 2022-03-30T19:23:42.000Z | src/models/classification/__init__.py | Alicegaz/torchok | 7b8f95df466a25b1ad8ee93bed1a3c7516440cf4 | [
"Apache-2.0"
] | 5 | 2021-11-17T07:38:28.000Z | 2022-01-31T10:46:36.000Z | from . import arcmargin
from . import heads
from . import poolings
from . import transformer_heads
| 19.8 | 31 | 0.79798 | 13 | 99 | 6 | 0.461538 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 32 | 24.75 | 0.939759 | 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 |
b7f3902f28a7b23d6347c50dc1248f49f54503fb | 40 | py | Python | dp_fasttext/ml/supervised/__init__.py | ONSdigital/dp-fastText | f21949e6c499e08b24423dfe75600bde96b055be | [
"MIT"
] | 9 | 2021-09-01T05:54:01.000Z | 2021-11-03T08:32:21.000Z | dp_fasttext/ml/supervised/__init__.py | ONSdigital/dp-fastText | f21949e6c499e08b24423dfe75600bde96b055be | [
"MIT"
] | null | null | null | dp_fasttext/ml/supervised/__init__.py | ONSdigital/dp-fastText | f21949e6c499e08b24423dfe75600bde96b055be | [
"MIT"
] | 2 | 2021-04-11T08:01:20.000Z | 2021-12-20T12:52:16.000Z | from .supervised import SupervisedModel
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.972222 | 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 |
4d624531a9a85739703e1fe7db14b03479b7f408 | 158 | py | Python | owcsimpy/__init__.py | ardimasp/owcsimpy | 155b0f26dd5e247cef9a84265256b0d70ba0b139 | [
"MIT"
] | null | null | null | owcsimpy/__init__.py | ardimasp/owcsimpy | 155b0f26dd5e247cef9a84265256b0d70ba0b139 | [
"MIT"
] | null | null | null | owcsimpy/__init__.py | ardimasp/owcsimpy | 155b0f26dd5e247cef9a84265256b0d70ba0b139 | [
"MIT"
] | null | null | null | from owcsimpy import geoobjects
from owcsimpy import geoutils
from owcsimpy import cir
from owcsimpy import misc
# __all__ = [
# "geoobjects",
# "geoutils"]
| 17.555556 | 31 | 0.772152 | 19 | 158 | 6.210526 | 0.421053 | 0.40678 | 0.610169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158228 | 158 | 8 | 32 | 19.75 | 0.887218 | 0.234177 | 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 |
4de1a55782c6e3cf9d10ce4b6cc0859190a8e8b9 | 136 | py | Python | nkicap/tests/utils.py | Bronte-Mckeown/nkicap | 38e26f0f5079e73b75f6e3e7f7d6643755f36b79 | [
"MIT"
] | 1 | 2021-05-18T09:08:00.000Z | 2021-05-18T09:08:00.000Z | nkicap/tests/utils.py | Bronte-Mckeown/nkicap | 38e26f0f5079e73b75f6e3e7f7d6643755f36b79 | [
"MIT"
] | 13 | 2021-03-12T16:21:01.000Z | 2021-06-01T16:54:25.000Z | nkicap/tests/utils.py | Bronte-Mckeown/nkicap | 38e26f0f5079e73b75f6e3e7f7d6643755f36b79 | [
"MIT"
] | 1 | 2021-05-17T18:30:59.000Z | 2021-05-17T18:30:59.000Z | from os.path import join
from pathlib import Path
def get_test_data_path():
return join(Path(__file__).absolute().parent, "data")
| 19.428571 | 57 | 0.75 | 21 | 136 | 4.52381 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139706 | 136 | 6 | 58 | 22.666667 | 0.811966 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
127cc638eadbe4dae82ded65db6fb41b8bfaa51b | 306 | py | Python | ucimlr/dataset.py | JKPawa/ucimlr | b7254414b3bb1bb1c178885cf50e49135c3f7f76 | [
"MIT"
] | 5 | 2020-03-25T09:03:51.000Z | 2021-08-30T13:42:19.000Z | ucimlr/dataset.py | JKPawa/ucimlr | b7254414b3bb1bb1c178885cf50e49135c3f7f76 | [
"MIT"
] | null | null | null | ucimlr/dataset.py | JKPawa/ucimlr | b7254414b3bb1bb1c178885cf50e49135c3f7f76 | [
"MIT"
] | 1 | 2021-06-17T15:59:05.000Z | 2021-06-17T15:59:05.000Z | import abc
class Dataset(abc.ABC):
def __len__(self):
return self.x.shape[0]
def __getitem__(self, i):
return self.x[i], self.y[i]
@property
def name(self):
return self.__class__.__name__
@property
def num_features(self):
return self.x.shape[1]
| 17 | 38 | 0.604575 | 43 | 306 | 3.906977 | 0.44186 | 0.238095 | 0.25 | 0.178571 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00905 | 0.277778 | 306 | 17 | 39 | 18 | 0.751131 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
129751e1eff2b9651edbd2de70a5a0acebdc703e | 399 | py | Python | edbgs_django/settings/develop.py | Athanasius/edbgs-mgr | 1bb5d34730c15ea486c68d82ff8dac8620da2a68 | [
"CC-BY-4.0"
] | 1 | 2022-02-09T07:12:50.000Z | 2022-02-09T07:12:50.000Z | edbgs_django/settings/develop.py | Athanasius/edbgs-mgr | 1bb5d34730c15ea486c68d82ff8dac8620da2a68 | [
"CC-BY-4.0"
] | null | null | null | edbgs_django/settings/develop.py | Athanasius/edbgs-mgr | 1bb5d34730c15ea486c68d82ff8dac8620da2a68 | [
"CC-BY-4.0"
] | null | null | null | # flake8: noqa
from .base import *
# INSTALLED_APPS += ["debug_toolbar"]
# MIDDLEWARE.insert(0, "debug_toolbar.middleware.DebugToolbarMiddleware")
# ==============================================================================
# EMAIL SETTINGS
# ====================================================================... | 26.6 | 80 | 0.451128 | 26 | 399 | 6.769231 | 0.846154 | 0.136364 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.077694 | 399 | 14 | 81 | 28.5 | 0.472826 | 0.897243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
12cac70cb0d605f5a00bc4b97eebef69fc588655 | 24,777 | py | Python | gif-qa/main.py | fanchenyou/VideoQA | 66cc4ccff3113595b7a7230b1cc73063e4382e27 | [
"MIT"
] | 60 | 2019-04-10T02:39:24.000Z | 2022-02-18T14:52:23.000Z | gif-qa/main.py | fanchenyou/VideoQA | 66cc4ccff3113595b7a7230b1cc73063e4382e27 | [
"MIT"
] | 6 | 2019-09-03T06:17:59.000Z | 2021-09-12T21:46:03.000Z | gif-qa/main.py | fanchenyou/VideoQA | 66cc4ccff3113595b7a7230b1cc73063e4382e27 | [
"MIT"
] | 16 | 2019-04-10T07:01:48.000Z | 2022-03-18T14:03:59.000Z | import argparse
import torch
import torch.nn as nn
import numpy as np
import os
from attention_module_lite import *
from make_tgif import DatasetTGIF
from util import AverageMeter
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
def main(args):
torch.manual_seed(1)
### add arguments... | 46.31215 | 121 | 0.516326 | 2,554 | 24,777 | 4.752153 | 0.103759 | 0.043503 | 0.031144 | 0.042267 | 0.750515 | 0.73865 | 0.729999 | 0.709236 | 0.692181 | 0.688144 | 0 | 0.018247 | 0.369617 | 24,777 | 535 | 122 | 46.31215 | 0.758819 | 0.026517 | 0 | 0.751323 | 0 | 0.007937 | 0.110418 | 0.01395 | 0 | 0 | 0 | 0 | 0.010582 | 0 | null | null | 0 | 0.02381 | null | null | 0.050265 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12d406ceb5291135ec640751c91f773194d64542 | 19 | py | Python | demos/gobang/__init__.py | YblBarry/xshinnosuke | fe71379140910ec073d54fe01f82f8f28f113a98 | [
"MIT"
] | 290 | 2020-07-06T02:13:12.000Z | 2021-01-04T14:23:39.000Z | demos/gobang/__init__.py | YblBarry/xshinnosuke | fe71379140910ec073d54fe01f82f8f28f113a98 | [
"MIT"
] | 1 | 2020-12-03T11:11:48.000Z | 2020-12-03T11:11:48.000Z | demos/gobang/__init__.py | E1eveNn/xshinnosuke | 69da91e0ea5042437edfc31c0e6ff9ef394c6cc9 | [
"MIT"
] | 49 | 2020-07-16T00:27:47.000Z | 2020-11-26T03:03:14.000Z | from .ui import go
| 9.5 | 18 | 0.736842 | 4 | 19 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12d7c33beddb2139a6f7fe8b1d0c10b7e1783b45 | 41 | py | Python | src/td_sequential_calculator/__init__.py | onuratakan/td_sequential_calculator | e0e52a96d4b06b82d8f5fb298e8c3877a259ddca | [
"MIT"
] | 3 | 2021-08-22T07:59:07.000Z | 2022-03-24T02:09:18.000Z | src/td_sequential_calculator/__init__.py | onuratakan/td_sequential_calculator | e0e52a96d4b06b82d8f5fb298e8c3877a259ddca | [
"MIT"
] | null | null | null | src/td_sequential_calculator/__init__.py | onuratakan/td_sequential_calculator | e0e52a96d4b06b82d8f5fb298e8c3877a259ddca | [
"MIT"
] | null | null | null | from .td_sequential_calculator import TDS | 41 | 41 | 0.902439 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.921053 | 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 |
12d9ed0a0f9ebe759cd29dac261acb2cb8cf8ef6 | 63 | py | Python | test_module.py | Hexotical/Astr119Hw2 | 37a4539277506fa874e17ab33b798ed97f5a84a4 | [
"MIT"
] | null | null | null | test_module.py | Hexotical/Astr119Hw2 | 37a4539277506fa874e17ab33b798ed97f5a84a4 | [
"MIT"
] | 1 | 2020-10-15T04:53:37.000Z | 2020-10-16T22:50:42.000Z | test_module.py | Hexotical/Astr119Hw2 | 37a4539277506fa874e17ab33b798ed97f5a84a4 | [
"MIT"
] | null | null | null | def hello_world():
print("Hello world in the test module") | 31.5 | 43 | 0.698413 | 10 | 63 | 4.3 | 0.8 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 2 | 43 | 31.5 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
420bc0bc743fb65673e70cddcc7d95a8f2c8f86e | 1,662 | py | Python | webTrigger.py | b1scuit-thi3f/jimiPlugin-webTrigger | 7f9acb2401efa94f0518eca475f05c00d902ca85 | [
"Apache-2.0"
] | 2 | 2021-07-26T15:02:18.000Z | 2021-09-21T13:01:15.000Z | webTrigger.py | b1scuit-thi3f/jimiPlugin-webTrigger | 7f9acb2401efa94f0518eca475f05c00d902ca85 | [
"Apache-2.0"
] | 7 | 2021-09-20T14:03:22.000Z | 2021-12-07T19:07:58.000Z | webTrigger.py | b1scuit-thi3f/jimiPlugin-webTrigger | 7f9acb2401efa94f0518eca475f05c00d902ca85 | [
"Apache-2.0"
] | null | null | null | import jimi
class _webTrigger(jimi.plugin._plugin):
version = 0.13
def install(self):
jimi.model.registerModel("webTriggerOutput","_webTriggerOutput","_document","plugins.webTrigger.models.webTrigger")
jimi.model.registerModel("webTrigger","_webTrigger","_trigger","plugins.webTrigger.mo... | 61.555556 | 128 | 0.731047 | 146 | 1,662 | 8.157534 | 0.205479 | 0.083123 | 0.212427 | 0.156171 | 0.824517 | 0.824517 | 0.824517 | 0.824517 | 0.824517 | 0.583543 | 0 | 0.006259 | 0.134777 | 1,662 | 26 | 129 | 63.923077 | 0.821975 | 0 | 0 | 0.409091 | 0 | 0 | 0.501222 | 0.231051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0 | 0.409091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4210bec1bb8297e6e8473aa2ae6a246e298e0452 | 195 | py | Python | morph/base.py | scupid-admin/morph-python-sdk | b6d528658dcf32b3d39916355a19f5f585f9e54e | [
"MIT"
] | 1 | 2019-09-25T08:25:22.000Z | 2019-09-25T08:25:22.000Z | morph/base.py | scupid-admin/Custom-Code-Python | b6d528658dcf32b3d39916355a19f5f585f9e54e | [
"MIT"
] | null | null | null | morph/base.py | scupid-admin/Custom-Code-Python | b6d528658dcf32b3d39916355a19f5f585f9e54e | [
"MIT"
] | null | null | null | class MorphSerializable:
def __init__(self, properties_to_serialize, property_dict):
self.property_dict = property_dict
self.properties_to_serialize = properties_to_serialize
| 39 | 63 | 0.784615 | 22 | 195 | 6.363636 | 0.454545 | 0.257143 | 0.45 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164103 | 195 | 4 | 64 | 48.75 | 0.858896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
421f1246cef1f24011e81b1a15e4bfaed0a0734a | 219 | py | Python | docs/sections/section2/solutions/sol5.py | lingcog/2019-CS109A | f1eaa62976fe989c3ad3f3ab4b8dd5d71574a2c3 | [
"MIT"
] | 442 | 2019-06-11T06:47:00.000Z | 2022-03-12T11:19:31.000Z | docs/sections/section2/solutions/sol5.py | lelandroberts97/2019-CS109A | 976da6b65c26fd3c5db285cbf9ec9cde92751a70 | [
"MIT"
] | 3 | 2019-09-23T17:32:51.000Z | 2022-02-09T06:06:00.000Z | docs/sections/section2/solutions/sol5.py | lelandroberts97/2019-CS109A | 976da6b65c26fd3c5db285cbf9ec9cde92751a70 | [
"MIT"
] | 486 | 2019-06-17T05:01:07.000Z | 2022-03-13T20:30:44.000Z | print('The training data length is the', 100*len(train_data)/len(bikeshare),'% of the total dataset length.')
print('The testing data length is the', 100*len(test_data)/len(bikeshare),'% of the total dataset length.')
| 73 | 109 | 0.739726 | 36 | 219 | 4.444444 | 0.416667 | 0.1 | 0.15 | 0.1875 | 0.75 | 0.75 | 0.4875 | 0.4875 | 0 | 0 | 0 | 0.030928 | 0.114155 | 219 | 2 | 110 | 109.5 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0.557078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
42237e1c0c416415e3fc9f8d1e80662b86b40073 | 17,064 | py | Python | bak/layer_crxb_ver.py | fightingnoble/pytorch_tutorial | 671e5ff5bf6c123ff33e20b0f31fc91a67869244 | [
"Apache-2.0"
] | null | null | null | bak/layer_crxb_ver.py | fightingnoble/pytorch_tutorial | 671e5ff5bf6c123ff33e20b0f31fc91a67869244 | [
"Apache-2.0"
] | null | null | null | bak/layer_crxb_ver.py | fightingnoble/pytorch_tutorial | 671e5ff5bf6c123ff33e20b0f31fc91a67869244 | [
"Apache-2.0"
] | null | null | null | import math
import torch
import torch.nn as nn
import torch.nn.functional as F
from .adc import _adc
from .dac import _quantize_dac
from .w2g import w2g
from .crossbarlayer import CrossbarLayer
quantize_input = _quantize_dac.apply
# quantize_weight = _quantize_dac.apply
adc = _adc.apply
class crxb_Conv2d(nn.Conv2d... | 46.750685 | 120 | 0.60572 | 2,384 | 17,064 | 4.131292 | 0.104866 | 0.066606 | 0.024368 | 0.01523 | 0.881714 | 0.863539 | 0.845263 | 0.834907 | 0.834907 | 0.826988 | 0 | 0.017932 | 0.284283 | 17,064 | 364 | 121 | 46.879121 | 0.787849 | 0.333861 | 0 | 0.677419 | 0 | 0 | 0.015866 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 1 | 0.053763 | false | 0 | 0.043011 | 0 | 0.139785 | 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 |
42ac102bffe9e75f79f2c0d245418265e8a95527 | 110,329 | py | Python | torchslide/bin/multiresolutionimageinterface.py | arquolo/torchslide-bin | 10f0747ee6815d9fcd19647e7b4bbabd5541e465 | [
"MIT"
] | 1 | 2019-07-13T08:45:44.000Z | 2019-07-13T08:45:44.000Z | torchslide/bin/multiresolutionimageinterface.py | arquolo/torchslide-bin | 10f0747ee6815d9fcd19647e7b4bbabd5541e465 | [
"MIT"
] | null | null | null | torchslide/bin/multiresolutionimageinterface.py | arquolo/torchslide-bin | 10f0747ee6815d9fcd19647e7b4bbabd5541e465 | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_im... | 47.658315 | 283 | 0.735872 | 11,057 | 110,329 | 6.875464 | 0.038528 | 0.241246 | 0.167188 | 0.076951 | 0.793586 | 0.732669 | 0.688748 | 0.633264 | 0.58754 | 0.5196 | 0 | 0.000561 | 0.159559 | 110,329 | 2,314 | 284 | 47.678911 | 0.819304 | 0.002674 | 0 | 0.316774 | 1 | 0.003507 | 0.165134 | 0.005753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.339568 | false | 0.001169 | 0.011105 | 0.318527 | 0.824664 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
42b05f423895c54452abf8e36684d252b7b279df | 54 | py | Python | nlplingo/oregon/event_models/uoregon/models/pipeline/_01/modules/__init__.py | BBN-E/nlplingo | 32ff17b1320937faa3d3ebe727032f4b3e7a353d | [
"Apache-2.0"
] | 3 | 2020-10-22T13:28:00.000Z | 2022-03-24T19:57:22.000Z | nlplingo/oregon/event_models/uoregon/models/pipeline/_01/modules/__init__.py | BBN-E/nlplingo | 32ff17b1320937faa3d3ebe727032f4b3e7a353d | [
"Apache-2.0"
] | null | null | null | nlplingo/oregon/event_models/uoregon/models/pipeline/_01/modules/__init__.py | BBN-E/nlplingo | 32ff17b1320937faa3d3ebe727032f4b3e7a353d | [
"Apache-2.0"
] | 1 | 2020-10-22T13:29:51.000Z | 2020-10-22T13:29:51.000Z | from .ED_model import *
from .argument_model import *
| 18 | 29 | 0.777778 | 8 | 54 | 5 | 0.625 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 30 | 27 | 0.869565 | 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 |
c40f808e2f15eb788e59ae7ec4e21d91cd7db9b3 | 46 | py | Python | defx/metrics/__init__.py | DFKI-NLP/defx | 0c8b7a5ff4904a54e28f187b938198744e4a450a | [
"MIT"
] | 5 | 2020-04-29T07:41:58.000Z | 2021-12-09T10:07:08.000Z | defx/metrics/__init__.py | DFKI-NLP/defx | 0c8b7a5ff4904a54e28f187b938198744e4a450a | [
"MIT"
] | 1 | 2020-10-17T16:51:06.000Z | 2020-10-27T13:44:35.000Z | defx/metrics/__init__.py | DFKI-NLP/defx | 0c8b7a5ff4904a54e28f187b938198744e4a450a | [
"MIT"
] | null | null | null | from defx.metrics.f1_measure import F1Measure
| 23 | 45 | 0.869565 | 7 | 46 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.086957 | 46 | 1 | 46 | 46 | 0.880952 | 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 |
c431c34ca406edcae46c45602a9989f594043857 | 291 | py | Python | ansible-devel/test/units/utils/collection_loader/fixtures/collections/ansible_collections/testns/testcoll/plugins/module_utils/my_util.py | satishcarya/ansible | ed091e174c26316f621ac16344a95c99f56bdc43 | [
"MIT"
] | null | null | null | ansible-devel/test/units/utils/collection_loader/fixtures/collections/ansible_collections/testns/testcoll/plugins/module_utils/my_util.py | satishcarya/ansible | ed091e174c26316f621ac16344a95c99f56bdc43 | [
"MIT"
] | null | null | null | ansible-devel/test/units/utils/collection_loader/fixtures/collections/ansible_collections/testns/testcoll/plugins/module_utils/my_util.py | satishcarya/ansible | ed091e174c26316f621ac16344a95c99f56bdc43 | [
"MIT"
] | null | null | null | # WARNING: Changing line numbers of code in this file will break collection tests that use tracing to check paths and line numbers.
# Also, do not import division from __future__ as this will break detection of __future__ inheritance on Python 2.
def question():
return 3 / 2
| 41.571429 | 131 | 0.749141 | 45 | 291 | 4.666667 | 0.822222 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.216495 | 291 | 6 | 132 | 48.5 | 0.907895 | 0.862543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c438898ba3153bcc7954a555139d3a8a2f69b83d | 144 | py | Python | scripts/update_db.py | pmbarrett314/mtg-skeleton-generator | ea1d70ce523516dc4c0d67932012f225cf62c59c | [
"MIT"
] | null | null | null | scripts/update_db.py | pmbarrett314/mtg-skeleton-generator | ea1d70ce523516dc4c0d67932012f225cf62c59c | [
"MIT"
] | null | null | null | scripts/update_db.py | pmbarrett314/mtg-skeleton-generator | ea1d70ce523516dc4c0d67932012f225cf62c59c | [
"MIT"
] | null | null | null | from context import mtg_skeleton_gen
from mtg_skeleton_gen.mtg_db import db_file, update_db
if __name__ == "__main__":
update_db(db_file)
| 20.571429 | 54 | 0.798611 | 24 | 144 | 4.083333 | 0.5 | 0.22449 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 6 | 55 | 24 | 0.790323 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
675bea785d93ef1dd70db1e9f6d8bcd59faa1a39 | 214 | py | Python | imacs_app/admin.py | pnmadelaine/imacs | 9a5203cfe98e0af8368d442f6bcf9941689b0155 | [
"MIT"
] | null | null | null | imacs_app/admin.py | pnmadelaine/imacs | 9a5203cfe98e0af8368d442f6bcf9941689b0155 | [
"MIT"
] | 1 | 2022-02-28T23:22:37.000Z | 2022-03-13T16:12:31.000Z | imacs_app/admin.py | pnmadelaine/imacs | 9a5203cfe98e0af8368d442f6bcf9941689b0155 | [
"MIT"
] | 2 | 2021-10-31T22:55:46.000Z | 2022-02-27T09:55:57.000Z | from django.contrib import admin
from .models import TaskList, TaskCategory, Task, TaskDone
admin.site.register(TaskList)
admin.site.register(TaskCategory)
admin.site.register(Task)
admin.site.register(TaskDone)
| 23.777778 | 58 | 0.82243 | 28 | 214 | 6.285714 | 0.428571 | 0.204545 | 0.386364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079439 | 214 | 8 | 59 | 26.75 | 0.893401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e1dbdd93faf9167684505dfad64957c5785d26c2 | 123 | py | Python | hypothesize/__init__.py | bwettimz/hypothesize | 56d75ade8cd2341542a770d05ebead3eef45d363 | [
"BSD-3-Clause"
] | 26 | 2020-08-20T04:27:27.000Z | 2022-02-25T02:50:32.000Z | hypothesize/__init__.py | bwettimz/hypothesize | 56d75ade8cd2341542a770d05ebead3eef45d363 | [
"BSD-3-Clause"
] | 9 | 2020-03-04T21:34:22.000Z | 2021-11-25T20:11:46.000Z | hypothesize/__init__.py | bwettimz/hypothesize | 56d75ade8cd2341542a770d05ebead3eef45d363 | [
"BSD-3-Clause"
] | 2 | 2020-10-09T03:43:15.000Z | 2021-11-30T11:44:30.000Z |
from hypothesize import compare_groups_with_single_factor, measuring_associations, \
compare_groups_with_two_factors
| 24.6 | 84 | 0.869919 | 15 | 123 | 6.533333 | 0.8 | 0.265306 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 123 | 4 | 85 | 30.75 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c02e3c98b6ec9c39a55f4789e1c6c2fa32bd8f2e | 4,108 | py | Python | script/validator/tests.py | sowd/ECHONETLite-ObjectDatabase | be7b2ac6c5ef12b15e6100aa0091905d608b58b8 | [
"CC0-1.0"
] | 6 | 2015-04-23T03:51:42.000Z | 2021-09-14T03:29:46.000Z | script/validator/tests.py | sowd/ECHONETLite-ObjectDatabase | be7b2ac6c5ef12b15e6100aa0091905d608b58b8 | [
"CC0-1.0"
] | 2 | 2015-12-25T00:13:26.000Z | 2016-04-13T23:01:25.000Z | script/validator/tests.py | sowd/ECHONETLite-ObjectDatabase | be7b2ac6c5ef12b15e6100aa0091905d608b58b8 | [
"CC0-1.0"
] | 5 | 2015-12-10T04:33:35.000Z | 2022-01-18T15:14:13.000Z | #/usr/bin/env python
#coding:utf-8
from validator import *
import unittest
class ValidatorIsValidBytesString(unittest.TestCase):
def test_1(self):
self.assertFalse(Validator.is_valid_bytes_string("0"))
def test_2(self):
self.assertFalse(Validator.is_valid_bytes_string("0x"))
def test_3(sel... | 38.392523 | 69 | 0.713486 | 545 | 4,108 | 5.069725 | 0.163303 | 0.101339 | 0.21426 | 0.202678 | 0.735433 | 0.718784 | 0.680058 | 0.622512 | 0.407528 | 0.256605 | 0 | 0.027842 | 0.160662 | 4,108 | 106 | 70 | 38.754717 | 0.773492 | 0.007546 | 0 | 0.108696 | 0 | 0 | 0.038292 | 0 | 0 | 0 | 0.007855 | 0 | 0.434783 | 1 | 0.434783 | false | 0.01087 | 0.021739 | 0 | 0.532609 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fbf3270cebbd586fbcef3449db1464221c390e3d | 41,553 | py | Python | test/lens/util/test_lens_fit_stack_util.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | test/lens/util/test_lens_fit_stack_util.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | test/lens/util/test_lens_fit_stack_util.py | AshKelly/PyAutoLens | 043795966338a655339e61782253ad67cc3c14e6 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from autolens.data.array import scaled_array
from autolens.data.array import mask as msk
from autolens.data.array import grids
from autolens.data import ccd as im, convolution
from autolens.model.profiles import light_profiles as lp
from autolens.model.profiles import mass_profiles as ... | 60.396802 | 130 | 0.626429 | 5,647 | 41,553 | 4.1592 | 0.029927 | 0.033295 | 0.038958 | 0.042747 | 0.930898 | 0.902244 | 0.884745 | 0.856303 | 0.829906 | 0.81841 | 0 | 0.060725 | 0.277934 | 41,553 | 688 | 131 | 60.396802 | 0.72207 | 0 | 0 | 0.563601 | 0 | 0 | 0.002984 | 0 | 0 | 0 | 0 | 0 | 0.113503 | 1 | 0.041096 | false | 0 | 0.02544 | 0.009785 | 0.09589 | 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 |
220ed627da8051a417ce770b622ff6cbe9fa7435 | 5,230 | py | Python | metricks/result_worksheet_data_processor.py | hamsternik/medical-metricks-parser | 9307038fcf20cfa514f74f2ff4f6c25f32727e2e | [
"MIT"
] | null | null | null | metricks/result_worksheet_data_processor.py | hamsternik/medical-metricks-parser | 9307038fcf20cfa514f74f2ff4f6c25f32727e2e | [
"MIT"
] | null | null | null | metricks/result_worksheet_data_processor.py | hamsternik/medical-metricks-parser | 9307038fcf20cfa514f74f2ff4f6c25f32727e2e | [
"MIT"
] | null | null | null | __author__ = 'khomitsevich'
import metricks.excel_char_index_generator as excel_char_index_generator
RESULT_PARAM_COLUMN_LEADING_IND = 3
RESULT_PARAM_TITLES = ["DICE", "SPEC", "SENS", "ACCUR", "Time (w init)"]
class ResultWorkSheetDataProcessor:
def __init__(self, result_worksheet, cell_title_prefix, metric... | 60.114943 | 138 | 0.767495 | 740 | 5,230 | 4.797297 | 0.106757 | 0.063099 | 0.139155 | 0.148732 | 0.888732 | 0.875211 | 0.821127 | 0.74 | 0.661972 | 0.612958 | 0 | 0.005255 | 0.163098 | 5,230 | 87 | 139 | 60.114943 | 0.805803 | 0.023327 | 0 | 0.315789 | 0 | 0 | 0.047474 | 0.031649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22807 | false | 0 | 0.017544 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97d6583915892f072e9d9995aa695f72e80018c0 | 3,790 | py | Python | examples/http.py | doriath/sdgen | 8e602797a1d552c00e54c1371fe1f437b6d20841 | [
"MIT"
] | 1 | 2021-06-22T00:47:34.000Z | 2021-06-22T00:47:34.000Z | examples/http.py | doriath/sdgen | 8e602797a1d552c00e54c1371fe1f437b6d20841 | [
"MIT"
] | null | null | null | examples/http.py | doriath/sdgen | 8e602797a1d552c00e54c1371fe1f437b6d20841 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
sys.path.append('.')
from sdgen.svg import *
data = {
"view": "Group",
"name": "Identyfikator HTTP",
"children": [
{"view": "Terminal", "value": "http"},
{
"view": "Detour",
"children": [
{"view": "Terminal", "value"... | 31.065574 | 77 | 0.21372 | 155 | 3,790 | 5.219355 | 0.245161 | 0.266996 | 0.273177 | 0.278121 | 0.728059 | 0.728059 | 0.592089 | 0.490729 | 0.490729 | 0.490729 | 0 | 0.011202 | 0.646702 | 3,790 | 121 | 78 | 31.322314 | 0.59298 | 0.005541 | 0 | 0.393162 | 0 | 0 | 0.199894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017094 | null | null | 0.008547 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f6f19a9a981463fef816d3565405197549948ed | 6,273 | py | Python | tests/functional/commands/validate/lib/test_sam_template_validator.py | TinLe/aws-sam-cli | 6e3740ad6511d2a31f9f977cf918cd08688076f7 | [
"Apache-2.0"
] | 3 | 2018-10-26T23:41:19.000Z | 2018-11-04T04:13:27.000Z | tests/functional/commands/validate/lib/test_sam_template_validator.py | TinLe/aws-sam-cli | 6e3740ad6511d2a31f9f977cf918cd08688076f7 | [
"Apache-2.0"
] | null | null | null | tests/functional/commands/validate/lib/test_sam_template_validator.py | TinLe/aws-sam-cli | 6e3740ad6511d2a31f9f977cf918cd08688076f7 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from mock import Mock
from samcli.commands.validate.lib.sam_template_validator import SamTemplateValidator
from samcli.commands.validate.lib.exceptions import InvalidSamDocumentException
class TestValidate(TestCase):
def test_valid_template(self):
template = {
"... | 36.47093 | 192 | 0.489399 | 463 | 6,273 | 6.453564 | 0.187905 | 0.078313 | 0.10241 | 0.080321 | 0.86178 | 0.842369 | 0.842369 | 0.842369 | 0.776439 | 0.746653 | 0 | 0.037447 | 0.395505 | 6,273 | 172 | 193 | 36.47093 | 0.750527 | 0.029651 | 0 | 0.630435 | 0 | 0 | 0.250617 | 0.071041 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.043478 | false | 0.007246 | 0.028986 | 0 | 0.07971 | 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 |
58c447c6863176bdfc4f22ecc9c5cd9c0487c991 | 36 | py | Python | ml/perks/netconfig/__init__.py | TiFu/runepicker-helper | dcbd7bcce06a80ed5c800b3aaca26d53e4cace8f | [
"MIT"
] | null | null | null | ml/perks/netconfig/__init__.py | TiFu/runepicker-helper | dcbd7bcce06a80ed5c800b3aaca26d53e4cace8f | [
"MIT"
] | 1 | 2018-01-01T03:56:01.000Z | 2018-01-01T03:56:01.000Z | ml/perks/netconfig/__init__.py | TiFu/runepicker-helper | dcbd7bcce06a80ed5c800b3aaca26d53e4cace8f | [
"MIT"
] | null | null | null | from .netconfig import loadNetConfig | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58eee6b3a208a242d94d7193d75d818bfddb047a | 28 | py | Python | gpsinflux/__init__.py | iotfablab/gpsinflux | 438830f11ee0c02cb9a071ef8db7e559ea537e9a | [
"MIT"
] | null | null | null | gpsinflux/__init__.py | iotfablab/gpsinflux | 438830f11ee0c02cb9a071ef8db7e559ea537e9a | [
"MIT"
] | 3 | 2019-06-28T09:26:32.000Z | 2020-02-27T12:25:16.000Z | gpsinflux/__init__.py | iotfablab/gpsinflux | 438830f11ee0c02cb9a071ef8db7e559ea537e9a | [
"MIT"
] | null | null | null | from .gpsinflux import main
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
1895850492935b61e3f65367f5c956a4abe33635 | 108 | py | Python | src/handlers/special/__init__.py | PDevgut/My37 | cdd5d8a8a9d0f16ac071704f6ada9c294fbe452e | [
"MIT"
] | null | null | null | src/handlers/special/__init__.py | PDevgut/My37 | cdd5d8a8a9d0f16ac071704f6ada9c294fbe452e | [
"MIT"
] | null | null | null | src/handlers/special/__init__.py | PDevgut/My37 | cdd5d8a8a9d0f16ac071704f6ada9c294fbe452e | [
"MIT"
] | null | null | null | from .handlers_4xx import handle_404
from .handlers_5xx import handle_500
from .static import handle_static
| 27 | 36 | 0.861111 | 17 | 108 | 5.176471 | 0.529412 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.111111 | 108 | 3 | 37 | 36 | 0.833333 | 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 |
18c04eca161f97b0a5cd1dc3ce5644a02fe70018 | 73 | py | Python | logging/modulesb/moduleb.py | bclipp/python_ideas | c6058d49603f663ac57c55261777ace55fd2788a | [
"Apache-2.0"
] | null | null | null | logging/modulesb/moduleb.py | bclipp/python_ideas | c6058d49603f663ac57c55261777ace55fd2788a | [
"Apache-2.0"
] | null | null | null | logging/modulesb/moduleb.py | bclipp/python_ideas | c6058d49603f663ac57c55261777ace55fd2788a | [
"Apache-2.0"
] | null | null | null | import logging
def do_something():
logging.info('Doing something')
| 12.166667 | 35 | 0.726027 | 9 | 73 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 5 | 36 | 14.6 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18c17b3469a44864759c62fc78e36760e41b764a | 68 | py | Python | venv/lib/python2.7/site-packages/netlib/__init__.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | 3 | 2019-04-09T22:59:33.000Z | 2019-06-14T09:23:24.000Z | venv/lib/python2.7/site-packages/netlib/__init__.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/netlib/__init__.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | null | null | null | from __future__ import (absolute_import, print_function, division)
| 34 | 67 | 0.838235 | 8 | 68 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 1 | 68 | 68 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
18c9adf593798eb40a0304a93125647c4261f6a0 | 49 | py | Python | modules/__init__.py | trusted-ws/alarm-thread | 22e517720c3dfc1f1e305b375af51feea47ac800 | [
"MIT"
] | null | null | null | modules/__init__.py | trusted-ws/alarm-thread | 22e517720c3dfc1f1e305b375af51feea47ac800 | [
"MIT"
] | null | null | null | modules/__init__.py | trusted-ws/alarm-thread | 22e517720c3dfc1f1e305b375af51feea47ac800 | [
"MIT"
] | null | null | null | from .alarm import Alarm
from .auxiliary import * | 24.5 | 24 | 0.795918 | 7 | 49 | 5.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 25 | 24.5 | 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 |
18cf4c2854535b880b405fae653641ef01178cf7 | 48 | py | Python | QCPU_Setup/DWave-library/dist-packages/dwave_networkx2/generators/__init__.py | cogrpar/qcpuWARE | 9b8233e830f8cfacbef787781b2279e42f26fec5 | [
"Apache-2.0"
] | 1 | 2022-02-01T14:40:05.000Z | 2022-02-01T14:40:05.000Z | QCPU_Setup/DWave-library/dist-packages/dwave_networkx2/generators/__init__.py | cogrpar/qcpuWARE | 9b8233e830f8cfacbef787781b2279e42f26fec5 | [
"Apache-2.0"
] | null | null | null | QCPU_Setup/DWave-library/dist-packages/dwave_networkx2/generators/__init__.py | cogrpar/qcpuWARE | 9b8233e830f8cfacbef787781b2279e42f26fec5 | [
"Apache-2.0"
] | 1 | 2022-02-01T14:40:31.000Z | 2022-02-01T14:40:31.000Z | from dwave_networkx.generators.chimera import *
| 24 | 47 | 0.854167 | 6 | 48 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 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 |
18ef388cccf31b9eee8c768de2ede5d859b7ee91 | 89 | py | Python | pkg/handlers/hello.py | GKAurora/Aurora2.0-WebAPI | d91a028115c449e77f07681f39cfd4dd25870137 | [
"MIT"
] | null | null | null | pkg/handlers/hello.py | GKAurora/Aurora2.0-WebAPI | d91a028115c449e77f07681f39cfd4dd25870137 | [
"MIT"
] | null | null | null | pkg/handlers/hello.py | GKAurora/Aurora2.0-WebAPI | d91a028115c449e77f07681f39cfd4dd25870137 | [
"MIT"
] | null | null | null | class Hello(object):
@staticmethod
def hello_w() -> str:
return f"hello"
| 17.8 | 25 | 0.595506 | 11 | 89 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280899 | 89 | 4 | 26 | 22.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e17bc280fa48d9fa14d8d88718da02b94c0f466f | 203 | py | Python | tccli/services/cvm/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/cvm/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/cvm/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.cvm.cvm_client import register_arg
from tccli.services.cvm.cvm_client import get_actions_info
from tccli.services.cvm.cvm_client import AVAILABLE_VERSION_LIST
| 40.6 | 64 | 0.827586 | 32 | 203 | 5 | 0.53125 | 0.16875 | 0.31875 | 0.375 | 0.65625 | 0.65625 | 0.65625 | 0 | 0 | 0 | 0 | 0.005376 | 0.083744 | 203 | 4 | 65 | 50.75 | 0.854839 | 0.103448 | 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 |
e1a369120872d1335aee637deae14eb6f2bf4cd7 | 25 | py | Python | wikiclean/__init__.py | daemon/pywikiclean | b680833ff0692a73cd0906cd4d3b052e5c0d8aa1 | [
"MIT"
] | null | null | null | wikiclean/__init__.py | daemon/pywikiclean | b680833ff0692a73cd0906cd4d3b052e5c0d8aa1 | [
"MIT"
] | null | null | null | wikiclean/__init__.py | daemon/pywikiclean | b680833ff0692a73cd0906cd4d3b052e5c0d8aa1 | [
"MIT"
] | null | null | null | from .wikiclean import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
e1ac187e7c05609969d964b58cef8a99f64fcdc6 | 4,475 | py | Python | tests/test.py | darshanbaral/pyrle | 0278cbe5676a9fe424274a455e28ceaeb98e0724 | [
"MIT"
] | null | null | null | tests/test.py | darshanbaral/pyrle | 0278cbe5676a9fe424274a455e28ceaeb98e0724 | [
"MIT"
] | null | null | null | tests/test.py | darshanbaral/pyrle | 0278cbe5676a9fe424274a455e28ceaeb98e0724 | [
"MIT"
] | null | null | null | import unittest
from parameterized import parameterized
import pandas
import numpy
import pdrle
class TestPdrle(unittest.TestCase):
# test encode
@parameterized.expand([
[pandas.Series(["a", "a", "b", "b", "b", "a", "a", "c"]),
pandas.DataFrame({"vals": ["a", "b", "a", "c"],
... | 47.105263 | 97 | 0.466145 | 631 | 4,475 | 3.237718 | 0.07607 | 0.240822 | 0.032305 | 0.031326 | 0.820852 | 0.799315 | 0.717083 | 0.715614 | 0.687714 | 0.629956 | 0 | 0.058787 | 0.277765 | 4,475 | 94 | 98 | 47.606383 | 0.573329 | 0.010503 | 0 | 0.529412 | 0 | 0 | 0.06014 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 1 | 0.047059 | false | 0 | 0.058824 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1c77e8738fd4837363dd6a976184a81167426e4 | 211 | py | Python | resilient-circuits/tests/__init__.py | COLDTURNIP/resilient-python-api | 14423f1dec32af67f7203c8d4d36d0a9e2651802 | [
"MIT"
] | 28 | 2017-12-22T00:26:59.000Z | 2022-01-22T14:51:33.000Z | resilient-circuits/tests/__init__.py | COLDTURNIP/resilient-python-api | 14423f1dec32af67f7203c8d4d36d0a9e2651802 | [
"MIT"
] | 18 | 2018-03-06T19:04:20.000Z | 2022-03-21T15:06:30.000Z | resilient-circuits/tests/__init__.py | COLDTURNIP/resilient-python-api | 14423f1dec32af67f7203c8d4d36d0a9e2651802 | [
"MIT"
] | 28 | 2018-05-01T17:53:22.000Z | 2022-03-28T09:56:59.000Z | #
from .shared_mock_data import mock_constants, mock_paths
from .shared_mock_data.mock_component import MockInboundAppComponent
from .shared_mock_data.mock_app_function_component import AppFunctionMockComponent
| 42.2 | 82 | 0.900474 | 27 | 211 | 6.592593 | 0.444444 | 0.168539 | 0.235955 | 0.303371 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066351 | 211 | 4 | 83 | 52.75 | 0.903553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
e1c9666917317d59e74a6903c155e861491aff67 | 70,724 | py | Python | tests/mock_api.py | bernard357/plumbery | 4e7a69040f75ad21d35e3119dd9783e665fee122 | [
"Apache-2.0"
] | 2 | 2016-01-14T15:06:32.000Z | 2016-01-29T09:41:07.000Z | tests/mock_api.py | bernard357/plumbery | 4e7a69040f75ad21d35e3119dd9783e665fee122 | [
"Apache-2.0"
] | 7 | 2015-11-26T22:28:45.000Z | 2016-02-10T22:35:56.000Z | tests/mock_api.py | bernard357/plumbery | 4e7a69040f75ad21d35e3119dd9783e665fee122 | [
"Apache-2.0"
] | 8 | 2015-11-25T09:56:07.000Z | 2018-07-03T12:34:27.000Z | import os
from libcloud.utils.py3 import PY3
from libcloud.utils.py3 import u
from libcloud.utils.py3 import httplib
from libcloud.test import MockHttp
try:
from lxml import etree as ET
except ImportError:
from xml.etree import ElementTree as ET
class FileFixtures(object):
def __init__(self):
scri... | 49.113889 | 159 | 0.666916 | 8,338 | 70,724 | 5.346966 | 0.052291 | 0.058542 | 0.059933 | 0.074916 | 0.907454 | 0.89099 | 0.880291 | 0.861741 | 0.852096 | 0.815827 | 0 | 0.079806 | 0.234263 | 70,724 | 1,439 | 160 | 49.148019 | 0.743426 | 0.006476 | 0 | 0.61854 | 0 | 0 | 0.172486 | 0.108334 | 0 | 0 | 0 | 0 | 0.034454 | 1 | 0.124692 | false | 0.001641 | 0.008203 | 0.00082 | 0.266612 | 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 |
beda3b8a8d79ccb2ae6bbdb60c7ba828189148e7 | 33 | py | Python | src/__init__.py | Tygovanommen/relational-database-data-import | 7a4743101228dc4be8a3ec76dc2879ef6523344f | [
"MIT"
] | null | null | null | src/__init__.py | Tygovanommen/relational-database-data-import | 7a4743101228dc4be8a3ec76dc2879ef6523344f | [
"MIT"
] | null | null | null | src/__init__.py | Tygovanommen/relational-database-data-import | 7a4743101228dc4be8a3ec76dc2879ef6523344f | [
"MIT"
] | null | null | null | from src.dbEbgine import dbEbgine | 33 | 33 | 0.878788 | 5 | 33 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bedab2642f36f021563cac9548d9cc3bc49da55f | 29 | py | Python | tests/core/test_pandas.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 1,026 | 2020-03-16T16:53:29.000Z | 2022-03-29T16:03:38.000Z | tests/core/test_pandas.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 102 | 2020-03-18T22:53:29.000Z | 2022-03-22T00:34:46.000Z | tests/core/test_pandas.py | aluhrs13/HPI | e750666e30e8987f3a4c46755857dc85dd64446c | [
"MIT"
] | 50 | 2020-03-17T21:00:34.000Z | 2022-03-28T08:37:13.000Z | from my.core.pandas import *
| 14.5 | 28 | 0.758621 | 5 | 29 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
8300b277a4ee8df0d7731d83c1ec13d9bec52373 | 1,868 | py | Python | python_liftbridge/errors.py | LaPetiteSouris/python-liftbridge | e97f795ae1be8ea871ac032d61464fb91a45973e | [
"Apache-2.0"
] | null | null | null | python_liftbridge/errors.py | LaPetiteSouris/python-liftbridge | e97f795ae1be8ea871ac032d61464fb91a45973e | [
"Apache-2.0"
] | null | null | null | python_liftbridge/errors.py | LaPetiteSouris/python-liftbridge | e97f795ae1be8ea871ac032d61464fb91a45973e | [
"Apache-2.0"
] | 1 | 2020-05-30T13:49:50.000Z | 2020-05-30T13:49:50.000Z | from functools import wraps
import grpc
class ErrNoSuchStream(Exception):
def __init__(self, message=None):
message = message or 'Given stream does not exist'
super().__init__(message)
class ErrStreamExists(Exception):
def __init__(self, message=None):
message = message or 'Given st... | 30.129032 | 75 | 0.604925 | 213 | 1,868 | 5.14554 | 0.300469 | 0.036496 | 0.04927 | 0.104015 | 0.771898 | 0.771898 | 0.771898 | 0.771898 | 0.771898 | 0.771898 | 0 | 0.003026 | 0.292291 | 1,868 | 61 | 76 | 30.622951 | 0.826021 | 0.046574 | 0 | 0.727273 | 0 | 0 | 0.069492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159091 | false | 0 | 0.045455 | 0 | 0.340909 | 0.045455 | 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 |
831f0b158174593e4a01ba0a4e2de5cde05b7c37 | 26 | py | Python | video/__init__.py | mikesmithlab/Video | 7b8b67fde3715b5cbe80d26ff5f6dfbaa04702ca | [
"MIT"
] | null | null | null | video/__init__.py | mikesmithlab/Video | 7b8b67fde3715b5cbe80d26ff5f6dfbaa04702ca | [
"MIT"
] | null | null | null | video/__init__.py | mikesmithlab/Video | 7b8b67fde3715b5cbe80d26ff5f6dfbaa04702ca | [
"MIT"
] | null | null | null | from .opencv_io import *
| 8.666667 | 24 | 0.730769 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.857143 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.