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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67658b1b18cce3f2aa9925847c342d2185f76e2d | 105,906 | py | Python | statsmodels/genmod/tests/results/results_glm_poisson_weights.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 15 | 2015-03-03T09:47:42.000Z | 2022-01-05T18:28:31.000Z | statsmodels/genmod/tests/results/results_glm_poisson_weights.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 7 | 2015-11-20T08:33:04.000Z | 2020-07-24T19:34:39.000Z | statsmodels/genmod/tests/results/results_glm_poisson_weights.py | nikhase/statsmodels | e1822d4513f442002816bb898ca5794785f35c32 | [
"BSD-3-Clause"
] | 14 | 2015-01-06T22:08:34.000Z | 2021-01-01T16:33:23.000Z | import numpy as np
est = dict(
deviance = 18.59164098607571,
dispers = 1.859164098607571,
deviance_s = 18.59164098607571,
dispers_s = 1.859164098607571,
deviance_p = 24.75374834715614,
dispers_p = 2.475374834715614,
deviance_ps = 24.753748347... | 45.162473 | 147 | 0.620626 | 9,744 | 105,906 | 6.638034 | 0.166564 | 0.024659 | 0.007792 | 0.024675 | 0.720613 | 0.717027 | 0.701582 | 0.688347 | 0.679891 | 0.67904 | 0 | 0.527313 | 0.271259 | 105,906 | 2,344 | 148 | 45.181741 | 0.310762 | 0 | 0 | 0.774641 | 0 | 0.002871 | 0.105565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000478 | false | 0 | 0.000478 | 0 | 0.001435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 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 | 6 |
67cdd0bd1a3c2b29d3a2ac42180569e987be415d | 38 | py | Python | 31/00/list.index.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | 31/00/list.index.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | 38 | 2017-05-25T07:08:48.000Z | 2017-05-31T01:42:41.000Z | 31/00/list.index.1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | l = [10,20,30,40]
print(l.index(999))
| 12.666667 | 19 | 0.605263 | 9 | 38 | 2.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 0.105263 | 38 | 2 | 20 | 19 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
db2eefa4d0df81b44bc89c3270efd161c3ae8573 | 705 | py | Python | unit 1/exc. 1.4.2.py | AviKalPython/self.py | 44f8de33797a9ea28bbd1e01006920ba7c818b97 | [
"MIT"
] | null | null | null | unit 1/exc. 1.4.2.py | AviKalPython/self.py | 44f8de33797a9ea28bbd1e01006920ba7c818b97 | [
"MIT"
] | null | null | null | unit 1/exc. 1.4.2.py | AviKalPython/self.py | 44f8de33797a9ea28bbd1e01006920ba7c818b97 | [
"MIT"
] | null | null | null | # exc - 1.4.2 (rolling mission)
print("""picture 1:
x-------x""")
print("""picture 2:
x-------x
|
|
|
|
|""")
print("""picture 3:
x-------x
| |
| 0
|
|
|""")
print("""picture 4:
x-------x
| |
| ... | 13.823529 | 32 | 0.184397 | 46 | 705 | 2.826087 | 0.304348 | 0.646154 | 0.115385 | 0.246154 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.574468 | 705 | 51 | 33 | 13.823529 | 0.383333 | 0.041135 | 0 | 0.590909 | 0 | 0 | 0.832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db310a5bf54963035922f9611f57e44e6f7b99a7 | 26 | py | Python | sns/api/reddit/__init__.py | kylepw/panner | 482ef8e8c1e8d9464d7dc8e4df5b5d9b58e83d35 | [
"MIT"
] | 2 | 2019-07-20T01:48:20.000Z | 2019-11-15T06:50:54.000Z | sns/api/reddit/__init__.py | kylepw/panner | 482ef8e8c1e8d9464d7dc8e4df5b5d9b58e83d35 | [
"MIT"
] | 5 | 2020-02-12T08:58:06.000Z | 2021-09-22T17:56:42.000Z | sns/api/reddit/__init__.py | kylepw/panner | 482ef8e8c1e8d9464d7dc8e4df5b5d9b58e83d35 | [
"MIT"
] | null | null | null | from .reddit import Reddit | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db3316baf71d34a1cb773146b81d366869ab014f | 90 | py | Python | backend/src/awattprice_notifications/__init__.py | sp4c38/AwattarApp | b914e8042e5cdcb84485d6d45133a00244662bda | [
"BSD-3-Clause"
] | 2 | 2020-09-06T18:17:20.000Z | 2020-09-06T19:06:19.000Z | backend/src/awattprice_notifications/__init__.py | sp4c38/AwattarApp | b914e8042e5cdcb84485d6d45133a00244662bda | [
"BSD-3-Clause"
] | null | null | null | backend/src/awattprice_notifications/__init__.py | sp4c38/AwattarApp | b914e8042e5cdcb84485d6d45133a00244662bda | [
"BSD-3-Clause"
] | null | null | null | from . import apns
from . import defaults
from . import notifications
from . import utils
| 18 | 27 | 0.777778 | 12 | 90 | 5.833333 | 0.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 4 | 28 | 22.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1db307b91a109a22cd725f8ec733b37f921e6f6 | 7,074 | py | Python | tests/test_execute.py | tonyfast/MyST-NB | 5ba41a2f29982db076d9e87fe41391f36057f2f8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_execute.py | tonyfast/MyST-NB | 5ba41a2f29982db076d9e87fe41391f36057f2f8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_execute.py | tonyfast/MyST-NB | 5ba41a2f29982db076d9e87fe41391f36057f2f8 | [
"BSD-3-Clause"
] | null | null | null | import pytest
@pytest.mark.sphinx_params(
"basic_unrun.ipynb", conf={"jupyter_execute_notebooks": "cache"}
)
def test_basic_unrun(sphinx_run, file_regression, check_nbs):
"""The outputs should be populated."""
sphinx_run.build()
assert sphinx_run.warnings() == ""
assert "test_name" in sphinx_run.a... | 38.237838 | 88 | 0.739327 | 935 | 7,074 | 5.284492 | 0.113369 | 0.163934 | 0.111516 | 0.086015 | 0.867638 | 0.843352 | 0.843352 | 0.804493 | 0.783849 | 0.767051 | 0 | 0.000647 | 0.126661 | 7,074 | 184 | 89 | 38.445652 | 0.799126 | 0.089483 | 0 | 0.595588 | 0 | 0 | 0.217378 | 0.115018 | 0 | 0 | 0 | 0 | 0.198529 | 1 | 0.110294 | false | 0 | 0.007353 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c027d718d2391c4d5604b5403c5798b0572b39f8 | 64 | py | Python | stream/server_sent_event.py | project-nait/simple-stream | 0fb4a031442b30cd8d0e10ebf78756cdd06f535b | [
"MIT"
] | null | null | null | stream/server_sent_event.py | project-nait/simple-stream | 0fb4a031442b30cd8d0e10ebf78756cdd06f535b | [
"MIT"
] | null | null | null | stream/server_sent_event.py | project-nait/simple-stream | 0fb4a031442b30cd8d0e10ebf78756cdd06f535b | [
"MIT"
] | null | null | null | class ServerSentEvent(object):
def __init__():
pass
| 16 | 30 | 0.640625 | 6 | 64 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265625 | 64 | 3 | 31 | 21.333333 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c0383fb798279946dc5e1f0aa34294a736c41bee | 25,505 | py | Python | cfn_policy_validator/tests/parsers_tests/utils_tests/test_arn_generator.py | awslabs/aws-cloudformation-iam-policy-validator | 52c1439e4d76d2c7d45c97563cc87f8458134e0b | [
"MIT-0"
] | 41 | 2021-09-30T01:28:51.000Z | 2022-03-24T09:42:09.000Z | cfn_policy_validator/tests/parsers_tests/utils_tests/test_arn_generator.py | awslabs/aws-cloudformation-iam-policy-validator | 52c1439e4d76d2c7d45c97563cc87f8458134e0b | [
"MIT-0"
] | 10 | 2021-09-30T08:13:11.000Z | 2022-03-22T07:34:41.000Z | cfn_policy_validator/tests/parsers_tests/utils_tests/test_arn_generator.py | awslabs/aws-cloudformation-iam-policy-validator | 52c1439e4d76d2c7d45c97563cc87f8458134e0b | [
"MIT-0"
] | 3 | 2021-11-29T21:13:30.000Z | 2022-02-04T12:49:40.000Z | """
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: MIT-0
"""
import unittest
from cfn_policy_validator.application_error import ApplicationError
from cfn_policy_validator.parsers.utils.arn_generator import ArnGenerator
from cfn_policy_validator.tests.parsers_tests import mo... | 39.66563 | 165 | 0.641012 | 2,521 | 25,505 | 6.194367 | 0.077747 | 0.048412 | 0.046107 | 0.061988 | 0.849321 | 0.844262 | 0.821081 | 0.802766 | 0.790151 | 0.775551 | 0 | 0.001027 | 0.236581 | 25,505 | 642 | 166 | 39.727414 | 0.800986 | 0.012311 | 0 | 0.67433 | 0 | 0.032567 | 0.256771 | 0.152053 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.109195 | false | 0 | 0.009579 | 0 | 0.153257 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c04565f9c6906e3c515e7bbdd58c77236aa3840f | 24 | py | Python | skynet/home/__init__.py | brianjyee/skynet | 924f9d153bf436a99aa7199fa3949f425d7ce05d | [
"BSD-2-Clause"
] | 6 | 2017-03-17T14:15:58.000Z | 2018-05-31T04:27:12.000Z | skynet/home/__init__.py | brianjyee/skynet | 924f9d153bf436a99aa7199fa3949f425d7ce05d | [
"BSD-2-Clause"
] | null | null | null | skynet/home/__init__.py | brianjyee/skynet | 924f9d153bf436a99aa7199fa3949f425d7ce05d | [
"BSD-2-Clause"
] | 4 | 2017-03-22T23:42:22.000Z | 2018-09-29T23:47:33.000Z | from .views import home
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c04a377ca404dbec86f1ae651798bc0c1ef18297 | 102 | py | Python | ask/blog/views.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | ask/blog/views.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | ask/blog/views.py | ztp99/pywebstepic | 59ffd969cb8dc0d602941d6676757cc4e9f7858b | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# blog
def home(request):
return HttpResponse('Hello World')
| 17 | 38 | 0.754902 | 13 | 102 | 5.923077 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 5 | 39 | 20.4 | 0.895349 | 0.039216 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c05b53fc9b1738070bd9ea6516b9ff428c008ed2 | 2,020 | py | Python | venv/Lib/site-packages/tensorflow_core/python/keras/api/keras/applications/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow_core/python/keras/api/keras/applications/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow_core/python/keras/api/keras/applications/__init__.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Keras Applications are canned architectures with pre-trained weights.
"""
from __future__ import print_function as _print_function
import sys as _sys
from . import densenet
from . impo... | 40.4 | 87 | 0.844554 | 253 | 2,020 | 6.577075 | 0.300395 | 0.192308 | 0.228365 | 0.270433 | 0.524038 | 0.524038 | 0.058894 | 0.058894 | 0.058894 | 0 | 0 | 0.024685 | 0.097525 | 2,020 | 49 | 88 | 41.22449 | 0.888097 | 0.09703 | 0 | 0 | 1 | 0 | 0.009912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.871795 | 0 | 0.871795 | 0.051282 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbfb64a992942b1da297cf671017568072aecfd6 | 2,501 | py | Python | httpx_cache/cache/base.py | obendidi/httpx-cache | 897dd8da5bb377ed7f61b367716976bdc0d581b1 | [
"BSD-3-Clause"
] | 16 | 2021-12-13T01:27:44.000Z | 2022-02-28T02:58:46.000Z | httpx_cache/cache/base.py | obendidi/httpx-cache | 897dd8da5bb377ed7f61b367716976bdc0d581b1 | [
"BSD-3-Clause"
] | 23 | 2022-01-03T15:57:39.000Z | 2022-03-28T22:25:08.000Z | httpx_cache/cache/base.py | obendidi/httpx-cache | 897dd8da5bb377ed7f61b367716976bdc0d581b1 | [
"BSD-3-Clause"
] | 2 | 2022-01-21T17:57:19.000Z | 2022-01-21T18:18:47.000Z | import typing as tp
from abc import ABC, abstractmethod
import httpx
class BaseCache(ABC):
@abstractmethod
def get(self, request: httpx.Request) -> tp.Optional[httpx.Response]:
"""Get cached response from Cache.
We use the httpx.Request.url as key.
Args:
request: httpx.R... | 26.326316 | 84 | 0.580568 | 278 | 2,501 | 5.215827 | 0.205036 | 0.115862 | 0.157241 | 0.095172 | 0.834483 | 0.797241 | 0.797241 | 0.797241 | 0.733793 | 0.671724 | 0 | 0 | 0.328269 | 2,501 | 94 | 85 | 26.606383 | 0.863095 | 0.237905 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.1 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
226801c939ef67ceb3068ea5a2e555afc9eb516c | 26 | py | Python | terrascript/softlayer/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/softlayer/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/softlayer/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:50:36"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97ec13aa7ab2fd0f155e64b9bb056deceb22f82e | 2,588 | py | Python | tests/test_wm.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | tests/test_wm.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | tests/test_wm.py | matheuscas/pyfuzzy_toolbox | 57885f3ff53d1b7ab3559c7ff6197ceb97f67c3b | [
"BSD-3-Clause"
] | null | null | null | from pyfuzzy_toolbox import wm
import numpy as np
from nose.tools import raises
@raises(TypeError)
def test_generate_regions_right_range_type():
regions = wm.generate_regions(range(0, 1), 5)
@raises(TypeError)
def test_generate_regions_right_N_type():
regions = wm.generate_regions(np.arange(0, 1.01, 0.01), ... | 35.944444 | 79 | 0.638717 | 403 | 2,588 | 3.903226 | 0.104218 | 0.075652 | 0.151303 | 0.097902 | 0.867133 | 0.818818 | 0.818818 | 0.726637 | 0.699936 | 0.699936 | 0 | 0.072588 | 0.190881 | 2,588 | 71 | 80 | 36.450704 | 0.678606 | 0 | 0 | 0.578947 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.122807 | false | 0 | 0.052632 | 0 | 0.175439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97ef354cb00695fca6fd3a0fc54aba0e38c9eb12 | 19 | py | Python | writing/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | writing/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | writing/utils/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | from . import line
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f15dd8a120396cbf6ec20295b8585d057ec0f30 | 148 | py | Python | vilya/models.py | xtao/vilya | 39afda324bcfe9eefe7d813381d5b1627ba00ae5 | [
"BSD-3-Clause"
] | 2 | 2015-01-15T09:10:57.000Z | 2015-01-15T09:55:10.000Z | vilya/models.py | xtao/vilya | 39afda324bcfe9eefe7d813381d5b1627ba00ae5 | [
"BSD-3-Clause"
] | null | null | null | vilya/models.py | xtao/vilya | 39afda324bcfe9eefe7d813381d5b1627ba00ae5 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from .projects.models import *
from .users.models import *
from .issues.models import *
from .pullrequests.models import *
| 21.142857 | 34 | 0.709459 | 19 | 148 | 5.526316 | 0.526316 | 0.457143 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.148649 | 148 | 6 | 35 | 24.666667 | 0.825397 | 0.141892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3f2764bb5f87b8685f3562c1f90b5a820c979b3d | 3,046 | py | Python | tests/app/validation/test_month_year_validator.py | ONSdigital/census-survey-runner | 9f8cd3d664db5c5b49d348bdf48c58d1a3492aab | [
"MIT"
] | null | null | null | tests/app/validation/test_month_year_validator.py | ONSdigital/census-survey-runner | 9f8cd3d664db5c5b49d348bdf48c58d1a3492aab | [
"MIT"
] | 3 | 2018-10-10T08:19:07.000Z | 2018-10-29T11:43:08.000Z | tests/app/validation/test_month_year_validator.py | ONSdigital/census-survey-runner | 9f8cd3d664db5c5b49d348bdf48c58d1a3492aab | [
"MIT"
] | 1 | 2021-04-11T08:04:22.000Z | 2021-04-11T08:04:22.000Z | import unittest
from unittest.mock import Mock
from wtforms.validators import ValidationError
from app.validation.error_messages import error_messages
from app.validation.validators import MonthYearCheck
class TestMonthYearValidator(unittest.TestCase):
def test_month_year_date_validator_none(self):
valid... | 28.203704 | 76 | 0.662837 | 347 | 3,046 | 5.541787 | 0.135447 | 0.116485 | 0.087363 | 0.058242 | 0.826833 | 0.813313 | 0.798232 | 0.798232 | 0.781071 | 0.781071 | 0 | 0.009578 | 0.245896 | 3,046 | 107 | 77 | 28.46729 | 0.827601 | 0 | 0 | 0.7 | 0 | 0 | 0.041694 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.1 | false | 0 | 0.071429 | 0 | 0.185714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f7364c93368e0f43aae71f4af38d5cbbfe48831 | 11,309 | py | Python | tests/test_routes_exhibition.py | purwin/Parks-Database | 98cb06dbfacf73c300f32d55f0872fb63ff4a906 | [
"MIT"
] | null | null | null | tests/test_routes_exhibition.py | purwin/Parks-Database | 98cb06dbfacf73c300f32d55f0872fb63ff4a906 | [
"MIT"
] | 2 | 2021-03-09T19:47:01.000Z | 2022-02-10T19:41:33.000Z | tests/test_routes_exhibition.py | purwin/Parks-Database | 98cb06dbfacf73c300f32d55f0872fb63ff4a906 | [
"MIT"
] | null | null | null | import unittest
from flask import request
from datetime import date, datetime
from app import db
from app.parks_db import Exhibition
from base import BaseTests
def format_date(date_text):
if not date_text:
return None
for style in ('%Y-%m-%d', '%m.%d.%Y', '%m.%d.%y', '%m/%d/%Y', '%m/%d/%y'):
... | 31.589385 | 377 | 0.653285 | 1,280 | 11,309 | 5.555469 | 0.114844 | 0.02461 | 0.059063 | 0.056954 | 0.844466 | 0.809731 | 0.772184 | 0.731121 | 0.697792 | 0.681058 | 0 | 0.016746 | 0.234327 | 11,309 | 358 | 378 | 31.589385 | 0.804481 | 0.106906 | 0 | 0.736059 | 0 | 0 | 0.116173 | 0.004177 | 0 | 0 | 0 | 0 | 0.096654 | 1 | 0.052045 | false | 0.003717 | 0.022305 | 0 | 0.096654 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
451a23badf4d19e5fabba0be2d632d17fe497571 | 147 | py | Python | tatk/util/kb_query.py | yqzhangthu/tatk | 4d27e89604a33f19f1c7b8fe5dc92d4ba6c6f10a | [
"Apache-2.0"
] | 2 | 2020-09-05T13:12:44.000Z | 2020-10-12T16:51:16.000Z | tatk/util/kb_query.py | yqzhangthu/tatk | 4d27e89604a33f19f1c7b8fe5dc92d4ba6c6f10a | [
"Apache-2.0"
] | null | null | null | tatk/util/kb_query.py | yqzhangthu/tatk | 4d27e89604a33f19f1c7b8fe5dc92d4ba6c6f10a | [
"Apache-2.0"
] | 1 | 2019-11-25T15:34:33.000Z | 2019-11-25T15:34:33.000Z | """Base Class for Knowledge Base Query"""
class KBquery:
def __init__(self):
pass
def query(self, constrains):
return [] | 16.333333 | 41 | 0.605442 | 17 | 147 | 5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 147 | 9 | 42 | 16.333333 | 0.809524 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
451cb47d1fe9f92d3a2dbbf39cd8ae2b191621d3 | 109 | py | Python | vyked/protocol_factory.py | shivank-gupta/vyked | 98836b3230775c5ad52dfc72291b2958d3a244c9 | [
"MIT"
] | 57 | 2015-02-28T07:42:45.000Z | 2021-11-13T08:41:06.000Z | vyked/protocol_factory.py | niks660097/async_framework | 57591d167bee365d5aa9bb5446b952095506e040 | [
"MIT"
] | 106 | 2015-05-27T05:34:06.000Z | 2021-04-21T04:34:42.000Z | vyked/protocol_factory.py | nerandell/vyked | 7b2554454a50110e15928db7105e074a9e521517 | [
"MIT"
] | 22 | 2015-05-27T05:08:15.000Z | 2018-09-18T12:08:25.000Z | from .jsonprotocol import VykedProtocol
def get_vyked_protocol(handler):
return VykedProtocol(handler)
| 18.166667 | 39 | 0.816514 | 12 | 109 | 7.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 109 | 5 | 40 | 21.8 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
453e63a876bca43571fa442690cc6881535530f5 | 78,539 | py | Python | v7_pickle_web_interface/flask/validate_steps_sympy.py | iammosespaulr/proofofconcept | 3f2bd8cba8d1f42b78f834fdfa05afc34d074f78 | [
"CC-BY-4.0"
] | null | null | null | v7_pickle_web_interface/flask/validate_steps_sympy.py | iammosespaulr/proofofconcept | 3f2bd8cba8d1f42b78f834fdfa05afc34d074f78 | [
"CC-BY-4.0"
] | null | null | null | v7_pickle_web_interface/flask/validate_steps_sympy.py | iammosespaulr/proofofconcept | 3f2bd8cba8d1f42b78f834fdfa05afc34d074f78 | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env python3
# Physics Derivation Graph
# Ben Payne, 2020
# https://creativecommons.org/licenses/by/4.0/
# Attribution 4.0 International (CC BY 4.0)
import sympy # type: ignore
# the following is only relevant for doctests
from sympy.parsing.latex import parse_latex # type: ignore
import common_lib as c... | 36.614918 | 113 | 0.574262 | 10,161 | 78,539 | 4.180002 | 0.036217 | 0.172698 | 0.079815 | 0.060179 | 0.92753 | 0.905658 | 0.882749 | 0.857321 | 0.794834 | 0.742778 | 0 | 0.016689 | 0.22408 | 78,539 | 2,144 | 114 | 36.631996 | 0.680276 | 0.382052 | 0 | 0.640562 | 0 | 0 | 0.205101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084337 | false | 0 | 0.008032 | 0 | 0.291165 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
453f204ef00500daea83df67d629e9b1c4706eba | 138 | py | Python | molsysmt/tools/biopython_SeqRecord/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/biopython_SeqRecord/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/biopython_SeqRecord/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | from .is_biopython_SeqRecord import is_biopython_SeqRecord
from .to_file_fasta import to_file_fasta
from .to_file_pir import to_file_pir
| 27.6 | 58 | 0.884058 | 24 | 138 | 4.583333 | 0.375 | 0.218182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 4 | 59 | 34.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
18bbb8cbabaf75d00fa6d0360b98da822a485d70 | 23 | py | Python | discordscript/__init__.py | jcb1317/DiscordScript | 3642057d0482dee205de2d46908d33816dfe947f | [
"MIT"
] | null | null | null | discordscript/__init__.py | jcb1317/DiscordScript | 3642057d0482dee205de2d46908d33816dfe947f | [
"MIT"
] | null | null | null | discordscript/__init__.py | jcb1317/DiscordScript | 3642057d0482dee205de2d46908d33816dfe947f | [
"MIT"
] | null | null | null | from .api import Client | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18c2102b0b4f9a8e69a96c1673f20c5ed3c84575 | 21 | py | Python | Window/__init__.py | Wevel/SilkscreenMasker | 87c4bcfd18679c1f6c18252016fab2091dc37c05 | [
"MIT"
] | null | null | null | Window/__init__.py | Wevel/SilkscreenMasker | 87c4bcfd18679c1f6c18252016fab2091dc37c05 | [
"MIT"
] | 1 | 2021-06-08T21:07:25.000Z | 2021-06-08T21:07:25.000Z | Window/__init__.py | Wevel/SilkscreenMasker | 87c4bcfd18679c1f6c18252016fab2091dc37c05 | [
"MIT"
] | null | null | null | from .dialog import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18fc6dc165fbb75b01e842c17ca498e16ab9f183 | 24 | py | Python | rascil/workflows/shared/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 7 | 2019-12-14T13:42:33.000Z | 2022-01-28T03:31:45.000Z | rascil/workflows/shared/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 6 | 2020-01-08T09:40:08.000Z | 2020-06-11T14:56:13.000Z | rascil/workflows/shared/__init__.py | SKA-ScienceDataProcessor/rascil | bd3b47f779e18e184781e2928ad1539d1fdc1c9b | [
"Apache-2.0"
] | 3 | 2020-01-14T11:14:16.000Z | 2020-09-15T05:21:06.000Z |
from .imaging import *
| 8 | 22 | 0.708333 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 23 | 12 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e12ed18923632a713fb478fe97ebc75f1e370124 | 6,802 | py | Python | src/detection_efffdet/effdet/config/fpn_config.py | yellowdolphin/SIIM-COVID19-Detection | 31e8653b467ac35a8b1d92330ad5f15a12622676 | [
"MIT"
] | 1,386 | 2020-03-27T07:05:36.000Z | 2022-03-31T17:27:50.000Z | effdet/config/fpn_config.py | dmatos2012/efficientdet-pytorch | 301487e859fa8160dd3e01b7dbc54d713b392676 | [
"Apache-2.0"
] | 176 | 2020-03-27T07:07:36.000Z | 2022-03-15T19:49:53.000Z | effdet/config/fpn_config.py | dmatos2012/efficientdet-pytorch | 301487e859fa8160dd3e01b7dbc54d713b392676 | [
"Apache-2.0"
] | 276 | 2020-03-28T10:16:24.000Z | 2022-03-30T19:27:12.000Z | import itertools
from omegaconf import OmegaConf
def bifpn_config(min_level, max_level, weight_method=None):
"""BiFPN config.
Adapted from https://github.com/google/automl/blob/56815c9986ffd4b508fe1d68508e268d129715c1/efficientdet/keras/fpn_configs.py
"""
p = OmegaConf.create()
weight_method = we... | 36.767568 | 129 | 0.625551 | 987 | 6,802 | 4.037487 | 0.136778 | 0.080301 | 0.061982 | 0.048181 | 0.766123 | 0.766123 | 0.740778 | 0.736512 | 0.707905 | 0.695107 | 0 | 0.026526 | 0.246251 | 6,802 | 184 | 130 | 36.967391 | 0.750731 | 0.151867 | 0 | 0.723077 | 0 | 0 | 0.093113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.015385 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e132e88837b42b1102faffe61afb2e9719625a5e | 42 | py | Python | libs/networks/__init__.py | Kinpzz/RCRNet-Pytorch | 8d9f0fe0c7ad651db7578b2d96741de11036ef82 | [
"MIT"
] | 67 | 2019-11-22T14:50:09.000Z | 2021-12-21T21:57:55.000Z | libs/networks/__init__.py | Kinpzz/RCRNet-Pytorch | 8d9f0fe0c7ad651db7578b2d96741de11036ef82 | [
"MIT"
] | 6 | 2019-12-03T14:03:57.000Z | 2021-10-10T11:25:30.000Z | libs/networks/__init__.py | Kinpzz/RCRNet-Pytorch | 8d9f0fe0c7ad651db7578b2d96741de11036ef82 | [
"MIT"
] | 15 | 2019-10-24T08:14:50.000Z | 2021-09-24T05:56:16.000Z | from .models import ImageModel, VideoModel | 42 | 42 | 0.857143 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e139c1756154bed198885e34ceef206678fb8c1e | 12,141 | py | Python | l5kit/l5kit/tests/cle/test_metrics.py | Aspirisha/l5kit | 40ed7576f803e83fc3f0714e6458635f9f6bfe60 | [
"Apache-2.0"
] | null | null | null | l5kit/l5kit/tests/cle/test_metrics.py | Aspirisha/l5kit | 40ed7576f803e83fc3f0714e6458635f9f6bfe60 | [
"Apache-2.0"
] | null | null | null | l5kit/l5kit/tests/cle/test_metrics.py | Aspirisha/l5kit | 40ed7576f803e83fc3f0714e6458635f9f6bfe60 | [
"Apache-2.0"
] | 1 | 2021-07-20T15:23:16.000Z | 2021-07-20T15:23:16.000Z | import unittest
from typing import Any
from unittest import mock
import torch
from l5kit.cle import metrics
from l5kit.evaluation import error_functions
from l5kit.evaluation import metrics as l5metrics
class TestCollisionMetric(unittest.TestCase):
@staticmethod
def create_dummy_metric(dummy_metric_name: st... | 40.069307 | 90 | 0.643028 | 1,334 | 12,141 | 5.633433 | 0.126687 | 0.049102 | 0.06334 | 0.064671 | 0.804258 | 0.792415 | 0.763673 | 0.747705 | 0.735196 | 0.71843 | 0 | 0.022185 | 0.253768 | 12,141 | 302 | 91 | 40.201987 | 0.807285 | 0.049831 | 0 | 0.681452 | 0 | 0 | 0.074646 | 0 | 0 | 0 | 0 | 0 | 0.133065 | 1 | 0.08871 | false | 0 | 0.028226 | 0 | 0.145161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e19ed1e597ccf9fb9ecd8684156fb9cb06c3c44f | 61 | py | Python | cmstack/hdfg/onnx_hdfg/onnx_helper.py | he-actlab/cdstack | 38f605cfa299bf97b5875a19f9fd811a2671d56f | [
"Apache-2.0"
] | null | null | null | cmstack/hdfg/onnx_hdfg/onnx_helper.py | he-actlab/cdstack | 38f605cfa299bf97b5875a19f9fd811a2671d56f | [
"Apache-2.0"
] | null | null | null | cmstack/hdfg/onnx_hdfg/onnx_helper.py | he-actlab/cdstack | 38f605cfa299bf97b5875a19f9fd811a2671d56f | [
"Apache-2.0"
] | null | null | null | def make_node():
pass
def make_value_info():
pass
| 7.625 | 22 | 0.622951 | 9 | 61 | 3.888889 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278689 | 61 | 7 | 23 | 8.714286 | 0.795455 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e1c709f3215825c5bc643e91bf9c3b18c8a64137 | 38 | py | Python | test/unit/core/sample_plugins/__init__.py | modora/fold | c2eded4480cf715794b8f0585df7dba2cc1348f3 | [
"MIT"
] | null | null | null | test/unit/core/sample_plugins/__init__.py | modora/fold | c2eded4480cf715794b8f0585df7dba2cc1348f3 | [
"MIT"
] | null | null | null | test/unit/core/sample_plugins/__init__.py | modora/fold | c2eded4480cf715794b8f0585df7dba2cc1348f3 | [
"MIT"
] | null | null | null | from .p1 import P1
from .p2 import P2
| 12.666667 | 18 | 0.736842 | 8 | 38 | 3.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.210526 | 38 | 2 | 19 | 19 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
becea6281f75a8789cfdb5c3aa303a671364e681 | 19,875 | py | Python | mixup_utils/taylor_losses.py | mpsenka21/generalization | 366c5542787a6e3d51c17daab440fadcb5fb127e | [
"MIT"
] | null | null | null | mixup_utils/taylor_losses.py | mpsenka21/generalization | 366c5542787a6e3d51c17daab440fadcb5fb127e | [
"MIT"
] | null | null | null | mixup_utils/taylor_losses.py | mpsenka21/generalization | 366c5542787a6e3d51c17daab440fadcb5fb127e | [
"MIT"
] | null | null | null | import torch
import numpy as np
from torch.autograd import Variable
# Module to compute and evaluate the Taylor approximate loss in the paper on larger-scale tasks
# - Standard Taylor, global order 2 (eq. 12)
# - Our Taylor, up to order 2 for each \epsilon and \delta (eq. 4)
# --- Note that for cross entropy loss,... | 36.07078 | 167 | 0.660579 | 3,197 | 19,875 | 3.961526 | 0.108539 | 0.020213 | 0.021477 | 0.017766 | 0.758626 | 0.75152 | 0.736992 | 0.733044 | 0.711488 | 0.676352 | 0 | 0.018364 | 0.221887 | 19,875 | 551 | 168 | 36.07078 | 0.800582 | 0.37912 | 0 | 0.767932 | 0 | 0 | 0.002303 | 0 | 0 | 0 | 0 | 0.001815 | 0.004219 | 1 | 0.050633 | false | 0 | 0.012658 | 0 | 0.113924 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bedf33b41e91389e1709d0e3f79f3bfae03ddea1 | 259 | py | Python | cakechat/utils/offense_detector/config.py | timmoti/cakechat | 97f14e3f12c92edb30ed385fe93e7e3944bcd298 | [
"Apache-2.0"
] | 1 | 2018-05-15T09:18:19.000Z | 2018-05-15T09:18:19.000Z | cakechat/utils/offense_detector/config.py | hooram/cakechat | 92b0957329738b9480f36f62d63876ed758208c5 | [
"Apache-2.0"
] | 64 | 2019-07-05T06:06:43.000Z | 2021-08-02T05:22:31.000Z | cakechat/utils/offense_detector/config.py | timmoti/cakechat | 97f14e3f12c92edb30ed385fe93e7e3944bcd298 | [
"Apache-2.0"
] | 1 | 2018-10-14T04:14:41.000Z | 2018-10-14T04:14:41.000Z | import os
import pkg_resources
import cakechat.utils.offense_detector
OFFENSIVE_PHRASES_PATH = pkg_resources.resource_filename(cakechat.utils.offense_detector.__name__,
'/data/offensive_phrases.csv')
| 32.375 | 98 | 0.675676 | 26 | 259 | 6.269231 | 0.615385 | 0.147239 | 0.245399 | 0.343558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266409 | 259 | 7 | 99 | 37 | 0.857895 | 0 | 0 | 0 | 0 | 0 | 0.104247 | 0.104247 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bef78df01329d22337eafd0938c56e0973260729 | 283 | py | Python | utils/kubernetes/__init__.py | StackVista/sts-agent | f8358ea46820ffb9eb0b4b30c7d7457cc2cc987a | [
"BSD-3-Clause"
] | 4 | 2017-03-18T12:16:40.000Z | 2020-11-12T06:59:29.000Z | utils/kubernetes/__init__.py | StackVista/sts-agent | f8358ea46820ffb9eb0b4b30c7d7457cc2cc987a | [
"BSD-3-Clause"
] | 18 | 2016-09-22T08:01:02.000Z | 2020-07-15T08:30:17.000Z | utils/kubernetes/__init__.py | StackVista/sts-agent | f8358ea46820ffb9eb0b4b30c7d7457cc2cc987a | [
"BSD-3-Clause"
] | 8 | 2016-11-23T06:55:51.000Z | 2021-07-05T05:12:34.000Z |
from .leader_elector import LeaderElector # noqa: F401
from .kube_event_retriever import KubeEventRetriever # noqa: F401
from .pod_service_mapper import PodServiceMapper # noqa: F401
from .kubeutil import detect_is_k8s # noqa: F401
from .kubeutil import KubeUtil # noqa: F401
| 40.428571 | 66 | 0.798587 | 37 | 283 | 5.918919 | 0.513514 | 0.182648 | 0.219178 | 0.182648 | 0.237443 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06639 | 0.14841 | 283 | 6 | 67 | 47.166667 | 0.842324 | 0.190813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
befcf7d54065c34019a35095a58f037c15ecc9ef | 9,443 | py | Python | tests/contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/test_michelson_coding_KT1Gqy.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-08-11T02:31:24.000Z | 2020-08-11T02:31:24.000Z | tests/contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/test_michelson_coding_KT1Gqy.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/test_michelson_coding_KT1Gqy.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1Gqy(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.9801 | 90 | 0.733983 | 880 | 9,443 | 7.563636 | 0.05 | 0.048377 | 0.074369 | 0.135216 | 0.963341 | 0.963341 | 0.963341 | 0.963341 | 0.947416 | 0.947416 | 0 | 0.031037 | 0.191359 | 9,443 | 200 | 91 | 47.215 | 0.840623 | 0 | 0 | 0.639053 | 0 | 0 | 0.316531 | 0.316531 | 0 | 0 | 0 | 0 | 0.159763 | 1 | 0.16568 | false | 0 | 0.023669 | 0 | 0.195266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
831962ebd3fea680260d545014e6784b1cba6901 | 26 | py | Python | terrascript/vault/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/vault/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | null | null | null | terrascript/vault/__init__.py | GarnerCorp/python-terrascript | ec6c2d9114dcd3cb955dd46069f8ba487e320a8c | [
"BSD-2-Clause"
] | 1 | 2018-11-15T16:23:05.000Z | 2018-11-15T16:23:05.000Z | """2019-05-28 10:50:46"""
| 13 | 25 | 0.538462 | 6 | 26 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0.076923 | 26 | 1 | 26 | 26 | 0 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
831b15f3b3c6e6a289776af8ddb4e57729a1076a | 22 | py | Python | ASTeditor/new.py | skylerberg/ASTeditor | 55a2d3c53986174cb12e5269fff21c5e4fedf67c | [
"Apache-2.0"
] | 1 | 2020-05-16T02:59:32.000Z | 2020-05-16T02:59:32.000Z | ASTeditor/new.py | skylerberg/ASTeditor | 55a2d3c53986174cb12e5269fff21c5e4fedf67c | [
"Apache-2.0"
] | null | null | null | ASTeditor/new.py | skylerberg/ASTeditor | 55a2d3c53986174cb12e5269fff21c5e4fedf67c | [
"Apache-2.0"
] | null | null | null |
def new():
pass
| 4.4 | 10 | 0.454545 | 3 | 22 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.409091 | 22 | 4 | 11 | 5.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
832f51379b1095cd19da1da28f558558d4fa7d90 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/tests/test_custom_dtypes.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_custom_dtypes.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_custom_dtypes.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/25/db/ed/09935f2ff2ae669ac4e6d9d92111e650da1d08849833b05128e4394194 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83343a8bc9268d81d1649edf44e25372c0339b82 | 22 | py | Python | vincent_crons/__init__.py | EVEprosper/vincent-lexicon | dad65564f7e1a3cc97af9f2ea9592025cb83df5c | [
"MIT"
] | null | null | null | vincent_crons/__init__.py | EVEprosper/vincent-lexicon | dad65564f7e1a3cc97af9f2ea9592025cb83df5c | [
"MIT"
] | null | null | null | vincent_crons/__init__.py | EVEprosper/vincent-lexicon | dad65564f7e1a3cc97af9f2ea9592025cb83df5c | [
"MIT"
] | null | null | null | from . import GetNews
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8353b4d77cc3f82f74b32d42e55870e0d315218c | 42 | py | Python | stixpy/timeseries/__init__.py | nicHoch/stixpy | cdb86094995590da36f3ae5e01f4ca4b9aac819c | [
"BSD-3-Clause"
] | 4 | 2021-07-06T14:42:09.000Z | 2022-02-24T10:19:18.000Z | stixpy/timeseries/__init__.py | nicHoch/stixpy | cdb86094995590da36f3ae5e01f4ca4b9aac819c | [
"BSD-3-Clause"
] | 30 | 2020-10-02T20:24:28.000Z | 2022-03-31T18:29:07.000Z | stixpy/timeseries/__init__.py | nicHoch/stixpy | cdb86094995590da36f3ae5e01f4ca4b9aac819c | [
"BSD-3-Clause"
] | 8 | 2021-04-16T11:00:13.000Z | 2022-03-31T10:09:29.000Z | from stixpy.timeseries.quicklook import *
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
360bed4d77495a28172ed474aa2d2803ac44844d | 12,967 | py | Python | tests/test_profile/test_quota/test_model.py | SyedMaseerulla/squest | d741a928f6361cf355607c2def31b0539592814b | [
"Apache-2.0"
] | null | null | null | tests/test_profile/test_quota/test_model.py | SyedMaseerulla/squest | d741a928f6361cf355607c2def31b0539592814b | [
"Apache-2.0"
] | null | null | null | tests/test_profile/test_quota/test_model.py | SyedMaseerulla/squest | d741a928f6361cf355607c2def31b0539592814b | [
"Apache-2.0"
] | 1 | 2022-03-24T03:37:12.000Z | 2022-03-24T03:37:12.000Z | from unittest import mock
from profiles.models import BillingGroup, QuotaBinding, Quota
from resource_tracker.models import Resource, ResourceGroup
from service_catalog.models import Instance
from service_catalog.tasks import async_resource_attribute_quota_bindings_update_consumed, \
async_quota_bindings_update_con... | 56.872807 | 174 | 0.726151 | 1,610 | 12,967 | 5.444721 | 0.056522 | 0.085216 | 0.133242 | 0.090349 | 0.876454 | 0.856035 | 0.791695 | 0.753365 | 0.704084 | 0.678074 | 0 | 0.015178 | 0.192103 | 12,967 | 227 | 175 | 57.123348 | 0.821592 | 0.003162 | 0 | 0.578431 | 0 | 0 | 0.106786 | 0.093632 | 0 | 0 | 0 | 0 | 0.171569 | 1 | 0.088235 | false | 0 | 0.029412 | 0 | 0.122549 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36b6aa56003524fa9b82afaab7665b9fcaebbcd7 | 3,963 | py | Python | tools/validation.py | pyRobShrk/calsim_toolkit | ca6d63f6a89757f06b53d646da9310ea77446f13 | [
"MIT"
] | 1 | 2020-01-09T22:18:13.000Z | 2020-01-09T22:18:13.000Z | tools/validation.py | pyRobShrk/calsim_toolkit | ca6d63f6a89757f06b53d646da9310ea77446f13 | [
"MIT"
] | 15 | 2020-01-07T01:05:47.000Z | 2021-06-16T16:12:21.000Z | tools/validation.py | pyRobShrk/calsim_toolkit | ca6d63f6a89757f06b53d646da9310ea77446f13 | [
"MIT"
] | 3 | 2020-03-06T18:10:09.000Z | 2021-06-16T16:20:16.000Z | """
Summary
-------
The purpose of this module is to validate data structures produced by the
`calsim_toolkit` library.
"""
# %% Import libraries.
# Import third party libraries.
import pandas as pd
# %% Define functions.
def is_catalog(df, verbose=False):
# Ensure input is a DataFrame.
if not isinstance(df,... | 33.025 | 78 | 0.591723 | 487 | 3,963 | 4.749487 | 0.223819 | 0.038911 | 0.042369 | 0.057501 | 0.771293 | 0.771293 | 0.762646 | 0.762646 | 0.762646 | 0.762646 | 0 | 0 | 0.299016 | 3,963 | 119 | 79 | 33.302521 | 0.832613 | 0.169316 | 0 | 0.722892 | 0 | 0 | 0.28974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048193 | false | 0 | 0.024096 | 0 | 0.204819 | 0.120482 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36d4ceea6ff8fb8bf8338df3bdbc6de8541a6a9a | 13,038 | py | Python | startup/37-Alignement.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | null | null | null | startup/37-Alignement.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 13 | 2018-09-25T19:35:08.000Z | 2021-01-15T20:42:26.000Z | startup/37-Alignement.py | NSLS-II-SMI/profile_collection | c1e2236a7520f605ac85e7591f05682add06357c | [
"BSD-3-Clause"
] | 3 | 2019-09-06T01:40:59.000Z | 2020-07-01T20:27:39.000Z | import matplotlib.pyplot as plt
import numpy as np
print(f'Loading {__file__}')
def align_gisaxs_height(rang=0.3, point=31, der=False):
yield from bp.rel_scan([pil1M], piezo.y, -rang, rang, point)
ps(der=der, plot = False)
yield from bps.mv(piezo.y, ps.cen)
def align_gisaxs_height_rb(rang=0.... | 34.492063 | 178 | 0.636447 | 1,805 | 13,038 | 4.469252 | 0.105817 | 0.105987 | 0.060741 | 0.069419 | 0.854469 | 0.837858 | 0.818396 | 0.778604 | 0.75815 | 0.743523 | 0 | 0.029355 | 0.2867 | 13,038 | 377 | 179 | 34.583554 | 0.838065 | 0.314619 | 0 | 0.610063 | 0 | 0 | 0.017679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08805 | false | 0 | 0.012579 | 0 | 0.100629 | 0.006289 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7fd29797b5349f25f952a69bf6fcc646ff774ce4 | 7,421 | py | Python | ctutils/driver/counterflow_premixed_flame.py | Combustion-Zhen/pyutils | dc675f2087d531fbd0ac5477dadbb5cebb9ccf79 | [
"MIT"
] | null | null | null | ctutils/driver/counterflow_premixed_flame.py | Combustion-Zhen/pyutils | dc675f2087d531fbd0ac5477dadbb5cebb9ccf79 | [
"MIT"
] | null | null | null | ctutils/driver/counterflow_premixed_flame.py | Combustion-Zhen/pyutils | dc675f2087d531fbd0ac5477dadbb5cebb9ccf79 | [
"MIT"
] | null | null | null | # one stream unburnt, one stream equilibrium
#%%
import numpy as np
import cantera as ct
import pyutils.ctutils.gas as cg
from pyutils.filename import params2name
# %%
def counterflow_premixed_flame(
chemistry = 'gri30.xml',
fuel = {'CH4':1.},
oxidizer = {'O2':1, 'N2':3.76},
temperat... | 24.491749 | 84 | 0.587387 | 1,049 | 7,421 | 3.960915 | 0.154433 | 0.030806 | 0.046209 | 0.033694 | 0.798075 | 0.787004 | 0.774489 | 0.774489 | 0.774489 | 0.748014 | 0 | 0.026939 | 0.294704 | 7,421 | 302 | 85 | 24.572848 | 0.766909 | 0.194718 | 0 | 0.759777 | 0 | 0 | 0.065261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011173 | false | 0 | 0.022346 | 0 | 0.055866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7fefaca0fa2d7a5baf0985769c45ef93813ec655 | 4,585 | py | Python | pdft/tests/formic/twobasis_b3lyp/formic.py | ymshi449/pdft | 5839229a4389da95319ceb05269abc635a466878 | [
"BSD-3-Clause"
] | null | null | null | pdft/tests/formic/twobasis_b3lyp/formic.py | ymshi449/pdft | 5839229a4389da95319ceb05269abc635a466878 | [
"BSD-3-Clause"
] | null | null | null | pdft/tests/formic/twobasis_b3lyp/formic.py | ymshi449/pdft | 5839229a4389da95319ceb05269abc635a466878 | [
"BSD-3-Clause"
] | 2 | 2020-03-24T21:06:36.000Z | 2021-04-22T19:34:39.000Z | import psi4
import numpy as np
import pdft
import matplotlib.pyplot as plt
import libcubeprop
import pickle
psi4.core.set_output_file("formic")
functional = 'b3lyp'
basis = 'cc-pvdz'
Full_Molec = psi4.geometry("""
nocom
noreorient
C 0.0000000 0.1929272 -1.9035340
O 0.0000000 1.1595219 -1.1616236
O ... | 30.566667 | 117 | 0.685932 | 804 | 4,585 | 3.802239 | 0.171642 | 0.078508 | 0.082434 | 0.039254 | 0.746811 | 0.743867 | 0.743867 | 0.743867 | 0.743867 | 0.743867 | 0 | 0.223198 | 0.155725 | 4,585 | 149 | 118 | 30.771812 | 0.56652 | 0.077863 | 0 | 0.555556 | 0 | 0 | 0.354785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d1a157fa07172f935b6c3f5440275e12972cfe0 | 37 | py | Python | streamparse/bootstrap/project/fabfile.py | thedrow/streamparse | 6d614434747009f16389db03f538d82733183eac | [
"Apache-2.0"
] | 1 | 2015-06-08T23:05:04.000Z | 2015-06-08T23:05:04.000Z | streamparse/bootstrap/project/fabfile.py | thedrow/streamparse | 6d614434747009f16389db03f538d82733183eac | [
"Apache-2.0"
] | 1 | 2020-06-25T07:11:18.000Z | 2020-06-25T07:11:18.000Z | streamparse/bootstrap/project/fabfile.py | thedrow/streamparse | 6d614434747009f16389db03f538d82733183eac | [
"Apache-2.0"
] | null | null | null | from streamparse.ext.fabric import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1801fe6be09fb40aeee5c77f7eab6754b2af5786 | 142 | py | Python | pyserum/market/__init__.py | cmsholdings/pyserum | 4aed066b5916ac622e7519a747513a6a03f551fa | [
"MIT"
] | null | null | null | pyserum/market/__init__.py | cmsholdings/pyserum | 4aed066b5916ac622e7519a747513a6a03f551fa | [
"MIT"
] | null | null | null | pyserum/market/__init__.py | cmsholdings/pyserum | 4aed066b5916ac622e7519a747513a6a03f551fa | [
"MIT"
] | null | null | null | from .market import Market # noqa: F401
from .orderbook import OrderBook # noqa: F401
from .state import MarketState as State # noqa: F401
| 35.5 | 53 | 0.753521 | 20 | 142 | 5.35 | 0.45 | 0.224299 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 0.183099 | 142 | 3 | 54 | 47.333333 | 0.844828 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
18190a05ed4bc58199deae0cdee4bb432acdf91d | 12,347 | py | Python | tests/functional/test_eventbridge.py | vemel/botocore | 72039648c2880379e512824332c76eb5bf73ed34 | [
"Apache-2.0"
] | null | null | null | tests/functional/test_eventbridge.py | vemel/botocore | 72039648c2880379e512824332c76eb5bf73ed34 | [
"Apache-2.0"
] | null | null | null | tests/functional/test_eventbridge.py | vemel/botocore | 72039648c2880379e512824332c76eb5bf73ed34 | [
"Apache-2.0"
] | null | null | null | import json
import pytest
from botocore.config import Config
from botocore.exceptions import InvalidEndpointConfigurationError
from tests import BaseSessionTest, ClientHTTPStubber, requires_crt
class TestClientEvents(BaseSessionTest):
def setUp(self):
super().setUp()
self.region = "us-east-1"
... | 37.078078 | 88 | 0.645258 | 1,370 | 12,347 | 5.464964 | 0.094161 | 0.055296 | 0.051289 | 0.076132 | 0.837719 | 0.836116 | 0.8269 | 0.819287 | 0.792173 | 0.791372 | 0 | 0.010036 | 0.265652 | 12,347 | 332 | 89 | 37.189759 | 0.815705 | 0 | 0 | 0.628975 | 0 | 0 | 0.086823 | 0.001782 | 0 | 0 | 0 | 0 | 0.134276 | 1 | 0.088339 | false | 0 | 0.017668 | 0.003534 | 0.120141 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18535a160dd2528603827d1ee1611f1e1c00058f | 93 | py | Python | src/moncash/exceptions/configuration_error.py | MLHaiti/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 15 | 2021-03-02T01:25:37.000Z | 2022-03-12T14:20:07.000Z | src/moncash/exceptions/configuration_error.py | Wadprog/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 6 | 2021-03-04T17:22:11.000Z | 2022-03-12T16:54:43.000Z | src/moncash/exceptions/configuration_error.py | Wadprog/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 3 | 2022-03-07T15:54:41.000Z | 2022-03-12T14:24:27.000Z | from moncash.exceptions import MoncashError
class ConfigurationError(MoncashError):
pass | 23.25 | 43 | 0.83871 | 9 | 93 | 8.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 4 | 44 | 23.25 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
18608e570b1bd507855c43a1a0f9cadc97839ea4 | 23 | py | Python | aps/distributed/__init__.py | ishine/aps | c814dc5a8b0bff5efa7e1ecc23c6180e76b8e26c | [
"Apache-2.0"
] | 117 | 2021-02-02T13:38:16.000Z | 2022-03-16T05:40:25.000Z | aps/distributed/__init__.py | NormonisPing/aps | f646167ef768499eff0db82c55cc093ca4804d65 | [
"Apache-2.0"
] | 3 | 2021-11-11T07:07:31.000Z | 2021-11-20T15:25:42.000Z | aps/distributed/__init__.py | NormonisPing/aps | f646167ef768499eff0db82c55cc093ca4804d65 | [
"Apache-2.0"
] | 19 | 2021-02-04T10:04:25.000Z | 2022-02-16T05:24:44.000Z | from .backend import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1867806a149d210a4a1f310181af82ebfd3c124c | 3,008 | py | Python | tests/test_include_sass.py | mdrachuk/lightspeed | ff4dc0531adfc483a0ec84a98ea308efbae6beda | [
"MIT"
] | 4 | 2019-08-27T19:17:44.000Z | 2020-04-24T04:49:30.000Z | tests/test_include_sass.py | mdrachuk/lightspeed | ff4dc0531adfc483a0ec84a98ea308efbae6beda | [
"MIT"
] | 16 | 2019-08-22T14:44:10.000Z | 2020-06-29T15:07:24.000Z | tests/test_include_sass.py | mdrachuk/lightspeed | ff4dc0531adfc483a0ec84a98ea308efbae6beda | [
"MIT"
] | null | null | null | from pathlib import Path
import pytest
from lightweight import Site, sass
def test_render_scss_file(tmp_path: Path):
src_location = 'resources/scss/style.scss'
out_location = 'css/style.css'
test_out = tmp_path / 'out'
site = Site(url='https://example.org/')
site.add(out_location, sass(src_loc... | 32.344086 | 88 | 0.68883 | 421 | 3,008 | 4.72209 | 0.104513 | 0.073944 | 0.071932 | 0.080483 | 0.92002 | 0.889336 | 0.839034 | 0.789738 | 0.732897 | 0.68662 | 0 | 0.004773 | 0.164229 | 3,008 | 92 | 89 | 32.695652 | 0.785998 | 0 | 0 | 0.580645 | 0 | 0 | 0.243351 | 0.15758 | 0 | 0 | 0 | 0 | 0.177419 | 1 | 0.096774 | false | 0 | 0.048387 | 0 | 0.145161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
186b2af41958aa0afec5b107c42fa3e4e7ed774c | 12,883 | py | Python | test/test_tfrecord.py | jkulhanek/torchdata | 2e8b9f613a13c74b424651649f317c7b322131d6 | [
"BSD-3-Clause"
] | null | null | null | test/test_tfrecord.py | jkulhanek/torchdata | 2e8b9f613a13c74b424651649f317c7b322131d6 | [
"BSD-3-Clause"
] | null | null | null | test/test_tfrecord.py | jkulhanek/torchdata | 2e8b9f613a13c74b424651649f317c7b322131d6 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import os
import unittest
import warnings
from functools import partial
import expecttest
import numpy as np
i... | 46.847273 | 111 | 0.598463 | 1,616 | 12,883 | 4.46349 | 0.113243 | 0.085956 | 0.028975 | 0.027035 | 0.872175 | 0.852489 | 0.835575 | 0.826702 | 0.808956 | 0.80854 | 0 | 0.014863 | 0.274082 | 12,883 | 274 | 112 | 47.018248 | 0.756416 | 0.066832 | 0 | 0.564655 | 0 | 0 | 0.078057 | 0.006081 | 0 | 0 | 0 | 0 | 0.267241 | 1 | 0.025862 | false | 0 | 0.038793 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
188303be89e27356e2870e46d7fec182b911169d | 96 | py | Python | venv/lib/python3.8/site-packages/zipp.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/zipp.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/zipp.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c0/c4/a8/6310083e0627a89016d09700979b16688705739c64ddd3637fa1251a05 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.520833 | 0 | 96 | 1 | 96 | 96 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43fed542a413270455edceb8b9985b3db7da3f9a | 3,477 | py | Python | scripts/results/mcc_hpe_adl.py | Ayushk4/nmt-difficulty | d4c8252abf091701a2ba4d85fb6a79a3720d9748 | [
"MIT"
] | 8 | 2020-05-06T09:47:55.000Z | 2022-02-26T07:36:28.000Z | scripts/results/mcc_hpe_adl.py | Ayushk4/nmt-difficulty | d4c8252abf091701a2ba4d85fb6a79a3720d9748 | [
"MIT"
] | null | null | null | scripts/results/mcc_hpe_adl.py | Ayushk4/nmt-difficulty | d4c8252abf091701a2ba4d85fb6a79a3720d9748 | [
"MIT"
] | 1 | 2021-05-20T06:06:56.000Z | 2021-05-20T06:06:56.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from scipy import stats
import pandas as pd
def get_correlations(df, name=None):
xs = df.values[:, 0]
ys = df.values[:, 1]
pearson_r, pearson_p = stats.pearsonr(xs, ys)
spearman_rho, spearman_p = stats.spearmanr(xs, ys)
if not name:
name = ''
... | 59.948276 | 143 | 0.685361 | 534 | 3,477 | 4.222846 | 0.123596 | 0.126386 | 0.143681 | 0.090466 | 0.821729 | 0.821729 | 0.807982 | 0.76408 | 0.717517 | 0.717517 | 0 | 0.002167 | 0.070751 | 3,477 | 57 | 144 | 61 | 0.69576 | 0.012079 | 0 | 0.068182 | 0 | 0 | 0.259907 | 0.060897 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.045455 | 0 | 0.068182 | 0.159091 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1602e01e346e931356bab7a8154bf262de1e2ee | 42 | py | Python | parqser/web_component/__init__.py | ARQtty/parqser | 2f4f9505544d718dc818d1d9177ac1394bfbb352 | [
"MIT"
] | null | null | null | parqser/web_component/__init__.py | ARQtty/parqser | 2f4f9505544d718dc818d1d9177ac1394bfbb352 | [
"MIT"
] | null | null | null | parqser/web_component/__init__.py | ARQtty/parqser | 2f4f9505544d718dc818d1d9177ac1394bfbb352 | [
"MIT"
] | null | null | null | from .base_component import BaseComponent
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a16425a64319b700eaebabdcf78c07fa92f8d5b4 | 120 | py | Python | mala/common/__init__.py | DanielKotik/mala | 1b89a78f5ddecb1df21d2753715001ffe4250fc1 | [
"BSD-3-Clause"
] | null | null | null | mala/common/__init__.py | DanielKotik/mala | 1b89a78f5ddecb1df21d2753715001ffe4250fc1 | [
"BSD-3-Clause"
] | null | null | null | mala/common/__init__.py | DanielKotik/mala | 1b89a78f5ddecb1df21d2753715001ffe4250fc1 | [
"BSD-3-Clause"
] | null | null | null | """General functions for MALA, such as parameters."""
from .parameters import Parameters
from .printout import printout
| 30 | 53 | 0.791667 | 15 | 120 | 6.333333 | 0.666667 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 3 | 54 | 40 | 0.904762 | 0.391667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a181539b6b4056078e2d1a8af2c0f216f66bab67 | 254 | py | Python | globals/api/test/api/src/service/MyIgnorableService.py | SamuelJansen/Globals | 49a5ac10b18642ffbc54745c9bd55bf358ca73df | [
"MIT"
] | 2 | 2020-07-03T06:35:39.000Z | 2020-07-23T00:25:45.000Z | globals/api/test/api/src/service/MyIgnorableService.py | SamuelJansen/Globals | 49a5ac10b18642ffbc54745c9bd55bf358ca73df | [
"MIT"
] | 1 | 2021-05-26T20:35:05.000Z | 2021-06-12T06:50:30.000Z | globals/api/test/api/src/service/MyIgnorableService.py | SamuelJansen/Globals | 49a5ac10b18642ffbc54745c9bd55bf358ca73df | [
"MIT"
] | 1 | 2020-11-01T02:07:34.000Z | 2020-11-01T02:07:34.000Z | class MyIgnorableClass :
def getServiceValue(self, argument) :
return f'ignorable service value: {argument}'
class MyOtherIgnorableClass :
def getServiceValue(self, argument) :
return f'other ignorable service value: {argument}'
| 31.75 | 59 | 0.724409 | 25 | 254 | 7.36 | 0.52 | 0.195652 | 0.23913 | 0.326087 | 0.402174 | 0.402174 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19685 | 254 | 7 | 60 | 36.285714 | 0.901961 | 0 | 0 | 0.333333 | 0 | 0 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
a19918e7f152cf988f179485330dbf82cfb838f2 | 21,978 | py | Python | src/pycropml/transpiler/antlr_py/grammars/RLexer.py | brichet/PyCrop2ML | 7177996f72a8d95fdbabb772a16f1fd87b1d033e | [
"MIT"
] | 5 | 2020-06-21T18:58:04.000Z | 2022-01-29T21:32:28.000Z | src/pycropml/transpiler/antlr_py/grammars/RLexer.py | brichet/PyCrop2ML | 7177996f72a8d95fdbabb772a16f1fd87b1d033e | [
"MIT"
] | 27 | 2018-12-04T15:35:44.000Z | 2022-03-11T08:25:03.000Z | src/pycropml/transpiler/antlr_py/grammars/RLexer.py | brichet/PyCrop2ML | 7177996f72a8d95fdbabb772a16f1fd87b1d033e | [
"MIT"
] | 7 | 2019-04-20T02:25:22.000Z | 2021-11-04T07:52:35.000Z | # Generated from Documents\THESE\pycropml_pheno\src\pycropml\antlr_grammarV4\r\R.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2B")
buf... | 59.4 | 103 | 0.55592 | 5,009 | 21,978 | 2.390098 | 0.148732 | 0.148012 | 0.088707 | 0.096225 | 0.239225 | 0.142082 | 0.053625 | 0.041597 | 0.035416 | 0.030154 | 0 | 0.356833 | 0.151288 | 21,978 | 369 | 104 | 59.560976 | 0.284994 | 0.004277 | 0 | 0 | 1 | 0.287749 | 0.632221 | 0.594973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005698 | false | 0 | 0.011396 | 0 | 0.22792 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62b168a87b111cdc369e35fac01c3a0832840152 | 1,013 | py | Python | test/test_get_docx_tables_request.py | Cloudmersive/Cloudmersive.APIClient.Python.Convert | dba2fe7257229ebdacd266531b3724552c651009 | [
"Apache-2.0"
] | 3 | 2018-07-25T23:04:34.000Z | 2021-08-10T16:43:10.000Z | test/test_get_docx_tables_request.py | Cloudmersive/Cloudmersive.APIClient.Python.Convert | dba2fe7257229ebdacd266531b3724552c651009 | [
"Apache-2.0"
] | 3 | 2020-11-23T10:46:48.000Z | 2021-12-30T14:09:34.000Z | test/test_get_docx_tables_request.py | Cloudmersive/Cloudmersive.APIClient.Python.Convert | dba2fe7257229ebdacd266531b3724552c651009 | [
"Apache-2.0"
] | 2 | 2020-01-07T09:48:01.000Z | 2020-11-23T10:47:00.000Z | # coding: utf-8
"""
convertapi
Convert API lets you effortlessly convert file formats and types. # noqa: E501
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import cloudmersive_convert_api_... | 24.707317 | 117 | 0.741362 | 113 | 1,013 | 6.371681 | 0.575221 | 0.069444 | 0.122222 | 0.155556 | 0.2 | 0.15 | 0.15 | 0.15 | 0.15 | 0 | 0 | 0.013366 | 0.187562 | 1,013 | 40 | 118 | 25.325 | 0.861482 | 0.443238 | 0 | 0.214286 | 1 | 0 | 0.015326 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
62e6229f71aaf5eee528859098ed00ea62f05476 | 170 | py | Python | source/script/FASelector_SRC/Utils/Converter.py | onsoim/FuzzBuilderEx | d0e8bada27677a0f676e92dc48aaa764ba679508 | [
"Apache-2.0"
] | 6 | 2021-03-27T06:07:01.000Z | 2022-03-29T04:54:03.000Z | source/script/FASelector_SRC/Utils/Converter.py | onsoim/FuzzBuilderEx | d0e8bada27677a0f676e92dc48aaa764ba679508 | [
"Apache-2.0"
] | 4 | 2021-03-24T00:10:59.000Z | 2022-03-28T13:41:28.000Z | source/script/FASelector_SRC/Utils/Converter.py | onsoim/FuzzBuilderEx | d0e8bada27677a0f676e92dc48aaa764ba679508 | [
"Apache-2.0"
] | 2 | 2021-04-05T06:22:20.000Z | 2021-10-01T21:07:18.000Z | class CONVERTER:
def __init__(self, endian):
self.endian = endian
def bytes2int(self, bytes):
return int.from_bytes(bytes, byteorder=self.endian) | 28.333333 | 59 | 0.676471 | 21 | 170 | 5.238095 | 0.571429 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.223529 | 170 | 6 | 59 | 28.333333 | 0.825758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
62e9f95aca72c9083383a82f0fa3775ad3a8a98d | 11,285 | py | Python | test/cnnl/op_test/test_le.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | 20 | 2022-03-01T11:40:51.000Z | 2022-03-30T08:17:47.000Z | test/cnnl/op_test/test_le.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | test/cnnl/op_test/test_le.py | Cambricon/catch | 2625da389f25a67066d20fb6b0c38250ef98f8ab | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function
import sys
import os
os.environ['ENABLE_CNNL_TRYCATCH']='OFF' # pylint: disable=C0413
import unittest
import logging
import torch
import torch_mlu.core.mlu_model as ct
cur_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(cur_dir + "/../../")
from common_utils im... | 43.571429 | 98 | 0.472574 | 1,516 | 11,285 | 3.341689 | 0.076517 | 0.012238 | 0.031978 | 0.033557 | 0.899131 | 0.877813 | 0.848993 | 0.817015 | 0.787011 | 0.777537 | 0 | 0.068256 | 0.371644 | 11,285 | 258 | 99 | 43.74031 | 0.646171 | 0.033496 | 0 | 0.605381 | 0 | 0 | 0.006244 | 0 | 0 | 0 | 0 | 0 | 0.098655 | 1 | 0.044843 | false | 0 | 0.035874 | 0 | 0.085202 | 0.004484 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a26cacf37bcd7384e0c6709554f3374e9a3e21e | 247,892 | py | Python | src/module_parties.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | 4 | 2019-09-26T21:34:32.000Z | 2021-11-18T19:31:15.000Z | src/module_parties.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | null | null | null | src/module_parties.py | faycalki/tainted-paths | 81cecf6c1fba903ec3b8043e22652d222892609d | [
"MIT"
] | null | null | null | from header_common import *
from header_parties import *
from ID_troops import *
from ID_factions import *
from ID_party_templates import *
from ID_map_icons import *
####################################################################################################################
# Each party record contains the f... | 77.78224 | 195 | 0.718672 | 42,089 | 247,892 | 3.825893 | 0.054147 | 0.058834 | 0.078396 | 0.117594 | 0.800302 | 0.796526 | 0.79521 | 0.792769 | 0.792552 | 0.792552 | 0 | 0.096029 | 0.1001 | 247,892 | 3,187 | 196 | 77.78224 | 0.625817 | 0.00359 | 0 | 0.00126 | 0 | 0 | 0.104846 | 0.008113 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003781 | 0 | 0.003781 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7ff0dcb1a8bee97960346443f3125425b77f3ad | 14,496 | py | Python | tests/CLI/modules/event_log_tests.py | erick-sapp/softlayer-python | c0553f41ffcb27d899065a6ebe225392e690aed5 | [
"MIT"
] | null | null | null | tests/CLI/modules/event_log_tests.py | erick-sapp/softlayer-python | c0553f41ffcb27d899065a6ebe225392e690aed5 | [
"MIT"
] | 2 | 2019-02-18T18:35:51.000Z | 2019-06-30T15:36:44.000Z | tests/CLI/modules/event_log_tests.py | erick-sapp/softlayer-python | c0553f41ffcb27d899065a6ebe225392e690aed5 | [
"MIT"
] | null | null | null | """
SoftLayer.tests.CLI.modules.event_log_tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:license: MIT, see LICENSE for more details.
"""
import json
from SoftLayer.CLI import formatting
from SoftLayer import testing
class EventLogTests(testing.TestCase):
def test_get_event_log_with_metadata(self):
... | 38.863271 | 104 | 0.416736 | 1,080 | 14,496 | 5.52037 | 0.14537 | 0.067595 | 0.035223 | 0.06944 | 0.85743 | 0.854411 | 0.849715 | 0.827742 | 0.809124 | 0.809124 | 0 | 0.108677 | 0.433154 | 14,496 | 372 | 105 | 38.967742 | 0.616892 | 0.008623 | 0 | 0.663793 | 0 | 0 | 0.377047 | 0.200544 | 0 | 0 | 0 | 0 | 0.031609 | 1 | 0.014368 | false | 0 | 0.008621 | 0 | 0.025862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c53385513c4e7f055cd5a040c28216148fd90682 | 235 | py | Python | scipy/integrate/_quadpack_clr.py | jasonmccampbell/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | 8 | 2015-10-07T00:37:32.000Z | 2022-01-21T17:02:33.000Z | scipy/integrate/_quadpack_clr.py | enthought/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | null | null | null | scipy/integrate/_quadpack_clr.py | enthought/scipy-refactor | 52708e04bca51e7043248d56383780b1e51e0d8f | [
"BSD-3-Clause"
] | 8 | 2015-05-09T14:23:57.000Z | 2018-11-15T05:56:00.000Z |
import sys
if sys.platform == 'cli':
import clr
clr.AddReference('integrate')
from scipy__integrate___quadpack import _qagie, _qagpe, _qawoe, _qawfe, _qawce, _qagse, _qawse
from scipy__integrate___quadpack import *
| 21.363636 | 98 | 0.740426 | 28 | 235 | 5.607143 | 0.642857 | 0.11465 | 0.229299 | 0.33121 | 0.407643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182979 | 235 | 10 | 99 | 23.5 | 0.817708 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c54a06ac7bb9e56ee7f9831a6d2867dabbdf8584 | 5,963 | py | Python | test/basic_test.py | actcwlf/panelexpr | a13a01981daab965b314b328f346b641634c7de1 | [
"MIT"
] | null | null | null | test/basic_test.py | actcwlf/panelexpr | a13a01981daab965b314b328f346b641634c7de1 | [
"MIT"
] | null | null | null | test/basic_test.py | actcwlf/panelexpr | a13a01981daab965b314b328f346b641634c7de1 | [
"MIT"
] | null | null | null | import unittest
from panelexpr._utils.utils import *
from panelexpr import eval as t_eval
THRESHOLD = 1e-6
class BasicTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.data = pd.read_csv("../data/sample_zh_2.csv")
def test_add(self):
s1 = t_eval("Open + Close", data=self.da... | 37.980892 | 125 | 0.608754 | 799 | 5,963 | 4.390488 | 0.115144 | 0.079818 | 0.029932 | 0.094071 | 0.823831 | 0.823831 | 0.799886 | 0.799886 | 0.799886 | 0.799886 | 0 | 0.026553 | 0.235787 | 5,963 | 156 | 126 | 38.224359 | 0.743252 | 0.010901 | 0 | 0.550388 | 0 | 0 | 0.097913 | 0.007806 | 0 | 0 | 0 | 0 | 0.217054 | 1 | 0.139535 | false | 0 | 0.023256 | 0 | 0.186047 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c56142abe52fdfe53189d64b9b52592a2cbe1b07 | 7,809 | py | Python | vul/45-iis6_RCE_CVE-2017-7269.py | zx273983653/vulscan | 787397e267c4e6469522ee0abe55b3e98f968d4a | [
"MIT"
] | 582 | 2019-02-23T09:23:33.000Z | 2022-03-31T04:42:08.000Z | vul/45-iis6_RCE_CVE-2017-7269.py | git-wsf/vulscan | 112f8d6104daecfaaad579f73029a26d56aaa9b3 | [
"MIT"
] | 6 | 2019-03-20T10:37:48.000Z | 2020-03-10T06:20:07.000Z | vul/45-iis6_RCE_CVE-2017-7269.py | git-wsf/vulscan | 112f8d6104daecfaaad579f73029a26d56aaa9b3 | [
"MIT"
] | 183 | 2019-02-23T06:00:18.000Z | 2022-03-20T02:17:57.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright (c) 2014-2015 pocsuite developers (http://seebug.org)
See the file 'docs/COPYING' for copying permission
"""
#命令行
from pocsuite import pocsuite_cli
#验证模块
from pocsuite import pocsuite_verify
#攻击模块
from pocsuite import pocsuite_attack
#控制台模式
from pocsuite impo... | 60.069231 | 2,193 | 0.698425 | 1,358 | 7,809 | 4.000736 | 0.198085 | 0.024296 | 0.018222 | 0.013252 | 0.045831 | 0.034235 | 0.01767 | 0.009939 | 0.009939 | 0 | 0 | 0.207468 | 0.118581 | 7,809 | 130 | 2,194 | 60.069231 | 0.581868 | 0.065437 | 0 | 0.098765 | 0 | 0.037037 | 0.709203 | 0.646589 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.037037 | 0.123457 | null | null | 0.08642 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c561ba447700d0a67f82634f86fe0d6edd3149c0 | 3,845 | py | Python | tests/cogs/sync/test_roles.py | Ayplow/bot | 71a3ac9382851845dcb26609d64299bd69b0f0f5 | [
"MIT"
] | 1 | 2021-02-16T10:01:34.000Z | 2021-02-16T10:01:34.000Z | tests/cogs/sync/test_roles.py | Ayplow/bot | 71a3ac9382851845dcb26609d64299bd69b0f0f5 | [
"MIT"
] | null | null | null | tests/cogs/sync/test_roles.py | Ayplow/bot | 71a3ac9382851845dcb26609d64299bd69b0f0f5 | [
"MIT"
] | null | null | null | from bot.cogs.sync.syncers import Role, get_roles_for_sync
def test_get_roles_for_sync_empty_return_for_equal_roles():
api_roles = {Role(id=41, name='name', colour=33, permissions=0x8, position=1)}
guild_roles = {Role(id=41, name='name', colour=33, permissions=0x8, position=1)}
assert get_roles_for_sync(... | 36.971154 | 88 | 0.647074 | 557 | 3,845 | 4.258528 | 0.118492 | 0.078415 | 0.078836 | 0.080944 | 0.92032 | 0.903457 | 0.875632 | 0.872681 | 0.810708 | 0.79258 | 0 | 0.06976 | 0.19844 | 3,845 | 103 | 89 | 37.330097 | 0.69987 | 0 | 0 | 0.463415 | 0 | 0 | 0.064239 | 0 | 0 | 0 | 0.020026 | 0 | 0.085366 | 1 | 0.085366 | false | 0 | 0.012195 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c574edff65ca1199b9bd1a2f87dc9943d1cfee99 | 32 | py | Python | pelican/plugins/obsidian/__init__.py | jonathan-s/pelican-obsidian | 9e84a9ec8b2a5018a90556c51e30a628994e0b4f | [
"MIT"
] | 13 | 2021-07-03T22:43:05.000Z | 2022-03-28T11:10:57.000Z | pelican/plugins/obsidian/__init__.py | jonathan-s/pelican-obsidian | 9e84a9ec8b2a5018a90556c51e30a628994e0b4f | [
"MIT"
] | null | null | null | pelican/plugins/obsidian/__init__.py | jonathan-s/pelican-obsidian | 9e84a9ec8b2a5018a90556c51e30a628994e0b4f | [
"MIT"
] | null | null | null | from .obsidian import * # noqa
| 16 | 31 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.88 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d98c27b23aef75a9d72dad3a0712f7aeac0e851 | 82 | py | Python | optim/__init__.py | danassutula/maximum_compliance | f2407bd9c5f7e36fe43aa51690433fe8bfb2f748 | [
"MIT"
] | null | null | null | optim/__init__.py | danassutula/maximum_compliance | f2407bd9c5f7e36fe43aa51690433fe8bfb2f748 | [
"MIT"
] | null | null | null | optim/__init__.py | danassutula/maximum_compliance | f2407bd9c5f7e36fe43aa51690433fe8bfb2f748 | [
"MIT"
] | null | null | null |
from . import config
from . import filter
from .optim import TopologyOptimizer
| 13.666667 | 37 | 0.780488 | 10 | 82 | 6.4 | 0.6 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 82 | 5 | 38 | 16.4 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3db6d98b73af9be0b80b40e42923fde7c438d39b | 36 | py | Python | dizoo/procgen/coinrun/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/procgen/coinrun/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/procgen/coinrun/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .coinrun_env import CoinRunEnv
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3dc2855d60986b506b511891f864c99ee2a1a15d | 270 | py | Python | qmhub/electools/elec_core/__init__.py | QCMM/dynqmprop | 0f668072f623a2f5f209ab715bc264a83926309b | [
"MIT"
] | null | null | null | qmhub/electools/elec_core/__init__.py | QCMM/dynqmprop | 0f668072f623a2f5f209ab715bc264a83926309b | [
"MIT"
] | null | null | null | qmhub/electools/elec_core/__init__.py | QCMM/dynqmprop | 0f668072f623a2f5f209ab715bc264a83926309b | [
"MIT"
] | null | null | null | try:
import numba
from . import elec_core_qmqm_numba as elec_core_qmqm
from . import elec_core_qmmm_numba as elec_core_qmmm
except ImportError:
from . import elec_core_qmqm_numpy as elec_core_qmqm
from . import elec_core_qmmm_numpy as elec_core_qmmm
| 33.75 | 56 | 0.796296 | 45 | 270 | 4.333333 | 0.266667 | 0.328205 | 0.287179 | 0.369231 | 0.594872 | 0.369231 | 0.369231 | 0.369231 | 0.369231 | 0 | 0 | 0 | 0.181481 | 270 | 7 | 57 | 38.571429 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 | 0 | 0 | 0 | 6 |
9ad191035b2e150859cddd04c09f6204bb37c76f | 154 | py | Python | tableprint/__init__.py | veya2ztn/mltool | 4ed151152845ebe3de128e1f53c478581c1492e4 | [
"IJG"
] | null | null | null | tableprint/__init__.py | veya2ztn/mltool | 4ed151152845ebe3de128e1f53c478581c1492e4 | [
"IJG"
] | null | null | null | tableprint/__init__.py | veya2ztn/mltool | 4ed151152845ebe3de128e1f53c478581c1492e4 | [
"IJG"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Tableprint
"""
from .metadata import __author__, __version__
from .printer import *
from .style import *
from .utils import *
| 17.111111 | 45 | 0.688312 | 18 | 154 | 5.444444 | 0.666667 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.162338 | 154 | 8 | 46 | 19.25 | 0.751938 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b118be6b633c0f4d26bcc6122d57059c978f77a2 | 40 | py | Python | wepppy/wepp/soils/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/wepp/soils/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/wepp/soils/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | from .horizon_mixin import HorizonMixin
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b13762ae1b11dcb71e6b124eac5ecaa84a9aa2c9 | 45 | py | Python | venv/lib/python2.7/site-packages/netlib/http2/__init__.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | 3 | 2019-04-09T22:59:33.000Z | 2019-06-14T09:23:24.000Z | venv/lib/python2.7/site-packages/netlib/http2/__init__.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | null | null | null | venv/lib/python2.7/site-packages/netlib/http2/__init__.py | sravani-m/Web-Application-Security-Framework | d9f71538f5cba6fe1d8eabcb26c557565472f6a6 | [
"MIT"
] | null | null | null | from frame import *
from protocol import *
| 15 | 23 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 45 | 2 | 24 | 22.5 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b192ac18496ca59305437c4c1332cfbea5c5c539 | 161 | py | Python | firefly/__init__.py | fuzzygroup/firefly | 41724414eaa8884b030d7aedf11e45f09b6869e9 | [
"Apache-2.0"
] | null | null | null | firefly/__init__.py | fuzzygroup/firefly | 41724414eaa8884b030d7aedf11e45f09b6869e9 | [
"Apache-2.0"
] | null | null | null | firefly/__init__.py | fuzzygroup/firefly | 41724414eaa8884b030d7aedf11e45f09b6869e9 | [
"Apache-2.0"
] | null | null | null | from .app import Firefly
from .client import Client
from .version import __version__
try:
import configparser
except:
from six.moves import configparser
| 20.125 | 38 | 0.78882 | 21 | 161 | 5.857143 | 0.52381 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 161 | 7 | 39 | 23 | 0.924812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
491a68722e6a7cebdddc94d65ce6d03fc0eecaeb | 980 | py | Python | wrappers/python/tests/ledger/test_build_pool_restart_request.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | 636 | 2017-05-25T07:45:43.000Z | 2022-03-23T22:30:34.000Z | wrappers/python/tests/ledger/test_build_pool_restart_request.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 731 | 2017-05-29T07:15:08.000Z | 2022-03-31T07:55:58.000Z | wrappers/python/tests/ledger/test_build_pool_restart_request.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 904 | 2017-05-25T07:45:49.000Z | 2022-03-31T07:43:31.000Z | from indy import ledger
import json
import pytest
@pytest.mark.asyncio
async def test_build_pool_restart_request_work_for_start_action():
identifier = "Th7MpTaRZVRYnPiabds81Y"
expected_response = {
"identifier": identifier,
"operation": {
"type": "118",
"action": "sta... | 24.5 | 76 | 0.635714 | 96 | 980 | 6.21875 | 0.354167 | 0.060302 | 0.107203 | 0.154104 | 0.850921 | 0.850921 | 0.720268 | 0.720268 | 0.720268 | 0.720268 | 0 | 0.019048 | 0.25 | 980 | 39 | 77 | 25.128205 | 0.793197 | 0 | 0 | 0.533333 | 0 | 0 | 0.142857 | 0.044898 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
492ee598a77589786885516b40f7cc1c81caaa53 | 27 | py | Python | detective/__init__.py | Little-Tetra/detective | af7683c7713eee93e6390903598c2e15eed01e57 | [
"MIT"
] | null | null | null | detective/__init__.py | Little-Tetra/detective | af7683c7713eee93e6390903598c2e15eed01e57 | [
"MIT"
] | null | null | null | detective/__init__.py | Little-Tetra/detective | af7683c7713eee93e6390903598c2e15eed01e57 | [
"MIT"
] | null | null | null | from .app import Detective
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
496bbc3a1d4178133aaab47f072622dcb0a51769 | 104 | py | Python | src/preprocessor/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/preprocessor/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/preprocessor/__init__.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | from src.preprocessor.interface import IPreprocessor
from src.preprocessor.impl import TextPreprocessor
| 34.666667 | 52 | 0.884615 | 12 | 104 | 7.666667 | 0.666667 | 0.152174 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 53 | 52 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49764d1c4e4abe2b5cf3510ebbb2c9faa3f06032 | 43 | py | Python | src/graphics/__init__.py | o92design/PythonSpelmotor | f8c75be2e51790a06fde8be8eb0a715913baebd8 | [
"MIT"
] | null | null | null | src/graphics/__init__.py | o92design/PythonSpelmotor | f8c75be2e51790a06fde8be8eb0a715913baebd8 | [
"MIT"
] | null | null | null | src/graphics/__init__.py | o92design/PythonSpelmotor | f8c75be2e51790a06fde8be8eb0a715913baebd8 | [
"MIT"
] | null | null | null | from .GraphicsEngine import GraphicsEngine
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49840fa880679be68812ac05e7e2ceefc3d5a204 | 90 | py | Python | c__88.py | fhansmann/coding-challenges | eebb37565c72e05b77383c24e8273a1e4019b58e | [
"MIT"
] | null | null | null | c__88.py | fhansmann/coding-challenges | eebb37565c72e05b77383c24e8273a1e4019b58e | [
"MIT"
] | null | null | null | c__88.py | fhansmann/coding-challenges | eebb37565c72e05b77383c24e8273a1e4019b58e | [
"MIT"
] | null | null | null | array = [[ [0 for col in range(8)] for col in range(5)] for row in range(3)]
print(array)
| 30 | 76 | 0.644444 | 19 | 90 | 3.052632 | 0.578947 | 0.362069 | 0.275862 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.188889 | 90 | 2 | 77 | 45 | 0.739726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4995430d22cd5e0f817a1cf9b8f773821d566785 | 134 | py | Python | amocrm_asterisk_ng/crm/amocrm/widgets/asterisk_widget/functions/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/crm/amocrm/widgets/asterisk_widget/functions/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/crm/amocrm/widgets/asterisk_widget/functions/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .GetUsersEmailAddressesQuery import GetUsersEmailAddressesQuery
from .IsUserPhoneNumerQueryImpl import IsUserPhoneNumerQueryImpl
| 44.666667 | 68 | 0.925373 | 8 | 134 | 15.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 134 | 2 | 69 | 67 | 0.984127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
770939033610900ae0cb4e4ce864a2f56f676086 | 2,758 | py | Python | tests/utils/test_rdd_utils.py | MichaelisTrofficus/elephas | 579165865787e28d7b842af881ca3b6aa65e98ea | [
"MIT"
] | 1,674 | 2015-08-17T03:54:10.000Z | 2022-03-29T12:07:43.000Z | tests/utils/test_rdd_utils.py | MichaelisTrofficus/elephas | 579165865787e28d7b842af881ca3b6aa65e98ea | [
"MIT"
] | 183 | 2015-08-25T11:34:21.000Z | 2022-03-22T15:33:59.000Z | tests/utils/test_rdd_utils.py | MichaelisTrofficus/elephas | 579165865787e28d7b842af881ca3b6aa65e98ea | [
"MIT"
] | 359 | 2015-08-21T20:37:48.000Z | 2022-03-23T15:41:12.000Z | import numpy as np
from elephas.utils import rdd_utils
def test_to_simple_rdd(spark_context):
features = np.ones((5, 10))
labels = np.ones((5,))
rdd = rdd_utils.to_simple_rdd(spark_context, features, labels)
assert rdd.count() == 5
first = rdd.first()
assert first[0].shape == (10,)
assert... | 32.069767 | 79 | 0.663162 | 435 | 2,758 | 3.967816 | 0.117241 | 0.097335 | 0.162225 | 0.089224 | 0.823291 | 0.803592 | 0.73175 | 0.73175 | 0.73175 | 0.695829 | 0 | 0.043848 | 0.18963 | 2,758 | 85 | 80 | 32.447059 | 0.728412 | 0 | 0 | 0.484375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.125 | false | 0 | 0.03125 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77156adb6b98fd98b7a209257fa4e4af836daf66 | 96 | py | Python | composite_pattern/composite_wrapper.py | sebastianmaxwell1/sweepstakes_1 | d76f4276e983f7ee971f8c6beefc53dff37c1bb3 | [
"MIT"
] | null | null | null | composite_pattern/composite_wrapper.py | sebastianmaxwell1/sweepstakes_1 | d76f4276e983f7ee971f8c6beefc53dff37c1bb3 | [
"MIT"
] | null | null | null | composite_pattern/composite_wrapper.py | sebastianmaxwell1/sweepstakes_1 | d76f4276e983f7ee971f8c6beefc53dff37c1bb3 | [
"MIT"
] | null | null | null | from composite_pattern.supervisor import Supervisor
from composite_pattern.worker import Worker
| 32 | 51 | 0.895833 | 12 | 96 | 7 | 0.5 | 0.309524 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 52 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
77267b525b4e3ce6f20a04a29a07292ed6b7f3be | 319 | py | Python | app/views.py | TheMoonWalker1/TJStar | bb9c9a0234386b52f870b18b2654ae25bdc8eed1 | [
"Unlicense"
] | null | null | null | app/views.py | TheMoonWalker1/TJStar | bb9c9a0234386b52f870b18b2654ae25bdc8eed1 | [
"Unlicense"
] | null | null | null | app/views.py | TheMoonWalker1/TJStar | bb9c9a0234386b52f870b18b2654ae25bdc8eed1 | [
"Unlicense"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home(request):
return render(request, 'index.html')
def speaker(request):
return render(request, 'speaker.html')
def contact(request):
return render(request, 'contact.html')
def event(request):
return render(request, 'event.html') | 18.764706 | 42 | 0.717868 | 41 | 319 | 5.585366 | 0.439024 | 0.227074 | 0.331878 | 0.454148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159875 | 319 | 17 | 43 | 18.764706 | 0.854478 | 0.0721 | 0 | 0 | 0 | 0 | 0.149153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6229fafe21751af4c8163c4d7d00cb7eae0dcf24 | 1,153 | py | Python | utils/net.py | DiNitride/gafbot | fdf0b8c89f3ac0b23681ce656ca08a3e8f26071d | [
"MIT"
] | 51 | 2016-10-05T18:05:17.000Z | 2017-10-01T10:41:43.000Z | utils/net.py | DiNitride/gafbot | fdf0b8c89f3ac0b23681ce656ca08a3e8f26071d | [
"MIT"
] | 6 | 2017-05-19T22:32:39.000Z | 2018-10-14T18:12:12.000Z | utils/net.py | DiNitride/gafbot | fdf0b8c89f3ac0b23681ce656ca08a3e8f26071d | [
"MIT"
] | 9 | 2016-10-08T07:11:47.000Z | 2019-11-04T03:30:24.000Z | import aiohttp
# Working aiohttp get_url
# Now with closing sessions!
# Ty Rory
async def get_url(url, headers: dict = None):
headers = headers or {"user-agent" : "GAF Bot"}
async with aiohttp.ClientSession() as session:
async with session.get(url, headers=headers) as response:
status = r... | 31.162162 | 77 | 0.562012 | 127 | 1,153 | 5.07874 | 0.283465 | 0.111628 | 0.086822 | 0.136434 | 0.8 | 0.8 | 0.8 | 0.8 | 0.8 | 0.8 | 0 | 0.008097 | 0.357329 | 1,153 | 36 | 78 | 32.027778 | 0.862348 | 0.050304 | 0 | 0.814815 | 0 | 0 | 0.031193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
625c4d51d2d396a4288002807afc375a0d4f106a | 289 | py | Python | app/database/company.py | hngyb/Finance-QA | 1cf41a19e963a2566c7f6ee637e6a87b498032bb | [
"MIT"
] | 6 | 2021-08-02T10:56:16.000Z | 2021-12-26T09:10:03.000Z | app/database/company.py | hngyb/Finance-QA | 1cf41a19e963a2566c7f6ee637e6a87b498032bb | [
"MIT"
] | null | null | null | app/database/company.py | hngyb/Finance-QA | 1cf41a19e963a2566c7f6ee637e6a87b498032bb | [
"MIT"
] | 6 | 2021-06-26T17:05:12.000Z | 2021-08-25T06:37:52.000Z | from sqlalchemy.orm import Session
import app.database.schema as models
def get_all_companies(db: Session):
return db.query(models.Company).all()
def get_company_code(db: Session, name):
return db.query(models.Company.stock_code).filter(models.Company.company_name == name).all() | 36.125 | 96 | 0.778547 | 44 | 289 | 4.977273 | 0.5 | 0.178082 | 0.118721 | 0.173516 | 0.237443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103806 | 289 | 8 | 96 | 36.125 | 0.84556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
62824852bdd44d724eb95fc4cf6c741e79fbd8ea | 24 | py | Python | slickml/optimization.py | amirhessam88/slick-ml | d8ffb46eeb7acc3f6e3a4b6ca80acfaaecb20b44 | [
"MIT"
] | null | null | null | slickml/optimization.py | amirhessam88/slick-ml | d8ffb46eeb7acc3f6e3a4b6ca80acfaaecb20b44 | [
"MIT"
] | 1 | 2020-08-31T02:19:21.000Z | 2020-08-31T02:19:21.000Z | slickml/optimization.py | amirhessam88/slick-ml | d8ffb46eeb7acc3f6e3a4b6ca80acfaaecb20b44 | [
"MIT"
] | 1 | 2020-08-31T02:20:55.000Z | 2020-08-31T02:20:55.000Z | # TODO: optimization.py
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65b59093dc69c1ca25ad2c6c640bda5c5e1b8925 | 31 | py | Python | python/testData/refactoring/changeSignature/duplicateNamesOfStarredParameters.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/changeSignature/duplicateNamesOfStarredParameters.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/changeSignature/duplicateNamesOfStarredParameters.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(*foo, **bar):
pass | 15.5 | 22 | 0.548387 | 5 | 31 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 2 | 23 | 15.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
65d9396aee1e56ad579a8617e2e2d7497c781d9a | 25,223 | py | Python | openstackclient/tests/unit/compute/v2/test_keypair.py | mydevice/python-openstackclient | 4891bb38208fdcd1a2ae60e47b056841e14fbdf7 | [
"Apache-2.0"
] | 262 | 2015-01-29T20:10:49.000Z | 2022-03-23T01:59:23.000Z | openstackclient/tests/unit/compute/v2/test_keypair.py | mydevice/python-openstackclient | 4891bb38208fdcd1a2ae60e47b056841e14fbdf7 | [
"Apache-2.0"
] | 5 | 2015-01-21T02:37:35.000Z | 2021-11-23T02:26:00.000Z | openstackclient/tests/unit/compute/v2/test_keypair.py | mydevice/python-openstackclient | 4891bb38208fdcd1a2ae60e47b056841e14fbdf7 | [
"Apache-2.0"
] | 194 | 2015-01-08T07:39:27.000Z | 2022-03-30T13:51:23.000Z | # Copyright 2016 IBM
#
# 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 writ... | 32.337179 | 79 | 0.603021 | 2,819 | 25,223 | 5.160695 | 0.086556 | 0.05444 | 0.04523 | 0.036569 | 0.847058 | 0.817432 | 0.786225 | 0.760654 | 0.750825 | 0.738177 | 0 | 0.005569 | 0.295246 | 25,223 | 779 | 80 | 32.378691 | 0.812838 | 0.050549 | 0 | 0.660473 | 0 | 0 | 0.062053 | 0.023834 | 0 | 0 | 0 | 0 | 0.116554 | 1 | 0.055743 | false | 0 | 0.02027 | 0 | 0.091216 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65df0cea78bb12eea944b23b080faf9370bf7b47 | 151 | py | Python | vpbuf/examples/uno/rel1/python/vp_uno/__init__.py | markraley/versioned-polymorphic-buffers | c2f0424f05013cfcaf5a55464846e9bcf26818e2 | [
"MIT"
] | null | null | null | vpbuf/examples/uno/rel1/python/vp_uno/__init__.py | markraley/versioned-polymorphic-buffers | c2f0424f05013cfcaf5a55464846e9bcf26818e2 | [
"MIT"
] | null | null | null | vpbuf/examples/uno/rel1/python/vp_uno/__init__.py | markraley/versioned-polymorphic-buffers | c2f0424f05013cfcaf5a55464846e9bcf26818e2 | [
"MIT"
] | null | null | null | from pyamf import amf3
def write_int(ver, f, payload):
f.writeInteger(payload)
def write_str(ver, f, payload):
f.writeString(payload)
| 18.875 | 32 | 0.688742 | 22 | 151 | 4.636364 | 0.590909 | 0.156863 | 0.215686 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.205298 | 151 | 7 | 33 | 21.571429 | 0.841667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
02b646bf1df14509751ad744af724a5137d7ee6e | 244 | py | Python | src/pylo/engines/prolog/__init__.py | olympus112/pylo2 | cfbe29d1c2f8eead0193ee2d024090555407c528 | [
"MIT"
] | 80 | 2020-10-20T14:25:28.000Z | 2022-02-27T14:29:24.000Z | src/pylo/engines/prolog/__init__.py | olympus112/pylo2 | cfbe29d1c2f8eead0193ee2d024090555407c528 | [
"MIT"
] | 8 | 2020-10-20T14:16:55.000Z | 2021-03-19T13:51:54.000Z | src/pylo/engines/prolog/__init__.py | olympus112/pylo2 | cfbe29d1c2f8eead0193ee2d024090555407c528 | [
"MIT"
] | 7 | 2020-10-21T21:01:31.000Z | 2021-09-29T09:57:14.000Z | try:
from .GnuProlog import GNUProlog
except Exception:
pass
try:
from .SWIProlog import SWIProlog
except Exception:
pass
try:
from .XSBProlog import XSBProlog
except Exception:
pass
from .prologsolver import Prolog
| 13.555556 | 36 | 0.729508 | 28 | 244 | 6.357143 | 0.392857 | 0.117978 | 0.320225 | 0.247191 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229508 | 244 | 17 | 37 | 14.352941 | 0.946809 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.230769 | 0.307692 | 0 | 0.307692 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
02d485c604f71fd56d535ce8450d9d0081ccfec1 | 8,000 | py | Python | tests/test_verification.py | jleclanche/fastapi-cloudauth | 9c098f91f46d9d927e1f10b82b80340951d0b1f2 | [
"MIT"
] | 198 | 2020-08-05T06:40:58.000Z | 2022-03-26T06:54:24.000Z | tests/test_verification.py | jleclanche/fastapi-cloudauth | 9c098f91f46d9d927e1f10b82b80340951d0b1f2 | [
"MIT"
] | 56 | 2020-08-26T11:41:49.000Z | 2022-02-12T22:55:53.000Z | tests/test_verification.py | jleclanche/fastapi-cloudauth | 9c098f91f46d9d927e1f10b82b80340951d0b1f2 | [
"MIT"
] | 36 | 2020-08-02T06:19:34.000Z | 2022-03-07T21:02:54.000Z | from datetime import datetime, timedelta
import pytest
from fastapi import HTTPException
from fastapi.security import HTTPAuthorizationCredentials
from jose import jwt
from starlette.status import HTTP_401_UNAUTHORIZED
from fastapi_cloudauth import messages
from fastapi_cloudauth.verification import (
JWKS,
J... | 30.534351 | 88 | 0.6555 | 914 | 8,000 | 5.482495 | 0.122538 | 0.043105 | 0.038914 | 0.064259 | 0.86829 | 0.854919 | 0.832169 | 0.790261 | 0.767511 | 0.738176 | 0 | 0.00645 | 0.22475 | 8,000 | 261 | 89 | 30.651341 | 0.801516 | 0.05325 | 0 | 0.61244 | 0 | 0 | 0.102992 | 0.029653 | 0 | 0 | 0 | 0 | 0.119617 | 1 | 0.023923 | false | 0 | 0.043062 | 0 | 0.066986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02d586abc0fb8ce87c143a54d0c89a27cf9bc60c | 17,478 | py | Python | python/oneflow/test/tensor/test_tensor_indexing.py | Panlichen/oneflow | ad93c69c9932e5515aa31fb7f157073708810a3d | [
"Apache-2.0"
] | null | null | null | python/oneflow/test/tensor/test_tensor_indexing.py | Panlichen/oneflow | ad93c69c9932e5515aa31fb7f157073708810a3d | [
"Apache-2.0"
] | null | null | null | python/oneflow/test/tensor/test_tensor_indexing.py | Panlichen/oneflow | ad93c69c9932e5515aa31fb7f157073708810a3d | [
"Apache-2.0"
] | 1 | 2021-12-15T02:14:49.000Z | 2021-12-15T02:14:49.000Z | """
Copyright 2020 The OneFlow Authors. All rights reserved.
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 agr... | 38.328947 | 88 | 0.605847 | 2,685 | 17,478 | 3.736313 | 0.072253 | 0.091507 | 0.141746 | 0.157496 | 0.818282 | 0.781699 | 0.757675 | 0.74053 | 0.720594 | 0.662879 | 0 | 0.05558 | 0.215585 | 17,478 | 455 | 89 | 38.413187 | 0.676149 | 0.043941 | 0 | 0.391429 | 0 | 0 | 0.008147 | 0.002516 | 0 | 0 | 0 | 0.002198 | 0.228571 | 1 | 0.062857 | false | 0 | 0.022857 | 0 | 0.097143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b828f504bb7218181714fcc165a33553c102dccf | 32 | py | Python | howcani/__init__.py | rahuldshetty/howcani | 974e129c6edd97a0c234e6c2f1c4c084fecd8584 | [
"MIT"
] | null | null | null | howcani/__init__.py | rahuldshetty/howcani | 974e129c6edd97a0c234e6c2f1c4c084fecd8584 | [
"MIT"
] | null | null | null | howcani/__init__.py | rahuldshetty/howcani | 974e129c6edd97a0c234e6c2f1c4c084fecd8584 | [
"MIT"
] | null | null | null | from howcani.howcani import main | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b8295b666548c32b44eff3d7c4e892d875c6643a | 94 | py | Python | mtsoo/__init__.py | RunningPhoton/mfea-ii | 9bf6520547a1c1972b62985f65a744471f1f1b00 | [
"MIT"
] | 35 | 2019-12-11T10:23:12.000Z | 2021-12-08T05:50:24.000Z | mfea_ii_lib/__init__.py | minhquang4334/mfeaii-ann-rl | d954ef4fdb3c39a4d3f3eb57d445c99bee46f7cc | [
"MIT"
] | null | null | null | mfea_ii_lib/__init__.py | minhquang4334/mfeaii-ann-rl | d954ef4fdb3c39a4d3f3eb57d445c99bee46f7cc | [
"MIT"
] | 11 | 2019-12-11T10:57:16.000Z | 2021-07-21T08:51:31.000Z | from tqdm import trange
from .tasks import *
from .operators import *
from .helpers import *
| 15.666667 | 24 | 0.755319 | 13 | 94 | 5.461538 | 0.538462 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 94 | 5 | 25 | 18.8 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b8367d9ed8e98005579206f5d3420d80094a1915 | 13,637 | py | Python | app/module/exchangess/calculation.py | kamijiseiya/AbidoraKun | 20fc5dc19779b939b150c6a4ac3ac2a601ba48c8 | [
"MIT"
] | 2 | 2018-05-02T23:46:14.000Z | 2018-05-15T02:02:04.000Z | app/module/exchangess/calculation.py | kamijiseiya/cash-cow | 20fc5dc19779b939b150c6a4ac3ac2a601ba48c8 | [
"MIT"
] | 58 | 2018-05-01T05:02:18.000Z | 2018-08-03T14:41:29.000Z | app/module/exchangess/calculation.py | kamijiseiya/cash-cow | 20fc5dc19779b939b150c6a4ac3ac2a601ba48c8 | [
"MIT"
] | null | null | null | import time
import ccxt
import json
class CALCULATION:
"""取引所間の通貨差額を求めるクラス"""
def difference_xrp_btc(self):
"""取引所間でのxrp差額を求めるメソッド
(bitbank,binance,coinex)"""
while True:
try:
bitbanks = ccxt.bitbank()
bitbank_btc_jpy = bitbanks.f... | 48.878136 | 134 | 0.537948 | 1,350 | 13,637 | 5.028148 | 0.056296 | 0.053035 | 0.047879 | 0.037714 | 0.917796 | 0.869328 | 0.830141 | 0.801267 | 0.783441 | 0.736447 | 0 | 0.006642 | 0.370683 | 13,637 | 279 | 135 | 48.878136 | 0.784316 | 0.056391 | 0 | 0.653659 | 0 | 0 | 0.075609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014634 | false | 0 | 0.014634 | 0 | 0.04878 | 0.126829 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b88d89dd0b57d0b362799f326dcbb0299b01488b | 74 | py | Python | yacht/agents/sac.py | IusztinPaul/yacht | c68ab7c66bde860bb91534c29e97772ba328adb5 | [
"Apache-2.0"
] | 5 | 2021-09-03T10:16:50.000Z | 2022-02-28T07:32:43.000Z | yacht/agents/sac.py | IusztinPaul/yacht | c68ab7c66bde860bb91534c29e97772ba328adb5 | [
"Apache-2.0"
] | null | null | null | yacht/agents/sac.py | IusztinPaul/yacht | c68ab7c66bde860bb91534c29e97772ba328adb5 | [
"Apache-2.0"
] | 1 | 2022-03-05T16:06:46.000Z | 2022-03-05T16:06:46.000Z | from stable_baselines3 import SAC as SB3SAC
class SAC(SB3SAC):
pass
| 12.333333 | 43 | 0.756757 | 11 | 74 | 5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.202703 | 74 | 5 | 44 | 14.8 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b8a1479d9b504f915305522fdc68c0fe51d1b1be | 38,170 | py | Python | scripts/tasks.py | dseredyn/velma_scripts | 26691f621ba0d4f771ddca6ecce0e49e5164123f | [
"BSD-3-Clause"
] | null | null | null | scripts/tasks.py | dseredyn/velma_scripts | 26691f621ba0d4f771ddca6ecce0e49e5164123f | [
"BSD-3-Clause"
] | null | null | null | scripts/tasks.py | dseredyn/velma_scripts | 26691f621ba0d4f771ddca6ecce0e49e5164123f | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2015, Robot Control and Pattern Recognition Group,
# Institute of Control and Computation Engineering
# Warsaw University of Technology
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions ar... | 40.052466 | 196 | 0.592481 | 5,427 | 38,170 | 3.84743 | 0.078496 | 0.068391 | 0.05431 | 0.03908 | 0.770163 | 0.742241 | 0.728448 | 0.704167 | 0.685489 | 0.661973 | 0 | 0.031056 | 0.303196 | 38,170 | 952 | 197 | 40.094538 | 0.753995 | 0.081504 | 0 | 0.708219 | 0 | 0 | 0.07211 | 0.004259 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00137 | 0.016438 | null | null | 0.009589 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8a24583e4c292fb265700934a95fa58cbfcb640 | 182 | py | Python | posthog/plugins/reload.py | dorucioclea/posthog | a7e792c3fc5c1abc70d8167e1ead12d4ea24f17a | [
"MIT"
] | 7,409 | 2020-02-09T23:18:10.000Z | 2022-03-31T22:36:25.000Z | posthog/plugins/reload.py | dorucioclea/posthog | a7e792c3fc5c1abc70d8167e1ead12d4ea24f17a | [
"MIT"
] | 5,709 | 2020-02-09T23:26:13.000Z | 2022-03-31T20:20:01.000Z | posthog/plugins/reload.py | dorucioclea/posthog | a7e792c3fc5c1abc70d8167e1ead12d4ea24f17a | [
"MIT"
] | 647 | 2020-02-13T17:50:55.000Z | 2022-03-31T11:24:19.000Z | from django.conf import settings
from posthog.redis import get_client
def reload_plugins_on_workers():
get_client().publish(settings.PLUGINS_RELOAD_PUBSUB_CHANNEL, "reload!")
| 22.75 | 75 | 0.813187 | 25 | 182 | 5.6 | 0.68 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104396 | 182 | 7 | 76 | 26 | 0.858896 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b8a35a73f8e1b31688684ee6cb2a32481ed20b5c | 5,025 | py | Python | tests/unit/analytics/heatmap/test_cluster.py | thehyve/Fractalis | 5591112e5bc994eea5baf3d28caa7e5dfee85a57 | [
"Apache-2.0"
] | 7 | 2018-06-01T12:17:26.000Z | 2019-08-23T13:15:34.000Z | tests/unit/analytics/heatmap/test_cluster.py | thehyve/Fractalis | 5591112e5bc994eea5baf3d28caa7e5dfee85a57 | [
"Apache-2.0"
] | 6 | 2018-11-02T10:00:04.000Z | 2021-09-13T14:15:36.000Z | tests/unit/analytics/heatmap/test_cluster.py | LCSB-BioCore/Fractalis | a9f7f8da7675b55c5996d2f32d7baa7313b0350e | [
"Apache-2.0"
] | 3 | 2018-08-02T16:42:50.000Z | 2018-12-14T18:16:22.000Z | """This module provides tests for the cluster task
within the heatmap workflow."""
import pytest
from fractalis.analytics.tasks.heatmap.cluster import ClusteringTask
# noinspection PyMissingOrEmptyDocstring,PyMethodMayBeStatic
class TestClustering:
task = ClusteringTask()
df = {
'A': {
... | 32.006369 | 78 | 0.478209 | 573 | 5,025 | 4.008726 | 0.141361 | 0.071833 | 0.028733 | 0.057466 | 0.866783 | 0.845015 | 0.845015 | 0.814105 | 0.808446 | 0.745755 | 0 | 0.033646 | 0.384876 | 5,025 | 156 | 79 | 32.211538 | 0.709479 | 0.027065 | 0 | 0.601449 | 0 | 0 | 0.146426 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 1 | 0.065217 | false | 0 | 0.014493 | 0 | 0.101449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b230449f2c2832e38b3ca42aab18a9837b403f9c | 5,676 | py | Python | tests/testsuite/test_views/test_mixin.py | hemache/django-rest-framework-rules | fc5fd42a946cba24be4768f5769410578f2ad5a8 | [
"MIT"
] | null | null | null | tests/testsuite/test_views/test_mixin.py | hemache/django-rest-framework-rules | fc5fd42a946cba24be4768f5769410578f2ad5a8 | [
"MIT"
] | null | null | null | tests/testsuite/test_views/test_mixin.py | hemache/django-rest-framework-rules | fc5fd42a946cba24be4768f5769410578f2ad5a8 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import rules
from django.contrib.auth.models import User
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import reverse
from rest_framework.test import APITestCase
from testapp.models import Book
from testapp import views
class PermissionRe... | 48.512821 | 93 | 0.735201 | 665 | 5,676 | 6.043609 | 0.147368 | 0.047275 | 0.044787 | 0.042548 | 0.792983 | 0.771585 | 0.771585 | 0.76412 | 0.746952 | 0.72207 | 0 | 0.00879 | 0.15821 | 5,676 | 116 | 94 | 48.931034 | 0.832357 | 0.021494 | 0 | 0.611765 | 0 | 0 | 0.07909 | 0.050199 | 0 | 0 | 0 | 0 | 0.352941 | 1 | 0.129412 | false | 0.105882 | 0.094118 | 0 | 0.247059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.