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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
648a4501d473d939e72e3971c0c63e4c5c253da2 | 34 | py | Python | sigcom/__main__.py | dcic/signature-commons-controller | b69c4063235d927da27891e8a30d2822c6768a66 | [
"Apache-2.0"
] | null | null | null | sigcom/__main__.py | dcic/signature-commons-controller | b69c4063235d927da27891e8a30d2822c6768a66 | [
"Apache-2.0"
] | 2 | 2020-06-09T14:52:34.000Z | 2020-11-06T18:02:49.000Z | sigcom/__main__.py | dcic/signature-commons-controller | b69c4063235d927da27891e8a30d2822c6768a66 | [
"Apache-2.0"
] | null | null | null | from sigcom.cli import main
main() | 17 | 27 | 0.794118 | 6 | 34 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 2 | 28 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
64bbd761800292d0813bdc9b13e2cbfd9dcb6e21 | 80 | py | Python | tests/__init__.py | xakiy/falcon-ratelimit | 68bb239f0bbe5c09657dd06d230e9923039beb10 | [
"MIT"
] | 10 | 2018-06-24T08:33:46.000Z | 2022-01-02T14:23:20.000Z | tests/__init__.py | xakiy/falcon-ratelimit | 68bb239f0bbe5c09657dd06d230e9923039beb10 | [
"MIT"
] | 4 | 2018-04-24T12:00:49.000Z | 2021-08-05T14:49:31.000Z | tests/__init__.py | xakiy/falcon-ratelimit | 68bb239f0bbe5c09657dd06d230e9923039beb10 | [
"MIT"
] | 9 | 2018-04-09T10:40:47.000Z | 2020-07-02T13:27:23.000Z | # coding=UTF-8
from __future__ import print_function, absolute_import, division
| 26.666667 | 64 | 0.8375 | 11 | 80 | 5.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.1 | 80 | 2 | 65 | 40 | 0.833333 | 0.15 | 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 | 0 | 1 | 0 | 5 |
64cecd3b99a712aa861b433a62ca164039a43fef | 146 | py | Python | MLSD/__init__.py | HaoranXue/Machine_Learning_For_Structured_Data | 376fb2b78ba5dea4d6214931f6a60e3b4477c883 | [
"MIT"
] | 4 | 2017-09-03T23:09:02.000Z | 2017-09-15T13:01:38.000Z | MLSD/__init__.py | HaoranXue/SDM | 376fb2b78ba5dea4d6214931f6a60e3b4477c883 | [
"MIT"
] | null | null | null | MLSD/__init__.py | HaoranXue/SDM | 376fb2b78ba5dea4d6214931f6a60e3b4477c883 | [
"MIT"
] | null | null | null | '''
SDM is a package for using Series as features
'''
from .StructureData import *
from .StructureDataFrame import *
from .Transformers import *
| 18.25 | 45 | 0.753425 | 18 | 146 | 6.111111 | 0.777778 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 7 | 46 | 20.857143 | 0.901639 | 0.308219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b37f577716d3e926a546fc670e6e43faf9d12dff | 107 | py | Python | tests/test_saltuser.py | saltastro/saltuser | a5c97b15b5c2cbf732fb957c9dd91ac04ac23373 | [
"MIT"
] | null | null | null | tests/test_saltuser.py | saltastro/saltuser | a5c97b15b5c2cbf732fb957c9dd91ac04ac23373 | [
"MIT"
] | null | null | null | tests/test_saltuser.py | saltastro/saltuser | a5c97b15b5c2cbf732fb957c9dd91ac04ac23373 | [
"MIT"
] | null | null | null | """Tests for `salt_user` package."""
def test_content():
"""Bogus test."""
assert True is False
| 13.375 | 36 | 0.607477 | 14 | 107 | 4.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214953 | 107 | 7 | 37 | 15.285714 | 0.75 | 0.392523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3735921e137c8c45657a118872073a5c9c2372b6 | 685 | py | Python | classes/face_type.py | t-maes/Energy | 257c6b4a58af1067880870c828e966ba4c6e7f5d | [
"MIT"
] | null | null | null | classes/face_type.py | t-maes/Energy | 257c6b4a58af1067880870c828e966ba4c6e7f5d | [
"MIT"
] | 13 | 2020-09-17T13:11:22.000Z | 2021-10-16T15:15:47.000Z | classes/face_type.py | t-maes/Energy | 257c6b4a58af1067880870c828e966ba4c6e7f5d | [
"MIT"
] | 2 | 2020-10-03T15:29:50.000Z | 2021-10-04T07:50:35.000Z | from enum import Enum
class FaceType(Enum):
WALL = (0, 'Walls', 'MOD_BUILD', ['M', 'W'], 'wall')
FLOOR = (1, 'Floors', 'TEXTURE', ['S', 'F'], 'floor')
ROOF = (2, 'Roofs', 'LINCURVE', ['T', 'R'], 'roof')
def get_id(self):
return self.value[0]
def get_name(self):
return self.value[... | 23.62069 | 57 | 0.566423 | 93 | 685 | 4.032258 | 0.473118 | 0.096 | 0.186667 | 0.253333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016162 | 0.277372 | 685 | 28 | 58 | 24.464286 | 0.741414 | 0 | 0 | 0 | 0 | 0 | 0.09781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0.25 | 0.85 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
374e05bef352cf6a0bbc2edb924828a0a8f7d3fe | 119 | py | Python | pelican/plugins/gpx_reader/exceptions.py | MinchinWeb/gpx-reader | 772adff6c5803826f130286f8ec078aad7c49508 | [
"MIT"
] | 1 | 2021-06-03T03:35:55.000Z | 2021-06-03T03:35:55.000Z | pelican/plugins/gpx_reader/exceptions.py | MinchinWeb/gpx-reader | 772adff6c5803826f130286f8ec078aad7c49508 | [
"MIT"
] | null | null | null | pelican/plugins/gpx_reader/exceptions.py | MinchinWeb/gpx-reader | 772adff6c5803826f130286f8ec078aad7c49508 | [
"MIT"
] | null | null | null | class TooShortGPXException(ValueError):
"""GPX has less than 2 points, and so won't generate a heatmap cleanly."""
| 39.666667 | 78 | 0.739496 | 17 | 119 | 5.176471 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.159664 | 119 | 2 | 79 | 59.5 | 0.87 | 0.571429 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3769cb9e6e30558704c62fd2397c4328d7099939 | 163 | py | Python | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/hubic/urls.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 1 | 2018-04-06T21:36:59.000Z | 2018-04-06T21:36:59.000Z | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/hubic/urls.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 6 | 2020-06-05T18:44:19.000Z | 2022-01-13T00:48:56.000Z | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/hubic/urls.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 1 | 2022-02-01T17:19:28.000Z | 2022-02-01T17:19:28.000Z | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import HubicProvider
urlpatterns = default_urlpatterns(HubicProvider)
| 27.166667 | 75 | 0.871166 | 17 | 163 | 8.235294 | 0.647059 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.079755 | 163 | 5 | 76 | 32.6 | 0.926667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8067b4374ba41b815a9a3686f3eb5766d004309f | 75 | py | Python | __init__.py | interruping/naver_ai_hackathon_2018_kin_964turon | dfdff75a2a83b3ca71c05f25bc70b16c9d7728f3 | [
"MIT"
] | null | null | null | __init__.py | interruping/naver_ai_hackathon_2018_kin_964turon | dfdff75a2a83b3ca71c05f25bc70b16c9d7728f3 | [
"MIT"
] | null | null | null | __init__.py | interruping/naver_ai_hackathon_2018_kin_964turon | dfdff75a2a83b3ca71c05f25bc70b16c9d7728f3 | [
"MIT"
] | null | null | null |
from .konlpy_set import KinQueryDatasetVer2, preprocess, get_embedding_dim | 37.5 | 74 | 0.88 | 9 | 75 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.08 | 75 | 2 | 74 | 37.5 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
80743b7e8796f67c8ef10fc04ba79b234767738a | 58 | py | Python | clinicadl/tsvtools/restrict/__init__.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 25 | 2021-08-01T05:52:34.000Z | 2022-03-22T04:18:01.000Z | clinicadl/tsvtools/restrict/__init__.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 82 | 2021-07-12T08:28:36.000Z | 2022-03-02T16:12:04.000Z | clinicadl/tsvtools/restrict/__init__.py | Raelag0112/clinicadl | 4b9508ea6bbe5498069b1d76ad2c3636f67e3184 | [
"MIT"
] | 12 | 2021-07-30T08:01:02.000Z | 2022-03-14T11:45:03.000Z | from .restrict import aibl_restriction, oasis_restriction
| 29 | 57 | 0.87931 | 7 | 58 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 58 | 1 | 58 | 58 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
80c177317b86f12b3cc0d167ca3f3fa31354fb1d | 981 | py | Python | parkingsystem/migrations/0016_auto_20180702_1618.py | magaust/jaipurSmartPark | 03430a885f1e98badf852985c5b4ba4db2b3795c | [
"MIT"
] | null | null | null | parkingsystem/migrations/0016_auto_20180702_1618.py | magaust/jaipurSmartPark | 03430a885f1e98badf852985c5b4ba4db2b3795c | [
"MIT"
] | null | null | null | parkingsystem/migrations/0016_auto_20180702_1618.py | magaust/jaipurSmartPark | 03430a885f1e98badf852985c5b4ba4db2b3795c | [
"MIT"
] | 1 | 2018-09-06T17:30:51.000Z | 2018-09-06T17:30:51.000Z | # Generated by Django 2.0.6 on 2018-07-02 10:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('parkingsystem', '0015_auto_20180629_1215'),
]
operations = [
migrations.AlterField(
model_name='parkinglot',
name='l... | 28.852941 | 70 | 0.600408 | 93 | 981 | 6.172043 | 0.430108 | 0.139373 | 0.174216 | 0.202091 | 0.728223 | 0.728223 | 0.642857 | 0.642857 | 0.642857 | 0.642857 | 0 | 0.056115 | 0.291539 | 981 | 33 | 71 | 29.727273 | 0.769784 | 0.045872 | 0 | 0.740741 | 1 | 0 | 0.143469 | 0.071734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
80db105d2fbce95f913926d6c0488904c36ac253 | 694 | py | Python | utils/metrics.py | mhubrich/parkingCV | 258b60d6cdaa57e47b4f2e79c9afc654d0e930fc | [
"MIT"
] | null | null | null | utils/metrics.py | mhubrich/parkingCV | 258b60d6cdaa57e47b4f2e79c9afc654d0e930fc | [
"MIT"
] | null | null | null | utils/metrics.py | mhubrich/parkingCV | 258b60d6cdaa57e47b4f2e79c9afc654d0e930fc | [
"MIT"
] | null | null | null | import numpy as np
import sklearn.metrics
def log_loss(y_true, y_pred):
return sklearn.metrics.log_loss(y_true, y_pred, eps=1e-6)
def accuracy_score(y_true, y_pred):
return sklearn.metrics.accuracy_score(y_true, np.round(y_pred))
def roc_auc_score(y_true, y_pred):
return sklearn.metrics.roc_auc_score(... | 23.931034 | 69 | 0.721902 | 128 | 694 | 3.632813 | 0.226563 | 0.129032 | 0.129032 | 0.215054 | 0.795699 | 0.739785 | 0.688172 | 0.382796 | 0.232258 | 0.232258 | 0 | 0.023609 | 0.145533 | 694 | 28 | 70 | 24.785714 | 0.76054 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
03bc2db31d5b23278c12c999b5cd41ea7128ebff | 276 | py | Python | logging/__init__.py | ligz08/pdqa | b2af027daf544e30d58358de20281d4648322b87 | [
"Apache-2.0"
] | null | null | null | logging/__init__.py | ligz08/pdqa | b2af027daf544e30d58358de20281d4648322b87 | [
"Apache-2.0"
] | null | null | null | logging/__init__.py | ligz08/pdqa | b2af027daf544e30d58358de20281d4648322b87 | [
"Apache-2.0"
] | null | null | null | def make_log_msg(title, status, detail=None, extra=None, sep='::'):
"""
Make a message that looks like this:
Title::status::detail::extra
Any None will be skipped.
"""
strings = [title, status, detail, extra]
return sep.join(filter(None, strings))
| 30.666667 | 67 | 0.644928 | 38 | 276 | 4.631579 | 0.631579 | 0.1875 | 0.289773 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 276 | 8 | 68 | 34.5 | 0.807339 | 0.32971 | 0 | 0 | 0 | 0 | 0.012422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
03d72a96e0bb111eee8bbb9b6df1fc3b8c2f4ed6 | 101 | py | Python | intervalmap/__init__.py | marciogameiro/intervalmap | 2ae87100dc3954a67e62d30f1f7882ea40a0e326 | [
"MIT"
] | null | null | null | intervalmap/__init__.py | marciogameiro/intervalmap | 2ae87100dc3954a67e62d30f1f7882ea40a0e326 | [
"MIT"
] | null | null | null | intervalmap/__init__.py | marciogameiro/intervalmap | 2ae87100dc3954a67e62d30f1f7882ea40a0e326 | [
"MIT"
] | null | null | null | # __init__.py
# Marcio Gameiro
# 2021-01-05
# MIT LICENSE
from intervalmap.PlotIntervalMap import *
| 14.428571 | 41 | 0.762376 | 13 | 101 | 5.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0.148515 | 101 | 6 | 42 | 16.833333 | 0.755814 | 0.485149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
03ff93fc9d98330d3ad870c21f0120ad11f705f7 | 183 | py | Python | bot/reporting/admin.py | psemdel/py-trading-bot | 69da4164b3f6a3ed3e6dc81d5aefc0273b4cb019 | [
"MIT"
] | null | null | null | bot/reporting/admin.py | psemdel/py-trading-bot | 69da4164b3f6a3ed3e6dc81d5aefc0273b4cb019 | [
"MIT"
] | 1 | 2022-02-07T21:13:55.000Z | 2022-02-07T21:13:55.000Z | bot/reporting/admin.py | psemdel/py-trading-bot | 69da4164b3f6a3ed3e6dc81d5aefc0273b4cb019 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.apps import apps
from reporting.models import *
admin.site.register(Report)
admin.site.register(ActionReport)
admin.site.register(Alert)
| 22.875 | 33 | 0.825137 | 26 | 183 | 5.807692 | 0.5 | 0.178808 | 0.337748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 183 | 7 | 34 | 26.142857 | 0.904192 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff0f2f83aeb478e57ecba0e353fdfa1c90342077 | 73 | py | Python | sonos_pi3_controller/bt_pair_controller/__init__.py | kirkden/sonos_pi3_refresh | cfa997f3a26bd7738eef7b685a9c1e037c53ed7e | [
"MIT"
] | 1 | 2021-03-24T15:14:50.000Z | 2021-03-24T15:14:50.000Z | sonos_pi3_controller/bt_pair_controller/__init__.py | kirkden/sonos_pi3_refresh | cfa997f3a26bd7738eef7b685a9c1e037c53ed7e | [
"MIT"
] | null | null | null | sonos_pi3_controller/bt_pair_controller/__init__.py | kirkden/sonos_pi3_refresh | cfa997f3a26bd7738eef7b685a9c1e037c53ed7e | [
"MIT"
] | null | null | null |
from .bt_pair_controller import set_bt_pairing, update_bt_device_config
| 24.333333 | 71 | 0.890411 | 12 | 73 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 73 | 2 | 72 | 36.5 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
206543d34f0f4d7d479c2636f88d0e4e3752b2f7 | 90 | py | Python | enthought/envisage/plugin_event.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/plugin_event.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/plugin_event.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.plugin_event import *
| 22.5 | 38 | 0.844444 | 12 | 90 | 5.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 3 | 39 | 30 | 0.886076 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2068c0e986090c60cdb370c89725baad0a37fb2d | 83 | py | Python | python/tests/transducer_test.py | DevL/trancedeuce | a1daea44fd8b30f6392dc8ef0724432bef2a99a9 | [
"MIT"
] | null | null | null | python/tests/transducer_test.py | DevL/trancedeuce | a1daea44fd8b30f6392dc8ef0724432bef2a99a9 | [
"MIT"
] | null | null | null | python/tests/transducer_test.py | DevL/trancedeuce | a1daea44fd8b30f6392dc8ef0724432bef2a99a9 | [
"MIT"
] | null | null | null | from transducer import Transducer
def test_transducer():
Transducer
pass
| 11.857143 | 33 | 0.746988 | 9 | 83 | 6.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 83 | 6 | 34 | 13.833333 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
206fa5a515032d90fcee492996c5a515f42a29c6 | 56 | py | Python | enthought/pyface/ui/qt4/python_shell.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/ui/qt4/python_shell.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/ui/qt4/python_shell.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.ui.qt4.python_shell import *
| 18.666667 | 40 | 0.785714 | 9 | 56 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.125 | 56 | 2 | 41 | 28 | 0.857143 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
20eec783eef37492901442687717aaffec487075 | 48 | py | Python | onebarangay_psql/statistics/__init__.py | PrynsTag/oneBarangay-PostgreSQL | 11d7b97b57603f4c88948905560a22a5314409ce | [
"Apache-2.0"
] | null | null | null | onebarangay_psql/statistics/__init__.py | PrynsTag/oneBarangay-PostgreSQL | 11d7b97b57603f4c88948905560a22a5314409ce | [
"Apache-2.0"
] | 43 | 2022-02-07T00:18:35.000Z | 2022-03-21T04:42:48.000Z | onebarangay_psql/statistics/__init__.py | PrynsTag/oneBarangay-PostgreSQL | 11d7b97b57603f4c88948905560a22a5314409ce | [
"Apache-2.0"
] | null | null | null | """Default init file for statistics package."""
| 24 | 47 | 0.729167 | 6 | 48 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.833333 | 0.854167 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4583c54cfccd1fb3b1fb1dbcb0947ff6d8d1c59a | 458 | py | Python | Modulo 1/009.py | thiago19maciel/Exercicios-em-Python | 0d46816caf655c6e870510bb1136964854fc875f | [
"MIT"
] | 1 | 2022-03-22T22:36:48.000Z | 2022-03-22T22:36:48.000Z | Modulo 1/009.py | thiago19maciel/Exercicios-em-Python | 0d46816caf655c6e870510bb1136964854fc875f | [
"MIT"
] | null | null | null | Modulo 1/009.py | thiago19maciel/Exercicios-em-Python | 0d46816caf655c6e870510bb1136964854fc875f | [
"MIT"
] | null | null | null | numero = int(input('Tabuada do '))
print(f'{numero} X 0 = {numero*0}')
print(f'{numero} X 1 = {numero*1}')
print(f'{numero} X 2 = {numero*2}')
print(f'{numero} X 3 = {numero*3}')
print(f'{numero} X 4 = {numero*4}')
print(f'{numero} X 5 = {numero*5}')
print(f'{numero} X 6 = {numero*6}')
print(f'{numero} X ... | 38.166667 | 39 | 0.558952 | 82 | 458 | 3.121951 | 0.231707 | 0.257813 | 0.515625 | 0.558594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064343 | 0.18559 | 458 | 12 | 40 | 38.166667 | 0.621984 | 0 | 0 | 0 | 0 | 0 | 0.684096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.916667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
45d7b22d2dda2ca5aca71ca725c9ff79916acd55 | 44 | py | Python | src/fractal/world/_op/end/state.py | jedhsu/fractal | 97833ddc5063fae72352cf590738fef508c02f0c | [
"MIT"
] | null | null | null | src/fractal/world/_op/end/state.py | jedhsu/fractal | 97833ddc5063fae72352cf590738fef508c02f0c | [
"MIT"
] | null | null | null | src/fractal/world/_op/end/state.py | jedhsu/fractal | 97833ddc5063fae72352cf590738fef508c02f0c | [
"MIT"
] | null | null | null | class EndState(metaclass=ABCMeta):
pass
| 14.666667 | 34 | 0.75 | 5 | 44 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 35 | 22 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
aff947dc66ce74ed37d4f50fea9cb7f0759c0e8a | 152 | py | Python | python/testData/pyi/type/comparisonOperatorOverloads/lib.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/pyi/type/comparisonOperatorOverloads/lib.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/pyi/type/comparisonOperatorOverloads/lib.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class MyClass:
def __init__(self, *args):
pass
def __lt__(self, other):
pass
def __gt__(self, other):
return True
| 15.2 | 30 | 0.559211 | 18 | 152 | 4.055556 | 0.666667 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.348684 | 152 | 9 | 31 | 16.888889 | 0.737374 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.285714 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
b36f756e8c02928780345bf238c0fd02acb4022d | 37 | py | Python | pyautoeasy/__main__.py | SaranshBaniyal/pyautoeasy | 22d7cf556fd05f94a1a5806ce731011523779ef5 | [
"MIT"
] | 4 | 2021-10-10T18:20:49.000Z | 2021-12-06T18:38:59.000Z | pyautoeasy/__main__.py | SaranshBaniyal/pyautoeasy | 22d7cf556fd05f94a1a5806ce731011523779ef5 | [
"MIT"
] | 8 | 2021-10-10T18:05:28.000Z | 2021-12-07T03:37:45.000Z | pyautoeasy/__main__.py | SaranshBaniyal/pyautoeasy | 22d7cf556fd05f94a1a5806ce731011523779ef5 | [
"MIT"
] | 5 | 2021-10-11T13:41:15.000Z | 2021-12-27T15:02:31.000Z | from pyautoeasy import cli
cli.main() | 18.5 | 26 | 0.810811 | 6 | 37 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 2 | 27 | 18.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2fb2fdfa61351569e57447f454e2aeffc1bbdbb3 | 104 | py | Python | crud/crudexample/admin.py | Neeraj2701/numpy | bbc3167427eb8ecafeee3c5c9606b3532405dd96 | [
"BSD-3-Clause"
] | null | null | null | crud/crudexample/admin.py | Neeraj2701/numpy | bbc3167427eb8ecafeee3c5c9606b3532405dd96 | [
"BSD-3-Clause"
] | null | null | null | crud/crudexample/admin.py | Neeraj2701/numpy | bbc3167427eb8ecafeee3c5c9606b3532405dd96 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from crudexample.models import employee
admin.site.register(employee)
| 20.8 | 39 | 0.846154 | 14 | 104 | 6.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 104 | 4 | 40 | 26 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2fd0cfd1e79c1ace8d687b73297ea9d7a24a0964 | 79 | py | Python | pdr/__init__.py | jmzhao/CS704-asn3 | 95020c5198e50d520f34e51dbc77e195c06e6473 | [
"MIT"
] | null | null | null | pdr/__init__.py | jmzhao/CS704-asn3 | 95020c5198e50d520f34e51dbc77e195c06e6473 | [
"MIT"
] | 1 | 2016-05-14T04:08:55.000Z | 2016-05-14T07:20:30.000Z | pdr/__init__.py | jmzhao/CS704-asn3 | 95020c5198e50d520f34e51dbc77e195c06e6473 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@author: jmzhao
"""
from pdr import *
import test | 11.285714 | 23 | 0.56962 | 10 | 79 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.202532 | 79 | 7 | 24 | 11.285714 | 0.698413 | 0.481013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2ffd633c035e5b8a5c7381b18155f86b65f423e0 | 295 | py | Python | common/common/utils/uuid.py | ravirahman/sancus | 6563852b98edeb1068574e2d99e1fc18b815bee3 | [
"MIT"
] | 2 | 2022-03-17T04:50:20.000Z | 2022-03-17T04:51:31.000Z | common/common/utils/uuid.py | ravirahman/sancus | 6563852b98edeb1068574e2d99e1fc18b815bee3 | [
"MIT"
] | null | null | null | common/common/utils/uuid.py | ravirahman/sancus | 6563852b98edeb1068574e2d99e1fc18b815bee3 | [
"MIT"
] | null | null | null | import uuid
def generate_uuid4() -> uuid.UUID:
return _generate_uuid4()
def _generate_uuid4() -> uuid.UUID:
# Defined as a private method for easy monkeypatching
return uuid.uuid4()
def bytes_to_uuid(data: bytes) -> uuid.UUID:
return uuid.UUID(bytes=data.rjust(16, b"\0"))
| 19.666667 | 57 | 0.698305 | 43 | 295 | 4.627907 | 0.488372 | 0.160804 | 0.160804 | 0.201005 | 0.241206 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028926 | 0.179661 | 295 | 14 | 58 | 21.071429 | 0.793388 | 0.172881 | 0 | 0 | 1 | 0 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2fffeecfd74fb3b321b898239e5f0a7ba37a7a1d | 52 | py | Python | keras/optimizers/schedules/__init__.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 5 | 2020-11-30T22:26:03.000Z | 2020-12-01T22:34:25.000Z | keras/optimizers/schedules/__init__.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 10 | 2020-12-01T22:55:29.000Z | 2020-12-11T18:31:46.000Z | keras/optimizers/schedules/__init__.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 15 | 2020-11-30T22:12:22.000Z | 2020-12-09T01:32:48.000Z | from tensorflow.keras.optimizers.schedules import *
| 26 | 51 | 0.846154 | 6 | 52 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
64013de2423b6eda7583c7954f2421b985fdc3cf | 1,874 | py | Python | src/ch6-routing/start/pypi_routing/pypi/controllers/packages_controller.py | bkraft4257/data-driven-web-apps-with-pyramid-and-sqlalchemy | 4943eb3d13c0df3c1b371efafb04e5ca41d97254 | [
"MIT"
] | null | null | null | src/ch6-routing/start/pypi_routing/pypi/controllers/packages_controller.py | bkraft4257/data-driven-web-apps-with-pyramid-and-sqlalchemy | 4943eb3d13c0df3c1b371efafb04e5ca41d97254 | [
"MIT"
] | null | null | null | src/ch6-routing/start/pypi_routing/pypi/controllers/packages_controller.py | bkraft4257/data-driven-web-apps-with-pyramid-and-sqlalchemy | 4943eb3d13c0df3c1b371efafb04e5ca41d97254 | [
"MIT"
] | null | null | null | from pyramid.view import view_config
from pyramid.request import Request
import pyramid.httpexceptions as x
# /project/{package_name}/
@view_config(route_name='package_details',
renderer='pypi:templates/packages/details.pt')
@view_config(route_name='package_details/',
renderer='pypi:template... | 28.830769 | 60 | 0.680363 | 218 | 1,874 | 5.646789 | 0.183486 | 0.178716 | 0.073111 | 0.092608 | 0.748172 | 0.748172 | 0.71974 | 0.717303 | 0.717303 | 0.683997 | 0 | 0.002647 | 0.193703 | 1,874 | 64 | 61 | 29.28125 | 0.812045 | 0.084845 | 0 | 0.553191 | 0 | 0 | 0.25512 | 0.120538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.06383 | 0 | 0.234043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
641a91dbdedae51a3e67ba706dca460ad4205d27 | 169 | py | Python | metrics/admin.py | tp00012x/bobs_banana_stand | 0ae167b1bb124408770924dcb3660760da2d715c | [
"MIT"
] | null | null | null | metrics/admin.py | tp00012x/bobs_banana_stand | 0ae167b1bb124408770924dcb3660760da2d715c | [
"MIT"
] | 6 | 2021-03-18T22:01:48.000Z | 2022-02-10T07:19:13.000Z | metrics/admin.py | tp00012x/bobs_banana_stand | 0ae167b1bb124408770924dcb3660760da2d715c | [
"MIT"
] | null | null | null | from django.contrib import admin
from metrics.models import InventoryProduct
class InventoryAdmin(admin.ModelAdmin):
pass
admin.site.register(InventoryProduct)
| 15.363636 | 43 | 0.816568 | 19 | 169 | 7.263158 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 169 | 10 | 44 | 16.9 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
ff3313d7fbbaa4f483d5adc2ada397adb8303dc3 | 113 | py | Python | References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Gases/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Gases/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Gases/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null |
# classes
from Air import Air
from CO2 import CO2
from Steam import Steam
from Gas import Gas
# packages
# ...
| 11.3 | 23 | 0.734513 | 18 | 113 | 4.611111 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.212389 | 113 | 9 | 24 | 12.555556 | 0.910112 | 0.176991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ff38954f361ab1c6d35db5a48ef989d7e38199c8 | 600 | bzl | Python | source/bazel/deps/emsdk/get.bzl | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 1 | 2019-01-06T08:45:46.000Z | 2019-01-06T08:45:46.000Z | source/bazel/deps/emsdk/get.bzl | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 264 | 2015-11-30T08:34:00.000Z | 2018-06-26T02:28:41.000Z | source/bazel/deps/emsdk/get.bzl | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | null | null | null | # Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
def emsdk():
http_archive(
name = "emsdk",
sha256 = "c9eb... | 37.5 | 103 | 0.718333 | 61 | 600 | 6.918033 | 0.655738 | 0.042654 | 0.066351 | 0.090047 | 0.203791 | 0.203791 | 0.203791 | 0.203791 | 0.203791 | 0.203791 | 0 | 0.204771 | 0.161667 | 600 | 15 | 104 | 40 | 0.634195 | 0.168333 | 0 | 0 | 1 | 0 | 0.641129 | 0.41129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ff5751a849108f15acfede92c3f26ffa54292d1b | 722 | py | Python | tests/conftest.py | haizaar/configmanager | 674bce2ec1ac2528588aa7bc1407b545f2264dbc | [
"MIT"
] | 13 | 2017-05-13T13:33:27.000Z | 2022-02-03T14:37:50.000Z | tests/conftest.py | haizaar/configmanager | 674bce2ec1ac2528588aa7bc1407b545f2264dbc | [
"MIT"
] | 118 | 2017-05-06T22:58:01.000Z | 2018-12-03T10:23:38.000Z | tests/conftest.py | haizaar/configmanager | 674bce2ec1ac2528588aa7bc1407b545f2264dbc | [
"MIT"
] | 4 | 2018-05-30T03:08:05.000Z | 2019-05-09T02:06:48.000Z | import collections
import pytest
from configmanager import Config, PlainConfig
@pytest.fixture
def simple_config():
return Config([
('uploads', collections.OrderedDict([
('enabled', False),
('threads', 1),
('db', collections.OrderedDict([
('user', 'root... | 21.878788 | 45 | 0.477839 | 51 | 722 | 6.72549 | 0.45098 | 0.25656 | 0.093294 | 0.209913 | 0.553936 | 0.553936 | 0.553936 | 0.553936 | 0.553936 | 0.553936 | 0 | 0.004348 | 0.362881 | 722 | 32 | 46 | 22.5625 | 0.741304 | 0 | 0 | 0.740741 | 0 | 0 | 0.124654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | true | 0.074074 | 0.111111 | 0.074074 | 0.259259 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ff628418c4c9d99f04b445fd71df0016faf4b958 | 2,995 | py | Python | Sem7/CS6370_Information_Retrieval/assignment_2/part2.py | akileshbadrinaaraayanan/IITH | 955e07af01ba2002f8efe9a4644395fc4e7a46d1 | [
"MIT"
] | 2 | 2018-02-21T22:46:54.000Z | 2020-01-07T16:03:10.000Z | Sem7/CS6370_Information_Retrieval/assignment_2/part2.py | akileshbadrinaaraayanan/IITH | 955e07af01ba2002f8efe9a4644395fc4e7a46d1 | [
"MIT"
] | null | null | null | Sem7/CS6370_Information_Retrieval/assignment_2/part2.py | akileshbadrinaaraayanan/IITH | 955e07af01ba2002f8efe9a4644395fc4e7a46d1 | [
"MIT"
] | 3 | 2018-05-08T01:57:11.000Z | 2021-04-21T22:49:00.000Z | """
This module demonstrates finding the top K,median K and least K terms
in the inverted index based on their document frequency
"""
import numpy as np
from part1 import createindexes
def get_topk(invertedindex):
"""
This function outputs the top k terms with highest document frequency.
It takes the invert... | 37.911392 | 100 | 0.635392 | 392 | 2,995 | 4.818878 | 0.201531 | 0.04288 | 0.059291 | 0.04235 | 0.787718 | 0.716781 | 0.716781 | 0.716781 | 0.716781 | 0.695606 | 0 | 0.013626 | 0.240401 | 2,995 | 78 | 101 | 38.397436 | 0.816703 | 0.278798 | 0 | 0.5625 | 0 | 0 | 0.079672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.041667 | 0 | 0.104167 | 0.229167 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
443e9ab7bbad66ea70cd4a40efdfc77e47bdb161 | 63 | py | Python | test.py | emmatysinger/test | e1946f46b492370bad07c601c1d12d62043a8461 | [
"MIT"
] | null | null | null | test.py | emmatysinger/test | e1946f46b492370bad07c601c1d12d62043a8461 | [
"MIT"
] | null | null | null | test.py | emmatysinger/test | e1946f46b492370bad07c601c1d12d62043a8461 | [
"MIT"
] | null | null | null | # python file: test.py
print("This is my first python program") | 31.5 | 40 | 0.746032 | 11 | 63 | 4.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 2 | 40 | 31.5 | 0.87037 | 0.31746 | 0 | 0 | 0 | 0 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4453f380fc213caa0d80109b5bcb911e30dcaa44 | 233 | py | Python | django_iris/validation.py | nickmitchko/django-iris | 2eb59553e554ad022b96bd37921f7f35bbb64e38 | [
"MIT"
] | 2 | 2022-02-23T12:46:23.000Z | 2022-02-27T22:14:36.000Z | django_iris/validation.py | nickmitchko/django-iris | 2eb59553e554ad022b96bd37921f7f35bbb64e38 | [
"MIT"
] | 3 | 2022-03-19T02:04:51.000Z | 2022-03-19T19:15:55.000Z | django_iris/validation.py | nickmitchko/django-iris | 2eb59553e554ad022b96bd37921f7f35bbb64e38 | [
"MIT"
] | 3 | 2022-02-15T14:08:45.000Z | 2022-03-19T17:05:37.000Z | from django.db.backends.base.validation import BaseDatabaseValidation
class DatabaseValidation(BaseDatabaseValidation):
def check(self, **kwargs):
return []
def check_field(self, field, **kwargs):
return []
| 25.888889 | 69 | 0.712446 | 23 | 233 | 7.173913 | 0.695652 | 0.09697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184549 | 233 | 8 | 70 | 29.125 | 0.868421 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
922e25c5c3aba311e0beb70dcaf014c52bc03e0f | 221 | py | Python | eyey/constants.py | dincamihai/eyey | 146c75a1c8b4f3da6ced57b4fee43ba3315052e0 | [
"Apache-2.0"
] | null | null | null | eyey/constants.py | dincamihai/eyey | 146c75a1c8b4f3da6ced57b4fee43ba3315052e0 | [
"Apache-2.0"
] | null | null | null | eyey/constants.py | dincamihai/eyey | 146c75a1c8b4f3da6ced57b4fee43ba3315052e0 | [
"Apache-2.0"
] | null | null | null | IMPORTANT = b'important'
NOT_IMPORTANT = b'not-important'
SHOULD_BE_IMPORTANT = b'should-be-important'
SHOULD_BE_NOT_IMPORTANT = b'should-be-not-important'
RETRAIN = b'retrain'
RELABEL = b'relabel'
DELETED = b'\\Deleted'
| 27.625 | 52 | 0.773756 | 33 | 221 | 5 | 0.242424 | 0.242424 | 0.157576 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095023 | 221 | 7 | 53 | 31.571429 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.393665 | 0.104072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
92589690e29dd174295e61558264b2f4a3b4282f | 244 | py | Python | woodwork/tests/test_cli.py | not-so-rabh/woodwork | 18e44c371e77ebc41baae57289bfc4fd1804b122 | [
"BSD-3-Clause"
] | null | null | null | woodwork/tests/test_cli.py | not-so-rabh/woodwork | 18e44c371e77ebc41baae57289bfc4fd1804b122 | [
"BSD-3-Clause"
] | 13 | 2021-03-04T19:26:15.000Z | 2022-01-21T10:49:07.000Z | woodwork/tests/test_cli.py | RG4421/woodwork | 739b4e7e4b7eccbd5772251d294523240f10664e | [
"BSD-3-Clause"
] | null | null | null | import subprocess
def test_list_logical_types():
subprocess.check_output(['python', '-m', 'woodwork', 'list-logical-types'])
def test_list_semantic_tags():
subprocess.check_output(['python', '-m', 'woodwork', 'list-semantic-tags'])
| 24.4 | 79 | 0.713115 | 30 | 244 | 5.533333 | 0.466667 | 0.084337 | 0.13253 | 0.325301 | 0.481928 | 0.481928 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 244 | 9 | 80 | 27.111111 | 0.761468 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
928bb066d36b361a796df63bf40e98b8b8f26f01 | 88 | py | Python | pytest_relaxed/__init__.py | cclauss/pytest-relaxed | 2f6f83b35af312ce8f34686af79e7fdb7ca23726 | [
"BSD-2-Clause"
] | 24 | 2017-04-06T22:09:33.000Z | 2022-03-26T14:06:38.000Z | pytest_relaxed/__init__.py | cclauss/pytest-relaxed | 2f6f83b35af312ce8f34686af79e7fdb7ca23726 | [
"BSD-2-Clause"
] | 14 | 2017-11-15T18:53:17.000Z | 2021-12-13T23:25:38.000Z | pytest_relaxed/__init__.py | cclauss/pytest-relaxed | 2f6f83b35af312ce8f34686af79e7fdb7ca23726 | [
"BSD-2-Clause"
] | 8 | 2017-05-24T20:21:31.000Z | 2022-03-10T05:58:26.000Z | # Convenience imports.
# flake8: noqa
from .trap import trap
from .raises import raises
| 17.6 | 26 | 0.772727 | 12 | 88 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.159091 | 88 | 4 | 27 | 22 | 0.905405 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
92a06ec22b5b18f54c6edc08711413ab59ced176 | 199 | py | Python | mountain/db.py | tehmaze-labs/mountain | f9fc9d66b3bd525b771acc2d76e36aaf405dc51a | [
"MIT"
] | 2 | 2019-09-22T15:33:55.000Z | 2022-02-20T09:34:12.000Z | mountain/db.py | tehmaze-labs/mountain | f9fc9d66b3bd525b771acc2d76e36aaf405dc51a | [
"MIT"
] | null | null | null | mountain/db.py | tehmaze-labs/mountain | f9fc9d66b3bd525b771acc2d76e36aaf405dc51a | [
"MIT"
] | null | null | null | # Import SQLAlchemy
from flask.ext.sqlalchemy import SQLAlchemy
# Import Flask
from .app import app
# Define the database object which is imported
# by modules and controllers
db = SQLAlchemy(app)
| 19.9 | 46 | 0.788945 | 28 | 199 | 5.607143 | 0.642857 | 0.203822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160804 | 199 | 9 | 47 | 22.111111 | 0.94012 | 0.512563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2b8d41aecdba1cd7987f459d5c39928afa74674b | 159 | py | Python | authors/apps/articles/admin.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/admin.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 26 | 2019-01-07T14:22:05.000Z | 2019-02-28T17:11:48.000Z | authors/apps/articles/admin.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 3 | 2019-09-19T22:16:09.000Z | 2019-10-16T21:16:16.000Z | from django.contrib import admin
from .models import Article ,Comment
# Register your models here.
admin.site.register(Article)
admin.site.register(Comment)
| 19.875 | 36 | 0.805031 | 22 | 159 | 5.818182 | 0.545455 | 0.140625 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 159 | 7 | 37 | 22.714286 | 0.907801 | 0.163522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9206913a1d8d9352764326bb25d5c5ac08420277 | 86 | py | Python | pyrosetta_help/chain_ops/__init__.py | matteoferla/pyrosetta_help | 6ef96455dfd389b2a8bbccfc81159737430878b9 | [
"MIT"
] | 7 | 2021-04-28T14:09:30.000Z | 2022-02-14T04:41:49.000Z | pyrosetta_help/chain_ops/__init__.py | matteoferla/pyrosetta_help | 6ef96455dfd389b2a8bbccfc81159737430878b9 | [
"MIT"
] | null | null | null | pyrosetta_help/chain_ops/__init__.py | matteoferla/pyrosetta_help | 6ef96455dfd389b2a8bbccfc81159737430878b9 | [
"MIT"
] | 3 | 2021-09-14T14:05:47.000Z | 2022-01-25T22:50:19.000Z | from .chain_ops import ChainOps
from .transmogrifier import Transmogrifier, Murinizer
| 28.666667 | 53 | 0.860465 | 10 | 86 | 7.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 86 | 2 | 54 | 43 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a64342d6282acb3e5c3a1da43389d3370a406889 | 17,804 | py | Python | venv/lib/python3.8/site-packages/azureml/_restclient/operations/assets_operations.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_restclient/operations/assets_operations.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_restclient/operations/assets_operations.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | 2 | 2021-05-23T16:46:31.000Z | 2021-05-26T23:51:09.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator 2.3.3... | 44.621554 | 242 | 0.645024 | 1,872 | 17,804 | 5.987714 | 0.113248 | 0.034793 | 0.025694 | 0.010706 | 0.778928 | 0.755286 | 0.740476 | 0.721831 | 0.709608 | 0.709608 | 0 | 0.004479 | 0.260166 | 17,804 | 398 | 243 | 44.733668 | 0.846493 | 0.364132 | 0 | 0.63125 | 0 | 0.03125 | 0.174149 | 0.084671 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0375 | false | 0 | 0.0125 | 0 | 0.11875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a64902e3f8f932d8557295852469583d5b782d2c | 233 | py | Python | src/basestation/const.py | jariz/basestation | 090acf2880e10a08667de85feab0fc3bdb375ada | [
"MIT"
] | 2 | 2021-07-04T11:39:44.000Z | 2022-01-20T18:57:53.000Z | src/basestation/const.py | jariz/basestation | 090acf2880e10a08667de85feab0fc3bdb375ada | [
"MIT"
] | null | null | null | src/basestation/const.py | jariz/basestation | 090acf2880e10a08667de85feab0fc3bdb375ada | [
"MIT"
] | null | null | null | SERVICE = "00001523-1212-efde-1523-785feabcd124"
PWR_CHARACTERISTIC = "00001525-1212-EFDE-1523-785FEABCD124"
IDENTIFY_CHARACTERISTIC = "00008421-1212-EFDE-1523-785FEABCD124"
PWR_ON = b"\x01"
PWR_STANDBY = b"\x00"
NAME_SUFFIX = "LHB-" | 38.833333 | 64 | 0.785408 | 31 | 233 | 5.741935 | 0.612903 | 0.134831 | 0.202247 | 0.404494 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324074 | 0.072961 | 233 | 6 | 65 | 38.833333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.512821 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a667624b7f6ad6a76fa1c32f9b8be7619f67e985 | 92 | py | Python | test.py | towarischtsch/siproll | e3efd5f874d8ccb2c89a2947418759e447403861 | [
"MIT"
] | 1 | 2020-08-07T00:32:21.000Z | 2020-08-07T00:32:21.000Z | test.py | towarischtsch/siproll | e3efd5f874d8ccb2c89a2947418759e447403861 | [
"MIT"
] | null | null | null | test.py | towarischtsch/siproll | e3efd5f874d8ccb2c89a2947418759e447403861 | [
"MIT"
] | null | null | null | import siproll
import sys
siproll.do_call("sip:"+ sys.argv[1] + "@voip.eventphone.de", 60)
| 18.4 | 64 | 0.706522 | 15 | 92 | 4.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.108696 | 92 | 4 | 65 | 23 | 0.743902 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a69710ab18965d75ae34f2d798ed7836b803b1f0 | 922 | py | Python | mpf/tests/test_SegmentMappings.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 163 | 2015-01-25T02:19:50.000Z | 2022-03-26T12:00:28.000Z | mpf/tests/test_SegmentMappings.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 1,086 | 2015-03-23T19:53:17.000Z | 2022-03-24T20:46:11.000Z | mpf/tests/test_SegmentMappings.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 148 | 2015-01-28T02:31:39.000Z | 2022-03-22T13:54:01.000Z | import unittest
from mpf.core.segment_mappings import TextToSegmentMapper, BCD_SEGMENTS
class TestSegmentDisplay(unittest.TestCase):
def test_text_to_mapping(self):
mapping = TextToSegmentMapper.map_text_to_segments("1337.23", 10, BCD_SEGMENTS, embed_dots=True)
self.assertEqual(
[BCD... | 40.086957 | 105 | 0.651844 | 115 | 922 | 4.921739 | 0.330435 | 0.330389 | 0.24735 | 0.132509 | 0.742049 | 0.742049 | 0.742049 | 0.715548 | 0.542403 | 0.404594 | 0 | 0.034106 | 0.204989 | 922 | 22 | 106 | 41.909091 | 0.738063 | 0 | 0 | 0.235294 | 0 | 0 | 0.02603 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a6998e877e1ced03d03d52f574560425b5d5faf2 | 181 | py | Python | src/Model/MetaCommand.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | src/Model/MetaCommand.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | src/Model/MetaCommand.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | class MetaCommand:
def __init__(self, commands):
self.commands = commands
def execute(self):
raise NotImplementedError
def undo(self):
raise NotImplementedError
| 18.1 | 31 | 0.729282 | 19 | 181 | 6.736842 | 0.526316 | 0.1875 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198895 | 181 | 9 | 32 | 20.111111 | 0.882759 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a6a1b27bb26aacef5997572d868b16e29265fa5b | 138 | wsgi | Python | vagrant/catalog/app.wsgi | jcarter62/udacity-fs-p5 | e4760085d93c5ee71fd182c9d118c1d9b258c2b2 | [
"MIT"
] | null | null | null | vagrant/catalog/app.wsgi | jcarter62/udacity-fs-p5 | e4760085d93c5ee71fd182c9d118c1d9b258c2b2 | [
"MIT"
] | null | null | null | vagrant/catalog/app.wsgi | jcarter62/udacity-fs-p5 | e4760085d93c5ee71fd182c9d118c1d9b258c2b2 | [
"MIT"
] | null | null | null | #!/user/bin/python
import os
import sys
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from app import app as application
| 23 | 62 | 0.775362 | 24 | 138 | 4.291667 | 0.666667 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.094203 | 138 | 5 | 63 | 27.6 | 0.816 | 0.123188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a6a6da1aacb22fe0b4ee83f5a841d6a9da85c4fa | 122 | py | Python | schemaless/orm/__init__.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 58 | 2015-04-30T07:36:45.000Z | 2022-01-20T03:37:09.000Z | schemaless/orm/__init__.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 1 | 2016-01-19T05:28:15.000Z | 2016-01-19T05:28:15.000Z | schemaless/orm/__init__.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 14 | 2015-04-14T09:10:53.000Z | 2020-05-09T01:53:17.000Z | from session import Session
from index import Index
from column import *
from document import make_base
import converters
| 20.333333 | 30 | 0.844262 | 18 | 122 | 5.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 5 | 31 | 24.4 | 0.980769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a6c957005a98e765219391600b7a9ac65ec97743 | 2,036 | py | Python | new.py | EvanBot/nw | ca65aa90b38074c2dbefe16ad4dabd6d7849b9f6 | [
"Apache-2.0"
] | 1 | 2021-08-19T22:24:11.000Z | 2021-08-19T22:24:11.000Z | new.py | EvanBot/nw | ca65aa90b38074c2dbefe16ad4dabd6d7849b9f6 | [
"Apache-2.0"
] | null | null | null | new.py | EvanBot/nw | ca65aa90b38074c2dbefe16ad4dabd6d7849b9f6 | [
"Apache-2.0"
] | 3 | 2021-08-31T08:17:01.000Z | 2021-09-26T13:18:32.000Z |
import time
import socket
import random
import sys
def usage():
print "dP dP dP a88888b. dP 888888ba dP dP"
print "88 88 88 d8' `88 88 ... | 46.272727 | 163 | 0.534872 | 252 | 2,036 | 4.27381 | 0.369048 | 0.193129 | 0.245125 | 0.274838 | 0.103064 | 0.103064 | 0.103064 | 0.103064 | 0.085422 | 0.061281 | 0 | 0.230592 | 0.361002 | 2,036 | 43 | 164 | 47.348837 | 0.597233 | 0.063851 | 0 | 0.058824 | 0 | 0.117647 | 0.602315 | 0.079432 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.029412 | 0.117647 | null | null | 0.294118 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a6e5ad4f3536035649df76c9f5e0929300f042e7 | 243 | py | Python | yui_loader/tests/views.py | papuapost/django-yui-loader | db3ce8197f6295b003d81cf2c55715aa11e22f9c | [
"BSD-3-Clause"
] | 1 | 2016-05-09T10:02:46.000Z | 2016-05-09T10:02:46.000Z | yui_loader/tests/views.py | akaihola/django-yui-loader | f5344344279d666f2f29dd7d3366dfce1897eca6 | [
"BSD-3-Clause"
] | null | null | null | yui_loader/tests/views.py | akaihola/django-yui-loader | f5344344279d666f2f29dd7d3366dfce1897eca6 | [
"BSD-3-Clause"
] | 1 | 2021-01-26T04:13:30.000Z | 2021-01-26T04:13:30.000Z | from django.template import RequestContext
from django.shortcuts import render_to_response
def test_yui_include(request):
return render_to_response(
'yui/tests/test-yui-include.html',
{},
RequestContext(request))
| 24.3 | 47 | 0.73251 | 29 | 243 | 5.931034 | 0.586207 | 0.116279 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 243 | 9 | 48 | 27 | 0.868687 | 0 | 0 | 0 | 0 | 0 | 0.128099 | 0.128099 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4716e8dc731b778858ae5d8316051f6d4d545541 | 47 | py | Python | src/zope/hookable/tests/__init__.py | prakritichauhan07/zope.hookable | 3c4ae8ddc9c4a2819e4e8e0c4e23394daebb7669 | [
"ZPL-2.1"
] | 4 | 2021-02-20T06:00:01.000Z | 2022-01-07T20:37:37.000Z | src/zope/hookable/tests/__init__.py | prakritichauhan07/zope.hookable | 3c4ae8ddc9c4a2819e4e8e0c4e23394daebb7669 | [
"ZPL-2.1"
] | 2 | 2020-04-30T13:03:09.000Z | 2021-05-05T10:20:15.000Z | src/zope/hookable/tests/__init__.py | prakritichauhan07/zope.hookable | 3c4ae8ddc9c4a2819e4e8e0c4e23394daebb7669 | [
"ZPL-2.1"
] | 5 | 2020-05-07T08:14:36.000Z | 2022-03-24T15:15:08.000Z | # This line required to prevent an empty file.
| 23.5 | 46 | 0.765957 | 8 | 47 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 1 | 47 | 47 | 0.947368 | 0.93617 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47232224564cdd8a5caa75cbc4ac2385651ab18d | 96 | py | Python | venv/lib/python3.8/site-packages/cachecontrol/serialize.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cachecontrol/serialize.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cachecontrol/serialize.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/97/d1/9c/0ee9b4b39bafa05abf8cf04999afafcd584adf4911ee4f06c64e772d34 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 0 | 96 | 1 | 96 | 96 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b8d2b28b910f8ce39ee47a610413dcc13072e6e | 1,992 | py | Python | src/test/cli/test_scheduler.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 5 | 2016-01-01T15:50:21.000Z | 2018-11-27T17:38:15.000Z | src/test/cli/test_scheduler.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 27 | 2015-12-17T07:49:56.000Z | 2018-07-13T15:06:33.000Z | src/test/cli/test_scheduler.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 7 | 2015-12-01T22:04:24.000Z | 2021-11-28T13:21:35.000Z | import unittest
from mock import patch, MagicMock
from botocore.exceptions import ClientError
from flotilla.cli.scheduler import start_scheduler
REGIONS = ['us-east-1']
ENVIRONMENT = 'develop'
DOMAIN = 'test.com'
class TestScheduler(unittest.TestCase):
@patch('flotilla.cli.scheduler.get_instance_id')
@patc... | 36.218182 | 77 | 0.658133 | 232 | 1,992 | 5.461207 | 0.262931 | 0.095501 | 0.173639 | 0.197317 | 0.756117 | 0.737964 | 0.715864 | 0.715864 | 0.6985 | 0.6985 | 0 | 0.027184 | 0.224398 | 1,992 | 54 | 78 | 36.888889 | 0.79288 | 0 | 0 | 0.512195 | 0 | 0 | 0.281627 | 0.231426 | 0 | 0 | 0 | 0 | 0.073171 | 1 | 0.073171 | false | 0 | 0.097561 | 0 | 0.195122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5be3e7aecb0aee54a7b66c2e2430fa5ba14e5ada | 2,554 | py | Python | src/yeahml/build/components/callbacks/objects/printer.py | JackBurdick/yensor | b51faff6625db5980151a4a5fac7bb49313df5c1 | [
"Apache-2.0"
] | 4 | 2019-04-21T05:19:22.000Z | 2020-04-20T20:51:48.000Z | src/yeahml/build/components/callbacks/objects/printer.py | JackBurdick/YeahML | b51faff6625db5980151a4a5fac7bb49313df5c1 | [
"Apache-2.0"
] | 1 | 2020-08-24T23:23:14.000Z | 2020-09-13T03:55:36.000Z | src/yeahml/build/components/callbacks/objects/printer.py | JackBurdick/YeahML | b51faff6625db5980151a4a5fac7bb49313df5c1 | [
"Apache-2.0"
] | 1 | 2020-08-07T00:41:02.000Z | 2020-08-07T00:41:02.000Z | from yeahml.build.components.callbacks.objects.base import TrainCallback
def print_mapper(cur_func):
def _print_mapper(self, *args, **kwargs):
print(f"{cur_func.__name__}: {self.monitor}")
return _print_mapper
class Printer(TrainCallback):
def __init__(self, monitor="something", relation_key=No... | 17.613793 | 72 | 0.53289 | 246 | 2,554 | 5.186992 | 0.182927 | 0.232759 | 0.230408 | 0.293103 | 0.469436 | 0.4279 | 0.199843 | 0 | 0 | 0 | 0 | 0 | 0.331637 | 2,554 | 144 | 73 | 17.736111 | 0.74751 | 0.218089 | 0 | 0.421053 | 0 | 0 | 0.023567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.473684 | false | 0.035088 | 0.017544 | 0 | 0.526316 | 0.491228 | 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 | 0 | 0 | 1 | 0 | 5 |
5be7a876f3c5105b6d3efdc5c28655fc0ede865f | 84 | py | Python | appendices/packaging/some_module_proj/setup.py | jashburn8020/python-testing-with-pytest | eca162766f3eb25c79778d64f993e3162c359674 | [
"Apache-2.0"
] | 11 | 2021-05-06T12:39:39.000Z | 2022-03-14T11:58:44.000Z | appendices/packaging/some_module_proj/setup.py | jashburn8020/python-testing-with-pytest | eca162766f3eb25c79778d64f993e3162c359674 | [
"Apache-2.0"
] | null | null | null | appendices/packaging/some_module_proj/setup.py | jashburn8020/python-testing-with-pytest | eca162766f3eb25c79778d64f993e3162c359674 | [
"Apache-2.0"
] | 11 | 2021-06-10T21:19:42.000Z | 2022-02-21T04:03:06.000Z | from setuptools import setup
setup(name="some_module", py_modules=["some_module"])
| 21 | 53 | 0.785714 | 12 | 84 | 5.25 | 0.75 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 84 | 3 | 54 | 28 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7507a6580b66db203bf852283bb2de39d367b47f | 2,323 | py | Python | tests/test_api_calls.py | mindheist/coc-client | 7d249211a850538cfc1b5b286dff1d83df443db7 | [
"MIT"
] | 10 | 2016-02-14T05:59:27.000Z | 2019-12-08T11:54:17.000Z | tests/test_api_calls.py | mindheist/coc-client | 7d249211a850538cfc1b5b286dff1d83df443db7 | [
"MIT"
] | 2 | 2018-01-15T15:41:40.000Z | 2018-01-23T00:47:42.000Z | tests/test_api_calls.py | mindheist/coc-client | 7d249211a850538cfc1b5b286dff1d83df443db7 | [
"MIT"
] | 8 | 2016-10-06T14:07:58.000Z | 2019-01-11T19:44:20.000Z | from coc.api import ClashOfClans
from os import environ
import pytest
@pytest.fixture
def api_key():
return environ['COC_API_KEY']
slow_test = pytest.mark.skipif(
not pytest.config.getoption("--runslow"),
reason="need --runslow option to run"
)
@slow_test
@pytest.mark.api_call
def test_locations_apicall... | 27.654762 | 61 | 0.716315 | 341 | 2,323 | 4.639296 | 0.190616 | 0.072061 | 0.079646 | 0.102402 | 0.788875 | 0.788875 | 0.788875 | 0.788875 | 0.768647 | 0.71555 | 0 | 0.03459 | 0.166164 | 2,323 | 84 | 62 | 27.654762 | 0.782137 | 0 | 0 | 0.597222 | 0 | 0 | 0.046472 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.125 | false | 0 | 0.041667 | 0.013889 | 0.180556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7508d691984e7e548e24d4c98d154e16ac09c939 | 212 | py | Python | tests/test___init__.py | ikonst/pytest-mypy-testing | fa23aa769a5f11afebcec23af43aa6b5e32a3b11 | [
"Apache-2.0",
"MIT"
] | 17 | 2020-01-15T12:14:25.000Z | 2022-01-21T10:16:55.000Z | tests/test___init__.py | ikonst/pytest-mypy-testing | fa23aa769a5f11afebcec23af43aa6b5e32a3b11 | [
"Apache-2.0",
"MIT"
] | 10 | 2020-01-15T12:21:04.000Z | 2021-12-25T18:19:09.000Z | tests/test___init__.py | ikonst/pytest-mypy-testing | fa23aa769a5f11afebcec23af43aa6b5e32a3b11 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-04-10T08:49:39.000Z | 2021-08-15T01:54:16.000Z | # SPDX-FileCopyrightText: David Fritzsche
# SPDX-License-Identifier: CC0-1.0
import re
from pytest_mypy_testing import __version__
def test_version():
assert re.match("^[0-9]*([.][0-9]*)*$", __version__)
| 19.272727 | 56 | 0.716981 | 29 | 212 | 4.862069 | 0.724138 | 0.028369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037634 | 0.122642 | 212 | 10 | 57 | 21.2 | 0.72043 | 0.339623 | 0 | 0 | 0 | 0 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
752b31bd8d886628893665de61a27a8654c3bbbd | 79,991 | py | Python | tests/parse_infobox.py | matthewgehring/wptools | 788cdc2078696dacb14652d5f2ad098a585e4763 | [
"MIT"
] | 482 | 2015-04-13T23:43:42.000Z | 2022-03-31T14:44:50.000Z | tests/parse_infobox.py | matthewgehring/wptools | 788cdc2078696dacb14652d5f2ad098a585e4763 | [
"MIT"
] | 168 | 2016-01-06T14:30:05.000Z | 2022-02-17T22:14:36.000Z | tests/parse_infobox.py | matthewgehring/wptools | 788cdc2078696dacb14652d5f2ad098a585e4763 | [
"MIT"
] | 80 | 2015-05-03T18:10:58.000Z | 2022-02-17T22:54:25.000Z | # -*- coding:utf-8 -*-
query = 'https://en.wikipedia.org/w/api.php?action=parse&formatversion=2&contentmodel=text&disableeditsection=&disablelimitreport=&disabletoc=&prop=text|iwlinks|parsetree|wikitext|displaytitle|properties&redirects&page=Blue%20Train%20%28album%29'
response = r"""
{
"parse": {
"title"... | 3,076.576923 | 56,407 | 0.69184 | 13,137 | 79,991 | 4.156657 | 0.068889 | 0.023715 | 0.039556 | 0.022891 | 0.793173 | 0.734278 | 0.684742 | 0.649562 | 0.628099 | 0.587445 | 0 | 0.032822 | 0.06987 | 79,991 | 25 | 56,408 | 3,199.64 | 0.700868 | 0.00025 | 0 | 0.095238 | 0 | 0.190476 | 0.998962 | 0.604284 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7538ab8f5f22694310200299efb04d802b7c2277 | 42 | py | Python | tapis_cli/commands/registry/__init__.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 8 | 2020-10-18T22:48:23.000Z | 2022-01-10T09:16:14.000Z | tapis_cli/commands/registry/__init__.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 238 | 2019-09-04T14:37:54.000Z | 2020-04-15T16:24:24.000Z | tapis_cli/commands/registry/__init__.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 5 | 2019-09-20T04:23:49.000Z | 2020-01-16T17:45:14.000Z | """Docker container registry commands
"""
| 14 | 37 | 0.738095 | 4 | 42 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 2 | 38 | 21 | 0.837838 | 0.809524 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f333fbce56cacfc6b06521c303bbc2eacd4a8772 | 7,707 | py | Python | tests/test_modifiers_mujoco.py | MoritzTaylor/simmod | 76b2186c39940ce2d08aa36f3d06bfe3640d6c00 | [
"MIT"
] | 2 | 2021-07-05T14:08:09.000Z | 2021-10-01T09:48:37.000Z | tests/test_modifiers_mujoco.py | MoritzTaylor/simmod | 76b2186c39940ce2d08aa36f3d06bfe3640d6c00 | [
"MIT"
] | null | null | null | tests/test_modifiers_mujoco.py | MoritzTaylor/simmod | 76b2186c39940ce2d08aa36f3d06bfe3640d6c00 | [
"MIT"
] | null | null | null | import pytest
import xml.etree.ElementTree as ET
import numpy as np
from mujoco_py import load_model_from_xml, MjSim, load_model_from_path
from simmod.modification.mujoco import MujocoBodyModifier
from simmod.modification.mujoco import MujocoJointModifier
TEST_MODEL_FURUTA_PATH = 'assets/test_mujoco_furuta.xml'
TEST... | 36.014019 | 102 | 0.682367 | 1,113 | 7,707 | 4.486074 | 0.130279 | 0.028039 | 0.039055 | 0.046866 | 0.752253 | 0.733227 | 0.72842 | 0.724014 | 0.719607 | 0.708792 | 0 | 0.016732 | 0.201246 | 7,707 | 213 | 103 | 36.183099 | 0.794347 | 0.121708 | 0 | 0.566265 | 0 | 0 | 0.057632 | 0.009005 | 0 | 0 | 0 | 0 | 0.048193 | 1 | 0.042169 | false | 0 | 0.042169 | 0 | 0.10241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f3769ab6fea4c9708d44e62ffb54dbaaf6ae6c86 | 141 | py | Python | danspeech/audio/__init__.py | la3lma/danspeech | acd9dd1e2b9750292bd27c97ee25cf65edc196f2 | [
"Apache-2.0"
] | 21 | 2019-08-29T07:02:02.000Z | 2022-03-15T08:58:46.000Z | danspeech/audio/__init__.py | la3lma/danspeech | acd9dd1e2b9750292bd27c97ee25cf65edc196f2 | [
"Apache-2.0"
] | 11 | 2019-08-29T06:56:49.000Z | 2022-02-16T15:22:17.000Z | danspeech/audio/__init__.py | la3lma/danspeech | acd9dd1e2b9750292bd27c97ee25cf65edc196f2 | [
"Apache-2.0"
] | 3 | 2020-04-21T13:04:32.000Z | 2021-04-27T10:04:51.000Z | from .resources import load_audio, load_audio_wavPCM, Microphone
from .parsers import SpectrogramAudioParser, InferenceSpectrogramAudioParser | 70.5 | 76 | 0.893617 | 14 | 141 | 8.785714 | 0.714286 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070922 | 141 | 2 | 76 | 70.5 | 0.938931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
45f38769527ae3a0d774c20200bfcf7272226d31 | 82 | py | Python | DeepSaki/initializer/helper/__init__.py | sascha-kirch/DeepSaki | cfe6bd6537a2b0793d4db4041f2efb37d480cb4c | [
"MIT"
] | null | null | null | DeepSaki/initializer/helper/__init__.py | sascha-kirch/DeepSaki | cfe6bd6537a2b0793d4db4041f2efb37d480cb4c | [
"MIT"
] | null | null | null | DeepSaki/initializer/helper/__init__.py | sascha-kirch/DeepSaki | cfe6bd6537a2b0793d4db4041f2efb37d480cb4c | [
"MIT"
] | null | null | null | from DeepSaki.initializer.helper.initializer_helper import MakeInitializerComplex
| 41 | 81 | 0.914634 | 8 | 82 | 9.25 | 0.75 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 82 | 1 | 82 | 82 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
45fd730850b8a6b4ec310867313c9107cd5544f0 | 179 | py | Python | src/phl_budget_data/etl/qcmr/cash/__init__.py | PhiladelphiaController/phl-budget-data | 438999017b8659de5bfb223a038f49fe6fd4a83a | [
"MIT"
] | null | null | null | src/phl_budget_data/etl/qcmr/cash/__init__.py | PhiladelphiaController/phl-budget-data | 438999017b8659de5bfb223a038f49fe6fd4a83a | [
"MIT"
] | null | null | null | src/phl_budget_data/etl/qcmr/cash/__init__.py | PhiladelphiaController/phl-budget-data | 438999017b8659de5bfb223a038f49fe6fd4a83a | [
"MIT"
] | null | null | null | from .fund_balances import CashReportFundBalances
from .net_cash_flow import CashReportNetCashFlow
from .revenue import CashReportRevenue
from .spending import CashReportSpending
| 35.8 | 49 | 0.888268 | 19 | 179 | 8.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 4 | 50 | 44.75 | 0.957055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
340c098a1014ab544a0824e50cb571ef2441fcc8 | 44 | py | Python | k8s/images/codalab/apps/web/exceptions.py | abdulari/codalab-competitions | fdfbb77ac62d56c6b4b9439935037f97ffcd1423 | [
"Apache-2.0"
] | 333 | 2015-12-29T22:49:40.000Z | 2022-03-27T12:01:57.000Z | k8s/images/codalab/apps/web/exceptions.py | abdulari/codalab-competitions | fdfbb77ac62d56c6b4b9439935037f97ffcd1423 | [
"Apache-2.0"
] | 1,572 | 2015-12-28T21:54:00.000Z | 2022-03-31T13:00:32.000Z | k8s/images/codalab/apps/web/exceptions.py | abdulari/codalab-competitions | fdfbb77ac62d56c6b4b9439935037f97ffcd1423 | [
"Apache-2.0"
] | 107 | 2016-01-08T03:46:07.000Z | 2022-03-16T08:43:57.000Z | class ScoringException(Exception):
pass
| 14.666667 | 34 | 0.772727 | 4 | 44 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 35 | 22 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
341849ca4ff92816697b83c9176a8ba030d1dee6 | 274 | py | Python | Lab6-Networks-Graphs/solutions/ex1_1.py | computational-medicine/BMED360-2021 | 2c6052b9affedf1fee23c89d23941bf08eb2614c | [
"MIT"
] | 2 | 2021-04-19T23:22:17.000Z | 2021-04-20T14:04:58.000Z | Lab6-Networks-Graphs/solutions/ex1_1.py | computational-medicine/BMED360-2021 | 2c6052b9affedf1fee23c89d23941bf08eb2614c | [
"MIT"
] | null | null | null | Lab6-Networks-Graphs/solutions/ex1_1.py | computational-medicine/BMED360-2021 | 2c6052b9affedf1fee23c89d23941bf08eb2614c | [
"MIT"
] | null | null | null | labels = {0:'A', 1:'B', 2:'C', 3:'D', 4:'E'}
A = np.array([
[0., 1., 0., 1., 0.],
[0., 0., 0., 0., 0.],
[1., 0., 0., 0., 0.],
[0., 0., 1., 0., 1.],
[0., 0., 0., 0., 0.]])
print(f' A =\n {A}, \n A^T =\n {A.T}')
print(f'labels: {labels}')
| 22.833333 | 44 | 0.29927 | 54 | 274 | 1.518519 | 0.314815 | 0.341463 | 0.402439 | 0.390244 | 0.304878 | 0.304878 | 0.304878 | 0.304878 | 0.304878 | 0.207317 | 0 | 0.15625 | 0.29927 | 274 | 11 | 45 | 24.909091 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0.178832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3465e4df532d410ea7946841819bd922c9700557 | 1,369 | py | Python | das/notification.py | davidcast95/das | 245b96e1316e99fa30862622755cd68fce0ff979 | [
"MIT"
] | null | null | null | das/notification.py | davidcast95/das | 245b96e1316e99fa30862622755cd68fce0ff979 | [
"MIT"
] | null | null | null | das/notification.py | davidcast95/das | 245b96e1316e99fa30862622755cd68fce0ff979 | [
"MIT"
] | null | null | null | import frappe
from frappe.utils import get_request_session
import json
def send_notification(auth_key,data):
try:
s = get_request_session()
url = "https://fcm.googleapis.com/fcm/send"
header = {"Authorization": "key={}".format(auth_key),"Content-Type": "application/json"}
content = {
"to":"/topics/all",
... | 25.830189 | 91 | 0.681519 | 188 | 1,369 | 4.819149 | 0.255319 | 0.046358 | 0.075055 | 0.046358 | 0.754967 | 0.754967 | 0.754967 | 0.754967 | 0.754967 | 0.754967 | 0 | 0.001706 | 0.143901 | 1,369 | 52 | 92 | 26.326923 | 0.771331 | 0 | 0 | 0.659091 | 0 | 0 | 0.229365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.068182 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
347bdf3e4ec485ca7399c31e32fb019b8d475476 | 1,041 | py | Python | __estimators__/decorator.py | dmitrydavydov96/quantmodels | 609b453fec32d7def4d4aed40b8d25969ba8b702 | [
"MIT"
] | null | null | null | __estimators__/decorator.py | dmitrydavydov96/quantmodels | 609b453fec32d7def4d4aed40b8d25969ba8b702 | [
"MIT"
] | null | null | null | __estimators__/decorator.py | dmitrydavydov96/quantmodels | 609b453fec32d7def4d4aed40b8d25969ba8b702 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class __LinearModel(ABC):
@abstractmethod
def _sample_split(self):
pass
@abstractmethod
def _fit(self):
pass
@abstractmethod
def _predict(self):
pass
@abstractmethod
def _metrics(self):
pass
... | 20.019231 | 49 | 0.555235 | 96 | 1,041 | 5.729167 | 0.21875 | 0.130909 | 0.152727 | 0.207273 | 0.105455 | 0.105455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322767 | 1,041 | 52 | 50 | 20.019231 | 0.780142 | 0.045149 | 0 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.371429 | false | 0.171429 | 0.028571 | 0.171429 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
caffd1b73a689729f231cad50675ec1c7e0fe3f4 | 29 | py | Python | ephypype/gather/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/gather/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/gather/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | from . import gather_conmats
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1b27721ad20a6f967e898161ac04a023ab310d6a | 339 | py | Python | Part 1/Chapter 3/exercise_3.9.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | Part 1/Chapter 3/exercise_3.9.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | Part 1/Chapter 3/exercise_3.9.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | famous = ['steve jobs','bill gates', 'gandhi']
print(f"Hello {famous[0].title()}, I'd like to invite you to dinner with me!")
print(f"Hello {famous[1].title()}, I'd like to invite you to dinner with me!")
print(f"Hello {famous[2].title()}, I'd like to invite you to dinner with me!")
print("I'm inviting",len(famous), "p... | 56.5 | 78 | 0.678466 | 63 | 339 | 3.650794 | 0.412698 | 0.13913 | 0.143478 | 0.221739 | 0.63913 | 0.63913 | 0.63913 | 0.63913 | 0.63913 | 0.63913 | 0 | 0.010169 | 0.129794 | 339 | 5 | 79 | 67.8 | 0.769492 | 0 | 0 | 0 | 0 | 0 | 0.764012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1b33e3d9d852feb57054b91aa6e7e0dcf90b25fb | 4,640 | py | Python | evil-dir/actual_sploit.py | nxkennedy/shakedown | 280a466582bb8009d96dda5a69cbf296a11709c5 | [
"MIT"
] | null | null | null | evil-dir/actual_sploit.py | nxkennedy/shakedown | 280a466582bb8009d96dda5a69cbf296a11709c5 | [
"MIT"
] | null | null | null | evil-dir/actual_sploit.py | nxkennedy/shakedown | 280a466582bb8009d96dda5a69cbf296a11709c5 | [
"MIT"
] | null | null | null | !/usr/bin/python
# Exploit Title: FTPGetter 5.89.0.85 Remote SEH Buffer Overflow
# Date: 07/14/2017
# Exploit Author: Paul Purcell
# Contact: ptpxploit at gmail
# Vendor Homepage: https://www.ftpgetter.com/
# Vulnerable Version Download: Available for 30 days here: (https://ufile.io/2celn) I can upload again upon requ... | 46.4 | 147 | 0.694397 | 899 | 4,640 | 3.581758 | 0.299221 | 0.052174 | 0.067081 | 0.074534 | 0.120497 | 0.095031 | 0.095031 | 0.095031 | 0.095031 | 0.095031 | 0 | 0.239062 | 0.108405 | 4,640 | 99 | 148 | 46.868687 | 0.53928 | 0.293534 | 0 | 0 | 0 | 0.567164 | 0.717492 | 0.628343 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.014925 | null | null | 0.074627 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1b85f4ca9f34f8676f4ce208d41c5daed191a632 | 59 | py | Python | moto/swf/utils.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | moto/swf/utils.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | moto/swf/utils.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | def decapitalize(key):
return key[0].lower() + key[1:]
| 19.666667 | 35 | 0.627119 | 9 | 59 | 4.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.169492 | 59 | 2 | 36 | 29.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1bb0d457e17e75fde37dc7cb2a27e8e10c174a94 | 49 | py | Python | drain3/__init__.py | ieven/Drain3 | 0e4157bc33462dba7c2a72ba4c3fbfdbdecd2cfa | [
"MIT"
] | 175 | 2020-03-05T10:47:15.000Z | 2022-03-31T15:13:08.000Z | drain3/__init__.py | ieven/Drain3 | 0e4157bc33462dba7c2a72ba4c3fbfdbdecd2cfa | [
"MIT"
] | 43 | 2020-03-09T10:56:58.000Z | 2022-03-31T23:12:33.000Z | drain3/__init__.py | ieven/Drain3 | 0e4157bc33462dba7c2a72ba4c3fbfdbdecd2cfa | [
"MIT"
] | 53 | 2020-03-09T09:59:20.000Z | 2022-03-30T18:04:11.000Z | from drain3.template_miner import TemplateMiner
| 16.333333 | 47 | 0.877551 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.102041 | 49 | 2 | 48 | 24.5 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1bc0771c055dd72e5c309407645ee0f915a8b642 | 24 | py | Python | before/0124/2743.py | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | 3 | 2022-01-24T03:06:32.000Z | 2022-01-30T08:43:58.000Z | before/0124/2743.py | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | null | null | null | before/0124/2743.py | Kwak-JunYoung/154Algoritm-5weeks | fa18ae5f68a1ee722a30a05309214247f7fbfda4 | [
"MIT"
] | 2 | 2022-01-24T02:27:40.000Z | 2022-01-30T08:57:03.000Z | print(len(str(input()))) | 24 | 24 | 0.666667 | 4 | 24 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 24 | 1 | 24 | 24 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
941ac9a588b0f7f631258968825a911c7c67938a | 1,388 | py | Python | package/PartSeg/plugins/napari_widgets/__init__.py | neuromusic/PartSeg | a4edff1b9fbe55eb7f5e1fc8b5b3f8e730b35caf | [
"BSD-3-Clause"
] | 15 | 2020-03-21T03:27:56.000Z | 2022-03-21T07:46:39.000Z | package/PartSeg/plugins/napari_widgets/__init__.py | neuromusic/PartSeg | a4edff1b9fbe55eb7f5e1fc8b5b3f8e730b35caf | [
"BSD-3-Clause"
] | 479 | 2019-10-27T22:57:22.000Z | 2022-03-30T12:48:14.000Z | package/PartSeg/plugins/napari_widgets/__init__.py | neuromusic/PartSeg | a4edff1b9fbe55eb7f5e1fc8b5b3f8e730b35caf | [
"BSD-3-Clause"
] | 5 | 2020-02-05T14:25:02.000Z | 2021-12-21T03:44:52.000Z | from napari_plugin_engine import napari_hook_implementation
from PartSeg.plugins.napari_widgets.mask_create_widget import MaskCreateNapari
from PartSeg.plugins.napari_widgets.roi_extraction_algorithms import ROIAnalysisExtraction, ROIMaskExtraction
from PartSeg.plugins.napari_widgets.search_label_widget import SearchL... | 34.7 | 109 | 0.879683 | 154 | 1,388 | 7.448052 | 0.233766 | 0.172624 | 0.239756 | 0.278117 | 0.599826 | 0.431561 | 0.431561 | 0.431561 | 0.431561 | 0.431561 | 0 | 0.003888 | 0.073487 | 1,388 | 39 | 110 | 35.589744 | 0.888025 | 0 | 0 | 0.208333 | 0 | 0 | 0.14049 | 0.14049 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.166667 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
94469ec893b63ee14bfa7d21379d184d4d336ea8 | 77 | py | Python | __init__.py | AustinCasteel/FacebookBirthdays | aac83eab7b76bad37ff3e074e3a5b45b12107217 | [
"MIT"
] | null | null | null | __init__.py | AustinCasteel/FacebookBirthdays | aac83eab7b76bad37ff3e074e3a5b45b12107217 | [
"MIT"
] | null | null | null | __init__.py | AustinCasteel/FacebookBirthdays | aac83eab7b76bad37ff3e074e3a5b45b12107217 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .facebookbirthday import FacebookBirthdayPlugin
| 25.666667 | 52 | 0.753247 | 7 | 77 | 8.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.116883 | 77 | 2 | 53 | 38.5 | 0.838235 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
944b24d006ea6d6534e3cafb96fdf06a586981fc | 52 | py | Python | tests/__init__.py | codiceviola/environ | 1173690a84a85efe43fd5a26443b4f43f96f3e98 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | codiceviola/environ | 1173690a84a85efe43fd5a26443b4f43f96f3e98 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | codiceviola/environ | 1173690a84a85efe43fd5a26443b4f43f96f3e98 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Codice Viola © 2020."""
| 13 | 26 | 0.480769 | 7 | 52 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.192308 | 52 | 3 | 27 | 17.333333 | 0.47619 | 0.826923 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
947433b9a8d5f78f0611c57201560dd8bfa28250 | 229 | py | Python | economy/exc.py | bk62/botter.py | 73799a5c0415bd2b52483f3dd02c37b81c70d631 | [
"MIT"
] | null | null | null | economy/exc.py | bk62/botter.py | 73799a5c0415bd2b52483f3dd02c37b81c70d631 | [
"MIT"
] | null | null | null | economy/exc.py | bk62/botter.py | 73799a5c0415bd2b52483f3dd02c37b81c70d631 | [
"MIT"
] | null | null | null | from discord.ext import commands
class WalletOpFailedException(commands.CommandError):
pass
class NoMatchingCurrency(WalletOpFailedException):
pass
class MultipleMatchingCurrencies(WalletOpFailedException):
pass | 17.615385 | 58 | 0.820961 | 18 | 229 | 10.444444 | 0.611111 | 0.095745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131004 | 229 | 13 | 59 | 17.615385 | 0.944724 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
84f11b9075e7dca292405b9b7362e0bde6337c4a | 102 | py | Python | app/assessment/__init__.py | kurapikaaaa/CITS3403Project | 8958219845d5251830f2abd7c58dfd87d97b8c4a | [
"MIT"
] | 1 | 2021-08-04T12:50:57.000Z | 2021-08-04T12:50:57.000Z | app/assessment/__init__.py | kurapikaaaa/CITS3403Project | 8958219845d5251830f2abd7c58dfd87d97b8c4a | [
"MIT"
] | null | null | null | app/assessment/__init__.py | kurapikaaaa/CITS3403Project | 8958219845d5251830f2abd7c58dfd87d97b8c4a | [
"MIT"
] | 1 | 2021-08-12T10:40:28.000Z | 2021-08-12T10:40:28.000Z | from flask import Blueprint
bp = Blueprint('assessment', __name__)
from app.assessment import routes | 20.4 | 38 | 0.803922 | 13 | 102 | 6 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 5 | 39 | 20.4 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
ca1e1da567e34617d96f66de20f0e664963aa431 | 92 | py | Python | tftf/__init__.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | 35 | 2018-08-11T05:01:41.000Z | 2021-01-29T02:28:47.000Z | tftf/__init__.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | null | null | null | tftf/__init__.py | yusugomori/tftf | e98b9ddffdbaa1fe04320437a47f12f3182ab6f3 | [
"Apache-2.0"
] | 4 | 2018-10-19T14:12:04.000Z | 2021-01-29T02:28:49.000Z | from .datasets import *
from .layers import *
from .models import *
__version__ = '0.0.29'
| 15.333333 | 23 | 0.706522 | 13 | 92 | 4.692308 | 0.615385 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 92 | 5 | 24 | 18.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca209532982dc6f81d2d8ee667b5d258d0912676 | 38 | py | Python | validator/bin/run.py | acmiyaguchi/mozschema-validator | 04d265bb9359107580f8726bce5102b14a68f156 | [
"MIT"
] | null | null | null | validator/bin/run.py | acmiyaguchi/mozschema-validator | 04d265bb9359107580f8726bce5102b14a68f156 | [
"MIT"
] | 2 | 2018-04-13T20:54:16.000Z | 2018-05-01T01:11:32.000Z | validator/bin/run.py | acmiyaguchi/schema-validator | 04d265bb9359107580f8726bce5102b14a68f156 | [
"MIT"
] | null | null | null | from validator import app
app.main()
| 9.5 | 25 | 0.763158 | 6 | 38 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 26 | 12.666667 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ca3ee8526ebdaf834c4fb3681de66f5cc4e83223 | 133 | py | Python | py_rofi_bus/components/mixins/__init__.py | thecjharries/py-rofi-bus | 52deb387f24639773b6a390360e857df2d82fe37 | [
"0BSD"
] | null | null | null | py_rofi_bus/components/mixins/__init__.py | thecjharries/py-rofi-bus | 52deb387f24639773b6a390360e857df2d82fe37 | [
"0BSD"
] | null | null | null | py_rofi_bus/components/mixins/__init__.py | thecjharries/py-rofi-bus | 52deb387f24639773b6a390360e857df2d82fe37 | [
"0BSD"
] | null | null | null | # pylint:disable=W,C,R
from .has_config import HasConfig
from .has_pid import HasPid
from .manages_processes import ManagesProcesses
| 26.6 | 47 | 0.834586 | 20 | 133 | 5.4 | 0.75 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 133 | 4 | 48 | 33.25 | 0.907563 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca52bf10a3c13ad103c254644b80cd50cb216d86 | 92 | py | Python | hashtagsv2/hashtags/admin.py | eggpi/hashtags | a5bdc8d43159cb25df1a1155951cc96d725e786d | [
"MIT"
] | 13 | 2019-12-02T15:35:14.000Z | 2022-03-13T18:22:06.000Z | hashtagsv2/hashtags/admin.py | eggpi/hashtags | a5bdc8d43159cb25df1a1155951cc96d725e786d | [
"MIT"
] | 35 | 2019-05-13T10:24:03.000Z | 2021-12-14T14:13:38.000Z | hashtagsv2/hashtags/admin.py | eggpi/hashtags | a5bdc8d43159cb25df1a1155951cc96d725e786d | [
"MIT"
] | 15 | 2018-10-17T15:01:13.000Z | 2019-04-08T13:57:50.000Z | from django.contrib import admin
from .models import Hashtag
admin.site.register(Hashtag)
| 15.333333 | 32 | 0.815217 | 13 | 92 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 5 | 33 | 18.4 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ca6c22adc311353b790d1fd415522f311a837d13 | 401 | py | Python | function/python/brightics/function/recommendation/__init__.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/recommendation/__init__.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | null | null | null | function/python/brightics/function/recommendation/__init__.py | GSByeon/studio | 782cf484541c6d68e1451ff6a0d3b5dc80172664 | [
"Apache-2.0"
] | 1 | 2020-11-19T06:44:15.000Z | 2020-11-19T06:44:15.000Z | from .association_rule import association_rule
from .association_rule import association_rule_visualization
from .als import als_train
from .als import als_predict
from .als import als_recommend
from .collaborative_filtering import collaborative_filtering_train
from .collaborative_filtering import collaborative_filteri... | 50.125 | 70 | 0.902743 | 49 | 401 | 7.040816 | 0.22449 | 0.382609 | 0.113043 | 0.13913 | 0.701449 | 0.701449 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077307 | 401 | 8 | 70 | 50.125 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ca7fda4d86c2fba009810467ffdbbaf903beb734 | 138 | py | Python | Src/StdLib/Lib/site-packages/pythoncom.py | cwensley/ironpython2 | f854444e1e08afc8850cb7c1a739a7dd2d10d32a | [
"Apache-2.0"
] | 1,078 | 2016-07-19T02:48:30.000Z | 2022-03-30T21:22:34.000Z | Src/StdLib/Lib/site-packages/pythoncom.py | cwensley/ironpython2 | f854444e1e08afc8850cb7c1a739a7dd2d10d32a | [
"Apache-2.0"
] | 576 | 2017-05-21T12:36:48.000Z | 2022-03-30T13:47:03.000Z | Src/StdLib/Lib/site-packages/pythoncom.py | cwensley/ironpython2 | f854444e1e08afc8850cb7c1a739a7dd2d10d32a | [
"Apache-2.0"
] | 269 | 2017-05-21T04:44:47.000Z | 2022-03-31T16:18:13.000Z | # Magic utility that "redirects" to pythoncomxx.dll
import pywintypes
pywintypes.__import_pywin32_system_module__("pythoncom", globals())
| 34.5 | 67 | 0.833333 | 16 | 138 | 6.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.07971 | 138 | 3 | 68 | 46 | 0.834646 | 0.355072 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0461b582aac0fa16e0fc7a9e87a02f30b33f771e | 302 | py | Python | scribbler/transformation/abstract_transformation.py | belosthomas/scribbler | fbd0bfb68cd30ca451b5d616d372b5e96ec0f8be | [
"MIT"
] | 5 | 2018-07-31T20:26:22.000Z | 2019-05-07T16:36:23.000Z | scribbler/transformation/abstract_transformation.py | belosthomas/scribbler | fbd0bfb68cd30ca451b5d616d372b5e96ec0f8be | [
"MIT"
] | 1 | 2019-05-07T18:21:59.000Z | 2020-09-18T10:45:39.000Z | scribbler/transformation/abstract_transformation.py | belosthomas/scribbler | fbd0bfb68cd30ca451b5d616d372b5e96ec0f8be | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class AbstractTransformation:
__metaclass__ = ABCMeta
@abstractmethod
def transform_image(self, image): pass
@abstractmethod
def transform_position(self, x, y, width, height): pass
@abstractmethod
def generate_random(self): pass
| 20.133333 | 59 | 0.735099 | 32 | 302 | 6.71875 | 0.625 | 0.237209 | 0.24186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198676 | 302 | 14 | 60 | 21.571429 | 0.88843 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
049b2c4530e3c2a3c838d7a8ba5e4731d9eb7c02 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/f2py/__main__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/f2py/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/f2py/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ea/2d/a3/547d9f3eb895d5aa1c4d8fdd505bd62b5f2a6bece3a6721203e3a9177c | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364583 | 0 | 96 | 1 | 96 | 96 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
049e976fdc251ba040ae03bbea33cb7d8d2af1b6 | 4,093 | py | Python | tests/test_models/test_loss.py | williamcorsel/mmrotate | 00a3b9af34c4e36c82616d98fdb91b468d4cfb34 | [
"Apache-2.0"
] | 1 | 2022-02-18T11:01:19.000Z | 2022-02-18T11:01:19.000Z | tests/test_models/test_loss.py | williamcorsel/mmrotate | 00a3b9af34c4e36c82616d98fdb91b468d4cfb34 | [
"Apache-2.0"
] | null | null | null | tests/test_models/test_loss.py | williamcorsel/mmrotate | 00a3b9af34c4e36c82616d98fdb91b468d4cfb34 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
import pytest
import torch
from mmrotate.models.losses import (BCConvexGIoULoss, ConvexGIoULoss, GDLoss,
GDLoss_v1, KFLoss, KLDRepPointsLoss)
@pytest.mark.skipif(
not torch.cuda.is_available(), reason='requires CUDA support')
@py... | 31.007576 | 78 | 0.66064 | 506 | 4,093 | 5.201581 | 0.134387 | 0.047872 | 0.058511 | 0.12348 | 0.827128 | 0.784195 | 0.780395 | 0.780395 | 0.683131 | 0.664134 | 0 | 0.017919 | 0.222819 | 4,093 | 131 | 79 | 31.244275 | 0.809494 | 0.254337 | 0 | 0.534247 | 0 | 0 | 0.034309 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 1 | 0.054795 | false | 0 | 0.041096 | 0 | 0.09589 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04d1c24f6bc208b7f6d8c3f5553d0bc232b26a52 | 48 | py | Python | crusoe_observe/OS-parser-component/osrest/__init__.py | CSIRT-MU/CRUSOE | 73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b | [
"MIT"
] | 3 | 2021-11-09T09:55:17.000Z | 2022-02-19T02:58:27.000Z | crusoe_observe/OS-parser-component/osrest/__init__.py | CSIRT-MU/CRUSOE | 73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b | [
"MIT"
] | null | null | null | crusoe_observe/OS-parser-component/osrest/__init__.py | CSIRT-MU/CRUSOE | 73e4ac0ced6c3ac46d24ac5c3feb01a1e88bd36b | [
"MIT"
] | null | null | null | from .run import parse
from .OS_parser import *
| 16 | 24 | 0.770833 | 8 | 48 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
04d5fda73dffb7cd7356b901c8a85e9f290d1c22 | 6,177 | py | Python | ublox_reader/serial/constants.py | acutaia/goeasy-ublox_reader | f4662389667c9087ca73dd33e5122891bd05db8a | [
"Apache-2.0"
] | null | null | null | ublox_reader/serial/constants.py | acutaia/goeasy-ublox_reader | f4662389667c9087ca73dd33e5122891bd05db8a | [
"Apache-2.0"
] | null | null | null | ublox_reader/serial/constants.py | acutaia/goeasy-ublox_reader | f4662389667c9087ca73dd33e5122891bd05db8a | [
"Apache-2.0"
] | null | null | null | """
Constants for SerialReceiver
:author: Angelo Cutaia
:copyright: Copyright 2021, LINKS Foundation
:version: 1.0.0
..
Copyright 2021 LINKS Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a co... | 44.121429 | 80 | 0.603853 | 845 | 6,177 | 4.384615 | 0.260355 | 0.120918 | 0.189474 | 0.243185 | 0.476383 | 0.476383 | 0.476383 | 0.476383 | 0.039946 | 0 | 0 | 0.321076 | 0.181156 | 6,177 | 139 | 81 | 44.438849 | 0.411427 | 0.196697 | 0 | 0 | 0 | 0 | 0.009479 | 0 | 0 | 0 | 0.504093 | 0 | 0 | 1 | 0.015385 | false | 0.015385 | 0.015385 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04d64185267b3d00217e600b9ff7dace514d3162 | 90,207 | py | Python | icon.py | sunyuting83/auto-wallpaper-pythontk | 91ce331e7a55f884bd1fcf4501a2a183182b653a | [
"MIT"
] | null | null | null | icon.py | sunyuting83/auto-wallpaper-pythontk | 91ce331e7a55f884bd1fcf4501a2a183182b653a | [
"MIT"
] | null | null | null | icon.py | sunyuting83/auto-wallpaper-pythontk | 91ce331e7a55f884bd1fcf4501a2a183182b653a | [
"MIT"
] | null | null | null | img = 'b'AAABAAEAgIAAAAEAIAAoCAEAFgAAACgAAACAAAAAAAEAAAEAIAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... | 90,207 | 90,207 | 0.834858 | 13,342 | 90,207 | 5.644581 | 0.311273 | 0.036449 | 0.047816 | 0.057562 | 0.550485 | 0.542464 | 0.532997 | 0.520303 | 0.508007 | 0.498845 | 0 | 0.168439 | 0.000022 | 90,207 | 1 | 90,207 | 90,207 | 0.666438 | 0 | 0 | 0 | 0 | 0 | 0.000011 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04e9b558edc86055533277471959d45abdfff936 | 74 | py | Python | wsgi.py | rogerdahl/acme-notifications | fa877af7361847ca70acc00fc8cb9adc9ab3dc45 | [
"MIT"
] | null | null | null | wsgi.py | rogerdahl/acme-notifications | fa877af7361847ca70acc00fc8cb9adc9ab3dc45 | [
"MIT"
] | null | null | null | wsgi.py | rogerdahl/acme-notifications | fa877af7361847ca70acc00fc8cb9adc9ab3dc45 | [
"MIT"
] | null | null | null | import acme_notifications.init
application = acme_notifications.init.app
| 18.5 | 41 | 0.864865 | 9 | 74 | 6.888889 | 0.666667 | 0.548387 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 74 | 3 | 42 | 24.666667 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b6f7e210a8d6b1b4f112bb42361c0f38357cf65e | 65 | py | Python | app/models.py | Darius8867/django_ | 3f420d3b96270c88287fe2017899036dc5c2a424 | [
"MIT"
] | null | null | null | app/models.py | Darius8867/django_ | 3f420d3b96270c88287fe2017899036dc5c2a424 | [
"MIT"
] | null | null | null | app/models.py | Darius8867/django_ | 3f420d3b96270c88287fe2017899036dc5c2a424 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models
# well hello
| 10.833333 | 28 | 0.753846 | 10 | 65 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 5 | 29 | 13 | 0.942308 | 0.446154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8e05037d170429d47d930aeb22964eb109747dee | 48,157 | py | Python | pysmFISH/stitching_package/stitching.py | ambrosejcarr/pysmFISH | 0eb24355f70c0d5c9013a9407fd56f2e1e9ee3cb | [
"MIT"
] | 5 | 2018-05-29T23:03:19.000Z | 2022-02-02T02:04:41.000Z | pysmFISH/stitching_package/stitching.py | ambrosejcarr/pysmFISH | 0eb24355f70c0d5c9013a9407fd56f2e1e9ee3cb | [
"MIT"
] | 3 | 2018-12-18T20:18:38.000Z | 2019-01-18T22:47:45.000Z | pysmFISH/stitching_package/stitching.py | ambrosejcarr/pysmFISH | 0eb24355f70c0d5c9013a9407fd56f2e1e9ee3cb | [
"MIT"
] | 5 | 2018-08-10T14:54:54.000Z | 2021-10-09T13:32:08.000Z |
"""Find or apply coordinates to stitch an image
"""
#import matplotlib.pyplot as plt
#plt_available = True
plt_available = False
import sklearn.feature_extraction.image as sklim
import numpy as np
import skimage.transform as smtf
import h5py
import logging
import time
import os
# Own imports
from . import inout
from... | 40.673142 | 113 | 0.612393 | 6,187 | 48,157 | 4.644739 | 0.085017 | 0.012005 | 0.009952 | 0.005846 | 0.750774 | 0.7308 | 0.717646 | 0.706093 | 0.701361 | 0.691165 | 0 | 0.005746 | 0.306082 | 48,157 | 1,183 | 114 | 40.707523 | 0.854206 | 0.453973 | 0 | 0.603854 | 0 | 0 | 0.201502 | 0.004112 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023555 | false | 0 | 0.027837 | 0 | 0.070664 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8e3dc13790b6ecb78f8cb8ae5b5dab37555d4c18 | 52 | py | Python | nipy/externals/__init__.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | 1 | 2015-08-22T16:14:45.000Z | 2015-08-22T16:14:45.000Z | nipy/externals/__init__.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | null | null | null | nipy/externals/__init__.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | null | null | null | # init for externals package
from . import argparse
| 17.333333 | 28 | 0.788462 | 7 | 52 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 2 | 29 | 26 | 0.953488 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f3f76ea7dcdcc266d9e1570f7c62dd6bd1aaa371 | 6,104 | py | Python | leetcode/200.number_of_islands/200.NumberofIslands_yhwhu.py | henrytien/AlgorithmSolutions | 62339269f4fa698ddd2e73458caef875af05af8f | [
"MIT"
] | 15 | 2020-06-27T03:28:39.000Z | 2021-08-13T10:42:24.000Z | leetcode/200.number_of_islands/200.NumberofIslands_yhwhu.py | henrytien/AlgorithmSolutions | 62339269f4fa698ddd2e73458caef875af05af8f | [
"MIT"
] | 40 | 2020-06-27T03:29:53.000Z | 2020-11-05T12:29:49.000Z | leetcode/200.number_of_islands/200.NumberofIslands_yhwhu.py | henrytien/AlgorithmSolutions | 62339269f4fa698ddd2e73458caef875af05af8f | [
"MIT"
] | 22 | 2020-07-16T03:23:43.000Z | 2022-02-19T16:00:55.000Z | # Source : https://leetcode.com/problems/number-of-islands/
# Author : yhwhu
# Date : 2020-07-29
#####################################################################################################
#
# Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is
# surrounded by w... | 43.913669 | 1,652 | 0.37926 | 1,020 | 6,104 | 2.196078 | 0.10098 | 0.30625 | 0.401786 | 0.482143 | 0.586607 | 0.546429 | 0.496429 | 0.459821 | 0.425893 | 0.421875 | 0 | 0.11437 | 0.273755 | 6,104 | 138 | 1,653 | 44.231884 | 0.390932 | 0.103539 | 0 | 0.354839 | 0 | 0 | 0.079183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086022 | false | 0 | 0.010753 | 0.010753 | 0.193548 | 0.010753 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d038419707958a2fa00724fc654a8686b2ab7a9 | 104 | py | Python | dpipe/dataset/__init__.py | samokhinv/deep_pipe | 9461b02f5f32c3e9f24490619ebccf417979cffc | [
"MIT"
] | 38 | 2017-09-08T04:51:17.000Z | 2022-03-29T17:34:22.000Z | dpipe/dataset/__init__.py | samokhinv/deep_pipe | 9461b02f5f32c3e9f24490619ebccf417979cffc | [
"MIT"
] | 41 | 2017-09-29T22:06:21.000Z | 2021-12-03T09:31:57.000Z | dpipe/dataset/__init__.py | samokhinv/deep_pipe | 9461b02f5f32c3e9f24490619ebccf417979cffc | [
"MIT"
] | 12 | 2017-09-08T04:40:39.000Z | 2021-01-19T19:19:37.000Z | """
Datasets are used for data and metadata loading.
"""
from .base import Dataset
from .csv import CSV
| 17.333333 | 48 | 0.740385 | 16 | 104 | 4.8125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 104 | 5 | 49 | 20.8 | 0.895349 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
edb20a4ffd43e59eea413125e997615b1fde62fd | 2,045 | py | Python | app.py | ZAD4YTV/extract-wifi-passwords-from-windows | 89c8bec9861876e82fb5262540f53434b3f5fe1f | [
"MIT"
] | 2 | 2020-12-22T06:05:06.000Z | 2020-12-22T06:05:09.000Z | app.py | ZAD4YTV/extract-wifi-passwords-from-windows | 89c8bec9861876e82fb5262540f53434b3f5fe1f | [
"MIT"
] | null | null | null | app.py | ZAD4YTV/extract-wifi-passwords-from-windows | 89c8bec9861876e82fb5262540f53434b3f5fe1f | [
"MIT"
] | null | null | null | # Requirements
import subprocess
# Console print initial
print('######################################################################')
print('')
print('######## ## ## ######## ### ######## ## ## ##')
print('## ## ## ## ## ## ## ## ## ## ## ## ##')
print('## ... | 41.734694 | 166 | 0.446944 | 187 | 2,045 | 4.877005 | 0.465241 | 0.175439 | 0.197368 | 0.219298 | 0.320175 | 0.184211 | 0.157895 | 0.065789 | 0.065789 | 0.065789 | 0 | 0.007509 | 0.218582 | 2,045 | 48 | 167 | 42.604167 | 0.563204 | 0.024939 | 0 | 0.358974 | 0 | 0.025641 | 0.647059 | 0.105581 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.025641 | 0 | 0.025641 | 0.794872 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
edbecb45eddc848fe9a6250e6a9425c696aee623 | 32 | py | Python | vgc/DinosaursVsAirplanes/__main__.py | reedessick/video-game-camp | 09a324279c5ea9de87080f122fe27e1ef83d5373 | [
"MIT"
] | null | null | null | vgc/DinosaursVsAirplanes/__main__.py | reedessick/video-game-camp | 09a324279c5ea9de87080f122fe27e1ef83d5373 | [
"MIT"
] | null | null | null | vgc/DinosaursVsAirplanes/__main__.py | reedessick/video-game-camp | 09a324279c5ea9de87080f122fe27e1ef83d5373 | [
"MIT"
] | null | null | null | from . import game
game.main()
| 8 | 18 | 0.6875 | 5 | 32 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 3 | 19 | 10.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
edd057810862e9b45592c01aea58e9494fbf7d26 | 113 | py | Python | nft_generator/command/version.py | nft-generator/nft_generator | e2e17a204054a39eaf5d904d0956542e11155360 | [
"MIT"
] | 6 | 2021-12-05T10:00:28.000Z | 2022-01-09T02:22:46.000Z | nft_generator/command/version.py | nft-generator/nft_generator | e2e17a204054a39eaf5d904d0956542e11155360 | [
"MIT"
] | null | null | null | nft_generator/command/version.py | nft-generator/nft_generator | e2e17a204054a39eaf5d904d0956542e11155360 | [
"MIT"
] | 5 | 2021-12-05T14:35:37.000Z | 2022-01-13T17:02:10.000Z | import click
from nft_generator import __version__
@click.command()
def version():
print(__version__)
| 12.555556 | 37 | 0.734513 | 13 | 113 | 5.692308 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 113 | 9 | 38 | 12.555556 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
edd41b59023c01a5c3a8d6a18413bd202a595445 | 394 | py | Python | server/src/define_player/config_init_map.py | jacksonsr45/project_game_rpg_server_python | b8a7750d5bcc6558431ac6ac831b1a3728651114 | [
"MIT"
] | null | null | null | server/src/define_player/config_init_map.py | jacksonsr45/project_game_rpg_server_python | b8a7750d5bcc6558431ac6ac831b1a3728651114 | [
"MIT"
] | null | null | null | server/src/define_player/config_init_map.py | jacksonsr45/project_game_rpg_server_python | b8a7750d5bcc6558431ac6ac831b1a3728651114 | [
"MIT"
] | null | null | null | __author__ = "jacksonsr45@gmail.com"
new_init_map = {
'knight': {
'pos_x': {
},
'pos_y': {
},
},
'paladin': {
'pos_x': {
},
'pos_y': {
},
},
'mage': {
'pos_x': {
},
'pos_y': {
},
},
'ranger'... | 11.257143 | 36 | 0.263959 | 27 | 394 | 3.333333 | 0.518519 | 0.177778 | 0.311111 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.532995 | 394 | 35 | 37 | 11.257143 | 0.478261 | 0 | 0 | 0.296296 | 0 | 0 | 0.212658 | 0.053165 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.