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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e5cebb394da49e8ed887f3594adea7b782eab267 | 210 | py | Python | cmf_rateslib/products/base_product.py | lantalex/cmf_rateslib | efefe45bfc349a18a4b318f0d524744e0140e155 | [
"MIT"
] | 3 | 2021-11-12T16:14:29.000Z | 2021-12-08T17:44:35.000Z | cmf_rateslib/products/base_product.py | lantalex/cmf_rateslib | efefe45bfc349a18a4b318f0d524744e0140e155 | [
"MIT"
] | null | null | null | cmf_rateslib/products/base_product.py | lantalex/cmf_rateslib | efefe45bfc349a18a4b318f0d524744e0140e155 | [
"MIT"
] | 13 | 2021-11-09T17:53:51.000Z | 2021-12-13T11:19:12.000Z |
class BaseProduct(object):
params: dict = {}
def __init__(self):
pass
def get_cashflows(self, *args, **kwargs):
return None
def pv(self, *args, **kwargs):
return 0
| 14 | 45 | 0.557143 | 24 | 210 | 4.666667 | 0.708333 | 0.142857 | 0.25 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.319048 | 210 | 14 | 46 | 15 | 0.776224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0 | 0.25 | 0.875 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
e5fd1c3e2a9590f8542aa241a24dca9e82772723 | 2,621 | py | Python | tests/clpy_tests/opencl_tests/ultima_tests/test_ultima_carray.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | tests/clpy_tests/opencl_tests/ultima_tests/test_ultima_carray.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | tests/clpy_tests/opencl_tests/ultima_tests/test_ultima_carray.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | # flake8: noqa
# TODO(vorj): When we will meet flake8 3.7.0+,
# we should ignore only W291 for whole file
# using --per-file-ignores .
import clpy
import unittest
class TestUltimaCArray(unittest.TestCase):
def test_carray_argument_mutation(self):
x = clpy.backend.ultima.exec_... | 28.48913 | 83 | 0.546356 | 315 | 2,621 | 4.27619 | 0.203175 | 0.057164 | 0.066815 | 0.124722 | 0.82925 | 0.82925 | 0.82925 | 0.82925 | 0.82925 | 0.82925 | 0 | 0.012028 | 0.302175 | 2,621 | 91 | 84 | 28.802198 | 0.72444 | 0.058756 | 0 | 0.534483 | 0 | 0 | 0.43366 | 0.090346 | 0 | 0 | 0 | 0.010989 | 0.068966 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.12069 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
00556e553743d1430d37baf919cb2e6c5d00dd18 | 23,470 | py | Python | tests/e2e/basic/performance_tests/wifi_capacity_test/wpa2_personal/test_bridge_mode.py | DYeag/wlan-testing | 81e879d04ea3c6a55d14a330d461d8914507e3b2 | [
"BSD-3-Clause"
] | 7 | 2020-08-19T16:45:46.000Z | 2022-02-10T09:55:22.000Z | tests/e2e/basic/performance_tests/wifi_capacity_test/wpa2_personal/test_bridge_mode.py | DYeag/wlan-testing | 81e879d04ea3c6a55d14a330d461d8914507e3b2 | [
"BSD-3-Clause"
] | 47 | 2020-12-20T16:06:03.000Z | 2022-03-23T03:01:22.000Z | tests/e2e/basic/performance_tests/wifi_capacity_test/wpa2_personal/test_bridge_mode.py | DYeag/wlan-testing | 81e879d04ea3c6a55d14a330d461d8914507e3b2 | [
"BSD-3-Clause"
] | 9 | 2021-02-04T22:32:06.000Z | 2021-12-14T17:45:51.000Z | """
Performance Test: Wifi Capacity Test : BRIDGE Mode
pytest -m "wifi_capacity_test and BRIDGE"
"""
import os
import pytest
import allure
pytestmark = [pytest.mark.performance, pytest.mark.bridge]
# """pytest.mark.usefixtures("setup_test_run")"""]
setup_params_general_dual_band = {
"mode": "BRIDGE",
... | 51.356674 | 112 | 0.633404 | 2,973 | 23,470 | 4.678776 | 0.049781 | 0.055787 | 0.048311 | 0.036233 | 0.963911 | 0.954278 | 0.951977 | 0.951977 | 0.951977 | 0.951977 | 0 | 0.023942 | 0.250788 | 23,470 | 456 | 113 | 51.469298 | 0.767118 | 0.083042 | 0 | 0.860399 | 0 | 0 | 0.196551 | 0.021413 | 0 | 0 | 0 | 0 | 0.034188 | 1 | 0.034188 | false | 0 | 0.008547 | 0 | 0.051282 | 0.034188 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
00857be160580391324499add35f7d9c03e38fb6 | 604 | py | Python | spine_json_lib/data/spine_exceptions.py | ivan-ah/spine-json-lib | 1ea8460127f005d57af56090d2a48e6039437306 | [
"MIT"
] | 6 | 2019-12-02T15:25:57.000Z | 2021-11-02T04:14:19.000Z | spine_json_lib/data/spine_exceptions.py | ivan-ah/spine-json-lib | 1ea8460127f005d57af56090d2a48e6039437306 | [
"MIT"
] | 3 | 2020-03-20T11:09:22.000Z | 2022-02-18T10:07:26.000Z | spine_json_lib/data/spine_exceptions.py | ivan-ah/spine-json-lib | 1ea8460127f005d57af56090d2a48e6039437306 | [
"MIT"
] | 2 | 2019-12-02T14:56:50.000Z | 2020-02-24T07:53:20.000Z | class SpineParsingException(Exception):
def __init__(self, message, code_error=None, *args, **kwargs):
self.message = message
self.code_error = code_error
super(SpineParsingException, self).__init__(*args, **kwargs)
def __str__(self):
return str(self.message)
class SpineJsonE... | 28.761905 | 68 | 0.675497 | 66 | 604 | 5.727273 | 0.242424 | 0.174603 | 0.084656 | 0.10582 | 0.756614 | 0.756614 | 0.756614 | 0.756614 | 0.756614 | 0.756614 | 0 | 0 | 0.211921 | 604 | 20 | 69 | 30.2 | 0.794118 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
00a195019fe8d6cd83c8bc33244c586ebbbc306b | 2,635 | py | Python | exp_configs/__init__.py | dongzhuoyao/embedding-propagation | 1f14947bbd8be8a9950e7c4093fbfed0536809b9 | [
"Apache-2.0"
] | null | null | null | exp_configs/__init__.py | dongzhuoyao/embedding-propagation | 1f14947bbd8be8a9950e7c4093fbfed0536809b9 | [
"Apache-2.0"
] | null | null | null | exp_configs/__init__.py | dongzhuoyao/embedding-propagation | 1f14947bbd8be8a9950e7c4093fbfed0536809b9 | [
"Apache-2.0"
] | null | null | null | from . import pretrain_exps, ssl_exps
from . import pretrain_exps
from . import pretrain_miniin_wrn_exps
from . import pretrain_miniin_wrn50_2_exps
from . import pretrain_miniin_resnet12_exps
from . import pretrain_miniin_resnet50_exps
from . import pretrain_miniin_densenet121_exps
from . import pretrain_tieredin_wrn_e... | 36.597222 | 75 | 0.897533 | 413 | 2,635 | 5.135593 | 0.05569 | 0.207921 | 0.15323 | 0.181047 | 0.942008 | 0.8529 | 0.78265 | 0.736445 | 0.367751 | 0.296558 | 0 | 0.012063 | 0.056167 | 2,635 | 71 | 76 | 37.112676 | 0.840772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.489796 | 0 | 0.489796 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
00ae9c03e4d6d1585e5b80aafb9680daa464fc7f | 20,925 | py | Python | spytest/spytest/prompts.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | 1 | 2021-09-15T17:09:13.000Z | 2021-09-15T17:09:13.000Z | spytest/spytest/prompts.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | 1 | 2020-02-05T16:51:53.000Z | 2020-02-05T16:51:53.000Z | spytest/spytest/prompts.py | mykolaf/sonic-mgmt | de77268526173c5e3a345f3f3703b56eb40c5eed | [
"Apache-2.0"
] | null | null | null | import os
import re
import logging
from spytest.dicts import SpyTestDict
from spytest.ordyaml import OrderedYaml
prompts_root = os.path.join(os.path.dirname(__file__), '..', "datastore", "prompts")
class Prompts(object):
"""
todo: Update Documentation
"""
def __init__(self, model=None, logger=None):
... | 43.960084 | 142 | 0.533333 | 2,310 | 20,925 | 4.589177 | 0.074892 | 0.13678 | 0.218847 | 0.046788 | 0.793321 | 0.747382 | 0.738515 | 0.714744 | 0.714744 | 0.705594 | 0 | 0.00235 | 0.349247 | 20,925 | 475 | 143 | 44.052632 | 0.776162 | 0.010131 | 0 | 0.774272 | 0 | 0 | 0.176502 | 0.022946 | 0 | 0 | 0 | 0.002105 | 0 | 1 | 0.024272 | false | 0.002427 | 0.012136 | 0 | 0.23301 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
00b050c0564ef1f8174af49b425b79f50122314d | 17,462 | py | Python | tests/test_modis.py | up42/modis | 05df85d606abe60cf101efa522a31a6bd6479bda | [
"MIT"
] | 4 | 2020-03-17T22:10:29.000Z | 2021-08-05T11:34:45.000Z | tests/test_modis.py | up42/modis | 05df85d606abe60cf101efa522a31a6bd6479bda | [
"MIT"
] | 11 | 2019-08-16T08:30:42.000Z | 2022-03-12T00:11:12.000Z | tests/test_modis.py | up42/modis | 05df85d606abe60cf101efa522a31a6bd6479bda | [
"MIT"
] | 1 | 2021-05-06T12:24:42.000Z | 2021-05-06T12:24:42.000Z | """
Integration tests for the higher-level fetch methods
"""
# pylint: disable=unused-import, redefined-outer-name
# requests_mock used as fixture in tests
import os
import re
import rasterio as rio
import numpy as np
import pytest
from rio_cogeo.cogeo import cog_validate
from context import STACQuery, Modis
from bl... | 31.576854 | 96 | 0.60812 | 2,059 | 17,462 | 4.929577 | 0.105877 | 0.042266 | 0.017143 | 0.06532 | 0.919803 | 0.916158 | 0.904335 | 0.904335 | 0.889754 | 0.871034 | 0 | 0.126785 | 0.266006 | 17,462 | 552 | 97 | 31.634058 | 0.665132 | 0.067232 | 0 | 0.746231 | 0 | 0.037688 | 0.242283 | 0.173121 | 0 | 0 | 0 | 0 | 0.09799 | 1 | 0.042714 | false | 0 | 0.020101 | 0.002513 | 0.065327 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
00bacecc8f0ce2248b41664630905d4d73f1d594 | 120 | py | Python | app/pages/__init__.py | Anioko/CMS | b6465faf2a5d7333f494526bcddf8083d6807aee | [
"MIT"
] | null | null | null | app/pages/__init__.py | Anioko/CMS | b6465faf2a5d7333f494526bcddf8083d6807aee | [
"MIT"
] | 1 | 2021-06-02T01:40:15.000Z | 2021-06-02T01:40:15.000Z | app/pages/__init__.py | Anioko/CMS | b6465faf2a5d7333f494526bcddf8083d6807aee | [
"MIT"
] | null | null | null | from app.pages import errors # noqa
from app.pages.views import pages # noqa
#from app.pages.forms import pages # noqa
| 30 | 41 | 0.766667 | 20 | 120 | 4.6 | 0.4 | 0.228261 | 0.391304 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 120 | 3 | 42 | 40 | 0.910891 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
da9a60623eabb0e818682d2da1022535abbd4734 | 87,402 | py | Python | Define_Model/ResNet.py | Wenhao-Yang/DeepSpeaker-pytorch | 99eb8de3357c85e2b7576da2a742be2ffd773ead | [
"MIT"
] | 8 | 2020-08-26T13:32:56.000Z | 2022-01-18T21:05:46.000Z | Define_Model/ResNet.py | Wenhao-Yang/DeepSpeaker-pytorch | 99eb8de3357c85e2b7576da2a742be2ffd773ead | [
"MIT"
] | 1 | 2020-07-24T17:06:16.000Z | 2020-07-24T17:06:16.000Z | Define_Model/ResNet.py | Wenhao-Yang/DeepSpeaker-pytorch | 99eb8de3357c85e2b7576da2a742be2ffd773ead | [
"MIT"
] | 5 | 2020-12-11T03:31:15.000Z | 2021-11-23T15:57:55.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
@Author: yangwenhao
@Contact: 874681044@qq.com
@Software: PyCharm
@File: ResNet.py
@Time: 2019/10/10 下午5:09
@Overview: Deep Speaker using Resnet with CNN, which is not ordinary Resnet.
This file define resnet in 'Deep Residual Learning for Image Recognition'
For all model, ... | 35.4141 | 120 | 0.564015 | 11,094 | 87,402 | 4.301154 | 0.039931 | 0.0241 | 0.017352 | 0.015843 | 0.88503 | 0.856571 | 0.833707 | 0.815139 | 0.798961 | 0.786512 | 0 | 0.040512 | 0.308917 | 87,402 | 2,467 | 121 | 35.428456 | 0.749478 | 0 | 0 | 0.7737 | 0 | 0 | 0.009895 | 0.000772 | 0 | 0 | 0 | 0 | 0.00367 | 0 | null | null | 0 | 0.007339 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
daaab5fe1c32b327e94ac561104c3ed2d8752efa | 12,337 | py | Python | jams/srrasa.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 9 | 2019-06-03T03:24:16.000Z | 2021-12-03T07:14:00.000Z | jams/srrasa.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 6 | 2020-03-25T21:56:59.000Z | 2021-11-08T14:58:27.000Z | jams/srrasa.py | MuellerSeb/jams_python | 1bca04557da79d8f8a4c447f5ccc517c40ab7dfc | [
"MIT"
] | 5 | 2019-10-17T12:04:33.000Z | 2021-09-28T07:45:07.000Z | #!/usr/bin/env python
from __future__ import division, absolute_import, print_function
import numpy as np
def srrasa(xy, strata=5, n=3, plot=False):
"""
Generates stratified random 2D points within a given rectangular area.
Definition
----------
def srrasa(xy, strata=5, n=3, plot=... | 39.289809 | 116 | 0.564481 | 1,650 | 12,337 | 4.176364 | 0.213939 | 0.015673 | 0.011319 | 0.005805 | 0.806995 | 0.782325 | 0.771151 | 0.75722 | 0.720795 | 0.716587 | 0 | 0.061672 | 0.320499 | 12,337 | 313 | 117 | 39.415335 | 0.760348 | 0.487801 | 0 | 0.594595 | 1 | 0 | 0.047358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018018 | false | 0 | 0.063063 | 0 | 0.099099 | 0.018018 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dae75e638dadae084b5ab4a559caf1fdf3809036 | 107 | py | Python | Chapter04/filesdirs_03.py | vabyte/Modern-Python-Standard-Library-Cookbook | 4f53e3ab7b61aca1cca9343e7421e170280cd5b5 | [
"MIT"
] | 84 | 2018-08-09T09:30:03.000Z | 2022-01-04T23:20:38.000Z | Chapter04/filesdirs_03.py | jiro74/Modern-Python-Standard-Library-Cookbook | 4f53e3ab7b61aca1cca9343e7421e170280cd5b5 | [
"MIT"
] | 1 | 2019-11-04T18:57:40.000Z | 2020-09-07T08:52:25.000Z | Chapter04/filesdirs_03.py | jiro74/Modern-Python-Standard-Library-Cookbook | 4f53e3ab7b61aca1cca9343e7421e170280cd5b5 | [
"MIT"
] | 33 | 2018-09-26T11:05:55.000Z | 2022-03-15T10:31:10.000Z | import pathlib
print(list(pathlib.Path('.').glob('*.py')))
print(list(pathlib.Path('.').glob('**/*.py'))) | 21.4 | 46 | 0.607477 | 14 | 107 | 4.642857 | 0.5 | 0.276923 | 0.492308 | 0.615385 | 0.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 107 | 5 | 46 | 21.4 | 0.637255 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 9 |
971422f6e39bd9efc9719611ea8dc5fd60e1120b | 3,078 | py | Python | application/service/wallet_pair_response.py | singnet/snet-converter-services | 346b26f8281944a9f47d4bdd1eba54c8fb43e799 | [
"MIT"
] | null | null | null | application/service/wallet_pair_response.py | singnet/snet-converter-services | 346b26f8281944a9f47d4bdd1eba54c8fb43e799 | [
"MIT"
] | 1 | 2022-03-21T04:43:48.000Z | 2022-03-21T04:43:48.000Z | application/service/wallet_pair_response.py | singnet/snet-converter-services | 346b26f8281944a9f47d4bdd1eba54c8fb43e799 | [
"MIT"
] | 4 | 2021-11-30T04:32:59.000Z | 2022-03-23T07:20:53.000Z | from constants.entity import WalletPairEntities, WalletPairResponseEntities
def get_wallet_pair_by_addresses_response(wallet_pair):
return {
WalletPairEntities.ROW_ID.value: wallet_pair[WalletPairEntities.ROW_ID.value],
WalletPairEntities.ID.value: wallet_pair[WalletPairEntities.ROW_ID.value],
... | 54 | 118 | 0.797921 | 325 | 3,078 | 7.196923 | 0.107692 | 0.149637 | 0.153912 | 0.338606 | 0.845233 | 0.830697 | 0.830697 | 0.808465 | 0.780248 | 0.778965 | 0 | 0 | 0.12898 | 3,078 | 56 | 119 | 54.964286 | 0.872436 | 0 | 0 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.022727 | 0.136364 | 0.295455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 8 |
978d40b204a04d26271c83479357a7bc2af0d032 | 3,994 | py | Python | internos/etools/migrations/0043_auto_20190515_1341.py | UNICEFLebanonInnovation/Staging-Neuro | aac1e4f335ff4ec32041f989a9c22f8581a4961a | [
"MIT"
] | 1 | 2020-12-12T07:41:11.000Z | 2020-12-12T07:41:11.000Z | internos/etools/migrations/0043_auto_20190515_1341.py | UNICEFLebanonInnovation/Staging-Neuro | aac1e4f335ff4ec32041f989a9c22f8581a4961a | [
"MIT"
] | 9 | 2019-12-31T09:30:23.000Z | 2022-01-13T00:49:47.000Z | internos/etools/migrations/0043_auto_20190515_1341.py | UNICEFLebanonInnovation/Staging-Neuro | aac1e4f335ff4ec32041f989a9c22f8581a4961a | [
"MIT"
] | 1 | 2020-02-03T13:12:55.000Z | 2020-02-03T13:12:55.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-05-15 13:41
from __future__ import unicode_literals
import django.contrib.postgres.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('etools', '0042_actionpoint_category_name'),
]
... | 41.175258 | 140 | 0.631197 | 404 | 3,994 | 6.066832 | 0.188119 | 0.117503 | 0.150143 | 0.176255 | 0.868625 | 0.868625 | 0.848225 | 0.842513 | 0.831497 | 0.831497 | 0 | 0.024169 | 0.254131 | 3,994 | 96 | 141 | 41.604167 | 0.79859 | 0.017276 | 0 | 0.719101 | 1 | 0 | 0.146609 | 0.025752 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033708 | 0 | 0.067416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
97c27789ef8dc80300f339d494117bce96bfb361 | 246 | py | Python | Module 3/Chapter 5/ch5_4.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 50 | 2016-12-11T13:49:01.000Z | 2022-03-20T19:47:55.000Z | Module 3/Chapter 5/ch5_4.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | null | null | null | Module 3/Chapter 5/ch5_4.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 40 | 2017-06-14T14:02:48.000Z | 2021-10-14T06:25:00.000Z | import nltk
from nltk.corpus import treebank_chunk
print(treebank_chunk.chunked_sents()[1].leaves())
print(treebank_chunk.chunked_sents()[1].pos())
print(treebank_chunk.chunked_sents()[1].productions())
print(nltk.corpus.treebank.tagged_words())
| 35.142857 | 54 | 0.804878 | 35 | 246 | 5.428571 | 0.428571 | 0.273684 | 0.284211 | 0.394737 | 0.489474 | 0.489474 | 0 | 0 | 0 | 0 | 0 | 0.012712 | 0.04065 | 246 | 6 | 55 | 41 | 0.792373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
8ae82a1dbf777d3c05d4f79cff0dcf50c9f1f384 | 130 | py | Python | ad2web/api/utils.py | billfor/alarmdecoder-webapp | 43c3ebb2b44c7291cd89a2a7a31bbdfdb3ec06dc | [
"BSD-3-Clause",
"MIT"
] | 46 | 2015-06-14T02:19:16.000Z | 2022-03-24T03:11:19.000Z | ad2web/api/utils.py | billfor/alarmdecoder-webapp | 43c3ebb2b44c7291cd89a2a7a31bbdfdb3ec06dc | [
"BSD-3-Clause",
"MIT"
] | 66 | 2015-03-14T16:30:43.000Z | 2021-08-28T22:20:01.000Z | ad2web/api/utils.py | billfor/alarmdecoder-webapp | 43c3ebb2b44c7291cd89a2a7a31bbdfdb3ec06dc | [
"BSD-3-Clause",
"MIT"
] | 44 | 2015-02-13T19:23:37.000Z | 2021-12-30T04:17:21.000Z | # -*- coding: utf-8 -*-
import os
import base64
def generate_api_key():
return base64.b32encode(os.urandom(7)).rstrip('==')
| 16.25 | 55 | 0.661538 | 18 | 130 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0.146154 | 130 | 7 | 56 | 18.571429 | 0.684685 | 0.161538 | 0 | 0 | 1 | 0 | 0.018692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
8aea8a1bfd66e757e3e0bd89fd033db7736fa123 | 1,718 | py | Python | tests/test_1889.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1889.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1889.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 1889. Minimum Space Wasted From Packaging
"""
@pytest.fixture(scope="session")
def init_variables_1889():
from src.leetcode_1889_minimum_space_wasted_from_packaging import Solution
solution = Solution()
def _init_variables_1889():
return solution
... | 24.898551 | 101 | 0.648428 | 232 | 1,718 | 4.525862 | 0.181034 | 0.222857 | 0.291429 | 0.12 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.131657 | 0.213038 | 1,718 | 68 | 102 | 25.264706 | 0.64497 | 0.023283 | 0 | 0.944444 | 0 | 0 | 0.008929 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.277778 | false | 0 | 0.111111 | 0.055556 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8af0cc8eab2612c0e200adfd1bbd585565b5fc71 | 5,130 | py | Python | misc/python_sealog/cruises.py | WHOIGit/ndsf-sealog-server | e57843e3e23a924ccf6fc1ef1e40d92f36a3b612 | [
"MIT"
] | 4 | 2019-10-29T21:53:13.000Z | 2021-12-02T00:38:42.000Z | misc/python_sealog/cruises.py | WHOIGit/ndsf-sealog-server | e57843e3e23a924ccf6fc1ef1e40d92f36a3b612 | [
"MIT"
] | 14 | 2020-05-28T16:39:30.000Z | 2021-05-22T06:01:40.000Z | misc/python_sealog/cruises.py | WHOIGit/ndsf-sealog-server | e57843e3e23a924ccf6fc1ef1e40d92f36a3b612 | [
"MIT"
] | 1 | 2020-01-31T00:00:42.000Z | 2020-01-31T00:00:42.000Z | #!/usr/bin/env python3
'''
FILE: cruises.py
DESCRIPTION: This script contains the wrapper functions for the sealog-
server cruise routes.
BUGS:
NOTES:
AUTHOR: Webb Pinner
COMPANY: OceanDataTools.org
VERSION: 0.1
CREATED: 2021-01-01
REVISION:
LICENSE INFO: This code is lice... | 27.880435 | 111 | 0.619688 | 668 | 5,130 | 4.582335 | 0.149701 | 0.105848 | 0.074485 | 0.058804 | 0.803986 | 0.772297 | 0.772297 | 0.772297 | 0.761843 | 0.742894 | 0 | 0.010494 | 0.294152 | 5,130 | 183 | 112 | 28.032787 | 0.834852 | 0.25692 | 0 | 0.763441 | 0 | 0 | 0.040239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.043011 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c118da10af6c651595c0014c195ea3d26010654b | 25,942 | py | Python | Tic-Tac-Toe/Tic-Tac-Toe.py | alexeevivan/pythonic | 7957421f043205dd7d5f8f5f8579aaa48411bfc8 | [
"Unlicense"
] | 1 | 2022-03-27T12:59:12.000Z | 2022-03-27T12:59:12.000Z | Tic-Tac-Toe/Tic-Tac-Toe.py | alexeevivan/pythonic | 7957421f043205dd7d5f8f5f8579aaa48411bfc8 | [
"Unlicense"
] | null | null | null | Tic-Tac-Toe/Tic-Tac-Toe.py | alexeevivan/pythonic | 7957421f043205dd7d5f8f5f8579aaa48411bfc8 | [
"Unlicense"
] | null | null | null | import os
from colorama import init
from colorama import Fore, Back, Style
# добавляем возможность выбора языка
lang_selection = int(input("Для выбора русского языка введите «1»\nTo choose english language press «2»:"))
while lang_selection!=1 and lang_selection!=2:
print(Fore.RED)
print("\nВведён неко... | 44.044143 | 194 | 0.457251 | 3,337 | 25,942 | 3.5451 | 0.100989 | 0.019949 | 0.027895 | 0.034489 | 0.922823 | 0.915385 | 0.907101 | 0.888926 | 0.878276 | 0.871513 | 0 | 0.032646 | 0.426143 | 25,942 | 589 | 195 | 44.044143 | 0.744945 | 0.10377 | 0 | 0.922156 | 0 | 0.031936 | 0.245325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015968 | false | 0 | 0.005988 | 0 | 0.02994 | 0.361277 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c1233065e68be493898d589af31c528a3cfbe9d7 | 1,155 | py | Python | myPuzzleSolvers/puzzle_boards/hashi_puzzle_boards.py | giraycoskun/myPuzzleSolvers | 225286c9a404012953f79094c1769f1392950b8a | [
"MIT"
] | null | null | null | myPuzzleSolvers/puzzle_boards/hashi_puzzle_boards.py | giraycoskun/myPuzzleSolvers | 225286c9a404012953f79094c1769f1392950b8a | [
"MIT"
] | null | null | null | myPuzzleSolvers/puzzle_boards/hashi_puzzle_boards.py | giraycoskun/myPuzzleSolvers | 225286c9a404012953f79094c1769f1392950b8a | [
"MIT"
] | null | null | null | """Test Maps of Islands for Hashi Puzzle
"""
test1 = [
[
[1, 0],
[0, 1]
],
[
[0, 0, 1],
[0, 0, 0],
[1, 0, 2]
],
[
[0, 1, 0, 2, 0],
[0, 0, 0, 0, 0],
[0, 1, 0, 2, 0],
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 0]
],
[
... | 18.934426 | 40 | 0.2329 | 233 | 1,155 | 1.154506 | 0.06867 | 0.959108 | 1.092937 | 1.219331 | 0.780669 | 0.736059 | 0.698885 | 0.63197 | 0.583643 | 0.550186 | 0 | 0.388316 | 0.496104 | 1,155 | 60 | 41 | 19.25 | 0.073883 | 0.032035 | 0 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 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 | 7 |
c141f739a33d986f1b2b35a3ae6fdb2d1a8094c0 | 3,960 | py | Python | baselines/lstm_classifier.py | sorokine/NeuralTripleTranslation | 9a58a8981ac6ca196668a88e46515951f1a7e5de | [
"Apache-2.0"
] | 47 | 2018-07-06T01:00:37.000Z | 2021-12-05T08:05:35.000Z | baselines/lstm_classifier.py | sorokine/NeuralTripleTranslation | 9a58a8981ac6ca196668a88e46515951f1a7e5de | [
"Apache-2.0"
] | 6 | 2018-10-29T09:35:58.000Z | 2022-01-02T14:06:59.000Z | baselines/lstm_classifier.py | sorokine/NeuralTripleTranslation | 9a58a8981ac6ca196668a88e46515951f1a7e5de | [
"Apache-2.0"
] | 14 | 2018-07-08T06:13:08.000Z | 2021-06-18T06:21:56.000Z |
import torch
import torch.nn as nn
from torch.autograd import Variable
import torch.nn.functional as F
class BiLSTM(nn.Module):
def __init__(self, embedding_dim, hidden_size,
num_layers, vocab_size, num_classes, dropout):
super(BiLSTM, self).__init__()
self.word_embeds = nn.Embe... | 33.559322 | 103 | 0.634091 | 499 | 3,960 | 4.789579 | 0.132265 | 0.09205 | 0.07113 | 0.046862 | 0.932218 | 0.932218 | 0.932218 | 0.932218 | 0.932218 | 0.932218 | 0 | 0.014172 | 0.269444 | 3,960 | 117 | 104 | 33.846154 | 0.81196 | 0.059596 | 0 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.054054 | 0 | 0.216216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c1818cc08308030103bff4e6be825fe392fc36d4 | 5,618 | py | Python | src/cpp/AutoWIG.py | StatisKit/Eigen | 535af80557c472f735fcd0523959a54b7baeb719 | [
"Apache-2.0"
] | 1 | 2017-07-17T18:50:28.000Z | 2017-07-17T18:50:28.000Z | src/cpp/AutoWIG.py | StatisKit/Eigen | 535af80557c472f735fcd0523959a54b7baeb719 | [
"Apache-2.0"
] | null | null | null | src/cpp/AutoWIG.py | StatisKit/Eigen | 535af80557c472f735fcd0523959a54b7baeb719 | [
"Apache-2.0"
] | 7 | 2017-02-10T10:31:33.000Z | 2021-03-15T18:30:10.000Z | def controller(asg):
from scons_tools.site_autowig.controller.statiskit_stl import controller as stl_controller
asg = stl_controller(asg, library=False)
# for dcl in asg['::Eigen::internal'].declarations(nested=True):
# dcl.pybind11_export = False
for cls in ['class ::Eigen::DenseBase< class ::E... | 83.850746 | 241 | 0.60324 | 700 | 5,618 | 4.795714 | 0.132857 | 0.038129 | 0.138219 | 0.190051 | 0.756032 | 0.737563 | 0.721478 | 0.721478 | 0.721478 | 0.721478 | 0 | 0.040217 | 0.212175 | 5,618 | 67 | 242 | 83.850746 | 0.718256 | 0.016732 | 0 | 0.390625 | 0 | 0.421875 | 0.48352 | 0.053966 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.046875 | 0 | 0.109375 | 0 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c1dc4afc8b036c449196060524e6492682ac24dd | 24,802 | py | Python | psono/restapi/tests/emergencycode.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 48 | 2018-04-19T15:50:58.000Z | 2022-01-23T15:58:11.000Z | psono/restapi/tests/emergencycode.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 9 | 2018-09-13T14:56:18.000Z | 2020-01-17T16:44:33.000Z | psono/restapi/tests/emergencycode.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 11 | 2019-09-20T11:53:47.000Z | 2021-07-18T22:41:31.000Z | from django.urls import reverse
from django.contrib.auth.hashers import make_password
from django.conf import settings
from rest_framework import status
from .base import APITestCaseExtended
from restapi import models
import random
import string
import binascii
import os
class CreateEmergencyCodeTest(APITestCaseExte... | 42.984402 | 115 | 0.695992 | 2,183 | 24,802 | 7.584975 | 0.078333 | 0.071989 | 0.021017 | 0.024641 | 0.934835 | 0.916898 | 0.913456 | 0.904215 | 0.8896 | 0.874804 | 0 | 0.189666 | 0.227482 | 24,802 | 576 | 116 | 43.059028 | 0.67453 | 0.061164 | 0 | 0.811671 | 0 | 0 | 0.304622 | 0.23115 | 0 | 0 | 0 | 0 | 0.066313 | 1 | 0.055703 | false | 0.034483 | 0.026525 | 0 | 0.092838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c1f66cb021f358b7d383b4de73482a2243b6478d | 681 | py | Python | fragmenstein/victor/_victor_overridables.py | matteoferla/Fragmenstein | 151bde01f4ebd930880cb7ad234bab68ac4a3e76 | [
"MIT"
] | 41 | 2020-04-09T14:11:39.000Z | 2022-03-15T15:44:14.000Z | fragmenstein/victor/_victor_overridables.py | LaYeqa/Fragmenstein | 151bde01f4ebd930880cb7ad234bab68ac4a3e76 | [
"MIT"
] | 13 | 2020-12-02T13:13:59.000Z | 2022-01-14T11:29:46.000Z | fragmenstein/victor/_victor_overridables.py | LaYeqa/Fragmenstein | 151bde01f4ebd930880cb7ad234bab68ac4a3e76 | [
"MIT"
] | 6 | 2020-09-07T10:47:51.000Z | 2021-09-23T14:22:39.000Z | from ._victor_plonk import _VictorPlonk
class _VictorOverridables(_VictorPlonk):
def post_params_step(self):
"""
This method is intended for make inherited mods easier.
:return:
"""
pass
def post_monster_step(self):
"""
This method is intended for make ... | 21.967742 | 63 | 0.562408 | 72 | 681 | 5.138889 | 0.375 | 0.086486 | 0.12973 | 0.194595 | 0.737838 | 0.737838 | 0.737838 | 0.737838 | 0.737838 | 0.737838 | 0 | 0 | 0.361233 | 681 | 31 | 64 | 21.967742 | 0.850575 | 0.380323 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.1 | 0 | 0.6 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
a9b8cfbdb5b63265f995b002e7b55f83688c23dc | 784 | py | Python | za/udp/test3.py | hth945/pytest | 83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc | [
"Apache-2.0"
] | null | null | null | za/udp/test3.py | hth945/pytest | 83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc | [
"Apache-2.0"
] | null | null | null | za/udp/test3.py | hth945/pytest | 83e2aada82a2c6a0fdd1721320e5bf8b8fd59abc | [
"Apache-2.0"
] | null | null | null | #%%
ss ='00 80 e1 13 4f 24 04 0e 3c 90 f5 58 08 00 45 00 00 23 a1 c2 00 00 80 11 15 83 c0 a8 01 17 c0 a8 01 1d 17 71 17 71 00 0f f5 6d 31 36 62 62 62 62 62 00 00 00 00 00 00 00 00 00 00 00 '
ss2='00 80 e1 13 4f 24 04 0e 3c 90 f5 58 08 00 45 00 00 23 a1 c6 00 00 80 11 15 7f c0 a8 01 17 c0 a8 01 1d 17 71 17 71 00 0f 17 ... | 52.266667 | 336 | 0.633929 | 243 | 784 | 2.045267 | 0.283951 | 0.209256 | 0.181087 | 0.193159 | 0.607646 | 0.54326 | 0.54326 | 0.515091 | 0.515091 | 0.515091 | 0 | 0.758945 | 0.322704 | 784 | 14 | 337 | 56 | 0.177024 | 0.014031 | 0 | 0 | 0 | 0.428571 | 0.90117 | 0 | 0 | 1 | 0.005202 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a9f23570f22f0c9d8958a77a80b33c890b5c28d9 | 2,515 | py | Python | tests/endpoints/test_cash_register.py | PJUllrich/Universal-Bunq-API-Python-Wrapper | 9e1e0d1477d502c07fb9f31095e55b945b47b062 | [
"MIT"
] | null | null | null | tests/endpoints/test_cash_register.py | PJUllrich/Universal-Bunq-API-Python-Wrapper | 9e1e0d1477d502c07fb9f31095e55b945b47b062 | [
"MIT"
] | null | null | null | tests/endpoints/test_cash_register.py | PJUllrich/Universal-Bunq-API-Python-Wrapper | 9e1e0d1477d502c07fb9f31095e55b945b47b062 | [
"MIT"
] | null | null | null | from apiwrapper.endpoints.cash_register import CashRegister
from tests.endpoints.test_endpoint import EndpointTest
class CashRegisterTest(EndpointTest):
__base_endpoint_url = "/user/%d/monetary-account/%d/cash-register"
@property
def _base_endpoint(self):
return self.__base_endpoint_url % (self.r... | 36.449275 | 81 | 0.726839 | 352 | 2,515 | 4.696023 | 0.119318 | 0.15729 | 0.188748 | 0.203267 | 0.813067 | 0.813067 | 0.757411 | 0.729583 | 0.699335 | 0.699335 | 0 | 0 | 0.192445 | 2,515 | 68 | 82 | 36.985294 | 0.813885 | 0 | 0 | 0.391304 | 0 | 0 | 0.036581 | 0.025447 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.173913 | false | 0 | 0.043478 | 0.021739 | 0.282609 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e77d068de050af8d157b873cf3f9e8adf3026289 | 33,055 | py | Python | Proyecto/Proyecto.py | rinicro/Machine-Learning-and-Big-Data | b35899c13202d2102a0f093ad2f023a9802b754d | [
"MIT"
] | null | null | null | Proyecto/Proyecto.py | rinicro/Machine-Learning-and-Big-Data | b35899c13202d2102a0f093ad2f023a9802b754d | [
"MIT"
] | null | null | null | Proyecto/Proyecto.py | rinicro/Machine-Learning-and-Big-Data | b35899c13202d2102a0f093ad2f023a9802b754d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
Proyecto de la asignatura Aprendizaje Automático y Big Data
Rubén Ruperto Díaz y Rafael Herrera Troca
'''
import os
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from matplotlib import cm
from mpl_toolkits.axes_grid1 import make_axes_locatable
from sklearn.model_s... | 36.974273 | 78 | 0.671305 | 4,997 | 33,055 | 4.405243 | 0.093056 | 0.026166 | 0.034525 | 0.022896 | 0.826284 | 0.807568 | 0.781902 | 0.76682 | 0.760187 | 0.75201 | 0 | 0.025733 | 0.171169 | 33,055 | 894 | 79 | 36.974273 | 0.777749 | 0.148692 | 0 | 0.72144 | 0 | 0 | 0.16103 | 0.007384 | 0 | 0 | 0 | 0.001119 | 0 | 1 | 0.018779 | false | 0 | 0.017214 | 0.00313 | 0.054773 | 0.051643 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
99b72555af1ec8fd32d9e2e95828039325e59a49 | 182 | py | Python | zeeguu_core/util/__init__.py | simonchristensen1/Zeeguu-Core | 76f0e4a73676e00e6023ccbb2017210982670da2 | [
"MIT"
] | 1 | 2018-03-22T12:29:49.000Z | 2018-03-22T12:29:49.000Z | zeeguu_core/util/__init__.py | simonchristensen1/Zeeguu-Core | 76f0e4a73676e00e6023ccbb2017210982670da2 | [
"MIT"
] | 82 | 2017-12-09T16:15:02.000Z | 2020-11-12T11:34:09.000Z | zeeguu_core/util/__init__.py | simonchristensen1/Zeeguu-Core | 76f0e4a73676e00e6023ccbb2017210982670da2 | [
"MIT"
] | 9 | 2017-11-25T11:32:05.000Z | 2020-10-26T15:50:13.000Z | #!/usr/bin/env python
# -*- coding: utf8 -*-
from zeeguu_core.util.encoding import JSONSerializable, encode, encode_error
from zeeguu_core.util.hash import text_hash, password_hash
| 30.333333 | 76 | 0.785714 | 26 | 182 | 5.307692 | 0.692308 | 0.144928 | 0.202899 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.104396 | 182 | 5 | 77 | 36.4 | 0.840491 | 0.225275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
99c4e0282647a2089375d952a0b32107dc39a844 | 1,504 | py | Python | onpolicy/envs/gridworld/gym_minigrid/envs/__init__.py | zoeyuchao/onpolicy-release | c2cb64e59c5b1f21cce022db76c378b396fd480e | [
"MIT"
] | 1 | 2021-07-04T08:08:30.000Z | 2021-07-04T08:08:30.000Z | onpolicy/envs/gridworld/gym_minigrid/envs/__init__.py | zoeyuchao/onpolicy-release | c2cb64e59c5b1f21cce022db76c378b396fd480e | [
"MIT"
] | 1 | 2021-06-11T15:28:11.000Z | 2021-06-11T15:28:11.000Z | onpolicy/envs/gridworld/gym_minigrid/envs/__init__.py | zoeyuchao/onpolicy-release | c2cb64e59c5b1f21cce022db76c378b396fd480e | [
"MIT"
] | 1 | 2021-05-17T02:00:18.000Z | 2021-05-17T02:00:18.000Z | # from onpolicy.envs.gridworld.gym_minigrid.envs.empty import *
# from onpolicy.envs.gridworld.gym_minigrid.envs.doorkey import *
# from onpolicy.envs.gridworld.gym_minigrid.envs.multiroom import *
# from onpolicy.envs.gridworld.gym_minigrid.envs.fetch import *
# from onpolicy.envs.gridworld.gym_minigrid.envs.gotoobjec... | 65.391304 | 77 | 0.825798 | 199 | 1,504 | 6.125628 | 0.150754 | 0.216571 | 0.288761 | 0.45119 | 0.825267 | 0.825267 | 0.825267 | 0.792453 | 0 | 0 | 0 | 0.000717 | 0.072473 | 1,504 | 22 | 78 | 68.363636 | 0.873118 | 0.930186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
820228c2b3dc4560ff7fe393c06d5f2587692064 | 78 | py | Python | priors/__init__.py | holarchy/Holon | 2a557b300bce10fb2c2ab85a1db4bdfd5df470aa | [
"MIT"
] | null | null | null | priors/__init__.py | holarchy/Holon | 2a557b300bce10fb2c2ab85a1db4bdfd5df470aa | [
"MIT"
] | null | null | null | priors/__init__.py | holarchy/Holon | 2a557b300bce10fb2c2ab85a1db4bdfd5df470aa | [
"MIT"
] | null | null | null | from .priors import make_prior_from_df
from .process_priors import make_priors | 39 | 39 | 0.884615 | 13 | 78 | 4.923077 | 0.538462 | 0.375 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 2 | 39 | 39 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8233c14e46066bd2dd38f93834735f4e146eae80 | 10,792 | py | Python | ui/AboutWidget.py | penglecn/ChiaTools | ca55de3e135c962d46eb821be975444b4654775b | [
"Apache-2.0"
] | 6 | 2021-07-01T21:30:44.000Z | 2022-03-25T01:35:41.000Z | ui/AboutWidget.py | penglecn/ChiaTools | ca55de3e135c962d46eb821be975444b4654775b | [
"Apache-2.0"
] | 1 | 2021-07-06T14:05:40.000Z | 2021-07-06T14:05:40.000Z | ui/AboutWidget.py | pengbeicn/ChiaTools | ca55de3e135c962d46eb821be975444b4654775b | [
"Apache-2.0"
] | 3 | 2021-05-07T10:01:18.000Z | 2021-05-21T08:38:45.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:\Users\peng\Desktop\chia-tools\ui\AboutWidget.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are... | 124.045977 | 375 | 0.706727 | 1,637 | 10,792 | 4.651802 | 0.130727 | 0.127643 | 0.064609 | 0.085095 | 0.739724 | 0.736967 | 0.730401 | 0.726986 | 0.71044 | 0.707814 | 0 | 0.04555 | 0.074407 | 10,792 | 86 | 376 | 125.488372 | 0.716788 | 0.02891 | 0 | 0.125 | 1 | 0.083333 | 0.239878 | 0.046314 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.069444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
415cd5d07e99c136c58aa3d0c29a0afa95376834 | 1,788 | py | Python | scgv/tests/test_multiplier_error.py | lchorbadjiev/SCGV | 7b2fd1fbada7bea49166e37bcb82bd742617fe51 | [
"MIT"
] | 8 | 2017-03-31T19:55:36.000Z | 2021-01-22T09:11:40.000Z | scgv/tests/test_multiplier_error.py | lchorbadjiev/SCGV | 7b2fd1fbada7bea49166e37bcb82bd742617fe51 | [
"MIT"
] | null | null | null | scgv/tests/test_multiplier_error.py | lchorbadjiev/SCGV | 7b2fd1fbada7bea49166e37bcb82bd742617fe51 | [
"MIT"
] | 2 | 2019-06-11T09:07:01.000Z | 2020-09-25T02:30:22.000Z | '''
Created on Jan 4, 2017
@author: lubo
'''
import numpy as np
import pytest
from scgv.views.sample import SamplesViewer
def test_multiplier(model_fixture):
sample = SamplesViewer(model_fixture)
assert sample is not None
sample_name = 'CJA5294'
assert sample_name in model_fixture.column_labels
... | 25.183099 | 75 | 0.704139 | 253 | 1,788 | 4.73913 | 0.205534 | 0.200167 | 0.1201 | 0.160133 | 0.874896 | 0.874896 | 0.874896 | 0.864053 | 0.864053 | 0.81568 | 0 | 0.038408 | 0.199105 | 1,788 | 70 | 76 | 25.542857 | 0.798883 | 0.020694 | 0 | 0.780488 | 0 | 0 | 0.008032 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 1 | 0.097561 | false | 0 | 0.073171 | 0 | 0.170732 | 0.04878 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 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 | 9 |
41721690f81f9421260c4b33695f76b8360119c3 | 7,112 | py | Python | calcparser.py | kentdlee/GenComp | 084da463b00557b4e0181c1a8c8d1554b4c7b2fb | [
"MIT"
] | 2 | 2020-03-03T03:29:56.000Z | 2020-06-09T03:13:10.000Z | calcparser.py | kentdlee/GenComp | 084da463b00557b4e0181c1a8c8d1554b4c7b2fb | [
"MIT"
] | null | null | null | calcparser.py | kentdlee/GenComp | 084da463b00557b4e0181c1a8c8d1554b4c7b2fb | [
"MIT"
] | null | null | null | from calcbackend import *
from genparser import *
class calcParser(Parser):
def __init__(self):
super().__init__({0: LR0State(0,frozenset({LR0Item(0,Production(0,11,[12, 10],'Prog'),0,set()), LR0Item(2,Production(2,12,[],'None'),0,{0, 1, 7, 8, 10}), LR0Item(1,Production(1,12,[12, 13, 9],'None'),0,set())}),{12: 1},F... | 711.2 | 6,958 | 0.604331 | 1,360 | 7,112 | 3.154412 | 0.045588 | 0.13986 | 0.117949 | 0.054545 | 0.796737 | 0.758974 | 0.72331 | 0.68648 | 0.612821 | 0.570163 | 0 | 0.186752 | 0.059618 | 7,112 | 9 | 6,959 | 790.222222 | 0.454695 | 0 | 0 | 0 | 0 | 0 | 0.142014 | 0.024747 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
6b644ee301a53a04062058ddfbb47b61b78cb41e | 607 | py | Python | accounts/models.py | mugagambi/retail-system | 82bd9f243836aadee001fa7f17d1d93441214aa8 | [
"MIT"
] | 1 | 2019-10-08T13:53:49.000Z | 2019-10-08T13:53:49.000Z | accounts/models.py | mugagambi/retail-system | 82bd9f243836aadee001fa7f17d1d93441214aa8 | [
"MIT"
] | null | null | null | accounts/models.py | mugagambi/retail-system | 82bd9f243836aadee001fa7f17d1d93441214aa8 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils import timezone
# Create your models here.
class IncomeAccount(models.Model):
name = models.CharField(max_length=100)
amount = models.DecimalField(max_digits=15, decimal_places=2)
created_at = models.DateTimeField(default=timezone.now)
def __str__(self):... | 27.590909 | 65 | 0.744646 | 78 | 607 | 5.589744 | 0.448718 | 0.045872 | 0.068807 | 0.09633 | 0.738532 | 0.738532 | 0.738532 | 0.738532 | 0.738532 | 0.738532 | 0 | 0.023622 | 0.163097 | 607 | 21 | 66 | 28.904762 | 0.834646 | 0.039539 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 1 | 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 | 1 | 1 | 0 | 0 | 8 |
6bf74296fa6be1435a27cc694b5427076bfca326 | 774 | py | Python | core/apps/kubeops_api/models/item_resource.py | r4b3rt/KubeOperator | 1fef19816ada64d8b25f87a5e3356ea5f161d7e5 | [
"Apache-2.0"
] | 3 | 2020-04-05T04:53:24.000Z | 2020-04-05T04:53:34.000Z | core/apps/kubeops_api/models/item_resource.py | r4b3rt/KubeOperator | 1fef19816ada64d8b25f87a5e3356ea5f161d7e5 | [
"Apache-2.0"
] | 27 | 2021-05-05T02:51:26.000Z | 2022-01-04T21:30:21.000Z | core/apps/kubeops_api/models/item_resource.py | r4b3rt/KubeOperator | 1fef19816ada64d8b25f87a5e3356ea5f161d7e5 | [
"Apache-2.0"
] | 1 | 2020-07-06T04:53:51.000Z | 2020-07-06T04:53:51.000Z | import uuid
from django.db import models
__all__ = ["ItemResource"]
class ItemResource(models.Model):
RESOURCE_TYPE_CLUSTER = 'CLUSTER'
RESOURCE_TYPE_HOST = 'HOST'
RESOURCE_TYPE_PLAN = 'PLAN'
RESOURCE_TYPE_BACKUP_STORAGE = 'BACKUP_STORAGE'
RESOURCE_TYPE_STORAGE = 'STORAGE'
RESOURCE_TYPE_CHO... | 28.666667 | 81 | 0.723514 | 91 | 774 | 5.736264 | 0.307692 | 0.298851 | 0.109195 | 0.099617 | 0.701149 | 0.701149 | 0.701149 | 0.701149 | 0.701149 | 0.701149 | 0 | 0.015625 | 0.173127 | 774 | 26 | 82 | 29.769231 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.108668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
d445986ab273203a10192235933257890754de6d | 11,577 | py | Python | src/openprocurement/tender/core/procedure/models/auction.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 10 | 2020-02-18T01:56:21.000Z | 2022-03-28T00:32:57.000Z | src/openprocurement/tender/core/procedure/models/auction.py | quintagroup/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 26 | 2018-07-16T09:30:44.000Z | 2021-02-02T17:51:30.000Z | src/openprocurement/tender/core/procedure/models/auction.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 15 | 2019-08-08T10:50:47.000Z | 2022-02-05T14:13:36.000Z | from openprocurement.tender.core.procedure.models.base import Model, ListType, ModelType
from openprocurement.tender.core.procedure.context import get_request, get_tender
from openprocurement.api.models import IsoDateTimeType
from schematics.exceptions import ValidationError
from schematics.types import URLType, MD5Typ... | 43.197761 | 114 | 0.60171 | 1,389 | 11,577 | 4.901368 | 0.11951 | 0.020564 | 0.026439 | 0.025118 | 0.79671 | 0.761604 | 0.727673 | 0.727673 | 0.720182 | 0.701087 | 0 | 0.002136 | 0.31243 | 11,577 | 267 | 115 | 43.359551 | 0.853141 | 0.220264 | 0 | 0.710843 | 0 | 0 | 0.129303 | 0 | 0 | 0 | 0 | 0.003745 | 0 | 1 | 0.03012 | false | 0.126506 | 0.036145 | 0 | 0.36747 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d44e2233c193afbe9a42b253be5890048de0cc5d | 1,800 | py | Python | algorithm7.py | kipkat/AMSTK7 | 3c82053e8033eaac265d99fe961d2c3db3ea3c71 | [
"MIT"
] | null | null | null | algorithm7.py | kipkat/AMSTK7 | 3c82053e8033eaac265d99fe961d2c3db3ea3c71 | [
"MIT"
] | null | null | null | algorithm7.py | kipkat/AMSTK7 | 3c82053e8033eaac265d99fe961d2c3db3ea3c71 | [
"MIT"
] | null | null | null | import random as nature
def amstk7(s: str, chars: int = 64):
seed = len(s)
leg = len(s)
e = ''
for x in s:
asc = ord(x)
seed += asc
e += chr(asc * leg * len(str(asc)) % 26 + 65)
e += str((asc * 3 * leg + 42 * len(str(asc))) % 10 + len(e))
for x in e:
asc = or... | 29.508197 | 80 | 0.488333 | 294 | 1,800 | 2.928571 | 0.139456 | 0.083624 | 0.083624 | 0.03252 | 0.840883 | 0.840883 | 0.836237 | 0.836237 | 0.836237 | 0.836237 | 0 | 0.056106 | 0.326667 | 1,800 | 60 | 81 | 30 | 0.65429 | 0 | 0 | 0.8 | 0 | 0 | 0.006667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.018182 | 0 | 0.127273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d46dde59c40b21daf8053344583db83375c83c90 | 294 | py | Python | HOZO/hozo/__init__.py | jsgubin/HOZOG | cae6ac386d1b43c70d269e47e10ba4a4ac7aed4a | [
"MIT"
] | 4 | 2021-04-19T21:01:56.000Z | 2021-09-05T06:54:47.000Z | HOZO/hozo/__init__.py | jsgubin/HOZOG | cae6ac386d1b43c70d269e47e10ba4a4ac7aed4a | [
"MIT"
] | 1 | 2022-01-24T21:32:42.000Z | 2022-01-24T21:32:42.000Z | HOZO/hozo/__init__.py | jsgubin/HOZOG | cae6ac386d1b43c70d269e47e10ba4a4ac7aed4a | [
"MIT"
] | null | null | null | from hozo.logistic import *
from hozo.utils import *
from hozo.hozo import *
# from hozo.datasets import Dataset, Datasets
from hozo.models import *
from hozo.data_hyper_cleaning_ho import *
from hozo.data_hyper_cleaning_bo import *
from hozo.ZOG import *
from hozo.data_cleaning_model import * | 32.666667 | 45 | 0.809524 | 46 | 294 | 5 | 0.326087 | 0.313043 | 0.426087 | 0.234783 | 0.269565 | 0.269565 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12585 | 294 | 9 | 46 | 32.666667 | 0.894942 | 0.146259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d476076839bc5f4132bbb9b8507dafd40035d591 | 116 | py | Python | policy_driven_attack/policy/imagenet/__init__.py | machanic/TangentAttack | 17c1a8e93f9bbd03e209e8650631af744a0ff6b8 | [
"Apache-2.0"
] | 4 | 2021-11-12T04:06:32.000Z | 2022-01-27T09:01:41.000Z | policy_driven_attack/policy/imagenet/__init__.py | machanic/TangentAttack | 17c1a8e93f9bbd03e209e8650631af744a0ff6b8 | [
"Apache-2.0"
] | 1 | 2022-02-22T14:00:59.000Z | 2022-02-25T08:57:29.000Z | policy_driven_attack/policy/imagenet/__init__.py | machanic/TangentAttack | 17c1a8e93f9bbd03e209e8650631af744a0ff6b8 | [
"Apache-2.0"
] | null | null | null | from policy_driven_attack.policy.imagenet.empty import *
from policy_driven_attack.policy.imagenet.vgg_inv import *
| 38.666667 | 58 | 0.862069 | 17 | 116 | 5.588235 | 0.529412 | 0.210526 | 0.336842 | 0.463158 | 0.757895 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 116 | 2 | 59 | 58 | 0.87963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
d477f7bb49ff7acd2594eb383b9133fc9dacd4e6 | 178 | py | Python | Configuration/StandardSequences/python/FrontierConditions_GlobalTag_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Configuration/StandardSequences/python/FrontierConditions_GlobalTag_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Configuration/StandardSequences/python/FrontierConditions_GlobalTag_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Configuration.StandardSequences.CondDBESSource_cff import *
from Configuration.StandardSequences.AdditionalConditions_cff import *
| 35.6 | 70 | 0.882022 | 18 | 178 | 8.611111 | 0.666667 | 0.219355 | 0.43871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073034 | 178 | 4 | 71 | 44.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
5ceb2c5bf2d4c18dd016e1dfa1274031ff035037 | 54 | py | Python | cv19gm/models/__init__.py | DLab/covid19geomodeller | a3a9eedf064078b21be0928ee41b41c902938eff | [
"MIT"
] | null | null | null | cv19gm/models/__init__.py | DLab/covid19geomodeller | a3a9eedf064078b21be0928ee41b41c902938eff | [
"MIT"
] | null | null | null | cv19gm/models/__init__.py | DLab/covid19geomodeller | a3a9eedf064078b21be0928ee41b41c902938eff | [
"MIT"
] | null | null | null | import cv19gm.models.seir
import cv19gm.models.seirhvd | 27 | 28 | 0.87037 | 8 | 54 | 5.875 | 0.625 | 0.510638 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0.055556 | 54 | 2 | 28 | 27 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d8fe5f4663457bac94156103b7110322cbe61db7 | 101 | py | Python | src/kidmaya/core/__init__.py | KidKaboom/Kid-Maya-2022 | 0daec301a63438d681cc4c3a5df6d4efdc70daef | [
"MIT"
] | null | null | null | src/kidmaya/core/__init__.py | KidKaboom/Kid-Maya-2022 | 0daec301a63438d681cc4c3a5df6d4efdc70daef | [
"MIT"
] | null | null | null | src/kidmaya/core/__init__.py | KidKaboom/Kid-Maya-2022 | 0daec301a63438d681cc4c3a5df6d4efdc70daef | [
"MIT"
] | null | null | null | # :coding: utf-8
from kidmaya.core.kmcommand import KMCommand
from kidmaya.core.kmtool import KMTool
| 25.25 | 44 | 0.811881 | 15 | 101 | 5.466667 | 0.6 | 0.268293 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.108911 | 101 | 3 | 45 | 33.666667 | 0.9 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
996d710cba1b717ed5a682ad2c0ddbb9b26bc8c9 | 28,336 | py | Python | skidl/libs/digital-audio_sklib.py | arjenroodselaar/skidl | 0bf801bd3b74e6ef94bd9aa1b68eef756b568276 | [
"MIT"
] | 700 | 2016-08-16T21:12:50.000Z | 2021-10-10T02:15:18.000Z | skidl/libs/digital-audio_sklib.py | 0dvictor/skidl | 458709a10b28a864d25ae2c2b44c6103d4ddb291 | [
"MIT"
] | 118 | 2016-08-16T20:51:05.000Z | 2021-10-10T08:07:18.000Z | skidl/libs/digital-audio_sklib.py | 0dvictor/skidl | 458709a10b28a864d25ae2c2b44c6103d4ddb291 | [
"MIT"
] | 94 | 2016-08-25T14:02:28.000Z | 2021-09-12T05:17:08.000Z | from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib
SKIDL_lib_version = '0.0.1'
digital_audio = SchLib(tool=SKIDL).add_parts(*[
Part(name='AK5392VS',dest=TEMPLATE,tool=SKIDL,keywords='24bit Sigma Delta Audio ADC 2ch',description='AK5392-VS, Enhanced Audio ADC, 2 channels Sigma Delta, 24bit, SO28',ref_prefix=... | 65.290323 | 279 | 0.575381 | 4,597 | 28,336 | 3.444855 | 0.078965 | 0.135135 | 0.243243 | 0.301591 | 0.919045 | 0.895491 | 0.892587 | 0.741791 | 0.649533 | 0.634819 | 0 | 0.043797 | 0.200663 | 28,336 | 433 | 280 | 65.441109 | 0.655364 | 0 | 0 | 0.25522 | 0 | 0 | 0.146633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058005 | 0.00232 | 0 | 0.00232 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
41ed60e84a632411c07868017be83cda11679005 | 66,870 | py | Python | silver/migrations/0001_initial.py | atkinsond/silver | 7e88db324ea7380dbc1b03cf18911a614a51e2b3 | [
"Apache-2.0"
] | null | null | null | silver/migrations/0001_initial.py | atkinsond/silver | 7e88db324ea7380dbc1b03cf18911a614a51e2b3 | [
"Apache-2.0"
] | null | null | null | silver/migrations/0001_initial.py | atkinsond/silver | 7e88db324ea7380dbc1b03cf18911a614a51e2b3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-06-18 06:25
from __future__ import unicode_literals
import annoying.fields
from decimal import Decimal
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import django_fsm
imp... | 182.207084 | 5,858 | 0.590459 | 7,978 | 66,870 | 4.893081 | 0.161319 | 0.017291 | 0.009017 | 0.0166 | 0.860645 | 0.834567 | 0.808771 | 0.79399 | 0.777442 | 0.761739 | 0 | 0.004627 | 0.162883 | 66,870 | 366 | 5,859 | 182.704918 | 0.692736 | 0.001032 | 0 | 0.48324 | 1 | 0.030726 | 0.500734 | 0.015405 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00838 | 0.039106 | 0 | 0.050279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
41fe8cbf83da61053b9d68cdeb3dd6d38bcc9877 | 16,872 | py | Python | tb_api_client/swagger_client/apis/tenant_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | 5 | 2017-11-27T15:48:16.000Z | 2020-09-21T04:18:47.000Z | tb_api_client/swagger_client/apis/tenant_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | null | null | null | tb_api_client/swagger_client/apis/tenant_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | 6 | 2018-01-14T17:23:46.000Z | 2019-06-24T13:38:54.000Z | # coding: utf-8
"""
Thingsboard REST API
For instructions how to authorize requests please visit <a href='http://thingsboard.io/docs/reference/rest-api/'>REST API documentation page</a>.
OpenAPI spec version: 2.0
Contact: info@thingsboard.io
Generated by: https://github.com/swagger-api/swagger-co... | 38.965358 | 149 | 0.556543 | 1,742 | 16,872 | 5.1062 | 0.097589 | 0.026981 | 0.025183 | 0.032378 | 0.892974 | 0.875773 | 0.8543 | 0.83294 | 0.824845 | 0.810343 | 0 | 0.000462 | 0.358938 | 16,872 | 432 | 150 | 39.055556 | 0.82193 | 0.031413 | 0 | 0.737778 | 0 | 0 | 0.158259 | 0.043263 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026667 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5119e9e1bf0c97f24b4d156355297e70ff282020 | 18,504 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/mpls/signaling_protocols/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/mpls/signaling_protocols/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/mpls/signaling_protocols/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 39.708155 | 404 | 0.619758 | 1,976 | 18,504 | 5.544534 | 0.091093 | 0.038335 | 0.043447 | 0.050931 | 0.965772 | 0.945966 | 0.945966 | 0.945966 | 0.945966 | 0.945966 | 0 | 0.00137 | 0.289775 | 18,504 | 465 | 405 | 39.793548 | 0.832293 | 0.194066 | 0 | 0.866279 | 0 | 0.011628 | 0.24191 | 0.078149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.055233 | 0 | 0.165698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5140071a8ad46404186cee1d2f6c448428abfa12 | 2,417 | py | Python | S4/S4 Library/simulation/server_commands/video_commands.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/server_commands/video_commands.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/server_commands/video_commands.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from objects.components import types
import objects
import services
import sims4.commands
@sims4.commands.Command('video.object_info')
def get_video_object_info(obj_id:int, _connection=None):
manager = services.object_manager()
obj = None
if obj_id in manager:
obj = manager.get(obj_id)
else:
... | 43.945455 | 108 | 0.675217 | 320 | 2,417 | 4.840625 | 0.146875 | 0.13428 | 0.147192 | 0.145255 | 0.88315 | 0.88315 | 0.870884 | 0.870884 | 0.870884 | 0.870884 | 0 | 0.008381 | 0.210178 | 2,417 | 54 | 109 | 44.759259 | 0.803038 | 0 | 0 | 0.745098 | 0 | 0 | 0.17501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.078431 | 0 | 0.137255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5aead2bb7acb0edf5fb4880fe085e737776e4cf7 | 1,548 | py | Python | runner/tests/run/json/test_json.py | PC-Trip/runner | e13291e25a2bc2962523a1de2d13725609497cb5 | [
"MIT"
] | null | null | null | runner/tests/run/json/test_json.py | PC-Trip/runner | e13291e25a2bc2962523a1de2d13725609497cb5 | [
"MIT"
] | null | null | null | runner/tests/run/json/test_json.py | PC-Trip/runner | e13291e25a2bc2962523a1de2d13725609497cb5 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.parametrize("run", ["sequence.json"], indirect=True)
def test_sequence(run):
assert run == 0
@pytest.mark.parametrize("run", ["thread.json"], indirect=True)
def test_thread(run):
assert run == 0
@pytest.mark.parametrize("run", ["process.json"], indirect=True)
def test_process(ru... | 24.967742 | 87 | 0.72739 | 214 | 1,548 | 5.056075 | 0.088785 | 0.110906 | 0.232902 | 0.266174 | 0.928835 | 0.886322 | 0.831793 | 0.777264 | 0.5878 | 0.5 | 0 | 0.008785 | 0.117571 | 1,548 | 61 | 88 | 25.377049 | 0.783309 | 0 | 0 | 0.324324 | 0 | 0 | 0.185401 | 0.110465 | 0 | 0 | 0 | 0 | 0.324324 | 1 | 0.324324 | false | 0 | 0.027027 | 0 | 0.351351 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5175e60c7f1183ee1d14456eeb409ef841bebe39 | 10,182 | py | Python | heat/tests/test_stack_lock.py | redhat-openstack/heat | 6b9be0a868b857e942c1cc90594d0f3a0d0725d0 | [
"Apache-2.0"
] | null | null | null | heat/tests/test_stack_lock.py | redhat-openstack/heat | 6b9be0a868b857e942c1cc90594d0f3a0d0725d0 | [
"Apache-2.0"
] | null | null | null | heat/tests/test_stack_lock.py | redhat-openstack/heat | 6b9be0a868b857e942c1cc90594d0f3a0d0725d0 | [
"Apache-2.0"
] | null | null | null | #
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | 43.32766 | 78 | 0.698095 | 1,348 | 10,182 | 4.989614 | 0.119436 | 0.092328 | 0.074338 | 0.104074 | 0.822777 | 0.822777 | 0.821588 | 0.815343 | 0.804639 | 0.804639 | 0 | 0.004082 | 0.20605 | 10,182 | 234 | 79 | 43.512821 | 0.827932 | 0.053624 | 0 | 0.715909 | 0 | 0 | 0.056757 | 0.003742 | 0 | 0 | 0 | 0 | 0.147727 | 1 | 0.113636 | false | 0.005682 | 0.039773 | 0 | 0.164773 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
51772a9f4c6eed51a4a91106905aeb0e434a8422 | 166 | py | Python | accounts/views.py | meiordac/eCommerce | 0efce9ebf5ecb55378890445b0bed16c07613121 | [
"MIT"
] | 2 | 2017-01-13T12:39:18.000Z | 2020-05-28T21:27:26.000Z | accounts/views.py | meiordac/eCommerce | 0efce9ebf5ecb55378890445b0bed16c07613121 | [
"MIT"
] | 1 | 2020-05-28T21:31:14.000Z | 2020-05-28T21:31:14.000Z | accounts/views.py | meiordac/eCommerce | 0efce9ebf5ecb55378890445b0bed16c07613121 | [
"MIT"
] | 1 | 2017-10-16T08:30:59.000Z | 2017-10-16T08:30:59.000Z | from django.shortcuts import render
def login(request):
return render(request, 'login.html')
def logout(request):
return render(request, 'logout.html')
| 20.75 | 41 | 0.716867 | 21 | 166 | 5.666667 | 0.52381 | 0.218487 | 0.319328 | 0.436975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 166 | 8 | 42 | 20.75 | 0.862319 | 0 | 0 | 0 | 0 | 0 | 0.125749 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
51d956f2e81e99145eecf963abe0ebaf17acc9ae | 18,174 | py | Python | ajuste-bayes_mcmc.py | jpacuna99/AcunaJuan_ejercicio07 | 1a68387a25ed42aa31997a46b7d9b9d70481457f | [
"MIT"
] | null | null | null | ajuste-bayes_mcmc.py | jpacuna99/AcunaJuan_ejercicio07 | 1a68387a25ed42aa31997a46b7d9b9d70481457f | [
"MIT"
] | null | null | null | ajuste-bayes_mcmc.py | jpacuna99/AcunaJuan_ejercicio07 | 1a68387a25ed42aa31997a46b7d9b9d70481457f | [
"MIT"
] | null | null | null | {
"cells": [
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[[ 0.20107669 0.29543058 -0.16135565 -0.26139101 0.21345801]]\n",
"[ 0.20107669 0.29543058 -0.16135565 -0.26139101 0.21345801]... | 77.666667 | 3,344 | 0.671069 | 2,767 | 18,174 | 4.383809 | 0.127936 | 0.209481 | 0.329431 | 0.227205 | 0.559852 | 0.543446 | 0.534048 | 0.526628 | 0.509481 | 0.507007 | 0 | 0.259407 | 0.115275 | 18,174 | 233 | 3,345 | 78 | 0.494993 | 0 | 0 | 0.381974 | 0 | 0.060086 | 0.739353 | 0.564103 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.008584 | 0 | 0.008584 | 0.012876 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
51efc0d579439f913806f46824ac9f38aeda1fb9 | 472 | py | Python | narwhallet/core/kcl/bip_utils/bip44/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | 3 | 2021-12-29T11:25:13.000Z | 2022-01-16T13:57:17.000Z | narwhallet/core/kcl/bip_utils/bip44/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | null | null | null | narwhallet/core/kcl/bip_utils/bip44/__init__.py | Snider/narwhallet | 0d528763c735f1e68b8264e302854d41e7cf1956 | [
"MIT"
] | 1 | 2022-01-16T13:57:20.000Z | 2022-01-16T13:57:20.000Z | from narwhallet.core.kcl.bip_utils.bip44.bip44_base_ex import Bip44DepthError, Bip44CoinNotAllowedError
from narwhallet.core.kcl.bip_utils.bip44.bip44_base import Bip44Changes, Bip44Coins, Bip44Levels
from narwhallet.core.kcl.bip_utils.bip44.bip44_keys import Bip44PublicKey, Bip44PrivateKey
from narwhallet.core.kcl.bip... | 67.428571 | 103 | 0.868644 | 68 | 472 | 5.882353 | 0.294118 | 0.21 | 0.27 | 0.315 | 0.58 | 0.58 | 0.58 | 0.41 | 0.215 | 0 | 0 | 0.099099 | 0.059322 | 472 | 6 | 104 | 78.666667 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5c508fac9b57431d3270a882b9e47454f2cdd279 | 3,937 | py | Python | resources/test_cases/python/cryptography/TestRule5.py | stg-tud/licma | b899e6e682f7716d19e79d6ce7b73c28c6efd4cf | [
"MIT"
] | 5 | 2021-09-13T11:24:13.000Z | 2022-03-18T21:56:58.000Z | resources/test_cases/python/cryptography/TestRule5.py | stg-tud/licma | b899e6e682f7716d19e79d6ce7b73c28c6efd4cf | [
"MIT"
] | null | null | null | resources/test_cases/python/cryptography/TestRule5.py | stg-tud/licma | b899e6e682f7716d19e79d6ce7b73c28c6efd4cf | [
"MIT"
] | 1 | 2021-09-13T06:02:20.000Z | 2021-09-13T06:02:20.000Z | from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
g_backend = default_backend()
g_count = 999
def p_example1_hard_code... | 36.453704 | 115 | 0.745999 | 505 | 3,937 | 5.633663 | 0.136634 | 0.050615 | 0.089631 | 0.078735 | 0.814763 | 0.8 | 0.8 | 0.795079 | 0.77188 | 0.74587 | 0 | 0.045858 | 0.141478 | 3,937 | 107 | 116 | 36.794393 | 0.795858 | 0 | 0 | 0.653333 | 0 | 0 | 0.016256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146667 | false | 0.293333 | 0.053333 | 0.013333 | 0.346667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
5c8fc229e2d0019f171db64ae70c454b317fe8d2 | 125 | py | Python | utils.py | alan-toledo/Python-Unit-Testing | 46acc2478faa2ed2a5932e54ad04c0cf57d62994 | [
"MIT"
] | null | null | null | utils.py | alan-toledo/Python-Unit-Testing | 46acc2478faa2ed2a5932e54ad04c0cf57d62994 | [
"MIT"
] | null | null | null | utils.py | alan-toledo/Python-Unit-Testing | 46acc2478faa2ed2a5932e54ad04c0cf57d62994 | [
"MIT"
] | null | null | null | def get_max(lst):
return max(lst)
def get_min(lst):
return min(lst)
def get_avg(lst):
return sum(lst)/len(lst)
| 13.888889 | 28 | 0.648 | 23 | 125 | 3.391304 | 0.391304 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208 | 125 | 8 | 29 | 15.625 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
5ccc75b28d5f875889435a942aaa0332ca4aa288 | 16,914 | py | Python | tests/unit/test_FlowEntryManager.py | aristanetworks/DirectFlowAssist | 16c594cb42edd8aa084c6dbb931c87bbdff81ed0 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_FlowEntryManager.py | aristanetworks/DirectFlowAssist | 16c594cb42edd8aa084c6dbb931c87bbdff81ed0 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_FlowEntryManager.py | aristanetworks/DirectFlowAssist | 16c594cb42edd8aa084c6dbb931c87bbdff81ed0 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2015 Arista Networks, Inc. All rights reserved.
# Arista Networks, Inc. Confidential and Proprietary.
#
# pylint: disable = line-too-long
import sys
# sys.path.extend(['../..','../../persist_common', '../../persist_pan'])
import unittest
import logging
import config
from mock import Mock, patch
fro... | 32.906615 | 91 | 0.523826 | 1,813 | 16,914 | 4.740761 | 0.100386 | 0.100524 | 0.100524 | 0.0726 | 0.881326 | 0.838045 | 0.827691 | 0.822804 | 0.81943 | 0.816638 | 0 | 0.126017 | 0.2803 | 16,914 | 513 | 92 | 32.97076 | 0.580054 | 0.016613 | 0 | 0.841996 | 0 | 0 | 0.40616 | 0.044514 | 0 | 0 | 0 | 0 | 0.018711 | 0 | null | null | 0.064449 | 0.012474 | null | null | 0.006237 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
7a3adbaad7e28ae93b1ec2a400dbd5d1bee5d910 | 992 | py | Python | L1TriggerConfig/L1GtConfigProducers/python/L1GtConfig_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | L1TriggerConfig/L1GtConfigProducers/python/L1GtConfig_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | L1TriggerConfig/L1GtConfigProducers/python/L1GtConfig_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# cff file grouping all the L1 GT parameters
from L1TriggerConfig.L1GtConfigProducers.L1GtStableParametersConfig_cff import *
from L1TriggerConfig.L1GtConfigProducers.L1GtParametersConfig_cff import *
#
from L1TriggerConfig.L1GtConfigProducers.L1GtPrescaleFactorsAlgoTrigConfig_... | 49.6 | 87 | 0.899194 | 80 | 992 | 11.0125 | 0.35 | 0.23723 | 0.474461 | 0.317821 | 0.533485 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036598 | 0.063508 | 992 | 19 | 88 | 52.210526 | 0.911733 | 0.042339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7a44161420fbacd17e57d54a09570c3816d91bdb | 13,632 | py | Python | PhysicsTools/PatAlgos/python/triggerLayer1/triggerMatcherExamples_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | PhysicsTools/PatAlgos/python/triggerLayer1/triggerMatcherExamples_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | PhysicsTools/PatAlgos/python/triggerLayer1/triggerMatcherExamples_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# Examples for configurations of the trigger match for various physics objects
#
# A detailed description is given in
# https://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePATTrigger#PATTriggerMatcher
# Cuts on the parameters
# - 'maxDPtRel' and
# - 'maxDeltaR'
# are NOT tuned (usi... | 68.502513 | 2,144 | 0.723958 | 1,478 | 13,632 | 6.508796 | 0.140054 | 0.047297 | 0.037422 | 0.022869 | 0.818815 | 0.777547 | 0.752911 | 0.718919 | 0.70894 | 0.616216 | 0 | 0.043288 | 0.17811 | 13,632 | 198 | 2,145 | 68.848485 | 0.815334 | 0.314407 | 0 | 0.557692 | 0 | 0.00641 | 0.395941 | 0.248813 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00641 | 0 | 0.00641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7a9aa6095ee0985cf37765c882f902abec0f302c | 24,592 | py | Python | sdk/python/pulumi_snowflake/pipe.py | Hacker0x01/pulumi-snowflake | f6ebcf2c3f73b103a7c2001fae231998ce1323b2 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2021-07-01T17:03:33.000Z | 2022-03-01T19:29:04.000Z | sdk/python/pulumi_snowflake/pipe.py | Hacker0x01/pulumi-snowflake | f6ebcf2c3f73b103a7c2001fae231998ce1323b2 | [
"ECL-2.0",
"Apache-2.0"
] | 102 | 2021-07-14T13:12:58.000Z | 2022-03-31T18:34:04.000Z | sdk/python/pulumi_snowflake/pipe.py | Hacker0x01/pulumi-snowflake | f6ebcf2c3f73b103a7c2001fae231998ce1323b2 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-03-25T07:24:45.000Z | 2022-03-25T07:24:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 41.331092 | 150 | 0.637565 | 2,934 | 24,592 | 5.13531 | 0.058623 | 0.0971 | 0.109644 | 0.10367 | 0.878675 | 0.854782 | 0.830026 | 0.802217 | 0.79558 | 0.767439 | 0 | 0.000439 | 0.259719 | 24,592 | 594 | 151 | 41.400673 | 0.82719 | 0.279644 | 0 | 0.738028 | 1 | 0 | 0.092044 | 0.001522 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16338 | false | 0.002817 | 0.014085 | 0 | 0.276056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8fb24d4688c7013dba9ee5ff51a0a8adde676d3d | 101 | py | Python | external/synth/tests/test__nudging.py | jacnugent/fv3net | 84958651bdd17784fdab98f87ad0d65414c03368 | [
"MIT"
] | 5 | 2021-03-20T22:42:40.000Z | 2021-06-30T18:39:36.000Z | external/synth/tests/test__nudging.py | jacnugent/fv3net | 84958651bdd17784fdab98f87ad0d65414c03368 | [
"MIT"
] | 195 | 2021-09-16T05:47:18.000Z | 2022-03-31T22:03:15.000Z | external/synth/tests/test__nudging.py | ai2cm/fv3net | e62038aee0a97d6207e66baabd8938467838cf51 | [
"MIT"
] | 1 | 2021-06-16T22:04:24.000Z | 2021-06-16T22:04:24.000Z | from synth import generate_nudging
def test_generate_nudging(tmpdir):
generate_nudging(tmpdir)
| 16.833333 | 34 | 0.821782 | 13 | 101 | 6.076923 | 0.615385 | 0.56962 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 5 | 35 | 20.2 | 0.897727 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
8fdbf4f9fb66c1fad6bd44e31e94f5e9bb50ae71 | 16,054 | py | Python | api/controller/toolchain_unittest.py | khromiumos/chromiumos-chromite | a42a85481cdd9d635dc40a04585e427f89f3bb3f | [
"BSD-3-Clause"
] | null | null | null | api/controller/toolchain_unittest.py | khromiumos/chromiumos-chromite | a42a85481cdd9d635dc40a04585e427f89f3bb3f | [
"BSD-3-Clause"
] | 2 | 2021-03-26T00:29:32.000Z | 2021-04-30T21:29:33.000Z | api/controller/toolchain_unittest.py | khromiumos/chromiumos-chromite | a42a85481cdd9d635dc40a04585e427f89f3bb3f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Unittests for Toolchain-related operations."""
from __future__ import print_function
from chromite.api import api_config
from... | 44.594444 | 80 | 0.704871 | 1,599 | 16,054 | 6.826141 | 0.124453 | 0.037288 | 0.036555 | 0.044251 | 0.831791 | 0.79322 | 0.786716 | 0.771232 | 0.727989 | 0.698672 | 0 | 0.005871 | 0.20431 | 16,054 | 359 | 81 | 44.718663 | 0.848599 | 0.070574 | 0 | 0.706485 | 0 | 0 | 0.064077 | 0.034129 | 0 | 0 | 0 | 0 | 0.109215 | 1 | 0.102389 | false | 0.006826 | 0.040956 | 0.003413 | 0.167235 | 0.003413 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8fe1ec688bc27e9ee174fbb1920bc715a998d9e2 | 25 | py | Python | src/auto_upload_demo_111/__init__.py | pganssle/auto_upload_demo_111 | ffae8901f47614603097bf0aaee312b937ff67d8 | [
"Apache-2.0"
] | null | null | null | src/auto_upload_demo_111/__init__.py | pganssle/auto_upload_demo_111 | ffae8901f47614603097bf0aaee312b937ff67d8 | [
"Apache-2.0"
] | null | null | null | src/auto_upload_demo_111/__init__.py | pganssle/auto_upload_demo_111 | ffae8901f47614603097bf0aaee312b937ff67d8 | [
"Apache-2.0"
] | null | null | null | def f():
return "⸘‽"
| 8.333333 | 15 | 0.4 | 4 | 25 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 25 | 2 | 16 | 12.5 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
8ffc85b1c763e1da7a637941d3b6cbd94ceb6985 | 157 | py | Python | pycozmo/audiokinetic/__init__.py | nalbion/pycozmo | 35ee1ea741ecf7a39affc38d4ff5ad17865fea16 | [
"MIT"
] | 123 | 2019-08-25T21:28:23.000Z | 2022-03-12T13:54:59.000Z | pycozmo/audiokinetic/__init__.py | nalbion/pycozmo | 35ee1ea741ecf7a39affc38d4ff5ad17865fea16 | [
"MIT"
] | 41 | 2019-08-25T21:21:37.000Z | 2022-02-09T14:20:54.000Z | pycozmo/audiokinetic/__init__.py | nalbion/pycozmo | 35ee1ea741ecf7a39affc38d4ff5ad17865fea16 | [
"MIT"
] | 51 | 2019-09-04T13:30:02.000Z | 2022-01-09T01:20:24.000Z |
from . import exception # noqa
from . import soundbank # noqa
from . import soundbanksinfo # noqa
from . import wem # noqa
| 26.166667 | 38 | 0.579618 | 16 | 157 | 5.6875 | 0.4375 | 0.43956 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.369427 | 157 | 5 | 39 | 31.4 | 0.919192 | 0.121019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8f24d5c899fb2de983bc6dca2b8e8ae64268780c | 285 | py | Python | zentral/contrib/osquery/views/__init__.py | gwhitehawk/zentral | 156134aed3d7ff8a7cb40ab6f2269a763c316459 | [
"Apache-2.0"
] | 1 | 2019-06-10T06:11:27.000Z | 2019-06-10T06:11:27.000Z | zentral/contrib/osquery/views/__init__.py | gwhitehawk/zentral | 156134aed3d7ff8a7cb40ab6f2269a763c316459 | [
"Apache-2.0"
] | null | null | null | zentral/contrib/osquery/views/__init__.py | gwhitehawk/zentral | 156134aed3d7ff8a7cb40ab6f2269a763c316459 | [
"Apache-2.0"
] | 1 | 2020-09-09T19:26:04.000Z | 2020-09-09T19:26:04.000Z | from .api import * # NOQA
from .osquery_compliance_probe import * # NOQA
from .osquery_distributed_query_probe import * # NOQA
from .osquery_file_carve_probe import * # NOQA
from .osquery_fim_probe import * # NOQA
from .osquery_probe import * # NOQA
from .setup import * # NOQA
| 35.625 | 54 | 0.754386 | 39 | 285 | 5.230769 | 0.333333 | 0.343137 | 0.411765 | 0.514706 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17193 | 285 | 7 | 55 | 40.714286 | 0.864407 | 0.119298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
56e2d95cd755eca2597617bb6dcb51e0b0cee69a | 4,955 | py | Python | pymtl3/stdlib/queues/test/valrdy_queues_test.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | null | null | null | pymtl3/stdlib/queues/test/valrdy_queues_test.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | null | null | null | pymtl3/stdlib/queues/test/valrdy_queues_test.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | null | null | null | from pymtl3 import *
from pymtl3.stdlib.ifcs import InValRdyIfc, OutValRdyIfc
from pymtl3.stdlib.test_utils import TestVectorSimulator
from ..valrdy_queues import *
def run_test_queue( model, test_vectors ):
# Define functions mapping the test vector to ports in model
def tv_in( model, tv ):
model.enq.val ... | 39.959677 | 65 | 0.50999 | 889 | 4,955 | 2.767154 | 0.091114 | 0.157317 | 0.146341 | 0.102439 | 0.769919 | 0.769512 | 0.766667 | 0.737805 | 0.732927 | 0.692276 | 0 | 0.255981 | 0.240767 | 4,955 | 123 | 66 | 40.284553 | 0.397927 | 0.129162 | 0 | 0.377778 | 0 | 0 | 0.004427 | 0 | 0 | 0 | 0.067102 | 0 | 0.033333 | 1 | 0.088889 | false | 0.022222 | 0.044444 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
56ef980519620ed2b2323698dcacc6c6d579e42b | 491 | py | Python | python/ql/src/Classes/MaybeUndefinedClassAttribute.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/src/Classes/MaybeUndefinedClassAttribute.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/src/Classes/MaybeUndefinedClassAttribute.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | class Spam:
def __init__(self):
self.spam = 'spam, spam, spam'
def set_eggs(eggs):
self.eggs = eggs
def __str__(self):
return '%s and %s' % (self.spam, self.eggs) # Maybe uninitialized attribute 'eggs'
#Fixed version
class Spam:
def __init__(self):
self.spam = 'spam... | 18.884615 | 90 | 0.572301 | 66 | 491 | 3.984848 | 0.272727 | 0.18251 | 0.18251 | 0.121673 | 0.78327 | 0.78327 | 0.78327 | 0.78327 | 0.78327 | 0.78327 | 0 | 0 | 0.299389 | 491 | 25 | 91 | 19.64 | 0.764535 | 0.105906 | 0 | 0.933333 | 0 | 0 | 0.115207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.133333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
56f86b642c8ab327dc906048df6e13350acbc852 | 2,394 | py | Python | userextensions/migrations/0005_auto_20201114_0548.py | davidslusser/django-userprofile | f98559f87a4759d8d6047c20a7b35b53ba25cf49 | [
"Apache-2.0"
] | 2 | 2020-01-29T20:18:44.000Z | 2020-08-28T16:12:36.000Z | userextensions/migrations/0005_auto_20201114_0548.py | davidslusser/django-userprofile | f98559f87a4759d8d6047c20a7b35b53ba25cf49 | [
"Apache-2.0"
] | 5 | 2021-05-08T21:40:31.000Z | 2022-03-10T22:54:50.000Z | userextensions/migrations/0005_auto_20201114_0548.py | davidslusser/django-userprofile | f98559f87a4759d8d6047c20a7b35b53ba25cf49 | [
"Apache-2.0"
] | 2 | 2020-07-19T00:17:14.000Z | 2021-04-02T15:42:13.000Z | # Generated by Django 2.2.15 on 2020-11-14 05:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('userextensions', '0004_serviceaccount_serviceaccounttokenhistory'),
]
operations = [
migrations.AddField(
model_name='serviceac... | 32.351351 | 111 | 0.581454 | 216 | 2,394 | 6.25 | 0.25 | 0.08 | 0.203704 | 0.236296 | 0.820741 | 0.820741 | 0.807407 | 0.746667 | 0.674074 | 0.638519 | 0 | 0.012165 | 0.313283 | 2,394 | 73 | 112 | 32.794521 | 0.809002 | 0.019215 | 0 | 0.820896 | 1 | 0 | 0.173913 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
711c3727ba44b63503d33ee15185399c4b8bdf35 | 47,700 | py | Python | sdk/python/pulumi_aws_native/frauddetector/_inputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/frauddetector/_inputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/frauddetector/_inputs.py | AaronFriel/pulumi-aws-native | 5621690373ac44accdbd20b11bae3be1baf022d1 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 34.970674 | 118 | 0.627778 | 5,533 | 47,700 | 5.249232 | 0.023315 | 0.142026 | 0.155041 | 0.115893 | 0.919467 | 0.90177 | 0.888548 | 0.864172 | 0.854875 | 0.848402 | 0 | 0.000028 | 0.244046 | 47,700 | 1,363 | 119 | 34.996332 | 0.80543 | 0.098407 | 0 | 0.857732 | 1 | 0 | 0.099796 | 0.019801 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204124 | false | 0 | 0.006186 | 0.054639 | 0.320619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
85729873a942c7b96c7c25e93e815b2628d4e959 | 6,545 | py | Python | loldib/getratings/models/NA/na_khazix/na_khazix_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_khazix/na_khazix_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_khazix/na_khazix_mid.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Khazix_Mid_Aatrox(Ratings):
pass
class NA_Khazix_Mid_Ahri(Ratings):
pass
class NA_Khazix_Mid_Akali(Ratings):
pass
class NA_Khazix_Mid_Alistar(Ratings):
pass
class NA_Khazix_Mid_Amumu(Ratings):
pass
class NA_Khazix_Mid_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
85821392c09e1139f86fefd3c8ac45be23741603 | 194 | py | Python | bdbc/lib/python3.5/site-packages/cryptoconditions/lib/__init__.py | entropyx/fiduchain-blockchain-interface | 07336a5eebfaa9cddb148edb94461a8fd57562b1 | [
"MIT"
] | null | null | null | bdbc/lib/python3.5/site-packages/cryptoconditions/lib/__init__.py | entropyx/fiduchain-blockchain-interface | 07336a5eebfaa9cddb148edb94461a8fd57562b1 | [
"MIT"
] | null | null | null | bdbc/lib/python3.5/site-packages/cryptoconditions/lib/__init__.py | entropyx/fiduchain-blockchain-interface | 07336a5eebfaa9cddb148edb94461a8fd57562b1 | [
"MIT"
] | null | null | null | from cryptoconditions.lib.hasher import Hasher
from cryptoconditions.lib.writer import Writer
from cryptoconditions.lib.reader import Reader
from cryptoconditions.lib.predictor import Predictor
| 38.8 | 52 | 0.876289 | 24 | 194 | 7.083333 | 0.333333 | 0.470588 | 0.541176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 194 | 4 | 53 | 48.5 | 0.955056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
85a7738bb1ef52179bb19322f4c8baeca9533e96 | 216 | py | Python | rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/__init__.py | RhinohawkUAV/rh_ros | e13077060bdfcc231adee9731ebfddadcd8d6b4a | [
"MIT"
] | 4 | 2020-05-13T19:34:27.000Z | 2021-09-20T09:01:10.000Z | rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/__init__.py | RhinohawkUAV/rh_ros | e13077060bdfcc231adee9731ebfddadcd8d6b4a | [
"MIT"
] | null | null | null | rh_pathfinding/src/rh_pathfinding/engine/geometry/obstacle/__init__.py | RhinohawkUAV/rh_ros | e13077060bdfcc231adee9731ebfddadcd8d6b4a | [
"MIT"
] | 2 | 2019-09-14T14:45:09.000Z | 2020-11-22T01:46:59.000Z | from arcFinder import ArcSegmentFinder
from intersectionDetector import *
from lineFinder import LineSegmentFinder
from obstacleCourse import ObstacleCourse
import obstacleCourse
from pathSegment import PathSegment
| 27 | 41 | 0.888889 | 21 | 216 | 9.142857 | 0.428571 | 0.208333 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106481 | 216 | 7 | 42 | 30.857143 | 0.994819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a44960bd85f4ff25799e7078bbe153539f1243ba | 266,820 | py | Python | pyboto3/autoscaling.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/autoscaling.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/autoscaling.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 41.716698 | 7,326 | 0.706619 | 31,760 | 266,820 | 5.921568 | 0.047985 | 0.037784 | 0.030967 | 0.022545 | 0.832211 | 0.802838 | 0.769627 | 0.743153 | 0.722607 | 0.69785 | 0 | 0.012174 | 0.226033 | 266,820 | 6,395 | 7,327 | 41.723221 | 0.898528 | 0.96817 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
a46923ea53f4c0436157a6281c7c0e2f28c4a684 | 78 | py | Python | tdtax/test/test_validate.py | sydneyjenkins/timedomain-taxonomy | 9b1dd7e8fa0fa48648a25ede613ce443fa37a88b | [
"MIT"
] | null | null | null | tdtax/test/test_validate.py | sydneyjenkins/timedomain-taxonomy | 9b1dd7e8fa0fa48648a25ede613ce443fa37a88b | [
"MIT"
] | null | null | null | tdtax/test/test_validate.py | sydneyjenkins/timedomain-taxonomy | 9b1dd7e8fa0fa48648a25ede613ce443fa37a88b | [
"MIT"
] | null | null | null | import tdtax
def test():
tdtax.validate(tdtax.taxonomy, tdtax.taxonomy)
| 13 | 50 | 0.730769 | 10 | 78 | 5.7 | 0.6 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 5 | 51 | 15.6 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f1131326ad9a9d570b04646dc34c69e02398e517 | 8,858 | py | Python | service/agent/service/agent/__init__.py | plvhx/qiscus-programming-test | 3b6480c41a787ee89770d1375f3a28bbc5b4f453 | [
"BSD-2-Clause"
] | null | null | null | service/agent/service/agent/__init__.py | plvhx/qiscus-programming-test | 3b6480c41a787ee89770d1375f3a28bbc5b4f453 | [
"BSD-2-Clause"
] | null | null | null | service/agent/service/agent/__init__.py | plvhx/qiscus-programming-test | 3b6480c41a787ee89770d1375f3a28bbc5b4f453 | [
"BSD-2-Clause"
] | null | null | null | from service.abstract import Abstract
from service.exception import IncompleteRequiredHeaderException
from service.exception import HeaderValueViolationException
from service.exception import TypeErrorException
class Agent(Abstract):
def hand_over(self, data, headers=None):
url = "/api/v1/agent/service/as... | 30.335616 | 81 | 0.579589 | 922 | 8,858 | 5.437093 | 0.095445 | 0.044684 | 0.082984 | 0.063834 | 0.860363 | 0.844205 | 0.830241 | 0.806902 | 0.796529 | 0.749052 | 0 | 0.001333 | 0.322308 | 8,858 | 291 | 82 | 30.439863 | 0.83375 | 0 | 0 | 0.818182 | 0 | 0 | 0.196433 | 0.042335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.018182 | 0 | 0.095455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f18b2e4f3cb9cbb2aa3d2516362d0d15bdde6c1b | 10,445 | py | Python | src/asai_conversion.py | AlagarPrabu/Tamil_asai | ec757ca22dfdb154758f126e3d731628c0f3c1a4 | [
"MIT"
] | null | null | null | src/asai_conversion.py | AlagarPrabu/Tamil_asai | ec757ca22dfdb154758f126e3d731628c0f3c1a4 | [
"MIT"
] | null | null | null | src/asai_conversion.py | AlagarPrabu/Tamil_asai | ec757ca22dfdb154758f126e3d731628c0f3c1a4 | [
"MIT"
] | null | null | null | ###
# Tamil_Asai
# Copyright 2021 The Author Alagar Prabu
###
import character
rule_1 = ["KKOOO", "KNOOO"]
rule_2 = ["KKOO", "KNOO"]
rule_3 = ["KKO", "KNO"]
rule_4 = ["KK", "KN"]
rule_5 = ["KOOO", "NOOO"]
rule_6 = ["KOO", "NOO"]
rule_7 = ["KO", "NO"]
rule_8 = ["K", "N"]
formula_formation = ""
splitted_formatio... | 46.838565 | 90 | 0.490282 | 917 | 10,445 | 5.166848 | 0.077426 | 0.179401 | 0.182355 | 0.111439 | 0.857113 | 0.850781 | 0.845293 | 0.837062 | 0.837062 | 0.837062 | 0 | 0.016035 | 0.456678 | 10,445 | 222 | 91 | 47.04955 | 0.818855 | 0.004691 | 0 | 0.821782 | 0 | 0 | 0.018677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009901 | false | 0 | 0.004951 | 0 | 0.029703 | 0.004951 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 | 8 |
2d07693669a430ec211c20d581992c8b269c417b | 2,007 | py | Python | Projeto-em-DRF/site_adocao/models.py | Projetointegradorunivesp/projeto_integrador_site | 9d71b7c28b66e3c98210d4500454d0ef843a33c0 | [
"MIT"
] | null | null | null | Projeto-em-DRF/site_adocao/models.py | Projetointegradorunivesp/projeto_integrador_site | 9d71b7c28b66e3c98210d4500454d0ef843a33c0 | [
"MIT"
] | null | null | null | Projeto-em-DRF/site_adocao/models.py | Projetointegradorunivesp/projeto_integrador_site | 9d71b7c28b66e3c98210d4500454d0ef843a33c0 | [
"MIT"
] | null | null | null |
from django.db import models
class Apoio(models.Model):
nome = models.CharField(max_length=50)
contato = models.CharField(max_length=11, default="")
logo = models.ImageField(upload_to='media', blank=True)
def __str__(self):
return self.nome
class Cachorro(models.Model):
numero_chip = mo... | 32.370968 | 60 | 0.713503 | 267 | 2,007 | 5.168539 | 0.172285 | 0.15 | 0.221739 | 0.295652 | 0.921739 | 0.901449 | 0.901449 | 0.901449 | 0.901449 | 0.901449 | 0 | 0.029271 | 0.165919 | 2,007 | 61 | 61 | 32.901639 | 0.795102 | 0 | 0 | 0.826087 | 0 | 0 | 0.024938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.021739 | 0.086957 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 10 |
2d314fb6ed78c5e1bd9ad42df1d5b3bd7cc0061c | 33,938 | py | Python | openprocurement/auction/texas/tests/unit/datasources/test_openprocurement_datasource.py | oleksiyVeretiuk/openprocurement.auction.gong | 783ea355c1633e084aaf26a1d6128cc77ae6f642 | [
"Apache-2.0"
] | null | null | null | openprocurement/auction/texas/tests/unit/datasources/test_openprocurement_datasource.py | oleksiyVeretiuk/openprocurement.auction.gong | 783ea355c1633e084aaf26a1d6128cc77ae6f642 | [
"Apache-2.0"
] | null | null | null | openprocurement/auction/texas/tests/unit/datasources/test_openprocurement_datasource.py | oleksiyVeretiuk/openprocurement.auction.gong | 783ea355c1633e084aaf26a1d6128cc77ae6f642 | [
"Apache-2.0"
] | null | null | null | import unittest
import mock
from uuid import uuid4
from openprocurement.auction.texas.datasource import OpenProcurementAPIDataSource
class TestOpenProcurementAPIDataSource(unittest.TestCase):
datasource_class = OpenProcurementAPIDataSource
def setUp(self):
self.config = {
'resource_api_... | 36.969499 | 127 | 0.650598 | 3,905 | 33,938 | 5.282714 | 0.04251 | 0.04896 | 0.056183 | 0.046052 | 0.911048 | 0.871976 | 0.84357 | 0.815842 | 0.783315 | 0.747297 | 0 | 0.006957 | 0.250368 | 33,938 | 917 | 128 | 37.009815 | 0.803899 | 0.007484 | 0 | 0.711207 | 0 | 0 | 0.089316 | 0.033553 | 0 | 0 | 0 | 0 | 0.176724 | 1 | 0.054598 | false | 0.007184 | 0.005747 | 0 | 0.074713 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
74a4a622b98c53feacd4fd3923bb7e01a4321604 | 74 | py | Python | arm64_tester/__init__.py | luist18/mast-tool | dfa891a95407c6cb4ea58d41237cfa0b974887f7 | [
"MIT"
] | 1 | 2021-06-09T03:33:03.000Z | 2021-06-09T03:33:03.000Z | arm64_tester/__init__.py | luist18/mast-tool | dfa891a95407c6cb4ea58d41237cfa0b974887f7 | [
"MIT"
] | null | null | null | arm64_tester/__init__.py | luist18/mast-tool | dfa891a95407c6cb4ea58d41237cfa0b974887f7 | [
"MIT"
] | null | null | null | from arm64_tester.test import Test
from arm64_tester.tester import Tester
| 24.666667 | 38 | 0.864865 | 12 | 74 | 5.166667 | 0.416667 | 0.290323 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.108108 | 74 | 2 | 39 | 37 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7ae438a16f81fe6c2cebdf304b4264f17d5749e7 | 30,038 | py | Python | ParallelSolvers.py | neu-spiral/GraphMatching | 84729b9d793bf8d7aca99dcc1751b99222d8cdc9 | [
"MIT"
] | null | null | null | ParallelSolvers.py | neu-spiral/GraphMatching | 84729b9d793bf8d7aca99dcc1751b99222d8cdc9 | [
"MIT"
] | null | null | null | ParallelSolvers.py | neu-spiral/GraphMatching | 84729b9d793bf8d7aca99dcc1751b99222d8cdc9 | [
"MIT"
] | null | null | null | #from cvxopt import spmatrix,matrix
#from cvxopt.solvers import qp,lp
from helpers import identityHash,swap,mergedicts,identityHash
import numpy as np
from numpy.linalg import solve as linearSystemSolver,inv
import logging
from debug import logger,Sij_test
from numpy.linalg import matrix_rank
from pprint import pformat... | 64.046908 | 336 | 0.634396 | 3,892 | 30,038 | 4.868962 | 0.082734 | 0.053826 | 0.07124 | 0.063325 | 0.858839 | 0.851662 | 0.841055 | 0.83372 | 0.810396 | 0.801372 | 0 | 0.005629 | 0.237033 | 30,038 | 468 | 337 | 64.183761 | 0.821232 | 0.088954 | 0 | 0.778157 | 0 | 0.010239 | 0.016792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.044369 | null | null | 0.003413 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7aebe7b18d3ca35925bee6a0877f4de269856a61 | 19,234 | py | Python | sdk/python/pulumi_gcp/compute/router_nat.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/compute/router_nat.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/compute/router_nat.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 52.986226 | 161 | 0.671155 | 2,442 | 19,234 | 5.013923 | 0.099509 | 0.066482 | 0.045737 | 0.023522 | 0.803822 | 0.772052 | 0.756534 | 0.731869 | 0.712431 | 0.70802 | 0 | 0.002211 | 0.247634 | 19,234 | 362 | 162 | 53.132597 | 0.843895 | 0.453052 | 0 | 0.300578 | 1 | 0 | 0.160121 | 0.079415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109827 | false | 0.00578 | 0.040462 | 0.011561 | 0.260116 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7af1fd0fce2287d73c91c00361146b409c776db4 | 10,890 | py | Python | cogs/Punish.py | Aspen-The-Deer/Guardian-Deer | 53cf4a135b033df11082ee63bf59a359a0f6d362 | [
"MIT"
] | null | null | null | cogs/Punish.py | Aspen-The-Deer/Guardian-Deer | 53cf4a135b033df11082ee63bf59a359a0f6d362 | [
"MIT"
] | null | null | null | cogs/Punish.py | Aspen-The-Deer/Guardian-Deer | 53cf4a135b033df11082ee63bf59a359a0f6d362 | [
"MIT"
] | null | null | null | import discord
import sys
import time
import random
import os
import json
import datetime
from discord.ext import commands
class Punishments(commands.Cog):
def __init__(self, client):
self.client = client
@commands.Cog.listener()
async def on_ready(self):
time.sleep(0.2)
print('Pu... | 46.340426 | 164 | 0.628926 | 1,266 | 10,890 | 5.343602 | 0.110585 | 0.034294 | 0.051441 | 0.04272 | 0.912934 | 0.901404 | 0.879675 | 0.878788 | 0.878788 | 0.865188 | 0 | 0.086829 | 0.247016 | 10,890 | 235 | 165 | 46.340426 | 0.738171 | 0 | 0 | 0.719212 | 0 | 0 | 0.271784 | 0 | 0 | 0 | 0.009549 | 0 | 0 | 1 | 0.009852 | false | 0 | 0.039409 | 0 | 0.078818 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
bb27099e35560831799e88b7b41511cc784afc17 | 3,122 | py | Python | POM/user.py | Mikhail-QA/IU | ec792502b0a453b410e6c59f38a42b541564a776 | [
"Apache-2.0"
] | null | null | null | POM/user.py | Mikhail-QA/IU | ec792502b0a453b410e6c59f38a42b541564a776 | [
"Apache-2.0"
] | null | null | null | POM/user.py | Mikhail-QA/IU | ec792502b0a453b410e6c59f38a42b541564a776 | [
"Apache-2.0"
] | null | null | null | # authorization user not abonement
class AutopaymentMailRu(object):
def __init__(self, driver):
self.driver = driver
def enter_email(self, user_name="autopayment@mail.ru"):
self.driver.find_element_by_xpath("//div/label[1]/input").send_keys(user_name)
def enter_password(self, password="123... | 36.729412 | 86 | 0.714606 | 440 | 3,122 | 4.761364 | 0.115909 | 0.143198 | 0.120286 | 0.18043 | 0.888783 | 0.888783 | 0.88401 | 0.866826 | 0.797136 | 0.797136 | 0 | 0.02095 | 0.143818 | 3,122 | 84 | 87 | 37.166667 | 0.762813 | 0.050609 | 0 | 0.634615 | 0 | 0 | 0.171738 | 0.014199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423077 | false | 0.326923 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
2475acbb21143beca1d0740977818f72c72f50fa | 6,127 | py | Python | aioamqp/tests/test_exchange.py | tkukushkin/aioamqp | b4f01209794122a4ec3b5d8d437cb5739641fb3e | [
"BSD-3-Clause"
] | 284 | 2015-01-08T20:05:07.000Z | 2022-03-28T10:07:31.000Z | aioamqp/tests/test_exchange.py | tkukushkin/aioamqp | b4f01209794122a4ec3b5d8d437cb5739641fb3e | [
"BSD-3-Clause"
] | 179 | 2015-02-16T09:27:53.000Z | 2022-03-30T16:01:52.000Z | aioamqp/tests/test_exchange.py | tkukushkin/aioamqp | b4f01209794122a4ec3b5d8d437cb5739641fb3e | [
"BSD-3-Clause"
] | 111 | 2015-02-15T00:27:58.000Z | 2022-01-13T05:08:01.000Z | """
Amqp exchange class tests
"""
import asynctest
from . import testcase
from .. import exceptions
class ExchangeDeclareTestCase(testcase.RabbitTestCaseMixin, asynctest.TestCase):
_multiprocess_can_split_ = True
async def test_exchange_direct_declare(self):
result = await self.channel.exchang... | 37.588957 | 98 | 0.675698 | 674 | 6,127 | 5.896142 | 0.108309 | 0.070206 | 0.124811 | 0.187217 | 0.906895 | 0.882486 | 0.82612 | 0.77227 | 0.689733 | 0.675642 | 0 | 0.005757 | 0.234536 | 6,127 | 162 | 99 | 37.820988 | 0.841578 | 0.015016 | 0 | 0.646552 | 0 | 0 | 0.081534 | 0.006974 | 0 | 0 | 0 | 0 | 0.215517 | 1 | 0 | false | 0.060345 | 0.025862 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
24c8633e4dff63088afb3aadc34f2d5b0636b7a8 | 93 | py | Python | decisiorama/__init__.py | j-chacon/Hartmann_contaminants | 316d543efcdc0bcc4442c56fda6748b405ca2e22 | [
"MIT"
] | null | null | null | decisiorama/__init__.py | j-chacon/Hartmann_contaminants | 316d543efcdc0bcc4442c56fda6748b405ca2e22 | [
"MIT"
] | null | null | null | decisiorama/__init__.py | j-chacon/Hartmann_contaminants | 316d543efcdc0bcc4442c56fda6748b405ca2e22 | [
"MIT"
] | null | null | null | from decisiorama import pda
from decisiorama import sensitivity
from decisiorama import utils | 31 | 35 | 0.88172 | 12 | 93 | 6.833333 | 0.5 | 0.54878 | 0.768293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 3 | 36 | 31 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
24f7c70905a68a25e9698adbcf4130537c5fbde0 | 20,996 | py | Python | serial_scripts/vrouter/test_session_logging.py | vkolli/5.0_contrail-test | 1793f169a94100400a1b2fafbad21daf5aa4d48a | [
"Apache-2.0"
] | null | null | null | serial_scripts/vrouter/test_session_logging.py | vkolli/5.0_contrail-test | 1793f169a94100400a1b2fafbad21daf5aa4d48a | [
"Apache-2.0"
] | 1 | 2021-06-01T22:18:29.000Z | 2021-06-01T22:18:29.000Z | serial_scripts/vrouter/test_session_logging.py | vkolli/5.0_contrail-test | 1793f169a94100400a1b2fafbad21daf5aa4d48a | [
"Apache-2.0"
] | null | null | null | from tcutils.wrappers import preposttest_wrapper
from common.sessionlogging.base import *
import test
import random
from tcutils.util import skip_because
AF_TEST = 'v6'
class SessionLogging(SessionLoggingBase):
@classmethod
def setUpClass(cls):
super(SessionLogging, cls).setUpClass()
@classmetho... | 46.246696 | 85 | 0.618165 | 2,743 | 20,996 | 4.374408 | 0.076559 | 0.050838 | 0.038503 | 0.045004 | 0.887991 | 0.869072 | 0.845237 | 0.826069 | 0.814568 | 0.776898 | 0 | 0.014112 | 0.301391 | 20,996 | 453 | 86 | 46.348786 | 0.803927 | 0.095256 | 0 | 0.816901 | 0 | 0 | 0.043762 | 0 | 0 | 0 | 0 | 0 | 0.011268 | 1 | 0.033803 | false | 0.084507 | 0.014085 | 0 | 0.056338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
70049ed00e4c0b7633c512741073cd70fa0db15c | 166 | py | Python | yawn/models.py | rsalmaso/yawn | 5ede07f9015468481c941f8221cd70c99be6e895 | [
"MIT"
] | 28 | 2017-01-20T15:07:20.000Z | 2022-02-18T17:25:38.000Z | yawn/models.py | rsalmaso/yawn | 5ede07f9015468481c941f8221cd70c99be6e895 | [
"MIT"
] | 83 | 2017-01-26T16:28:21.000Z | 2022-03-08T23:48:04.000Z | yawn/models.py | rsalmaso/yawn | 5ede07f9015468481c941f8221cd70c99be6e895 | [
"MIT"
] | 5 | 2017-01-23T00:19:38.000Z | 2020-05-12T15:36:59.000Z | # a hack to store the models in subfolders
from yawn.task.models import * # noqa
from yawn.worker.models import * # noqa
from yawn.workflow.models import * # noqa
| 33.2 | 42 | 0.740964 | 26 | 166 | 4.730769 | 0.576923 | 0.195122 | 0.390244 | 0.325203 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 166 | 4 | 43 | 41.5 | 0.904412 | 0.331325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
700e664ee0e556361e34af746991946bb25de7b5 | 726 | py | Python | test.py | bastcazaux/search_myers_IUPAC | 8fb3dba7c2313d103bf9eeb6a739e5b27e4ded58 | [
"CECILL-B"
] | 3 | 2020-10-15T09:35:30.000Z | 2020-12-28T03:02:32.000Z | test.py | bastcazaux/search_myers_IUPAC | 8fb3dba7c2313d103bf9eeb6a739e5b27e4ded58 | [
"CECILL-B"
] | null | null | null | test.py | bastcazaux/search_myers_IUPAC | 8fb3dba7c2313d103bf9eeb6a739e5b27e4ded58 | [
"CECILL-B"
] | 2 | 2021-02-02T10:45:48.000Z | 2021-08-04T08:41:38.000Z | import search_myers_IUPAC
print("search_myers_IUPAC.listofpositions('HACTADGTRTG','HYC', 1)")
print(search_myers_IUPAC.listofpositions('HACTADGTRTG','HYC', 1))
print("search_myers_IUPAC.listofbestpositions('HACTADGTRTG','HYCAC')")
print(search_myers_IUPAC.listofbestpositions('HACTADGTRTG','HYCAC'))
print("search_mye... | 38.210526 | 77 | 0.790634 | 88 | 726 | 6.272727 | 0.193182 | 0.219203 | 0.318841 | 0.380435 | 0.960145 | 0.960145 | 0.960145 | 0.960145 | 0.960145 | 0.849638 | 0 | 0.025751 | 0.03719 | 726 | 18 | 78 | 40.333333 | 0.763949 | 0 | 0 | 0 | 0 | 0 | 0.518621 | 0.387586 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0.909091 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
703459fc2adb300c9565840ab76077f238507d5f | 4,063 | py | Python | falcon_call.py | ashish-1801/falcon2.0 | 2560d0de4bd2dd138c0af985af5ea98beb3021b9 | [
"MIT"
] | null | null | null | falcon_call.py | ashish-1801/falcon2.0 | 2560d0de4bd2dd138c0af985af5ea98beb3021b9 | [
"MIT"
] | null | null | null | falcon_call.py | ashish-1801/falcon2.0 | 2560d0de4bd2dd138c0af985af5ea98beb3021b9 | [
"MIT"
] | null | null | null | import csv
import requests
headers = {'content-type': 'application/json', 'Accept-Charset': 'UTF-8'}
def falcon2_call(text,mode='short'):
try:
text=text.replace('"','')
text=text.replace("'","")
if mode=='short':
url = 'https://labs.tib.eu/falcon/falcon2/api?mode=... | 39.446602 | 94 | 0.488555 | 402 | 4,063 | 4.828358 | 0.139303 | 0.148377 | 0.111283 | 0.07831 | 0.846986 | 0.814013 | 0.809892 | 0.770737 | 0.770737 | 0.74137 | 0 | 0.019124 | 0.38223 | 4,063 | 103 | 95 | 39.446602 | 0.754183 | 0.007384 | 0 | 0.847826 | 0 | 0.021739 | 0.124682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.021739 | 0 | 0.163043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7081c16cd575a3edbe9448426cdfe43761c040d7 | 22,250 | py | Python | alshamelah_api/apps/books/permissions.py | devna-dev/durar-backend | 36ea29bafd4cb95098e4057eb71df211dc923008 | [
"MIT"
] | null | null | null | alshamelah_api/apps/books/permissions.py | devna-dev/durar-backend | 36ea29bafd4cb95098e4057eb71df211dc923008 | [
"MIT"
] | null | null | null | alshamelah_api/apps/books/permissions.py | devna-dev/durar-backend | 36ea29bafd4cb95098e4057eb71df211dc923008 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
from rest_framework import permissions
from rolepermissions.checkers import has_permission
class CanManageBook(permissions.IsAuthenticated):
"""
Write documentation
"""
# book_lookup = 'parent_... | 33.358321 | 115 | 0.651191 | 2,509 | 22,250 | 5.643683 | 0.041849 | 0.062288 | 0.082627 | 0.064831 | 0.969633 | 0.969633 | 0.969633 | 0.968856 | 0.958898 | 0.955155 | 0 | 0.000062 | 0.278337 | 22,250 | 666 | 116 | 33.408408 | 0.881796 | 0.165169 | 0 | 0.853211 | 0 | 0 | 0.018314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061162 | false | 0 | 0.06422 | 0 | 0.577982 | 0.003058 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
565ec712da897a03d3e2e74e541d76385de65132 | 1,169 | py | Python | tests/test_index.py | sgowdaks/mtdata | 3db2b9cf035fe1b51fd59658d58fa8ce037a47d9 | [
"Apache-2.0"
] | 81 | 2020-04-07T02:55:39.000Z | 2022-03-30T05:28:58.000Z | tests/test_index.py | sgowdaks/mtdata | 3db2b9cf035fe1b51fd59658d58fa8ce037a47d9 | [
"Apache-2.0"
] | 77 | 2020-04-07T19:53:48.000Z | 2022-03-22T18:41:08.000Z | tests/test_index.py | sgowdaks/mtdata | 3db2b9cf035fe1b51fd59658d58fa8ce037a47d9 | [
"Apache-2.0"
] | 6 | 2020-04-16T22:21:19.000Z | 2022-02-07T20:52:15.000Z | #!/usr/bin/env python
#
#
# Author: Thamme Gowda
# Created: 10/12/21
from mtdata.index import is_compatible, bcp47
def test_is_compatible():
assert is_compatible(bcp47('en'), bcp47('en'))
assert is_compatible(bcp47('en'), bcp47('en_US'))
assert is_compatible(bcp47('en_US'), bcp47('en'))
assert not is... | 38.966667 | 72 | 0.697177 | 178 | 1,169 | 4.297753 | 0.191011 | 0.298039 | 0.4 | 0.300654 | 0.824837 | 0.760784 | 0.720261 | 0.513725 | 0.369935 | 0.173856 | 0 | 0.07451 | 0.127459 | 1,169 | 29 | 73 | 40.310345 | 0.67549 | 0.05047 | 0 | 0 | 0 | 0 | 0.177376 | 0 | 0 | 0 | 0 | 0 | 0.894737 | 1 | 0.052632 | true | 0 | 0.052632 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
565f0384e48199694bbe9a81f4dccb107136b8b4 | 1,359 | py | Python | tests/test_log_requests.py | ex-tipsi/pytest-tipsi-testing-backup | 26d73933f477571de4ef739a5f3b7d461e49832c | [
"MIT"
] | 2 | 2018-01-25T02:46:07.000Z | 2019-04-15T18:27:15.000Z | tests/test_log_requests.py | ex-tipsi/pytest-tipsi-testing-backup | 26d73933f477571de4ef739a5f3b7d461e49832c | [
"MIT"
] | 1 | 2019-10-09T13:13:42.000Z | 2019-10-09T13:13:42.000Z | tests/test_log_requests.py | ex-tipsi/pytest-tipsi-testing-backup | 26d73933f477571de4ef739a5f3b7d461e49832c | [
"MIT"
] | 2 | 2019-10-09T08:15:22.000Z | 2019-10-14T14:32:30.000Z | import os
import json
from unittest.mock import patch
import requests
def test_docme(tmpdir, log_requests):
with patch.dict('os.environ', {'DOCS_ROOT': tmpdir.strpath}):
with log_requests('out'):
r = requests.get('http://echo.jsontest.com/key/value/one/two')
assert r.status_code ==... | 33.975 | 74 | 0.62546 | 187 | 1,359 | 4.454545 | 0.256684 | 0.092437 | 0.084034 | 0.084034 | 0.893157 | 0.893157 | 0.893157 | 0.893157 | 0.893157 | 0.893157 | 0 | 0.012048 | 0.206034 | 1,359 | 39 | 75 | 34.846154 | 0.759963 | 0 | 0 | 0.806452 | 0 | 0 | 0.243561 | 0.047093 | 0 | 0 | 0 | 0 | 0.354839 | 1 | 0.064516 | false | 0 | 0.129032 | 0 | 0.193548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
569bb446e1bb2fc396db2d44db8bd823b9ea83e4 | 85 | py | Python | ips/ip/ir_recieve/__init__.py | zld012739/zldrepository | 5635b78a168956091676ef4dd99fa564be0e5ba0 | [
"MIT"
] | null | null | null | ips/ip/ir_recieve/__init__.py | zld012739/zldrepository | 5635b78a168956091676ef4dd99fa564be0e5ba0 | [
"MIT"
] | null | null | null | ips/ip/ir_recieve/__init__.py | zld012739/zldrepository | 5635b78a168956091676ef4dd99fa564be0e5ba0 | [
"MIT"
] | null | null | null | from ir_recieve_partial import get_ip_name
from ir_recieve_partial import IR_RECIEVE
| 28.333333 | 42 | 0.905882 | 15 | 85 | 4.666667 | 0.533333 | 0.385714 | 0.371429 | 0.571429 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 43 | 42.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
3b061aba176bee9c7b313a54d7ecce529a4384a0 | 6,656 | py | Python | decode_exchange_string.py | selplacei/factorio-stuff | c809bcd0312d2568390104e391abbd18a4f03e75 | [
"Unlicense"
] | null | null | null | decode_exchange_string.py | selplacei/factorio-stuff | c809bcd0312d2568390104e391abbd18a4f03e75 | [
"Unlicense"
] | null | null | null | decode_exchange_string.py | selplacei/factorio-stuff | c809bcd0312d2568390104e391abbd18a4f03e75 | [
"Unlicense"
] | null | null | null | import blueprint
import json
bp = blueprint.Blueprint.from_exchange_string('0eNrt3dmS47iVBuB3yevixAHAte5m8Sz2bPaMZ3N0dFASJHGSImUulZ3u6Hc3yKxFIgkSODjKsXtw4ajocupPkoJ+giD11Y9Pu7KX16aouqePPz4V+7pqnz7+7sentjhVeTn8Xfd6lU8fn4pOXp4+PFX5Zfivtt+1Xd4VdfX004enojrIH54+sp+++/Akq67oCvmWMv7H6/dVf9nJ5ukjfH398Hu6vOqCfX3ZFVXe1Y0Kv9ZtMW... | 832 | 6,546 | 0.961839 | 229 | 6,656 | 27.947598 | 0.956332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158957 | 0.002855 | 6,656 | 7 | 6,547 | 950.857143 | 0.805334 | 0 | 0 | 0 | 0 | 0.2 | 0.978666 | 0.976112 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.8 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 9 |
3b91e6eaecf8f2c6bd3406c5523b4fe71a918c8f | 145 | py | Python | loldib/getratings/models/NA/na_riven/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_riven/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_riven/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_riven_top import *
from .na_riven_jng import *
from .na_riven_mid import *
from .na_riven_bot import *
from .na_riven_sup import *
| 24.166667 | 28 | 0.758621 | 25 | 145 | 4 | 0.36 | 0.3 | 0.55 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 145 | 5 | 29 | 29 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8e8411f03889d4695f356eaa7eac50a9c651cdc9 | 4,302 | py | Python | server/rideshare/migrations/0035_auto_20170517_0555.py | aadabi/tagrides | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | 2 | 2018-03-21T23:32:09.000Z | 2018-03-22T01:39:51.000Z | server/rideshare/migrations/0035_auto_20170517_0555.py | aadabi/Cruzer | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | null | null | null | server/rideshare/migrations/0035_auto_20170517_0555.py | aadabi/Cruzer | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-05-17 05:55
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rideshare', '0034_auto_20170516_0702'),
]
operations = [
migrations.AlterFiel... | 37.086207 | 75 | 0.603673 | 404 | 4,302 | 6.220297 | 0.14604 | 0.159172 | 0.198965 | 0.2308 | 0.923199 | 0.923199 | 0.923199 | 0.923199 | 0.902109 | 0.902109 | 0 | 0.026118 | 0.288006 | 4,302 | 115 | 76 | 37.408696 | 0.794319 | 0.015342 | 0 | 0.740741 | 1 | 0 | 0.182377 | 0.123081 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018519 | 0 | 0.046296 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d900d27237234bbe12d722aa8c9e77b4afd6f305 | 2,276 | py | Python | test/test_bvr_hi.py | doedotdev/bvr | 023fc93424fa6a50c8a3c2ce2fc48b76a041b58c | [
"MIT"
] | null | null | null | test/test_bvr_hi.py | doedotdev/bvr | 023fc93424fa6a50c8a3c2ce2fc48b76a041b58c | [
"MIT"
] | 12 | 2019-12-07T21:40:23.000Z | 2019-12-07T21:43:54.000Z | test/test_bvr_hi.py | doedotdev/bvr | 023fc93424fa6a50c8a3c2ce2fc48b76a041b58c | [
"MIT"
] | null | null | null | import logging
from bvr.bvr_hi import bvr_hi
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
def test_bvr_hi_called_as_decorator(caplog):
@bvr_hi
def hi():
return 2
return_value = hi()
assert return_value == 2
assert hi.__name__ == "hi" # Important for de... | 26.776471 | 86 | 0.670475 | 310 | 2,276 | 4.716129 | 0.132258 | 0.213406 | 0.259918 | 0.109439 | 0.934337 | 0.934337 | 0.934337 | 0.920657 | 0.920657 | 0.920657 | 0 | 0.015504 | 0.206503 | 2,276 | 84 | 87 | 27.095238 | 0.79402 | 0.092707 | 0 | 0.862069 | 0 | 0 | 0.045631 | 0 | 0 | 0 | 0 | 0 | 0.551724 | 1 | 0.137931 | false | 0 | 0.034483 | 0.034483 | 0.241379 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d96d74a5691df6e353d73060064a6f5a63632727 | 25,737 | py | Python | fhir/resources/tests/test_servicerequest.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/tests/test_servicerequest.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | fhir/resources/tests/test_servicerequest.py | mmabey/fhir.resources | cc73718e9762c04726cd7de240c8f2dd5313cbe1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/ServiceRequest
Release: R4
Version: 4.0.1
Build ID: 9346c8cc45
Last updated: 2019-11-01T09:29:23.356+11:00
"""
import io
import json
import os
import unittest
import pytest
from .. import servicerequest
from ..fhirdate import FHIRDate
from ... | 45.231986 | 196 | 0.64689 | 2,877 | 25,737 | 5.665276 | 0.117136 | 0.193263 | 0.19265 | 0.240812 | 0.829253 | 0.813915 | 0.788269 | 0.748267 | 0.700595 | 0.664335 | 0 | 0.03476 | 0.220888 | 25,737 | 568 | 197 | 45.31162 | 0.778077 | 0.006916 | 0 | 0.499048 | 0 | 0.001905 | 0.172126 | 0.017534 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.04 | false | 0.00381 | 0.015238 | 0 | 0.059048 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
796503261bc0da4dbd38c017915d6293ed46fe21 | 12,936 | py | Python | lithic/types/account_holder_create_params.py | lithic-com/lithic-python | be19d7195ebdf217b45f1ab59b39021d51330989 | [
"Apache-2.0"
] | null | null | null | lithic/types/account_holder_create_params.py | lithic-com/lithic-python | be19d7195ebdf217b45f1ab59b39021d51330989 | [
"Apache-2.0"
] | null | null | null | lithic/types/account_holder_create_params.py | lithic-com/lithic-python | be19d7195ebdf217b45f1ab59b39021d51330989 | [
"Apache-2.0"
] | null | null | null | # File generated from our OpenAPI spec by Stainless.
from __future__ import annotations
from typing import Optional, Union, List
from typing_extensions import Literal, TypedDict, Required
from ..types import shared_params
__all__ = [
"KYCIndividualAddress",
"KYCIndividual",
"KYC",
"KybBusinessEntityAd... | 46.532374 | 581 | 0.7374 | 1,707 | 12,936 | 5.541886 | 0.164616 | 0.059302 | 0.033827 | 0.044397 | 0.781184 | 0.758774 | 0.753277 | 0.753277 | 0.753277 | 0.753277 | 0 | 0.012915 | 0.167981 | 12,936 | 277 | 582 | 46.700361 | 0.866022 | 0.003865 | 0 | 0.555556 | 1 | 0 | 0.074766 | 0.046969 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.018519 | 0.037037 | 0 | 0.851852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
799279249bf2f662732bddceb61d3225979a7a1c | 102 | py | Python | src/behavior_tree_learning/core/plotter/print_functions.py | dgerod/behavior_tree_learning | 71da80c91ecd48fd5da377f83604b62112ba9629 | [
"Apache-2.0"
] | 7 | 2022-02-09T12:51:51.000Z | 2022-03-19T14:40:16.000Z | src/behavior_tree_learning/core/plotter/print_functions.py | dgerod/bt_learning_using_gp | ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9 | [
"Apache-2.0"
] | 6 | 2021-12-12T15:38:40.000Z | 2022-01-31T11:02:12.000Z | src/behavior_tree_learning/core/plotter/print_functions.py | dgerod/bt_learning_using_gp | ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9 | [
"Apache-2.0"
] | null | null | null | import py_trees as pt
def print_ascii_tree(py_tree):
print(pt.display.ascii_tree(py_tree.root))
| 17 | 46 | 0.77451 | 19 | 102 | 3.842105 | 0.578947 | 0.246575 | 0.30137 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 5 | 47 | 20.4 | 0.820225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
79942b2d7989666bf2aaeeaa75032db470ecb82b | 1,354 | py | Python | scripts/Qubit/TimeDomain/swap_batch/batch.py | sourav-majumder/qtlab | 96b2a127b1df7b45622c90229bd5ef8a4083614e | [
"MIT"
] | null | null | null | scripts/Qubit/TimeDomain/swap_batch/batch.py | sourav-majumder/qtlab | 96b2a127b1df7b45622c90229bd5ef8a4083614e | [
"MIT"
] | null | null | null | scripts/Qubit/TimeDomain/swap_batch/batch.py | sourav-majumder/qtlab | 96b2a127b1df7b45622c90229bd5ef8a4083614e | [
"MIT"
] | null | null | null | # execfile(r'C:\qtlab-aalto\scripts\Qubit\TimeDomain\swap_batch\0dbm_swap\swap_with_high_pulse_30.py')
# execfile(r'C:\qtlab-aalto\scripts\Qubit\TimeDomain\swap_batch\0dbm_swap\swap_with_high_pulse_100.py')
#execfile(r'C:\qtlab-aalto\scripts\Qubit\TimeDomain\swap_batch\0dbm_swap\swap_with_high_pulse_200.py')
#execfi... | 96.714286 | 104 | 0.838257 | 234 | 1,354 | 4.517094 | 0.119658 | 0.110691 | 0.12299 | 0.184484 | 0.957427 | 0.957427 | 0.957427 | 0.957427 | 0.957427 | 0.957427 | 0 | 0.042232 | 0.020679 | 1,354 | 13 | 105 | 104.153846 | 0.754902 | 0.672083 | 0 | 0 | 0 | 0 | 0.845606 | 0.845606 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
79951e1e449db66902a7aaacb3a90bafd0c07b7c | 1,725 | py | Python | tests/perf/test-assign-reg.py | wenq1/duktape | 5ed3eee19b291f3b3de0b212cc62c0aba0ab4ecb | [
"MIT"
] | 4,268 | 2015-01-01T17:33:40.000Z | 2022-03-31T17:53:31.000Z | tests/perf/test-assign-reg.py | KiraanRK/esp32-duktape | 1b7fbcb8bd6bfc346d92df30ec099df7f13b03aa | [
"MIT"
] | 1,667 | 2015-01-01T22:43:03.000Z | 2022-02-23T22:27:19.000Z | tests/perf/test-assign-reg.py | KiraanRK/esp32-duktape | 1b7fbcb8bd6bfc346d92df30ec099df7f13b03aa | [
"MIT"
] | 565 | 2015-01-08T14:15:28.000Z | 2022-03-31T16:29:31.000Z | def test():
r0 = 123.0
r1 = 123.1
r2 = 123.2
r3 = 123.3
r4 = 123.4
r5 = 123.5
r6 = 123.6
r7 = 123.7
r8 = 123.8
r9 = 123.9
i = 0
while i < 1e7:
t = r0
t = r1
t = r2
t = r3
t = r4
t = r5
t = r6
t = r7
... | 13.476563 | 18 | 0.222609 | 240 | 1,725 | 1.6 | 0.1125 | 0.078125 | 0.104167 | 0.15625 | 0.78125 | 0.78125 | 0.78125 | 0.78125 | 0.78125 | 0.78125 | 0 | 0.299611 | 0.702029 | 1,725 | 127 | 19 | 13.582677 | 0.447471 | 0 | 0 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008696 | false | 0 | 0 | 0 | 0.008696 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
79ce249ed07f688f366151f9c1a12a13ac191dfe | 95,909 | py | Python | src/python/k4a/tests/test_functional_ctypes_azurekinect.py | seanyen/Azure-Kinect-Sensor-SDK | d87ef578676c05b9a5d23c097502942753bf3777 | [
"MIT"
] | 1,120 | 2019-05-07T06:01:44.000Z | 2022-03-28T08:02:29.000Z | src/python/k4a/tests/test_functional_ctypes_azurekinect.py | seanyen/Azure-Kinect-Sensor-SDK | d87ef578676c05b9a5d23c097502942753bf3777 | [
"MIT"
] | 1,321 | 2019-05-07T14:37:15.000Z | 2022-03-31T12:03:01.000Z | src/python/k4a/tests/test_functional_ctypes_azurekinect.py | seanyen/Azure-Kinect-Sensor-SDK | d87ef578676c05b9a5d23c097502942753bf3777 | [
"MIT"
] | 529 | 2019-05-06T22:25:33.000Z | 2022-03-31T13:57:26.000Z | '''
test_k4a_azurekinect.py
Tests for the k4a functions for Azure Kinect device.
Copyright (C) Microsoft Corporation. All rights reserved.
'''
import unittest
import ctypes
from time import sleep
import k4a
import test_config
def get_1080p_bgr32_nfov_2x2binned(device_handle):
return test_config.get_captur... | 46.19894 | 124 | 0.625009 | 10,375 | 95,909 | 5.385831 | 0.034795 | 0.042199 | 0.098214 | 0.098876 | 0.937507 | 0.921006 | 0.901303 | 0.883031 | 0.860911 | 0.83983 | 0 | 0.03988 | 0.308991 | 95,909 | 2,076 | 125 | 46.19894 | 0.803256 | 0.055261 | 0 | 0.756254 | 0 | 0 | 0.000088 | 0 | 0 | 0 | 0 | 0 | 0.142399 | 1 | 0.044259 | false | 0.00449 | 0.003207 | 0.000641 | 0.050032 | 0.000641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.