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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ebc490bea67c102bec880a94000f61e89d45c863 | 170 | py | Python | aziende/admin.py | luca772005/studio | 8d19d28f13f400aa4dde84c36e44cf5891d18ddd | [
"MIT"
] | null | null | null | aziende/admin.py | luca772005/studio | 8d19d28f13f400aa4dde84c36e44cf5891d18ddd | [
"MIT"
] | null | null | null | aziende/admin.py | luca772005/studio | 8d19d28f13f400aa4dde84c36e44cf5891d18ddd | [
"MIT"
] | null | null | null | from django.contrib import admin
from aziende.models import Azienda
# Register your models here.
@admin.register(Azienda)
class AziendaAdmin(admin.ModelAdmin):
pass | 21.25 | 37 | 0.8 | 22 | 170 | 6.181818 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 170 | 8 | 38 | 21.25 | 0.918919 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ebe7d7dacffead944fd340e71684583d203cdc23 | 125 | py | Python | ctr-in-action/deepctr/__init__.py | wdxtub/compute-ad-note | 0ea1927acece84aae40b71009d5e865ae14ef57a | [
"MIT"
] | 21 | 2019-04-30T08:55:46.000Z | 2022-03-02T07:37:39.000Z | ctr-in-action/deepctr/__init__.py | wdxtub/compute-ad-note | 0ea1927acece84aae40b71009d5e865ae14ef57a | [
"MIT"
] | null | null | null | ctr-in-action/deepctr/__init__.py | wdxtub/compute-ad-note | 0ea1927acece84aae40b71009d5e865ae14ef57a | [
"MIT"
] | 3 | 2019-08-09T05:15:17.000Z | 2021-01-20T09:12:12.000Z | from . import layers
from . import models
from .utils import check_version
__version__ = '0.4.1'
check_version(__version__)
| 17.857143 | 32 | 0.784 | 18 | 125 | 4.888889 | 0.555556 | 0.227273 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.136 | 125 | 6 | 33 | 20.833333 | 0.787037 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cce60edafccb1c58d9e5204c496e3f2f1b6845b4 | 168,346 | py | Python | tests/test_scottbrian_paratools/test_smart_event.py | ScottBrian/scottbrian_paratools | 1b370d985f6d3fd28efc85dee6e3404f86bc7d12 | [
"MIT"
] | null | null | null | tests/test_scottbrian_paratools/test_smart_event.py | ScottBrian/scottbrian_paratools | 1b370d985f6d3fd28efc85dee6e3404f86bc7d12 | [
"MIT"
] | null | null | null | tests/test_scottbrian_paratools/test_smart_event.py | ScottBrian/scottbrian_paratools | 1b370d985f6d3fd28efc85dee6e3404f86bc7d12 | [
"MIT"
] | null | null | null | """test_smart_event.py module."""
###############################################################################
# Standard Library
###############################################################################
from enum import Enum
import logging
import time
from typing import Any, cast, Dict, Final, List, Optional... | 37.343833 | 86 | 0.517203 | 17,524 | 168,346 | 4.738359 | 0.034581 | 0.032661 | 0.023243 | 0.024749 | 0.823472 | 0.781586 | 0.73186 | 0.703788 | 0.662636 | 0.615235 | 0 | 0.013152 | 0.305834 | 168,346 | 4,507 | 87 | 37.352119 | 0.697399 | 0.143365 | 0 | 0.717572 | 0 | 0 | 0.102036 | 0.007958 | 0 | 0 | 0 | 0 | 0.12376 | 1 | 0.040063 | false | 0.001587 | 0.00357 | 0 | 0.057914 | 0.001587 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
692c2967dc8b83a8426ca865233d5ebc02f155aa | 20 | py | Python | oletools/thirdparty/xglob/__init__.py | maniVix/oletools | 63c4d5261521664f4df7c8f055227118d4fc9349 | [
"BSD-2-Clause"
] | 2,059 | 2016-05-27T10:27:15.000Z | 2022-03-30T19:54:08.000Z | oletools/thirdparty/xglob/__init__.py | maniVix/oletools | 63c4d5261521664f4df7c8f055227118d4fc9349 | [
"BSD-2-Clause"
] | 626 | 2016-05-28T15:05:12.000Z | 2022-03-27T06:08:47.000Z | oletools/thirdparty/xglob/__init__.py | maniVix/oletools | 63c4d5261521664f4df7c8f055227118d4fc9349 | [
"BSD-2-Clause"
] | 530 | 2016-05-30T10:18:08.000Z | 2022-03-30T07:41:27.000Z | from .xglob import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15c428f7603c9d66155cd6b93f1920ec4033bd6c | 414 | py | Python | zenithml/torch/layers/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | zenithml/torch/layers/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | 1 | 2022-03-07T16:29:32.000Z | 2022-03-07T16:29:32.000Z | zenithml/torch/layers/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | from zenithml.torch.layers.preprocess.numerical import NumericalLayer
from zenithml.torch.layers.preprocess.normalizers import MinMaxNormalizeLayer, LogNormalizeLayer, BucketizedLayer
from zenithml.torch.layers.preprocess.nhotencoder import NHotEncodingLayer
from zenithml.torch.layers.preprocess.embedding import Embedd... | 59.142857 | 113 | 0.886473 | 43 | 414 | 8.511628 | 0.465116 | 0.163934 | 0.185792 | 0.251366 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 414 | 6 | 114 | 69 | 0.938462 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15fd3f98e57322cd2e9f70dbcf1cb9a28d020819 | 81 | py | Python | src/py/route.py | AlecioFuranze/zeloo7 | d3e662679363dac4457b349cd5531ce92b1a0456 | [
"MIT"
] | null | null | null | src/py/route.py | AlecioFuranze/zeloo7 | d3e662679363dac4457b349cd5531ce92b1a0456 | [
"MIT"
] | null | null | null | src/py/route.py | AlecioFuranze/zeloo7 | d3e662679363dac4457b349cd5531ce92b1a0456 | [
"MIT"
] | null | null | null | from ast import arg
class Route:
def RETURN():
return None
| 11.571429 | 19 | 0.555556 | 10 | 81 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395062 | 81 | 7 | 20 | 11.571429 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c60834a29854695db62c550ebda2c672458088b2 | 117 | py | Python | tests/pyflakes_bears/pep8_naming_test_files/E05/invalid_nested_class.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | null | null | null | tests/pyflakes_bears/pep8_naming_test_files/E05/invalid_nested_class.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | 12 | 2018-05-21T06:12:59.000Z | 2018-07-30T10:37:16.000Z | tests/pyflakes_bears/pep8_naming_test_files/E05/invalid_nested_class.py | MacBox7/coala-pyflakes | 637f8a2e77973384be79d30b0dae1f43072e60c8 | [
"MIT"
] | 1 | 2018-06-10T16:16:47.000Z | 2018-06-10T16:16:47.000Z | def foo():
'''
>>> class Good():
... class bad():
... pass
'''
pass
| 14.625 | 28 | 0.264957 | 8 | 117 | 3.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.529915 | 117 | 7 | 29 | 16.714286 | 0.563636 | 0.478632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d6b4438311ed0428830b2410cd875a8f77f091a1 | 27 | py | Python | erdospy/test/__init__.py | NiMlr/erdospy | 9c060fa9285da7346e0b6d367555b45f4dcc82f6 | [
"MIT"
] | null | null | null | erdospy/test/__init__.py | NiMlr/erdospy | 9c060fa9285da7346e0b6d367555b45f4dcc82f6 | [
"MIT"
] | null | null | null | erdospy/test/__init__.py | NiMlr/erdospy | 9c060fa9285da7346e0b6d367555b45f4dcc82f6 | [
"MIT"
] | 1 | 2022-01-19T11:51:51.000Z | 2022-01-19T11:51:51.000Z | from .tests import testall
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6dfd7325555dd2299c95baebd138e4fb7043ffb | 157 | py | Python | atomate/lammps/firetasks/__init__.py | dongsenfo/atomate | 01558e8c3e38470c02bc8b50c0ee3aa6198e5206 | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-09-02T00:55:26.000Z | 2019-09-02T00:55:26.000Z | atomate/lammps/firetasks/__init__.py | dongsenfo/atomate | 01558e8c3e38470c02bc8b50c0ee3aa6198e5206 | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-04-09T20:55:30.000Z | 2019-04-09T21:30:24.000Z | atomate/lammps/firetasks/__init__.py | dongsenfo/atomate | 01558e8c3e38470c02bc8b50c0ee3aa6198e5206 | [
"BSD-3-Clause-LBNL"
] | 3 | 2017-03-31T07:42:39.000Z | 2018-10-10T12:52:49.000Z | from __future__ import unicode_literals
# from .write_inputs import *
# from .run_calc import *
# from .parse_outputs import *
# from .glue_tasks import *
| 19.625 | 39 | 0.757962 | 21 | 157 | 5.238095 | 0.619048 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165605 | 157 | 7 | 40 | 22.428571 | 0.839695 | 0.675159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba567f961a219cedc74092a14f49b5f7723f7c6e | 188 | py | Python | experiments/archived/20210119/bag_model/__init__.py | fxnnxc/text_summarization | b8c8a5f491bc44622203602941c1514b2e006fe3 | [
"Apache-2.0"
] | 5 | 2020-10-14T02:30:44.000Z | 2021-05-06T12:48:28.000Z | experiments/archived/20210119/bag_model/__init__.py | fxnnxc/text_summarization | b8c8a5f491bc44622203602941c1514b2e006fe3 | [
"Apache-2.0"
] | 2 | 2020-12-19T05:59:31.000Z | 2020-12-22T11:05:31.000Z | experiments/archived/20210119/bag_model/__init__.py | fxnnxc/text_summarization | b8c8a5f491bc44622203602941c1514b2e006fe3 | [
"Apache-2.0"
] | null | null | null | from . import text_summarization_annealing # noqa
from .models import model, hub_interface # noqa
from .criterions import kld_loss
from .modules import pgn
#from .modules import # noqa | 37.6 | 50 | 0.792553 | 26 | 188 | 5.576923 | 0.576923 | 0.110345 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154255 | 188 | 5 | 51 | 37.6 | 0.91195 | 0.196809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba6be2e01f5c2a7f71fb4e9813ef4f46239426f3 | 4,420 | py | Python | tests/unit-tests/test_config_titlefix.py | hazemelraffiee/confluencebuilder | c283e7fb513c156b9b6e0ba3694fc3e0468a74c9 | [
"BSD-2-Clause"
] | 90 | 2016-07-21T00:39:19.000Z | 2019-03-08T08:27:17.000Z | tests/unit-tests/test_config_titlefix.py | hazemelraffiee/confluencebuilder | c283e7fb513c156b9b6e0ba3694fc3e0468a74c9 | [
"BSD-2-Clause"
] | 124 | 2016-10-18T20:06:48.000Z | 2019-03-08T04:41:53.000Z | tests/unit-tests/test_config_titlefix.py | hazemelraffiee/confluencebuilder | c283e7fb513c156b9b6e0ba3694fc3e0468a74c9 | [
"BSD-2-Clause"
] | 39 | 2016-07-21T00:39:52.000Z | 2019-03-06T14:33:31.000Z | # -*- coding: utf-8 -*-
"""
:copyright: Copyright 2020-2022 Sphinx Confluence Builder Contributors (AUTHORS)
:license: BSD-2-Clause (LICENSE)
"""
from tests.lib.testcase import ConfluenceTestCase
from tests.lib.testcase import setup_builder
from tests.lib import parse
import os
class TestConfluenceConfigTitlefix(Con... | 37.142857 | 80 | 0.63552 | 495 | 4,420 | 5.490909 | 0.143434 | 0.077263 | 0.062546 | 0.04415 | 0.842899 | 0.809419 | 0.799853 | 0.785136 | 0.76674 | 0.711553 | 0 | 0.002995 | 0.24457 | 4,420 | 118 | 81 | 37.457627 | 0.811021 | 0.030769 | 0 | 0.7 | 0 | 0 | 0.206735 | 0.076707 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.066667 | false | 0 | 0.044444 | 0 | 0.122222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
241715314e6cac2f918c86b960e56f1eed869c44 | 2,686 | py | Python | epytope/Data/pssms/smm/mat/A_24_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_24_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_24_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_24_02_11 = {0: {'A': 0.219, 'C': -0.201, 'E': 0.106, 'D': 0.153, 'G': 0.052, 'F': 0.18, 'I': 0.146, 'H': 0.226, 'K': 0.166, 'M': 0.196, 'L': -0.246, 'N': 0.084, 'Q': 0.266, 'P': 0.052, 'S': -0.448, 'R': -0.13, 'T': -0.152, 'W': 0.0, 'V': -0.32, 'Y': -0.348}, 1: {'A': 0.011, 'C': 0.021, 'E': 0.324, 'D': 0.012, 'G': 0.... | 2,686 | 2,686 | 0.374162 | 679 | 2,686 | 1.4757 | 0.243004 | 0.10978 | 0.01497 | 0.01996 | 0.198603 | 0.141717 | 0.141717 | 0.141717 | 0.133733 | 0.133733 | 0 | 0.348723 | 0.169397 | 2,686 | 1 | 2,686 | 2,686 | 0.100403 | 0 | 0 | 0 | 0 | 0 | 0.082992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
242a209c7e330946c06da5e7d3926e203e3673d7 | 143 | py | Python | kwat/vcf/__init__.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T17:50:28.000Z | 2019-01-30T19:23:02.000Z | kwat/vcf/__init__.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-05-05T01:52:31.000Z | 2019-04-20T21:06:05.000Z | kwat/vcf/__init__.py | KwatME/ccal | d96dfa811482eee067f346386a2181ec514625f4 | [
"MIT"
] | 5 | 2017-07-17T18:55:54.000Z | 2019-02-02T04:46:19.000Z | from .ANN import ANN
from .COLUMN import COLUMN
from .count_variant import count_variant
from .read import read
from .read_row import read_row
| 23.833333 | 40 | 0.825175 | 24 | 143 | 4.75 | 0.333333 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 143 | 5 | 41 | 28.6 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2444bfda5192c4823c0aa33cb28aafc9bb284d33 | 48 | py | Python | urdf2optcontrol/__init__.py | abcamiletto/urdf2optcontrol | 39b3f761a4685cc7d50b48793b6b2906c89b1694 | [
"MIT"
] | null | null | null | urdf2optcontrol/__init__.py | abcamiletto/urdf2optcontrol | 39b3f761a4685cc7d50b48793b6b2906c89b1694 | [
"MIT"
] | null | null | null | urdf2optcontrol/__init__.py | abcamiletto/urdf2optcontrol | 39b3f761a4685cc7d50b48793b6b2906c89b1694 | [
"MIT"
] | null | null | null | from urdf2optcontrol.optimizer import optimizer
| 24 | 47 | 0.895833 | 5 | 48 | 8.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79ec537d798dd165bdadeed344519ce946fbb58f | 17 | py | Python | atmPy/data_archives/__init__.py | wblumberg/atm-py | 253fc427fb366667da2d46a9af4a5d6550a13a6d | [
"MIT"
] | 5 | 2015-09-09T20:06:59.000Z | 2021-03-17T17:41:40.000Z | atmPy/data_archives/__init__.py | wblumberg/atm-py | 253fc427fb366667da2d46a9af4a5d6550a13a6d | [
"MIT"
] | 9 | 2016-02-22T18:15:21.000Z | 2020-01-09T15:56:30.000Z | atmPy/data_archives/__init__.py | wblumberg/atm-py | 253fc427fb366667da2d46a9af4a5d6550a13a6d | [
"MIT"
] | 3 | 2016-04-19T16:19:35.000Z | 2017-08-18T16:01:40.000Z | from . import arm | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79fd5c1e63ef69fca3001ea30cfe970aedb5057c | 117 | py | Python | mbuild/lib/bulk_materials/__init__.py | daico007/mbuild | 8baa19a46d1ece809f214a2e1a2f8984dd923b56 | [
"MIT"
] | 101 | 2017-02-14T18:23:52.000Z | 2022-03-20T03:29:59.000Z | mbuild/lib/bulk_materials/__init__.py | Leticia-maria/mbuild | b6278441ff6d6cf1f954affe3d0fbeec17bbbc6d | [
"MIT"
] | 689 | 2017-02-13T04:40:30.000Z | 2022-03-31T19:57:32.000Z | mbuild/lib/bulk_materials/__init__.py | Leticia-maria/mbuild | b6278441ff6d6cf1f954affe3d0fbeec17bbbc6d | [
"MIT"
] | 82 | 2017-02-13T21:08:48.000Z | 2022-03-21T21:55:43.000Z | """mBuild bulk materials library."""
from mbuild.lib.bulk_materials.amorphous_silica_bulk import AmorphousSilicaBulk
| 39 | 79 | 0.846154 | 14 | 117 | 6.857143 | 0.714286 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 117 | 2 | 80 | 58.5 | 0.880734 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30081b99ed015655f62a2925588934f7ea214a6c | 1,543 | py | Python | tests/test_router.py | elizabrock/adventofcode | 542d86df55696e60b9044a468d9231650b93594c | [
"MIT"
] | null | null | null | tests/test_router.py | elizabrock/adventofcode | 542d86df55696e60b9044a468d9231650b93594c | [
"MIT"
] | null | null | null | tests/test_router.py | elizabrock/adventofcode | 542d86df55696e60b9044a468d9231650b93594c | [
"MIT"
] | null | null | null | import unittest
from day3 import Router, Path, Traveler
class TestRouter(unittest.TestCase):
def test_houses_visited_single_visitor_2(self):
input = '>'
expected = 2
path = Path()
Router.route(input, Traveler(path))
self.assertEqual(expected, path.houses_visited())
def... | 30.86 | 59 | 0.635126 | 182 | 1,543 | 5.131868 | 0.175824 | 0.167024 | 0.083512 | 0.12848 | 0.890792 | 0.844754 | 0.777302 | 0.777302 | 0.777302 | 0.736617 | 0 | 0.012079 | 0.248866 | 1,543 | 49 | 60 | 31.489796 | 0.793788 | 0 | 0 | 0.634146 | 0 | 0 | 0.025275 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.146341 | false | 0 | 0.04878 | 0 | 0.219512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
302b5c1fae21cc0412ea3e093f2daee245ab78e4 | 277 | py | Python | bindings/python/hgdb/__init__.py | mithro/hgdb | 8a028b9ee8751a2cc77cd1c889e96059747b2f18 | [
"BSD-2-Clause"
] | null | null | null | bindings/python/hgdb/__init__.py | mithro/hgdb | 8a028b9ee8751a2cc77cd1c889e96059747b2f18 | [
"BSD-2-Clause"
] | null | null | null | bindings/python/hgdb/__init__.py | mithro/hgdb | 8a028b9ee8751a2cc77cd1c889e96059747b2f18 | [
"BSD-2-Clause"
] | null | null | null | try:
from .client import HGDBClient, HGDBClientException
from .symbol import (SymbolTableProvider, VariableSymbol, GeneratorVariableSymbol, ContextVariableSymbol,
BreakpointSymbol)
except ImportError:
pass
from .db import DebugSymbolTable
| 30.777778 | 109 | 0.743682 | 21 | 277 | 9.809524 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212996 | 277 | 8 | 110 | 34.625 | 0.944954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
063ec248cab953998ddab52490481255e605a0c3 | 24 | py | Python | getpw/__init__.py | N0x1s/getpw | ab1acae4ff80d756663845ba8b56dbeadb6a4d4a | [
"MIT"
] | 2 | 2020-07-12T07:00:48.000Z | 2020-08-20T18:14:35.000Z | getpw/__init__.py | N0x1s/getpw | ab1acae4ff80d756663845ba8b56dbeadb6a4d4a | [
"MIT"
] | null | null | null | getpw/__init__.py | N0x1s/getpw | ab1acae4ff80d756663845ba8b56dbeadb6a4d4a | [
"MIT"
] | 1 | 2021-01-26T15:07:02.000Z | 2021-01-26T15:07:02.000Z | from .main import getpw
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
069a99b2d207f477a99a4ee093bdde5d744a1f44 | 4,481 | py | Python | tests/regressiontests/forms/localflavor/sk.py | huicheese/Django-test3 | ac11d2dce245b48392e52d1f4acfd5e7433b243e | [
"BSD-3-Clause"
] | 23 | 2015-01-26T12:16:59.000Z | 2022-02-10T10:58:40.000Z | tests/regressiontests/forms/localflavor/sk.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 1 | 2015-11-25T10:57:23.000Z | 2017-02-25T07:54:03.000Z | tests/regressiontests/forms/localflavor/sk.py | joetyson/django | c3699190186561d5c216b2a77ecbfc487d42a734 | [
"BSD-3-Clause"
] | 30 | 2015-03-25T19:40:07.000Z | 2021-05-28T22:59:26.000Z | # -*- coding: utf-8 -*-
# Tests for the contrib/localflavor/ SK form fields.
tests = r"""
# SKPostalCodeField #########################################################
>>> from django.contrib.localflavor.sk.forms import SKPostalCodeField
>>> f = SKPostalCodeField()
>>> f.clean('84545x')
Traceback (most recent call la... | 140.03125 | 3,188 | 0.700736 | 668 | 4,481 | 4.700599 | 0.341317 | 0.193949 | 0.332484 | 0.487261 | 0.220064 | 0.123248 | 0.039172 | 0 | 0 | 0 | 0 | 0.008233 | 0.051328 | 4,481 | 31 | 3,189 | 144.548387 | 0.730416 | 0.016068 | 0 | 0 | 0 | 0.086957 | 0.995688 | 0.697912 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23159cfa74dfdec1ad7127226ba277cf96d5ec57 | 47 | py | Python | vnpy/api/lhang/__init__.py | firekay/vnpy | 22311a882c465312ebad20eaa1cb607fa7b8b7af | [
"MIT"
] | 5 | 2018-01-25T01:59:41.000Z | 2022-03-11T10:08:58.000Z | vnpy/api/lhang/__init__.py | ianchan1988/vnpy | 5fd3814ba5ce3559ef1cb1a04c877a06114b4728 | [
"MIT"
] | null | null | null | vnpy/api/lhang/__init__.py | ianchan1988/vnpy | 5fd3814ba5ce3559ef1cb1a04c877a06114b4728 | [
"MIT"
] | 6 | 2018-03-12T06:08:21.000Z | 2021-11-18T15:14:40.000Z | # encoding: UTF-8
from vnlhang import LhangApi | 15.666667 | 28 | 0.787234 | 7 | 47 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 47 | 3 | 28 | 15.666667 | 0.9 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2342e6f5d5a14d9ffb94a6dfe26cfec369450b05 | 7,259 | py | Python | tests/test_models.py | ivoire/KissCache | ccdf6454bccc29dbd0cd30b00c95a37fa3680b2c | [
"MIT"
] | null | null | null | tests/test_models.py | ivoire/KissCache | ccdf6454bccc29dbd0cd30b00c95a37fa3680b2c | [
"MIT"
] | null | null | null | tests/test_models.py | ivoire/KissCache | ccdf6454bccc29dbd0cd30b00c95a37fa3680b2c | [
"MIT"
] | 1 | 2020-09-29T21:05:43.000Z | 2020-09-29T21:05:43.000Z | # -*- coding: utf-8 -*-
# vim: set ts=4
#
# Copyright 2019 Linaro Limited
#
# Author: Rémi Duraffort <remi.duraffort@linaro.org>
#
# SPDX-License-Identifier: MIT
import pytest
import time
from kiss_cache.models import Resource
def test_resource_parse_ttl():
assert Resource.parse_ttl("1d") == 60 * 60 * 24
as... | 32.262222 | 87 | 0.653396 | 917 | 7,259 | 5.045802 | 0.152672 | 0.027664 | 0.06354 | 0.072617 | 0.787119 | 0.780635 | 0.769397 | 0.731576 | 0.720553 | 0.720553 | 0 | 0.079359 | 0.21711 | 7,259 | 224 | 88 | 32.40625 | 0.734823 | 0.055242 | 0 | 0.720238 | 0 | 0 | 0.18235 | 0.075979 | 0 | 0 | 0 | 0 | 0.178571 | 1 | 0.065476 | false | 0 | 0.017857 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
237cf8d677c370493bef079416fe4e3a6b86b1ed | 49 | py | Python | src/larksuiteoapi/api/response/__init__.py | keeperlibofan/oapi-sdk-python | 5743dd34eb0bfc30693e9b6e6f5cf35ac82edb26 | [
"Apache-2.0"
] | 50 | 2021-04-11T05:24:10.000Z | 2022-03-29T10:14:13.000Z | src/larksuiteoapi/api/response/__init__.py | keeperlibofan/oapi-sdk-python | 5743dd34eb0bfc30693e9b6e6f5cf35ac82edb26 | [
"Apache-2.0"
] | 20 | 2021-04-07T15:17:44.000Z | 2022-03-23T06:27:12.000Z | src/larksuiteoapi/api/response/__init__.py | keeperlibofan/oapi-sdk-python | 5743dd34eb0bfc30693e9b6e6f5cf35ac82edb26 | [
"Apache-2.0"
] | 8 | 2021-04-25T15:02:17.000Z | 2022-03-13T15:00:59.000Z | # -*- coding: UTF-8 -*-
from .response import *
| 12.25 | 23 | 0.571429 | 6 | 49 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.204082 | 49 | 3 | 24 | 16.333333 | 0.692308 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88bb346440052826b7651c1b2bd9b57c6b6d23ee | 3,715 | py | Python | 11/solution.py | Hegemege/advent-of-code-2021 | e3ee5de81a03ef726baf638dd99ba85e85fd537a | [
"MIT"
] | null | null | null | 11/solution.py | Hegemege/advent-of-code-2021 | e3ee5de81a03ef726baf638dd99ba85e85fd537a | [
"MIT"
] | null | null | null | 11/solution.py | Hegemege/advent-of-code-2021 | e3ee5de81a03ef726baf638dd99ba85e85fd537a | [
"MIT"
] | null | null | null | class Octopus:
def __init__(self, energy):
self.flashed = False
self.energy = energy
self.neighbors = []
self.flashes = 0
def flash(self):
if self.flashed:
return
self.flashed = True
self.flashes += 1
for neighbor in self.neighbors:
... | 31.752137 | 75 | 0.474563 | 495 | 3,715 | 3.505051 | 0.119192 | 0.051873 | 0.175216 | 0.212104 | 0.738329 | 0.738329 | 0.738329 | 0.730836 | 0.730836 | 0.730836 | 0 | 0.032825 | 0.417766 | 3,715 | 116 | 76 | 32.025862 | 0.769302 | 0.02611 | 0 | 0.68 | 0 | 0 | 0.003873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0 | 0 | 0.08 | 0.02 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
00397b0a764373c133aa03603627a896723055b9 | 12,961 | py | Python | asn1PERser/test/per/encoder/test_per_encode_enumerated.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | 3 | 2021-06-14T03:29:37.000Z | 2021-11-15T09:45:11.000Z | asn1PERser/test/per/encoder/test_per_encode_enumerated.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | null | null | null | asn1PERser/test/per/encoder/test_per_encode_enumerated.py | erupikus/asn1PERser | 11dc2985107a9fbba00bea83c1021d2665e8f193 | [
"MIT"
] | null | null | null | import pytest
from pyasn1.type.namedval import NamedValues
from asn1PERser.codec.per.encoder import encode as per_encoder
from asn1PERser.classes.data.builtin.EnumeratedType import EnumeratedType
from asn1PERser.classes.types.constraint import ExtensionMarker
def SCHEMA_my_enum(enumerationRoot_list, extensionMarker_v... | 73.225989 | 168 | 0.682509 | 1,579 | 12,961 | 5.259658 | 0.233692 | 0.062131 | 0.160626 | 0.107887 | 0.824684 | 0.821433 | 0.803131 | 0.794582 | 0.783504 | 0.776159 | 0 | 0.105946 | 0.155235 | 12,961 | 176 | 169 | 73.642045 | 0.652571 | 0.015894 | 0 | 0.204724 | 0 | 0 | 0.110605 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 1 | 0.055118 | false | 0 | 0.03937 | 0.007874 | 0.19685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0041a6d8129ee5f06d99b37cd61cca2482630a2f | 84 | py | Python | Chinese/HPS3D_SDK_ROS_Demo/devel/lib/python2.7/dist-packages/hps_camera/msg/__init__.py | hypersen/HPS3D_SDK | dcafdb0aac1a38db2c3424c6dbc0864e108cd7fc | [
"MIT"
] | 13 | 2019-04-30T02:23:59.000Z | 2021-11-12T04:05:21.000Z | English/HPS3D_SDK_ROS_Demo/devel/lib/python2.7/dist-packages/hps_camera/msg/__init__.py | hypersen/HPS3D_SDK | dcafdb0aac1a38db2c3424c6dbc0864e108cd7fc | [
"MIT"
] | 3 | 2019-10-24T03:49:21.000Z | 2020-03-09T01:33:45.000Z | Chinese/HPS3D_SDK_ROS_Demo/devel/lib/python2.7/dist-packages/hps_camera/msg/__init__.py | hypersen/HPS3D_SDK | dcafdb0aac1a38db2c3424c6dbc0864e108cd7fc | [
"MIT"
] | 4 | 2019-10-23T02:06:02.000Z | 2020-11-19T08:49:56.000Z | from ._PointCloudData import *
from ._distance import *
from ._measureData import *
| 21 | 30 | 0.785714 | 9 | 84 | 7 | 0.555556 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 31 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc4c1e54fba50bcdc91d167be088d9b7b84f2552 | 11,209 | py | Python | day15_p1.py | venomousmoog/adventofcode2021 | 0111db027954ab38d6c17e0c8048df3449cb90d2 | [
"Apache-2.0"
] | null | null | null | day15_p1.py | venomousmoog/adventofcode2021 | 0111db027954ab38d6c17e0c8048df3449cb90d2 | [
"Apache-2.0"
] | null | null | null | day15_p1.py | venomousmoog/adventofcode2021 | 0111db027954ab38d6c17e0c8048df3449cb90d2 | [
"Apache-2.0"
] | null | null | null |
import heapq
import sys
def compute(data):
map = [[int(e) for e in l] for l in data.split('\n')]
w = len(map)
h = len(map[0])
end = (w-1, h-1)
# pq format is [cost, length, counter, position]
q = [[0, 0, 0, (0,0)]]
counter = 1
visited = set([(0,0)])
while len(q) > 0:
... | 75.228188 | 108 | 0.940673 | 270 | 11,209 | 39.040741 | 0.592593 | 0.001138 | 0.000854 | 0.000759 | 0.001897 | 0.001897 | 0.001138 | 0 | 0 | 0 | 0 | 0.943059 | 0.041128 | 11,209 | 149 | 109 | 75.228188 | 0.037681 | 0.014631 | 0 | 0 | 0 | 0 | 0.924819 | 0.905797 | 0 | 1 | 0 | 0 | 0 | 1 | 0.007576 | false | 0 | 0.015152 | 0 | 0.030303 | 0.007576 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cca6ce054f235573223e0acef42ab3b27c27d276 | 4,094 | py | Python | tests/test_hotfix_class.py | wo1fsea/PyHotfixer | c80088618e0f469743335119c9451b84e42d3312 | [
"MIT"
] | null | null | null | tests/test_hotfix_class.py | wo1fsea/PyHotfixer | c80088618e0f469743335119c9451b84e42d3312 | [
"MIT"
] | 1 | 2019-08-24T16:08:15.000Z | 2019-08-24T16:08:15.000Z | tests/test_hotfix_class.py | wo1fsea/PyHotfixer | c80088618e0f469743335119c9451b84e42d3312 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""----------------------------------------------------------------------------
Author:
Huang Quanyong
gzhuangquanyong@corp.netease.com
Date:
2019/8/19
Description:
test_hotfix_class.py
----------------------------------------------------------------------------"""
import unitte... | 40.137255 | 95 | 0.711285 | 534 | 4,094 | 5.06367 | 0.129213 | 0.154586 | 0.181213 | 0.211538 | 0.807322 | 0.781065 | 0.780325 | 0.678254 | 0.667899 | 0.579882 | 0 | 0.01686 | 0.159746 | 4,094 | 102 | 96 | 40.137255 | 0.769186 | 0.072789 | 0 | 0.363636 | 0 | 0 | 0.017146 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aea98b7c660918a200179398adca2ee696d030ce | 69 | py | Python | _ext/python/crawlab/client/__init__.py | crawlab-team/crawlab-python-sdk | 35f83f8d76046d3ee2700d63e96624ed534c1ca5 | [
"BSD-3-Clause"
] | null | null | null | _ext/python/crawlab/client/__init__.py | crawlab-team/crawlab-python-sdk | 35f83f8d76046d3ee2700d63e96624ed534c1ca5 | [
"BSD-3-Clause"
] | null | null | null | _ext/python/crawlab/client/__init__.py | crawlab-team/crawlab-python-sdk | 35f83f8d76046d3ee2700d63e96624ed534c1ca5 | [
"BSD-3-Clause"
] | null | null | null | from .request import *
from .response import *
from .client import *
| 17.25 | 23 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 24 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aeb44b2e87a480204cd75439d61dcdeb9f902a63 | 44 | py | Python | turbulenz_local/lib/__init__.py | turbulenz/turbulenz_local | 3c96c1229514dcd4893b7055599f55ed185db95a | [
"MIT"
] | 12 | 2015-01-26T16:15:30.000Z | 2022-03-17T19:29:34.000Z | turbulenz_local/lib/__init__.py | mcanthony/turbulenz_local | 3c96c1229514dcd4893b7055599f55ed185db95a | [
"MIT"
] | null | null | null | turbulenz_local/lib/__init__.py | mcanthony/turbulenz_local | 3c96c1229514dcd4893b7055599f55ed185db95a | [
"MIT"
] | 5 | 2015-02-23T13:39:14.000Z | 2021-02-14T15:35:43.000Z | # Copyright (c) 2011,2013 Turbulenz Limited
| 22 | 43 | 0.772727 | 6 | 44 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.136364 | 44 | 1 | 44 | 44 | 0.684211 | 0.931818 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e1adb9dddcda20dec1e35de3a167c83ab5d7ef4 | 293 | py | Python | grr/server/grr_response_server/check_lib/__init__.py | khanhgithead/grr | 8ad8a4d2c5a93c92729206b7771af19d92d4f915 | [
"Apache-2.0"
] | 4,238 | 2015-01-01T15:34:50.000Z | 2022-03-31T08:18:05.000Z | grr/server/grr_response_server/check_lib/__init__.py | khanhgithead/grr | 8ad8a4d2c5a93c92729206b7771af19d92d4f915 | [
"Apache-2.0"
] | 787 | 2015-01-02T21:34:24.000Z | 2022-03-02T13:26:38.000Z | grr/server/grr_response_server/check_lib/__init__.py | khanhgithead/grr | 8ad8a4d2c5a93c92729206b7771af19d92d4f915 | [
"Apache-2.0"
] | 856 | 2015-01-02T02:50:11.000Z | 2022-03-31T11:11:53.000Z | #!/usr/bin/env python
"""This is the check capabilities used to post-process host data."""
# pylint: disable=g-import-not-at-top,unused-import
from grr_response_server.check_lib import checks
from grr_response_server.check_lib import hints
from grr_response_server.check_lib import triggers
| 32.555556 | 68 | 0.8157 | 48 | 293 | 4.791667 | 0.645833 | 0.091304 | 0.195652 | 0.273913 | 0.456522 | 0.456522 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0.098976 | 293 | 8 | 69 | 36.625 | 0.871212 | 0.453925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e29f4a6ddaa3fbe68306b2d5b1a9c2d2b637e6e | 52 | py | Python | tests/test_foo.py | AlexDev-py/vkquick | ef21d71e03b92ac4a2da4b63b6cc13d0e12ab674 | [
"MIT"
] | 1 | 2021-05-27T10:13:50.000Z | 2021-05-27T10:13:50.000Z | tests/test_foo.py | AlexDev-py/vkquick | ef21d71e03b92ac4a2da4b63b6cc13d0e12ab674 | [
"MIT"
] | null | null | null | tests/test_foo.py | AlexDev-py/vkquick | ef21d71e03b92ac4a2da4b63b6cc13d0e12ab674 | [
"MIT"
] | null | null | null | def test_run():
import vkquick
assert True
| 10.4 | 18 | 0.653846 | 7 | 52 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 52 | 4 | 19 | 13 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d62960a19296d3b6b3b3dc5c0021f2c5e0a5dc1 | 43 | py | Python | joke teller.py | naitikvaru/python_joke_teller | d46817c3100db1a8bb8c720c37a8e23d2791e792 | [
"Apache-2.0"
] | 1 | 2021-01-25T09:30:05.000Z | 2021-01-25T09:30:05.000Z | joke teller.py | naitikvaru/python_joke_teller | d46817c3100db1a8bb8c720c37a8e23d2791e792 | [
"Apache-2.0"
] | null | null | null | joke teller.py | naitikvaru/python_joke_teller | d46817c3100db1a8bb8c720c37a8e23d2791e792 | [
"Apache-2.0"
] | null | null | null | import pyjokes
print(pyjokes.get_joke())
| 14.333333 | 26 | 0.767442 | 6 | 43 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 27 | 21.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9dc180c8f96c452d5b34c28555523efd9495758d | 92 | py | Python | protopigeon/__init__.py | gregorynicholas/proto-pigeon | 65a5d961e7a8506f3a968b21aaf68f625fd13190 | [
"Apache-2.0"
] | null | null | null | protopigeon/__init__.py | gregorynicholas/proto-pigeon | 65a5d961e7a8506f3a968b21aaf68f625fd13190 | [
"Apache-2.0"
] | null | null | null | protopigeon/__init__.py | gregorynicholas/proto-pigeon | 65a5d961e7a8506f3a968b21aaf68f625fd13190 | [
"Apache-2.0"
] | null | null | null | from protorpc.messages import *
from protorpc.protojson import *
from .translators import *
| 23 | 32 | 0.804348 | 11 | 92 | 6.727273 | 0.545455 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 33 | 30.666667 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9dc27fe56cbaefc95334e4f2be612f9a88fe50b5 | 722 | py | Python | src/tests/test_inference.py | Islandora-Image-Segmentation/Newspaper-Navigator-API | 99a47e8e43c42252d3e56ea2a6e8159ef8ef6ab9 | [
"Unlicense"
] | null | null | null | src/tests/test_inference.py | Islandora-Image-Segmentation/Newspaper-Navigator-API | 99a47e8e43c42252d3e56ea2a6e8159ef8ef6ab9 | [
"Unlicense"
] | 5 | 2021-02-03T22:21:09.000Z | 2021-04-13T18:23:23.000Z | src/tests/test_inference.py | Islandora-Image-Segmentation/Newspaper-Navigator-API | 99a47e8e43c42252d3e56ea2a6e8159ef8ef6ab9 | [
"Unlicense"
] | 1 | 2021-01-21T20:53:12.000Z | 2021-01-21T20:53:12.000Z | import os
from PIL import Image
from inference import predict
from . import TEST_ASSETS_DIR
def test_inference_one():
""" Test for the segmentation ML model.
This test requires the model weights `model_final.pth` to be present in src/resources.
"""
img = Image.open(os.path.join(TEST_ASSETS_DIR, "te... | 30.083333 | 91 | 0.716066 | 109 | 722 | 4.577982 | 0.366972 | 0.06012 | 0.078156 | 0.088176 | 0.761523 | 0.761523 | 0.761523 | 0.761523 | 0.761523 | 0.761523 | 0 | 0.003413 | 0.188366 | 722 | 23 | 92 | 31.391304 | 0.848123 | 0.342105 | 0 | 0.333333 | 0 | 0 | 0.081264 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
9dfccceac3794b799a0a49e9d8a55e6c045cd319 | 231 | py | Python | template/osi/__base__.py | clayne/syringe-1 | 4a431aa65c371a2018fca95145a3952ba802a609 | [
"BSD-2-Clause"
] | 25 | 2015-04-14T21:53:46.000Z | 2022-03-30T19:15:24.000Z | template/osi/__base__.py | clayne/syringe-1 | 4a431aa65c371a2018fca95145a3952ba802a609 | [
"BSD-2-Clause"
] | 5 | 2020-03-23T20:19:59.000Z | 2021-05-24T19:38:31.000Z | template/osi/__base__.py | clayne/syringe-1 | 4a431aa65c371a2018fca95145a3952ba802a609 | [
"BSD-2-Clause"
] | 7 | 2015-07-31T13:26:37.000Z | 2021-03-05T19:35:37.000Z | from ptypes import ptype
class stackable:
def nextlayer(self):
'''returns a tuple of (type,remaining)'''
raise NotImplementedError
class terminal(stackable):
def nextlayer(self):
return None, None
| 21 | 49 | 0.670996 | 26 | 231 | 5.961538 | 0.769231 | 0.154839 | 0.270968 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 231 | 10 | 50 | 23.1 | 0.885714 | 0.151515 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.857143 | 0 | 1 | 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 | 6 |
d1bfed058e2615e29f744e8f5f8be9cb60aa782d | 28 | py | Python | app/viewer/__init__.py | Dbrown411/py-oct | e5b56344f864a8c00fe9ec1a00adbacfe833d27e | [
"MIT"
] | null | null | null | app/viewer/__init__.py | Dbrown411/py-oct | e5b56344f864a8c00fe9ec1a00adbacfe833d27e | [
"MIT"
] | null | null | null | app/viewer/__init__.py | Dbrown411/py-oct | e5b56344f864a8c00fe9ec1a00adbacfe833d27e | [
"MIT"
] | null | null | null | from .viewer_panels import * | 28 | 28 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ae3b1822a80991fb2229b2bb27e0703919ff258a | 171 | py | Python | utility/__init__.py | Krishna10798/Multi-User-Blog | a7b177acc4f900bfa92d00435c94ffbde1570496 | [
"MIT"
] | 5 | 2016-06-03T17:25:31.000Z | 2017-10-01T19:06:53.000Z | utility/__init__.py | Krishna10798/Multi-User-Blog | a7b177acc4f900bfa92d00435c94ffbde1570496 | [
"MIT"
] | 6 | 2017-01-22T20:13:22.000Z | 2017-02-07T21:32:01.000Z | utility/__init__.py | Krishna10798/Multi-User-Blog | a7b177acc4f900bfa92d00435c94ffbde1570496 | [
"MIT"
] | 2 | 2017-04-05T10:45:35.000Z | 2020-10-02T08:17:56.000Z | from utility import hash_str, check_secure_val, make_secure_val,\
valid_email, valid_username, valid_password
from filters import filterKey, showCount
| 42.75 | 65 | 0.760234 | 22 | 171 | 5.545455 | 0.727273 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19883 | 171 | 3 | 66 | 57 | 0.890511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
882f2dbb562039181c8b403715d1e5532ef471d5 | 77 | py | Python | footer/menus/__init__.py | AutomataRaven/azaharTEA | 2d5a7d96b37bca9b3a914e305e493824a0f60207 | [
"MIT"
] | 5 | 2019-03-10T16:33:21.000Z | 2021-04-07T17:24:32.000Z | footer/menus/__init__.py | Errantgod/azaharTEA | 2d5a7d96b37bca9b3a914e305e493824a0f60207 | [
"MIT"
] | 8 | 2017-02-11T06:21:28.000Z | 2017-02-22T05:50:35.000Z | footer/menus/__init__.py | Errantgod/azaharTEA | 2d5a7d96b37bca9b3a914e305e493824a0f60207 | [
"MIT"
] | 2 | 2019-10-05T20:20:15.000Z | 2020-06-28T18:46:58.000Z | __all__ = ['highlightmenu.HighlightMenu','highlightmenu.HighligthStyleMenu']
| 38.5 | 76 | 0.831169 | 5 | 77 | 12 | 0.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 77 | 1 | 77 | 77 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.766234 | 0.766234 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
884fbbaaf1972040f6f08afa8a95355013cc1899 | 3,465 | py | Python | test/test_apktool/test_repack.py | mehrdad-shokri/QT4A | d74a8a29e09df82e95158304ecfc05cd51e6ffa7 | [
"BSD-3-Clause"
] | 343 | 2016-09-27T11:20:53.000Z | 2022-01-08T15:49:02.000Z | test/test_apktool/test_repack.py | mehrdad-shokri/QT4A | d74a8a29e09df82e95158304ecfc05cd51e6ffa7 | [
"BSD-3-Clause"
] | 51 | 2018-11-07T03:08:51.000Z | 2021-12-29T06:37:20.000Z | test/test_apktool/test_repack.py | mehrdad-shokri/QT4A | d74a8a29e09df82e95158304ecfc05cd51e6ffa7 | [
"BSD-3-Clause"
] | 88 | 2016-09-28T04:32:12.000Z | 2022-03-10T07:08:23.000Z | # -*- coding: UTF-8 -*-
#
# Tencent is pleased to support the open source community by making QTA available.
# Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
# Licensed under the BSD 3-Clause License (the "License"); you may not use this
# file except in compliance with the License. You may... | 70.714286 | 1,818 | 0.849639 | 236 | 3,465 | 12.338983 | 0.563559 | 0.020604 | 0.013393 | 0.015453 | 0.015453 | 0.015453 | 0.015453 | 0.015453 | 0 | 0 | 0 | 0.420495 | 0.101587 | 3,465 | 49 | 1,819 | 70.714286 | 0.514937 | 0.206061 | 0 | 0 | 0 | 0 | 0.687408 | 0.646413 | 0 | 1 | 0 | 0 | 0.043478 | 1 | 0.043478 | false | 0 | 0.26087 | 0 | 0.391304 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88620e63502d6b10ac3da1f667be0aa99c61bea9 | 112 | py | Python | src/DeepMatter/VAE_PFM/__init__.py | m3-learning/DeepMatter | 54828a7972bf7912b848b0682b4e4452daa078cb | [
"BSD-3-Clause"
] | 2 | 2021-06-13T21:47:37.000Z | 2021-06-15T03:24:24.000Z | src/DeepMatter/VAE_PFM/__init__.py | m3-learning/DeepMatter | 54828a7972bf7912b848b0682b4e4452daa078cb | [
"BSD-3-Clause"
] | null | null | null | src/DeepMatter/VAE_PFM/__init__.py | m3-learning/DeepMatter | 54828a7972bf7912b848b0682b4e4452daa078cb | [
"BSD-3-Clause"
] | null | null | null | """
"""
from . import core
from . import file
from . import machine_learning
from . import dictionary_learning | 14 | 33 | 0.741071 | 14 | 112 | 5.785714 | 0.5 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 112 | 8 | 33 | 14 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88758064ff8c543995f64f961cd108ca766b93aa | 44 | py | Python | scivision_treecrown_plugin/__init__.py | ots22/scivision-treecrown-plugin | 4410b8fe6fc83461ff2fb83b93d89cbcd88176a9 | [
"BSD-3-Clause"
] | null | null | null | scivision_treecrown_plugin/__init__.py | ots22/scivision-treecrown-plugin | 4410b8fe6fc83461ff2fb83b93d89cbcd88176a9 | [
"BSD-3-Clause"
] | null | null | null | scivision_treecrown_plugin/__init__.py | ots22/scivision-treecrown-plugin | 4410b8fe6fc83461ff2fb83b93d89cbcd88176a9 | [
"BSD-3-Clause"
] | 1 | 2022-01-12T15:30:01.000Z | 2022-01-12T15:30:01.000Z | from .model import DeepForest, DetectreeRGB
| 22 | 43 | 0.840909 | 5 | 44 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
889dabd7345e2e9f22c1a18cd7cf243e3da6a912 | 72 | py | Python | timeseries/timeseries/models/__init__.py | takotab/timeseriesAI2 | 04740e576392adcf03766a158fb644b49458cecb | [
"Apache-2.0"
] | null | null | null | timeseries/timeseries/models/__init__.py | takotab/timeseriesAI2 | 04740e576392adcf03766a158fb644b49458cecb | [
"Apache-2.0"
] | null | null | null | timeseries/timeseries/models/__init__.py | takotab/timeseriesAI2 | 04740e576392adcf03766a158fb644b49458cecb | [
"Apache-2.0"
] | null | null | null | from .layers import *
from .ResNet import *
from .InceptionTime import * | 24 | 28 | 0.763889 | 9 | 72 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 28 | 24 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88a87f23e8bf350873820e3c8955dd79655f4cf6 | 44 | py | Python | code_icc/utils/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/utils/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/utils/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | from . import cluster, segmentation, semisup | 44 | 44 | 0.818182 | 5 | 44 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88b034f0dcdc50334e685f61a03bea54e7210f43 | 6,968 | py | Python | screenpy/actions/select.py | pjbarbatsis/screenpy | 523e536efc4185ba69d3a0df41d5ab883dd18a60 | [
"MIT"
] | null | null | null | screenpy/actions/select.py | pjbarbatsis/screenpy | 523e536efc4185ba69d3a0df41d5ab883dd18a60 | [
"MIT"
] | null | null | null | screenpy/actions/select.py | pjbarbatsis/screenpy | 523e536efc4185ba69d3a0df41d5ab883dd18a60 | [
"MIT"
] | null | null | null | from typing import Union
from selenium.webdriver.support.ui import Select as SelSelect
from ..actor import Actor
from ..pacing import beat, MINOR
from ..target import Target
class Select:
"""
Selects an option from a dropdown menu. This is a superclass that will
create the correct specific Select action... | 30.968889 | 88 | 0.623565 | 852 | 6,968 | 4.994131 | 0.139671 | 0.059224 | 0.052879 | 0.028202 | 0.757932 | 0.73772 | 0.724794 | 0.724794 | 0.724794 | 0.690012 | 0 | 0.001418 | 0.291762 | 6,968 | 224 | 89 | 31.107143 | 0.86079 | 0.519661 | 0 | 0.40678 | 0 | 0 | 0.110248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.254237 | false | 0 | 0.084746 | 0 | 0.559322 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88b3a979c462adc0b16ff8e206dd1af0f2239eb5 | 32 | py | Python | medial_axis/__init__.py | dipaco/cpma | 76e24a231cbfa91fa145ed10ed24c4ca0110e2fc | [
"MIT"
] | 2 | 2022-02-23T22:48:18.000Z | 2022-02-24T11:37:07.000Z | medial_axis/__init__.py | dipaco/cpma | 76e24a231cbfa91fa145ed10ed24c4ca0110e2fc | [
"MIT"
] | null | null | null | medial_axis/__init__.py | dipaco/cpma | 76e24a231cbfa91fa145ed10ed24c4ca0110e2fc | [
"MIT"
] | null | null | null | from .cpma import cpma, cpma_3d
| 16 | 31 | 0.78125 | 6 | 32 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.15625 | 32 | 1 | 32 | 32 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee36d364841eed8d9573c0dc610ef982b324709f | 67 | py | Python | snakewm/apps/system/exit snakewm/__init__.py | Admicos/snakeware | ee5992120a683d74b09e694265abc27425fee8a4 | [
"MIT"
] | null | null | null | snakewm/apps/system/exit snakewm/__init__.py | Admicos/snakeware | ee5992120a683d74b09e694265abc27425fee8a4 | [
"MIT"
] | null | null | null | snakewm/apps/system/exit snakewm/__init__.py | Admicos/snakeware | ee5992120a683d74b09e694265abc27425fee8a4 | [
"MIT"
] | null | null | null | import pygame
def load(manager, params):
return pygame.quit()
| 13.4 | 26 | 0.716418 | 9 | 67 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 4 | 27 | 16.75 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ee51dba66bc87a3cf8ddd5830c99d95fa4f07c5b | 50,450 | py | Python | pmutt/tests/reaction/test_pmutt_reaction.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 28 | 2018-10-29T17:44:30.000Z | 2022-03-23T14:20:16.000Z | pmutt/tests/reaction/test_pmutt_reaction.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 101 | 2018-10-18T19:49:30.000Z | 2022-01-19T10:59:57.000Z | pmutt/tests/reaction/test_pmutt_reaction.py | wittregr/pMuTT | 1678fd3d3a10d8ef5389c02970a7ebaa92fc7344 | [
"MIT"
] | 16 | 2018-12-15T17:01:21.000Z | 2022-01-03T17:42:23.000Z | # -*- coding: utf-8 -*-
"""
pmutt.test_pmutt_model_reaction
Tests for pmutt module
"""
import unittest
import numpy as np
from ase.build import molecule
from pmutt import constants as c
from pmutt import reaction as rxn
from pmutt.empirical.nasa import Nasa
from pmutt.statmech import StatMech, presets
class TestReact... | 45.368705 | 79 | 0.493102 | 7,127 | 50,450 | 3.213133 | 0.036481 | 0.052009 | 0.069345 | 0.085808 | 0.869258 | 0.845459 | 0.811397 | 0.781572 | 0.721004 | 0.608996 | 0 | 0.059797 | 0.361903 | 50,450 | 1,111 | 80 | 45.409541 | 0.651559 | 0.004281 | 0 | 0.422812 | 0 | 0 | 0.036383 | 0.00265 | 0 | 0 | 0 | 0 | 0.159292 | 1 | 0.043265 | false | 0 | 0.006883 | 0 | 0.052114 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9c4340717c089c14afaf955660c897b8a591ed7 | 888 | py | Python | leetcode/0525 Duplicate Zeros.py | jaredliw/python-question-bank | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2021-04-08T07:49:15.000Z | 2021-04-08T07:49:15.000Z | leetcode/0525 Duplicate Zeros.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | null | null | null | leetcode/0525 Duplicate Zeros.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2022-01-23T02:12:24.000Z | 2022-01-23T02:12:24.000Z | class Solution(object):
def duplicateZeros(self, arr):
"""
:type arr: List[int]
:rtype: None Do not return anything, modify arr in-place instead.
"""
# Runtime: 1116 ms
# Memory: 13.8 MB
idx = 0
while idx < len(arr):
if arr[idx] == 0:
... | 26.909091 | 73 | 0.438063 | 107 | 888 | 3.635514 | 0.373832 | 0.061697 | 0.051414 | 0.113111 | 0.74036 | 0.74036 | 0.74036 | 0.74036 | 0.74036 | 0.74036 | 0 | 0.050607 | 0.443694 | 888 | 32 | 74 | 27.75 | 0.736842 | 0.268018 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9ebe1a4995c10230f4b07090310d96859c733ea | 34 | py | Python | BOJ/05000~05999/5800~5899/5893.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | 2 | 2020-01-29T06:54:41.000Z | 2021-11-07T13:23:27.000Z | BOJ/05000~05999/5800~5899/5893.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | BOJ/05000~05999/5800~5899/5893.py | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | print(bin(int(input(),2)*17)[2:])
| 17 | 33 | 0.588235 | 7 | 34 | 2.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.029412 | 34 | 1 | 34 | 34 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c9ed639e46e39e69c8c56c39a9d2538e17b38213 | 137 | py | Python | tests/fixtures/submodels.py | pashashocky/xsdata | 1cd681598d2235626d0e21716fc9fb885d26e351 | [
"MIT"
] | null | null | null | tests/fixtures/submodels.py | pashashocky/xsdata | 1cd681598d2235626d0e21716fc9fb885d26e351 | [
"MIT"
] | null | null | null | tests/fixtures/submodels.py | pashashocky/xsdata | 1cd681598d2235626d0e21716fc9fb885d26e351 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from tests.fixtures.models import ChoiceType
@dataclass
class ChoiceTypeChild(ChoiceType):
pass
| 15.222222 | 44 | 0.817518 | 15 | 137 | 7.466667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138686 | 137 | 8 | 45 | 17.125 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c9fd05b42d2b6ad20ef495b96ef65927a85ba566 | 49 | py | Python | popgen/utils/__init__.py | linzwatt/PopGen | f4162ef0284960f6a1d599904171383efd9ee232 | [
"MIT"
] | 58 | 2020-05-18T02:44:59.000Z | 2022-02-11T02:44:55.000Z | popgen/utils/__init__.py | linzwatt/PopGen | f4162ef0284960f6a1d599904171383efd9ee232 | [
"MIT"
] | null | null | null | popgen/utils/__init__.py | linzwatt/PopGen | f4162ef0284960f6a1d599904171383efd9ee232 | [
"MIT"
] | 2 | 2020-05-19T03:11:33.000Z | 2021-10-07T08:44:47.000Z | from .sigmoid_annealing import sigmoid_annealing
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 0.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a01433f8f21f3eb4499439d7b6f08ce5c77bb94b | 136 | py | Python | util.py | sharpvik/fin | 9afec321dc5f404f296fd7ba55914f298396b68f | [
"MIT"
] | null | null | null | util.py | sharpvik/fin | 9afec321dc5f404f296fd7ba55914f298396b68f | [
"MIT"
] | null | null | null | util.py | sharpvik/fin | 9afec321dc5f404f296fd7ba55914f298396b68f | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
def sma(price: np.ndarray, period: int) -> np.ndarray:
return price.rolling(period).mean()
| 19.428571 | 54 | 0.713235 | 22 | 136 | 4.409091 | 0.681818 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169118 | 136 | 6 | 55 | 22.666667 | 0.858407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a01a07ee474a76e542f569c64b64ab6845b8a8a6 | 26,100 | py | Python | tests/test_neoschema_data_import.py | BrainAnnex/brain-annex | 07701ba0309c448e9030a19a10dca4d73c155afe | [
"MIT"
] | null | null | null | tests/test_neoschema_data_import.py | BrainAnnex/brain-annex | 07701ba0309c448e9030a19a10dca4d73c155afe | [
"MIT"
] | 3 | 2021-12-19T03:58:42.000Z | 2022-02-11T07:40:46.000Z | tests/test_neoschema_data_import.py | BrainAnnex/brain-annex | 07701ba0309c448e9030a19a10dca4d73c155afe | [
"MIT"
] | null | null | null | # Testing of Schema-based Data Import
# *** CAUTION! *** The database gets cleared out during some of the tests!
# NOTES: - some tests require APOC
# - some tests may fail their date check if done close to midnight, server time
import pytest
from BrainAnnex.modules.neo_access import neo_access
from BrainAnnex... | 44.463373 | 120 | 0.605479 | 3,534 | 26,100 | 4.254103 | 0.081494 | 0.035919 | 0.031994 | 0.0443 | 0.824465 | 0.812492 | 0.800652 | 0.788945 | 0.765931 | 0.763004 | 0 | 0.011599 | 0.266667 | 26,100 | 586 | 121 | 44.539249 | 0.773877 | 0.177701 | 0 | 0.65736 | 0 | 0.022843 | 0.333053 | 0.051235 | 0 | 0 | 0 | 0 | 0.200508 | 1 | 0.025381 | false | 0 | 0.14467 | 0 | 0.170051 | 0.010152 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e51921e5b118fffffcbc443b9ecf21dc41de5d2 | 225 | py | Python | ontquery/__init__.py | tmsincomb/ontquery | aff90a66437559ddc7a0dd8ed8d42c13d535361f | [
"MIT"
] | 1 | 2021-11-28T23:51:22.000Z | 2021-11-28T23:51:22.000Z | ontquery/__init__.py | tmsincomb/ontquery | aff90a66437559ddc7a0dd8ed8d42c13d535361f | [
"MIT"
] | 25 | 2018-03-22T00:39:06.000Z | 2021-08-05T20:35:32.000Z | ontquery/__init__.py | tmsincomb/ontquery | aff90a66437559ddc7a0dd8ed8d42c13d535361f | [
"MIT"
] | 1 | 2018-11-08T23:16:55.000Z | 2018-11-08T23:16:55.000Z | from ontquery.query import OntQuery, OntQueryCli
from ontquery.terms import OntCuries, OntId, OntTerm
from ontquery import plugin
__all__ = ['OntCuries', 'OntId', 'OntTerm', 'OntQuery', 'OntQueryCli']
__version__ = '0.2.8'
| 28.125 | 70 | 0.76 | 27 | 225 | 6.037037 | 0.555556 | 0.220859 | 0.257669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.12 | 225 | 7 | 71 | 32.142857 | 0.808081 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e68b61fd0f5bf90a0d85e3610556a48c748c1dd | 29 | py | Python | code/dpp/centers/splines/__init__.py | bsouhaib/qf-tpp | a5adf3f7203b920528c1c397329c4afd9039c3b4 | [
"MIT"
] | null | null | null | code/dpp/centers/splines/__init__.py | bsouhaib/qf-tpp | a5adf3f7203b920528c1c397329c4afd9039c3b4 | [
"MIT"
] | null | null | null | code/dpp/centers/splines/__init__.py | bsouhaib/qf-tpp | a5adf3f7203b920528c1c397329c4afd9039c3b4 | [
"MIT"
] | null | null | null | from .splines_utils 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 | 1 | 0 | 0 | 6 |
4e8b22e8f1306c05ef156e89e39585a504ea8c29 | 31 | py | Python | farm_management/users/views/__init__.py | alexanders0/farm-management | 53ed821bbbed312848cf331f8f961ef16c59fb99 | [
"MIT"
] | 1 | 2021-07-11T23:26:10.000Z | 2021-07-11T23:26:10.000Z | farm_management/users/views/__init__.py | alexanders0/farm-management | 53ed821bbbed312848cf331f8f961ef16c59fb99 | [
"MIT"
] | 1 | 2021-07-13T02:09:37.000Z | 2021-07-17T09:30:15.000Z | farm_management/users/views/__init__.py | alexanders0/farm-management | 53ed821bbbed312848cf331f8f961ef16c59fb99 | [
"MIT"
] | null | null | null | from .users import UserViewSet
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4ead5749dcb225ee8bbc27e19af1a7455dcd288e | 360 | py | Python | utils.py | jroivas/klapi | 786f614d1bf0c40b6186501ef7fd8e1855d2a811 | [
"MIT"
] | 3 | 2018-02-21T17:54:14.000Z | 2019-08-31T21:34:14.000Z | utils.py | jroivas/klapi | 786f614d1bf0c40b6186501ef7fd8e1855d2a811 | [
"MIT"
] | null | null | null | utils.py | jroivas/klapi | 786f614d1bf0c40b6186501ef7fd8e1855d2a811 | [
"MIT"
] | 4 | 2018-02-21T21:50:23.000Z | 2021-11-25T06:56:33.000Z | import random
import string
import uuid
def generatePassword(characters=8):
# Disabling 0 and O to prevent misreadings
return ''.join(random.SystemRandom().choice(string.letters.replace('O','') + string.digits.replace('0','')) for _ in range(characters))
def generateID():
return str(uuid.uuid4())
def gen... | 24 | 139 | 0.716667 | 44 | 360 | 5.840909 | 0.659091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.144444 | 360 | 14 | 140 | 25.714286 | 0.821429 | 0.111111 | 0 | 0 | 1 | 0 | 0.006309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
4ed09b86ee8fee898c014e6a5e644dac64447c46 | 96 | py | Python | venv/lib/python3.8/site-packages/cffi/cparser.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cffi/cparser.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cffi/cparser.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ac/ef/f5/a442d1c35808d431359b8822da293924c7e9c68b800022d7a513e55440 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14f8f3b64dae2bee5ae5872ffbfcb6c6724b53f4 | 22 | py | Python | signalr/hubs/__init__.py | talboren/signalr-client-py | bc41ab6602348258140372a5d78dc0e4f8f6205d | [
"Apache-2.0"
] | 58 | 2015-08-28T18:45:54.000Z | 2022-01-21T17:53:43.000Z | signalr/hubs/__init__.py | talboren/signalr-client-py | bc41ab6602348258140372a5d78dc0e4f8f6205d | [
"Apache-2.0"
] | 48 | 2015-08-29T18:19:59.000Z | 2021-07-13T07:32:40.000Z | signalr/hubs/__init__.py | talboren/signalr-client-py | bc41ab6602348258140372a5d78dc0e4f8f6205d | [
"Apache-2.0"
] | 67 | 2015-08-28T22:44:47.000Z | 2022-03-03T12:37:14.000Z | from ._hub import Hub
| 11 | 21 | 0.772727 | 4 | 22 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09181bda01b879cac99a828ce93251a3f19decd3 | 2,001 | py | Python | test/test_user_reset_password_requests_api.py | Apteco/apteco-api | 7440c98ab10ea6d8a5997187f6fc739ce1c75d2b | [
"Apache-2.0"
] | 2 | 2020-05-21T14:24:16.000Z | 2020-12-03T19:56:34.000Z | test/test_user_reset_password_requests_api.py | Apteco/apteco-api | 7440c98ab10ea6d8a5997187f6fc739ce1c75d2b | [
"Apache-2.0"
] | null | null | null | test/test_user_reset_password_requests_api.py | Apteco/apteco-api | 7440c98ab10ea6d8a5997187f6fc739ce1c75d2b | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Apteco API
An API to allow access to Apteco Marketing Suite resources # noqa: E501
The version of the OpenAPI document: v2
Contact: support@apteco.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import apteco_api... | 31.761905 | 159 | 0.749625 | 249 | 2,001 | 5.682731 | 0.349398 | 0.20212 | 0.207774 | 0.176678 | 0.466431 | 0.429682 | 0.429682 | 0.421908 | 0.284806 | 0.25371 | 0 | 0.014312 | 0.196902 | 2,001 | 62 | 160 | 32.274194 | 0.86621 | 0.493253 | 0 | 0.25 | 0 | 0 | 0.008979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.6 | 0.25 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
119da60e693c246bbdc5e969411cea8dcd3424df | 219 | py | Python | manim_rubikscube/__init__.py | WampyCakes/manim-rubikscube | 890cc853e3492e6afa338cfadb72e4df1e4aa632 | [
"MIT"
] | 20 | 2020-12-15T01:38:46.000Z | 2022-02-25T02:56:50.000Z | manim_rubikscube/__init__.py | WampyCakes/manim-rubikscube | 890cc853e3492e6afa338cfadb72e4df1e4aa632 | [
"MIT"
] | 6 | 2021-08-07T00:22:04.000Z | 2021-11-08T10:49:02.000Z | manim_rubikscube/__init__.py | WampyCakes/manim-rubikscube | 890cc853e3492e6afa338cfadb72e4df1e4aa632 | [
"MIT"
] | 4 | 2021-05-03T16:11:31.000Z | 2021-10-05T12:55:37.000Z | from .cube import *
from .cube_animations import *
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata
__version__ = importlib_metadata.version(__name__)
| 21.9 | 51 | 0.812785 | 24 | 219 | 6.916667 | 0.5 | 0.409639 | 0.277108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 219 | 9 | 52 | 24.333333 | 0.878307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e120e8b38359a048db23721f886eb24137bb5457 | 16,775 | py | Python | tests/test_key.py | dajiaji/pyseto | 6e3f1259bd1a1671cccd75cb557bb63182f9e01a | [
"MIT"
] | 25 | 2021-09-06T08:53:45.000Z | 2022-02-19T20:17:23.000Z | tests/test_key.py | dajiaji/pyseto | 6e3f1259bd1a1671cccd75cb557bb63182f9e01a | [
"MIT"
] | 124 | 2021-09-05T05:44:05.000Z | 2022-03-27T05:57:25.000Z | tests/test_key.py | dajiaji/pyseto | 6e3f1259bd1a1671cccd75cb557bb63182f9e01a | [
"MIT"
] | 3 | 2021-09-11T02:37:09.000Z | 2022-01-06T10:49:14.000Z | from secrets import token_bytes
import pytest
from pyseto import DecryptError, Key, NotSupportedError
from pyseto.key_interface import KeyInterface
from pyseto.utils import base64url_decode
from .utils import load_jwk, load_key
class TestKey:
"""
Tests for Key.
"""
@pytest.mark.parametrize(
... | 38.652074 | 110 | 0.536095 | 2,018 | 16,775 | 4.265114 | 0.064916 | 0.047171 | 0.06518 | 0.056466 | 0.882305 | 0.856745 | 0.769374 | 0.753456 | 0.73568 | 0.710352 | 0 | 0.037802 | 0.321908 | 16,775 | 433 | 111 | 38.741339 | 0.718857 | 0.00608 | 0 | 0.568579 | 0 | 0 | 0.306676 | 0.136768 | 0 | 0 | 0 | 0 | 0.067332 | 1 | 0.042394 | false | 0.032419 | 0.014963 | 0 | 0.05985 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
012e1de5dd6d5c0f6de8094bdd072d509d7efa1d | 257,269 | py | Python | instances/passenger_demand/pas-20210422-1717-int8e-1/29.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/29.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/29.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 15114
passenger_arriving = (
(7, 3, 2, 4, 5, 2, 1, 3, 1, 0, 0, 0, 0, 7, 5, 1, 2, 3, 1, 2, 0, 3, 2, 3, 1, 0), # 0
(3, 3, 3, 6, 3, 2, 1, 5, 3, 2, 0, 0, 0, 4, 4, 3, 2, 7, 3, 4, 0, 0, 2, 1, 1, 0), # 1
(7, 4, 1, 1, 4, 1, 0, 4, 1, 1, 0, 0, 0, 4, 4, 4, 3, 4, 1, 1, 2, 2, 5, 0, 0, 0), ... | 275.154011 | 493 | 0.768631 | 32,987 | 257,269 | 5.994301 | 0.21175 | 0.360484 | 0.345919 | 0.655426 | 0.38044 | 0.372364 | 0.368101 | 0.366422 | 0.365936 | 0.365936 | 0 | 0.849141 | 0.096141 | 257,269 | 934 | 494 | 275.448608 | 0.0012 | 0.015591 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
015025fdf2e87c9c574357746f35501754b41457 | 128 | py | Python | humanlikehearing/library/__init__.py | neural-reckoning/HumanlikeHearing | c73bb8418cb2214fdc74ed88fabba76fae20fbab | [
"BSD-3-Clause"
] | 6 | 2021-05-21T14:47:47.000Z | 2021-11-03T09:07:26.000Z | humanlikehearing/library/__init__.py | neural-reckoning/HumanlikeHearing | c73bb8418cb2214fdc74ed88fabba76fae20fbab | [
"BSD-3-Clause"
] | null | null | null | humanlikehearing/library/__init__.py | neural-reckoning/HumanlikeHearing | c73bb8418cb2214fdc74ed88fabba76fae20fbab | [
"BSD-3-Clause"
] | 1 | 2021-05-20T08:34:25.000Z | 2021-05-20T08:34:25.000Z | from . import a_weighting
from . import audio_format
from . import speech_voltmeter_svp56
from . import voice_activity_detection | 32 | 38 | 0.851563 | 18 | 128 | 5.722222 | 0.666667 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.117188 | 128 | 4 | 38 | 32 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0157c0b566db787c1e7a34afa73ebd6dd84b1ea5 | 234 | py | Python | module10-packages/deepcloudlabs/hr.py | deepcloudlabs/dcl160-2021-jul-05 | 0162afb24a5b89633531dbb1c195898d5066077a | [
"MIT"
] | null | null | null | module10-packages/deepcloudlabs/hr.py | deepcloudlabs/dcl160-2021-jul-05 | 0162afb24a5b89633531dbb1c195898d5066077a | [
"MIT"
] | null | null | null | module10-packages/deepcloudlabs/hr.py | deepcloudlabs/dcl160-2021-jul-05 | 0162afb24a5b89633531dbb1c195898d5066077a | [
"MIT"
] | null | null | null | class Employee:
def __init__(self, fullname, email, salary):
self.fullname = fullname
self.email = email
self.salary = salary
def __str__(self):
return f"employee (full name: {self.fullname})"
| 26 | 55 | 0.623932 | 27 | 234 | 5.111111 | 0.481481 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273504 | 234 | 8 | 56 | 29.25 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.15812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6d6c5997630f689944c394d8a9c06c73275708a7 | 57 | py | Python | pynq_chainer/overlays/__init__.py | tkat0/pynq-chainer | 30ffed5d08cd37207841623fcdaae4328d6e26eb | [
"MIT"
] | 6 | 2017-08-20T10:23:57.000Z | 2020-02-06T18:35:06.000Z | pynq_chainer/overlays/__init__.py | tkat0/pynq-chainer | 30ffed5d08cd37207841623fcdaae4328d6e26eb | [
"MIT"
] | null | null | null | pynq_chainer/overlays/__init__.py | tkat0/pynq-chainer | 30ffed5d08cd37207841623fcdaae4328d6e26eb | [
"MIT"
] | null | null | null | from .mmult import Mmult
from .bin_mmult import BinMmult
| 19 | 31 | 0.824561 | 9 | 57 | 5.111111 | 0.555556 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 32 | 28.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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6d95a31307d990df2f369a1de094bbb25dab1383 | 21 | py | Python | register/util/signals/__init__.py | kws/building-register | f9bdd4580481e5453320e721a988b74f0f4e6354 | [
"MIT"
] | null | null | null | register/util/signals/__init__.py | kws/building-register | f9bdd4580481e5453320e721a988b74f0f4e6354 | [
"MIT"
] | 2 | 2021-11-09T10:27:49.000Z | 2021-11-17T10:53:01.000Z | register/util/signals/__init__.py | kws/building-register | f9bdd4580481e5453320e721a988b74f0f4e6354 | [
"MIT"
] | 1 | 2021-11-09T10:28:22.000Z | 2021-11-09T10:28:22.000Z | from .slack import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6db4ec4822c4a826863782f209c4e2bac4be99e3 | 1,670 | py | Python | django_migration_utils/rename_table.py | mcldev/django-migration-utils | deccb0a6e1dfc3b4c5e786cfe5c45445894f8daa | [
"MIT"
] | null | null | null | django_migration_utils/rename_table.py | mcldev/django-migration-utils | deccb0a6e1dfc3b4c5e786cfe5c45445894f8daa | [
"MIT"
] | null | null | null | django_migration_utils/rename_table.py | mcldev/django-migration-utils | deccb0a6e1dfc3b4c5e786cfe5c45445894f8daa | [
"MIT"
] | null | null | null |
def fwd_rename_app(apps, schema_editor, apps_to_rename):
for old_appname, new_appname in apps_to_rename:
# Renaming model from 'Foo' to 'Bar'
schema_editor.execute("UPDATE django_migrations SET app_name = %s WHERE app_name = %s", [new_appname, old_appname])
schema_editor.execute("UPDATE... | 38.837209 | 127 | 0.692814 | 241 | 1,670 | 4.385892 | 0.186722 | 0.094607 | 0.073794 | 0.075686 | 0.919584 | 0.859035 | 0.811731 | 0.811731 | 0.811731 | 0.811731 | 0 | 0 | 0.226946 | 1,670 | 42 | 128 | 39.761905 | 0.818745 | 0.044311 | 0 | 0.583333 | 0 | 0 | 0.161108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09851e19dc80a219351bd82c39fe59cda99f0943 | 505 | py | Python | common/test_input_validation.py | lbozarth/exercise-toes | 25aed0949ae57a04fb738c2bf6c2a7ade0eece2b | [
"MIT"
] | 4 | 2019-09-18T03:32:25.000Z | 2020-04-27T14:08:16.000Z | common/test_input_validation.py | lbozarth/exercise-toes | 25aed0949ae57a04fb738c2bf6c2a7ade0eece2b | [
"MIT"
] | 3 | 2019-07-02T02:37:44.000Z | 2019-08-24T05:12:08.000Z | common/test_input_validation.py | lbozarth/exercise-toes | 25aed0949ae57a04fb738c2bf6c2a7ade0eece2b | [
"MIT"
] | 13 | 2019-07-02T00:37:47.000Z | 2020-09-28T20:30:28.000Z | from common.input_validation import (
extract_phone_number,
)
def test_extract_phone_number():
assert extract_phone_number('510501622') == None
assert extract_phone_number('5105016227') == '15105016227'
assert extract_phone_number('15105016227') == '15105016227'
assert extract_phone_number('+15105... | 38.846154 | 80 | 0.744554 | 59 | 505 | 6.067797 | 0.338983 | 0.268156 | 0.402235 | 0.402235 | 0.594972 | 0.594972 | 0.594972 | 0.594972 | 0.594972 | 0.594972 | 0 | 0.267281 | 0.140594 | 505 | 12 | 81 | 42.083333 | 0.557604 | 0 | 0 | 0 | 0 | 0 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.1 | true | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09903cb3b4510862bc3ddebafa79c5bd9b3ab96e | 26 | py | Python | PartSongSet/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | 1 | 2021-06-06T15:36:27.000Z | 2021-06-06T15:36:27.000Z | PartSongSet/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | 1 | 2021-06-06T15:37:42.000Z | 2021-06-06T15:37:42.000Z | PartSongSet/__init__.py | jcksnvllxr80/MidiController | de6d3c983cd27408e88a744a0a4d3c887efa3d54 | [
"MIT"
] | null | null | null | from PartSongSet import *
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09a5bcdf9e4eed883b56ec4fc1779c06f61b9301 | 3,210 | py | Python | tests/unit/test_process.py | tholom/pake | 6777d63255eb3e4e834b77c9a1504b72dd2ed296 | [
"BSD-3-Clause"
] | 3 | 2019-08-28T21:54:30.000Z | 2021-10-13T22:00:59.000Z | tests/unit/test_process.py | tholom/pake | 6777d63255eb3e4e834b77c9a1504b72dd2ed296 | [
"BSD-3-Clause"
] | 1 | 2021-01-05T01:37:57.000Z | 2021-01-05T14:10:17.000Z | tests/unit/test_process.py | tholom/pake | 6777d63255eb3e4e834b77c9a1504b72dd2ed296 | [
"BSD-3-Clause"
] | 1 | 2021-01-16T18:44:36.000Z | 2021-01-16T18:44:36.000Z | import sys
import unittest
import os
script_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(1, os.path.abspath(
os.path.join(script_dir, os.path.join('..', '..'))))
from pake import process
import pake.program
import pake
class ProcessTest(unittest.TestCase):
def test_call(self):
... | 33.4375 | 97 | 0.658255 | 383 | 3,210 | 5.43342 | 0.180157 | 0.100913 | 0.043248 | 0.061509 | 0.879385 | 0.870255 | 0.867371 | 0.84815 | 0.807785 | 0.804421 | 0 | 0.005255 | 0.229283 | 3,210 | 95 | 98 | 33.789474 | 0.835893 | 0.076947 | 0 | 0.642857 | 0 | 0 | 0.023342 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.089286 | false | 0 | 0.107143 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09fe26b416f8f39b1bc3594cc62188984305284f | 8,296 | py | Python | test/test_npu/test_network_ops/test_not_equal.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-12-02T03:07:35.000Z | 2021-12-02T03:07:35.000Z | test/test_npu/test_network_ops/test_not_equal.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-11-12T07:23:03.000Z | 2021-11-12T08:28:13.000Z | test/test_npu/test_network_ops/test_not_equal.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020, Huawei Technologies.All rights reserved.
#
# Licensed under the BSD 3-Clause License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law... | 43.434555 | 112 | 0.659595 | 1,229 | 8,296 | 4.135069 | 0.115541 | 0.132035 | 0.037387 | 0.05608 | 0.813066 | 0.800472 | 0.788863 | 0.780598 | 0.764266 | 0.739079 | 0 | 0.062413 | 0.219744 | 8,296 | 190 | 113 | 43.663158 | 0.722694 | 0.077748 | 0 | 0.478571 | 0 | 0 | 0.003405 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 1 | 0.185714 | false | 0 | 0.042857 | 0 | 0.271429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61d42e66ae0c1adfd19e78af91bc948fbb48ddbb | 124 | py | Python | tests/missing_data/test_missing_data_air_passengers_None_None.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/missing_data/test_missing_data_air_passengers_None_None.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/missing_data/test_missing_data_air_passengers_None_None.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.missing_data.test_missing_data_air_passengers_generic as gen
gen.test_air_passengers_missing_data(None, None)
| 31 | 73 | 0.895161 | 20 | 124 | 5.05 | 0.55 | 0.326733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 124 | 3 | 74 | 41.333333 | 0.863248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
febb379b1fadcfc13939427c562a9743628bb217 | 290 | py | Python | packages/watchmen-auth/src/watchmen_auth/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-auth/src/watchmen_auth/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-auth/src/watchmen_auth/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .auth_helper import authorize, authorize_token
from .authentication import AuthenticationDetails, AuthenticationManager, AuthenticationProvider, AuthenticationScheme
from .authorization import AuthFailOn401, AuthFailOn403, Authorization
from .principal_service import PrincipalService
| 58 | 118 | 0.889655 | 25 | 290 | 10.2 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.075862 | 290 | 4 | 119 | 72.5 | 0.929104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a0932e5c800ae98fd8480d1b623bc123ef3f697 | 14,281 | py | Python | Gui/Images/title_icons.py | marioharper182/OptionsPricing | 0212a1e421380e7a903439aaef93d99373e71fc6 | [
"Apache-2.0"
] | null | null | null | Gui/Images/title_icons.py | marioharper182/OptionsPricing | 0212a1e421380e7a903439aaef93d99373e71fc6 | [
"Apache-2.0"
] | null | null | null | Gui/Images/title_icons.py | marioharper182/OptionsPricing | 0212a1e421380e7a903439aaef93d99373e71fc6 | [
"Apache-2.0"
] | null | null | null | #----------------------------------------------------------------------
# This file was generated by img2py.py
#
from wx.lib.embeddedimage import PyEmbeddedImage
AmericanOption = PyEmbeddedImage(
"iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlw"
"SFlzAAAHIQAAByEBauL93wAAABl0RVh0U29mdHd... | 72.492386 | 78 | 0.861494 | 442 | 14,281 | 27.834842 | 0.932127 | 0.128749 | 0.15801 | 0.163862 | 0.085833 | 0.085833 | 0.07998 | 0 | 0 | 0 | 0 | 0.108767 | 0.063931 | 14,281 | 196 | 79 | 72.862245 | 0.811565 | 0.032001 | 0 | 0.104972 | 1 | 0 | 0.892653 | 0.892074 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005525 | 0 | 0.005525 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a14903ea7bd0b540425e0813e50ee827bf95f35 | 4,431 | py | Python | tests/core/validation/test_transaction_validation.py | dbfreem/py-evm | 02a1f6f38884b1f7a89640c2095ea5b0f20687c3 | [
"MIT"
] | 1,641 | 2017-11-24T04:24:22.000Z | 2022-03-31T14:59:30.000Z | tests/core/validation/test_transaction_validation.py | UniqueMR/py-evm | 026ee20f8d9b70d7c1b6a4fb9484d5489d425e54 | [
"MIT"
] | 1,347 | 2017-11-23T10:37:36.000Z | 2022-03-20T16:31:44.000Z | tests/core/validation/test_transaction_validation.py | UniqueMR/py-evm | 026ee20f8d9b70d7c1b6a4fb9484d5489d425e54 | [
"MIT"
] | 567 | 2017-11-22T18:03:27.000Z | 2022-03-28T17:49:08.000Z | import pytest
from eth.vm.forks.london.transactions import UnsignedDynamicFeeTransaction
from eth.vm.forks.berlin.transactions import UnsignedAccessListTransaction
from eth_utils import ValidationError
@pytest.mark.parametrize(
"unsigned_access_list_transaction,is_valid",
(
# While ethereum tests do... | 31.204225 | 95 | 0.538479 | 457 | 4,431 | 4.991247 | 0.159737 | 0.074529 | 0.036826 | 0.035072 | 0.833406 | 0.783428 | 0.743972 | 0.713284 | 0.658922 | 0.632617 | 0 | 0.098592 | 0.359061 | 4,431 | 141 | 96 | 31.425532 | 0.704577 | 0.098172 | 0 | 0.877863 | 0 | 0 | 0.037121 | 0.020567 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015267 | false | 0 | 0.030534 | 0 | 0.045802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
3a37fecb08f7c959192857aa8caa64a101fca251 | 88 | py | Python | src/apps/trainings/managers/network_pandas_queryset.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 27 | 2020-05-03T11:01:27.000Z | 2022-03-17T05:33:10.000Z | src/apps/trainings/managers/network_pandas_queryset.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 54 | 2020-05-09T01:18:41.000Z | 2022-01-22T10:31:15.000Z | src/apps/trainings/managers/network_pandas_queryset.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | 9 | 2020-09-29T11:31:32.000Z | 2022-03-09T01:37:50.000Z | from django.db.models import QuerySet
class NetworkPandasQuerySet(QuerySet):
pass
| 14.666667 | 38 | 0.795455 | 10 | 88 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 88 | 5 | 39 | 17.6 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
28b93ab00455aaf88ae61353248e105753ebd46c | 39 | py | Python | pyhumio/__init__.py | dsb-automation/pyhumio | 25ba7955659c4d12219f0d107858609c572fcfc9 | [
"MIT"
] | null | null | null | pyhumio/__init__.py | dsb-automation/pyhumio | 25ba7955659c4d12219f0d107858609c572fcfc9 | [
"MIT"
] | 4 | 2020-01-03T13:57:22.000Z | 2020-01-09T06:56:12.000Z | pyhumio/__init__.py | dsb-automation/pyhumio | 25ba7955659c4d12219f0d107858609c572fcfc9 | [
"MIT"
] | null | null | null | from .humio_handler import HumioHandler | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 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 | 1 | 0 | 0 | 6 |
28d071e92ce6f962f5bd2401eae1b192a2314d6c | 53 | py | Python | sdk/exception/validation_failed_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | 1 | 2021-04-03T05:11:29.000Z | 2021-04-03T05:11:29.000Z | sdk/exception/validation_failed_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null | sdk/exception/validation_failed_exception.py | CLG0125/elemesdk | 344466398bad7cf026e082e47c77d3ca98621ef3 | [
"MIT"
] | null | null | null |
class ValidationFailedException(Exception):pass
| 17.666667 | 47 | 0.811321 | 4 | 53 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 3 | 48 | 17.666667 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e921e1cf8ba174583d008a8bc6e545b14fa1daff | 21 | py | Python | calabro/widgets/__init__.py | CarlosGabaldon/calabro | 11aec7fc30517ccc8a0b9f7468a803508ec56cf7 | [
"MIT"
] | 2 | 2015-12-03T16:38:26.000Z | 2016-05-08T08:34:36.000Z | calabro/widgets/__init__.py | CarlosGabaldon/calabro | 11aec7fc30517ccc8a0b9f7468a803508ec56cf7 | [
"MIT"
] | null | null | null | calabro/widgets/__init__.py | CarlosGabaldon/calabro | 11aec7fc30517ccc8a0b9f7468a803508ec56cf7 | [
"MIT"
] | 2 | 2020-10-27T05:26:11.000Z | 2021-03-24T18:10:20.000Z | from widgets import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 | 1 | 0 | 0 | 6 |
3a7570710b5a36e6b5ff9f11a6ff0fe0b03b1d9b | 146 | py | Python | racing_rl/training/utils.py | luigiberducci/racing-rl | 37b265d16eda4313a0b30550222ed731131829ab | [
"MIT"
] | 5 | 2021-12-08T17:25:38.000Z | 2022-02-08T09:36:14.000Z | racing_rl/training/utils.py | luigiberducci/racing-rl | 37b265d16eda4313a0b30550222ed731131829ab | [
"MIT"
] | null | null | null | racing_rl/training/utils.py | luigiberducci/racing-rl | 37b265d16eda4313a0b30550222ed731131829ab | [
"MIT"
] | null | null | null | import numpy as np
import random
import torch
def seeding(seed: int):
np.random.seed(seed)
random.seed(seed)
torch.manual_seed(seed) | 16.222222 | 27 | 0.719178 | 23 | 146 | 4.521739 | 0.478261 | 0.230769 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184932 | 146 | 9 | 27 | 16.222222 | 0.87395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3aa32962d64e1eacf24c70a96b03b8b8ae9ab2a7 | 83 | py | Python | applitools/target.py | applitools/eyes.selenium.python | 3a09a3372a3a8915b3c97ee54fc223580c45c0a3 | [
"Apache-2.0"
] | 11 | 2016-04-20T21:21:37.000Z | 2020-04-27T19:46:56.000Z | applitools/target.py | applitools/eyes.selenium.python | 3a09a3372a3a8915b3c97ee54fc223580c45c0a3 | [
"Apache-2.0"
] | 15 | 2017-01-11T04:58:31.000Z | 2019-09-13T18:00:35.000Z | applitools/target.py | applitools/eyes.selenium.python | 3a09a3372a3a8915b3c97ee54fc223580c45c0a3 | [
"Apache-2.0"
] | 15 | 2016-03-23T22:06:39.000Z | 2020-06-14T09:11:58.000Z | from applitools.selenium.target import * # noqa
from applitools.core import logger
| 27.666667 | 47 | 0.819277 | 11 | 83 | 6.181818 | 0.727273 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 2 | 48 | 41.5 | 0.931507 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3af1d8e881bccb47a8d735f192d06cfc668b7e78 | 103 | py | Python | toolbox/metrics/metrics_base.py | ML-Dashboard/ML-ToolBox | c724a5f2705262737c4d0456fb6087851d3aa656 | [
"MIT"
] | null | null | null | toolbox/metrics/metrics_base.py | ML-Dashboard/ML-ToolBox | c724a5f2705262737c4d0456fb6087851d3aa656 | [
"MIT"
] | null | null | null | toolbox/metrics/metrics_base.py | ML-Dashboard/ML-ToolBox | c724a5f2705262737c4d0456fb6087851d3aa656 | [
"MIT"
] | null | null | null | from abc import ABC
from toolbox.trackable import Trackable
class Metrics(Trackable, ABC):
pass
| 12.875 | 39 | 0.76699 | 14 | 103 | 5.642857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 103 | 7 | 40 | 14.714286 | 0.940476 | 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 | 1 | 0 | 0 | 6 |
c91659e395352cdd02a8e67c10713c2c817ca195 | 120 | py | Python | barcoderegression/__init__.py | jacksonloper/barcoderegression | 6c819c7dfe5996e73bc61590af5a744f913ddd02 | [
"MIT"
] | 1 | 2020-03-19T17:34:43.000Z | 2020-03-19T17:34:43.000Z | barcoderegression/__init__.py | jacksonloper/barcoderegression | 6c819c7dfe5996e73bc61590af5a744f913ddd02 | [
"MIT"
] | null | null | null | barcoderegression/__init__.py | jacksonloper/barcoderegression | 6c819c7dfe5996e73bc61590af5a744f913ddd02 | [
"MIT"
] | null | null | null |
from . import parameters
from . import helpers
from . import updates
from . import simulations
from . import training
| 15 | 25 | 0.775 | 15 | 120 | 6.2 | 0.466667 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 120 | 7 | 26 | 17.142857 | 0.94898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3936acfb6f62187fd8f9bdfd876ce1491d2035a | 3,532 | py | Python | src/preprocessing/minmax.py | kjhall01/xcast | 17edfd8c79c5163b004800170bbcf21302e8c792 | [
"MIT"
] | 11 | 2021-11-01T21:38:17.000Z | 2022-03-30T11:46:32.000Z | src/preprocessing/minmax.py | kjhall01/xcast | 17edfd8c79c5163b004800170bbcf21302e8c792 | [
"MIT"
] | 7 | 2021-10-30T16:55:47.000Z | 2021-12-04T18:51:50.000Z | src/preprocessing/minmax.py | kjhall01/xcast | 17edfd8c79c5163b004800170bbcf21302e8c792 | [
"MIT"
] | 1 | 2021-11-18T10:35:29.000Z | 2021-11-18T10:35:29.000Z | from ..core.utilities import *
class MinMax:
def __init__(self, min=-1, max=1):
self.range_min, self.range_max = min, max
self.range = max - min
self.min, self.max, self.x_range = None, None, None
def fit(self, X, x_lat_dim=None, x_lon_dim=None, x_sample_dim=None, x_feature_dim=None):
x_lat_dim, x_lon_dim, ... | 66.641509 | 169 | 0.75 | 682 | 3,532 | 3.532258 | 0.09824 | 0.102947 | 0.063927 | 0.078871 | 0.830635 | 0.761312 | 0.733084 | 0.733084 | 0.733084 | 0.733084 | 0 | 0.002567 | 0.11778 | 3,532 | 52 | 170 | 67.923077 | 0.770539 | 0.02718 | 0 | 0.386364 | 0 | 0 | 0.082702 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.090909 | false | 0 | 0.022727 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e6e39e9a16da5cc73e65182a05f39d6f1b647b4 | 3,078 | py | Python | tests/test_PerCarRaceStatusData.py | jdamiani27/PyRaceView | 9c62861e2b659407948c77a780f47c95482cdfbf | [
"MIT"
] | 4 | 2019-09-10T18:14:53.000Z | 2022-01-08T02:01:01.000Z | tests/test_PerCarRaceStatusData.py | jdamiani27/pyraceview | 9c62861e2b659407948c77a780f47c95482cdfbf | [
"MIT"
] | null | null | null | tests/test_PerCarRaceStatusData.py | jdamiani27/pyraceview | 9c62861e2b659407948c77a780f47c95482cdfbf | [
"MIT"
] | null | null | null | import pytest
from pyraceview.messages import MsgRaceStatus
raw = (
b"\xab\xcd*T\x02Cs\x04\x90\x90[3\x10\xcc\x89\xb8V\x00\x00"
b"\x00\x05q\xe0\x03 \x00y\x86\xb9\x00\x00$\x00\x10\x10\x06"
b"\x0e\xe8\x00\x06\x0f\x91k\xe5\x00\x00&\x00\x15\xce\x05\xb9x"
b"\x00\x07\t\x8d^\x8d\x00\x00\x16\x00\x1c\xc2\x05\xc... | 33.456522 | 72 | 0.677063 | 630 | 3,078 | 3.268254 | 0.320635 | 0.119475 | 0.104905 | 0.023312 | 0.01457 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0.106563 | 3,078 | 91 | 73 | 33.824176 | 0.468727 | 0 | 0 | 0 | 0 | 0.507937 | 0.630604 | 0.624756 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.206349 | false | 0 | 0.031746 | 0.015873 | 0.253968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42d7eadf9caf3c559e38e0388f54bfdb1cc28385 | 359 | py | Python | 9_Lesson9/exceptions/example4-else.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | 9_Lesson9/exceptions/example4-else.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | 9_Lesson9/exceptions/example4-else.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | my_dict = {"a": 1, "b": 2, "c": 3}
# Without finally
try:
value = my_dict["a"]
except KeyError:
print("A KeyError occurred!")
else:
print("No error occurred!")
# With finally
try:
value = my_dict["a"]
except KeyError:
print("A KeyError occurred!")
else:
print("No error occurred!")
finally:
... | 16.318182 | 39 | 0.623955 | 50 | 359 | 4.42 | 0.46 | 0.081448 | 0.095023 | 0.153846 | 0.742081 | 0.742081 | 0.742081 | 0.742081 | 0.742081 | 0.742081 | 0 | 0.010638 | 0.214485 | 359 | 21 | 40 | 17.095238 | 0.77305 | 0.077994 | 0 | 0.8 | 0 | 0 | 0.32622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e20205fbd1c98e8f2cf3708b6365082d71f74ab | 7,100 | py | Python | chess/ChessConstants.py | vinoo999/alpha-zero-general | 01bd6ac40d7b1fed97a84e37f7a549be8d50f668 | [
"MIT"
] | 2 | 2018-04-01T05:08:44.000Z | 2018-04-20T01:58:46.000Z | chess/ChessConstants.py | vinoo999/alpha-zero-general | 01bd6ac40d7b1fed97a84e37f7a549be8d50f668 | [
"MIT"
] | null | null | null | chess/ChessConstants.py | vinoo999/alpha-zero-general | 01bd6ac40d7b1fed97a84e37f7a549be8d50f668 | [
"MIT"
] | null | null | null | #######################################################
# BOARD CONSTANTS
#######################################################
BLACK = 'b'
WHITE = 'w'
EMPTY = -1
PAWN = 'p'
KNIGHT = 'n'
BISHOP = 'b'
ROOK = 'r'
QUEEN = 'q'
KING = 'k'
SYMBOLS = 'pnbrqkPNBRQK'
DEFAULT_POSITION = 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/... | 34.299517 | 91 | 0.350704 | 1,644 | 7,100 | 1.493917 | 0.120438 | 0.431596 | 0.49715 | 0.517915 | 0.584283 | 0.579397 | 0.540309 | 0.52728 | 0.495928 | 0.439739 | 0 | 0.348683 | 0.320986 | 7,100 | 206 | 92 | 34.466019 | 0.160755 | 0.018732 | 0 | 0.141243 | 0 | 0 | 0.06975 | 0.006275 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e3c5a9ddf06276d103c81ac8ad94fb0fb6514a5 | 118 | py | Python | HW9/YuliiaKutsyk/task_9_3_adam_and_eve.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW9/YuliiaKutsyk/task_9_3_adam_and_eve.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | null | null | null | HW9/YuliiaKutsyk/task_9_3_adam_and_eve.py | kolyasalubov/Lv-677.PythonCore | c9f9107c734a61e398154a90b8a3e249276c2704 | [
"MIT"
] | 6 | 2022-02-22T22:30:49.000Z | 2022-03-28T12:51:19.000Z | def God():
return[Man(), Woman()]
class Human:
pass
class Man(Human):
pass
class Woman(Human):
pass | 10.727273 | 26 | 0.59322 | 16 | 118 | 4.375 | 0.5 | 0.385714 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262712 | 118 | 11 | 27 | 10.727273 | 0.804598 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0.375 | 0 | 0.125 | 0.5 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
281cb4af9b2a8025dc33a240eb0ab8b2185baf9e | 79 | py | Python | dev/frontend/controllers/__init__.py | frederikgram/describe | 5c21edcf9b35811d34a9446eda34d5a92974c8e9 | [
"MIT"
] | 2 | 2021-03-05T20:49:08.000Z | 2021-03-10T01:32:19.000Z | prod/frontend/controllers/__init__.py | frederikgram/describe | 5c21edcf9b35811d34a9446eda34d5a92974c8e9 | [
"MIT"
] | 1 | 2020-03-24T19:54:42.000Z | 2020-03-24T19:54:42.000Z | prod/frontend/controllers/__init__.py | frederikgram/describe | 5c21edcf9b35811d34a9446eda34d5a92974c8e9 | [
"MIT"
] | null | null | null | from .template_builders import *
from .actions import *
from .startup import *
| 19.75 | 32 | 0.772152 | 10 | 79 | 6 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 33 | 26.333333 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
28399693cca3a1d8ecb762bf723d2265891d81b3 | 531 | py | Python | tests/conftest.py | zillow/aiographite | 9597d55a0610df6e27579f2aa19d96089e68e1dc | [
"MIT"
] | 14 | 2016-08-20T08:36:50.000Z | 2018-01-05T21:11:40.000Z | tests/conftest.py | zillow/aiographite | 9597d55a0610df6e27579f2aa19d96089e68e1dc | [
"MIT"
] | 28 | 2016-08-23T20:23:29.000Z | 2017-09-11T19:22:43.000Z | tests/conftest.py | zillow/aiographite | 9597d55a0610df6e27579f2aa19d96089e68e1dc | [
"MIT"
] | 5 | 2016-11-14T22:30:16.000Z | 2021-01-14T08:37:24.000Z | import pytest
@pytest.fixture
def metric_parts():
return ['sproc performance', 'velo@zillow.com', '::EH12']
@pytest.fixture
def timestamp():
return 1471640923
@pytest.fixture
def metric_value_tuple_list():
return [
('zillow', 124), ('trulia', 223),
('hotpad', 53534), ('streeteasy', 134... | 20.423077 | 73 | 0.644068 | 56 | 531 | 5.982143 | 0.5 | 0.155224 | 0.191045 | 0.197015 | 0.161194 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195349 | 0.190207 | 531 | 25 | 74 | 21.24 | 0.583721 | 0 | 0 | 0.352941 | 0 | 0 | 0.177024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | true | 0 | 0.058824 | 0.235294 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
28705f35215e5e57d817eb86b61bc419951baa0d | 26 | py | Python | routely/__init__.py | jhags/routely | 975c1fc4acdc916014b6cf9bd6ff64ad00fdec6b | [
"MIT"
] | 1 | 2020-11-24T17:59:49.000Z | 2020-11-24T17:59:49.000Z | routely/__init__.py | jhags/routely | 975c1fc4acdc916014b6cf9bd6ff64ad00fdec6b | [
"MIT"
] | null | null | null | routely/__init__.py | jhags/routely | 975c1fc4acdc916014b6cf9bd6ff64ad00fdec6b | [
"MIT"
] | null | null | null | from .routely import Route | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
287bfc19d47e9525ab44fd369cb133542a7224d5 | 23,359 | py | Python | MCMC_plotting.py | jlindsey1/MappingExoplanets | 008028562805ea81b91b044f0ef5bdfed55b858c | [
"MIT"
] | null | null | null | MCMC_plotting.py | jlindsey1/MappingExoplanets | 008028562805ea81b91b044f0ef5bdfed55b858c | [
"MIT"
] | null | null | null | MCMC_plotting.py | jlindsey1/MappingExoplanets | 008028562805ea81b91b044f0ef5bdfed55b858c | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Wed Nov 15 21:12:41 2017
@author: Jordan
"""
# The following plots several figures from the MCMC. Not all are relevant, but the code has been kept in this single file
# for simplicity.
print "Start..."
# Import modules
import numpy as np
import matplotlib... | 39.861775 | 239 | 0.70414 | 3,480 | 23,359 | 4.610345 | 0.110345 | 0.012341 | 0.02543 | 0.029918 | 0.798554 | 0.788831 | 0.754675 | 0.736475 | 0.725754 | 0.696023 | 0 | 0.043215 | 0.116358 | 23,359 | 585 | 240 | 39.929915 | 0.734073 | 0.048375 | 0 | 0.658385 | 0 | 0 | 0.137496 | 0.00756 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010352 | null | null | 0.057971 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
289f797580cc0c2b3ee620c50ae7da1a504e304d | 17,485 | py | Python | Phenotyping/Phenotyping.py | lsymuyu/Digital-Plant-Phenotyping-Platform | ca94a918061103d3032ca2e891c2c9a7cffe33e0 | [
"MIT"
] | 10 | 2019-01-26T04:47:49.000Z | 2020-10-01T04:14:49.000Z | Phenotyping/Phenotyping.py | lsymuyu/Digital-Plant-Phenotyping-Platform | ca94a918061103d3032ca2e891c2c9a7cffe33e0 | [
"MIT"
] | null | null | null | Phenotyping/Phenotyping.py | lsymuyu/Digital-Plant-Phenotyping-Platform | ca94a918061103d3032ca2e891c2c9a7cffe33e0 | [
"MIT"
] | 3 | 2019-03-06T00:04:04.000Z | 2022-01-07T08:18:01.000Z | '''
The main function to conduct phenotyping experiments
11/09/2017
Shouyang Liu
'''
import os
from adel import AdelR
from adel.geometric_elements import Leaves
from adel.AdelR import R_xydb, R_srdb, genGeoLeaf
import pandas as pd
from adel.plantgen import plantgen_interface
import numpy as np
from adel.astk_interfa... | 57.327869 | 173 | 0.509122 | 1,801 | 17,485 | 4.622987 | 0.148251 | 0.055249 | 0.004324 | 0.027024 | 0.774802 | 0.751021 | 0.741412 | 0.725799 | 0.709945 | 0.709945 | 0 | 0.015112 | 0.405834 | 17,485 | 305 | 174 | 57.327869 | 0.786312 | 0.027109 | 0 | 0.646809 | 0 | 0 | 0.061816 | 0.0084 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.017021 | 0.089362 | null | null | 0.008511 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
95594f3fa1667e6fd47d1aa58e6c4955b0c3c4cb | 42 | py | Python | ini2.py | lmartinho/rosalind-solutions | b29f9aa25095ddc88a0b50505206acab00f490a0 | [
"MIT"
] | null | null | null | ini2.py | lmartinho/rosalind-solutions | b29f9aa25095ddc88a0b50505206acab00f490a0 | [
"MIT"
] | null | null | null | ini2.py | lmartinho/rosalind-solutions | b29f9aa25095ddc88a0b50505206acab00f490a0 | [
"MIT"
] | null | null | null | a=807
b=905
#a=3
#b=5
c=a*a+b*b
print(c)
| 5.25 | 9 | 0.547619 | 15 | 42 | 1.533333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 0.166667 | 42 | 7 | 10 | 6 | 0.428571 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
957ed5e04776cf8ef2caf46b88ed0f837a9bba94 | 85 | py | Python | 05-Inheritance/problem-5-Restaurant/project/beverage/hot_beverage.py | Beshkov/OOP | 297edadb3e7801dfeee5752a20aae6aead8da610 | [
"MIT"
] | 1 | 2021-05-24T17:51:53.000Z | 2021-05-24T17:51:53.000Z | 05-Inheritance/problem-5-Restaurant/project/beverage/hot_beverage.py | Beshkov/Python_OOP | 297edadb3e7801dfeee5752a20aae6aead8da610 | [
"MIT"
] | null | null | null | 05-Inheritance/problem-5-Restaurant/project/beverage/hot_beverage.py | Beshkov/Python_OOP | 297edadb3e7801dfeee5752a20aae6aead8da610 | [
"MIT"
] | null | null | null | from project.beverage.beverage import Beverage
class HotBeverage(Beverage):
pass | 21.25 | 46 | 0.811765 | 10 | 85 | 6.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 4 | 47 | 21.25 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
95851e8b11992cb1ca7532138883ea0ffb258740 | 14,797 | py | Python | tests/unittests/test_folder.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | 2 | 2022-02-01T20:18:48.000Z | 2022-02-02T01:22:14.000Z | tests/unittests/test_folder.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | 5 | 2022-01-12T06:55:54.000Z | 2022-03-26T13:35:50.000Z | tests/unittests/test_folder.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from unittest.mock import MagicMock, Mock, patch
from src.grafana_api.model import APIModel
from src.grafana_api.folder import Folder
class FolderTestCase(TestCase):
@patch("src.grafana_api.api.Api.call_the_api")
def test_get_folders(self, call_the_api_mock):
model: APIM... | 37.27204 | 88 | 0.666013 | 1,912 | 14,797 | 4.834728 | 0.034519 | 0.061337 | 0.087624 | 0.081783 | 0.95608 | 0.952293 | 0.946452 | 0.923842 | 0.918542 | 0.903938 | 0 | 0.005039 | 0.208691 | 14,797 | 396 | 89 | 37.366162 | 0.784439 | 0 | 0 | 0.648936 | 0 | 0 | 0.101575 | 0.073528 | 0 | 0 | 0 | 0 | 0.109929 | 1 | 0.109929 | false | 0 | 0.014184 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
250134cc0bb723243fb93d037d86132674af522e | 30 | py | Python | options/__init__.py | kwshh/ImageDeconvlution | 561468463372a5727b553efa0330fc75901e29fc | [
"MIT"
] | 25 | 2019-05-10T13:51:25.000Z | 2021-10-13T01:35:43.000Z | options/__init__.py | kwshh/ImageDeconvlution | 561468463372a5727b553efa0330fc75901e29fc | [
"MIT"
] | 8 | 2019-05-10T13:51:07.000Z | 2021-06-03T07:13:28.000Z | options/__init__.py | kwshh/ImageDeconvlution | 561468463372a5727b553efa0330fc75901e29fc | [
"MIT"
] | 7 | 2020-08-15T09:16:11.000Z | 2021-07-06T21:54:20.000Z | from .running_options import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
252ba86e61e67a1ee61878dd74bc3c6a8fc40da6 | 38,070 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/42.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/42.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/42.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3556
passenger_arriving = (
(4, 10, 7, 6, 3, 0, 9, 9, 3, 9, 4, 0), # 0
(4, 11, 9, 0, 1, 0, 9, 10, 7, 7, 1, 0), # 1
(8, 9, 8, 4, 4, 0, 6, 13, 7, 3, 4, 0), # 2
(2, 13, 5, 6, 0, 0, 8, 14, 6, 5, 6, 0), # 3
(5, 5, 8, 4, 6, 0, 8, 3, 7, 7, 4, 0), # 4
(2, 12, 7, 4, 2, 0, 4, 6, 3... | 113.641791 | 214 | 0.730391 | 5,147 | 38,070 | 5.400233 | 0.230814 | 0.310847 | 0.246087 | 0.466271 | 0.326606 | 0.325814 | 0.325814 | 0.325814 | 0.325814 | 0.325814 | 0 | 0.820002 | 0.118571 | 38,070 | 334 | 215 | 113.982036 | 0.008314 | 0.03181 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.