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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b48d1e48469d79d265aa71f034564e6864c4168a | 214 | py | Python | dashboard/params.py | baxpr/dax-opsdashboard | c8146916db1e9382c7ae1e04c8f3021d1d228263 | [
"MIT"
] | null | null | null | dashboard/params.py | baxpr/dax-opsdashboard | c8146916db1e9382c7ae1e04c8f3021d1d228263 | [
"MIT"
] | 1 | 2021-06-24T21:32:13.000Z | 2021-06-24T21:32:13.000Z | dashboard/params.py | baxpr/dax-opsdashboard | c8146916db1e9382c7ae1e04c8f3021d1d228263 | [
"MIT"
] | 1 | 2021-06-23T22:27:22.000Z | 2021-06-23T22:27:22.000Z | SQUEUE_USER = [
'vuiis_archive_singularity',
'vuiis_daily_singularity']
UPLOAD_DIR = [
'/scratch/vuiis_archive_singularity/Spider_Upload_Dir',
'/scratch/vuiis_daily_singularity/Spider_Upload_Dir']
| 26.75 | 59 | 0.771028 | 24 | 214 | 6.291667 | 0.416667 | 0.178808 | 0.304636 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126168 | 214 | 7 | 60 | 30.571429 | 0.807487 | 0 | 0 | 0 | 0 | 0 | 0.700935 | 0.700935 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c33f6f3a52e5d68b004cfd1308a5b1d4cc690642 | 34 | py | Python | EssentialUtils/__init__.py | SimonCapper/RealMenu | fc571335d2604931598865d6d2e4832419d832f5 | [
"MIT"
] | 1 | 2019-05-26T05:32:09.000Z | 2019-05-26T05:32:09.000Z | __init__.py | SimonCapper/EssentialUtils | bd62ca8d38ef7863bf2dfe9a8270d392d05192ab | [
"MIT"
] | null | null | null | __init__.py | SimonCapper/EssentialUtils | bd62ca8d38ef7863bf2dfe9a8270d392d05192ab | [
"MIT"
] | null | null | null |
from .EssentialUtils import eu
| 6.8 | 30 | 0.764706 | 4 | 34 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 4 | 31 | 8.5 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ef19c7f75daf7f30b07d5eb09b9c132e5abeecc | 99 | py | Python | exercises/two-fer/two_fer.py | hesterhawk/python-sandbox | 59b20752d5b869da9e716876477afef3a8577c84 | [
"MIT"
] | null | null | null | exercises/two-fer/two_fer.py | hesterhawk/python-sandbox | 59b20752d5b869da9e716876477afef3a8577c84 | [
"MIT"
] | null | null | null | exercises/two-fer/two_fer.py | hesterhawk/python-sandbox | 59b20752d5b869da9e716876477afef3a8577c84 | [
"MIT"
] | null | null | null | def two_fer(name="you"):
return "One for {}, one for me.".format("you" if "" == name else name) | 49.5 | 74 | 0.606061 | 17 | 99 | 3.470588 | 0.705882 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 2 | 74 | 49.5 | 0.728395 | 0 | 0 | 0 | 0 | 0 | 0.29 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6f093faf112db482c953ca3c9411d4b4c8757d99 | 56 | py | Python | src/server/master/master_api/master_api/__init__.py | dpaola2/djangy | 4b10e681cb49e5c16aba4429dfbfadfd9b512463 | [
"NCSA"
] | 15 | 2015-02-14T02:39:04.000Z | 2021-12-13T14:17:15.000Z | src/server/master/master_api/master_api/__init__.py | ojengwa/djangy | 4b10e681cb49e5c16aba4429dfbfadfd9b512463 | [
"NCSA"
] | null | null | null | src/server/master/master_api/master_api/__init__.py | ojengwa/djangy | 4b10e681cb49e5c16aba4429dfbfadfd9b512463 | [
"NCSA"
] | 11 | 2015-08-07T11:47:02.000Z | 2021-04-29T08:08:24.000Z | from application_api import *
from billing_api import *
| 18.666667 | 29 | 0.821429 | 8 | 56 | 5.5 | 0.625 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 30 | 28 | 0.916667 | 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 |
6f0cfea5274c1b5e6aab396902b8d254af3d0ae6 | 217 | py | Python | fish/pi/rx_controller.py | tarquasso/softroboticfish | b638d1af94919b9098aad11d7705fb0acd25a722 | [
"MIT"
] | 5 | 2019-06-24T20:19:30.000Z | 2021-11-15T15:52:44.000Z | fish/pi/rx_controller.py | tarquasso/softroboticfish | b638d1af94919b9098aad11d7705fb0acd25a722 | [
"MIT"
] | null | null | null | fish/pi/rx_controller.py | tarquasso/softroboticfish | b638d1af94919b9098aad11d7705fb0acd25a722 | [
"MIT"
] | 4 | 2016-03-22T07:57:59.000Z | 2022-01-21T00:49:42.000Z |
print '\n\n*** LAUNCHING RX_CONTROLLER ***'
try:
print 'Trying it with the camera'
import rx_controller_camera
except:
print 'No camera, just launching battery monitor'
import rx_controller_noCamera
| 21.7 | 53 | 0.728111 | 29 | 217 | 5.275862 | 0.62069 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 217 | 9 | 54 | 24.111111 | 0.874286 | 0 | 0 | 0 | 0 | 0 | 0.467593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.285714 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6f753882f87c36dd43e68ca1db5521a749d6f911 | 135 | py | Python | pymontecarlo_gui/__init__.py | pymontecarlo/pymontecarlo-gui | 1b3c37d4b634a85c63f23d27ea8bd79bf5a43a2f | [
"Apache-2.0"
] | null | null | null | pymontecarlo_gui/__init__.py | pymontecarlo/pymontecarlo-gui | 1b3c37d4b634a85c63f23d27ea8bd79bf5a43a2f | [
"Apache-2.0"
] | 2 | 2016-05-16T10:19:56.000Z | 2021-12-29T15:16:20.000Z | pymontecarlo_gui/__init__.py | pymontecarlo/pymontecarlo-gui | 1b3c37d4b634a85c63f23d27ea8bd79bf5a43a2f | [
"Apache-2.0"
] | null | null | null | from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
import pyqttango
from qtpy import QtGui
| 15 | 39 | 0.807407 | 18 | 135 | 5.611111 | 0.5 | 0.326733 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 8 | 40 | 16.875 | 0.863248 | 0 | 0 | 0 | 0 | 0 | 0.051852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48ae9c7bc3d2e7efcbdbab329dbf9e78f4838f26 | 31 | py | Python | pgseqmover/__init__.py | levkk/pg-sequence-increaser | 28692b1849005e1c69c28590ee717746053c482c | [
"MIT"
] | null | null | null | pgseqmover/__init__.py | levkk/pg-sequence-increaser | 28692b1849005e1c69c28590ee717746053c482c | [
"MIT"
] | null | null | null | pgseqmover/__init__.py | levkk/pg-sequence-increaser | 28692b1849005e1c69c28590ee717746053c482c | [
"MIT"
] | null | null | null | from .main import cli, VERSION
| 15.5 | 30 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48fb549eb83d63793503e93bac30302774f9a507 | 933 | py | Python | scratchconnect/Exceptions.py | Mbrick2/scratchconnect | a040ccbe089ba3b2f930f7a42a67ef9c2ae0a8f8 | [
"MIT"
] | null | null | null | scratchconnect/Exceptions.py | Mbrick2/scratchconnect | a040ccbe089ba3b2f930f7a42a67ef9c2ae0a8f8 | [
"MIT"
] | null | null | null | scratchconnect/Exceptions.py | Mbrick2/scratchconnect | a040ccbe089ba3b2f930f7a42a67ef9c2ae0a8f8 | [
"MIT"
] | null | null | null | """
The Exceptions File
"""
class InvalidInfo(Exception):
"""
Raised when the username or password is invalid
"""
pass
class InvalidUser(Exception):
"""
Raised when the username is invalid
"""
pass
class InvalidStudio(Exception):
"""
Raised when the stu... | 15.813559 | 75 | 0.594855 | 92 | 933 | 6.032609 | 0.423913 | 0.216216 | 0.273874 | 0.277477 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004739 | 0.321543 | 933 | 58 | 76 | 16.086207 | 0.872038 | 0.385852 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.466667 | 0 | 0 | 0.533333 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
d2cac816d9bb07ceca1c164c0ede7a60f43ba7a7 | 35 | py | Python | energypy/agent/__init__.py | ADGEfficiency/energy-py | dfe954aeaebac1b803a88b2439f00d51a38bc4f7 | [
"MIT"
] | 100 | 2018-09-14T07:58:56.000Z | 2022-02-24T08:58:36.000Z | energypy/agent/__init__.py | ADGEfficiency/energy-py | dfe954aeaebac1b803a88b2439f00d51a38bc4f7 | [
"MIT"
] | 26 | 2018-09-13T00:10:54.000Z | 2022-02-09T23:29:47.000Z | energypy/agent/__init__.py | ADGEfficiency/energy-py | dfe954aeaebac1b803a88b2439f00d51a38bc4f7 | [
"MIT"
] | 19 | 2018-11-12T11:52:25.000Z | 2021-12-08T12:41:47.000Z | from energypy.agent.alpha import *
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 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 |
d2d988074b5599b7d2d6f246736bcd31785b1898 | 93 | py | Python | lib/utils/__init__.py | yandex-research/graph-glove | 62d47e9176a65d01cb9d5961eb257d6a5ff52ba7 | [
"Apache-2.0"
] | 37 | 2020-10-14T10:03:00.000Z | 2021-11-08T10:39:40.000Z | lib/utils/__init__.py | yandex-research/graph-glove | 62d47e9176a65d01cb9d5961eb257d6a5ff52ba7 | [
"Apache-2.0"
] | 1 | 2021-02-01T19:10:13.000Z | 2021-02-18T18:50:26.000Z | lib/utils/__init__.py | yandex-research/graph-glove | 62d47e9176a65d01cb9d5961eb257d6a5ff52ba7 | [
"Apache-2.0"
] | 5 | 2020-10-12T09:21:27.000Z | 2021-04-16T19:00:36.000Z | from .data import *
from .tensor import *
from .job_server import *
from .threading import *
| 18.6 | 25 | 0.741935 | 13 | 93 | 5.230769 | 0.538462 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 4 | 26 | 23.25 | 0.883117 | 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 |
d2f522d7970e453308b9849b4a9bef9312a43890 | 32 | py | Python | build/lib/abp/adaptives/q_table/__init__.py | LinearZoetrope/abp | 2459c1b4d77606c1d70715ce8378d738ba102f37 | [
"MIT"
] | null | null | null | build/lib/abp/adaptives/q_table/__init__.py | LinearZoetrope/abp | 2459c1b4d77606c1d70715ce8378d738ba102f37 | [
"MIT"
] | 9 | 2018-11-14T23:35:05.000Z | 2019-05-22T18:31:30.000Z | build/lib/abp/adaptives/q_table/__init__.py | Zaerei/abp | 2459c1b4d77606c1d70715ce8378d738ba102f37 | [
"MIT"
] | 1 | 2018-11-14T22:34:09.000Z | 2018-11-14T22:34:09.000Z | from .adaptive import QAdaptive
| 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 |
d2fce9e32ea3f8a32903f2413d9bd2eafdefe617 | 69 | py | Python | pyTekMSO/__init__.py | lamermoon/libTekMSO | 2589be6d1ef9848803b80f40d9e41eac1c709f33 | [
"MIT"
] | 3 | 2021-02-03T20:38:19.000Z | 2021-11-26T11:16:37.000Z | pyTekMSO/__init__.py | lamermoon/libTekMSO | 2589be6d1ef9848803b80f40d9e41eac1c709f33 | [
"MIT"
] | null | null | null | pyTekMSO/__init__.py | lamermoon/libTekMSO | 2589be6d1ef9848803b80f40d9e41eac1c709f33 | [
"MIT"
] | 2 | 2021-02-16T13:52:35.000Z | 2021-11-26T11:17:44.000Z | from pyTekMSO.pyTekMSO import *
from pyTekMSO.pyTekMSOConst import *
| 23 | 36 | 0.826087 | 8 | 69 | 7.125 | 0.5 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 37 | 34.5 | 0.934426 | 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 |
960456f24a15f518ad6b20128cc473b3553d60aa | 40 | py | Python | prng.py | jypark0407/prng | d1c99be3f50ef2fcdf78e5efd17f0c7922c3a47e | [
"MIT"
] | null | null | null | prng.py | jypark0407/prng | d1c99be3f50ef2fcdf78e5efd17f0c7922c3a47e | [
"MIT"
] | null | null | null | prng.py | jypark0407/prng | d1c99be3f50ef2fcdf78e5efd17f0c7922c3a47e | [
"MIT"
] | null | null | null | import random
print(random.random())
| 8 | 22 | 0.725 | 5 | 40 | 5.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 4 | 23 | 10 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
82914ae2605681e841d138d3744aed3fc3b81840 | 86 | py | Python | pymtl3/passes/backends/verilog/translation/structural/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 152 | 2020-06-03T02:34:11.000Z | 2022-03-30T04:16:45.000Z | pymtl3/passes/backends/verilog/translation/structural/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 139 | 2019-05-29T00:37:09.000Z | 2020-05-17T16:49:26.000Z | pymtl3/passes/backends/verilog/translation/structural/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 22 | 2020-05-18T13:42:05.000Z | 2022-03-11T08:37:51.000Z | from .VStructuralTranslatorL4 import VStructuralTranslatorL4 as VStructuralTranslator
| 43 | 85 | 0.918605 | 6 | 86 | 13.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.069767 | 86 | 1 | 86 | 86 | 0.9625 | 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 |
82b4627092e8b07ae503823aedbc620776d48bc6 | 315 | py | Python | survey/experiments/__init__.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | 2 | 2021-04-10T21:50:36.000Z | 2022-03-26T16:46:52.000Z | survey/experiments/__init__.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | 11 | 2020-08-30T18:47:14.000Z | 2021-09-09T15:57:19.000Z | survey/experiments/__init__.py | vahndi/quant-survey | 1a0fcf0c22e2c7306cba0218f82d24c97d28ee1f | [
"MIT"
] | null | null | null | from survey.experiments._abstract.experiment import Experiment
from survey.experiments.attribute_to_question_experiment import AttributeToQuestionExperiment
from survey.experiments.experiment_result import ExperimentResult
from survey.experiments.question_to_question_experiment import QuestionToQuestionExperiment
| 63 | 93 | 0.920635 | 32 | 315 | 8.8125 | 0.40625 | 0.141844 | 0.297872 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050794 | 315 | 4 | 94 | 78.75 | 0.943144 | 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 |
7d7f05eb617ca39ea2ad0e9a67eb9252fab229d2 | 38 | py | Python | configs/__init__.py | Huanzhuo/Y-Net | ebc55c9b2ed85e5d37ca03c619f081b8b771b4df | [
"MIT"
] | 3 | 2020-11-21T09:13:38.000Z | 2021-05-07T12:17:58.000Z | configs/__init__.py | Huanzhuo/Y-Net | ebc55c9b2ed85e5d37ca03c619f081b8b771b4df | [
"MIT"
] | null | null | null | configs/__init__.py | Huanzhuo/Y-Net | ebc55c9b2ed85e5d37ca03c619f081b8b771b4df | [
"MIT"
] | null | null | null | from configs.defaults import _C as cfg | 38 | 38 | 0.842105 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7da448545e900c71c9a477427038d1fd8f6a0586 | 39,946 | py | Python | plots/correlation.py | Th3Et3rnalz/HackDelft-Optiver | c0494ffa0a775ab708cc77baaf16d158154cb2e6 | [
"MIT"
] | null | null | null | plots/correlation.py | Th3Et3rnalz/HackDelft-Optiver | c0494ffa0a775ab708cc77baaf16d158154cb2e6 | [
"MIT"
] | null | null | null | plots/correlation.py | Th3Et3rnalz/HackDelft-Optiver | c0494ffa0a775ab708cc77baaf16d158154cb2e6 | [
"MIT"
] | null | null | null | import numpy as np
np.set_printoptions(linewidth=200)
import matplotlib.pyplot as plt
xs = [-0.36585365853658536, -0.6202290076335878, 0.2167577413479053, -0.7378290659935088, 0.25870646766169153, 0.3506156837329877, -0.04157303370786517, 0.27793103448275863, -0.48466257668711654, 0.665891472868217, -0.213379973764757... | 1,141.314286 | 31,003 | 0.742828 | 6,173 | 39,946 | 4.803661 | 0.252227 | 0.14609 | 0.191009 | 0.219742 | 0.112231 | 0.111793 | 0.109905 | 0.109028 | 0.10778 | 0.105757 | 0 | 0.790664 | 0.078706 | 39,946 | 34 | 31,004 | 1,174.882353 | 0.015081 | 0 | 0 | 0 | 0 | 0 | 0.003079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.033333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7db596b4ef6d698f1df030cc800995cc25a68795 | 359 | py | Python | models/registry.py | vcowwy/CvT_paddle | de8c28fbbc83e2c6c2479d44971020b15e7b12ec | [
"MIT"
] | null | null | null | models/registry.py | vcowwy/CvT_paddle | de8c28fbbc83e2c6c2479d44971020b15e7b12ec | [
"MIT"
] | null | null | null | models/registry.py | vcowwy/CvT_paddle | de8c28fbbc83e2c6c2479d44971020b15e7b12ec | [
"MIT"
] | null | null | null | _model_entrypoints = {}
def register_model(fn):
module_name_split = fn.__module__.split('.')
model_name = module_name_split[-1]
_model_entrypoints[model_name] = fn
return fn
def model_entrypoints(model_name):
return _model_entrypoints[model_name]
def is_model(model_name):
re... | 21.117647 | 49 | 0.718663 | 46 | 359 | 5.065217 | 0.26087 | 0.23176 | 0.270386 | 0.321888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 0.200557 | 359 | 16 | 50 | 22.4375 | 0.808362 | 0 | 0 | 0 | 0 | 0 | 0.002915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7deeb2a5df065c9315c1f3f3dc16a62b7fa0d749 | 31 | py | Python | hyperbox/networks/repnas/__init__.py | marsggbo/hyperbox | 91dcd04ad30164bcb12209d818df18961fa3f347 | [
"MIT"
] | 1 | 2022-01-17T00:34:14.000Z | 2022-01-17T00:34:14.000Z | hyperbox/networks/repnas/__init__.py | marsggbo/hyperbox | 91dcd04ad30164bcb12209d818df18961fa3f347 | [
"MIT"
] | null | null | null | hyperbox/networks/repnas/__init__.py | marsggbo/hyperbox | 91dcd04ad30164bcb12209d818df18961fa3f347 | [
"MIT"
] | null | null | null | from .repnas_spos import RepNAS | 31 | 31 | 0.870968 | 5 | 31 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81778cc90d5d02a58eb620a1885f00b3a6f8272e | 16,765 | py | Python | hmm.py | mitenjain/protpore | 06b779473c4bf9f9c8c4305aa08873ae75386886 | [
"MIT"
] | null | null | null | hmm.py | mitenjain/protpore | 06b779473c4bf9f9c8c4305aa08873ae75386886 | [
"MIT"
] | null | null | null | hmm.py | mitenjain/protpore | 06b779473c4bf9f9c8c4305aa08873ae75386886 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Contact: Hannah Meyers
# hlmeyers@ucsc.edu
# hmm.py
'''
This module serves as a collection for two of the HMMs built for modeling nanopore protein data.
HMMs must be written using Yet Another Hidden Markov Model (yahmm) package. When adding a new
HMM to the list, please follow ... | 45.557065 | 147 | 0.542559 | 2,004 | 16,765 | 4.469561 | 0.141218 | 0.065312 | 0.078374 | 0.03394 | 0.74813 | 0.724908 | 0.711734 | 0.704142 | 0.704142 | 0.704142 | 0 | 0.019181 | 0.371846 | 16,765 | 367 | 148 | 45.681199 | 0.831355 | 0.328601 | 0 | 0.700565 | 0 | 0 | 0.021996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.011299 | 0 | 0.045198 | 0.00565 | 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 |
819b24f3f04b092ce4e42a70fc151eae016c6e28 | 122 | py | Python | monitoring/apps/url_store/admin.py | DemocracyClub/monitoring | 33d25130c83206a8b6b2a4279b5fd898a236ccc8 | [
"BSD-3-Clause"
] | 1 | 2017-11-15T06:00:58.000Z | 2017-11-15T06:00:58.000Z | monitoring/apps/url_store/admin.py | DemocracyClub/monitoring | 33d25130c83206a8b6b2a4279b5fd898a236ccc8 | [
"BSD-3-Clause"
] | null | null | null | monitoring/apps/url_store/admin.py | DemocracyClub/monitoring | 33d25130c83206a8b6b2a4279b5fd898a236ccc8 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
import models
admin.site.register(models.URL)
admin.site.register(models.URLDownload)
| 15.25 | 39 | 0.819672 | 17 | 122 | 5.882353 | 0.588235 | 0.18 | 0.34 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 122 | 7 | 40 | 17.428571 | 0.900901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
81e619311a4d5e37ca10789bdfedb69294752a98 | 3,609 | py | Python | tests/relationships/test_chained_join.py | jarkkorantala/sqlalchemy-utils | 7cee65f0a3074245b853425e19a732aa274bfa3e | [
"BSD-3-Clause"
] | 879 | 2015-01-01T12:06:35.000Z | 2022-03-27T16:13:05.000Z | tests/relationships/test_chained_join.py | jarkkorantala/sqlalchemy-utils | 7cee65f0a3074245b853425e19a732aa274bfa3e | [
"BSD-3-Clause"
] | 418 | 2015-01-02T08:43:43.000Z | 2022-03-25T15:49:21.000Z | tests/relationships/test_chained_join.py | jarkkorantala/sqlalchemy-utils | 7cee65f0a3074245b853425e19a732aa274bfa3e | [
"BSD-3-Clause"
] | 295 | 2015-01-06T14:19:33.000Z | 2022-03-26T16:20:50.000Z | import pytest
from sqlalchemy_utils.relationships import chained_join
from ..mixins import (
ThreeLevelDeepManyToMany,
ThreeLevelDeepOneToMany,
ThreeLevelDeepOneToOne
)
@pytest.mark.usefixtures('postgresql_dsn')
class TestChainedJoinFoDeepToManyToMany(ThreeLevelDeepManyToMany):
def test_simple_join... | 33.728972 | 79 | 0.642006 | 353 | 3,609 | 6.263456 | 0.110482 | 0.113071 | 0.07327 | 0.06332 | 0.810041 | 0.796472 | 0.778833 | 0.74265 | 0.718227 | 0.718227 | 0 | 0 | 0.28041 | 3,609 | 106 | 80 | 34.04717 | 0.851367 | 0 | 0 | 0.561798 | 0 | 0 | 0.315323 | 0.119147 | 0 | 0 | 0 | 0 | 0.101124 | 1 | 0.101124 | false | 0 | 0.033708 | 0 | 0.168539 | 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 |
c4a0e4a03d7cc7ec50bca6bbd223fba73c8c1fdb | 125 | py | Python | surrol/const.py | rokas-bendikas/SurRoL | 4b347469c61ea2893e67062ac5be630f088e01bc | [
"MIT"
] | 32 | 2021-08-31T17:55:00.000Z | 2022-03-25T11:22:26.000Z | surrol/const.py | rokas-bendikas/SurRoL | 4b347469c61ea2893e67062ac5be630f088e01bc | [
"MIT"
] | 2 | 2021-09-20T16:48:40.000Z | 2022-03-14T05:59:17.000Z | surrol/const.py | rokas-bendikas/SurRoL | 4b347469c61ea2893e67062ac5be630f088e01bc | [
"MIT"
] | 11 | 2021-09-01T06:50:05.000Z | 2022-03-01T03:08:38.000Z | import os
ROOT_DIR_PATH = os.path.abspath(os.path.dirname(__file__))
ASSET_DIR_PATH = os.path.join(ROOT_DIR_PATH, 'assets')
| 25 | 58 | 0.784 | 22 | 125 | 4 | 0.5 | 0.238636 | 0.25 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 125 | 4 | 59 | 31.25 | 0.765217 | 0 | 0 | 0 | 0 | 0 | 0.048 | 0 | 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 |
c4b72bfb785c9cc3ac1db8646dfad266f3e0211b | 320 | py | Python | python.io/example-zht-xin.py | cnzht/grit | eab457a0a9b216f5a6026669095b8126bf8a9e1d | [
"MIT"
] | 1 | 2018-04-04T09:26:21.000Z | 2018-04-04T09:26:21.000Z | python.io/example-zht-xin.py | cnzht/grit | eab457a0a9b216f5a6026669095b8126bf8a9e1d | [
"MIT"
] | null | null | null | python.io/example-zht-xin.py | cnzht/grit | eab457a0a9b216f5a6026669095b8126bf8a9e1d | [
"MIT"
] | null | null | null | #-*-coding:utf-8-*-
#zidingyi.py
from turtle import *
pensize(10)
pencolor("red")
circle(100,55)
circle(100,55)
circle(50,35)
circle(50,30)
circle(50,25)
circle(60,20)
fd(10)
penup()
goto(0,0)
pendown()
seth(360)
circle(100,-55)
circle(100,-55)
circle(50,-35)
circle(50,-30)
circle(50,-25)
circle(60,-20)
fd(-10)
done()
| 12.8 | 20 | 0.678125 | 60 | 320 | 3.616667 | 0.483333 | 0.221198 | 0.202765 | 0.313364 | 0.608295 | 0.608295 | 0.608295 | 0.608295 | 0.608295 | 0.608295 | 0 | 0.21843 | 0.084375 | 320 | 24 | 21 | 13.333333 | 0.522184 | 0.090625 | 0 | 0.181818 | 0 | 0 | 0.010381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2056ae76f6a160719c860cbb86ff1639a1ce9dd | 105 | py | Python | tests/conftest.py | ManoharSai2000/easy-transformers | 9f10bcf469ff30093e3af763eaca066740fb1795 | [
"Apache-2.0"
] | 8 | 2021-09-21T15:19:32.000Z | 2022-02-09T09:31:55.000Z | tests/conftest.py | ManoharSai2000/easy-transformers | 9f10bcf469ff30093e3af763eaca066740fb1795 | [
"Apache-2.0"
] | 2 | 2021-11-03T08:12:53.000Z | 2022-02-05T07:04:17.000Z | tests/conftest.py | ManoharSai2000/easy-transformers | 9f10bcf469ff30093e3af763eaca066740fb1795 | [
"Apache-2.0"
] | 1 | 2022-02-04T05:23:53.000Z | 2022-02-04T05:23:53.000Z | import pytest
@pytest.fixture
def model_name():
return "cardiffnlp/twitter-roberta-base-sentiment"
| 15 | 54 | 0.771429 | 13 | 105 | 6.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 6 | 55 | 17.5 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.390476 | 0.390476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
f2075a678f32020f8f69e48e9f1b0e5084ecb94b | 154 | py | Python | news/admin.py | alcibiadesBustillo/djangoRest_WebScrapping | 4e9ec30660e24a3a05a19ec8b039df11f6b8304b | [
"MIT"
] | null | null | null | news/admin.py | alcibiadesBustillo/djangoRest_WebScrapping | 4e9ec30660e24a3a05a19ec8b039df11f6b8304b | [
"MIT"
] | null | null | null | news/admin.py | alcibiadesBustillo/djangoRest_WebScrapping | 4e9ec30660e24a3a05a19ec8b039df11f6b8304b | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import News
@admin.register(News)
class NewsAdmin(admin.ModelAdmin):
pass | 19.25 | 34 | 0.779221 | 21 | 154 | 5.714286 | 0.666667 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 154 | 8 | 35 | 19.25 | 0.909091 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
487e8f08d3a2592a7336b485f644616e52e4d6f1 | 18,602 | py | Python | tests/rdkit_postgresql/test_reaction.py | mikolajfeliks/razi | c621696e49f12e5f412f9587f72a4360e20bbeb8 | [
"MIT"
] | 22 | 2015-03-07T14:39:50.000Z | 2022-01-24T03:35:14.000Z | tests/rdkit_postgresql/test_reaction.py | mikolajfeliks/razi | c621696e49f12e5f412f9587f72a4360e20bbeb8 | [
"MIT"
] | 6 | 2015-03-07T16:33:47.000Z | 2022-02-10T09:19:51.000Z | tests/rdkit_postgresql/test_reaction.py | mikolajfeliks/razi | c621696e49f12e5f412f9587f72a4360e20bbeb8 | [
"MIT"
] | 7 | 2015-03-07T14:41:56.000Z | 2022-01-24T03:36:10.000Z | import os
import unittest
from sqlalchemy import MetaData
from sqlalchemy import select, func, bindparam
from sqlalchemy import Table, Column, Integer, Index
from rdkit.Chem import AllChem as Chem
from razi.rdkit_postgresql.types import Reaction
from .database import engine
sys_metadata = MetaData(engine)
pg_sett... | 34.321033 | 150 | 0.530481 | 2,230 | 18,602 | 4.304933 | 0.081166 | 0.044375 | 0.04625 | 0.0525 | 0.892917 | 0.874792 | 0.864063 | 0.858021 | 0.837708 | 0.81 | 0 | 0.083037 | 0.319589 | 18,602 | 541 | 151 | 34.384473 | 0.675437 | 0.009246 | 0 | 0.622472 | 0 | 0.042697 | 0.212472 | 0.097634 | 0 | 0 | 0 | 0 | 0.116854 | 1 | 0.008989 | false | 0 | 0.017978 | 0 | 0.031461 | 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 |
6f8cc8f847e72f3d3682692cffefce6d429cfbc7 | 27 | py | Python | FreeCodeCamp/Scientific Computing with Python/Python for Everybody/00/first.py | saulpaiva/Code | 3c6591da52ccf40565ed0a4e857e83e7f643b72d | [
"MIT"
] | 1 | 2021-09-29T01:26:29.000Z | 2021-09-29T01:26:29.000Z | FreeCodeCamp/Scientific Computing with Python/Python for Everybody/00/first.py | saulpaiva/Code | 3c6591da52ccf40565ed0a4e857e83e7f643b72d | [
"MIT"
] | null | null | null | FreeCodeCamp/Scientific Computing with Python/Python for Everybody/00/first.py | saulpaiva/Code | 3c6591da52ccf40565ed0a4e857e83e7f643b72d | [
"MIT"
] | null | null | null | print('Hello from a file')
| 13.5 | 26 | 0.703704 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6fbc85144500b55ad2bd331e17871d72f29b75b8 | 244 | py | Python | torchmeta/utils/__init__.py | taconite/MetaAvatar-release | c9403a478ee82232633d25f65f108befd21d04e9 | [
"MIT"
] | 60 | 2021-12-06T03:28:26.000Z | 2022-03-23T20:45:11.000Z | torchmeta/utils/__init__.py | taconite/MetaAvatar-release | c9403a478ee82232633d25f65f108befd21d04e9 | [
"MIT"
] | 2 | 2022-01-13T14:27:51.000Z | 2022-03-03T05:17:45.000Z | torchmeta/utils/__init__.py | taconite/MetaAvatar-release | c9403a478ee82232633d25f65f108befd21d04e9 | [
"MIT"
] | 7 | 2021-12-07T09:25:06.000Z | 2022-02-25T04:53:41.000Z | from torchmeta.utils import data
from torchmeta.utils.metrics import hardness_metric
from torchmeta.utils.prototype import get_num_samples, get_prototypes, prototypical_loss
from torchmeta.utils.gradient_based import gradient_update_parameters
| 48.8 | 88 | 0.889344 | 33 | 244 | 6.333333 | 0.575758 | 0.248804 | 0.344498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07377 | 244 | 4 | 89 | 61 | 0.924779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fc6d7bd51e56b7103f29c2214511006b20ded8d | 583 | py | Python | test/test_metrics.py | SlinkoIgor/setka | 70e9bda226ca924be9ba0a83e3f7aeff7884698c | [
"MIT"
] | null | null | null | test/test_metrics.py | SlinkoIgor/setka | 70e9bda226ca924be9ba0a83e3f7aeff7884698c | [
"MIT"
] | null | null | null | test/test_metrics.py | SlinkoIgor/setka | 70e9bda226ca924be9ba0a83e3f7aeff7884698c | [
"MIT"
] | null | null | null | import torch
def tensor_loss(output, input):
return torch.nn.functional.cross_entropy(output, input[1])
def const(output, input):
return 1.0, 1.0
def tensor_acc(output, input):
n_correct = (output.argmax(dim=1) == input[1]).float().sum()
return n_correct, input[1].numel()
def list_loss(output, input... | 25.347826 | 64 | 0.703259 | 90 | 583 | 4.411111 | 0.288889 | 0.221662 | 0.256927 | 0.231738 | 0.36272 | 0.36272 | 0.36272 | 0 | 0 | 0 | 0 | 0.020161 | 0.149228 | 583 | 23 | 65 | 25.347826 | 0.780242 | 0 | 0 | 0 | 0 | 0 | 0.010274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0 | 0.0625 | 0.375 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6fdc7d17165d9f0412b5b66b2c176e61526680b3 | 19,233 | py | Python | st2common/tests/unit/test_shell_action_system_model.py | kkkanil/st2 | 07cd195d7a6e177a37dd019e5c9ab8329259d0fa | [
"Apache-2.0"
] | null | null | null | st2common/tests/unit/test_shell_action_system_model.py | kkkanil/st2 | 07cd195d7a6e177a37dd019e5c9ab8329259d0fa | [
"Apache-2.0"
] | 15 | 2021-02-11T22:58:54.000Z | 2021-08-06T18:03:47.000Z | st2common/tests/unit/test_shell_action_system_model.py | kkkanil/st2 | 07cd195d7a6e177a37dd019e5c9ab8329259d0fa | [
"Apache-2.0"
] | 1 | 2021-07-10T15:02:29.000Z | 2021-07-10T15:02:29.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 The StackStorm Authors.
# Copyright 2019 Extreme Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses... | 38.933198 | 92 | 0.57261 | 1,995 | 19,233 | 5.311779 | 0.129825 | 0.033123 | 0.04171 | 0.047183 | 0.785317 | 0.757762 | 0.739738 | 0.731717 | 0.70067 | 0.689818 | 0 | 0.011488 | 0.307544 | 19,233 | 493 | 93 | 39.01217 | 0.784202 | 0.089118 | 0 | 0.713178 | 0 | 0.01292 | 0.172505 | 0.007212 | 0 | 0 | 0 | 0 | 0.074935 | 1 | 0.02584 | false | 0.018088 | 0.031008 | 0 | 0.064599 | 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 |
b501a92466ad8b13f757fb85ef5ed75e965519a0 | 197 | py | Python | game/assets/powerups/__init__.py | Hagesjo/bomberman-server | fcc5fa7576227e0470bd18875de65784fd618bb6 | [
"MIT"
] | 1 | 2017-12-22T08:01:52.000Z | 2017-12-22T08:01:52.000Z | game/assets/powerups/__init__.py | Hagesjo/bomberman-server | fcc5fa7576227e0470bd18875de65784fd618bb6 | [
"MIT"
] | 7 | 2016-12-30T23:58:52.000Z | 2017-12-17T14:13:59.000Z | game/assets/powerups/__init__.py | Hagesjo/bomberman-server | fcc5fa7576227e0470bd18875de65784fd618bb6 | [
"MIT"
] | 1 | 2018-06-06T03:34:57.000Z | 2018-06-06T03:34:57.000Z | from .extra_bomb import ExtraBomb
from .increase_power import IncreasePower
from .powerup import Powerup
from .push_bomb import PushBomb
def all():
return [ExtraBomb, IncreasePower, PushBomb]
| 24.625 | 47 | 0.807107 | 25 | 197 | 6.24 | 0.56 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137056 | 197 | 7 | 48 | 28.142857 | 0.917647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.666667 | 0.166667 | 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 |
d23f66188d34f74b48e554869fd1391981172417 | 26 | py | Python | plugins/extract_toc/__init__.py | bytefish/bytefish.de | f7afb6d8147a0ba341e2020c8f57004e57eea96d | [
"MIT"
] | 29 | 2016-11-29T15:50:52.000Z | 2022-01-24T01:45:17.000Z | plugins/extract_toc/__init__.py | bytefish/bytefish.de | f7afb6d8147a0ba341e2020c8f57004e57eea96d | [
"MIT"
] | 43 | 2018-04-02T14:22:00.000Z | 2021-11-20T09:54:16.000Z | plugins/extract_toc/__init__.py | bytefish/bytefish.de | f7afb6d8147a0ba341e2020c8f57004e57eea96d | [
"MIT"
] | 20 | 2017-02-18T03:54:02.000Z | 2021-09-17T03:22:44.000Z | from .extract_toc import * | 26 | 26 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
d27669908cf9beff1f6bda82e8da75ab25f384a1 | 23 | py | Python | solutions/__init__.py | zmatteson/leetcode | 5e982227421d5ada7736068f03529ee69df01400 | [
"MIT"
] | null | null | null | solutions/__init__.py | zmatteson/leetcode | 5e982227421d5ada7736068f03529ee69df01400 | [
"MIT"
] | null | null | null | solutions/__init__.py | zmatteson/leetcode | 5e982227421d5ada7736068f03529ee69df01400 | [
"MIT"
] | null | null | null | from solutions import * | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9639085e7a0e847ca5b62f92b293ddc77346db38 | 68 | py | Python | features/util.py | joemfox/ray-tracer-challenge | 5391571045a843b3c54a39495549cdd8acdad10d | [
"MIT"
] | null | null | null | features/util.py | joemfox/ray-tracer-challenge | 5391571045a843b3c54a39495549cdd8acdad10d | [
"MIT"
] | null | null | null | features/util.py | joemfox/ray-tracer-challenge | 5391571045a843b3c54a39495549cdd8acdad10d | [
"MIT"
] | null | null | null | def equals(a, b, EPSILON = 0.00001):
return abs(a - b) < EPSILON | 34 | 36 | 0.617647 | 12 | 68 | 3.5 | 0.75 | 0.095238 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0.220588 | 68 | 2 | 37 | 34 | 0.679245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
96470b742ab37b9b9d079f2845f6b972066bb97e | 69 | py | Python | tests/numpy/core/numeric.py | CJ-Wright-Citadel/symbol-exporter | a7b720b2f19ddce51ee743f1ce7a61b0cb38ee15 | [
"BSD-3-Clause"
] | 2 | 2021-04-26T22:59:32.000Z | 2021-11-10T18:42:07.000Z | tests/numpy/core/numeric.py | CJ-Wright-Citadel/symbol-exporter | a7b720b2f19ddce51ee743f1ce7a61b0cb38ee15 | [
"BSD-3-Clause"
] | 81 | 2021-01-29T17:17:24.000Z | 2021-09-27T23:10:27.000Z | tests/numpy/core/numeric.py | CJ-Wright-Citadel/symbol-exporter | a7b720b2f19ddce51ee743f1ce7a61b0cb38ee15 | [
"BSD-3-Clause"
] | 8 | 2021-01-29T23:30:28.000Z | 2021-08-05T02:24:53.000Z | def ones(n):
return [1] * n
def absolute(n):
return abs(n)
| 9.857143 | 18 | 0.550725 | 12 | 69 | 3.166667 | 0.583333 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.289855 | 69 | 6 | 19 | 11.5 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9652d90334fc1f1ab65bf069422fc0346fbeb337 | 102 | py | Python | ariadne_django/auth/decorators/__init__.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 34 | 2021-04-08T15:36:14.000Z | 2022-03-22T14:30:28.000Z | ariadne_django/auth/decorators/__init__.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 34 | 2021-04-08T02:17:25.000Z | 2022-03-22T12:25:41.000Z | ariadne_django/auth/decorators/__init__.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 11 | 2021-04-08T16:47:36.000Z | 2022-03-26T23:25:39.000Z | from .login_is_required import login_required
from .permission_is_required import permission_required
| 34 | 55 | 0.901961 | 14 | 102 | 6.142857 | 0.428571 | 0.232558 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 56 | 51 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
965862a2e7a222a0fac93bad4cede9a434791a2c | 3,711 | py | Python | test/integration/045_test_severity_tests/test_severity.py | tomasfarias/dbt-core | ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3 | [
"Apache-2.0"
] | 3,156 | 2017-03-05T09:59:23.000Z | 2021-06-30T01:27:52.000Z | test/integration/045_test_severity_tests/test_severity.py | tomasfarias/dbt-core | ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3 | [
"Apache-2.0"
] | 2,608 | 2017-02-27T15:39:40.000Z | 2021-06-30T01:49:20.000Z | test/integration/045_test_severity_tests/test_severity.py | tomasfarias/dbt-core | ed5df342ca5d99c5e6971ee6d11c8cf3e6e263b3 | [
"Apache-2.0"
] | 693 | 2017-03-13T03:04:49.000Z | 2021-06-25T15:57:41.000Z | from test.integration.base import DBTIntegrationTest, use_profile
class TestSeverity(DBTIntegrationTest):
@property
def schema(self):
return "severity_045"
@property
def models(self):
return "models"
@property
def project_config(self):
return {
'config-ver... | 39.478723 | 100 | 0.621126 | 441 | 3,711 | 4.981859 | 0.142857 | 0.157032 | 0.086482 | 0.121074 | 0.815203 | 0.813382 | 0.811106 | 0.811106 | 0.759217 | 0.759217 | 0 | 0.012821 | 0.222312 | 3,711 | 93 | 101 | 39.903226 | 0.748441 | 0 | 0 | 0.597561 | 0 | 0 | 0.137968 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 1 | 0.121951 | false | 0.04878 | 0.012195 | 0.036585 | 0.195122 | 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 |
965c4aea5b033783a3128f758bb42166daca8c35 | 43 | py | Python | tasks/__init__.py | daniel-ufabc/match-classes | 2783cdf1c7363fcc14023a6cacad697b6af0f011 | [
"MIT"
] | null | null | null | tasks/__init__.py | daniel-ufabc/match-classes | 2783cdf1c7363fcc14023a6cacad697b6af0f011 | [
"MIT"
] | null | null | null | tasks/__init__.py | daniel-ufabc/match-classes | 2783cdf1c7363fcc14023a6cacad697b6af0f011 | [
"MIT"
] | null | null | null | from .data import import_data, export_data
| 21.5 | 42 | 0.837209 | 7 | 43 | 4.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
966910b2c5fdb9af13545ee7c2a36f45a9cf4441 | 164 | py | Python | lightmodels/disparity_expansion_v1/__init__.py | cshyundev/LW-PSMNet | d80d3b12c55ba30c781a7578a4728a2cd6321866 | [
"MIT"
] | 1 | 2022-01-22T14:00:27.000Z | 2022-01-22T14:00:27.000Z | lightmodels/disparity_expansion_v1/__init__.py | cshyundev/LW-PSMNet | d80d3b12c55ba30c781a7578a4728a2cd6321866 | [
"MIT"
] | null | null | null | lightmodels/disparity_expansion_v1/__init__.py | cshyundev/LW-PSMNet | d80d3b12c55ba30c781a7578a4728a2cd6321866 | [
"MIT"
] | null | null | null | from .basic import PSMNet as basic
from .stackhourglass import PSMNet as disparity_expansion_v1
# 3D CNN의 채널수는 절반으로 압축하고, cost volume의 disparity 차원수를 1/3로 확장시킨 모델
| 32.8 | 66 | 0.810976 | 27 | 164 | 4.851852 | 0.777778 | 0.183206 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.158537 | 164 | 4 | 67 | 41 | 0.92029 | 0.390244 | 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 |
9674dcd0767f19ef34a4395e64148f6135f53140 | 28 | py | Python | cpab/cpa3d/utils/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | 17 | 2016-03-16T21:35:36.000Z | 2021-11-11T04:16:21.000Z | cpab/cpa3d/utils/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | null | null | null | cpab/cpa3d/utils/__init__.py | freifeld/cpabDiffeo | 22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6 | [
"MIT"
] | 4 | 2016-08-12T23:02:09.000Z | 2019-03-14T18:20:36.000Z | from constraints import *
| 7 | 25 | 0.75 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 3 | 26 | 9.333333 | 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 |
7399cab96c79c131930ef4729dddb483fa385831 | 11,052 | py | Python | projects/baby_driver/scripts/test_i2c_write.py | Citrusboa/firmware_xiv | 4379cefae900fd67bd14d930da6b8acfce625176 | [
"MIT"
] | 14 | 2019-11-12T00:11:29.000Z | 2021-12-13T05:32:41.000Z | projects/baby_driver/scripts/test_i2c_write.py | 123Logan321/firmware_xiv | 14468d55753ad62f8a63a9289511e72131443042 | [
"MIT"
] | 191 | 2019-11-12T05:36:58.000Z | 2022-03-21T19:54:46.000Z | projects/baby_driver/scripts/test_i2c_write.py | 123Logan321/firmware_xiv | 14468d55753ad62f8a63a9289511e72131443042 | [
"MIT"
] | 14 | 2020-06-06T14:43:14.000Z | 2022-03-08T00:48:11.000Z | """This module tests methods in i2c_write.py"""
import unittest
from unittest.mock import patch
from i2c_write import i2c_write
from message_defs import BABYDRIVER_DEVICE_ID, BABYDRIVER_CAN_MESSAGE_ID
from message_defs import BabydriverMessageId
# pylint: disable=unused-argument
class TestI2CWrite(unittest.TestCase... | 41.863636 | 88 | 0.645223 | 1,462 | 11,052 | 4.648427 | 0.075239 | 0.132431 | 0.051795 | 0.045321 | 0.866981 | 0.849323 | 0.825927 | 0.771778 | 0.704238 | 0.669659 | 0 | 0.050193 | 0.25009 | 11,052 | 263 | 89 | 42.022814 | 0.769788 | 0.130746 | 0 | 0.675127 | 0 | 0 | 0.022837 | 0.021999 | 0 | 0 | 0 | 0 | 0.380711 | 1 | 0.040609 | false | 0 | 0.025381 | 0 | 0.071066 | 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 |
fb7740060d061672c8eabdc3cf82e40d22fe0c23 | 111 | py | Python | src/gedml/launcher/runners/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | null | null | null | src/gedml/launcher/runners/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | null | null | null | src/gedml/launcher/runners/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | null | null | null | """
A easy way to start training. TODO: depreciated!
"""
from .distributed_runner import DistributedRunner | 22.2 | 49 | 0.747748 | 13 | 111 | 6.307692 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 111 | 5 | 50 | 22.2 | 0.88172 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb7ee3d6276003bbf7a840e380056b078880ffaf | 46 | py | Python | pyrism/Functionals/__init__.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 4 | 2020-10-26T14:32:08.000Z | 2021-03-26T01:23:37.000Z | pyrism/Functionals/__init__.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 1 | 2021-09-17T18:21:19.000Z | 2021-11-22T00:01:46.000Z | pyrism/Functionals/__init__.py | 2AUK/pyrism | 7067fa7a261adc2faabcffbcb2d40d395e42a3c8 | [
"MIT"
] | 1 | 2022-03-08T12:00:35.000Z | 2022-03-08T12:00:35.000Z | from .functional_dispatcher import Functional
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8399eba2e45ba67cab98d3210b06b45b465f9cdd | 3,446 | py | Python | tests/commands/test__vi_big_a.py | my-personal-forks/Vintageous | 797ec8f1b0ef12d045949dc19850ba34a4f1c557 | [
"MIT"
] | 1,146 | 2015-01-05T02:23:09.000Z | 2022-03-23T07:22:50.000Z | tests/commands/test__vi_big_a.py | my-personal-forks/Vintageous | 797ec8f1b0ef12d045949dc19850ba34a4f1c557 | [
"MIT"
] | 315 | 2015-01-03T12:42:12.000Z | 2020-09-24T20:01:47.000Z | tests/commands/test__vi_big_a.py | my-personal-forks/Vintageous | 797ec8f1b0ef12d045949dc19850ba34a4f1c557 | [
"MIT"
] | 138 | 2015-01-04T17:54:46.000Z | 2021-02-26T14:56:09.000Z | """
Tests for o motion (visual kind).
"""
from Vintageous.vi.utils import modes
from Vintageous.tests import get_sel
from Vintageous.tests import first_sel
from Vintageous.tests import second_sel
from Vintageous.tests import ViewTest
class Test_vi_big_a_InNormalMode_SingleSel(ViewTest):
def testMovesCaretToEol(... | 32.509434 | 87 | 0.637841 | 516 | 3,446 | 4.050388 | 0.098837 | 0.090431 | 0.045933 | 0.114833 | 0.947368 | 0.907177 | 0.88134 | 0.88134 | 0.88134 | 0.809091 | 0 | 0.030813 | 0.190075 | 3,446 | 105 | 88 | 32.819048 | 0.718022 | 0.009576 | 0 | 0.695652 | 0 | 0 | 0.055213 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.115942 | false | 0 | 0.072464 | 0 | 0.304348 | 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 |
83c9ac0a2fb4b6b78e729ee4690331dc14f26b29 | 153 | py | Python | app/service/__init__.py | WhoTargetsMe/WhoTargetsMe-FBAdLibrary | 45862da2f77cdf2fac5696e35bd8452345ce8ce0 | [
"MIT"
] | 1 | 2021-10-02T00:58:59.000Z | 2021-10-02T00:58:59.000Z | app/service/__init__.py | WhoTargetsMe/WhoTargetsMe-FBAdLibrary | 45862da2f77cdf2fac5696e35bd8452345ce8ce0 | [
"MIT"
] | 6 | 2021-03-19T15:00:19.000Z | 2022-03-12T00:48:23.000Z | app/service/__init__.py | WhoTargetsMe/WhoTargetsMe-FBAdLibrary | 45862da2f77cdf2fac5696e35bd8452345ce8ce0 | [
"MIT"
] | null | null | null | from flask import Blueprint
main = Blueprint("main", __name__, template_folder="templates")
from app.service import routes # to avoid cross-reference
| 25.5 | 63 | 0.784314 | 20 | 153 | 5.75 | 0.8 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130719 | 153 | 5 | 64 | 30.6 | 0.864662 | 0.156863 | 0 | 0 | 0 | 0 | 0.102362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
83fc4eb061588ebbdb124ae4518e1264589f75fd | 49 | py | Python | old/ngc6791/__init__.py | rodluger/L1 | 25e4fa3ff7b1408b3f2a1a5189d168e7da11f07d | [
"MIT"
] | null | null | null | old/ngc6791/__init__.py | rodluger/L1 | 25e4fa3ff7b1408b3f2a1a5189d168e7da11f07d | [
"MIT"
] | 1 | 2018-09-21T15:50:28.000Z | 2018-09-21T15:50:28.000Z | old/ngc6791/__init__.py | rodluger/L1 | 25e4fa3ff7b1408b3f2a1a5189d168e7da11f07d | [
"MIT"
] | 1 | 2018-09-21T14:02:22.000Z | 2018-09-21T14:02:22.000Z | from .plotting import *
from .apertures import *
| 16.333333 | 24 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 25 | 24.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7a61f093eaee652c70fe20cb0d07a737ed7a997 | 7,487 | py | Python | python/tests/t_ratelimit.py | HCL-TECH-SOFTWARE/ambassador | c4733bb8fe27525f38fcb31e95e9e4527b5beb9a | [
"Apache-2.0"
] | 1 | 2021-01-05T18:27:18.000Z | 2021-01-05T18:27:18.000Z | python/tests/t_ratelimit.py | HCL-TECH-SOFTWARE/ambassador | c4733bb8fe27525f38fcb31e95e9e4527b5beb9a | [
"Apache-2.0"
] | 1 | 2020-11-17T11:01:15.000Z | 2020-11-17T11:01:15.000Z | python/tests/t_ratelimit.py | HCL-TECH-SOFTWARE/ambassador | c4733bb8fe27525f38fcb31e95e9e4527b5beb9a | [
"Apache-2.0"
] | 2 | 2020-10-01T18:59:27.000Z | 2021-02-04T06:23:18.000Z | from kat.harness import Query
from abstract_tests import AmbassadorTest, HTTP, ServiceType
from selfsigned import TLSCerts
class RateLimitV0Test(AmbassadorTest):
# debug = True
target: ServiceType
def init(self):
self.target = HTTP()
def manifests(self) -> str:
return """
---
apiVers... | 23.036923 | 95 | 0.631094 | 874 | 7,487 | 5.352403 | 0.179634 | 0.040402 | 0.035271 | 0.047029 | 0.81274 | 0.777897 | 0.7531 | 0.696665 | 0.696665 | 0.696665 | 0 | 0.020781 | 0.254441 | 7,487 | 324 | 96 | 23.108025 | 0.81727 | 0.16148 | 0 | 0.850365 | 0 | 0 | 0.68804 | 0.105532 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043796 | false | 0 | 0.010949 | 0.010949 | 0.087591 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 |
f7e03eaef58c695e881ba6f3c4bae0f4737de115 | 6,543 | py | Python | tests/test_cors.py | joway/lemon | 30de111176d6c3b26f845534700b45d50162ca3b | [
"MIT"
] | 31 | 2018-01-01T12:58:28.000Z | 2020-12-30T14:23:04.000Z | tests/test_cors.py | joway/lemon | 30de111176d6c3b26f845534700b45d50162ca3b | [
"MIT"
] | 203 | 2018-01-02T14:55:17.000Z | 2021-07-26T21:19:31.000Z | tests/test_cors.py | joway/lemon | 30de111176d6c3b26f845534700b45d50162ca3b | [
"MIT"
] | 3 | 2018-01-08T12:45:01.000Z | 2021-12-25T01:53:33.000Z | import pytest
from lemon.app import Lemon
from lemon.const import HTTP_METHODS
from lemon.context import Context
from tests import BasicHttpTestCase
@pytest.mark.asyncio
class TestCors(BasicHttpTestCase):
async def test_cors_simple_request(self):
async def handle(ctx: Context):
ctx.body = {
... | 33.382653 | 89 | 0.506343 | 687 | 6,543 | 4.689956 | 0.110626 | 0.112973 | 0.08442 | 0.116077 | 0.835196 | 0.812849 | 0.812849 | 0.812849 | 0.8054 | 0.76257 | 0 | 0.007739 | 0.348311 | 6,543 | 195 | 90 | 33.553846 | 0.747889 | 0.005655 | 0 | 0.690058 | 0 | 0 | 0.291231 | 0.176308 | 0 | 0 | 0 | 0 | 0.152047 | 1 | 0 | false | 0 | 0.02924 | 0 | 0.035088 | 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 |
f725c5e76c999a9a4e9b18abb24d8c6a364d2b89 | 33 | py | Python | 9-days-of-code/day-5/03 Spaces.py | jaredliw/mcc-python-solutions | f54b1d2a044788b2adc1eb19a490422eb92ffe77 | [
"MIT"
] | 2 | 2021-04-09T04:03:39.000Z | 2021-04-09T04:18:28.000Z | 9-days-of-code/day-5/03 Spaces.py | jaredliw/mcc-python-solutions | f54b1d2a044788b2adc1eb19a490422eb92ffe77 | [
"MIT"
] | null | null | null | 9-days-of-code/day-5/03 Spaces.py | jaredliw/mcc-python-solutions | f54b1d2a044788b2adc1eb19a490422eb92ffe77 | [
"MIT"
] | null | null | null | print("second = hour * 60 * 60")
| 16.5 | 32 | 0.575758 | 5 | 33 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.212121 | 33 | 1 | 33 | 33 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f77c1e9b086c6492c8b5ea43b220cb20ac1567a6 | 90 | py | Python | Decorator/decorator.py | JohnnyUtah-9/calculatorclassproject | 4e24532d16549d9d2d2198331e9a283f48313b80 | [
"MIT"
] | null | null | null | Decorator/decorator.py | JohnnyUtah-9/calculatorclassproject | 4e24532d16549d9d2d2198331e9a283f48313b80 | [
"MIT"
] | null | null | null | Decorator/decorator.py | JohnnyUtah-9/calculatorclassproject | 4e24532d16549d9d2d2198331e9a283f48313b80 | [
"MIT"
] | 1 | 2021-02-28T22:22:08.000Z | 2021-02-28T22:22:08.000Z | def do_twice(func):
def wrapper_do_twice():
func()
func()
return
| 12.857143 | 27 | 0.533333 | 11 | 90 | 4.090909 | 0.545455 | 0.311111 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.355556 | 90 | 6 | 28 | 15 | 0.775862 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e3f5b707c3fcdfd3638c249f2e92078bfc33b95e | 160 | py | Python | silasdk/processingTypes.py | xuru/Sila-Python | 12fef8886580327779d32cf7596dae4516b36c11 | [
"Apache-2.0"
] | 9 | 2019-05-14T14:19:00.000Z | 2021-11-10T05:07:39.000Z | silasdk/processingTypes.py | xuru/Sila-Python | 12fef8886580327779d32cf7596dae4516b36c11 | [
"Apache-2.0"
] | 8 | 2019-05-13T16:27:54.000Z | 2021-09-14T17:31:51.000Z | silasdk/processingTypes.py | xuru/Sila-Python | 12fef8886580327779d32cf7596dae4516b36c11 | [
"Apache-2.0"
] | 8 | 2019-02-13T18:53:58.000Z | 2021-09-03T15:49:31.000Z | from enum import Enum
class ProcessingTypes(str, Enum):
STANDARD_ACH = 'STANDARD_ACH',
SAME_DAY_ACH = 'SAME_DAY_ACH',
INSTANT_ACH = 'INSTANT_ACH'
| 20 | 34 | 0.71875 | 22 | 160 | 4.863636 | 0.5 | 0.205607 | 0.186916 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 160 | 7 | 35 | 22.857143 | 0.823077 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
54129ad71337e66b9572848d19464739b6ff7edf | 41 | py | Python | pytorch_mask_rcnn/model/__init__.py | JinchengHeRyan/STATS402_Final_MaskRcnn | c8103751008afb2f969c7e321a7e843a50c0f681 | [
"MIT"
] | null | null | null | pytorch_mask_rcnn/model/__init__.py | JinchengHeRyan/STATS402_Final_MaskRcnn | c8103751008afb2f969c7e321a7e843a50c0f681 | [
"MIT"
] | null | null | null | pytorch_mask_rcnn/model/__init__.py | JinchengHeRyan/STATS402_Final_MaskRcnn | c8103751008afb2f969c7e321a7e843a50c0f681 | [
"MIT"
] | null | null | null | from .mask_rcnn import maskrcnn_resnet50
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.097561 | 41 | 1 | 41 | 41 | 0.864865 | 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 |
58328392cd4d69104eeaac0a679e8846ba33a217 | 63 | py | Python | examples/2_base_page.py | kejkz/webium | ccb09876a201e75f5c5810392d4db7a8708b90cb | [
"Apache-2.0"
] | 152 | 2015-01-16T11:26:56.000Z | 2022-01-22T12:11:28.000Z | examples/2_base_page.py | goblinintree/webium | ccb09876a201e75f5c5810392d4db7a8708b90cb | [
"Apache-2.0"
] | 13 | 2015-03-05T14:36:44.000Z | 2018-08-08T09:43:39.000Z | examples/2_base_page.py | goblinintree/webium | ccb09876a201e75f5c5810392d4db7a8708b90cb | [
"Apache-2.0"
] | 57 | 2015-01-27T12:53:49.000Z | 2022-03-26T23:02:36.000Z | from webium import BasePage
class MyPage(BasePage):
pass
| 10.5 | 27 | 0.746032 | 8 | 63 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206349 | 63 | 5 | 28 | 12.6 | 0.94 | 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 |
585f402bb8b3b1ff441d83f02ac9d43806d76a0f | 148 | py | Python | papers/pytorch-video-understanding/models/module_zoo/stems/__init__.py | jiangzeyinzi/EssentialMC2 | 190b22cbfff1c27286bcc3dd87b2df6318ed2511 | [
"MIT"
] | 30 | 2022-01-29T12:39:31.000Z | 2022-03-23T05:58:52.000Z | papers/pytorch-video-understanding/models/module_zoo/stems/__init__.py | hrb518/EssentialMC2 | cfb49fa51a13373e4afc74f8800ec8284c41b8d2 | [
"MIT"
] | 5 | 2022-02-07T02:09:27.000Z | 2022-03-29T10:40:22.000Z | papers/pytorch-video-understanding/models/module_zoo/stems/__init__.py | hrb518/EssentialMC2 | cfb49fa51a13373e4afc74f8800ec8284c41b8d2 | [
"MIT"
] | 6 | 2022-01-30T03:22:22.000Z | 2022-03-31T07:28:32.000Z | from .downsample_stem import DownSampleStem
from .r2plus1d_stem import R2Plus1DStem
from .embedding_stem import PatchEmbedStem, TubeletEmbeddingStem | 49.333333 | 64 | 0.891892 | 16 | 148 | 8.0625 | 0.625 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.081081 | 148 | 3 | 64 | 49.333333 | 0.919118 | 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 |
5881d7fe13db6e7cba5f409d5cd4e132d4045efe | 36 | py | Python | src/data/masters.py | SpaceDEVofficial/Konosuba-bot | 55043f3447e14453acd6b17ec7f6316037f4ad5e | [
"MIT"
] | null | null | null | src/data/masters.py | SpaceDEVofficial/Konosuba-bot | 55043f3447e14453acd6b17ec7f6316037f4ad5e | [
"MIT"
] | null | null | null | src/data/masters.py | SpaceDEVofficial/Konosuba-bot | 55043f3447e14453acd6b17ec7f6316037f4ad5e | [
"MIT"
] | null | null | null | MASTERS = [
281566165699002379
] | 12 | 22 | 0.694444 | 2 | 36 | 12.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0.222222 | 36 | 3 | 23 | 12 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
543c841d976e6c1636b24b45db26a4b500ef060a | 118 | py | Python | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/3/3_excercise.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | null | null | null | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/3/3_excercise.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | 3 | 2018-11-30T08:30:49.000Z | 2018-11-30T08:38:02.000Z | Workshops/25.11.2017 - Python. The Basics - Volume 1 -/Python Codes/3/3_excercise.py | Act862/PyLam-Edu | c53114a56da8e5803495acc3c82da1b36ddd452b | [
"MIT"
] | 2 | 2018-07-01T14:11:47.000Z | 2018-11-04T01:06:55.000Z | print("HelloWorld")
print("Hello__World")
print("World \"Hello\" World")
print("Hello\nWorld")
print("Hello\\nWorld")
| 19.666667 | 30 | 0.711864 | 15 | 118 | 5.466667 | 0.333333 | 0.365854 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 118 | 5 | 31 | 23.6 | 0.738739 | 0 | 0 | 0 | 0 | 0 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5467a0e5ee5a18e8b72210b0dbd1095e519772de | 8,898 | py | Python | tools/gen_dispatcher_collect_macros.py | CHChang810716/libsimdpp | 669bbffb9a94660f83c1c2e46af6098a8e993caa | [
"BSL-1.0"
] | 975 | 2015-01-08T08:30:17.000Z | 2022-03-30T02:57:58.000Z | tools/gen_dispatcher_collect_macros.py | abique/libsimdpp | a42deb7e3ca75c5ebaca0a334f18f1ab9822db02 | [
"BSL-1.0"
] | 125 | 2015-05-06T09:25:14.000Z | 2022-03-23T01:07:07.000Z | tools/gen_dispatcher_collect_macros.py | abique/libsimdpp | a42deb7e3ca75c5ebaca0a334f18f1ab9822db02 | [
"BSL-1.0"
] | 140 | 2015-05-03T18:56:00.000Z | 2022-03-22T07:14:46.000Z | #!/usr/bin/env python3
# Copyright (C) 2015 Povilas Kanapickas <povilas@radix.lt>
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# Generates the simdpp/dispatch/collect_macros_generated.h file
# U... | 38.519481 | 111 | 0.687233 | 1,232 | 8,898 | 4.404221 | 0.12013 | 0.214154 | 0.23498 | 0.220605 | 0.724659 | 0.702728 | 0.557317 | 0.225949 | 0.127718 | 0.114449 | 0 | 0.024084 | 0.23938 | 8,898 | 230 | 112 | 38.686957 | 0.77763 | 0.046977 | 0 | 0.291667 | 0 | 0.005208 | 0.929524 | 0.50667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005208 | 0 | 0.005208 | 0.026042 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
546fc283400db1acbd9964a13e5dd8a9407a322c | 273 | py | Python | layers.py | RahieGadekar10/Facial-Recognition | 2865ae1fb26860a682f654a266cbefbf2563a931 | [
"MIT"
] | null | null | null | layers.py | RahieGadekar10/Facial-Recognition | 2865ae1fb26860a682f654a266cbefbf2563a931 | [
"MIT"
] | null | null | null | layers.py | RahieGadekar10/Facial-Recognition | 2865ae1fb26860a682f654a266cbefbf2563a931 | [
"MIT"
] | null | null | null | from tensorflow.keras.layers import Layer
import tensorflow as tf
class L1Dist(Layer):
def __init__(self, **kwargs):
super().__init__()
def call(self, input_embedding, valid_embedding):
return tf.math.abs(input_embedding - valid_embedding) | 30.333333 | 61 | 0.703297 | 34 | 273 | 5.294118 | 0.647059 | 0.155556 | 0.211111 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.201465 | 273 | 9 | 61 | 30.333333 | 0.821101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5488c1a0eb0b5b73f8803afb7c16bee9c40fd115 | 41 | py | Python | benchmark_constructor/structure_collectors/__init__.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/structure_collectors/__init__.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/structure_collectors/__init__.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | from .CopyCollector import CopyCollector
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
54b8bd31130fb1c4dbba508f9b546d71b850eea5 | 21,197 | py | Python | src/lib/mine/src_gen/script/bash/test_structure.py | rdw20170120/workstation | ed19aa930a83885c2a8cb58eb0bb5afe58f95df3 | [
"MIT"
] | null | null | null | src/lib/mine/src_gen/script/bash/test_structure.py | rdw20170120/workstation | ed19aa930a83885c2a8cb58eb0bb5afe58f95df3 | [
"MIT"
] | 2 | 2021-04-06T18:07:32.000Z | 2021-06-02T01:50:40.000Z | src/lib/mine/src_gen/script/bash/test_structure.py | rdw20170120/workstation | ed19aa930a83885c2a8cb58eb0bb5afe58f95df3 | [
"MIT"
] | null | null | null | #!/usr/bin/env false
"""TODO: Write
"""
# Internal packages (absolute references, distributed with Python)
# External packages (absolute references, NOT distributed with Python)
from pytest import raises
# Library modules (absolute references, NOT packaged, in project)
from utility import my_assert as is_
from src_g... | 36.736568 | 79 | 0.622022 | 3,015 | 21,197 | 4.176783 | 0.042786 | 0.140395 | 0.228143 | 0.245692 | 0.823712 | 0.759867 | 0.71365 | 0.670134 | 0.620424 | 0.595648 | 0 | 0.01393 | 0.187196 | 21,197 | 576 | 80 | 36.800347 | 0.716989 | 0.140067 | 0 | 0.155941 | 0 | 0 | 0.188854 | 0 | 0 | 0 | 0 | 0.003472 | 0.586634 | 1 | 0.126238 | false | 0 | 0.012376 | 0 | 0.138614 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49bd365f236479c956fcc0e49a86313f3f7f0aed | 607 | py | Python | Python/scripts/calculadora basica.py | DIEM01/Python | 4a72e8d08ebfa1c0634ae904adcd94ca0951f538 | [
"MIT"
] | 2 | 2021-06-16T20:41:41.000Z | 2021-06-19T20:49:16.000Z | Python/scripts/calculadora basica.py | DIEM01/Python | 4a72e8d08ebfa1c0634ae904adcd94ca0951f538 | [
"MIT"
] | null | null | null | Python/scripts/calculadora basica.py | DIEM01/Python | 4a72e8d08ebfa1c0634ae904adcd94ca0951f538 | [
"MIT"
] | 1 | 2021-08-31T00:55:41.000Z | 2021-08-31T00:55:41.000Z | import math
ni = input("insert un numero")
operdator = input("inserte una operacion")
t = operdator
if t == "+":
na = input("inserta otro numero")
nx = float(ni)
ny = float(na)
xd = (nx, ny)
print (math.fsum(xd))
elif t == "-":
na = input("inserta otro numero")
nx = float(ni)
ny = float(... | 21.678571 | 42 | 0.527183 | 88 | 607 | 3.636364 | 0.261364 | 0.0375 | 0.1 | 0.1875 | 0.7375 | 0.7375 | 0.7375 | 0.7375 | 0.7375 | 0.7375 | 0 | 0 | 0.298188 | 607 | 28 | 43 | 21.678571 | 0.751174 | 0 | 0 | 0.535714 | 0 | 0 | 0.192434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.035714 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49c3d452a7435713cd5572033d26e778a7d24ff7 | 26 | py | Python | src/easybioinfo/__init__.py | marco-mariotti/easybioinfo | 9f80d739f4f32db4ee2e030d787e23a253508810 | [
"MIT"
] | null | null | null | src/easybioinfo/__init__.py | marco-mariotti/easybioinfo | 9f80d739f4f32db4ee2e030d787e23a253508810 | [
"MIT"
] | null | null | null | src/easybioinfo/__init__.py | marco-mariotti/easybioinfo | 9f80d739f4f32db4ee2e030d787e23a253508810 | [
"MIT"
] | null | null | null | from .sequences import *
| 8.666667 | 24 | 0.730769 | 3 | 26 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 0.904762 | 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 |
49d11d934bd56574312ec38ee414d32b7e924511 | 31 | py | Python | json_helper/json_helper/__init__.py | tianxianglan01/PythonFundamentals.Labs.PipModule | 381e0d34d56942a8b77dc365da4190938ee8084b | [
"RSA-MD"
] | null | null | null | json_helper/json_helper/__init__.py | tianxianglan01/PythonFundamentals.Labs.PipModule | 381e0d34d56942a8b77dc365da4190938ee8084b | [
"RSA-MD"
] | null | null | null | json_helper/json_helper/__init__.py | tianxianglan01/PythonFundamentals.Labs.PipModule | 381e0d34d56942a8b77dc365da4190938ee8084b | [
"RSA-MD"
] | null | null | null | from . import json_to_pandas
| 7.75 | 28 | 0.774194 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 3 | 29 | 10.333333 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b73258cf5bee39cbcafdd40a21e8da4f9f5292f0 | 129,479 | py | Python | src/genie/libs/parser/junos/tests/test_show_ospf3.py | noziwatele/genieparser | 4d7a62a870b30dfc8e2a41bf1ad81218bca6f5e9 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/junos/tests/test_show_ospf3.py | noziwatele/genieparser | 4d7a62a870b30dfc8e2a41bf1ad81218bca6f5e9 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/junos/tests/test_show_ospf3.py | noziwatele/genieparser | 4d7a62a870b30dfc8e2a41bf1ad81218bca6f5e9 | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import Mock
from pyats.topology import loader, Device
from genie.metaparser.util.exceptions import SchemaEmptyParserError
from genie.libs.parser.junos.show_ospf3 import ShowOspf3Interface, \
ShowOspf3Overview, \
... | 46.508261 | 92 | 0.387569 | 12,628 | 129,479 | 3.962068 | 0.036348 | 0.025503 | 0.021706 | 0.011992 | 0.914157 | 0.850419 | 0.824776 | 0.813123 | 0.801371 | 0.77231 | 0 | 0.186185 | 0.467211 | 129,479 | 2,784 | 93 | 46.508261 | 0.539088 | 0.001027 | 0 | 0.594461 | 0 | 0.02997 | 0.468376 | 0.053839 | 0 | 0 | 0.020566 | 0 | 0.007587 | 1 | 0.007587 | false | 0 | 0.001897 | 0 | 0.031487 | 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 |
b7358ecbebbbfcd441ceae48dd1df3e559250ad2 | 66 | py | Python | protocol/secrets/__init__.py | PHT-Medic/aggregation-protocol | 44c04c692bb6ba5c180e2cd3e87ea823c6361739 | [
"MIT"
] | null | null | null | protocol/secrets/__init__.py | PHT-Medic/aggregation-protocol | 44c04c692bb6ba5c180e2cd3e87ea823c6361739 | [
"MIT"
] | null | null | null | protocol/secrets/__init__.py | PHT-Medic/aggregation-protocol | 44c04c692bb6ba5c180e2cd3e87ea823c6361739 | [
"MIT"
] | null | null | null | from .secret_sharing import create_key_shares, combine_key_shares
| 33 | 65 | 0.893939 | 10 | 66 | 5.4 | 0.8 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 66 | 1 | 66 | 66 | 0.885246 | 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 |
b7456318a63137861d919866d8b3a8f4e8bdaaec | 95 | py | Python | nestedloop.py | musaibnazir/MixedPy | b2911f06e2f99aba9fb5b6fa802471710196ba4b | [
"MIT"
] | null | null | null | nestedloop.py | musaibnazir/MixedPy | b2911f06e2f99aba9fb5b6fa802471710196ba4b | [
"MIT"
] | null | null | null | nestedloop.py | musaibnazir/MixedPy | b2911f06e2f99aba9fb5b6fa802471710196ba4b | [
"MIT"
] | null | null | null | for i in range(1,4):
print(i)
for j in range(1,4):
print(j,end="")
print()
| 15.833333 | 24 | 0.484211 | 18 | 95 | 2.555556 | 0.5 | 0.304348 | 0.347826 | 0.391304 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.326316 | 95 | 5 | 25 | 19 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3f82d3ef9690af3592e0bfe63b1a1cd101599780 | 40 | py | Python | amazing_new_feature.py | ychennay/operator-flow | eaa1714b61b943fda71b04982a969ca0cc16c47b | [
"MIT"
] | 7 | 2019-09-20T17:56:49.000Z | 2021-01-07T00:53:08.000Z | amazing_new_feature.py | ychennay/operator-flow | eaa1714b61b943fda71b04982a969ca0cc16c47b | [
"MIT"
] | null | null | null | amazing_new_feature.py | ychennay/operator-flow | eaa1714b61b943fda71b04982a969ca0cc16c47b | [
"MIT"
] | null | null | null | print("This is an amazing new feature!") | 40 | 40 | 0.75 | 7 | 40 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3fb63360a4db764ea8e80fd811435be0ab7c53a4 | 179 | py | Python | configurator/configurator/ranges/RangeFunctions.py | ClockworkOrigins/m2etis | 3b9c0f98c172f48889e75fe0b80a61a0e47670f5 | [
"Apache-2.0"
] | 2 | 2016-01-24T22:08:27.000Z | 2017-01-01T13:06:44.000Z | configurator/configurator/ranges/RangeFunctions.py | ClockworkOrigins/m2etis | 3b9c0f98c172f48889e75fe0b80a61a0e47670f5 | [
"Apache-2.0"
] | null | null | null | configurator/configurator/ranges/RangeFunctions.py | ClockworkOrigins/m2etis | 3b9c0f98c172f48889e75fe0b80a61a0e47670f5 | [
"Apache-2.0"
] | null | null | null | __author__ = 'Andreas M. Wahl'
PREVIOUS = 0
def generic_increment(step):
return PREVIOUS + step
def generic_complex(step, factor):
return PREVIOUS + step*factor | 19.888889 | 37 | 0.698324 | 22 | 179 | 5.409091 | 0.590909 | 0.168067 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.217877 | 179 | 9 | 37 | 19.888889 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3fc1dd142e980b9f53c1b305e15cf06634844dbc | 60 | py | Python | packages/How_to_implement_Azure_machine_learning/aml_modeling/project/utils/__init__.py | dochines/OpenEduAnalytics | a1882dec7ad8e1606b88a8042dcf95d5c03b42dc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | packages/How_to_implement_Azure_machine_learning/aml_modeling/project/utils/__init__.py | dochines/OpenEduAnalytics | a1882dec7ad8e1606b88a8042dcf95d5c03b42dc | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-11-11T16:38:33.000Z | 2021-11-11T16:38:33.000Z | packages/How_to_implement_Azure_machine_learning/aml_modeling/project/utils/__init__.py | dochines/OpenEduAnalytics | a1882dec7ad8e1606b88a8042dcf95d5c03b42dc | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-11-11T00:09:55.000Z | 2021-11-11T00:09:55.000Z | from .aml_utils import *
from .responsibility_utils import * | 30 | 35 | 0.816667 | 8 | 60 | 5.875 | 0.625 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 2 | 35 | 30 | 0.886792 | 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 |
3fe197dfc2e07513180db4e3ec01e8780d4c1ef3 | 4,900 | py | Python | quran/endpoints/services/SurahService.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | quran/endpoints/services/SurahService.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | quran/endpoints/services/SurahService.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | import quran.endpoints.grpc.surah_pb2 as surah_proto
import quran.endpoints.grpc.surah_pb2_grpc as surah_rpc
import quran.endpoints.grpc.entity_pb2 as entity_proto
from quran.domain.surah import Surah
from quran.factory.surah_factory import SurahFactory
from quran.utils.proto_converter import ProtoConverter
class Sur... | 48.514851 | 115 | 0.715102 | 603 | 4,900 | 5.543947 | 0.127695 | 0.071792 | 0.071792 | 0.115166 | 0.825307 | 0.825307 | 0.806162 | 0.806162 | 0.805265 | 0.805265 | 0 | 0.013115 | 0.190816 | 4,900 | 100 | 116 | 49 | 0.830013 | 0.089592 | 0 | 0.695652 | 0 | 0 | 0.017292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101449 | false | 0 | 0.086957 | 0 | 0.405797 | 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 |
b759f2d697bc1496f349d9331fcd8dda5f291da1 | 9,089 | py | Python | backend/Hinkskalle/tests/routes/test_tags_v2.py | h3kker/hinkskalle | 609ab67468b7be0e84cf6044ffb5938afcaa0813 | [
"MIT"
] | 4 | 2021-08-07T02:45:40.000Z | 2022-02-16T09:43:11.000Z | backend/Hinkskalle/tests/routes/test_tags_v2.py | h3kker/hinkskalle | 609ab67468b7be0e84cf6044ffb5938afcaa0813 | [
"MIT"
] | 11 | 2021-12-17T15:34:18.000Z | 2022-03-31T08:58:12.000Z | backend/Hinkskalle/tests/routes/test_tags_v2.py | h3kker/hinkskalle | 609ab67468b7be0e84cf6044ffb5938afcaa0813 | [
"MIT"
] | 1 | 2021-08-07T02:45:49.000Z | 2021-08-07T02:45:49.000Z | from Hinkskalle import db
from Hinkskalle.models.Container import Container
from Hinkskalle.models.Tag import Tag
from Hinkskalle.models.Image import Image
from ..route_base import RouteBase
from .._util import _create_image
class TestTagsV2(RouteBase):
def test_get_noauth_v2(self):
ret = self.client.get(f"/v2/... | 35.365759 | 115 | 0.66619 | 1,259 | 9,089 | 4.604448 | 0.073868 | 0.083491 | 0.047093 | 0.086942 | 0.878903 | 0.865275 | 0.82974 | 0.796619 | 0.784026 | 0.762118 | 0 | 0.025436 | 0.173837 | 9,089 | 257 | 116 | 35.365759 | 0.746571 | 0 | 0 | 0.683258 | 0 | 0 | 0.0956 | 0.048075 | 0 | 0 | 0 | 0 | 0.162896 | 1 | 0.072398 | false | 0 | 0.027149 | 0 | 0.104072 | 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 |
b78c9d5fb57e510dc573772baad0cb53a01c428a | 9,595 | py | Python | lambdas/loader/tests/siem/test_sf_securityhub.py | cds-snc/siem | a5f7fac4d82382f8143745a7019b9fc83378bf4f | [
"MIT"
] | null | null | null | lambdas/loader/tests/siem/test_sf_securityhub.py | cds-snc/siem | a5f7fac4d82382f8143745a7019b9fc83378bf4f | [
"MIT"
] | 4 | 2021-06-23T13:31:07.000Z | 2021-07-08T13:43:34.000Z | lambdas/loader/tests/siem/test_sf_securityhub.py | cds-snc/siem | a5f7fac4d82382f8143745a7019b9fc83378bf4f | [
"MIT"
] | 1 | 2021-09-15T19:32:39.000Z | 2021-09-15T19:32:39.000Z | import pytest
from siem import sf_securityhub
from unittest.mock import patch
def test_get_values_from_asff_resources_instance_key():
resources = [
{"Id": "foo/bar", "Type": "AwsEc2Instance"},
{
"Id": "foo:null",
"Details": {
"AwsIamAccessKey": {"PrincipalId... | 32.74744 | 99 | 0.568108 | 811 | 9,595 | 6.543773 | 0.123305 | 0.056341 | 0.094215 | 0.044846 | 0.886942 | 0.872056 | 0.843226 | 0.819295 | 0.775956 | 0.740155 | 0 | 0.006857 | 0.255237 | 9,595 | 292 | 100 | 32.859589 | 0.735796 | 0 | 0 | 0.690299 | 0 | 0 | 0.426055 | 0.177384 | 0 | 0 | 0 | 0 | 0.044776 | 1 | 0.044776 | false | 0 | 0.011194 | 0 | 0.05597 | 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 |
b7e2f668dfc37ce0b82ea10d28a3d13797e8dfb9 | 135 | py | Python | frictionless/extract/__init__.py | kant/frictionless-py | 09cc98e1966d6f97f4eecb47757f45f8a946c5e7 | [
"MIT"
] | null | null | null | frictionless/extract/__init__.py | kant/frictionless-py | 09cc98e1966d6f97f4eecb47757f45f8a946c5e7 | [
"MIT"
] | null | null | null | frictionless/extract/__init__.py | kant/frictionless-py | 09cc98e1966d6f97f4eecb47757f45f8a946c5e7 | [
"MIT"
] | null | null | null | from .main import extract
from .package import extract_package
from .resource import extract_resource
from .table import extract_table
| 27 | 38 | 0.851852 | 19 | 135 | 5.894737 | 0.368421 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 4 | 39 | 33.75 | 0.941176 | 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 |
4d098c74559bc8b7c3276f3f48087c53b55bd3ee | 3,010 | py | Python | armulator/armv6/all_registers/hcr.py | matan1008/armulator | 04d24dcec6ab42326018f5e09331e5b4738d6b52 | [
"MIT"
] | 16 | 2018-01-22T14:36:49.000Z | 2021-12-17T15:39:52.000Z | armulator/armv6/all_registers/hcr.py | AhmedMounir/armulator | 04d24dcec6ab42326018f5e09331e5b4738d6b52 | [
"MIT"
] | 3 | 2019-02-19T17:51:47.000Z | 2022-03-31T20:45:21.000Z | armulator/armv6/all_registers/hcr.py | AhmedMounir/armulator | 04d24dcec6ab42326018f5e09331e5b4738d6b52 | [
"MIT"
] | 4 | 2020-06-18T23:51:03.000Z | 2022-02-09T17:43:13.000Z | from armulator.armv6.all_registers.abstract_register import AbstractRegister
class HCR(AbstractRegister):
"""
Hyp Configuration Register
"""
def __init__(self):
super(HCR, self).__init__()
def set_tge(self, flag):
self.value[4] = flag
def get_tge(self):
return self.v... | 19.171975 | 76 | 0.565116 | 446 | 3,010 | 3.679372 | 0.163677 | 0.263254 | 0.219378 | 0.266301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044928 | 0.312292 | 3,010 | 156 | 77 | 19.294872 | 0.747826 | 0.008638 | 0 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 1 | 0.480392 | false | 0 | 0.009804 | 0.22549 | 0.735294 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4d95b3fe8ed00059717ccc49469c55e5274b3a25 | 250 | py | Python | test.py | randomairborne/primetools | fdcfcca55ec40d251a2abf2051ce5ffe4d3a60b5 | [
"MIT"
] | null | null | null | test.py | randomairborne/primetools | fdcfcca55ec40d251a2abf2051ce5ffe4d3a60b5 | [
"MIT"
] | null | null | null | test.py | randomairborne/primetools | fdcfcca55ec40d251a2abf2051ce5ffe4d3a60b5 | [
"MIT"
] | null | null | null | import primetools
print(f"Primes to 100: `{primetools.get_primes_to(100)}`")
print(f"`{primetools.is_prime(999999937)}` If this isn't `True` something is broken")
print(f"`{primetools.is_prime(999999935)}` If this isn't `False` something is broken")
| 50 | 86 | 0.752 | 40 | 250 | 4.6 | 0.5 | 0.097826 | 0.119565 | 0.195652 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.088 | 250 | 4 | 87 | 62.5 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0.796 | 0.404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
12a9be6dd69c5353f17c3f183dc4a364bea9a881 | 145 | py | Python | src/blip_sdk/extensions/__init__.py | chr0m1ng/blip-sdk-js | 74f404a3ef048a100cc330f78a9751572e31fb0b | [
"MIT"
] | null | null | null | src/blip_sdk/extensions/__init__.py | chr0m1ng/blip-sdk-js | 74f404a3ef048a100cc330f78a9751572e31fb0b | [
"MIT"
] | 9 | 2021-05-27T21:08:23.000Z | 2021-06-14T20:10:10.000Z | src/blip_sdk/extensions/__init__.py | chr0m1ng/blip-sdk-python | 74f404a3ef048a100cc330f78a9751572e31fb0b | [
"MIT"
] | null | null | null | from .extension_base import *
from .media import *
from .chat import *
from .artificial_intelligence import *
from .analytics_extension import *
| 24.166667 | 38 | 0.793103 | 18 | 145 | 6.222222 | 0.5 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 5 | 39 | 29 | 0.896 | 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 |
12aa5392f75adcb51479f21c3e41af25b05e3990 | 1,217 | py | Python | sunpy/timeseries/__init__.py | samaloney/sunpy | 89142033a7a76bcd3b2791b779b8b43fac65a7f4 | [
"BSD-2-Clause"
] | null | null | null | sunpy/timeseries/__init__.py | samaloney/sunpy | 89142033a7a76bcd3b2791b779b8b43fac65a7f4 | [
"BSD-2-Clause"
] | null | null | null | sunpy/timeseries/__init__.py | samaloney/sunpy | 89142033a7a76bcd3b2791b779b8b43fac65a7f4 | [
"BSD-2-Clause"
] | null | null | null | """
SunPy's TimeSeries module provides a datatype for 1D time series data, replacing
the SunPy LightCurve module.
Currently the objects can be instansiated from files (such as CSV and FITS) and
urls to these files, but don't include data downloaders for their specific
instruments as this will become part of the univer... | 43.464286 | 93 | 0.837305 | 154 | 1,217 | 6.590909 | 0.558442 | 0.08867 | 0.187192 | 0.17931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005581 | 0.11668 | 1,217 | 27 | 94 | 45.074074 | 0.938605 | 0.36401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.066667 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
12c05efe031111f89e37d44f06abaa4459872921 | 28,305 | py | Python | tests/test_openapi_docstrings.py | myusko/BlackSheep | c60be8c92edcae49a0cfa1487cb250de96a575fa | [
"MIT"
] | null | null | null | tests/test_openapi_docstrings.py | myusko/BlackSheep | c60be8c92edcae49a0cfa1487cb250de96a575fa | [
"MIT"
] | null | null | null | tests/test_openapi_docstrings.py | myusko/BlackSheep | c60be8c92edcae49a0cfa1487cb250de96a575fa | [
"MIT"
] | null | null | null | import pytest
from typing import List
from blacksheep.server.openapi.common import ParameterInfo
from blacksheep.server.openapi.docstrings import (
DocstringInfo,
EpytextDialect,
GoogleDocDialect,
NumpydocDialect,
ReStructuredTextDialect,
collapse,
)
@pytest.mark.parametrize(
"docstring,ex... | 36.241997 | 94 | 0.477336 | 2,750 | 28,305 | 4.860364 | 0.110182 | 0.029627 | 0.014814 | 0.026934 | 0.90835 | 0.887551 | 0.864881 | 0.841389 | 0.816624 | 0.800015 | 0 | 0.003871 | 0.443208 | 28,305 | 780 | 95 | 36.288462 | 0.844226 | 0 | 0 | 0.669604 | 0 | 0 | 0.28779 | 0.005262 | 0 | 0 | 0 | 0 | 0.013216 | 1 | 0.013216 | false | 0 | 0.008811 | 0 | 0.022026 | 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 |
12dbd5347339bd4e6230f3aa85ac9be891f3dea4 | 44 | py | Python | molmodmt/utils/openmm/__init__.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | 3 | 2020-06-02T03:55:52.000Z | 2022-03-21T04:43:52.000Z | molmodmt/utils/openmm/__init__.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | 28 | 2020-06-24T00:55:53.000Z | 2021-07-16T22:09:19.000Z | molmodmt/utils/openmm/__init__.py | LMMV/MolModMT | 5725d6d5627b07edcbbd5e55318345a136b28c35 | [
"MIT"
] | 1 | 2021-06-17T18:55:25.000Z | 2021-06-17T18:55:25.000Z | from .openmm import *
from . import forces
| 11 | 21 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 22 | 14.666667 | 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 |
42421f1e444e5ad208c8f4b15b581705195e5a7c | 175 | py | Python | service/abstract.py | plvhx/qiscus-programming-test | 3b6480c41a787ee89770d1375f3a28bbc5b4f453 | [
"BSD-2-Clause"
] | null | null | null | service/abstract.py | plvhx/qiscus-programming-test | 3b6480c41a787ee89770d1375f3a28bbc5b4f453 | [
"BSD-2-Clause"
] | null | null | null | service/abstract.py | plvhx/qiscus-programming-test | 3b6480c41a787ee89770d1375f3a28bbc5b4f453 | [
"BSD-2-Clause"
] | null | null | null | from service.client import Client
class Abstract(object):
def __init__(self, client):
self.client = client
def get_client(self):
return self.client
| 17.5 | 33 | 0.674286 | 22 | 175 | 5.136364 | 0.545455 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245714 | 175 | 9 | 34 | 19.444444 | 0.856061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4263bb17475f94e2fdcc29f961c9d99fa2b6a763 | 33 | py | Python | garpar/core/__init__.py | quatrope/garpar | 13370bfb7cea08827b51c165d2ccec31e92dd125 | [
"MIT"
] | 1 | 2021-03-30T21:01:15.000Z | 2021-03-30T21:01:15.000Z | garpar/core/__init__.py | quatrope/garpar | 13370bfb7cea08827b51c165d2ccec31e92dd125 | [
"MIT"
] | null | null | null | garpar/core/__init__.py | quatrope/garpar | 13370bfb7cea08827b51c165d2ccec31e92dd125 | [
"MIT"
] | 2 | 2020-10-28T14:07:43.000Z | 2021-11-03T22:49:21.000Z | from .portfolio import Portfolio
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4294a0b5725a25e105f85293084a3650012a38d0 | 15,663 | py | Python | libraries/botframework-connector/tests/test_conversations_async.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | 1 | 2019-05-31T10:55:15.000Z | 2019-05-31T10:55:15.000Z | libraries/botframework-connector/tests/test_conversations_async.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | libraries/botframework-connector/tests/test_conversations_async.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | import asyncio
import pytest
from azure_devtools.scenario_tests import ReplayableTest
from botbuilder.schema import *
from botframework.connector.aio import ConnectorClient
from botframework.connector.auth import MicrosoftAppCredentials
from authentication_stub import MicrosoftTokenAuthenticationStub
SERVICE_URL = '... | 42.332432 | 115 | 0.669412 | 1,608 | 15,663 | 6.264925 | 0.111318 | 0.057177 | 0.028588 | 0.047647 | 0.842366 | 0.809708 | 0.780921 | 0.773675 | 0.750347 | 0.723744 | 0 | 0.003315 | 0.248931 | 15,663 | 370 | 116 | 42.332432 | 0.853026 | 0.012833 | 0 | 0.652597 | 0 | 0.003247 | 0.069436 | 0.006665 | 0 | 0 | 0 | 0 | 0.103896 | 1 | 0.058442 | false | 0.006494 | 0.029221 | 0 | 0.097403 | 0.003247 | 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 |
c42ee25c533c8b0ed177df581507c9ea9fb82eda | 73 | py | Python | train/SamplerPPO/__init__.py | LiuTed/gym-TD | 66fda4fbd877ceb0ce815e7a6a746ac0afde21a0 | [
"MIT"
] | null | null | null | train/SamplerPPO/__init__.py | LiuTed/gym-TD | 66fda4fbd877ceb0ce815e7a6a746ac0afde21a0 | [
"MIT"
] | null | null | null | train/SamplerPPO/__init__.py | LiuTed/gym-TD | 66fda4fbd877ceb0ce815e7a6a746ac0afde21a0 | [
"MIT"
] | null | null | null | from SamplerPPO.Model import SamplerPPO
from SamplerPPO import Callbacks
| 24.333333 | 39 | 0.876712 | 9 | 73 | 7.111111 | 0.555556 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 40 | 36.5 | 0.984615 | 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 |
c443545b9bab05c31a818c2675d7966ae22bfa46 | 3,242 | py | Python | tests/core/pyspec/eth2spec/test/phase1/unittests/test_get_start_shard.py | jiyilanzhou/eth2.0-specs | 427373cef62694fd4c02820f872a61e32d2962e2 | [
"CC0-1.0"
] | 1 | 2020-07-08T19:09:33.000Z | 2020-07-08T19:09:33.000Z | tests/core/pyspec/eth2spec/test/phase1/unittests/test_get_start_shard.py | jiyilanzhou/eth2.0-specs | 427373cef62694fd4c02820f872a61e32d2962e2 | [
"CC0-1.0"
] | null | null | null | tests/core/pyspec/eth2spec/test/phase1/unittests/test_get_start_shard.py | jiyilanzhou/eth2.0-specs | 427373cef62694fd4c02820f872a61e32d2962e2 | [
"CC0-1.0"
] | null | null | null | from eth2spec.test.context import (
PHASE0,
with_all_phases_except,
spec_state_test,
)
from eth2spec.test.helpers.state import next_epoch
@with_all_phases_except([PHASE0])
@spec_state_test
def test_get_committee_count_delta(spec, state):
assert spec.get_committee_count_delta(state, 0, 0) == 0
asse... | 42.103896 | 105 | 0.780691 | 488 | 3,242 | 4.688525 | 0.077869 | 0.082605 | 0.126311 | 0.146853 | 0.901661 | 0.883304 | 0.883304 | 0.82736 | 0.756119 | 0.725524 | 0 | 0.011441 | 0.137261 | 3,242 | 76 | 106 | 42.657895 | 0.806578 | 0 | 0 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.063492 | false | 0 | 0.031746 | 0 | 0.095238 | 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 |
671e22d0a465231c7d5c1804c0cc8c0cdfc5a180 | 475 | py | Python | enjoy/bkup/e03_def.py | fkubota/enjoy-vim | f1f87ff569ebeea3b84993add200a2c7125cab7a | [
"MIT"
] | 26 | 2021-02-19T11:59:05.000Z | 2022-03-07T02:36:18.000Z | enjoy/bkup/e03_def.py | fkubota/enjoy-vim | f1f87ff569ebeea3b84993add200a2c7125cab7a | [
"MIT"
] | 5 | 2021-02-19T13:18:20.000Z | 2021-02-28T23:59:08.000Z | enjoy/bkup/e03_def.py | fkubota/enjoy-vim | f1f87ff569ebeea3b84993add200a2c7125cab7a | [
"MIT"
] | null | null | null | '''
↓にしろ(カッコにa,b,c,dがないので入れろ)
def hoge_a(a):
...
def hoge_b(b):
...
def hoge_c(c):
...
def hoge_d(d):
...
'''
def hoge_a():
print(a)
print(a)
print(a)
print('hoge')
print('hoge')
print('hoge')
def hoge_b():
print(b)
print(b)
print(b)
print('hoge')
print('hoge')
print('hog... | 9.895833 | 25 | 0.522105 | 76 | 475 | 3.171053 | 0.144737 | 0.3361 | 0.348548 | 0.448133 | 0.738589 | 0.659751 | 0.282158 | 0.282158 | 0 | 0 | 0 | 0 | 0.250526 | 475 | 47 | 26 | 10.106383 | 0.674157 | 0.254737 | 0 | 0.84 | 0 | 0 | 0.104046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | true | 0 | 0 | 0 | 0.16 | 0.84 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6725811a7cc8397f9811e0ecaf4cb891861332ed | 272 | py | Python | devilry/devilry_import_v2database/v2dump_directoryparsers/v2assignment_directoryparser.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_import_v2database/v2dump_directoryparsers/v2assignment_directoryparser.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_import_v2database/v2dump_directoryparsers/v2assignment_directoryparser.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | from devilry.devilry_import_v2database import v2dump_directoryparser
class V2AssignmentDirectoryParser(v2dump_directoryparser.V2DumpDirectoryParser):
def get_app_label(self):
return 'core'
def get_model_name_lowercase(self):
return 'assignment'
| 27.2 | 80 | 0.794118 | 28 | 272 | 7.392857 | 0.714286 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021645 | 0.150735 | 272 | 9 | 81 | 30.222222 | 0.874459 | 0 | 0 | 0 | 0 | 0 | 0.051471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
676cb74a56a89bbbe2f6cc33f4e375f419591622 | 4,609 | py | Python | tests/tracking/context/test_databricks_job_context.py | jinzhang21/mlflow | e926be917795fd945ea347e02cf31214008d3f1e | [
"Apache-2.0"
] | 1 | 2022-02-13T09:40:56.000Z | 2022-02-13T09:40:56.000Z | tests/tracking/context/test_databricks_job_context.py | jinzhang21/mlflow | e926be917795fd945ea347e02cf31214008d3f1e | [
"Apache-2.0"
] | 1 | 2022-02-20T20:09:24.000Z | 2022-02-20T20:09:24.000Z | tests/tracking/context/test_databricks_job_context.py | jinzhang21/mlflow | e926be917795fd945ea347e02cf31214008d3f1e | [
"Apache-2.0"
] | 2 | 2019-05-11T08:13:38.000Z | 2019-05-14T13:33:54.000Z | from unittest import mock
from mlflow.entities import SourceType
from mlflow.utils.mlflow_tags import (
MLFLOW_SOURCE_NAME,
MLFLOW_SOURCE_TYPE,
MLFLOW_DATABRICKS_JOB_ID,
MLFLOW_DATABRICKS_JOB_RUN_ID,
MLFLOW_DATABRICKS_JOB_TYPE,
MLFLOW_DATABRICKS_WEBAPP_URL,
MLFLOW_DATABRICKS_WORKSPACE_URL,
... | 41.522523 | 100 | 0.725971 | 603 | 4,609 | 5.026534 | 0.086235 | 0.090729 | 0.052788 | 0.08578 | 0.809634 | 0.790828 | 0.743319 | 0.716595 | 0.700099 | 0.700099 | 0 | 0.00243 | 0.196572 | 4,609 | 110 | 101 | 41.9 | 0.816095 | 0.003038 | 0 | 0.52 | 0 | 0 | 0.15676 | 0.145003 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.03 | false | 0 | 0.05 | 0 | 0.08 | 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 |
677062cff07f7d3d97379c38de3f808ab9f03f76 | 66 | py | Python | tests/asserts/descriptors.py | liwt31/NPython | 1159715bb6d4ff9502e9fa4466ddc6f36a8b63d2 | [
"CNRI-Python"
] | 18 | 2019-01-29T16:14:42.000Z | 2021-02-11T07:34:11.000Z | tests/asserts/descriptors.py | liwt31/NPython | 1159715bb6d4ff9502e9fa4466ddc6f36a8b63d2 | [
"CNRI-Python"
] | 1 | 2018-12-28T10:52:17.000Z | 2018-12-29T14:21:07.000Z | tests/asserts/descriptors.py | liwt31/NPython | 1159715bb6d4ff9502e9fa4466ddc6f36a8b63d2 | [
"CNRI-Python"
] | null | null | null | assert list(list.__iter__.__get__([1, 2])())[0] == 1
print("ok")
| 16.5 | 52 | 0.606061 | 11 | 66 | 2.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.106061 | 66 | 3 | 53 | 22 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
67904037ae76816fae37417f881a9309513e5ef7 | 158 | py | Python | CF_Functions/Arcade/LCM.py | glickmac/Misc_Scripts | 7e18be79b84a309a1e79935f4470ea915141938d | [
"MIT"
] | null | null | null | CF_Functions/Arcade/LCM.py | glickmac/Misc_Scripts | 7e18be79b84a309a1e79935f4470ea915141938d | [
"MIT"
] | null | null | null | CF_Functions/Arcade/LCM.py | glickmac/Misc_Scripts | 7e18be79b84a309a1e79935f4470ea915141938d | [
"MIT"
] | 1 | 2020-07-30T17:37:12.000Z | 2020-07-30T17:37:12.000Z | from fractions import gcd
from functools import reduce
def leastCommonDenominator(denominators):
return reduce(lambda x, y: x*y/gcd(x,y), denominators)
| 22.571429 | 58 | 0.778481 | 22 | 158 | 5.590909 | 0.590909 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 158 | 6 | 59 | 26.333333 | 0.904412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6792c7e5c40c477e29561f80204d87e8f30e7420 | 53 | py | Python | python/testData/resolve/ImportedTypingListInheritor/b.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/ImportedTypingListInheritor/b.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/ImportedTypingListInheritor/b.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from typing import List
class A(List[int]):
pass | 13.25 | 23 | 0.698113 | 9 | 53 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 4 | 24 | 13.25 | 0.880952 | 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 |
6792e6eb3836872705456e5a540aaeab62511718 | 5,792 | py | Python | veros/core/density/get_rho.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/density/get_rho.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/density/get_rho.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | from . import (gsw, linear_eq as lq, nonlinear_eq1 as nq1,
nonlinear_eq2 as nq2, nonlinear_eq3 as nq3)
from ... import veros_method
@veros_method
def get_rho(vs, salt_loc, temp_loc, press):
"""
calculate density as a function of temperature, salinity and pressure
"""
if vs.eq_of_state_t... | 37.61039 | 88 | 0.700967 | 960 | 5,792 | 3.840625 | 0.075 | 0.149986 | 0.173312 | 0.116355 | 0.942772 | 0.942772 | 0.929753 | 0.917548 | 0.890968 | 0.854353 | 0 | 0.02471 | 0.210463 | 5,792 | 153 | 89 | 37.856209 | 0.781544 | 0.112051 | 0 | 0.557522 | 0 | 0 | 0.039833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070796 | false | 0 | 0.017699 | 0 | 0.433628 | 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 |
67c065c96b537c3e01463c71844d0ed2d6026f44 | 207 | py | Python | tests/test_dotify_cli.py | the-dotify-project/dotify-cli | a6b3b4436d5925ecf3d9290bf54298d7329b09d8 | [
"MIT"
] | null | null | null | tests/test_dotify_cli.py | the-dotify-project/dotify-cli | a6b3b4436d5925ecf3d9290bf54298d7329b09d8 | [
"MIT"
] | 13 | 2021-09-27T13:43:54.000Z | 2022-03-07T18:25:58.000Z | tests/test_dotify_cli.py | the-dotify-project/dotify-cli | a6b3b4436d5925ecf3d9290bf54298d7329b09d8 | [
"MIT"
] | null | null | null | """Tests concerning the `dotify_cli` module."""
from dotify_cli.dotify_cli import factorial
def test_dotify_cli():
assert factorial(0) == 1
assert factorial(1) == 1
assert factorial(5) == 120
| 20.7 | 47 | 0.695652 | 29 | 207 | 4.793103 | 0.551724 | 0.258993 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047337 | 0.183575 | 207 | 9 | 48 | 23 | 0.775148 | 0.198068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67ef48fd7474be9cdfd173486eb7208c92a5cea6 | 263 | py | Python | calixis/plan/models.py | kyleady/SectorsOfInequity | b9fa3fcaa923ed65fdda28992a86b918110caa37 | [
"MIT"
] | null | null | null | calixis/plan/models.py | kyleady/SectorsOfInequity | b9fa3fcaa923ed65fdda28992a86b918110caa37 | [
"MIT"
] | 5 | 2019-08-03T04:43:46.000Z | 2022-02-10T10:13:48.000Z | calixis/plan/models.py | kyleady/SectorsOfInequity | b9fa3fcaa923ed65fdda28992a86b918110caa37 | [
"MIT"
] | null | null | null | from .submodels.asset import *
from .submodels.config import *
from .submodels.detail import *
from .submodels.inspiration import *
from .submodels.job import *
from .submodels.perterbation import *
from .submodels.roll import *
from .submodels.weighted import *
| 29.222222 | 37 | 0.787072 | 32 | 263 | 6.46875 | 0.34375 | 0.502415 | 0.642512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121673 | 263 | 8 | 38 | 32.875 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db0a1249a7fe9c3afcfb6cef55fa60d2c65c24e2 | 72 | py | Python | flowprint/__init__.py | RCheese/FlowPrint | 52c53be842338bf9b91fdf19bdda1d277a95fb63 | [
"MIT"
] | null | null | null | flowprint/__init__.py | RCheese/FlowPrint | 52c53be842338bf9b91fdf19bdda1d277a95fb63 | [
"MIT"
] | null | null | null | flowprint/__init__.py | RCheese/FlowPrint | 52c53be842338bf9b91fdf19bdda1d277a95fb63 | [
"MIT"
] | null | null | null | from .flowprint import FlowPrint
from .preprocessor import Preprocessor
| 24 | 38 | 0.861111 | 8 | 72 | 7.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 39 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
db0d99949269122aaed99be3a743ad77e4fe7454 | 25 | py | Python | Ants/__init__.py | andersro93/School.ICT441.MultiLevelACO | e06cc0509b549dca33a836464b2d2335cce2b295 | [
"MIT"
] | 2 | 2018-05-27T16:28:30.000Z | 2019-08-22T04:47:11.000Z | Ants/__init__.py | andersro93/School.ICT441.MultiLevelACO | e06cc0509b549dca33a836464b2d2335cce2b295 | [
"MIT"
] | 1 | 2018-07-10T17:03:16.000Z | 2018-08-26T18:47:40.000Z | Ants/__init__.py | andersro93/School.ICT441.MultiLevelACO | e06cc0509b549dca33a836464b2d2335cce2b295 | [
"MIT"
] | null | null | null | from Ants.Ant import Ant
| 12.5 | 24 | 0.8 | 5 | 25 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1ddbc0a3f0a946ec9869c006c79f653cbb8bf0e | 22 | py | Python | optimizers/__init__.py | NeurAI-Lab/DoGo | e3038204f15a40a2d5caca20bb171c87a40d95ba | [
"MIT"
] | 3 | 2021-09-01T06:52:33.000Z | 2022-03-28T13:12:31.000Z | optimizers/__init__.py | NeurAI-Lab/DoGo | e3038204f15a40a2d5caca20bb171c87a40d95ba | [
"MIT"
] | null | null | null | optimizers/__init__.py | NeurAI-Lab/DoGo | e3038204f15a40a2d5caca20bb171c87a40d95ba | [
"MIT"
] | null | null | null | from .lars import LARC | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c013d895afcfbc950d92e7d83bccfea92a242880 | 2,465 | py | Python | epytope/Data/pssms/smm/mat/B_42_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_42_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_42_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_42_01_10 = {0: {'A': 0.017, 'C': 0.0, 'E': -0.074, 'D': 0.0, 'G': 0.0, 'F': -0.067, 'I': 0.028, 'H': -0.07, 'K': 0.007, 'M': 0.0, 'L': 0.033, 'N': 0.135, 'Q': 0.028, 'P': -0.025, 'S': 0.09, 'R': -0.132, 'T': -0.09, 'W': 0.0, 'V': 0.119, 'Y': 0.0}, 1: {'A': 0.779, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': -0.411, 'F': 0.0, '... | 2,465 | 2,465 | 0.382556 | 618 | 2,465 | 1.521036 | 0.229773 | 0.076596 | 0.02234 | 0.029787 | 0.138298 | 0.017021 | 0.017021 | 0.017021 | 0 | 0 | 0 | 0.358849 | 0.167951 | 2,465 | 1 | 2,465 | 2,465 | 0.099464 | 0 | 0 | 0 | 0 | 0 | 0.08232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0144ccc1b58dbd6a63a6dbe5ab87c1cdc7e3fa0 | 5,594 | py | Python | unittests/simulation_test.py | luci/recipes-py | 13b77f0e1dc3e0f15f540679262ce966917c15a3 | [
"Apache-2.0"
] | 23 | 2016-01-20T00:45:26.000Z | 2022-02-26T04:25:30.000Z | unittests/simulation_test.py | luci/recipes-py | 13b77f0e1dc3e0f15f540679262ce966917c15a3 | [
"Apache-2.0"
] | 8 | 2016-01-15T19:00:38.000Z | 2018-03-06T00:15:24.000Z | unittests/simulation_test.py | luci/recipes-py | 13b77f0e1dc3e0f15f540679262ce966917c15a3 | [
"Apache-2.0"
] | 13 | 2015-09-05T05:52:43.000Z | 2019-07-08T17:34:27.000Z | #!/usr/bin/env vpython
# Copyright 2017 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
import test_env
class TestSimulation(test_env.RecipeEngineUnitTest):
def test_basic(self):
deps = self.FakeRecipeDe... | 32.523256 | 79 | 0.638363 | 704 | 5,594 | 4.931818 | 0.18608 | 0.046083 | 0.069124 | 0.059908 | 0.776498 | 0.761809 | 0.741071 | 0.741071 | 0.741071 | 0.720046 | 0 | 0.004377 | 0.22399 | 5,594 | 171 | 80 | 32.71345 | 0.795439 | 0.121916 | 0 | 0.8 | 0 | 0 | 0.425684 | 0.062883 | 0 | 0 | 0 | 0 | 0.096 | 1 | 0.056 | false | 0.008 | 0.008 | 0 | 0.072 | 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 |
fbf8aec40ad07096ce4a1c9e116ef8120c4796c7 | 8,501 | py | Python | core/dataflow/nodes/test/test_unsupervised_sklearn_models.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | core/dataflow/nodes/test/test_unsupervised_sklearn_models.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | core/dataflow/nodes/test/test_unsupervised_sklearn_models.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | import logging
import pandas as pd
import sklearn.decomposition as sdecom
import core.artificial_signal_generators as casgen
import core.config as cconfig
import core.dataflow.nodes.test.helpers as cdnth
import helpers.unit_test as hut
from core.dataflow.nodes.unsupervised_sklearn_models import (
MultiindexUnsupe... | 34.697959 | 81 | 0.553111 | 973 | 8,501 | 4.570401 | 0.129496 | 0.020238 | 0.029683 | 0.030358 | 0.874522 | 0.874522 | 0.874522 | 0.874522 | 0.874522 | 0.863279 | 0 | 0.048137 | 0.308434 | 8,501 | 244 | 82 | 34.840164 | 0.708284 | 0.073403 | 0 | 0.692737 | 0 | 0 | 0.126746 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 1 | 0.067039 | false | 0 | 0.044693 | 0 | 0.145251 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.