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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35e81f406c452eff8517e327c640a5e254df9585 | 55 | py | Python | dassl/data/__init__.py | zhaoxin94/Dassl.pytorch | c0690f3669c561f2ed7410c22fc65eaef30dfd22 | [
"MIT"
] | 1 | 2021-07-25T10:19:02.000Z | 2021-07-25T10:19:02.000Z | dassl/data/__init__.py | zhaoxin94/Dassl.pytorch | c0690f3669c561f2ed7410c22fc65eaef30dfd22 | [
"MIT"
] | null | null | null | dassl/data/__init__.py | zhaoxin94/Dassl.pytorch | c0690f3669c561f2ed7410c22fc65eaef30dfd22 | [
"MIT"
] | null | null | null | from .data_manager import DataManager, DatasetWrapper
| 18.333333 | 53 | 0.854545 | 6 | 55 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 55 | 2 | 54 | 27.5 | 0.938776 | 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 |
ea157a3053242bf3581397f9a170caf3dd59d4f3 | 182 | py | Python | configurations/wsgi.py | andriyor/django-configurations | 141d8ef2c4165d2686f8316827eda49f0eefb1b4 | [
"BSD-3-Clause"
] | 566 | 2015-12-17T09:49:24.000Z | 2022-03-29T16:46:48.000Z | configurations/wsgi.py | andriyor/django-configurations | 141d8ef2c4165d2686f8316827eda49f0eefb1b4 | [
"BSD-3-Clause"
] | 176 | 2015-12-17T11:22:44.000Z | 2022-03-24T10:21:22.000Z | configurations/wsgi.py | andriyor/django-configurations | 141d8ef2c4165d2686f8316827eda49f0eefb1b4 | [
"BSD-3-Clause"
] | 90 | 2015-12-20T14:23:55.000Z | 2022-03-05T09:24:10.000Z | from . import importer
importer.install()
from django.core.wsgi import get_wsgi_application # noqa: E402
# this is just for the crazy ones
application = get_wsgi_application()
| 20.222222 | 65 | 0.774725 | 26 | 182 | 5.269231 | 0.692308 | 0.10219 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.159341 | 182 | 8 | 66 | 22.75 | 0.875817 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
ea1ca83538780809c550d34ad4d1702d05df7e37 | 23 | py | Python | update.py | adamsjlcode/PiClock | 050ffc95313958e088fadeae8c7274d070b0750b | [
"MIT"
] | null | null | null | update.py | adamsjlcode/PiClock | 050ffc95313958e088fadeae8c7274d070b0750b | [
"MIT"
] | null | null | null | update.py | adamsjlcode/PiClock | 050ffc95313958e088fadeae8c7274d070b0750b | [
"MIT"
] | null | null | null | print("Nothing to do.") | 23 | 23 | 0.695652 | 4 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 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 |
ea788253d58cf0dea0f733a289eaf60f783ec9b4 | 63 | py | Python | xpandas/transformers/bag_of_features_transformer/__init__.py | kiraly-group/xpandas | 120ffd258e9eb68a287830dcbad09a11ab737291 | [
"BSD-3-Clause"
] | 27 | 2017-10-23T21:37:30.000Z | 2021-09-18T18:02:10.000Z | xpandas/transformers/bag_of_features_transformer/__init__.py | kiraly-group/xpandas | 120ffd258e9eb68a287830dcbad09a11ab737291 | [
"BSD-3-Clause"
] | 6 | 2018-12-14T14:58:57.000Z | 2021-01-10T23:38:07.000Z | xpandas/transformers/bag_of_features_transformer/__init__.py | kiraly-group/xpandas | 120ffd258e9eb68a287830dcbad09a11ab737291 | [
"BSD-3-Clause"
] | 7 | 2018-01-20T09:28:41.000Z | 2021-07-28T02:58:26.000Z | from .bag_of_features_transformer import BagOfWordsTransformer
| 31.5 | 62 | 0.920635 | 7 | 63 | 7.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.932203 | 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 |
ea7db5cf12f3ab32ae3c201716e4ba8de2c5fad3 | 204 | py | Python | mofatic/query/nested.py | deknowny/mofatic | 222af1ba5aa2ebdb24b448540c12705c7fd645f9 | [
"MIT"
] | 1 | 2021-07-04T19:41:30.000Z | 2021-07-04T19:41:30.000Z | mofatic/query/nested.py | deknowny/mofatic | 222af1ba5aa2ebdb24b448540c12705c7fd645f9 | [
"MIT"
] | 1 | 2021-07-04T22:53:02.000Z | 2021-08-01T22:14:00.000Z | mofatic/query/nested.py | deknowny/mofatic | 222af1ba5aa2ebdb24b448540c12705c7fd645f9 | [
"MIT"
] | null | null | null | import typing
from mofatic.query.base import BaseFieldRule
class NestedFieldRule(BaseFieldRule[BaseFieldRule]):
def represent(self) -> typing.Any:
return {self.name: self.value.represent()} | 25.5 | 52 | 0.754902 | 23 | 204 | 6.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142157 | 204 | 8 | 53 | 25.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
ea8c9ee63dc58bf04ab2ce44f78a1e2266fd2c48 | 88 | py | Python | jatime/errors.py | poyo46/jatime | 8b1b7600c3c6ca73994eaccd2db986b9aa72b874 | [
"Apache-2.0"
] | null | null | null | jatime/errors.py | poyo46/jatime | 8b1b7600c3c6ca73994eaccd2db986b9aa72b874 | [
"Apache-2.0"
] | null | null | null | jatime/errors.py | poyo46/jatime | 8b1b7600c3c6ca73994eaccd2db986b9aa72b874 | [
"Apache-2.0"
] | null | null | null | class InvalidValueError(Exception):
pass
class NotFoundError(Exception):
pass
| 12.571429 | 35 | 0.75 | 8 | 88 | 8.25 | 0.625 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 6 | 36 | 14.666667 | 0.916667 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
57985cc43c0b24022f6bc707b7f98bf07de3e12f | 256 | py | Python | tests/run/pure_py_cimports.py | johannes-mueller/cython | b75af38ce5c309cd84c1835220932e53e9a9adb6 | [
"Apache-2.0"
] | 6,663 | 2015-01-02T06:06:43.000Z | 2022-03-31T10:35:02.000Z | tests/run/pure_py_cimports.py | johannes-mueller/cython | b75af38ce5c309cd84c1835220932e53e9a9adb6 | [
"Apache-2.0"
] | 3,094 | 2015-01-01T15:44:13.000Z | 2022-03-31T19:49:57.000Z | tests/run/pure_py_cimports.py | scoder/cython | ddaaa7b8bfe9885b7bed432cd0a5ab8191d112cd | [
"Apache-2.0"
] | 1,425 | 2015-01-12T07:21:27.000Z | 2022-03-30T14:10:40.000Z | # mode: run
# tag: pure, import, cimport
from cython.cimports.libc import math
from cython.cimports.libc.math import ceil
def libc_math_ceil(x):
"""
>>> libc_math_ceil(1.5)
[2, 2]
"""
return [int(n) for n in [ceil(x), math.ceil(x)]]
| 18.285714 | 52 | 0.628906 | 42 | 256 | 3.738095 | 0.52381 | 0.152866 | 0.229299 | 0.280255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.210938 | 256 | 13 | 53 | 19.692308 | 0.757426 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
57b0b0f23808534ebaaeb75fd420175277b8cd09 | 231 | py | Python | bittrex/exceptions.py | thiezn/bittrex-python | 56aa0f16bfc61bf4c833364c98b27c38325c792d | [
"MIT"
] | 1 | 2022-02-06T01:24:20.000Z | 2022-02-06T01:24:20.000Z | bittrex/exceptions.py | alimogh/bittrex-python | 56aa0f16bfc61bf4c833364c98b27c38325c792d | [
"MIT"
] | null | null | null | bittrex/exceptions.py | alimogh/bittrex-python | 56aa0f16bfc61bf4c833364c98b27c38325c792d | [
"MIT"
] | 1 | 2022-02-06T01:24:22.000Z | 2022-02-06T01:24:22.000Z | class ResponseError(Exception):
"""Raised when the bittrex API returns an
error in the message response"""
class RequestError(Exception):
"""Raised when the request towards the bittrex
API is incorrect or fails"""
| 28.875 | 50 | 0.727273 | 30 | 231 | 5.6 | 0.7 | 0.178571 | 0.22619 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 231 | 7 | 51 | 33 | 0.903226 | 0.597403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
57d85e2b36e74179031c73b6e0b5ba14c5f6700d | 37 | py | Python | visualization/tests.py | bikramtuladhar/covid-19-procurement-explorer-admin | 9bba473c8b83c8651e3178b6fba01af74d8b27dc | [
"BSD-3-Clause"
] | null | null | null | visualization/tests.py | bikramtuladhar/covid-19-procurement-explorer-admin | 9bba473c8b83c8651e3178b6fba01af74d8b27dc | [
"BSD-3-Clause"
] | null | null | null | visualization/tests.py | bikramtuladhar/covid-19-procurement-explorer-admin | 9bba473c8b83c8651e3178b6fba01af74d8b27dc | [
"BSD-3-Clause"
] | null | null | null | # Delete this line once tests added.
| 18.5 | 36 | 0.756757 | 6 | 37 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.933333 | 0.918919 | 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 |
57da3bf7af396fa556203c497651d4f0dfa79524 | 729 | py | Python | plugins/box/komand_box/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/box/komand_box/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/box/komand_box/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .add_user_to_group.action import AddUserToGroup
from .create_user.action import CreateUser
from .delete_file.action import DeleteFile
from .delete_folder.action import DeleteFolder
from .delete_user.action import DeleteUser
from .download_file.action import DownloadFile
from... | 42.882353 | 61 | 0.861454 | 103 | 729 | 5.893204 | 0.407767 | 0.29654 | 0.158155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09465 | 729 | 16 | 62 | 45.5625 | 0.919697 | 0.050754 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
17c7d319b062420c05102beeb74d650503e8739e | 59 | py | Python | pysparkcli/core/utils/__init__.py | qburst/pysparkcli | f28737566473a42a1a11e8ff01f7c2480ac78165 | [
"MIT"
] | 2 | 2019-12-31T08:16:38.000Z | 2021-01-13T16:09:57.000Z | pysparkcli/core/utils/__init__.py | qburst/pysparkcli | f28737566473a42a1a11e8ff01f7c2480ac78165 | [
"MIT"
] | 16 | 2019-12-30T07:21:26.000Z | 2021-06-02T03:09:58.000Z | pysparkcli/core/utils/__init__.py | qburst/pysparkcli | f28737566473a42a1a11e8ff01f7c2480ac78165 | [
"MIT"
] | 8 | 2019-11-27T09:18:25.000Z | 2021-11-24T17:53:47.000Z | from .handle_zip_files import HandleZipFiles, BuildZipNames | 59 | 59 | 0.898305 | 7 | 59 | 7.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.927273 | 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 |
a4e8699c02e6cd71c82785316e88aaef7f81e1a3 | 123 | py | Python | python/testData/folding/importBlock.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/folding/importBlock.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/folding/importBlock.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | """This is a module-level docstring."""
<fold text='import ...'>import os
import sys</fold>
print os.path
print sys.name
| 15.375 | 39 | 0.691057 | 20 | 123 | 4.25 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 123 | 7 | 40 | 17.571429 | 0.801887 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
a4ed4d25a71992189213aafbf72c86d1c38a5934 | 226 | py | Python | utils/metrics.py | rosaann/kaggle-hpa | b59ddd3232d01484dea446bedcee9dfe0f461bac | [
"BSD-2-Clause"
] | 2 | 2019-04-17T21:53:06.000Z | 2019-10-09T14:57:00.000Z | utils/metrics.py | rosaann/kaggle-hpa | b59ddd3232d01484dea446bedcee9dfe0f461bac | [
"BSD-2-Clause"
] | null | null | null | utils/metrics.py | rosaann/kaggle-hpa | b59ddd3232d01484dea446bedcee9dfe0f461bac | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
import sklearn.metrics
def f1_score(actual, predicted, average='macro'):
actual = np.array(actual)
predicted = np.array(predicted)
return sklearn.metrics.f1_score(actual, predicted, average=average)
| 25.111111 | 69 | 0.769912 | 31 | 226 | 5.548387 | 0.483871 | 0.261628 | 0.151163 | 0.255814 | 0.337209 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.123894 | 226 | 8 | 70 | 28.25 | 0.858586 | 0 | 0 | 0 | 0 | 0 | 0.022124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 |
a4f9072d7352d24e658031f629ac77210bd345a1 | 157 | py | Python | demos/fortnightly/libs/baseclass/toolbar.py | Jonypr-code/KivyMD | 3ac5ba86430d9002baef678b47f0d7873b66b7bd | [
"MIT"
] | 1,111 | 2015-07-15T02:31:09.000Z | 2022-03-29T17:22:02.000Z | demos/fortnightly/libs/baseclass/toolbar.py | AllSafeCybercurity/kivyMD | 85c51f3e7a26ca170d639e73899df5d465ee8941 | [
"MIT"
] | 706 | 2015-06-10T22:24:13.000Z | 2022-03-31T16:22:39.000Z | demos/fortnightly/libs/baseclass/toolbar.py | AllSafeCybercurity/kivyMD | 85c51f3e7a26ca170d639e73899df5d465ee8941 | [
"MIT"
] | 561 | 2015-07-15T04:57:23.000Z | 2022-03-31T17:14:31.000Z | from kivymd.theming import ThemableBehavior
from kivymd.uix.boxlayout import MDBoxLayout
class FortnightlyToolbar(ThemableBehavior, MDBoxLayout):
pass
| 22.428571 | 56 | 0.840764 | 16 | 157 | 8.25 | 0.6875 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11465 | 157 | 6 | 57 | 26.166667 | 0.94964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
350b1162bc6eb3fa29e3e430b612072995b84282 | 104 | py | Python | algorithms/DeepFashion/src/DeepFashion_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/DeepFashion/src/DeepFashion_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | algorithms/DeepFashion/src/DeepFashion_test.py | algorithmia-algorithms/qa-algorithm-scripts | ac2ae204e473bb788fad989d41f56adf7a326a32 | [
"MIT"
] | null | null | null | from . import DeepFashion
def test_DeepFashion():
assert DeepFashion.apply("Jane") == "hello Jane"
| 20.8 | 52 | 0.721154 | 12 | 104 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 4 | 53 | 26 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
353333259a48b592d305f04f3bd6c69132e4e31c | 72 | py | Python | beefdeets/__init__.py | teaearlgraycold/beefdeets | 653997fc41e6b1f2d49e291879f368e6dd21873d | [
"MIT"
] | null | null | null | beefdeets/__init__.py | teaearlgraycold/beefdeets | 653997fc41e6b1f2d49e291879f368e6dd21873d | [
"MIT"
] | null | null | null | beefdeets/__init__.py | teaearlgraycold/beefdeets | 653997fc41e6b1f2d49e291879f368e6dd21873d | [
"MIT"
] | null | null | null | """beefdeets site."""
from .app import app
from .deadbeef import Player
| 18 | 28 | 0.736111 | 10 | 72 | 5.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 72 | 3 | 29 | 24 | 0.854839 | 0.208333 | 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 |
35387cd94f8a0c79fc40a0c9b6571b0aa22144f6 | 129 | py | Python | scxmlProcessor/ConfigProcessing.py | cesarcolle/ScxmlGenerator | d41ca560bb9c93f2320fedccebc0aade2ad85b53 | [
"MIT"
] | null | null | null | scxmlProcessor/ConfigProcessing.py | cesarcolle/ScxmlGenerator | d41ca560bb9c93f2320fedccebc0aade2ad85b53 | [
"MIT"
] | null | null | null | scxmlProcessor/ConfigProcessing.py | cesarcolle/ScxmlGenerator | d41ca560bb9c93f2320fedccebc0aade2ad85b53 | [
"MIT"
] | null | null | null | import json
import scxml.node
class ConfigProcessing:
def __init__(self, path):
scxml.node.Transition
pass | 14.333333 | 29 | 0.682171 | 15 | 129 | 5.6 | 0.8 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 129 | 9 | 30 | 14.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
104f2ff6ebac5dc7604d3676950b411a14eb1e9c | 147 | py | Python | python-lophi/lophi/sensors/network/virtual.py | patriotemeritus/LO-PHI | 8f92c4efb94061cb08b7e9b0ff96346565c12653 | [
"BSD-3-Clause"
] | 28 | 2016-02-26T00:54:16.000Z | 2022-02-24T12:21:15.000Z | python-lophi/lophi/sensors/network/virtual.py | patriotemeritus/LO-PHI | 8f92c4efb94061cb08b7e9b0ff96346565c12653 | [
"BSD-3-Clause"
] | 2 | 2016-03-15T21:49:09.000Z | 2016-07-12T22:11:39.000Z | python-lophi/lophi/sensors/network/virtual.py | patriotemeritus/LO-PHI | 8f92c4efb94061cb08b7e9b0ff96346565c12653 | [
"BSD-3-Clause"
] | 9 | 2016-06-08T14:42:28.000Z | 2021-11-11T03:51:34.000Z | from lophi.sensors.network import NetworkSensor
class NetworkSensorVirtual(NetworkSensor):
"""
Virtual network sensor for SUTs
""" | 24.5 | 47 | 0.727891 | 14 | 147 | 7.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 147 | 6 | 48 | 24.5 | 0.90678 | 0.210884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 |
10af02d7c53cd524e245f446415aab39f7253a5a | 36 | py | Python | QueryLogic/__init__.py | fijitheislandboy/StarChildPub | 9cf42dfecd8f298b7a52ed9f572c4b4a34ac4230 | [
"MIT"
] | null | null | null | QueryLogic/__init__.py | fijitheislandboy/StarChildPub | 9cf42dfecd8f298b7a52ed9f572c4b4a34ac4230 | [
"MIT"
] | null | null | null | QueryLogic/__init__.py | fijitheislandboy/StarChildPub | 9cf42dfecd8f298b7a52ed9f572c4b4a34ac4230 | [
"MIT"
] | null | null | null | # Fiji Marcelin
# computingID:fm4cg | 18 | 19 | 0.777778 | 4 | 36 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.138889 | 36 | 2 | 19 | 18 | 0.870968 | 0.861111 | 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 |
529e147cb28b1b43626de392d98f7d4c8e223fb6 | 3,138 | py | Python | groupdocs_comparison_cloud/__init__.py | groupdocs-comparison-cloud/groupdocs-comparison-cloud-python | f970b22fae7a791d07b756c2d418217fd368c289 | [
"MIT"
] | null | null | null | groupdocs_comparison_cloud/__init__.py | groupdocs-comparison-cloud/groupdocs-comparison-cloud-python | f970b22fae7a791d07b756c2d418217fd368c289 | [
"MIT"
] | null | null | null | groupdocs_comparison_cloud/__init__.py | groupdocs-comparison-cloud/groupdocs-comparison-cloud-python | f970b22fae7a791d07b756c2d418217fd368c289 | [
"MIT"
] | 1 | 2021-02-02T18:41:48.000Z | 2021-02-02T18:41:48.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis
from groupdocs_comparison_cloud.apis.compare_api import CompareApi, ComparisonsRequest, PostChangesRequest, PutChangesDocumentRequest
from groupdocs_comparison_cloud.apis.file_api import FileApi, CopyFileRequest, DeleteFileRequest, DownloadFileReques... | 64.040816 | 165 | 0.907266 | 367 | 3,138 | 7.446866 | 0.283379 | 0.180754 | 0.319795 | 0.389316 | 0.458105 | 0.128796 | 0 | 0 | 0 | 0 | 0 | 0.00034 | 0.061823 | 3,138 | 48 | 166 | 65.375 | 0.927989 | 0.018802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
52c321725ae1676513936fad4815c1721fdfbb0d | 89 | py | Python | bento/common/__init__.py | dereklarson/bento | dd2443e292430fcc8f6e94400e7f91617f689cd7 | [
"MIT"
] | 7 | 2020-07-27T19:21:26.000Z | 2021-08-29T11:38:42.000Z | bento/common/__init__.py | dereklarson/bento | dd2443e292430fcc8f6e94400e7f91617f689cd7 | [
"MIT"
] | 11 | 2020-07-27T02:10:17.000Z | 2020-09-04T03:17:42.000Z | bento/common/__init__.py | dereklarson/bento | dd2443e292430fcc8f6e94400e7f91617f689cd7 | [
"MIT"
] | 1 | 2020-10-03T07:25:34.000Z | 2020-10-03T07:25:34.000Z | # common utilities package
# TODO Would be sensible to make this a separate PyPI package
| 29.666667 | 61 | 0.797753 | 14 | 89 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 2 | 62 | 44.5 | 0.972603 | 0.94382 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
52cab1bcceb3cc9cb4e09a72be58040072f329d6 | 154 | py | Python | tests/fibonacci/test_fib6.py | erikopa/classic-cs-problems | 9b9974afbacec36045ca3259da5a35a40b2cb953 | [
"MIT"
] | null | null | null | tests/fibonacci/test_fib6.py | erikopa/classic-cs-problems | 9b9974afbacec36045ca3259da5a35a40b2cb953 | [
"MIT"
] | null | null | null | tests/fibonacci/test_fib6.py | erikopa/classic-cs-problems | 9b9974afbacec36045ca3259da5a35a40b2cb953 | [
"MIT"
] | null | null | null | import pytest
from src.fibonacci.fib5 import fib5
def test_fib6_iterative_with_generator():
assert fib5(5) == 5
assert fib5(50) == 12586269025
| 17.111111 | 41 | 0.74026 | 22 | 154 | 5 | 0.727273 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 0.175325 | 154 | 8 | 42 | 19.25 | 0.708661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
52f30f55a1d10b8b2a84d426fc656e8113d9f794 | 702 | py | Python | dashboard/views.py | Ltmyth/newrepo | 93f97af5f491e0b7d4ed7474b919810ebd721f3f | [
"MIT"
] | 1 | 2018-06-29T08:04:38.000Z | 2018-06-29T08:04:38.000Z | dashboard/views.py | Ltmyth/newrepo | 93f97af5f491e0b7d4ed7474b919810ebd721f3f | [
"MIT"
] | 3 | 2020-02-12T01:09:29.000Z | 2021-06-10T20:33:31.000Z | dashboard/views.py | Ltmyth/newrepo | 93f97af5f491e0b7d4ed7474b919810ebd721f3f | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.contrib.auth.decorators import login_required
import africastalking
# Create your views here.
@login_required
def index(request):
#return HttpResponse("Dashboard home page.")
return render(request, "includes/newbes.html")
@login_re... | 24.206897 | 57 | 0.790598 | 89 | 702 | 6.191011 | 0.382022 | 0.141561 | 0.181488 | 0.246824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109687 | 702 | 28 | 58 | 25.071429 | 0.8816 | 0.094017 | 0 | 0.157895 | 0 | 0 | 0.216772 | 0.033228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.210526 | 0.315789 | 0.842105 | 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 |
eaa73bc1b5c13abf9ad627486e0d5a4fa28b590a | 59 | py | Python | cluster_tools/label_multisets/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 28 | 2018-12-09T22:11:52.000Z | 2022-02-01T16:48:23.000Z | cluster_tools/label_multisets/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 16 | 2019-01-27T10:59:33.000Z | 2022-01-11T09:09:24.000Z | cluster_tools/label_multisets/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 11 | 2018-12-09T22:11:56.000Z | 2021-08-08T20:10:13.000Z | from .label_multiset_workflow import LabelMultisetWorkflow
| 29.5 | 58 | 0.915254 | 6 | 59 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.945455 | 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 |
eab465d17ac96459a7514f699822e2ee80a156e3 | 694 | py | Python | Src/Hosts/Silverlight/Tests/tests/regressions/test_issubclass.py | jdhardy/dlr | dca078fbf9d103fad4dcabda76795a23d82106bc | [
"Apache-2.0"
] | null | null | null | Src/Hosts/Silverlight/Tests/tests/regressions/test_issubclass.py | jdhardy/dlr | dca078fbf9d103fad4dcabda76795a23d82106bc | [
"Apache-2.0"
] | null | null | null | Src/Hosts/Silverlight/Tests/tests/regressions/test_issubclass.py | jdhardy/dlr | dca078fbf9d103fad4dcabda76795a23d82106bc | [
"Apache-2.0"
] | null | null | null | import unittest
import clr
import System
class IsSubClassRegression(unittest.TestCase):
def x(self):
return 2
def y(self):
return 'abc'
def test_same_class(self):
self.assertFalse(self.x().GetType().IsSubclassOf(System.Int32))
self.assertFalse(self.y().GetType().IsSub... | 27.76 | 72 | 0.680115 | 82 | 694 | 5.670732 | 0.317073 | 0.245161 | 0.322581 | 0.258065 | 0.567742 | 0.488172 | 0.488172 | 0.197849 | 0 | 0 | 0 | 0.008757 | 0.177233 | 694 | 24 | 73 | 28.916667 | 0.805604 | 0 | 0 | 0.117647 | 0 | 0 | 0.004329 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 1 | 0.294118 | false | 0 | 0.176471 | 0.117647 | 0.647059 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
eac62aa4c24742933b51606187d3c06f45fc22c0 | 66 | py | Python | tests/test_appname_cmd.py | LedgerHQ/ledger-app-neo3 | 48e1e0dec3e4801fc3ab1b07c4fe4ed86735a642 | [
"MIT"
] | null | null | null | tests/test_appname_cmd.py | LedgerHQ/ledger-app-neo3 | 48e1e0dec3e4801fc3ab1b07c4fe4ed86735a642 | [
"MIT"
] | 5 | 2021-09-13T16:41:52.000Z | 2022-01-12T16:00:21.000Z | tests/test_appname_cmd.py | isabella232/app-neo3 | c48ec5032143fe606d694372c2cfc02082b2ce03 | [
"MIT"
] | 3 | 2021-09-01T11:40:09.000Z | 2022-03-06T06:45:13.000Z | def test_app_name(cmd):
assert cmd.get_app_name() == "NEO N3"
| 22 | 41 | 0.681818 | 12 | 66 | 3.416667 | 0.75 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.166667 | 66 | 2 | 42 | 33 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d80308a9e7c99e9d94e30b79ac6a3595bf0fd3f2 | 33 | py | Python | emulator/manic_miner/__init__.py | rola93/pgTK90 | 2111f1968a29979d9b850f840ab86a1ae0673180 | [
"MIT"
] | null | null | null | emulator/manic_miner/__init__.py | rola93/pgTK90 | 2111f1968a29979d9b850f840ab86a1ae0673180 | [
"MIT"
] | null | null | null | emulator/manic_miner/__init__.py | rola93/pgTK90 | 2111f1968a29979d9b850f840ab86a1ae0673180 | [
"MIT"
] | null | null | null | from .interface import ManicMiner | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d81c7932164f33afc52bf9f7c9f49a7f94916ef0 | 43 | py | Python | lookout/core/api/service_data_pb2.py | Guillemdb/lookout-sdk-ml | 47f96120cb415dd15c98906ee161cd9085257d73 | [
"Apache-2.0"
] | 3 | 2018-12-05T16:06:47.000Z | 2019-04-18T10:10:14.000Z | lookout/core/api/service_data_pb2.py | Guillemdb/lookout-sdk-ml | 47f96120cb415dd15c98906ee161cd9085257d73 | [
"Apache-2.0"
] | 39 | 2018-11-22T21:37:57.000Z | 2019-05-21T12:09:02.000Z | lookout/core/api/service_data_pb2.py | Guillemdb/lookout-sdk-ml | 47f96120cb415dd15c98906ee161cd9085257d73 | [
"Apache-2.0"
] | 12 | 2018-11-06T15:10:39.000Z | 2021-01-28T11:39:21.000Z | from lookout.sdk.service_data_pb2 import *
| 21.5 | 42 | 0.837209 | 7 | 43 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.093023 | 43 | 1 | 43 | 43 | 0.846154 | 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 |
d8339875c484b1aca7b02f38331216770db98480 | 40 | py | Python | lumapps/latest/client/exceptions.py | lumapps/lumapps-sdk | f20a05534cdac803ff0676eb94fb0c5891cf5a36 | [
"MIT"
] | 8 | 2018-12-17T15:46:22.000Z | 2021-11-16T16:18:26.000Z | lumapps/latest/client/exceptions.py | lumapps/lumapps-sdk | f20a05534cdac803ff0676eb94fb0c5891cf5a36 | [
"MIT"
] | 118 | 2019-01-03T10:35:59.000Z | 2022-03-17T16:43:05.000Z | lumapps/latest/client/exceptions.py | lumapps/lumapps-sdk | f20a05534cdac803ff0676eb94fb0c5891cf5a36 | [
"MIT"
] | 10 | 2018-11-23T13:57:22.000Z | 2021-09-30T20:55:40.000Z | class InvalidLogin(Exception):
pass
| 13.333333 | 30 | 0.75 | 4 | 40 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 31 | 20 | 0.909091 | 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 |
d834bc4c5ef1f269c30525f606fa59187ec9362b | 812 | py | Python | plugins/dnh.py | MrRizoel/RiZoeLVCstream | 66686932eb8715ec4b0872d593c2c401af7a4417 | [
"MIT"
] | null | null | null | plugins/dnh.py | MrRizoel/RiZoeLVCstream | 66686932eb8715ec4b0872d593c2c401af7a4417 | [
"MIT"
] | null | null | null | plugins/dnh.py | MrRizoel/RiZoeLVCstream | 66686932eb8715ec4b0872d593c2c401af7a4417 | [
"MIT"
] | null | null | null | import os
from config import ASSISTANT_NAME
HELP_TEXT =f"**SETTINGS** \n\n`1) Add this Bot to your Group and Make it Admin` \n2) **Add** @{ASSISTANT_NAME} **to your Group** \n\n**COMMANDS** \n\n- `/vplay` **: Reply to Video or File That You Want To stream In Vc.** \n- `/stop` **: Stop the stream**"
START_TEXT = '👋 `... | 116 | 378 | 0.714286 | 145 | 812 | 4.027586 | 0.613793 | 0.023973 | 0.037671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005874 | 0.16133 | 812 | 6 | 379 | 135.333333 | 0.838473 | 0 | 0 | 0 | 0 | 0.6 | 0.8867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dc20c582122a995448c77d5f9e50de119933acf1 | 219 | py | Python | Statistics/Stats/Variance_Sample_Proportion.py | jasmansingh84/PyStatisticalcalci | cc310f53472cb0a314849379c3c472ebd709c4b7 | [
"MIT"
] | null | null | null | Statistics/Stats/Variance_Sample_Proportion.py | jasmansingh84/PyStatisticalcalci | cc310f53472cb0a314849379c3c472ebd709c4b7 | [
"MIT"
] | null | null | null | Statistics/Stats/Variance_Sample_Proportion.py | jasmansingh84/PyStatisticalcalci | cc310f53472cb0a314849379c3c472ebd709c4b7 | [
"MIT"
] | null | null | null | from Statistics.Stats.proportion import proportion
from Statistics.Stats.variance import variance
def variance_sample_proportion(numbers):
variance_value = proportion(numbers)
return variance(variance_value)
| 24.333333 | 50 | 0.826484 | 25 | 219 | 7.08 | 0.44 | 0.158192 | 0.214689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118721 | 219 | 8 | 51 | 27.375 | 0.917098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
dc405a4571d6edf19c5cb95225eff73956e5a154 | 529 | py | Python | vaultier/acls/migrations/__init__.py | witoon-acom/vaultier | 54d7c1db54f60da60a0a61e9233e57cf28ea032a | [
"BSD-3-Clause"
] | null | null | null | vaultier/acls/migrations/__init__.py | witoon-acom/vaultier | 54d7c1db54f60da60a0a61e9233e57cf28ea032a | [
"BSD-3-Clause"
] | null | null | null | vaultier/acls/migrations/__init__.py | witoon-acom/vaultier | 54d7c1db54f60da60a0a61e9233e57cf28ea032a | [
"BSD-3-Clause"
] | 1 | 2020-09-18T10:05:32.000Z | 2020-09-18T10:05:32.000Z | from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^vaultier\.business\.fields\."
"ObjectReferenceTypeField"])
add_introspection_rules([], ["^acls\.business\.fields\.RoleLevelField"])
add_introspection_rules([], ["^libs\.lowercasefield\.lowercasefield\."... | 58.777778 | 79 | 0.699433 | 42 | 529 | 8.52381 | 0.452381 | 0.268156 | 0.351955 | 0.139665 | 0.217877 | 0.217877 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139887 | 529 | 8 | 80 | 66.125 | 0.786813 | 0 | 0 | 0 | 0 | 0 | 0.448015 | 0.413989 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc48028f5b24768f00f1247d06955aa39ebea6ae | 34 | py | Python | run_client.py | zhmzlzn/Network-Pj-BookReader | 891d395f2db464f4d4e7b84dd03c3cddebbafd30 | [
"MIT"
] | 6 | 2019-11-28T10:47:46.000Z | 2021-11-04T08:22:56.000Z | run_client.py | zhmzlzn/python-BookReader | 891d395f2db464f4d4e7b84dd03c3cddebbafd30 | [
"MIT"
] | null | null | null | run_client.py | zhmzlzn/python-BookReader | 891d395f2db464f4d4e7b84dd03c3cddebbafd30 | [
"MIT"
] | 4 | 2019-12-17T15:29:22.000Z | 2021-05-28T16:39:51.000Z | import client
client.init_client() | 17 | 20 | 0.852941 | 5 | 34 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 2 | 20 | 17 | 0.875 | 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 |
dc6e5464ff4fa3579e26b6443dc60fbb9299e596 | 183 | py | Python | api.py | akindone/AdslProxy | 58401acb08b86aacd2c7f3491f0ae536f47751d7 | [
"MIT"
] | 3 | 2019-04-29T00:26:05.000Z | 2021-01-08T06:39:36.000Z | api.py | akindone/AdslProxy | 58401acb08b86aacd2c7f3491f0ae536f47751d7 | [
"MIT"
] | null | null | null | api.py | akindone/AdslProxy | 58401acb08b86aacd2c7f3491f0ae536f47751d7 | [
"MIT"
] | 3 | 2019-12-23T08:26:44.000Z | 2022-03-16T17:24:08.000Z | # coding=utf-8
from adslproxy.api import server
from adslproxy.db import RedisClient
if __name__ == '__main__':
redis = RedisClient(host='', password='')
server(redis=redis)
| 22.875 | 45 | 0.721311 | 23 | 183 | 5.391304 | 0.695652 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.153005 | 183 | 7 | 46 | 26.142857 | 0.793548 | 0.065574 | 0 | 0 | 0 | 0 | 0.047337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
dc713225e596272522b99e2a9fa46080a95b4b60 | 55 | py | Python | topycal/__init__.py | brianrusso/topycal | 0aefd26ebf9131f51157b749cc67a9ec2b30bc11 | [
"BSD-3-Clause"
] | null | null | null | topycal/__init__.py | brianrusso/topycal | 0aefd26ebf9131f51157b749cc67a9ec2b30bc11 | [
"BSD-3-Clause"
] | null | null | null | topycal/__init__.py | brianrusso/topycal | 0aefd26ebf9131f51157b749cc67a9ec2b30bc11 | [
"BSD-3-Clause"
] | null | null | null | from .lda import TopycalLDA
from .nmf import TopycalNMF | 27.5 | 27 | 0.836364 | 8 | 55 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 28 | 27.5 | 0.958333 | 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 |
dc7a27c5241e2f96892282a123915934ef0e623e | 175 | py | Python | pincer/middleware/voice_settings_update.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | pincer/middleware/voice_settings_update.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | pincer/middleware/voice_settings_update.py | ashu96902/Pincer | 102ac4ff998cbb3c57a86b252439f69895650cf3 | [
"MIT"
] | null | null | null | # Copyright Pincer 2021-Present
# Full MIT License can be found in `LICENSE` at the project root.
"""sent when the client's voice settings update"""
# TODO: Implement event
| 25 | 65 | 0.742857 | 27 | 175 | 4.814815 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.171429 | 175 | 6 | 66 | 29.166667 | 0.868966 | 0.92 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc8295195e960fda1a48674ed6767405029315b7 | 2,951 | py | Python | SDK/backports.ssl_match_hostname-3.4.0.2/setup.py | Gr1ph00n/staticwebanalyzer | 8bf6337a77192b85913d75778830ccbb9006081f | [
"MIT"
] | 1 | 2019-12-04T11:04:45.000Z | 2019-12-04T11:04:45.000Z | cmb_phase_plane/build/backports.ssl-match-hostname/setup.py | mathnathan/notebooks | 63ae2f17fd8e1cd8d80fef8ee3b0d3d11d45cd28 | [
"MIT"
] | null | null | null | cmb_phase_plane/build/backports.ssl-match-hostname/setup.py | mathnathan/notebooks | 63ae2f17fd8e1cd8d80fef8ee3b0d3d11d45cd28 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# This setup.py was generated automatically by Pyron.
# For details, see http://pypi.python.org/pypi/pyron/
from setuptools import setup, find_packages
setup(
name = 'backports.ssl_match_hostname',
version = '3.4.0.2',
description = 'The ssl.match_hostname() function from Python 3.... | 128.304348 | 1,861 | 0.725517 | 443 | 2,951 | 4.760722 | 0.44921 | 0.061641 | 0.082978 | 0.05927 | 0.027501 | 0.027501 | 0.027501 | 0.027501 | 0 | 0 | 0 | 0.027755 | 0.157574 | 2,951 | 22 | 1,862 | 134.136364 | 0.820595 | 0.042359 | 0 | 0 | 1 | 0.0625 | 0.856839 | 0.110206 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4c83c0361fb5522434941e46a7612bd210452ae | 170 | py | Python | aioqvapay/v1/exceptions.py | leynier/aioqvapay | 42cd0dc1d447ceb6dcb6f3be9408e5cfd3dfe9d1 | [
"MIT"
] | 8 | 2021-08-28T21:32:12.000Z | 2021-08-31T13:49:47.000Z | aioqvapay/v2/exceptions.py | leynier/aioqvapay | 42cd0dc1d447ceb6dcb6f3be9408e5cfd3dfe9d1 | [
"MIT"
] | 19 | 2021-08-28T21:49:02.000Z | 2021-09-18T20:50:35.000Z | aioqvapay/v2/exceptions.py | leynier/aioqvapay | 42cd0dc1d447ceb6dcb6f3be9408e5cfd3dfe9d1 | [
"MIT"
] | null | null | null | class QvaPayException(Exception):
def __init__(self, status_code: int, *args: object) -> None:
super().__init__(*args)
self.status_code = status_code
| 34 | 64 | 0.676471 | 20 | 170 | 5.2 | 0.65 | 0.288462 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 170 | 4 | 65 | 42.5 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 5 |
f4f6f4af4a2b614bd1a76cce7c262a3fecd5f554 | 22 | py | Python | GameSystem/Battle.py | NoOneZero/arena | 6828ea3c9e852cbffb09ba1f94b9a672d5b4645d | [
"Apache-2.0"
] | null | null | null | GameSystem/Battle.py | NoOneZero/arena | 6828ea3c9e852cbffb09ba1f94b9a672d5b4645d | [
"Apache-2.0"
] | null | null | null | GameSystem/Battle.py | NoOneZero/arena | 6828ea3c9e852cbffb09ba1f94b9a672d5b4645d | [
"Apache-2.0"
] | null | null | null | class Battle:
pass | 11 | 13 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 22 | 2 | 14 | 11 | 0.9375 | 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 |
5206b96be6f87e99e8ae820bdd788444f4d255d9 | 220 | py | Python | mmseg/core/seg/__init__.py | weiyx16/mmsegmentation | 6d35d76195f173fbc6b119a7d7815e67d78024c6 | [
"Apache-2.0"
] | 103 | 2022-02-20T17:12:54.000Z | 2022-03-30T07:09:48.000Z | mmseg/core/seg/__init__.py | weiyx16/mmsegmentation | 6d35d76195f173fbc6b119a7d7815e67d78024c6 | [
"Apache-2.0"
] | 13 | 2022-02-15T20:05:18.000Z | 2022-02-15T20:05:21.000Z | mmseg/core/seg/__init__.py | weiyx16/mmsegmentation | 6d35d76195f173fbc6b119a7d7815e67d78024c6 | [
"Apache-2.0"
] | 17 | 2022-02-22T06:29:50.000Z | 2022-03-30T05:03:06.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from .builder import build_pixel_sampler
from .sampler import BasePixelSampler, OHEMPixelSampler
__all__ = ['build_pixel_sampler', 'BasePixelSampler', 'OHEMPixelSampler']
| 36.666667 | 73 | 0.813636 | 23 | 220 | 7.434783 | 0.608696 | 0.116959 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 220 | 5 | 74 | 44 | 0.863636 | 0.204545 | 0 | 0 | 0 | 0 | 0.294798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
52119d5cd53a8b998bde4ffb44281da47860c9bf | 49 | py | Python | numpy/distutils/tests/swig_ext/__init__.py | ivanov/numpy | 6d2665626e40f346bb5af8d780579f5a429ff9ba | [
"BSD-3-Clause"
] | null | null | null | numpy/distutils/tests/swig_ext/__init__.py | ivanov/numpy | 6d2665626e40f346bb5af8d780579f5a429ff9ba | [
"BSD-3-Clause"
] | null | null | null | numpy/distutils/tests/swig_ext/__init__.py | ivanov/numpy | 6d2665626e40f346bb5af8d780579f5a429ff9ba | [
"BSD-3-Clause"
] | null | null | null | from __future__ import division, absolute_import
| 24.5 | 48 | 0.877551 | 6 | 49 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
525669b7020e678b83395dbf97de31e054f0f293 | 64 | py | Python | ormcache/__init__.py | dcramer/django-orm-cache | 9a47ace9f81a9b738769e12a4c588909284f42ab | [
"BSD-2-Clause"
] | 12 | 2015-01-15T01:38:03.000Z | 2021-02-04T07:34:18.000Z | ormcache/__init__.py | dcramer/django-orm-cache | 9a47ace9f81a9b738769e12a4c588909284f42ab | [
"BSD-2-Clause"
] | 1 | 2017-12-13T12:02:14.000Z | 2021-06-15T14:44:06.000Z | ormcache/__init__.py | dcramer/django-orm-cache | 9a47ace9f81a9b738769e12a4c588909284f42ab | [
"BSD-2-Clause"
] | 2 | 2016-08-09T16:32:52.000Z | 2017-06-08T09:03:18.000Z | from manager import CacheManager
from models import CachedModel
| 21.333333 | 32 | 0.875 | 8 | 64 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 33 | 32 | 1 | 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 |
5257975f408bac92addca35486a72c57b6307650 | 789 | bzl | Python | src/rules_typescript_proto_dependencies.bzl | zaycev/rules_typescript_proto | c6ee53325bdcb251c71f2d14d28a25e9db73fd4e | [
"Apache-2.0"
] | 28 | 2019-10-21T15:39:27.000Z | 2022-03-16T16:15:03.000Z | src/rules_typescript_proto_dependencies.bzl | zaycev/rules_typescript_proto | c6ee53325bdcb251c71f2d14d28a25e9db73fd4e | [
"Apache-2.0"
] | 40 | 2019-10-21T14:11:24.000Z | 2022-03-11T12:47:29.000Z | src/rules_typescript_proto_dependencies.bzl | zaycev/rules_typescript_proto | c6ee53325bdcb251c71f2d14d28a25e9db73fd4e | [
"Apache-2.0"
] | 36 | 2019-11-05T20:21:14.000Z | 2022-03-23T18:34:56.000Z | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@build_bazel_rules_nodejs//:index.bzl", "yarn_install")
def rules_typescript_proto_dependencies():
"""
Installs rules_typescript_proto dependencies.
Usage:
# WORKSPACE
load("@rules_typescript_proto//:index.bzl", "rules_typ... | 34.304348 | 89 | 0.713561 | 95 | 789 | 5.589474 | 0.515789 | 0.225989 | 0.301318 | 0.241055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181242 | 789 | 22 | 90 | 35.863636 | 0.821981 | 0.411914 | 0 | 0 | 0 | 0 | 0.475638 | 0.419954 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5275ce28d5f56f057c6f32bbfee60d840733532c | 29 | py | Python | data/preprocessing/depthFilling/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | data/preprocessing/depthFilling/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | data/preprocessing/depthFilling/__init__.py | Mirevi/face-synthesizer-JVRB | 3c5774b1c5c981131df21b299389f568502b8ecf | [
"BSD-3-Clause"
] | null | null | null | from .depth_filling import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
52805f597262903082f0d39457010809a3065505 | 47 | py | Python | tests/test_core.py | bspiritxp/jcutils | 9d61ad19042760b5de05a1bcad575b77964b4de3 | [
"MIT"
] | null | null | null | tests/test_core.py | bspiritxp/jcutils | 9d61ad19042760b5de05a1bcad575b77964b4de3 | [
"MIT"
] | null | null | null | tests/test_core.py | bspiritxp/jcutils | 9d61ad19042760b5de05a1bcad575b77964b4de3 | [
"MIT"
] | null | null | null | import time
from jcutil.core import map_async
| 11.75 | 33 | 0.829787 | 8 | 47 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 34 | 15.666667 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bfe94457d732986427b8ee875a56dd321585bf2b | 10,336 | py | Python | Ui_all_res_list.py | jasha64/TicketAdvisor | f45bfd34a8f5a9da9da5832d9c8a4fe79ecd0600 | [
"MIT"
] | null | null | null | Ui_all_res_list.py | jasha64/TicketAdvisor | f45bfd34a8f5a9da9da5832d9c8a4fe79ecd0600 | [
"MIT"
] | null | null | null | Ui_all_res_list.py | jasha64/TicketAdvisor | f45bfd34a8f5a9da9da5832d9c8a4fe79ecd0600 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'all_res_list.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
all_res_list = [('枣庄', 1014.0, ('K372-K373', 717.0, 717, 528, ('上海', '16:0... | 112.347826 | 5,880 | 0.53483 | 1,638 | 10,336 | 3.359585 | 0.252747 | 0.062693 | 0.084318 | 0.09304 | 0.30656 | 0.143195 | 0.096675 | 0.045793 | 0.045793 | 0.045793 | 0 | 0.286466 | 0.154315 | 10,336 | 91 | 5,881 | 113.582418 | 0.343096 | 0.051954 | 0 | 0 | 1 | 0 | 0.236974 | 0.002969 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0 | 0.028571 | 0 | 0.085714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8703fe2d45f9d9e5d898ed5302304e208c9da355 | 127 | py | Python | DjangoTry/testDJ/main/admin.py | PavelKoksharov/QR-BOOK | 8b05cecd7a3cffcec281f2e17da398ad9e4c5de5 | [
"MIT"
] | null | null | null | DjangoTry/testDJ/main/admin.py | PavelKoksharov/QR-BOOK | 8b05cecd7a3cffcec281f2e17da398ad9e4c5de5 | [
"MIT"
] | null | null | null | DjangoTry/testDJ/main/admin.py | PavelKoksharov/QR-BOOK | 8b05cecd7a3cffcec281f2e17da398ad9e4c5de5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Books,Comments
admin.site.register(Books)
admin.site.register(Comments)
| 18.142857 | 34 | 0.818898 | 18 | 127 | 5.777778 | 0.555556 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 6 | 35 | 21.166667 | 0.904348 | 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 |
8750a016ee5308d5714981f59ffc11b20b492823 | 200 | py | Python | conclave/task_runner_config.py | DasAng/paraworld | fe202fadfaac6884370a8f27e29e113b13565e63 | [
"MIT"
] | null | null | null | conclave/task_runner_config.py | DasAng/paraworld | fe202fadfaac6884370a8f27e29e113b13565e63 | [
"MIT"
] | null | null | null | conclave/task_runner_config.py | DasAng/paraworld | fe202fadfaac6884370a8f27e29e113b13565e63 | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
@dataclass
class TaskRunnerConfig:
onlyRunScenarioTags: list[str] = field(default_factory=list)
featureFiles: list[str] = field(default_factory=list)
| 28.571429 | 64 | 0.79 | 22 | 200 | 7.090909 | 0.590909 | 0.089744 | 0.153846 | 0.24359 | 0.384615 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 200 | 6 | 65 | 33.333333 | 0.891429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
5e66e2d4eb8a778a53986eac39aea2e64fa399b8 | 385 | py | Python | openproblems/tasks/dimensionality_reduction/methods/__init__.py | scottgigante-immunai/openproblems | d093c1a2f21715d98e07ec760eff2c8f50c68373 | [
"MIT"
] | null | null | null | openproblems/tasks/dimensionality_reduction/methods/__init__.py | scottgigante-immunai/openproblems | d093c1a2f21715d98e07ec760eff2c8f50c68373 | [
"MIT"
] | null | null | null | openproblems/tasks/dimensionality_reduction/methods/__init__.py | scottgigante-immunai/openproblems | d093c1a2f21715d98e07ec760eff2c8f50c68373 | [
"MIT"
] | null | null | null | from .densmap import densmap_logCPM_1kHVG
from .densmap import densmap_pca_logCPM_1kHVG
from .neuralee import neuralee_default
from .neuralee import neuralee_logCPM_1kHVG
from .pca import pca_logCPM_1kHVG
from .phate import phate_default
from .phate import phate_logCPM_1kHVG
from .scvis import scvis_logCM_1kHVG
from .t... | 35 | 45 | 0.87013 | 59 | 385 | 5.355932 | 0.220339 | 0.243671 | 0.28481 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023188 | 0.103896 | 385 | 10 | 46 | 38.5 | 0.892754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5e7250c603be5a053ba79500bd13b6a0a1664661 | 71 | py | Python | gym_alttp_gridworld/envs/__init__.py | mtrazzi/gym-alttp-gridworld | c01b324fe51373181f1f68bcce3736bb16c489fa | [
"BSD-3-Clause"
] | 18 | 2018-07-29T04:44:58.000Z | 2021-03-16T06:02:56.000Z | gym_alttp_gridworld/envs/__init__.py | mtrazzi/gym-alttp-gridworld | c01b324fe51373181f1f68bcce3736bb16c489fa | [
"BSD-3-Clause"
] | null | null | null | gym_alttp_gridworld/envs/__init__.py | mtrazzi/gym-alttp-gridworld | c01b324fe51373181f1f68bcce3736bb16c489fa | [
"BSD-3-Clause"
] | 1 | 2020-07-16T08:54:53.000Z | 2020-07-16T08:54:53.000Z | from gym_alttp_gridworld.envs.treacherous_turn import LinkToThePastEnv
| 35.5 | 70 | 0.915493 | 9 | 71 | 6.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 1 | 71 | 71 | 0.925373 | 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 |
5e846758632733c70e99ef2432e37bb41d3289ea | 43 | py | Python | Week 7/opdracht_27.py | zowie93/ISCRIPT | fa3e5122be8ef47b23c23554ec9e1c04b37da562 | [
"MIT"
] | null | null | null | Week 7/opdracht_27.py | zowie93/ISCRIPT | fa3e5122be8ef47b23c23554ec9e1c04b37da562 | [
"MIT"
] | null | null | null | Week 7/opdracht_27.py | zowie93/ISCRIPT | fa3e5122be8ef47b23c23554ec9e1c04b37da562 | [
"MIT"
] | null | null | null | """
Opdracht 27 - Vliegtuig coordinaten
""" | 14.333333 | 35 | 0.697674 | 4 | 43 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.139535 | 43 | 3 | 36 | 14.333333 | 0.756757 | 0.813953 | 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 |
5e895ba5672d27a337c4baf3e86432d07d7c89f8 | 133 | py | Python | python/numpy1.py | chaojie-fu/robotics_tutorial | 12affebfe6cb3810cc1e8fde4c674ed077b926a5 | [
"MIT"
] | 1 | 2021-12-23T13:05:26.000Z | 2021-12-23T13:05:26.000Z | python/numpy1.py | cyoahs/robotics_tutorial | 3aed846c5e95eb32dbcdeebac0b22e54cd74ea02 | [
"MIT"
] | null | null | null | python/numpy1.py | cyoahs/robotics_tutorial | 3aed846c5e95eb32dbcdeebac0b22e54cd74ea02 | [
"MIT"
] | 1 | 2020-04-06T11:25:51.000Z | 2020-04-06T11:25:51.000Z | import numpy as np
a = np.array([[1, 2], [3, 4]])
print(a)
print(a[0, 0])
a = np.arange(6).reshape([2,3])
print(a)
print(a[:, 1])
| 12.090909 | 31 | 0.548872 | 29 | 133 | 2.517241 | 0.517241 | 0.328767 | 0.30137 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0.165414 | 133 | 10 | 32 | 13.3 | 0.567568 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5e8bab2e3fac801eb033ace1e1ea65790c08ac61 | 150 | py | Python | ehmatthes-pcc_2e-078318e/beyond_pcc/ai_player/alien_invasion_with_sounds/sound_effects.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | 12 | 2020-10-22T14:03:27.000Z | 2022-03-28T08:14:22.000Z | ehmatthes-pcc_2e-078318e/beyond_pcc/ai_player/alien_invasion_with_sounds/sound_effects.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | null | null | null | ehmatthes-pcc_2e-078318e/beyond_pcc/ai_player/alien_invasion_with_sounds/sound_effects.py | charliechocho/py-crash-course | b42b8a4c1cb8d76e8316f55c1565ff42d920ee63 | [
"Apache-2.0"
] | 9 | 2020-12-22T10:22:12.000Z | 2022-03-28T08:14:53.000Z | import pygame
pygame.mixer.init()
bullet_sound = pygame.mixer.Sound('sounds/laser1.wav')
alien_sound = pygame.mixer.Sound('sounds/Explosion_02.wav') | 25 | 59 | 0.786667 | 22 | 150 | 5.227273 | 0.545455 | 0.286957 | 0.278261 | 0.365217 | 0.469565 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.066667 | 150 | 6 | 59 | 25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.264901 | 0.152318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5eb5fda6b68a454923c2865e13f24ddbb02d1a37 | 149 | py | Python | dispatch/__init__.py | harrybrwn/dispatch | 77aac949adb2229a609e4d1a7380478fdf5f1f7f | [
"Apache-2.0"
] | null | null | null | dispatch/__init__.py | harrybrwn/dispatch | 77aac949adb2229a609e4d1a7380478fdf5f1f7f | [
"Apache-2.0"
] | null | null | null | dispatch/__init__.py | harrybrwn/dispatch | 77aac949adb2229a609e4d1a7380478fdf5f1f7f | [
"Apache-2.0"
] | null | null | null | from .dispatch import Command, Group, helptext, command, subcommand, handle
from .flags import Option, FlagSet
from .exceptions import UserException
| 37.25 | 75 | 0.818792 | 18 | 149 | 6.777778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 149 | 3 | 76 | 49.666667 | 0.931298 | 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 |
5ec0ddd857f33731c218c8a0a30092320c9621d7 | 170 | py | Python | src/shop/admin.py | earth-emoji/love | 3617bd47c396803c411e136b3e1de87c18e03890 | [
"BSD-2-Clause"
] | null | null | null | src/shop/admin.py | earth-emoji/love | 3617bd47c396803c411e136b3e1de87c18e03890 | [
"BSD-2-Clause"
] | 7 | 2021-03-19T10:46:09.000Z | 2022-03-12T00:28:55.000Z | src/shop/admin.py | earth-emoji/love | 3617bd47c396803c411e136b3e1de87c18e03890 | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import admin
from shop.models import Basket, Order, OrderItem
admin.site.register(Basket)
admin.site.register(Order)
admin.site.register(OrderItem)
| 21.25 | 48 | 0.817647 | 24 | 170 | 5.791667 | 0.5 | 0.194245 | 0.366906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 170 | 7 | 49 | 24.285714 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5ed3a205b0c4c47714a492a26cfd37eaafc38848 | 51 | py | Python | tests/_tests_scripts/core_contrib_data.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | tests/_tests_scripts/core_contrib_data.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2021-01-07T16:13:45.000Z | 2021-01-21T09:27:54.000Z | tests/_tests_scripts/core_contrib_data.py | and-kul/catalyst | 51428d7756e62b9b8ee5379f38e9fd576eeb36e5 | [
"Apache-2.0"
] | 1 | 2020-12-02T18:42:31.000Z | 2020-12-02T18:42:31.000Z | # flake8: noqa
from catalyst.contrib.data import *
| 17 | 35 | 0.764706 | 7 | 51 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.137255 | 51 | 2 | 36 | 25.5 | 0.863636 | 0.235294 | 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 |
0d7ee585bc36fb107738a0ce766a58f427b12ec7 | 34 | py | Python | email/email_ballots/email_ballot.py | Andrew-Talley/mock-trial-tab | 493b0b843d34c732dec724e8ab51f355835a3f46 | [
"MIT"
] | 1 | 2020-10-10T20:24:53.000Z | 2020-10-10T20:24:53.000Z | email/email_ballots/email_ballot.py | Andrew-Talley/mock-trial-tab | 493b0b843d34c732dec724e8ab51f355835a3f46 | [
"MIT"
] | 1 | 2020-10-10T20:30:20.000Z | 2020-10-10T20:30:20.000Z | email/email_ballots/email_ballot.py | Andrew-Talley/mock-trial-tab | 493b0b843d34c732dec724e8ab51f355835a3f46 | [
"MIT"
] | null | null | null | def email_ballots(ballots):
pass | 17 | 27 | 0.794118 | 5 | 34 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 2 | 28 | 17 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0da93d659e9f6b28f532ee8d189522a78c254251 | 90 | py | Python | Movies/MoviesApp/admin.py | cs-fullstack-fall-2018/django-template-hierarchy1-CalebC94 | 66289b4c4db4b11d4273b6820e8140bed2fac24f | [
"Apache-2.0"
] | null | null | null | Movies/MoviesApp/admin.py | cs-fullstack-fall-2018/django-template-hierarchy1-CalebC94 | 66289b4c4db4b11d4273b6820e8140bed2fac24f | [
"Apache-2.0"
] | null | null | null | Movies/MoviesApp/admin.py | cs-fullstack-fall-2018/django-template-hierarchy1-CalebC94 | 66289b4c4db4b11d4273b6820e8140bed2fac24f | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Movies
admin.site.register(Movies)
| 15 | 32 | 0.811111 | 13 | 90 | 5.615385 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 5 | 33 | 18 | 0.924051 | 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 |
0dc09337c534d0619aaabe7065ef7852aaa071b3 | 438 | py | Python | slixmpp/plugins/xep_0186/__init__.py | marconfus/slixmpp | bcf186f42dc31d360e0a0af8a4b3aaf1e0b212aa | [
"BSD-3-Clause"
] | null | null | null | slixmpp/plugins/xep_0186/__init__.py | marconfus/slixmpp | bcf186f42dc31d360e0a0af8a4b3aaf1e0b212aa | [
"BSD-3-Clause"
] | 1 | 2021-02-24T07:58:40.000Z | 2021-02-24T07:58:40.000Z | slixmpp/plugins/xep_0186/__init__.py | marconfus/slixmpp | bcf186f42dc31d360e0a0af8a4b3aaf1e0b212aa | [
"BSD-3-Clause"
] | null | null | null | """
Slixmpp: The Slick XMPP Library
Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout
This file is part of Slixmpp.
See the file LICENSE for copying permission.
"""
from slixmpp.plugins.base import register_plugin
from slixmpp.plugins.xep_0186 import stanza
from slixmpp.plugins.xep_0186.stanza ... | 25.764706 | 63 | 0.780822 | 65 | 438 | 5.138462 | 0.553846 | 0.10479 | 0.215569 | 0.188623 | 0.224551 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064865 | 0.155251 | 438 | 16 | 64 | 27.375 | 0.837838 | 0.372146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0de21490aa305c37347ffbccdbb039bcc951dcb9 | 200 | py | Python | fuzzy/fuzzy_logical_relationship.py | mikesligo/FYP-fuzzy-time-series | dc325bef0e3e43b499f63e703b7f9819cc6a8452 | [
"MIT"
] | 2 | 2015-06-10T09:02:12.000Z | 2016-08-12T11:08:11.000Z | fuzzy/fuzzy_logical_relationship.py | mikesligo/FYP-fuzzy-time-series | dc325bef0e3e43b499f63e703b7f9819cc6a8452 | [
"MIT"
] | null | null | null | fuzzy/fuzzy_logical_relationship.py | mikesligo/FYP-fuzzy-time-series | dc325bef0e3e43b499f63e703b7f9819cc6a8452 | [
"MIT"
] | 3 | 2015-01-13T15:46:34.000Z | 2019-11-06T01:58:12.000Z | class Fuzzy_logical_relationship(object):
def __init__(self, lhs, rhs):
self.lhs = lhs
self.rhs = rhs
def __str__(self):
return str(self.lhs) + " -> " + str(self.rhs) | 25 | 53 | 0.59 | 26 | 200 | 4.153846 | 0.461538 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275 | 200 | 8 | 53 | 25 | 0.744828 | 0 | 0 | 0 | 0 | 0 | 0.019901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
21aa0cf3b0e4977b9e0ade774212a17ceb459f0f | 195 | py | Python | lesson-3/ex1.py | alirsamar/intro-ml | 36450b26b7ea09472ccdd2a0abce51b6c3889a20 | [
"MIT"
] | null | null | null | lesson-3/ex1.py | alirsamar/intro-ml | 36450b26b7ea09472ccdd2a0abce51b6c3889a20 | [
"MIT"
] | null | null | null | lesson-3/ex1.py | alirsamar/intro-ml | 36450b26b7ea09472ccdd2a0abce51b6c3889a20 | [
"MIT"
] | null | null | null | # Coding a decision tree
from sklearn import tree
def classify(features_train, labels_train):
clf = tree.DecisionTreeClassifier()
clf.fit(features_train, labels_train)
return clf | 24.375 | 45 | 0.753846 | 25 | 195 | 5.72 | 0.64 | 0.181818 | 0.265734 | 0.335664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 195 | 8 | 46 | 24.375 | 0.89375 | 0.112821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
21c50291d330e352b6f20b0ebfb836e2aee27fe0 | 44 | py | Python | advopt/classifier/gb/__init__.py | HSE-LAMBDA/rapid-ao | bf293e227796d73657345018b66ad0e58ab03569 | [
"MIT"
] | null | null | null | advopt/classifier/gb/__init__.py | HSE-LAMBDA/rapid-ao | bf293e227796d73657345018b66ad0e58ab03569 | [
"MIT"
] | null | null | null | advopt/classifier/gb/__init__.py | HSE-LAMBDA/rapid-ao | bf293e227796d73657345018b66ad0e58ab03569 | [
"MIT"
] | null | null | null | from .boosting import *
from .utils import * | 22 | 23 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 24 | 22 | 0.891892 | 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 |
21d608539b2977ace69f65665acb2459975b040f | 186 | py | Python | app/application.py | skostya64/API-testing | 88b73372411a36da6d076357968be8b0451268dc | [
"Apache-2.0"
] | null | null | null | app/application.py | skostya64/API-testing | 88b73372411a36da6d076357968be8b0451268dc | [
"Apache-2.0"
] | null | null | null | app/application.py | skostya64/API-testing | 88b73372411a36da6d076357968be8b0451268dc | [
"Apache-2.0"
] | null | null | null | from selenium import webdriver
class Application:
def __init__(self):
self.driver = webdriver.Chrome(chrome_options=options)
def quit(self):
self.driver.quit() | 20.666667 | 62 | 0.693548 | 22 | 186 | 5.636364 | 0.590909 | 0.129032 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 186 | 9 | 63 | 20.666667 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 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 |
21d9a664acd44aa92b13d779d3f867678eba2439 | 113 | py | Python | py_apitest/__main__.py | thewisenerd/py-apitest | 6b30ce111b4b4d7baf6825ff07daf14f1da1185a | [
"Unlicense"
] | null | null | null | py_apitest/__main__.py | thewisenerd/py-apitest | 6b30ce111b4b4d7baf6825ff07daf14f1da1185a | [
"Unlicense"
] | null | null | null | py_apitest/__main__.py | thewisenerd/py-apitest | 6b30ce111b4b4d7baf6825ff07daf14f1da1185a | [
"Unlicense"
] | null | null | null | # Execute with
# $ python -m py_apitest (2.7+)
import py_apitest
if __name__ == '__main__':
py_apitest.main()
| 14.125 | 31 | 0.690265 | 17 | 113 | 3.941176 | 0.705882 | 0.402985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.168142 | 113 | 7 | 32 | 16.142857 | 0.691489 | 0.371681 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
21dda82b62ac6c49ac382546fdaac5a77d270b62 | 11,045 | py | Python | webapi_active_query_builder/apis/active_query_builder_api.py | ActiveDbSoft/webapi-active-query-builder-python | 81d65f454617d913d8d3b707283a42830c08192d | [
"Apache-2.0"
] | 2 | 2018-11-01T18:03:04.000Z | 2020-03-21T17:34:51.000Z | webapi_active_query_builder/apis/active_query_builder_api.py | ActiveDbSoft/webapi-active-query-builder-python | 81d65f454617d913d8d3b707283a42830c08192d | [
"Apache-2.0"
] | null | null | null | webapi_active_query_builder/apis/active_query_builder_api.py | ActiveDbSoft/webapi-active-query-builder-python | 81d65f454617d913d8d3b707283a42830c08192d | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
QueryBuilderApi
Active Query Builder Web API lets create, analyze and modify SQL queries for different database servers using RESTful HTTP requests to a cloud-based service. It requires SQL execution context (information about database schema and used database server) to be stored under th... | 42.318008 | 407 | 0.607153 | 1,217 | 11,045 | 5.345933 | 0.211997 | 0.049185 | 0.017983 | 0.023363 | 0.766062 | 0.741623 | 0.737319 | 0.719029 | 0.702429 | 0.688595 | 0 | 0.001332 | 0.320054 | 11,045 | 260 | 408 | 42.480769 | 0.86498 | 0.433318 | 0 | 0.640351 | 0 | 0 | 0.1454 | 0.031678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04386 | false | 0 | 0.061404 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21f1fa129a754030f8259a3da9f9b17991775763 | 30 | py | Python | language/operator/property/associativity.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | language/operator/property/associativity.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | language/operator/property/associativity.py | jedhsu/language | 3772a4a0ff287e1fc5ebefc716b8d91928d04c72 | [
"MIT"
] | null | null | null | class Associativity:
pass
| 10 | 20 | 0.733333 | 3 | 30 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 21 | 15 | 0.956522 | 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 |
1d0a3179a1f40aafdedd4728ea4b1120a9ea3d80 | 114 | py | Python | comptox_ai/cypher/__init__.py | van-truong/comptox_ai | 393b05c617822e30f54c967ef07ec53ba4b09688 | [
"MIT"
] | 6 | 2020-03-09T17:27:34.000Z | 2022-03-15T15:37:15.000Z | comptox_ai/cypher/__init__.py | van-truong/comptox_ai | 393b05c617822e30f54c967ef07ec53ba4b09688 | [
"MIT"
] | 11 | 2021-05-04T18:46:51.000Z | 2022-03-01T01:06:49.000Z | comptox_ai/cypher/__init__.py | van-truong/comptox_ai | 393b05c617822e30f54c967ef07ec53ba4b09688 | [
"MIT"
] | 2 | 2020-02-23T14:11:10.000Z | 2021-10-04T18:27:58.000Z | """
This is a library of all Cypher query templates used in the Comptox
Ontology code.
"""
from . import queries
| 16.285714 | 67 | 0.736842 | 18 | 114 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 114 | 6 | 68 | 19 | 0.913043 | 0.719298 | 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 |
df1d57de4db2465db7813dc638afac4493d92936 | 126 | py | Python | mct_camera_tools/src/mct_camera_tools/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | mct_camera_tools/src/mct_camera_tools/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | mct_camera_tools/src/mct_camera_tools/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | import mjpeg_servers
import camera_inspector_master
import camera1394_inspector
import camera_master
import image_proc_master
| 21 | 30 | 0.920635 | 17 | 126 | 6.411765 | 0.529412 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.079365 | 126 | 5 | 31 | 25.2 | 0.905172 | 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 |
df25a7bd5154aa6d0a938dcd3d2b87a06d8f27ad | 222 | py | Python | samples/populations/test_seed.py | jproudlo/PyModel | 2ab0e2cf821807206725adaa425409b0c28929b7 | [
"BSD-3-Clause"
] | 61 | 2015-01-29T16:18:51.000Z | 2021-09-28T10:14:02.000Z | samples/populations/test_seed.py | vikstr/PyModel | 4fff616fe0fd8342c91a42d9db5d4097a179dff8 | [
"BSD-3-Clause"
] | 2 | 2015-02-04T11:57:53.000Z | 2021-07-18T20:59:55.000Z | samples/populations/test_seed.py | vikstr/PyModel | 4fff616fe0fd8342c91a42d9db5d4097a179dff8 | [
"BSD-3-Clause"
] | 34 | 2015-02-04T12:00:29.000Z | 2022-03-14T07:41:25.000Z | cases = [
('pmt -s 1 -n 20 populations, use seed so same run each time',
'pmt -s 1 -n 20 populations'),
('pmt -s 2 -n 6 populations, use seed so same run each time',
'pmt -s 2 -n 6 -r 3 populations')
]
| 27.75 | 66 | 0.581081 | 41 | 222 | 3.146341 | 0.439024 | 0.124031 | 0.077519 | 0.093023 | 0.860465 | 0.782946 | 0.604651 | 0.604651 | 0.604651 | 0.604651 | 0 | 0.06962 | 0.288288 | 222 | 7 | 67 | 31.714286 | 0.746835 | 0 | 0 | 0 | 0 | 0 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 5 |
df298f91625a893a8acd5d5ffddbd01917ad255d | 5,568 | py | Python | feature-importance/testdata/elec_tiny_sheer.py | oushu1zhangxiangxuan1/feature-engineering | d36f75342d922bd619b0290893ec37c5398b3b29 | [
"Apache-2.0"
] | null | null | null | feature-importance/testdata/elec_tiny_sheer.py | oushu1zhangxiangxuan1/feature-engineering | d36f75342d922bd619b0290893ec37c5398b3b29 | [
"Apache-2.0"
] | null | null | null | feature-importance/testdata/elec_tiny_sheer.py | oushu1zhangxiangxuan1/feature-engineering | d36f75342d922bd619b0290893ec37c5398b3b29 | [
"Apache-2.0"
] | null | null | null | {
"hawq": {
"master": "localhost",
"standby": "",
"port": 5432,
"user": "johnsaxon",
"password": "test",
"database": "postgres"
},
"data_config": {
"schema": "public",
"table": "elec_tiny",
"features": [
{
"n... | 24.857143 | 41 | 0.208333 | 321 | 5,568 | 3.482866 | 0.221184 | 0.152057 | 0.304114 | 0.400716 | 0.573345 | 0.093918 | 0.035778 | 0 | 0 | 0 | 0 | 0.101302 | 0.627694 | 5,568 | 224 | 42 | 24.857143 | 0.438013 | 0 | 0 | 0.303571 | 0 | 0 | 0.213862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.004464 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
df881dd6578461aee3a9f56d1f264f8ae3ff390e | 124 | py | Python | Solutions/beta/beta_1rm_calculator.py | citrok25/Codewars-1 | dc641c5079e2e8b5955eb027fd15427e5bdb2e26 | [
"MIT"
] | 46 | 2017-08-24T09:27:57.000Z | 2022-02-25T02:24:33.000Z | Solutions/beta/beta_1rm_calculator.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | null | null | null | Solutions/beta/beta_1rm_calculator.py | abbhishek971/Codewars | 9e761811db724da1e8aae44594df42b4ee879a16 | [
"MIT"
] | 35 | 2017-08-01T22:09:48.000Z | 2022-02-18T17:21:37.000Z | def calculate_1RM(w, r):
return {0:None,1:w}.get(r, max(map(round,(w*(1+r/30),100*w/(101.3-2.67123*r), w*pow(r,0.1)))))
| 41.333333 | 98 | 0.58871 | 31 | 124 | 2.322581 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 0.08871 | 124 | 2 | 99 | 62 | 0.451327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
10d7612ae005cab08d9383db571c7adef6b56a7b | 14,977 | py | Python | tests/cataloging/test_objects.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | tests/cataloging/test_objects.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | tests/cataloging/test_objects.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """Unit tests of cataloging objects."""
import pytest
from ..utilities.general import is_never_authz, is_no_authz, uses_cataloging, uses_filesystem_only
from dlkit.abstract_osid.osid import errors
from dlkit.abstract_osid.osid.objects import OsidCatalog
from dlkit.primordium.type.primitives import Type
from dlkit.r... | 44.707463 | 176 | 0.712025 | 1,906 | 14,977 | 5.281217 | 0.075551 | 0.097357 | 0.046493 | 0.057222 | 0.871746 | 0.788993 | 0.745281 | 0.723425 | 0.67872 | 0.629446 | 0 | 0.002729 | 0.192495 | 14,977 | 334 | 177 | 44.841317 | 0.829585 | 0.106363 | 0 | 0.596708 | 0 | 0 | 0.10274 | 0.061343 | 0 | 0 | 0 | 0 | 0.057613 | 1 | 0.111111 | false | 0.028807 | 0.069959 | 0 | 0.201646 | 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 |
10ed7f4ba07829af5609e7cab6ec994b7dc9556e | 4,464 | py | Python | Financial/Commodities_API/unit_tests.py | Jay4C/API | 64b691bcf929ceb142145c6bbe27a049a76d7649 | [
"MIT"
] | 1 | 2022-02-28T05:05:35.000Z | 2022-02-28T05:05:35.000Z | Financial/Commodities_API/unit_tests.py | Jay4C/API | 64b691bcf929ceb142145c6bbe27a049a76d7649 | [
"MIT"
] | null | null | null | Financial/Commodities_API/unit_tests.py | Jay4C/API | 64b691bcf929ceb142145c6bbe27a049a76d7649 | [
"MIT"
] | null | null | null | import unittest
import requests
# https://commodities-api.com/documentation
endpoint = "https://commodities-api.com/api"
class UnitTestsCommodityAPIEndpoints(unittest.TestCase):
def test_get_Supported_Symbols_Endpoint(self):
print("test_get_Supported_Symbols_Endpoint")
headers = {
'... | 26.258824 | 119 | 0.545923 | 498 | 4,464 | 4.732932 | 0.162651 | 0.023759 | 0.044124 | 0.095036 | 0.786593 | 0.723801 | 0.723801 | 0.723801 | 0.723801 | 0.723801 | 0 | 0.073163 | 0.30802 | 4,464 | 169 | 120 | 26.414201 | 0.689867 | 0.009185 | 0 | 0.573913 | 0 | 0.069565 | 0.364171 | 0.042751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069565 | false | 0 | 0.017391 | 0 | 0.095652 | 0.13913 | 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 |
80031e33127663224f8b5b1b5e1c7480da6a7bdf | 15,341 | py | Python | sas7bdat_converter/converter.py | sourcery-ai-bot/sas7bdat_converter | dbb39619f5700dd746fe80a56a550a4559a3d9df | [
"Apache-2.0"
] | null | null | null | sas7bdat_converter/converter.py | sourcery-ai-bot/sas7bdat_converter | dbb39619f5700dd746fe80a56a550a4559a3d9df | [
"Apache-2.0"
] | null | null | null | sas7bdat_converter/converter.py | sourcery-ai-bot/sas7bdat_converter | dbb39619f5700dd746fe80a56a550a4559a3d9df | [
"Apache-2.0"
] | null | null | null | import csv
import json
import numpy as np
import pandas as pd
from pathlib import Path
from typing import Dict, List, Optional, Tuple
from xml.sax.saxutils import escape
__file_dict_required_keys = ['sas7bdat_file', 'export_file',]
def batch_to_csv(file_dicts: List[Dict[str, str]]) -> None:
"""
Converts a ... | 41.915301 | 131 | 0.638485 | 1,975 | 15,341 | 4.691139 | 0.082025 | 0.07987 | 0.040799 | 0.034539 | 0.777874 | 0.763411 | 0.743443 | 0.732434 | 0.722396 | 0.679007 | 0 | 0.011901 | 0.271495 | 15,341 | 365 | 132 | 42.030137 | 0.817108 | 0.381722 | 0 | 0.420118 | 0 | 0.005917 | 0.089451 | 0.019383 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100592 | false | 0 | 0.04142 | 0.005917 | 0.171598 | 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 |
8016b85fdec6181adde6a48373cbbc0f7d8232d2 | 70 | py | Python | python/word-count/rust/__init__.py | Coffeyliu/exercism | 02354be676b17e94d820df92d5436373ca656bf8 | [
"MIT"
] | null | null | null | python/word-count/rust/__init__.py | Coffeyliu/exercism | 02354be676b17e94d820df92d5436373ca656bf8 | [
"MIT"
] | null | null | null | python/word-count/rust/__init__.py | Coffeyliu/exercism | 02354be676b17e94d820df92d5436373ca656bf8 | [
"MIT"
] | null | null | null | from .rustpylib import rust_word_count
__all__ = ["rust_word_count"]
| 17.5 | 38 | 0.8 | 10 | 70 | 4.8 | 0.7 | 0.333333 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 3 | 39 | 23.333333 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 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 |
801f5aaf61412c2a34e3c5f31aa0094ae6abcf15 | 140 | py | Python | wagtail_graphql/tests/home/models.py | yatesrates/wagtail-graphql-api | 8183c3c69340c9a48e2c352fc398e8bd255efa96 | [
"BSD-3-Clause"
] | 4 | 2019-07-19T21:17:02.000Z | 2020-08-30T05:15:07.000Z | wagtail_graphql/tests/home/models.py | yatesrates/wagtail-graphql-api | 8183c3c69340c9a48e2c352fc398e8bd255efa96 | [
"BSD-3-Clause"
] | 1 | 2019-11-06T03:44:42.000Z | 2019-11-06T03:44:42.000Z | wagtail_graphql/tests/home/models.py | yatesrates/wagtail-graphql-api | 8183c3c69340c9a48e2c352fc398e8bd255efa96 | [
"BSD-3-Clause"
] | 3 | 2019-07-19T21:17:06.000Z | 2019-10-31T03:34:44.000Z | from wagtail.core.models import Page
from wagtail_graphql import GraphQLEnabledModel
class HomePage(GraphQLEnabledModel, Page):
pass
| 17.5 | 47 | 0.821429 | 16 | 140 | 7.125 | 0.6875 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135714 | 140 | 7 | 48 | 20 | 0.942149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
3387f38b4c7a6ecd693da6e5291eacaeff580e96 | 2,506 | py | Python | significance.py | UKPLab/tacl2020-interactive-rankin | 02c5ba56ff9dbd7962b3cdfe9c68b2208d1f852a | [
"Apache-2.0"
] | 2 | 2021-02-10T13:51:36.000Z | 2021-03-02T09:47:10.000Z | significance.py | UKPLab/tacl2020-interactive-rankin | 02c5ba56ff9dbd7962b3cdfe9c68b2208d1f852a | [
"Apache-2.0"
] | null | null | null | significance.py | UKPLab/tacl2020-interactive-rankin | 02c5ba56ff9dbd7962b3cdfe9c68b2208d1f852a | [
"Apache-2.0"
] | 2 | 2021-03-10T22:08:22.000Z | 2021-09-01T12:56:23.000Z | import json, numpy as np, pandas as pd, os
from scipy.stats import wilcoxon
topics = ['apple', 'cooking', 'travel']
metrics = ['ndcg_at_1%', 'accuracy']
for topic in topics:
# baseline directory
baseline = 'results_coala/lno3_lr_%s_rep0/' % topic
# imp directory
impdir = 'results_coala/lno03_gpplhh_%... | 28.477273 | 125 | 0.647247 | 356 | 2,506 | 4.359551 | 0.205056 | 0.096649 | 0.03866 | 0.046392 | 0.780284 | 0.780284 | 0.780284 | 0.780284 | 0.704897 | 0.690077 | 0 | 0.023196 | 0.225858 | 2,506 | 88 | 126 | 28.477273 | 0.776804 | 0.046289 | 0 | 0.64 | 0 | 0 | 0.242755 | 0.126837 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.06 | 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 |
33a87f9a8f14bf6bb122ec4ec67d4c57cc7b0d7f | 93 | py | Python | rules-py/gutenbergorg.py | riffcc/lifesaver | f4c2afd8ebaae4bc541545eac34f6acc8449facc | [
"MIT"
] | null | null | null | rules-py/gutenbergorg.py | riffcc/lifesaver | f4c2afd8ebaae4bc541545eac34f6acc8449facc | [
"MIT"
] | null | null | null | rules-py/gutenbergorg.py | riffcc/lifesaver | f4c2afd8ebaae4bc541545eac34f6acc8449facc | [
"MIT"
] | null | null | null | #!/opt/homebrew/bin/python3
# Fetch from Gutenberg
import sys
def main(url):
print(url)
| 13.285714 | 27 | 0.709677 | 14 | 93 | 4.714286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.16129 | 93 | 6 | 28 | 15.5 | 0.833333 | 0.505376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1d29adbda801b9fac30569647d29b391e076c98f | 240 | py | Python | mailmerge/exceptions.py | thunderbirdtr/mailmerge | a47465a78bbb089f3e2f135e7aecaf5e12259e56 | [
"MIT"
] | 94 | 2016-03-17T18:04:55.000Z | 2022-03-16T02:59:51.000Z | mailmerge/exceptions.py | thunderbirdtr/mailmerge | a47465a78bbb089f3e2f135e7aecaf5e12259e56 | [
"MIT"
] | 116 | 2016-11-07T16:54:24.000Z | 2022-01-24T15:14:43.000Z | mailmerge/exceptions.py | thunderbirdtr/mailmerge | a47465a78bbb089f3e2f135e7aecaf5e12259e56 | [
"MIT"
] | 41 | 2016-06-06T16:51:40.000Z | 2021-12-30T09:57:33.000Z | """Errors raised by mailmerge."""
class MailmergeError(Exception):
"""Top level exception raised by mailmerge functions."""
class MailmergeRateLimitError(MailmergeError):
"""Reuse to send message because rate limit exceeded."""
| 24 | 60 | 0.741667 | 25 | 240 | 7.12 | 0.76 | 0.089888 | 0.191011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 240 | 9 | 61 | 26.666667 | 0.868293 | 0.5375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1d319b64e9950442efc7ba26b93613d32e9d36eb | 2,079 | py | Python | tests/test_module.py | openprocurement/wishbone-galleon | ccec3856f0e474dbe2060029bd4db3e891fca854 | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | openprocurement/wishbone-galleon | ccec3856f0e474dbe2060029bd4db3e891fca854 | [
"Apache-2.0"
] | 1 | 2021-06-01T22:15:48.000Z | 2021-06-01T22:15:48.000Z | tests/test_module.py | openprocurement/wishbone-galleon | ccec3856f0e474dbe2060029bd4db3e891fca854 | [
"Apache-2.0"
] | null | null | null | import ujson
from wishbone.event import Event
from wishbone.actor import ActorConfig
from wishbone.utils.test import getter
from wishbonegalleon import GalleonModule
SCHEMA = {
"type": "object",
"properties": {
"name": {"type": "string"},
"title": {"type": "string"},
}
}
MAPPING = {
"... | 21.214286 | 65 | 0.578644 | 212 | 2,079 | 5.641509 | 0.226415 | 0.110368 | 0.160535 | 0.105351 | 0.735786 | 0.704013 | 0.704013 | 0.704013 | 0.704013 | 0.704013 | 0 | 0.007807 | 0.260702 | 2,079 | 97 | 66 | 21.43299 | 0.770332 | 0 | 0 | 0.480519 | 0 | 0 | 0.095719 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 1 | 0.038961 | false | 0 | 0.064935 | 0 | 0.103896 | 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 |
1d451928fa1f4177c1449c2b52d7be8be1e34c59 | 3,761 | py | Python | webdriver/tests/bidi/log/entry_added/event_buffer.py | qanat/wpt | 7c61a4594a95682531367b6956d1c37f8b8fd486 | [
"BSD-3-Clause"
] | 2 | 2022-02-19T19:13:05.000Z | 2022-02-23T18:24:59.000Z | webdriver/tests/bidi/log/entry_added/event_buffer.py | qanat/wpt | 7c61a4594a95682531367b6956d1c37f8b8fd486 | [
"BSD-3-Clause"
] | 112 | 2021-09-27T14:39:02.000Z | 2022-03-30T14:26:35.000Z | webdriver/tests/bidi/log/entry_added/event_buffer.py | qanat/wpt | 7c61a4594a95682531367b6956d1c37f8b8fd486 | [
"BSD-3-Clause"
] | null | null | null | import asyncio
import pytest
from . import assert_base_entry, create_log
@pytest.mark.asyncio
@pytest.mark.parametrize("log_type", ["console_api_log", "javascript_error"])
async def test_console_log_cached_messages(
bidi_session, current_session, wait_for_event, inline, log_type
):
# Unsubscribe in case pre... | 34.190909 | 85 | 0.742356 | 511 | 3,761 | 5.234834 | 0.180039 | 0.092336 | 0.060561 | 0.068785 | 0.785421 | 0.768972 | 0.738692 | 0.725234 | 0.663178 | 0.663178 | 0 | 0.004477 | 0.168572 | 3,761 | 109 | 86 | 34.504587 | 0.850975 | 0.254454 | 0 | 0.758621 | 0 | 0 | 0.123608 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 1 | 0 | false | 0 | 0.051724 | 0 | 0.051724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1da5d872815b84e8614959837939995f86b6e9cb | 15,252 | py | Python | tests/test_cli.py | mapbox/rio-mbtiles | f557854ac42f832e8436ac09582a20691bae90df | [
"MIT"
] | 87 | 2015-05-08T12:26:15.000Z | 2022-03-26T03:40:11.000Z | tests/test_cli.py | mapbox/rio-mbtiles | f557854ac42f832e8436ac09582a20691bae90df | [
"MIT"
] | 62 | 2015-05-08T05:46:48.000Z | 2022-03-20T06:14:35.000Z | tests/test_cli.py | mapbox/rio-mbtiles | f557854ac42f832e8436ac09582a20691bae90df | [
"MIT"
] | 29 | 2015-06-03T20:47:30.000Z | 2021-07-10T03:43:47.000Z | import os
import sqlite3
import sys
import warnings
import click
from click.testing import CliRunner
import pytest
import rasterio
from rasterio.rio.main import main_group
import mbtiles.scripts.cli
from conftest import mock
def test_cli_help():
runner = CliRunner()
result = runner.invoke(main_group, ["mbt... | 29.500967 | 153 | 0.590021 | 1,708 | 15,252 | 5.172131 | 0.11534 | 0.027507 | 0.052977 | 0.06475 | 0.798053 | 0.794544 | 0.767602 | 0.751528 | 0.70806 | 0.659724 | 0 | 0.0155 | 0.259769 | 15,252 | 516 | 154 | 29.55814 | 0.766962 | 0.03252 | 0 | 0.699332 | 0 | 0 | 0.15966 | 0.008299 | 0 | 0 | 0 | 0 | 0.10245 | 1 | 0.055679 | false | 0 | 0.024499 | 0 | 0.080178 | 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 |
d5198de55cbb13568587e6c5dc49768d9a087775 | 74 | py | Python | src/__init__.py | nasserawer/smoothscript | ce9aadf4d35cf038934ab2246f44f7c6afebf4a2 | [
"MIT"
] | null | null | null | src/__init__.py | nasserawer/smoothscript | ce9aadf4d35cf038934ab2246f44f7c6afebf4a2 | [
"MIT"
] | null | null | null | src/__init__.py | nasserawer/smoothscript | ce9aadf4d35cf038934ab2246f44f7c6afebf4a2 | [
"MIT"
] | null | null | null | from .smooth_script import Smoothscript, V2
from .solution import Solution | 37 | 43 | 0.851351 | 10 | 74 | 6.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.108108 | 74 | 2 | 44 | 37 | 0.924242 | 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 |
d541add5e783306572856a55dafe228c47d50df7 | 54 | py | Python | indra/assemblers/html/__init__.py | qiuhaoling/indra | fa1fb31c4333ea63d023181eaf6f759e3dd3b400 | [
"BSD-2-Clause"
] | null | null | null | indra/assemblers/html/__init__.py | qiuhaoling/indra | fa1fb31c4333ea63d023181eaf6f759e3dd3b400 | [
"BSD-2-Clause"
] | null | null | null | indra/assemblers/html/__init__.py | qiuhaoling/indra | fa1fb31c4333ea63d023181eaf6f759e3dd3b400 | [
"BSD-2-Clause"
] | null | null | null | from .assembler import HtmlAssembler, IndraHTMLLoader
| 27 | 53 | 0.87037 | 5 | 54 | 9.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.959184 | 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 |
d54832af9b91e5fd26c8b654397d138cc180080a | 373 | py | Python | art/metrics/__init__.py | virkt25/adversarial-robustness-toolbox | 3cfa6de196cb32a3efafab2ff6bbf44247c9ddbd | [
"MIT"
] | 2 | 2019-11-05T17:23:37.000Z | 2021-07-26T15:09:44.000Z | art/metrics/__init__.py | virkt25/adversarial-robustness-toolbox | 3cfa6de196cb32a3efafab2ff6bbf44247c9ddbd | [
"MIT"
] | 1 | 2020-03-09T07:04:39.000Z | 2020-03-09T07:04:39.000Z | art/metrics/__init__.py | virkt25/adversarial-robustness-toolbox | 3cfa6de196cb32a3efafab2ff6bbf44247c9ddbd | [
"MIT"
] | 1 | 2020-09-25T03:15:08.000Z | 2020-09-25T03:15:08.000Z | """
Module providing metrics and verifications.
"""
from art.metrics.metrics import empirical_robustness
from art.metrics.metrics import loss_sensitivity
from art.metrics.metrics import clever
from art.metrics.metrics import clever_u
from art.metrics.metrics import clever_t
from art.metrics.verification_decisions_trees... | 37.3 | 97 | 0.865952 | 47 | 373 | 6.744681 | 0.404255 | 0.132492 | 0.264984 | 0.33123 | 0.48265 | 0.312303 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08311 | 373 | 9 | 98 | 41.444444 | 0.926901 | 0.115282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d5750ddc40fa3c73189d990f4233df1bd672d389 | 79 | py | Python | pythonAlgorithm/sortAndPartiton/Sort Letters by Case.py | Sky-zzt/lintcodePractice | d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1 | [
"MIT"
] | 1 | 2020-09-15T07:58:55.000Z | 2020-09-15T07:58:55.000Z | pythonAlgorithm/sortAndPartiton/Sort Letters by Case.py | Sky-zzt/lintcodePractice | d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1 | [
"MIT"
] | null | null | null | pythonAlgorithm/sortAndPartiton/Sort Letters by Case.py | Sky-zzt/lintcodePractice | d6436b296c5865d85e55c8ad4fcdbb0165d4ebb1 | [
"MIT"
] | null | null | null | '''
字符大小写排序
中文English
给定一个只包含字母的字符串,按照先小写字母后大写字母的顺序进行排序。
一招partiton 走天下
'''
| 8.777778 | 34 | 0.772152 | 6 | 79 | 10.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 8 | 35 | 9.875 | 0.884058 | 0.860759 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | 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 |
d590ac1ae7d3025a1630a643aebe4eba47438880 | 153 | py | Python | mpBuild/common/lib/servo.py | devshop2019/mixlyTest | bb92771aca2d5d801510658a70a13f4b548a43aa | [
"Apache-2.0"
] | 118 | 2019-03-27T02:15:59.000Z | 2022-03-18T16:42:42.000Z | mpBuild/common/lib/servo.py | devshop2019/mixlyTest | bb92771aca2d5d801510658a70a13f4b548a43aa | [
"Apache-2.0"
] | 26 | 2019-04-17T16:39:30.000Z | 2021-11-06T11:55:42.000Z | mpBuild/common/lib/servo.py | devshop2019/mixlyTest | bb92771aca2d5d801510658a70a13f4b548a43aa | [
"Apache-2.0"
] | 58 | 2019-04-16T06:52:45.000Z | 2022-03-08T01:57:08.000Z | from machine import Pin
from machine import PWM
def servo_write_angle(pin,angle):
pwm=PWM(Pin(pin))
pwm.duty(int(40 + 75 * angle / 180))
pwm.freq(50) | 21.857143 | 37 | 0.72549 | 28 | 153 | 3.892857 | 0.571429 | 0.201835 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 0.143791 | 153 | 7 | 38 | 21.857143 | 0.763359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
633a968c17362657b2a5cc9a7e13ad7f64ee1115 | 1,058 | py | Python | tests/test_BoolField.py | KronosKoderS/Concorde | 30c5c8d9818e937a88d33f19c7907f8394a1ab3b | [
"MIT"
] | 23 | 2017-09-07T21:54:15.000Z | 2019-09-16T20:31:20.000Z | tests/test_BoolField.py | KronosKoderS/Concorde | 30c5c8d9818e937a88d33f19c7907f8394a1ab3b | [
"MIT"
] | 90 | 2017-08-26T06:00:51.000Z | 2020-07-17T12:00:45.000Z | tests/test_BoolField.py | KronoSKoderS/Concorde | 30c5c8d9818e937a88d33f19c7907f8394a1ab3b | [
"MIT"
] | 5 | 2017-11-11T22:39:40.000Z | 2021-03-29T16:39:45.000Z | import unittest
from calpack import models
class Test_BoolField(unittest.TestCase):
def test_boolfield_set_valid_vals(self):
class bool_packet(models.Packet):
b_field=models.BoolField()
b_packet = bool_packet()
b_packet.b_field = True
self.assertEqual(b_packet.b_fiel... | 27.128205 | 64 | 0.655009 | 136 | 1,058 | 4.757353 | 0.257353 | 0.111283 | 0.185471 | 0.160742 | 0.757342 | 0.757342 | 0.757342 | 0.757342 | 0.497682 | 0.225657 | 0 | 0.012755 | 0.258979 | 1,058 | 38 | 65 | 27.842105 | 0.8125 | 0 | 0 | 0.4 | 0 | 0 | 0.005671 | 0 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 |
634a82fb5f088f6f1f4c6888d1b12baba5a9c674 | 47 | py | Python | spectraml/__main__.py | podondra/spectraml | 76f8c0e9a45f4d73539e7151a55323d23522f2e3 | [
"MIT"
] | null | null | null | spectraml/__main__.py | podondra/spectraml | 76f8c0e9a45f4d73539e7151a55323d23522f2e3 | [
"MIT"
] | null | null | null | spectraml/__main__.py | podondra/spectraml | 76f8c0e9a45f4d73539e7151a55323d23522f2e3 | [
"MIT"
] | null | null | null | """CLI runner."""
from .cli import cli
cli()
| 7.833333 | 20 | 0.595745 | 7 | 47 | 4 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 5 | 21 | 9.4 | 0.736842 | 0.234043 | 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 |
6389990888a5cadee8e93bb694d6aec2597487d0 | 45 | py | Python | pbs_server/tests/__init__.py | permamodel/pbs-server | 626b2d16f10b87e59464b7cf2d0a7c22b0cce7f3 | [
"Apache-2.0"
] | null | null | null | pbs_server/tests/__init__.py | permamodel/pbs-server | 626b2d16f10b87e59464b7cf2d0a7c22b0cce7f3 | [
"Apache-2.0"
] | 6 | 2018-01-18T22:31:51.000Z | 2019-04-17T19:15:17.000Z | pbs_server/tests/__init__.py | permamodel/pbs-server | 626b2d16f10b87e59464b7cf2d0a7c22b0cce7f3 | [
"Apache-2.0"
] | 1 | 2019-03-24T08:01:35.000Z | 2019-03-24T08:01:35.000Z | """Unit tests for the pbs-server package."""
| 22.5 | 44 | 0.688889 | 7 | 45 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.794872 | 0.844444 | 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 |
6399bb99a3bc9ca5dcf91b4d9cb54efd9481cde5 | 40 | py | Python | syfertext/pipeline/__init__.py | datason/SyferText | 706d4a6054b42527ad7703ed94bd5fb0323435fb | [
"Apache-2.0"
] | null | null | null | syfertext/pipeline/__init__.py | datason/SyferText | 706d4a6054b42527ad7703ed94bd5fb0323435fb | [
"Apache-2.0"
] | null | null | null | syfertext/pipeline/__init__.py | datason/SyferText | 706d4a6054b42527ad7703ed94bd5fb0323435fb | [
"Apache-2.0"
] | null | null | null | from .simple_tagger import SimpleTagger
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
63d33b402810aaf89037ee7264966fa7fb992939 | 52 | py | Python | basic_module_learning/requests_func.py | glstr/python_learning | 243908d6f358764386f2e58dfbfde10a406d803c | [
"Apache-2.0"
] | 2 | 2018-09-20T06:08:00.000Z | 2018-09-26T13:57:20.000Z | basic_module_learning/requests_func.py | glstr/python_learning | 243908d6f358764386f2e58dfbfde10a406d803c | [
"Apache-2.0"
] | null | null | null | basic_module_learning/requests_func.py | glstr/python_learning | 243908d6f358764386f2e58dfbfde10a406d803c | [
"Apache-2.0"
] | 1 | 2019-03-25T05:53:32.000Z | 2019-03-25T05:53:32.000Z | #!/usr/bin/python
#coding=utf-8
import requests
| 6.5 | 17 | 0.692308 | 8 | 52 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.153846 | 52 | 7 | 18 | 7.428571 | 0.795455 | 0.538462 | 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 |
63d41e2a03ee4c55867046c235466fd427b39711 | 92 | py | Python | backend/apps/scout/views/__init__.py | janthiemen/data_scout_server | d90da8b6633afe5e8c4b13df0528e1b35482d242 | [
"MIT"
] | null | null | null | backend/apps/scout/views/__init__.py | janthiemen/data_scout_server | d90da8b6633afe5e8c4b13df0528e1b35482d242 | [
"MIT"
] | null | null | null | backend/apps/scout/views/__init__.py | janthiemen/data_scout_server | d90da8b6633afe5e8c4b13df0528e1b35482d242 | [
"MIT"
] | null | null | null | from . import datasources
from . import iam
from . import permissions
from . import wrangler | 23 | 25 | 0.793478 | 12 | 92 | 6.083333 | 0.5 | 0.547945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 4 | 26 | 23 | 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 | 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 |
893d9d8a4be1084f6cf697621e7644aae062eb36 | 147 | py | Python | deliravision/utils/tensor_ops.py | delira-dev/vision-base | c74e3ab978062a477e5a538128183ee46ddd4229 | [
"BSD-2-Clause"
] | 5 | 2019-07-30T14:54:15.000Z | 2019-09-06T08:41:07.000Z | deliravision/utils/tensor_ops.py | delira-dev/vision-base | c74e3ab978062a477e5a538128183ee46ddd4229 | [
"BSD-2-Clause"
] | 21 | 2019-07-11T11:34:02.000Z | 2019-08-12T14:23:04.000Z | deliravision/utils/tensor_ops.py | delira-dev/vision_base | c74e3ab978062a477e5a538128183ee46ddd4229 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
def make_onehot_npy(labels, n_classes):
labels = labels.reshape(-1).astype(np.uint8)
return np.eye(n_classes)[labels]
| 21 | 48 | 0.727891 | 24 | 147 | 4.291667 | 0.708333 | 0.15534 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.14966 | 147 | 6 | 49 | 24.5 | 0.808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 |
893e6f0b8476359eee82d9ed1b8cb3fb1c8b2320 | 129 | py | Python | bidaf/squad/evaluate-v1.1.py | davidgolub/QuestionGeneration | 6b31e1a8855774230051093ca24ba0a7750a6712 | [
"MIT"
] | 117 | 2017-09-06T23:25:59.000Z | 2021-06-29T12:24:26.000Z | bidaf/squad/evaluate-v1.1.py | davidgolub/QuestionGeneration | 6b31e1a8855774230051093ca24ba0a7750a6712 | [
"MIT"
] | 14 | 2017-12-06T21:08:28.000Z | 2020-06-22T06:03:23.000Z | bidaf/squad/evaluate-v1.1.py | davidgolub/QuestionGeneration | 6b31e1a8855774230051093ca24ba0a7750a6712 | [
"MIT"
] | 33 | 2017-10-06T05:16:07.000Z | 2021-05-10T00:30:13.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:f5a673dbbd173e29e9ea38f1b2091d883583b77b3a4c17144b223fb0f2f9bd09
size 3419
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.390244 | 0.046512 | 129 | 3 | 76 | 43 | 0.536585 | 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 |
8952761fd9e7926d1f887e3aaeca9e95425cfb06 | 147 | py | Python | topverbs/__init__.py | mitrofun/topverbs | b21fa8e4ee322ede12b7ae219d6a68a26699fc18 | [
"MIT"
] | null | null | null | topverbs/__init__.py | mitrofun/topverbs | b21fa8e4ee322ede12b7ae219d6a68a26699fc18 | [
"MIT"
] | null | null | null | topverbs/__init__.py | mitrofun/topverbs | b21fa8e4ee322ede12b7ae219d6a68a26699fc18 | [
"MIT"
] | null | null | null | # flake8: noqa
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
# for external use in code
from .topverbs import get_top_words
| 16.333333 | 45 | 0.768707 | 25 | 147 | 4.28 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.142857 | 147 | 8 | 46 | 18.375 | 0.833333 | 0.251701 | 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 |
8981eb360d6319aeb9a9b3163f9724b217f95af1 | 167 | py | Python | example/client/user.py | jiangxuewen16/py-micro | faf681f1c7c3de6bbcdf4ecd0f16c16aaa229943 | [
"MIT"
] | 1 | 2019-10-24T02:12:59.000Z | 2019-10-24T02:12:59.000Z | example/client/user.py | jiangxuewen16/py-micro | faf681f1c7c3de6bbcdf4ecd0f16c16aaa229943 | [
"MIT"
] | null | null | null | example/client/user.py | jiangxuewen16/py-micro | faf681f1c7c3de6bbcdf4ecd0f16c16aaa229943 | [
"MIT"
] | null | null | null | from example.proto import user_pb2_grpc
from py_micro.py_grpc import MicroService
@MicroService.consume('user.user', user_pb2_grpc.UserStub)
def GetUser():
pass
| 20.875 | 58 | 0.802395 | 25 | 167 | 5.12 | 0.6 | 0.109375 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.113772 | 167 | 7 | 59 | 23.857143 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.053892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
8982eba4b57b5b88994bcdecaaebd112d5620ab8 | 85 | py | Python | saturn/socks/request/udp_associate.py | Yurzs/saturn | f5283542bf6db1d792dd69a3a35647f1dc9a0c99 | [
"MIT"
] | null | null | null | saturn/socks/request/udp_associate.py | Yurzs/saturn | f5283542bf6db1d792dd69a3a35647f1dc9a0c99 | [
"MIT"
] | null | null | null | saturn/socks/request/udp_associate.py | Yurzs/saturn | f5283542bf6db1d792dd69a3a35647f1dc9a0c99 | [
"MIT"
] | null | null | null | from .base import SocksRequest
class UdpAssociate(SocksRequest):
action_id = 3
| 14.166667 | 33 | 0.764706 | 10 | 85 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
898994a73e6eefedf58e502a525d8471765f89dc | 457 | py | Python | dynamicserialize/dstypes/com/raytheon/uf/common/pypies/request/DeleteFilesRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/pypies/request/DeleteFilesRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | dynamicserialize/dstypes/com/raytheon/uf/common/pypies/request/DeleteFilesRequest.py | mjames-upc/python-awips | e2b05f5587b02761df3b6dd5c6ee1f196bd5f11c | [
"BSD-3-Clause"
] | null | null | null | ##
##
# File auto-generated against equivalent DynamicSerialize Java class
class DeleteFilesRequest(object):
def __init__(self):
self.datesToDelete = None
def getDatesToDelete(self):
return self.datesToDelete
def setDatesToDelete(self, datesToDelete):
self.datesToDelete = datesT... | 19.869565 | 68 | 0.695842 | 43 | 457 | 7.302326 | 0.488372 | 0.216561 | 0.089172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229759 | 457 | 22 | 69 | 20.772727 | 0.892045 | 0.14442 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 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 |
982c7f12a5b283135de2d6964dd03c241b54edc9 | 135 | py | Python | sadedegel/dataset/categorized_product_sentiment/__init__.py | GlobalMaksimum/sadedegel | 8e28dbeabc3bf0d6f2222089ac5e3a849f9d3a6b | [
"MIT"
] | 100 | 2020-07-06T05:50:49.000Z | 2022-03-21T21:56:55.000Z | sadedegel/dataset/categorized_product_sentiment/__init__.py | LyotardPostmodernizm/sadedegel | 8e28dbeabc3bf0d6f2222089ac5e3a849f9d3a6b | [
"MIT"
] | 244 | 2020-07-06T06:31:01.000Z | 2022-02-26T10:40:17.000Z | sadedegel/dataset/categorized_product_sentiment/__init__.py | LyotardPostmodernizm/sadedegel | 8e28dbeabc3bf0d6f2222089ac5e3a849f9d3a6b | [
"MIT"
] | 23 | 2020-07-27T16:32:48.000Z | 2022-03-18T11:13:07.000Z | from ._core import load_categorized_product_sentiment_train
from ._core import SENTIMENT_CLASS_VALUES, PRODUCT_CATEGORIES, CORPUS_SIZE
| 45 | 74 | 0.896296 | 18 | 135 | 6.166667 | 0.722222 | 0.144144 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 135 | 2 | 75 | 67.5 | 0.888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.