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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1f24058abc9302e5904e57a55566ba52d6e04283 | 44 | py | Python | src/apps/accounts/models/__init__.py | dieisabel/proggy | 9e1428e5d1d5ba0217e34f86800a7d783a3673cd | [
"MIT"
] | 1 | 2021-03-13T20:59:25.000Z | 2021-03-13T20:59:25.000Z | src/apps/accounts/models/__init__.py | dieisabel/proggy | 9e1428e5d1d5ba0217e34f86800a7d783a3673cd | [
"MIT"
] | 69 | 2021-03-09T11:17:26.000Z | 2021-07-22T15:05:34.000Z | src/apps/accounts/models/__init__.py | dieisabel/proggy | 9e1428e5d1d5ba0217e34f86800a7d783a3673cd | [
"MIT"
] | null | null | null | from accounts.models.profile import Profile
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 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 |
1f46792984eca51b2cb50ba40fa64122830351a3 | 157 | py | Python | asyncio_redis/__init__.py | vtheno/asyncio-redis | a57a528d1bdf14be12953f8bf96df2f3ed24b840 | [
"BSD-2-Clause-FreeBSD"
] | 4 | 2015-06-10T13:11:46.000Z | 2016-03-15T16:56:34.000Z | asyncio_redis/__init__.py | vtheno/asyncio-redis | a57a528d1bdf14be12953f8bf96df2f3ed24b840 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-06-10T12:50:44.000Z | 2015-06-10T20:16:27.000Z | asyncio_redis/__init__.py | vtheno/asyncio-redis | a57a528d1bdf14be12953f8bf96df2f3ed24b840 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-06-12T09:13:26.000Z | 2018-03-05T01:07:55.000Z | """
Redis protocol implementation for asyncio (PEP 3156)
"""
from .connection import *
from .exceptions import *
from .pool import *
from .protocol import *
| 19.625 | 52 | 0.738854 | 19 | 157 | 6.105263 | 0.631579 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.159236 | 157 | 7 | 53 | 22.428571 | 0.848485 | 0.33121 | 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 |
1f8de059d58fc58c493088494737c40769f26cfb | 125 | py | Python | app/handlers/__init__.py | s-klimov/meal_bo | f74898c179a8551c8ec8df147aabc659496c610e | [
"MIT"
] | 1 | 2022-02-20T06:16:01.000Z | 2022-02-20T06:16:01.000Z | app/handlers/__init__.py | s-klimov/meal_bot | f74898c179a8551c8ec8df147aabc659496c610e | [
"MIT"
] | null | null | null | app/handlers/__init__.py | s-klimov/meal_bot | f74898c179a8551c8ec8df147aabc659496c610e | [
"MIT"
] | null | null | null | from loguru import logger
from .errors import *
from .private import *
logger.info("Handlers are successfully configured")
| 17.857143 | 51 | 0.784 | 16 | 125 | 6.125 | 0.6875 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144 | 125 | 6 | 52 | 20.833333 | 0.915888 | 0 | 0 | 0 | 0 | 0 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f875b35c1388088cae1701c13a92db35df6cb5a | 47 | py | Python | src/package/__init__.py | sudosubin/bins | 821385f005180c9bbff803f819a498e59fbe27c8 | [
"MIT"
] | null | null | null | src/package/__init__.py | sudosubin/bins | 821385f005180c9bbff803f819a498e59fbe27c8 | [
"MIT"
] | null | null | null | src/package/__init__.py | sudosubin/bins | 821385f005180c9bbff803f819a498e59fbe27c8 | [
"MIT"
] | null | null | null | from package.base import Package # noqa: F401
| 23.5 | 46 | 0.765957 | 7 | 47 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 47 | 1 | 47 | 47 | 0.846154 | 0.212766 | 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 |
85ecb9e8ebb52305e5263d1ceec8f461373c9c81 | 121 | py | Python | ProjectEuler/problem_13.py | aaditkamat/competitive-programming | d0b8f30d3cb3411d2467b98363c12d75d852e245 | [
"MIT"
] | null | null | null | ProjectEuler/problem_13.py | aaditkamat/competitive-programming | d0b8f30d3cb3411d2467b98363c12d75d852e245 | [
"MIT"
] | 3 | 2019-02-24T11:42:28.000Z | 2019-06-03T14:15:46.000Z | ProjectEuler/problem_13.py | aaditkamat/online-judge-submissions | d0b8f30d3cb3411d2467b98363c12d75d852e245 | [
"MIT"
] | null | null | null | import fileinput
def solution():
return str(sum([int(num) for num in fileinput.input()]))[0: 10]
print(solution())
| 17.285714 | 67 | 0.677686 | 18 | 121 | 4.555556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.14876 | 121 | 6 | 68 | 20.166667 | 0.76699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c837176d46f85b35920c8391d0d95326e1850d94 | 62 | py | Python | lang/Python/factorial-8.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-05-05T13:42:20.000Z | 2021-05-05T13:42:20.000Z | lang/Python/factorial-8.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/factorial-8.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | def factorial(n):
return n * factorial(n - 1) if n else 1
| 20.666667 | 43 | 0.629032 | 12 | 62 | 3.25 | 0.583333 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.258065 | 62 | 2 | 44 | 31 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c8506ceab30f9a6cf194cd2ffc0faf21bfd8d502 | 23 | py | Python | ieeemac/__init__.py | Goggin/ieeemac | 135f3905af850a9e76be5f5eb6404a975c2ffdeb | [
"MIT"
] | null | null | null | ieeemac/__init__.py | Goggin/ieeemac | 135f3905af850a9e76be5f5eb6404a975c2ffdeb | [
"MIT"
] | null | null | null | ieeemac/__init__.py | Goggin/ieeemac | 135f3905af850a9e76be5f5eb6404a975c2ffdeb | [
"MIT"
] | null | null | null | from .ieeemac 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 |
c85c8d28d69de3e2b988c2c43803a670d3d657b3 | 170 | py | Python | python/problem0001.py | kosmos-zhang/projecteulernet | 616279ba7ced61b882383a8d33ce3e7ccddc98e1 | [
"Apache-2.0"
] | null | null | null | python/problem0001.py | kosmos-zhang/projecteulernet | 616279ba7ced61b882383a8d33ce3e7ccddc98e1 | [
"Apache-2.0"
] | null | null | null | python/problem0001.py | kosmos-zhang/projecteulernet | 616279ba7ced61b882383a8d33ce3e7ccddc98e1 | [
"Apache-2.0"
] | null | null | null | print (sum(range(3, 1000, 3)) + sum(range(5, 1000, 5)) - sum(range(15, 1000, 15))) #233168
print (sum({x for x in range(1000) if x % 3 == 0 or x % 5 == 0})) #233168
| 42.5 | 91 | 0.558824 | 34 | 170 | 2.794118 | 0.411765 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.300752 | 0.217647 | 170 | 3 | 92 | 56.666667 | 0.413534 | 0.070588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 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 |
c08fd8f84401138cabeeeacd4599da7d42b90978 | 196 | py | Python | bbgateway/__init__.py | lexotero/bbgateway | 9cac7aaeb972037ef6509728dd97eef81995c4aa | [
"MIT"
] | null | null | null | bbgateway/__init__.py | lexotero/bbgateway | 9cac7aaeb972037ef6509728dd97eef81995c4aa | [
"MIT"
] | null | null | null | bbgateway/__init__.py | lexotero/bbgateway | 9cac7aaeb972037ef6509728dd97eef81995c4aa | [
"MIT"
] | null | null | null | from bbgateway.Order import Order
from bbgateway.Shipping import Shipping
from bbgateway.Billing import Billing
from bbgateway.CreditCard import CreditCard
from bbgateway.Merchant import Merchant
| 32.666667 | 43 | 0.872449 | 25 | 196 | 6.84 | 0.32 | 0.380117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 196 | 5 | 44 | 39.2 | 0.971591 | 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 |
c096302cc73830f102ca085c7633fc8d777c5350 | 106 | py | Python | tests/test_version.py | RCheese/deplodocker | 1b562e0a18efcffdcbd89f0176c08241ca526c94 | [
"MIT"
] | 5 | 2020-11-08T16:37:59.000Z | 2021-02-19T22:44:55.000Z | tests/test_version.py | RCheese/deplodocker | 1b562e0a18efcffdcbd89f0176c08241ca526c94 | [
"MIT"
] | null | null | null | tests/test_version.py | RCheese/deplodocker | 1b562e0a18efcffdcbd89f0176c08241ca526c94 | [
"MIT"
] | null | null | null | import pytest
def test_version():
import deplodocker
assert deplodocker.__version__ == "0.2.1"
| 13.25 | 45 | 0.707547 | 13 | 106 | 5.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.198113 | 106 | 7 | 46 | 15.142857 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0c4bd0b6203a39911eb3fd6a80c9b386d9ad1d7 | 977 | py | Python | actor/map_obj/stairs.py | tamamiyasita/Roguelike-Tutorial-2020 | db4d4e5369010567bc39bdd404c4f3a7998670fd | [
"MIT"
] | null | null | null | actor/map_obj/stairs.py | tamamiyasita/Roguelike-Tutorial-2020 | db4d4e5369010567bc39bdd404c4f3a7998670fd | [
"MIT"
] | null | null | null | actor/map_obj/stairs.py | tamamiyasita/Roguelike-Tutorial-2020 | db4d4e5369010567bc39bdd404c4f3a7998670fd | [
"MIT"
] | null | null | null | from data import IMAGE_ID
from constants import *
from actor.actor import Actor
class Up_Stairs(Actor):
def __init__(self, x=0, y=0, image=None):
super().__init__(
# texture_number=31,
image=IMAGE_ID["up_stairs"],
x=x,
y=y,
# scale=SPRITE_SCALE*2... | 27.914286 | 53 | 0.554759 | 125 | 977 | 4.008 | 0.296 | 0.131737 | 0.167665 | 0.167665 | 0.790419 | 0.790419 | 0.790419 | 0.790419 | 0.790419 | 0.790419 | 0 | 0.015015 | 0.318321 | 977 | 34 | 54 | 28.735294 | 0.737237 | 0.082907 | 0 | 0.56 | 0 | 0 | 0.076319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0c7be2ff0fc7a8eca9950919ca6f50ada1f8b67 | 1,868 | py | Python | transformers_sklearn/utils/features_utils.py | victor-lozhnikov/transformers_sklearn | 993e38155ff112f85d805b4e87c150e6a7d0daa2 | [
"Apache-2.0"
] | 52 | 2019-12-12T07:06:12.000Z | 2022-02-20T01:31:01.000Z | transformers_sklearn/utils/features_utils.py | victor-lozhnikov/transformers_sklearn | 993e38155ff112f85d805b4e87c150e6a7d0daa2 | [
"Apache-2.0"
] | 2 | 2020-05-25T08:15:29.000Z | 2022-02-12T16:09:24.000Z | transformers_sklearn/utils/features_utils.py | victor-lozhnikov/transformers_sklearn | 993e38155ff112f85d805b4e87c150e6a7d0daa2 | [
"Apache-2.0"
] | 4 | 2020-09-23T11:52:12.000Z | 2022-02-19T06:57:50.000Z | import torch.nn as nn
from transformers import BertPreTrainedModel,BertModel
class BertForSequenceVector(BertPreTrainedModel):
def __init__(self,config):
super().__init__(config)
self.num_labels = config.num_labels
self.bert = BertModel(config)
self.dropout = nn.Dropout(config.hid... | 26.309859 | 61 | 0.619914 | 200 | 1,868 | 5.42 | 0.21 | 0.038745 | 0.066421 | 0.055351 | 0.750923 | 0.750923 | 0.750923 | 0.750923 | 0.750923 | 0.750923 | 0 | 0.001546 | 0.307281 | 1,868 | 70 | 62 | 26.685714 | 0.836167 | 0 | 0 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.038462 | 0 | 0.192308 | 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 |
c0fcab7f24f7e553ceeab14d4b40d66433e22880 | 151 | py | Python | iplib3/constants/__init__.py | Diapolo10/iplib | 001479b2095fd8008f9db726b1bd9c0b0ee16eac | [
"MIT"
] | 6 | 2021-04-18T19:46:40.000Z | 2021-06-28T22:03:25.000Z | iplib3/constants/__init__.py | Diapolo10/iplib | 001479b2095fd8008f9db726b1bd9c0b0ee16eac | [
"MIT"
] | 10 | 2021-05-01T19:46:35.000Z | 2021-07-04T08:39:35.000Z | iplib3/constants/__init__.py | Diapolo10/iplib | 001479b2095fd8008f9db726b1bd9c0b0ee16eac | [
"MIT"
] | 4 | 2021-05-01T22:04:24.000Z | 2021-06-13T14:29:20.000Z | """Various constant values used by iplib3"""
from .ipv4 import *
from .ipv6 import *
from .address import *
from .subnet import *
from .port import *
| 18.875 | 44 | 0.715232 | 21 | 151 | 5.142857 | 0.619048 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.178808 | 151 | 7 | 45 | 21.571429 | 0.846774 | 0.251656 | 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 |
9b255b60d1cc22ced35a5cb60cac6d7316dfb813 | 135 | py | Python | baseline/__init__.py | LLLjun/learn-to-cluster | 3b834589923baf72523e288cc462e0df591b99c1 | [
"MIT"
] | 620 | 2019-04-16T01:06:59.000Z | 2022-03-27T15:15:45.000Z | baseline/__init__.py | LLLjun/learn-to-cluster | 3b834589923baf72523e288cc462e0df591b99c1 | [
"MIT"
] | 83 | 2019-04-29T08:55:16.000Z | 2022-03-11T09:27:16.000Z | baseline/__init__.py | LLLjun/learn-to-cluster | 3b834589923baf72523e288cc462e0df591b99c1 | [
"MIT"
] | 141 | 2019-04-16T08:53:02.000Z | 2022-03-14T08:49:37.000Z | from .sklearn_cluster import *
from .aro import (aro, knn_aro)
from .chinese_whispers import (chinese_whispers, chinese_whispers_fast)
| 33.75 | 71 | 0.822222 | 19 | 135 | 5.526316 | 0.473684 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103704 | 135 | 3 | 72 | 45 | 0.867769 | 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 |
9e2b29ee4eac8381ced0a4896861c6973bb149c7 | 38,358 | py | Python | tests/test_unary_operators.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | 2 | 2021-04-24T07:50:31.000Z | 2021-09-07T18:56:51.000Z | tests/test_unary_operators.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | null | null | null | tests/test_unary_operators.py | gf712/onnxruntime-numpy | 752ecb90e97295384c96ff339165c461ba4caf87 | [
"MIT"
] | null | null | null | import onnxruntime_numpy as onp
from onnxruntime_numpy.types import (
float_types, integer_types, is_unsigned_int, all_types, is_bool,
numeric_types, bool_types)
import pytest
import numpy as np
from .utils import expect
import itertools
def argmax_use_numpy(data, axis=0, keepdims=1):
result = np.argmax(d... | 32.424345 | 87 | 0.642187 | 5,713 | 38,358 | 4.141782 | 0.051462 | 0.067619 | 0.080762 | 0.096146 | 0.868185 | 0.84642 | 0.834967 | 0.819331 | 0.812865 | 0.787803 | 0 | 0.046541 | 0.19842 | 38,358 | 1,182 | 88 | 32.451777 | 0.72303 | 0.01426 | 0 | 0.641341 | 0 | 0 | 0.01651 | 0 | 0 | 0 | 0 | 0.000846 | 0.003352 | 1 | 0.103911 | false | 0 | 0.006704 | 0 | 0.117318 | 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 |
7b6ffbbc1e2020cdf87b57063f5a92c4b4e8cfb0 | 5,355 | py | Python | resources/messaging/index.py | cdklabs/cdk-amazon-chime-resources | 7a356b8cf4d98dbd0e9733e8b2d7712699c7fe3d | [
"Apache-2.0"
] | 8 | 2022-02-04T21:11:43.000Z | 2022-03-28T01:25:28.000Z | resources/messaging/index.py | cdklabs/cdk-amazon-chime-resources | 7a356b8cf4d98dbd0e9733e8b2d7712699c7fe3d | [
"Apache-2.0"
] | 5 | 2022-02-17T00:24:05.000Z | 2022-03-28T17:41:32.000Z | resources/messaging/index.py | cdklabs/cdk-amazon-chime-resources | 7a356b8cf4d98dbd0e9733e8b2d7712699c7fe3d | [
"Apache-2.0"
] | 1 | 2022-03-27T22:43:43.000Z | 2022-03-27T22:43:43.000Z | import app_instance
import channel_flow
import instance_admin
import instance_user
import streaming_config
import data_retention
def handler(event, context):
print(event)
responseData = {}
properties = event["ResourceProperties"]["properties"]
uid = event["ResourceProperties"]["uid"]
resource_type... | 43.185484 | 110 | 0.55817 | 470 | 5,355 | 6.208511 | 0.13617 | 0.052776 | 0.057574 | 0.074023 | 0.723098 | 0.708362 | 0.708362 | 0.708362 | 0.708362 | 0.663811 | 0 | 0 | 0.340616 | 5,355 | 123 | 111 | 43.536585 | 0.826395 | 0 | 0 | 0.754237 | 0 | 0 | 0.189169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008475 | false | 0 | 0.050847 | 0 | 0.169492 | 0.110169 | 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 |
7bcae73d057998202417086caa3aa1fe8af90229 | 536 | py | Python | Configuration/StandardSequences/python/MagneticField_38T_UpdatedMap_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Configuration/StandardSequences/python/MagneticField_38T_UpdatedMap_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | Configuration/StandardSequences/python/MagneticField_38T_UpdatedMap_cff.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | from __future__ import print_function
print("""####################################################################
# WARNING: the module #
# Configuration.StandardSequences.MagneticField_38T_UpdatedMap_cff #
# is deprecated. Please use ... | 44.666667 | 77 | 0.462687 | 31 | 536 | 7.645161 | 0.612903 | 0.379747 | 0.544304 | 0.388186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009756 | 0.235075 | 536 | 11 | 78 | 48.727273 | 0.568293 | 0 | 0 | 0 | 0 | 0 | 0.773408 | 0.47191 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cdbec087d87ba470075cf20ef07e6fede82d7b57 | 27 | py | Python | gimp_be/utils/__init__.py | J216/gimp_be | 02cc0e9627bee491cf1e6d5102ce0a3f07f1043e | [
"MIT"
] | 3 | 2017-02-05T08:12:19.000Z | 2019-08-02T14:31:56.000Z | gimp_be/utils/__init__.py | J216/gimp_be | 02cc0e9627bee491cf1e6d5102ce0a3f07f1043e | [
"MIT"
] | 1 | 2017-01-11T05:54:51.000Z | 2019-01-08T03:48:57.000Z | gimp_be/utils/__init__.py | J216/gimp_be | 02cc0e9627bee491cf1e6d5102ce0a3f07f1043e | [
"MIT"
] | null | null | null | from string_tools import *
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
a830a363ac15bfd8bdd0293b3c256799a8fee085 | 112 | py | Python | CodeWars/8 Kyu/Pole Vault Starting Marks.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Pole Vault Starting Marks.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Pole Vault Starting Marks.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | A = (10.67-9.45) / (1.83-1.52)
B = 9.45 - A*1.52
def starting_mark(height):
return round(A * height + B, 2) | 22.4 | 35 | 0.571429 | 25 | 112 | 2.52 | 0.64 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224719 | 0.205357 | 112 | 5 | 35 | 22.4 | 0.483146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
a96455db97763aa5a0a58e43ac33033820fa2eb3 | 35 | py | Python | wickes_tools/__init__.py | 1wickes/wickes-tools | ab8135c80183c2a3958cc84cf1a4a2edb3688c7b | [
"MIT"
] | null | null | null | wickes_tools/__init__.py | 1wickes/wickes-tools | ab8135c80183c2a3958cc84cf1a4a2edb3688c7b | [
"MIT"
] | null | null | null | wickes_tools/__init__.py | 1wickes/wickes-tools | ab8135c80183c2a3958cc84cf1a4a2edb3688c7b | [
"MIT"
] | null | null | null | from wickes_tools import cal1, cal4 | 35 | 35 | 0.857143 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 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 |
a983be22264144bfc63e8df9f666ebe6e37d8a36 | 68 | py | Python | nnfs/datasets/synthetic/__init__.py | akshaykurmi/neural-networks-from-scratch | 54d62d9f5adb102d14267a922a515fa79bf52bd6 | [
"MIT"
] | 2 | 2019-09-13T22:31:21.000Z | 2020-11-28T18:51:14.000Z | nnfs/datasets/synthetic/__init__.py | akshaykurmi/neural-networks-from-scratch | 54d62d9f5adb102d14267a922a515fa79bf52bd6 | [
"MIT"
] | null | null | null | nnfs/datasets/synthetic/__init__.py | akshaykurmi/neural-networks-from-scratch | 54d62d9f5adb102d14267a922a515fa79bf52bd6 | [
"MIT"
] | null | null | null | from .two_moons import TwoMoons
from .two_spirals import TwoSpirals
| 22.666667 | 35 | 0.852941 | 10 | 68 | 5.6 | 0.7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 36 | 34 | 0.933333 | 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 |
5703c734755f1d5b86e6d43ade299d08e5a332f4 | 2,808 | py | Python | tests/system/test_runner.py | paulocoutinhox/pygemstones | 79397ee187670dc78746a3b3f64ca6118cd3a86c | [
"MIT"
] | 2 | 2021-11-28T11:13:07.000Z | 2022-02-02T02:26:47.000Z | tests/system/test_runner.py | paulocoutinhox/pygemstones | 79397ee187670dc78746a3b3f64ca6118cd3a86c | [
"MIT"
] | 4 | 2022-01-04T22:22:09.000Z | 2022-01-21T06:44:03.000Z | tests/system/test_runner.py | paulocoutinhox/pygemstones | 79397ee187670dc78746a3b3f64ca6118cd3a86c | [
"MIT"
] | null | null | null | import os
import pytest
import pygemstones.io.file as f
import pygemstones.system.platform as p
import pygemstones.system.runner as r
# -----------------------------------------------------------------------------
def test_run(capsys):
if p.is_windows():
r.run(["dir"])
else:
r.run(["ls"])
... | 26.742857 | 79 | 0.50463 | 313 | 2,808 | 4.255591 | 0.185304 | 0.108108 | 0.067568 | 0.063063 | 0.852853 | 0.828078 | 0.828078 | 0.807057 | 0.758258 | 0.630631 | 0 | 0.007954 | 0.194088 | 2,808 | 104 | 80 | 27 | 0.580645 | 0.194088 | 0 | 0.656716 | 0 | 0 | 0.078936 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 1 | 0.104478 | false | 0 | 0.074627 | 0 | 0.179104 | 0.014925 | 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 |
5738170a5087009b4b48c050048c8e1fbc649f0c | 138 | py | Python | python/gigasecond/gigasecond.py | jca/exercism | ae420f38529644fe60d2b3d764766499e7ece8b6 | [
"MIT"
] | null | null | null | python/gigasecond/gigasecond.py | jca/exercism | ae420f38529644fe60d2b3d764766499e7ece8b6 | [
"MIT"
] | 1 | 2021-05-11T22:46:46.000Z | 2021-05-11T22:46:46.000Z | python/gigasecond/gigasecond.py | jca/exercism | ae420f38529644fe60d2b3d764766499e7ece8b6 | [
"MIT"
] | null | null | null | from datetime import timedelta
def add_gigasecond(birth_date, _gigasecond = 1e9):
return birth_date + timedelta(seconds=_gigasecond)
| 27.6 | 54 | 0.804348 | 17 | 138 | 6.235294 | 0.705882 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.130435 | 138 | 4 | 55 | 34.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
93e8dcd243b3a934acd0d1e12880c0db4a795144 | 118 | py | Python | src/routes/__init__.py | kirill-kundik/CinemaChallengeBackend | aea4ac801a9a5c907f36f07b67df162b4bd85044 | [
"MIT"
] | null | null | null | src/routes/__init__.py | kirill-kundik/CinemaChallengeBackend | aea4ac801a9a5c907f36f07b67df162b4bd85044 | [
"MIT"
] | null | null | null | src/routes/__init__.py | kirill-kundik/CinemaChallengeBackend | aea4ac801a9a5c907f36f07b67df162b4bd85044 | [
"MIT"
] | null | null | null | from .users import USER_BLUEPRINT
from .achievement import ACHIEVEMENT_BLUEPRINT
from .trivia import TRIVIA_BLUEPRINT
| 29.5 | 46 | 0.872881 | 15 | 118 | 6.666667 | 0.466667 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 3 | 47 | 39.333333 | 0.943396 | 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 |
f5627c70ba251ac2aea725c2d3653250f898e787 | 5,587 | py | Python | resources/dot_PyCharm/system/python_stubs/cache/2528a849a5456e787494763a21786d1d4631453f09d8dec771fc5410559afa11/numpy/core/_multiarray_tests.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/2528a849a5456e787494763a21786d1d4631453f09d8dec771fc5410559afa11/numpy/core/_multiarray_tests.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/2528a849a5456e787494763a21786d1d4631453f09d8dec771fc5410559afa11/numpy/core/_multiarray_tests.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module numpy.core._multiarray_tests
# from C:\Python27\lib\site-packages\numpy\core\_multiarray_tests.pyd
# by generator 1.147
# no doc
# no imports
# functions
def array_indexing(*args, **kwargs): # real signature unknown
pass
def extint_add_128(*args, **kwargs): # real signature unknown
... | 24.721239 | 92 | 0.691427 | 722 | 5,587 | 5.17867 | 0.242382 | 0.208612 | 0.320941 | 0.35678 | 0.718641 | 0.718641 | 0.67371 | 0.653918 | 0.258625 | 0.129981 | 0 | 0.012396 | 0.205835 | 5,587 | 225 | 93 | 24.831111 | 0.830291 | 0.435296 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0.008333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f5914ce03d87df13e0d6b0781a9456ea2c2c3044 | 2,433 | py | Python | tests.py | Rhadow/python-crawler | 4da2e1027900bedfe892e57a6e149a532dc62f3e | [
"MIT"
] | null | null | null | tests.py | Rhadow/python-crawler | 4da2e1027900bedfe892e57a6e149a532dc62f3e | [
"MIT"
] | null | null | null | tests.py | Rhadow/python-crawler | 4da2e1027900bedfe892e57a6e149a532dc62f3e | [
"MIT"
] | null | null | null | import unittest
import collections
from src.url_manager import UrlManager
class TestUrlManager(unittest.TestCase):
def setUp(self):
self.manager = UrlManager('www.google.com')
def tearDown(self):
self.manager = None
def test_initial(self):
self.assertEqual(
self.manager... | 35.779412 | 76 | 0.648582 | 291 | 2,433 | 5.216495 | 0.147766 | 0.166667 | 0.175231 | 0.239789 | 0.747694 | 0.747694 | 0.719368 | 0.719368 | 0.710145 | 0.710145 | 0 | 0.000526 | 0.219071 | 2,433 | 67 | 77 | 36.313433 | 0.798421 | 0 | 0 | 0.551724 | 0 | 0 | 0.131525 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 1 | 0.12069 | false | 0 | 0.051724 | 0 | 0.189655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f5aa1ce13ea362436d63973dcf612e6adcab4597 | 1,851 | py | Python | IntelligenceInput/src/loaddict.py | SportsTHU/NLP_and_AI_Intro | b83f0181a891ae93684017f4829a4597b6c2aec9 | [
"MIT"
] | 1 | 2020-06-02T08:47:37.000Z | 2020-06-02T08:47:37.000Z | IntelligenceInput/src/loaddict.py | YijiaShaw/NLP_and_AI_Intro | b83f0181a891ae93684017f4829a4597b6c2aec9 | [
"MIT"
] | null | null | null | IntelligenceInput/src/loaddict.py | YijiaShaw/NLP_and_AI_Intro | b83f0181a891ae93684017f4829a4597b6c2aec9 | [
"MIT"
] | null | null | null | import json
from config import config
def load_dict(triple=False):
pinyin_dict = dict()
freq_dict = dict()
trans_dict = dict()
emit_dict = dict()
with open(config['DATA_PATH'] + 'pinyin.txt', 'r') as f:
for line in f.readlines():
pinyin_dict[line.split()[0]] = line.s... | 30.344262 | 88 | 0.573204 | 277 | 1,851 | 3.613718 | 0.126354 | 0.095904 | 0.047952 | 0.0999 | 0.912088 | 0.862138 | 0.862138 | 0.846154 | 0.838162 | 0.783217 | 0 | 0.002948 | 0.266883 | 1,851 | 60 | 89 | 30.85 | 0.734709 | 0 | 0 | 0 | 0 | 0 | 0.136811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.208333 | 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 |
5fe35fa3785b1f6d3cc00f0b80d4596a09251372 | 96 | py | Python | venv/lib/python3.8/site-packages/packaging/markers.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/packaging/markers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/packaging/markers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/96/9c/15/2fb9d9c3eb892684a7d2505feb22caf3d822021c5e119bf182726797da | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
5ffec86b6c59c8c2edde296c5cd0274a3cb8d21e | 58 | py | Python | tests/__init__.py | fossabot/superstructure | f4ab5cac269fb3dedfbd3a54c441af23edf3840b | [
"MIT"
] | null | null | null | tests/__init__.py | fossabot/superstructure | f4ab5cac269fb3dedfbd3a54c441af23edf3840b | [
"MIT"
] | null | null | null | tests/__init__.py | fossabot/superstructure | f4ab5cac269fb3dedfbd3a54c441af23edf3840b | [
"MIT"
] | null | null | null | from .test_bewusstsein import *
from .test_logik import *
| 19.333333 | 31 | 0.793103 | 8 | 58 | 5.5 | 0.625 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 32 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
2764004099ec0e968d45e72d9a30a755c2002706 | 40 | py | Python | tokendealer/tokendealer/__init__.py | PacktPublishing/Python-Microservices-Development-2nd-Edition | bbd0ed0f2f26e91cf589e539a70666057dc880eb | [
"MIT"
] | 16 | 2021-08-28T13:46:53.000Z | 2022-03-21T18:09:57.000Z | tokendealer/tokendealer/__init__.py | saibaldas/Python-Microservices-Development-2nd-Edition | bbd0ed0f2f26e91cf589e539a70666057dc880eb | [
"MIT"
] | null | null | null | tokendealer/tokendealer/__init__.py | saibaldas/Python-Microservices-Development-2nd-Edition | bbd0ed0f2f26e91cf589e539a70666057dc880eb | [
"MIT"
] | 15 | 2021-08-19T03:49:17.000Z | 2022-03-23T13:53:33.000Z | from tokendealer.app import app # NOQA
| 20 | 39 | 0.775 | 6 | 40 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.939394 | 0.1 | 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 |
279af1492727187350e2b864d38515c4556c26ba | 10,463 | py | Python | BSpline/b_spline.py | NovemberChopin/GuideLine | d49b3b527a5e54f3ee734c8d5245efb89150d594 | [
"MIT"
] | null | null | null | BSpline/b_spline.py | NovemberChopin/GuideLine | d49b3b527a5e54f3ee734c8d5245efb89150d594 | [
"MIT"
] | null | null | null | BSpline/b_spline.py | NovemberChopin/GuideLine | d49b3b527a5e54f3ee734c8d5245efb89150d594 | [
"MIT"
] | 1 | 2022-02-28T11:58:47.000Z | 2022-02-28T11:58:47.000Z | import parameter_selection as ps
import numpy as np
import bspline_curve as bc
import bspline_surface as bs
import matplotlib.pyplot as plt
'''
通过给出的一些轨迹点,反求控制点,画出B样条曲线
'''
def curve_inter_figure():
'''
Input: Data points
'''
D_X = [1, 1, 0, -0.5, 1.5, 3, 4, 4.2, 4]
D_Y = [0, 1, 2, 3, 4, ... | 28.903315 | 93 | 0.516773 | 1,943 | 10,463 | 2.582604 | 0.061246 | 0.103627 | 0.01674 | 0.052611 | 0.808489 | 0.783181 | 0.767637 | 0.759665 | 0.746313 | 0.726584 | 0 | 0.063432 | 0.288827 | 10,463 | 362 | 94 | 28.903315 | 0.610939 | 0.130555 | 0 | 0.602094 | 0 | 0 | 0.002962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026178 | false | 0 | 0.026178 | 0 | 0.057592 | 0.010471 | 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 |
27bdda156a5ae3c14222f65263d069e7a5575ddb | 46 | py | Python | backend/app/models/__init__.py | adriangb/fastapi-blog | e4db152065648470ad7c2116b84edcdf289f3efc | [
"MIT"
] | 57 | 2021-02-22T02:21:57.000Z | 2022-03-25T07:30:09.000Z | backend/app/models/__init__.py | adriangb/fastapi-blog | e4db152065648470ad7c2116b84edcdf289f3efc | [
"MIT"
] | 5 | 2021-05-30T22:21:55.000Z | 2022-01-22T23:41:51.000Z | backend/app/models/__init__.py | adriangb/fastapi-blog | e4db152065648470ad7c2116b84edcdf289f3efc | [
"MIT"
] | 5 | 2021-10-09T20:14:43.000Z | 2022-02-21T07:31:54.000Z | from .post import Post
from .user import User
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 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 |
fde9843ea06af03f422909b967da4cbba441232d | 45 | py | Python | Driver/drivers/LabBrick_LMS_Synthesizer/__init__.py | Lagikna/QuLab-drivers | badf3f975e38fbf79c5bdd4be16ff9e02c26e74f | [
"MIT"
] | 16 | 2018-03-16T12:08:31.000Z | 2022-03-20T08:53:35.000Z | Driver/drivers/LabBrick_LMS_Synthesizer/__init__.py | Lagikna/QuLab-drivers | badf3f975e38fbf79c5bdd4be16ff9e02c26e74f | [
"MIT"
] | 148 | 2018-03-18T09:33:18.000Z | 2022-03-21T16:00:15.000Z | qulab/Driver/drivers/LabBrick_LMS_Synthesizer/__init__.py | feihoo87/QuLab | cc16f4777e5523fca327f7f0a9725fd13f9b057f | [
"MIT"
] | 14 | 2018-03-18T08:00:12.000Z | 2020-10-21T12:39:42.000Z | from .LabBrick_LMS_Synthesizer import Driver
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 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 |
e30b6508188169c4bfafeb989e13b95d75bbed2e | 34 | py | Python | meracanapi/apitelemac/__init__.py | meracan/meracan-api | aff04f3d9d0dce46fe0b8ce89394ec22823a0ea4 | [
"MIT"
] | null | null | null | meracanapi/apitelemac/__init__.py | meracan/meracan-api | aff04f3d9d0dce46fe0b8ce89394ec22823a0ea4 | [
"MIT"
] | null | null | null | meracanapi/apitelemac/__init__.py | meracan/meracan-api | aff04f3d9d0dce46fe0b8ce89394ec22823a0ea4 | [
"MIT"
] | null | null | null | from .apitelemac import ApiTelemac | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 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 |
e320c812419208b1c16945a5ae33b9d3ba1c9867 | 75 | py | Python | __init__.py | RyouZhang/py_es_dsl | 1564ffdaf6da5b00b20eca87db5781279301ab18 | [
"MIT"
] | 1 | 2017-08-28T02:53:38.000Z | 2017-08-28T02:53:38.000Z | __init__.py | RyouZhang/py_es_dsl | 1564ffdaf6da5b00b20eca87db5781279301ab18 | [
"MIT"
] | null | null | null | __init__.py | RyouZhang/py_es_dsl | 1564ffdaf6da5b00b20eca87db5781279301ab18 | [
"MIT"
] | null | null | null |
from util.elasticsearch.dsl import *
from util.elasticsearch.aggr import * | 25 | 37 | 0.813333 | 10 | 75 | 6.1 | 0.6 | 0.262295 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 3 | 37 | 25 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e362b8c91e46c5b4992574fb10013d9cc41c026a | 184 | py | Python | eod/models/__init__.py | Helicopt/EOD | b5db36f4ce267bf64d093b8174bde2c4097b4718 | [
"Apache-2.0"
] | 1 | 2021-11-24T09:32:27.000Z | 2021-11-24T09:32:27.000Z | eod/models/__init__.py | jinfagang/EOD | a45b74430070d82d9248a10fb5e1116bb7ababe1 | [
"Apache-2.0"
] | null | null | null | eod/models/__init__.py | jinfagang/EOD | a45b74430070d82d9248a10fb5e1116bb7ababe1 | [
"Apache-2.0"
] | null | null | null | from .backbones import * # noqa
from .heads import * # noqa
from .necks import * # noqa
from .model_helper import * # noqa
from .utils import * # noqa
from .postprocess import * # noqa | 30.666667 | 34 | 0.711957 | 25 | 184 | 5.2 | 0.4 | 0.461538 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190217 | 184 | 6 | 35 | 30.666667 | 0.872483 | 0.157609 | 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 |
8b7af415bdb496f6e0ee8e0c29770e5f09d15cbc | 5,090 | py | Python | anomaly_detection/networks/stack_conv_net.py | leggedrobotics/anomaly_navigation | e4d87a1b67904e0537de3fa4b3e53bc4932d1681 | [
"MIT"
] | 21 | 2020-01-14T19:05:14.000Z | 2022-02-03T11:12:26.000Z | anomaly_detection/networks/stack_conv_net.py | leggedrobotics/anomaly_navigation | e4d87a1b67904e0537de3fa4b3e53bc4932d1681 | [
"MIT"
] | 1 | 2020-01-15T10:00:05.000Z | 2020-01-15T10:55:44.000Z | anomaly_detection/networks/stack_conv_net.py | leggedrobotics/anomaly_navigation | e4d87a1b67904e0537de3fa4b3e53bc4932d1681 | [
"MIT"
] | 9 | 2020-01-14T19:04:46.000Z | 2021-11-14T13:42:56.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from anomaly_detection.base.base_net import BaseNet
class StackConvNet(BaseNet):
def __init__(self, in_channels=3, use_bn=False, use_dropout=True):
super().__init__()
self.rep_dim = 128
self.pool = nn.MaxPool2d(2, 2)
... | 32.420382 | 95 | 0.57112 | 753 | 5,090 | 3.71846 | 0.115538 | 0.064286 | 0.05 | 0.071429 | 0.828214 | 0.821786 | 0.821786 | 0.786429 | 0.7475 | 0.547143 | 0 | 0.061954 | 0.302358 | 5,090 | 156 | 96 | 32.628205 | 0.726556 | 0.009037 | 0 | 0.76378 | 0 | 0 | 0.013886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031496 | false | 0 | 0.031496 | 0 | 0.094488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
8b879a0327379ab25a17d9ea55eb7f0350e0aa5c | 3,602 | py | Python | test/utils.py | gelijergensen/PermutationImportance | 7a09a407e42745c223055e0597c5226ff64b2f3c | [
"MIT"
] | 4 | 2019-02-01T17:49:14.000Z | 2020-06-25T15:09:56.000Z | test/utils.py | gelijergensen/PermutationImportance | 7a09a407e42745c223055e0597c5226ff64b2f3c | [
"MIT"
] | 42 | 2018-09-27T19:35:32.000Z | 2020-10-09T17:56:57.000Z | test/utils.py | gelijergensen/PermutationImportance | 7a09a407e42745c223055e0597c5226ff64b2f3c | [
"MIT"
] | 4 | 2018-09-27T19:34:33.000Z | 2021-02-12T19:41:31.000Z | """These are just a handful of functions which are useful only for helping run
certain tests
Note: These tests aren't automatically run by pytest, but can be manually run
by calling pytest on this file"""
import numpy as np
def make_test_data():
"""This is a useful tool to help with making a dataset where the r... | 43.926829 | 83 | 0.673515 | 514 | 3,602 | 4.536965 | 0.182879 | 0.108062 | 0.056604 | 0.015437 | 0.801029 | 0.801029 | 0.787307 | 0.736707 | 0.730703 | 0.708405 | 0 | 0.048924 | 0.199889 | 3,602 | 81 | 84 | 44.469136 | 0.760236 | 0.118545 | 0 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 1 | 0.068966 | false | 0 | 0.017241 | 0 | 0.12069 | 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 |
47386f424134c12bf1632376029f3fb9c2af5711 | 34 | py | Python | illuminate/__init__.py | donowsolutions/illuminate | 6e425363d22bbc2b24966321872ab6eb6936c68c | [
"MIT"
] | null | null | null | illuminate/__init__.py | donowsolutions/illuminate | 6e425363d22bbc2b24966321872ab6eb6936c68c | [
"MIT"
] | null | null | null | illuminate/__init__.py | donowsolutions/illuminate | 6e425363d22bbc2b24966321872ab6eb6936c68c | [
"MIT"
] | null | null | null | from .illuminate import Illuminate | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 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 |
473cdaa58ce6a54be59c6e0ee48947de2b2721b2 | 201 | py | Python | heksher/api/v1/__init__.py | biocatchltd/Heksher | b50b3659a606cb188437adb1f95747efb3ba7b59 | [
"MIT"
] | 3 | 2021-01-21T11:41:06.000Z | 2021-10-20T06:51:53.000Z | heksher/api/v1/__init__.py | biocatchltd/Heksher | b50b3659a606cb188437adb1f95747efb3ba7b59 | [
"MIT"
] | 18 | 2021-02-01T06:38:53.000Z | 2022-02-14T13:46:33.000Z | heksher/api/v1/__init__.py | biocatchltd/Heksher | b50b3659a606cb188437adb1f95747efb3ba7b59 | [
"MIT"
] | null | null | null | import heksher.api.v1.context_features # noqa: F401
import heksher.api.v1.rules # noqa: F401
import heksher.api.v1.settings # noqa: F401
from heksher.api.v1.util import router
__all__ = ['router']
| 28.714286 | 52 | 0.756219 | 31 | 201 | 4.741935 | 0.451613 | 0.272109 | 0.326531 | 0.367347 | 0.353742 | 0.353742 | 0 | 0 | 0 | 0 | 0 | 0.074286 | 0.129353 | 201 | 6 | 53 | 33.5 | 0.765714 | 0.159204 | 0 | 0 | 0 | 0 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
473da47703546ae7fc724a9b57b964921f7119d2 | 96 | py | Python | privugger/distributions/__init__.py | itu-square/reident | a9f2a2cfb43ea0adeccbbed7ef119f5eae243bf5 | [
"Apache-2.0"
] | 2 | 2021-12-10T13:45:37.000Z | 2021-12-15T08:32:01.000Z | privugger/distributions/__init__.py | itu-square/reident | a9f2a2cfb43ea0adeccbbed7ef119f5eae243bf5 | [
"Apache-2.0"
] | 39 | 2021-03-24T10:08:50.000Z | 2022-03-29T22:02:24.000Z | privugger/distributions/__init__.py | itu-square/privugger | 9b57605dbd1ed072feaedc17ca0cd688dbf2459a | [
"Apache-2.0"
] | null | null | null | from privugger.distributions.discrete import *
from privugger.distributions.continuous import *
| 32 | 48 | 0.854167 | 10 | 96 | 8.2 | 0.6 | 0.317073 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 49 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
47b4f893b0d381de0c08cd50693b0d7ba2df916b | 107 | py | Python | controller/storage/src/const.py | urabe0225/ogc-poc1 | 5185d55b7df8d2ca1d0d6625a28763c6903ed0f4 | [
"Apache-2.0"
] | null | null | null | controller/storage/src/const.py | urabe0225/ogc-poc1 | 5185d55b7df8d2ca1d0d6625a28763c6903ed0f4 | [
"Apache-2.0"
] | 2 | 2018-10-16T04:19:19.000Z | 2018-10-22T07:33:09.000Z | controller/storage/src/const.py | urabe0225/ogc-poc1 | 5185d55b7df8d2ca1d0d6625a28763c6903ed0f4 | [
"Apache-2.0"
] | 2 | 2018-08-25T12:10:43.000Z | 2019-12-27T01:47:13.000Z | # -*- coding: utf-8 -*-
# environment variable name
FACE_UPLOAD_DIR_FULLPATH = 'FACE_UPLOAD_DIR_FULLPATH'
| 21.4 | 53 | 0.757009 | 14 | 107 | 5.357143 | 0.714286 | 0.266667 | 0.346667 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.121495 | 107 | 4 | 54 | 26.75 | 0.787234 | 0.439252 | 0 | 0 | 0 | 0 | 0.421053 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a54628f383130542636e8dc8acf901525f41e0b | 5,795 | py | Python | app/app/calculation_service/tests/test_restful_api.py | alasdair-macleod/demoappback | fedd555279a1e3b91172face7cec41eb158cbf0f | [
"MIT"
] | null | null | null | app/app/calculation_service/tests/test_restful_api.py | alasdair-macleod/demoappback | fedd555279a1e3b91172face7cec41eb158cbf0f | [
"MIT"
] | 1 | 2019-01-16T15:45:31.000Z | 2019-01-16T15:45:31.000Z | app/app/calculation_service/tests/test_restful_api.py | alasdair-macleod/demoappback | fedd555279a1e3b91172face7cec41eb158cbf0f | [
"MIT"
] | 1 | 2017-10-30T14:34:41.000Z | 2017-10-30T14:34:41.000Z | import main
import unittest
from json import loads
class MainTestCase(unittest.TestCase):
def setUp(self):
main.app.testing = True
self.app = main.app.test_client()
def test_Hello_World(self):
"""Should response Hello World!"""
get_test = self.app.get('/')
self.assert... | 193.166667 | 4,767 | 0.652977 | 689 | 5,795 | 5.429608 | 0.208999 | 0.077519 | 0.147287 | 0.20155 | 0.664528 | 0.664528 | 0.664528 | 0.659449 | 0.659449 | 0.659449 | 0 | 0.028855 | 0.061087 | 5,795 | 29 | 4,768 | 199.827586 | 0.658702 | 0.015013 | 0 | 0 | 0 | 0.1 | 0.877479 | 0.781815 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15 | false | 0 | 0.15 | 0 | 0.35 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a5b46fbec6b6a61cd074af4647b3151bee45fde | 38 | py | Python | rick_db/conn/sqlite/__init__.py | oddbit-project/rick_db | 02910c071f3ad58fdd88b2a27bfdd2bc61497d42 | [
"MIT"
] | null | null | null | rick_db/conn/sqlite/__init__.py | oddbit-project/rick_db | 02910c071f3ad58fdd88b2a27bfdd2bc61497d42 | [
"MIT"
] | null | null | null | rick_db/conn/sqlite/__init__.py | oddbit-project/rick_db | 02910c071f3ad58fdd88b2a27bfdd2bc61497d42 | [
"MIT"
] | null | null | null | from .sqlite import Sqlite3Connection
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7bdf6cfa4265debf7d9a64b94bdfc4982837b743 | 164 | py | Python | xrayreader/images/china.py | tb-brics/dorothy-data-reader | 918d23c11099134f90939903d0b35288e0492c5c | [
"MIT"
] | null | null | null | xrayreader/images/china.py | tb-brics/dorothy-data-reader | 918d23c11099134f90939903d0b35288e0492c5c | [
"MIT"
] | null | null | null | xrayreader/images/china.py | tb-brics/dorothy-data-reader | 918d23c11099134f90939903d0b35288e0492c5c | [
"MIT"
] | null | null | null | """
Get data of the images from China DataSet.
"""
from .reader import ReaderBase
class Reader(ReaderBase):
"""Get data of the images from image dataset."""
| 16.4 | 52 | 0.70122 | 23 | 164 | 5 | 0.565217 | 0.121739 | 0.156522 | 0.208696 | 0.382609 | 0.382609 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189024 | 164 | 9 | 53 | 18.222222 | 0.864662 | 0.518293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7bfcc8b92baeab37d4b91bc7b1cffdd3d5dc75f0 | 118 | py | Python | src/vbr/tableclasses/associations/__init__.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 1 | 2021-05-26T19:08:29.000Z | 2021-05-26T19:08:29.000Z | src/vbr/tableclasses/associations/__init__.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 7 | 2021-05-04T13:12:39.000Z | 2022-03-09T21:04:33.000Z | src/vbr/tableclasses/associations/__init__.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 2 | 2021-04-20T14:46:52.000Z | 2021-06-07T20:28:28.000Z | from .describe import *
from .event import *
from .hierarchy import *
from .self_from import *
from .self_in import *
| 19.666667 | 24 | 0.745763 | 17 | 118 | 5.058824 | 0.411765 | 0.465116 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 118 | 5 | 25 | 23.6 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d0304051143786de97b242fbeebd512567a0e953 | 170 | py | Python | gryphon/wizard/__init__.py | vittorfp/labskit_cli | 28e109b4a9f36a03d499eb953e04a4fb787632fe | [
"MIT"
] | null | null | null | gryphon/wizard/__init__.py | vittorfp/labskit_cli | 28e109b4a9f36a03d499eb953e04a4fb787632fe | [
"MIT"
] | 1 | 2022-03-08T14:54:26.000Z | 2022-03-08T15:02:52.000Z | gryphon/wizard/__init__.py | vittorfp/labskit_cli | 28e109b4a9f36a03d499eb953e04a4fb787632fe | [
"MIT"
] | null | null | null | from .add import add
from .init import init
from .generate import generate
from .about import about
from .exit_program import exit_program
from .settings import settings
| 24.285714 | 38 | 0.823529 | 26 | 170 | 5.307692 | 0.346154 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 170 | 6 | 39 | 28.333333 | 0.945205 | 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 |
d0810e67f8caff40aa2eb5d06369abe6b0db5f2a | 40 | py | Python | dlpipe/schemas/__init__.py | j-o-d-o/accident_predictor | d193eacfa9451015c184914e7e244becd99aa890 | [
"MIT"
] | null | null | null | dlpipe/schemas/__init__.py | j-o-d-o/accident_predictor | d193eacfa9451015c184914e7e244becd99aa890 | [
"MIT"
] | null | null | null | dlpipe/schemas/__init__.py | j-o-d-o/accident_predictor | d193eacfa9451015c184914e7e244becd99aa890 | [
"MIT"
] | null | null | null | from .experiment import ExperimentSchema | 40 | 40 | 0.9 | 4 | 40 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0e97582fe76bd0330b7fe607ab4d33066b5cace | 557 | py | Python | app/dao/communication_item_dao.py | department-of-veterans-affairs/notification-api | 698bc98d8e78a13a0b2cfc432cfc718ff1016b06 | [
"MIT"
] | 10 | 2020-05-04T14:11:06.000Z | 2022-02-22T19:06:36.000Z | app/dao/communication_item_dao.py | department-of-veterans-affairs/notification-api | 698bc98d8e78a13a0b2cfc432cfc718ff1016b06 | [
"MIT"
] | 554 | 2020-05-07T21:56:24.000Z | 2022-03-31T23:04:51.000Z | app/dao/communication_item_dao.py | department-of-veterans-affairs/notification-api | 698bc98d8e78a13a0b2cfc432cfc718ff1016b06 | [
"MIT"
] | 4 | 2020-08-27T16:43:29.000Z | 2021-02-17T22:17:27.000Z | import uuid
from typing import List
from app import db
from app.models import CommunicationItem
def dao_create_communication_item(communication_item: CommunicationItem):
communication_item.id = communication_item.id if communication_item.id else uuid.uuid4()
db.session.add(communication_item)
def get_commu... | 29.315789 | 92 | 0.820467 | 69 | 557 | 6.376812 | 0.405797 | 0.347727 | 0.215909 | 0.154545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002012 | 0.10772 | 557 | 18 | 93 | 30.944444 | 0.8833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.363636 | 0.181818 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d0ea38da4c5e0a5103cd34e981741ea86c29349b | 5,046 | py | Python | tests/functional/dpg_events/test_dpg_reconfiguration_invalid_vlan.py | atsgen/tf-vcenter-fabric-manager | bb2cf0a0f80464457e1b884847df77a11259077c | [
"Apache-2.0"
] | 1 | 2022-03-13T06:31:49.000Z | 2022-03-13T06:31:49.000Z | tests/functional/dpg_events/test_dpg_reconfiguration_invalid_vlan.py | atsgen/tf-vcenter-fabric-manager | bb2cf0a0f80464457e1b884847df77a11259077c | [
"Apache-2.0"
] | null | null | null | tests/functional/dpg_events/test_dpg_reconfiguration_invalid_vlan.py | atsgen/tf-vcenter-fabric-manager | bb2cf0a0f80464457e1b884847df77a11259077c | [
"Apache-2.0"
] | 1 | 2020-08-25T12:44:56.000Z | 2020-08-25T12:44:56.000Z | import pytest
from tests import utils
from pyVmomi import vim
from vnc_api import vnc_api
from cvfm import models
@pytest.fixture
def vmware_dpg_invalid_vlan():
net_data = {
"key": "dvportgroup-1",
"name": "dpg-1",
"type": vim.DistributedVirtualPortgroup,
"dvs-name": "dvs-1",
... | 29.857988 | 79 | 0.713635 | 791 | 5,046 | 4.152971 | 0.088496 | 0.031659 | 0.028919 | 0.043836 | 0.931507 | 0.887062 | 0.871233 | 0.832268 | 0.832268 | 0.775038 | 0 | 0.029698 | 0.18589 | 5,046 | 168 | 80 | 30.035714 | 0.769961 | 0.094134 | 0 | 0.666667 | 0 | 0 | 0.096909 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.065041 | false | 0 | 0.04065 | 0.03252 | 0.154472 | 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 |
ef115c146db00aec6789cd0d8216526233c10775 | 194 | py | Python | plugins/statsd/komand_statsd/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/statsd/komand_statsd/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/statsd/komand_statsd/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .decr.action import Decr
from .gauge.action import Gauge
from .incr.action import Incr
from .set.action import Set
from .timing.action import Timing
| 27.714286 | 39 | 0.78866 | 32 | 194 | 4.78125 | 0.46875 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149485 | 194 | 6 | 40 | 32.333333 | 0.927273 | 0.190722 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
ef27ba961c179cd4ddbd3348264149540ded2ebb | 37 | py | Python | clr/__init__.py | manhhv87/densenet_bottleneck | fd08eb88514dacaff1bcec8bc52a77ea56ab72c7 | [
"MIT"
] | null | null | null | clr/__init__.py | manhhv87/densenet_bottleneck | fd08eb88514dacaff1bcec8bc52a77ea56ab72c7 | [
"MIT"
] | null | null | null | clr/__init__.py | manhhv87/densenet_bottleneck | fd08eb88514dacaff1bcec8bc52a77ea56ab72c7 | [
"MIT"
] | null | null | null | from clr.clr_callback import CyclicLR | 37 | 37 | 0.891892 | 6 | 37 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef316f810781d0c4d669448f5b91c7ab5f29c802 | 22,532 | py | Python | src/ml_ner.py | ncbi-nlp/PhenoTagger | e2857068def2580a4c3048682787ce7ae9a8d126 | [
"MIT"
] | 32 | 2020-09-29T21:17:19.000Z | 2022-03-22T14:06:41.000Z | src/ml_ner.py | ncbi-nlp/PhenoTagger | e2857068def2580a4c3048682787ce7ae9a8d126 | [
"MIT"
] | 9 | 2021-03-09T06:04:43.000Z | 2022-01-10T13:20:08.000Z | src/ml_ner.py | ncbi-nlp/PhenoTagger | e2857068def2580a4c3048682787ce7ae9a8d126 | [
"MIT"
] | 4 | 2021-02-01T19:44:55.000Z | 2022-03-03T04:20:22.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Jun 12 16:41:54 2020
@author: luol2
"""
import io
import time
import numpy as np
def ml_intext(infile):
fin=open(infile,'r',encoding='utf-8')
alltexts=fin.read().strip().split('\n\n')
fin.close()
data_list=[]
label_list=[]
for sents in... | 40.021314 | 167 | 0.495296 | 2,805 | 22,532 | 3.702674 | 0.073084 | 0.066436 | 0.046216 | 0.020123 | 0.779992 | 0.76035 | 0.745908 | 0.734835 | 0.71529 | 0.71529 | 0 | 0.01657 | 0.38128 | 22,532 | 562 | 168 | 40.092527 | 0.728427 | 0.047133 | 0 | 0.745652 | 0 | 0 | 0.022706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036957 | false | 0.013043 | 0.006522 | 0 | 0.078261 | 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 |
325b9593f69d56bfb9ede516a4b9fcf52a45c9a5 | 38 | py | Python | pyTrivialFTP/__init__.py | roberto-reale/pyTrivialFTP | b54500570456eafcf8315608831cd65a47757a6b | [
"MIT"
] | null | null | null | pyTrivialFTP/__init__.py | roberto-reale/pyTrivialFTP | b54500570456eafcf8315608831cd65a47757a6b | [
"MIT"
] | null | null | null | pyTrivialFTP/__init__.py | roberto-reale/pyTrivialFTP | b54500570456eafcf8315608831cd65a47757a6b | [
"MIT"
] | null | null | null | from pyTrivialFTP import pyTrivialFTP
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
326d9ff3c66f54430b1b8250821c3efda501e15b | 48 | py | Python | backend/products/views/__init__.py | MaCkRage/optimize_sql | 346011fbda5ddf96a3c34357820452e165b7767c | [
"MIT"
] | null | null | null | backend/products/views/__init__.py | MaCkRage/optimize_sql | 346011fbda5ddf96a3c34357820452e165b7767c | [
"MIT"
] | null | null | null | backend/products/views/__init__.py | MaCkRage/optimize_sql | 346011fbda5ddf96a3c34357820452e165b7767c | [
"MIT"
] | null | null | null | from .update_products import update_values_view
| 24 | 47 | 0.895833 | 7 | 48 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ef8272f07e321bd69f8000babbd6d2c895bb7b7 | 104 | py | Python | problems/flip-bit/flip.py | vidyadeepa/the-coding-interview | 90171b77b6884176a6c28bdccb5d45bd6929b489 | [
"MIT"
] | 1,571 | 2015-12-09T14:08:47.000Z | 2022-03-30T21:34:36.000Z | problems/flip-bit/flip.py | vidyadeepa/the-coding-interview | 90171b77b6884176a6c28bdccb5d45bd6929b489 | [
"MIT"
] | 117 | 2015-10-22T05:59:19.000Z | 2021-09-17T00:14:38.000Z | problems/flip-bit/flip.py | vidyadeepa/the-coding-interview | 90171b77b6884176a6c28bdccb5d45bd6929b489 | [
"MIT"
] | 452 | 2015-10-21T23:00:58.000Z | 2022-03-18T21:16:50.000Z | def flip(integer, bit):
return integer ^ (1 << (bit - 1))
print flip(8, 3) # 12
print flip(8, 4) # 0
| 17.333333 | 35 | 0.576923 | 19 | 104 | 3.157895 | 0.631579 | 0.3 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 0.230769 | 104 | 5 | 36 | 20.8 | 0.6375 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
411e01b5280c22d9c7acd4751f3c8ecfc365251e | 95 | py | Python | Tree/redBlackTree.py | amal029/DataStructuresAndAlgorithmsInPython | ccf36ae9e6d1ab8c2be09315f4ad6ac715e222fd | [
"MIT"
] | null | null | null | Tree/redBlackTree.py | amal029/DataStructuresAndAlgorithmsInPython | ccf36ae9e6d1ab8c2be09315f4ad6ac715e222fd | [
"MIT"
] | null | null | null | Tree/redBlackTree.py | amal029/DataStructuresAndAlgorithmsInPython | ccf36ae9e6d1ab8c2be09315f4ad6ac715e222fd | [
"MIT"
] | null | null | null | from binarySearchTree import BinarySearchTree
class RedBlackTree(BinarySearchTree):
pass
| 15.833333 | 45 | 0.831579 | 8 | 95 | 9.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 46 | 19 | 0.963415 | 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 |
f5d3cbeeb942890d09e4abb17916cc6ed314a31c | 5,071 | py | Python | shadertest/type_map.py | Kupoman/shadertest | 79b959e0ff00ac8c30918e83e0751f25bcc447ae | [
"MIT"
] | 7 | 2018-11-10T20:49:56.000Z | 2021-08-31T04:34:56.000Z | shadertest/type_map.py | Kupoman/shadertest | 79b959e0ff00ac8c30918e83e0751f25bcc447ae | [
"MIT"
] | null | null | null | shadertest/type_map.py | Kupoman/shadertest | 79b959e0ff00ac8c30918e83e0751f25bcc447ae | [
"MIT"
] | 2 | 2018-12-10T03:01:05.000Z | 2018-12-10T12:51:11.000Z | import ctypes
import OpenGL.GL as gl
TYPE_MAP = {
'float': {
'uniform': gl.glUniform1f,
'ctype': ctypes.c_float,
'buffer_type': gl.GL_R32F,
'shader_layout': 'r32f',
'shader_buffer': 'imageBuffer',
'shader_store':
lambda name, args: f'imageStore(result, ... | 33.361842 | 89 | 0.532834 | 537 | 5,071 | 4.851024 | 0.100559 | 0.098273 | 0.073704 | 0.085988 | 0.870633 | 0.864875 | 0.864875 | 0.864875 | 0.864875 | 0.864875 | 0 | 0.043154 | 0.287123 | 5,071 | 151 | 90 | 33.582781 | 0.677455 | 0 | 0 | 0.675676 | 0 | 0 | 0.418261 | 0.041806 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013514 | 0 | 0.013514 | 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 |
eb2be2725bbd3d95769e35cf26a3a8ef6416095a | 1,029 | py | Python | Script's/00 - Otros/Metodos de Cadenas.py | CamiloBallen24/Python-PildorasInformaticas | a734ac064e34b01a2f64080d5391625a5de77f54 | [
"Apache-2.0"
] | null | null | null | Script's/00 - Otros/Metodos de Cadenas.py | CamiloBallen24/Python-PildorasInformaticas | a734ac064e34b01a2f64080d5391625a5de77f54 | [
"Apache-2.0"
] | null | null | null | Script's/00 - Otros/Metodos de Cadenas.py | CamiloBallen24/Python-PildorasInformaticas | a734ac064e34b01a2f64080d5391625a5de77f54 | [
"Apache-2.0"
] | 1 | 2019-06-04T19:51:05.000Z | 2019-06-04T19:51:05.000Z | #TEMA: METODOS DE CADENA
################################################################
print("Ejemplo #1")
miCadena = "Hola"
print(miCadena.upper()) #Pasa a mayusculas tooo
print()
print()
print()
################################################################
####################################################... | 24.5 | 77 | 0.345967 | 71 | 1,029 | 5.014085 | 0.521127 | 0.308989 | 0.294944 | 0.168539 | 0.27809 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0.007368 | 0.076774 | 1,029 | 41 | 78 | 25.097561 | 0.367368 | 0.134111 | 0 | 0.583333 | 0 | 0 | 0.176944 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
de1d21282f94d3b187b228f65673209a25d24930 | 35 | py | Python | bsp/stm32f103c8/pikascript/main.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | 228 | 2021-09-11T06:09:43.000Z | 2022-03-30T08:09:01.000Z | bsp/stm32f103c8/pikascript/main.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | 48 | 2021-09-25T01:23:43.000Z | 2022-03-31T07:34:43.000Z | bsp/stm32f103c8/pikascript/main.py | ccccmagicboy2022/pikascript | 154ccd8e90e0d50e1551536d32bd2a3648e194d2 | [
"MIT"
] | 31 | 2021-09-17T12:06:45.000Z | 2022-03-19T16:10:11.000Z | import STM32F1
import PikaStdLib
| 7 | 17 | 0.828571 | 4 | 35 | 7.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.171429 | 35 | 4 | 18 | 8.75 | 0.896552 | 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 |
de306001c6697fe19f17f283c47c5fababa4f6f0 | 32,904 | py | Python | metadatas/taskaug.py | erprashu/Metal_erning | 79d1a6a457be37258df50a9194946caeb86845a2 | [
"MIT"
] | null | null | null | metadatas/taskaug.py | erprashu/Metal_erning | 79d1a6a457be37258df50a9194946caeb86845a2 | [
"MIT"
] | null | null | null | metadatas/taskaug.py | erprashu/Metal_erning | 79d1a6a457be37258df50a9194946caeb86845a2 | [
"MIT"
] | null | null | null | from __future__ import print_function
import numpy as np
import random
import math
import multiprocessing
import pdb
from PIL import Image
import torch
import torch.utils.data as data
import torchvision.transforms.functional as TranF
from .utils import ProtoData
class DualCategories(data.Dataset):
... | 42.788036 | 140 | 0.572301 | 4,306 | 32,904 | 4.211333 | 0.053646 | 0.071578 | 0.040146 | 0.051616 | 0.892908 | 0.879674 | 0.868203 | 0.85916 | 0.843443 | 0.841017 | 0 | 0.023617 | 0.328258 | 32,904 | 768 | 141 | 42.84375 | 0.796815 | 0.297806 | 0 | 0.65285 | 0 | 0 | 0.017469 | 0 | 0 | 0 | 0 | 0 | 0.002591 | 1 | 0.11399 | false | 0 | 0.028497 | 0.020725 | 0.264249 | 0.002591 | 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 |
de36ec245d78334480c438d1a63f442ed0d8517a | 153 | py | Python | hijack/signals.py | HarryRybacki/django-hijack | 6368284f3763da282aae3a3807fcce7b2372d7bb | [
"MIT"
] | null | null | null | hijack/signals.py | HarryRybacki/django-hijack | 6368284f3763da282aae3a3807fcce7b2372d7bb | [
"MIT"
] | null | null | null | hijack/signals.py | HarryRybacki/django-hijack | 6368284f3763da282aae3a3807fcce7b2372d7bb | [
"MIT"
] | 1 | 2019-09-29T04:50:23.000Z | 2019-09-29T04:50:23.000Z | from django.dispatch import Signal
post_superuser_login = Signal(providing_args=['user_id'])
post_superuser_logout = Signal(providing_args=['user_id']) | 30.6 | 58 | 0.816993 | 21 | 153 | 5.571429 | 0.619048 | 0.222222 | 0.324786 | 0.393162 | 0.42735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 153 | 5 | 58 | 30.6 | 0.823944 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 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 |
de3a47ea18963dbf563c062f58f2d481cb785d7b | 70 | py | Python | coopy/symbolic/types/__init__.py | abarreal/coopy | af2c42ab20e534d7790d7f591d39ea9e6c727c35 | [
"MIT"
] | null | null | null | coopy/symbolic/types/__init__.py | abarreal/coopy | af2c42ab20e534d7790d7f591d39ea9e6c727c35 | [
"MIT"
] | null | null | null | coopy/symbolic/types/__init__.py | abarreal/coopy | af2c42ab20e534d7790d7f591d39ea9e6c727c35 | [
"MIT"
] | null | null | null | from .primitives import *
from .function import *
from .sorts import * | 23.333333 | 25 | 0.757143 | 9 | 70 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 26 | 23.333333 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de64b2b0e32dfa6945c6bf19ea3789d41df74666 | 26 | py | Python | ioc_toolkit/__init__.py | fhightower/ioc-toolkit | 2ddce3e2794d982906bb57fd0dd62d0cf09b9319 | [
"MIT"
] | null | null | null | ioc_toolkit/__init__.py | fhightower/ioc-toolkit | 2ddce3e2794d982906bb57fd0dd62d0cf09b9319 | [
"MIT"
] | 14 | 2018-01-13T13:14:52.000Z | 2018-07-31T15:24:50.000Z | ioc_toolkit/__init__.py | fhightower/ioc-toolkit | 2ddce3e2794d982906bb57fd0dd62d0cf09b9319 | [
"MIT"
] | null | null | null | from . import ioc_toolkit
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de7a02bf2bfc24ed89938de16127ff7d4be6bece | 5,054 | py | Python | pex/exe/dll.py | EntySec/pex | 370f1b96d2e54609fe335c6f20179e56a1266a58 | [
"MIT"
] | null | null | null | pex/exe/dll.py | EntySec/pex | 370f1b96d2e54609fe335c6f20179e56a1266a58 | [
"MIT"
] | null | null | null | pex/exe/dll.py | EntySec/pex | 370f1b96d2e54609fe335c6f20179e56a1266a58 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#
# MIT License
#
# Copyright (c) 2020-2022 EntySec
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to... | 52.103093 | 111 | 0.621488 | 880 | 5,054 | 3.545455 | 0.242045 | 0.540385 | 0.631731 | 0.676923 | 0.440064 | 0.405449 | 0.375641 | 0.321474 | 0.272756 | 0.25609 | 0 | 0.255416 | 0.214484 | 5,054 | 96 | 112 | 52.645833 | 0.530479 | 0.214879 | 0 | 0.105263 | 0 | 0.368421 | 0.549189 | 0.496957 | 0 | 0 | 0.00355 | 0 | 0 | 1 | 0.017544 | false | 0 | 0.017544 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de8dd6a223d5dc885ff7925e98265c90246bc91b | 186 | py | Python | preacher/compilation/extraction/__init__.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 3 | 2019-08-01T03:14:49.000Z | 2020-01-31T08:55:22.000Z | preacher/compilation/extraction/__init__.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 353 | 2019-04-14T14:53:28.000Z | 2022-03-11T03:26:08.000Z | preacher/compilation/extraction/__init__.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 1 | 2020-08-01T06:23:08.000Z | 2020-08-01T06:23:08.000Z | """Extraction compilation."""
from .extraction import ExtractionCompiler
from .factory import create_extraction_compiler
__all__ = ["ExtractionCompiler", "create_extraction_compiler"]
| 26.571429 | 62 | 0.822581 | 17 | 186 | 8.529412 | 0.529412 | 0.22069 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 186 | 6 | 63 | 31 | 0.852941 | 0.123656 | 0 | 0 | 0 | 0 | 0.280255 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dec2156cbffc7609e2abf1ba7286e33bae289b11 | 9,700 | py | Python | models/attention.py | Schwartz-Zha/My-invertible-resnet | 5415975bb0d640f3bf3ef4a7b986563e84109270 | [
"MIT"
] | null | null | null | models/attention.py | Schwartz-Zha/My-invertible-resnet | 5415975bb0d640f3bf3ef4a7b986563e84109270 | [
"MIT"
] | null | null | null | models/attention.py | Schwartz-Zha/My-invertible-resnet | 5415975bb0d640f3bf3ef4a7b986563e84109270 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from torch.nn import Parameter, Softmax
class PAM_Module(nn.Module):
""" Position attention module"""
# paper: Dual Attention Network for Scene Segmentation
def __init__(self, in_dim):
super(PAM_Module, self).__init__()
self.chanel_in = in_dim
se... | 42.54386 | 109 | 0.613814 | 1,563 | 9,700 | 3.568138 | 0.080614 | 0.022055 | 0.044827 | 0.080689 | 0.820154 | 0.799534 | 0.788596 | 0.774431 | 0.732114 | 0.720638 | 0 | 0.026791 | 0.245773 | 9,700 | 227 | 110 | 42.731278 | 0.735511 | 0.099381 | 0 | 0.648485 | 0 | 0 | 0.000938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.006061 | 0.018182 | 0 | 0.193939 | 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 |
a0d14d8390b6613f8687bcfc4ef009916a8b324e | 12,803 | py | Python | stellarobservatory/centralities.py | andrenarchy/stellar-observatory | 0e1f6af4cdacae19248353f902686d8192130436 | [
"MIT"
] | 14 | 2019-05-29T09:45:00.000Z | 2021-04-22T20:11:15.000Z | stellarobservatory/centralities.py | andrenarchy/stellar-observatory | 0e1f6af4cdacae19248353f902686d8192130436 | [
"MIT"
] | 10 | 2019-05-29T09:47:01.000Z | 2020-09-15T20:34:55.000Z | stellarobservatory/centralities.py | andrenarchy/stellar-observatory | 0e1f6af4cdacae19248353f902686d8192130436 | [
"MIT"
] | 5 | 2019-05-29T07:33:02.000Z | 2021-11-24T18:46:03.000Z | """Centralities"""
# pylint: disable=invalid-name
from itertools import combinations
from typing import Callable, Dict, FrozenSet, List, Set
import numpy
from scipy.linalg import eig, expm
from .intactness import get_intact_nodes
from .quorums import enumerate_quorums
from .quorum_slice_definition import Definitions,... | 51.007968 | 100 | 0.718425 | 1,514 | 12,803 | 5.773448 | 0.083223 | 0.073218 | 0.048049 | 0.039126 | 0.812607 | 0.785608 | 0.752202 | 0.738245 | 0.72097 | 0.707471 | 0 | 0.000867 | 0.189331 | 12,803 | 250 | 101 | 51.212 | 0.841314 | 0.073186 | 0 | 0.648241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095477 | false | 0 | 0.055276 | 0 | 0.256281 | 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 |
a0d8c282a9d6eb004317b59b183a4868b63134c6 | 209 | py | Python | backend/settings/__init__.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | 1 | 2019-12-17T22:31:00.000Z | 2019-12-17T22:31:00.000Z | backend/settings/__init__.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | 10 | 2019-05-28T19:57:28.000Z | 2021-06-01T23:46:00.000Z | backend/settings/__init__.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
# from app_settings import *
from .app_languages import *
from .app_files import *
from .app_choices import *
# from .app_nomenclature_tags import *
from .app_auth_modif import *
| 23.222222 | 40 | 0.727273 | 29 | 209 | 4.965517 | 0.482759 | 0.291667 | 0.451389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.167464 | 209 | 8 | 41 | 26.125 | 0.821839 | 0.421053 | 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 |
9d10265704ca457e68984aef4770f67a4db7908e | 5,359 | py | Python | testing/test_lock.py | xpenalosa/Degree-Final-Project | 5d6c1a6aa034c41bf88ae0c8b16d7c0ddb0c3eec | [
"Unlicense"
] | null | null | null | testing/test_lock.py | xpenalosa/Degree-Final-Project | 5d6c1a6aa034c41bf88ae0c8b16d7c0ddb0c3eec | [
"Unlicense"
] | null | null | null | testing/test_lock.py | xpenalosa/Degree-Final-Project | 5d6c1a6aa034c41bf88ae0c8b16d7c0ddb0c3eec | [
"Unlicense"
] | null | null | null | from kazoo.recipe.lock import Lock, ReadLock, WriteLock
from kazoo.exceptions import LockTimeout, NoNodeError
from basetest import BaseTest
class LockTest(BaseTest):
def __init__(self, client_1, client_2):
self.client_1 = client_1
self.client_2 = client_2
self.testpath = "/test/lock"
@BaseTest.make_test
... | 29.607735 | 66 | 0.714686 | 835 | 5,359 | 4.337725 | 0.094611 | 0.115958 | 0.097184 | 0.075097 | 0.830756 | 0.81778 | 0.803424 | 0.795969 | 0.771121 | 0.771121 | 0 | 0.031031 | 0.176152 | 5,359 | 180 | 67 | 29.772222 | 0.789354 | 0.01045 | 0 | 0.694805 | 0 | 0 | 0.135523 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 1 | 0.064935 | false | 0.032468 | 0.019481 | 0 | 0.090909 | 0.006494 | 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 |
19b7d4a6098b98fd1608988acb4f69bbd83bc753 | 2,628 | py | Python | Deep_Learning_from_Scratch/ch04/LossFunctions.py | H-BlackGom/Study-HR | 1dc5ab6ac3b382765b342b7bb35c2c5c69ba23e5 | [
"Apache-2.0"
] | null | null | null | Deep_Learning_from_Scratch/ch04/LossFunctions.py | H-BlackGom/Study-HR | 1dc5ab6ac3b382765b342b7bb35c2c5c69ba23e5 | [
"Apache-2.0"
] | null | null | null | Deep_Learning_from_Scratch/ch04/LossFunctions.py | H-BlackGom/Study-HR | 1dc5ab6ac3b382765b342b7bb35c2c5c69ba23e5 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import torch
import torch.nn
def sum_of_squares_error(y, t):
return 0.5 * torch.sum((y-t)**2)
t = torch.tensor([0, 0, 1, 0, 0, 0, 0, 0, 0, 0])
y = torch.tensor([0.1, 0.05, 0.6, 0.0, 0.05, 0.1, 0.0, 0.1, 0.0, 0.0])
print(sum_of_squares_error(y, t), "'2'일 확률이 가장 높은 경우")
y = torch.tensor([0.1, ... | 27.663158 | 84 | 0.524353 | 565 | 2,628 | 2.343363 | 0.081416 | 0.148036 | 0.140483 | 0.096677 | 0.907855 | 0.88142 | 0.800604 | 0.734139 | 0.654079 | 0.629909 | 0 | 0.131467 | 0.19825 | 2,628 | 94 | 85 | 27.957447 | 0.496915 | 0 | 0 | 0.590164 | 0 | 0 | 0.071157 | 0.058219 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098361 | false | 0 | 0.04918 | 0.016393 | 0.245902 | 0.180328 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c22595614e5fe6acd1a0ed3c6bb42abe9924ccf2 | 167 | py | Python | mellow/services.py | stett/django-mellow-auth | f83c0c7e6509d16c8344039d075b1f8ba0c7b761 | [
"MIT"
] | null | null | null | mellow/services.py | stett/django-mellow-auth | f83c0c7e6509d16c8344039d075b1f8ba0c7b761 | [
"MIT"
] | null | null | null | mellow/services.py | stett/django-mellow-auth | f83c0c7e6509d16c8344039d075b1f8ba0c7b761 | [
"MIT"
] | null | null | null | import random
import string
def make_activation_key():
return ''.join(random.choice(string.ascii_letters + string.digits)
for i in range(40))
| 20.875 | 70 | 0.670659 | 22 | 167 | 4.954545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.233533 | 167 | 7 | 71 | 23.857143 | 0.835938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dfc7ed7e6548d96fcd217a81431ffc87c51a3b54 | 5,605 | py | Python | src/sentry/testutils/fixtures.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | src/sentry/testutils/fixtures.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | src/sentry/testutils/fixtures.py | Casecommons/sentry | b69a2373a658c5c775671fe9985c3fa4f2eafcfd | [
"BSD-3-Clause"
] | null | null | null | """
sentry.testutils.fixtures
~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from exam import fixture
from sentry.models import Activity, Event, Group, Project, Team, User
from sentry.utils.compat import pickle
from... | 62.977528 | 3,342 | 0.812489 | 374 | 5,605 | 12.128342 | 0.508021 | 0.015432 | 0.012346 | 0.013228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102823 | 0.115076 | 5,605 | 88 | 3,343 | 63.693182 | 0.811694 | 0.039964 | 0 | 0.171875 | 0 | 0.015625 | 0.634469 | 0.613438 | 0 | 1 | 0 | 0 | 0 | 1 | 0.15625 | false | 0.015625 | 0.0625 | 0.125 | 0.390625 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
dfeed4648eafc4bf3070fdd102f7abd159803cec | 46 | py | Python | exercise/ch03/identity.py | HFTshoon/deep-learning-from-scratch | c7c85abb33fbb710f055daec6d2c31322401fa02 | [
"MIT"
] | null | null | null | exercise/ch03/identity.py | HFTshoon/deep-learning-from-scratch | c7c85abb33fbb710f055daec6d2c31322401fa02 | [
"MIT"
] | null | null | null | exercise/ch03/identity.py | HFTshoon/deep-learning-from-scratch | c7c85abb33fbb710f055daec6d2c31322401fa02 | [
"MIT"
] | null | null | null | import numpy as np
def identity(x):
return x | 11.5 | 18 | 0.73913 | 9 | 46 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 4 | 19 | 11.5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
5f2fda1dcf88056baa24480cc78fea20e4a5ac90 | 36 | py | Python | class1/test1.py | sbyount/pyaut3 | 2fcf19851487db49d76d5b6996ee0f9194d90816 | [
"Apache-2.0"
] | 1 | 2019-04-17T02:49:58.000Z | 2019-04-17T02:49:58.000Z | class1/test1.py | sbyount/pyaut3 | 2fcf19851487db49d76d5b6996ee0f9194d90816 | [
"Apache-2.0"
] | null | null | null | class1/test1.py | sbyount/pyaut3 | 2fcf19851487db49d76d5b6996ee0f9194d90816 | [
"Apache-2.0"
] | null | null | null | print ("test")
print ("test again")
| 12 | 20 | 0.638889 | 5 | 36 | 4.6 | 0.6 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 2 | 21 | 18 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 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 |
a04a88017340754ea7be4c0d1c8a0d55aded3b9f | 6,688 | py | Python | bin/bin_SMHMr/compute_logN_logS.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 4 | 2017-11-07T02:15:46.000Z | 2022-03-03T01:35:53.000Z | bin/bin_SMHMr/compute_logN_logS.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | null | null | null | bin/bin_SMHMr/compute_logN_logS.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 2 | 2020-08-12T14:26:38.000Z | 2021-09-14T06:08:58.000Z |
from os.path import join
import os
import glob
import time
import cPickle
import fileinput
import astropy.io.fits as fits
import numpy as n
import healpy
#ras = n.array([healpy.pix2ang(NSIDE,pix_id)[1]*180./n.pi for pix_id in pix_ids ])
#decs = n.array([ (healpy.pix2ang(NSIDE,pix_id)[0]-n.pi/2.)*180./n.pi for pix_... | 44 | 139 | 0.709031 | 1,285 | 6,688 | 3.454475 | 0.140856 | 0.025681 | 0.02478 | 0.038297 | 0.882181 | 0.874071 | 0.859203 | 0.82879 | 0.789367 | 0.755576 | 0 | 0.079536 | 0.097638 | 6,688 | 151 | 140 | 44.291391 | 0.656007 | 0.057566 | 0 | 0.336634 | 0 | 0 | 0.195033 | 0.085655 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.108911 | 0 | 0.108911 | 0.019802 | 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 |
a04cd59194d102a5ac006758175a011f50d43897 | 6,270 | py | Python | tests/test_time_zones.py | danielwardega141196/unittests-with-pytest | 8dbedbe87fbfc5786856872dff6873395e6f4726 | [
"MIT"
] | null | null | null | tests/test_time_zones.py | danielwardega141196/unittests-with-pytest | 8dbedbe87fbfc5786856872dff6873395e6f4726 | [
"MIT"
] | null | null | null | tests/test_time_zones.py | danielwardega141196/unittests-with-pytest | 8dbedbe87fbfc5786856872dff6873395e6f4726 | [
"MIT"
] | null | null | null | from unittest.mock import MagicMock, patch, call
from pytest import raises
from application import time_zones as TIME_ZONE
def test_init_TimeZonesClass():
first_time_zone = 'UTC'
first_instance = TIME_ZONE.TimeZonesClass()
assert first_instance._time_zone == first_time_zone
second_time_zone = 'Eur... | 34.076087 | 108 | 0.779266 | 885 | 6,270 | 5.055367 | 0.087006 | 0.182387 | 0.068842 | 0.093876 | 0.872374 | 0.843317 | 0.818954 | 0.774922 | 0.725972 | 0.692445 | 0 | 0.009621 | 0.137959 | 6,270 | 183 | 109 | 34.262295 | 0.818131 | 0 | 0 | 0.65 | 0 | 0 | 0.066188 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 1 | 0.05 | false | 0 | 0.025 | 0 | 0.075 | 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 |
a0b0916be861bf53b026c5f062f14134a971c4ac | 3,825 | py | Python | venv/Lib/site-packages/docutils/parsers/rst/include/isoamso.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/docutils/parsers/rst/include/isoamso.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/docutils/parsers/rst/include/isoamso.txt.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | XX XXXX XXXX XXXX XXX XXXX XXXXXX XX XXX XXXXXX XXXXXXX
XX XXXXXXX XXXX XXX XXXXXXX XXXXXXXXX XXXXXXXX XXXXXXXXX XXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX XX XXXXXXXXXXXXXXXXXXX XXXX XX XXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XX XXXXX XXXXXXXXX XXXXXXX XX XXXXX
XX XXXXXX XXXXXXXXX X... | 60.714286 | 103 | 0.814902 | 576 | 3,825 | 5.411458 | 0.026042 | 0.184793 | 0.317613 | 0.162336 | 0.851781 | 0.775104 | 0.607956 | 0.478024 | 0.408726 | 0.368624 | 0 | 0 | 0.185098 | 3,825 | 62 | 104 | 61.693548 | 1 | 0 | 0 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39f7d242de78174b9570817e95f83d72facdbed5 | 100 | py | Python | linepipe/test/test_version.py | painengine/linepipe | 9c2447f6a430fe7e83aaa41af3fea68b343d2555 | [
"BSD-3-Clause"
] | null | null | null | linepipe/test/test_version.py | painengine/linepipe | 9c2447f6a430fe7e83aaa41af3fea68b343d2555 | [
"BSD-3-Clause"
] | null | null | null | linepipe/test/test_version.py | painengine/linepipe | 9c2447f6a430fe7e83aaa41af3fea68b343d2555 | [
"BSD-3-Clause"
] | null | null | null | from .. import __version__
def test_version_is_string():
assert(isinstance(__version__, str))
| 16.666667 | 40 | 0.76 | 12 | 100 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 5 | 41 | 20 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26609fe5e7baa03cd2aa2460262e23c46a8fa986 | 3,044 | py | Python | tests/test_page_urls.py | lfernandez55/Tutor_App_Icarus | b0de87f3c6a66e8e503fc8ed0ecde40d1c4e22cd | [
"BSD-2-Clause"
] | null | null | null | tests/test_page_urls.py | lfernandez55/Tutor_App_Icarus | b0de87f3c6a66e8e503fc8ed0ecde40d1c4e22cd | [
"BSD-2-Clause"
] | null | null | null | tests/test_page_urls.py | lfernandez55/Tutor_App_Icarus | b0de87f3c6a66e8e503fc8ed0ecde40d1c4e22cd | [
"BSD-2-Clause"
] | 1 | 2021-01-13T05:19:54.000Z | 2021-01-13T05:19:54.000Z | # Copyright 2014 SolidBuilds.com. All rights reserved
#
# Authors: Ling Thio <ling.thio@gmail.com>
from __future__ import print_function # Use print() instead of print
from flask import url_for
def test_page_urls(client):
# Visit home page
response = client.get(url_for('main.home_page'), follow_redirects=Tr... | 39.532468 | 144 | 0.71025 | 408 | 3,044 | 5.073529 | 0.193627 | 0.055072 | 0.165217 | 0.197101 | 0.795652 | 0.785024 | 0.785024 | 0.720773 | 0.511594 | 0.415459 | 0 | 0.027778 | 0.172142 | 3,044 | 76 | 145 | 40.052632 | 0.793651 | 0.113338 | 0 | 0.547619 | 0 | 0 | 0.16188 | 0.085416 | 0 | 0 | 0 | 0 | 0.404762 | 1 | 0.02381 | false | 0.071429 | 0.047619 | 0 | 0.071429 | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2684238a0e49a09e0e38b2a3b5f05c693a24dd97 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/tests/test_reloading.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/tests/test_reloading.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/tests/test_reloading.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/6e/3c/8f/891c7700c3d672ef84c606eb960997e03c5102cc3053f722fd19778419 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 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 |
cd3b47af606bb378cf32388e6646c338081abc3b | 46 | py | Python | call_to_hook/__init__.py | dextertechnology/bitbucket_build_webhook | f00b0399fb60c56969ec84dcbec06f77b081c41e | [
"Apache-2.0"
] | null | null | null | call_to_hook/__init__.py | dextertechnology/bitbucket_build_webhook | f00b0399fb60c56969ec84dcbec06f77b081c41e | [
"Apache-2.0"
] | null | null | null | call_to_hook/__init__.py | dextertechnology/bitbucket_build_webhook | f00b0399fb60c56969ec84dcbec06f77b081c41e | [
"Apache-2.0"
] | null | null | null | from .response_handler import ValidateResponse | 46 | 46 | 0.913043 | 5 | 46 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.953488 | 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 |
cd407ac26d60f7b87f183c2fb73a65c50bfe7222 | 153 | py | Python | bauh/api/user.py | DN-debug/bauh | 83aeccae87d7fe26f6c5bf24be005288d5d54d84 | [
"Zlib"
] | null | null | null | bauh/api/user.py | DN-debug/bauh | 83aeccae87d7fe26f6c5bf24be005288d5d54d84 | [
"Zlib"
] | null | null | null | bauh/api/user.py | DN-debug/bauh | 83aeccae87d7fe26f6c5bf24be005288d5d54d84 | [
"Zlib"
] | null | null | null | import os
from typing import Optional
def is_root(user_id: Optional[int] = None):
return user_id == 0 if user_id is not None else os.getuid() == 0
| 21.857143 | 68 | 0.712418 | 28 | 153 | 3.75 | 0.642857 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.196078 | 153 | 6 | 69 | 25.5 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cd5b25aa0b0316cd7c56978778a1a5aab48ab9be | 7,800 | py | Python | cloze/rnn.py | ecalder6/MT-HW2 | 1356aeb374a6e4d0b0ae819684bf314039948c56 | [
"MIT"
] | null | null | null | cloze/rnn.py | ecalder6/MT-HW2 | 1356aeb374a6e4d0b0ae819684bf314039948c56 | [
"MIT"
] | null | null | null | cloze/rnn.py | ecalder6/MT-HW2 | 1356aeb374a6e4d0b0ae819684bf314039948c56 | [
"MIT"
] | null | null | null | from __future__ import print_function
import numpy as np
import argparse
import torch
import torch.utils.data
import torch.nn as nn
import torch.optim as optim
from torch.autograd import Variable
from torchvision import datasets, transforms
import torch.nn.functional as F
import cv2 as cv
import random
def logsumexp(v... | 37.681159 | 128 | 0.619744 | 1,122 | 7,800 | 4.079323 | 0.106952 | 0.096133 | 0.061175 | 0.074284 | 0.821062 | 0.803146 | 0.800961 | 0.797466 | 0.797466 | 0.696526 | 0 | 0.018185 | 0.259744 | 7,800 | 206 | 129 | 37.864078 | 0.774506 | 0.003846 | 0 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0 | 0.074074 | 0.049383 | 0.259259 | 0.037037 | 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 |
cd6122d5be924b9396decbda478b90d9f45c1f32 | 74 | py | Python | dsp_python_imp/Ch18/speech_synthesis.py | xrick/Lcj-DSP-in-Python | f27ee7036dc0df41b96e0b06ed13bb8fd874a714 | [
"MIT"
] | null | null | null | dsp_python_imp/Ch18/speech_synthesis.py | xrick/Lcj-DSP-in-Python | f27ee7036dc0df41b96e0b06ed13bb8fd874a714 | [
"MIT"
] | null | null | null | dsp_python_imp/Ch18/speech_synthesis.py | xrick/Lcj-DSP-in-Python | f27ee7036dc0df41b96e0b06ed13bb8fd874a714 | [
"MIT"
] | null | null | null | import os
os.system("espeak \"Hello World\"")
os.system("espeak \"你好嗎\"") | 18.5 | 35 | 0.662162 | 11 | 74 | 4.454545 | 0.636364 | 0.326531 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 4 | 36 | 18.5 | 0.731343 | 0 | 0 | 0 | 0 | 0 | 0.213333 | 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 |
cd617a73f67a749e9636afae0b22a146d30b2516 | 44 | py | Python | test.py | drohrbaugh9/Minecraft | ddc4737ac7965c5098d0c3d5e6e4e1ec16d8ef61 | [
"MIT"
] | 2 | 2015-02-18T04:43:57.000Z | 2016-01-05T02:51:40.000Z | test.py | drohrbaugh9/Minecraft | ddc4737ac7965c5098d0c3d5e6e4e1ec16d8ef61 | [
"MIT"
] | null | null | null | test.py | drohrbaugh9/Minecraft | ddc4737ac7965c5098d0c3d5e6e4e1ec16d8ef61 | [
"MIT"
] | 2 | 2017-04-22T16:21:11.000Z | 2021-11-09T19:17:04.000Z | import mc
world = mc.World()
mc.run(world)
| 8.8 | 18 | 0.681818 | 8 | 44 | 3.75 | 0.5 | 0.466667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 4 | 19 | 11 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cd69fbaab173ebc30b2af08c15669c02d7aaa7b0 | 45 | py | Python | algorithms/__init__.py | hcchengithub/genetic-algorithms | c1d10bc154288cb7927ca708523f7db62efb7649 | [
"MIT"
] | 74 | 2020-07-21T09:34:30.000Z | 2022-03-26T13:56:51.000Z | algorithms/__init__.py | hcchengithub/genetic-algorithms | c1d10bc154288cb7927ca708523f7db62efb7649 | [
"MIT"
] | null | null | null | algorithms/__init__.py | hcchengithub/genetic-algorithms | c1d10bc154288cb7927ca708523f7db62efb7649 | [
"MIT"
] | 47 | 2020-09-22T03:05:20.000Z | 2022-03-20T10:49:53.000Z | from algorithms.bruteforce import bruteforce
| 22.5 | 44 | 0.888889 | 5 | 45 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 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 |
cd7ef5c335a00afc9884f037e767f6eac0e54caf | 87 | py | Python | src/am_information_model/model/__init__.py | augmentedfabricationlab/additive_manufacturing_information_model | 135ba9e1c15693358f1e19db6c0d590b2009f6d8 | [
"MIT"
] | 1 | 2021-08-12T07:20:05.000Z | 2021-08-12T07:20:05.000Z | src/am_information_model/model/__init__.py | augmentedfabricationlab/am_information_model | 135ba9e1c15693358f1e19db6c0d590b2009f6d8 | [
"MIT"
] | null | null | null | src/am_information_model/model/__init__.py | augmentedfabricationlab/am_information_model | 135ba9e1c15693358f1e19db6c0d590b2009f6d8 | [
"MIT"
] | null | null | null | from .model import *
from .node import *
from .layer import *
from .utilities import *
| 17.4 | 24 | 0.724138 | 12 | 87 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 4 | 25 | 21.75 | 0.887324 | 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 |
26aa73806dd51a326bc582039cf0b628ecc7fc7a | 32 | py | Python | Imaobong Tom/Phase 1/Python Basic 1/Day 2/2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Imaobong Tom/Phase 1/Python Basic 1/Day 2/2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Imaobong Tom/Phase 1/Python Basic 1/Day 2/2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | import sys
print(sys.version)
| 6.4 | 18 | 0.75 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 4 | 19 | 8 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
26cb805a3ed73274af197bc712b230bcaa234f53 | 94 | py | Python | src/frobs_rl/wrappers/__init__.py | jmfajardod/gym_gazebo_sb3 | 72afcd4943c2c145e7e01bfce842f2d09b5b7978 | [
"MIT"
] | 67 | 2022-02-09T03:05:40.000Z | 2022-03-20T17:54:53.000Z | src/frobs_rl/wrappers/__init__.py | Jovergara/frobs_rl | 72afcd4943c2c145e7e01bfce842f2d09b5b7978 | [
"MIT"
] | 6 | 2021-09-27T20:32:36.000Z | 2022-02-11T02:22:22.000Z | src/frobs_rl/wrappers/__init__.py | Jovergara/frobs_rl | 72afcd4943c2c145e7e01bfce842f2d09b5b7978 | [
"MIT"
] | 21 | 2022-03-03T14:47:05.000Z | 2022-03-17T10:06:39.000Z | from frobs_rl.wrappers import NormalizeActionWrapper, NormalizeObservWrapper, TimeLimitWrapper | 94 | 94 | 0.914894 | 8 | 94 | 10.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 94 | 1 | 94 | 94 | 0.955056 | 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 |
26e72398f731c7b30673317fc458984ea5963047 | 177 | py | Python | resnest/torch/models/build.py | mohitktanwr/Improved-Inverse-ResNest-Isprs | 8463d7be0f67c398c91241f47cd7d9e0d235d799 | [
"Apache-2.0"
] | 3,168 | 2020-04-04T01:22:28.000Z | 2022-03-31T12:14:50.000Z | resnest/torch/models/build.py | mohitktanwr/Improved-Inverse-ResNest-Isprs | 8463d7be0f67c398c91241f47cd7d9e0d235d799 | [
"Apache-2.0"
] | 138 | 2020-04-04T02:12:30.000Z | 2022-03-21T03:20:52.000Z | resnest/torch/models/build.py | mohitktanwr/Improved-Inverse-ResNest-Isprs | 8463d7be0f67c398c91241f47cd7d9e0d235d799 | [
"Apache-2.0"
] | 527 | 2020-04-04T05:17:26.000Z | 2022-03-31T06:15:34.000Z | from fvcore.common.registry import Registry
RESNEST_MODELS_REGISTRY = Registry('RESNEST_MODELS')
def get_model(model_name):
return RESNEST_MODELS_REGISTRY.get(model_name)
| 25.285714 | 52 | 0.830508 | 24 | 177 | 5.791667 | 0.5 | 0.280576 | 0.302158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 177 | 6 | 53 | 29.5 | 0.86875 | 0 | 0 | 0 | 0 | 0 | 0.079096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
26eaca18156e7e0a5ea8944896887ae962bf7578 | 335 | py | Python | data/datasets/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | 5 | 2021-05-05T06:08:52.000Z | 2022-03-24T04:57:52.000Z | data/datasets/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | null | null | null | data/datasets/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | 2 | 2021-08-07T05:18:05.000Z | 2022-03-31T03:48:37.000Z | from .LowResHighResDataset import LowResHighResDataset
from .PatchData import PatchData
from .PatchDataSection import PatchDataSection
from .DataSection import DataSection
from .DataCollection import DataCollection
from .RandomShufflingDataSection import RandomShufflingDataSection
from .NearestNeighborData import Neare... | 41.875 | 66 | 0.895522 | 28 | 335 | 10.714286 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083582 | 335 | 7 | 67 | 47.857143 | 0.977199 | 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 |
f837b985374fc4197197d2e8b54d43bb139c591c | 185 | py | Python | kubernetes_manager/apps.py | breimers/Django-Kubernetes-Manager | cb78b51e6aeabcd4037166fa8e7c565180fb7d93 | [
"MIT"
] | 13 | 2020-04-03T08:33:51.000Z | 2022-02-22T07:30:28.000Z | kubernetes_manager/apps.py | breimers/Django-Kubernetes-Manager | cb78b51e6aeabcd4037166fa8e7c565180fb7d93 | [
"MIT"
] | 27 | 2020-04-03T06:51:38.000Z | 2022-01-21T13:12:28.000Z | kubernetes_manager/apps.py | breimers/Django-Kubernetes-Manager | cb78b51e6aeabcd4037166fa8e7c565180fb7d93 | [
"MIT"
] | 6 | 2020-09-14T18:22:37.000Z | 2022-03-04T09:08:25.000Z | from django.apps import AppConfig
class KubernetesManagerConfig(AppConfig):
name = "kubernetes_manager"
verbose_name = "Kubernetes Manager"
def ready(self):
pass
| 18.5 | 41 | 0.718919 | 19 | 185 | 6.894737 | 0.789474 | 0.21374 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210811 | 185 | 9 | 42 | 20.555556 | 0.89726 | 0 | 0 | 0 | 0 | 0 | 0.194595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f85d10c8a7a8e0c2ec652d6f45cd63f8e612368c | 86 | py | Python | settings/channel_archiver/NIH.ENSEMBLE_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | settings/channel_archiver/NIH.ENSEMBLE_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | settings/channel_archiver/NIH.ENSEMBLE_settings.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | values[4].filename = '//mx340hs/data/anfinrud_1906/Archive/NIH.ENSEMBLE.values[4].txt' | 86 | 86 | 0.77907 | 13 | 86 | 5.076923 | 0.846154 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.023256 | 86 | 1 | 86 | 86 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0.724138 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e06d9a4729baa2fc267d59d44e2141dc1778445 | 25 | py | Python | Modules/vms/libclidef/libclidef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | 2 | 2021-10-06T15:46:53.000Z | 2022-01-26T02:58:54.000Z | Modules/vms/libclidef/libclidef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | Modules/vms/libclidef/libclidef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | from _libclidef import *
| 12.5 | 24 | 0.8 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e0e56d82a2587cc7d3e383f360e7d832678d9ca | 131 | py | Python | cli_stryket/system_exception.py | mile95/cli-stryket | 3c4ea10c1937a179a17881b0b235b5daa3d6de91 | [
"MIT"
] | null | null | null | cli_stryket/system_exception.py | mile95/cli-stryket | 3c4ea10c1937a179a17881b0b235b5daa3d6de91 | [
"MIT"
] | null | null | null | cli_stryket/system_exception.py | mile95/cli-stryket | 3c4ea10c1937a179a17881b0b235b5daa3d6de91 | [
"MIT"
] | null | null | null | from __future__ import annotations
class InvalidSystemException(Exception):
pass
class FetchException(Exception):
pass
| 13.1 | 40 | 0.78626 | 12 | 131 | 8.25 | 0.75 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 131 | 9 | 41 | 14.555556 | 0.908257 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
3e8ed7a4395d9e685d3bf512535962c678885a75 | 13,344 | py | Python | tests/test_experiment/test_result_package/test_abstract_result_packages.py | mv1388/AIToolbox | c64ac4810a02d230ce471d86b758e82ea232a7e7 | [
"MIT"
] | 3 | 2019-10-12T12:24:09.000Z | 2020-08-02T02:42:43.000Z | tests/test_experiment/test_result_package/test_abstract_result_packages.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | 3 | 2020-04-10T14:07:07.000Z | 2020-04-22T19:04:38.000Z | tests/test_experiment/test_result_package/test_abstract_result_packages.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | null | null | null | import unittest
from tests.utils import *
from aitoolbox.experiment.result_package.abstract_result_packages import MultipleResultPackageWrapper, PreCalculatedResultPackage
class TestAbstractResultPackage(unittest.TestCase):
def test_basic(self):
result_pkg = DummyResultPackageExtend()
result_pkg.... | 49.058824 | 129 | 0.683453 | 1,704 | 13,344 | 4.96831 | 0.071009 | 0.052918 | 0.040397 | 0.044885 | 0.857075 | 0.845618 | 0.808174 | 0.759272 | 0.743444 | 0.742854 | 0 | 0.081813 | 0.194844 | 13,344 | 271 | 130 | 49.239852 | 0.706162 | 0.001948 | 0 | 0.622549 | 0 | 0 | 0.088916 | 0.019976 | 0 | 0 | 0 | 0 | 0.392157 | 1 | 0.073529 | false | 0 | 0.014706 | 0 | 0.093137 | 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 |
e426986d25b4108553f318bc0b9c08f4b32541f1 | 157 | py | Python | panoptes_aggregation/__init__.py | amyrebecca/aggregation-for-caesar | 5f0d884932312010f9caeb8ebfcfe358f490e41f | [
"Apache-2.0"
] | null | null | null | panoptes_aggregation/__init__.py | amyrebecca/aggregation-for-caesar | 5f0d884932312010f9caeb8ebfcfe358f490e41f | [
"Apache-2.0"
] | null | null | null | panoptes_aggregation/__init__.py | amyrebecca/aggregation-for-caesar | 5f0d884932312010f9caeb8ebfcfe358f490e41f | [
"Apache-2.0"
] | null | null | null | from . import extractors
from . import reducers
from . import running_reducers
from . import scripts
from . import version
__version__ = version.__version__
| 22.428571 | 33 | 0.808917 | 19 | 157 | 6.210526 | 0.368421 | 0.423729 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 157 | 6 | 34 | 26.166667 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e42e3cfc42c4a0820e3f94e404d7300bf4d4f72f | 149 | py | Python | nepali/exceptions.py | surajrisal/nepali | e0b7b4413fd18720290a547baf2425d9eb7469e6 | [
"MIT"
] | null | null | null | nepali/exceptions.py | surajrisal/nepali | e0b7b4413fd18720290a547baf2425d9eb7469e6 | [
"MIT"
] | null | null | null | nepali/exceptions.py | surajrisal/nepali | e0b7b4413fd18720290a547baf2425d9eb7469e6 | [
"MIT"
] | null | null | null | """
Exceptions for nepali
"""
class InvalidDateFormatException(Exception):
pass
class InvalidNepaliDateTimeObjectException(Exception):
pass | 16.555556 | 54 | 0.785235 | 11 | 149 | 10.636364 | 0.727273 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 9 | 55 | 16.555556 | 0.906977 | 0.14094 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e44987f8bf228db5ed011668fe529601e1b30537 | 29,737 | py | Python | src/plot.py | zyh1999/new_MARL | 2abc361a3f2c5844bad57318cd31413af3fdbc8f | [
"Apache-2.0"
] | null | null | null | src/plot.py | zyh1999/new_MARL | 2abc361a3f2c5844bad57318cd31413af3fdbc8f | [
"Apache-2.0"
] | null | null | null | src/plot.py | zyh1999/new_MARL | 2abc361a3f2c5844bad57318cd31413af3fdbc8f | [
"Apache-2.0"
] | null | null | null | import seaborn as sns
import matplotlib.pyplot as plt
from matplotlib.ticker import FuncFormatter
import os
import json
import numpy as np
import pandas as pd
sns.set()
sns.set_style("darkgrid", {"axes.facecolor": "#f0f0f7"})
linestyle = ['-', '--', ':', '-.']
fontsize = 20
EXP_PATH = os.path.join(os.environ['NFS_HOME... | 53.483813 | 234 | 0.620439 | 4,622 | 29,737 | 3.5463 | 0.063609 | 0.06772 | 0.06406 | 0.052163 | 0.8404 | 0.802026 | 0.780001 | 0.757184 | 0.735099 | 0.712769 | 0 | 0.065081 | 0.209436 | 29,737 | 555 | 235 | 53.58018 | 0.632141 | 0.140364 | 0 | 0.399485 | 0 | 0 | 0.320402 | 0.060016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03866 | false | 0 | 0.018041 | 0.002577 | 0.069588 | 0.007732 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.