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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
041f8a2e2d465dac715827f2f1568c5808c50c25 | 109 | py | Python | signalfx_azure_function_python/version.py | claranet/signalfx-azure-function-python | e343d1f25615c7343a588a04f5edc8331ff544ca | [
"Apache-2.0"
] | null | null | null | signalfx_azure_function_python/version.py | claranet/signalfx-azure-function-python | e343d1f25615c7343a588a04f5edc8331ff544ca | [
"Apache-2.0"
] | 1 | 2021-02-17T14:08:46.000Z | 2021-02-17T14:08:46.000Z | signalfx_azure_function_python/version.py | claranet/signalfx-azure-function-python | e343d1f25615c7343a588a04f5edc8331ff544ca | [
"Apache-2.0"
] | null | null | null | name = "signalfx-azure-function-python"
version = "1.0.1"
user_agent = f"signalfx_azure_function/{version}"
| 21.8 | 49 | 0.752294 | 16 | 109 | 4.9375 | 0.6875 | 0.329114 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.091743 | 109 | 4 | 50 | 27.25 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0.623853 | 0.577982 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
043e794cf6d16e7d01417fbdd4a093412ea9a042 | 32 | py | Python | rasloader/__init__.py | ttruttmann/rasloader | 87995d4dc64ae72e094e2171591335d0d3733408 | [
"MIT"
] | 1 | 2022-02-16T03:49:51.000Z | 2022-02-16T03:49:51.000Z | rasloader/__init__.py | ttruttmann/rasloader | 87995d4dc64ae72e094e2171591335d0d3733408 | [
"MIT"
] | null | null | null | rasloader/__init__.py | ttruttmann/rasloader | 87995d4dc64ae72e094e2171591335d0d3733408 | [
"MIT"
] | null | null | null | from .rasloader import RasLoader | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
045cb4795d7f44dc08bf536b5b969bd4ca469aca | 25 | py | Python | Algorithms/Util/__init__.py | grayy921013/RecSys | ce0683b86755935c943722cbba5541931978498e | [
"Apache-2.0"
] | null | null | null | Algorithms/Util/__init__.py | grayy921013/RecSys | ce0683b86755935c943722cbba5541931978498e | [
"Apache-2.0"
] | null | null | null | Algorithms/Util/__init__.py | grayy921013/RecSys | ce0683b86755935c943722cbba5541931978498e | [
"Apache-2.0"
] | null | null | null | from .enums import Field
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 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 |
f0c0b65819250aeeb4d1d52449b01afc7e5788f9 | 1,996 | py | Python | cg_security/hasher.py | ConnectSW/cg_security | 6eb9807183854cb96f0a7c53501b968569578c7a | [
"MIT"
] | null | null | null | cg_security/hasher.py | ConnectSW/cg_security | 6eb9807183854cb96f0a7c53501b968569578c7a | [
"MIT"
] | null | null | null | cg_security/hasher.py | ConnectSW/cg_security | 6eb9807183854cb96f0a7c53501b968569578c7a | [
"MIT"
] | null | null | null | import hashlib
from .security_exception import SecurityException
def blake2b(plaintext) -> str:
"""
Cria o hash Blake2b da string
:param plaintext: String a ser feito o hash
:type plaintext: str
:return: Hash
:rtype: str
"""
try:
return hashlib.blake2b(plaintext.encode()).hexdi... | 23.209302 | 62 | 0.634269 | 246 | 1,996 | 5.126016 | 0.138211 | 0.047581 | 0.042823 | 0.104679 | 0.842982 | 0.773196 | 0.773196 | 0.773196 | 0.773196 | 0.773196 | 0 | 0.020534 | 0.268036 | 1,996 | 86 | 63 | 23.209302 | 0.842574 | 0.358717 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.0625 | 0 | 0.4375 | 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 |
f0d84faefbbb55023852873eddb5e7c9fe579f36 | 28 | py | Python | main_2.py | jessicafinnie/testGitProjectForClass | eff728cc5eb3e8370729a378dbca6226f310477c | [
"MIT"
] | null | null | null | main_2.py | jessicafinnie/testGitProjectForClass | eff728cc5eb3e8370729a378dbca6226f310477c | [
"MIT"
] | null | null | null | main_2.py | jessicafinnie/testGitProjectForClass | eff728cc5eb3e8370729a378dbca6226f310477c | [
"MIT"
] | null | null | null | print("Hello again, world!") | 28 | 28 | 0.714286 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 |
0b0161e4d690d3bc961d632ecca9a94ac592e7a5 | 152 | py | Python | stats-essentials/data/weather.py | chyld/demoX | 27f26a553aeb6682173f6b1b8dc8969101993324 | [
"MIT"
] | 16 | 2018-09-21T23:14:35.000Z | 2022-01-21T10:38:52.000Z | stats-essentials/data/weather.py | chyld/demoX | 27f26a553aeb6682173f6b1b8dc8969101993324 | [
"MIT"
] | null | null | null | stats-essentials/data/weather.py | chyld/demoX | 27f26a553aeb6682173f6b1b8dc8969101993324 | [
"MIT"
] | 27 | 2018-01-08T22:59:38.000Z | 2022-02-09T06:44:38.000Z | from pprint import pprint
import requests
r = requests.get('http://api.openweathermap.org/data/2.5/weather?q=London&APPID={APIKEY}')
pprint(r.json())
| 21.714286 | 90 | 0.75 | 24 | 152 | 4.75 | 0.791667 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.078947 | 152 | 6 | 91 | 25.333333 | 0.8 | 0 | 0 | 0 | 0 | 0.25 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0b0b23a900cfd52f65edf59de035656db09ad4da | 168 | py | Python | lume/src/infrastructure/services/logger/print_logger.py | alice-biometrics/lume | a5605f75f05c9007e164e0644dd34f83dfbdfc7d | [
"MIT"
] | 15 | 2020-03-20T19:33:07.000Z | 2022-01-07T15:11:08.000Z | lume/src/infrastructure/services/logger/print_logger.py | alice-biometrics/lume | a5605f75f05c9007e164e0644dd34f83dfbdfc7d | [
"MIT"
] | 18 | 2020-04-07T10:53:30.000Z | 2022-01-24T07:13:39.000Z | lume/src/infrastructure/services/logger/print_logger.py | alice-biometrics/lume | a5605f75f05c9007e164e0644dd34f83dfbdfc7d | [
"MIT"
] | null | null | null | from lume.src.domain.services.logger import Logger
class PrintLogger(Logger):
def log(self, logging_level, message):
print(f"{logging_level}: {message}")
| 24 | 50 | 0.720238 | 22 | 168 | 5.409091 | 0.772727 | 0.201681 | 0.319328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 168 | 6 | 51 | 28 | 0.838028 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 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 |
9bf8fb256889f7bd1d8f1be1e5b57ae06f8da239 | 69 | py | Python | usecase_2_calling_v2.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | usecase_2_calling_v2.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | usecase_2_calling_v2.py | docktermj/python-future-proofing-apis | ae8ac783a14c6f9d4050ad2545c82f96fb990a5c | [
"Apache-2.0"
] | null | null | null | from api_version_2 import stable_api
stable_api(1, 2)
stable_api(1)
| 13.8 | 36 | 0.811594 | 14 | 69 | 3.642857 | 0.5 | 0.529412 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.115942 | 69 | 4 | 37 | 17.25 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
acc3263bbbd98cd69fd0b1982db742b42a06b382 | 237 | py | Python | swagger_server/test/test_ols.py | bigbio/sdrfcheck-api | c634113cfbcc3ea81b9127a67d76975adbe6aec5 | [
"Apache-2.0"
] | null | null | null | swagger_server/test/test_ols.py | bigbio/sdrfcheck-api | c634113cfbcc3ea81b9127a67d76975adbe6aec5 | [
"Apache-2.0"
] | 1 | 2020-04-30T08:52:21.000Z | 2020-04-30T08:58:30.000Z | swagger_server/test/test_ols.py | bigbio/sdrfcheck-api | c634113cfbcc3ea81b9127a67d76975adbe6aec5 | [
"Apache-2.0"
] | null | null | null | def test_besthit():
assert False
def test_get_term():
assert False
def test_get_ancestors():
assert False
def test_search():
assert False
def test_suggest():
assert False
def test_select():
assert False
| 10.304348 | 25 | 0.679325 | 32 | 237 | 4.78125 | 0.34375 | 0.27451 | 0.457516 | 0.588235 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244726 | 237 | 22 | 26 | 10.772727 | 0.854749 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c582ad7fb26907b8c1e9561889e4123ef92da1ef | 3,886 | py | Python | results/models.py | lilbex/bitcom | c0d09155b655de3ebe84851f24e5c07ef60da611 | [
"MIT"
] | null | null | null | results/models.py | lilbex/bitcom | c0d09155b655de3ebe84851f24e5c07ef60da611 | [
"MIT"
] | null | null | null | results/models.py | lilbex/bitcom | c0d09155b655de3ebe84851f24e5c07ef60da611 | [
"MIT"
] | null | null | null | from django.db import models
class agentname(models.Model):
name_id = models.IntegerField(primary_key=True, editable=False)
firstname = models.CharField(max_length=200)
lastname = models.CharField(max_length=200)
email = models.CharField(max_length=200)
phone = models.CharField(max_length=200)
... | 39.252525 | 81 | 0.764539 | 494 | 3,886 | 5.753036 | 0.119433 | 0.114004 | 0.221675 | 0.295567 | 0.822308 | 0.738916 | 0.710415 | 0.654469 | 0.619282 | 0.574243 | 0 | 0.029219 | 0.136902 | 3,886 | 98 | 82 | 39.653061 | 0.818128 | 0 | 0 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012658 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c58b30ff4fa86fcf902e661e654dad96f910108c | 135 | py | Python | stuff_for_python_socket/trick2/__init__.py | elafontaine/socket_presentation | 06113fd3c3eec257b45951cc26471ff0bbf1af0f | [
"MIT"
] | null | null | null | stuff_for_python_socket/trick2/__init__.py | elafontaine/socket_presentation | 06113fd3c3eec257b45951cc26471ff0bbf1af0f | [
"MIT"
] | null | null | null | stuff_for_python_socket/trick2/__init__.py | elafontaine/socket_presentation | 06113fd3c3eec257b45951cc26471ff0bbf1af0f | [
"MIT"
] | null | null | null |
if __name__ == '__main__':
print("{file} is main".format(file=__file__))
else:
print("{file} is loaded".format(file=__file__)) | 27 | 51 | 0.666667 | 18 | 135 | 4.111111 | 0.5 | 0.243243 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 5 | 51 | 27 | 0.637931 | 0 | 0 | 0 | 0 | 0 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 |
c5aa1ecc6d9e753df84b01e1f6c18d7caa9a5034 | 10,793 | py | Python | src/tests/test_pagure_lib_add_user_to_project.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_lib_add_user_to_project.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | src/tests/test_pagure_lib_add_user_to_project.py | yifengyou/learn-pagure | e54ba955368918c92ad2be6347b53bb2c24a228c | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
"""
(c) 2017 - Copyright Red Hat Inc
Authors:
Pierre-Yves Chibon <pingou@pingoured.fr>
"""
from __future__ import unicode_literals, absolute_import
import unittest
import sys
import os
from mock import patch, MagicMock
sys.path.insert(
0, os.path.join(os.path.dirname(os.path.absp... | 33.623053 | 78 | 0.604281 | 1,245 | 10,793 | 5.082731 | 0.116466 | 0.071271 | 0.064159 | 0.040455 | 0.832965 | 0.813053 | 0.799147 | 0.770386 | 0.760272 | 0.727402 | 0 | 0.005882 | 0.275364 | 10,793 | 320 | 79 | 33.728125 | 0.803222 | 0.123784 | 0 | 0.690909 | 0 | 0 | 0.088562 | 0.027451 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.05 | false | 0.004545 | 0.031818 | 0 | 0.090909 | 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 |
c5c45df4c969a48aa83cf4183515174e9440ad72 | 117 | py | Python | ccc_client_dev.py | ohsu-comp-bio/ccc_client | 433a7fad3d8e6817362678b783110f38ca81e0a7 | [
"MIT"
] | null | null | null | ccc_client_dev.py | ohsu-comp-bio/ccc_client | 433a7fad3d8e6817362678b783110f38ca81e0a7 | [
"MIT"
] | null | null | null | ccc_client_dev.py | ohsu-comp-bio/ccc_client | 433a7fad3d8e6817362678b783110f38ca81e0a7 | [
"MIT"
] | null | null | null | """
ccc_client entrypoint script
"""
import ccc_client.cli
if __name__ == "__main__":
ccc_client.cli.cli_main()
| 14.625 | 29 | 0.717949 | 16 | 117 | 4.5 | 0.5625 | 0.375 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 7 | 30 | 16.714286 | 0.72 | 0.239316 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c5ff71800837220027bc1b54d138c4b03b406cbc | 126 | py | Python | TextCNN/data/MR/__init__.py | wangtao666666/NLP | 6c1507b532800ef2f40fcf8450c3eb414816302f | [
"MIT"
] | 2 | 2021-05-09T13:17:37.000Z | 2021-06-06T08:58:53.000Z | TextCNN/data/MR/__init__.py | wangtao666666/NLP | 6c1507b532800ef2f40fcf8450c3eb414816302f | [
"MIT"
] | null | null | null | TextCNN/data/MR/__init__.py | wangtao666666/NLP | 6c1507b532800ef2f40fcf8450c3eb414816302f | [
"MIT"
] | 1 | 2020-11-04T06:33:21.000Z | 2020-11-04T06:33:21.000Z | # -*- coding: utf-8 -*-
# @Time : 2020/10/15 上午10:59
# @Author : TaoWang
# @Description :
from .MR_Dataset import MR_Dataset | 18 | 34 | 0.650794 | 18 | 126 | 4.444444 | 0.888889 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.174603 | 126 | 7 | 34 | 18 | 0.644231 | 0.642857 | 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 |
a85096ce0206606764119c3d0362bf1068fcb4a5 | 1,387 | py | Python | 2021/dayFour/dayFour.py | joshuagornall/Advent-of-Code | 8f1e3affb8504309c418dd64b45d1e1912462da8 | [
"MIT"
] | null | null | null | 2021/dayFour/dayFour.py | joshuagornall/Advent-of-Code | 8f1e3affb8504309c418dd64b45d1e1912462da8 | [
"MIT"
] | null | null | null | 2021/dayFour/dayFour.py | joshuagornall/Advent-of-Code | 8f1e3affb8504309c418dd64b45d1e1912462da8 | [
"MIT"
] | null | null | null | # Part 1
data = data.split("\r\n\r\n")
nums = list(map(int, data[0].split(",")))
boards = []
for k in data[1:]:
boards.append([])
for j in k.splitlines():
boards[-1].append(list(map(int, j.split())))
for num in nums:
for board in boards:
for row in board:
for i in range(len(row... | 27.196078 | 136 | 0.504686 | 234 | 1,387 | 2.991453 | 0.17094 | 0.068571 | 0.091429 | 0.13 | 0.804286 | 0.762857 | 0.762857 | 0.762857 | 0.705714 | 0.705714 | 0 | 0.017486 | 0.340303 | 1,387 | 50 | 137 | 27.74 | 0.747541 | 0.009373 | 0 | 0.65 | 0 | 0 | 0.013129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.05 | 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 |
a87c3780e4800a9d4c8355c60e2d800797ba6bcc | 177 | py | Python | tests/base_classifier.py | bsteubing/multifunctional | 92c6e427374b151a8ea57c9be9e9245c717b9d46 | [
"BSD-3-Clause"
] | 1 | 2021-02-03T22:01:08.000Z | 2021-02-03T22:01:08.000Z | tests/base_classifier.py | bsteubing/multifunctional | 92c6e427374b151a8ea57c9be9e9245c717b9d46 | [
"BSD-3-Clause"
] | null | null | null | tests/base_classifier.py | bsteubing/multifunctional | 92c6e427374b151a8ea57c9be9e9245c717b9d46 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import multifunctional as mf
from multifunctional.classifiers.base import BaseMFClassifier
from bw2data.tests import bw2test
@bw2test
def test_dummy():
pass
| 17.7 | 61 | 0.824859 | 22 | 177 | 6.590909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.135593 | 177 | 9 | 62 | 19.666667 | 0.928105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.571429 | 0 | 0.714286 | 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 |
a89cc305d82a83f765b3eed51db6206405092143 | 2,539 | py | Python | epytope/Data/pssms/smm/mat/B_18_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_18_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_18_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_18_01_10 = {0: {'A': 0.397, 'C': 0.192, 'E': -0.169, 'D': -0.682, 'G': 0.447, 'F': -0.363, 'I': -0.22, 'H': 0.05, 'K': 0.573, 'M': -0.668, 'L': -0.095, 'N': -0.126, 'Q': 0.287, 'P': 0.229, 'S': 0.084, 'R': 0.264, 'T': -0.198, 'W': 0.125, 'V': 0.143, 'Y': -0.27}, 1: {'A': 0.077, 'C': 0.0, 'E': -0.871, 'D': 0.533, 'G':... | 2,539 | 2,539 | 0.389917 | 618 | 2,539 | 1.597087 | 0.279935 | 0.02229 | 0.009119 | 0.012158 | 0.039514 | 0 | 0 | 0 | 0 | 0 | 0 | 0.368471 | 0.163056 | 2,539 | 1 | 2,539 | 2,539 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0.079921 | 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 |
a8ac1180e759cda7753f63c34af1669ac95511dc | 4,885 | py | Python | tethys_services/base.py | quyendong/tethys | 99bcb524d5b2021b88d5fa15b7ed6b8acb460997 | [
"BSD-2-Clause"
] | 1 | 2020-10-08T20:38:33.000Z | 2020-10-08T20:38:33.000Z | tethys_services/base.py | quyendong/tethys | 99bcb524d5b2021b88d5fa15b7ed6b8acb460997 | [
"BSD-2-Clause"
] | 1 | 2018-04-14T19:40:54.000Z | 2018-04-14T19:40:54.000Z | tethys_services/base.py | quyendong/tethys | 99bcb524d5b2021b88d5fa15b7ed6b8acb460997 | [
"BSD-2-Clause"
] | 1 | 2021-09-07T14:47:11.000Z | 2021-09-07T14:47:11.000Z | """
********************************************************************************
* Name: base.py
* Author: Nathan Swain
* Created On: 2014
* Copyright: (c) Brigham Young University 2014
* License: BSD 2-Clause
********************************************************************************
"""
from tethys_dataset_s... | 38.164063 | 119 | 0.587922 | 558 | 4,885 | 4.94086 | 0.18638 | 0.039173 | 0.056583 | 0.030468 | 0.804498 | 0.770403 | 0.757708 | 0.733043 | 0.694958 | 0.669568 | 0 | 0.015023 | 0.277789 | 4,885 | 127 | 120 | 38.464567 | 0.76644 | 0.11566 | 0 | 0.441176 | 0 | 0 | 0.243217 | 0.010901 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0.088235 | 0.029412 | 0 | 0.205882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a8c72ab4f0940b3dcc1ebf7dffe0aea35e2a1e49 | 29 | py | Python | ccdl/__init__.py | xabgesagtx/ccdl | c6931d38c6068b6c48b033e2619a75157cbd6ac2 | [
"MIT"
] | 1 | 2015-12-10T16:41:52.000Z | 2015-12-10T16:41:52.000Z | ccdl/__init__.py | xabgesagtx/ccdl | c6931d38c6068b6c48b033e2619a75157cbd6ac2 | [
"MIT"
] | null | null | null | ccdl/__init__.py | xabgesagtx/ccdl | c6931d38c6068b6c48b033e2619a75157cbd6ac2 | [
"MIT"
] | 1 | 2022-03-21T07:24:56.000Z | 2022-03-21T07:24:56.000Z | from .ccdl import CcDownload
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
7690aa8625abf3609eda5c764fde4bc287acdb9e | 12,274 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimMaterial_GlazingMaterial_Glazing.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimMaterial_GlazingMaterial_Glazing.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimMaterial_GlazingMaterial_Glazing.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 45.970037 | 154 | 0.786704 | 1,251 | 12,274 | 7.183054 | 0.135891 | 0.33274 | 0.396617 | 0.29379 | 0.676052 | 0.643 | 0.640775 | 0.553639 | 0.517805 | 0.443134 | 0 | 0.004492 | 0.147629 | 12,274 | 266 | 155 | 46.142857 | 0.854426 | 0.023953 | 0 | 0.255102 | 1 | 0 | 0.019215 | 0.006015 | 0 | 0 | 0 | 0 | 0 | 1 | 0.239796 | false | 0.010204 | 0.066327 | 0.209184 | 0.647959 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
7691b0973118054b83bedab1ece63281bd28fefe | 49 | py | Python | usage_demo/my_other_program.py | aroberge/importhooks | 57483ce24d265d391587f6321954f2ed60f04afd | [
"MIT"
] | null | null | null | usage_demo/my_other_program.py | aroberge/importhooks | 57483ce24d265d391587f6321954f2ed60f04afd | [
"MIT"
] | null | null | null | usage_demo/my_other_program.py | aroberge/importhooks | 57483ce24d265d391587f6321954f2ed60f04afd | [
"MIT"
] | null | null | null | # my_other_program.py
import my_program # noqa
| 12.25 | 25 | 0.77551 | 8 | 49 | 4.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 3 | 26 | 16.333333 | 0.853659 | 0.489796 | 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 |
76c50d7ff0229d1e0e8ecd450f289bf586b425fa | 372 | py | Python | fabrik_full_body/output_writer.py | Atiehmerikh/FABRIK_Full_Body | ae31fd059e65db18cbcf5fcdb43cfad3e015a359 | [
"MIT"
] | 7 | 2020-09-29T23:49:05.000Z | 2022-02-07T12:51:11.000Z | fabrik_full_body/output_writer.py | Atiehmerikh/FABRIK_Full_Body | ae31fd059e65db18cbcf5fcdb43cfad3e015a359 | [
"MIT"
] | 2 | 2020-07-09T18:46:31.000Z | 2022-03-17T06:42:41.000Z | fabrik_full_body/output_writer.py | Atiehmerikh/FABRIK_python | ae31fd059e65db18cbcf5fcdb43cfad3e015a359 | [
"MIT"
] | 5 | 2021-03-15T12:50:16.000Z | 2022-02-11T11:10:36.000Z | from fabrik_full_body.singleton import Singleton
class OutputWriter(metaclass=Singleton):
def __init__(self, base_address="./outputs/", angles_file_address = "angles.txt"):
self.base_address = base_address
self.angles_file_address = base_address + angles_file_address
def angle_writer(self):... | 41.333333 | 86 | 0.741935 | 47 | 372 | 5.468085 | 0.489362 | 0.171206 | 0.264591 | 0.163424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 372 | 8 | 87 | 46.5 | 0.829032 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 |
76c5b0599de622291a540c654c4951f237f6e8b0 | 42 | py | Python | chrome_handler/__init__.py | kaito1002/chrome_handler | d9ec0229a57e370e05cd2eef51c2dc18abf5c463 | [
"MIT"
] | null | null | null | chrome_handler/__init__.py | kaito1002/chrome_handler | d9ec0229a57e370e05cd2eef51c2dc18abf5c463 | [
"MIT"
] | null | null | null | chrome_handler/__init__.py | kaito1002/chrome_handler | d9ec0229a57e370e05cd2eef51c2dc18abf5c463 | [
"MIT"
] | null | null | null | from .chrome_handler import ChromeHandler
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76c9b903c76be1afe3aa574aaab0c0f54fe035ec | 59,578 | py | Python | tests/test_wsman.py | Samathy/pypsrp | 196b4279581319930f2133860bce2f901a8bb127 | [
"MIT"
] | null | null | null | tests/test_wsman.py | Samathy/pypsrp | 196b4279581319930f2133860bce2f901a8bb127 | [
"MIT"
] | null | null | null | tests/test_wsman.py | Samathy/pypsrp | 196b4279581319930f2133860bce2f901a8bb127 | [
"MIT"
] | null | null | null | import os
import requests
import sys
import uuid
import pytest
import pypsrp.wsman as pypsrp_wsman
from pypsrp.encryption import WinRMEncryption
from pypsrp.exceptions import AuthenticationError, WinRMError, \
WinRMTransportError, WSManFaultError
from pypsrp.negotiate import HTTPNegotiateAuth
from pypsrp.wsman i... | 46.472699 | 929 | 0.623838 | 6,969 | 59,578 | 5.194863 | 0.073755 | 0.016048 | 0.027705 | 0.013673 | 0.845869 | 0.809077 | 0.768693 | 0.739939 | 0.71983 | 0.708809 | 0 | 0.040773 | 0.255715 | 59,578 | 1,281 | 930 | 46.508977 | 0.775658 | 0.02088 | 0 | 0.642923 | 0 | 0.023127 | 0.302348 | 0.041213 | 0 | 0 | 0 | 0 | 0.303423 | 1 | 0.092507 | false | 0.018501 | 0.019426 | 0.012951 | 0.13136 | 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 |
4f29288604459253d7cb9e3d68a91d869abee8de | 201 | py | Python | src/c3tools/lib/__init__.py | conao3/python-c3tools | 2ad0259d2036ef37a67ae6774efb47e3ab0fface | [
"Apache-2.0"
] | null | null | null | src/c3tools/lib/__init__.py | conao3/python-c3tools | 2ad0259d2036ef37a67ae6774efb47e3ab0fface | [
"Apache-2.0"
] | null | null | null | src/c3tools/lib/__init__.py | conao3/python-c3tools | 2ad0259d2036ef37a67ae6774efb47e3ab0fface | [
"Apache-2.0"
] | null | null | null | from . import openapi # noqa
from . import pydantic # noqa
from . import random # noqa
from . import stdin # noqa
from . import string # noqa
from . import subr # noqa
from . import yaml # noqa
| 25.125 | 30 | 0.686567 | 28 | 201 | 4.928571 | 0.357143 | 0.507246 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243781 | 201 | 7 | 31 | 28.714286 | 0.907895 | 0.169154 | 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 |
4f58a870209c7214a98dfab5efb00fcaf42d5382 | 332 | py | Python | clpy/statistics/__init__.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | clpy/statistics/__init__.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | clpy/statistics/__init__.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | # Functions from the following NumPy document
# http://docs.scipy.org/doc/numpy/reference/routines.statistics.html
# "NOQA" to suppress flake8 warning
from clpy.statistics import correlation # NOQA
from clpy.statistics import histogram # NOQA
from clpy.statistics import meanvar # NOQA
from clpy.statistics import or... | 36.888889 | 68 | 0.795181 | 45 | 332 | 5.866667 | 0.577778 | 0.121212 | 0.272727 | 0.363636 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003472 | 0.13253 | 332 | 8 | 69 | 41.5 | 0.913194 | 0.493976 | 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 |
4f69378eb6da1f4b15ae8c5cef08139c57633129 | 33 | py | Python | deepstack/intelligencelayer/shared/scene/__init__.py | mayop/DeepStack | 8b05c0a69dce65513638def0a8a21c87fd8409f1 | [
"Apache-2.0"
] | 1 | 2021-01-03T05:47:42.000Z | 2021-01-03T05:47:42.000Z | deepstack/intelligencelayer/shared/scene/__init__.py | robmarkcole/DeepStack | 8b05c0a69dce65513638def0a8a21c87fd8409f1 | [
"Apache-2.0"
] | null | null | null | deepstack/intelligencelayer/shared/scene/__init__.py | robmarkcole/DeepStack | 8b05c0a69dce65513638def0a8a21c87fd8409f1 | [
"Apache-2.0"
] | null | null | null | from .process import SceneModel
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 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 |
4fac9249a4507ce0b7812ed76dd2b4ea6b84810e | 127 | py | Python | model/__init__.py | Eren-Corn0712/CV_DL-Contrastive-Learning | c59ba5e2ae31c14ef4e175c79e3575e2cc7c439c | [
"MIT"
] | null | null | null | model/__init__.py | Eren-Corn0712/CV_DL-Contrastive-Learning | c59ba5e2ae31c14ef4e175c79e3575e2cc7c439c | [
"MIT"
] | null | null | null | model/__init__.py | Eren-Corn0712/CV_DL-Contrastive-Learning | c59ba5e2ae31c14ef4e175c79e3575e2cc7c439c | [
"MIT"
] | null | null | null | from .clrnet import CLRBackbone, CLRLinearClassifier, CLRClassifier
# TODO: If you want to use more model, can add on this
| 31.75 | 68 | 0.771654 | 18 | 127 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 127 | 3 | 69 | 42.333333 | 0.942308 | 0.409449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
96d69a530e823000fd1676f01d9052bc2fbcbbf2 | 13 | py | Python | models/__init__.py | gezekun/End-to-end-Lane-Detection-with-Convolution-and-Transformer | db243ad33a80069f4223598945d8c45c0af3c335 | [
"MIT"
] | null | null | null | models/__init__.py | gezekun/End-to-end-Lane-Detection-with-Convolution-and-Transformer | db243ad33a80069f4223598945d8c45c0af3c335 | [
"MIT"
] | null | null | null | models/__init__.py | gezekun/End-to-end-Lane-Detection-with-Convolution-and-Transformer | db243ad33a80069f4223598945d8c45c0af3c335 | [
"MIT"
] | null | null | null | # 2022 03 01
| 6.5 | 12 | 0.615385 | 3 | 13 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.888889 | 0.307692 | 13 | 1 | 13 | 13 | 0 | 0.769231 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96e9b2c4ce5fb14474fd6f0b1a0934bcfb5b92cf | 919 | py | Python | tests/threatbutt_test.py | ivanlei/threatbutt | faff507a4bebfa585d3044427111418c257c34ec | [
"Apache-2.0"
] | 55 | 2015-04-25T07:22:18.000Z | 2021-05-23T15:04:52.000Z | tests/threatbutt_test.py | ivanlei/threatbutt | faff507a4bebfa585d3044427111418c257c34ec | [
"Apache-2.0"
] | null | null | null | tests/threatbutt_test.py | ivanlei/threatbutt | faff507a4bebfa585d3044427111418c257c34ec | [
"Apache-2.0"
] | 8 | 2015-04-27T03:51:49.000Z | 2021-04-28T22:17:18.000Z | # -*- coding: utf-8 -*-
from io import StringIO
from mock import patch
from threatbutt import ThreatButt
def test_ioc():
with patch('sys.stdout', new=StringIO()) as fake_out:
tb = ThreatButt()
tb.clown_strike_ioc('127.0.0.1')
assert len(fake_out.getvalue())
def test_md5():
with pat... | 26.257143 | 58 | 0.660501 | 121 | 919 | 4.85124 | 0.289256 | 0.0954 | 0.081772 | 0.122658 | 0.843271 | 0.843271 | 0.843271 | 0.831346 | 0.831346 | 0.606474 | 0 | 0.081044 | 0.207835 | 919 | 34 | 59 | 27.029412 | 0.725275 | 0.022851 | 0 | 0.695652 | 0 | 0 | 0.136161 | 0.071429 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.173913 | false | 0 | 0.130435 | 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 |
96f42af5481a62e2bde02c9e2613ca7b569a6324 | 34 | py | Python | tests/unittests/durable_functions/activity_trigger_no_anno/main.py | vrdmr/azure-functions-python-worker | 7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624 | [
"MIT"
] | null | null | null | tests/unittests/durable_functions/activity_trigger_no_anno/main.py | vrdmr/azure-functions-python-worker | 7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624 | [
"MIT"
] | null | null | null | tests/unittests/durable_functions/activity_trigger_no_anno/main.py | vrdmr/azure-functions-python-worker | 7c9bcc4cc647f4b80a606a1e039d7cf9f3db9624 | [
"MIT"
] | null | null | null | def main(input):
return input
| 11.333333 | 16 | 0.676471 | 5 | 34 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 34 | 2 | 17 | 17 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
96f4e56b165e717caa6240e5ba13778f3a0000b3 | 66 | py | Python | sample/sample.py | eaybek/utilio | 5299558adce907ac40ef46da3e2ce8d4b5e16324 | [
"MIT"
] | null | null | null | sample/sample.py | eaybek/utilio | 5299558adce907ac40ef46da3e2ce8d4b5e16324 | [
"MIT"
] | null | null | null | sample/sample.py | eaybek/utilio | 5299558adce907ac40ef46da3e2ce8d4b5e16324 | [
"MIT"
] | null | null | null | from utilio.utilio import Utilio
class Utilio(object):
pass
| 11 | 32 | 0.742424 | 9 | 66 | 5.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 66 | 5 | 33 | 13.2 | 0.924528 | 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 |
8c6246e872f4ef25f0b1c211a1f937d90135e2ea | 25 | py | Python | fun.py | omribrand/MyNewRepo | 4315095715451944ec5d8ea02a6b5136a93fc5e7 | [
"MIT"
] | null | null | null | fun.py | omribrand/MyNewRepo | 4315095715451944ec5d8ea02a6b5136a93fc5e7 | [
"MIT"
] | null | null | null | fun.py | omribrand/MyNewRepo | 4315095715451944ec5d8ea02a6b5136a93fc5e7 | [
"MIT"
] | null | null | null | def bka(a):
return 2*a
| 8.333333 | 12 | 0.6 | 6 | 25 | 2.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.24 | 25 | 2 | 13 | 12.5 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4fb2bfc1cd80130fe83c4c692e0d3f8c0c33c061 | 28 | py | Python | tcopy/__init__.py | Bogdanp/tcopy | bfb072d47317a22e133e7ca8e400cafcf304f85e | [
"MIT"
] | 4 | 2015-04-06T14:48:25.000Z | 2020-08-15T00:09:23.000Z | tcopy/__init__.py | Bogdanp/tcopy | bfb072d47317a22e133e7ca8e400cafcf304f85e | [
"MIT"
] | null | null | null | tcopy/__init__.py | Bogdanp/tcopy | bfb072d47317a22e133e7ca8e400cafcf304f85e | [
"MIT"
] | null | null | null | from tco import tco # noqa
| 14 | 27 | 0.714286 | 5 | 28 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 1 | 28 | 28 | 0.952381 | 0.142857 | 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 |
8b0189a40e9f73ddfc01fa6402b45f76ffdefef4 | 4,056 | py | Python | Source/WebCore/Modules/webgpu/WHLSL/WHLSLBuildStandardLibraryFunctionMap.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/Modules/webgpu/WHLSL/WHLSLBuildStandardLibraryFunctionMap.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/Modules/webgpu/WHLSL/WHLSLBuildStandardLibraryFunctionMap.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (C) 2014 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list o... | 36.540541 | 141 | 0.735207 | 530 | 4,056 | 5.620755 | 0.332075 | 0.016113 | 0.022826 | 0.030883 | 0.731118 | 0.731118 | 0.731118 | 0.731118 | 0.731118 | 0.731118 | 0 | 0.007454 | 0.173077 | 4,056 | 110 | 142 | 36.872727 | 0.880739 | 0.3464 | 0 | 0.147059 | 0 | 0 | 0.713252 | 0.041127 | 0 | 0 | 0 | 0.009091 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.044118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ca57d60888fa3136e119e2392629b7982bdb971 | 33 | py | Python | highcharts/highcharts/__init__.py | Jbrunn/python-highcharts | a4c488ae5c2e125616efad5a722f3dfd8a9bc450 | [
"MIT"
] | 370 | 2015-10-07T20:13:10.000Z | 2022-03-31T03:43:17.000Z | highcharts/highcharts/__init__.py | Jbrunn/python-highcharts | a4c488ae5c2e125616efad5a722f3dfd8a9bc450 | [
"MIT"
] | 67 | 2016-03-14T12:18:44.000Z | 2022-02-24T09:24:31.000Z | highcharts/highcharts/__init__.py | Jbrunn/python-highcharts | a4c488ae5c2e125616efad5a722f3dfd8a9bc450 | [
"MIT"
] | 159 | 2016-02-25T15:07:52.000Z | 2022-03-12T13:04:14.000Z | from .highcharts import Highchart | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 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 |
8cbb25d411bc5b5ca7f91784d5c0f70ff00ac433 | 6,324 | py | Python | nets/unet.py | mymsimple/table-detect | 99a659346449734b905f7be165d30ff667b6cf93 | [
"MIT"
] | null | null | null | nets/unet.py | mymsimple/table-detect | 99a659346449734b905f7be165d30ff667b6cf93 | [
"MIT"
] | null | null | null | nets/unet.py | mymsimple/table-detect | 99a659346449734b905f7be165d30ff667b6cf93 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Sep 9 23:11:51 2020
table line detect
@author: chineseocr
"""
from tensorflow.keras.models import Model
from tensorflow.keras.layers import Input, concatenate, Conv2D, MaxPooling2D, BatchNormalization, UpSampling2D
from tensorflow.keras.layers import Le... | 38.797546 | 110 | 0.646743 | 891 | 6,324 | 4.499439 | 0.088664 | 0.113495 | 0.071838 | 0.103767 | 0.813669 | 0.798204 | 0.798204 | 0.757795 | 0.757795 | 0.74233 | 0 | 0.110727 | 0.175996 | 6,324 | 162 | 111 | 39.037037 | 0.658607 | 0.026407 | 0 | 0.666667 | 0 | 0 | 0.022008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00813 | false | 0 | 0.02439 | 0 | 0.04065 | 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 |
5069c9abbef88f46faee541c6e023d234368e699 | 125 | py | Python | tests/setup-transaction_generator/test_setup.py | metronotes-testing/transaction-generator | 98f00e7041ce01f80d0df2f3fc58c0157552ad97 | [
"MIT"
] | 1 | 2020-01-30T05:25:36.000Z | 2020-01-30T05:25:36.000Z | tests/setup-transaction_generator/test_setup.py | harmony-one/transaction-generator | 98f00e7041ce01f80d0df2f3fc58c0157552ad97 | [
"MIT"
] | null | null | null | tests/setup-transaction_generator/test_setup.py | harmony-one/transaction-generator | 98f00e7041ce01f80d0df2f3fc58c0157552ad97 | [
"MIT"
] | null | null | null | import pytest
import transaction_generator as tx_gen
@pytest.fixture(scope="session", autouse=True)
def setup():
pass
| 13.888889 | 46 | 0.76 | 17 | 125 | 5.470588 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144 | 125 | 8 | 47 | 15.625 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0.056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
50c9782d4a6b4a7570201b5f44808e9f18869182 | 132 | py | Python | pose_format/tensorflow/masked/__init__.py | yairc2223/pose-format | 6556433193582f8a7ed80d58d19ec11749e8606b | [
"MIT"
] | 11 | 2020-09-02T02:58:23.000Z | 2022-01-20T09:17:26.000Z | pose_format/tensorflow/masked/__init__.py | yairc2223/pose-format | 6556433193582f8a7ed80d58d19ec11749e8606b | [
"MIT"
] | 5 | 2021-12-10T15:48:59.000Z | 2022-02-21T15:53:20.000Z | pose_format/tensorflow/masked/__init__.py | yairc2223/pose-format | 6556433193582f8a7ed80d58d19ec11749e8606b | [
"MIT"
] | 6 | 2020-09-21T02:21:26.000Z | 2022-02-05T17:18:44.000Z | from pose_format.tensorflow.masked.tensor import MaskedTensor
from pose_format.tensorflow.masked.tensorflow import MaskedTensorflow
| 44 | 69 | 0.893939 | 16 | 132 | 7.25 | 0.5625 | 0.137931 | 0.241379 | 0.413793 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 132 | 2 | 70 | 66 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
50d050397171e66f93442e98d2a2871b8d0c4f08 | 2,376 | py | Python | xndtools/kernel_generator/tests/test_test_mixed.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 3 | 2019-11-12T16:01:26.000Z | 2020-06-27T19:27:27.000Z | xndtools/kernel_generator/tests/test_test_mixed.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 4 | 2018-04-25T17:12:43.000Z | 2018-08-23T18:17:24.000Z | xndtools/kernel_generator/tests/test_test_mixed.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 6 | 2018-05-04T08:10:40.000Z | 2019-03-19T10:00:21.000Z | import pytest
from xndtools.kernel_generator.utils import NormalizedTypeMap
from xnd import xnd
m = pytest.importorskip("test_mixed")
long_t = NormalizedTypeMap()('long')
def assert_equal(x, y):
assert x == y and x.dtype == y.dtype
def test_mixed_matrices_CF_inout():
a = xnd([[10, 20],
[30, 4... | 30.857143 | 72 | 0.520202 | 395 | 2,376 | 2.936709 | 0.136709 | 0.090517 | 0.082759 | 0.096552 | 0.790517 | 0.790517 | 0.702586 | 0.702586 | 0.702586 | 0.685345 | 0 | 0.07907 | 0.276094 | 2,376 | 76 | 73 | 31.263158 | 0.595349 | 0 | 0 | 0.728814 | 0 | 0 | 0.160354 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.084746 | false | 0 | 0.067797 | 0 | 0.152542 | 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 |
0ff32fc3b840e09f50cb50e169fb701aecb71f60 | 23,947 | py | Python | core/app.py | Volentix/EZEOS | 611048ace245e0b5776fe23b0eb32352a01300ae | [
"MIT"
] | 12 | 2018-07-06T01:49:45.000Z | 2019-05-15T20:54:07.000Z | core/app.py | Volentix/EZEOS | 611048ace245e0b5776fe23b0eb32352a01300ae | [
"MIT"
] | 1 | 2018-11-02T14:31:48.000Z | 2018-11-02T14:31:48.000Z | core/app.py | Volentix/EZEOS | 611048ace245e0b5776fe23b0eb32352a01300ae | [
"MIT"
] | 4 | 2018-07-17T21:07:37.000Z | 2019-05-15T06:32:42.000Z | #!/usr/bin/env python
# coding: utf-8
from tkinter import Tk
from gui.ui import UI
from core import DOCKER_CONTAINER_NAME
from core import TIMEOUT
from core import btc, bch, dash, eth, ltc, neo, xmr
import subprocess
import os
import signal
def run():
global app
root = Tk()
app = UI(root)
# Applicati... | 35.902549 | 268 | 0.587798 | 2,886 | 23,947 | 4.867983 | 0.094248 | 0.015375 | 0.024201 | 0.042281 | 0.813652 | 0.781835 | 0.755783 | 0.728237 | 0.7266 | 0.678198 | 0 | 0.004007 | 0.280954 | 23,947 | 666 | 269 | 35.956456 | 0.811894 | 0.042594 | 0 | 0.689408 | 0 | 0 | 0.15176 | 0.000961 | 0 | 0 | 0 | 0.001502 | 0 | 1 | 0.064632 | false | 0.007181 | 0.021544 | 0 | 0.089767 | 0.122083 | 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 |
0ff925beaf5ef2567704c3c1920f77502dc58969 | 4,747 | py | Python | pyflux/gas/tests/gas_llev_tests_skewt.py | ThomasHoppe/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 2,091 | 2016-04-01T02:52:10.000Z | 2022-03-29T11:38:15.000Z | pyflux/gas/tests/gas_llev_tests_skewt.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 160 | 2016-04-26T14:52:18.000Z | 2022-03-15T02:09:07.000Z | pyflux/gas/tests/gas_llev_tests_skewt.py | EricSchles/pyflux | 297f2afc2095acd97c12e827dd500e8ea5da0c0f | [
"BSD-3-Clause"
] | 264 | 2016-05-02T14:03:31.000Z | 2022-03-29T07:48:20.000Z | import numpy as np
import pyflux as pf
noise = np.random.normal(0,1,200)
data = np.zeros(200)
for i in range(1,len(data)):
data[i] = 1.0*data[i-1] + noise[i]
countdata = np.random.poisson(3,200)
def test_skewt_couple_terms():
"""
Tests latent variable list length is correct, and that the estimated
latent variab... | 33.195804 | 87 | 0.709711 | 793 | 4,747 | 4.147541 | 0.128625 | 0.095774 | 0.059593 | 0.076619 | 0.901186 | 0.857708 | 0.839465 | 0.816358 | 0.816358 | 0.799331 | 0 | 0.016316 | 0.147883 | 4,747 | 142 | 88 | 33.429577 | 0.796786 | 0.240152 | 0 | 0.569231 | 0 | 0 | 0.00805 | 0 | 0 | 0 | 0 | 0 | 0.261538 | 1 | 0.169231 | false | 0 | 0.030769 | 0 | 0.2 | 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 |
ba06bd7bbbbf073ea68c4060dc53dffd638beb95 | 62 | py | Python | libs/query_set.py | jessamynsmith/quotations | b2a9b70190756fa261840faea181860b166e253f | [
"MIT"
] | 2 | 2015-05-01T19:44:41.000Z | 2015-07-17T13:52:46.000Z | libs/query_set.py | jessamynsmith/quotations | b2a9b70190756fa261840faea181860b166e253f | [
"MIT"
] | 13 | 2019-10-18T17:06:52.000Z | 2022-02-10T07:37:30.000Z | libs/query_set.py | jessamynsmith/quotations | b2a9b70190756fa261840faea181860b166e253f | [
"MIT"
] | 3 | 2015-05-06T15:38:30.000Z | 2015-07-26T21:12:32.000Z | def get_random(query_set):
return query_set.order_by('?')
| 20.666667 | 34 | 0.725806 | 10 | 62 | 4.1 | 0.8 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 35 | 31 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 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 |
e83bd0da7cea890b9cffd07d8619934a628dd1e1 | 34,860 | py | Python | tests/unit/test_property_wizard.py | rnag/dataclass-wizard | 5bccf63daea217aff6e77fd00ed8f7bed87f0377 | [
"Apache-2.0"
] | 19 | 2021-11-05T20:29:56.000Z | 2022-03-31T02:51:25.000Z | tests/unit/test_property_wizard.py | rnag/dataclass-wizard | 5bccf63daea217aff6e77fd00ed8f7bed87f0377 | [
"Apache-2.0"
] | 6 | 2021-10-20T23:24:04.000Z | 2022-03-01T18:49:14.000Z | tests/unit/test_property_wizard.py | rnag/dataclass-wizard | 5bccf63daea217aff6e77fd00ed8f7bed87f0377 | [
"Apache-2.0"
] | null | null | null | import logging
from collections import defaultdict
from dataclasses import dataclass, field
from datetime import datetime
from typing import Union, List, ClassVar, DefaultDict, Set
import pytest
from dataclass_wizard import property_wizard
from ..conftest import Literal, Annotated, PY39_OR_ABOVE, PY310_OR_ABOVE
log ... | 29.392917 | 105 | 0.635657 | 4,686 | 34,860 | 4.59347 | 0.070849 | 0.033821 | 0.049524 | 0.041812 | 0.797538 | 0.770035 | 0.75252 | 0.732729 | 0.718792 | 0.703136 | 0 | 0.020404 | 0.26331 | 34,860 | 1,185 | 106 | 29.417722 | 0.817764 | 0.254016 | 0 | 0.791908 | 0 | 0 | 0.094476 | 0 | 0 | 0 | 0 | 0 | 0.174855 | 1 | 0.137283 | false | 0 | 0.011561 | 0.049133 | 0.297688 | 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 |
e86175919abeb092ddf35854c597c02131ebd4bd | 23 | py | Python | stat_tools/__init__.py | tilmantroester/simple_bootstrap | 4cecd2a789adad7700842de02cb051c46af3647b | [
"MIT"
] | null | null | null | stat_tools/__init__.py | tilmantroester/simple_bootstrap | 4cecd2a789adad7700842de02cb051c46af3647b | [
"MIT"
] | null | null | null | stat_tools/__init__.py | tilmantroester/simple_bootstrap | 4cecd2a789adad7700842de02cb051c46af3647b | [
"MIT"
] | null | null | null | from . import bootstrap | 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 |
e86ab204920d37c7269fd123ac7a7323a5856aec | 37 | py | Python | download.py | easygittool/EasyGitTool | 55ce8aaa6756715e864afdfb3b420d62eef84437 | [
"Apache-2.0"
] | 1 | 2019-02-09T11:18:29.000Z | 2019-02-09T11:18:29.000Z | download.py | easygittool/EasyGitTool | 55ce8aaa6756715e864afdfb3b420d62eef84437 | [
"Apache-2.0"
] | null | null | null | download.py | easygittool/EasyGitTool | 55ce8aaa6756715e864afdfb3b420d62eef84437 | [
"Apache-2.0"
] | null | null | null | import os
import
os.rename(src, dst) | 12.333333 | 19 | 0.756757 | 7 | 37 | 4 | 0.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 3 | 19 | 12.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2cd9d28ece47e42057e4d6218cb1fc0b40c58037 | 46,346 | py | Python | surveyequivalence/scoring_functions.py | DavidXu999/surveyequivalence | 83fc7f3095f7d58a32d5624afa8ec83895073277 | [
"MIT"
] | null | null | null | surveyequivalence/scoring_functions.py | DavidXu999/surveyequivalence | 83fc7f3095f7d58a32d5624afa8ec83895073277 | [
"MIT"
] | 3 | 2021-11-30T22:57:59.000Z | 2022-02-03T04:44:45.000Z | surveyequivalence/scoring_functions.py | DavidXu999/surveyequivalence | 83fc7f3095f7d58a32d5624afa8ec83895073277 | [
"MIT"
] | 1 | 2021-07-28T14:27:18.000Z | 2021-07-28T14:27:18.000Z | import random
from abc import ABC, abstractmethod
from math import log2
from typing import Sequence
import numpy as np
import pandas as pd
from sklearn.metrics import precision_score, recall_score, f1_score, roc_auc_score
from .combiners import DiscreteDistributionPrediction, NumericPrediction, DiscretePrediction
fr... | 42.363803 | 250 | 0.636064 | 5,660 | 46,346 | 4.965901 | 0.075265 | 0.046963 | 0.04184 | 0.0523 | 0.796919 | 0.773259 | 0.748817 | 0.735689 | 0.710748 | 0.699932 | 0 | 0.012973 | 0.27983 | 46,346 | 1,094 | 251 | 42.363803 | 0.829134 | 0.302378 | 0 | 0.73271 | 0 | 0.001869 | 0.042715 | 0.018146 | 0 | 0 | 0 | 0 | 0.014953 | 1 | 0.08785 | false | 0.016822 | 0.014953 | 0.016822 | 0.216822 | 0.042991 | 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 |
2ce2eee8d89f06ffa737492055a7d3050e36fa30 | 47 | py | Python | sandbox/utils.py | IvanaEscobar/sandbox | 71d62af2c112686c5ce26def35593247cf6a0ccc | [
"MIT"
] | null | null | null | sandbox/utils.py | IvanaEscobar/sandbox | 71d62af2c112686c5ce26def35593247cf6a0ccc | [
"MIT"
] | 3 | 2022-02-15T23:32:52.000Z | 2022-03-28T21:35:12.000Z | sandbox/utils.py | IvanaEscobar/sandbox | 71d62af2c112686c5ce26def35593247cf6a0ccc | [
"MIT"
] | null | null | null |
def testFunction ( var ):
return var + 10
| 11.75 | 25 | 0.617021 | 6 | 47 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.297872 | 47 | 3 | 26 | 15.666667 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2ce89d44b2c024f94cf4c603ae079d5d050a4038 | 2,096 | py | Python | tests/test_rsa_crt_fault_attack.py | timgates42/featherduster | 76954f234d9056bbaafa00b066725c7d8de9c9c4 | [
"BSD-3-Clause"
] | 1,026 | 2016-05-05T17:27:39.000Z | 2022-03-31T20:58:42.000Z | tests/test_rsa_crt_fault_attack.py | timgates42/featherduster | 76954f234d9056bbaafa00b066725c7d8de9c9c4 | [
"BSD-3-Clause"
] | 82 | 2016-05-06T13:02:14.000Z | 2022-03-27T19:51:25.000Z | tests/test_rsa_crt_fault_attack.py | timgates42/featherduster | 76954f234d9056bbaafa00b066725c7d8de9c9c4 | [
"BSD-3-Clause"
] | 165 | 2016-05-05T17:33:38.000Z | 2022-03-10T01:39:14.000Z | import cryptanalib as ca
d = 82767305373540638730467000866069340133906579071377643604429571141489837033922139209053795219339612006623494187269724705890618110645105639731680971310917629009358840001587006088574878941528775744670226354719210549224384163728477380447203411716937285095103047331525820257359974573666409620424... | 116.444444 | 626 | 0.962309 | 41 | 2,096 | 49.121951 | 0.682927 | 0.008937 | 0.016385 | 0.025323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.906693 | 0.023378 | 2,096 | 17 | 627 | 123.294118 | 0.077186 | 0 | 0 | 0 | 0 | 0 | 0.02958 | 0 | 0 | 1 | 0.00334 | 0 | 0.090909 | 0 | null | null | 0 | 0.090909 | null | null | 0.090909 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa5f164def109b09dfbbd12bdeedb6d6af991903 | 984 | py | Python | dashboard/core/templatetags/core_extras.py | hebergui/webtrade | 338fbf334b6ba173296635b380b53b088a87bb95 | [
"Apache-2.0"
] | null | null | null | dashboard/core/templatetags/core_extras.py | hebergui/webtrade | 338fbf334b6ba173296635b380b53b088a87bb95 | [
"Apache-2.0"
] | null | null | null | dashboard/core/templatetags/core_extras.py | hebergui/webtrade | 338fbf334b6ba173296635b380b53b088a87bb95 | [
"Apache-2.0"
] | null | null | null | import json
import statistics
from django import template
from django.template.defaultfilters import stringfilter
from django.utils.safestring import mark_safe
register = template.Library()
@register.filter
@stringfilter
def split(value, arg):
return value.split(arg)
@register.filter(is_safe=True)
def js(obj)... | 14.909091 | 55 | 0.720528 | 144 | 984 | 4.847222 | 0.333333 | 0.22063 | 0.219198 | 0.229226 | 0.157593 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.170732 | 984 | 65 | 56 | 15.138462 | 0.85049 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.268293 | false | 0 | 0.121951 | 0.243902 | 0.658537 | 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 |
d71bb519364d3c81f3c5a098c4b6698613f64631 | 18 | py | Python | test.py | danielim/chenpy | 502e00e610ce47469d75777f5c1224a316dda4f0 | [
"MIT"
] | null | null | null | test.py | danielim/chenpy | 502e00e610ce47469d75777f5c1224a316dda4f0 | [
"MIT"
] | null | null | null | test.py | danielim/chenpy | 502e00e610ce47469d75777f5c1224a316dda4f0 | [
"MIT"
] | null | null | null | import tldrwiki
| 4.5 | 15 | 0.777778 | 2 | 18 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 3 | 16 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d74711cccb093dafff7fd329dab02fe7da3c629b | 48 | py | Python | pytest-ex/ch1/test_two.py | leonhmi75/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | 1 | 2019-05-01T05:25:22.000Z | 2019-05-01T05:25:22.000Z | pytest-ex/ch1/test_two.py | leon-lei/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | null | null | null | pytest-ex/ch1/test_two.py | leon-lei/learning-materials | 7342bf14e41ee2d1bf1b0b9b52f626318597a75e | [
"MIT"
] | null | null | null | def test_failing():
assert(1,2,3) == (3,2,1) | 24 | 28 | 0.5625 | 10 | 48 | 2.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.166667 | 48 | 2 | 28 | 24 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d79485dd00e3715f1bb3fe9967ca9dadecc1d7ff | 41 | py | Python | test.py | osirisguitar/gpt2-generator | a78af4f341f24f0452a44336309c6c9cbe09011f | [
"MIT"
] | null | null | null | test.py | osirisguitar/gpt2-generator | a78af4f341f24f0452a44336309c6c9cbe09011f | [
"MIT"
] | null | null | null | test.py | osirisguitar/gpt2-generator | a78af4f341f24f0452a44336309c6c9cbe09011f | [
"MIT"
] | null | null | null | print("Message one")
print("Message two") | 20.5 | 20 | 0.731707 | 6 | 41 | 5 | 0.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 2 | 21 | 20.5 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d7973249303aefe10d10f81cc67f24b5061d4732 | 284 | py | Python | app/static.py | renato-farias/openstack-instances-monitoring | 8b3aaa5276404f79036b2ec8fbaa32d37b3d7cf5 | [
"Apache-2.0"
] | 18 | 2016-05-13T13:16:03.000Z | 2021-06-01T23:37:13.000Z | app/static.py | renato-farias/openstack-instances-monitoring | 8b3aaa5276404f79036b2ec8fbaa32d37b3d7cf5 | [
"Apache-2.0"
] | 2 | 2016-06-20T09:24:30.000Z | 2017-04-06T14:41:44.000Z | app/static.py | renato-farias/openstack-instances-monitoring | 8b3aaa5276404f79036b2ec8fbaa32d37b3d7cf5 | [
"Apache-2.0"
] | 9 | 2016-05-15T20:12:23.000Z | 2018-01-18T12:18:53.000Z | # -*- coding: utf-8 -*-
from flask import current_app
def index(resource=None):
return current_app.send_static_file('index.html')
def instances():
return current_app.send_static_file('instances.html')
def report():
return current_app.send_static_file('report.html')
| 18.933333 | 57 | 0.732394 | 40 | 284 | 4.95 | 0.475 | 0.20202 | 0.242424 | 0.30303 | 0.454545 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.004082 | 0.137324 | 284 | 14 | 58 | 20.285714 | 0.804082 | 0.073944 | 0 | 0 | 0 | 0 | 0.1341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ad4357264dc72a492e2e7707307ba1d582488d9a | 9,013 | py | Python | src/performant/tools.py | babe269/performant | 416c07b06a1288ad16d50e275fcd78c3ffee3cfb | [
"MIT"
] | null | null | null | src/performant/tools.py | babe269/performant | 416c07b06a1288ad16d50e275fcd78c3ffee3cfb | [
"MIT"
] | null | null | null | src/performant/tools.py | babe269/performant | 416c07b06a1288ad16d50e275fcd78c3ffee3cfb | [
"MIT"
] | null | null | null |
def plotFormants(fileNames, vowels, language, centroid):
#Requirements if running on Colab: install !pip install praat-parselmouth !pip install tgt
#cd into a directory to store wav, txt and textgrid files before running.
import os
import requests
import pandas as pd
import urllib.request
import parsel... | 35.070039 | 163 | 0.562854 | 1,048 | 9,013 | 4.753817 | 0.211832 | 0.048776 | 0.018065 | 0.016861 | 0.786632 | 0.778804 | 0.778804 | 0.778804 | 0.778804 | 0.76676 | 0 | 0.02678 | 0.295684 | 9,013 | 257 | 164 | 35.070039 | 0.757089 | 0.051925 | 0 | 0.774468 | 0 | 0 | 0.125351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008511 | false | 0 | 0.07234 | 0 | 0.089362 | 0.017021 | 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 |
a8ec05d1330ae68b60864f963ee382af8fb81175 | 28 | py | Python | datacatalog/formats/tulane/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | null | null | null | datacatalog/formats/tulane/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 2 | 2019-07-25T15:39:04.000Z | 2019-10-21T15:31:46.000Z | datacatalog/formats/tulane/__init__.py | SD2E/python-datacatalog | 51ab366639505fb6e8a14cd6b446de37080cd20d | [
"CNRI-Python"
] | 1 | 2019-10-15T14:33:44.000Z | 2019-10-15T14:33:44.000Z | from .convert import Tulane
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8ef3b58fe05e8f36fb47a9deaf7d16e84e3090d | 6,515 | py | Python | seqgra/learner/dna.py | gifford-lab/seqgra | 3c7547878ecda4c00572746b8a07e0d614c9dbef | [
"MIT"
] | null | null | null | seqgra/learner/dna.py | gifford-lab/seqgra | 3c7547878ecda4c00572746b8a07e0d614c9dbef | [
"MIT"
] | null | null | null | seqgra/learner/dna.py | gifford-lab/seqgra | 3c7547878ecda4c00572746b8a07e0d614c9dbef | [
"MIT"
] | 2 | 2021-06-14T20:27:40.000Z | 2021-06-14T20:29:29.000Z | """MIT - CSAIL - Gifford Lab - seqgra
Abstract base class for learners
@author: Konstantin Krismer
"""
from __future__ import annotations
from typing import List
import itertools
import warnings
import numpy as np
import pandas as pd
from sklearn.preprocessing import MultiLabelBinarizer
from seqgra import ExampleS... | 38.550296 | 74 | 0.57452 | 835 | 6,515 | 4.338922 | 0.186826 | 0.049683 | 0.066243 | 0.066243 | 0.757107 | 0.757107 | 0.757107 | 0.757107 | 0.743307 | 0.743307 | 0 | 0.009905 | 0.318189 | 6,515 | 168 | 75 | 38.779762 | 0.805718 | 0.018419 | 0 | 0.763359 | 0 | 0 | 0.07484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10687 | false | 0 | 0.091603 | 0.045802 | 0.305344 | 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 |
a8ff1bc176272e500a07aebd74e964e8b2d647c7 | 179 | py | Python | django_compat_patcher/fixers/__init__.py | jayvdb/django-compat-patcher | 09a60f1fa7e860a32d506c92d684997492385dda | [
"MIT"
] | null | null | null | django_compat_patcher/fixers/__init__.py | jayvdb/django-compat-patcher | 09a60f1fa7e860a32d506c92d684997492385dda | [
"MIT"
] | null | null | null | django_compat_patcher/fixers/__init__.py | jayvdb/django-compat-patcher | 09a60f1fa7e860a32d506c92d684997492385dda | [
"MIT"
] | null | null | null | from __future__ import absolute_import, print_function, unicode_literals
from . import django1_6, django1_7, django1_8, django1_9, django1_10, django1_11, django2_0, django2_1
| 29.833333 | 102 | 0.832402 | 27 | 179 | 4.962963 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0.111732 | 179 | 5 | 103 | 35.8 | 0.72956 | 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 |
d15130120eee6120e788b34ff44aa50929cf2fbc | 65 | py | Python | dart/experiments/__init__.py | fpirovan/NoiseInjection | d1a8c90aaf45d435d40c476a2d2e74258920ff22 | [
"RSA-MD"
] | null | null | null | dart/experiments/__init__.py | fpirovan/NoiseInjection | d1a8c90aaf45d435d40c476a2d2e74258920ff22 | [
"RSA-MD"
] | null | null | null | dart/experiments/__init__.py | fpirovan/NoiseInjection | d1a8c90aaf45d435d40c476a2d2e74258920ff22 | [
"RSA-MD"
] | 2 | 2020-11-06T06:57:35.000Z | 2021-04-26T13:23:35.000Z | from .tools import *
from .net import *
from .framework import *
| 16.25 | 24 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 25 | 21.666667 | 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 |
0f00006967ad3f1b9a9299831e27a0fa80919718 | 69 | py | Python | 6.py | BarisTeksin/project-euler | 38a368d66fdd3bdc1d977059ba966fb7c1dcdc39 | [
"MIT"
] | 4 | 2020-04-18T21:05:13.000Z | 2020-04-26T15:39:14.000Z | 6.py | BarisTeksin/project-euler | 38a368d66fdd3bdc1d977059ba966fb7c1dcdc39 | [
"MIT"
] | null | null | null | 6.py | BarisTeksin/project-euler | 38a368d66fdd3bdc1d977059ba966fb7c1dcdc39 | [
"MIT"
] | null | null | null | print(sum(x for x in range(101))**2 - sum(x**2 for x in range(101)))
| 34.5 | 68 | 0.623188 | 17 | 69 | 2.529412 | 0.470588 | 0.186047 | 0.27907 | 0.511628 | 0.651163 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.15942 | 69 | 1 | 69 | 69 | 0.603448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
0f3b6de130bfdb209b8347e2c0a0e27691a2f8cf | 9,075 | py | Python | torchensemble/tests/test_all_models_multi_input.py | e-eight/Ensemble-Pytorch | 83250759d3075795805d8c90f425191ab262b1c4 | [
"BSD-3-Clause"
] | null | null | null | torchensemble/tests/test_all_models_multi_input.py | e-eight/Ensemble-Pytorch | 83250759d3075795805d8c90f425191ab262b1c4 | [
"BSD-3-Clause"
] | null | null | null | torchensemble/tests/test_all_models_multi_input.py | e-eight/Ensemble-Pytorch | 83250759d3075795805d8c90f425191ab262b1c4 | [
"BSD-3-Clause"
] | 1 | 2021-07-02T07:44:20.000Z | 2021-07-02T07:44:20.000Z | import torch
import pytest
import numpy as np
import torch.nn as nn
from torch.utils.data import TensorDataset, DataLoader
import torchensemble
from torchensemble.utils import io
from torchensemble.utils.logging import set_logger
# All classifiers
all_clf = [
torchensemble.FusionClassifier,
torchensemble.Vot... | 29.464286 | 79 | 0.695537 | 1,222 | 9,075 | 4.943535 | 0.121113 | 0.04635 | 0.029796 | 0.028141 | 0.814104 | 0.798212 | 0.779672 | 0.770733 | 0.770733 | 0.760967 | 0 | 0.023093 | 0.198347 | 9,075 | 307 | 80 | 29.560261 | 0.807285 | 0.106997 | 0 | 0.644809 | 0 | 0 | 0.019983 | 0.003997 | 0 | 0 | 0 | 0 | 0.010929 | 1 | 0.054645 | false | 0 | 0.043716 | 0 | 0.120219 | 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 |
0f3c0f60bd1240b2462f9d145d8774d9b29c0816 | 34 | py | Python | path_finding/rl_algo.py | Maarten1999/Minor_ML3_Snake_AI | 8a579634c94feb8f73b9bf00db78d6852993d3f6 | [
"MIT"
] | null | null | null | path_finding/rl_algo.py | Maarten1999/Minor_ML3_Snake_AI | 8a579634c94feb8f73b9bf00db78d6852993d3f6 | [
"MIT"
] | null | null | null | path_finding/rl_algo.py | Maarten1999/Minor_ML3_Snake_AI | 8a579634c94feb8f73b9bf00db78d6852993d3f6 | [
"MIT"
] | null | null | null | from stable_baselines import DQN
| 11.333333 | 32 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 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 |
0f4abb67d40c804ea603d252baf08947e2775d3e | 251 | py | Python | src/layers/__init__.py | nkoppe/tf_Transformer_SerieseData | 502bb4c917b47139503a9d59300108313f507bd6 | [
"MIT"
] | null | null | null | src/layers/__init__.py | nkoppe/tf_Transformer_SerieseData | 502bb4c917b47139503a9d59300108313f507bd6 | [
"MIT"
] | null | null | null | src/layers/__init__.py | nkoppe/tf_Transformer_SerieseData | 502bb4c917b47139503a9d59300108313f507bd6 | [
"MIT"
] | null | null | null | from .Attention import Attention
from .PositionalEncoding import PositionalEncoding
from .ScaledDotProductAttention import ScaledDotProductAttention
from .LayerNormalization import LayerNormalization
from .MultiHeadAttention import MultiHeadAttention
| 41.833333 | 64 | 0.900398 | 20 | 251 | 11.3 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079681 | 251 | 5 | 65 | 50.2 | 0.978355 | 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 |
0f5d02eb86018865398a9002e028991094f09a4f | 123 | py | Python | utility/print_range.py | polde-live/learnpython | ff8ec96db1951d99797205d0bd491e542152a36f | [
"Unlicense"
] | null | null | null | utility/print_range.py | polde-live/learnpython | ff8ec96db1951d99797205d0bd491e542152a36f | [
"Unlicense"
] | null | null | null | utility/print_range.py | polde-live/learnpython | ff8ec96db1951d99797205d0bd491e542152a36f | [
"Unlicense"
] | null | null | null | def print_range(x):
print "Printing for %d" %x, range(1, x-1)
xs = range(1,25);
for x in xs:
print_range(x)
| 13.666667 | 45 | 0.577236 | 24 | 123 | 2.875 | 0.458333 | 0.289855 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0.260163 | 123 | 8 | 46 | 15.375 | 0.703297 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.6 | 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 |
0f7bef1be2ac5de8d51156c9fa037d2d838bde1f | 19 | py | Python | chat/tests.py | Safintim/aiohttp-chat | eef9e14d67070176678a99af10c729a057c4cd00 | [
"MIT"
] | 1 | 2019-02-05T20:14:41.000Z | 2019-02-05T20:14:41.000Z | chat/tests.py | Safintim/aiohttp-chat | eef9e14d67070176678a99af10c729a057c4cd00 | [
"MIT"
] | 157 | 2019-02-12T18:07:28.000Z | 2022-02-10T07:14:24.000Z | chat/tests.py | Safintim/aiohttp-chat | eef9e14d67070176678a99af10c729a057c4cd00 | [
"MIT"
] | null | null | null | # TODO write tests
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0.842105 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e3bfa4d428dce49d313005b9fc42561cf2bf5b7 | 103 | py | Python | spylib/utils/misc.py | SatelCreative/spylib | d7f5129c4f0bba3cbc7a2925fdee389dbbde75f1 | [
"MIT"
] | 1 | 2022-03-11T18:19:32.000Z | 2022-03-11T18:19:32.000Z | spylib/utils/misc.py | SatelCreative/spylib | d7f5129c4f0bba3cbc7a2925fdee389dbbde75f1 | [
"MIT"
] | 32 | 2020-08-14T19:49:09.000Z | 2022-03-31T22:18:09.000Z | spylib/utils/misc.py | SatelCreative/spylib | d7f5129c4f0bba3cbc7a2925fdee389dbbde75f1 | [
"MIT"
] | null | null | null | from shortuuid import ShortUUID
def get_unique_id() -> str:
return ShortUUID().random(length=10)
| 17.166667 | 40 | 0.737864 | 14 | 103 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.15534 | 103 | 5 | 41 | 20.6 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
7e408ad0fc6ba490f8107341c72b857a699ca195 | 37 | py | Python | sciapp/__init__.py | pengguanjun/imagepy | d96ef98c2c3e93d368131fd2753bce164e1247cd | [
"BSD-4-Clause"
] | 1 | 2020-08-17T04:18:35.000Z | 2020-08-17T04:18:35.000Z | sciapp/__init__.py | cycleuser/imagepy | 5dc1a9a8137280c5215287392ba1b23d368bd7e9 | [
"BSD-4-Clause"
] | null | null | null | sciapp/__init__.py | cycleuser/imagepy | 5dc1a9a8137280c5215287392ba1b23d368bd7e9 | [
"BSD-4-Clause"
] | null | null | null | from .app import App, Manager, Source | 37 | 37 | 0.783784 | 6 | 37 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.90625 | 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 |
7e628a7702baf8fc310c2e0fde616ef5abfdb26f | 37,729 | py | Python | instances/passenger_demand/pas-20210421-2109-int12e/5.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/5.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int12e/5.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2713
passenger_arriving = (
(0, 6, 4, 4, 1, 0, 4, 5, 3, 6, 1, 0), # 0
(4, 10, 2, 0, 1, 0, 5, 8, 5, 5, 3, 0), # 1
(1, 6, 3, 2, 5, 0, 4, 4, 5, 5, 1, 0), # 2
(3, 10, 6, 3, 3, 0, 5, 5, 4, 2, 0, 0), # 3
(2, 6, 4, 1, 0, 0, 7, 8, 6, 6, 1, 0), # 4
(4, 9, 8, 3, 3, 0, 4, 7, 6, 7, ... | 112.623881 | 213 | 0.727955 | 5,147 | 37,729 | 5.333981 | 0.22382 | 0.314708 | 0.249144 | 0.472062 | 0.331682 | 0.329788 | 0.329788 | 0.329788 | 0.329788 | 0.329788 | 0 | 0.818154 | 0.119643 | 37,729 | 334 | 214 | 112.961078 | 0.0084 | 0.032097 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e6e555640e9d566e30c1077470fabffd0e0fe28 | 77 | py | Python | speckle_pattern/__init__.py | jankoslavic/speckle_pattern | 7c2233a36b8870b3b5d712e21d18f0fb4f5da6e0 | [
"MIT"
] | 16 | 2019-05-31T20:06:03.000Z | 2022-01-04T06:42:28.000Z | speckle_pattern/__init__.py | EntPyle/speckle_pattern | 7c2233a36b8870b3b5d712e21d18f0fb4f5da6e0 | [
"MIT"
] | null | null | null | speckle_pattern/__init__.py | EntPyle/speckle_pattern | 7c2233a36b8870b3b5d712e21d18f0fb4f5da6e0 | [
"MIT"
] | 12 | 2018-12-18T18:08:37.000Z | 2021-11-13T00:17:07.000Z | from .speckle import generate_and_save, generate_lines, generate_checkerboard | 77 | 77 | 0.896104 | 10 | 77 | 6.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 77 | 1 | 77 | 77 | 0.902778 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e185a315c65c0f483135ff29705243a6196dc0b | 135 | py | Python | query_builder/query_builder_empty.py | mbkr1992/weather-analytical-portal-rest-api | f4af9b308aa0ca02103bb81e7446ab641b5d7e2a | [
"MIT"
] | null | null | null | query_builder/query_builder_empty.py | mbkr1992/weather-analytical-portal-rest-api | f4af9b308aa0ca02103bb81e7446ab641b5d7e2a | [
"MIT"
] | null | null | null | query_builder/query_builder_empty.py | mbkr1992/weather-analytical-portal-rest-api | f4af9b308aa0ca02103bb81e7446ab641b5d7e2a | [
"MIT"
] | null | null | null | from query_builder.query_builder import QueryBuilder
class QueryBuilderEmpty(QueryBuilder):
def build(self, params):
pass | 22.5 | 52 | 0.77037 | 15 | 135 | 6.8 | 0.8 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17037 | 135 | 6 | 53 | 22.5 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0e1932656b40274d93c0706e3ff1b0b460b18dcf | 40 | py | Python | rl_trader/engine/rl_environment/types/test/env_market_types.test.py | AlexandreMahdhaoui/rl_trader | 5bda02622c7e17c4e6f28a90c510cfe8f914f7a8 | [
"Apache-2.0"
] | null | null | null | rl_trader/engine/rl_environment/types/test/env_market_types.test.py | AlexandreMahdhaoui/rl_trader | 5bda02622c7e17c4e6f28a90c510cfe8f914f7a8 | [
"Apache-2.0"
] | null | null | null | rl_trader/engine/rl_environment/types/test/env_market_types.test.py | AlexandreMahdhaoui/rl_trader | 5bda02622c7e17c4e6f28a90c510cfe8f914f7a8 | [
"Apache-2.0"
] | null | null | null | # TODO: PairMarketValue
# TODO: Market
| 10 | 23 | 0.725 | 4 | 40 | 7.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 3 | 24 | 13.333333 | 0.878788 | 0.85 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e3826056d8eeaf711fea6bb9e7987cfedb97770 | 2,799 | py | Python | radioxenon_ml/solve/matrix_values.py | sczyz/radioxenon_ml | 73398f0060e88616c7652a72bdedf7f93ea17a20 | [
"MIT"
] | null | null | null | radioxenon_ml/solve/matrix_values.py | sczyz/radioxenon_ml | 73398f0060e88616c7652a72bdedf7f93ea17a20 | [
"MIT"
] | null | null | null | radioxenon_ml/solve/matrix_values.py | sczyz/radioxenon_ml | 73398f0060e88616c7652a72bdedf7f93ea17a20 | [
"MIT"
] | 1 | 2018-04-23T20:52:43.000Z | 2018-04-23T20:52:43.000Z | # -*- coding: utf-8 -*-
"""
Created on Tue May 8 17:19:53 2018
@author: Steven
"""
import numpy as np
def j_matrix_val(S,D,f):
"""
Determines the variance of the number of counts in each channel i of the
vectorized version of the 2D coincidence spectrum for the qth iteration:
-S(np.array) ... | 39.985714 | 95 | 0.622008 | 442 | 2,799 | 3.918552 | 0.294118 | 0.048499 | 0.055427 | 0.04157 | 0.829099 | 0.829099 | 0.819861 | 0.809469 | 0.809469 | 0.795612 | 0 | 0.040766 | 0.272597 | 2,799 | 69 | 96 | 40.565217 | 0.807957 | 0.656306 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.277778 | 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 |
0e93d555d556779c60518cc909097718895e4273 | 49 | py | Python | my-webapp/my_domain.py | BernardNotarianni/spike-concourse | eb84f52c96688e94bdd6ee61d348257c8eee0040 | [
"MIT"
] | null | null | null | my-webapp/my_domain.py | BernardNotarianni/spike-concourse | eb84f52c96688e94bdd6ee61d348257c8eee0040 | [
"MIT"
] | 1 | 2019-06-09T13:12:33.000Z | 2019-06-09T13:12:33.000Z | my-webapp/my_domain.py | BernardNotarianni/spike-concourse | eb84f52c96688e94bdd6ee61d348257c8eee0040 | [
"MIT"
] | null | null | null |
def my_message():
return "Hello Concourse!"
| 12.25 | 29 | 0.673469 | 6 | 49 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 3 | 30 | 16.333333 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
0ea6dd3e534279d8de4104b149933cf528ec0bd1 | 974 | py | Python | findost/serverApp/database/DatabaseError.py | BongOST/FindOST | bef3c8991b7494ad08c06ed1c9fb0bc41996ec8b | [
"Apache-2.0"
] | 1 | 2017-11-12T03:10:25.000Z | 2017-11-12T03:10:25.000Z | findost/serverApp/database/DatabaseError.py | BongOST/FindOST | bef3c8991b7494ad08c06ed1c9fb0bc41996ec8b | [
"Apache-2.0"
] | null | null | null | findost/serverApp/database/DatabaseError.py | BongOST/FindOST | bef3c8991b7494ad08c06ed1c9fb0bc41996ec8b | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
__author__ = 'lee'
"""
数据库自定义异常
"""
class ExistError(Exception):
def __init__(self, exist, message):
self.exist = exist
self.message = message
def __str__(self):
return repr(self.message)
class NotExistError(Exception):
def __init__(self, notexist, message)... | 20.723404 | 42 | 0.635524 | 107 | 974 | 5.373832 | 0.214953 | 0.210435 | 0.13913 | 0.173913 | 0.62087 | 0.62087 | 0.62087 | 0.62087 | 0.62087 | 0.62087 | 0 | 0.001381 | 0.256674 | 974 | 46 | 43 | 21.173913 | 0.792818 | 0.020534 | 0 | 0.633333 | 0 | 0 | 0.003205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7d1d6343b048ef31eb6f2a0fed69b1e88ee35132 | 128 | py | Python | app/api/__init__.py | yc19890920/flask-blog | d2aa57bd876e41a18a791c0b110bb31b86133ead | [
"MIT"
] | null | null | null | app/api/__init__.py | yc19890920/flask-blog | d2aa57bd876e41a18a791c0b110bb31b86133ead | [
"MIT"
] | null | null | null | app/api/__init__.py | yc19890920/flask-blog | d2aa57bd876e41a18a791c0b110bb31b86133ead | [
"MIT"
] | null | null | null | from flask import Blueprint
api = Blueprint('api', __name__)
from . import authentication, posts, comments, errors # users | 25.6 | 61 | 0.742188 | 15 | 128 | 6.066667 | 0.733333 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 128 | 5 | 61 | 25.6 | 0.858491 | 0.039063 | 0 | 0 | 0 | 0 | 0.025424 | 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 |
ade50d3dc4937799eaa3095e5d8a35a75955fdd7 | 162 | py | Python | tests/unit/test_values.py | prog-serhii/MyPorfolio | ab8d06925650a4b5809a33669a5d315dc87c56ec | [
"MIT"
] | null | null | null | tests/unit/test_values.py | prog-serhii/MyPorfolio | ab8d06925650a4b5809a33669a5d315dc87c56ec | [
"MIT"
] | null | null | null | tests/unit/test_values.py | prog-serhii/MyPorfolio | ab8d06925650a4b5809a33669a5d315dc87c56ec | [
"MIT"
] | null | null | null | import random
from decimal import Decimal
from domain.values import Money
def test_equality():
assert Money('uah', Decimal()) == Money('uah', Decimal(50))
| 18 | 63 | 0.722222 | 22 | 162 | 5.272727 | 0.590909 | 0.137931 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.154321 | 162 | 8 | 64 | 20.25 | 0.832117 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 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 |
ade83ed2a02d34b8387677d6ded173699b1ca4d8 | 1,404 | py | Python | src/colleges/migrations/0004_auto_20160120_1231.py | Busaka/excellence | 1cd19770285584d61aeddd77d6c1dd83e2fd04ba | [
"MIT"
] | null | null | null | src/colleges/migrations/0004_auto_20160120_1231.py | Busaka/excellence | 1cd19770285584d61aeddd77d6c1dd83e2fd04ba | [
"MIT"
] | null | null | null | src/colleges/migrations/0004_auto_20160120_1231.py | Busaka/excellence | 1cd19770285584d61aeddd77d6c1dd83e2fd04ba | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-01-20 12:31
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('colleges', '0003_auto_20160120_1034'),
]
operations = [
migrations.AlterField(... | 30.521739 | 73 | 0.597578 | 132 | 1,404 | 6.113636 | 0.348485 | 0.163569 | 0.185874 | 0.215613 | 0.72119 | 0.72119 | 0.72119 | 0.662949 | 0.600991 | 0.600991 | 0 | 0.036036 | 0.288462 | 1,404 | 45 | 74 | 31.2 | 0.771772 | 0.046296 | 0 | 0.631579 | 1 | 0 | 0.219311 | 0.120509 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
adf3d8f8208184767f05cf55b646aae17c4a25b1 | 8,295 | py | Python | tests/test_templates.py | clokep/mwcomposerfromhell | 02ba160ad55ee7fc1b69834cd5cb256e98a52648 | [
"0BSD"
] | 3 | 2019-10-03T06:46:19.000Z | 2021-09-25T13:39:32.000Z | tests/test_templates.py | clokep/mwcomposerfromhell | 02ba160ad55ee7fc1b69834cd5cb256e98a52648 | [
"0BSD"
] | 1 | 2020-03-18T07:24:28.000Z | 2020-05-07T11:58:59.000Z | tests/test_templates.py | clokep/mwcomposerfromhell | 02ba160ad55ee7fc1b69834cd5cb256e98a52648 | [
"0BSD"
] | 1 | 2021-07-05T11:30:13.000Z | 2021-07-05T11:30:13.000Z | import mwparserfromhell
from mwcomposerfromhell import (
ArticleResolver,
compose,
Namespace,
WikicodeToHtmlComposer,
)
def _get_composer(templates):
resolver = ArticleResolver()
resolver.add_namespace("Template", Namespace(templates))
return WikicodeToHtmlComposer(resolver=resolver)
de... | 32.529412 | 86 | 0.6434 | 971 | 8,295 | 5.424305 | 0.123584 | 0.143535 | 0.029239 | 0.054111 | 0.814505 | 0.800456 | 0.800456 | 0.78147 | 0.771597 | 0.754129 | 0 | 0.002571 | 0.203014 | 8,295 | 254 | 87 | 32.65748 | 0.794131 | 0.283303 | 0 | 0.512195 | 0 | 0.00813 | 0.225623 | 0.02184 | 0 | 0 | 0 | 0 | 0.138211 | 1 | 0.146341 | false | 0 | 0.01626 | 0 | 0.170732 | 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 |
adfcf06ac1569b8f6c285d4e3ed2141c330c5572 | 28,042 | py | Python | scicopia/app/parser/ScicopiaLexer.py | pikatech/Scicopia | dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985 | [
"MIT"
] | null | null | null | scicopia/app/parser/ScicopiaLexer.py | pikatech/Scicopia | dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985 | [
"MIT"
] | 9 | 2021-07-24T16:12:03.000Z | 2021-07-24T16:58:19.000Z | scicopia/app/parser/ScicopiaLexer.py | pikatech/Scicopia | dcdb3b4f55b9111fa3b4fe78afdb07bb2ceb9985 | [
"MIT"
] | 1 | 2021-06-18T16:00:06.000Z | 2021-06-18T16:00:06.000Z | # Generated from Scicopia.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2... | 68.899263 | 103 | 0.61415 | 6,062 | 28,042 | 2.836028 | 0.307489 | 0.158213 | 0.098418 | 0.025593 | 0.065437 | 0.03839 | 0.020126 | 0.017973 | 0.014367 | 0.014367 | 0 | 0.349965 | 0.125918 | 28,042 | 406 | 104 | 69.068966 | 0.351434 | 0.001462 | 0 | 0 | 1 | 0.853093 | 0.681894 | 0.671786 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005155 | false | 0 | 0.012887 | 0 | 0.087629 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc031334e22f739f970afae8284b1de7a3fbf622 | 3,772 | py | Python | src/models/lla7.py | Neuralwood-Net/face-recognizer-9000 | b7804355927540bf07ce70cfe44dac6988a9b8cc | [
"MIT"
] | null | null | null | src/models/lla7.py | Neuralwood-Net/face-recognizer-9000 | b7804355927540bf07ce70cfe44dac6988a9b8cc | [
"MIT"
] | null | null | null | src/models/lla7.py | Neuralwood-Net/face-recognizer-9000 | b7804355927540bf07ce70cfe44dac6988a9b8cc | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
class FleetwoodNet7V1(nn.Module):
def __init__(
self,
num_classes,
init_weights=True,
):
super().__init__()
# Convolutional Layers
self.features = nn.Sequential(
... | 31.173554 | 86 | 0.526511 | 452 | 3,772 | 4.283186 | 0.165929 | 0.082645 | 0.094008 | 0.122934 | 0.805269 | 0.805269 | 0.78874 | 0.757231 | 0.757231 | 0.757231 | 0 | 0.077456 | 0.349682 | 3,772 | 120 | 87 | 31.433333 | 0.711781 | 0.031018 | 0 | 0.69697 | 0 | 0 | 0.003014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050505 | false | 0 | 0.040404 | 0 | 0.131313 | 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 |
70b4f2f4ae759f100993ad441e0e904b1a1b8cda | 202 | py | Python | iterm2_images/__init__.py | crowsonkb/iterm2-images | 74839760cc8df7c3688c0611f2838251f1f7ce4c | [
"MIT"
] | null | null | null | iterm2_images/__init__.py | crowsonkb/iterm2-images | 74839760cc8df7c3688c0611f2838251f1f7ce4c | [
"MIT"
] | null | null | null | iterm2_images/__init__.py | crowsonkb/iterm2-images | 74839760cc8df7c3688c0611f2838251f1f7ce4c | [
"MIT"
] | null | null | null | """Inline images and file transfers for iTerm2."""
from .payloads import FileEsc, ImageLenUnit, ImageDim, ImageEsc
__all__ = ['FileEsc', 'ImageLenUnit', 'ImageDim', 'ImageEsc']
__version__ = '0.1.0'
| 25.25 | 63 | 0.722772 | 23 | 202 | 6 | 0.782609 | 0.275362 | 0.391304 | 0.507246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.128713 | 202 | 7 | 64 | 28.857143 | 0.761364 | 0.217822 | 0 | 0 | 0 | 0 | 0.263158 | 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 |
cb445ec5444cd991521ff653a8f4d9d4947022a5 | 23 | py | Python | __init__.py | p3lim/pycaddy | 06f3f81ac4963ea9f33e4cebfbc26a192797c060 | [
"Unlicense"
] | null | null | null | __init__.py | p3lim/pycaddy | 06f3f81ac4963ea9f33e4cebfbc26a192797c060 | [
"Unlicense"
] | null | null | null | __init__.py | p3lim/pycaddy | 06f3f81ac4963ea9f33e4cebfbc26a192797c060 | [
"Unlicense"
] | null | null | null | from .pycaddy import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cbdd353e24127433a693c7b17b59da30a2b8a103 | 47 | py | Python | giant/__init__.py | lixar/giant | fba966e4389b80b38bee1067ad9173adf4eaa5b5 | [
"MIT"
] | null | null | null | giant/__init__.py | lixar/giant | fba966e4389b80b38bee1067ad9173adf4eaa5b5 | [
"MIT"
] | 2 | 2016-05-26T14:40:07.000Z | 2017-04-13T21:07:16.000Z | giant/__init__.py | lixar/giant | fba966e4389b80b38bee1067ad9173adf4eaa5b5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from .giant import giant | 15.666667 | 24 | 0.744681 | 8 | 47 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 3 | 24 | 15.666667 | 0.853659 | 0.425532 | 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 |
1dc83bf38dea68e5fa59aec50cd42cf81c0bc8e7 | 115 | py | Python | Lab1/lab1_boiko.py | Nickas47/python_savka | 31101bba6a7e75bc398136d01e5e0cb9d68df097 | [
"Apache-2.0"
] | null | null | null | Lab1/lab1_boiko.py | Nickas47/python_savka | 31101bba6a7e75bc398136d01e5e0cb9d68df097 | [
"Apache-2.0"
] | null | null | null | Lab1/lab1_boiko.py | Nickas47/python_savka | 31101bba6a7e75bc398136d01e5e0cb9d68df097 | [
"Apache-2.0"
] | null | null | null | print("'Python': \n Lab1 Mykola Boiko, pm-12343")
print('Savka, '*44+'Savka')
print(123.8+((11-21.1/2)/(87-32.2)))
| 28.75 | 49 | 0.617391 | 22 | 115 | 3.227273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216981 | 0.078261 | 115 | 3 | 50 | 38.333333 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0.452174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1dce902408db5ee1414702b0dd430e71f3feee8c | 35 | py | Python | cytominer_eval/transform/__init__.py | michaelbornholdt/cytominer-eval | 97b471dd4141d29bfcb06921cb1e294596c39ecf | [
"BSD-3-Clause"
] | 4 | 2020-06-11T20:31:17.000Z | 2021-02-12T04:12:43.000Z | cytominer_eval/transform/__init__.py | michaelbornholdt/cytominer-eval | 97b471dd4141d29bfcb06921cb1e294596c39ecf | [
"BSD-3-Clause"
] | 46 | 2020-06-16T11:31:49.000Z | 2021-12-07T10:52:00.000Z | cytominer_eval/transform/__init__.py | michaelbornholdt/cytominer-eval | 97b471dd4141d29bfcb06921cb1e294596c39ecf | [
"BSD-3-Clause"
] | 6 | 2020-06-11T18:36:31.000Z | 2021-04-15T19:38:52.000Z | from .transform import metric_melt
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
1de087e7cf06560132b5a3fa47fcfc082d7d2542 | 552 | py | Python | wrappers/python/tests/non_secrets/test_add_wallet_record.py | sklump/indy-sdk | ee05a89ddf60b42f7483bebf2d89a936e12730df | [
"Apache-2.0"
] | 636 | 2017-05-25T07:45:43.000Z | 2022-03-23T22:30:34.000Z | wrappers/python/tests/non_secrets/test_add_wallet_record.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 731 | 2017-05-29T07:15:08.000Z | 2022-03-31T07:55:58.000Z | wrappers/python/tests/non_secrets/test_add_wallet_record.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 904 | 2017-05-25T07:45:49.000Z | 2022-03-31T07:43:31.000Z | import pytest
from indy import error
from tests.non_secrets.common import *
@pytest.mark.asyncio
async def test_add_wallet_record_works(wallet_handle):
await non_secrets.add_wallet_record(wallet_handle, type_, id1, value1, tags1)
@pytest.mark.asyncio
async def test_add_wallet_record_works_for_duplicate(wallet_... | 32.470588 | 85 | 0.811594 | 79 | 552 | 5.316456 | 0.367089 | 0.107143 | 0.178571 | 0.128571 | 0.719048 | 0.719048 | 0.719048 | 0.719048 | 0.719048 | 0.719048 | 0 | 0.018405 | 0.11413 | 552 | 16 | 86 | 34.5 | 0.840491 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.272727 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1df03d6f373e17c7e521ba9e893650c959234f49 | 124 | py | Python | src/mercs/algo/__init__.py | MattiasDC/mercs | 466962e254c4f56f4a16a31b1a3d7bd893c8e23e | [
"MIT"
] | 11 | 2020-01-28T16:15:53.000Z | 2021-05-20T08:05:42.000Z | src/mercs/algo/__init__.py | MattiasDC/mercs | 466962e254c4f56f4a16a31b1a3d7bd893c8e23e | [
"MIT"
] | null | null | null | src/mercs/algo/__init__.py | MattiasDC/mercs | 466962e254c4f56f4a16a31b1a3d7bd893c8e23e | [
"MIT"
] | 4 | 2020-02-06T09:02:28.000Z | 2022-02-14T09:42:04.000Z | from .new_prediction import (mi, mrai, it, rw)
from .selection import base_selection_algorithm, random_selection_algorithm
| 31 | 75 | 0.830645 | 17 | 124 | 5.764706 | 0.705882 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104839 | 124 | 3 | 76 | 41.333333 | 0.882883 | 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 |
1df1820777129248ae5138dd09511cef7f75f054 | 6,106 | py | Python | pymccrgb/tests/test_core.py | stgl/pymccrgb | dc8ad2e46cbe6ff8081c32fa11bce68f869baafa | [
"MIT"
] | 3 | 2020-11-30T12:49:14.000Z | 2021-11-12T00:32:32.000Z | pymccrgb/tests/test_core.py | rmsare/pymccrgb | dc8ad2e46cbe6ff8081c32fa11bce68f869baafa | [
"MIT"
] | 20 | 2019-06-18T19:10:00.000Z | 2019-11-14T22:55:10.000Z | pymccrgb/tests/test_core.py | rmsare/pymccrgb | dc8ad2e46cbe6ff8081c32fa11bce68f869baafa | [
"MIT"
] | 3 | 2019-06-14T00:39:25.000Z | 2019-10-30T14:07:33.000Z | """ Test Python MCC bindings and MCC-RGB algorithm """
import os
import pytest
import unittest
import numpy as np
from context import pymccrgb
TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), "data")
TEST_OUTPUT_DIR = os.path.join(os.path.dirname(__file__), "output")
TEST_SCALES = [0.5, 1.0, 1.5]
TEST_TOLS... | 36.130178 | 99 | 0.592368 | 721 | 6,106 | 4.775312 | 0.122053 | 0.058089 | 0.031949 | 0.063898 | 0.821667 | 0.803079 | 0.803079 | 0.796108 | 0.767645 | 0.754865 | 0 | 0.014639 | 0.317557 | 6,106 | 168 | 100 | 36.345238 | 0.811615 | 0.007534 | 0 | 0.513699 | 0 | 0 | 0.195803 | 0.038004 | 0 | 0 | 0 | 0 | 0.089041 | 1 | 0.068493 | false | 0 | 0.034247 | 0 | 0.116438 | 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 |
38467ebf6ab127d5ff882dae11a281a4fa48316b | 96 | py | Python | venv/lib/python3.8/site-packages/aiohttp/web_protocol.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/aiohttp/web_protocol.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/aiohttp/web_protocol.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/da/71/cd/c7183b31ff193fcf1214fc6704d18bf3398f850a63b59ebc553d0f788a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69c7452188bf1ae7d06aa7f27a1dddb0178c7ffb | 393 | py | Python | metadata_extractor/builders/rdbms/__init__.py | pongthep/apache-atlas-external-tools | 7931375cbd9e4aae1d9f9ced9c77af2e4f9640b4 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-03-25T04:31:22.000Z | 2021-03-25T04:31:22.000Z | metadata_extractor/builders/rdbms/__init__.py | pongthep/apache-atlas-external-tools | 7931375cbd9e4aae1d9f9ced9c77af2e4f9640b4 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-03-25T09:21:08.000Z | 2021-03-25T15:29:08.000Z | metadata_extractor/builders/rdbms/__init__.py | pongthep/apache-atlas-external-tools | 7931375cbd9e4aae1d9f9ced9c77af2e4f9640b4 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-03-25T09:17:03.000Z | 2021-12-30T09:52:39.000Z | from metadata_extractor.builders.rdbms.mariadb_builder import MaridbBuilder
from metadata_extractor.builders.rdbms.mysql_builder import MysqlBuilder
from metadata_extractor.builders.rdbms.postgresql_builder import PostgresqlBuilder
from metadata_extractor.builders.rdbms.rdbms_builder_abstract import RDBMSBuilder
from m... | 65.5 | 82 | 0.910941 | 46 | 393 | 7.543478 | 0.369565 | 0.172911 | 0.302594 | 0.417867 | 0.489914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050891 | 393 | 5 | 83 | 78.6 | 0.930295 | 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 |
38a703f3eee746762a322da845e67938f8baebe6 | 77 | py | Python | src/__init__.py | lijiancheng0614/house_finder | 1fe5dace1b3f0b03b605eac8097d2be9e62ac6e7 | [
"Apache-2.0"
] | 1 | 2021-08-09T06:07:27.000Z | 2021-08-09T06:07:27.000Z | src/__init__.py | lijiancheng0614/house_finder | 1fe5dace1b3f0b03b605eac8097d2be9e62ac6e7 | [
"Apache-2.0"
] | null | null | null | src/__init__.py | lijiancheng0614/house_finder | 1fe5dace1b3f0b03b605eac8097d2be9e62ac6e7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# @Author: lijiancheng0614
# @Date: 2020-03-06
#
| 12.833333 | 26 | 0.558442 | 9 | 77 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 0.194805 | 77 | 5 | 27 | 15.4 | 0.483871 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38e2625e2f4278c8552f07d98a010105a02fcfd7 | 210 | py | Python | pykotor/resource/formats/ltr/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-02-21T15:17:28.000Z | 2022-02-21T15:17:28.000Z | pykotor/resource/formats/ltr/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-03-12T16:06:23.000Z | 2022-03-12T16:06:23.000Z | pykotor/resource/formats/ltr/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | null | null | null | from pykotor.resource.formats.ltr.data import LTR, LTRBlock
from pykotor.resource.formats.ltr.auto import load_ltr, write_ltr
from pykotor.resource.formats.ltr.io_binary import LTRBinaryReader, LTRBinaryWriter
| 52.5 | 83 | 0.857143 | 30 | 210 | 5.9 | 0.5 | 0.186441 | 0.322034 | 0.440678 | 0.491525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 210 | 3 | 84 | 70 | 0.907692 | 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 |
2a075f781ec6737f554732b4173499f8744f5660 | 30 | py | Python | test/test_xndtools.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 3 | 2019-11-12T16:01:26.000Z | 2020-06-27T19:27:27.000Z | test/test_xndtools.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 4 | 2018-04-25T17:12:43.000Z | 2018-08-23T18:17:24.000Z | test/test_xndtools.py | xnd-project/xndtools | 9478f31954091d861ce538ba278f7f888e23d19b | [
"BSD-3-Clause"
] | 6 | 2018-05-04T08:10:40.000Z | 2019-03-19T10:00:21.000Z | import xndtools # noqa: F401
| 15 | 29 | 0.733333 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.2 | 30 | 1 | 30 | 30 | 0.791667 | 0.333333 | 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 |
2a112d86cfad35bb4d78b8783af49e868b79699a | 3,139 | py | Python | ckanext/datajson/test-inventory/test_wrappers.py | OpenGov-OpenData/ckanext-datajson | 38af8a777052472d15a2a2a728776d0860eec4bb | [
"CC0-1.0"
] | 1 | 2020-05-13T12:20:17.000Z | 2020-05-13T12:20:17.000Z | ckanext/datajson/test-inventory/test_wrappers.py | OpenGov-OpenData/ckanext-datajson | 38af8a777052472d15a2a2a728776d0860eec4bb | [
"CC0-1.0"
] | 2 | 2018-12-12T22:01:53.000Z | 2022-02-01T19:48:14.000Z | ckanext/datajson/test-inventory/test_wrappers.py | OpenGov-OpenData/ckanext-datajson | 38af8a777052472d15a2a2a728776d0860eec4bb | [
"CC0-1.0"
] | 1 | 2018-07-19T18:06:30.000Z | 2018-07-19T18:06:30.000Z | from ckanext.datajson.package2pod import Wrappers
class TestCatalogDateWrapper(object):
def test_valid_dcat_issued_date(self):
Wrappers.pkg = {
"title": "Test Dataset",
"name": "test-dataset",
"metadata_created": "2021-03-26T00:45:51.542432",
"metadata_modi... | 34.494505 | 88 | 0.510354 | 311 | 3,139 | 4.92926 | 0.167203 | 0.054795 | 0.071755 | 0.084801 | 0.85062 | 0.85062 | 0.829746 | 0.829746 | 0.829746 | 0.798434 | 0 | 0.158181 | 0.355527 | 3,139 | 90 | 89 | 34.877778 | 0.599605 | 0 | 0 | 0.604938 | 0 | 0 | 0.338643 | 0.136349 | 0 | 0 | 0 | 0 | 0.049383 | 1 | 0.049383 | false | 0 | 0.012346 | 0 | 0.074074 | 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 |
2a6c9305c342ccaaed4699ef3ed3bdab4e59313d | 35 | py | Python | tests/tests/base_tests/__init__.py | vselitsky/aws-device-farm-python-android | 86182ec2fae531f7376fc4b7261529700d67eb0f | [
"Apache-2.0"
] | 23 | 2018-02-06T02:08:17.000Z | 2022-02-02T08:37:51.000Z | tests/tests/base_tests/__init__.py | vselitsky/aws-device-farm-python-android | 86182ec2fae531f7376fc4b7261529700d67eb0f | [
"Apache-2.0"
] | 1 | 2018-06-01T02:31:33.000Z | 2021-06-26T11:34:10.000Z | tests/tests/base_tests/__init__.py | vselitsky/aws-device-farm-python-android | 86182ec2fae531f7376fc4b7261529700d67eb0f | [
"Apache-2.0"
] | 19 | 2018-02-06T02:08:21.000Z | 2022-01-28T02:13:32.000Z | from native_test import NativeTest
| 17.5 | 34 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
2ad1448b3e66b7ea90735e9321d3e391bc32c3b9 | 536 | py | Python | app/src/repositories/categoria_produto_repository.py | Leorfk/gelado-api | 23c62598a90229d4b9c0f61562ca71de6e8182a7 | [
"MIT"
] | null | null | null | app/src/repositories/categoria_produto_repository.py | Leorfk/gelado-api | 23c62598a90229d4b9c0f61562ca71de6e8182a7 | [
"MIT"
] | null | null | null | app/src/repositories/categoria_produto_repository.py | Leorfk/gelado-api | 23c62598a90229d4b9c0f61562ca71de6e8182a7 | [
"MIT"
] | null | null | null | from models.categoria_produto_model import Categoria_Produto
class CategoriaProdutoRepository:
def __init__(self, database: Categoria_Produto) -> None:
self.__categoria_produto_model = database
def create_categoria_produto(self):
pass
def delete_categoria_produto(self, id_categoria_produ... | 24.363636 | 69 | 0.733209 | 63 | 536 | 5.777778 | 0.349206 | 0.483516 | 0.21978 | 0.197802 | 0.398352 | 0.324176 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210821 | 536 | 21 | 70 | 25.52381 | 0.86052 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.357143 | 0.071429 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2ae013924af934718ba99f38e4b14992a674ee8b | 25 | py | Python | core/game/__init__.py | V1ckeyR/snake_snake | b22fed3ce48319bb8badf91f02ff205e7f853e6d | [
"MIT"
] | 1 | 2021-12-26T21:46:06.000Z | 2021-12-26T21:46:06.000Z | arrow/mappers/fields/__init__.py | effordsbeard/arrowstack | 33f2eff3be07cf65e38610f0701743e775c1bbc6 | [
"MIT"
] | null | null | null | arrow/mappers/fields/__init__.py | effordsbeard/arrowstack | 33f2eff3be07cf65e38610f0701743e775c1bbc6 | [
"MIT"
] | 1 | 2021-12-11T09:11:14.000Z | 2021-12-11T09:11:14.000Z | from .field import Field
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 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 |
2afc89eedac655f72de7cdc4badf3469a55e3218 | 23 | py | Python | gfapy/line/group/path/__init__.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 44 | 2017-03-18T08:08:04.000Z | 2021-11-10T16:11:15.000Z | gfapy/line/group/path/__init__.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 22 | 2017-04-04T21:20:31.000Z | 2022-03-09T19:05:30.000Z | gfapy/line/group/path/__init__.py | ujjwalsh/gfapy | 891ef3df695f20c67809e5a54549c876d90690b4 | [
"ISC"
] | 5 | 2017-07-07T02:56:56.000Z | 2020-09-30T20:10:49.000Z | from .path import Path
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
2dadd7981d130b906b6d2d6a231d3d193fec5cd1 | 91 | py | Python | Chapter10/word_suffix/main.py | adamvm/Mastering-RUST-Second-Edition | ff65aadd16b3857f0ffe13644ac5906e065fd3e9 | [
"MIT"
] | 102 | 2018-10-13T04:52:46.000Z | 2022-03-25T05:36:44.000Z | Chapter10/word_suffix/main.py | adamvm/Mastering-RUST-Second-Edition | ff65aadd16b3857f0ffe13644ac5906e065fd3e9 | [
"MIT"
] | 11 | 2019-07-27T11:35:35.000Z | 2022-02-26T12:37:13.000Z | Chapter10/word_suffix/main.py | adamvm/Mastering-RUST-Second-Edition | ff65aadd16b3857f0ffe13644ac5906e065fd3e9 | [
"MIT"
] | 37 | 2018-10-13T04:52:31.000Z | 2022-03-15T13:12:33.000Z | import word_suffix
print(word_suffix.find_words("Baz, Jazz, Mash, Splash, Squash", "sh"))
| 22.75 | 70 | 0.747253 | 14 | 91 | 4.642857 | 0.857143 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 3 | 71 | 30.333333 | 0.792683 | 0 | 0 | 0 | 0 | 0 | 0.362637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2dd15fda2a3f83b568865ac2b5c22d21d936fa77 | 44 | py | Python | Controllers/__init__.py | Bramsnoek/AutomatedKeggBlast | 7458f5be224aac96008a6fc327789b152d49b248 | [
"MIT"
] | null | null | null | Controllers/__init__.py | Bramsnoek/AutomatedKeggBlast | 7458f5be224aac96008a6fc327789b152d49b248 | [
"MIT"
] | null | null | null | Controllers/__init__.py | Bramsnoek/AutomatedKeggBlast | 7458f5be224aac96008a6fc327789b152d49b248 | [
"MIT"
] | null | null | null | from .blastcontroller import BlastController | 44 | 44 | 0.909091 | 4 | 44 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.