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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90343a144c37fdb7158800a8ee58d2d9babd43eb | 32 | py | Python | budget/database/__init__.py | deep4788/budgetManager | f7a20c9458315cf608c3ab5fdb4f2fad998d73f8 | [
"MIT"
] | 1 | 2016-10-17T16:26:33.000Z | 2016-10-17T16:26:33.000Z | budget/database/__init__.py | deep4788/budgetManager | f7a20c9458315cf608c3ab5fdb4f2fad998d73f8 | [
"MIT"
] | null | null | null | budget/database/__init__.py | deep4788/budgetManager | f7a20c9458315cf608c3ab5fdb4f2fad998d73f8 | [
"MIT"
] | null | null | null | from .sqlitedb import Datastore
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
90349b311a943f9eccdc1f1e653c79c0456eb515 | 86 | py | Python | tests/executors/myexecutor.py | xiongma/bert2tf | 105fd1524edb703bf68aec8fde289de5923e1f78 | [
"Apache-2.0"
] | 7 | 2021-08-05T16:35:08.000Z | 2022-01-04T03:26:10.000Z | tests/executors/myexecutor.py | xiongma/bert2tf | 105fd1524edb703bf68aec8fde289de5923e1f78 | [
"Apache-2.0"
] | 96 | 2021-08-06T08:32:09.000Z | 2022-01-21T11:07:25.000Z | tests/executors/myexecutor.py | xiongma/bert2tf | 105fd1524edb703bf68aec8fde289de5923e1f78 | [
"Apache-2.0"
] | null | null | null | from bert2tf.executors import BaseExecutor
class MyExecutor(BaseExecutor):
pass
| 14.333333 | 42 | 0.802326 | 9 | 86 | 7.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.151163 | 86 | 5 | 43 | 17.2 | 0.931507 | 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 |
5f76b81ca3bda6de560ec2cdf4f7a178d7a773ec | 47 | py | Python | inferno/extensions/containers/__init__.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 204 | 2017-10-10T20:58:52.000Z | 2021-12-07T03:01:19.000Z | inferno/extensions/containers/__init__.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 86 | 2017-10-11T11:32:36.000Z | 2021-11-15T17:47:25.000Z | inferno/extensions/containers/__init__.py | 0h-n0/inferno | f466c84ed72ff92f9113891a96ce58e19eeeff1e | [
"Apache-2.0"
] | 30 | 2017-11-16T23:21:30.000Z | 2021-11-15T15:11:00.000Z | from .graph import *
from .sequential import *
| 15.666667 | 25 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 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 |
39d8825ca2b588256a0b3ba4651b6abffb1c9fc0 | 1,610 | py | Python | tests/cli/5_test_stack_services_restart.py | zorrobyte/easyengine | a37396d0c941ef363c6a297876582ddcc37ed55b | [
"MIT"
] | 2 | 2018-11-12T12:13:28.000Z | 2021-04-22T12:04:20.000Z | tests/cli/5_test_stack_services_restart.py | zorrobyte/easyengine | a37396d0c941ef363c6a297876582ddcc37ed55b | [
"MIT"
] | 1 | 2020-10-27T19:47:50.000Z | 2020-10-27T19:47:50.000Z | tests/cli/5_test_stack_services_restart.py | zorrobyte/easyengine | a37396d0c941ef363c6a297876582ddcc37ed55b | [
"MIT"
] | null | null | null | from ee.utils import test
from ee.cli.main import get_test_app
class CliTestCaseStack(test.EETestCase):
def test_ee_cli(self):
self.app.setup()
self.app.run()
self.app.close()
def test_ee_cli_stack_services_restart_nginx(self):
self.app = get_test_app(argv=['stack', 'restart'... | 30.377358 | 72 | 0.618012 | 220 | 1,610 | 4.245455 | 0.140909 | 0.232334 | 0.085653 | 0.102784 | 0.808351 | 0.808351 | 0.808351 | 0.808351 | 0.808351 | 0.494647 | 0 | 0.000809 | 0.232298 | 1,610 | 52 | 73 | 30.961538 | 0.754854 | 0 | 0 | 0.571429 | 0 | 0 | 0.081366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.047619 | 0 | 0.261905 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2d50b3b585fe62ab0195e2bc60af914d31c9ebb | 33 | py | Python | pygrpfe/__init__.py | tlamadon/pygfe | d12ee279c02c9e32f8ca0ceb0d2132d832a8d819 | [
"MIT"
] | 1 | 2021-01-20T02:38:46.000Z | 2021-01-20T02:38:46.000Z | pygrpfe/__init__.py | tlamadon/pygrpfe | d12ee279c02c9e32f8ca0ceb0d2132d832a8d819 | [
"MIT"
] | null | null | null | pygrpfe/__init__.py | tlamadon/pygrpfe | d12ee279c02c9e32f8ca0ceb0d2132d832a8d819 | [
"MIT"
] | null | null | null | from .helpers import group,train
| 16.5 | 32 | 0.818182 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
ffcb01fcecb669d973d69fefa46101dc1514a9b3 | 87 | py | Python | RunFile.py | GitHubEmploy/DashboardWebsite | 1b84b2df36e6a360c6b91d8d7ba5fc4f64332698 | [
"Apache-2.0"
] | null | null | null | RunFile.py | GitHubEmploy/DashboardWebsite | 1b84b2df36e6a360c6b91d8d7ba5fc4f64332698 | [
"Apache-2.0"
] | null | null | null | RunFile.py | GitHubEmploy/DashboardWebsite | 1b84b2df36e6a360c6b91d8d7ba5fc4f64332698 | [
"Apache-2.0"
] | null | null | null | import os
os.system('export FLASK_APP=run.py && flask run --host=0.0.0.0 --port=5000')
| 29 | 76 | 0.689655 | 18 | 87 | 3.277778 | 0.666667 | 0.101695 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.103448 | 87 | 2 | 77 | 43.5 | 0.653846 | 0 | 0 | 0 | 0 | 0.5 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ffdf8d4093208fd694e716cf410296df05b18303 | 37 | py | Python | grab/selector/__init__.py | subeax/grab | 55518263c543da214d1f0cb54622bbc4fda66349 | [
"MIT"
] | null | null | null | grab/selector/__init__.py | subeax/grab | 55518263c543da214d1f0cb54622bbc4fda66349 | [
"MIT"
] | null | null | null | grab/selector/__init__.py | subeax/grab | 55518263c543da214d1f0cb54622bbc4fda66349 | [
"MIT"
] | null | null | null | from grab.selector.selector import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fff2b0851c3fd49ba27637a4168b7b8fb6e11878 | 108 | py | Python | pychemia/code/fireball/__init__.py | quanshengwu/PyChemia | 98e9f7a1118b694dbda3ee75411ff8f8d7b9688b | [
"MIT"
] | 1 | 2021-03-26T12:34:45.000Z | 2021-03-26T12:34:45.000Z | pychemia/code/fireball/__init__.py | quanshengwu/PyChemia | 98e9f7a1118b694dbda3ee75411ff8f8d7b9688b | [
"MIT"
] | null | null | null | pychemia/code/fireball/__init__.py | quanshengwu/PyChemia | 98e9f7a1118b694dbda3ee75411ff8f8d7b9688b | [
"MIT"
] | null | null | null | from .fireball import FireBall, read_fireball_stdout, read_geometry_bas, write_geometry_bas, get_fdata_info
| 54 | 107 | 0.87963 | 16 | 108 | 5.4375 | 0.6875 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 108 | 1 | 108 | 108 | 0.87 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
083a386ab7b1ae28039ce6c0552b5e6eb5ec306d | 48 | py | Python | pymysql_wrapper/__init__.py | RafaelGSS/pymysql_wrapper | 1efad085abeab842064945837a8163c595e66628 | [
"MIT"
] | null | null | null | pymysql_wrapper/__init__.py | RafaelGSS/pymysql_wrapper | 1efad085abeab842064945837a8163c595e66628 | [
"MIT"
] | null | null | null | pymysql_wrapper/__init__.py | RafaelGSS/pymysql_wrapper | 1efad085abeab842064945837a8163c595e66628 | [
"MIT"
] | null | null | null | from .connection import *
from .session import * | 24 | 25 | 0.770833 | 6 | 48 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 26 | 24 | 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 |
085965938213e87d086fb8a3adafbda8beafbe58 | 189 | py | Python | dashaggregator/__init__.py | tspycher/python-dashaggregator | af1712096c95648d97dde4e3d9cac094f697d2b2 | [
"MIT"
] | null | null | null | dashaggregator/__init__.py | tspycher/python-dashaggregator | af1712096c95648d97dde4e3d9cac094f697d2b2 | [
"MIT"
] | null | null | null | dashaggregator/__init__.py | tspycher/python-dashaggregator | af1712096c95648d97dde4e3d9cac094f697d2b2 | [
"MIT"
] | null | null | null | from .modulemanager import Modulemanager
from .baseresource import BaseResource
from .dashboardresource import DashboardResource
from .dashboardconfigresource import DashboardConfigResource | 47.25 | 60 | 0.899471 | 16 | 189 | 10.625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 189 | 4 | 60 | 47.25 | 0.977011 | 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 |
f24d25b8400f90b0123f771668786c942446e004 | 199 | py | Python | submission.py | lypnol/adventofcode-2017 | 03ced3df3eb80e5c7965c4120e3932919067cb15 | [
"MIT"
] | 16 | 2017-12-02T11:56:25.000Z | 2018-02-10T15:09:23.000Z | submission.py | lypnol/adventofcode-2017 | 03ced3df3eb80e5c7965c4120e3932919067cb15 | [
"MIT"
] | 19 | 2017-12-01T07:54:22.000Z | 2017-12-19T17:41:02.000Z | submission.py | lypnol/adventofcode-2017 | 03ced3df3eb80e5c7965c4120e3932919067cb15 | [
"MIT"
] | 4 | 2017-12-04T23:58:12.000Z | 2018-02-01T08:53:16.000Z | """
Deprecated - See runners/python.py
Backward compatibilty with previous submissions up to day 5
"""
from runners.python import Submission as SubmissionPy
class Submission(SubmissionPy):
pass
| 22.111111 | 59 | 0.788945 | 25 | 199 | 6.28 | 0.84 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.145729 | 199 | 8 | 60 | 24.875 | 0.917647 | 0.472362 | 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 |
f2502a274dd682d7555cb615525bfb8b8cda3856 | 330 | py | Python | bitmovin_api_sdk/encoding/configurations/video/h265/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/configurations/video/h265/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/configurations/video/h265/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.configurations.video.h265.h265_api import H265Api
from bitmovin_api_sdk.encoding.configurations.video.h265.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.configurations.video.h265.h265_video_configuration_list_query_params import H265VideoConfigurationListQu... | 82.5 | 144 | 0.915152 | 41 | 330 | 7.04878 | 0.414634 | 0.124567 | 0.155709 | 0.186851 | 0.536332 | 0.536332 | 0.536332 | 0.536332 | 0.366782 | 0 | 0 | 0.066038 | 0.036364 | 330 | 3 | 145 | 110 | 0.842767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f25680042fcefbed020d300f8e9803215d4c912d | 178 | py | Python | maluforce/__init__.py | rmcferrao/maluforce | 12c776dc129c8d778086e22fd8ad9de996816081 | [
"MIT"
] | 4 | 2018-11-05T15:44:02.000Z | 2021-04-14T17:18:26.000Z | maluforce/__init__.py | rmcferrao/maluforce | 12c776dc129c8d778086e22fd8ad9de996816081 | [
"MIT"
] | null | null | null | maluforce/__init__.py | rmcferrao/maluforce | 12c776dc129c8d778086e22fd8ad9de996816081 | [
"MIT"
] | 4 | 2019-08-02T16:56:35.000Z | 2021-11-03T16:32:02.000Z | from maluforce.core import Maluforce
from maluforce.reportutils import adjust_report,lod_rename,to_lod
from maluforce.fileutils import save_lod_files,read_lod_file,read_lod_files | 59.333333 | 75 | 0.898876 | 28 | 178 | 5.392857 | 0.535714 | 0.258278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061798 | 178 | 3 | 75 | 59.333333 | 0.904192 | 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 |
f28abf45de18650dd5db170d5944974d034063db | 236 | py | Python | needy/generators/__init__.py | carlbrown/needy | 5a70726c9846f86a88be896ec39740296d503835 | [
"MIT"
] | 65 | 2015-07-21T01:40:17.000Z | 2019-06-10T10:46:28.000Z | needy/generators/__init__.py | bittorrent/needy | 31e57ad09d5fc22126e10b735c586262a50139d7 | [
"MIT"
] | 110 | 2015-07-21T01:41:40.000Z | 2017-01-18T23:13:30.000Z | needy/generators/__init__.py | bittorrent/needy | 31e57ad09d5fc22126e10b735c586262a50139d7 | [
"MIT"
] | 4 | 2015-07-20T02:45:43.000Z | 2016-07-31T21:48:39.000Z | from .jamfile import JamfileGenerator
from .pkgconfig_jam import PkgConfigJamGenerator
from .xcconfig import XCConfigGenerator
def available_generators():
return [JamfileGenerator, PkgConfigJamGenerator, XCConfigGenerator]
| 29.5 | 72 | 0.826271 | 20 | 236 | 9.65 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131356 | 236 | 7 | 73 | 33.714286 | 0.941463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f2b1672073c1dc8e87c78e093bf66541829cd6aa | 96 | py | Python | venv/lib/python3.8/site-packages/requests/sessions.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 1 | 2022-02-22T04:49:18.000Z | 2022-02-22T04:49:18.000Z | venv/lib/python3.8/site-packages/requests/sessions.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/requests/sessions.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e7/b3/b8/b9df7244be9e2d887e76d15ba82d643b877f13065c0a0617124ba395fb | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 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 |
4b4a2fea5f18a08a02e7e19bd18720f545d5b2c5 | 27,162 | py | Python | tests.py | rivergillis/pytis | c84e792d00121d05e3c27762418c5d2586f06c76 | [
"MIT"
] | null | null | null | tests.py | rivergillis/pytis | c84e792d00121d05e3c27762418c5d2586f06c76 | [
"MIT"
] | null | null | null | tests.py | rivergillis/pytis | c84e792d00121d05e3c27762418c5d2586f06c76 | [
"MIT"
] | null | null | null | import unittest
from node import Node
import main
class TestNodes(unittest.TestCase):
def test_make_node(self):
n = Node(0, 0)
self.assertEqual(n.xpos, 0)
self.assertEqual(n.ypos, 0)
self.assertEqual(n.pc, 0)
self.assertEqual(n.acc, 0)
self.assertEqual(n.bak, 0)
... | 39.251445 | 80 | 0.608239 | 4,041 | 27,162 | 4.014848 | 0.056917 | 0.173817 | 0.064103 | 0.030572 | 0.786058 | 0.749569 | 0.720907 | 0.709813 | 0.680905 | 0.651566 | 0 | 0.051796 | 0.290627 | 27,162 | 691 | 81 | 39.308249 | 0.790222 | 0.233856 | 0 | 0.760664 | 0 | 0 | 0.032111 | 0 | 0 | 0 | 0 | 0 | 0.64218 | 1 | 0.035545 | false | 0 | 0.007109 | 0 | 0.045024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29a0dc6fd57e0ace6dd065fd40361071744647a3 | 14,014 | py | Python | tests/TestHyperGraph.py | oberbichler/HyperGraph | 89adf81abc351e1825501bfc19499ca4718431a6 | [
"MIT"
] | 3 | 2020-07-21T11:57:11.000Z | 2020-11-17T13:02:58.000Z | tests/TestHyperGraph.py | oberbichler/HyperGraph | 89adf81abc351e1825501bfc19499ca4718431a6 | [
"MIT"
] | null | null | null | tests/TestHyperGraph.py | oberbichler/HyperGraph | 89adf81abc351e1825501bfc19499ca4718431a6 | [
"MIT"
] | null | null | null | import unittest
import hypergraph as hg
import numpy as np
from numpy.testing import assert_equal, assert_array_equal, assert_almost_equal, assert_array_almost_equal
class TestHyperGraph(unittest.TestCase):
def test_init(self):
graph = hg.HyperGraph()
def test_new_variable(self):
graph = hg.H... | 31.211581 | 167 | 0.479378 | 2,095 | 14,014 | 3.073986 | 0.047255 | 0.06087 | 0.071273 | 0.070807 | 0.857453 | 0.833075 | 0.813665 | 0.771118 | 0.742547 | 0.738975 | 0 | 0.086748 | 0.345226 | 14,014 | 448 | 168 | 31.28125 | 0.615083 | 0.004995 | 0 | 0.617089 | 0 | 0 | 0.000574 | 0 | 0 | 0 | 0 | 0 | 0.259494 | 1 | 0.085443 | false | 0 | 0.012658 | 0 | 0.101266 | 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 |
29a575a41558c0894ef145d4ce70b29c70aef992 | 106 | py | Python | app/SuperPhy/models/sparql/__init__.py | superphy/semantic | 06b3885a6a3e424ba57be0c839ae2bd8a46364ac | [
"Apache-2.0"
] | 16 | 2015-09-23T17:19:35.000Z | 2020-05-26T16:02:54.000Z | app/SuperPhy/models/sparql/__init__.py | superphy/semantic | 06b3885a6a3e424ba57be0c839ae2bd8a46364ac | [
"Apache-2.0"
] | 21 | 2015-11-03T15:43:58.000Z | 2017-10-30T02:23:37.000Z | app/SuperPhy/models/sparql/__init__.py | superphy/semantic | 06b3885a6a3e424ba57be0c839ae2bd8a46364ac | [
"Apache-2.0"
] | 5 | 2015-10-19T17:12:39.000Z | 2018-09-10T16:19:56.000Z | from general import *
from user import *
from genomes import *
from genes import *
from prefixes import *
| 17.666667 | 22 | 0.764151 | 15 | 106 | 5.4 | 0.466667 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 5 | 23 | 21.2 | 0.94186 | 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 |
4b1e6e6b1210639f7c7bae33754de83d2864a7d0 | 38,030 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/35.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/35.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/35.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4222
passenger_arriving = (
(4, 9, 7, 8, 4, 0, 7, 9, 6, 5, 6, 0), # 0
(5, 18, 10, 3, 2, 0, 9, 14, 9, 8, 3, 0), # 1
(3, 15, 5, 6, 4, 0, 6, 8, 5, 6, 4, 0), # 2
(7, 8, 11, 5, 4, 0, 7, 13, 9, 4, 3, 0), # 3
(4, 8, 11, 5, 2, 0, 7, 14, 5, 5, 1, 0), # 4
(3, 7, 9, 4, 6, 0, 6, 8, ... | 113.522388 | 213 | 0.730108 | 5,147 | 38,030 | 5.392462 | 0.238974 | 0.311295 | 0.246442 | 0.466943 | 0.3265 | 0.326139 | 0.326139 | 0.326139 | 0.326139 | 0.326139 | 0 | 0.819788 | 0.118696 | 38,030 | 334 | 214 | 113.862275 | 0.008324 | 0.031843 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9a407cfc6bbaf6cb442a45101c7deef15f600e7 | 1,279 | py | Python | 08-inheritance/multiple_inheritance_example.py | johnehunt/Python3Intro | 2a41ce488aac11bb3928ea81e57be1c2c8acdac2 | [
"Apache-2.0"
] | 1 | 2020-11-03T19:46:25.000Z | 2020-11-03T19:46:25.000Z | 05-inheritance/multiple/multiple_inheritance_example.py | johnehunt/PythonCleanCode | b0ade446cc98cdc1379f06ad20cc3c6de772a2bb | [
"Apache-2.0"
] | null | null | null | 05-inheritance/multiple/multiple_inheritance_example.py | johnehunt/PythonCleanCode | b0ade446cc98cdc1379f06ad20cc3c6de772a2bb | [
"Apache-2.0"
] | null | null | null | class A:
def __str__(self):
return 'A'
def print_info(self):
print('A')
class B:
def __str__(self):
return 'B'
class C:
def __str__(self):
return 'C'
def get_data(self):
return 'CData'
class D:
def __str__(self):
return 'D'
def print_i... | 15.047059 | 43 | 0.520719 | 178 | 1,279 | 3.286517 | 0.140449 | 0.239316 | 0.188034 | 0.300855 | 0.639316 | 0.365812 | 0.201709 | 0.201709 | 0.092308 | 0 | 0 | 0.002265 | 0.309617 | 1,279 | 84 | 44 | 15.22619 | 0.660249 | 0.010946 | 0 | 0.358491 | 0 | 0 | 0.032462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.358491 | false | 0 | 0 | 0.264151 | 0.830189 | 0.245283 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d9c91b530d8e669d5bcea4460ab4d762c0d26864 | 4,786 | py | Python | algo/test/test_dijkstra_shortest_path.py | ssavinash1/Algorithm_stanford | f2588b6bcac2b0858e78b819e6e8402109e80ee2 | [
"MIT"
] | 24 | 2016-03-21T07:53:54.000Z | 2020-06-29T12:16:36.000Z | algo/test/test_dijkstra_shortest_path.py | ssavinash1/Algorithm_stanford | f2588b6bcac2b0858e78b819e6e8402109e80ee2 | [
"MIT"
] | 5 | 2015-09-29T17:12:36.000Z | 2020-03-26T20:51:56.000Z | algo/test/test_dijkstra_shortest_path.py | ssavinash1/Algorithm_stanford | f2588b6bcac2b0858e78b819e6e8402109e80ee2 | [
"MIT"
] | 12 | 2016-05-24T16:48:32.000Z | 2020-10-02T12:22:09.000Z | import unittest
from src.graph import Graph
from src.dijkstra_shortest_path import get_frontier, pick_min_path, \
shortest_path_naive, shortest_path_heap, \
VISITED, NOT_VISITED
class TestDijkstraShortestPath(unittest.TestCase):
def test_shor... | 37.984127 | 80 | 0.487254 | 631 | 4,786 | 3.561014 | 0.129952 | 0.22964 | 0.068091 | 0.064085 | 0.799288 | 0.779261 | 0.779261 | 0.779261 | 0.779261 | 0.779261 | 0 | 0.034214 | 0.303803 | 4,786 | 125 | 81 | 38.288 | 0.640156 | 0.159214 | 0 | 0.693333 | 0 | 0 | 0.069529 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 1 | 0.12 | false | 0 | 0.04 | 0 | 0.173333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9d040e64f4a7433456b134850a9cdaeda9a6d86 | 73,739 | py | Python | saleor/graphql/translations/tests/test_translations.py | genego-dev/saleor | 0cab5057cbda4c8b81ae588fa74090d8e9d0e214 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/translations/tests/test_translations.py | genego-dev/saleor | 0cab5057cbda4c8b81ae588fa74090d8e9d0e214 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/translations/tests/test_translations.py | genego-dev/saleor | 0cab5057cbda4c8b81ae588fa74090d8e9d0e214 | [
"CC-BY-4.0"
] | null | null | null | import json
import graphene
import pytest
from django.contrib.auth.models import Permission
from ....tests.utils import dummy_editorjs
from ...core.enums import LanguageCodeEnum
from ...tests.utils import assert_no_permission, get_graphql_content
from ..schema import TranslatableKinds
def test_product_translation(u... | 31.048 | 88 | 0.600822 | 6,569 | 73,739 | 6.472522 | 0.031664 | 0.031751 | 0.032927 | 0.035279 | 0.855661 | 0.811986 | 0.775624 | 0.750506 | 0.717814 | 0.680535 | 0 | 0.000436 | 0.284598 | 73,739 | 2,374 | 89 | 31.061078 | 0.805547 | 0 | 0 | 0.625928 | 0 | 0 | 0.41731 | 0.048821 | 0 | 0 | 0 | 0 | 0.08758 | 1 | 0.03711 | false | 0 | 0.003958 | 0 | 0.041069 | 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 |
d9d349391f462ad8ecf36b95bb99b48990647877 | 48 | py | Python | corefacility/core/synchronizations/__init__.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | corefacility/core/synchronizations/__init__.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | corefacility/core/synchronizations/__init__.py | serik1987/corefacility | 78d84e19403361e83ef562e738473849f9133bef | [
"RSA-MD"
] | null | null | null | from .ihna_employees import IhnaSynchronization
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a4c1445daaa93c09825607454809b5764d375d3 | 9,391 | py | Python | tests/test_cli.py | Dipeshtwis/gg-shield | 30c5dffc70f62e1f5d7eebca306966b2238cf495 | [
"MIT"
] | 3 | 2020-08-14T13:26:27.000Z | 2021-03-16T16:58:30.000Z | tests/test_cli.py | GG-HH/gg-shield | 8e39fd46d172ffdfe606502015307c915ff57fe7 | [
"MIT"
] | null | null | null | tests/test_cli.py | GG-HH/gg-shield | 8e39fd46d172ffdfe606502015307c915ff57fe7 | [
"MIT"
] | null | null | null | import os
from unittest import mock
import pytest
from click.testing import CliRunner
from ggshield.cmd import cli
from .conftest import _SIMPLE_SECRET, my_vcr
@pytest.fixture(scope="session")
def cli_runner():
os.environ["GITGUARDIAN_API_KEY"] = os.getenv("GITGUARDIAN_API_KEY", "1234567890")
os.environ["G... | 36.683594 | 88 | 0.638377 | 1,279 | 9,391 | 4.499609 | 0.093041 | 0.039096 | 0.086012 | 0.064987 | 0.851086 | 0.812337 | 0.786099 | 0.757081 | 0.742485 | 0.719722 | 0 | 0.006876 | 0.225642 | 9,391 | 255 | 89 | 36.827451 | 0.784516 | 0 | 0 | 0.54902 | 0 | 0 | 0.232137 | 0.067511 | 0 | 0 | 0 | 0 | 0.348039 | 1 | 0.132353 | false | 0 | 0.029412 | 0 | 0.186275 | 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 |
8a6d5272f0ac3c49a46fe6fa58b6038e23864382 | 49 | py | Python | src/test/java/com/anqiansong/Python.py | anqiansong/CommentShell | 689c33861a97b19b6db8e198ff372842628d0af3 | [
"MIT"
] | 8 | 2021-03-25T13:14:08.000Z | 2021-07-26T09:32:25.000Z | src/test/java/com/anqiansong/Python.py | anqiansong/CommentShell | 689c33861a97b19b6db8e198ff372842628d0af3 | [
"MIT"
] | 2 | 2021-04-20T02:39:02.000Z | 2021-11-17T17:02:03.000Z | src/test/java/com/anqiansong/Python.py | anqiansong/CommentShell | 689c33861a97b19b6db8e198ff372842628d0af3 | [
"MIT"
] | 1 | 2021-04-11T03:24:09.000Z | 2021-04-11T03:24:09.000Z | #!/usr/bin/python3
#x:generate echo hello python | 16.333333 | 29 | 0.755102 | 8 | 49 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.102041 | 49 | 3 | 29 | 16.333333 | 0.818182 | 0.918367 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a74859fc6e52e1b2b32c2952a7ec2195997dca1 | 144 | py | Python | pokermon/ai/policies.py | ghl3/Pokermon | ef4434884ee294fe845c906ab0d2f871af44f406 | [
"MIT"
] | null | null | null | pokermon/ai/policies.py | ghl3/Pokermon | ef4434884ee294fe845c906ab0d2f871af44f406 | [
"MIT"
] | null | null | null | pokermon/ai/policies.py | ghl3/Pokermon | ef4434884ee294fe845c906ab0d2f871af44f406 | [
"MIT"
] | 1 | 2020-11-05T11:57:25.000Z | 2020-11-05T11:57:25.000Z | from pokermon.ai.human import Human
from pokermon.ai.random_policy import RandomPolicy
POLICIES = {"random": RandomPolicy(), "human": Human()}
| 28.8 | 55 | 0.770833 | 18 | 144 | 6.111111 | 0.5 | 0.218182 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 144 | 4 | 56 | 36 | 0.852713 | 0 | 0 | 0 | 0 | 0 | 0.076389 | 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 |
8a7f14cc71d23aacf9f11d61bb45fcb44dcfd68d | 28 | py | Python | test/python/LIM2Metrics/py3/base/common/Python011/Python011.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 20 | 2015-06-16T17:39:10.000Z | 2022-03-20T22:39:40.000Z | test/python/LIM2Metrics/py3/base/common/Python011/Python011.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 29 | 2015-12-29T19:07:22.000Z | 2022-03-22T10:39:02.000Z | test/python/LIM2Metrics/py3/base/common/Python011/Python011.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 12 | 2015-08-28T01:22:18.000Z | 2021-09-25T08:17:31.000Z | from . import fibo as valami | 28 | 28 | 0.785714 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a3095e76df601ed167e77f1eb59bab6e6fd3640 | 34 | py | Python | __init__.py | bonifield/IPv4Mutate | 8bf7ea830937fa8ee928a0c4c10e761ad94183c5 | [
"MIT"
] | null | null | null | __init__.py | bonifield/IPv4Mutate | 8bf7ea830937fa8ee928a0c4c10e761ad94183c5 | [
"MIT"
] | null | null | null | __init__.py | bonifield/IPv4Mutate | 8bf7ea830937fa8ee928a0c4c10e761ad94183c5 | [
"MIT"
] | null | null | null | from ipv4mutate import IPv4Mutate
| 17 | 33 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a3138ae989da727bb2afcf89cf8c6e511c6f774 | 15,615 | py | Python | notifications/tests/tests.py | LegoStormtroopr/django-notifications | 1b85a996dfcdb2ffcb34edf5f7ea08f28e46f653 | [
"BSD-3-Clause"
] | null | null | null | notifications/tests/tests.py | LegoStormtroopr/django-notifications | 1b85a996dfcdb2ffcb34edf5f7ea08f28e46f653 | [
"BSD-3-Clause"
] | null | null | null | notifications/tests/tests.py | LegoStormtroopr/django-notifications | 1b85a996dfcdb2ffcb34edf5f7ea08f28e46f653 | [
"BSD-3-Clause"
] | null | null | null | """
This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".
Replace this with more appropriate tests for your application.
"""
from django.test import TestCase, RequestFactory
try:
# Django >= 1.7
from django.test import override_settings
except ImportError... | 50.209003 | 121 | 0.700672 | 1,879 | 15,615 | 5.670569 | 0.113358 | 0.099953 | 0.029094 | 0.045331 | 0.820366 | 0.801689 | 0.766119 | 0.739465 | 0.70061 | 0.678273 | 0 | 0.008507 | 0.164393 | 15,615 | 310 | 122 | 50.370968 | 0.808093 | 0.03471 | 0 | 0.593361 | 0 | 0 | 0.13375 | 0.041705 | 0 | 0 | 0 | 0.003226 | 0.356846 | 1 | 0.087137 | false | 0.041494 | 0.06639 | 0 | 0.170124 | 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 |
0a322bbb0fc829464af4a4329c95dedf0d468990 | 121 | py | Python | seispy/__init__.py | obsmax/seispy | 1ed5064dbcfeb4ceebf20b59b97e588609c5b8ab | [
"MIT"
] | 1 | 2020-06-15T23:12:45.000Z | 2020-06-15T23:12:45.000Z | seispy/__init__.py | obsmax/seispy | 1ed5064dbcfeb4ceebf20b59b97e588609c5b8ab | [
"MIT"
] | null | null | null | seispy/__init__.py | obsmax/seispy | 1ed5064dbcfeb4ceebf20b59b97e588609c5b8ab | [
"MIT"
] | null | null | null | from seispy.version import __version__
from seispy.trace import Trace
from seispy.stream import Stream, readseispystream
| 30.25 | 50 | 0.859504 | 16 | 121 | 6.25 | 0.4375 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107438 | 121 | 3 | 51 | 40.333333 | 0.925926 | 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 |
0a5723045773cd4ceaf19cb4f8d3e3943f16016e | 118 | py | Python | PositioningSolver/src/io_manager/__init__.py | rodrigo-moliveira/PositioningSolver | d3ea60751ee1d7bf1f845e76c31fac95f7c02c43 | [
"MIT"
] | null | null | null | PositioningSolver/src/io_manager/__init__.py | rodrigo-moliveira/PositioningSolver | d3ea60751ee1d7bf1f845e76c31fac95f7c02c43 | [
"MIT"
] | null | null | null | PositioningSolver/src/io_manager/__init__.py | rodrigo-moliveira/PositioningSolver | d3ea60751ee1d7bf1f845e76c31fac95f7c02c43 | [
"MIT"
] | null | null | null | from .import_rinex.RinexObsReader import RinexObsReader
from .import_rinex.RinexNavReaderGPS import RinexNavReaderGPS
| 39.333333 | 61 | 0.898305 | 12 | 118 | 8.666667 | 0.416667 | 0.192308 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 118 | 2 | 62 | 59 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
0a5f2bfe6e40fd0348ee026999a8826f62936279 | 100 | py | Python | tests/test_case1.py | My-Novel-Management/refine-storybuilder | 8da781d131383393f78c554007ebbe7c5211f4e1 | [
"MIT"
] | null | null | null | tests/test_case1.py | My-Novel-Management/refine-storybuilder | 8da781d131383393f78c554007ebbe7c5211f4e1 | [
"MIT"
] | 1 | 2021-02-11T07:05:06.000Z | 2021-02-11T07:05:06.000Z | tests/test_case1.py | My-Novel-Management/refine-storybuilder | 8da781d131383393f78c554007ebbe7c5211f4e1 | [
"MIT"
] | null | null | null | from storybuilder.hello import helloworld
def test_hello():
assert helloworld(), "正常ならTrue"
| 12.5 | 41 | 0.74 | 11 | 100 | 6.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 7 | 42 | 14.285714 | 0.879518 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a64dfc91f39a0512991ca1a2c8fdab904d78748 | 9,813 | py | Python | docs/panorama_xpaths_list.py | suzivp/iron-skillet | 5a9777cb14e9aff6ec88892b247273889a36f47d | [
"MIT"
] | 1 | 2019-03-14T21:08:37.000Z | 2019-03-14T21:08:37.000Z | docs/panorama_xpaths_list.py | suzivp/iron-skillet | 5a9777cb14e9aff6ec88892b247273889a36f47d | [
"MIT"
] | null | null | null | docs/panorama_xpaths_list.py | suzivp/iron-skillet | 5a9777cb14e9aff6ec88892b247273889a36f47d | [
"MIT"
] | 2 | 2019-04-10T20:50:54.000Z | 2019-05-30T23:43:21.000Z | # xpaths as python dictionary with name as a key
# %(text)s variables showing xpath variables - python substitution
xpaths_Panorama = {
"address": "/config/devices/entry[@name='localhost.localdomain']/device-group/entry[@name='%(devicegroup)s']/address",
"decryption_rules_post": "/config/devices/entry[@na... | 124.21519 | 238 | 0.742179 | 1,128 | 9,813 | 6.336879 | 0.087766 | 0.146055 | 0.171237 | 0.209289 | 0.704952 | 0.689144 | 0.678511 | 0.648993 | 0.632065 | 0.615277 | 0 | 0.000436 | 0.064099 | 9,813 | 78 | 239 | 125.807692 | 0.777875 | 0.011312 | 0 | 0 | 0 | 0.586667 | 0.889886 | 0.823281 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013333 | 0 | 0.013333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a8fe9598640a83f32e26a0f465712abef6fbea7 | 7,529 | py | Python | examples.py | jolsfd/rsa-algorithm | e79aaef638962bc385c4b795aff480698a95907e | [
"MIT"
] | 1 | 2022-03-15T13:46:46.000Z | 2022-03-15T13:46:46.000Z | examples.py | jolsfd/rsa-algorithm | e79aaef638962bc385c4b795aff480698a95907e | [
"MIT"
] | null | null | null | examples.py | jolsfd/rsa-algorithm | e79aaef638962bc385c4b795aff480698a95907e | [
"MIT"
] | null | null | null | # 4096 bit
e_4096 = 17
d_4096 = 51790901080586249920970122669564836981806882285766522142963056287899103545139795580687114299448637242272636378689625786277516071769924843207221799990939027602137412226620815252217836032844912053469866505695876130104462156856802105552030805079545549386323447590967330865904920222373633272... | 327.347826 | 1,244 | 0.9915 | 32 | 7,529 | 233.03125 | 0.53125 | 0.001341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.995053 | 0.006508 | 7,529 | 22 | 1,245 | 342.227273 | 0.001872 | 0.332714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a99affc2e3d5a339e001a18754ee74ee27b404c | 34 | py | Python | usttc/audio/__init__.py | kakakuoka/asr-bridger | 118dfb8c9705b4d2ae229fba021dd2b85f6c1c97 | [
"Apache-2.0"
] | 2 | 2021-11-24T06:17:51.000Z | 2021-12-16T22:45:28.000Z | usttc/audio/__init__.py | kakakuoka/asr-bridger | 118dfb8c9705b4d2ae229fba021dd2b85f6c1c97 | [
"Apache-2.0"
] | null | null | null | usttc/audio/__init__.py | kakakuoka/asr-bridger | 118dfb8c9705b4d2ae229fba021dd2b85f6c1c97 | [
"Apache-2.0"
] | 1 | 2022-01-20T16:30:42.000Z | 2022-01-20T16:30:42.000Z | from .audio_file import AudioFile
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0abdac856be6daa42aaaae2bd91b693593169a54 | 18,311 | py | Python | consul/tests/test_unit.py | tzach/integrations-core | ac9daf60630bea4739947fe1d8df72c20bfcbc22 | [
"BSD-3-Clause"
] | null | null | null | consul/tests/test_unit.py | tzach/integrations-core | ac9daf60630bea4739947fe1d8df72c20bfcbc22 | [
"BSD-3-Clause"
] | null | null | null | consul/tests/test_unit.py | tzach/integrations-core | ac9daf60630bea4739947fe1d8df72c20bfcbc22 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2018-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import logging
import mock
import pytest
from datadog_checks.consul import ConsulCheck
from datadog_checks.utils.containers import hash_mutable
from . import common, consul_mocks
pytestmark = pytest.ma... | 43.186321 | 117 | 0.722953 | 2,358 | 18,311 | 5.283715 | 0.102629 | 0.0671 | 0.05779 | 0.060679 | 0.846216 | 0.816358 | 0.790272 | 0.763384 | 0.751344 | 0.723894 | 0 | 0.010447 | 0.163618 | 18,311 | 423 | 118 | 43.288416 | 0.803069 | 0.065043 | 0 | 0.56051 | 0 | 0 | 0.213337 | 0.137467 | 0 | 0 | 0 | 0 | 0.235669 | 1 | 0.041401 | false | 0.019108 | 0.019108 | 0 | 0.06051 | 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 |
0ae679a86e57193fdf30150e53bc172ab7fe821f | 156 | py | Python | example/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | 4 | 2020-11-02T15:16:32.000Z | 2022-01-11T11:19:24.000Z | example/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | 14 | 2021-01-04T11:06:59.000Z | 2022-03-23T17:01:49.000Z | example/__init__.py | bolinette/bolinette | b35a7d828c7d9617da6a8d7ac066e3b675a65252 | [
"MIT"
] | null | null | null | import example.models
import example.mixins
import example.seeders
import example.middlewares
import example.controllers
from example.app import create_app
| 22.285714 | 34 | 0.871795 | 21 | 156 | 6.428571 | 0.47619 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 156 | 6 | 35 | 26 | 0.950704 | 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 |
0af9f4895905f2d14eecf2c1dee23acbb997b0a8 | 258 | py | Python | openhab_creator/models/common/__init__.py | DerOetzi/openhab_creator | 197876df5aae84192c34418f6b9a7cfcee23b195 | [
"MIT"
] | 1 | 2021-11-16T22:48:26.000Z | 2021-11-16T22:48:26.000Z | openhab_creator/models/common/__init__.py | DerOetzi/openhab_creator | 197876df5aae84192c34418f6b9a7cfcee23b195 | [
"MIT"
] | null | null | null | openhab_creator/models/common/__init__.py | DerOetzi/openhab_creator | 197876df5aae84192c34418f6b9a7cfcee23b195 | [
"MIT"
] | null | null | null | from openhab_creator.models.common.maptransformation import MapTransformation
from openhab_creator.models.common.scene import Scene
from openhab_creator.models.common.presence import Presence
from openhab_creator.models.common.heatcontrol import Heatcontrol
| 51.6 | 77 | 0.891473 | 32 | 258 | 7.0625 | 0.3125 | 0.19469 | 0.318584 | 0.424779 | 0.530973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 258 | 4 | 78 | 64.5 | 0.933884 | 0 | 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 |
0afe8d931e40fc3d708727b86c6d66262d5a730c | 28 | py | Python | print_schema/__init__.py | suryashekharc/print_schema | 473b1a24b85521134b6a0cd41e17bd51c4fef45d | [
"MIT"
] | 15 | 2020-03-30T14:34:30.000Z | 2021-12-14T23:34:31.000Z | print_schema/__init__.py | suryashekharc/print_schema | 473b1a24b85521134b6a0cd41e17bd51c4fef45d | [
"MIT"
] | 1 | 2020-06-08T16:47:22.000Z | 2020-06-08T21:20:18.000Z | print_schema/__init__.py | suryashekharc/print_schema | 473b1a24b85521134b6a0cd41e17bd51c4fef45d | [
"MIT"
] | 3 | 2020-06-09T19:17:34.000Z | 2022-02-21T13:28:46.000Z | from .print_schema import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7c1f8b4c2a176f41662a975c144d02dbc8aa4473 | 144 | py | Python | ccc_client/exec_engine/cli/__init__.py | ohsu-comp-bio/ccc_client | 433a7fad3d8e6817362678b783110f38ca81e0a7 | [
"MIT"
] | null | null | null | ccc_client/exec_engine/cli/__init__.py | ohsu-comp-bio/ccc_client | 433a7fad3d8e6817362678b783110f38ca81e0a7 | [
"MIT"
] | null | null | null | ccc_client/exec_engine/cli/__init__.py | ohsu-comp-bio/ccc_client | 433a7fad3d8e6817362678b783110f38ca81e0a7 | [
"MIT"
] | null | null | null | from ccc_client.exec_engine.cli import submit, metadata, query, status, outputs
__all__ = ['submit', 'metadata', 'query', 'status', 'outputs']
| 36 | 79 | 0.729167 | 18 | 144 | 5.5 | 0.722222 | 0.282828 | 0.383838 | 0.505051 | 0.646465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 144 | 3 | 80 | 48 | 0.773438 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
7c5eb0f1f9a748db494a916b72b154e32e0b94a1 | 274 | py | Python | gym_pcgrl/gym_pcgrl/envs/__init__.py | JiangZehua/control-pcgrl3D | f9b04e65e1cbf70b7306f4df251450d83c6fb2be | [
"MIT"
] | null | null | null | gym_pcgrl/gym_pcgrl/envs/__init__.py | JiangZehua/control-pcgrl3D | f9b04e65e1cbf70b7306f4df251450d83c6fb2be | [
"MIT"
] | null | null | null | gym_pcgrl/gym_pcgrl/envs/__init__.py | JiangZehua/control-pcgrl3D | f9b04e65e1cbf70b7306f4df251450d83c6fb2be | [
"MIT"
] | null | null | null | from gym_pcgrl.envs.pcgrl_env import PcgrlEnv
# for player functionality
from gym_pcgrl.envs.play_pcgrl_env import PlayPcgrlEnv
# for controllable design
from gym_pcgrl.envs.pcgrl_ctrl_env import PcgrlCtrlEnv
# for 3D envs
from gym_pcgrl.envs.pcgrl_env_3D import PcgrlEnv3D
| 34.25 | 54 | 0.857664 | 44 | 274 | 5.090909 | 0.409091 | 0.125 | 0.214286 | 0.285714 | 0.308036 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.10219 | 274 | 7 | 55 | 39.142857 | 0.898374 | 0.218978 | 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 |
7c66ee623b97e19415d3f15eefd17e38657d92f6 | 66 | py | Python | causeinfer/__init__.py | arita37/causeinfer | 1c4b81d21acb48f87c129e27c874e335e1dbb18d | [
"MIT"
] | 1 | 2020-08-07T04:58:40.000Z | 2020-08-07T04:58:40.000Z | causeinfer/__init__.py | arita37/causeinfer | 1c4b81d21acb48f87c129e27c874e335e1dbb18d | [
"MIT"
] | null | null | null | causeinfer/__init__.py | arita37/causeinfer | 1c4b81d21acb48f87c129e27c874e335e1dbb18d | [
"MIT"
] | null | null | null | from causeinfer.utils import *
from causeinfer.evaluation import * | 33 | 35 | 0.833333 | 8 | 66 | 6.875 | 0.625 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 35 | 33 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
7c9deb54bdb8124488e623dc70f62614be3ef0c1 | 118,629 | py | Python | lingvodoc/views/v2/perspective/views.py | EhrmannGit/lingvodoc | 9c78f3f7272fd45ab0cfd9e670e55f54b97362df | [
"Apache-2.0"
] | 1 | 2017-11-14T11:32:11.000Z | 2017-11-14T11:32:11.000Z | lingvodoc/views/v2/perspective/views.py | EhrmannGit/lingvodoc | 9c78f3f7272fd45ab0cfd9e670e55f54b97362df | [
"Apache-2.0"
] | null | null | null | lingvodoc/views/v2/perspective/views.py | EhrmannGit/lingvodoc | 9c78f3f7272fd45ab0cfd9e670e55f54b97362df | [
"Apache-2.0"
] | null | null | null | __author__ = 'alexander'
from collections import deque
import base64
import datetime
import hashlib
import json
import logging
import multiprocessing
from sqlalchemy.orm.attributes import flag_modified
from pyramid.httpexceptions import (
HTTPBadRequest,
HTTPConflict,
HTTPForbidden,
HTTPFound,
HT... | 49.305486 | 196 | 0.61995 | 12,840 | 118,629 | 5.4831 | 0.035826 | 0.058407 | 0.019175 | 0.02159 | 0.833445 | 0.801599 | 0.765138 | 0.743179 | 0.712427 | 0.687627 | 0 | 0.001312 | 0.286937 | 118,629 | 2,405 | 197 | 49.325988 | 0.830973 | 0.027068 | 0 | 0.665706 | 0 | 0 | 0.113072 | 0.024121 | 0 | 0 | 0 | 0.000416 | 0 | 1 | 0.020653 | false | 0.001441 | 0.01633 | 0 | 0.107109 | 0.002882 | 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 |
7ca75dbc5b526f2379131cf774692b17b9ffdb9c | 30 | py | Python | pymdown_env/__init__.py | skirsten/pymdown-env | 2aeb254d00c9328c056e861baba72c3415103a8a | [
"MIT"
] | 1 | 2019-11-03T20:35:10.000Z | 2019-11-03T20:35:10.000Z | pymdown_env/__init__.py | skirsten/pymdown-env | 2aeb254d00c9328c056e861baba72c3415103a8a | [
"MIT"
] | null | null | null | pymdown_env/__init__.py | skirsten/pymdown-env | 2aeb254d00c9328c056e861baba72c3415103a8a | [
"MIT"
] | null | null | null | from .envpreprocessor import * | 30 | 30 | 0.833333 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
7cea45acb8b0ae924c849922c5dcb0eb71ccb9d6 | 66 | py | Python | iqra/models/__init__.py | nunenuh/crnn.pytorch | b0f8bc7fc43622f7396fa0550fb2cc6e17849551 | [
"MIT"
] | 1 | 2020-09-30T04:37:39.000Z | 2020-09-30T04:37:39.000Z | iqra/models/__init__.py | nunenuh/crnn.pytorch | b0f8bc7fc43622f7396fa0550fb2cc6e17849551 | [
"MIT"
] | null | null | null | iqra/models/__init__.py | nunenuh/crnn.pytorch | b0f8bc7fc43622f7396fa0550fb2cc6e17849551 | [
"MIT"
] | null | null | null | from .crnn_v1 import OCRNet
from .crnn_v2 import TransformerOCRNet | 33 | 38 | 0.863636 | 10 | 66 | 5.5 | 0.7 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.106061 | 66 | 2 | 38 | 33 | 0.898305 | 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 |
7ceda2e52797dd88848b902987e1b3f7fda85cfa | 625 | py | Python | openrec/modules/interactions/__init__.py | BoData-Bot/openrec | 3d655d21b762b40d50e53cea96d7802fd49c74ad | [
"Apache-2.0"
] | null | null | null | openrec/modules/interactions/__init__.py | BoData-Bot/openrec | 3d655d21b762b40d50e53cea96d7802fd49c74ad | [
"Apache-2.0"
] | null | null | null | openrec/modules/interactions/__init__.py | BoData-Bot/openrec | 3d655d21b762b40d50e53cea96d7802fd49c74ad | [
"Apache-2.0"
] | null | null | null | from openrec.modules.interactions.interaction import Interaction
from openrec.modules.interactions.pairwise_log import PairwiseLog
from openrec.modules.interactions.pairwise_hinge import PairwiseHinge
from openrec.modules.interactions.pointwise_ge_ce import PointwiseGeCE
from openrec.modules.interactions.pointwise_mlp_... | 62.5 | 77 | 0.8992 | 77 | 625 | 7.116883 | 0.324675 | 0.180657 | 0.29562 | 0.492701 | 0.5 | 0.149635 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0576 | 625 | 9 | 78 | 69.444444 | 0.93039 | 0 | 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 |
6b00d6080731e47ba053d9e0ca0f9e29c4a3ff25 | 156 | py | Python | django_sphinx_sample/courselist/views.py | takaharuy/django-sphinx-sample | a47c6408f954cfdd734aaa1a4d94b9f84c85c065 | [
"MIT"
] | null | null | null | django_sphinx_sample/courselist/views.py | takaharuy/django-sphinx-sample | a47c6408f954cfdd734aaa1a4d94b9f84c85c065 | [
"MIT"
] | null | null | null | django_sphinx_sample/courselist/views.py | takaharuy/django-sphinx-sample | a47c6408f954cfdd734aaa1a4d94b9f84c85c065 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Hello, World You're at the CourseList index")
| 22.285714 | 70 | 0.762821 | 22 | 156 | 5.409091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 156 | 6 | 71 | 26 | 0.908397 | 0.147436 | 0 | 0 | 0 | 0 | 0.328244 | 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 |
6b3f7787dcfb6558265606e95211ee1b66c28f81 | 124,663 | py | Python | tests/blockchain/test_blockchain.py | thinkboxx/bitchia-blockchain | 6c71ee9bab50497362071bbaf45c4114485d4098 | [
"Apache-2.0"
] | null | null | null | tests/blockchain/test_blockchain.py | thinkboxx/bitchia-blockchain | 6c71ee9bab50497362071bbaf45c4114485d4098 | [
"Apache-2.0"
] | null | null | null | tests/blockchain/test_blockchain.py | thinkboxx/bitchia-blockchain | 6c71ee9bab50497362071bbaf45c4114485d4098 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa: F811, F401
import asyncio
import logging
import multiprocessing
import time
from dataclasses import replace
from secrets import token_bytes
import pytest
from blspy import AugSchemeMPL, G2Element
from clvm.casts import int_to_bytes
from bitchia.consensus.block_rewards import calculate_base_farmer_rewa... | 47.80023 | 120 | 0.650626 | 15,003 | 124,663 | 5.028728 | 0.035526 | 0.027185 | 0.046656 | 0.042574 | 0.884368 | 0.861861 | 0.84186 | 0.817141 | 0.789598 | 0.761087 | 0 | 0.020666 | 0.264441 | 124,663 | 2,607 | 121 | 47.818565 | 0.802109 | 0.032969 | 0 | 0.64137 | 0 | 0 | 0.067199 | 0.057264 | 0 | 0 | 0 | 0.000384 | 0.151782 | 1 | 0.000463 | false | 0.003239 | 0.018973 | 0 | 0.027765 | 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 |
8610c50c206537f7f3e7affac6765a3c17ee89f1 | 91 | py | Python | command/database/loader/__init__.py | bartick/roBOT | 95ed4f0d0f80eae900326d82d49891c9723c0118 | [
"MIT"
] | 15 | 2021-05-30T15:45:02.000Z | 2021-12-16T11:10:39.000Z | command/database/loader/__init__.py | bartick/roBOT | 95ed4f0d0f80eae900326d82d49891c9723c0118 | [
"MIT"
] | 46 | 2021-05-18T12:46:38.000Z | 2021-10-21T18:47:46.000Z | command/database/loader/__init__.py | bartick/roBOT | 95ed4f0d0f80eae900326d82d49891c9723c0118 | [
"MIT"
] | 32 | 2021-05-18T06:07:08.000Z | 2021-12-12T16:13:40.000Z | # init, importing everything from loader.py
from .loader import *
from .database import *
| 18.2 | 43 | 0.758242 | 12 | 91 | 5.75 | 0.666667 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 4 | 44 | 22.75 | 0.907895 | 0.450549 | 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 |
810a662318e01f6592f75fc2c6ee277bc267afaf | 38 | py | Python | uq360/datasets/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 148 | 2021-05-27T20:52:51.000Z | 2022-03-16T22:49:48.000Z | uq360/datasets/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 9 | 2021-06-21T18:45:07.000Z | 2021-11-08T14:42:30.000Z | uq360/datasets/__init__.py | Sclare87/UQ360 | 2378bfa4a8d61f813afbf6854341888434c9eb11 | [
"Apache-2.0"
] | 27 | 2021-06-01T18:29:02.000Z | 2022-03-02T06:56:03.000Z | from .meps_dataset import MEPSDataset
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
d48d4f5303d7789a61ac1167a6df52eedd120157 | 38 | py | Python | snappi_trex/__init__.py | open-traffic-generator/snappi-trex | b46bac94236fb0e6b2abd33f06bb5aee779487e8 | [
"MIT"
] | 17 | 2021-08-05T05:19:50.000Z | 2022-03-28T07:30:48.000Z | snappi_trex/__init__.py | fredpower44/snappi-trex | b6bb639a1fdb03318eaa7845239529e3c1be471a | [
"MIT"
] | null | null | null | snappi_trex/__init__.py | fredpower44/snappi-trex | b6bb639a1fdb03318eaa7845239529e3c1be471a | [
"MIT"
] | 4 | 2021-08-04T18:34:12.000Z | 2022-01-09T00:14:28.000Z | from snappi_trex.snappi_api import Api | 38 | 38 | 0.894737 | 7 | 38 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 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 |
d4a6fc7ffbfd4e08c32059bee3639ade92366354 | 128 | py | Python | tests/conftest.py | BGmi/anime-episode-parser | 5b12ad7558748d1b1ee9bc27c13fac61c092ced7 | [
"MIT"
] | null | null | null | tests/conftest.py | BGmi/anime-episode-parser | 5b12ad7558748d1b1ee9bc27c13fac61c092ced7 | [
"MIT"
] | 27 | 2021-05-17T16:59:38.000Z | 2022-03-15T08:16:53.000Z | tests/conftest.py | BGmi/anime-episode-parser | 005bb54623c025c75721581b13bff79e520e5f3c | [
"MIT"
] | null | null | null | import logging
from anime_episode_parser import logger
def pytest_sessionstart() -> None:
logger.setLevel(logging.DEBUG)
| 16 | 39 | 0.789063 | 16 | 128 | 6.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 128 | 7 | 40 | 18.285714 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4ac64992c3dbc0fa11e6a892a09d3bad457f2ad | 22 | py | Python | src/gandalf/__init__.py | idleuncle/gandalf | 4ebedc3bc4a396414c5017d9df51e78c44566fa5 | [
"MIT"
] | null | null | null | src/gandalf/__init__.py | idleuncle/gandalf | 4ebedc3bc4a396414c5017d9df51e78c44566fa5 | [
"MIT"
] | null | null | null | src/gandalf/__init__.py | idleuncle/gandalf | 4ebedc3bc4a396414c5017d9df51e78c44566fa5 | [
"MIT"
] | null | null | null | from .Corpus import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4c676bbde6e2295026f085a94d6fd3333f5a268 | 1,055 | py | Python | GUI/printer/Pillow-2.7.0/Tests/test_image_thumbnail.py | y-gupta/rfid-auth-system | 44f3de884d05e1906757b97f0a1a140469a3290f | [
"Apache-2.0"
] | 5 | 2015-01-21T14:13:34.000Z | 2016-05-14T06:53:38.000Z | GUI/printer/Pillow-2.7.0/Tests/test_image_thumbnail.py | 1upon0/rfid-auth-system | 44f3de884d05e1906757b97f0a1a140469a3290f | [
"Apache-2.0"
] | null | null | null | GUI/printer/Pillow-2.7.0/Tests/test_image_thumbnail.py | 1upon0/rfid-auth-system | 44f3de884d05e1906757b97f0a1a140469a3290f | [
"Apache-2.0"
] | 3 | 2015-02-01T17:10:39.000Z | 2019-12-05T05:21:42.000Z | from helper import unittest, PillowTestCase, hopper
class TestImageThumbnail(PillowTestCase):
def test_sanity(self):
im = hopper()
im.thumbnail((100, 100))
self.assert_image(im, im.mode, (100, 100))
def test_aspect(self):
im = hopper()
im.thumbnail((100, 100))
... | 23.977273 | 51 | 0.563981 | 138 | 1,055 | 4.188406 | 0.210145 | 0.083045 | 0.181661 | 0.205882 | 0.749135 | 0.749135 | 0.749135 | 0.749135 | 0.645329 | 0.645329 | 0 | 0.140078 | 0.269194 | 1,055 | 43 | 52 | 24.534884 | 0.609598 | 0.010427 | 0 | 0.666667 | 0 | 0 | 0.007678 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07a196c83c6a23e2d011a06e6d134382db47f70f | 172 | py | Python | test.py | mac389/scientific-consensus | 2799695b61ae0aa0ed3e1ee89557cb1eb4945502 | [
"MIT"
] | null | null | null | test.py | mac389/scientific-consensus | 2799695b61ae0aa0ed3e1ee89557cb1eb4945502 | [
"MIT"
] | null | null | null | test.py | mac389/scientific-consensus | 2799695b61ae0aa0ed3e1ee89557cb1eb4945502 | [
"MIT"
] | null | null | null | import numpy as np
from awesome_print import ap
from Scientist import Scientist
sci_guy = Scientist(label='Sci guy')
print sci_guy
print sci_guy.estimate_pi(repeats=10) | 21.5 | 37 | 0.80814 | 29 | 172 | 4.62069 | 0.551724 | 0.179104 | 0.164179 | 0.208955 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.133721 | 172 | 8 | 37 | 21.5 | 0.885906 | 0 | 0 | 0 | 0 | 0 | 0.040462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
07c4e5515d1697ed2d13d329320c227378ed7416 | 18,628 | py | Python | test/TestDem.py | nitehawck/DevEnvManager | 425b0d621be577fe73f22b4641f7099eac65669e | [
"MIT"
] | 1 | 2016-05-16T23:13:47.000Z | 2016-05-16T23:13:47.000Z | test/TestDem.py | nitehawck/DevEnvManager | 425b0d621be577fe73f22b4641f7099eac65669e | [
"MIT"
] | 41 | 2016-01-22T00:56:14.000Z | 2016-05-12T14:38:37.000Z | test/TestDem.py | nitehawck/DevEnvManager | 425b0d621be577fe73f22b4641f7099eac65669e | [
"MIT"
] | null | null | null | import io
import os
import unittest, mock
from tarfile import TarFile
from zipfile import ZipFile
try:
from mock import patch, MagicMock
except ImportError:
from unittest.mock import patch
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
import pyfakefs.fake_filesystem_uni... | 40.233261 | 135 | 0.588147 | 2,067 | 18,628 | 5.195452 | 0.096275 | 0.048049 | 0.050284 | 0.029798 | 0.771394 | 0.758357 | 0.731539 | 0.71692 | 0.69811 | 0.688891 | 0 | 0.012579 | 0.265944 | 18,628 | 462 | 136 | 40.320346 | 0.77278 | 0.004778 | 0 | 0.740642 | 0 | 0.002674 | 0.638703 | 0.339663 | 0 | 0 | 0 | 0 | 0.053476 | 1 | 0.061497 | false | 0.002674 | 0.034759 | 0 | 0.101604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07d88815153bf4429692c2b1881afdc84afc61bc | 6,508 | py | Python | tests/unit_tests/test_beatmap_link_parser.py | sibyl666/ronnia | f66f730ad87acff741a14d7030f2e9a1c0f2cdf6 | [
"Apache-2.0"
] | null | null | null | tests/unit_tests/test_beatmap_link_parser.py | sibyl666/ronnia | f66f730ad87acff741a14d7030f2e9a1c0f2cdf6 | [
"Apache-2.0"
] | null | null | null | tests/unit_tests/test_beatmap_link_parser.py | sibyl666/ronnia | f66f730ad87acff741a14d7030f2e9a1c0f2cdf6 | [
"Apache-2.0"
] | null | null | null | import unittest
from helpers.beatmap_link_parser import parse_single_beatmap, parse_beatmapset, get_mod_from_text
class TestBeatmapLinkParser(unittest.TestCase):
@classmethod
def setUp(self) -> None:
self.official_beatmap_link = 'https://osu.ppy.sh/beatmapsets/1341551#osu/2778999'
self.offic... | 41.987097 | 119 | 0.719115 | 872 | 6,508 | 4.888761 | 0.094037 | 0.090312 | 0.151067 | 0.049261 | 0.888576 | 0.831809 | 0.789819 | 0.771522 | 0.758386 | 0.758386 | 0 | 0.025745 | 0.206208 | 6,508 | 154 | 120 | 42.25974 | 0.799458 | 0 | 0 | 0.548673 | 0 | 0 | 0.076829 | 0 | 0 | 0 | 0 | 0 | 0.247788 | 1 | 0.132743 | false | 0 | 0.017699 | 0 | 0.159292 | 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 |
07de757280c0cc060d4923e7a4f7ffd848d64dc8 | 5,416 | py | Python | data/york_urban.py | cumtchenchang/PPGNet | 9b280aacb887ec584e905b9f9ab006b4f4cb2cc3 | [
"MIT"
] | 171 | 2019-04-04T11:50:42.000Z | 2022-03-15T11:20:58.000Z | data/york_urban.py | cumtchenchang/PPGNet | 9b280aacb887ec584e905b9f9ab006b4f4cb2cc3 | [
"MIT"
] | 23 | 2019-06-28T07:13:09.000Z | 2021-09-08T07:06:19.000Z | data/york_urban.py | cumtchenchang/PPGNet | 9b280aacb887ec584e905b9f9ab006b4f4cb2cc3 | [
"MIT"
] | 33 | 2019-05-30T02:09:50.000Z | 2022-03-15T11:21:01.000Z | import os
import numpy as np
import torch as th
from torch.utils import data
from data.line_graph import LineGraph
from glob import glob
from PIL import Image
from data.utils import gen_gaussian_map
class YorkUrban(data.Dataset):
def __init__(self, data_root, transforms, phase="test", sigma_junction=3., max_junct... | 37.611111 | 101 | 0.580871 | 769 | 5,416 | 3.864759 | 0.122237 | 0.049462 | 0.064603 | 0.032974 | 0.878869 | 0.840511 | 0.837147 | 0.837147 | 0.825034 | 0.794751 | 0 | 0.012091 | 0.266987 | 5,416 | 144 | 102 | 37.611111 | 0.736524 | 0.518648 | 0 | 0 | 0 | 0 | 0.018606 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 1 | 0.072727 | false | 0 | 0.145455 | 0.036364 | 0.290909 | 0.018182 | 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 |
6af8129f958cf44522e777c5939e4a28a6dd214a | 124 | py | Python | Team_6_Project/third_party_implementation/phantom/network_simulation/__init__.py | cliffton/Fractal | 95dd9cd24494f0f668dcdfa6e734d360207f7435 | [
"MIT"
] | null | null | null | Team_6_Project/third_party_implementation/phantom/network_simulation/__init__.py | cliffton/Fractal | 95dd9cd24494f0f668dcdfa6e734d360207f7435 | [
"MIT"
] | null | null | null | Team_6_Project/third_party_implementation/phantom/network_simulation/__init__.py | cliffton/Fractal | 95dd9cd24494f0f668dcdfa6e734d360207f7435 | [
"MIT"
] | null | null | null | from .miner import Miner
from .miner import MaliciousMiner
from .network import Network
from .simulation import Simulation
| 20.666667 | 34 | 0.830645 | 16 | 124 | 6.4375 | 0.375 | 0.174757 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 5 | 35 | 24.8 | 0.962617 | 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 |
ed0004990ee7f6de580e131442cef425fa71cae8 | 8,097 | py | Python | talentmap_api/user_profile/tests/test_saved_searches.py | 18F/State-TalentMAP-API | 37043194b7f977a9b481567660f8caec698346c9 | [
"CC0-1.0"
] | 5 | 2017-06-22T13:53:34.000Z | 2018-05-14T13:44:06.000Z | talentmap_api/user_profile/tests/test_saved_searches.py | 18F/State-TalentMAP-API | 37043194b7f977a9b481567660f8caec698346c9 | [
"CC0-1.0"
] | 232 | 2017-06-16T02:09:54.000Z | 2018-05-10T16:15:48.000Z | talentmap_api/user_profile/tests/test_saved_searches.py | 18F/State-TalentMAP-API | 37043194b7f977a9b481567660f8caec698346c9 | [
"CC0-1.0"
] | 3 | 2017-07-14T01:48:49.000Z | 2021-02-14T10:38:26.000Z | import pytest
import json
from model_mommy import mommy
from rest_framework import status
from talentmap_api.user_profile.models import SavedSearch
from talentmap_api.messaging.models import Notification
@pytest.fixture()
def test_saved_search_fixture(authorized_user):
return mommy.make('user_profile.SavedSearc... | 34.751073 | 108 | 0.637397 | 911 | 8,097 | 5.36663 | 0.143798 | 0.025568 | 0.067498 | 0.051544 | 0.83289 | 0.816322 | 0.794232 | 0.783596 | 0.755778 | 0.728779 | 0 | 0.01592 | 0.247499 | 8,097 | 232 | 109 | 34.900862 | 0.786476 | 0.055082 | 0 | 0.538012 | 0 | 0 | 0.195444 | 0.052887 | 0 | 0 | 0 | 0 | 0.116959 | 1 | 0.081871 | false | 0 | 0.035088 | 0.005848 | 0.122807 | 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 |
ed19c02038b18503bcae2a75a6f41e0daee72614 | 203 | py | Python | Downloader/Utils/status.py | Sangeerththan/SangGDownloader | 2ab824633ed2bdb77c25926c6b12f41ef78ec9f6 | [
"MIT"
] | 5 | 2022-01-09T13:38:25.000Z | 2022-01-21T12:04:20.000Z | Downloader/Utils/status.py | Sangeerththan/SangGDownloader | 2ab824633ed2bdb77c25926c6b12f41ef78ec9f6 | [
"MIT"
] | null | null | null | Downloader/Utils/status.py | Sangeerththan/SangGDownloader | 2ab824633ed2bdb77c25926c6b12f41ef78ec9f6 | [
"MIT"
] | 1 | 2022-01-09T13:38:28.000Z | 2022-01-09T13:38:28.000Z | from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
def status_video(video, s_time, e_time, status_name):
return ffmpeg_extract_subclip(video, s_time, e_time, targetname=status_name)
| 29 | 80 | 0.82266 | 32 | 203 | 4.84375 | 0.53125 | 0.167742 | 0.258065 | 0.141935 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 203 | 6 | 81 | 33.833333 | 0.851648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ed7413fc8e8b40912cc2129fcb450b1f54aed2f9 | 3,828 | py | Python | combined-compile-deploy/PyTorch_BERT_Inf1.py | C24IO/SageMaker-Inf1-Endpoints | 0e482079b7c19958a32bee4a5f9cb817b08b37f1 | [
"MIT"
] | 5 | 2020-08-07T15:18:23.000Z | 2021-07-01T17:36:16.000Z | combined-compile-deploy/PyTorch_BERT_Inf1.py | C24IO/SageMaker-Inf1-Endpoints | 0e482079b7c19958a32bee4a5f9cb817b08b37f1 | [
"MIT"
] | null | null | null | combined-compile-deploy/PyTorch_BERT_Inf1.py | C24IO/SageMaker-Inf1-Endpoints | 0e482079b7c19958a32bee4a5f9cb817b08b37f1 | [
"MIT"
] | 5 | 2020-09-16T19:30:16.000Z | 2021-04-06T15:45:35.000Z | import torch
import torch_neuron
import transformers
from transformers import BertTokenizer
from transformers import BertModel
import math
from transformers import AutoTokenizer, AutoModelForSequenceClassification
def main():
sentence1 = "If you set your goals ridiculously high and it's a failure, you will fail ... | 51.72973 | 332 | 0.720742 | 535 | 3,828 | 4.97757 | 0.224299 | 0.084491 | 0.024033 | 0.03605 | 0.832144 | 0.793842 | 0.793842 | 0.793842 | 0.793842 | 0.793842 | 0 | 0.014984 | 0.198015 | 3,828 | 73 | 333 | 52.438356 | 0.852443 | 0.065569 | 0 | 0.555556 | 0 | 0.074074 | 0.357503 | 0.014558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018519 | false | 0 | 0.148148 | 0 | 0.166667 | 0.055556 | 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 |
71fa94a3e4943995c50551f60e03b78b17f9edc9 | 96 | py | Python | models/net_modules/__init__.py | ChenWang8750/WTAM_net | b5c01b9ebc2514cf6fc8ce45c0944b79f0c2a54d | [
"MIT"
] | 4 | 2021-07-12T23:28:21.000Z | 2021-07-25T02:16:50.000Z | models/net_modules/__init__.py | ChenWang8750/WTAM_net | b5c01b9ebc2514cf6fc8ce45c0944b79f0c2a54d | [
"MIT"
] | null | null | null | models/net_modules/__init__.py | ChenWang8750/WTAM_net | b5c01b9ebc2514cf6fc8ce45c0944b79f0c2a54d | [
"MIT"
] | null | null | null | from .discrimators import *
from .losses import *
from .modules import *
from .WTAM_net import * | 24 | 27 | 0.760417 | 13 | 96 | 5.538462 | 0.538462 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 4 | 28 | 24 | 0.888889 | 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 |
9c06758aa44ed8a0c16ddc9ab6fa429f8acd3b9f | 11,307 | py | Python | Python/problem0459.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/problem0459.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/problem0459.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | class Solution:
def repeatedSubstringPattern(self, s: str) -> bool:
# p = 1
# length = len(s)
# while p < length:
# tmp = s[:p]
# if set(tmp) == set(s):
# count = length//p
# # print(tmp*count)
# if tmp*count == s:
... | 176.671875 | 10,006 | 0.943486 | 176 | 11,307 | 60.590909 | 0.267045 | 0.00075 | 0.001125 | 0.006377 | 0.038447 | 0.02907 | 0.02907 | 0.016504 | 0.016504 | 0.016504 | 0 | 0.009554 | 0.037322 | 11,307 | 63 | 10,007 | 179.47619 | 0.970142 | 0.03007 | 0 | 0.133333 | 0 | 0 | 0.915583 | 0.915583 | 0 | 1 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.066667 | 0 | 0.2 | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c1bc20669397b0ac20cbe8f8b857b6890550306 | 22,516 | py | Python | FEMpy/Solvers.py | floydie7/FEMpy | 50e11b88dc249ff7c599472b455b07b04df1afd7 | [
"MIT"
] | null | null | null | FEMpy/Solvers.py | floydie7/FEMpy | 50e11b88dc249ff7c599472b455b07b04df1afd7 | [
"MIT"
] | null | null | null | FEMpy/Solvers.py | floydie7/FEMpy | 50e11b88dc249ff7c599472b455b07b04df1afd7 | [
"MIT"
] | 1 | 2022-01-22T06:39:38.000Z | 2022-01-22T06:39:38.000Z | """
Solvers.py
Author: Benjamin Floyd
Contains the Finite Element Method Solvers.
"""
import numpy as np
from scipy.integrate import quad
from scipy.sparse import linalg
from scipy.special import roots_legendre
from .Assemblers import assemble_matrix, assemble_vector
from .helpers import dbquad_triangle, copy_docstr... | 41.773655 | 120 | 0.615118 | 2,864 | 22,516 | 4.664804 | 0.114176 | 0.037051 | 0.009431 | 0.010778 | 0.803144 | 0.783683 | 0.770808 | 0.754341 | 0.748952 | 0.73503 | 0 | 0.022166 | 0.296722 | 22,516 | 538 | 121 | 41.851301 | 0.821535 | 0.51741 | 0 | 0.534247 | 0 | 0 | 0.003864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109589 | false | 0 | 0.041096 | 0.020548 | 0.260274 | 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 |
9c35cf41177866d2fdb89a92f1276e2ddd3c26af | 10,461 | py | Python | QUANTAXIS/QAFetch/QAQuery_Advance.py | liujiannong/QUANTAXIS | ba26f6bc58a3e19179a8793eab7a3e2e0e0bbc5e | [
"MIT"
] | null | null | null | QUANTAXIS/QAFetch/QAQuery_Advance.py | liujiannong/QUANTAXIS | ba26f6bc58a3e19179a8793eab7a3e2e0e0bbc5e | [
"MIT"
] | null | null | null | QUANTAXIS/QAFetch/QAQuery_Advance.py | liujiannong/QUANTAXIS | ba26f6bc58a3e19179a8793eab7a3e2e0e0bbc5e | [
"MIT"
] | 1 | 2021-04-01T08:59:46.000Z | 2021-04-01T08:59:46.000Z | # coding: utf-8
#
# The MIT License (MIT)
#
# Copyright (c) 2016-2018 yutiansut/QUANTAXIS
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation t... | 42.181452 | 241 | 0.624128 | 1,367 | 10,461 | 4.528164 | 0.151426 | 0.022294 | 0.040872 | 0.029079 | 0.752827 | 0.744265 | 0.744265 | 0.733118 | 0.711309 | 0.68433 | 0 | 0.014998 | 0.235159 | 10,461 | 247 | 242 | 42.352227 | 0.758655 | 0.146353 | 0 | 0.708791 | 0 | 0 | 0.108123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054945 | false | 0 | 0.027473 | 0.005495 | 0.164835 | 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 |
9c50573790ba98988748f0418f006045cb4679db | 374 | py | Python | boundio/sockets/__init__.py | A1Liu/boundio | 285587e58177624980f29925e408ff1c3cb33083 | [
"Apache-2.0"
] | null | null | null | boundio/sockets/__init__.py | A1Liu/boundio | 285587e58177624980f29925e408ff1c3cb33083 | [
"Apache-2.0"
] | null | null | null | boundio/sockets/__init__.py | A1Liu/boundio | 285587e58177624980f29925e408ff1c3cb33083 | [
"Apache-2.0"
] | null | null | null | from boundio.sockets.tasks import get_socket_task, get_socket_tasks, run_socket
from boundio.sockets.process import process_socket
from boundio.sockets.process import process_socket
from boundio.sockets.utils import process_frame
#
# __all__ = [
# 'get_socket_task', 'get_socket_tasks',
# 'run_socket','p... | 37.4 | 79 | 0.759358 | 48 | 374 | 5.520833 | 0.291667 | 0.166038 | 0.271698 | 0.271698 | 0.671698 | 0.671698 | 0.671698 | 0.671698 | 0.422642 | 0.422642 | 0 | 0 | 0.147059 | 374 | 9 | 80 | 41.555556 | 0.830721 | 0.355615 | 0 | 0.5 | 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 |
9c770fe045a769f9e24d7c640545f67ba2493461 | 8,194 | py | Python | networkx/algorithms/centrality/tests/test_betweenness_centrality_subset.py | jebogaert/networkx | 8563c3313223a53c548530f39c8cfb6e433539d3 | [
"BSD-3-Clause"
] | 76 | 2020-07-06T14:44:05.000Z | 2022-02-14T15:30:21.000Z | networkx/algorithms/centrality/tests/test_betweenness_centrality_subset.py | jebogaert/networkx | 8563c3313223a53c548530f39c8cfb6e433539d3 | [
"BSD-3-Clause"
] | 25 | 2020-11-16T15:36:41.000Z | 2021-06-01T05:15:31.000Z | networkx/algorithms/centrality/tests/test_betweenness_centrality_subset.py | jebogaert/networkx | 8563c3313223a53c548530f39c8cfb6e433539d3 | [
"BSD-3-Clause"
] | 11 | 2020-07-12T16:18:07.000Z | 2022-02-05T16:48:35.000Z | import networkx as nx
from networkx.testing import almost_equal
class TestSubsetBetweennessCentrality:
def test_K5(self):
"""Betweenness Centrality Subset: K5"""
G = nx.complete_graph(5)
b = nx.betweenness_centrality_subset(
G, sources=[0], targets=[1, 3], weight=None
)... | 36.096916 | 86 | 0.51135 | 1,221 | 8,194 | 3.28665 | 0.058149 | 0.102916 | 0.154747 | 0.050835 | 0.888114 | 0.842512 | 0.791677 | 0.763768 | 0.737603 | 0.711189 | 0 | 0.080377 | 0.325848 | 8,194 | 226 | 87 | 36.256637 | 0.64609 | 0.092019 | 0 | 0.614973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.010695 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c798d45bea1b94b051d361ba35d8b2b8d1378cc | 108 | py | Python | src/winnow/models/namespace.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | 3 | 2016-04-05T16:51:27.000Z | 2016-08-30T20:56:25.000Z | src/winnow/models/namespace.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | null | null | null | src/winnow/models/namespace.py | opendesk/schema | 9c6d8483abbfeb5e3bd225b2916c212e2c21872b | [
"Unlicense"
] | 1 | 2019-08-14T16:51:56.000Z | 2019-08-14T16:51:56.000Z | import winnow
from winnow.models.base import WinnowVersion
class WinnowNamespace(WinnowVersion):
pass
| 15.428571 | 44 | 0.814815 | 12 | 108 | 7.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 6 | 45 | 18 | 0.946237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
92dca4a71b31154d71770a21b434e0677551bae9 | 9,093 | py | Python | test_holidays.py | leogregianin/stock-exchange-holidays | 7b6a7bb9ab27535ce8a1130f2f7916018d68bc6d | [
"MIT"
] | 2 | 2021-06-24T20:29:26.000Z | 2022-01-01T23:19:22.000Z | test_holidays.py | leogregianin/stock-exchange-holidays | 7b6a7bb9ab27535ce8a1130f2f7916018d68bc6d | [
"MIT"
] | 7 | 2021-11-11T12:42:58.000Z | 2022-01-05T12:30:46.000Z | test_holidays.py | leogregianin/stock-exchange-holidays | 7b6a7bb9ab27535ce8a1130f2f7916018d68bc6d | [
"MIT"
] | null | null | null | from datetime import date
from unittest import TestCase
from stock_exchange_holidays import Holidays, NYSE, CME, B3
class TestNYSE(TestCase):
def setUp(self):
self.holidays = Holidays(exchange=NYSE())
self.nyse_holidays = self.holidays.get_holidays()
self.all_holidays = {
... | 35.940711 | 76 | 0.532168 | 1,200 | 9,093 | 3.855 | 0.061667 | 0.181582 | 0.088197 | 0.054475 | 0.849546 | 0.843926 | 0.843926 | 0.843926 | 0.771509 | 0.758539 | 0 | 0.163228 | 0.344441 | 9,093 | 252 | 77 | 36.083333 | 0.612817 | 0 | 0 | 0.62844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 1 | 0.110092 | false | 0 | 0.013761 | 0 | 0.137615 | 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 |
130f6a702702c72e5c06692db56f64743f4390c7 | 1,490 | py | Python | rudder_airflow_provider/test/operators/test_rudderstack_operator.py | rudderlabs/rudder-airflow-provider | e65fabc08522c5f39edf911dde9454cf6c028b0c | [
"MIT"
] | null | null | null | rudder_airflow_provider/test/operators/test_rudderstack_operator.py | rudderlabs/rudder-airflow-provider | e65fabc08522c5f39edf911dde9454cf6c028b0c | [
"MIT"
] | null | null | null | rudder_airflow_provider/test/operators/test_rudderstack_operator.py | rudderlabs/rudder-airflow-provider | e65fabc08522c5f39edf911dde9454cf6c028b0c | [
"MIT"
] | null | null | null | import unittest
from unittest import mock
from rudder_airflow_provider.operators.rudderstack import RudderstackOperator
class TestRudderstackOperator(unittest.TestCase):
@mock.patch('rudder_airflow_provider.operators.rudderstack.RudderstackHook.poll_for_status')
@mock.patch('rudder_airflow_provider.operator... | 43.823529 | 96 | 0.763087 | 183 | 1,490 | 5.803279 | 0.256831 | 0.060264 | 0.067797 | 0.141243 | 0.826742 | 0.788136 | 0.788136 | 0.788136 | 0.788136 | 0.788136 | 0 | 0 | 0.149664 | 1,490 | 34 | 97 | 43.823529 | 0.8382 | 0 | 0 | 0.518519 | 0 | 0 | 0.24279 | 0.202549 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.222222 | 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 |
132748b8956a73fc360307fb2ec79a575783331b | 79 | py | Python | pocket/__init__.py | Seth-Park/pocket | 42c7da16028bccc846d163ca4b52701a394cce18 | [
"BSD-3-Clause"
] | 13 | 2020-12-03T12:12:09.000Z | 2022-02-28T06:53:19.000Z | pocket/__init__.py | Seth-Park/pocket | 42c7da16028bccc846d163ca4b52701a394cce18 | [
"BSD-3-Clause"
] | 26 | 2020-12-08T01:01:47.000Z | 2021-10-09T13:00:48.000Z | pocket/__init__.py | DzReal/Pocket | 0b9278f3d239a78ecd1855a3c8b7423a685a85b4 | [
"BSD-3-Clause"
] | 1 | 2022-03-27T14:13:57.000Z | 2022-03-27T14:13:57.000Z | from . import data
from . import core
from . import utils
from . import models
| 15.8 | 20 | 0.746835 | 12 | 79 | 4.916667 | 0.5 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 79 | 4 | 21 | 19.75 | 0.936508 | 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 |
132cd6c7501c3270b97ca5211b1826043589a2c0 | 117 | py | Python | src/riski/schema/__init__.py | GFDRR/RISKi | 98c75e642bfca72f6bb26f6301db049804c61151 | [
"0BSD"
] | null | null | null | src/riski/schema/__init__.py | GFDRR/RISKi | 98c75e642bfca72f6bb26f6301db049804c61151 | [
"0BSD"
] | null | null | null | src/riski/schema/__init__.py | GFDRR/RISKi | 98c75e642bfca72f6bb26f6301db049804c61151 | [
"0BSD"
] | null | null | null | from .common import *
from .exposure import *
from .hazard import *
from .loss import *
from .vulnerability import *
| 19.5 | 28 | 0.74359 | 15 | 117 | 5.8 | 0.466667 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 5 | 29 | 23.4 | 0.896907 | 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 |
1357cb4098fe75f85c4eb766dfdfb984bc6ff671 | 30 | py | Python | src/openpersonen/converters/api2stufbg/views/base/__init__.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 2 | 2020-08-26T11:24:43.000Z | 2021-07-28T09:46:40.000Z | src/openpersonen/converters/api2stufbg/views/base/__init__.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 153 | 2020-08-26T10:45:35.000Z | 2021-12-10T17:33:16.000Z | src/openpersonen/converters/api2stufbg/views/base/__init__.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | null | null | null | from .nested_viewset import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
13e76e0f825a1bb66750b00813a48fb302ed9e99 | 175 | py | Python | CodeWars/Python/5 kyu/int32 to IPv4/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/5 kyu/int32 to IPv4/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/5 kyu/int32 to IPv4/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | def int32_to_ip(int32):
num = bin(int32)[2:].zfill(32)
return '{:d}.{:d}.{:d}.{:d}'.format(int(num[0:8], 2), int(num[8:16], 2), int(num[16:24], 2), int(num[24:32], 2)) | 58.333333 | 116 | 0.542857 | 37 | 175 | 2.513514 | 0.459459 | 0.258065 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 0.12 | 175 | 3 | 116 | 58.333333 | 0.435065 | 0 | 0 | 0 | 0 | 0 | 0.107955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b93d03f755f1107eb7918c4cd3cc78bcf2feecc3 | 201 | py | Python | Python/empire/history/__init__.py | Tombmyst/Empire | f28782787c5fa9127e353549b73ec90d3c82c003 | [
"Apache-2.0"
] | null | null | null | Python/empire/history/__init__.py | Tombmyst/Empire | f28782787c5fa9127e353549b73ec90d3c82c003 | [
"Apache-2.0"
] | null | null | null | Python/empire/history/__init__.py | Tombmyst/Empire | f28782787c5fa9127e353549b73ec90d3c82c003 | [
"Apache-2.0"
] | null | null | null | from empire.history.history_stack import HistoryStack
from empire.history.memento import Memento
from empire.history.history_decorator import history
__all__ = ['HistoryStack', 'Memento', 'history']
| 28.714286 | 53 | 0.820896 | 24 | 201 | 6.625 | 0.375 | 0.188679 | 0.320755 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094527 | 201 | 6 | 54 | 33.5 | 0.873626 | 0 | 0 | 0 | 0 | 0 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9448eb2af34c44911d21a748bd911d725119daf | 46 | py | Python | birdy/ipyleafletwfs/__init__.py | generic-ci-org/birdy | 63c2d0aacad67569d8d8fc25c9a702d80c69fcd0 | [
"Apache-2.0"
] | null | null | null | birdy/ipyleafletwfs/__init__.py | generic-ci-org/birdy | 63c2d0aacad67569d8d8fc25c9a702d80c69fcd0 | [
"Apache-2.0"
] | null | null | null | birdy/ipyleafletwfs/__init__.py | generic-ci-org/birdy | 63c2d0aacad67569d8d8fc25c9a702d80c69fcd0 | [
"Apache-2.0"
] | null | null | null | from .base import IpyleafletWFS # noqa: F401
| 23 | 45 | 0.76087 | 6 | 46 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.173913 | 46 | 1 | 46 | 46 | 0.842105 | 0.217391 | 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 |
b9704ccc83823e30dd7d981f9cb554824682389f | 1,506 | py | Python | modispds/products.py | matthewhanson/modis-ingestor | c8b903b8ce671a93a40f563103a9ca5264658815 | [
"MIT"
] | 13 | 2017-01-31T16:37:56.000Z | 2020-06-23T19:55:55.000Z | modispds/products.py | matthewhanson/modis-ingestor | c8b903b8ce671a93a40f563103a9ca5264658815 | [
"MIT"
] | 22 | 2017-01-12T19:42:32.000Z | 2021-05-20T16:03:08.000Z | modispds/products.py | matthewhanson/modis-ingestor | c8b903b8ce671a93a40f563103a9ca5264658815 | [
"MIT"
] | 2 | 2018-03-29T23:41:59.000Z | 2019-11-09T00:33:38.000Z | # MODIS product configuration
products = {
'MCD43A4.006': {
'day_offset': 8,
'bandnames':
['B%sqa' % str(i).zfill(2) for i in range(1, 8)] +
['B%s' % str(i).zfill(2) for i in range(1, 8)],
'overviews': ([False] * 7) + ([True] * 7)
},
'MOD09GA.006': {
... | 39.631579 | 129 | 0.476096 | 165 | 1,506 | 4.315152 | 0.30303 | 0.11236 | 0.126404 | 0.05618 | 0.839888 | 0.839888 | 0.839888 | 0.839888 | 0.839888 | 0.839888 | 0 | 0.069573 | 0.284197 | 1,506 | 37 | 130 | 40.702703 | 0.590909 | 0.017928 | 0 | 0.542857 | 0 | 0 | 0.320244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
b97630a00e6adc33ae64fe19a80e87661fe5e653 | 95 | py | Python | bonobo/util/collections.py | winsmith/bonobo | 6fb9f52bec43a23feac2db968dd4315d75d69910 | [
"Apache-2.0"
] | 1 | 2017-11-13T22:29:27.000Z | 2017-11-13T22:29:27.000Z | bonobo/util/collections.py | winsmith/bonobo | 6fb9f52bec43a23feac2db968dd4315d75d69910 | [
"Apache-2.0"
] | null | null | null | bonobo/util/collections.py | winsmith/bonobo | 6fb9f52bec43a23feac2db968dd4315d75d69910 | [
"Apache-2.0"
] | null | null | null | import bisect
class sortedlist(list):
def insort(self, x):
bisect.insort(self, x) | 15.833333 | 30 | 0.652632 | 13 | 95 | 4.769231 | 0.692308 | 0.322581 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 95 | 6 | 30 | 15.833333 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b9842f0f67723d7f51c6780b3d65fd6bc2d06a35 | 49 | py | Python | tiny_router/simple/__init__.py | nekonoshiri/tiny-router | 3bb808bcc9f9eb368ee390179dfc5e9d48cf8600 | [
"MIT"
] | null | null | null | tiny_router/simple/__init__.py | nekonoshiri/tiny-router | 3bb808bcc9f9eb368ee390179dfc5e9d48cf8600 | [
"MIT"
] | null | null | null | tiny_router/simple/__init__.py | nekonoshiri/tiny-router | 3bb808bcc9f9eb368ee390179dfc5e9d48cf8600 | [
"MIT"
] | null | null | null | from .router import SimpleRouter as SimpleRouter
| 24.5 | 48 | 0.857143 | 6 | 49 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.976744 | 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 |
b989e897256092d80485b923222045b9089cd43e | 34 | py | Python | union_find/__init__.py | chanhosuh/algorithms | 82c56cef36d07f7fd441b26f75a932a9fe22a871 | [
"Apache-2.0"
] | 2 | 2019-03-16T06:17:08.000Z | 2020-05-18T16:52:54.000Z | union_find/__init__.py | chanhosuh/algorithms | 82c56cef36d07f7fd441b26f75a932a9fe22a871 | [
"Apache-2.0"
] | null | null | null | union_find/__init__.py | chanhosuh/algorithms | 82c56cef36d07f7fd441b26f75a932a9fe22a871 | [
"Apache-2.0"
] | 1 | 2019-03-16T06:17:17.000Z | 2019-03-16T06:17:17.000Z | from .union_find import UnionFind
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a0c801ddd126aa78b20e3b329d296b46c942008 | 35 | py | Python | project/RealEstateMarketPlace/ml/__init__.py | Mihaaai/RealEstateMarketplace | 9b9fa1376436801303e1ed0207ef09845a7d827e | [
"Apache-2.0"
] | null | null | null | project/RealEstateMarketPlace/ml/__init__.py | Mihaaai/RealEstateMarketplace | 9b9fa1376436801303e1ed0207ef09845a7d827e | [
"Apache-2.0"
] | null | null | null | project/RealEstateMarketPlace/ml/__init__.py | Mihaaai/RealEstateMarketplace | 9b9fa1376436801303e1ed0207ef09845a7d827e | [
"Apache-2.0"
] | null | null | null | from .core import predict, retrain
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a2f027f7aee7f22a6f6f8043a9fdb155b53fb09 | 79 | py | Python | nighres/statistics/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 41 | 2017-08-15T12:23:31.000Z | 2022-02-28T15:12:22.000Z | nighres/statistics/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 130 | 2017-07-27T11:09:09.000Z | 2022-03-31T10:05:07.000Z | nighres/statistics/__init__.py | marcobarilari/nighres | e503bb96a6a73f73020c5d9d7b540bc5f17699a8 | [
"Apache-2.0"
] | 35 | 2017-08-17T17:05:41.000Z | 2022-03-28T12:22:14.000Z | from nighres.statistics.segmentation_statistics import segmentation_statistics
| 39.5 | 78 | 0.924051 | 8 | 79 | 8.875 | 0.625 | 0.619718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 79 | 1 | 79 | 79 | 0.946667 | 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 |
dbdff35d6c96c5426dac89db56b18a1581e559b2 | 40 | py | Python | Lib/test/test_compiler/testcorpus/92_qual_class_in_class.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/92_qual_class_in_class.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/92_qual_class_in_class.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | class Bar:
class Foo:
pass
| 8 | 14 | 0.5 | 5 | 40 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.45 | 40 | 4 | 15 | 10 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e0056d836ba57f9190b40d382cf5d546176a4d40 | 529 | py | Python | tests/core/tests/__init__.py | infoxchange/django-haystack | 5c2dec0da28846eec87a3a5c6166a1734d4245ab | [
"BSD-3-Clause"
] | null | null | null | tests/core/tests/__init__.py | infoxchange/django-haystack | 5c2dec0da28846eec87a3a5c6166a1734d4245ab | [
"BSD-3-Clause"
] | null | null | null | tests/core/tests/__init__.py | infoxchange/django-haystack | 5c2dec0da28846eec87a3a5c6166a1734d4245ab | [
"BSD-3-Clause"
] | 1 | 2021-12-20T15:35:48.000Z | 2021-12-20T15:35:48.000Z | import warnings
warnings.simplefilter('ignore', Warning)
from django.conf import settings
from core.tests.backends import *
from core.tests.fields import *
from core.tests.forms import *
from core.tests.indexes import *
from core.tests.inputs import *
from core.tests.loading import *
from core.tests.models import *
f... | 27.842105 | 44 | 0.795841 | 77 | 529 | 5.454545 | 0.324675 | 0.247619 | 0.402381 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117202 | 529 | 18 | 45 | 29.388889 | 0.899358 | 0 | 0 | 0 | 0 | 0 | 0.011342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9375 | 0 | 0.9375 | 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 |
160c4f07dd837464c1a49ca5ba25162008ad726f | 36,500 | py | Python | code/pngsuite.py | timgates42/pypng | 8fb7553a2813aca05d2e6f1f6c9845916ec5f9f5 | [
"MIT"
] | 329 | 2015-01-20T17:47:53.000Z | 2022-03-20T11:19:45.000Z | code/pngsuite.py | timgates42/pypng | 8fb7553a2813aca05d2e6f1f6c9845916ec5f9f5 | [
"MIT"
] | 69 | 2015-02-02T15:27:02.000Z | 2022-01-16T14:26:28.000Z | code/pngsuite.py | timgates42/pypng | 8fb7553a2813aca05d2e6f1f6c9845916ec5f9f5 | [
"MIT"
] | 92 | 2015-01-25T09:12:00.000Z | 2022-03-07T16:30:09.000Z | #!/usr/bin/env python
# pngsuite.py
# PngSuite Test PNGs.
# https://docs.python.org/3.2/library/argparse.html
import argparse
import sys
"""
After you import this module with "import pngsuite" use
``pngsuite.bai0g01`` to get the bytes for a particular PNG image, or
use ``pngsuite.png`` to get a dict() of them all.
... | 54.640719 | 69 | 0.954247 | 894 | 36,500 | 38.895973 | 0.785235 | 0.004831 | 0.006039 | 0.001208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.630198 | 0.030877 | 36,500 | 667 | 70 | 54.722639 | 0.35284 | 0.017014 | 0 | 0.075806 | 0 | 0 | 0.954613 | 0.926039 | 0 | 1 | 0 | 0 | 0 | 1 | 0.004839 | false | 0 | 0.008065 | 0 | 0.017742 | 0.001613 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
162821a0d3a448f705d0b8d49a8282feba5e46ff | 195 | py | Python | src/tests/fixtures/test_binaries.py | lalyon/python_testbed | be3545de15e7b244ad2c060f11d84ee317532dc7 | [
"MIT"
] | null | null | null | src/tests/fixtures/test_binaries.py | lalyon/python_testbed | be3545de15e7b244ad2c060f11d84ee317532dc7 | [
"MIT"
] | null | null | null | src/tests/fixtures/test_binaries.py | lalyon/python_testbed | be3545de15e7b244ad2c060f11d84ee317532dc7 | [
"MIT"
] | null | null | null | from src.python_testbed.binary_ops import BinaryFile
testBin0 = BinaryFile(filename="src/tests/fixtures/test_input_file.txt")
testBin1 = BinaryFile(filename="src/tests/fixtures/test_image.jpg")
| 39 | 72 | 0.830769 | 27 | 195 | 5.814815 | 0.703704 | 0.229299 | 0.267516 | 0.33121 | 0.484076 | 0.484076 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.05641 | 195 | 4 | 73 | 48.75 | 0.842391 | 0 | 0 | 0 | 0 | 0 | 0.364103 | 0.364103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
1632ccb94a7fa433dac56b1c69adb4ac09a18519 | 37 | py | Python | foliant/preprocessors/superlinks/__init__.py | foliant-docs/foliantcontrib.superlinks | e48215ab6ea083a0b8e5d07bd2ff4bda23ae4ace | [
"MIT"
] | null | null | null | foliant/preprocessors/superlinks/__init__.py | foliant-docs/foliantcontrib.superlinks | e48215ab6ea083a0b8e5d07bd2ff4bda23ae4ace | [
"MIT"
] | 1 | 2020-11-27T12:52:18.000Z | 2020-11-30T08:44:33.000Z | foliant/preprocessors/superlinks/__init__.py | foliant-docs/foliantcontrib.superlinks | e48215ab6ea083a0b8e5d07bd2ff4bda23ae4ace | [
"MIT"
] | null | null | null | from .superlinks import Preprocessor
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
163355b0f041c4423fb75dc19002313bb4d63e77 | 20,200 | py | Python | tests/api/v1_3_3/test_wireless.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 32 | 2019-09-05T05:16:56.000Z | 2022-03-22T09:50:38.000Z | tests/api/v1_3_3/test_wireless.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 35 | 2019-09-07T18:58:54.000Z | 2022-03-24T19:29:36.000Z | tests/api/v1_3_3/test_wireless.py | oboehmer/dnacentersdk | 25c4e99900640deee91a56aa886874d9cb0ca960 | [
"MIT"
] | 18 | 2019-09-09T11:07:21.000Z | 2022-03-25T08:49:59.000Z | # -*- coding: utf-8 -*-
"""DNACenterAPI wireless API fixtures and tests.
Copyright (c) 2019-2021 Cisco Systems.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including with... | 29.618768 | 313 | 0.719703 | 2,296 | 20,200 | 5.993902 | 0.107143 | 0.061038 | 0.037059 | 0.043598 | 0.817396 | 0.810929 | 0.795669 | 0.768202 | 0.711742 | 0.64729 | 0 | 0.014263 | 0.198218 | 20,200 | 681 | 314 | 29.662261 | 0.835453 | 0.05604 | 0 | 0.534517 | 0 | 0 | 0.094958 | 0.023818 | 0 | 0 | 0 | 0 | 0.059172 | 1 | 0.147929 | false | 0.005917 | 0.00789 | 0.001972 | 0.244576 | 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 |
163a9360f610aaf7d8f8adee13178720df8a33ff | 565 | py | Python | bims/models/__init__.py | ann26/django-bims | 410e57d99137aea4146b4a40640f9f5ce03d06c5 | [
"MIT"
] | null | null | null | bims/models/__init__.py | ann26/django-bims | 410e57d99137aea4146b4a40640f9f5ce03d06c5 | [
"MIT"
] | null | null | null | bims/models/__init__.py | ann26/django-bims | 410e57d99137aea4146b4a40640f9f5ce03d06c5 | [
"MIT"
] | null | null | null | from bims.models.location_type import * # noqa
from bims.models.location_site import * # noqa
from bims.models.iucn_status import * # noqa
from bims.models.taxon import * # noqa
from bims.models.survey import * # noqa
from bims.models.location_context import * # noqa
from bims.models.biological_collection_record ... | 43.461538 | 62 | 0.784071 | 80 | 565 | 5.4375 | 0.275 | 0.22069 | 0.386207 | 0.413793 | 0.643678 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138053 | 565 | 12 | 63 | 47.083333 | 0.893224 | 0.086726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1648228f6833f3a59b56fcba7e6d05c61a7fe290 | 20,972 | py | Python | kats/tests/models/test_ensemble.py | utkucanaytac/Kats | 9781615750a2f3b49f16cccf335b5c29fdfd181a | [
"MIT"
] | null | null | null | kats/tests/models/test_ensemble.py | utkucanaytac/Kats | 9781615750a2f3b49f16cccf335b5c29fdfd181a | [
"MIT"
] | null | null | null | kats/tests/models/test_ensemble.py | utkucanaytac/Kats | 9781615750a2f3b49f16cccf335b5c29fdfd181a | [
"MIT"
] | null | null | null | # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# pyre-unsafe
import sys
import unittest
import unittest.mock as mock
from unittest import TestCase
import numpy as np
import pandas as pd... | 36.34662 | 88 | 0.54692 | 1,986 | 20,972 | 5.553877 | 0.128902 | 0.037897 | 0.028286 | 0.031006 | 0.80272 | 0.788486 | 0.769266 | 0.742792 | 0.726927 | 0.711786 | 0 | 0.014875 | 0.355665 | 20,972 | 576 | 89 | 36.409722 | 0.801376 | 0.058793 | 0 | 0.670259 | 0 | 0 | 0.082631 | 0.017663 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.030172 | false | 0.010776 | 0.030172 | 0 | 0.071121 | 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 |
16bf67b47f56d930b8798276d5f1b131660a6a4c | 2,271 | py | Python | .ipython/profile_default/startup/00_imports.py | fn-reflection/dotfiles | cd3b3a7d5aaec7af5c7d4b6fa15a3699b7eb9e01 | [
"Apache-2.0"
] | null | null | null | .ipython/profile_default/startup/00_imports.py | fn-reflection/dotfiles | cd3b3a7d5aaec7af5c7d4b6fa15a3699b7eb9e01 | [
"Apache-2.0"
] | null | null | null | .ipython/profile_default/startup/00_imports.py | fn-reflection/dotfiles | cd3b3a7d5aaec7af5c7d4b6fa15a3699b7eb9e01 | [
"Apache-2.0"
] | null | null | null | # pylint:disable=unused-import
# python standard modules
import ast
import collections
import csv
from datetime import datetime
import glob
import io
import itertools
import json
import math
import os
from pathlib import Path
import pdb
import pickle
import sys
import re
import threading
import time
import traceback
fr... | 16.338129 | 66 | 0.757376 | 257 | 2,271 | 6.669261 | 0.377432 | 0.291715 | 0.33839 | 0.317386 | 0.374562 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000553 | 0.203435 | 2,271 | 138 | 67 | 16.456522 | 0.946932 | 0.087186 | 0 | 0.545455 | 0 | 0 | 0.005327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.181818 | 0.436364 | 0 | 0.436364 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
16d16514371239a94431facc06aa23024f40ae3d | 126 | py | Python | demos-lifelong-transfer/demos-cnn/utils/__init__.py | wangning911/Transferability_Black-Box_Attacks_ning | 8670c73c2cfa8df979760879629820e4a2e5e7ab | [
"MIT"
] | 19 | 2018-08-20T12:15:57.000Z | 2022-02-17T01:53:16.000Z | demos-lifelong-transfer/demos-cnn/utils/__init__.py | wangning911/Transferability_Black-Box_Attacks_ning | 8670c73c2cfa8df979760879629820e4a2e5e7ab | [
"MIT"
] | 1 | 2020-02-29T14:41:45.000Z | 2020-02-29T14:41:45.000Z | demos-lifelong-transfer/demos-cnn/utils/__init__.py | wangning911/Transferability_Black-Box_Attacks_ning | 8670c73c2cfa8df979760879629820e4a2e5e7ab | [
"MIT"
] | 9 | 2018-08-02T10:03:35.000Z | 2020-06-29T14:07:13.000Z | """Useful utils
"""
from .misc import *
from .logger import *
from .eval import *
from .train import *
from .datasets import * | 18 | 23 | 0.698413 | 17 | 126 | 5.176471 | 0.529412 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 126 | 7 | 23 | 18 | 0.846154 | 0.095238 | 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 |
16dc249c3b322ec64599d68fff6bb0e260497489 | 566 | py | Python | kats/detectors/__init__.py | menefotto/Kats | 3fc8a3f819502d45736734eabb3601f42a6b7759 | [
"MIT"
] | 1 | 2021-06-22T03:40:33.000Z | 2021-06-22T03:40:33.000Z | kats/detectors/__init__.py | menefotto/Kats | 3fc8a3f819502d45736734eabb3601f42a6b7759 | [
"MIT"
] | null | null | null | kats/detectors/__init__.py | menefotto/Kats | 3fc8a3f819502d45736734eabb3601f42a6b7759 | [
"MIT"
] | null | null | null | from . import bocpd_model # noqa
from . import bocpd # noqa
from . import changepoint_evaluator # noqa
from . import cusum_detection # noqa
from . import cusum_model # noqa
from . import detector_consts # noqa
from . import detector # noqa
from . import hourly_ratio_detection # noqa
from . import outlier ... | 35.375 | 45 | 0.738516 | 74 | 566 | 5.459459 | 0.310811 | 0.371287 | 0.485149 | 0.170792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208481 | 566 | 15 | 46 | 37.733333 | 0.901786 | 0.130742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
bc6904c32704036c863e3194d05e4732d411efe4 | 39 | py | Python | scripts/field/Ranmaru_ExpeditionEnter.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/field/Ranmaru_ExpeditionEnter.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/field/Ranmaru_ExpeditionEnter.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | sm.spawnMob(9421583, -373, 123, False)
| 19.5 | 38 | 0.717949 | 6 | 39 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 0.102564 | 39 | 1 | 39 | 39 | 0.428571 | 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 |
bc79a100e9ce26da53871c445f8b3e8196ae4f13 | 46,719 | py | Python | py65816/tests/test_db_disassembler_65816_native_16.py | tmr4/py65816 | 00d9a378ebd0e27378c8ce9e6611a7fec0020b44 | [
"BSD-3-Clause"
] | 1 | 2022-02-22T18:04:26.000Z | 2022-02-22T18:04:26.000Z | py65816/tests/test_db_disassembler_65816_native_16.py | tmr4/py65816 | 00d9a378ebd0e27378c8ce9e6611a7fec0020b44 | [
"BSD-3-Clause"
] | null | null | null | py65816/tests/test_db_disassembler_65816_native_16.py | tmr4/py65816 | 00d9a378ebd0e27378c8ce9e6611a7fec0020b44 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import sys
from py65816.devices.mpu65c816 import MPU
from py65816.db_disassembler import dbDisassembler as Disassembler
from py65.utils.addressing import AddressParser
class DisassemblerTests(unittest.TestCase):
def _dont_test_disassemble_wraps_after_top_of_mem(self):
'''
TODO: Th... | 34.995506 | 89 | 0.6367 | 5,451 | 46,719 | 5.356815 | 0.133737 | 0.265068 | 0.185548 | 0.176027 | 0.858356 | 0.507603 | 0.367603 | 0.333151 | 0.294795 | 0.218973 | 0 | 0.071147 | 0.234637 | 46,719 | 1,334 | 90 | 35.021739 | 0.745476 | 0.007085 | 0 | 0.247403 | 0 | 0 | 0.04705 | 0 | 0 | 0 | 0.049165 | 0.00075 | 0.487252 | 1 | 0.245515 | false | 0 | 0.004721 | 0.000944 | 0.253069 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc839851f3a416cabaa73623facb73c6055534cf | 301 | py | Python | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_bop_test/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_bop_test_17_37Scissors.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_bop_test/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_bop_test_17_37Scissors.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_bop_test/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_bop_test_17_37Scissors.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO_bop_test_01_02MasterChefCan.py"
OUTPUT_DIR = (
"output/gdrn/ycbvPbrSO/resnest50d_AugCosyAAEGray_BG05_visib10_mlBCE_DoubleMask_ycbvPbr100e_SO/17_37Scissors"
)
DATASETS = dict(TRAIN=("ycbv_037_scissors_train_pbr",))
| 50.166667 | 114 | 0.870432 | 37 | 301 | 6.378378 | 0.72973 | 0.20339 | 0.237288 | 0.29661 | 0.533898 | 0.533898 | 0.533898 | 0.533898 | 0 | 0 | 0 | 0.101399 | 0.049834 | 301 | 5 | 115 | 60.2 | 0.723776 | 0 | 0 | 0 | 0 | 0 | 0.784053 | 0.784053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc9e176559451ff9cbb6226243d725649c3a8a59 | 36 | py | Python | cogdl/wrappers/model_wrapper/pretraining/__init__.py | li-ziang/cogdl | 60022d3334e3abae2d2a505e6e049a26acf10f39 | [
"MIT"
] | 6 | 2020-07-09T02:48:41.000Z | 2021-06-16T09:04:14.000Z | cogdl/wrappers/model_wrapper/pretraining/__init__.py | li-ziang/cogdl | 60022d3334e3abae2d2a505e6e049a26acf10f39 | [
"MIT"
] | null | null | null | cogdl/wrappers/model_wrapper/pretraining/__init__.py | li-ziang/cogdl | 60022d3334e3abae2d2a505e6e049a26acf10f39 | [
"MIT"
] | 1 | 2020-05-19T11:45:45.000Z | 2020-05-19T11:45:45.000Z | from .gcc_mw import GCCModelWrapper
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bca0784c7f58893754edd759166c071ca2499370 | 133 | py | Python | pype/modules/ftrack/tray/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | pype/modules/ftrack/tray/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | pype/modules/ftrack/tray/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | from .ftrack_module import FtrackModule
def tray_init(tray_widget, main_widget):
return FtrackModule(main_widget, tray_widget)
| 22.166667 | 49 | 0.819549 | 18 | 133 | 5.722222 | 0.611111 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 133 | 5 | 50 | 26.6 | 0.880342 | 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 |
bcf416946db34170d31663ec3bf2c185670a5a86 | 42 | py | Python | cegs_portal/search/views/__init__.py | ReddyLab/cegs-portal | a83703a3557167be328c24bfb866b6aa019ba059 | [
"MIT"
] | null | null | null | cegs_portal/search/views/__init__.py | ReddyLab/cegs-portal | a83703a3557167be328c24bfb866b6aa019ba059 | [
"MIT"
] | null | null | null | cegs_portal/search/views/__init__.py | ReddyLab/cegs-portal | a83703a3557167be328c24bfb866b6aa019ba059 | [
"MIT"
] | null | null | null | from . import v1
from .index import index
| 14 | 24 | 0.761905 | 7 | 42 | 4.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.190476 | 42 | 2 | 25 | 21 | 0.911765 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.