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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2f62eb2bd16e126e173ae3fb73afbf46ef442d59 | 158 | py | Python | utils/command.py | Etuloser/e-flask | 0cdc6ae324b3cfe696b69b85ad0189516ba9a25f | [
"MIT"
] | null | null | null | utils/command.py | Etuloser/e-flask | 0cdc6ae324b3cfe696b69b85ad0189516ba9a25f | [
"MIT"
] | null | null | null | utils/command.py | Etuloser/e-flask | 0cdc6ae324b3cfe696b69b85ad0189516ba9a25f | [
"MIT"
] | null | null | null | import subprocess
class Command:
def __init__(self):
pass
def get_status_output(self, cmd):
return subprocess.getstatusoutput(cmd)
| 15.8 | 46 | 0.683544 | 18 | 158 | 5.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246835 | 158 | 9 | 47 | 17.555556 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
2f9a5c53b454e23ddef3d9a7c39712a0f3a0324b | 102 | py | Python | googleanalytics/commands/__init__.py | ruber0id/google-analytics | 477e5c109db606d8388350df2508333958ef30a0 | [
"ISC"
] | 170 | 2015-02-16T19:16:41.000Z | 2021-10-11T16:32:17.000Z | googleanalytics/commands/__init__.py | ruber0id/google-analytics | 477e5c109db606d8388350df2508333958ef30a0 | [
"ISC"
] | 46 | 2015-01-05T17:11:57.000Z | 2021-11-07T19:20:54.000Z | googleanalytics/commands/__init__.py | ruber0id/google-analytics | 477e5c109db606d8388350df2508333958ef30a0 | [
"ISC"
] | 64 | 2015-03-27T21:59:18.000Z | 2022-03-16T16:19:45.000Z | # encoding: utf-8
from . import authorize, common, list, query, revoke, shell
from .common import cli | 25.5 | 59 | 0.745098 | 15 | 102 | 5.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.156863 | 102 | 4 | 60 | 25.5 | 0.872093 | 0.147059 | 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 |
2f9f376bd4c0b636b56c6120e107a0f1e0b83c37 | 44 | py | Python | responses/management/commands/__init__.py | nickcatal/petitionviewer | 68b27080235740842da5f03a5d991b668c3daa94 | [
"Apache-2.0"
] | null | null | null | responses/management/commands/__init__.py | nickcatal/petitionviewer | 68b27080235740842da5f03a5d991b668c3daa94 | [
"Apache-2.0"
] | null | null | null | responses/management/commands/__init__.py | nickcatal/petitionviewer | 68b27080235740842da5f03a5d991b668c3daa94 | [
"Apache-2.0"
] | null | null | null | """Management commands for responses app"""
| 22 | 43 | 0.75 | 5 | 44 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.846154 | 0.840909 | 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 |
85f23d56b8373768861b0d12df752d19718cda1b | 145 | py | Python | mymod.py | robbroadhead/PythonCertificationSeries | 15a9907b6bd05d6419e9472b56666dacf7dc8333 | [
"CC0-1.0"
] | null | null | null | mymod.py | robbroadhead/PythonCertificationSeries | 15a9907b6bd05d6419e9472b56666dacf7dc8333 | [
"CC0-1.0"
] | 1 | 2021-08-21T15:20:56.000Z | 2021-08-21T15:20:56.000Z | mymod.py | robbroadhead/PythonCertificationSeries | 15a9907b6bd05d6419e9472b56666dacf7dc8333 | [
"CC0-1.0"
] | null | null | null | # A python module for example purposes
myName = "mymod module for examples"
def add(a,b):
return a + b
def multiply(a,b):
return a * b
| 16.111111 | 38 | 0.662069 | 25 | 145 | 3.84 | 0.56 | 0.083333 | 0.166667 | 0.1875 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 145 | 8 | 39 | 18.125 | 0.872727 | 0.248276 | 0 | 0 | 0 | 0 | 0.233645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
c8015f6104da44980663bebda0a0a7e54da46060 | 154 | py | Python | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex057.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex057.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex057.py | Jhonattan-rocha/Meus-primeiros-programas | f5971b66c0afd049b5d0493e8b7a116b391d058e | [
"MIT"
] | null | null | null | nome = input("Digite seu nome: ")
s = input("Digite seu sexo(M/N): ").upper()
while s != 'M' != 'F':
s = input("Digite seu sexo novamente: ").upper()
| 30.8 | 52 | 0.577922 | 24 | 154 | 3.708333 | 0.5 | 0.370787 | 0.47191 | 0.337079 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188312 | 154 | 4 | 53 | 38.5 | 0.712 | 0 | 0 | 0 | 0 | 0 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c802532a26ffb3a3811fedeb5015b9fdab7f45dc | 2,470 | py | Python | tests/tests_queries.py | ktosiu/tinydb-1 | 34d6ec3a1f462b1bf7e33f88c500c4a93486bea4 | [
"MIT"
] | 1 | 2019-06-27T08:13:10.000Z | 2019-06-27T08:13:10.000Z | tests/tests_queries.py | ktosiu/tinydb-1 | 34d6ec3a1f462b1bf7e33f88c500c4a93486bea4 | [
"MIT"
] | null | null | null | tests/tests_queries.py | ktosiu/tinydb-1 | 34d6ec3a1f462b1bf7e33f88c500c4a93486bea4 | [
"MIT"
] | null | null | null | from nose.tools import *
from tinydb.queries import where
def test_eq():
query = where('value') == 1
assert_true(query({'value': 1}))
assert_false(query({'value': 2}))
def test_ne():
query = where('value') != 1
assert_true(query({'value': 2}))
assert_false(query({'value': 1}))
def test_lt... | 22.87037 | 49 | 0.544534 | 322 | 2,470 | 4.015528 | 0.136646 | 0.178654 | 0.259861 | 0.098995 | 0.798144 | 0.778036 | 0.758701 | 0.705336 | 0.650425 | 0.489559 | 0 | 0.048843 | 0.212551 | 2,470 | 107 | 50 | 23.084112 | 0.615938 | 0 | 0 | 0.454545 | 0 | 0 | 0.113765 | 0 | 0 | 0 | 0 | 0 | 0.506494 | 1 | 0.168831 | false | 0 | 0.025974 | 0.012987 | 0.207792 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c81b64fb9c71cc59c803ae12f6877016ea38b4cd | 118 | py | Python | bin/anthology/__init__.py | nschneid/acl-anthology | d75335fcb95150517416a8a13532c386746d83f0 | [
"Apache-2.0"
] | 221 | 2017-06-05T04:44:41.000Z | 2022-02-11T20:23:31.000Z | bin/anthology/__init__.py | nschneid/acl-anthology | d75335fcb95150517416a8a13532c386746d83f0 | [
"Apache-2.0"
] | 1,498 | 2017-08-09T13:41:49.000Z | 2022-03-31T02:56:58.000Z | bin/anthology/__init__.py | nschneid/acl-anthology | d75335fcb95150517416a8a13532c386746d83f0 | [
"Apache-2.0"
] | 183 | 2017-10-28T00:56:49.000Z | 2022-03-14T14:55:00.000Z | from .anthology import Anthology
from .people import PersonName
from .papers import Paper
from .volumes import Volume
| 23.6 | 32 | 0.830508 | 16 | 118 | 6.125 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 4 | 33 | 29.5 | 0.960784 | 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 |
c087afe5956dca60b99f1b10f9c122a9c51dc60f | 150 | py | Python | shamanld/__init__.py | Prev/shaman | 7878e931a7bdbae99432d16e388e67ee92b1e2bd | [
"MIT"
] | 25 | 2017-07-19T16:03:11.000Z | 2021-05-25T09:47:11.000Z | shamanld/__init__.py | Prev/shaman | 7878e931a7bdbae99432d16e388e67ee92b1e2bd | [
"MIT"
] | null | null | null | shamanld/__init__.py | Prev/shaman | 7878e931a7bdbae99432d16e388e67ee92b1e2bd | [
"MIT"
] | 1 | 2018-04-11T07:39:22.000Z | 2018-04-11T07:39:22.000Z | """
shaman/shaman
-----------------
Programming Language Detector
:author: Prev(prevdev@gmail.com)
:license: MIT
"""
from .shaman import Shaman
| 15 | 33 | 0.64 | 16 | 150 | 6 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 150 | 9 | 34 | 16.666667 | 0.744186 | 0.726667 | 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 |
c0aecdf16bbc3b4eda262d1577e4eede8cb298bb | 42 | py | Python | components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend/rok/__init__.py | phvalguima/kubeflow | d224549f11b671c2ee9e97380e4525bb698c0a68 | [
"Apache-2.0"
] | 9,272 | 2018-01-29T14:14:06.000Z | 2022-03-31T14:01:45.000Z | components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend/rok/__init__.py | zhou762/kubeflow | 5bf005f21647c2238b8f863e9e51e9c81872b2f5 | [
"Apache-2.0"
] | 6,321 | 2018-01-29T14:00:15.000Z | 2022-03-31T21:21:07.000Z | components/crud-web-apps/common/backend/kubeflow/kubeflow/crud_backend/rok/__init__.py | zhou762/kubeflow | 5bf005f21647c2238b8f863e9e51e9c81872b2f5 | [
"Apache-2.0"
] | 1,909 | 2018-01-30T01:31:58.000Z | 2022-03-30T07:43:48.000Z | from .routes import bp # noqa E402, F401
| 21 | 41 | 0.714286 | 7 | 42 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.214286 | 42 | 1 | 42 | 42 | 0.727273 | 0.357143 | 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 |
c0e2305119899e797b7e7f069ea1fddac0231277 | 61 | py | Python | src/seeds/problems/hello-world/python/main.py | tabjy/cmpt383-project | 47b6010b5ec277e8020b0a333cb2ee3fff06928a | [
"MIT"
] | null | null | null | src/seeds/problems/hello-world/python/main.py | tabjy/cmpt383-project | 47b6010b5ec277e8020b0a333cb2ee3fff06928a | [
"MIT"
] | null | null | null | src/seeds/problems/hello-world/python/main.py | tabjy/cmpt383-project | 47b6010b5ec277e8020b0a333cb2ee3fff06928a | [
"MIT"
] | null | null | null | from solution import Solution
print(Solution().helloWorld()) | 20.333333 | 30 | 0.803279 | 7 | 61 | 7 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 61 | 3 | 30 | 20.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
23854706a79139ba1fc02eebbf884d242527e328 | 9 | py | Python | stupidity/braces.py | koirikivi/stupidity | d0190b7af454ee74111e9059d9a61650cd43df83 | [
"MIT"
] | 3 | 2020-05-19T07:24:04.000Z | 2021-03-18T19:29:17.000Z | stupidity/braces.py | koirikivi/stupidity | d0190b7af454ee74111e9059d9a61650cd43df83 | [
"MIT"
] | null | null | null | stupidity/braces.py | koirikivi/stupidity | d0190b7af454ee74111e9059d9a61650cd43df83 | [
"MIT"
] | null | null | null | 'PSYCH!'
| 4.5 | 8 | 0.555556 | 1 | 9 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 9 | 1 | 9 | 9 | 0.625 | 0.666667 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 5 |
2392158c5ebf5785c09e7b7bb7acedb82c2af7b9 | 123 | py | Python | mobtexting_sms/models/__init__.py | mobtexting/mobtexting-odoo | 01b1a6f87fc41b8c9f4099476d00023ff84b8372 | [
"MIT"
] | null | null | null | mobtexting_sms/models/__init__.py | mobtexting/mobtexting-odoo | 01b1a6f87fc41b8c9f4099476d00023ff84b8372 | [
"MIT"
] | null | null | null | mobtexting_sms/models/__init__.py | mobtexting/mobtexting-odoo | 01b1a6f87fc41b8c9f4099476d00023ff84b8372 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -
from . import gateway_setup
from . import ir_actions
from . import send_sms
from . import sms_track
| 17.571429 | 27 | 0.731707 | 19 | 123 | 4.526316 | 0.631579 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.178862 | 123 | 6 | 28 | 20.5 | 0.841584 | 0.154472 | 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 |
23a75b870bd832adda868a89a06c8cc344c797a8 | 173 | py | Python | prediction/endpoints/worker_microsoft.py | ecosystemai/ecosystem-notebooks | 7282f22fbe7ab7a43b2b0c06c74b3f176defaca4 | [
"MIT"
] | 2 | 2020-08-30T12:50:47.000Z | 2020-11-24T12:59:43.000Z | prediction/endpoints/worker_microsoft.py | ecosystemai/ecosystem-notebooks | 7282f22fbe7ab7a43b2b0c06c74b3f176defaca4 | [
"MIT"
] | null | null | null | prediction/endpoints/worker_microsoft.py | ecosystemai/ecosystem-notebooks | 7282f22fbe7ab7a43b2b0c06c74b3f176defaca4 | [
"MIT"
] | 2 | 2020-09-02T16:54:25.000Z | 2021-06-20T20:30:11.000Z | # Worker: Microsoft
GET_ANOMALY = {
"type": "get",
"endpoint": "/getAnomaly",
"call_message": "{type} {endpoint}",
"error_message": "{type} {endpoint} {response_code}"
} | 24.714286 | 53 | 0.653179 | 18 | 173 | 6.055556 | 0.666667 | 0.201835 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121387 | 173 | 7 | 54 | 24.714286 | 0.717105 | 0.098266 | 0 | 0 | 0 | 0 | 0.651613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
23a7e9a09e2c4900060a68a26059fcb3411be5ef | 1,015 | py | Python | Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando/removendo-files.py | Matheusfarmaceutico/Exercicios-Python | d1821bd9d11ea0707074c5fe11dead2e85476ebd | [
"MIT"
] | null | null | null | Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando/removendo-files.py | Matheusfarmaceutico/Exercicios-Python | d1821bd9d11ea0707074c5fe11dead2e85476ebd | [
"MIT"
] | null | null | null | Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando/removendo-files.py | Matheusfarmaceutico/Exercicios-Python | d1821bd9d11ea0707074c5fe11dead2e85476ebd | [
"MIT"
] | null | null | null | import os
try:
os.remove("Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando/teste.txt")
except:
pass
cmd = "git status ."
chamada = os.system(cmd)
print(chamada)
try:
os.rename(src="/home/matheus/Documentos/Repositorios_Linux/Exercicios-Python/Curso Udemy 2022/Nova_organizacao/a... | 37.592593 | 321 | 0.808867 | 140 | 1,015 | 5.728571 | 0.357143 | 0.062344 | 0.087282 | 0.112219 | 0.69202 | 0.69202 | 0.69202 | 0.69202 | 0.69202 | 0.69202 | 0 | 0.032189 | 0.081773 | 1,015 | 27 | 322 | 37.592593 | 0.828326 | 0.037438 | 0 | 0.444444 | 0 | 0.222222 | 0.753327 | 0.659161 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.055556 | 0 | 0.055556 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
23bd110c9738698f1d256ce13e2c741f420f1139 | 451 | py | Python | chapter_10_testing_and_tdd/advanced_pytest/test_markers.py | Tm2197/Python-Architecture-Patterns | 8091b4d8e2580763ceb55a83c75aa9b6225fcb72 | [
"MIT"
] | 12 | 2021-07-20T12:55:39.000Z | 2022-02-05T10:53:38.000Z | chapter_10_testing_and_tdd/advanced_pytest/test_markers.py | Tm2197/Python-Architecture-Patterns | 8091b4d8e2580763ceb55a83c75aa9b6225fcb72 | [
"MIT"
] | null | null | null | chapter_10_testing_and_tdd/advanced_pytest/test_markers.py | Tm2197/Python-Architecture-Patterns | 8091b4d8e2580763ceb55a83c75aa9b6225fcb72 | [
"MIT"
] | 9 | 2021-07-22T06:01:03.000Z | 2022-03-01T05:50:45.000Z | import pytest
from tdd_example import parameter_tdd
@pytest.mark.edge
def test_negative():
assert parameter_tdd(-1) == 0
@pytest.mark.edge
def test_zero():
assert parameter_tdd(0) == 0
def test_five():
assert parameter_tdd(5) == 25
def test_seven():
assert parameter_tdd(7) == 49
@pytest.mark.e... | 14.548387 | 37 | 0.696231 | 68 | 451 | 4.411765 | 0.382353 | 0.28 | 0.36 | 0.226667 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054201 | 0.181818 | 451 | 30 | 38 | 15.033333 | 0.758808 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.111111 | 0 | 0.444444 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9b0968f2114870dce95dd7b1d5f878d6174f1d94 | 230 | py | Python | .ipynb_checkpoints/__init__.py | kfinc/maze-generator | eac806819e328e5c8c8453dd6dd923e060fbbcc4 | [
"Apache-2.0"
] | null | null | null | .ipynb_checkpoints/__init__.py | kfinc/maze-generator | eac806819e328e5c8c8453dd6dd923e060fbbcc4 | [
"Apache-2.0"
] | null | null | null | .ipynb_checkpoints/__init__.py | kfinc/maze-generator | eac806819e328e5c8c8453dd6dd923e060fbbcc4 | [
"Apache-2.0"
] | null | null | null | from .random_maze import random_maze
from .random_shape_maze import random_shape_maze
from .u_maze import u_maze
from .morris_water_maze import morris_water_maze
from .t_maze import t_maze
from .double_t_maze import double_t_maze
| 32.857143 | 48 | 0.869565 | 42 | 230 | 4.333333 | 0.238095 | 0.32967 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 230 | 6 | 49 | 38.333333 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
f1adf0116ee85d99a2204a70292404ec0c64a43c | 24 | py | Python | tests/__init__.py | iboraham/changepoint_detector | 275e378e9deb08a08954c3d73cb4ef8bb72464c2 | [
"MIT"
] | 2 | 2021-11-02T10:49:02.000Z | 2022-02-17T11:38:15.000Z | tests/__init__.py | iboraham/changepoint_detector | 275e378e9deb08a08954c3d73cb4ef8bb72464c2 | [
"MIT"
] | 38 | 2021-08-03T17:28:55.000Z | 2021-08-21T14:52:01.000Z | tests/__init__.py | iboraham/online_changepoint_detector | 275e378e9deb08a08954c3d73cb4ef8bb72464c2 | [
"MIT"
] | null | null | null | import main
main.run()
| 6 | 11 | 0.708333 | 4 | 24 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 3 | 12 | 8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f1b1d4cd97ab99345b89ce0a5f23bc1440605951 | 6,080 | py | Python | eland/tests/ml/test_imported_ml_model_pytest.py | redNixon/eland | 1b9cb1db6d30f0662fe3679c7bb31e2c0865f0c3 | [
"Apache-2.0"
] | null | null | null | eland/tests/ml/test_imported_ml_model_pytest.py | redNixon/eland | 1b9cb1db6d30f0662fe3679c7bb31e2c0865f0c3 | [
"Apache-2.0"
] | null | null | null | eland/tests/ml/test_imported_ml_model_pytest.py | redNixon/eland | 1b9cb1db6d30f0662fe3679c7bb31e2c0865f0c3 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Elasticsearch BV
#
# 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 by applicabl... | 35.976331 | 79 | 0.651809 | 795 | 6,080 | 4.761006 | 0.172327 | 0.057067 | 0.03963 | 0.034875 | 0.76539 | 0.76539 | 0.76539 | 0.76539 | 0.76539 | 0.76539 | 0 | 0.039643 | 0.244901 | 6,080 | 168 | 80 | 36.190476 | 0.784796 | 0.178289 | 0 | 0.630435 | 0 | 0 | 0.042575 | 0.023002 | 0 | 0 | 0 | 0 | 0.065217 | 1 | 0.065217 | false | 0 | 0.152174 | 0 | 0.228261 | 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 |
f1d070ba2314967f762483d0a1ec5c2b7eefc89b | 42,896 | py | Python | census_geocoder/metaclasses.py | insightindustry/census-geocoder | fa2763e82135f2cdea91ab9431ce61769a778296 | [
"MIT"
] | 2 | 2021-12-29T04:34:48.000Z | 2022-01-11T18:23:33.000Z | census_geocoder/metaclasses.py | insightindustry/census-geocoder | fa2763e82135f2cdea91ab9431ce61769a778296 | [
"MIT"
] | 3 | 2021-08-19T18:47:55.000Z | 2021-12-28T17:50:43.000Z | census_geocoder/metaclasses.py | insightindustry/census-geocoder | fa2763e82135f2cdea91ab9431ce61769a778296 | [
"MIT"
] | null | null | null | """
###################################
census_geocoder/metaclasses.py
###################################
Defines the metaclasses that are used throughout the library.
"""
import os
from abc import ABC, abstractmethod
import csv
import json
import requests
from validator_collection import validators
from backoff_ut... | 41.808967 | 121 | 0.512752 | 4,029 | 42,896 | 5.372301 | 0.08414 | 0.03428 | 0.03234 | 0.03927 | 0.771633 | 0.754585 | 0.732317 | 0.717718 | 0.710788 | 0.671933 | 0 | 0.012053 | 0.348214 | 42,896 | 1,025 | 122 | 41.849756 | 0.762116 | 0.563875 | 0 | 0.511696 | 0 | 0 | 0.120128 | 0.019521 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046784 | false | 0 | 0.026316 | 0 | 0.111111 | 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 |
9e3406ab6ab71966edd4c82582e5083309e5376c | 4,745 | py | Python | 3-AI-for-Medical-Treatment/week2-medical-question-answering/NegBio/negbio/pipeline/dner_mm.py | pranshuag9/AI-for-Medicine | daba0054e14c6b5ececd35d700244aa978e84b11 | [
"Apache-2.0"
] | 1 | 2020-09-21T22:05:19.000Z | 2020-09-21T22:05:19.000Z | 3-AI-for-Medical-Treatment/week2-medical-question-answering/assignment/NegBio/negbio/pipeline/dner_mm.py | pranshuag9/AI-for-Medicine | daba0054e14c6b5ececd35d700244aa978e84b11 | [
"Apache-2.0"
] | null | null | null | 3-AI-for-Medical-Treatment/week2-medical-question-answering/assignment/NegBio/negbio/pipeline/dner_mm.py | pranshuag9/AI-for-Medicine | daba0054e14c6b5ececd35d700244aa978e84b11 | [
"Apache-2.0"
] | null | null | null | import collections
import itertools
import logging
import re
import bioc
def remove_newline(s):
return re.sub(r'[\n\r]', ' ', s)
def adapt_concept_index(index):
m = re.match(r"'.*?'", index)
if m:
return index[1:-1]
m = re.match(r"'.*", index)
if m:
return index[1:]
return i... | 35.148148 | 118 | 0.511064 | 484 | 4,745 | 4.919421 | 0.210744 | 0.055439 | 0.01344 | 0.01512 | 0.795044 | 0.769005 | 0.747165 | 0.699286 | 0.699286 | 0.649307 | 0 | 0.006522 | 0.386091 | 4,745 | 134 | 119 | 35.410448 | 0.810848 | 0.061749 | 0 | 0.707071 | 0 | 0 | 0.032184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040404 | false | 0.10101 | 0.050505 | 0.010101 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9e3f0cb16e10a7bc48166105ad13d677f8358a40 | 1,518 | py | Python | objects/test.py | kerven88/k8s-cluster-checker | 99f4175086bc42793da6bca6c4ef25a9f8252c16 | [
"Apache-2.0"
] | 10 | 2020-08-06T11:40:46.000Z | 2021-10-18T12:41:15.000Z | objects/test.py | kerven88/k8s-cluster-checker | 99f4175086bc42793da6bca6c4ef25a9f8252c16 | [
"Apache-2.0"
] | 1 | 2021-01-29T02:42:16.000Z | 2021-05-22T08:51:13.000Z | objects/test.py | kerven88/k8s-cluster-checker | 99f4175086bc42793da6bca6c4ef25a9f8252c16 | [
"Apache-2.0"
] | 6 | 2020-09-10T05:51:06.000Z | 2022-01-25T03:01:39.000Z | import unittest
import warnings
from modules.logging import Logger
logger = Logger.get_logger('', '')
class TestK8sClusterChecker(unittest.TestCase):
def test_cluster(self):
import cluster as cluster
warnings.filterwarnings("ignore", category=ResourceWarning, message="unclosed.*<ssl.SSLSocket.*>")... | 50.6 | 106 | 0.687747 | 165 | 1,518 | 6.278788 | 0.230303 | 0.108108 | 0.108108 | 0.138996 | 0.727799 | 0.727799 | 0.727799 | 0.727799 | 0.727799 | 0.65251 | 0 | 0.000808 | 0.184453 | 1,518 | 30 | 107 | 50.6 | 0.836026 | 0 | 0 | 0.428571 | 0 | 0 | 0.146149 | 0.071099 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.142857 | false | 0 | 0.25 | 0 | 0.428571 | 0.142857 | 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 |
9e5d1aac687924b906e4fef7cdfc1adb74e0a3e0 | 525 | py | Python | aims/ml/chemprop/__init__.py | Xiangyan93/AIMS | 1d0d6de03ef79d3cbfe2cd244f12c41d18acb61d | [
"MIT"
] | 3 | 2021-05-14T04:27:53.000Z | 2022-01-11T17:47:20.000Z | aims/ml/chemprop/__init__.py | Xiangyan93/AIMS | 1d0d6de03ef79d3cbfe2cd244f12c41d18acb61d | [
"MIT"
] | null | null | null | aims/ml/chemprop/__init__.py | Xiangyan93/AIMS | 1d0d6de03ef79d3cbfe2cd244f12c41d18acb61d | [
"MIT"
] | null | null | null | import aims.ml.chemprop.data
import aims.ml.chemprop.features
import aims.ml.chemprop.models
import aims.ml.chemprop.train
# import aims.ml.chemprop.web
import aims.ml.chemprop.args
import aims.ml.chemprop.constants
import aims.ml.chemprop.hyperparameter_optimization
import aims.ml.chemprop.interpret
import aims.ml.ch... | 29.166667 | 51 | 0.845714 | 81 | 525 | 5.37037 | 0.259259 | 0.206897 | 0.482759 | 0.643678 | 0.23908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 525 | 17 | 52 | 30.882353 | 0.887755 | 0.051429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9e61f1a9b94433fd0994a2b5e42284a50d6f68d1 | 85 | py | Python | dash/map/__init__.py | defgsus/thegame | 38a627d9108f1418b94b08831fd640dd87fbba83 | [
"MIT"
] | 1 | 2021-11-05T11:49:26.000Z | 2021-11-05T11:49:26.000Z | dash/map/__init__.py | defgsus/thegame | 38a627d9108f1418b94b08831fd640dd87fbba83 | [
"MIT"
] | null | null | null | dash/map/__init__.py | defgsus/thegame | 38a627d9108f1418b94b08831fd640dd87fbba83 | [
"MIT"
] | null | null | null | from .object import Object
from .tilemap import TileMap
from .objects import Objects
| 21.25 | 28 | 0.823529 | 12 | 85 | 5.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 3 | 29 | 28.333333 | 0.958904 | 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 |
9e9c45fd56f81fd0401c398898a7e89c1fcb8aee | 71 | py | Python | mak/libs/pyxx/cxx/grammar/expression/primary/id/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | mak/libs/pyxx/cxx/grammar/expression/primary/id/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/expression/primary/id/__init__.py | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | from . import general
from . import unqualified
from . import qualified | 23.666667 | 25 | 0.802817 | 9 | 71 | 6.333333 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 3 | 26 | 23.666667 | 0.95 | 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 |
7b8c3158e2319cba197b5d5a118eeeca69b90889 | 243 | py | Python | experimentor/core/exceptions.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | 4 | 2020-05-15T04:07:25.000Z | 2020-09-30T22:20:46.000Z | experimentor/core/exceptions.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | null | null | null | experimentor/core/exceptions.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | null | null | null | class ExperimentorException(Exception):
pass
class ModelDefinitionException(ExperimentorException):
pass
class ExperimentDefinitionException(ExperimentorException):
pass
class DuplicatedParameter(ExperimentorException):
pass | 22.090909 | 59 | 0.82716 | 16 | 243 | 12.5625 | 0.4375 | 0.134328 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 243 | 11 | 60 | 22.090909 | 0.943662 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7ba52e3ecb57391092cb42330e2ff3accc82ab40 | 75 | py | Python | LINEBALI/__init__.py | cipul404/cipul | dea423b83381119c46f35be9c13e6daa38568603 | [
"MIT"
] | 1 | 2018-09-06T17:42:58.000Z | 2018-09-06T17:42:58.000Z | LINEBALI/__init__.py | cipul404/cipul | dea423b83381119c46f35be9c13e6daa38568603 | [
"MIT"
] | null | null | null | LINEBALI/__init__.py | cipul404/cipul | dea423b83381119c46f35be9c13e6daa38568603 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
from Apline import LINE
from libapi.ttypes import *
| 18.75 | 27 | 0.693333 | 11 | 75 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.16 | 75 | 3 | 28 | 25 | 0.809524 | 0.28 | 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 |
7bb20d2b625bcd2281288524806fb8c1e73df67f | 2,645 | py | Python | tests/test_g_fast_ssc/test_codec.py | MingxuZhang/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 2 | 2021-12-07T09:52:15.000Z | 2022-01-06T14:35:37.000Z | tests/test_g_fast_ssc/test_codec.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | null | null | null | tests/test_g_fast_ssc/test_codec.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 4 | 2020-07-03T14:20:04.000Z | 2021-07-04T13:20:40.000Z | from unittest import TestCase
from python_polar_coding.polar_codes.g_fast_ssc import GFastSSCPolarCodec
from tests.base import BasicVerifyPolarCode
class TestGeneralizedFastSSCCode_1024_256_AF_0(BasicVerifyPolarCode, TestCase):
polar_code_class = GFastSSCPolarCodec
code_parameters = {
'N': 1024,
... | 23.40708 | 79 | 0.658223 | 260 | 2,645 | 6.353846 | 0.115385 | 0.225182 | 0.254237 | 0.268765 | 0.921913 | 0.639225 | 0.639225 | 0.639225 | 0.639225 | 0.639225 | 0 | 0.096774 | 0.249905 | 2,645 | 112 | 80 | 23.616071 | 0.735887 | 0 | 0 | 0.689655 | 0 | 0 | 0.018147 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.448276 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c89d488cf2ecead3a80b7a4a30f6bfcd0ac568bb | 129 | py | Python | account/admin.py | lindsthemormon/fomo_intex2 | 3d500414fb17db64929da40e27cbd4ea916ec936 | [
"Apache-2.0"
] | null | null | null | account/admin.py | lindsthemormon/fomo_intex2 | 3d500414fb17db64929da40e27cbd4ea916ec936 | [
"Apache-2.0"
] | null | null | null | account/admin.py | lindsthemormon/fomo_intex2 | 3d500414fb17db64929da40e27cbd4ea916ec936 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from account import models as amod
# Register your models here.
admin.site.register(amod.User)
| 21.5 | 34 | 0.806202 | 20 | 129 | 5.2 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131783 | 129 | 5 | 35 | 25.8 | 0.928571 | 0.20155 | 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 |
c8eff3d49f91ab01dc95dbb9bbdf8c3c4249b42e | 428 | py | Python | desafios/des109b/teste.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | desafios/des109b/teste.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | desafios/des109b/teste.py | Ericssm96/python | 764d0d704be685db9e993c4b74d3df78da12cc6f | [
"MIT"
] | null | null | null | import des109moeda
n1 = float(input('Digite o preço: R$'))
print(f'O valor {des109moeda.moeda(n1)} dobrado é {des109moeda.dobro(n1, True)}.')
print(f'O valor {des109moeda.moeda(n1)} pela metade é {des109moeda.metade(n1, True)}.')
print(f'O valor {des109moeda.moeda(n1)} aumentado em 15% é {des109moeda.aumenta(n1, 15, ... | 47.555556 | 97 | 0.714953 | 68 | 428 | 4.5 | 0.367647 | 0.078431 | 0.091503 | 0.156863 | 0.444444 | 0.444444 | 0.444444 | 0.346405 | 0.235294 | 0 | 0 | 0.114883 | 0.10514 | 428 | 8 | 98 | 53.5 | 0.684073 | 0 | 0 | 0 | 0 | 0.5 | 0.796729 | 0.432243 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
cde30a48317e970cfec21e480e13965aa29217bc | 44 | py | Python | bin/Python27/Lib/site-packages/mgardf/__init__.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | 1 | 2018-02-27T01:59:25.000Z | 2018-02-27T01:59:25.000Z | bin/Python27/Lib/site-packages/mgardf/__init__.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | 6 | 2017-10-27T01:07:35.000Z | 2018-02-06T00:15:21.000Z | bin/Python27/Lib/site-packages/mgardf/__init__.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | from .mgardfconverter import MgaRdfConverter | 44 | 44 | 0.909091 | 4 | 44 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a80457349f138290c05adeaff94dfe9050b0c60c | 32 | py | Python | qredis/__main__.py | barjomet/qredis | cea51b23b32721cf28ef760b238b210b09ff6af9 | [
"MIT"
] | null | null | null | qredis/__main__.py | barjomet/qredis | cea51b23b32721cf28ef760b238b210b09ff6af9 | [
"MIT"
] | null | null | null | qredis/__main__.py | barjomet/qredis | cea51b23b32721cf28ef760b238b210b09ff6af9 | [
"MIT"
] | 1 | 2019-01-17T04:10:03.000Z | 2019-01-17T04:10:03.000Z | from .window import main
main()
| 10.666667 | 24 | 0.75 | 5 | 32 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 25 | 16 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a80b6eb450caa008778411f202b167c43bc67418 | 127 | py | Python | acl2_kernel/__main__.py | tojoqk/acl2-kernel | 9c36a01f46f58628585e87101db9da61cab42891 | [
"BSD-3-Clause"
] | 4 | 2020-06-24T12:43:29.000Z | 2021-11-26T12:45:05.000Z | acl2_kernel/__main__.py | tojoqk/acl2-kernel | 9c36a01f46f58628585e87101db9da61cab42891 | [
"BSD-3-Clause"
] | 9 | 2021-05-11T23:53:35.000Z | 2021-09-30T10:40:55.000Z | acl2_kernel/__main__.py | tojoqk/acl2-kernel | 9c36a01f46f58628585e87101db9da61cab42891 | [
"BSD-3-Clause"
] | 1 | 2021-09-15T01:02:00.000Z | 2021-09-15T01:02:00.000Z | from ipykernel.kernelapp import IPKernelApp
from .kernel import ACL2Kernel
IPKernelApp.launch_instance(kernel_class=ACL2Kernel) | 42.333333 | 52 | 0.889764 | 15 | 127 | 7.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.062992 | 127 | 3 | 52 | 42.333333 | 0.915966 | 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 |
a82d36e0f020d41fdfd7f88a38fba3a97d461227 | 64 | py | Python | pyvainglory/__init__.py | xKynn/PyVainglory | 91cb8a14b1b6d9e077ed1a19264bf6fcac981459 | [
"MIT"
] | 4 | 2018-01-02T11:09:24.000Z | 2018-06-01T03:41:46.000Z | pyvainglory/__init__.py | xKynn/PyVainglory | 91cb8a14b1b6d9e077ed1a19264bf6fcac981459 | [
"MIT"
] | null | null | null | pyvainglory/__init__.py | xKynn/PyVainglory | 91cb8a14b1b6d9e077ed1a19264bf6fcac981459 | [
"MIT"
] | null | null | null | from .asyncclient import AsyncClient
from .client import Client
| 21.333333 | 36 | 0.84375 | 8 | 64 | 6.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 37 | 32 | 0.964286 | 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 |
a835eb7448b7643717ab4e5443d816fe99097e6f | 185 | py | Python | malaya_speech/train/model/melgan/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 111 | 2020-08-31T04:58:54.000Z | 2022-03-29T15:44:18.000Z | malaya_speech/train/model/melgan/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 14 | 2020-12-16T07:27:22.000Z | 2022-03-15T17:39:01.000Z | malaya_speech/train/model/melgan/__init__.py | ishine/malaya-speech | fd34afc7107af1656dff4b3201fa51dda54fde18 | [
"MIT"
] | 29 | 2021-02-09T08:57:15.000Z | 2022-03-12T14:09:19.000Z | from .config import GeneratorConfig, DiscriminatorConfig
from . import layer
from . import loss
from . import model
from .model import Generator, Discriminator, MultiScaleDiscriminator
| 30.833333 | 68 | 0.832432 | 20 | 185 | 7.7 | 0.55 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124324 | 185 | 5 | 69 | 37 | 0.950617 | 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 |
b522506d0b25a57ac5ee64793e6bb9d6c0dfc8d5 | 105 | py | Python | boj/15552.py | pparkddo/ps | 7164c694403c2087a7b4b16a64f521ae327e328f | [
"MIT"
] | 1 | 2021-04-02T09:37:11.000Z | 2021-04-02T09:37:11.000Z | boj/15552.py | pparkddo/ps | 7164c694403c2087a7b4b16a64f521ae327e328f | [
"MIT"
] | null | null | null | boj/15552.py | pparkddo/ps | 7164c694403c2087a7b4b16a64f521ae327e328f | [
"MIT"
] | null | null | null | import sys; input=sys.stdin.readline
for _ in range(int(input())): print(sum(map(int, input().split())))
| 35 | 67 | 0.695238 | 17 | 105 | 4.235294 | 0.764706 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 2 | 68 | 52.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b52ed7bcd61a97904431ecf320c5dfd0bba5d0ad | 151 | py | Python | fake_http_header/data_import.py | MichaelTatarski/fake-http-header | 3e410ffde87e677baab8651ee9d146b3138640f1 | [
"MIT"
] | 2 | 2022-01-25T21:09:25.000Z | 2022-02-14T14:01:35.000Z | fake_http_header/data_import.py | MichaelTatarski/fake-http-header | 3e410ffde87e677baab8651ee9d146b3138640f1 | [
"MIT"
] | 1 | 2022-01-25T20:31:34.000Z | 2022-01-26T12:57:14.000Z | fake_http_header/data_import.py | MichaelTatarski/fake-http-header | 3e410ffde87e677baab8651ee9d146b3138640f1 | [
"MIT"
] | null | null | null | import json
def load_dict(json_file) -> dict:
json_acceptable_string = json_file.replace("'", '"')
return json.loads(json_acceptable_string)
| 21.571429 | 56 | 0.728477 | 20 | 151 | 5.15 | 0.55 | 0.15534 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 6 | 57 | 25.166667 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b55620c3b5e760b69f54178576f7f3f778ed9df2 | 8,935 | py | Python | grids/cube.py | R-Laurent/detection | 66823e8664b66caadef2ee35ee197fd9a5066f56 | [
"MIT"
] | null | null | null | grids/cube.py | R-Laurent/detection | 66823e8664b66caadef2ee35ee197fd9a5066f56 | [
"MIT"
] | null | null | null | grids/cube.py | R-Laurent/detection | 66823e8664b66caadef2ee35ee197fd9a5066f56 | [
"MIT"
] | null | null | null | import numpy as np
from data.constants import Bohr2Angstrom
def generate_cubefile(geom, grid_values, dx, dy, dz, nptx, npty, nptz):
grid = None
return generate_cubefile(geom, grid, grid_values, dx, dy, dz, nptx, npty, nptz)
def generate_cubefile(geom, grid, grid_values, dx, dy, dz, nptx, npty, nptz):
"""
... | 35.74 | 118 | 0.511696 | 1,269 | 8,935 | 3.548463 | 0.13554 | 0.030202 | 0.023984 | 0.031979 | 0.743948 | 0.731068 | 0.721519 | 0.673995 | 0.655785 | 0.632689 | 0 | 0.041562 | 0.329491 | 8,935 | 249 | 119 | 35.883534 | 0.710065 | 0.17493 | 0 | 0.702703 | 1 | 0.021622 | 0.086392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048649 | false | 0 | 0.010811 | 0.005405 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 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 |
b56a090364cca0d993414c9181f7b5f7858921ca | 26 | py | Python | trunk/VyPy/regression/gpr/scaling/__init__.py | jiaxu825/VyPy | 47100bad9dea46f12cb8bfa1ba86886e06f5c85d | [
"BSD-3-Clause"
] | 1 | 2021-12-28T06:39:54.000Z | 2021-12-28T06:39:54.000Z | trunk/VyPy/regression/gpr/scaling/__init__.py | paulcon/VyPy | 5acb40e8d19ea76f3cd45f9cf98f252ca15e23f6 | [
"BSD-3-Clause"
] | null | null | null | trunk/VyPy/regression/gpr/scaling/__init__.py | paulcon/VyPy | 5acb40e8d19ea76f3cd45f9cf98f252ca15e23f6 | [
"BSD-3-Clause"
] | null | null | null |
from Linear import Linear | 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 25 | 13 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b56a24e716ce42f9939a22dfec69c71243693065 | 91 | py | Python | altair/main.py | lyeeer/altair | e1244d6db7b705e37bdf1b44f1ee077b6208cec6 | [
"Apache-2.0"
] | 43 | 2017-04-19T00:31:05.000Z | 2021-11-05T12:29:58.000Z | altair/main.py | lyeeer/altair | e1244d6db7b705e37bdf1b44f1ee077b6208cec6 | [
"Apache-2.0"
] | 2 | 2017-03-07T22:08:52.000Z | 2017-10-20T20:12:55.000Z | altair/main.py | lyeeer/altair | e1244d6db7b705e37bdf1b44f1ee077b6208cec6 | [
"Apache-2.0"
] | 15 | 2017-02-22T18:07:56.000Z | 2021-07-12T13:22:06.000Z | def main():
pass
# Run this when called from CLI
if __name__ == "__main__":
main() | 15.166667 | 31 | 0.626374 | 13 | 91 | 3.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252747 | 91 | 6 | 32 | 15.166667 | 0.720588 | 0.318681 | 0 | 0 | 0 | 0 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b56c72e2615da80a89419b155c38cd4f75d3e390 | 3,142 | py | Python | wepay/calls/subscription_charge.py | wann100/Groomer | c290c00cebc453d71f32f45bff72653130add592 | [
"MIT"
] | 3 | 2015-03-04T19:13:02.000Z | 2016-02-10T15:47:18.000Z | wepay/calls/subscription_charge.py | lehins/python-wepay | 414d25a1a8d0ecb22a3ddd1f16c60b805bb52a1f | [
"MIT"
] | null | null | null | wepay/calls/subscription_charge.py | lehins/python-wepay | 414d25a1a8d0ecb22a3ddd1f16c60b805bb52a1f | [
"MIT"
] | null | null | null | from wepay.calls.base import Call
class SubscriptionCharge(Call):
"""The /subscription_charge API calls"""
call_name = 'subscription_charge'
def __call__(self, subscription_charge_id, **kwargs):
"""Call documentation: `/subscription_charge
<https://www.wepay.com/developer/reference/subscr... | 36.114943 | 81 | 0.636219 | 368 | 3,142 | 5.192935 | 0.1875 | 0.150706 | 0.061224 | 0.075353 | 0.819466 | 0.784929 | 0.749869 | 0.749869 | 0.668237 | 0.600209 | 0 | 0 | 0.260025 | 3,142 | 86 | 82 | 36.534884 | 0.821935 | 0.562062 | 0 | 0.192308 | 0 | 0 | 0.184689 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.038462 | 0 | 0.461538 | 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 |
b57738459b87d130cc1d48317d6d54e9bef94fd9 | 215 | py | Python | script.py | esweep/casimirprogramming_els | da8b785415c7798a6ccb4c90b9af6bba9960f46e | [
"MIT"
] | null | null | null | script.py | esweep/casimirprogramming_els | da8b785415c7798a6ccb4c90b9af6bba9960f46e | [
"MIT"
] | null | null | null | script.py | esweep/casimirprogramming_els | da8b785415c7798a6ccb4c90b9af6bba9960f46e | [
"MIT"
] | null | null | null | print('hello github')
from test import circumference, surface_area
print("the circumference of the circle is", circumference(5))
print("The surface area of the circle is", surface_area(5))
print("another test")
| 21.5 | 61 | 0.762791 | 32 | 215 | 5.0625 | 0.46875 | 0.203704 | 0.135802 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010695 | 0.130233 | 215 | 9 | 62 | 23.888889 | 0.855615 | 0 | 0 | 0 | 0 | 0 | 0.423256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a90d78dfb295595f9899b6c85a04d6329cb2c551 | 361 | py | Python | tipico/types/instrument_status.py | lbusoni/tipico | 364a0d2321508e62bafae5037f435c1df3588814 | [
"MIT"
] | null | null | null | tipico/types/instrument_status.py | lbusoni/tipico | 364a0d2321508e62bafae5037f435c1df3588814 | [
"MIT"
] | 1 | 2020-10-29T19:53:15.000Z | 2020-10-29T19:53:15.000Z | tipico/types/instrument_status.py | ArcetriAdaptiveOptics/tipico | 364a0d2321508e62bafae5037f435c1df3588814 | [
"MIT"
] | null | null | null |
class InstrumentStatus(object):
def __init__(self,
actuatorCommands,
commandCounter):
self._actuatorCommands= actuatorCommands
self._commandCounter= commandCounter
def commandCounter(self):
return self._commandCounter
def actuatorCommands(self... | 20.055556 | 48 | 0.65928 | 26 | 361 | 8.846154 | 0.346154 | 0.26087 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285319 | 361 | 17 | 49 | 21.235294 | 0.891473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a924305b6275f1a8ba443ab32a66bc6c5974434a | 129 | py | Python | web/project/settings/__init__.py | borzunov/django-forum | 37ee43327575e59a4f7e1fcaa9f3a1c0de08d2b3 | [
"MIT"
] | 6 | 2016-12-08T17:35:46.000Z | 2019-12-05T07:17:26.000Z | web/project/settings/__init__.py | borzunov/django-forum | 37ee43327575e59a4f7e1fcaa9f3a1c0de08d2b3 | [
"MIT"
] | 1 | 2020-06-05T17:28:56.000Z | 2020-06-05T17:28:56.000Z | web/project/settings/__init__.py | borzunov/django-forum | 37ee43327575e59a4f7e1fcaa9f3a1c0de08d2b3 | [
"MIT"
] | 1 | 2017-01-12T17:53:52.000Z | 2017-01-12T17:53:52.000Z | import os
if os.environ.get('ENVIRONMENT') == 'production':
from .production import *
else:
from .development import *
| 16.125 | 49 | 0.682171 | 15 | 129 | 5.866667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193798 | 129 | 7 | 50 | 18.428571 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a9483d7f93445176347f712faf6f5a8de08a3853 | 121 | py | Python | setup.py | neurodata/boss-export | 16e9d2b0319876e36e53d3a01622e83e75fc48f1 | [
"Apache-2.0"
] | null | null | null | setup.py | neurodata/boss-export | 16e9d2b0319876e36e53d3a01622e83e75fc48f1 | [
"Apache-2.0"
] | null | null | null | setup.py | neurodata/boss-export | 16e9d2b0319876e36e53d3a01622e83e75fc48f1 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
setup(name="boss-export", author="Benjamin Falk", packages=find_packages())
| 30.25 | 75 | 0.793388 | 16 | 121 | 5.875 | 0.75 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 121 | 3 | 76 | 40.333333 | 0.846847 | 0 | 0 | 0 | 0 | 0 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8d8d1e6acfffd114882679b0e6cf2b21bf331d4b | 397 | py | Python | slack_bolt/kwargs_injection/__init__.py | hirosassa/bolt-python | befc3a1463f3ac8dbb780d66decc304e2bdf3e7a | [
"MIT"
] | 504 | 2020-08-07T05:02:57.000Z | 2022-03-31T14:32:46.000Z | slack_bolt/kwargs_injection/__init__.py | hirosassa/bolt-python | befc3a1463f3ac8dbb780d66decc304e2bdf3e7a | [
"MIT"
] | 560 | 2020-08-07T01:16:06.000Z | 2022-03-30T00:40:56.000Z | slack_bolt/kwargs_injection/__init__.py | hirosassa/bolt-python | befc3a1463f3ac8dbb780d66decc304e2bdf3e7a | [
"MIT"
] | 150 | 2020-08-07T09:41:14.000Z | 2022-03-30T04:54:51.000Z | """For middleware/listener arguments, Bolt does flexible data injection in accordance with their names.
To learn the available arguments, check `slack_bolt.kwargs_injection.args`'s API document.
For Workflow steps, checking `slack_bolt.workflows.step.utilities` as well should be helpful.
"""
# Don't add async module ... | 39.7 | 103 | 0.806045 | 59 | 397 | 5.338983 | 0.813559 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125945 | 397 | 9 | 104 | 44.111111 | 0.907781 | 0.813602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
8da9b96454b2bbf87d8d4e83346f31f3a1097fd9 | 74 | py | Python | Programmers/src/12918/solution.py | lstar2397/algorithms | 686ea882079e26111f86b5bd5a7ab1b14ccf0fa2 | [
"MIT"
] | null | null | null | Programmers/src/12918/solution.py | lstar2397/algorithms | 686ea882079e26111f86b5bd5a7ab1b14ccf0fa2 | [
"MIT"
] | null | null | null | Programmers/src/12918/solution.py | lstar2397/algorithms | 686ea882079e26111f86b5bd5a7ab1b14ccf0fa2 | [
"MIT"
] | null | null | null | def solution(s):
return ((len(s) == 4 or len(s) == 6) and s.isdigit()) | 37 | 57 | 0.554054 | 14 | 74 | 2.928571 | 0.714286 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.202703 | 74 | 2 | 57 | 37 | 0.661017 | 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 |
8daaa0dc15d3f1c191ab25da4f8317cca5eb37ad | 100 | py | Python | vaillant.py | thomasgermain/vr900-connector | 86828b17b8c16f28b684e8236ab2c46e2475f026 | [
"MIT"
] | 12 | 2019-01-04T18:51:39.000Z | 2019-11-13T09:49:46.000Z | vaillant.py | thomasgermain/vr900-connector | 86828b17b8c16f28b684e8236ab2c46e2475f026 | [
"MIT"
] | 13 | 2019-01-30T17:39:44.000Z | 2019-10-04T15:59:43.000Z | vaillant.py | thomasgermain/vr900-connector | 86828b17b8c16f28b684e8236ab2c46e2475f026 | [
"MIT"
] | 2 | 2019-02-28T21:54:49.000Z | 2019-03-11T12:05:13.000Z | """ Command line interface for Vaillant API """
from vr900connector import __main__
__main__.main()
| 25 | 47 | 0.78 | 12 | 100 | 5.833333 | 0.833333 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.13 | 100 | 3 | 48 | 33.333333 | 0.770115 | 0.39 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
a5d2d8aeee3eab26d800bfc83884a1aef451edcd | 109 | py | Python | Python/GoogleTrendingSearches.py | propil5/WarelogManager | 6baf338855175259877257352f9986a02ffd3e2e | [
"MIT"
] | null | null | null | Python/GoogleTrendingSearches.py | propil5/WarelogManager | 6baf338855175259877257352f9986a02ffd3e2e | [
"MIT"
] | null | null | null | Python/GoogleTrendingSearches.py | propil5/WarelogManager | 6baf338855175259877257352f9986a02ffd3e2e | [
"MIT"
] | null | null | null | from pytrends.request import TrendReq
import numpy as np
import sys
pytrends.trending_searches(pn='poland') | 21.8 | 40 | 0.825688 | 16 | 109 | 5.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 5 | 40 | 21.8 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a5d2ffb0dedaf74c230e159708a1e53644eb038c | 182 | py | Python | iceworm/sql/sql.py | wrmsr0/iceworm | 09431bb3cdc4f6796aafca41e37d42ebe0ddfeef | [
"BSD-3-Clause"
] | null | null | null | iceworm/sql/sql.py | wrmsr0/iceworm | 09431bb3cdc4f6796aafca41e37d42ebe0ddfeef | [
"BSD-3-Clause"
] | 1 | 2021-01-19T14:29:19.000Z | 2021-01-19T14:34:27.000Z | iceworm/sql/sql.py | wrmsr0/iceworm | 09431bb3cdc4f6796aafca41e37d42ebe0ddfeef | [
"BSD-3-Clause"
] | 1 | 2020-12-31T22:29:52.000Z | 2020-12-31T22:29:52.000Z | """
TODO:
- QualifiedName visitability.. somewhere
- CreateOrReplaceTable (w/ prefixes)
- batching for snowflake...
- helper against sqla inserts with nonexisting columns :/
"""
| 22.75 | 58 | 0.730769 | 17 | 182 | 7.823529 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 182 | 7 | 59 | 26 | 0.863636 | 0.950549 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.142857 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
573a7289145eb1393400fd94014dd0afdf49b2cf | 1,117 | py | Python | prepare.py | m32/pdfium | 334beec62b65199add3257aaf2338f78cb5e6026 | [
"Apache-2.0"
] | null | null | null | prepare.py | m32/pdfium | 334beec62b65199add3257aaf2338f78cb5e6026 | [
"Apache-2.0"
] | null | null | null | prepare.py | m32/pdfium | 334beec62b65199add3257aaf2338f78cb5e6026 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env vpython3
def onefile(fname):
data = open(fname, 'rt').read()
data = data.replace('FPDF_EXPORT', 'extern')
data = data.replace('FPDF_CALLCONV', '')
open(fname, 'wt').write(data)
onefile('pdfium/include/fpdf_annot.h')
onefile('pdfium/include/fpdf_attachment.h')
onefile('pdfium/include/fpd... | 36.032258 | 48 | 0.77171 | 159 | 1,117 | 5.27673 | 0.27044 | 0.340882 | 0.524434 | 0.600715 | 0.595948 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000944 | 0.051925 | 1,117 | 30 | 49 | 37.233333 | 0.791313 | 0.019696 | 0 | 0 | 0 | 0 | 0.61883 | 0.587751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0 | 0 | 0.037037 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
573e7f649643731aee9f4ed8350504851c91422b | 207 | py | Python | lib/models/__init__.py | yandex-research/learnable-init | 480627217763912e83251833df2d678c8b6ea6fd | [
"Apache-2.0"
] | 4 | 2021-07-14T19:18:47.000Z | 2022-03-21T17:50:46.000Z | lib/models/__init__.py | yandex-research/learnable-init | 480627217763912e83251833df2d678c8b6ea6fd | [
"Apache-2.0"
] | null | null | null | lib/models/__init__.py | yandex-research/learnable-init | 480627217763912e83251833df2d678c8b6ea6fd | [
"Apache-2.0"
] | null | null | null | from .fixup_resnet import FixupResNet18#, DIMAMLFixupResNet18
# from .metainit_resnet import MetaInitFixupResNet18
from .language_model import LanguageModel, convert_to_cudnn_lstm
from .autoencoder import AE | 51.75 | 64 | 0.874396 | 24 | 207 | 7.291667 | 0.708333 | 0.137143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.086957 | 207 | 4 | 65 | 51.75 | 0.89418 | 0.347826 | 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 |
5755145cab44e1b704bfb86f392bc4b9858a9e27 | 272 | py | Python | List/NestedList.py | poojavaibhavsahu/Pooja_Python | 58122bfa8586883145042b11fe1cc013c803ab4f | [
"bzip2-1.0.6"
] | null | null | null | List/NestedList.py | poojavaibhavsahu/Pooja_Python | 58122bfa8586883145042b11fe1cc013c803ab4f | [
"bzip2-1.0.6"
] | null | null | null | List/NestedList.py | poojavaibhavsahu/Pooja_Python | 58122bfa8586883145042b11fe1cc013c803ab4f | [
"bzip2-1.0.6"
] | null | null | null |
mylist=['hello',[2,3,4],[40,50,60],['hi'],'how',"bye"]
print(mylist)
print(mylist[1][1])
mylist=['hello',[2,3,4]]
print(mylist[1][0])
num1=[0,32,444,4453,[23,43,54,12,3]]
print(num1)
num2=[0,32,444,4453]
num2.extend([23,43,54,12,3])
print(num2)
| 7.157895 | 54 | 0.5625 | 52 | 272 | 2.942308 | 0.461538 | 0.215686 | 0.156863 | 0.169935 | 0.366013 | 0.183007 | 0 | 0 | 0 | 0 | 0 | 0.251064 | 0.136029 | 272 | 37 | 55 | 7.351351 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.066915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
93a591f657556efd521fdc284bf00f1fdbcc4a4a | 159 | py | Python | aiomatrix/types/responses/create_room.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 2 | 2021-10-29T18:07:08.000Z | 2021-11-19T00:25:43.000Z | aiomatrix/types/responses/create_room.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 1 | 2022-03-06T11:17:43.000Z | 2022-03-06T11:17:43.000Z | aiomatrix/types/responses/create_room.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | null | null | null | import pydantic
from .. import primitives
class CreateRoomResponse(pydantic.BaseModel):
room_id: primitives.RoomID
room_alias: primitives.RoomAlias
| 17.666667 | 45 | 0.792453 | 17 | 159 | 7.294118 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 159 | 8 | 46 | 19.875 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 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 |
93c83dec5e12629606577baaa10197aa7c3646c8 | 40 | py | Python | lib/python3.6/site-packages/requests_async/status_codes.py | EricVanDerDijs/admissions-frontend | 3a7f18b91ebd07f0fff6f4a2dc360637d735fa77 | [
"BSD-3-Clause"
] | 1,057 | 2019-03-21T12:43:58.000Z | 2022-02-04T15:07:33.000Z | lib/python3.6/site-packages/requests_async/status_codes.py | EricVanDerDijs/admissions-frontend | 3a7f18b91ebd07f0fff6f4a2dc360637d735fa77 | [
"BSD-3-Clause"
] | 42 | 2019-03-21T13:58:49.000Z | 2019-07-22T21:40:21.000Z | lib/python3.6/site-packages/requests_async/status_codes.py | EricVanDerDijs/admissions-frontend | 3a7f18b91ebd07f0fff6f4a2dc360637d735fa77 | [
"BSD-3-Clause"
] | 48 | 2019-03-21T12:45:10.000Z | 2022-01-20T03:24:07.000Z | from requests.status_codes import codes
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
93df023767e81b3fcdb47c4afa23c4915b2bc932 | 35 | py | Python | styledating/challenges/robot_sc.py | jnngu/codingdatingsite | 18187f95d3864f23b005a7ceba932cdba78638a0 | [
"MIT"
] | null | null | null | styledating/challenges/robot_sc.py | jnngu/codingdatingsite | 18187f95d3864f23b005a7ceba932cdba78638a0 | [
"MIT"
] | null | null | null | styledating/challenges/robot_sc.py | jnngu/codingdatingsite | 18187f95d3864f23b005a7ceba932cdba78638a0 | [
"MIT"
] | null | null | null | def judge(moves):
print(False) | 17.5 | 18 | 0.657143 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 19 | 17.5 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9e068d9a917080d18e76969a60b72ba0f6023cc5 | 161 | py | Python | webdev/materiais/apps.py | h-zanetti/jewelry-manager | 74166b89f492303b8ebf5ff8af058f394eb2a28b | [
"MIT"
] | null | null | null | webdev/materiais/apps.py | h-zanetti/jewelry-manager | 74166b89f492303b8ebf5ff8af058f394eb2a28b | [
"MIT"
] | 103 | 2021-04-25T21:28:11.000Z | 2022-03-15T01:36:31.000Z | webdev/materiais/apps.py | h-zanetti/jewelry-manager | 74166b89f492303b8ebf5ff8af058f394eb2a28b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MateriaisConfig(AppConfig):
name = 'webdev.materiais'
def ready(self):
import webdev.materiais.signals | 20.125 | 39 | 0.726708 | 18 | 161 | 6.5 | 0.777778 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192547 | 161 | 8 | 39 | 20.125 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e0f084225235fd1b519a46c9c39239def7dbe51 | 162 | py | Python | env/lib/python2.7/site-packages/scratchpad/jpnames.py | ramshresh/nset-ci-template-hmvc-boilerplate | 04d3a8cff54e9fa49d12efe0cadc0352897fdd62 | [
"MIT"
] | null | null | null | env/lib/python2.7/site-packages/scratchpad/jpnames.py | ramshresh/nset-ci-template-hmvc-boilerplate | 04d3a8cff54e9fa49d12efe0cadc0352897fdd62 | [
"MIT"
] | null | null | null | env/lib/python2.7/site-packages/scratchpad/jpnames.py | ramshresh/nset-ci-template-hmvc-boilerplate | 04d3a8cff54e9fa49d12efe0cadc0352897fdd62 | [
"MIT"
] | null | null | null | from openpyxl import load_workbook
src = "Issues/bug722.xlsx"
#src = "../fixed.xlsx"
#src = "../Issues/bug722-xl.xlsx"
wb = load_workbook(src, keep_links=True)
| 20.25 | 40 | 0.709877 | 24 | 162 | 4.666667 | 0.625 | 0.214286 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.117284 | 162 | 7 | 41 | 23.142857 | 0.741259 | 0.32716 | 0 | 0 | 0 | 0 | 0.168224 | 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 |
f55acb41c615d43b25d34ec9af8b8ec1bdad0fbf | 47 | py | Python | test/login.py | haorenshiwo/testing001 | 0f17f6433e6cc1f11aada03b56c099a42630b182 | [
"MIT"
] | null | null | null | test/login.py | haorenshiwo/testing001 | 0f17f6433e6cc1f11aada03b56c099a42630b182 | [
"MIT"
] | null | null | null | test/login.py | haorenshiwo/testing001 | 0f17f6433e6cc1f11aada03b56c099a42630b182 | [
"MIT"
] | null | null | null | num1 = 1
num2 = 2
num3 = 3
num4 = 33
num6 = 66
| 7.833333 | 9 | 0.574468 | 10 | 47 | 2.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0.319149 | 47 | 5 | 10 | 9.4 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1977998cdef59ee4b7858e61f7e49ee9e4c6c64b | 126 | py | Python | exercicios/ex007.py | luccasocastro/Curso-Python | 7ad2b980bb2f95f833811291273d6ca1beb0fe77 | [
"MIT"
] | null | null | null | exercicios/ex007.py | luccasocastro/Curso-Python | 7ad2b980bb2f95f833811291273d6ca1beb0fe77 | [
"MIT"
] | null | null | null | exercicios/ex007.py | luccasocastro/Curso-Python | 7ad2b980bb2f95f833811291273d6ca1beb0fe77 | [
"MIT"
] | null | null | null | n1 = float(input('Informe a nota 1: '))
n2 = float(input('Informe a nota 2: '))
m = (n1+n2)/2
print('A média é {}'.format(m))
| 25.2 | 39 | 0.595238 | 24 | 126 | 3.125 | 0.583333 | 0.266667 | 0.453333 | 0.48 | 0.586667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.166667 | 126 | 4 | 40 | 31.5 | 0.647619 | 0 | 0 | 0 | 0 | 0 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
270124b31d7e32a99e1045657505853e800272a5 | 197 | py | Python | finance/admin.py | pkimber/account | 41c31cb01fb26481c345a5b65a8c931adedd1591 | [
"Apache-2.0"
] | null | null | null | finance/admin.py | pkimber/account | 41c31cb01fb26481c345a5b65a8c931adedd1591 | [
"Apache-2.0"
] | null | null | null | finance/admin.py | pkimber/account | 41c31cb01fb26481c345a5b65a8c931adedd1591 | [
"Apache-2.0"
] | null | null | null | # -*- encoding: utf-8 -*-
from django.contrib import admin
from .models import VatSettings
class VatSettingsAdmin(admin.ModelAdmin):
pass
admin.site.register(VatSettings, VatSettingsAdmin)
| 17.909091 | 50 | 0.766497 | 22 | 197 | 6.863636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.13198 | 197 | 10 | 51 | 19.7 | 0.877193 | 0.116751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
2705c146532381c7979c0c26f36ac4cd991cd648 | 55 | py | Python | logical/converter/qiskit/validation/__init__.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | null | null | null | logical/converter/qiskit/validation/__init__.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | 1 | 2019-04-09T02:22:38.000Z | 2019-04-09T02:22:38.000Z | logical/converter/qiskit/validation/__init__.py | malcolmregan/GateCircuit-to-AnnealerEmbedding | 33a1a4ea2ebd707ade0677e0df468d5120a861db | [
"Apache-2.0"
] | null | null | null |
from .base import BaseModel, BaseSchema, bind_schema
| 13.75 | 52 | 0.8 | 7 | 55 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 3 | 53 | 18.333333 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
27089f8f614f566f98f3449d0f1a657a42287a0f | 130 | py | Python | blog/admin.py | antonarnaudov/BlogWebsiteAPI | 66b29679c8b53f8039b46396de7c07c63368791f | [
"MIT"
] | null | null | null | blog/admin.py | antonarnaudov/BlogWebsiteAPI | 66b29679c8b53f8039b46396de7c07c63368791f | [
"MIT"
] | 1 | 2021-07-29T21:44:24.000Z | 2021-07-29T21:44:24.000Z | blog/admin.py | antonarnaudov/BlogWebsiteAPI | 66b29679c8b53f8039b46396de7c07c63368791f | [
"MIT"
] | null | null | null | from django.contrib import admin
from blog.models import BlogPost, Like
admin.site.register(BlogPost)
admin.site.register(Like)
| 18.571429 | 38 | 0.815385 | 19 | 130 | 5.578947 | 0.578947 | 0.169811 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 6 | 39 | 21.666667 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 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 |
270bc165ced8f4548e09c7921833d08bb32ecccf | 34 | py | Python | ipwb/__init__.py | oduwsdl/IPFSWayback | 42685149c3058e27ced7129fbb8ae24fea6edb78 | [
"MIT"
] | 1 | 2016-03-06T21:31:34.000Z | 2016-03-06T21:31:34.000Z | ipwb/__init__.py | oduwsdl/IPFSWayback | 42685149c3058e27ced7129fbb8ae24fea6edb78 | [
"MIT"
] | 1 | 2016-03-09T15:42:14.000Z | 2016-03-09T15:42:14.000Z | ipwb/__init__.py | oduwsdl/IPFSWayback | 42685149c3058e27ced7129fbb8ae24fea6edb78 | [
"MIT"
] | null | null | null | __version__ = '0.2022.04.06.1939'
| 17 | 33 | 0.705882 | 6 | 34 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.419355 | 0.088235 | 34 | 1 | 34 | 34 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
2726308644403d0cbc1814d19c2c6ce8ae481462 | 103 | py | Python | mmtrack/models/losses/__init__.py | callzhang/mmtracking | 52a2ed94297685d4fe47ee7ece18917961cc39f0 | [
"Apache-2.0"
] | null | null | null | mmtrack/models/losses/__init__.py | callzhang/mmtracking | 52a2ed94297685d4fe47ee7ece18917961cc39f0 | [
"Apache-2.0"
] | null | null | null | mmtrack/models/losses/__init__.py | callzhang/mmtracking | 52a2ed94297685d4fe47ee7ece18917961cc39f0 | [
"Apache-2.0"
] | 1 | 2021-07-15T00:26:35.000Z | 2021-07-15T00:26:35.000Z | from .l2_loss import L2Loss
from .triplet_loss import TripletLoss
__all__ = ['L2Loss', 'TripletLoss']
| 20.6 | 37 | 0.776699 | 13 | 103 | 5.692308 | 0.615385 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.126214 | 103 | 4 | 38 | 25.75 | 0.788889 | 0 | 0 | 0 | 0 | 0 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
274abbea502d5c5199303d54846906fbcff1a427 | 195 | py | Python | newssimilarity/model/feature_instances/ne_syn_feature_instance.py | imackerracher/NewsSimilarity | 2e6a85dc9e95ef94bec2339987950f4e88f5d909 | [
"Apache-2.0"
] | null | null | null | newssimilarity/model/feature_instances/ne_syn_feature_instance.py | imackerracher/NewsSimilarity | 2e6a85dc9e95ef94bec2339987950f4e88f5d909 | [
"Apache-2.0"
] | null | null | null | newssimilarity/model/feature_instances/ne_syn_feature_instance.py | imackerracher/NewsSimilarity | 2e6a85dc9e95ef94bec2339987950f4e88f5d909 | [
"Apache-2.0"
] | null | null | null | from newssimilarity.model.feature_instances.feature_instance import FeatureInstance
class NESynFeatureInstance(FeatureInstance):
def get_feature_instance(self):
return self.content
| 27.857143 | 83 | 0.825641 | 20 | 195 | 7.85 | 0.75 | 0.191083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 195 | 6 | 84 | 32.5 | 0.918129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
27594071c3c146886974dac5c8801ad98fb56d79 | 12,807 | py | Python | evaluation/test/test_detection_metric.py | EmmaSRH/2 | c2e5b085a82d7d47d426c203776b7720872ae546 | [
"MIT"
] | 4 | 2020-02-26T02:28:45.000Z | 2020-04-04T13:47:11.000Z | evaluation/test/test_detection_metric.py | EmmaSRH/2 | c2e5b085a82d7d47d426c203776b7720872ae546 | [
"MIT"
] | null | null | null | evaluation/test/test_detection_metric.py | EmmaSRH/2 | c2e5b085a82d7d47d426c203776b7720872ae546 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from evaluation.mean_average_precision_calculations import compute_mean_average_precision, compute_iou, \
compute_statistics
class TestMAPCalculation(unittest.TestCase):
def test_intersection_over_union(self):
# define ground truth
gt_1 = np.array([[0, 0, 0... | 38.459459 | 125 | 0.429765 | 1,615 | 12,807 | 3.205573 | 0.060062 | 0.164574 | 0.22542 | 0.275063 | 0.791192 | 0.734595 | 0.715279 | 0.683407 | 0.661194 | 0.617346 | 0 | 0.143102 | 0.452721 | 12,807 | 333 | 126 | 38.459459 | 0.59552 | 0.02116 | 0 | 0.666667 | 0 | 0 | 0.000639 | 0 | 0 | 0 | 0 | 0 | 0.056667 | 1 | 0.01 | false | 0 | 0.01 | 0 | 0.023333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
275a07ffc59e39ff0240143379ebed028dbfa0ad | 226 | py | Python | src/pacman/__init__.py | sebastian-zieba/PACMAN | 2eb1e4b450c97dc28d5a05b3ebddd80706cfca79 | [
"MIT"
] | 1 | 2022-03-23T10:26:33.000Z | 2022-03-23T10:26:33.000Z | src/pacman/__init__.py | sebastian-zieba/PACMAN | 2eb1e4b450c97dc28d5a05b3ebddd80706cfca79 | [
"MIT"
] | null | null | null | src/pacman/__init__.py | sebastian-zieba/PACMAN | 2eb1e4b450c97dc28d5a05b3ebddd80706cfca79 | [
"MIT"
] | 1 | 2022-03-29T13:37:31.000Z | 2022-03-29T13:37:31.000Z | import pacman.s00_table
import pacman.s01_horizons
import pacman.s02_barycorr
import pacman.s03_refspectra
import pacman.s10_direct_images
import pacman.s20_extract
import pacman.s21_bin_spectroscopic_lc
import pacman.s30_run
| 25.111111 | 38 | 0.893805 | 35 | 226 | 5.457143 | 0.6 | 0.502618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0.070796 | 226 | 8 | 39 | 28.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
2798272ae6a42b6612dabcc8f92d17dc3a3f5cec | 1,412 | py | Python | dex2c/insert_smali.py | LiHerman/python-aguard | 448d6a292460bcd6e70acfff9bac1f7dcebdd9f3 | [
"Apache-2.0"
] | null | null | null | dex2c/insert_smali.py | LiHerman/python-aguard | 448d6a292460bcd6e70acfff9bac1f7dcebdd9f3 | [
"Apache-2.0"
] | null | null | null | dex2c/insert_smali.py | LiHerman/python-aguard | 448d6a292460bcd6e70acfff9bac1f7dcebdd9f3 | [
"Apache-2.0"
] | null | null | null | whole_clinit = [
'\n'
'.method static constructor <clinit>()V\n'
' .locals 1\n'
'\n'
' :try_start_0\n'
' const-string v0, "nc"\n'
'\n'
' invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V\n'
' :try_end_0\n'
' .catch Ljava/lang/UnsatisfiedLi... | 30.042553 | 92 | 0.555241 | 184 | 1,412 | 4.119565 | 0.190217 | 0.14248 | 0.306069 | 0.068602 | 0.757256 | 0.757256 | 0.757256 | 0.643799 | 0.643799 | 0.643799 | 0 | 0.020096 | 0.259915 | 1,412 | 46 | 93 | 30.695652 | 0.705263 | 0 | 0 | 0.555556 | 0 | 0.044444 | 0.768414 | 0.305949 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
279afd47a27ed3232793f9ff8d03044daf02d1a1 | 87 | py | Python | WEEKS/wk17/CodeSignal-Solutions/Core_039_-_removeArrayPart.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/wk17/CodeSignal-Solutions/Core_039_-_removeArrayPart.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/wk17/CodeSignal-Solutions/Core_039_-_removeArrayPart.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | def removeArrayPart(inputArray, l, r):
return inputArray[:l] + inputArray[r + 1 :]
| 29 | 47 | 0.678161 | 11 | 87 | 5.363636 | 0.636364 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.172414 | 87 | 2 | 48 | 43.5 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
27a8b6f0b929b951defe0a26249cf8204acac3d3 | 91 | py | Python | tools/sql/__init__.py | xmy88/AppWishList | 780f93ee6154df17e48c9d550debd1a72cf63e4e | [
"Apache-2.0"
] | 1 | 2020-12-02T11:34:59.000Z | 2020-12-02T11:34:59.000Z | tools/sql/__init__.py | xmy88/AppWishList | 780f93ee6154df17e48c9d550debd1a72cf63e4e | [
"Apache-2.0"
] | null | null | null | tools/sql/__init__.py | xmy88/AppWishList | 780f93ee6154df17e48c9d550debd1a72cf63e4e | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
"""
@author:SiriYang
@file: __init__.py
@time: 2019.12.24 20:33
"""
| 13 | 23 | 0.593407 | 14 | 91 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 0.131868 | 91 | 6 | 24 | 15.166667 | 0.468354 | 0.89011 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
27e9a6a394ec702ae5a8799c4430e7d525245572 | 228 | py | Python | kompassi/wsgi.py | Siikakala/kompassi | 14cdcd966ab689d762cc885e28b6d15465c216f0 | [
"CC-BY-3.0"
] | null | null | null | kompassi/wsgi.py | Siikakala/kompassi | 14cdcd966ab689d762cc885e28b6d15465c216f0 | [
"CC-BY-3.0"
] | null | null | null | kompassi/wsgi.py | Siikakala/kompassi | 14cdcd966ab689d762cc885e28b6d15465c216f0 | [
"CC-BY-3.0"
] | null | null | null | import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kompassi.settings")
from django.core.wsgi import get_wsgi_application
from dj_static import Cling, MediaCling
application = Cling(MediaCling(get_wsgi_application()))
| 25.333333 | 68 | 0.828947 | 30 | 228 | 6.066667 | 0.566667 | 0.076923 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 228 | 8 | 69 | 28.5 | 0.870813 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 0.096491 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
27ff5102020fb76da12be7064492024475ee770c | 184 | py | Python | ModelsLibraries.py | ekletikstudios/EK | 1c4e6e76751293bdddbdba634753458adc99a42e | [
"MIT"
] | null | null | null | ModelsLibraries.py | ekletikstudios/EK | 1c4e6e76751293bdddbdba634753458adc99a42e | [
"MIT"
] | null | null | null | ModelsLibraries.py | ekletikstudios/EK | 1c4e6e76751293bdddbdba634753458adc99a42e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import uuid
from django.db import models
from django.urls import reverse
from datetime import date
from Choices import * | 26.285714 | 39 | 0.793478 | 27 | 184 | 5.222222 | 0.62963 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.141304 | 184 | 7 | 40 | 26.285714 | 0.886076 | 0.11413 | 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 |
7e0df30f99f7a16a384974175e4aec60994bdbb5 | 177 | py | Python | ase-quantumespresso/test_pw.py | renpj/ase-quantumespresso | 8aa8ad00f89016374a990ce3764f52e0f720b810 | [
"MIT"
] | 1 | 2019-02-06T20:43:26.000Z | 2019-02-06T20:43:26.000Z | ase-quantumespresso/test_pw.py | renpj/ase-quantumespresso | 8aa8ad00f89016374a990ce3764f52e0f720b810 | [
"MIT"
] | null | null | null | ase-quantumespresso/test_pw.py | renpj/ase-quantumespresso | 8aa8ad00f89016374a990ce3764f52e0f720b810 | [
"MIT"
] | 1 | 2020-04-14T07:16:20.000Z | 2020-04-14T07:16:20.000Z | from pw import *
a = PWInput.from_file('../test_files/pw_scf.in')
a.write_file('test.in')
#a = PWInput.from_file('../test_files/pw_scf_cell.in')
#a.write_file('test_cell.in')
| 22.125 | 54 | 0.711864 | 33 | 177 | 3.515152 | 0.363636 | 0.275862 | 0.206897 | 0.275862 | 0.793103 | 0.517241 | 0.517241 | 0.517241 | 0 | 0 | 0 | 0 | 0.079096 | 177 | 7 | 55 | 25.285714 | 0.711656 | 0.457627 | 0 | 0 | 0 | 0 | 0.319149 | 0.244681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fd65bd16df064310fb55cfac40c956361784a7cc | 360 | py | Python | test/unittests/util/test_string_utils.py | assistent-cat/mycroft-core | 6f8bae6ba136c9dd66ca47aaadd75e214d006190 | [
"Apache-2.0"
] | 6,099 | 2016-05-17T19:41:56.000Z | 2022-03-31T15:34:48.000Z | test/unittests/util/test_string_utils.py | assistent-cat/mycroft-core | 6f8bae6ba136c9dd66ca47aaadd75e214d006190 | [
"Apache-2.0"
] | 2,567 | 2016-05-20T16:23:11.000Z | 2022-03-23T01:54:39.000Z | test/unittests/util/test_string_utils.py | assistent-cat/mycroft-core | 6f8bae6ba136c9dd66ca47aaadd75e214d006190 | [
"Apache-2.0"
] | 1,563 | 2016-05-20T15:06:21.000Z | 2022-03-30T01:28:12.000Z | from unittest import TestCase
from mycroft.util import camel_case_split
class TestStringFunctions(TestCase):
def test_camel_case_split(self):
"""Check that camel case string is split properly."""
self.assertEqual(camel_case_split('MyCoolSkill'), 'My Cool Skill')
self.assertEqual(camel_case... | 36 | 74 | 0.744444 | 46 | 360 | 5.630435 | 0.521739 | 0.173745 | 0.216216 | 0.185328 | 0.393822 | 0.393822 | 0.393822 | 0.393822 | 0.393822 | 0 | 0 | 0 | 0.161111 | 360 | 9 | 75 | 40 | 0.857616 | 0.130556 | 0 | 0 | 0 | 0 | 0.156352 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fd6f6d3e5a2f6ff7098b2cd84c28bc4d05e88162 | 164 | py | Python | Django/django-rest-framework/api-level-1/news/admin.py | piaochung/blog | 3fc518c6b681e070e46dffaf64fae1086423a5e6 | [
"MIT"
] | null | null | null | Django/django-rest-framework/api-level-1/news/admin.py | piaochung/blog | 3fc518c6b681e070e46dffaf64fae1086423a5e6 | [
"MIT"
] | null | null | null | Django/django-rest-framework/api-level-1/news/admin.py | piaochung/blog | 3fc518c6b681e070e46dffaf64fae1086423a5e6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Journalist, Article
# Register your models here.
admin.site.register(Journalist)
admin.site.register(Article)
| 23.428571 | 39 | 0.817073 | 22 | 164 | 6.090909 | 0.545455 | 0.134328 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103659 | 164 | 6 | 40 | 27.333333 | 0.911565 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 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 |
fdd1e28e5effb84cf2035b49d5034eae831551e7 | 40 | py | Python | src/configuration/__init__.py | UoE-TTDS/project | 9e98bcab6d561038aea6a987c44211c98068bfed | [
"MIT"
] | 2 | 2016-12-12T21:45:12.000Z | 2016-12-19T23:53:43.000Z | src/configuration/__init__.py | UoE-TTDS/project | 9e98bcab6d561038aea6a987c44211c98068bfed | [
"MIT"
] | null | null | null | src/configuration/__init__.py | UoE-TTDS/project | 9e98bcab6d561038aea6a987c44211c98068bfed | [
"MIT"
] | null | null | null | from .configuration import Configuration | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fdd3bb983331b45d4d413250dc1a875f1e104b71 | 182 | py | Python | miniProj/miniApp/admin.py | cs-fullstack-2019-spring/django-mini-project5-DB225 | c8d6823056a7c68a53c465468b8efc58b873b846 | [
"Apache-2.0"
] | null | null | null | miniProj/miniApp/admin.py | cs-fullstack-2019-spring/django-mini-project5-DB225 | c8d6823056a7c68a53c465468b8efc58b873b846 | [
"Apache-2.0"
] | null | null | null | miniProj/miniApp/admin.py | cs-fullstack-2019-spring/django-mini-project5-DB225 | c8d6823056a7c68a53c465468b8efc58b873b846 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import UserLoginModel, RecipesModel
# Register your models here.
admin.site.register(UserLoginModel)
admin.site.register(RecipesModel)
| 26 | 48 | 0.835165 | 22 | 182 | 6.909091 | 0.545455 | 0.118421 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093407 | 182 | 6 | 49 | 30.333333 | 0.921212 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 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 |
fde2ea7e65fd557e48f96f35da7bf653b41c7125 | 151 | py | Python | dnnv/verifiers/common/errors.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | 33 | 2019-12-13T18:54:52.000Z | 2021-11-16T06:29:29.000Z | dnnv/verifiers/common/errors.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | 28 | 2020-01-30T14:06:03.000Z | 2022-01-27T01:07:37.000Z | dnnv/verifiers/common/errors.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | 14 | 2020-04-08T01:57:00.000Z | 2021-11-26T09:35:02.000Z | class VerifierError(Exception):
pass
class VerifierTranslatorError(Exception):
pass
__all__ = ["VerifierError", "VerifierTranslatorError"]
| 15.1 | 54 | 0.761589 | 11 | 151 | 10.090909 | 0.545455 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 9 | 55 | 16.777778 | 0.860465 | 0 | 0 | 0.4 | 0 | 0 | 0.238411 | 0.152318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fde4a63fae8dba9854119e528ffc647317fe9cd5 | 87 | py | Python | docs/admin.py | the-mandarine/mypanamsquad | b34c1c6169a3b7496e171b9536472a1ede0bdc84 | [
"Beerware"
] | null | null | null | docs/admin.py | the-mandarine/mypanamsquad | b34c1c6169a3b7496e171b9536472a1ede0bdc84 | [
"Beerware"
] | null | null | null | docs/admin.py | the-mandarine/mypanamsquad | b34c1c6169a3b7496e171b9536472a1ede0bdc84 | [
"Beerware"
] | null | null | null | from django.contrib import admin
from docs.models import Doc
admin.site.register(Doc)
| 17.4 | 32 | 0.816092 | 14 | 87 | 5.071429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 4 | 33 | 21.75 | 0.922078 | 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 |
e303814420b445ab0a1c03ba043642eb6872b280 | 1,209 | py | Python | pillow/save-numpy-array-face/main-RGB.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 140 | 2017-02-21T22:49:04.000Z | 2022-03-22T17:51:58.000Z | pillow/save-numpy-array-face/main-RGB.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 5 | 2017-12-02T19:55:00.000Z | 2021-09-22T23:18:39.000Z | pillow/save-numpy-array-face/main-RGB.py | whitmans-max/python-examples | 881a8f23f0eebc76816a0078e19951893f0daaaa | [
"MIT"
] | 79 | 2017-01-25T10:53:33.000Z | 2022-03-11T16:13:57.000Z | import numpy as np
import csv
from PIL import Image
counter = dict()
row = [
128, 255, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 255, 128,
0, 0, 0, 128, 255, 128, 128, 255, 128, 128, 255, 128, 128, 255, 128, 128, 255, 128, 0, 0, 0,
0, ... | 34.542857 | 112 | 0.463193 | 206 | 1,209 | 2.718447 | 0.165049 | 0.228571 | 0.283929 | 0.3 | 0.519643 | 0.519643 | 0.519643 | 0.519643 | 0.519643 | 0.519643 | 0 | 0.385806 | 0.358974 | 1,209 | 34 | 113 | 35.558824 | 0.336774 | 0 | 0 | 0.2 | 0 | 0 | 0.019024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12 | 0 | 0.12 | 0.04 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
e30b47689b78b58e7214784dfd47cb6c8e82a0e0 | 232,266 | py | Python | classicrack/ngrams/trigrams.py | starkfire/classicrack | ed7200de76587167fe2f0ad7677431c799ca009d | [
"MIT"
] | 1 | 2020-10-18T11:26:49.000Z | 2020-10-18T11:26:49.000Z | classicrack/ngrams/trigrams.py | starkfire/classicrack | ed7200de76587167fe2f0ad7677431c799ca009d | [
"MIT"
] | null | null | null | classicrack/ngrams/trigrams.py | starkfire/classicrack | ed7200de76587167fe2f0ad7677431c799ca009d | [
"MIT"
] | null | null | null | # fetched from http://practicalcryptography.com/media/cryptanalysis/files/english_trigrams.txt.zip
trigrams = {'THE': 77534223, 'AND': 30997177, 'ING': 30679488, 'ENT': 17902107, 'ION': 17769261, 'HER': 15277018, 'FOR': 14686159, 'THA': 14222073, 'NTH': 14115952, 'INT': 13656197, 'ERE': 13287155, 'TIO': 13285065, 'TER'... | 116,133 | 232,167 | 0.546408 | 35,125 | 232,266 | 3.613125 | 0.816484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.376122 | 0.151193 | 232,266 | 2 | 232,167 | 116,133 | 0.26761 | 0.000413 | 0 | 0 | 0 | 0 | 0.226852 | 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 |
e325536307dd6cc5a242fdbdd45c0681c3aa89e3 | 123 | py | Python | charms/admin.py | velxundussa/Storyteller | e3c4cc211959bc48efced0c99a1a32e6d003a16d | [
"MIT"
] | 3 | 2017-02-27T05:41:39.000Z | 2017-02-28T01:25:30.000Z | charms/admin.py | velxundussa/Storyteller | e3c4cc211959bc48efced0c99a1a32e6d003a16d | [
"MIT"
] | 4 | 2021-06-04T22:43:46.000Z | 2022-02-10T10:51:24.000Z | charms/admin.py | velxundussa/Storyteller | e3c4cc211959bc48efced0c99a1a32e6d003a16d | [
"MIT"
] | null | null | null | from django.contrib import admin
from charms.models import Charm
# Register your models here.
admin.site.register(Charm)
| 17.571429 | 32 | 0.804878 | 18 | 123 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 6 | 33 | 20.5 | 0.925234 | 0.211382 | 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 |
8b6d0ca7c9a98c3d441321f2433a47fe7ca46905 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/packaging/__about__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/packaging/__about__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/packaging/__about__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a7/f3/90/968a87dac69a75c6d4426584b162bce7b748ebf7dfe44dda4a20aa1850 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395833 | 0 | 96 | 1 | 96 | 96 | 0.5 | 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 |
8b726458624b3d788aebe58b8819a259295310cf | 123 | py | Python | Gustavo Guanabara - Python Learning Exercises/ex013 - F String [Exercise] 6.py | TiagoPL/Python-Learning | 20855433a8a050647ee9c5039aac1e50807324f8 | [
"MIT"
] | null | null | null | Gustavo Guanabara - Python Learning Exercises/ex013 - F String [Exercise] 6.py | TiagoPL/Python-Learning | 20855433a8a050647ee9c5039aac1e50807324f8 | [
"MIT"
] | null | null | null | Gustavo Guanabara - Python Learning Exercises/ex013 - F String [Exercise] 6.py | TiagoPL/Python-Learning | 20855433a8a050647ee9c5039aac1e50807324f8 | [
"MIT"
] | null | null | null | n1 = int(input('What is the employee salary? '))
print(f'The new salary with a 15% bonus will be U${(n1 / 100) *115:.2f}')
| 41 | 73 | 0.650407 | 24 | 123 | 3.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 0.170732 | 123 | 2 | 74 | 61.5 | 0.676471 | 0 | 0 | 0 | 0 | 0.5 | 0.747967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8b88a726ce820b3a52f53d6f44cf213378966361 | 194 | py | Python | poseutils/datasets/unprocessed/__init__.py | SaadManzur/PoseUtils | 146861eedf6b704118fd38ee6ae996b8781a8741 | [
"MIT"
] | null | null | null | poseutils/datasets/unprocessed/__init__.py | SaadManzur/PoseUtils | 146861eedf6b704118fd38ee6ae996b8781a8741 | [
"MIT"
] | null | null | null | poseutils/datasets/unprocessed/__init__.py | SaadManzur/PoseUtils | 146861eedf6b704118fd38ee6ae996b8781a8741 | [
"MIT"
] | null | null | null | from .GPADataset import GPADataset
from .H36MDataset import H36MDataset
from .MPI3DHPDataset import MPI3DHPDataset
from .SURREALDataset import SURREALDataset
from .TDPWDataset import TDPWDataset | 38.8 | 42 | 0.876289 | 20 | 194 | 8.5 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034286 | 0.097938 | 194 | 5 | 43 | 38.8 | 0.937143 | 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 |
8b8a7d2e7edf3a8cc0b3d636e11ea951d3ff5cef | 271 | py | Python | snmpagent_unity/unity_impl/FanHealthStatus.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/FanHealthStatus.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/FanHealthStatus.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class FanHealthStatus(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_fan_health_status(idx_name)
class FanHealthStatusColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_fans()
| 30.111111 | 59 | 0.749077 | 37 | 271 | 5.162162 | 0.459459 | 0.230366 | 0.115183 | 0.230366 | 0.324607 | 0.324607 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162362 | 271 | 8 | 60 | 33.875 | 0.84141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
8b94e9118fd62e1e9e5163f673ca94570643ab43 | 80 | py | Python | src/onegov/fsi/utils.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/fsi/utils.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/fsi/utils.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | def handle_empty_p_tags(html):
return html if not html == '<p></p>' else ''
| 26.666667 | 48 | 0.6375 | 14 | 80 | 3.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 2 | 49 | 40 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 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 |
8ba60f4e752582975e9fcccf6eadcd8e23012499 | 132 | py | Python | server/app/controllers/__init__.py | Neoteroi/Torino | 9bac21735ed4e6bdaed6e8b20e2c6b33d76f938c | [
"MIT"
] | 7 | 2021-12-12T09:14:50.000Z | 2022-02-06T15:59:57.000Z | server/app/controllers/__init__.py | Neoteroi/Torino | 9bac21735ed4e6bdaed6e8b20e2c6b33d76f938c | [
"MIT"
] | 5 | 2021-12-13T20:27:13.000Z | 2021-12-14T08:31:11.000Z | server/app/controllers/__init__.py | Neoteroi/Torino | 9bac21735ed4e6bdaed6e8b20e2c6b33d76f938c | [
"MIT"
] | 1 | 2021-12-31T18:52:41.000Z | 2021-12-31T18:52:41.000Z | # flake8: noqa
from .albums import AlbumsController
from .blobs import BlobsController
from .vfs import VirtualFileSystemController
| 26.4 | 44 | 0.848485 | 14 | 132 | 8 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.113636 | 132 | 4 | 45 | 33 | 0.948718 | 0.090909 | 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 |
8be6cf90cca078a5b7a54cc28647b15c13f8e148 | 438 | py | Python | doracle/model.py | baovien/dota-oracle | 4541a0d1cfcf54fce9df1b1d853a4e9090262a09 | [
"MIT"
] | null | null | null | doracle/model.py | baovien/dota-oracle | 4541a0d1cfcf54fce9df1b1d853a4e9090262a09 | [
"MIT"
] | null | null | null | doracle/model.py | baovien/dota-oracle | 4541a0d1cfcf54fce9df1b1d853a4e9090262a09 | [
"MIT"
] | null | null | null | import random
class HeroStats:
def __init__(self):
pass
def get_winrate(self, hero_id):
return random.random()
def get_pickrate(self, hero_id):
return random.random()
def get_best_paired_with_hero(self, hero_id):
return random.randint(0, 120)
@staticmethod
d... | 20.857143 | 61 | 0.648402 | 57 | 438 | 4.684211 | 0.526316 | 0.067416 | 0.11236 | 0.179775 | 0.337079 | 0.254682 | 0.254682 | 0.254682 | 0 | 0 | 0 | 0.012232 | 0.253425 | 438 | 20 | 62 | 21.9 | 0.804281 | 0 | 0 | 0.142857 | 0 | 0 | 0.050228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.071429 | 0.071429 | 0.214286 | 0.785714 | 0.071429 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
4736ca92aff880e9eea5c31d68f7ac156f3fb3a6 | 154 | py | Python | sync-dropbox.py | sdelcore/home-security | de8164915194c68579327ad25b9221bae8679c6f | [
"MIT"
] | null | null | null | sync-dropbox.py | sdelcore/home-security | de8164915194c68579327ad25b9221bae8679c6f | [
"MIT"
] | null | null | null | sync-dropbox.py | sdelcore/home-security | de8164915194c68579327ad25b9221bae8679c6f | [
"MIT"
] | null | null | null | from subprocess import call
photofile = "/home/pi/Dropbox-Uploader/dropbox_uploader.sh -s upload /home/pi/motion /"
call ([photofile], shell=True)
| 30.8 | 90 | 0.733766 | 21 | 154 | 5.333333 | 0.714286 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 154 | 4 | 91 | 38.5 | 0.842105 | 0 | 0 | 0 | 0 | 0.333333 | 0.474026 | 0.292208 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4742ef803806a82aee9b4a40603e5b2c48e21957 | 35,340 | py | Python | indiv-metrics/mortality_rate.py | fibanneacci/covid-incarc | 9dae392c458a1d9135641e1def517d8719328340 | [
"MIT"
] | null | null | null | indiv-metrics/mortality_rate.py | fibanneacci/covid-incarc | 9dae392c458a1d9135641e1def517d8719328340 | [
"MIT"
] | 2 | 2020-08-05T16:17:38.000Z | 2021-02-06T19:58:14.000Z | indiv-metrics/mortality_rate.py | fibanneacci/covid-incarc | 9dae392c458a1d9135641e1def517d8719328340 | [
"MIT"
] | null | null | null | import streamlit as st
from plotly.subplots import make_subplots
import plotly.graph_objects as go
import pandas as pd
from datetime import datetime
# Add data & visualizaions for prevalence, then combine all 3 metrics into one page & animate
# Add sidebar for navigation, slider (see how these variables changed with ... | 106.767372 | 724 | 0.632654 | 4,941 | 35,340 | 4.364501 | 0.107671 | 0.123534 | 0.054579 | 0.069464 | 0.785161 | 0.753072 | 0.736888 | 0.729284 | 0.683886 | 0.677023 | 0 | 0.04204 | 0.164035 | 35,340 | 330 | 725 | 107.090909 | 0.687913 | 0.032852 | 0 | 0.107759 | 0 | 0.038793 | 0.271327 | 0.006587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00431 | false | 0 | 0.021552 | 0 | 0.030172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47a1eb285893e3168ac7729e0382a1bf7d87ad7d | 60 | py | Python | py/exts/assetimport_maya/importer/__init__.py | ddesmond/assetexchange | 0f8133b449b41595e22f27f3970bec7ebeee19c1 | [
"MIT"
] | null | null | null | py/exts/assetimport_maya/importer/__init__.py | ddesmond/assetexchange | 0f8133b449b41595e22f27f3970bec7ebeee19c1 | [
"MIT"
] | null | null | null | py/exts/assetimport_maya/importer/__init__.py | ddesmond/assetexchange | 0f8133b449b41595e22f27f3970bec7ebeee19c1 | [
"MIT"
] | null | null | null | from .environment_hdri import *
from .surface_maps import *
| 20 | 31 | 0.8 | 8 | 60 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 32 | 30 | 0.884615 | 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 |
47bf9b35407609f45b5300c94b488ec713d3c0b2 | 72 | py | Python | app/models/__init__.py | Text-Analysis/doc-gost-api | b89e0181b92334ae40de55b54301e3806c746f91 | [
"MIT"
] | null | null | null | app/models/__init__.py | Text-Analysis/doc-gost-api | b89e0181b92334ae40de55b54301e3806c746f91 | [
"MIT"
] | null | null | null | app/models/__init__.py | Text-Analysis/doc-gost-api | b89e0181b92334ae40de55b54301e3806c746f91 | [
"MIT"
] | null | null | null | from .parserwrapper import ParserWrapper
from .database import Database
| 24 | 40 | 0.861111 | 8 | 72 | 7.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 41 | 36 | 0.96875 | 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 |
47bfb5fae9bd48c56774ded98f80e809d38275ed | 303 | py | Python | setup.py | ripper479/Probability_Distributions | 66ea1f49786ef81063e80181228cfcee1a2ba16f | [
"MIT"
] | null | null | null | setup.py | ripper479/Probability_Distributions | 66ea1f49786ef81063e80181228cfcee1a2ba16f | [
"MIT"
] | null | null | null | setup.py | ripper479/Probability_Distributions | 66ea1f49786ef81063e80181228cfcee1a2ba16f | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='probability_distributions_2020_1',
version='0.1',
description='Probability distributions',
author='Sourav Sharma' ,
author_email = 'sourav.sharma479@gmail.com' ,
packages=['probability_distributions_2020_1'],
zip_safe=False)
| 30.3 | 52 | 0.712871 | 33 | 303 | 6.30303 | 0.69697 | 0.346154 | 0.269231 | 0.278846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0.178218 | 303 | 9 | 53 | 33.666667 | 0.7751 | 0 | 0 | 0 | 0 | 0 | 0.432343 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47d3bb9855dcc95ac757b3ece2c4b3588b1e8011 | 33 | py | Python | basic_data_structure_01/__init__.py | lhf860/leetcode_python | 084d6e39f64271663962589b158f68e90359812a | [
"Apache-2.0"
] | null | null | null | basic_data_structure_01/__init__.py | lhf860/leetcode_python | 084d6e39f64271663962589b158f68e90359812a | [
"Apache-2.0"
] | null | null | null | basic_data_structure_01/__init__.py | lhf860/leetcode_python | 084d6e39f64271663962589b158f68e90359812a | [
"Apache-2.0"
] | null | null | null |
from collections import deque
| 6.6 | 29 | 0.787879 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 4 | 30 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9a46dde37016f3c838760b6a1abc37e8d8ea6e1e | 551 | py | Python | reposicao/views.py | Carlosdher/backup | 7bd5bf599397b36fd2d2f94053b476ec8a0b6f16 | [
"MIT"
] | null | null | null | reposicao/views.py | Carlosdher/backup | 7bd5bf599397b36fd2d2f94053b476ec8a0b6f16 | [
"MIT"
] | null | null | null | reposicao/views.py | Carlosdher/backup | 7bd5bf599397b36fd2d2f94053b476ec8a0b6f16 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def home(request):
template_name = 'home.html'
return render(request,template_name)
def reposicao(request):
template_name = 'formreposicao.html'
return render(request,template_name)
def historico(request):
template_name = 'historico.html'
return render(requ... | 25.045455 | 43 | 0.754991 | 65 | 551 | 6.246154 | 0.292308 | 0.369458 | 0.46798 | 0.283251 | 0.460591 | 0.460591 | 0.374384 | 0 | 0 | 0 | 0 | 0 | 0.15245 | 551 | 21 | 44 | 26.238095 | 0.869379 | 0 | 0 | 0.3125 | 0 | 0 | 0.137931 | 0.038113 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.0625 | 0 | 0.6875 | 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 |
9a492a1dcd7255fe646ff01f52928c14b357f595 | 57 | py | Python | rocks_quarry/__main__.py | Agilicus/rocks-quarry | 6aad1e45c1185d354409e193f6762177ac9a25b8 | [
"Apache-2.0"
] | null | null | null | rocks_quarry/__main__.py | Agilicus/rocks-quarry | 6aad1e45c1185d354409e193f6762177ac9a25b8 | [
"Apache-2.0"
] | null | null | null | rocks_quarry/__main__.py | Agilicus/rocks-quarry | 6aad1e45c1185d354409e193f6762177ac9a25b8 | [
"Apache-2.0"
] | null | null | null | from rocks_quarry import server_main
server_main.main()
| 14.25 | 36 | 0.842105 | 9 | 57 | 5 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 3 | 37 | 19 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
7bd551a305cbb648268e2c92d3d2ba501f7ebebe | 50 | py | Python | i learned on py.py | genelorenzSarmiento0408/what-i-learned | 5126e257e554438523c59749ca1bbbd8c4145cb8 | [
"CC0-1.0"
] | null | null | null | i learned on py.py | genelorenzSarmiento0408/what-i-learned | 5126e257e554438523c59749ca1bbbd8c4145cb8 | [
"CC0-1.0"
] | null | null | null | i learned on py.py | genelorenzSarmiento0408/what-i-learned | 5126e257e554438523c59749ca1bbbd8c4145cb8 | [
"CC0-1.0"
] | null | null | null | import tkinker from *
print("The more you learm")
| 16.666667 | 27 | 0.74 | 8 | 50 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 28 | 25 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
d00cc7cd9402989ca7d5ae939a0c597d37e8a97a | 250 | py | Python | whynot/simulators/world3/__init__.py | yoshavit/whynot | e33e56bae377b65fe87feac5c6246ae38f4586e8 | [
"MIT"
] | 376 | 2020-03-20T20:09:16.000Z | 2022-03-29T09:53:33.000Z | whynot/simulators/world3/__init__.py | mrtzh/whynot | 0668f0a0c1e80defec6e4678f85ed60f45226477 | [
"MIT"
] | 5 | 2020-04-20T10:19:34.000Z | 2021-11-03T09:36:28.000Z | whynot/simulators/world3/__init__.py | mrtzh/whynot | 0668f0a0c1e80defec6e4678f85ed60f45226477 | [
"MIT"
] | 41 | 2020-03-20T23:14:38.000Z | 2022-03-09T06:02:01.000Z | """World3 initialization."""
from whynot.simulators.world3.simulator import Config, Intervention, simulate, State
from whynot.simulators.world3.experiments import *
from whynot.simulators.world3.environments import *
SUPPORTS_CAUSAL_GRAPHS = False
| 31.25 | 84 | 0.824 | 28 | 250 | 7.285714 | 0.607143 | 0.147059 | 0.294118 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.088 | 250 | 7 | 85 | 35.714286 | 0.877193 | 0.088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d047c1bec1519fe864f5b52eedbdc26bf22c1d80 | 28 | py | Python | users/__init__.py | perrycharlton/forms | 4e2d18538a0b08ebdd88a4ddad8fb614f04b1a51 | [
"MIT"
] | null | null | null | users/__init__.py | perrycharlton/forms | 4e2d18538a0b08ebdd88a4ddad8fb614f04b1a51 | [
"MIT"
] | null | null | null | users/__init__.py | perrycharlton/forms | 4e2d18538a0b08ebdd88a4ddad8fb614f04b1a51 | [
"MIT"
] | null | null | null | from .UserViews import user
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.