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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e61cde993493a7e74e341749a57f210fbd184121 | 109 | py | Python | plugin/src/py/android_screenshot_tests/no_op_device_name_calculator.py | Survivingabuse/Lisa-Avina-Macias | d3e0bd8dd9bae32b8dd719f1ce9e7427a3f284be | [
"BSD-3-Clause"
] | 1 | 2018-02-28T07:42:32.000Z | 2018-02-28T07:42:32.000Z | plugin/src/py/android_screenshot_tests/no_op_device_name_calculator.py | xiphirx/screenshot-tests-for-android | d6c0107239cea8675e76c1e868701f50b5e46be2 | [
"Apache-2.0"
] | 1 | 2021-04-05T04:12:44.000Z | 2021-04-19T09:39:25.000Z | plugin/src/py/android_screenshot_tests/no_op_device_name_calculator.py | xiphirx/screenshot-tests-for-android | d6c0107239cea8675e76c1e868701f50b5e46be2 | [
"Apache-2.0"
] | 1 | 2021-03-25T10:17:20.000Z | 2021-03-25T10:17:20.000Z | class NoOpDeviceNameCalculator:
def __init__(self):
pass
def name(self):
return ""
| 13.625 | 31 | 0.59633 | 10 | 109 | 6.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321101 | 109 | 7 | 32 | 15.571429 | 0.824324 | 0 | 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 |
0510fa4c344979963936e4f171d4eaf26d1656f2 | 2,308 | py | Python | epytope/Data/pssms/smm/mat/A_24_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_24_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_24_03_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_24_03_9 = {0: {'A': -0.288, 'C': -0.498, 'E': 0.795, 'D': 1.273, 'G': 0.079, 'F': -0.254, 'I': 0.341, 'H': -0.125, 'K': -0.194, 'M': -0.364, 'L': -0.012, 'N': 0.134, 'Q': -0.09, 'P': 0.681, 'S': -0.23, 'R': -0.501, 'T': 0.102, 'W': -0.182, 'V': 0.028, 'Y': -0.696}, 1: {'A': 0.272, 'C': 0.156, 'E': 0.707, 'D': 0.709, ... | 2,308 | 2,308 | 0.395581 | 557 | 2,308 | 1.633752 | 0.290844 | 0.01978 | 0.010989 | 0.013187 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375194 | 0.161612 | 2,308 | 1 | 2,308 | 2,308 | 0.09509 | 0 | 0 | 0 | 0 | 0 | 0.079255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0514a2198a670c772600f3eda213f7aa8fee1314 | 44 | py | Python | wow/ui/__init__.py | mjsmagalhaes/examples-datascience | bd7e9cb5cc5c42e3896ad134db8765c7d6f27303 | [
"MIT"
] | null | null | null | wow/ui/__init__.py | mjsmagalhaes/examples-datascience | bd7e9cb5cc5c42e3896ad134db8765c7d6f27303 | [
"MIT"
] | null | null | null | wow/ui/__init__.py | mjsmagalhaes/examples-datascience | bd7e9cb5cc5c42e3896ad134db8765c7d6f27303 | [
"MIT"
] | null | null | null | from .ui import pick_encounter, import_file
| 22 | 43 | 0.840909 | 7 | 44 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.897436 | 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 |
05637574ed3255d156808ebf2a3955a2a79922de | 225 | py | Python | dsbox_corex/__init__.py | brekelma/dsbox_corex | ebca9c42fe0dae9b511a91ce2da833389ad13ef4 | [
"Apache-2.0"
] | null | null | null | dsbox_corex/__init__.py | brekelma/dsbox_corex | ebca9c42fe0dae9b511a91ce2da833389ad13ef4 | [
"Apache-2.0"
] | 8 | 2018-10-11T17:39:45.000Z | 2022-02-08T18:09:16.000Z | dsbox_corex/__init__.py | brekelma/dsbox_corex | ebca9c42fe0dae9b511a91ce2da833389ad13ef4 | [
"Apache-2.0"
] | 3 | 2018-06-09T21:54:49.000Z | 2022-02-08T00:19:53.000Z | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from dsbox_corex._config import *
#import dsbox_corex.corex_text
#import dsbox_corex.corex_continuous
#import corex_sae
#import dsbox_corex.echo_ib
| 28.125 | 44 | 0.844444 | 33 | 225 | 5.060606 | 0.424242 | 0.239521 | 0.287425 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097778 | 225 | 7 | 45 | 32.142857 | 0.82266 | 0.471111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5560cf31ab6987bfe258d6480d8b75feffb850f6 | 221 | py | Python | vega/algorithms/nas/darts_cnn/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 724 | 2020-06-22T12:05:30.000Z | 2022-03-31T07:10:54.000Z | vega/algorithms/nas/darts_cnn/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 147 | 2020-06-30T13:34:46.000Z | 2022-03-29T11:30:17.000Z | vega/algorithms/nas/darts_cnn/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 160 | 2020-06-29T18:27:58.000Z | 2022-03-23T08:42:21.000Z | from .darts_codec import DartsCodec
from .darts_network_config import DartsNetworkTemplateConfig
from .darts_trainer_callback import DartsTrainerCallback
from .darts_fully_trainer_callback import DartsFullTrainerCallback
| 44.2 | 66 | 0.909502 | 24 | 221 | 8.041667 | 0.541667 | 0.186529 | 0.217617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072398 | 221 | 4 | 67 | 55.25 | 0.941463 | 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 |
5562884aa8f93b28aaec15a4a79ccabfb0acba8e | 155 | py | Python | openelex/db.py | Mpopoma/oe-core | 860b99e14b9089a56b54cdd00285216a5cf77046 | [
"MIT"
] | 156 | 2015-04-09T02:56:10.000Z | 2022-01-04T12:03:57.000Z | openelex/db.py | Mpopoma/oe-core | 860b99e14b9089a56b54cdd00285216a5cf77046 | [
"MIT"
] | 54 | 2015-01-10T00:09:53.000Z | 2021-11-08T17:37:41.000Z | openelex/db.py | Mpopoma/oe-core | 860b99e14b9089a56b54cdd00285216a5cf77046 | [
"MIT"
] | 94 | 2015-01-10T18:45:15.000Z | 2022-03-24T02:00:09.000Z | from openelex.config import settings
from mongoengine import connect
def init_db(name='openelex'):
return connect(name, **settings.MONGO[name])[name]
| 25.833333 | 54 | 0.774194 | 21 | 155 | 5.666667 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 155 | 5 | 55 | 31 | 0.868613 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
557eebbe1a867519fa6a0a5e736f8b9ae96a83c1 | 37 | py | Python | vmware/nsx/utils/common/__init__.py | arielik/devops-utils | 70f0e011030fd9e4e9fd30e2ab3f204069aa33ef | [
"BSD-2-Clause"
] | 1 | 2017-02-10T13:19:51.000Z | 2017-02-10T13:19:51.000Z | vmware/nsx/utils/common/__init__.py | arielik/devops-utils | 70f0e011030fd9e4e9fd30e2ab3f204069aa33ef | [
"BSD-2-Clause"
] | 1 | 2019-04-05T00:38:31.000Z | 2019-04-05T13:10:16.000Z | vmware/nsx/utils/common/__init__.py | FibercorpLabs/FibercorpDevops | 70f0e011030fd9e4e9fd30e2ab3f204069aa33ef | [
"BSD-2-Clause"
] | 1 | 2019-08-08T23:09:43.000Z | 2019-08-08T23:09:43.000Z | from utils.common.Jinja import Jinja
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
5585ed90b18225048d28e1861a5e860164be04e4 | 946 | py | Python | tests/checks/test_title.py | rohan-pednekar/combine | 23206e1a7a34800acd34beedeea018fb48591633 | [
"MIT"
] | 5 | 2021-01-25T19:40:04.000Z | 2022-01-02T13:45:45.000Z | tests/checks/test_title.py | rohan-pednekar/combine | 23206e1a7a34800acd34beedeea018fb48591633 | [
"MIT"
] | 14 | 2018-07-06T17:19:33.000Z | 2021-12-22T18:05:57.000Z | tests/checks/test_title.py | rohan-pednekar/combine | 23206e1a7a34800acd34beedeea018fb48591633 | [
"MIT"
] | 3 | 2019-02-12T10:05:45.000Z | 2021-11-16T04:32:43.000Z | from bs4 import BeautifulSoup
from combine.checks.title import TitleCheck
def test_title_empty_check(snapshot):
content = """<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>"""
check = TitleCheck(BeautifulSoup(content, "html.parser"))
issues = check.run... | 21.022222 | 61 | 0.634249 | 109 | 946 | 5.366972 | 0.284404 | 0.035897 | 0.061538 | 0.138462 | 0.82735 | 0.82735 | 0.82735 | 0.760684 | 0.618803 | 0.618803 | 0 | 0.001328 | 0.204017 | 946 | 44 | 62 | 21.5 | 0.775564 | 0 | 0 | 0.810811 | 0 | 0 | 0.34778 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 1 | 0.081081 | false | 0 | 0.054054 | 0 | 0.135135 | 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 |
558e882f558295035675337c9229571f04ccde7b | 22 | py | Python | by_api/api_crawler.py | 118020071/bilibili_scrapper | 56e5c854bb141d34bf6b228aafcc3044e56906e9 | [
"Apache-2.0"
] | null | null | null | by_api/api_crawler.py | 118020071/bilibili_scrapper | 56e5c854bb141d34bf6b228aafcc3044e56906e9 | [
"Apache-2.0"
] | null | null | null | by_api/api_crawler.py | 118020071/bilibili_scrapper | 56e5c854bb141d34bf6b228aafcc3044e56906e9 | [
"Apache-2.0"
] | null | null | null | import requests, json
| 11 | 21 | 0.818182 | 3 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
559bc96805b423ab6f99226dc28a68def8fb85b6 | 550 | py | Python | pykicadlib/__init__.py | bfueldner/pykicadlib | 4e78347d4713f55187d2a1d791f4f81e5b6772a8 | [
"MIT"
] | null | null | null | pykicadlib/__init__.py | bfueldner/pykicadlib | 4e78347d4713f55187d2a1d791f4f81e5b6772a8 | [
"MIT"
] | null | null | null | pykicadlib/__init__.py | bfueldner/pykicadlib | 4e78347d4713f55187d2a1d791f4f81e5b6772a8 | [
"MIT"
] | null | null | null | """
.. module:: pykicadlib.config
:synopsis: KiCAD library config
.. moduleauthor:: Benjamin Füldner <benjamin@fueldner.net>
"""
# import pykicadlib.footprint.helper
# import pykicadlib.footprint.layer
# import pykicadlib.footprint.layers
# import pykicadlib.footprint.type
# import pykicadlib.footprint.element
# im... | 28.947368 | 58 | 0.789091 | 59 | 550 | 7.288136 | 0.423729 | 0.372093 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112727 | 550 | 18 | 59 | 30.555556 | 0.881148 | 0.876364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e98843096f78a6ac350db0ac607f28f8d15d469d | 135 | py | Python | Codewars/Average_scores - (7kyu).py | maxcohen31/A-bored-math-student | 007beb4dabf7b4406f48e9a3a967c29d032eab89 | [
"MIT"
] | null | null | null | Codewars/Average_scores - (7kyu).py | maxcohen31/A-bored-math-student | 007beb4dabf7b4406f48e9a3a967c29d032eab89 | [
"MIT"
] | null | null | null | Codewars/Average_scores - (7kyu).py | maxcohen31/A-bored-math-student | 007beb4dabf7b4406f48e9a3a967c29d032eab89 | [
"MIT"
] | null | null | null | def average(array):
#your code here and if you use a loop you are lame and inefficient!
return round(sum(array) / len(array))
| 27 | 71 | 0.696296 | 23 | 135 | 4.086957 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214815 | 135 | 4 | 72 | 33.75 | 0.886792 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e992bfdbf08a394859ff1a9428b988e30b678f51 | 27,823 | py | Python | src/Fig_5_supplement_1_Morphing_changing_Jee_plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | null | null | null | src/Fig_5_supplement_1_Morphing_changing_Jee_plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 3 | 2021-12-16T10:15:10.000Z | 2021-12-16T12:54:24.000Z | src/Fig_5_supplement_1_Morphing_changing_Jee_plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 1 | 2021-12-16T10:02:43.000Z | 2021-12-16T10:02:43.000Z | import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from sympy.solvers import solve
from sympy import Symbol
from matplotlib import patches
import matplotlib.patches as mpatches
import scipy.io as sio
import math
# plotting configuration
ratio = 1.5
figure_len, figure_width = 15*ratio, 12*ratio
fo... | 66.403341 | 259 | 0.646911 | 5,626 | 27,823 | 2.726804 | 0.033772 | 0.081155 | 0.066749 | 0.054234 | 0.956065 | 0.94518 | 0.89062 | 0.843035 | 0.837103 | 0.777589 | 0 | 0.079544 | 0.185782 | 27,823 | 419 | 260 | 66.403341 | 0.597643 | 0.562916 | 0 | 0.197368 | 0 | 0 | 0.136371 | 0.091138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.059211 | 0 | 0.059211 | 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 |
75fde909eef32ac61ed2844d3a900258ccbc168c | 164 | py | Python | example-project/example.py | Aprillion/python-solar | 803117c5d1bcf3beda1db55e878ddd9a09ca60fb | [
"MIT"
] | null | null | null | example-project/example.py | Aprillion/python-solar | 803117c5d1bcf3beda1db55e878ddd9a09ca60fb | [
"MIT"
] | null | null | null | example-project/example.py | Aprillion/python-solar | 803117c5d1bcf3beda1db55e878ddd9a09ca60fb | [
"MIT"
] | null | null | null | from utils import peek_aia
from sunpy.data.sample import AIA_193_IMAGE
from sunpy.data.sample import AIA_211_IMAGE
peek_aia(AIA_193_IMAGE)
peek_aia(AIA_211_IMAGE)
| 23.428571 | 43 | 0.859756 | 31 | 164 | 4.193548 | 0.354839 | 0.161538 | 0.2 | 0.292308 | 0.430769 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0.080537 | 0.091463 | 164 | 6 | 44 | 27.333333 | 0.791946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
ddcd16ffe8d5af655aa27cf0a63f22683171e535 | 47 | py | Python | scripts/portal/mistic_hene.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/mistic_hene.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/mistic_hene.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 100000000
sm.warp(931050800, 0)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 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 |
fb1c5e01c646a4d2662514b25fc2655a4cb562b4 | 75 | py | Python | feeders/__init__.py | Mikexu007/AS_CAL | 966328ae65bb16ba9b7aab153d8150c08c26c81f | [
"MIT"
] | 14 | 2020-08-04T13:22:54.000Z | 2022-01-23T22:29:24.000Z | feeders/__init__.py | Kali-Hac/AS-CAL | d5a14954da2259df6976f846c5cd97863daabc05 | [
"MIT"
] | 2 | 2021-05-04T14:57:39.000Z | 2021-12-06T07:57:55.000Z | feeders/__init__.py | Kali-Hac/AS-CAL | d5a14954da2259df6976f846c5cd97863daabc05 | [
"MIT"
] | 5 | 2021-01-08T15:06:14.000Z | 2022-03-01T11:50:29.000Z | from . import tools
from . import skeleton_feeder
from . import sbu_feeder
| 18.75 | 29 | 0.8 | 11 | 75 | 5.272727 | 0.545455 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 30 | 25 | 0.920635 | 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 |
fb1f7f5ff5f6e854531ba744e110d5e88a7a74f7 | 415 | py | Python | tests/test_puzzle13.py | harbenml/Advent_of_Code_2020 | b86596416a90980483f2d1b4ae507ad783cb6296 | [
"MIT"
] | 1 | 2020-12-10T20:01:04.000Z | 2020-12-10T20:01:04.000Z | tests/test_puzzle13.py | harbenml/advent-of-code-2020 | b86596416a90980483f2d1b4ae507ad783cb6296 | [
"MIT"
] | null | null | null | tests/test_puzzle13.py | harbenml/advent-of-code-2020 | b86596416a90980483f2d1b4ae507ad783cb6296 | [
"MIT"
] | null | null | null | from puzzles.puzzle13 import get_data
from puzzles.puzzle13 import solve_part_1
from puzzles.puzzle13 import solve_part_2
def test_solve_part_1():
departure, bus_ids, _ = get_data("./data/test_data13.txt")
assert solve_part_1(bus_ids, departure) == 295
def test_part_2():
departure, bus_ids, delays = get... | 29.642857 | 67 | 0.761446 | 65 | 415 | 4.507692 | 0.323077 | 0.153584 | 0.194539 | 0.255973 | 0.498294 | 0.498294 | 0.266212 | 0.266212 | 0.266212 | 0 | 0 | 0.072626 | 0.137349 | 415 | 13 | 68 | 31.923077 | 0.74581 | 0 | 0 | 0 | 0 | 0 | 0.106024 | 0.106024 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34a0befdd278bf62f8b59b2909bc1fa48fc84741 | 7,279 | py | Python | users/tests/test_views.py | todaatsushi/profiles_crud_app | 769d1a196d54d54c20cc6a7bf1539b4dab0f91dd | [
"MIT"
] | null | null | null | users/tests/test_views.py | todaatsushi/profiles_crud_app | 769d1a196d54d54c20cc6a7bf1539b4dab0f91dd | [
"MIT"
] | null | null | null | users/tests/test_views.py | todaatsushi/profiles_crud_app | 769d1a196d54d54c20cc6a7bf1539b4dab0f91dd | [
"MIT"
] | null | null | null | from django.test import TestCase, tag
from django.urls import reverse
from django.contrib.auth import get_user_model
class UsersViewsTestCase(TestCase):
"""
Unit tests for all the views in the users app.
Each view will have tests to see if they can sucessfully serve
templates required.
Views wit... | 33.699074 | 95 | 0.628246 | 843 | 7,279 | 5.202847 | 0.139976 | 0.05928 | 0.077975 | 0.090971 | 0.799134 | 0.783174 | 0.737118 | 0.728454 | 0.714774 | 0.658687 | 0 | 0.011177 | 0.262536 | 7,279 | 215 | 96 | 33.855814 | 0.805887 | 0.095755 | 0 | 0.513889 | 0 | 0 | 0.09699 | 0.0184 | 0 | 0 | 0 | 0 | 0.173611 | 1 | 0.090278 | false | 0.0625 | 0.020833 | 0 | 0.118056 | 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 |
34b037b5422fdac63e220511eda0f945a73df1d5 | 173 | py | Python | jax/lib/xla_bridge.py | tucker824/jax | bd37b84e6b1a1f0cf8b79a5146bd08eb1c308b0f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | jax/lib/xla_bridge.py | tucker824/jax | bd37b84e6b1a1f0cf8b79a5146bd08eb1c308b0f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | jax/lib/xla_bridge.py | tucker824/jax | bd37b84e6b1a1f0cf8b79a5146bd08eb1c308b0f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | CIVJ+iaBb2qg6gRNCd6hKDMQoJFquNH6Iis4B8iRCIY2JhWx9BBgvt2HAU4nrEbkd4mbYFQ7oLidJtexr29V7Dx1/jP/3MYiJ4rznO3CqdwKI81l9ab0I7+dVylJNMx4tR/6WFQqGHaO+7Kn7QalIBhOl5ku1/lsYL1qVYU6O/s=
| 86.5 | 172 | 0.942197 | 9 | 173 | 18.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 0.00578 | 173 | 1 | 173 | 173 | 0.761628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34f06be7556e3729e7f8dce96242263b63f12a01 | 42 | py | Python | jpylib/jqueues/__init__.py | JiniousChoi/encyclopedia-in-code | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | [
"MIT"
] | 2 | 2018-07-20T10:15:49.000Z | 2018-07-20T10:16:54.000Z | jpylib/jqueues/__init__.py | JiniousChoi/encyclopedia-in-code | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | [
"MIT"
] | 2 | 2018-06-26T09:12:44.000Z | 2019-12-18T00:09:14.000Z | jpylib/jqueues/__init__.py | JiniousChoi/encyclopedia-in-code | 77bc551a03a2a3e3808e50016ece14adb5cfbd96 | [
"MIT"
] | null | null | null | from ._PriorityQueue import PriorityQueue
| 21 | 41 | 0.880952 | 4 | 42 | 9 | 0.75 | 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 |
551e2a5ab0fc374adad908fa1d383972dae98917 | 342 | py | Python | main.py | yelelen/sfish-py | f9ba210859676386f063c409592b39be2e34a5cb | [
"Apache-2.0"
] | null | null | null | main.py | yelelen/sfish-py | f9ba210859676386f063c409592b39be2e34a5cb | [
"Apache-2.0"
] | null | null | null | main.py | yelelen/sfish-py | f9ba210859676386f063c409592b39be2e34a5cb | [
"Apache-2.0"
] | null | null | null | import sys
import os
from scrapy.cmdline import execute
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
execute(["scrapy", "crawl", "mmjpg"])
# execute(["scrapy", "crawl", "fds"])
# execute(["scrapy", "crawl", "bili_anime_detail"])
# execute(["scrapy", "crawl", "bili_movie_west"])
# execute(["scrapy", "cra... | 28.5 | 59 | 0.687135 | 44 | 342 | 5.136364 | 0.5 | 0.287611 | 0.39823 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 342 | 11 | 60 | 31.090909 | 0.724359 | 0.517544 | 0 | 0 | 0 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b7eacbed08c76a22d14a2b1abaf23e1bc3fc951 | 2,208 | py | Python | tests/integration/internal/test_cache.py | Sage-Bionetworks/spccore | c63a88ef472b83be11594b820a072f6d79080a73 | [
"Apache-2.0"
] | 1 | 2019-06-13T20:47:59.000Z | 2019-06-13T20:47:59.000Z | tests/integration/internal/test_cache.py | Sage-Bionetworks/spccore | c63a88ef472b83be11594b820a072f6d79080a73 | [
"Apache-2.0"
] | 12 | 2019-06-13T23:32:59.000Z | 2019-08-27T01:24:57.000Z | tests/integration/internal/test_cache.py | Sage-Bionetworks/spccore | c63a88ef472b83be11594b820a072f6d79080a73 | [
"Apache-2.0"
] | 3 | 2019-06-13T20:50:01.000Z | 2019-08-29T19:34:31.000Z | from spccore.internal.cache import *
def test_setup(cache, file_handle_id, file_path):
exist_file_paths = cache.get_all_unmodified_cached_file_paths(file_handle_id)
file_path = normalize_path(file_path)
assert file_path not in exist_file_paths
def test_download_default_location_empty_cache(cache, file_... | 37.423729 | 85 | 0.806159 | 344 | 2,208 | 4.680233 | 0.165698 | 0.134161 | 0.149068 | 0.118012 | 0.829814 | 0.821739 | 0.804348 | 0.785714 | 0.757764 | 0.66646 | 0 | 0.001559 | 0.128623 | 2,208 | 58 | 86 | 38.068966 | 0.835239 | 0.015399 | 0 | 0.605263 | 0 | 0 | 0.007366 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.131579 | false | 0 | 0.026316 | 0 | 0.157895 | 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 |
9b83207599659e4853207f6ed5c3c2d99a06a251 | 34 | py | Python | _src/Chapter09/aggregator/analytic/__init__.py | paullewallencom/app-dev-978-1-7882-9859-9 | df2fb849bb4ba7e97dca62e34b9c00a04d7b5790 | [
"Apache-2.0"
] | 12 | 2018-10-02T20:44:10.000Z | 2021-10-04T16:28:23.000Z | _src/Chapter09/aggregator/analytic/__init__.py | paullewallencom/app-dev-978-1-7882-9859-9 | df2fb849bb4ba7e97dca62e34b9c00a04d7b5790 | [
"Apache-2.0"
] | 1 | 2022-03-31T18:46:50.000Z | 2022-03-31T18:46:50.000Z | _src/Chapter09/aggregator/analytic/__init__.py | paullewallencom/app-dev-978-1-7882-9859-9 | df2fb849bb4ba7e97dca62e34b9c00a04d7b5790 | [
"Apache-2.0"
] | 5 | 2018-09-16T05:16:08.000Z | 2020-10-30T05:05:19.000Z | from aggregator import aggregator
| 17 | 33 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 1 | 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 |
9b9dfa4accfe219834f48f8fb548fc50ed4f4a00 | 286 | py | Python | exabel_data_sdk/stubs/exabel/api/management/v1/all_pb2_grpc.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/stubs/exabel/api/management/v1/all_pb2_grpc.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/stubs/exabel/api/management/v1/all_pb2_grpc.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | # Generated by generate_protobuf.sh.
# Contains all messages in *_pb2_grpc.py in a single module.
from .folder_messages_pb2_grpc import *
from .library_service_pb2_grpc import *
from .service_pb2_grpc import *
from .user_messages_pb2_grpc import *
from .user_service_pb2_grpc import *
| 31.777778 | 60 | 0.818182 | 45 | 286 | 4.822222 | 0.466667 | 0.193548 | 0.299539 | 0.313364 | 0.488479 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023904 | 0.122378 | 286 | 8 | 61 | 35.75 | 0.840637 | 0.325175 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9babb7513346d9845f59e1fb36851674ca98c118 | 39 | py | Python | Python/Cisco-PCAP-Python/Session/utils/sapa.py | rainoverme002/Software-Developer-Interview-Preparation | e4d9d704d619c11c0eb6458dcb57761b5946cd82 | [
"MIT"
] | null | null | null | Python/Cisco-PCAP-Python/Session/utils/sapa.py | rainoverme002/Software-Developer-Interview-Preparation | e4d9d704d619c11c0eb6458dcb57761b5946cd82 | [
"MIT"
] | 2 | 2021-09-02T20:33:10.000Z | 2022-03-29T10:04:07.000Z | Python/Cisco-PCAP-Python/Session/utils/sapa.py | rainoverme002/Software-Developer-Interview-Preparation | e4d9d704d619c11c0eb6458dcb57761b5946cd82 | [
"MIT"
] | null | null | null | def say_hai():
print("Hai...")
| 13 | 19 | 0.461538 | 5 | 39 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 39 | 3 | 20 | 13 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9bbbdd88124053ec938442dcdcd364bc5bd01ecc | 5,263 | py | Python | numom2b_preprocessing/unittests/cleaning_tests/test_clean_default.py | batflyer/nuMoM2b-preprocessing | e3831d33e06a2620df84655a3c9474794ecc8c44 | [
"MIT"
] | 2 | 2021-11-11T22:24:35.000Z | 2021-12-17T23:13:49.000Z | numom2b_preprocessing/unittests/cleaning_tests/test_clean_default.py | batflyer/nuMoM2b-preprocessing | e3831d33e06a2620df84655a3c9474794ecc8c44 | [
"MIT"
] | 5 | 2019-05-16T20:09:37.000Z | 2019-10-14T13:41:18.000Z | numom2b_preprocessing/unittests/cleaning_tests/test_clean_default.py | hayesall/nuMoM2b_preprocessing | e3831d33e06a2620df84655a3c9474794ecc8c44 | [
"MIT"
] | null | null | null | # Copyright © 2019 Alexander L. Hayes
"""
Test test variable/column cleaning with default values.
"""
from pandas import DataFrame
from pandas.util.testing import assert_frame_equal
import numpy as np
import unittest
# Tests for:
from ...clean_variables import VariableCleaner
class CleanDefaultValueSingleColumnTes... | 27.128866 | 84 | 0.434733 | 626 | 5,263 | 3.477636 | 0.111821 | 0.09876 | 0.083601 | 0.11943 | 0.819936 | 0.789159 | 0.744143 | 0.723473 | 0.723473 | 0.723473 | 0 | 0.067619 | 0.401482 | 5,263 | 193 | 85 | 27.26943 | 0.623175 | 0.098993 | 0 | 0.554745 | 0 | 0 | 0.054984 | 0 | 0 | 0 | 0 | 0 | 0.051095 | 1 | 0.043796 | false | 0 | 0.036496 | 0 | 0.094891 | 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 |
32cfe0f638b0f57f29b6d10112860aa9192c2893 | 494 | py | Python | py_toolbelt/int_toolbelt.py | soamicharan/py_toolbelt | b2800a750bb554368b2ccf040e79c262c4b24e1e | [
"MIT"
] | null | null | null | py_toolbelt/int_toolbelt.py | soamicharan/py_toolbelt | b2800a750bb554368b2ccf040e79c262c4b24e1e | [
"MIT"
] | null | null | null | py_toolbelt/int_toolbelt.py | soamicharan/py_toolbelt | b2800a750bb554368b2ccf040e79c262c4b24e1e | [
"MIT"
] | null | null | null | import math
def is_positive(self, **kwargs):
return (kwargs.get('on_true', True) if self > 0 else kwargs.get('on_false', False))
def is_negetive(self, **kwargs):
return (kwargs.get('on_true', True) if self < 0 else kwargs.get('on_false', False))
def is_zero(self, **kwargs):
return (kwargs.get('on_true', T... | 38 | 88 | 0.696356 | 78 | 494 | 4.282051 | 0.282051 | 0.161677 | 0.197605 | 0.197605 | 0.640719 | 0.640719 | 0.640719 | 0.640719 | 0.640719 | 0.640719 | 0 | 0.009524 | 0.149798 | 494 | 12 | 89 | 41.166667 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.091093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
32ff06bac8f566620278d44a1056dcadbbf45248 | 30,811 | py | Python | scikit_fuzzy_fcl/py3_parser/FclLexer.py | arruda/scikit_fuzzy_fcl | 1a6aa948bf73ab1bcff3bf5e615fafd8dc61e6d3 | [
"MIT"
] | 1 | 2017-05-22T21:49:25.000Z | 2017-05-22T21:49:25.000Z | scikit_fuzzy_fcl/py3_parser/FclLexer.py | arruda/scikit_fuzzy_fcl | 1a6aa948bf73ab1bcff3bf5e615fafd8dc61e6d3 | [
"MIT"
] | 4 | 2017-05-22T00:06:36.000Z | 2017-06-05T23:04:02.000Z | scikit_fuzzy_fcl/py3_parser/FclLexer.py | arruda/scikit_fuzzy_fcl | 1a6aa948bf73ab1bcff3bf5e615fafd8dc61e6d3 | [
"MIT"
] | 1 | 2021-11-03T21:22:16.000Z | 2021-11-03T21:22:16.000Z | # Generated from tools/antlr/Fcl.g4 by ANTLR 4.5.3
from antlr4 import *
from io import StringIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2_")
buf.write("\u0306\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7")
buf.write("\t\... | 61.132937 | 103 | 0.565188 | 7,071 | 30,811 | 2.452128 | 0.157969 | 0.132418 | 0.068689 | 0.070592 | 0.281677 | 0.235654 | 0.142165 | 0.116673 | 0.112752 | 0.105831 | 0 | 0.33974 | 0.150628 | 30,811 | 503 | 104 | 61.254473 | 0.322812 | 0.001558 | 0 | 0.004115 | 1 | 0.393004 | 0.640073 | 0.597549 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004115 | false | 0 | 0.004115 | 0 | 0.218107 | 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 |
fd0c887fd96cf4a3eb0608fa0401b55f1aa74761 | 162 | py | Python | myweb/mywebsite/admin.py | marufahmedtushar/My_Portfolio_on_Django | 9b76da3d480324c5da85f26526eefd6e56fd7e47 | [
"Apache-2.0"
] | null | null | null | myweb/mywebsite/admin.py | marufahmedtushar/My_Portfolio_on_Django | 9b76da3d480324c5da85f26526eefd6e56fd7e47 | [
"Apache-2.0"
] | null | null | null | myweb/mywebsite/admin.py | marufahmedtushar/My_Portfolio_on_Django | 9b76da3d480324c5da85f26526eefd6e56fd7e47 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from . models import project,skill,Contact
admin.site.register(project)
admin.site.register(skill)
admin.site.register(Contact) | 23.142857 | 42 | 0.820988 | 23 | 162 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 162 | 7 | 43 | 23.142857 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
b5e1e7eb4446a01f4e7be854830afef3261e53da | 21 | py | Python | torchattacks/attacks/__init__.py | hkunzhe/label_consistent_attacks_pytorch | 224f5879dca579a9dda3b62dfc34652358e0f1ae | [
"MIT"
] | 7 | 2021-05-20T21:13:27.000Z | 2021-11-05T02:08:58.000Z | torchattacks/attacks/__init__.py | hkunzhe/label_consistent_attacks_pytorch | 224f5879dca579a9dda3b62dfc34652358e0f1ae | [
"MIT"
] | null | null | null | torchattacks/attacks/__init__.py | hkunzhe/label_consistent_attacks_pytorch | 224f5879dca579a9dda3b62dfc34652358e0f1ae | [
"MIT"
] | null | null | null | from .pgd import PGD
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 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 |
bd0e7592892fb6cd14cbf1e2ff16cd64c517a0da | 2,577 | py | Python | src/database.py | TeamKun/KPMAuthorizeServer | ee979047e8c7f128cca14cd77c8edc605567ec07 | [
"MIT"
] | null | null | null | src/database.py | TeamKun/KPMAuthorizeServer | ee979047e8c7f128cca14cd77c8edc605567ec07 | [
"MIT"
] | null | null | null | src/database.py | TeamKun/KPMAuthorizeServer | ee979047e8c7f128cca14cd77c8edc605567ec07 | [
"MIT"
] | null | null | null | import mysql.connector
def genQuery(table, data=[]):
query = "SELECT * FROM " + table + " "
leng = len(data)
if leng != 0:
query = query + "WHERE "
for i in range(0, leng):
query = query + data[i][0] + "= ?"
if i < leng - 1:
query = query + " AND "
return quer... | 28.01087 | 61 | 0.474195 | 289 | 2,577 | 4.214533 | 0.190311 | 0.114943 | 0.118227 | 0.157635 | 0.72578 | 0.72578 | 0.72578 | 0.72578 | 0.72578 | 0.72578 | 0 | 0.010471 | 0.407062 | 2,577 | 91 | 62 | 28.318681 | 0.786649 | 0 | 0 | 0.706667 | 0 | 0 | 0.0357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0.013333 | 0.013333 | 0 | 0.2 | 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 |
bd29e730d67202e0870ad3165502a501fc764b2c | 193 | py | Python | coworks/__init__.py | gdoumenc/coworks | 97bb3babfd9c652315b5cf830d170cd20485b1d1 | [
"MIT"
] | 23 | 2019-12-26T16:28:40.000Z | 2022-02-22T14:05:47.000Z | coworks/__init__.py | gdoumenc/coworks | 97bb3babfd9c652315b5cf830d170cd20485b1d1 | [
"MIT"
] | 15 | 2019-12-24T13:29:29.000Z | 2021-12-28T10:16:36.000Z | coworks/__init__.py | gdoumenc/coworks | 97bb3babfd9c652315b5cf830d170cd20485b1d1 | [
"MIT"
] | 4 | 2021-07-10T17:59:51.000Z | 2022-02-14T18:53:00.000Z | from .coworks import TechMicroService, BizMicroService, Blueprint
from .coworks import entry, hide
from .mixins import FileParam
from .proxy import MicroServiceProxy
from .utils import jsonify
| 32.166667 | 65 | 0.839378 | 23 | 193 | 7.043478 | 0.608696 | 0.135802 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119171 | 193 | 5 | 66 | 38.6 | 0.952941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 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 |
1fc28579dad876b1259afb83be6634ad8f4496e2 | 173 | py | Python | pineboolib/q3widgets/qlistviewwidget.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 2 | 2017-12-10T23:06:16.000Z | 2017-12-10T23:06:23.000Z | pineboolib/q3widgets/qlistviewwidget.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 36 | 2017-11-05T21:13:47.000Z | 2020-08-26T15:56:15.000Z | pineboolib/q3widgets/qlistviewwidget.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 8 | 2017-11-05T15:56:31.000Z | 2019-04-25T16:32:28.000Z | """Qlistviewwidget module."""
from PyQt6 import QtWidgets # type: ignore[import]
class QListViewWidget(QtWidgets.QListWidget):
"""QListViewWidget class."""
pass
| 19.222222 | 51 | 0.722543 | 16 | 173 | 7.8125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.150289 | 173 | 8 | 52 | 21.625 | 0.843537 | 0.393064 | 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 |
1fe75e48e25675f55d684e7a6c32c43801363695 | 4,642 | py | Python | COMBO/experiments/NAS/data_loader.py | HanseulJo/COMBO_NKmodel | 6dcee4c39d4cf200f44677925712ce57255d1489 | [
"BSD-2-Clause-FreeBSD"
] | 38 | 2019-10-29T06:01:17.000Z | 2022-03-28T06:13:22.000Z | COMBO/experiments/NAS/data_loader.py | HanseulJo/COMBO_NKmodel | 6dcee4c39d4cf200f44677925712ce57255d1489 | [
"BSD-2-Clause-FreeBSD"
] | 8 | 2019-11-04T13:59:16.000Z | 2022-03-29T13:16:56.000Z | COMBO/experiments/NAS/data_loader.py | HanseulJo/COMBO_NKmodel | 6dcee4c39d4cf200f44677925712ce57255d1489 | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2019-10-31T13:10:53.000Z | 2022-01-20T10:05:57.000Z | import os
import numpy as np
import torch
import torch.cuda
import torchvision
import torchvision.transforms as transforms
from torch.utils.data.sampler import SubsetRandomSampler
from COMBO.config import data_directory
from COMBO.experiments.NAS.data_config import CIFAR10_NORM_MEAN, CIFAR10_NORM_STD
from COMBO.expe... | 49.913978 | 134 | 0.754416 | 601 | 4,642 | 5.52579 | 0.108153 | 0.075279 | 0.046974 | 0.072267 | 0.862993 | 0.862993 | 0.862993 | 0.85125 | 0.816019 | 0.754893 | 0 | 0.005609 | 0.155106 | 4,642 | 92 | 135 | 50.456522 | 0.841152 | 0 | 0 | 0.591549 | 0 | 0 | 0.005171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.15493 | 0 | 0.239437 | 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 |
1ffe385e24d9d7300fd5dd1c495bf70c57fc85a0 | 60 | py | Python | hera_analysis/__init__.py | nkern/hera_analysis | df8ed810e47f35d26f4ec5979c187432a1dbc43e | [
"BSD-3-Clause"
] | null | null | null | hera_analysis/__init__.py | nkern/hera_analysis | df8ed810e47f35d26f4ec5979c187432a1dbc43e | [
"BSD-3-Clause"
] | 1 | 2018-05-07T08:17:26.000Z | 2018-05-07T08:33:06.000Z | hera_analysis/__init__.py | nkern/hera_analysis | df8ed810e47f35d26f4ec5979c187432a1dbc43e | [
"BSD-3-Clause"
] | null | null | null | import abscal
import version
__version__ = version.version
| 12 | 29 | 0.833333 | 7 | 60 | 6.571429 | 0.428571 | 0.913043 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 4 | 30 | 15 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
951337c66d9ee80eb65970f25500a94b257e15a8 | 9 | py | Python | wasssup.py | bendance/07-2D-Platformer | 46389f6a215cbf61870877ffa8e2c6fd6535f0ea | [
"MIT"
] | null | null | null | wasssup.py | bendance/07-2D-Platformer | 46389f6a215cbf61870877ffa8e2c6fd6535f0ea | [
"MIT"
] | null | null | null | wasssup.py | bendance/07-2D-Platformer | 46389f6a215cbf61870877ffa8e2c6fd6535f0ea | [
"MIT"
] | 1 | 2020-03-12T03:14:33.000Z | 2020-03-12T03:14:33.000Z | 126 // 5 | 9 | 9 | 0.444444 | 2 | 9 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.333333 | 9 | 1 | 9 | 9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 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 |
951714707e5d1cb6c800336cb24ae83defce9e57 | 78 | py | Python | docker/fasttext/verify.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 48 | 2018-12-12T12:18:09.000Z | 2022-03-05T02:23:42.000Z | docker/fasttext/verify.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 7,201 | 2018-12-24T17:14:17.000Z | 2022-03-31T13:39:12.000Z | docker/fasttext/verify.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 94 | 2018-12-17T10:59:21.000Z | 2022-03-29T12:59:30.000Z | import fasttext
print("Imported fasttext successfully: {}".format(fasttext))
| 19.5 | 60 | 0.782051 | 8 | 78 | 7.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 3 | 61 | 26 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
952820ccfb7e4abe6ad8af483d143017426a91fa | 16 | py | Python | chett.py | griledchicken/VAMPY-2017-CS | 1bc71734751850b580b481eac51c5c235d0ca9e2 | [
"MIT"
] | 9 | 2018-08-07T20:17:02.000Z | 2022-02-24T02:58:47.000Z | chett.py | griledchicken/VAMPY-2017-CS | 1bc71734751850b580b481eac51c5c235d0ca9e2 | [
"MIT"
] | 7 | 2017-06-18T21:25:00.000Z | 2017-06-29T00:11:31.000Z | chett.py | griledchicken/VAMPY-2017-CS | 1bc71734751850b580b481eac51c5c235d0ca9e2 | [
"MIT"
] | 4 | 2017-06-14T21:30:46.000Z | 2020-07-17T01:38:03.000Z | import socket
| 4 | 13 | 0.75 | 2 | 16 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 16 | 3 | 14 | 5.333333 | 1 | 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 |
1f08c041931a8115fa260b4a9f8cd2687f472a88 | 40 | py | Python | enthought/kiva/image.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/kiva/image.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/kiva/image.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from kiva.image import *
| 13.333333 | 24 | 0.75 | 6 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 25 | 20 | 0.909091 | 0.3 | 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 |
2f91c8febfec8cfca0f626d0eaaf3331d7afb2eb | 386 | py | Python | src/moz_books/__init__.py | yukkun007/mmbooks | 4a05951ee30e33295b1b4c0b578f02ad6a4a20a5 | [
"MIT"
] | null | null | null | src/moz_books/__init__.py | yukkun007/mmbooks | 4a05951ee30e33295b1b4c0b578f02ad6a4a20a5 | [
"MIT"
] | 41 | 2021-10-08T05:55:21.000Z | 2022-03-28T23:14:22.000Z | src/moz_books/__init__.py | mozkzki/moz-books | 75fd44041ea8cb4cfe283fa5452443dbaaa4d732 | [
"MIT"
] | null | null | null | from moz_books.calil.calil_service import CalilService as Calil # noqa F401
from moz_books.google.google_service import GoogleService as Google # noqa F401
from moz_books.rakuten.rakuten_service import RakutenService as Rakuten # noqa F401
from moz_books.opendb.opendb_service import OpenDBService as OpenDB # noqa F... | 64.333333 | 84 | 0.839378 | 57 | 386 | 5.508772 | 0.333333 | 0.111465 | 0.191083 | 0.191083 | 0.254777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044379 | 0.124352 | 386 | 5 | 85 | 77.2 | 0.884615 | 0.126943 | 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 |
c854a6823a44ff1a175df3dc1477462a265ad78b | 5,455 | py | Python | src/abaqus/Interaction/RadiationToAmbient.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Interaction/RadiationToAmbient.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Interaction/RadiationToAmbient.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .Interaction import Interaction
from ..Region.Region import Region
class RadiationToAmbient(Interaction):
"""The RadiationToAmbient object defines radiant heat transfer between a surface and its
environment.
The RadiationToAmbient object is derived from the Interaction ... | 45.840336 | 107 | 0.659945 | 588 | 5,455 | 6.102041 | 0.214286 | 0.039855 | 0.042363 | 0.051282 | 0.752787 | 0.743032 | 0.721293 | 0.704571 | 0.704571 | 0.704571 | 0 | 0.002598 | 0.294409 | 5,455 | 118 | 108 | 46.228814 | 0.929592 | 0.725756 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.466667 | 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 |
c0b6fc47aa0cbb3da5d521516fd4291d2dc61f39 | 92 | py | Python | testSound.py | phbprogramming/HackTX2018 | 032d2cb0577c17907836f49a0e2dd7592ae0a1b2 | [
"BSD-3-Clause"
] | null | null | null | testSound.py | phbprogramming/HackTX2018 | 032d2cb0577c17907836f49a0e2dd7592ae0a1b2 | [
"BSD-3-Clause"
] | null | null | null | testSound.py | phbprogramming/HackTX2018 | 032d2cb0577c17907836f49a0e2dd7592ae0a1b2 | [
"BSD-3-Clause"
] | null | null | null | import os
os.system('say "target found"')
os.system('say "Preston I have found the target"') | 30.666667 | 50 | 0.728261 | 16 | 92 | 4.1875 | 0.625 | 0.238806 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 92 | 3 | 50 | 30.666667 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0.591398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
c0cc3b96473a81296ca50a694ed63249b2bd9695 | 224 | py | Python | contmon/scraper/admin.py | adandan01/contmon | 95cb6ff432ce5e02cdaa823430626a8abb03d01e | [
"BSD-3-Clause"
] | null | null | null | contmon/scraper/admin.py | adandan01/contmon | 95cb6ff432ce5e02cdaa823430626a8abb03d01e | [
"BSD-3-Clause"
] | null | null | null | contmon/scraper/admin.py | adandan01/contmon | 95cb6ff432ce5e02cdaa823430626a8abb03d01e | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from reversion_compare.admin import CompareVersionAdmin
from .models import WebsiteScraperConfig
@admin.register(WebsiteScraperConfig)
class ScraperConfigAdmin(CompareVersionAdmin):
pass | 32 | 55 | 0.866071 | 22 | 224 | 8.772727 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 224 | 7 | 56 | 32 | 0.946078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 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 |
c0d02121dc03b902535220e0879edda9fafa58b5 | 127 | py | Python | experiments/202005-python/test_echo.py | gpk/program-world | 255c2532574ca2b78dcb57c1f9b96e20abe0e118 | [
"Apache-2.0"
] | 1 | 2020-06-30T14:17:46.000Z | 2020-06-30T14:17:46.000Z | experiments/202005-python/test_echo.py | gpk/code | 255c2532574ca2b78dcb57c1f9b96e20abe0e118 | [
"Apache-2.0"
] | 10 | 2020-06-10T23:42:31.000Z | 2022-01-22T12:26:58.000Z | experiments/202005-python/test_echo.py | gpk/code | 255c2532574ca2b78dcb57c1f9b96e20abe0e118 | [
"Apache-2.0"
] | null | null | null | from echo import echo
def test_echo() -> None:
assert "echoing: foo" == echo("foo")
assert "echoing: 4" == echo("4")
| 18.142857 | 40 | 0.598425 | 18 | 127 | 4.166667 | 0.555556 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.220472 | 127 | 6 | 41 | 21.166667 | 0.737374 | 0 | 0 | 0 | 0 | 0 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0e1e870e7cfc6222e92ad216088c3b7a3ff6bae | 165 | py | Python | venv/Lib/site-packages/nipype/interfaces/slicer/quantification/__init__.py | richung99/digitizePlots | 6b408c820660a415a289726e3223e8f558d3e18b | [
"MIT"
] | 585 | 2015-01-12T16:06:47.000Z | 2022-03-26T14:51:08.000Z | nipype/interfaces/slicer/quantification/__init__.py | tamires-consulting/nipype | b7879d75a63b6500b2e7d2c3eba5aa7670339274 | [
"Apache-2.0"
] | 2,329 | 2015-01-01T09:56:41.000Z | 2022-03-30T14:24:49.000Z | nipype/interfaces/slicer/quantification/__init__.py | tamires-consulting/nipype | b7879d75a63b6500b2e7d2c3eba5aa7670339274 | [
"Apache-2.0"
] | 487 | 2015-01-20T01:04:52.000Z | 2022-03-21T21:22:47.000Z | # -*- coding: utf-8 -*-
from .changequantification import IntensityDifferenceMetric
from .petstandarduptakevaluecomputation import PETStandardUptakeValueComputation
| 41.25 | 80 | 0.854545 | 11 | 165 | 12.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.078788 | 165 | 3 | 81 | 55 | 0.921053 | 0.127273 | 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 |
c0e5a46e897eb7cfc8ea7c6e92c6103feeafdf01 | 8,273 | py | Python | app/tests/test_auth.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | app/tests/test_auth.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | app/tests/test_auth.py | ardihikaru/login-boilerplate | e10d077de0aefa9cb7a4633f915304e805c3f982 | [
"MIT"
] | null | null | null | import pytest
from typing import Dict
from httpx import AsyncClient
from app.db.models.user import User
from app.api.v1.endpoints.auth.utils import AuthErrMessage
# All test coroutines in file will be treated as marked (async allowed).
pytestmark = pytest.mark.asyncio
async def test_login_activated_user(client: Asy... | 34.907173 | 119 | 0.713768 | 1,158 | 8,273 | 4.851468 | 0.104491 | 0.089712 | 0.05607 | 0.043966 | 0.807405 | 0.763261 | 0.750801 | 0.720719 | 0.669455 | 0.632609 | 0 | 0.005423 | 0.19751 | 8,273 | 236 | 120 | 35.055085 | 0.840789 | 0.102502 | 0 | 0.504274 | 0 | 0 | 0.135988 | 0.024127 | 0 | 0 | 0 | 0 | 0.452991 | 1 | 0 | false | 0.017094 | 0.042735 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0f4e952c2580e755b9175898bbd792f1249bcbf | 18 | py | Python | twitterbot/tweetselectors/nlp_selector.py | MohammadZarchi/TwitterBot | ab88e98da91523384281fec47fe55d5a83928284 | [
"MIT"
] | 44 | 2020-05-11T15:42:16.000Z | 2022-03-31T17:02:34.000Z | twitterbot/tweetselectors/nlp_selector.py | alisojoudizadeh/TwitterBot | 4d9bff5cb199ec1f88441a1f3219372e978fb038 | [
"MIT"
] | 8 | 2020-05-09T15:35:54.000Z | 2020-10-08T16:45:43.000Z | twitterbot/tweetselectors/nlp_selector.py | alisojoudizadeh/TwitterBot | 4d9bff5cb199ec1f88441a1f3219372e978fb038 | [
"MIT"
] | 12 | 2020-05-18T02:50:22.000Z | 2021-12-29T05:48:35.000Z | # todo: Implement
| 9 | 17 | 0.722222 | 2 | 18 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 0.833333 | 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 |
c0fafffbe2b078cbf8078a7d5edf21645240e47a | 258,381 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/26.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/26.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/26.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19086
passenger_arriving = (
(6, 4, 6, 2, 3, 1, 4, 2, 1, 1, 2, 1, 0, 6, 6, 5, 4, 3, 2, 0, 2, 3, 1, 1, 1, 0), # 0
(3, 6, 10, 4, 1, 1, 2, 3, 2, 5, 0, 0, 0, 7, 9, 4, 2, 3, 3, 0, 4, 3, 1, 1, 0, 0), # 1
(2, 7, 3, 4, 3, 0, 1, 3, 1, 3, 1, 1, 0, 7, 9, 4, 4, 5, 2, 3, 0, 1, 3, 1, 2, 0),... | 276.343316 | 494 | 0.769627 | 32,987 | 258,381 | 6.028011 | 0.217086 | 0.358468 | 0.343985 | 0.651761 | 0.376186 | 0.367692 | 0.364553 | 0.36401 | 0.36393 | 0.36393 | 0 | 0.849859 | 0.095727 | 258,381 | 934 | 495 | 276.639186 | 0.001194 | 0.015524 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23b0001219e3ca2ddf65117fe606667e87703b9c | 9,806 | py | Python | python/test_index_mesh.py | KGHustad/emi-book-2020-splitting-code | 4cd8acb47a29212d8c06a18f0f6ff2dde5911904 | [
"MIT"
] | 1 | 2020-03-12T11:48:26.000Z | 2020-03-12T11:48:26.000Z | python/test_index_mesh.py | KGHustad/emi-book-2020-splitting-code | 4cd8acb47a29212d8c06a18f0f6ff2dde5911904 | [
"MIT"
] | null | null | null | python/test_index_mesh.py | KGHustad/emi-book-2020-splitting-code | 4cd8acb47a29212d8c06a18f0f6ff2dde5911904 | [
"MIT"
] | null | null | null | import itertools
import numpy as np
import pytest
from index_mesh import IndexMesh
"""
@pytest.fixture
def m():
Nx, Ny, Nz = 3, 4, 5
N = Nx*Ny*Nz
m = IndexMesh(Nx, Ny, Nz, N)
"""
def test_index_point():
Nx, Ny, Nz = 3, 4, 5
N = Nx*Ny*Nz
m = IndexMesh(Nx, Ny, Nz, N)
# x-dimension is cont... | 34.048611 | 127 | 0.566184 | 1,494 | 9,806 | 3.565596 | 0.059572 | 0.022527 | 0.030411 | 0.086353 | 0.892435 | 0.853576 | 0.822226 | 0.782992 | 0.735123 | 0.69251 | 0 | 0.013682 | 0.314297 | 9,806 | 287 | 128 | 34.167247 | 0.778554 | 0.105956 | 0 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117073 | 1 | 0.039024 | false | 0 | 0.019512 | 0 | 0.058537 | 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 |
23cee30b370597eda4fa41486917f446c01db33b | 262 | py | Python | somnium/exceptions.py | ivallesp/somnium | dc628cf18d7b4b4475106cf2a390df4ab5d2ff19 | [
"MIT"
] | 2 | 2019-09-04T10:26:03.000Z | 2019-10-28T15:34:18.000Z | somnium/exceptions.py | ivallesp/somnium | dc628cf18d7b4b4475106cf2a390df4ab5d2ff19 | [
"MIT"
] | null | null | null | somnium/exceptions.py | ivallesp/somnium | dc628cf18d7b4b4475106cf2a390df4ab5d2ff19 | [
"MIT"
] | null | null | null | class NeighborhoodFunctionNotFound(Exception):
pass
class LatticeTypeNotFound(Exception):
pass
class NormalizationFunctionNotFound(Exception):
pass
class ModelNotTrainedError(Exception):
pass
class InvalidValuesInDataSet(Exception):
pass
| 17.466667 | 47 | 0.793893 | 20 | 262 | 10.4 | 0.4 | 0.3125 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148855 | 262 | 14 | 48 | 18.714286 | 0.932735 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
23df9852885f4eb124d81dbf9ea075c85416526c | 22,279 | py | Python | inventory/views.py | recentfahim/smartbusinessbd | 61a74ae629f2c6e2317c41da23476c8780446e84 | [
"Apache-2.0"
] | null | null | null | inventory/views.py | recentfahim/smartbusinessbd | 61a74ae629f2c6e2317c41da23476c8780446e84 | [
"Apache-2.0"
] | null | null | null | inventory/views.py | recentfahim/smartbusinessbd | 61a74ae629f2c6e2317c41da23476c8780446e84 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from rest_framework.views import APIView
from rest_framework.permissions import IsAuthenticated
from generic.views import decode_token
from rest_framework.response import Response
from .models import Category, Brand, Product, VariantType, VariantTypeOption, ProductVariant, Warehouse,... | 37.193656 | 119 | 0.635441 | 2,322 | 22,279 | 5.919466 | 0.057278 | 0.039214 | 0.061113 | 0.078574 | 0.853183 | 0.816006 | 0.774536 | 0.758967 | 0.722154 | 0.700036 | 0 | 0.00718 | 0.249832 | 22,279 | 598 | 120 | 37.255853 | 0.815234 | 0 | 0 | 0.651911 | 0 | 0 | 0.11338 | 0.018134 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080483 | false | 0 | 0.018109 | 0 | 0.243461 | 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 |
23e758a8bccb3e0f5bf3d9403d9801eeeb13e707 | 113 | py | Python | keras_contrib/metrics/__init__.py | congson1293/keras-contrib | 6614e21904fb63f836077ca21c3944b5a24a9014 | [
"MIT"
] | 1,335 | 2017-12-21T12:04:22.000Z | 2022-03-24T13:35:10.000Z | keras_contrib/metrics/__init__.py | congson1293/keras-contrib | 6614e21904fb63f836077ca21c3944b5a24a9014 | [
"MIT"
] | 283 | 2017-12-20T22:16:25.000Z | 2022-03-10T14:33:55.000Z | keras_contrib/metrics/__init__.py | congson1293/keras-contrib | 6614e21904fb63f836077ca21c3944b5a24a9014 | [
"MIT"
] | 654 | 2017-12-22T02:33:52.000Z | 2022-03-17T03:07:20.000Z | from .crf_accuracies import crf_accuracy, crf_marginal_accuracy
from .crf_accuracies import crf_viterbi_accuracy
| 37.666667 | 63 | 0.893805 | 16 | 113 | 5.875 | 0.4375 | 0.148936 | 0.361702 | 0.489362 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 113 | 2 | 64 | 56.5 | 0.903846 | 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 | 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 |
f1cd649a133617f5a655253dbc21a3446d716f29 | 140 | py | Python | EasyPortfolioExplorer/__init__.py | jblemoine/EasyPortfolioExplorer | 88484a1acb8f41f7497129ffefc89608af2d34d5 | [
"MIT"
] | null | null | null | EasyPortfolioExplorer/__init__.py | jblemoine/EasyPortfolioExplorer | 88484a1acb8f41f7497129ffefc89608af2d34d5 | [
"MIT"
] | null | null | null | EasyPortfolioExplorer/__init__.py | jblemoine/EasyPortfolioExplorer | 88484a1acb8f41f7497129ffefc89608af2d34d5 | [
"MIT"
] | 1 | 2018-05-07T23:44:40.000Z | 2018-05-07T23:44:40.000Z | from .app.easy.portfolio import RandomPortfolio
from .app.utils.market_data import MarketData
from .app.easy.callbacks import EasyCallbacks
| 35 | 47 | 0.85 | 19 | 140 | 6.210526 | 0.631579 | 0.177966 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 140 | 3 | 48 | 46.666667 | 0.921875 | 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 |
f1e1865c35d523d67256e8b6f6ef4d8f6a309dce | 378 | py | Python | time_series/Lib/site-packages/mplfinance/__init__.py | Evans-colon/Time_Series_Analysis_Forcasting | cf7229d8558013ffcff0780b5ba7a2e2b95d7253 | [
"MIT"
] | null | null | null | time_series/Lib/site-packages/mplfinance/__init__.py | Evans-colon/Time_Series_Analysis_Forcasting | cf7229d8558013ffcff0780b5ba7a2e2b95d7253 | [
"MIT"
] | null | null | null | time_series/Lib/site-packages/mplfinance/__init__.py | Evans-colon/Time_Series_Analysis_Forcasting | cf7229d8558013ffcff0780b5ba7a2e2b95d7253 | [
"MIT"
] | null | null | null | import mplfinance._mpf_warnings
from mplfinance.plotting import plot, make_addplot
from mplfinance._styles import make_mpf_style, make_marketcolors
from mplfinance._styles import available_styles, write_style_file
from mplfinance._version import __version__
from mplfinance._mplwraps import fig... | 47.25 | 71 | 0.81746 | 47 | 378 | 6.148936 | 0.446809 | 0.290657 | 0.138408 | 0.179931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153439 | 378 | 7 | 72 | 54 | 0.903125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 |
f1fe76b5d9382778077bb5d9f4ea972e5c46c484 | 88,794 | py | Python | app/plots/routes.py | farbodab/flatteningthecurve | 692fd9c8d78355e1208ff85a2cd1038da11c392f | [
"MIT"
] | 1 | 2020-03-24T23:46:29.000Z | 2020-03-24T23:46:29.000Z | app/plots/routes.py | farbodab/flatteningthecurve | 692fd9c8d78355e1208ff85a2cd1038da11c392f | [
"MIT"
] | 13 | 2021-02-08T20:51:14.000Z | 2022-03-12T00:43:30.000Z | app/plots/routes.py | farbodab/flatteningthecurve | 692fd9c8d78355e1208ff85a2cd1038da11c392f | [
"MIT"
] | 3 | 2020-06-09T20:24:29.000Z | 2020-06-09T20:26:16.000Z | from flask import Flask, request, jsonify, g, render_template
from flask_json import FlaskJSON, JsonError, json_response, as_json
import plotly.graph_objects as go
from datetime import datetime
from datetime import timedelta
import glob
import requests
from app import db
from app.models import *
from app.plots import b... | 34.059839 | 261 | 0.526263 | 10,571 | 88,794 | 4.326459 | 0.057989 | 0.02099 | 0.035093 | 0.02814 | 0.80188 | 0.776714 | 0.760971 | 0.750804 | 0.739915 | 0.733486 | 0 | 0.030566 | 0.29663 | 88,794 | 2,606 | 262 | 34.072909 | 0.701705 | 0.033358 | 0 | 0.677246 | 0 | 0.021973 | 0.237656 | 0.045307 | 0.000488 | 0 | 0 | 0 | 0 | 1 | 0.016113 | false | 0 | 0.008301 | 0 | 0.046387 | 0.000488 | 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 |
7b0c14d9daaf635da258d6b18954077f74165c08 | 4,920 | py | Python | pirates/leveleditor/worldData/cutsceneNPCs.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/cutsceneNPCs.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/cutsceneNPCs.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.cutsceneNPCs
from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1153439584.53darr... | 820 | 4,646 | 0.644715 | 653 | 4,920 | 4.856049 | 0.203675 | 0.042889 | 0.045412 | 0.045412 | 0.538001 | 0.495112 | 0.480605 | 0.480605 | 0.480605 | 0.480605 | 0 | 0.218085 | 0.082927 | 4,920 | 6 | 4,646 | 820 | 0.484707 | 0.044309 | 0 | 0 | 0 | 0 | 0.572158 | 0.274585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7b12cb2a80dbbdb7786a41ece737c86577f5ce56 | 125 | py | Python | django_file_form/ajaxuploader/__init__.py | kosior/django-file-form | bc9ae606f55b297254e945c856d4878e45408af0 | [
"Apache-2.0"
] | 133 | 2015-01-22T09:01:58.000Z | 2022-03-24T07:24:52.000Z | django_file_form/ajaxuploader/__init__.py | kosior/django-file-form | bc9ae606f55b297254e945c856d4878e45408af0 | [
"Apache-2.0"
] | 371 | 2015-01-14T01:34:45.000Z | 2022-03-23T12:16:01.000Z | django_file_form/ajaxuploader/__init__.py | kosior/django-file-form | bc9ae606f55b297254e945c856d4878e45408af0 | [
"Apache-2.0"
] | 42 | 2015-01-21T11:24:42.000Z | 2022-03-22T12:10:01.000Z | # placeholder package for django_file_form.ajaxuploader
# You should not add django_file_form.ajaxuploader to INSTALLED_APPS
| 41.666667 | 68 | 0.864 | 18 | 125 | 5.722222 | 0.777778 | 0.194175 | 0.271845 | 0.504854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 2 | 69 | 62.5 | 0.919643 | 0.96 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b2055ed97aa6e00d6fb23e263c46dada81f9cf1 | 246 | py | Python | gaphor/UML/__init__.py | MarianelaSena/gaphor | f1ccc2e2ae98d7fad54f6dd9271e8e10fbb2e324 | [
"Apache-2.0"
] | 1 | 2020-11-27T12:39:15.000Z | 2020-11-27T12:39:15.000Z | gaphor/UML/__init__.py | MarianelaSena/gaphor | f1ccc2e2ae98d7fad54f6dd9271e8e10fbb2e324 | [
"Apache-2.0"
] | null | null | null | gaphor/UML/__init__.py | MarianelaSena/gaphor | f1ccc2e2ae98d7fad54f6dd9271e8e10fbb2e324 | [
"Apache-2.0"
] | 3 | 2020-01-23T14:13:59.000Z | 2020-02-18T18:21:47.000Z | from gaphor.UML import modelfactory as model
from gaphor.UML.collection import collection
from gaphor.UML.elementfactory import ElementFactory
from gaphor.UML.uml2 import *
from gaphor.UML.umlfmt import format
from gaphor.UML.umllex import parse
| 35.142857 | 52 | 0.845528 | 36 | 246 | 5.777778 | 0.388889 | 0.288462 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.105691 | 246 | 6 | 53 | 41 | 0.940909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7b4e6a63b8691e71165854c54c2c2f5ebf8714c5 | 28 | py | Python | models/__init__.py | chienlm297/Multi-label-for-volume-estimation | c14bf0a2b237e4ea580461524c280f85b8859ec9 | [
"MIT"
] | null | null | null | models/__init__.py | chienlm297/Multi-label-for-volume-estimation | c14bf0a2b237e4ea580461524c280f85b8859ec9 | [
"MIT"
] | null | null | null | models/__init__.py | chienlm297/Multi-label-for-volume-estimation | c14bf0a2b237e4ea580461524c280f85b8859ec9 | [
"MIT"
] | null | null | null | from .mlmodel import Volume
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
7bbaf75d367e288c6d58764a6f3f6ee78621d25b | 49 | py | Python | netbox/circuits/models/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | 1 | 2021-12-09T13:41:46.000Z | 2021-12-09T13:41:46.000Z | netbox/circuits/models/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | null | null | null | netbox/circuits/models/__init__.py | cybarox/netbox | ea197eff5f4fe925bb354d1375912decd81752bd | [
"Apache-2.0"
] | 1 | 2022-02-07T20:36:31.000Z | 2022-02-07T20:36:31.000Z | from .circuits import *
from .providers import *
| 16.333333 | 24 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 25 | 24.5 | 0.902439 | 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 |
7bc969763011cde052aafa9270bf7bf407c4a534 | 154 | py | Python | chat_chat/images/admin.py | junngo/django-chat | 24a4ec17ade348186ab4cdaeecb60f6b69d5dce2 | [
"MIT"
] | null | null | null | chat_chat/images/admin.py | junngo/django-chat | 24a4ec17ade348186ab4cdaeecb60f6b69d5dce2 | [
"MIT"
] | null | null | null | chat_chat/images/admin.py | junngo/django-chat | 24a4ec17ade348186ab4cdaeecb60f6b69d5dce2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Home
# Register your models here.
@admin.register(Home)
class HomeAdmin(admin.ModelAdmin):
pass
| 19.25 | 34 | 0.779221 | 21 | 154 | 5.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 154 | 7 | 35 | 22 | 0.909091 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7405a79c8dd6e78b1d014a5e1400ae89c7d87f30 | 155 | py | Python | yarals/__init__.py | Hassanchenganasseri/yara-language-server | 9ba4d820f1cabb738921e17d4489706966cb290b | [
"Apache-2.0"
] | 1 | 2021-11-13T02:04:55.000Z | 2021-11-13T02:04:55.000Z | yarals/__init__.py | Hassanchenganasseri/yara-language-server | 9ba4d820f1cabb738921e17d4489706966cb290b | [
"Apache-2.0"
] | 4 | 2020-12-12T23:41:40.000Z | 2021-01-18T17:00:53.000Z | yarals/__init__.py | Hassanchenganasseri/yara-language-server | 9ba4d820f1cabb738921e17d4489706966cb290b | [
"Apache-2.0"
] | 1 | 2022-02-21T15:36:21.000Z | 2022-02-21T15:36:21.000Z | '''
An implementation of the Language Server Protocol for the YARA pattern matching language
https://microsoft.github.io/language-server-protocol/
'''
| 31 | 88 | 0.774194 | 20 | 155 | 6 | 0.75 | 0.233333 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 4 | 89 | 38.75 | 0.888889 | 0.941935 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8353cb07b757c1c11e1315b967a436f3b475cbc | 182 | py | Python | python/8kyu/count_by_x.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/count_by_x.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/count_by_x.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/5513795bd3fafb56c200049e."""
from typing import List
def count_by(x: int, n: int) -> List[int]:
return list(range(x, x * n + 1, x))
| 22.75 | 71 | 0.659341 | 29 | 182 | 4.103448 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.159341 | 182 | 7 | 72 | 26 | 0.666667 | 0.357143 | 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 |
b5582a436c47df2c03e50e3eeebd30c439850bbb | 102 | py | Python | polymorphic_auth/usertypes/username/admin.py | ixc/django-polymorphic-auth | 690c5e78846b328ca1b60bd0e099fe622d40892d | [
"MIT"
] | 6 | 2015-08-09T11:34:49.000Z | 2019-11-21T22:15:19.000Z | polymorphic_auth/usertypes/username/admin.py | ixc/django-polymorphic-auth | 690c5e78846b328ca1b60bd0e099fe622d40892d | [
"MIT"
] | 7 | 2015-08-19T05:07:04.000Z | 2017-03-27T11:21:02.000Z | polymorphic_auth/usertypes/username/admin.py | ixc/django-polymorphic-auth | 690c5e78846b328ca1b60bd0e099fe622d40892d | [
"MIT"
] | 5 | 2015-09-21T07:11:11.000Z | 2022-03-30T01:16:04.000Z | from polymorphic_auth.admin import UserChildAdmin
class UsernameUserAdmin(UserChildAdmin):
pass
| 17 | 49 | 0.833333 | 10 | 102 | 8.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 5 | 50 | 20.4 | 0.94382 | 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 |
b5699b7215b6d4dc9f5e34b978d39e48bef21ec1 | 19 | py | Python | build/lib/bsf/__init__.py | tttienthinh/BinanceSelenium | aa53c45ae8630150e1352cc90d49623d849ea7f6 | [
"MIT"
] | null | null | null | build/lib/bsf/__init__.py | tttienthinh/BinanceSelenium | aa53c45ae8630150e1352cc90d49623d849ea7f6 | [
"MIT"
] | null | null | null | build/lib/bsf/__init__.py | tttienthinh/BinanceSelenium | aa53c45ae8630150e1352cc90d49623d849ea7f6 | [
"MIT"
] | null | null | null | from .bsf import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
b577c3ce8be0c770f0e7d71d7272c2c983dffb86 | 49 | py | Python | src/texture_synthesis/__init__.py | trbay/style_transfer_via_texture_synthesis | 4824fa1b74573e48d3e340fb691dea8d502cfd50 | [
"MIT"
] | null | null | null | src/texture_synthesis/__init__.py | trbay/style_transfer_via_texture_synthesis | 4824fa1b74573e48d3e340fb691dea8d502cfd50 | [
"MIT"
] | null | null | null | src/texture_synthesis/__init__.py | trbay/style_transfer_via_texture_synthesis | 4824fa1b74573e48d3e340fb691dea8d502cfd50 | [
"MIT"
] | null | null | null | from .texture_synthesis import TextureSynthesis
| 24.5 | 48 | 0.877551 | 5 | 49 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a90d641d45cd9bb71e4a44248f985d2b35555975 | 113 | py | Python | sample_code/apic_config.py | patttakid/open | 0a1d62306acecf82d9071d762bd5e7aa8ffd5085 | [
"Apache-2.0"
] | 58 | 2016-02-09T08:44:36.000Z | 2020-03-10T17:19:08.000Z | sample_code/apic_config.py | patttakid/open | 0a1d62306acecf82d9071d762bd5e7aa8ffd5085 | [
"Apache-2.0"
] | 2 | 2017-05-08T14:51:34.000Z | 2018-01-14T21:02:56.000Z | sample_code/apic_config.py | patttakid/open | 0a1d62306acecf82d9071d762bd5e7aa8ffd5085 | [
"Apache-2.0"
] | 50 | 2016-02-11T08:17:39.000Z | 2020-12-10T05:11:50.000Z | #APIC="sandboxapic.cisco.com:9443"
APIC="sandboxapic.cisco.com"
APIC_USER="devnetuser"
APIC_PASSWORD="Cisco123!"
| 22.6 | 34 | 0.79646 | 15 | 113 | 5.866667 | 0.6 | 0.340909 | 0.454545 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0.035398 | 113 | 4 | 35 | 28.25 | 0.743119 | 0.292035 | 0 | 0 | 0 | 0 | 0.506329 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a94e921e630cc8b3204e15eea70581b032b8ada8 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/tenacity/wait.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/tenacity/wait.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/tenacity/wait.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/14/0a/08/7c851235fe4e589613ee7863142d2e3958a31cc05de7a0094722cddb7d | 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 |
a9672c8bce7f558c3b74eff2aadbb2a5670b290b | 1,540 | py | Python | extractor.py | thevpaliy/crawler | 4335dedf40e9eee4c937d517a11ab90f417b8a1a | [
"MIT"
] | null | null | null | extractor.py | thevpaliy/crawler | 4335dedf40e9eee4c937d517a11ab90f417b8a1a | [
"MIT"
] | null | null | null | extractor.py | thevpaliy/crawler | 4335dedf40e9eee4c937d517a11ab90f417b8a1a | [
"MIT"
] | null | null | null | import _base
import re
from urllib import parse
class JSExtractor(_base.BaseExtractor):
def extract(self, data):
url, response = data
matches = re.findall(r'src=[\'"](.*?\.js)["\']', response)
self.processor.process((url, matches))
class FileExtractor(_base.BaseExtractor):
def extract(self):
url,... | 29.615385 | 82 | 0.611688 | 179 | 1,540 | 5.22905 | 0.234637 | 0.032051 | 0.064103 | 0.128205 | 0.867521 | 0.80235 | 0.80235 | 0.80235 | 0.80235 | 0.80235 | 0 | 0.0033 | 0.212987 | 1,540 | 51 | 83 | 30.196078 | 0.768977 | 0 | 0 | 0.666667 | 0 | 0 | 0.053896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119048 | false | 0 | 0.071429 | 0 | 0.309524 | 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 |
8d522be39a5b2c63b055c3e97906769ac83fc8b3 | 7,154 | py | Python | tests/test_csv.py | singer-io/singer-encodings | 51256b6d2aa0dc492264a8f8094f30b3f7a26259 | [
"Apache-2.0"
] | 2 | 2021-10-06T00:14:40.000Z | 2021-11-27T18:39:06.000Z | tests/test_csv.py | singer-io/singer-encodings | 51256b6d2aa0dc492264a8f8094f30b3f7a26259 | [
"Apache-2.0"
] | 3 | 2019-10-31T15:51:49.000Z | 2021-05-24T05:08:41.000Z | tests/test_csv.py | singer-io/singer-encodings | 51256b6d2aa0dc492264a8f8094f30b3f7a26259 | [
"Apache-2.0"
] | 7 | 2020-05-27T13:22:59.000Z | 2021-07-12T10:38:49.000Z | import unittest
from unittest import mock
from singer_encodings.csv_helper import CSVHelper
from singer_encodings import csv
class TestRestKey(unittest.TestCase):
csv_data = [b"columnA,columnB,columnC", b"1,2,3,4"]
def test(self):
row_iterator = csv.get_row_iterator(self.csv_data)
rows = [r f... | 40.418079 | 159 | 0.669276 | 957 | 7,154 | 4.809822 | 0.106583 | 0.143385 | 0.110797 | 0.077558 | 0.817293 | 0.802086 | 0.802086 | 0.783185 | 0.764284 | 0.757767 | 0 | 0.016176 | 0.179061 | 7,154 | 176 | 160 | 40.647727 | 0.76758 | 0 | 0 | 0.639344 | 0 | 0.008197 | 0.201006 | 0.067654 | 0 | 0 | 0 | 0 | 0.213115 | 1 | 0.122951 | false | 0 | 0.032787 | 0 | 0.385246 | 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 |
8d675e14c552fb7bcbc84d112c928fa2f488b3de | 8,628 | py | Python | tests/test_file.py | BitySA/swissdta | 046f466610e1197eea1e04683085b7008898c93a | [
"MIT"
] | null | null | null | tests/test_file.py | BitySA/swissdta | 046f466610e1197eea1e04683085b7008898c93a | [
"MIT"
] | 3 | 2017-10-21T08:45:01.000Z | 2021-06-02T00:16:43.000Z | tests/test_file.py | BitySA/swissdta | 046f466610e1197eea1e04683085b7008898c93a | [
"MIT"
] | 2 | 2017-10-20T09:45:52.000Z | 2018-12-03T16:00:40.000Z | """Tests for the DTA file"""
from datetime import date
from decimal import Decimal
import pytest
from swissdta.records import DTARecord890, DTARecord836
from swissdta.constants import IdentificationPurpose, ChargesRule
from swissdta.file import DTAFile
@pytest.mark.parametrize(('record_data', 'duplicate_record_inde... | 45.410526 | 118 | 0.640009 | 873 | 8,628 | 6.154639 | 0.167239 | 0.027359 | 0.03164 | 0.039084 | 0.791364 | 0.750605 | 0.728271 | 0.728271 | 0.728271 | 0.711521 | 0 | 0.113856 | 0.221256 | 8,628 | 189 | 119 | 45.650794 | 0.685816 | 0.017038 | 0 | 0.771429 | 0 | 0 | 0.450584 | 0.053607 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.022857 | false | 0 | 0.034286 | 0 | 0.057143 | 0.005714 | 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 |
a5d8e7e33cb3301fda3521210c717cd0c12436a6 | 164 | py | Python | caelum-py-14-cap2/programa.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | caelum-py-14-cap2/programa.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | caelum-py-14-cap2/programa.py | herculeshssj/python | c1a0134c405cd7e68fd6d9103894c83d002daa7e | [
"MIT"
] | null | null | null | print('Minha primeira aplicação Python!')
print('')
print('Hello World!')
print('')
print('Primeira aplicação em Python 3.\nEste programa roda também no Python 2.') | 32.8 | 80 | 0.737805 | 23 | 164 | 5.26087 | 0.652174 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.109756 | 164 | 5 | 80 | 32.8 | 0.815068 | 0 | 0 | 0.4 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a5f4c3e8fa0f685647b37b47ae2739f8aefb4d29 | 21 | py | Python | python/testData/inspections/PyPep8NamingInspection/ignored/ignoreN802.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyPep8NamingInspection/ignored/ignoreN802.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyPep8NamingInspection/ignored/ignoreN802.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def FuNc():
pass
| 7 | 11 | 0.52381 | 3 | 21 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.785714 | 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 |
a5f6eeffea9ed5e8ca426f439a37a7f5932501b6 | 32 | py | Python | looker_api_call/looker_api_call/__init__.py | Ben-MDHI/bitfocus_looker_api | 58952fe484e9e43b2932211b7f2d8442579fa09c | [
"MIT"
] | null | null | null | looker_api_call/looker_api_call/__init__.py | Ben-MDHI/bitfocus_looker_api | 58952fe484e9e43b2932211b7f2d8442579fa09c | [
"MIT"
] | null | null | null | looker_api_call/looker_api_call/__init__.py | Ben-MDHI/bitfocus_looker_api | 58952fe484e9e43b2932211b7f2d8442579fa09c | [
"MIT"
] | null | null | null | from .looker_api_call import *
| 16 | 31 | 0.78125 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5fac49520665c16a1225ddf1e109366224d0f26 | 760 | py | Python | src/genie/libs/parser/iosxe/tests/ShowLldpInterface/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowLldpInterface/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowLldpInterface/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"interfaces": {
"GigabitEthernet1/0/15": {
"tx": "enabled",
"rx": "enabled",
"tx_state": "idle",
"rx_state": "wait for frame",
},
"GigabitEthernet1/0/16": {
"tx": "enabled",
"rx": "enabled",
... | 26.206897 | 41 | 0.396053 | 63 | 760 | 4.634921 | 0.269841 | 0.123288 | 0.150685 | 0.246575 | 0.794521 | 0.794521 | 0.794521 | 0.794521 | 0.794521 | 0.794521 | 0 | 0.036613 | 0.425 | 760 | 28 | 42 | 27.142857 | 0.631579 | 0 | 0 | 0.571429 | 0 | 0 | 0.397368 | 0.110526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5738a9c81b0b7fbb546ab1ab0dc9f016ce5c0e50 | 24 | py | Python | nicepy/collections/__init__.py | katakumpo/nicepy | fa2b0bae8e4b66d92e756687ded58d355c444eca | [
"MIT"
] | null | null | null | nicepy/collections/__init__.py | katakumpo/nicepy | fa2b0bae8e4b66d92e756687ded58d355c444eca | [
"MIT"
] | null | null | null | nicepy/collections/__init__.py | katakumpo/nicepy | fa2b0bae8e4b66d92e756687ded58d355c444eca | [
"MIT"
] | null | null | null | from .sdict import sdict | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
574adced989ee4f68f14146baccdeaf8494f21df | 86 | py | Python | aix360/algorithms/lime/__init__.py | Qingtian-Zou/AIX360 | cf25f58077ae002fb4542b680fd98db47758dae5 | [
"Apache-2.0"
] | 609 | 2019-08-02T17:55:18.000Z | 2020-07-11T18:11:09.000Z | aix360/algorithms/lime/__init__.py | Qingtian-Zou/AIX360 | cf25f58077ae002fb4542b680fd98db47758dae5 | [
"Apache-2.0"
] | 47 | 2019-08-05T15:00:35.000Z | 2020-07-13T20:35:57.000Z | aix360/algorithms/lime/__init__.py | Qingtian-Zou/AIX360 | cf25f58077ae002fb4542b680fd98db47758dae5 | [
"Apache-2.0"
] | 147 | 2019-07-12T11:30:31.000Z | 2020-07-04T19:18:49.000Z | from .lime_wrapper import LimeImageExplainer, LimeTabularExplainer, LimeTextExplainer
| 43 | 85 | 0.895349 | 7 | 86 | 10.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 86 | 1 | 86 | 86 | 0.95 | 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 |
f555f767776badbc505cb210ac6f3ebe991f04de | 65 | py | Python | python_refresher/variables.py | swe4s/lectures | 34640b03950f44486b9c0986502a873fdda8170a | [
"MIT"
] | 1 | 2020-10-22T21:19:44.000Z | 2020-10-22T21:19:44.000Z | python_refresher/variables.py | swe4s/lectures | 34640b03950f44486b9c0986502a873fdda8170a | [
"MIT"
] | null | null | null | python_refresher/variables.py | swe4s/lectures | 34640b03950f44486b9c0986502a873fdda8170a | [
"MIT"
] | 5 | 2019-10-08T15:46:50.000Z | 2020-11-06T02:19:31.000Z | a = 10
b = 11
print(a, b, a + b)
b = '11'
print(a, b,str(a) + b)
| 10.833333 | 22 | 0.461538 | 17 | 65 | 1.764706 | 0.352941 | 0.266667 | 0.533333 | 0.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0.276923 | 65 | 5 | 23 | 13 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f57ce083c4b81b19cc82ecba4532ae041bce3cef | 78 | py | Python | src/test_lib/my_class.py | No-Name-404/test-lib | 08dc52b57625600ba016c41ec05471535a2fa215 | [
"MIT"
] | null | null | null | src/test_lib/my_class.py | No-Name-404/test-lib | 08dc52b57625600ba016c41ec05471535a2fa215 | [
"MIT"
] | null | null | null | src/test_lib/my_class.py | No-Name-404/test-lib | 08dc52b57625600ba016c41ec05471535a2fa215 | [
"MIT"
] | null | null | null | class MyClass:
def my_test_function(self):
return "test function"
| 19.5 | 31 | 0.679487 | 10 | 78 | 5.1 | 0.8 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24359 | 78 | 3 | 32 | 26 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f599569b39e2d09110992b25726f3160b0c1b681 | 1,298 | py | Python | example_app/iterators_demo/iterator_check.py | vishwaefor/handy-python-features | cbc6f772655a1a329971cc2972d691501b2c66a1 | [
"Apache-2.0"
] | 2 | 2019-07-05T18:07:36.000Z | 2019-07-11T15:49:55.000Z | example_app/iterators_demo/iterator_check.py | vishwaefor/handy-python-features | cbc6f772655a1a329971cc2972d691501b2c66a1 | [
"Apache-2.0"
] | 1 | 2019-07-03T08:18:21.000Z | 2019-07-04T07:32:09.000Z | example_app/iterators_demo/iterator_check.py | vishwaefor/handy-python-features | cbc6f772655a1a329971cc2972d691501b2c66a1 | [
"Apache-2.0"
] | null | null | null | from handy_features.iterators import Refrigerator
from handy_features.iterators import IceCreamMakingMachine
def iterator_check():
refrigerator = Refrigerator()
issuer_machine = iter(refrigerator)
try:
print("\nKid 1 is given {}".format(next(issuer_machine)))
print("\nKid 2 is given {}"... | 27.617021 | 75 | 0.661787 | 170 | 1,298 | 4.852941 | 0.217647 | 0.130909 | 0.189091 | 0.247273 | 0.792727 | 0.715152 | 0.707879 | 0.707879 | 0.369697 | 0.284848 | 0 | 0.0125 | 0.198767 | 1,298 | 46 | 76 | 28.217391 | 0.780769 | 0 | 0 | 0.24 | 0 | 0 | 0.178737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.16 | 0.56 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
195524c5db47d91a715a7272675c34655544e5b6 | 163 | py | Python | myaccounts/accounts/views_api.py | tbreeds/django-openshift-js | 324fe98061621deae652100b7672c3149035d499 | [
"MIT"
] | null | null | null | myaccounts/accounts/views_api.py | tbreeds/django-openshift-js | 324fe98061621deae652100b7672c3149035d499 | [
"MIT"
] | 6 | 2020-04-08T08:52:23.000Z | 2022-02-10T07:54:07.000Z | src/myaccounts/accounts/views_api.py | yohanswanepoel/django_skaffold | 9de2050ad342dfd9d49592754b0db57fb880f1e7 | [
"MIT"
] | 4 | 2020-04-22T06:01:36.000Z | 2020-10-22T16:31:35.000Z | from django.http import JsonResponse
from .services import refresh_accounts
def get_accounts(request,user_id):
return JsonResponse(refresh_accounts(user_id))
| 27.166667 | 50 | 0.834356 | 22 | 163 | 5.954545 | 0.636364 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104294 | 163 | 5 | 51 | 32.6 | 0.89726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
199c3f3e3e9cc815bae5f70e03c55367d666493d | 144 | py | Python | anuvaad-etl/anuvaad-extractor/document-processor/ocr/ocr-gv-server/src/routes/__init__.py | srihari-nagaraj/anuvaad | b09b01a033a033e97db6e404c088e0e6332053e4 | [
"MIT"
] | null | null | null | anuvaad-etl/anuvaad-extractor/document-processor/ocr/ocr-gv-server/src/routes/__init__.py | srihari-nagaraj/anuvaad | b09b01a033a033e97db6e404c088e0e6332053e4 | [
"MIT"
] | null | null | null | anuvaad-etl/anuvaad-extractor/document-processor/ocr/ocr-gv-server/src/routes/__init__.py | srihari-nagaraj/anuvaad | b09b01a033a033e97db6e404c088e0e6332053e4 | [
"MIT"
] | null | null | null | from .routes import Vision_OCR_BLUEPRINT
from .routes import Vision_OCR_BLUEPRINT_WF
#from .documentstructure import DOCUMENTSTRUCTURE_BLUEPRINT | 48 | 59 | 0.895833 | 18 | 144 | 6.833333 | 0.444444 | 0.162602 | 0.260163 | 0.357724 | 0.552846 | 0.552846 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076389 | 144 | 3 | 59 | 48 | 0.924812 | 0.402778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5fd7bf42d23ed6b8ecf06916ccb509edbb9a6366 | 159 | py | Python | conftest.py | uk-gov-mirror/ONSdigital.terraform-aws-account | 97516431e2518572c93193afcb654a7ada72cbd6 | [
"Apache-2.0"
] | null | null | null | conftest.py | uk-gov-mirror/ONSdigital.terraform-aws-account | 97516431e2518572c93193afcb654a7ada72cbd6 | [
"Apache-2.0"
] | null | null | null | conftest.py | uk-gov-mirror/ONSdigital.terraform-aws-account | 97516431e2518572c93193afcb654a7ada72cbd6 | [
"Apache-2.0"
] | null | null | null | import os
import pytest
@pytest.fixture(scope='session')
def fixtures_dir():
return os.path.join(os.path.dirname(os.path.abspath(__file__)), 'fixtures')
| 19.875 | 79 | 0.742138 | 23 | 159 | 4.913043 | 0.652174 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 159 | 7 | 80 | 22.714286 | 0.79021 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 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 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5fe07eaf7fe8cacca350f682bc2f67e90aa39a30 | 280 | py | Python | lineworks/__init__.py | reiyans/lineworks | f539e8a48c5618190a83cb36ca697d215a85ec57 | [
"MIT"
] | 1 | 2020-11-20T15:24:28.000Z | 2020-11-20T15:24:28.000Z | lineworks/__init__.py | 0yan/lineworks | f539e8a48c5618190a83cb36ca697d215a85ec57 | [
"MIT"
] | 3 | 2020-03-19T05:21:06.000Z | 2021-03-28T09:38:10.000Z | lineworks/__init__.py | reiyans/lineworks | f539e8a48c5618190a83cb36ca697d215a85ec57 | [
"MIT"
] | 1 | 2020-09-18T14:08:12.000Z | 2020-09-18T14:08:12.000Z | # coding: utf-8
"""To omit the module names contained in the package, we are importing the classes and methods in each module."""
from lineworks.action import *
from lineworks.quick_reply_items import *
from lineworks.server_api import *
from lineworks.talkbot_api import *
| 40 | 114 | 0.775 | 42 | 280 | 5.071429 | 0.666667 | 0.244131 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004237 | 0.157143 | 280 | 6 | 115 | 46.666667 | 0.898305 | 0.435714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5ff0210229c8a4111cd3b9ee8dc406870fb591a6 | 19,385 | py | Python | idaes/models_extra/gas_distribution/unit_models/tests/test_flowsheet.py | OOAmusat/idaes-pse | ae7d3bb8e372bc32822dcdcb75e9fd96b78da539 | [
"RSA-MD"
] | null | null | null | idaes/models_extra/gas_distribution/unit_models/tests/test_flowsheet.py | OOAmusat/idaes-pse | ae7d3bb8e372bc32822dcdcb75e9fd96b78da539 | [
"RSA-MD"
] | null | null | null | idaes/models_extra/gas_distribution/unit_models/tests/test_flowsheet.py | OOAmusat/idaes-pse | ae7d3bb8e372bc32822dcdcb75e9fd96b78da539 | [
"RSA-MD"
] | 1 | 2022-03-17T11:08:43.000Z | 2022-03-17T11:08:43.000Z | #################################################################################
# The Institute for the Design of Advanced Energy Systems Integrated Platform
# Framework (IDAES IP) was produced under the DOE Institute for the
# Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021
# by the softwar... | 38.234714 | 81 | 0.586226 | 2,454 | 19,385 | 4.4511 | 0.114914 | 0.047514 | 0.062437 | 0.025268 | 0.818182 | 0.81159 | 0.805639 | 0.805639 | 0.774055 | 0.766273 | 0 | 0.019217 | 0.288625 | 19,385 | 506 | 82 | 38.310277 | 0.772879 | 0.111736 | 0 | 0.697802 | 0 | 0 | 0.072002 | 0.003831 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.016484 | false | 0 | 0.063187 | 0.008242 | 0.090659 | 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 |
5ffa25b403a34f292ac07eee251fd613881adfb7 | 32,282 | py | Python | dexplo/_tests/test_operations.py | dexplo/dexplo | 2a522437d3bf848260f9772e7a8f705f534c2e2c | [
"BSD-3-Clause"
] | 78 | 2018-01-25T21:07:17.000Z | 2020-11-07T00:19:13.000Z | dexplo/_tests/test_operations.py | dexplo/dexplo | 2a522437d3bf848260f9772e7a8f705f534c2e2c | [
"BSD-3-Clause"
] | null | null | null | dexplo/_tests/test_operations.py | dexplo/dexplo | 2a522437d3bf848260f9772e7a8f705f534c2e2c | [
"BSD-3-Clause"
] | 8 | 2018-04-15T15:28:51.000Z | 2022-03-22T10:37:54.000Z | import dexplo as dx
import numpy as np
from numpy import array, nan
import pytest
from dexplo.testing import assert_frame_equal
class TestArithmeticOperations:
df = dx.DataFrame({'a': [0, nan, 5],
'b': [0, 1.5, nan],
'c': [''] + list('bg'),
'd':... | 36.893714 | 71 | 0.369494 | 3,433 | 32,282 | 3.379551 | 0.030294 | 0.066195 | 0.096535 | 0.112998 | 0.959317 | 0.949233 | 0.945268 | 0.934666 | 0.923892 | 0.905275 | 0 | 0.06137 | 0.466979 | 32,282 | 874 | 72 | 36.935927 | 0.61289 | 0 | 0 | 0.647303 | 0 | 0 | 0.03962 | 0 | 0 | 0 | 0 | 0 | 0.096819 | 1 | 0.040111 | false | 0 | 0.006916 | 0 | 0.049793 | 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 |
5ffcbcd234d237123deb549bbd387c14c5c4470c | 102 | py | Python | bayes_rule_extraction/__init__.py | vishalbelsare/bn-rule-extraction | 137fb3a0a84c1dbee69f119cd55cf70ee01cac83 | [
"MIT"
] | null | null | null | bayes_rule_extraction/__init__.py | vishalbelsare/bn-rule-extraction | 137fb3a0a84c1dbee69f119cd55cf70ee01cac83 | [
"MIT"
] | null | null | null | bayes_rule_extraction/__init__.py | vishalbelsare/bn-rule-extraction | 137fb3a0a84c1dbee69f119cd55cf70ee01cac83 | [
"MIT"
] | null | null | null | # Copyright © 2021 Alexander L. Hayes
from .bayes_rule_extraction import print_rules, ordinal_encode
| 25.5 | 62 | 0.823529 | 15 | 102 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0.127451 | 102 | 3 | 63 | 34 | 0.853933 | 0.343137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
278852d1d9cb65e0bfa30307219a51feb8df5d5c | 40 | py | Python | ditto/writers/demo/__init__.py | daniel-thom/ditto | 9ba2d4cfa5e96eeda811f419c18c70b8a548747e | [
"BSD-3-Clause"
] | 44 | 2018-04-02T16:48:53.000Z | 2022-02-24T03:49:06.000Z | ditto/writers/demo/__init__.py | dpinney/ditto | 41dbba80e4990ed9949370fff809e4a68382e213 | [
"BSD-3-Clause"
] | 267 | 2018-04-17T22:40:14.000Z | 2022-02-04T15:59:32.000Z | ditto/writers/demo/__init__.py | dpinney/ditto | 41dbba80e4990ed9949370fff809e4a68382e213 | [
"BSD-3-Clause"
] | 29 | 2018-05-11T22:55:09.000Z | 2022-02-10T17:35:27.000Z | from .write import Writer as DemoWriter
| 20 | 39 | 0.825 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.970588 | 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 |
278eaf1a8ba57579323264b668aa7defc38d5c6b | 190 | py | Python | simfin/revenue/gov_enterprises.py | CREEi-models/simfin | a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb | [
"MIT"
] | 1 | 2021-06-11T15:16:13.000Z | 2021-06-11T15:16:13.000Z | simfin/revenue/gov_enterprises.py | CREEi-models/simfin | a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb | [
"MIT"
] | 1 | 2021-06-07T14:39:27.000Z | 2021-06-07T14:39:27.000Z | simfin/revenue/gov_enterprises.py | CREEi-models/simfin | a7c632ac8bc8f795cd46028c1a49e65a1c1b44eb | [
"MIT"
] | 1 | 2021-03-17T03:52:21.000Z | 2021-03-17T03:52:21.000Z | from simfin.tools import account
class gov_enterprises(account):
'''
Classe permettant d'intégrer les revenus provenant des entreprises du gouvernement provincial.
'''
pass
| 23.75 | 98 | 0.742105 | 22 | 190 | 6.363636 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194737 | 190 | 7 | 99 | 27.142857 | 0.915033 | 0.494737 | 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 |
27d2b111745997f3ff7f8dbf91551e7b93d720fc | 100 | py | Python | 5_8_9.py | rursvd/pynumerical2 | 4b2d33125b64a39099ac8eddef885e0ea11b237d | [
"MIT"
] | null | null | null | 5_8_9.py | rursvd/pynumerical2 | 4b2d33125b64a39099ac8eddef885e0ea11b237d | [
"MIT"
] | null | null | null | 5_8_9.py | rursvd/pynumerical2 | 4b2d33125b64a39099ac8eddef885e0ea11b237d | [
"MIT"
] | 1 | 2019-12-03T01:34:19.000Z | 2019-12-03T01:34:19.000Z | p = "Python_is_fun!"
print("p[0:6] = ", p[0:6])
print("p[-1] = ", p[-1])
print("p[7:9] = ", p[7:9])
| 20 | 26 | 0.45 | 23 | 100 | 1.869565 | 0.434783 | 0.418605 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.15 | 100 | 4 | 27 | 25 | 0.388235 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
27e35d4c1dc1f35b44312fa4fdd1ea7228cc0254 | 87 | py | Python | Core/WebAPI.py | Puddler/ElementalInfo | 9ac39e29d701fe80183cc02be0c7e0f51713b289 | [
"Unlicense"
] | null | null | null | Core/WebAPI.py | Puddler/ElementalInfo | 9ac39e29d701fe80183cc02be0c7e0f51713b289 | [
"Unlicense"
] | null | null | null | Core/WebAPI.py | Puddler/ElementalInfo | 9ac39e29d701fe80183cc02be0c7e0f51713b289 | [
"Unlicense"
] | null | null | null | import wikipedia
def getWikipediaSearch(search):
return wikipedia.search(search)
| 14.5 | 35 | 0.793103 | 9 | 87 | 7.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 5 | 36 | 17.4 | 0.92 | 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 |
27e947439a30a28afa1ad552f5e0a471bd160e7f | 190 | py | Python | aerich/models.py | waketzheng/aerich | 2fcb2626fd51ac846f9525eb3106d47779a1312e | [
"Apache-2.0"
] | 2 | 2020-06-24T09:30:44.000Z | 2020-09-22T13:46:04.000Z | aerich/models.py | FutureSenzhong/aerich | 724db887aff5b504652891ffe6180c8441cbd502 | [
"Apache-2.0"
] | null | null | null | aerich/models.py | FutureSenzhong/aerich | 724db887aff5b504652891ffe6180c8441cbd502 | [
"Apache-2.0"
] | null | null | null | from tortoise import Model, fields
class Aerich(Model):
version = fields.CharField(max_length=50)
app = fields.CharField(max_length=20)
class Meta:
ordering = ["-id"]
| 19 | 45 | 0.673684 | 24 | 190 | 5.25 | 0.708333 | 0.238095 | 0.285714 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.215789 | 190 | 9 | 46 | 21.111111 | 0.818792 | 0 | 0 | 0 | 0 | 0 | 0.015789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fd6c8b5f7ef82588a5f511620cb9e2a78eaf6e97 | 7,320 | py | Python | scripts used in article/total-pipeline.py | BoyanZhou/starstr | 03280b0b280ef5be351b7ff285e90541baed3d63 | [
"Apache-2.0"
] | null | null | null | scripts used in article/total-pipeline.py | BoyanZhou/starstr | 03280b0b280ef5be351b7ff285e90541baed3d63 | [
"Apache-2.0"
] | 1 | 2018-09-06T16:50:46.000Z | 2018-09-06T16:50:46.000Z | scripts used in article/total-pipeline.py | BoyanZhou/starstr | 03280b0b280ef5be351b7ff285e90541baed3d63 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import os
seed = "123456"
origin_haplotype = "15,13,20,25,10,12,13,16,11,12,19,17,18,23,12"
rate_pergeneration = "0.00224,0.00293,0.00412,0.00211,0.00245,0.000519,0.00105,0.00122," \
"0.000375,0.00545,0.00152,0.00429,0.00636,0.00433,0.00303"
def remove_... | 36.78392 | 120 | 0.639208 | 1,233 | 7,320 | 3.594485 | 0.100568 | 0.046931 | 0.037906 | 0.043321 | 0.896435 | 0.869359 | 0.869359 | 0.848375 | 0.839801 | 0.832356 | 0 | 0.06926 | 0.21694 | 7,320 | 198 | 121 | 36.969697 | 0.703943 | 0.121038 | 0 | 0.607143 | 0 | 0.142857 | 0.347507 | 0.088635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044643 | false | 0 | 0.008929 | 0 | 0.053571 | 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 |
fd8ddb511c4097dffb05004703ad9a63611e8fc6 | 67 | py | Python | utils/data/datasets/__init__.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | 1 | 2021-08-13T22:14:10.000Z | 2021-08-13T22:14:10.000Z | utils/data/datasets/__init__.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | null | null | null | utils/data/datasets/__init__.py | chenwenxiao/DOI | 14bdedd0b1b886efe77737cfb62695f03ee17c58 | [
"MIT"
] | null | null | null | from .base import *
from .cifar import *
from .mnist_like import *
| 16.75 | 25 | 0.731343 | 10 | 67 | 4.8 | 0.6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 26 | 22.333333 | 0.872727 | 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 |
fddf91ec6cbe30c03b93b8ae6d76917b07aab61a | 46 | py | Python | sign_english.py | bug0306/Sign-language-recognition-based-on-TensorFlow | 3467e03f28f037f64787e8c8712ed7c7a9ffabfc | [
"MIT"
] | null | null | null | sign_english.py | bug0306/Sign-language-recognition-based-on-TensorFlow | 3467e03f28f037f64787e8c8712ed7c7a9ffabfc | [
"MIT"
] | null | null | null | sign_english.py | bug0306/Sign-language-recognition-based-on-TensorFlow | 3467e03f28f037f64787e8c8712ed7c7a9ffabfc | [
"MIT"
] | null | null | null | import classify_webcam
classify_webcam.main()
| 15.333333 | 22 | 0.869565 | 6 | 46 | 6.333333 | 0.666667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 2 | 23 | 23 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fde099f9a216ceba3d8fd297f5ed5f8b6c63851b | 20,900 | py | Python | src/plotprofiles.py | PoloMag/paper-magnetic-profiles | c30717edbd13b36c6759c2a900cc5e06badc7409 | [
"MIT"
] | null | null | null | src/plotprofiles.py | PoloMag/paper-magnetic-profiles | c30717edbd13b36c6759c2a900cc5e06badc7409 | [
"MIT"
] | null | null | null | src/plotprofiles.py | PoloMag/paper-magnetic-profiles | c30717edbd13b36c6759c2a900cc5e06badc7409 | [
"MIT"
] | null | null | null | """
plotprofiles.py
Create schematic figures for various magnetic and fluid profiles.
The figures are saved in the 'figures' directory,
sister to the directory where this script is placed.
"""
import numpy as np
import matplotlib
from matplotlib import patches
import matplotlib.pyplot as plt
from loaddatasets im... | 34.602649 | 135 | 0.645024 | 3,296 | 20,900 | 3.798544 | 0.073726 | 0.144968 | 0.080511 | 0.01278 | 0.835304 | 0.821086 | 0.790096 | 0.772604 | 0.759665 | 0.740895 | 0 | 0.029824 | 0.204258 | 20,900 | 604 | 136 | 34.602649 | 0.722987 | 0.092488 | 0 | 0.67268 | 0 | 0.007732 | 0.111953 | 0.027697 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036082 | false | 0 | 0.012887 | 0 | 0.059278 | 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 |
e30417990cd9b4e80d21cc6ff0cee36f5439f400 | 6,176 | py | Python | manager/director/apps/sites/tests/test_files.py | darius-kia/director4 | 1d2c2c4c3ec12cc9b7f846d5dc075ea3bbef36f9 | [
"MIT"
] | 7 | 2020-08-23T23:08:34.000Z | 2021-12-02T04:17:37.000Z | manager/director/apps/sites/tests/test_files.py | darius-kia/director4 | 1d2c2c4c3ec12cc9b7f846d5dc075ea3bbef36f9 | [
"MIT"
] | 43 | 2020-08-24T16:48:29.000Z | 2022-03-02T19:45:54.000Z | manager/director/apps/sites/tests/test_files.py | darius-kia/director4 | 1d2c2c4c3ec12cc9b7f846d5dc075ea3bbef36f9 | [
"MIT"
] | 10 | 2020-08-17T20:42:52.000Z | 2021-07-16T03:46:51.000Z | from django.urls import reverse
from ....test.director_test import DirectorTestCase
from ..models import DockerImage, Site
class FilesTest(DirectorTestCase):
def setUp(self):
self.user = self.login(accept_guidelines=True, make_admin=False, make_student=True)
self.site = Site.objects.create(
... | 38.6 | 98 | 0.602817 | 715 | 6,176 | 5.075524 | 0.118881 | 0.072747 | 0.109121 | 0.096996 | 0.858088 | 0.858088 | 0.856985 | 0.846514 | 0.824194 | 0.8027 | 0 | 0.016645 | 0.260687 | 6,176 | 159 | 99 | 38.842767 | 0.778143 | 0.072863 | 0 | 0.428571 | 0 | 0 | 0.139727 | 0.042426 | 0 | 0 | 0 | 0 | 0.165414 | 1 | 0.082707 | false | 0 | 0.022556 | 0 | 0.112782 | 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 |
e322340f16ec4eac76bc9da25a57c107c464a3e6 | 3,579 | py | Python | viralnews/data_tools.py | MichaelNormandyGavin/Viral_News | af6682f499eb2a1f6a1afbbbd2f79ef3c31d7839 | [
"MIT"
] | null | null | null | viralnews/data_tools.py | MichaelNormandyGavin/Viral_News | af6682f499eb2a1f6a1afbbbd2f79ef3c31d7839 | [
"MIT"
] | null | null | null | viralnews/data_tools.py | MichaelNormandyGavin/Viral_News | af6682f499eb2a1f6a1afbbbd2f79ef3c31d7839 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import dask
import dask.dataframe as dd
def add_sent_max(df,normalize=False,drop_columns=False):
#This function is to select the most volatile sentiment from either the Title or Headline columns
SentimentMax = []
for index, row in df.iterrows():
max_sentiment ... | 27.320611 | 137 | 0.708298 | 544 | 3,579 | 4.509191 | 0.163603 | 0.044028 | 0.032613 | 0.046474 | 0.784346 | 0.776192 | 0.764778 | 0.764778 | 0.764778 | 0.764778 | 0 | 0.018176 | 0.154512 | 3,579 | 131 | 138 | 27.320611 | 0.792465 | 0.065381 | 0 | 0.75641 | 0 | 0 | 0.122083 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.051282 | false | 0 | 0.051282 | 0 | 0.153846 | 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 |
e35454ef3b98d37221eb48171ae983c243b6b4b6 | 24 | py | Python | src/cnpj/table/__init__.py | pedromxavier/cnpj | 0b0f4914a49866990e484a03111f3b2c80d83aaa | [
"MIT"
] | 1 | 2021-03-13T13:47:40.000Z | 2021-03-13T13:47:40.000Z | src/cnpj/table/__init__.py | pedromxavier/cnpj | 0b0f4914a49866990e484a03111f3b2c80d83aaa | [
"MIT"
] | null | null | null | src/cnpj/table/__init__.py | pedromxavier/cnpj | 0b0f4914a49866990e484a03111f3b2c80d83aaa | [
"MIT"
] | null | null | null | from .table import table | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
e379955a336639a23e3c0ca8e4a162a970fecdab | 372 | py | Python | radar_server/fields/__init__.py | jaredLunde/radar-server | 524ccb26b98f86306f3ad1c71df320aff6097247 | [
"MIT"
] | null | null | null | radar_server/fields/__init__.py | jaredLunde/radar-server | 524ccb26b98f86306f3ad1c71df320aff6097247 | [
"MIT"
] | null | null | null | radar_server/fields/__init__.py | jaredLunde/radar-server | 524ccb26b98f86306f3ad1c71df320aff6097247 | [
"MIT"
] | null | null | null | from .array import array
from .field import field
from .mapping import mapping
def boolean(*a, cast=bool, **kw):
return field(*a, cast=cast, **kw)
def single(*a, cast=float, **kw):
return field(*a, cast=cast, **kw)
def integer(*a, cast=int, **kw):
return field(*a, cast=cast, **kw)
def string(*a, cas... | 18.6 | 37 | 0.626344 | 60 | 372 | 3.883333 | 0.3 | 0.171674 | 0.223176 | 0.240343 | 0.450644 | 0.450644 | 0.450644 | 0.347639 | 0 | 0 | 0 | 0 | 0.182796 | 372 | 19 | 38 | 19.578947 | 0.766447 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | true | 0 | 0.272727 | 0.363636 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8b52421e81dc78eb567fc31852d755ed0c4c0803 | 81 | py | Python | funlib/learn/jax/models/__init__.py | funkelab/funlib.learn.jax | bb202ecd0db77d11e0dc2d73dfda3e24314c75a3 | [
"MIT"
] | 1 | 2022-01-31T19:38:11.000Z | 2022-01-31T19:38:11.000Z | funlib/learn/jax/models/__init__.py | funkelab/funlib.learn.jax | bb202ecd0db77d11e0dc2d73dfda3e24314c75a3 | [
"MIT"
] | null | null | null | funlib/learn/jax/models/__init__.py | funkelab/funlib.learn.jax | bb202ecd0db77d11e0dc2d73dfda3e24314c75a3 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .unet import UNet, ConvPass # noqa
| 20.25 | 40 | 0.802469 | 11 | 81 | 5.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 3 | 41 | 27 | 0.882353 | 0.049383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.