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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4472fffb0805fade209d63e9ffe90d86f795e55 | 96 | py | Python | venv/lib/python3.8/site-packages/cryptography/fernet.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 1 | 2021-11-07T22:40:27.000Z | 2021-11-07T22:40:27.000Z | venv/lib/python3.8/site-packages/cryptography/fernet.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cryptography/fernet.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/06/b9/b6/a30bd51e0abbdcdf0a8263f028f12df6b045cefa060f838c6fda9e9be6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 0 | 96 | 1 | 96 | 96 | 0.552083 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b44cf2bcff384263ac373538642820ffb9d6ed1b | 128 | py | Python | PhythonExercicios/ex030.py | Luis-Otavio-Araujo/Curso-de-Python | 1283b26ee7057d61043cfbab53841bac5e1d4487 | [
"MIT"
] | 1 | 2021-07-31T18:57:46.000Z | 2021-07-31T18:57:46.000Z | PhythonExercicios/ex030.py | Luis-Otavio-Araujo/Curso-de-Python | 1283b26ee7057d61043cfbab53841bac5e1d4487 | [
"MIT"
] | null | null | null | PhythonExercicios/ex030.py | Luis-Otavio-Araujo/Curso-de-Python | 1283b26ee7057d61043cfbab53841bac5e1d4487 | [
"MIT"
] | null | null | null | num = int(input('Escreva um número: '))
if num % 2 == 0:
print('Esse número é PAR!')
else:
print('Esse número é ÍMPAR!') | 25.6 | 39 | 0.601563 | 21 | 128 | 3.666667 | 0.714286 | 0.233766 | 0.38961 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.21875 | 128 | 5 | 40 | 25.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b469c99ac86a1018ca25b53e8f1c4eaecbdea929 | 154 | py | Python | python_package_template/python_package_template.py | wmarquardt/python-package-template | 6de4b032a6ea2337f98e2f25b1d82fb00c81d9b8 | [
"MIT"
] | 1 | 2022-02-03T18:39:21.000Z | 2022-02-03T18:39:21.000Z | python_package_template/python_package_template.py | wmarquardt/python-package-template | 6de4b032a6ea2337f98e2f25b1d82fb00c81d9b8 | [
"MIT"
] | null | null | null | python_package_template/python_package_template.py | wmarquardt/python-package-template | 6de4b032a6ea2337f98e2f25b1d82fb00c81d9b8 | [
"MIT"
] | null | null | null | class PythonPackageTemplate(object):
def __unicode__(self):
return "just a template"
@staticmethod
def ping():
return "pong"
| 19.25 | 36 | 0.636364 | 15 | 154 | 6.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 154 | 7 | 37 | 22 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.123377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.833333 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
b46b171c73410252f7b50b78c9236de9c926a5d5 | 20 | py | Python | version.py | irivers29/robo-gym-server-modules | bdbdd54b8e404a09eb516a66512646627b25eaef | [
"MIT"
] | null | null | null | version.py | irivers29/robo-gym-server-modules | bdbdd54b8e404a09eb516a66512646627b25eaef | [
"MIT"
] | null | null | null | version.py | irivers29/robo-gym-server-modules | bdbdd54b8e404a09eb516a66512646627b25eaef | [
"MIT"
] | null | null | null | VERSION = '0.2.7.9'
| 10 | 19 | 0.55 | 5 | 20 | 2.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
81ead00264776e455e1a413dae33d34857545d4a | 119 | py | Python | widgets/__init__.py | TusharAMD/astar | df3911b6f7ce765dc9964ce8feaf26d3195fe8fc | [
"Apache-2.0"
] | 14 | 2020-01-13T13:20:43.000Z | 2020-04-16T00:03:59.000Z | widgets/__init__.py | TusharAMD/astar | df3911b6f7ce765dc9964ce8feaf26d3195fe8fc | [
"Apache-2.0"
] | 1 | 2020-08-06T03:17:30.000Z | 2020-08-06T03:17:30.000Z | widgets/__init__.py | mHaisham/sortvis | 91d56acbdd575c129fc88e5ae54aaf5caae55eb0 | [
"Apache-2.0"
] | 1 | 2020-01-13T14:02:44.000Z | 2020-01-13T14:02:44.000Z | from .button import Button
from .manager import WidgetManager
from .text import Text
from .widget import Widget, Hover
| 23.8 | 34 | 0.815126 | 17 | 119 | 5.705882 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 119 | 4 | 35 | 29.75 | 0.95098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
c3041515434b88c11c1b309920c039ebcc9bb08a | 210 | py | Python | dupa1.py | iherduleikgemz/repo | ed7ef01bf2ac317b44667363d1c1c767e40e4a6d | [
"MIT"
] | null | null | null | dupa1.py | iherduleikgemz/repo | ed7ef01bf2ac317b44667363d1c1c767e40e4a6d | [
"MIT"
] | null | null | null | dupa1.py | iherduleikgemz/repo | ed7ef01bf2ac317b44667363d1c1c767e40e4a6d | [
"MIT"
] | null | null | null | try:
liczba1 = int (input())
except:
print("zjebales")
try:
liczba2 = int (input())
except:
print("zjebales")
try:
print (f"Twoja liczba to: {liczba1+liczba2}")
except:
print("zjebales") | 17.5 | 49 | 0.614286 | 25 | 210 | 5.16 | 0.48 | 0.255814 | 0.44186 | 0.294574 | 0.465116 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.214286 | 210 | 12 | 50 | 17.5 | 0.757576 | 0 | 0 | 0.75 | 0 | 0 | 0.274882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c341663b524b06cff9a916bc6913789436170b95 | 92 | py | Python | beginner/1095.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | beginner/1095.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | beginner/1095.py | JoaoMisutaniAlves/URI_problems | 18bdbec5f3c3e315c035fc0d89c41722098e3f79 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
i=1
j=60
while j>-1:
print("I=%i J=%i"%(i,j))
i+=3
j-=5 | 11.5 | 28 | 0.402174 | 21 | 92 | 1.761905 | 0.52381 | 0.108108 | 0.162162 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0.271739 | 92 | 8 | 29 | 11.5 | 0.447761 | 0.228261 | 0 | 0 | 0 | 0 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c34f9b630c4c2b24f2ef8f5a196f277822135385 | 645 | py | Python | terrascript/data/hashicorp/hcs.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/data/hashicorp/hcs.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/data/hashicorp/hcs.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/data/hashicorp/hcs.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:13 UTC)
import terrascript
class hcs_agent_helm_config(terrascript.Data):
pass
class hcs_agent_kubernetes_secret(terrascript.Data):
pass
class hcs_cluster(terrascript.Data):
pass
class hcs_consul_ve... | 16.973684 | 73 | 0.750388 | 83 | 645 | 5.46988 | 0.39759 | 0.231278 | 0.251101 | 0.264317 | 0.297357 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022099 | 0.15814 | 645 | 37 | 74 | 17.432432 | 0.813996 | 0.162791 | 0 | 0.285714 | 1 | 0 | 0.214153 | 0.089385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.047619 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c355cd3d4539fca0f906dc53f6388763b3da9008 | 2,036 | py | Python | wrappers/python/tests/crypto/test_auth_crypt.py | zhigunenko-dsr/indy-sdk | 25b7635b656344675b8ba6bf43f4a8a97875698d | [
"Apache-2.0"
] | null | null | null | wrappers/python/tests/crypto/test_auth_crypt.py | zhigunenko-dsr/indy-sdk | 25b7635b656344675b8ba6bf43f4a8a97875698d | [
"Apache-2.0"
] | null | null | null | wrappers/python/tests/crypto/test_auth_crypt.py | zhigunenko-dsr/indy-sdk | 25b7635b656344675b8ba6bf43f4a8a97875698d | [
"Apache-2.0"
] | 1 | 2020-01-28T01:37:42.000Z | 2020-01-28T01:37:42.000Z | import json
from indy import IndyError
from indy import crypto, did
import pytest
from indy.error import ErrorCode
@pytest.mark.asyncio
async def test_auth_crypt_works_for_created_key(wallet_handle, seed_my1, verkey_my2, message):
verkey = await did.create_key(wallet_handle, json.dumps({'seed': seed_my1}))
... | 40.72 | 111 | 0.795187 | 291 | 2,036 | 5.182131 | 0.199313 | 0.135279 | 0.106101 | 0.088196 | 0.736074 | 0.736074 | 0.736074 | 0.736074 | 0.736074 | 0.675066 | 0 | 0.013378 | 0.118861 | 2,036 | 49 | 112 | 41.55102 | 0.827202 | 0 | 0 | 0.352941 | 0 | 0 | 0.028978 | 0.021611 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0 | false | 0 | 0.147059 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c359bbc8de215efe40229765c655499a880c030c | 586 | py | Python | test/splitgraph/ingestion/test_inference.py | Trase/splitgraph | ef8332b29640230f4eebcbb350a37c67285064b1 | [
"Apache-2.0"
] | 1 | 2020-06-24T23:42:11.000Z | 2020-06-24T23:42:11.000Z | test/splitgraph/ingestion/test_inference.py | Trase/splitgraph | ef8332b29640230f4eebcbb350a37c67285064b1 | [
"Apache-2.0"
] | 2 | 2022-01-25T00:42:49.000Z | 2022-01-25T01:49:18.000Z | test/splitgraph/ingestion/test_inference.py | Trase/splitgraph | ef8332b29640230f4eebcbb350a37c67285064b1 | [
"Apache-2.0"
] | null | null | null | from splitgraph.ingestion.inference import _infer_column_schema
def test_inference():
assert _infer_column_schema(["1", "2", "3"]) == "integer"
assert _infer_column_schema(["1.1", "2.4", "3"]) == "numeric"
assert _infer_column_schema(["true", "TRUE", "f"]) == "boolean"
assert _infer_column_schema(['{"... | 41.857143 | 99 | 0.62628 | 75 | 586 | 4.56 | 0.453333 | 0.25731 | 0.397661 | 0.47076 | 0.318713 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087221 | 0.158703 | 586 | 13 | 100 | 45.076923 | 0.606491 | 0 | 0 | 0 | 0 | 0 | 0.221843 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.090909 | true | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f05924239385e4fe2456f4af3f3c410a9ecf9b7 | 394 | py | Python | inithub/manager/views.py | richtermondt/inithub-web | cf744af7473c59efa5867828b245cdd336825558 | [
"MIT"
] | null | null | null | inithub/manager/views.py | richtermondt/inithub-web | cf744af7473c59efa5867828b245cdd336825558 | [
"MIT"
] | 11 | 2015-01-25T02:14:17.000Z | 2015-03-05T13:05:45.000Z | inithub/manager/views.py | richtermondt/inithub-web | cf744af7473c59efa5867828b245cdd336825558 | [
"MIT"
] | null | null | null | '''
@author: rtermondt
'''
from django.http import HttpResponse, HttpResponseRedirect
def about(request):
return HttpResponse("Hello, world. You're at the innohub index.")
def index(request):
return HttpResponse("Hello, world. You're at the innohub index.")
def isSessionValid(request):
ret = False
... | 17.130435 | 69 | 0.692893 | 49 | 394 | 5.55102 | 0.591837 | 0.095588 | 0.183824 | 0.220588 | 0.441176 | 0.441176 | 0.441176 | 0.441176 | 0.441176 | 0.441176 | 0 | 0 | 0.203046 | 394 | 22 | 70 | 17.909091 | 0.866242 | 0.045685 | 0 | 0.2 | 0 | 0 | 0.256131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6f18de70cfddc7242f18bb3c940dc472af05934e | 51 | py | Python | lib/servers/oscilloscopes/__init__.py | clayton-ho/EGGs_Control | 312f02488b47cf880c6e6600ce10856a871123df | [
"MIT"
] | null | null | null | lib/servers/oscilloscopes/__init__.py | clayton-ho/EGGs_Control | 312f02488b47cf880c6e6600ce10856a871123df | [
"MIT"
] | null | null | null | lib/servers/oscilloscopes/__init__.py | clayton-ho/EGGs_Control | 312f02488b47cf880c6e6600ce10856a871123df | [
"MIT"
] | null | null | null | from .oscilloscope_server import OscilloscopeServer | 51 | 51 | 0.921569 | 5 | 51 | 9.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 1 | 51 | 51 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
6f488170b9bfe692f11e0af7fc657517d5e92247 | 141 | py | Python | django_roles_access/apps.py | django-roles-access/master | 066d0d6b99b986eacc736e6973b415cbb9172d46 | [
"MIT"
] | 5 | 2019-03-22T08:08:25.000Z | 2019-04-11T11:46:52.000Z | django_roles_access/apps.py | django-roles-access/master | 066d0d6b99b986eacc736e6973b415cbb9172d46 | [
"MIT"
] | 5 | 2019-04-03T21:53:52.000Z | 2019-05-22T22:41:34.000Z | django_roles_access/apps.py | django-roles-access/master | 066d0d6b99b986eacc736e6973b415cbb9172d46 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RolesConfig(AppConfig):
name = 'django_roles_access'
verbose_name = u'Django Roles Access'
| 20.142857 | 41 | 0.758865 | 18 | 141 | 5.777778 | 0.666667 | 0.211538 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 6 | 42 | 23.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6f4992019e703cbe1a0d86c6ef3495824b4b1748 | 34,353 | py | Python | Wrappers/Python/test/test_algorithms.py | KrisThielemans/CCPi-Framework | fed2e86a65fa67aa89d0a690438bf76f4828266e | [
"Apache-2.0"
] | null | null | null | Wrappers/Python/test/test_algorithms.py | KrisThielemans/CCPi-Framework | fed2e86a65fa67aa89d0a690438bf76f4828266e | [
"Apache-2.0"
] | null | null | null | Wrappers/Python/test/test_algorithms.py | KrisThielemans/CCPi-Framework | fed2e86a65fa67aa89d0a690438bf76f4828266e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# CCP in Tomographic Imaging (CCPi) Core Imaging Library (CIL).
# Copyright 2017 UKRI-STFC
# Copyright 2017 University of Manchester
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain ... | 40.132009 | 144 | 0.603004 | 4,118 | 34,353 | 4.905537 | 0.109519 | 0.013613 | 0.027325 | 0.009257 | 0.780159 | 0.75224 | 0.739122 | 0.727588 | 0.718974 | 0.705411 | 0 | 0.036329 | 0.288476 | 34,353 | 855 | 145 | 40.178947 | 0.790124 | 0.150817 | 0 | 0.698467 | 0 | 0 | 0.036187 | 0.002275 | 0 | 0 | 0 | 0 | 0.085179 | 1 | 0.032368 | false | 0.003407 | 0.083475 | 0 | 0.126065 | 0.059625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48ce9e4703dcda32c9f8d7f1f89711bbf25fdaef | 147 | py | Python | boa3_test/test_sc/python_operation_test/ListNotIn.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/python_operation_test/ListNotIn.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/python_operation_test/ListNotIn.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Any
from boa3.builtin import public
@public
def main(value: Any, some_list: list) -> bool:
return value not in some_list
| 16.333333 | 46 | 0.741497 | 24 | 147 | 4.458333 | 0.666667 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.190476 | 147 | 8 | 47 | 18.375 | 0.890756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
48d758e5548505518786dc607d472eed50603cfb | 132 | py | Python | config/settings/config_mq.py | makethedayunique/pandama-online-store | 38c02809a89087f5a6c83fd6ee2c39dab8d66f6c | [
"MIT"
] | null | null | null | config/settings/config_mq.py | makethedayunique/pandama-online-store | 38c02809a89087f5a6c83fd6ee2c39dab8d66f6c | [
"MIT"
] | null | null | null | config/settings/config_mq.py | makethedayunique/pandama-online-store | 38c02809a89087f5a6c83fd6ee2c39dab8d66f6c | [
"MIT"
] | null | null | null | import environ
root = environ.Path(__file__) - 3
env = environ.Env()
environ.Env.read_env()
MQ_BROKER_URL = env('MQ_BROKER_URL')
| 14.666667 | 36 | 0.734848 | 21 | 132 | 4.190476 | 0.52381 | 0.227273 | 0.295455 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.128788 | 132 | 8 | 37 | 16.5 | 0.756522 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48e75d914d50f64cad90572b470a322b47ec907b | 94 | py | Python | authorityspoke/io/__init__.py | mscarey/AuthoritySpoke | 047c30a5f8af8dcfae6d6cd4ec6d80bf646ff33b | [
"FTL",
"CNRI-Python",
"Apache-1.1"
] | 18 | 2019-05-13T23:04:48.000Z | 2022-03-23T00:48:30.000Z | authorityspoke/io/__init__.py | mscarey/AuthoritySpoke | 047c30a5f8af8dcfae6d6cd4ec6d80bf646ff33b | [
"FTL",
"CNRI-Python",
"Apache-1.1"
] | 98 | 2019-05-07T10:38:03.000Z | 2021-10-17T01:54:27.000Z | authorityspoke/io/__init__.py | mscarey/AuthoritySpoke | 047c30a5f8af8dcfae6d6cd4ec6d80bf646ff33b | [
"FTL",
"CNRI-Python",
"Apache-1.1"
] | 1 | 2020-06-15T17:31:57.000Z | 2020-06-15T17:31:57.000Z | """Module for moving data in and out of AuthoritySpoke."""
from justopinion import CAPClient
| 23.5 | 58 | 0.776596 | 13 | 94 | 5.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 3 | 59 | 31.333333 | 0.9125 | 0.553191 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d288abcae22a8a9cb15764ecf0418209411b6239 | 62 | py | Python | model/criterion/__init__.py | Tenvence/instance-set-prediction-net | 3dca2853a3da479264b9e55da3fe1e7d522a2079 | [
"Apache-2.0"
] | null | null | null | model/criterion/__init__.py | Tenvence/instance-set-prediction-net | 3dca2853a3da479264b9e55da3fe1e7d522a2079 | [
"Apache-2.0"
] | null | null | null | model/criterion/__init__.py | Tenvence/instance-set-prediction-net | 3dca2853a3da479264b9e55da3fe1e7d522a2079 | [
"Apache-2.0"
] | null | null | null | from .hungarian_matcher import *
from .det_criterion import *
| 20.666667 | 32 | 0.806452 | 8 | 62 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 33 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
96276b4285184937da6832bfead16071ddd3a660 | 225 | py | Python | tests/urls.py | mdavino/spid-django | 5e27af898a7a7ff1d4edb54113cb434c04c582dd | [
"Apache-2.0"
] | 37 | 2017-10-01T14:55:51.000Z | 2022-02-14T20:54:39.000Z | tests/urls.py | damikael/spid-django | 3ca45df31195541ac669503dc85ae753254c6d00 | [
"Apache-2.0"
] | 51 | 2017-09-21T13:19:21.000Z | 2022-03-23T11:30:40.000Z | tests/urls.py | damikael/spid-django | 3ca45df31195541ac669503dc85ae753254c6d00 | [
"Apache-2.0"
] | 21 | 2017-10-01T15:02:14.000Z | 2021-09-15T13:07:51.000Z | from django.contrib import admin
from django.urls import path, include
import djangosaml2_spid.urls
urlpatterns = [
path('admin/', admin.site.urls),
path('', include((djangosaml2_spid.urls, 'djangosaml2_spid',))),
]
| 25 | 68 | 0.733333 | 28 | 225 | 5.785714 | 0.428571 | 0.277778 | 0.234568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.128889 | 225 | 8 | 69 | 28.125 | 0.811224 | 0 | 0 | 0 | 0 | 0 | 0.097778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 5 |
82d0a6f4d28dd3231923bdcfbe99986e582eae20 | 44,820 | py | Python | tests/0_orchestrator/test_suite/testcases/advanced_tests/test03_gws_apis.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 3 | 2017-07-04T14:02:02.000Z | 2019-07-06T23:34:08.000Z | tests/0_orchestrator/test_suite/testcases/advanced_tests/test03_gws_apis.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 497 | 2017-05-31T07:55:40.000Z | 2018-01-03T12:10:43.000Z | tests/0_orchestrator/test_suite/testcases/advanced_tests/test03_gws_apis.py | zero-os/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 8 | 2017-06-14T09:45:56.000Z | 2021-02-01T18:12:55.000Z | import random, time
from testcases.testcases_base import TestcasesBase
import unittest
class TestGatewayAPICreation(TestcasesBase):
def setUp(self):
super().setUp()
self.core0_client.create_ovs_container()
self.core0_client.timeout = 30
self.flist = 'https://hub.gig.tech/gig-officia... | 41.538462 | 154 | 0.580076 | 5,165 | 44,820 | 4.894676 | 0.073959 | 0.047466 | 0.024129 | 0.053914 | 0.80693 | 0.773268 | 0.726593 | 0.700645 | 0.684387 | 0.661762 | 0 | 0.028746 | 0.279719 | 44,820 | 1,078 | 155 | 41.576994 | 0.75436 | 0.104663 | 0 | 0.563014 | 0 | 0 | 0.185156 | 0.002004 | 0 | 0 | 0 | 0 | 0.134247 | 1 | 0.038356 | false | 0.008219 | 0.006849 | 0 | 0.049315 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
82d40ca1a2c86f006226841e20f606a6401c0d57 | 673 | py | Python | challenge_13/python/alexbotello/src/tests.py | rchicoli/2017-challenges | 44f0b672e5dea34de1dde131b6df837d462f8e29 | [
"Apache-2.0"
] | 271 | 2017-01-01T22:58:36.000Z | 2021-11-28T23:05:29.000Z | challenge_13/python/alexbotello/src/tests.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 283 | 2017-01-01T23:26:05.000Z | 2018-03-23T00:48:55.000Z | challenge_13/python/alexbotello/src/tests.py | AakashOfficial/2017Challenges | a8f556f1d5b43c099a0394384c8bc2d826f9d287 | [
"Apache-2.0"
] | 311 | 2017-01-01T22:59:23.000Z | 2021-09-23T00:29:12.000Z | import unittest
from palin import is_palindrome
class Tests(unittest.TestCase):
def test_1(self):
self.assertEqual(is_palindrome(1112111), True)
def test_2(self):
self.assertEqual(is_palindrome(1), True)
def test_3(self):
self.assertEqual(is_palindrome(59112), False)
def test... | 23.206897 | 58 | 0.683507 | 86 | 673 | 5.081395 | 0.360465 | 0.21968 | 0.304348 | 0.336384 | 0.496568 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097196 | 0.205052 | 673 | 28 | 59 | 24.035714 | 0.719626 | 0 | 0 | 0 | 0 | 0 | 0.011887 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 1 | 0.368421 | false | 0 | 0.105263 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
82db9c4cdd36fdf50f91862e358ea23b6461f87c | 332 | py | Python | src/visitpy/pyavt/py_src/__init__.py | eddieTest/visit | ae7bf6f5f16b01cf6b672d34e2d293fa7170616b | [
"BSD-3-Clause"
] | null | null | null | src/visitpy/pyavt/py_src/__init__.py | eddieTest/visit | ae7bf6f5f16b01cf6b672d34e2d293fa7170616b | [
"BSD-3-Clause"
] | null | null | null | src/visitpy/pyavt/py_src/__init__.py | eddieTest/visit | ae7bf6f5f16b01cf6b672d34e2d293fa7170616b | [
"BSD-3-Clause"
] | 1 | 2020-03-18T23:17:43.000Z | 2020-03-18T23:17:43.000Z | ###############################################################################
# Program: pyavt/src/__init__.py
#
# Purpose: Module init for the pyavt module.
#
# Programmer: Cyrus Harrison
# Creation: Tue Mar 10 13:33:13 PDT 2009
#
###############################################################################
impor... | 23.714286 | 79 | 0.373494 | 26 | 332 | 4.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040134 | 0.099398 | 332 | 13 | 80 | 25.538462 | 0.361204 | 0.418675 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7dbfd08a60735e24918d4ae55b50226c9d139423 | 261 | py | Python | dsne/tests/test_import.py | songtingstone/DSNE | edb173ba4eabdb599641fd253c8ee58b4c4b8eb4 | [
"Apache-2.0"
] | 1 | 2021-04-06T10:57:15.000Z | 2021-04-06T10:57:15.000Z | dsne/tests/test_import.py | songtingstone/dsne | edb173ba4eabdb599641fd253c8ee58b4c4b8eb4 | [
"Apache-2.0"
] | null | null | null | dsne/tests/test_import.py | songtingstone/dsne | edb173ba4eabdb599641fd253c8ee58b4c4b8eb4 | [
"Apache-2.0"
] | null | null | null | def test_import():
import dsne
assert dsne.__version__ is not None
assert dsne.__version__ != "0.0.0"
assert len(dsne.__version__) > 0
def test_import_st_dsne():
from dsne import DSNE # noqa
from dsne import DSNE_approximate # noqa
| 21.75 | 45 | 0.693487 | 38 | 261 | 4.315789 | 0.394737 | 0.182927 | 0.158537 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019901 | 0.229885 | 261 | 11 | 46 | 23.727273 | 0.79602 | 0.034483 | 0 | 0 | 0 | 0 | 0.02008 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | true | 0 | 0.625 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7dc20eb07230296f664e4c3e488bab62dddc2d0b | 5,025 | py | Python | app/api/api/security_evaluations_id_output_inspect.py | maurapintor/pandavision | 58869fcec97a59e77fac4d1ba25677e292c6d377 | [
"MIT"
] | 9 | 2021-11-08T10:52:34.000Z | 2022-02-10T09:25:53.000Z | app/api/api/security_evaluations_id_output_inspect.py | maurapintor/pandavision | 58869fcec97a59e77fac4d1ba25677e292c6d377 | [
"MIT"
] | 12 | 2021-11-02T13:37:39.000Z | 2021-12-09T08:31:19.000Z | app/api/api/security_evaluations_id_output_inspect.py | maurapintor/pandavision | 58869fcec97a59e77fac4d1ba25677e292c6d377 | [
"MIT"
] | 2 | 2021-11-10T08:58:58.000Z | 2021-11-15T18:07:47.000Z | import io
import logging
from base64 import b64encode
import numpy as np
from PIL import Image
from flask import abort
from flask_restful import Resource
from rq.job import Job
from app.worker import conn
class SecurityEvaluationsIdOutputInspectSample(Resource):
def get(self, id, sample_idx):
try:
... | 39.880952 | 107 | 0.581493 | 573 | 5,025 | 5.001745 | 0.204188 | 0.040823 | 0.022331 | 0.036288 | 0.770063 | 0.742498 | 0.723657 | 0.713538 | 0.713538 | 0.713538 | 0 | 0.020616 | 0.314627 | 5,025 | 126 | 108 | 39.880952 | 0.811556 | 0.110448 | 0 | 0.653061 | 0 | 0 | 0.19852 | 0.0655 | 0 | 0 | 0 | 0.007937 | 0 | 1 | 0.040816 | false | 0 | 0.091837 | 0 | 0.295918 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
81780c4bfa051c1fdfef6ba2cec2f47772c92299 | 1,090 | py | Python | coala/core/views.py | eduardagoulart/contandolibras | 0bf1ca2cd5f202a894abb1b9119fd4affb6eee83 | [
"MIT"
] | null | null | null | coala/core/views.py | eduardagoulart/contandolibras | 0bf1ca2cd5f202a894abb1b9119fd4affb6eee83 | [
"MIT"
] | null | null | null | coala/core/views.py | eduardagoulart/contandolibras | 0bf1ca2cd5f202a894abb1b9119fd4affb6eee83 | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
from .forms import SubscriptionForm
from django.templatetags.static import static
def home(request):
return render(request, 'core/index.html')
def contato(request):
if request.method == "POST":
form = SubscriptionForm(request.POST)
if form.is_v... | 23.191489 | 67 | 0.63945 | 131 | 1,090 | 5.312977 | 0.381679 | 0.12069 | 0.191092 | 0.231322 | 0.215517 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004739 | 0.225688 | 1,090 | 47 | 68 | 23.191489 | 0.819905 | 0 | 0 | 0 | 0 | 0 | 0.138405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.096774 | 0.16129 | 0.580645 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c48c590f843eade588679e34cff5ec555c817823 | 26,742 | py | Python | packages/python/plotly/plotly/graph_objs/layout/yaxis/_minor.py | labaran1/plotly.py | 7ec751e8fed4a570c11ea4bea2231806389d62eb | [
"MIT"
] | null | null | null | packages/python/plotly/plotly/graph_objs/layout/yaxis/_minor.py | labaran1/plotly.py | 7ec751e8fed4a570c11ea4bea2231806389d62eb | [
"MIT"
] | null | null | null | packages/python/plotly/plotly/graph_objs/layout/yaxis/_minor.py | labaran1/plotly.py | 7ec751e8fed4a570c11ea4bea2231806389d62eb | [
"MIT"
] | null | null | null | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Minor(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout.yaxis"
_path_str = "layout.yaxis.minor"
_valid_props = {
"dtick",
"... | 36.936464 | 84 | 0.555493 | 3,238 | 26,742 | 4.551266 | 0.136504 | 0.015675 | 0.0171 | 0.013232 | 0.765895 | 0.757549 | 0.749135 | 0.747371 | 0.747371 | 0.743231 | 0 | 0.024696 | 0.347394 | 26,742 | 723 | 85 | 36.987552 | 0.819734 | 0.505534 | 0 | 0.103571 | 0 | 0.010714 | 0.457401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.007143 | 0.003571 | 0.185714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c4a3dfabddf483ac731b96b800cddbc7386067bf | 60 | py | Python | Tutorial/Python Bootcamp/Src/Day #17/game.py | lzzzam/Python_Scripts | f35c1acef13642e444b50d21dc94d9de2ce5d322 | [
"MIT"
] | null | null | null | Tutorial/Python Bootcamp/Src/Day #17/game.py | lzzzam/Python_Scripts | f35c1acef13642e444b50d21dc94d9de2ce5d322 | [
"MIT"
] | null | null | null | Tutorial/Python Bootcamp/Src/Day #17/game.py | lzzzam/Python_Scripts | f35c1acef13642e444b50d21dc94d9de2ce5d322 | [
"MIT"
] | null | null | null | import quiz
game = quiz.game(quiz.questionTable)
game.run() | 15 | 36 | 0.766667 | 9 | 60 | 5.111111 | 0.555556 | 0.347826 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 4 | 37 | 15 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c4ac17540c5497d7d8b56bc072d5aef0ef1df9b7 | 65 | py | Python | avalares/__init__.py | MatthewScholefield/avalares | 8f80fb4c18fd02a1bbfa8cca1271ba4ceb5aafcc | [
"MIT"
] | null | null | null | avalares/__init__.py | MatthewScholefield/avalares | 8f80fb4c18fd02a1bbfa8cca1271ba4ceb5aafcc | [
"MIT"
] | null | null | null | avalares/__init__.py | MatthewScholefield/avalares | 8f80fb4c18fd02a1bbfa8cca1271ba4ceb5aafcc | [
"MIT"
] | null | null | null | from .utils import to_numpy, to_pandas
from .parser import parse
| 21.666667 | 38 | 0.815385 | 11 | 65 | 4.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 2 | 39 | 32.5 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
c4da91ef1fef47075ca6ca992d162f0abf131a91 | 101 | py | Python | authapp/admin.py | Roman-R2/gb-django-shop-opltimization | f99d5e81653ec4b50640476308380ec2984aa061 | [
"MIT"
] | null | null | null | authapp/admin.py | Roman-R2/gb-django-shop-opltimization | f99d5e81653ec4b50640476308380ec2984aa061 | [
"MIT"
] | null | null | null | authapp/admin.py | Roman-R2/gb-django-shop-opltimization | f99d5e81653ec4b50640476308380ec2984aa061 | [
"MIT"
] | null | null | null | from django.contrib import admin
from authapp.models import ShopUser
admin.site.register(ShopUser)
| 16.833333 | 35 | 0.831683 | 14 | 101 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 5 | 36 | 20.2 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c4f3f5584d88e99c58d3ac166588d4ba659f2faf | 59 | py | Python | pm4pymdl/objects/xoc/importer/versions/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 5 | 2021-01-31T22:45:29.000Z | 2022-02-22T14:26:06.000Z | pm4pymdl/objects/xoc/importer/versions/__init__.py | Javert899/pm4py-mdl | 4cc875999100f3f1ad60b925a20e40cf52337757 | [
"MIT"
] | 3 | 2021-07-07T15:32:55.000Z | 2021-07-07T16:15:36.000Z | pm4pymdl/objects/xoc/importer/versions/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 9 | 2020-09-23T15:34:11.000Z | 2022-03-17T09:15:40.000Z | from pm4pymdl.objects.xoc.importer.versions import classic
| 29.5 | 58 | 0.864407 | 8 | 59 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.067797 | 59 | 1 | 59 | 59 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
f21648e0d316b66d0cd32aa963e7df785dae8266 | 81,878 | py | Python | tests/test_inflection_es.py | tatuylonen/wiktextract | f1192243fdd2b69c3e4424027531757cff82e40f | [
"MIT"
] | 336 | 2018-11-28T08:17:19.000Z | 2022-03-30T08:00:13.000Z | tests/test_inflection_es.py | tatuylonen/wiktextract | f1192243fdd2b69c3e4424027531757cff82e40f | [
"MIT"
] | 116 | 2019-02-22T16:47:36.000Z | 2022-03-22T17:29:15.000Z | tests/test_inflection_es.py | tatuylonen/wiktextract | f1192243fdd2b69c3e4424027531757cff82e40f | [
"MIT"
] | 55 | 2018-12-28T09:54:26.000Z | 2022-03-30T10:57:25.000Z | # -*- fundamental -*-
#
# Tests for parsing inflection tables
#
# Copyright (c) 2021 Tatu Ylonen. See file LICENSE and https://ylonen.org
import unittest
import json
from wikitextprocessor import Wtp
from wiktextract import WiktionaryConfig
from wiktextract.inflection import parse_inflection_section
class InflTests(... | 29.526866 | 367 | 0.445309 | 6,406 | 81,878 | 5.689978 | 0.061349 | 0.043951 | 0.094486 | 0.060631 | 0.845816 | 0.826776 | 0.815693 | 0.797449 | 0.757503 | 0.507462 | 0 | 0.024962 | 0.394758 | 81,878 | 2,772 | 368 | 29.537518 | 0.71053 | 0.003053 | 0 | 0.60539 | 0 | 0.104909 | 0.559295 | 0.316209 | 0 | 0 | 0 | 0 | 0.000962 | 1 | 0.001925 | false | 0 | 0.002406 | 0 | 0.005294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f21cad73a8014d987d470082fc5b1121d8e2d90c | 462 | py | Python | dashboard_generator.py | Rg3556/exec-dash | 9c8df8f113979afdedd6ce7332535c7e70887655 | [
"MIT"
] | null | null | null | dashboard_generator.py | Rg3556/exec-dash | 9c8df8f113979afdedd6ce7332535c7e70887655 | [
"MIT"
] | null | null | null | dashboard_generator.py | Rg3556/exec-dash | 9c8df8f113979afdedd6ce7332535c7e70887655 | [
"MIT"
] | null | null | null | # dashboard_generator.py
print("-----------------------")
print("MONTH: March 2018")
print("-----------------------")
print("CRUNCHING THE DATA...")
print("-----------------------")
print("TOTAL MONTHLY SALES: $12,000.71")
print("-----------------------")
print("TOP SELLING PRODUCTS:")
print(" 1) Button-Down Shirt... | 24.315789 | 42 | 0.484848 | 50 | 462 | 4.46 | 0.7 | 0.224215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062201 | 0.095238 | 462 | 19 | 43 | 24.315789 | 0.471292 | 0.047619 | 0 | 0.384615 | 0 | 0 | 0.690205 | 0.261959 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f228033482c3c545288dc842ef3c082e2b9e3fba | 440 | py | Python | iis-3rdparty-madis/src/main/resources/eu/dnetlib/iis/3rdparty/scripts/madis/lib/pg8000/util.py | mpol/iis | fbf7129bbd131fbf824a0d3fc8a0afde367794e2 | [
"Apache-2.0"
] | 20 | 2015-09-19T21:17:23.000Z | 2022-03-01T10:37:59.000Z | iis-3rdparty-madis/src/main/resources/eu/dnetlib/iis/3rdparty/scripts/madis/lib/pg8000/util.py | mpol/iis | fbf7129bbd131fbf824a0d3fc8a0afde367794e2 | [
"Apache-2.0"
] | 1,054 | 2015-09-11T06:51:27.000Z | 2022-03-30T09:46:54.000Z | iis-3rdparty-madis/src/main/resources/eu/dnetlib/iis/3rdparty/scripts/madis/lib/pg8000/util.py | mpol/iis | fbf7129bbd131fbf824a0d3fc8a0afde367794e2 | [
"Apache-2.0"
] | 80 | 2015-12-09T12:41:52.000Z | 2022-02-16T11:46:42.000Z |
class MulticastDelegate(object):
def __init__(self):
self.delegates = []
def __iadd__(self, delegate):
self.add(delegate)
return self
def add(self, delegate):
self.delegates.append(delegate)
def __isub__(self, delegate):
self.delegates.remove(delegate)
... | 20.952381 | 40 | 0.6 | 48 | 440 | 5.166667 | 0.416667 | 0.209677 | 0.193548 | 0.169355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288636 | 440 | 20 | 41 | 22 | 0.792332 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
48685e48facbd7e40993872a4b1868458b9de6a8 | 92 | py | Python | Solution/43.py | pallavimr12/Python_Levelwise_Exercises | 4090437b537260be2eca06c8d52d3a2bba1f5a5e | [
"BSD-3-Clause"
] | 2 | 2020-10-23T10:55:58.000Z | 2020-11-24T04:26:23.000Z | Solution/43.py | pallavimr12/Python_Levelwise_Exercises | 4090437b537260be2eca06c8d52d3a2bba1f5a5e | [
"BSD-3-Clause"
] | null | null | null | Solution/43.py | pallavimr12/Python_Levelwise_Exercises | 4090437b537260be2eca06c8d52d3a2bba1f5a5e | [
"BSD-3-Clause"
] | 2 | 2020-11-19T06:37:29.000Z | 2022-01-18T14:36:46.000Z | s= raw_input()
if s=="yes" or s=="YES" or s=="Yes":
print ("Yes")
else:
print ("No") | 18.4 | 36 | 0.51087 | 17 | 92 | 2.705882 | 0.529412 | 0.26087 | 0.26087 | 0.304348 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 92 | 5 | 37 | 18.4 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4887ea94da79e955be7c3342becb58d785fe3250 | 157 | py | Python | examples/common/processes/__init__.py | francisso/rembrain_robotframework | bd54a8c51775da3517760c4060edda8c28f5e75d | [
"MIT"
] | 7 | 2021-09-23T15:20:33.000Z | 2022-03-18T11:46:39.000Z | examples/common/processes/__init__.py | francisso/rembrain_robotframework | bd54a8c51775da3517760c4060edda8c28f5e75d | [
"MIT"
] | 1 | 2021-12-03T10:40:19.000Z | 2021-12-03T10:40:19.000Z | examples/common/processes/__init__.py | francisso/rembrain_robotframework | bd54a8c51775da3517760c4060edda8c28f5e75d | [
"MIT"
] | 6 | 2021-09-22T15:07:52.000Z | 2022-01-06T08:25:19.000Z | from .depth_mixin import DepthMixin
from .gui import GUIProcess
from .image_capture import ImageCapture
from .yolo_image_processor import YoloImageProcessor
| 31.4 | 52 | 0.872611 | 20 | 157 | 6.65 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101911 | 157 | 4 | 53 | 39.25 | 0.943262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
6f82b410907bd251611400cd6505ddd8976490e3 | 59,762 | py | Python | trojsten/rules/test.py | sobkulir/web | 93dc2e3696613e771d34190cf8b43904be9c1ba8 | [
"MIT"
] | 5 | 2018-04-22T22:44:02.000Z | 2021-04-26T20:44:44.000Z | trojsten/rules/test.py | sobkulir/web | 93dc2e3696613e771d34190cf8b43904be9c1ba8 | [
"MIT"
] | 250 | 2018-04-24T12:04:11.000Z | 2022-03-09T06:56:47.000Z | trojsten/rules/test.py | sobkulir/web | 93dc2e3696613e771d34190cf8b43904be9c1ba8 | [
"MIT"
] | 8 | 2019-04-28T11:33:03.000Z | 2022-02-26T13:30:36.000Z | # -*- coding: utf-8 -*-
import datetime
from django.conf import settings
from django.contrib.auth.models import Group
from django.contrib.sites.models import Site
from django.test import TestCase
from django.urls import reverse
from django.utils import timezone
import trojsten.submit.constants as submit_constants
fr... | 42.565527 | 100 | 0.613852 | 7,199 | 59,762 | 4.873732 | 0.046395 | 0.050447 | 0.038306 | 0.02149 | 0.844325 | 0.809383 | 0.773271 | 0.743117 | 0.698683 | 0.674457 | 0 | 0.023035 | 0.274305 | 59,762 | 1,403 | 101 | 42.595866 | 0.785976 | 0.019594 | 0 | 0.542305 | 0 | 0 | 0.031581 | 0 | 0 | 0 | 0 | 0 | 0.128928 | 1 | 0.059629 | false | 0.004835 | 0.014504 | 0 | 0.087027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6fa7591ed74386452a57fa956e4339f318627ce6 | 54 | py | Python | dcmrtstruct2nii/exceptions/invalidfileformatexception.py | Sikerdebaard/dcmrtstruct2mask | 4f85bccd2d8ee95c34b399950ec5e528baad5e77 | [
"Apache-2.0"
] | 50 | 2019-01-23T13:32:07.000Z | 2022-03-23T01:10:45.000Z | dcmrtstruct2nii/exceptions/invalidfileformatexception.py | Sikerdebaard/dcmrtstruct2mask | 4f85bccd2d8ee95c34b399950ec5e528baad5e77 | [
"Apache-2.0"
] | 20 | 2019-07-11T12:30:28.000Z | 2022-03-05T09:26:55.000Z | dcmrtstruct2nii/exceptions/invalidfileformatexception.py | Sikerdebaard/dcmrtstruct2mask | 4f85bccd2d8ee95c34b399950ec5e528baad5e77 | [
"Apache-2.0"
] | 19 | 2019-07-20T08:07:12.000Z | 2022-02-22T03:03:49.000Z | class InvalidFileFormatException(Exception):
pass
| 18 | 44 | 0.814815 | 4 | 54 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 45 | 27 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6fc8e704567faeaead099fad9e0d5513236997f8 | 88 | py | Python | Chapter12/myproject_docker/apps/guerrilla_patches/models.py | PacktPublishing/Django-2-Web-Development-Cookbook-Third-Edition | f129613e2b1d00f5c76649025ae4d568f6286f2c | [
"MIT"
] | 75 | 2018-12-03T02:35:29.000Z | 2021-11-08T13:13:34.000Z | Chapter12/virtualenvs/myproject_env/project/django-myproject/guerrilla_patches/models.py | PacktPublishing/Django-2-Web-Development-Cookbook-Third-Edition | f129613e2b1d00f5c76649025ae4d568f6286f2c | [
"MIT"
] | 3 | 2019-08-11T13:35:01.000Z | 2020-09-29T06:52:36.000Z | Chapter12/myproject_docker/apps/guerrilla_patches/models.py | PacktPublishing/Django-2-Web-Development-Cookbook-Third-Edition | f129613e2b1d00f5c76649025ae4d568f6286f2c | [
"MIT"
] | 45 | 2018-11-03T14:03:22.000Z | 2021-08-25T07:39:33.000Z | from django.utils import text
from transliterate import slugify
text.slugify = slugify
| 17.6 | 33 | 0.829545 | 12 | 88 | 6.083333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 4 | 34 | 22 | 0.960526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6fde118ebde961416de31d8afb8f45ac5a4363bf | 282 | py | Python | jubakit/loader/odbc.py | vishalbelsare/jubakit | f6252ba627ce4e2e42eb9aafaaf05c882bc1c678 | [
"MIT"
] | 12 | 2016-04-11T04:49:08.000Z | 2019-02-08T01:43:46.000Z | jubakit/loader/odbc.py | vishalbelsare/jubakit | f6252ba627ce4e2e42eb9aafaaf05c882bc1c678 | [
"MIT"
] | 138 | 2016-04-11T05:57:48.000Z | 2020-09-26T03:09:31.000Z | jubakit/loader/odbc.py | vishalbelsare/jubakit | f6252ba627ce4e2e42eb9aafaaf05c882bc1c678 | [
"MIT"
] | 10 | 2016-04-11T03:18:45.000Z | 2018-04-14T10:11:15.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
from ..base import BaseLoader
from ..compat import *
class ODBCLoader(BaseLoader):
"""
Loader to process ODBC data sources.
"""
# TODO not implemented yet.
pass
| 18.8 | 82 | 0.719858 | 34 | 282 | 5.764706 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.177305 | 282 | 14 | 83 | 20.142857 | 0.840517 | 0.301418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
d21dea2b3c1f2c2b5b474c9febb6ffa73ef5c01d | 147 | py | Python | inapppy/__init__.py | RamezIssac/InAppPy | f7e8a1f6646e2bd96f6a7e35b81cf030132e2424 | [
"MIT"
] | null | null | null | inapppy/__init__.py | RamezIssac/InAppPy | f7e8a1f6646e2bd96f6a7e35b81cf030132e2424 | [
"MIT"
] | null | null | null | inapppy/__init__.py | RamezIssac/InAppPy | f7e8a1f6646e2bd96f6a7e35b81cf030132e2424 | [
"MIT"
] | null | null | null | from .appstore import AppStoreValidator
from .googleplay import GooglePlayValidator, GooglePlayVerifier
from .errors import InAppPyValidationError
| 36.75 | 63 | 0.884354 | 13 | 147 | 10 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088435 | 147 | 3 | 64 | 49 | 0.970149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
d22e15b1d438684441fdea5c9d41c9183eff7ef5 | 118 | py | Python | enthought/plugins/python_shell/view/namespace_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/plugins/python_shell/view/namespace_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/plugins/python_shell/view/namespace_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.plugins.python_shell.view.namespace_view import *
| 29.5 | 63 | 0.855932 | 16 | 118 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 118 | 3 | 64 | 39.333333 | 0.878505 | 0.101695 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d267e4bc64293e8b4f8268f3dc0af425279a58a4 | 371 | py | Python | octicons16px/location.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/location.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/location.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_LOCATION = """
<svg class="octicon octicon-location" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M11.536 3.464a5 5 0 010 7.072L8 14.07l-3.536-3.535a5 5 0 117.072-7.072v.001zm1.06 8.132a6.5 6.5 0 10-9.192 0l3.535 3.536a1.5 1.5 0 002.122 0l3.535-3.53... | 74.2 | 342 | 0.679245 | 86 | 371 | 2.918605 | 0.639535 | 0.031873 | 0.055777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.386503 | 0.121294 | 371 | 4 | 343 | 92.75 | 0.383436 | 0 | 0 | 0 | 0 | 0.333333 | 0.92973 | 0.064865 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d2804cdc5668ac19caddec5222d4b6175d619a28 | 127 | py | Python | docs/readme/test_misc.py | kalekundert/parametrize_from_file | 59932f3e30d76735d996849d103c1c78060f0cd4 | [
"MIT"
] | 5 | 2021-04-21T16:43:01.000Z | 2021-12-23T02:50:55.000Z | docs/readme/test_misc.py | kalekundert/parametrize_from_file | 59932f3e30d76735d996849d103c1c78060f0cd4 | [
"MIT"
] | 14 | 2020-12-06T17:56:03.000Z | 2022-03-31T00:14:23.000Z | docs/readme/test_misc.py | kalekundert/parametrize_from_file | 59932f3e30d76735d996849d103c1c78060f0cd4 | [
"MIT"
] | 2 | 2021-08-18T02:39:20.000Z | 2021-08-24T19:03:04.000Z | #!/usr/bin/env python3
import parametrize_from_file
@parametrize_from_file
def test_addition(a, b, c):
assert a + b == c
| 15.875 | 28 | 0.724409 | 21 | 127 | 4.142857 | 0.714286 | 0.344828 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.165354 | 127 | 7 | 29 | 18.142857 | 0.811321 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9636bc09ffb6c0b17964d620a0899be6e03a5b7e | 6,253 | py | Python | tests/test_types.py | rohith-bs/dgraphpandas | 29e91e2e7bb1d5d991ab94709a2d7e27f7dd7316 | [
"MIT"
] | 1 | 2022-02-28T17:34:11.000Z | 2022-02-28T17:34:11.000Z | tests/test_types.py | rohith-bs/dgraphpandas | 29e91e2e7bb1d5d991ab94709a2d7e27f7dd7316 | [
"MIT"
] | null | null | null | tests/test_types.py | rohith-bs/dgraphpandas | 29e91e2e7bb1d5d991ab94709a2d7e27f7dd7316 | [
"MIT"
] | 1 | 2021-04-10T19:57:05.000Z | 2021-04-10T19:57:05.000Z | import unittest
from dgraphpandas.types import find_rdf_types, default_rdf_type, find_dgraph_type, default_dgraph_type
class TypesTests(unittest.TestCase):
def test_find_rdf_types_null_types_exception(self):
'''
Ensures when the types passed are null,
then a value error is raised.
... | 32.066667 | 102 | 0.476731 | 530 | 6,253 | 5.454717 | 0.171698 | 0.062954 | 0.037357 | 0.051885 | 0.767209 | 0.745763 | 0.745763 | 0.745763 | 0.704946 | 0.684884 | 0 | 0.048161 | 0.39565 | 6,253 | 194 | 103 | 32.231959 | 0.716856 | 0.112746 | 0 | 0.546763 | 0 | 0 | 0.248344 | 0 | 0 | 0 | 0 | 0 | 0.057554 | 1 | 0.057554 | false | 0 | 0.014388 | 0 | 0.079137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9641ef1db8f236b84aeb89c8887aeea043293b13 | 194 | py | Python | proteinsolver/dashboard/__init__.py | ostrokach/proteinsolver | 69ef0965a3fc3bf191804035b539720a06e58ba6 | [
"MIT"
] | 27 | 2020-05-04T11:06:20.000Z | 2022-01-10T08:27:22.000Z | cookiecutter/src/models/PS/ProteinSolver/dashboard/__init__.py | FSGade/alphafold_epitopes | f878662cbdcfe72a4a262e25c559da633f0fb4cf | [
"MIT"
] | 2 | 2021-04-19T10:47:39.000Z | 2021-05-04T08:11:26.000Z | cookiecutter/src/models/PS/ProteinSolver/dashboard/__init__.py | FSGade/alphafold_epitopes | f878662cbdcfe72a4a262e25c559da633f0fb4cf | [
"MIT"
] | 5 | 2020-10-05T05:53:23.000Z | 2022-02-23T08:42:54.000Z | from .state import *
from .target_selection import *
from .gpu_status import *
from .download_button import *
from .ps_process import *
from .run_proteinsolver import *
from .structure import *
| 24.25 | 32 | 0.783505 | 26 | 194 | 5.653846 | 0.538462 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 194 | 7 | 33 | 27.714286 | 0.885542 | 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 | 0 | 0 | 0 | 5 |
96975715f4a327bcb4925b6be42b0ba02cffda88 | 165 | py | Python | pydm/PyQt/__init__.py | KurtJacobson/pydm | 5a5cbc6cdb218b77335a3c4ad57a4a49e060e20d | [
"BSD-3-Clause-LBNL"
] | 89 | 2016-05-25T22:01:48.000Z | 2022-03-02T16:21:03.000Z | pydm/PyQt/__init__.py | KurtJacobson/pydm | 5a5cbc6cdb218b77335a3c4ad57a4a49e060e20d | [
"BSD-3-Clause-LBNL"
] | 653 | 2016-10-15T01:45:02.000Z | 2022-03-31T23:36:39.000Z | pydm/PyQt/__init__.py | KurtJacobson/pydm | 5a5cbc6cdb218b77335a3c4ad57a4a49e060e20d | [
"BSD-3-Clause-LBNL"
] | 56 | 2016-10-10T14:02:06.000Z | 2022-03-24T14:35:24.000Z | import warnings
warnings.warn(
"'pydm.PyQt' is deprecated, "
"please directly import from the 'qtpy' module. "
"pydm.PyQt will be removed in PyDM v1.8") | 33 | 54 | 0.684848 | 24 | 165 | 4.708333 | 0.791667 | 0.141593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.206061 | 165 | 5 | 55 | 33 | 0.847328 | 0 | 0 | 0 | 0 | 0 | 0.680723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
96ad60a3061a0bf931124910208aec316c412bee | 6,911 | py | Python | tests/unit/plugins/openstack/scenarios/nova/test_security_group.py | onecloud/gbp-rally | 7589b1788c4de26bb66c531ef340ba080754f8c3 | [
"Apache-2.0"
] | null | null | null | tests/unit/plugins/openstack/scenarios/nova/test_security_group.py | onecloud/gbp-rally | 7589b1788c4de26bb66c531ef340ba080754f8c3 | [
"Apache-2.0"
] | null | null | null | tests/unit/plugins/openstack/scenarios/nova/test_security_group.py | onecloud/gbp-rally | 7589b1788c4de26bb66c531ef340ba080754f8c3 | [
"Apache-2.0"
] | null | null | null | # Copyright 2014: Mirantis Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 43.465409 | 79 | 0.717552 | 834 | 6,911 | 5.465228 | 0.165468 | 0.11584 | 0.071084 | 0.078982 | 0.787626 | 0.755595 | 0.736946 | 0.736946 | 0.736946 | 0.719833 | 0 | 0.007014 | 0.216032 | 6,911 | 158 | 80 | 43.740506 | 0.834256 | 0.086818 | 0 | 0.652174 | 0 | 0 | 0.019854 | 0.008418 | 0 | 0 | 0 | 0 | 0.182609 | 1 | 0.06087 | false | 0.008696 | 0.034783 | 0.008696 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
96bb55feace540aa0aa3d07f547619d09496aabc | 3,089 | py | Python | stats/migrations/0002_db_thinning.py | Zalewa/doomstats | b8a76e7fa5c88b94a3f04e2c4334349f6655b1ea | [
"BSD-2-Clause"
] | null | null | null | stats/migrations/0002_db_thinning.py | Zalewa/doomstats | b8a76e7fa5c88b94a3f04e2c4334349f6655b1ea | [
"BSD-2-Clause"
] | null | null | null | stats/migrations/0002_db_thinning.py | Zalewa/doomstats | b8a76e7fa5c88b94a3f04e2c4334349f6655b1ea | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2019-08-12 14:28
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('stats', '0001_initial'),
]
operations = [
migrations.RemoveField(
mode... | 25.319672 | 49 | 0.498219 | 213 | 3,089 | 7.079812 | 0.258216 | 0.264589 | 0.327586 | 0.377984 | 0.578249 | 0.575597 | 0.058355 | 0 | 0 | 0 | 0 | 0.011696 | 0.391065 | 3,089 | 121 | 50 | 25.528926 | 0.790005 | 0.022337 | 0 | 0.719298 | 1 | 0 | 0.152138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.04386 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
739d50c805945a2ad73807fc92b919e1bd2ecadf | 66 | py | Python | BlockChain/CreateWallet/__init__.py | Kota95/CryptoCurrency | d5fc49b04f9eee8bf2b07ba0c8a11aca774e72fe | [
"MIT"
] | 1 | 2021-07-02T10:14:59.000Z | 2021-07-02T10:14:59.000Z | BlockChain/CreateWallet/__init__.py | Kota95/CryptoCurrency | d5fc49b04f9eee8bf2b07ba0c8a11aca774e72fe | [
"MIT"
] | null | null | null | BlockChain/CreateWallet/__init__.py | Kota95/CryptoCurrency | d5fc49b04f9eee8bf2b07ba0c8a11aca774e72fe | [
"MIT"
] | null | null | null | from .generatekey import KeyGenerator
from .VNRcoin import VNRcoin | 33 | 37 | 0.863636 | 8 | 66 | 7.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 38 | 33 | 0.966102 | 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 | 0 | 0 | 0 | 5 |
73cbbef69e85f224879ea9910422283ed8de7388 | 1,660 | py | Python | policosm/readwrite/adjacency_matrix.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 6 | 2017-06-05T07:30:46.000Z | 2022-03-07T00:47:22.000Z | policosm/readwrite/adjacency_matrix.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 1 | 2017-12-14T05:40:42.000Z | 2017-12-14T05:40:42.000Z | policosm/readwrite/adjacency_matrix.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 1 | 2020-10-22T19:18:30.000Z | 2020-10-22T19:18:30.000Z | """Read and write graphs in adjacency matrix format.
Adjacency matrix saves a graph as
1 - a list of vertices of size n
2 - a matrix of vertices x vertices of size n^2
The matrix is symmetrical if for an undirected graph.
This implementation does not support mixed graphs (directed and
undirected edges togeth... | 31.320755 | 102 | 0.677711 | 246 | 1,660 | 4.54065 | 0.430894 | 0.067144 | 0.037601 | 0.026858 | 0.27932 | 0.213071 | 0.213071 | 0.213071 | 0.137869 | 0.137869 | 0 | 0.010148 | 0.228313 | 1,660 | 52 | 103 | 31.923077 | 0.861827 | 0.775904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0.4 | false | 0.2 | 0.2 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
73d9b495a0cfddce6c844ff97814448f2cc42d45 | 224 | py | Python | util.py | rrajasek95/lexrank-demo | f7c225217331894b9aaaa92e1b21974b16817bff | [
"BSD-2-Clause"
] | null | null | null | util.py | rrajasek95/lexrank-demo | f7c225217331894b9aaaa92e1b21974b16817bff | [
"BSD-2-Clause"
] | null | null | null | util.py | rrajasek95/lexrank-demo | f7c225217331894b9aaaa92e1b21974b16817bff | [
"BSD-2-Clause"
] | null | null | null | def preprocess_sotu_text(text):
removed_applause_text = text.replace('(Applause.)', ' ')
removed_ddash_text = removed_applause_text.replace('--', ' ')
processed_text = removed_ddash_text
return processed_text | 44.8 | 65 | 0.736607 | 26 | 224 | 5.884615 | 0.384615 | 0.215686 | 0.248366 | 0.300654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 224 | 5 | 66 | 44.8 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
73f3664ff974b22dc683ef09013aa2b362c3cf5f | 139 | py | Python | ApplicationServer/controllers/__init__.py | paltmey/scias | 9006b85ad5a0084d7501413649e0679ba8adbe63 | [
"MIT"
] | null | null | null | ApplicationServer/controllers/__init__.py | paltmey/scias | 9006b85ad5a0084d7501413649e0679ba8adbe63 | [
"MIT"
] | null | null | null | ApplicationServer/controllers/__init__.py | paltmey/scias | 9006b85ad5a0084d7501413649e0679ba8adbe63 | [
"MIT"
] | null | null | null | from search_controller import SearchController
from static_controller import StaticController
from video_controller import VideoController
| 34.75 | 46 | 0.913669 | 15 | 139 | 8.266667 | 0.6 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 139 | 3 | 47 | 46.333333 | 0.976378 | 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 | 0 | 0 | 0 | 5 |
73fb02ae8e019d3bc60c7c0493b32d1d85728bf8 | 129 | py | Python | PARAMETERS.py | wjsdjqqpxj/Image-featurizeImages-and-clustering | 95595fe73a3adf0251a542c48ce47d755dd5724c | [
"MIT"
] | null | null | null | PARAMETERS.py | wjsdjqqpxj/Image-featurizeImages-and-clustering | 95595fe73a3adf0251a542c48ce47d755dd5724c | [
"MIT"
] | null | null | null | PARAMETERS.py | wjsdjqqpxj/Image-featurizeImages-and-clustering | 95595fe73a3adf0251a542c48ce47d755dd5724c | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:36bb5dfcec4387c0661716a12f0f6b7879922a344793256d8cd24e38d49bdd48
size 4550
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.414634 | 0.046512 | 129 | 3 | 76 | 43 | 0.512195 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fbc23e665e7a74fa92a72df4432c26fdf25db40f | 325 | py | Python | Server/app/main/model/login_model.py | Niewidzialny84/PathFighters | 9cf9cfcde60cb5e57c5c68ba995c34955b78caf9 | [
"MIT"
] | 9 | 2021-08-19T16:57:13.000Z | 2022-01-25T16:14:11.000Z | Server/app/main/model/login_model.py | Niewidzialny84/PathFighters | 9cf9cfcde60cb5e57c5c68ba995c34955b78caf9 | [
"MIT"
] | 29 | 2021-10-18T15:37:53.000Z | 2022-01-26T08:28:37.000Z | Server/app/main/model/login_model.py | Niewidzialny84/PathFighters | 9cf9cfcde60cb5e57c5c68ba995c34955b78caf9 | [
"MIT"
] | 1 | 2022-01-19T01:53:11.000Z | 2022-01-19T01:53:11.000Z | import json
class Login(object):
""" Login Model for storing login details. """
def __init__(self, username, password):
self.username = username
self.password = password
def __repr__(self):
return "{\"username\":\"'{}'\", \"password\":\"'{}'\"}".format(self.username, self.password)... | 29.545455 | 100 | 0.603077 | 33 | 325 | 5.69697 | 0.515152 | 0.191489 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 325 | 11 | 101 | 29.545455 | 0.737255 | 0.116923 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.428571 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
837bdf46bda00422d0e0d2dd5c1adf8b0eee94bd | 201 | py | Python | menpofit/unified_aam_clm/__init__.py | grigorisg9gr/menpofit | c20c21d07894d72a5017431df8e881c80e635f50 | [
"BSD-3-Clause"
] | 124 | 2015-01-12T07:39:18.000Z | 2022-03-31T05:27:07.000Z | menpofit/unified_aam_clm/__init__.py | grigorisg9gr/menpofit | c20c21d07894d72a5017431df8e881c80e635f50 | [
"BSD-3-Clause"
] | 80 | 2015-01-05T16:17:39.000Z | 2020-11-22T13:42:00.000Z | menpofit/unified_aam_clm/__init__.py | grigorisg9gr/menpofit | c20c21d07894d72a5017431df8e881c80e635f50 | [
"BSD-3-Clause"
] | 64 | 2015-02-02T15:11:38.000Z | 2022-02-28T06:19:31.000Z | from .base import UnifiedAAMCLM
from .fitter import UnifiedAAMCLMFitter
from .algorithm import (ProjectOutRegularisedLandmarkMeanShift,
AlternatingRegularisedLandmarkMeanShift)
| 40.2 | 64 | 0.78607 | 13 | 201 | 12.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18408 | 201 | 4 | 65 | 50.25 | 0.963415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 0 | 5 |
83cb953c73ec8bfc93a295d4648e7eca1adae310 | 101 | py | Python | cascadenet/util/strutil.py | myyaqubpython/https-github.com-cq615-Deep-MRI-Reconstruction | 4484cff9f1e19ff9874c279c5c5d6cf2a317ddbf | [
"Apache-2.0"
] | 260 | 2017-05-31T15:05:02.000Z | 2022-03-25T11:17:12.000Z | cascadenet/util/strutil.py | chrisyxue/Deep-MRI-Reconstruction | d8a40efd892e57799c3413630e5cb92d5b035cf8 | [
"Apache-2.0"
] | 7 | 2017-11-09T07:07:00.000Z | 2020-02-24T12:02:24.000Z | cascadenet/util/strutil.py | chrisyxue/Deep-MRI-Reconstruction | d8a40efd892e57799c3413630e5cb92d5b035cf8 | [
"Apache-2.0"
] | 103 | 2017-05-31T22:49:17.000Z | 2022-03-01T18:35:20.000Z | import lasagne
from lasagne.layers import get_all_layers
from collections import deque, defaultdict
| 20.2 | 42 | 0.861386 | 14 | 101 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 4 | 43 | 25.25 | 0.955056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
83d416e231884b4d6737491f992d4b2612357970 | 15,502 | py | Python | tests/preprocessors/linux.py | hyuunnn/plaso | f888173c707126f117e1b6b53e89660d5a04f702 | [
"Apache-2.0"
] | 1 | 2021-10-08T13:23:44.000Z | 2021-10-08T13:23:44.000Z | tests/preprocessors/linux.py | hyuunnn/plaso | f888173c707126f117e1b6b53e89660d5a04f702 | [
"Apache-2.0"
] | null | null | null | tests/preprocessors/linux.py | hyuunnn/plaso | f888173c707126f117e1b6b53e89660d5a04f702 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the Linux preprocess plug-ins."""
import unittest
from dfvfs.helpers import fake_file_system_builder
from dfvfs.path import fake_path_spec
from plaso.preprocessors import linux
from tests.preprocessors import test_lib
class LinuxHostnamePluginTest(test_l... | 38.85213 | 79 | 0.764869 | 1,800 | 15,502 | 6.285 | 0.122222 | 0.084858 | 0.115708 | 0.037125 | 0.792186 | 0.774949 | 0.768762 | 0.726156 | 0.718731 | 0.718731 | 0 | 0.009883 | 0.131918 | 15,502 | 398 | 80 | 38.949749 | 0.830794 | 0.081151 | 0 | 0.608696 | 0 | 0.023715 | 0.161281 | 0.098282 | 0 | 0 | 0 | 0 | 0.114625 | 1 | 0.039526 | false | 0.039526 | 0.019763 | 0 | 0.110672 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83d45ac5724385645ab42d51a23f25f6a3abeefd | 66 | py | Python | chatbot/__main__.py | WLAN-Pi/wlanpi-chat-bot | c0dff0779eb873bd074fd0a579798252e4018ee2 | [
"MIT"
] | 1 | 2021-12-05T06:25:17.000Z | 2021-12-05T06:25:17.000Z | chatbot/__main__.py | WLAN-Pi/wlanpi-chat-bot | c0dff0779eb873bd074fd0a579798252e4018ee2 | [
"MIT"
] | 6 | 2021-12-07T01:18:57.000Z | 2022-02-18T05:05:24.000Z | chatbot/__main__.py | WLAN-Pi/wlanpi-chat-bot | c0dff0779eb873bd074fd0a579798252e4018ee2 | [
"MIT"
] | 1 | 2021-07-17T20:09:47.000Z | 2021-07-17T20:09:47.000Z | import sys
from chatbot import chatbot
sys.exit(chatbot.main())
| 11 | 27 | 0.772727 | 10 | 66 | 5.1 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 5 | 28 | 13.2 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
83e649da2c41c15e0b69e8b26ecd6407166037be | 31 | py | Python | doc/demo/demo.py | monaqa/satysfi-code-printer | 5059547f403a6845a1d06084f86304034eedc37c | [
"MIT"
] | 8 | 2021-09-03T12:58:40.000Z | 2022-01-18T00:18:25.000Z | doc/demo/demo.py | monaqa/satysfi-code-printer | 5059547f403a6845a1d06084f86304034eedc37c | [
"MIT"
] | 3 | 2021-09-05T10:06:35.000Z | 2021-09-11T09:16:15.000Z | doc/demo/demo.py | monaqa/satysfi-code-printer | 5059547f403a6845a1d06084f86304034eedc37c | [
"MIT"
] | 1 | 2021-09-05T11:55:06.000Z | 2021-09-05T11:55:06.000Z | # commnet
print('Hello World!') | 15.5 | 21 | 0.709677 | 4 | 31 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 2 | 21 | 15.5 | 0.785714 | 0.225806 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f7a927f225c5eb51aecd1e3b37bb64be01f369f3 | 191 | py | Python | mujoco/setup1/jax_rl/wrappers/single_precision.py | EvieQ01/Learning-Feasibility-Different-Dynamics | 73786b11137b8ba9840d00ec4d258c1296b0a595 | [
"MIT"
] | null | null | null | mujoco/setup1/jax_rl/wrappers/single_precision.py | EvieQ01/Learning-Feasibility-Different-Dynamics | 73786b11137b8ba9840d00ec4d258c1296b0a595 | [
"MIT"
] | null | null | null | mujoco/setup1/jax_rl/wrappers/single_precision.py | EvieQ01/Learning-Feasibility-Different-Dynamics | 73786b11137b8ba9840d00ec4d258c1296b0a595 | [
"MIT"
] | null | null | null | import gym
import numpy as np
class SinglePrecision(gym.ObservationWrapper):
def observation(self, observation: np.ndarray) -> np.ndarray:
return observation.astype(np.float32)
| 23.875 | 65 | 0.753927 | 23 | 191 | 6.26087 | 0.652174 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.157068 | 191 | 7 | 66 | 27.285714 | 0.881988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
7905150224459f866e184f0f054cc29291b92d46 | 84 | py | Python | baloo/core/indexes/__init__.py | cda-group/baloo | 0d442117c2a919b177e0a96024cbdc82762cb646 | [
"BSD-3-Clause"
] | 11 | 2018-12-16T00:19:39.000Z | 2021-01-06T04:56:02.000Z | baloo/core/indexes/__init__.py | monner/baloo | f6e05e35b73a75e8a300754c6bdc575e5f2d53b9 | [
"BSD-3-Clause"
] | 6 | 2019-02-21T23:22:14.000Z | 2021-06-01T22:39:32.000Z | baloo/core/indexes/__init__.py | monner/baloo | f6e05e35b73a75e8a300754c6bdc575e5f2d53b9 | [
"BSD-3-Clause"
] | 6 | 2019-02-12T14:30:43.000Z | 2020-03-15T17:17:56.000Z | from .base import Index
from .multi import MultiIndex
from .range import RangeIndex
| 21 | 29 | 0.821429 | 12 | 84 | 5.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 30 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
f70cc72811e78a54aee8eb1e02a003cb5c2b56ec | 234 | py | Python | script/translations/const.py | fb22/home-assistant | a95ab9c8099e321a5be0e2d6689258ac9c262636 | [
"Apache-2.0"
] | null | null | null | script/translations/const.py | fb22/home-assistant | a95ab9c8099e321a5be0e2d6689258ac9c262636 | [
"Apache-2.0"
] | 6 | 2021-02-08T20:54:31.000Z | 2022-03-12T00:50:43.000Z | script/translations/const.py | fb22/home-assistant | a95ab9c8099e321a5be0e2d6689258ac9c262636 | [
"Apache-2.0"
] | null | null | null | """Translation constants."""
import pathlib
PROJECT_ID = "130246255a974bd3b5e8a1.51616605"
DOCKER_IMAGE = "b8329d20280263cad04f65b843e54b9e8e6909a348a678eac959550b5ef5c75f"
INTEGRATIONS_DIR = pathlib.Path("homeassistant/components")
| 33.428571 | 81 | 0.850427 | 17 | 234 | 11.529412 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304545 | 0.059829 | 234 | 6 | 82 | 39 | 0.586364 | 0.094017 | 0 | 0 | 0 | 0 | 0.57767 | 0.57767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
f73f9e1cc5c2d338e6511f7da9a270608239b3fd | 190 | py | Python | shoptools/contrib/accounts/__init__.py | gregplaysguitar/django-shoptools | 7af9b69409d146b3627931430714b934122a2498 | [
"BSD-3-Clause"
] | 3 | 2015-09-11T01:24:25.000Z | 2018-08-19T16:47:09.000Z | shoptools/contrib/accounts/__init__.py | gregplaysguitar/django-shoptools | 7af9b69409d146b3627931430714b934122a2498 | [
"BSD-3-Clause"
] | 29 | 2015-10-06T22:15:50.000Z | 2017-12-14T20:50:52.000Z | shoptools/contrib/accounts/__init__.py | gregplaysguitar/django-shoptools | 7af9b69409d146b3627931430714b934122a2498 | [
"BSD-3-Clause"
] | 5 | 2015-10-05T23:33:51.000Z | 2019-01-14T19:49:40.000Z | def get_account(user):
from .models import Account
return Account.objects.for_user(user)
def get_data(request):
from .util import account_data
return account_data(request)
| 21.111111 | 41 | 0.747368 | 27 | 190 | 5.074074 | 0.481481 | 0.087591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 190 | 8 | 42 | 23.75 | 0.878205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f7565e66153f8c452f5a2f6f65064164698a22fd | 1,712 | py | Python | data_blocks/cuvinte_sablon.py | slevi123/bacalaureat | ed016d0ab04cda7d166c36c0ff4cee63acdd6449 | [
"MIT"
] | 1 | 2022-03-09T06:46:18.000Z | 2022-03-09T06:46:18.000Z | data_blocks/cuvinte_sablon.py | slevi123/bacalaureat | ed016d0ab04cda7d166c36c0ff4cee63acdd6449 | [
"MIT"
] | null | null | null | data_blocks/cuvinte_sablon.py | slevi123/bacalaureat | ed016d0ab04cda7d166c36c0ff4cee63acdd6449 | [
"MIT"
] | null | null | null | from models import Substantiv, Verb, StructAlt
cuvinte_din_enigma_otiliei = [
[Substantiv,
lambda cuvant:cuvant["singular"]["nume"],
"search_value",
[
{"singular": {"nume": "", "nev": ""}},
{"singular": {"nume": "", "nev": ""}},
{"singular": {"nume": "",... | 33.568627 | 53 | 0.317757 | 105 | 1,712 | 5.133333 | 0.171429 | 0.363636 | 0.333952 | 0.469388 | 0.658627 | 0.658627 | 0.658627 | 0.658627 | 0.658627 | 0.658627 | 0 | 0 | 0.363318 | 1,712 | 51 | 54 | 33.568627 | 0.494495 | 0.060164 | 0 | 0.652174 | 0 | 0 | 0.230386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.021739 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 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 | 5 |
e38f42927ea074108d31857b41d08850c50c6c3f | 24 | py | Python | list_akanksha.py | balestramatan/time-tracker | cc3fb4613dabb66a21156b3308673e0f79bc6d9b | [
"Apache-2.0"
] | null | null | null | list_akanksha.py | balestramatan/time-tracker | cc3fb4613dabb66a21156b3308673e0f79bc6d9b | [
"Apache-2.0"
] | null | null | null | list_akanksha.py | balestramatan/time-tracker | cc3fb4613dabb66a21156b3308673e0f79bc6d9b | [
"Apache-2.0"
] | null | null | null | print("Matan Balestra")
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e3bfbc773a5a917985b12e4f134bcecf4e2656b6 | 11,209 | py | Python | matrix_vector/tests/test_matrix.py | Guldjan/matrix-vector | fe85eebcf9dfaae486a9ebc152e342ca9bd1c70c | [
"MIT"
] | null | null | null | matrix_vector/tests/test_matrix.py | Guldjan/matrix-vector | fe85eebcf9dfaae486a9ebc152e342ca9bd1c70c | [
"MIT"
] | null | null | null | matrix_vector/tests/test_matrix.py | Guldjan/matrix-vector | fe85eebcf9dfaae486a9ebc152e342ca9bd1c70c | [
"MIT"
] | null | null | null | from unittest import TestCase
import matrix_vector as m
class TestMatrix(TestCase):
def test_rows(self):
self.assertEqual(m.Matrix([1, 2, 3],
[5, 6, 7],
[8, 9, 10]).rows(), 3)
def test_colums(self):
self.assertEqual(m.Matrix(... | 35.359621 | 79 | 0.32465 | 1,310 | 11,209 | 2.701527 | 0.080916 | 0.150325 | 0.13111 | 0.124611 | 0.7423 | 0.72902 | 0.712913 | 0.699068 | 0.693134 | 0.681548 | 0 | 0.16592 | 0.521991 | 11,209 | 316 | 80 | 35.471519 | 0.494588 | 0 | 0 | 0.615108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161871 | 1 | 0.133094 | false | 0 | 0.007194 | 0 | 0.143885 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 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 | 5 |
e3c5b792305aacfb450eb761a013f9c092155520 | 1,286 | py | Python | student_records/models.py | HillaryOkello/CIT-blockchain-DB | 0b931e196da43a87bf842cee0e130f57557169bd | [
"MIT"
] | 1 | 2021-12-10T13:54:38.000Z | 2021-12-10T13:54:38.000Z | student_records/models.py | HillaryOkello/CIT-blockchain-DB | 0b931e196da43a87bf842cee0e130f57557169bd | [
"MIT"
] | null | null | null | student_records/models.py | HillaryOkello/CIT-blockchain-DB | 0b931e196da43a87bf842cee0e130f57557169bd | [
"MIT"
] | null | null | null | from django.db import models
EXAM_CHOICES = (
('pass', 'PASS'),
('fail', 'FAIL'),
)
class StudentRecord(models.Model):
first_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50)
dob = models.CharField(max_length=50)
address = models.... | 42.866667 | 95 | 0.723173 | 167 | 1,286 | 5.317365 | 0.323353 | 0.219595 | 0.263514 | 0.351351 | 0.653153 | 0.474099 | 0.334459 | 0.334459 | 0.334459 | 0.334459 | 0 | 0.027701 | 0.157854 | 1,286 | 29 | 96 | 44.344828 | 0.792244 | 0 | 0 | 0 | 0 | 0 | 0.057632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0.291667 | 0.041667 | 0.041667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
581203ecca1671779e7279c0e23084e54a040f15 | 68 | py | Python | cirq-core/cirq/testing/_compat_test_data/module_a/sub/__init__.py | Saibaba-Alapati/Cirq | 782efcd04c3bbf73a0d630306a3d1cfd9966521d | [
"Apache-2.0"
] | 3,326 | 2018-07-18T23:17:21.000Z | 2022-03-29T22:28:24.000Z | cirq-core/cirq/testing/_compat_test_data/module_a/sub/__init__.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 3,443 | 2018-07-18T21:07:28.000Z | 2022-03-31T20:23:21.000Z | cirq-core/cirq/testing/_compat_test_data/module_a/sub/__init__.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 865 | 2018-07-18T23:30:24.000Z | 2022-03-30T11:43:23.000Z | from cirq.testing._compat_test_data.module_a.sub.subsub import dupe
| 34 | 67 | 0.867647 | 12 | 68 | 4.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 68 | 1 | 68 | 68 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
5844e3a1b3b22c65f0782cbe5d95edd98539a76d | 111 | py | Python | tests/conftest.py | cmcaine/sanic | 076cf51fb295e7624968db766fd613aa3948289d | [
"MIT"
] | null | null | null | tests/conftest.py | cmcaine/sanic | 076cf51fb295e7624968db766fd613aa3948289d | [
"MIT"
] | 1 | 2018-10-07T15:15:28.000Z | 2018-10-07T15:15:28.000Z | tests/conftest.py | cmcaine/sanic | 076cf51fb295e7624968db766fd613aa3948289d | [
"MIT"
] | null | null | null | import pytest
from sanic import Sanic
@pytest.fixture
def app(request):
return Sanic(request.node.name)
| 12.333333 | 35 | 0.756757 | 16 | 111 | 5.25 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 111 | 8 | 36 | 13.875 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
58a7926fd3f83ef52cb5937ebf68c9611e91069d | 204 | py | Python | codar/__init__.py | CODARcode/cheetah | 2d7148fad2e549a080e902e4fac180d9f22a9dc9 | [
"Apache-2.0"
] | 8 | 2018-07-11T19:55:37.000Z | 2022-02-03T20:55:32.000Z | codar/__init__.py | CODARcode/cheetah | 2d7148fad2e549a080e902e4fac180d9f22a9dc9 | [
"Apache-2.0"
] | 196 | 2017-06-13T14:48:05.000Z | 2022-03-02T21:53:39.000Z | codar/__init__.py | CODARcode/cheetah | 2d7148fad2e549a080e902e4fac180d9f22a9dc9 | [
"Apache-2.0"
] | 7 | 2018-07-02T16:50:43.000Z | 2022-02-08T16:06:54.000Z | # pkgutil-style namespace package
# See https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
| 51 | 104 | 0.818627 | 24 | 204 | 6.25 | 0.625 | 0.16 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053922 | 204 | 3 | 105 | 68 | 0.777202 | 0.651961 | 0 | 0 | 0 | 0 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
545168357c90732d0b820782d9ce58eb22b718d9 | 118 | py | Python | snow/resource/query/__init__.py | sulbig/snow | 2f838a0bdf9b626cec5119c03b743abe812db311 | [
"MIT"
] | null | null | null | snow/resource/query/__init__.py | sulbig/snow | 2f838a0bdf9b626cec5119c03b743abe812db311 | [
"MIT"
] | null | null | null | snow/resource/query/__init__.py | sulbig/snow | 2f838a0bdf9b626cec5119c03b743abe812db311 | [
"MIT"
] | null | null | null | from .builder import QueryBuilder
from .condition import Condition
from .utils import select
from .operators import *
| 23.6 | 33 | 0.822034 | 15 | 118 | 6.466667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 4 | 34 | 29.5 | 0.95098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
546bf73c6f991e7e8af609172eb626e96c726417 | 415 | py | Python | backend/sources/smart_forms_types/__init__.py | TeamUnibuc/SmartForms | db558b057468dafd3adbb85d6405697f8c7b7342 | [
"MIT"
] | null | null | null | backend/sources/smart_forms_types/__init__.py | TeamUnibuc/SmartForms | db558b057468dafd3adbb85d6405697f8c7b7342 | [
"MIT"
] | 2 | 2022-02-18T09:43:17.000Z | 2022-03-02T23:18:03.000Z | backend/sources/smart_forms_types/__init__.py | TeamUnibuc/SmartForms | db558b057468dafd3adbb85d6405697f8c7b7342 | [
"MIT"
] | null | null | null | """
Types used for storing / processing documents.
"""
import uuid
def generate_uuid():
"""
generates an unique ID.
the probability of collisions between different
uuids is beyond negligable.
"""
return str(uuid.uuid1())
from smart_forms_types.pdf_form import *
from smart_forms_types.models i... | 21.842105 | 51 | 0.744578 | 55 | 415 | 5.418182 | 0.654545 | 0.120805 | 0.187919 | 0.255034 | 0.251678 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002933 | 0.178313 | 415 | 18 | 52 | 23.055556 | 0.870968 | 0.351807 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.714286 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
54824b0e02429e39308e12e4317c4d0ff796c576 | 49 | py | Python | docnetdb/tests/__init__.py | fsabre/DocNetDB | c749a345e644b63219bd544967bed563299fd42c | [
"MIT"
] | 4 | 2020-01-27T13:10:58.000Z | 2020-09-12T12:10:22.000Z | docnetdb/tests/__init__.py | fsabre/DocNetDB | c749a345e644b63219bd544967bed563299fd42c | [
"MIT"
] | null | null | null | docnetdb/tests/__init__.py | fsabre/DocNetDB | c749a345e644b63219bd544967bed563299fd42c | [
"MIT"
] | null | null | null | """This package is used for testing the code."""
| 24.5 | 48 | 0.693878 | 8 | 49 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 1 | 49 | 49 | 0.829268 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5497c4f543503480cacc6d025d9f4f49b7ac6e99 | 35 | py | Python | gan/dcgan/__init__.py | valentingol/GANJax | ebcb8f4412277da2d9bda80282c2842d111bf393 | [
"MIT"
] | 9 | 2021-11-20T18:25:37.000Z | 2021-12-13T23:32:35.000Z | gan/dcgan/__init__.py | valentingol/GANJax | ebcb8f4412277da2d9bda80282c2842d111bf393 | [
"MIT"
] | 4 | 2021-12-04T15:30:58.000Z | 2022-01-20T13:13:32.000Z | gan/dcgan/__init__.py | valentingol/GANJax | ebcb8f4412277da2d9bda80282c2842d111bf393 | [
"MIT"
] | 3 | 2022-01-18T00:02:30.000Z | 2022-03-10T09:22:43.000Z | from gan.dcgan.DCGAN import DCGAN
| 11.666667 | 33 | 0.8 | 6 | 35 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 34 | 17.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
49b01b0b3ff4a39873d8e8bce17004977a121404 | 135 | py | Python | matchms/importing/__init__.py | fossabot/matchms | 090db31b22829dc224e5ed78fb4901e8c14a8e92 | [
"Apache-2.0"
] | null | null | null | matchms/importing/__init__.py | fossabot/matchms | 090db31b22829dc224e5ed78fb4901e8c14a8e92 | [
"Apache-2.0"
] | null | null | null | matchms/importing/__init__.py | fossabot/matchms | 090db31b22829dc224e5ed78fb4901e8c14a8e92 | [
"Apache-2.0"
] | null | null | null | from .load_from_mgf import load_from_mgf
from .load_adducts import load_adducts
__all__ = [
"load_from_mgf",
"load_adducts"
]
| 16.875 | 40 | 0.755556 | 20 | 135 | 4.45 | 0.3 | 0.269663 | 0.370787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17037 | 135 | 7 | 41 | 19.285714 | 0.794643 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
49bef56a3df8ee7fd1e011e50565efade848f085 | 261 | py | Python | news/utils.py | kthaisse/website | be0d0e0763ae2a6b8351c08b432229eae9521f1d | [
"MIT"
] | null | null | null | news/utils.py | kthaisse/website | be0d0e0763ae2a6b8351c08b432229eae9521f1d | [
"MIT"
] | null | null | null | news/utils.py | kthaisse/website | be0d0e0763ae2a6b8351c08b432229eae9521f1d | [
"MIT"
] | null | null | null | from typing import List
from news.models import Article, Pin
def get_latest_articles() -> List[Article]:
return Article.objects.published().order_by("-created_at")[:5]
def get_latest_pin() -> Pin:
return Pin.objects.order_by("-created_at").first()
| 21.75 | 66 | 0.727969 | 38 | 261 | 4.789474 | 0.552632 | 0.065934 | 0.131868 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004405 | 0.130268 | 261 | 11 | 67 | 23.727273 | 0.797357 | 0 | 0 | 0 | 0 | 0 | 0.084291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
49f5e3ecde93b213e9c54ec1c97d172599f6350b | 129 | py | Python | quad_sim_python/__init__.py | ricardodeazambuja/quad_sim_python | f4afe76399b5325cd9136158b3f52c2b4d5170e5 | [
"MIT"
] | null | null | null | quad_sim_python/__init__.py | ricardodeazambuja/quad_sim_python | f4afe76399b5325cd9136158b3f52c2b4d5170e5 | [
"MIT"
] | null | null | null | quad_sim_python/__init__.py | ricardodeazambuja/quad_sim_python | f4afe76399b5325cd9136158b3f52c2b4d5170e5 | [
"MIT"
] | null | null | null | from .ctrl import Controller
from .quad import Quadcopter
from .potentialField import PotField
from .trajectory import Trajectory | 32.25 | 36 | 0.852713 | 16 | 129 | 6.875 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 129 | 4 | 37 | 32.25 | 0.964912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
49fcc4f2cc61748153abc12604c332133faac3f3 | 4,215 | py | Python | tests/test_optimization.py | rocketscience0/cs207-FinalProject | bb2a38bc2ca341c55cf544d316318798b42efde7 | [
"MIT"
] | 1 | 2019-11-12T18:03:52.000Z | 2019-11-12T18:03:52.000Z | tests/test_optimization.py | rocketscience0/cs207-FinalProject | bb2a38bc2ca341c55cf544d316318798b42efde7 | [
"MIT"
] | 3 | 2019-11-19T20:45:05.000Z | 2019-12-10T14:33:21.000Z | tests/test_optimization.py | rocketscience0/cs207-FinalProject | bb2a38bc2ca341c55cf544d316318798b42efde7 | [
"MIT"
] | null | null | null | """Tests for the optimizations library
"""
import pytest
import numpy as np
from autodiff import operations, optimizations
from autodiff.structures import Number, Array
def rosenbrock(x0, a=1, b=100):
return (a - x0[0]) ** 2 + b * (x0[1] - x0[0] ** 2) ** 2
def bowl(x, xstar=np.array((1, 1))):
return (x - xst... | 28.288591 | 93 | 0.658837 | 545 | 4,215 | 4.86789 | 0.113761 | 0.135695 | 0.107802 | 0.084433 | 0.807765 | 0.751602 | 0.741802 | 0.713155 | 0.667923 | 0.63513 | 0 | 0.036325 | 0.209727 | 4,215 | 148 | 94 | 28.47973 | 0.760132 | 0.02325 | 0 | 0.508929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 1 | 0.178571 | false | 0 | 0.035714 | 0.035714 | 0.258929 | 0.008929 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b70dd8f7a69642750e7403444884c47bd27635dd | 341,236 | py | Python | perceptron/examples/wobbly.py | pedro823/machine-learning | 5988a45e730c9244a543c884268ac8f96252100b | [
"Apache-2.0"
] | null | null | null | perceptron/examples/wobbly.py | pedro823/machine-learning | 5988a45e730c9244a543c884268ac8f96252100b | [
"Apache-2.0"
] | null | null | null | perceptron/examples/wobbly.py | pedro823/machine-learning | 5988a45e730c9244a543c884268ac8f96252100b | [
"Apache-2.0"
] | null | null | null | INPUT = [(1.876489311603698, 1.7303606687714215, 0.9728037706475257), (5.6574759903756995, 2.1734722955447894, 0.07747719089713967), (5.2129957644655205, 2.8092679960989635, 0.6373035052898279), (1.6465081711449898, 0.7767310909329306, 0.5563980481642523), (5.509267370098974, 3.7179836368221317, -0.8433063300360681), (... | 113,745.333333 | 308,767 | 0.802187 | 35,002 | 341,236 | 7.820553 | 0.428861 | 0.038081 | 0.028977 | 0.020633 | 0.082039 | 0.082039 | 0.082039 | 0.082039 | 0.082039 | 0.082021 | 0 | 0.782195 | 0.058622 | 341,236 | 2 | 308,768 | 170,618 | 0.069946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3f7ee38c083493be65aca3a08b22965f0a2ee139 | 208 | py | Python | models/__init__.py | SemyonMakhaev/personal-auth | 32fe00db7c6acc16e49b20178c08a6d2364307d1 | [
"MIT"
] | null | null | null | models/__init__.py | SemyonMakhaev/personal-auth | 32fe00db7c6acc16e49b20178c08a6d2364307d1 | [
"MIT"
] | 2 | 2020-11-13T18:28:47.000Z | 2022-02-10T00:23:02.000Z | models/__init__.py | SemyonMakhaev/personal-auth | 32fe00db7c6acc16e49b20178c08a6d2364307d1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Module producing neural network models."""
from models.limiter import Limiter
from models.modifier import Modifier
from models.recommender import Recommender
| 29.714286 | 45 | 0.769231 | 27 | 208 | 5.925926 | 0.62963 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.115385 | 208 | 6 | 46 | 34.666667 | 0.858696 | 0.399038 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3f9dd506f2a70095d5be654ba127fbd38a7a8e69 | 908 | py | Python | tests/test_utils.py | metwork-framework/opinionated_configparser | d6ed5cf74c80e745febcd0d2ab587ae2c319bbb0 | [
"MIT"
] | null | null | null | tests/test_utils.py | metwork-framework/opinionated_configparser | d6ed5cf74c80e745febcd0d2ab587ae2c319bbb0 | [
"MIT"
] | 2 | 2020-01-15T09:55:11.000Z | 2021-06-21T09:18:51.000Z | tests/test_utils.py | metwork-framework/opinionated_configparser | d6ed5cf74c80e745febcd0d2ab587ae2c319bbb0 | [
"MIT"
] | null | null | null | import sys
from opinionated_configparser import get_real_option, get_variant, get_score
def test_get_real_option():
assert get_real_option("") == ""
assert get_real_option("foo[bar]") == "foo"
assert get_real_option("foo[bar_1]") == "foo"
def test_get_variant():
assert get_variant("") is None
as... | 32.428571 | 76 | 0.669604 | 142 | 908 | 3.964789 | 0.176056 | 0.255773 | 0.198934 | 0.202487 | 0.596803 | 0.417407 | 0.362345 | 0.222025 | 0.222025 | 0.222025 | 0 | 0.020027 | 0.17511 | 908 | 27 | 77 | 33.62963 | 0.731642 | 0 | 0 | 0 | 0 | 0 | 0.159692 | 0 | 0 | 0 | 0 | 0 | 0.761905 | 1 | 0.142857 | true | 0 | 0.095238 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3fb988205b482940c5f4e03e3fdc4957c39fdbeb | 350 | py | Python | period_graph/src/neural-network/software_test.py | a-kulkarn/period_graph | e9b7abc5ab5ab6b6c76c01a542ae786a4ee82539 | [
"MIT"
] | null | null | null | period_graph/src/neural-network/software_test.py | a-kulkarn/period_graph | e9b7abc5ab5ab6b6c76c01a542ae786a4ee82539 | [
"MIT"
] | null | null | null | period_graph/src/neural-network/software_test.py | a-kulkarn/period_graph | e9b7abc5ab5ab6b6c76c01a542ae786a4ee82539 | [
"MIT"
] | null | null | null | #
# This file tests basic usage of training and evaluation.
# NOTE: The training tests must be run beforehand to generate testing data.
#
# NOTE: This test *must* be run in the current directory with python3.
#
import os, subprocess
assert subprocess.call(["python3", "AI_train.py"]) == 0
assert subprocess.call(["pyth... | 26.923077 | 75 | 0.728571 | 52 | 350 | 4.865385 | 0.673077 | 0.047431 | 0.071146 | 0.213439 | 0.229249 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.157143 | 350 | 12 | 76 | 29.166667 | 0.840678 | 0.565714 | 0 | 0 | 1 | 0 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3fd1c5981615288e02cfc163c3442ede9594bf02 | 166 | py | Python | forums/admin.py | bfrederix/django-improv | 23ae4b2cc3b7d38aa2a4d6872ea084247a1e34f6 | [
"Apache-2.0"
] | 1 | 2020-08-07T18:46:19.000Z | 2020-08-07T18:46:19.000Z | forums/admin.py | bfrederix/django-improv | 23ae4b2cc3b7d38aa2a4d6872ea084247a1e34f6 | [
"Apache-2.0"
] | null | null | null | forums/admin.py | bfrederix/django-improv | 23ae4b2cc3b7d38aa2a4d6872ea084247a1e34f6 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from forums.models import Forum, Thread, Reply
admin.site.register(Forum)
admin.site.register(Thread)
admin.site.register(Reply) | 16.6 | 46 | 0.801205 | 24 | 166 | 5.541667 | 0.5 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10241 | 166 | 10 | 47 | 16.6 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3fd59e0e759fa1fe9e2e9a517f02ac7bb05a30ec | 99 | py | Python | first-homework.py | natewachter/ASTR-119 | 4494731fdf69397b9701d6594b60f67326656558 | [
"MIT"
] | null | null | null | first-homework.py | natewachter/ASTR-119 | 4494731fdf69397b9701d6594b60f67326656558 | [
"MIT"
] | 3 | 2020-10-01T17:51:33.000Z | 2020-11-29T23:51:04.000Z | first-homework.py | natewachter/ASTR-119 | 4494731fdf69397b9701d6594b60f67326656558 | [
"MIT"
] | null | null | null | #This program will print my full name and preferred pronouns.
print("Nathaniel Wachter (he/him)")
| 24.75 | 61 | 0.767677 | 15 | 99 | 5.066667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 3 | 62 | 33 | 0.894118 | 0.606061 | 0 | 0 | 0 | 0 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b20feea2e2fbc32e16246269dcb9b45d36111881 | 1,560 | py | Python | tests/fastapi/test_context.py | TheVinhLuong102/Strawberry | 3c442dc19d17bc55c4e26de1db7a9eedc0a228f5 | [
"MIT"
] | null | null | null | tests/fastapi/test_context.py | TheVinhLuong102/Strawberry | 3c442dc19d17bc55c4e26de1db7a9eedc0a228f5 | [
"MIT"
] | 128 | 2021-05-02T20:38:20.000Z | 2022-03-29T23:31:37.000Z | tests/fastapi/test_context.py | TheVinhLuong102/Strawberry | 3c442dc19d17bc55c4e26de1db7a9eedc0a228f5 | [
"MIT"
] | null | null | null | from starlette.testclient import TestClient
import strawberry
from fastapi import FastAPI
from strawberry.fastapi import GraphQLRouter
from strawberry.types import Info
def test_with_context_getter():
@strawberry.type
class Query:
@strawberry.field
def abc(self, info: Info) -> str:
... | 30 | 74 | 0.655128 | 181 | 1,560 | 5.530387 | 0.243094 | 0.03996 | 0.067932 | 0.07992 | 0.735265 | 0.735265 | 0.735265 | 0.735265 | 0.735265 | 0.735265 | 0 | 0.004918 | 0.217949 | 1,560 | 51 | 75 | 30.588235 | 0.815574 | 0 | 0 | 0.666667 | 0 | 0 | 0.087179 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 1 | 0.128205 | false | 0 | 0.128205 | 0.025641 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b74abc84aa87dae8085d3166689477d3a59e1b14 | 453 | py | Python | python/autograd/autograd_functions.py | BenOsborn/Cerci | 5785ae0c9db8a88a5ac8d91aed29cdf0c0c7854a | [
"Apache-2.0"
] | null | null | null | python/autograd/autograd_functions.py | BenOsborn/Cerci | 5785ae0c9db8a88a5ac8d91aed29cdf0c0c7854a | [
"Apache-2.0"
] | null | null | null | python/autograd/autograd_functions.py | BenOsborn/Cerci | 5785ae0c9db8a88a5ac8d91aed29cdf0c0c7854a | [
"Apache-2.0"
] | null | null | null | from autograd_expressions import ExpressionSingle, ExpressionDouble, Variable
from autograd_operators import OperatorSin, OperatorCos, OperatorTan, OperatorLog
from math import e as exp
# Singles
def Sin(a):
return ExpressionSingle(a, OperatorSin)
def Cos(a):
return ExpressionSingle(a, OperatorCos)
def Tan(a... | 26.647059 | 81 | 0.779249 | 55 | 453 | 6.381818 | 0.472727 | 0.059829 | 0.196581 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14128 | 453 | 17 | 82 | 26.647059 | 0.902314 | 0.033113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.272727 | 0.363636 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b7bc20634a6cfaa081f4c26e305d6dea84958993 | 175 | py | Python | Game5/modules/sprites/__init__.py | ttkaixin1998/pikachupythongames | 609a3a5a2be3f5a187c332c7980bb5bb14548f02 | [
"MIT"
] | 4,013 | 2018-06-16T08:00:02.000Z | 2022-03-30T11:48:14.000Z | Game5/modules/sprites/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 22 | 2018-10-18T00:15:50.000Z | 2022-01-13T08:16:15.000Z | Game5/modules/sprites/__init__.py | pigbearcat/Games | b8c47ef1bcce9a9db3f3730c162e6e8e08b508a2 | [
"MIT"
] | 2,172 | 2018-07-20T04:03:14.000Z | 2022-03-31T14:18:29.000Z | '''初始化'''
from .home import Home
from .foods import Foods
from .bullet import Bullet
from .tanks import PlayerTank, EnemyTank
from .scenes import Brick, Iron, Ice, River, Tree | 29.166667 | 49 | 0.765714 | 26 | 175 | 5.153846 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 175 | 6 | 49 | 29.166667 | 0.893333 | 0.017143 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b7c1cb29406f2a421f24d2b615de78b3915fc7f1 | 96 | py | Python | enthought/mayavi/modules/tensor_glyph.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/mayavi/modules/tensor_glyph.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/mayavi/modules/tensor_glyph.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from mayavi.modules.tensor_glyph import *
| 24 | 41 | 0.84375 | 13 | 96 | 5.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 96 | 3 | 42 | 32 | 0.882353 | 0.125 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b7c56bd9699e03c15971ac16d46376b103fe1f76 | 136 | py | Python | apps/whatsapp/admin.py | gameliel/rumplesco | a4c81723edf42d9573b1c530b450bdd6056307a0 | [
"MIT"
] | null | null | null | apps/whatsapp/admin.py | gameliel/rumplesco | a4c81723edf42d9573b1c530b450bdd6056307a0 | [
"MIT"
] | null | null | null | apps/whatsapp/admin.py | gameliel/rumplesco | a4c81723edf42d9573b1c530b450bdd6056307a0 | [
"MIT"
] | null | null | null | from apps.whatsapp.models import Whatsapp
from django.contrib import admin
# Register your models here.
admin.site.register(Whatsapp)
| 19.428571 | 41 | 0.816176 | 19 | 136 | 5.842105 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 136 | 6 | 42 | 22.666667 | 0.925 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4d0f6af38fa8e69961056500c8d15e9accbdc0fb | 3,379 | py | Python | src/start_sub1.py | wook3024/Nested-UNet-for-surface_crack_detection | 45cd62e6aff4b02214a289486d5d4cde1b295075 | [
"MIT"
] | null | null | null | src/start_sub1.py | wook3024/Nested-UNet-for-surface_crack_detection | 45cd62e6aff4b02214a289486d5d4cde1b295075 | [
"MIT"
] | null | null | null | src/start_sub1.py | wook3024/Nested-UNet-for-surface_crack_detection | 45cd62e6aff4b02214a289486d5d4cde1b295075 | [
"MIT"
] | null | null | null | import os
from pynvml import *
from time import sleep
import glob
import shutil
# os.environ["CUDA_VISIBLE_DEVICES"] = cuda_device
<<<<<<< HEAD
select_archs = ['not_unet_efn']
IMG_PROCESSING = 'simple'
# save_folder = 'not_unet_efn_Albu'
save_folders = ['not_unet_efn_Albu']
counts = [2]
=======
select_arch = 'unet+efn... | 34.131313 | 193 | 0.612311 | 427 | 3,379 | 4.637002 | 0.192037 | 0.070707 | 0.045455 | 0.026263 | 0.776768 | 0.776768 | 0.761616 | 0.735354 | 0.669697 | 0.669697 | 0 | 0.054742 | 0.232317 | 3,379 | 98 | 194 | 34.479592 | 0.708558 | 0 | 0 | 0.333333 | 0 | 0.051282 | 0.252952 | 0.1156 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.128205 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4d347b92697380b65ed491a7a72ac822d9f191f8 | 1,872 | py | Python | backend/database/versions/03_fa0950f6df19_add_summary_link.py | chanzuckerberg/dcp-prototype | 24d2323ba5ae1482395da35ea11c42708e3a52ce | [
"MIT"
] | 16 | 2020-05-12T23:25:51.000Z | 2021-06-17T12:04:13.000Z | backend/database/versions/03_fa0950f6df19_add_summary_link.py | chanzuckerberg/corpora-data-portal | 7319e037bc91dd325d1c1bbf7febe18675d57a8c | [
"MIT"
] | 943 | 2020-05-11T18:03:59.000Z | 2021-08-18T21:57:51.000Z | backend/database/versions/03_fa0950f6df19_add_summary_link.py | HumanCellAtlas/dcp-prototype | 44ca66a266004124f39d7d3e3dd75e9076012ff0 | [
"MIT"
] | 2 | 2020-12-19T10:04:24.000Z | 2021-06-19T12:38:23.000Z | """add_summary_link
Revision ID: 03_fa0950f6df19
Revises: 02_7968f161b60c
Create Date: 2020-08-24 11:04:30.640496
"""
from alembic import op
from sqlalchemy.dialects.postgresql import ENUM
# revision identifiers, used by Alembic.
revision = "03_fa0950f6df19"
down_revision = "02_7968f161b60c"
branch_labels = None
de... | 32.275862 | 111 | 0.650107 | 221 | 1,872 | 5.226244 | 0.280543 | 0.114286 | 0.12987 | 0.099567 | 0.711688 | 0.711688 | 0.711688 | 0.711688 | 0.711688 | 0.711688 | 0 | 0.041783 | 0.232906 | 1,872 | 57 | 112 | 32.842105 | 0.762535 | 0.080662 | 0 | 0.682927 | 0 | 0 | 0.349679 | 0.053707 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4d9aac001b4d36e5f2e6a773d2ebb5efe266a50b | 97 | py | Python | pulp_smash/__init__.py | bmbouter/pulp-smash | dcd77e2f7d6b8ac92ab176028bd49a830415956e | [
"CNRI-Python"
] | null | null | null | pulp_smash/__init__.py | bmbouter/pulp-smash | dcd77e2f7d6b8ac92ab176028bd49a830415956e | [
"CNRI-Python"
] | null | null | null | pulp_smash/__init__.py | bmbouter/pulp-smash | dcd77e2f7d6b8ac92ab176028bd49a830415956e | [
"CNRI-Python"
] | null | null | null | # coding=utf-8
"""The root of Pulp Smash's namespace."""
from __future__ import unicode_literals
| 24.25 | 41 | 0.762887 | 15 | 97 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.123711 | 97 | 3 | 42 | 32.333333 | 0.8 | 0.505155 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4dab4562d96b253c5351e8a9a43b8f41a0185a1d | 122 | py | Python | discuss/discuss/settings/production.py | unmade/discuss-project | fbebf942742457891672dc5e6aebf19bdfb61bcc | [
"MIT"
] | 1 | 2019-12-13T02:14:16.000Z | 2019-12-13T02:14:16.000Z | discuss/discuss/settings/production.py | unmade/discuss-project | fbebf942742457891672dc5e6aebf19bdfb61bcc | [
"MIT"
] | null | null | null | discuss/discuss/settings/production.py | unmade/discuss-project | fbebf942742457891672dc5e6aebf19bdfb61bcc | [
"MIT"
] | null | null | null | from .base import * # NOQA
ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['example.com', ])
# TODO: logging
| 20.333333 | 75 | 0.704918 | 16 | 122 | 5.1875 | 0.875 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 5 | 76 | 24.4 | 0.790476 | 0.147541 | 0 | 0 | 0 | 0 | 0.306931 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4dc842c54a47a79d5a82438eb1a74b3c20674d63 | 25 | py | Python | aldryn_django_cms/__init__.py | aldryn/aldryn-django-cms | a2b18f91d5dc2e4d0de9474f831a3a1283c98085 | [
"BSD-3-Clause"
] | 5 | 2015-11-16T15:35:42.000Z | 2017-10-16T06:39:50.000Z | aldryn_django_cms/__init__.py | aldryn/aldryn-django-cms | a2b18f91d5dc2e4d0de9474f831a3a1283c98085 | [
"BSD-3-Clause"
] | 60 | 2015-10-12T10:20:30.000Z | 2017-05-24T12:35:27.000Z | aldryn_django_cms/__init__.py | aldryn/aldryn-django-cms | a2b18f91d5dc2e4d0de9474f831a3a1283c98085 | [
"BSD-3-Clause"
] | 7 | 2015-11-26T13:00:10.000Z | 2018-11-13T10:13:19.000Z | __version__ = '3.10.0.0'
| 12.5 | 24 | 0.64 | 5 | 25 | 2.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.12 | 25 | 1 | 25 | 25 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4dcb81e2d05a47aba3019666cb62c80a1a6950b0 | 224 | py | Python | tutorial-env/lib/python3.7/site-packages/pytest_html/__init__.py | liyinchigithub/feishu-robot | 12060914771684f0148dafd33090116861a24b30 | [
"Apache-2.0"
] | 7 | 2022-03-10T07:03:14.000Z | 2022-03-24T09:42:46.000Z | tutorial-env/lib/python3.7/site-packages/pytest_html/__init__.py | liyinchigithub/feishu-robot | 12060914771684f0148dafd33090116861a24b30 | [
"Apache-2.0"
] | null | null | null | tutorial-env/lib/python3.7/site-packages/pytest_html/__init__.py | liyinchigithub/feishu-robot | 12060914771684f0148dafd33090116861a24b30 | [
"Apache-2.0"
] | 1 | 2022-03-10T07:15:54.000Z | 2022-03-10T07:15:54.000Z | try:
from . import __version
__version__ = __version.version
except ImportError:
# package is not built with setuptools_scm
__version__ = "unknown"
__pypi_url__ = "https://pypi.python.org/pypi/pytest-html"
| 22.4 | 57 | 0.727679 | 27 | 224 | 5.37037 | 0.777778 | 0.289655 | 0.289655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183036 | 224 | 9 | 58 | 24.888889 | 0.79235 | 0.178571 | 0 | 0 | 0 | 0 | 0.258242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
150d89bda9bfb6168c9cae5cffea4c49b4e93c1f | 248 | py | Python | fireworks/core/__init__.py | kellylab/Fireworks | ff027cd8d1b8ce5eec6a37d786e7de675d8c0849 | [
"MIT"
] | 9 | 2019-05-01T01:22:10.000Z | 2020-12-08T15:41:13.000Z | fireworks/core/__init__.py | smk508/Fireworks | ff027cd8d1b8ce5eec6a37d786e7de675d8c0849 | [
"MIT"
] | 53 | 2019-01-20T17:02:38.000Z | 2019-03-24T18:00:08.000Z | fireworks/core/__init__.py | smk508/Fireworks | ff027cd8d1b8ce5eec6a37d786e7de675d8c0849 | [
"MIT"
] | 4 | 2019-07-04T15:39:46.000Z | 2021-08-17T04:59:25.000Z | from . import cache, message, junction, pipe, model
from .message import Message, TensorMessage, cat
from .pipe import Pipe, HookedPassThroughPipe, recursive
from .model import Model, PyTorch_Model, model_from_module
from .junction import Junction
| 41.333333 | 58 | 0.818548 | 32 | 248 | 6.25 | 0.40625 | 0.09 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 248 | 5 | 59 | 49.6 | 0.917431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
1516cc29671e7d42ddfed544f20318ff6c941961 | 89 | py | Python | packages/random/src/expected_value.py | markupCode/mip-examples | 83048ba34432e8c760f5877b80fde9431e3c9bd7 | [
"MIT"
] | null | null | null | packages/random/src/expected_value.py | markupCode/mip-examples | 83048ba34432e8c760f5877b80fde9431e3c9bd7 | [
"MIT"
] | null | null | null | packages/random/src/expected_value.py | markupCode/mip-examples | 83048ba34432e8c760f5877b80fde9431e3c9bd7 | [
"MIT"
] | null | null | null | def expected_value(sample: [float]) -> float:
return (1 / len(sample)) * sum(sample)
| 29.666667 | 45 | 0.651685 | 12 | 89 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.168539 | 89 | 2 | 46 | 44.5 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
12744de14dd41cc13e39d99f60e65e56a4bf9c1d | 169 | py | Python | labcore/measurement/__init__.py | wpfff/labcore | 9ec2919d7ece8c390a621d357080dbb918c6a899 | [
"MIT"
] | 2 | 2021-08-09T20:13:47.000Z | 2021-09-14T03:56:48.000Z | labcore/measurement/__init__.py | wpfff/labcore | 9ec2919d7ece8c390a621d357080dbb918c6a899 | [
"MIT"
] | 2 | 2021-09-14T00:07:24.000Z | 2021-09-15T14:33:55.000Z | labcore/measurement/__init__.py | wpfff/labcore | 9ec2919d7ece8c390a621d357080dbb918c6a899 | [
"MIT"
] | 6 | 2020-11-18T19:29:36.000Z | 2021-09-22T14:48:43.000Z | from .record import recording, record_as, DataSpec, ds, dep, indep, dependent, \
independent, get_parameter
from .sweep import Sweep, sweep_parameter, once, pointer
| 42.25 | 80 | 0.775148 | 22 | 169 | 5.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142012 | 169 | 3 | 81 | 56.333333 | 0.882759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
129b3bb05bd1d8d6593f5950141df3e93ee08c9c | 182 | py | Python | runner_master/runner/data/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | 5 | 2021-09-15T21:48:55.000Z | 2022-03-22T11:21:58.000Z | runner_master/runner/data/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | null | null | null | runner_master/runner/data/__init__.py | bigvideoresearch/SCC | f26cdb6aaf248b5112812dbdac1f1b5086aebccc | [
"MIT"
] | 1 | 2021-08-20T08:40:15.000Z | 2021-08-20T08:40:15.000Z | from . import datasets
from . import samplers
from . import filereaders
from . import imglists
try:
from .dataloader import *
except:
from torch.utils.data import DataLoader
| 20.222222 | 43 | 0.758242 | 23 | 182 | 6 | 0.521739 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 182 | 8 | 44 | 22.75 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 5 |
12d5f0feffb75168d30eb4732a4a4b41b93aac88 | 97 | py | Python | main.py | ig0r-ferreira/calculadora | e3ac09ce169dc43df2a78c787c66537f011c97f6 | [
"MIT"
] | null | null | null | main.py | ig0r-ferreira/calculadora | e3ac09ce169dc43df2a78c787c66537f011c97f6 | [
"MIT"
] | null | null | null | main.py | ig0r-ferreira/calculadora | e3ac09ce169dc43df2a78c787c66537f011c97f6 | [
"MIT"
] | 1 | 2022-03-28T21:12:14.000Z | 2022-03-28T21:12:14.000Z | from interface.calculadora import Calculadora
calculadora = Calculadora()
calculadora.iniciar()
| 19.4 | 45 | 0.835052 | 9 | 97 | 9 | 0.555556 | 0.814815 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 97 | 4 | 46 | 24.25 | 0.920455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.