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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f58764fa0b40797d95abd3d6a3f0937cd6964e6c | 1,197 | py | Python | piccel/ui/__init__.py | lesca-research/piccel | dc363df65e29f3d6e71a2460b7cd7518d7f8ae0f | [
"MIT"
] | 2 | 2021-05-25T13:57:47.000Z | 2021-12-19T14:50:40.000Z | piccel/ui/__init__.py | lesca-research/piccel | dc363df65e29f3d6e71a2460b7cd7518d7f8ae0f | [
"MIT"
] | null | null | null | piccel/ui/__init__.py | lesca-research/piccel | dc363df65e29f3d6e71a2460b7cd7518d7f8ae0f | [
"MIT"
] | null | null | null | from .generated import access_ui
from .generated import data_sheet_ui
from .generated import form_item_ui
from .generated import form_ui
from .generated import item_boolean_checkboxes_ui
from .generated import item_choice_radio_ui
from .generated import item_datetime_ui
from .generated import item_single_line_ui
from .... | 37.40625 | 49 | 0.867168 | 183 | 1,197 | 5.338798 | 0.202186 | 0.385875 | 0.563971 | 0.580348 | 0.659161 | 0.323439 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1,197 | 31 | 50 | 38.612903 | 0.912232 | 0.070175 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f58e4bc40a350c6301e52e3f967841724fa4d675 | 67 | py | Python | src/lesson_modules_and_packages/extension/demopkg2/overloaded.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_modules_and_packages/extension/demopkg2/overloaded.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_modules_and_packages/extension/demopkg2/overloaded.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null |
def func():
print('This is the installed version of func().')
| 16.75 | 53 | 0.641791 | 10 | 67 | 4.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 67 | 3 | 54 | 22.333333 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f5a5e0a3f9b651f42de17ce7e9056c967d03811c | 30 | py | Python | sqlite_/__init__.py | StaticStartup/pyty | 19d6ca69ea6fcf44e7c9f5b07cc703220597187d | [
"MIT"
] | null | null | null | sqlite_/__init__.py | StaticStartup/pyty | 19d6ca69ea6fcf44e7c9f5b07cc703220597187d | [
"MIT"
] | null | null | null | sqlite_/__init__.py | StaticStartup/pyty | 19d6ca69ea6fcf44e7c9f5b07cc703220597187d | [
"MIT"
] | null | null | null | from ._connector import sqlite | 30 | 30 | 0.866667 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19122406f7cf3b1042bfef28d7961fa4d4dc2653 | 23 | py | Python | database/__init__.py | drkitty/web-test | d49740100320fb542043280c31f420364aeba76f | [
"MIT"
] | null | null | null | database/__init__.py | drkitty/web-test | d49740100320fb542043280c31f420364aeba76f | [
"MIT"
] | null | null | null | database/__init__.py | drkitty/web-test | d49740100320fb542043280c31f420364aeba76f | [
"MIT"
] | null | null | null | from .data import Base
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5fd5a499aa553aaf264d1b6598e4fd94e80757b0 | 177 | py | Python | manual/unicos/src-groups/script/lib/generator/predicate_function_declaration.py | Tikubonn/unico | c76de5309f8a3a6fda3110e463b7e9718ea530e3 | [
"MIT"
] | null | null | null | manual/unicos/src-groups/script/lib/generator/predicate_function_declaration.py | Tikubonn/unico | c76de5309f8a3a6fda3110e463b7e9718ea530e3 | [
"MIT"
] | null | null | null | manual/unicos/src-groups/script/lib/generator/predicate_function_declaration.py | Tikubonn/unico | c76de5309f8a3a6fda3110e463b7e9718ea530e3 | [
"MIT"
] | null | null | null |
def write (name, stream):
stream.write("#include <unico.h>\n")
stream.write("#include <stddef.h>\n")
stream.write("extern int %s (size_t, size_t, unicos*);\n" % name)
| 25.285714 | 67 | 0.638418 | 28 | 177 | 3.964286 | 0.535714 | 0.297297 | 0.324324 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146893 | 177 | 6 | 68 | 29.5 | 0.735099 | 0 | 0 | 0 | 0 | 0 | 0.471591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ff0b1031851a7f6a66295518d61aaa725bf1b84 | 6,131 | py | Python | loldib/getratings/models/NA/na_zed/na_zed_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zed/na_zed_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zed/na_zed_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Zed_Jng_Aatrox(Ratings):
pass
class NA_Zed_Jng_Ahri(Ratings):
pass
class NA_Zed_Jng_Akali(Ratings):
pass
class NA_Zed_Jng_Alistar(Ratings):
pass
class NA_Zed_Jng_Amumu(Ratings):
pass
class NA_Zed_Jng_Anivia(Ratings):
pass
class NA_Z... | 14.702638 | 46 | 0.750938 | 972 | 6,131 | 4.3107 | 0.151235 | 0.230549 | 0.329356 | 0.428162 | 0.784726 | 0.784726 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18121 | 6,131 | 416 | 47 | 14.737981 | 0.834661 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5ff54900b3df8d8babec7d72f4a475e49d6c8ea3 | 14,953 | py | Python | sim/env.py | nihalgoalla/pensieve | 282d2db3ea42e152880ff12f1497fa8b224aba90 | [
"MIT"
] | null | null | null | sim/env.py | nihalgoalla/pensieve | 282d2db3ea42e152880ff12f1497fa8b224aba90 | [
"MIT"
] | null | null | null | sim/env.py | nihalgoalla/pensieve | 282d2db3ea42e152880ff12f1497fa8b224aba90 | [
"MIT"
] | null | null | null | import numpy as np
MILLISECONDS_IN_SECOND = 1000.0
B_IN_MB = 1000000.0
BITS_IN_BYTE = 8.0
RANDOM_SEED = 42
VIDEO_CHUNCK_LEN = 4000.0 # millisec, every time add this amount to buffer
BITRATE_LEVELS = 6
TOTAL_VIDEO_CHUNCK = 48
BUFFER_THRESH = 60.0 * MILLISECONDS_IN_SECOND # millisec, max buffer limit
DRAIN_BUFFER_SLEE... | 44.502976 | 133 | 0.600749 | 1,885 | 14,953 | 4.491777 | 0.119894 | 0.057872 | 0.062005 | 0.051966 | 0.847171 | 0.82355 | 0.809141 | 0.790363 | 0.783749 | 0.778316 | 0 | 0.013174 | 0.324818 | 14,953 | 335 | 134 | 44.635821 | 0.825475 | 0.537685 | 0 | 0.265487 | 0 | 0 | 0.001958 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 1 | 0.017699 | false | 0 | 0.00885 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27598eb59ff4e69bffd8baa1d6f496234b1e7adf | 6,686 | py | Python | tests/test_rigid_alignment.py | Daiver/pygeom_tools | ed89d8cab2d5956c7c680da1ce6335f4c0a31c70 | [
"MIT"
] | 9 | 2019-10-29T18:39:47.000Z | 2022-03-18T11:44:12.000Z | tests/test_rigid_alignment.py | Daiver/pygeom_tools | ed89d8cab2d5956c7c680da1ce6335f4c0a31c70 | [
"MIT"
] | null | null | null | tests/test_rigid_alignment.py | Daiver/pygeom_tools | ed89d8cab2d5956c7c680da1ce6335f4c0a31c70 | [
"MIT"
] | 1 | 2021-06-24T08:34:56.000Z | 2021-06-24T08:34:56.000Z | import unittest
import numpy as np
import geom_tools
from geom_tools.rigid_alignment import find_rotation_and_translation, find_rotation_and_translation_weighted
class TestRigidAlignment(unittest.TestCase):
def test_find_rotation_and_translation01(self):
src = [
[1, 0, 0],
[0, 1,... | 31.097674 | 108 | 0.495962 | 843 | 6,686 | 3.711744 | 0.09134 | 0.042186 | 0.027804 | 0.026846 | 0.838926 | 0.82007 | 0.772132 | 0.752956 | 0.747523 | 0.729626 | 0 | 0.087223 | 0.36554 | 6,686 | 214 | 109 | 31.242991 | 0.650401 | 0 | 0 | 0.665 | 0 | 0 | 0.001197 | 0 | 0 | 0 | 0 | 0 | 0.07 | 1 | 0.045 | false | 0 | 0.02 | 0 | 0.07 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27e5c041207bc56a22072339e4cbf39e1270b3f2 | 233 | py | Python | other-materials/python-intro/atom.py | inferential/drug-computing | 25ff2f04b2a1f7cb71c552f62e722edb26cc297f | [
"CC-BY-4.0",
"MIT"
] | 103 | 2017-10-21T18:49:01.000Z | 2022-03-24T22:05:21.000Z | other-materials/python-intro/atom.py | inferential/drug-computing | 25ff2f04b2a1f7cb71c552f62e722edb26cc297f | [
"CC-BY-4.0",
"MIT"
] | 29 | 2017-10-23T20:57:17.000Z | 2022-03-15T21:57:09.000Z | other-materials/python-intro/atom.py | inferential/drug-computing | 25ff2f04b2a1f7cb71c552f62e722edb26cc297f | [
"CC-BY-4.0",
"MIT"
] | 36 | 2018-01-18T20:22:29.000Z | 2022-03-16T13:08:09.000Z | class AtomClass:
def __init__(self, Velocity, Element = 'C', Mass = 12.0):
self.Velocity = Velocity
self.Element = Element
self.Mass = Mass
def Momentum(self):
return self.Velocity * self.Mass
| 29.125 | 61 | 0.613734 | 28 | 233 | 4.964286 | 0.464286 | 0.258993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0.283262 | 233 | 7 | 62 | 33.285714 | 0.814371 | 0 | 0 | 0 | 0 | 0 | 0.004292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fd6e3de023ed5b1f472af3d7c5768225c9479062 | 26 | py | Python | drawer/__init__.py | neuralrefinery/nr-python-client | 14d569721079bdf64ba86650cb0286dbcd02eda2 | [
"CC0-1.0"
] | null | null | null | drawer/__init__.py | neuralrefinery/nr-python-client | 14d569721079bdf64ba86650cb0286dbcd02eda2 | [
"CC0-1.0"
] | null | null | null | drawer/__init__.py | neuralrefinery/nr-python-client | 14d569721079bdf64ba86650cb0286dbcd02eda2 | [
"CC0-1.0"
] | null | null | null | from .drawer import drawer | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e33099bf92e5833943ac56471e47ebe360d26b20 | 73 | py | Python | saopy/tzont/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 2 | 2016-11-03T14:57:45.000Z | 2019-05-13T13:21:08.000Z | saopy/tzont/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | null | null | null | saopy/tzont/__init__.py | CityPulse/CP_Resourcemanagement | aa670fa89d5e086a98ade3ccc152518be55abf2e | [
"MIT"
] | 1 | 2020-07-23T11:27:15.000Z | 2020-07-23T11:27:15.000Z | import saopy.model
from saopy.model import tzont___TimeZone as TimeZone
| 18.25 | 52 | 0.849315 | 11 | 73 | 5.363636 | 0.636364 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 3 | 53 | 24.333333 | 0.921875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b64196986c464a5aa54044db3ae11c428be7621 | 16,797 | py | Python | applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/classDefs_solverWrapper/methodDefs_KratosSolverWrapper/mpi_solve.py | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/classDefs_solverWrapper/methodDefs_KratosSolverWrapper/mpi_solve.py | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | applications/MultilevelMonteCarloApplication/external_libraries/XMC/xmc/classDefs_solverWrapper/methodDefs_KratosSolverWrapper/mpi_solve.py | ma6yu/Kratos | 02380412f8a833a2cdda6791e1c7f9c32e088530 | [
"BSD-4-Clause"
] | null | null | null | # Import Python libraries
import time
import pickle
import os
try:
from threadpoolctl import *
except:
pass
# Import XMC, distributed environment
from xmc.distributedEnvironmentFramework import *
from xmc.classDefs_solverWrapper.methodDefs_KratosSolverWrapper.solve import ExecuteInstanceDeterministicAdaptiveRe... | 76.69863 | 536 | 0.794547 | 1,902 | 16,797 | 6.494742 | 0.100946 | 0.026228 | 0.042095 | 0.0425 | 0.806849 | 0.785882 | 0.783211 | 0.756658 | 0.730106 | 0.721849 | 0 | 0.006048 | 0.074656 | 16,797 | 218 | 537 | 77.050459 | 0.788715 | 0.063821 | 0 | 0.565789 | 0 | 0 | 0.066103 | 0.024668 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072368 | false | 0.006579 | 0.138158 | 0 | 0.282895 | 0.138158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b7265568526c35191b0cede28aea96cf50c6844 | 124 | py | Python | lab3/text_recognizer/lit_models/__init__.py | Agyey/fsdl-text-recognizer-2021-labs | 4bd85042ab9f6decd78849bb655c197cc13ffc11 | [
"MIT"
] | 402 | 2021-01-18T12:14:08.000Z | 2022-03-28T03:41:05.000Z | lab3/text_recognizer/lit_models/__init__.py | Agyey/fsdl-text-recognizer-2021-labs | 4bd85042ab9f6decd78849bb655c197cc13ffc11 | [
"MIT"
] | 27 | 2021-01-21T01:54:30.000Z | 2022-03-29T21:39:41.000Z | lab3/text_recognizer/lit_models/__init__.py | Agyey/fsdl-text-recognizer-2021-labs | 4bd85042ab9f6decd78849bb655c197cc13ffc11 | [
"MIT"
] | 271 | 2021-01-21T18:07:24.000Z | 2022-03-30T12:49:53.000Z | from .base import BaseLitModel
# Hide lines below until Lab 3
from .ctc import CTCLitModel
# Hide lines above until Lab 3
| 17.714286 | 30 | 0.774194 | 20 | 124 | 4.8 | 0.65 | 0.1875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.193548 | 124 | 6 | 31 | 20.666667 | 0.94 | 0.459677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8bce004b983cdd07f804f47b1734ffc4fc5d65ce | 192 | py | Python | crypto-cuck-coin-genesis.py | alexanderjsingleton/crypto-cuck-coin | 1bb184eff82f3a541391663ebdf82740ac8577cf | [
"MIT"
] | 3 | 2018-12-01T06:52:59.000Z | 2020-02-13T17:30:07.000Z | crypto-cuck-coin-genesis.py | alexanderjsingleton/crypto-cuck-coin | 1bb184eff82f3a541391663ebdf82740ac8577cf | [
"MIT"
] | null | null | null | crypto-cuck-coin-genesis.py | alexanderjsingleton/crypto-cuck-coin | 1bb184eff82f3a541391663ebdf82740ac8577cf | [
"MIT"
] | null | null | null | import datetime as date
def create_genesis_block():
# Manually construct a block with
# index zero and arbitrary previous hash
return Block(0, date.datetime.now(), "Genesis Block", "0") | 32 | 60 | 0.744792 | 28 | 192 | 5.035714 | 0.75 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.161458 | 192 | 6 | 60 | 32 | 0.863354 | 0.364583 | 0 | 0 | 0 | 0 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
8bdab21d22bccbf3db0fc329877db4c964bb5537 | 305 | py | Python | runtests.py | Mishioo/tesliper | 26857e1d46b309ea24ade01059fc92e3a192c471 | [
"BSD-2-Clause"
] | 1 | 2019-01-27T00:03:50.000Z | 2019-01-27T00:03:50.000Z | runtests.py | Mishioo/tesliper | 26857e1d46b309ea24ade01059fc92e3a192c471 | [
"BSD-2-Clause"
] | null | null | null | runtests.py | Mishioo/tesliper | 26857e1d46b309ea24ade01059fc92e3a192c471 | [
"BSD-2-Clause"
] | null | null | null | from test.unit.extraction.gaussian_parser_test import *
from test.unit.extraction.extraction_test import *
from test.unit.glassware_test import *
from test.unit.datawork_test import *
from test.unit.writer_test import *
from test.unit.tesliper_test import *
if __name__ == '__main__':
unittest.main() | 33.888889 | 55 | 0.8 | 44 | 305 | 5.204545 | 0.340909 | 0.209607 | 0.31441 | 0.393013 | 0.480349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108197 | 305 | 9 | 56 | 33.888889 | 0.841912 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
47494238acbbcaf60a4791356c76abac1e9f349d | 79,447 | py | Python | tests/app/views/test_buyers.py | pebblecode/cirrus-buyer-frontend | 506c45eab09fa9538c0eb05643e24feecdcca56f | [
"MIT"
] | null | null | null | tests/app/views/test_buyers.py | pebblecode/cirrus-buyer-frontend | 506c45eab09fa9538c0eb05643e24feecdcca56f | [
"MIT"
] | null | null | null | tests/app/views/test_buyers.py | pebblecode/cirrus-buyer-frontend | 506c45eab09fa9538c0eb05643e24feecdcca56f | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import unicode_literals
from ...helpers import BaseApplicationTest
from dmapiclient import api_stubs, HTTPError
from dmutils.content_loader import ContentLoader
import mock
from lxml import html
import pytest
@mock.patch('app.buyers.views.buyers.data_api_client')
class TestBuyerDashbo... | 42.214134 | 145 | 0.622125 | 8,756 | 79,447 | 5.386364 | 0.052193 | 0.036809 | 0.068359 | 0.095923 | 0.894578 | 0.875644 | 0.866548 | 0.856901 | 0.846341 | 0.832496 | 0 | 0.019408 | 0.26648 | 79,447 | 1,881 | 146 | 42.236576 | 0.789639 | 0.008169 | 0 | 0.686324 | 0 | 0.017566 | 0.278262 | 0.187721 | 0 | 0 | 0 | 0 | 0.102258 | 1 | 0.053325 | false | 0 | 0.005646 | 0 | 0.069636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4774c5004900c2cf17d2ec3e2417bccb96e7d8e3 | 156 | py | Python | libft/layers/__init__.py | kcosta42/Multilayer_Perceptron | 51e2f9e0532c6e1e9b826b12171903b780e0ba4f | [
"MIT"
] | 1 | 2020-09-26T10:40:45.000Z | 2020-09-26T10:40:45.000Z | libft/layers/__init__.py | kcosta42/Multilayer_Perceptron | 51e2f9e0532c6e1e9b826b12171903b780e0ba4f | [
"MIT"
] | null | null | null | libft/layers/__init__.py | kcosta42/Multilayer_Perceptron | 51e2f9e0532c6e1e9b826b12171903b780e0ba4f | [
"MIT"
] | null | null | null | from libft.layers.dense import Dense
from libft.layers.dropout import Dropout
from libft.layers.input import Input
__all__ = ['Dense', 'Dropout', 'Input']
| 26 | 40 | 0.775641 | 22 | 156 | 5.318182 | 0.363636 | 0.230769 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 156 | 5 | 41 | 31.2 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
478ca3cd22c91b846ba218186f1fda6eb6db009b | 39 | py | Python | autodeploy/loader/__init__.py | kartik4949/AutoDeploy | af7b3b32954a574307849ababb05fa2f4a80f52e | [
"MIT"
] | 46 | 2021-08-11T12:24:15.000Z | 2022-01-17T19:34:48.000Z | autodeploy/loader/__init__.py | kartik4949/AutoDeploy | af7b3b32954a574307849ababb05fa2f4a80f52e | [
"MIT"
] | 17 | 2021-08-11T16:06:55.000Z | 2021-10-05T09:44:57.000Z | autodeploy/loader/__init__.py | kartik4949/AutoDeploy | af7b3b32954a574307849ababb05fa2f4a80f52e | [
"MIT"
] | 10 | 2021-08-11T15:57:29.000Z | 2021-12-04T16:44:13.000Z | from ._model_loader import ModelLoader
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47abacbc35f7affcecbcb1f9d427052a0d05c0fe | 42 | py | Python | tests/conftest.py | tony/libvcs | 05db3a77b53326502cbb5bc76e8a6985cd271182 | [
"MIT"
] | 35 | 2016-07-16T21:39:10.000Z | 2017-11-24T02:52:13.000Z | tests/conftest.py | tony/libvcs | 05db3a77b53326502cbb5bc76e8a6985cd271182 | [
"MIT"
] | 70 | 2016-06-20T06:45:12.000Z | 2018-03-06T14:57:35.000Z | tests/conftest.py | tony/libvcs | 05db3a77b53326502cbb5bc76e8a6985cd271182 | [
"MIT"
] | 2 | 2016-06-21T13:59:00.000Z | 2017-05-12T17:49:45.000Z | from libvcs.conftest import * # noqa F40
| 21 | 41 | 0.738095 | 6 | 42 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 42 | 1 | 42 | 42 | 0.852941 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a14ab1f655bfde79e690e86d8dc662bc454a7f9 | 64 | py | Python | multilingual_t5/baseline_hi/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/baseline_hi/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/baseline_hi/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """baseline_hi dataset."""
from .baseline_hi import BaselineHi
| 16 | 35 | 0.765625 | 8 | 64 | 5.875 | 0.75 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 3 | 36 | 21.333333 | 0.824561 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a22a59fd5981f5e8dfc76843d22235b0c0569f2 | 181 | py | Python | models/rnn/__init__.py | pdeubel/world-models-testing | 36f2baf79898452e677fe141f11ba434f92e9218 | [
"MIT"
] | null | null | null | models/rnn/__init__.py | pdeubel/world-models-testing | 36f2baf79898452e677fe141f11ba434f92e9218 | [
"MIT"
] | null | null | null | models/rnn/__init__.py | pdeubel/world-models-testing | 36f2baf79898452e677fe141f11ba434f92e9218 | [
"MIT"
] | null | null | null | from models.rnn.base_rnn import BaseRNN, BaseMDNRNN, BaseSimpleRNN
from models.rnn.mdn_rnn import StandardMDNRNN, MDNRNNWithBCE
from models.rnn.lstm import LSTMWithBCE, LSTMWithMSE
| 45.25 | 66 | 0.856354 | 24 | 181 | 6.375 | 0.583333 | 0.196078 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 181 | 3 | 67 | 60.333333 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a49db9af518a6bc0a0bbe357c509abc28bb297d | 1,679 | py | Python | main.py | feliphebueno/Tavern | d2026f8a28b898230a3c047be93b189f40305884 | [
"MIT"
] | null | null | null | main.py | feliphebueno/Tavern | d2026f8a28b898230a3c047be93b189f40305884 | [
"MIT"
] | null | null | null | main.py | feliphebueno/Tavern | d2026f8a28b898230a3c047be93b189f40305884 | [
"MIT"
] | null | null | null | """
Project's entry-point
"""
import logging.config
import os
import json
import yaml
from tavern.core import run
token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1MzI4MDU4MjYsImlzcyI6Ik9ueXhwcmV2IiwiZXhwIjoxNTMyODQ5MDI2LCJuYmYiOjE1MzI4MDU4MjUsImRhdGEiOnsiYXBwIjp7ImFwaUlkIjoiODNjYzEyYTVmY2M1IiwiYXBwQ29kIjoxMi... | 55.966667 | 1,123 | 0.89994 | 88 | 1,679 | 17.034091 | 0.625 | 0.016011 | 0.018679 | 0.02535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078272 | 0.048839 | 1,679 | 29 | 1,124 | 57.896552 | 0.860363 | 0.030971 | 0 | 0 | 0 | 0 | 0.766523 | 0.70105 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.105263 | 0.263158 | 0 | 0.263158 | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9a66978d4fea6ce59934d0b9d530cf6749d0f37d | 386 | py | Python | terrascript/provider/rancher2.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/provider/rancher2.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/provider/rancher2.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/provider/rancher2.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:25:37 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.provider.rancher2
#
# instead of
#
# >>> import terrascript.provider.rancher.rancher2
#
# This is only available for 'official' and 'partner... | 25.733333 | 73 | 0.748705 | 49 | 386 | 5.897959 | 0.714286 | 0.262976 | 0.186851 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047761 | 0.132124 | 386 | 14 | 74 | 27.571429 | 0.814925 | 0.797927 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7bd51e3371ba8530272be9c8b4818d2e9097453f | 161 | py | Python | modernquiz/modernquiz/views.py | yuriymironov96/modernquiz-redone | e7b0cbe6ccdbe7fdec993d01d774e96887274184 | [
"MIT"
] | null | null | null | modernquiz/modernquiz/views.py | yuriymironov96/modernquiz-redone | e7b0cbe6ccdbe7fdec993d01d774e96887274184 | [
"MIT"
] | 9 | 2017-11-18T14:16:11.000Z | 2017-12-14T06:39:52.000Z | modernquiz/modernquiz/views.py | yuriymironov96/modernquiz-redone | e7b0cbe6ccdbe7fdec993d01d774e96887274184 | [
"MIT"
] | null | null | null | from django.shortcuts import redirect
from django.core.urlresolvers import reverse_lazy
def redirect_to_home(request):
return redirect(reverse_lazy('home')) | 32.2 | 49 | 0.826087 | 22 | 161 | 5.863636 | 0.636364 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 5 | 50 | 32.2 | 0.889655 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7bf495220dca25ca1f3238aae36d671f73cb5c41 | 230,382 | py | Python | llink/script/llink_gen.py | chipsalliance/aib-protocols | 98858e6707f30ed6ea714598e3e324d754d82be0 | [
"Apache-2.0"
] | 11 | 2021-09-01T19:48:44.000Z | 2022-03-10T16:13:59.000Z | llink/script/llink_gen.py | chipsalliance/aib-protocols | 98858e6707f30ed6ea714598e3e324d754d82be0 | [
"Apache-2.0"
] | 86 | 2021-07-16T17:55:30.000Z | 2022-03-23T20:18:23.000Z | llink/script/llink_gen.py | chipsalliance/aib-protocols | 98858e6707f30ed6ea714598e3e324d754d82be0 | [
"Apache-2.0"
] | 4 | 2021-09-18T03:59:01.000Z | 2022-01-30T09:14:37.000Z | ############################################################
##
## Copyright (C) 2021 Eximius Design
##
##
## 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.... | 66.125718 | 454 | 0.593002 | 27,564 | 230,382 | 4.583515 | 0.026955 | 0.045401 | 0.048979 | 0.023271 | 0.883853 | 0.843217 | 0.810646 | 0.761501 | 0.710511 | 0.679975 | 0 | 0.015521 | 0.257229 | 230,382 | 3,483 | 455 | 66.144703 | 0.722787 | 0.08982 | 0 | 0.533708 | 0 | 0.016453 | 0.288347 | 0.078558 | 0 | 0 | 0 | 0.000287 | 0 | 1 | 0.008026 | false | 0.000803 | 0.006019 | 0 | 0.020867 | 0.169342 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d05ac23fa7dcc2d33d5b37d5d5ac2a64b1e1f1a0 | 43,183 | py | Python | Bin/apropiacion.py | mfneirae/CvLAC-Complete | a7e4f3c93a3f22b732fbb4670fe294a9ec3030ab | [
"MIT"
] | 1 | 2021-07-15T20:40:45.000Z | 2021-07-15T20:40:45.000Z | Bin/apropiacion.py | mfneirae/CvLAC-Complete | a7e4f3c93a3f22b732fbb4670fe294a9ec3030ab | [
"MIT"
] | null | null | null | Bin/apropiacion.py | mfneirae/CvLAC-Complete | a7e4f3c93a3f22b732fbb4670fe294a9ec3030ab | [
"MIT"
] | 3 | 2020-04-01T15:16:32.000Z | 2021-07-15T21:01:07.000Z | #
#
# #############################################################################
# Copyright (c) 2018 Universidad Nacional de Colombia All Rights Reserved.
#
# This work was made as a development to improve data collection
# for self-assessment and accreditation processes in the Vicedeanship
... | 67.054348 | 413 | 0.447838 | 4,103 | 43,183 | 4.638557 | 0.078479 | 0.044136 | 0.045082 | 0.030895 | 0.801019 | 0.779739 | 0.765185 | 0.73513 | 0.730559 | 0.717055 | 0 | 0.017482 | 0.288655 | 43,183 | 643 | 414 | 67.158631 | 0.60209 | 0.021374 | 0 | 0.658333 | 0 | 0.006667 | 0.208469 | 0.095414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005 | false | 0.005 | 0.02 | 0 | 0.025 | 0.003333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d05c8d8b0b5e7ac5e270736ae84d4cc49f52efa5 | 33 | py | Python | src_nlp/tensorflow/toward_control/vocab/imdb/__init__.py | ashishpatel26/finch | bf2958c0f268575e5d51ad08fbc08b151cbea962 | [
"MIT"
] | 1 | 2019-02-12T09:22:00.000Z | 2019-02-12T09:22:00.000Z | src_nlp/tensorflow/toward_control/vocab/imdb/__init__.py | loopzxl/finch | bf2958c0f268575e5d51ad08fbc08b151cbea962 | [
"MIT"
] | null | null | null | src_nlp/tensorflow/toward_control/vocab/imdb/__init__.py | loopzxl/finch | bf2958c0f268575e5d51ad08fbc08b151cbea962 | [
"MIT"
] | 1 | 2020-10-15T21:34:17.000Z | 2020-10-15T21:34:17.000Z | from .imdb_vocab import IMDBVocab | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d07d0a776fb56851c974190631a3ab8fe5ce45c0 | 2,782 | py | Python | tests/tensor/mul_test.py | kbrodt/tor4 | d09740b746c534e67a72f492c7c03654f5888a46 | [
"MIT"
] | null | null | null | tests/tensor/mul_test.py | kbrodt/tor4 | d09740b746c534e67a72f492c7c03654f5888a46 | [
"MIT"
] | null | null | null | tests/tensor/mul_test.py | kbrodt/tor4 | d09740b746c534e67a72f492c7c03654f5888a46 | [
"MIT"
] | null | null | null | from tor4 import tensor
def test_tensor_mul_with_scalar():
a = tensor(data=[1, 2, 3])
am2 = a * 2
assert am2.tolist() == [2, 4, 6]
assert not am2.requires_grad
def test_tensor_rmul_with_scalar():
a = tensor(data=[1, 2, 3])
am3 = 3 * a
assert am3.tolist() == [3, 6, 9]
assert not am3... | 26 | 75 | 0.57225 | 467 | 2,782 | 3.291221 | 0.094218 | 0.032531 | 0.035133 | 0.039037 | 0.802863 | 0.786597 | 0.731945 | 0.710475 | 0.649967 | 0.643461 | 0 | 0.077398 | 0.242991 | 2,782 | 106 | 76 | 26.245283 | 0.652422 | 0 | 0 | 0.5375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.475 | 1 | 0.1125 | false | 0 | 0.0125 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d0825522ea7c61126f8928391eb70a380b2dcfc1 | 28 | py | Python | Python/Chapter6/package1/c4.py | MyHeartWillGoOnWendy/frontend-notes | 40a823b968c91b7a2a40bbf17519ca23bdc1e215 | [
"MIT"
] | 8 | 2019-01-07T14:21:46.000Z | 2020-05-29T07:33:40.000Z | Python/Chapter6/package1/c4.py | wkl007/frontend-notes | c8c5d2fd281a9353885548d57602641dd3820ae6 | [
"MIT"
] | null | null | null | Python/Chapter6/package1/c4.py | wkl007/frontend-notes | c8c5d2fd281a9353885548d57602641dd3820ae6 | [
"MIT"
] | 4 | 2019-06-02T08:04:05.000Z | 2021-12-22T05:39:46.000Z | import t
print(t.sys.path)
| 7 | 17 | 0.714286 | 6 | 28 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 3 | 18 | 9.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d0e5b7f5656176d949dc4f1467de893f543272a1 | 242 | py | Python | src/exceptions.py | Chisanan232/LWTs | da91a1636325f141a7b7f96132f2391a5e973549 | [
"Apache-2.0"
] | 1 | 2022-03-18T15:21:02.000Z | 2022-03-18T15:21:02.000Z | src/exceptions.py | Chisanan232/LWTs | da91a1636325f141a7b7f96132f2391a5e973549 | [
"Apache-2.0"
] | null | null | null | src/exceptions.py | Chisanan232/LWTs | da91a1636325f141a7b7f96132f2391a5e973549 | [
"Apache-2.0"
] | null | null | null |
class DeviceModelDoesnotExistException(Exception):
def __str__(self):
return "Target device model doesn't exist."
class ParameterCannotBeNone(Exception):
def __str__(self):
return "Parameter cannot all be None."
| 18.615385 | 51 | 0.714876 | 25 | 242 | 6.6 | 0.76 | 0.145455 | 0.181818 | 0.230303 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 242 | 12 | 52 | 20.166667 | 0.859375 | 0 | 0 | 0.333333 | 0 | 0 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ef877f32f0711c105853e72a3f783372419f7222 | 217 | py | Python | tests/test_signature.py | liushengli2020/AnEventApi | 31f1fac2cefec82503f96ae520d9d156dcef49d6 | [
"Apache-2.0"
] | null | null | null | tests/test_signature.py | liushengli2020/AnEventApi | 31f1fac2cefec82503f96ae520d9d156dcef49d6 | [
"Apache-2.0"
] | null | null | null | tests/test_signature.py | liushengli2020/AnEventApi | 31f1fac2cefec82503f96ae520d9d156dcef49d6 | [
"Apache-2.0"
] | null | null | null | from eventapp.services.signature_util import generate_signature
def test_quit_event_failed(client, app):
assert generate_signature('123','abc') == '8f16771f9f8851b26f4d460fa17de93e2711c7e51337cb8a608a0f81e1c1b6ae' | 72.333333 | 112 | 0.857143 | 21 | 217 | 8.571429 | 0.857143 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216749 | 0.064516 | 217 | 3 | 112 | 72.333333 | 0.669951 | 0 | 0 | 0 | 1 | 0 | 0.321101 | 0.293578 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4be623b445ec525331e29cad329516230bb52806 | 90 | py | Python | Temp_F_to_C.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | Temp_F_to_C.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | Temp_F_to_C.py | juliaviolet/Python_Bootcamp_Jos-_Padilla | 0a061283edcb7b33d5a7e165e8811ee61d694515 | [
"MIT"
] | null | null | null | def to_celsius(x):
return (x-32)*5/9
for x in range(0,101,10):
print(x,to_celsius(x))
| 18 | 25 | 0.655556 | 21 | 90 | 2.714286 | 0.714286 | 0.315789 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0.144444 | 90 | 4 | 26 | 22.5 | 0.61039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
4bec5d650297a051bcf67d0dfde5e15ac5c7b75c | 248 | py | Python | tools/esp_prov/security/__init__.py | fbucafusco/esp-idf | c2ccc383dae2a47c2c2dc8c7ad78175a3fd11361 | [
"Apache-2.0"
] | null | null | null | tools/esp_prov/security/__init__.py | fbucafusco/esp-idf | c2ccc383dae2a47c2c2dc8c7ad78175a3fd11361 | [
"Apache-2.0"
] | null | null | null | tools/esp_prov/security/__init__.py | fbucafusco/esp-idf | c2ccc383dae2a47c2c2dc8c7ad78175a3fd11361 | [
"Apache-2.0"
] | null | null | null | # SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
#
from .security0 import * # noqa: F403, F401
from .security1 import * # noqa: F403, F401
from .security2 import * # noqa: F403, F401
| 31 | 71 | 0.725806 | 33 | 248 | 5.454545 | 0.666667 | 0.166667 | 0.233333 | 0.3 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149038 | 0.16129 | 248 | 7 | 72 | 35.428571 | 0.716346 | 0.629032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4bedd61391cc20127dbffd9653579357f217fdd9 | 77 | py | Python | Project_Codev0.1/Class-diagram_Classes/class User_Preference.py | cyberseihis/Wallsource | 4bd981e75c3ebf97c9673ffb80147ef2bdf7d61a | [
"MIT"
] | null | null | null | Project_Codev0.1/Class-diagram_Classes/class User_Preference.py | cyberseihis/Wallsource | 4bd981e75c3ebf97c9673ffb80147ef2bdf7d61a | [
"MIT"
] | null | null | null | Project_Codev0.1/Class-diagram_Classes/class User_Preference.py | cyberseihis/Wallsource | 4bd981e75c3ebf97c9673ffb80147ef2bdf7d61a | [
"MIT"
] | null | null | null | class User_Preference:
def __get__(self, name ):
return self.name | 25.666667 | 29 | 0.675325 | 10 | 77 | 4.7 | 0.8 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246753 | 77 | 3 | 30 | 25.666667 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4bff3034903b61ed6ec4f12df2b3fe0be1014015 | 65 | py | Python | src/__init__.py | tbaudier/gaga | 87ec65450b9048ddf87cfa22a53ecba12fd019bd | [
"Apache-2.0"
] | null | null | null | src/__init__.py | tbaudier/gaga | 87ec65450b9048ddf87cfa22a53ecba12fd019bd | [
"Apache-2.0"
] | null | null | null | src/__init__.py | tbaudier/gaga | 87ec65450b9048ddf87cfa22a53ecba12fd019bd | [
"Apache-2.0"
] | null | null | null |
# import files
from .gaga import *
from .gaga_helpers import *
| 10.833333 | 27 | 0.723077 | 9 | 65 | 5.111111 | 0.555556 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 5 | 28 | 13 | 0.884615 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef6702ff39cc4b1869ac17f6bc76152290b0c4f8 | 210 | py | Python | mtpm/utils/__init__.py | Gregory-Eales/mban | d8b35db51c7e601b1db777d9a80343600374250b | [
"Apache-2.0"
] | 1 | 2021-04-01T13:56:38.000Z | 2021-04-01T13:56:38.000Z | mtpm/utils/__init__.py | Gregory-Eales/multi-task-policy-modularization | d8b35db51c7e601b1db777d9a80343600374250b | [
"Apache-2.0"
] | null | null | null | mtpm/utils/__init__.py | Gregory-Eales/multi-task-policy-modularization | d8b35db51c7e601b1db777d9a80343600374250b | [
"Apache-2.0"
] | null | null | null | from .graph import *
from .image import *
from .dir import *
from .log import *
from .seed import *
from .train_loop import *
from .experiment_loop import *
from .data import *
from .multi_task_wrapper import * | 23.333333 | 33 | 0.747619 | 31 | 210 | 4.935484 | 0.451613 | 0.522876 | 0.183007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 210 | 9 | 33 | 23.333333 | 0.874286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32272258671efe15d18cf721dc18d0f0eedf61f9 | 339 | py | Python | Exercicios-mundo-3/desafio109/teste.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null | Exercicios-mundo-3/desafio109/teste.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null | Exercicios-mundo-3/desafio109/teste.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null |
import moeda
p = float(input('Digite o preço: R$'))
print(f'A metade de {moeda.moeda(p)} é {moeda.metade(p,True)}')
print(f'O dobro de {moeda.moeda(p)} é {moeda.dobro(p,True)}')
print(f'Aumentado 13% de {moeda.moeda(p)}, temos {moeda.aumentar(p,13,True)}')
print(f'Diminuindo 14% de {moeda.moeda(p)}, temos {moeda.dim... | 37.666667 | 79 | 0.678466 | 63 | 339 | 3.650794 | 0.380952 | 0.130435 | 0.208696 | 0.226087 | 0.365217 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0.02623 | 0.100295 | 339 | 9 | 79 | 37.666667 | 0.727869 | 0 | 0 | 0 | 0 | 0.333333 | 0.764012 | 0.286136 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
324713177bfed4170d705490d88d509ee01c5c89 | 27 | py | Python | template.py | teetangh/Kaustav-Kaggle-Workspace | 1f226b469cc20edb7bf6a2cbf024260e40ca8b18 | [
"MIT"
] | null | null | null | template.py | teetangh/Kaustav-Kaggle-Workspace | 1f226b469cc20edb7bf6a2cbf024260e40ca8b18 | [
"MIT"
] | null | null | null | template.py | teetangh/Kaustav-Kaggle-Workspace | 1f226b469cc20edb7bf6a2cbf024260e40ca8b18 | [
"MIT"
] | null | null | null | print("This is a Template") | 27 | 27 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
328ec1bff3706d0e39894795d1ff349214f7a3f2 | 165 | py | Python | OmniDB/OmniDB_app/views/__init__.py | ziodave/OmniDB | 27e857ec10c401ee16f85d8705db3bcdd4222aff | [
"MIT"
] | null | null | null | OmniDB/OmniDB_app/views/__init__.py | ziodave/OmniDB | 27e857ec10c401ee16f85d8705db3bcdd4222aff | [
"MIT"
] | null | null | null | OmniDB/OmniDB_app/views/__init__.py | ziodave/OmniDB | 27e857ec10c401ee16f85d8705db3bcdd4222aff | [
"MIT"
] | null | null | null | from . import login, connections, users, workspace, tree, tree_snippets, tree_postgresql, tree_oracle, tree_mysql, tree_mariadb, monitor_dashboard, plugins, polling
| 82.5 | 164 | 0.824242 | 21 | 165 | 6.190476 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 1 | 165 | 165 | 0.872483 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32a626409791aaf66c11fea2190c048f3f2227d4 | 98 | py | Python | search/tests.py | RossBrunton/BMAT | 5e102935cc6166f4d8ea13051769787c47303153 | [
"MIT"
] | null | null | null | search/tests.py | RossBrunton/BMAT | 5e102935cc6166f4d8ea13051769787c47303153 | [
"MIT"
] | 47 | 2015-09-02T10:22:41.000Z | 2021-06-10T19:15:00.000Z | search/tests.py | RossBrunton/BMAT | 5e102935cc6166f4d8ea13051769787c47303153 | [
"MIT"
] | null | null | null | from django.test import TestCase, Client
from django.contrib.auth.models import User
import json
| 19.6 | 43 | 0.826531 | 15 | 98 | 5.4 | 0.733333 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 4 | 44 | 24.5 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32a934d958e9e267a75747fc575dc868fbeeccb2 | 38 | py | Python | jdaviz/configs/imviz/plugins/links_control/__init__.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | 55 | 2019-05-24T18:53:05.000Z | 2022-03-14T08:45:52.000Z | jdaviz/configs/imviz/plugins/links_control/__init__.py | check-spelling/jdaviz | bfd0514d13bdc6fa0b8c8536a603293409270337 | [
"MIT",
"BSD-3-Clause"
] | 1,105 | 2019-05-09T15:17:35.000Z | 2022-03-31T21:22:18.000Z | jdaviz/configs/imviz/plugins/links_control/__init__.py | rosteen/jdaviz | e02c08d68ef71c5e40600785f46e65e5ae95e236 | [
"MIT",
"BSD-3-Clause"
] | 49 | 2019-05-07T18:05:42.000Z | 2022-03-22T15:15:34.000Z | from .links_control import * # noqa
| 19 | 37 | 0.710526 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 1 | 38 | 38 | 0.866667 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32b250b7514ed4c2cb906a3570ba00587a51c3b9 | 32 | py | Python | pynemo/core/base/model/__init__.py | SSripilaipong/pynemo | f4dedd2599ec78b2ffe73f55b1d2b8b5da1b1e7f | [
"MIT"
] | null | null | null | pynemo/core/base/model/__init__.py | SSripilaipong/pynemo | f4dedd2599ec78b2ffe73f55b1d2b8b5da1b1e7f | [
"MIT"
] | null | null | null | pynemo/core/base/model/__init__.py | SSripilaipong/pynemo | f4dedd2599ec78b2ffe73f55b1d2b8b5da1b1e7f | [
"MIT"
] | null | null | null | from .node import NodeModelBase
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
087ff6b94264780b84b0d85ecd99ae0971b7e0b8 | 13,235 | py | Python | src/analysis_helper.py | augmento-ai/quant-reseach | 6b3bc4c01a8d533dfa1826d59aa90fbc4c6f98cd | [
"MIT"
] | 56 | 2019-06-14T18:05:28.000Z | 2022-01-24T15:32:40.000Z | src/analysis_helper.py | augmento-ai/quant-reseach | 6b3bc4c01a8d533dfa1826d59aa90fbc4c6f98cd | [
"MIT"
] | 1 | 2020-04-01T09:31:04.000Z | 2020-04-01T12:32:31.000Z | src/analysis_helper.py | augmento-ai/quant-reseach | 6b3bc4c01a8d533dfa1826d59aa90fbc4c6f98cd | [
"MIT"
] | 33 | 2019-06-19T13:27:31.000Z | 2022-01-25T23:57:17.000Z | import numpy as np
import numba as nb
@nb.jit("(f8[:])(f8[:], f8[:])", nopython=True, nogil=True, cache=True)
def nb_safe_divide(a, b):
# divide each element in a by each element in b
# if element b == 0.0, return element = 0.0
c = np.zeros(a.shape[0], dtype=np.float64)
for i in range(a.shape[0]):
if b[i] != 0.... | 34.646597 | 100 | 0.694371 | 2,317 | 13,235 | 3.752266 | 0.075097 | 0.009892 | 0.021739 | 0.020704 | 0.878652 | 0.854037 | 0.837359 | 0.829998 | 0.824707 | 0.807453 | 0 | 0.020446 | 0.175897 | 13,235 | 381 | 101 | 34.737533 | 0.776657 | 0.34031 | 0 | 0.596591 | 0 | 0 | 0.047233 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102273 | false | 0 | 0.011364 | 0 | 0.215909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0897ac8d30a10c6801761a0537049ba99f80a78b | 130 | py | Python | leo/test/unittest/at-path-test2.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 2 | 2020-01-19T18:11:05.000Z | 2020-01-19T18:12:07.000Z | leo/test/unittest/at-path-test2.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | 1 | 2020-01-15T01:57:04.000Z | 2020-01-15T01:57:04.000Z | leo/test/unittest/at-path-test2.py | ATikhonov2/leo-editor | 225aac990a9b2804aaa9dea29574d6e072e30474 | [
"MIT"
] | null | null | null | #@+leo-ver=5-thin
#@+node:ekr.20120228145505.4841: * @thin at-path-test2.py
#@@language python
# unittest/at-path-test2.py
#@-leo
| 21.666667 | 57 | 0.7 | 21 | 130 | 4.333333 | 0.714286 | 0.131868 | 0.241758 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.076923 | 130 | 5 | 58 | 26 | 0.583333 | 0.923077 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 6 |
08c0e4b1a24ff06b1927f74ae22be97bc5c81a4b | 51 | py | Python | Analysis/__init__.py | ahmadryan/TurbAn | b8866d103a2ca2f5fbad73bcd4416f19299f22b2 | [
"BSD-2-Clause-Patent"
] | null | null | null | Analysis/__init__.py | ahmadryan/TurbAn | b8866d103a2ca2f5fbad73bcd4416f19299f22b2 | [
"BSD-2-Clause-Patent"
] | null | null | null | Analysis/__init__.py | ahmadryan/TurbAn | b8866d103a2ca2f5fbad73bcd4416f19299f22b2 | [
"BSD-2-Clause-Patent"
] | 10 | 2019-03-22T15:30:12.000Z | 2021-02-10T02:55:50.000Z | from . import Simulations
from . import TimeSeries
| 17 | 25 | 0.803922 | 6 | 51 | 6.833333 | 0.666667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3eb76f4c89e63d51da9a625483cad9361a9cbfe3 | 79 | py | Python | darwinpush/__init__.py | fasteroute/darwinpush | c919049e076cbdf61007fc9cc1c5a0271cde7929 | [
"Apache-2.0"
] | 3 | 2015-08-15T15:38:06.000Z | 2019-08-06T11:09:32.000Z | darwinpush/__init__.py | grundleborg/darwinpush | c919049e076cbdf61007fc9cc1c5a0271cde7929 | [
"Apache-2.0"
] | 34 | 2015-07-22T13:47:16.000Z | 2015-08-12T17:40:23.000Z | darwinpush/__init__.py | grundleborg/darwinpush | c919049e076cbdf61007fc9cc1c5a0271cde7929 | [
"Apache-2.0"
] | 1 | 2015-08-30T15:26:24.000Z | 2015-08-30T15:26:24.000Z | from darwinpush.client import Client
from darwinpush.listener import Listener
| 19.75 | 40 | 0.860759 | 10 | 79 | 6.8 | 0.5 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 79 | 3 | 41 | 26.333333 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ed12b82c6539de77044647c95b5edac683366a1 | 185 | py | Python | app/routes/__init__.py | Hoybaby/Python-Project1 | 33336c7303fa4397d3db9d511d1104f01ab32363 | [
"MIT"
] | null | null | null | app/routes/__init__.py | Hoybaby/Python-Project1 | 33336c7303fa4397d3db9d511d1104f01ab32363 | [
"MIT"
] | 5 | 2021-03-13T21:40:51.000Z | 2021-03-17T04:36:19.000Z | app/routes/__init__.py | Hoybaby/python-newsfeed | 33336c7303fa4397d3db9d511d1104f01ab32363 | [
"MIT"
] | null | null | null | from .home import bp as home
from .dashboard import bp as dashboard
from .api import bp as api
# the .home syntax direct the program to find the module name home then import BP routes.
| 37 | 89 | 0.778378 | 34 | 185 | 4.235294 | 0.5 | 0.222222 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 185 | 4 | 90 | 46.25 | 0.96 | 0.47027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb0492803526a96f8ae0fbb2042c0b01d2ed476f | 620 | py | Python | tests/test_utils.py | RustyBower/PoshC2 | 6cc2675aae59a7000d558a113f6db0d09bba3736 | [
"BSD-3-Clause"
] | null | null | null | tests/test_utils.py | RustyBower/PoshC2 | 6cc2675aae59a7000d558a113f6db0d09bba3736 | [
"BSD-3-Clause"
] | null | null | null | tests/test_utils.py | RustyBower/PoshC2 | 6cc2675aae59a7000d558a113f6db0d09bba3736 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from poshc2.Utils import validate_sleep_time
def test_validate_sleep_time():
assert validate_sleep_time("5h") is not None
assert validate_sleep_time("4m") is not None
assert validate_sleep_time("3s ") is not None
assert validate_sleep_time(" 5000h ") is not None
assert validate_slee... | 36.470588 | 53 | 0.748387 | 96 | 620 | 4.552083 | 0.229167 | 0.386728 | 0.505721 | 0.578947 | 0.71167 | 0.71167 | 0.512586 | 0.212815 | 0.212815 | 0.212815 | 0 | 0.033333 | 0.177419 | 620 | 17 | 54 | 36.470588 | 0.823529 | 0 | 0 | 0.142857 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0.785714 | 1 | 0.071429 | true | 0 | 0.142857 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eb13414f089f2dda50f397a346ac462c8dfe14d6 | 68 | py | Python | source/utils/bp4dbg/adios2/bp4dbg/__init__.py | yunai2384/ADIOS2 | c88fd748720dfdfb0d7f8a529d7838ea86ecfa65 | [
"ECL-2.0",
"Apache-2.0"
] | 190 | 2017-04-05T20:16:22.000Z | 2022-03-30T20:26:01.000Z | source/utils/bp4dbg/adios2/bp4dbg/__init__.py | yunai2384/ADIOS2 | c88fd748720dfdfb0d7f8a529d7838ea86ecfa65 | [
"ECL-2.0",
"Apache-2.0"
] | 1,514 | 2017-02-03T16:19:17.000Z | 2022-03-29T16:36:48.000Z | source/utils/bp4dbg/adios2/bp4dbg/__init__.py | yunai2384/ADIOS2 | c88fd748720dfdfb0d7f8a529d7838ea86ecfa65 | [
"ECL-2.0",
"Apache-2.0"
] | 114 | 2016-12-06T16:47:45.000Z | 2022-02-01T19:56:01.000Z | from .data import *
from .idxtable import *
from .metadata import *
| 17 | 23 | 0.735294 | 9 | 68 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 3 | 24 | 22.666667 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb308f9e04b38457f8d85407e08b4afc6e1811ef | 129 | py | Python | core/models/__init__.py | darakudou/setlist_forecast | 21bcad5b86be84223ae9c643552cdcb9d58bb9c2 | [
"MIT"
] | null | null | null | core/models/__init__.py | darakudou/setlist_forecast | 21bcad5b86be84223ae9c643552cdcb9d58bb9c2 | [
"MIT"
] | null | null | null | core/models/__init__.py | darakudou/setlist_forecast | 21bcad5b86be84223ae9c643552cdcb9d58bb9c2 | [
"MIT"
] | null | null | null | from .idol import *
from .music import *
from .tweet import *
from .calender import *
from .live import *
from .setlist import *
| 18.428571 | 23 | 0.72093 | 18 | 129 | 5.166667 | 0.444444 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 129 | 6 | 24 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de3c21b3902b3e3e73de21e84ca913a62a69a202 | 41 | py | Python | cpgames/modules/core/ski/__init__.py | Wasabii88/Games | 33262ca1958207a24e57e3532feded7e275b1dd1 | [
"MIT"
] | 1 | 2022-01-09T03:06:46.000Z | 2022-01-09T03:06:46.000Z | cpgames/modules/core/ski/__init__.py | beiwei365/Games | f6499f378802d3212a08aeca761191b58714b7f0 | [
"MIT"
] | null | null | null | cpgames/modules/core/ski/__init__.py | beiwei365/Games | f6499f378802d3212a08aeca761191b58714b7f0 | [
"MIT"
] | null | null | null | '''initialize'''
from .ski import SkiGame | 20.5 | 24 | 0.731707 | 5 | 41 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 24 | 20.5 | 0.810811 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de572abbf75e1f871aff8bcdd9231d802598c095 | 222 | py | Python | monero_glue/compat/gc.py | ph4r05/monero-agent | 0bac0e6f33142b2bb885565bfd1ef8ac04559280 | [
"MIT"
] | 20 | 2018-04-05T22:06:10.000Z | 2021-09-18T10:43:44.000Z | monero_glue/compat/gc.py | ph4r05/monero-agent | 0bac0e6f33142b2bb885565bfd1ef8ac04559280 | [
"MIT"
] | null | null | null | monero_glue/compat/gc.py | ph4r05/monero-agent | 0bac0e6f33142b2bb885565bfd1ef8ac04559280 | [
"MIT"
] | 5 | 2018-08-06T15:06:04.000Z | 2021-07-16T01:58:43.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Dusan Klinec, ph4r05, 2018
def collect(*args, **kwargs):
pass
def mem_free(*args, **kwargs):
return 1000
def mem_alloc(*args, **kwargs):
return 100
| 13.875 | 36 | 0.621622 | 31 | 222 | 4.387097 | 0.741935 | 0.220588 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.202703 | 222 | 15 | 37 | 14.8 | 0.683616 | 0.346847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.166667 | 0 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
deb2fc3ce955c69b8956358fde1af9c73b549f7d | 4,807 | py | Python | ibm_whcs_sdk/insights_for_medical_literature/__init__.py | paul-felt/whcs-python-sdk | 4b668a9f2d60b89c133adee644d1b5ff25b41228 | [
"Apache-2.0"
] | 5 | 2020-04-09T14:50:01.000Z | 2022-01-10T23:27:33.000Z | ibm_whcs_sdk/insights_for_medical_literature/__init__.py | paul-felt/whcs-python-sdk | 4b668a9f2d60b89c133adee644d1b5ff25b41228 | [
"Apache-2.0"
] | 21 | 2020-04-08T10:43:57.000Z | 2021-12-03T21:48:29.000Z | ibm_whcs_sdk/insights_for_medical_literature/__init__.py | paul-felt/whcs-python-sdk | 4b668a9f2d60b89c133adee644d1b5ff25b41228 | [
"Apache-2.0"
] | 6 | 2020-04-08T18:28:03.000Z | 2021-04-05T16:37:45.000Z | # Copyright 2018 IBM All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 57.22619 | 85 | 0.898689 | 644 | 4,807 | 6.279503 | 0.217391 | 0.204748 | 0.255935 | 0.375371 | 0.682493 | 0.682493 | 0.682493 | 0 | 0 | 0 | 0 | 0.017615 | 0.078843 | 4,807 | 83 | 86 | 57.915663 | 0.895664 | 0.129811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.044118 | 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 | 1 | 0 | 0 | 6 |
724a971c225812f89543b939b7a66083af18e5f1 | 27 | py | Python | src/tfluna/__init__.py | clementnuss/tfluna-python | 7f4588c1ce270447fc026d927e06789f06da0c76 | [
"MIT"
] | 1 | 2021-05-24T12:29:15.000Z | 2021-05-24T12:29:15.000Z | src/tfluna/__init__.py | clementnuss/tfluna-python | 7f4588c1ce270447fc026d927e06789f06da0c76 | [
"MIT"
] | null | null | null | src/tfluna/__init__.py | clementnuss/tfluna-python | 7f4588c1ce270447fc026d927e06789f06da0c76 | [
"MIT"
] | 1 | 2021-05-24T12:32:02.000Z | 2021-05-24T12:32:02.000Z | from .tfluna import TfLuna
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0e3c9874a39deb6444b03eec71ff0fb4184f31b | 72 | py | Python | continual_learning/eval/metrics/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/eval/metrics/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/eval/metrics/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | from .base import ClassificationMetric, ContinualLearningMetric, Metric
| 36 | 71 | 0.875 | 6 | 72 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 1 | 72 | 72 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0ef35d15d21a7df0e4c0c4595fa7eed92c29a4a | 47 | py | Python | nam/models/activation/__init__.py | mrahman93/nam | 1a2f286a87ffa024040e3330088b4a375700c1c6 | [
"MIT"
] | 15 | 2021-03-26T16:00:44.000Z | 2022-03-26T07:43:10.000Z | src/baseline/nam/models/activation/__init__.py | fau-is/gam_comparison | c47e8f8ced281e0a71b7959a211cb5b289ac7606 | [
"MIT"
] | 6 | 2021-01-03T22:55:54.000Z | 2022-03-11T02:50:38.000Z | src/baseline/nam/models/activation/__init__.py | fau-is/gam_comparison | c47e8f8ced281e0a71b7959a211cb5b289ac7606 | [
"MIT"
] | 9 | 2021-02-08T18:45:52.000Z | 2022-03-18T19:42:57.000Z | from .exu import ExU
from .relu import LinReLU
| 15.666667 | 25 | 0.787234 | 8 | 47 | 4.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0fc2357e36f3822593fc1ed854c0204525f5fcb | 46,407 | py | Python | mabs/utils/reproblems.py | ryanstwrt/multi_agent_blackboard_system | b8f6ab71dfe0742a6f690de19b97d10504fc1768 | [
"MIT"
] | 1 | 2021-08-02T10:29:35.000Z | 2021-08-02T10:29:35.000Z | mabs/utils/reproblems.py | ryanstwrt/multi_agent_blackboard_system | b8f6ab71dfe0742a6f690de19b97d10504fc1768 | [
"MIT"
] | 10 | 2020-03-14T07:39:34.000Z | 2021-11-03T22:55:28.000Z | mabs/utils/reproblems.py | ryanstwrt/multi_agent_blackboard_system | b8f6ab71dfe0742a6f690de19b97d10504fc1768 | [
"MIT"
] | 1 | 2021-07-18T14:43:10.000Z | 2021-07-18T14:43:10.000Z | #!/usr/bin/env python
"""
A real-world multi-objective problem suite (the RE benchmark set)
Reference:
Ryoji Tanabe, Hisao Ishibuchi, "An Easy-to-use Real-world Multi-objective Problem Suite" Applied Soft Computing. 89: 106078 (2020)
Copyright (c) 2020 Ryoji Tanabe
I re-implemented the RE problem set by ref... | 36.369122 | 536 | 0.483203 | 7,362 | 46,407 | 2.967672 | 0.091687 | 0.041651 | 0.042796 | 0.046686 | 0.788539 | 0.782406 | 0.740663 | 0.721668 | 0.710134 | 0.705969 | 0 | 0.186441 | 0.353804 | 46,407 | 1,276 | 537 | 36.369122 | 0.542117 | 0.080419 | 0 | 0.759507 | 0 | 0 | 0.004889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05036 | false | 0 | 0.002056 | 0 | 0.102775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19db0aca374fded6aea18efcee5e860c5595c849 | 4,059 | py | Python | tests/test_urls_endpoints.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 11 | 2018-05-31T06:29:44.000Z | 2020-10-21T14:09:36.000Z | tests/test_urls_endpoints.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 171 | 2017-11-13T16:56:35.000Z | 2022-03-29T19:37:35.000Z | tests/test_urls_endpoints.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 25 | 2018-03-06T19:03:24.000Z | 2021-11-27T19:39:49.000Z | import random
import pytest
from tests.test_client import get_doc
@pytest.fixture(scope="function")
def test_data(client, user):
system_random = random.SystemRandom()
url_x_count = system_random.randint(2, 5)
url_x_type = url_x_count
url_x = "s3://awesome-x/bucket/key"
versioned_count = system_r... | 31.465116 | 89 | 0.660261 | 579 | 4,059 | 4.392055 | 0.129534 | 0.081793 | 0.071569 | 0.089658 | 0.854109 | 0.833661 | 0.804168 | 0.745969 | 0.721589 | 0.714117 | 0 | 0.019017 | 0.222715 | 4,059 | 128 | 90 | 31.710938 | 0.787005 | 0.082286 | 0 | 0.606742 | 0 | 0.044944 | 0.160262 | 0.130281 | 0 | 0 | 0 | 0 | 0.269663 | 1 | 0.033708 | false | 0 | 0.033708 | 0 | 0.078652 | 0.089888 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19eee05fd1b7f614b250386649f3a046fa4ede59 | 45 | py | Python | carsus/io/kurucz/__init__.py | parikshit14/carsus | 3f67e8068829829361d7b1da9020e1fde9dcac2e | [
"BSD-3-Clause"
] | 21 | 2016-06-01T16:12:03.000Z | 2022-02-04T09:03:38.000Z | carsus/io/kurucz/__init__.py | parikshit14/carsus | 3f67e8068829829361d7b1da9020e1fde9dcac2e | [
"BSD-3-Clause"
] | 149 | 2016-05-03T17:50:42.000Z | 2022-03-25T14:48:51.000Z | carsus/io/kurucz/__init__.py | parikshit14/carsus | 3f67e8068829829361d7b1da9020e1fde9dcac2e | [
"BSD-3-Clause"
] | 34 | 2016-05-03T16:39:11.000Z | 2022-02-03T16:39:49.000Z | from .gfall import GFALLReader, GFALLIngester | 45 | 45 | 0.866667 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df9fae53d97b2763e95c92f4276f8e2ccf159e28 | 163 | py | Python | blog/admin.py | netocraft/web-netocraft | 87e35ea1ea23b8a75eeabb33fc10aac57cccb2ac | [
"Unlicense"
] | null | null | null | blog/admin.py | netocraft/web-netocraft | 87e35ea1ea23b8a75eeabb33fc10aac57cccb2ac | [
"Unlicense"
] | null | null | null | blog/admin.py | netocraft/web-netocraft | 87e35ea1ea23b8a75eeabb33fc10aac57cccb2ac | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Post, Profile, Relacion
admin.site.register(Post)
admin.site.register(Profile)
admin.site.register(Relacion)
| 23.285714 | 43 | 0.815951 | 23 | 163 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08589 | 163 | 6 | 44 | 27.166667 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dfee6cca1d75f229a1c3968fa75634388ce223f1 | 32 | py | Python | python/lib/flight_recorder/__init__.py | ajragusa/OpenFlow-Flight-Recorder | 437fbdf72fe18aa9af020630fa46e3f801adb59f | [
"Apache-2.0"
] | null | null | null | python/lib/flight_recorder/__init__.py | ajragusa/OpenFlow-Flight-Recorder | 437fbdf72fe18aa9af020630fa46e3f801adb59f | [
"Apache-2.0"
] | null | null | null | python/lib/flight_recorder/__init__.py | ajragusa/OpenFlow-Flight-Recorder | 437fbdf72fe18aa9af020630fa46e3f801adb59f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import mongo
| 8 | 17 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 3 | 18 | 10.666667 | 0.821429 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dff865151655263c0851cf98b07e4c00487a7d92 | 72 | py | Python | apex_utils/apex/__init__.py | ViugiNick/sentiment-discovery | c781b1236a52a981af40733de13ea1598d4255d9 | [
"BSD-3-Clause"
] | 1 | 2018-10-16T10:56:47.000Z | 2018-10-16T10:56:47.000Z | apex_utils/apex/__init__.py | atsnova/sentiment-discovery | 7f5ab28918a6fc29318a30f557b9454f0f5cc26a | [
"BSD-3-Clause"
] | null | null | null | apex_utils/apex/__init__.py | atsnova/sentiment-discovery | 7f5ab28918a6fc29318a30f557b9454f0f5cc26a | [
"BSD-3-Clause"
] | 1 | 2019-03-13T11:43:13.000Z | 2019-03-13T11:43:13.000Z | from . import RNN
from . import reparameterization
#from . import utils
| 18 | 32 | 0.777778 | 9 | 72 | 6.222222 | 0.555556 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 33 | 24 | 0.933333 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f04a82b7a12234e59d660fa5330cb058565f182 | 49 | py | Python | inferlo/interop/__init__.py | InferLO/inferlo | a65efce721d7f99d2f274dd94a1aaf7ca159e944 | [
"Apache-2.0"
] | 1 | 2022-01-27T18:44:07.000Z | 2022-01-27T18:44:07.000Z | inferlo/interop/__init__.py | InferLO/inferlo | a65efce721d7f99d2f274dd94a1aaf7ca159e944 | [
"Apache-2.0"
] | 3 | 2022-01-23T18:02:30.000Z | 2022-01-27T23:10:51.000Z | inferlo/interop/__init__.py | InferLO/inferlo | a65efce721d7f99d2f274dd94a1aaf7ca159e944 | [
"Apache-2.0"
] | 1 | 2021-09-03T06:12:57.000Z | 2021-09-03T06:12:57.000Z | from .libdai.libdai_interop import LibDaiInterop
| 24.5 | 48 | 0.877551 | 6 | 49 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a054f6a58f3694fb4eafcb7758f9c2e1b97db060 | 190 | py | Python | text.py | zachmerrill/pyrdle | 573035cecbe3ee5cae36562a2e3b53ea4f2950a0 | [
"MIT"
] | null | null | null | text.py | zachmerrill/pyrdle | 573035cecbe3ee5cae36562a2e3b53ea4f2950a0 | [
"MIT"
] | null | null | null | text.py | zachmerrill/pyrdle | 573035cecbe3ee5cae36562a2e3b53ea4f2950a0 | [
"MIT"
] | null | null | null | class Text():
RED = "\033[1;31;1m"
GREEN = '\033[1;32;1m'
YELLOW = '\033[1;33;1m'
UNDERLINE = '\033[4m'
def apply(str, format):
return(format + str + '\033[0m')
| 21.111111 | 40 | 0.515789 | 29 | 190 | 3.37931 | 0.655172 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208633 | 0.268421 | 190 | 8 | 41 | 23.75 | 0.496403 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0.142857 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a0a8199f74e27a27e32250a2c661d417ee347afc | 38 | py | Python | perses/bias/__init__.py | schallerdavid/perses | 58bd6e626e027879e136f56e175683893e016f8c | [
"MIT"
] | 99 | 2016-01-19T18:10:37.000Z | 2022-03-26T02:43:08.000Z | perses/bias/__init__.py | schallerdavid/perses | 58bd6e626e027879e136f56e175683893e016f8c | [
"MIT"
] | 878 | 2015-09-18T19:25:30.000Z | 2022-03-31T02:33:04.000Z | perses/bias/__init__.py | schallerdavid/perses | 58bd6e626e027879e136f56e175683893e016f8c | [
"MIT"
] | 30 | 2015-09-21T15:26:35.000Z | 2022-01-10T20:07:24.000Z | from perses.bias.bias_engine import *
| 19 | 37 | 0.815789 | 6 | 38 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2655acfcc3779e4b713b207120598cd7e55c1f55 | 183 | py | Python | examples/underscored/if_expr.py | doboy/Underscore | d98273db3144cda79191d2c90f45d81b6d700b1f | [
"MIT"
] | 7 | 2016-09-23T00:44:05.000Z | 2021-10-04T21:19:12.000Z | examples/underscored/if_expr.py | jameswu1991/Underscore | d98273db3144cda79191d2c90f45d81b6d700b1f | [
"MIT"
] | 1 | 2016-09-23T00:45:05.000Z | 2019-02-16T19:05:37.000Z | examples/underscored/if_expr.py | jameswu1991/Underscore | d98273db3144cda79191d2c90f45d81b6d700b1f | [
"MIT"
] | 3 | 2016-09-23T01:13:15.000Z | 2018-07-20T21:22:17.000Z | # print(3 if False else 5 if True else 5)
# print(3 if True else 5)
(___, ____) = (3, 5)
(_, __) = (False, True)
print ___ if _ else ____ if __ else ____
print ___ if __ else ____
| 22.875 | 42 | 0.644809 | 28 | 183 | 3.035714 | 0.25 | 0.176471 | 0.188235 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050725 | 0.245902 | 183 | 7 | 43 | 26.142857 | 0.565217 | 0.349727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cd5039f2e87fc3585f066cdff018fb581e015680 | 26 | py | Python | utils/models/vnet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | 3 | 2022-01-18T19:25:46.000Z | 2022-02-05T18:53:24.000Z | utils/models/vnet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | utils/models/vnet/__init__.py | bhklab/ptl-oar-segmentation | 354c3ee7f042a025f74e210a7b8462beac9b727d | [
"Apache-2.0"
] | null | null | null | from .model import VNet3D
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd6326eea52f1280b2978f885564e60a956b3dbb | 4,169 | py | Python | numlab/builtin/nl_float.py | jmorgadov/NumLab | 96a3771837b87132674e65ec3bb1f0ab5f5f089f | [
"MIT"
] | 9 | 2022-01-19T22:40:58.000Z | 2022-02-24T02:39:51.000Z | numlab/builtin/nl_float.py | jmorgadov/NumLab | 96a3771837b87132674e65ec3bb1f0ab5f5f089f | [
"MIT"
] | 41 | 2021-11-09T18:22:10.000Z | 2022-02-06T19:04:23.000Z | numlab/builtin/nl_float.py | jmorgadov/NumLab | 96a3771837b87132674e65ec3bb1f0ab5f5f089f | [
"MIT"
] | null | null | null | import numlab.exceptions as excpt
from numlab.lang.type import Instance, Type
nl_bool = Type.get("bool")
nl_str = Type.get("str")
nl_int = Type.get("int")
nl_float = Type.get("float")
@nl_float.method("__new__")
def nl__new__(value: float):
_inst = Instance(nl_float)
_inst.set("value", float(value))
retu... | 30.430657 | 73 | 0.694651 | 614 | 4,169 | 4.381107 | 0.091205 | 0.088476 | 0.091822 | 0.09368 | 0.80632 | 0.80632 | 0.797398 | 0.797398 | 0.783643 | 0.783643 | 0 | 0.000282 | 0.149676 | 4,169 | 136 | 74 | 30.654412 | 0.758533 | 0 | 0 | 0.329897 | 0 | 0 | 0.187335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.195876 | false | 0 | 0.020619 | 0.041237 | 0.412371 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd8c0526118e240bd53b4ac841a553998f597dbf | 114 | py | Python | galaxies/__init__.py | philrosenfield/ResolvedStellarPops | ab24083ae5080545165ccf7589d5a22c7989ce75 | [
"BSD-3-Clause"
] | null | null | null | galaxies/__init__.py | philrosenfield/ResolvedStellarPops | ab24083ae5080545165ccf7589d5a22c7989ce75 | [
"BSD-3-Clause"
] | null | null | null | galaxies/__init__.py | philrosenfield/ResolvedStellarPops | ab24083ae5080545165ccf7589d5a22c7989ce75 | [
"BSD-3-Clause"
] | null | null | null | from .galaxies import *
from .galaxy import *
from .simgalaxy import *
from .starpop import *
from .asts import *
| 19 | 24 | 0.736842 | 15 | 114 | 5.6 | 0.466667 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 114 | 5 | 25 | 22.8 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26aeefdeb957d1c03fe74be87e56e607bab2767a | 27 | py | Python | application/controllers/admin/content/__init__.py | mutalisk999/bibi | 2e0043d207c83ef7fc55d20b9c0a1b7e493a551c | [
"Apache-2.0"
] | 1,037 | 2017-03-24T11:18:55.000Z | 2022-03-19T14:02:27.000Z | application/controllers/admin/content/__init__.py | spacecode-live/An-e-commerce-fullstack-solution-for-Flask- | 28130a18a73afbb99bf850e857dd1f14c08fbca1 | [
"Apache-2.0"
] | 8 | 2017-03-26T02:53:24.000Z | 2018-09-14T03:18:26.000Z | application/controllers/admin/content/__init__.py | spacecode-live/An-e-commerce-fullstack-solution-for-Flask- | 28130a18a73afbb99bf850e857dd1f14c08fbca1 | [
"Apache-2.0"
] | 365 | 2017-03-24T11:29:02.000Z | 2021-11-24T03:14:19.000Z | from . import banner, item
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26ba57057bc810a77a4b6afad58790f177b93c3c | 39 | py | Python | airtrack/src/__init__.py | ckarageorgkaneen/airtrack-pybpod | 86cad41dbea4f7ba496868d171758c348ed7c1f2 | [
"MIT"
] | 1 | 2021-09-16T17:42:29.000Z | 2021-09-16T17:42:29.000Z | airtrack/src/__init__.py | ckarageorgkaneen/airtrack-pybpod | 86cad41dbea4f7ba496868d171758c348ed7c1f2 | [
"MIT"
] | 12 | 2021-08-01T17:50:27.000Z | 2021-08-08T17:33:58.000Z | airtrack/src/__init__.py | ckarageorgkaneen/airtrack | 86cad41dbea4f7ba496868d171758c348ed7c1f2 | [
"MIT"
] | null | null | null | from airtrack.src.base import Airtrack
| 19.5 | 38 | 0.846154 | 6 | 39 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26ee52424e72655b49fed742330b608438aa1b1b | 325 | py | Python | torchcv/models/__init__.py | CVHj/torchcv | 6291f3e1e4bbf6467fd6b1e79001d34a59481bb6 | [
"MIT"
] | 433 | 2017-11-30T15:46:58.000Z | 2022-01-16T08:06:11.000Z | torchcv/models/__init__.py | CVHj/torchcv | 6291f3e1e4bbf6467fd6b1e79001d34a59481bb6 | [
"MIT"
] | 51 | 2018-01-29T15:14:33.000Z | 2021-08-23T12:02:18.000Z | fpn-hoi/torchcv/models/__init__.py | TheFairBear/Box-Attention-SSD-HOI | 6101e209a709899c5645342784c8f451028ff46e | [
"MIT"
] | 92 | 2018-01-20T07:45:36.000Z | 2021-05-28T10:43:53.000Z | from torchcv.models.ssd.net import SSD300, SSD512
from torchcv.models.ssd.box_coder import SSDBoxCoder
from torchcv.models.fpnssd.net import FPNSSD512
from torchcv.models.fpnssd.box_coder import FPNSSDBoxCoder
from torchcv.models.retinanet.net import RetinaNet
from torchcv.models.retinanet.box_coder import RetinaBoxC... | 36.111111 | 61 | 0.858462 | 46 | 325 | 6 | 0.347826 | 0.23913 | 0.369565 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030201 | 0.083077 | 325 | 8 | 62 | 40.625 | 0.895973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f81a51389e1496b1ca5a707c01207f83600ed046 | 19 | py | Python | ulmo/twc/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 123 | 2015-01-29T12:35:52.000Z | 2021-12-15T21:09:33.000Z | ulmo/twc/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 107 | 2015-01-05T17:56:22.000Z | 2021-11-19T22:46:23.000Z | ulmo/twc/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 49 | 2015-02-15T18:11:34.000Z | 2022-01-25T14:25:32.000Z | from . import kbdi
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f849f0a4fd0cf9b1dc3b650cc5ef05d2c55a030a | 8,875 | py | Python | tests/engine/block_layout/test_block_non_replaced_normal_flow.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 71 | 2015-04-13T09:44:14.000Z | 2019-03-24T01:03:02.000Z | tests/engine/block_layout/test_block_non_replaced_normal_flow.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 35 | 2019-05-06T15:26:09.000Z | 2022-03-28T06:30:33.000Z | tests/engine/block_layout/test_block_non_replaced_normal_flow.py | jonboland/colosseum | cbf974be54fd7f6fddbe7285704cfaf7a866c5c5 | [
"BSD-3-Clause"
] | 139 | 2015-05-30T18:37:43.000Z | 2019-03-27T17:14:05.000Z | from colosseum.constants import AUTO, BLOCK, RTL, SOLID
from colosseum.declaration import CSS
from ...utils import LayoutTestCase, TestNode
class WidthTests(LayoutTestCase):
def test_no_horizontal_properties(self):
node = TestNode(
name='div', style=CSS(display=BLOCK, height=10)
)
... | 30.393836 | 106 | 0.45093 | 896 | 8,875 | 4.321429 | 0.081473 | 0.055527 | 0.077479 | 0.108471 | 0.913481 | 0.890754 | 0.851756 | 0.796229 | 0.789773 | 0.789773 | 0 | 0.078799 | 0.380845 | 8,875 | 291 | 107 | 30.498282 | 0.625842 | 0 | 0 | 0.475 | 0 | 0 | 0.131606 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.0125 | 0 | 0.0875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8822ea5dc4fe4359c8f052bccc79640e5ed2e42 | 147 | py | Python | src/TowerDefence/Command/quit_page.py | sevashasla/TowerDefence | 73625d88cdb70d4c026d6f452604d193bc32c127 | [
"MIT"
] | null | null | null | src/TowerDefence/Command/quit_page.py | sevashasla/TowerDefence | 73625d88cdb70d4c026d6f452604d193bc32c127 | [
"MIT"
] | null | null | null | src/TowerDefence/Command/quit_page.py | sevashasla/TowerDefence | 73625d88cdb70d4c026d6f452604d193bc32c127 | [
"MIT"
] | null | null | null | from .command import Command
class QuitPageCommand(Command):
def __init__(self):
pass
def __str__(self) -> str:
return "Quit current page"
| 16.333333 | 31 | 0.734694 | 19 | 147 | 5.263158 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170068 | 147 | 8 | 32 | 18.375 | 0.819672 | 0 | 0 | 0 | 0 | 0 | 0.115646 | 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 | 1 | 0 | 0 | 6 |
3e4006535c22a3266fb2c587c6b313b8d0d471b7 | 258 | py | Python | guniflask/config/__init__.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | 12 | 2018-09-06T06:14:59.000Z | 2021-04-18T06:30:44.000Z | guniflask/config/__init__.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | null | null | null | guniflask/config/__init__.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | 2 | 2019-09-08T22:01:26.000Z | 2020-08-03T07:23:29.000Z | from .app_settings import Settings
from .app_settings import settings
from .env import app_name_from_env
from .env import load_app_env
from .env import set_app_default_env
from .load_utils import load_app_settings
from .load_utils import load_profile_config
| 32.25 | 43 | 0.864341 | 44 | 258 | 4.704545 | 0.272727 | 0.135266 | 0.188406 | 0.202899 | 0.521739 | 0.299517 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 258 | 7 | 44 | 36.857143 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e42e6811af2695a3e6cd8a4af32166ddc34ffa4 | 194 | py | Python | Python Programs/InheritanceExample/ChineseChef.py | JCharlieDev/Python | d213c6cb60110156b19d96d8bb9b809e69e89ce5 | [
"MIT"
] | null | null | null | Python Programs/InheritanceExample/ChineseChef.py | JCharlieDev/Python | d213c6cb60110156b19d96d8bb9b809e69e89ce5 | [
"MIT"
] | null | null | null | Python Programs/InheritanceExample/ChineseChef.py | JCharlieDev/Python | d213c6cb60110156b19d96d8bb9b809e69e89ce5 | [
"MIT"
] | null | null | null | from Chef import Chef
class ChineseChef(Chef):
def MakeFriedRice(self):
print("The chef makes Fried Rice")
def MakeSpecialdish(self):
print("The chef makes Dumplings") | 21.555556 | 42 | 0.680412 | 24 | 194 | 5.5 | 0.625 | 0.136364 | 0.181818 | 0.242424 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231959 | 194 | 9 | 43 | 21.555556 | 0.885906 | 0 | 0 | 0 | 0 | 0 | 0.251282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3e66c516484bcd5f263b5f90dd3c006eee5e3a4c | 28 | py | Python | marginal_finder/__init__.py | pjamesjoyce/marginal-finder | a2b3d69774e4e8669fa72a0160accf4419fb3b81 | [
"BSD-3-Clause"
] | null | null | null | marginal_finder/__init__.py | pjamesjoyce/marginal-finder | a2b3d69774e4e8669fa72a0160accf4419fb3b81 | [
"BSD-3-Clause"
] | null | null | null | marginal_finder/__init__.py | pjamesjoyce/marginal-finder | a2b3d69774e4e8669fa72a0160accf4419fb3b81 | [
"BSD-3-Clause"
] | null | null | null | from .market_finder import * | 28 | 28 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4250108c88a5e10b7fc1807726acfe3685f025f | 24,196 | py | Python | AppDB/appscale/datastore/fdb/stats/entities.py | loftwah/appscale | 586fc1347ebc743d7a632de698f4dbfb09ae38d6 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | AppDB/appscale/datastore/fdb/stats/entities.py | loftwah/appscale | 586fc1347ebc743d7a632de698f4dbfb09ae38d6 | [
"Apache-2.0"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | AppDB/appscale/datastore/fdb/stats/entities.py | loftwah/appscale | 586fc1347ebc743d7a632de698f4dbfb09ae38d6 | [
"Apache-2.0"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | """
Each stat kind is populated from one or more stat sections (which are described
in the containers module).
Ns_Kind_CompositeIndex -> composite-indexes
Kind_CompositeIndex -> composite-indexes
Ns_Kind_IsRootEntity -> entities + builtin-indexes
Ns_Kind_NotRootEntity -> entities + builtin-indexes
Kind_IsRootEntity -> ... | 48.782258 | 80 | 0.704497 | 3,013 | 24,196 | 5.291736 | 0.041487 | 0.031234 | 0.070246 | 0.036126 | 0.888673 | 0.861139 | 0.819995 | 0.796726 | 0.770823 | 0.7463 | 0 | 0.000723 | 0.199289 | 24,196 | 495 | 81 | 48.880808 | 0.822236 | 0.051579 | 0 | 0.649758 | 0 | 0 | 0.09782 | 0.026896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004831 | false | 0 | 0.021739 | 0 | 0.031401 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e46d9a6d63997ac96a71dd00e0fff5f78c1de048 | 2,187 | py | Python | course5/model.py | GT-AcerZhang/ReinforcementLearning | 77347af3202051e8661a22cf2f955cbbca1472af | [
"Apache-2.0"
] | 21 | 2020-11-06T07:05:23.000Z | 2021-09-04T04:45:18.000Z | course5/model.py | GT-AcerZhang/ReinforcementLearning | 77347af3202051e8661a22cf2f955cbbca1472af | [
"Apache-2.0"
] | 1 | 2020-11-19T09:40:50.000Z | 2020-11-20T01:00:30.000Z | course5/model.py | GT-AcerZhang/ReinforcementLearning | 77347af3202051e8661a22cf2f955cbbca1472af | [
"Apache-2.0"
] | 3 | 2021-03-09T02:57:05.000Z | 2021-05-04T05:24:09.000Z | import parl
from parl import layers
class Model(parl.Model):
def __init__(self, act_dim):
self.conv1 = layers.conv2d(num_filters=32, filter_size=3, stride=2, padding=1, act='relu')
self.conv2 = layers.conv2d(num_filters=32, filter_size=3, stride=2, padding=1, act='relu')
self.conv3 = layer... | 27.683544 | 98 | 0.572474 | 285 | 2,187 | 4.263158 | 0.175439 | 0.046091 | 0.045267 | 0.072428 | 0.807407 | 0.807407 | 0.807407 | 0.807407 | 0.807407 | 0.807407 | 0 | 0.048026 | 0.304984 | 2,187 | 78 | 99 | 28.038462 | 0.751316 | 0.112026 | 0 | 0.585366 | 0 | 0 | 0.011161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.04878 | 0 | 0.243902 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4b4811a628951cfbfcb8ab4e5bc2ec79854c3e7 | 21 | py | Python | batchglm/api/models/__init__.py | SabrinaRichter/batchglm | 2da429f895f7eb577a835da334f4ae146a9422ce | [
"BSD-3-Clause"
] | null | null | null | batchglm/api/models/__init__.py | SabrinaRichter/batchglm | 2da429f895f7eb577a835da334f4ae146a9422ce | [
"BSD-3-Clause"
] | null | null | null | batchglm/api/models/__init__.py | SabrinaRichter/batchglm | 2da429f895f7eb577a835da334f4ae146a9422ce | [
"BSD-3-Clause"
] | null | null | null | from . import glm_nb
| 10.5 | 20 | 0.761905 | 4 | 21 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4f6daab7f763498f7398f221af9ff2d630eeac2 | 111 | py | Python | app/language_features/importing/test_imported.py | andykmiles/code-boutique | 26d05202f832af163f2900c36237988f37ceea8a | [
"MIT"
] | null | null | null | app/language_features/importing/test_imported.py | andykmiles/code-boutique | 26d05202f832af163f2900c36237988f37ceea8a | [
"MIT"
] | null | null | null | app/language_features/importing/test_imported.py | andykmiles/code-boutique | 26d05202f832af163f2900c36237988f37ceea8a | [
"MIT"
] | 2 | 2021-06-03T02:59:49.000Z | 2021-06-14T20:42:12.000Z | import imported
# only works if no __init__.py in this dir
def test_doit():
assert imported.doit() == 999
| 18.5 | 42 | 0.711712 | 18 | 111 | 4.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.198198 | 111 | 5 | 43 | 22.2 | 0.797753 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90036aa5f697c75eee23f19d736aff8964f98217 | 166 | py | Python | lib/python2.7/site-packages/braintree/exceptions/unexpected_error.py | ervinpepic/E-commerce | 2c15255d1730728cf35c166b9f88cffcb99f5323 | [
"MIT"
] | 182 | 2015-01-09T05:26:46.000Z | 2022-03-16T14:10:06.000Z | lib/python2.7/site-packages/braintree/exceptions/unexpected_error.py | ervinpepic/E-commerce | 2c15255d1730728cf35c166b9f88cffcb99f5323 | [
"MIT"
] | 95 | 2015-02-24T23:29:56.000Z | 2022-03-13T03:27:58.000Z | lib/python2.7/site-packages/braintree/exceptions/unexpected_error.py | ervinpepic/E-commerce | 2c15255d1730728cf35c166b9f88cffcb99f5323 | [
"MIT"
] | 93 | 2015-02-19T17:59:06.000Z | 2022-03-19T17:01:25.000Z | from braintree.exceptions.braintree_error import BraintreeError
class UnexpectedError(BraintreeError):
""" Raised for unknown or unexpected errors. """
pass
| 27.666667 | 63 | 0.783133 | 17 | 166 | 7.588235 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 166 | 5 | 64 | 33.2 | 0.908451 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
900714459ee5149c86db44d4526c589074f03350 | 121 | py | Python | scripts/mat_animation/__init__.py | hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators | 9a8801e9c663174b753c4852b2313c5a3f302434 | [
"MIT"
] | null | null | null | scripts/mat_animation/__init__.py | hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators | 9a8801e9c663174b753c4852b2313c5a3f302434 | [
"MIT"
] | null | null | null | scripts/mat_animation/__init__.py | hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators | 9a8801e9c663174b753c4852b2313c5a3f302434 | [
"MIT"
] | null | null | null | # from .robot_model import Plotting
from .MatGymLikeENv import Plotting, PlottingComplex, MatTiagoEnvComplex, MatTiagoEnv | 60.5 | 85 | 0.859504 | 12 | 121 | 8.583333 | 0.75 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 121 | 2 | 85 | 60.5 | 0.936364 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
901f29a3e8ad2425afab26192199682bdfcc85ed | 58 | py | Python | config/mylabs_c/client/image/__init__.py | happyfaults/pymylabs | d5ef98b3422cb0f58cd4fa63de6c3756eba7cb16 | [
"MIT"
] | null | null | null | config/mylabs_c/client/image/__init__.py | happyfaults/pymylabs | d5ef98b3422cb0f58cd4fa63de6c3756eba7cb16 | [
"MIT"
] | null | null | null | config/mylabs_c/client/image/__init__.py | happyfaults/pymylabs | d5ef98b3422cb0f58cd4fa63de6c3756eba7cb16 | [
"MIT"
] | null | null | null | from .. import Interactor
class App(Interactor):
pass | 14.5 | 25 | 0.724138 | 7 | 58 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 4 | 26 | 14.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9047ae9677b2b05ad8923352b65e5d86e629447b | 28 | py | Python | venv/Lib/site-packages/psychopy/tests/test_all_visual/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/psychopy/tests/test_all_visual/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | venv/Lib/site-packages/psychopy/tests/test_all_visual/__init__.py | mintzer/pupillometry-rf-back | cfa86fa984a49dce0123798f8de5b838c02e10d5 | [
"CC-BY-4.0"
] | null | null | null | from psychopy import visual
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f4d0620423efd2d11c2a6568d4b52636aabae2a | 75,499 | py | Python | src/original_variant_AlexNet_experiment.py | aslansd/DNNforVPL | 7cda3eb327050f98b0867a4eca4cadb813d2c466 | [
"MIT"
] | null | null | null | src/original_variant_AlexNet_experiment.py | aslansd/DNNforVPL | 7cda3eb327050f98b0867a4eca4cadb813d2c466 | [
"MIT"
] | null | null | null | src/original_variant_AlexNet_experiment.py | aslansd/DNNforVPL | 7cda3eb327050f98b0867a4eca4cadb813d2c466 | [
"MIT"
] | null | null | null | """
Created by Aslan Satary Dizaji (a.satarydizaji@eni-g.de)
"""
import copy
import gc
import glob
import numpy as np
import os
import random
import scipy.io
import shutil
import time
import torch
import torch.backends.cudnn as cudnn
import torch.nn as nn
import torch.optim
import torchvision.transfor... | 73.873777 | 332 | 0.575782 | 8,447 | 75,499 | 4.799929 | 0.058364 | 0.065113 | 0.062893 | 0.042915 | 0.881366 | 0.856702 | 0.827722 | 0.799359 | 0.787989 | 0.763448 | 0 | 0.050448 | 0.335223 | 75,499 | 1,022 | 333 | 73.873777 | 0.757382 | 0.066743 | 0 | 0.540212 | 0 | 0 | 0.047491 | 0.028922 | 0 | 0 | 0 | 0 | 0.004552 | 1 | 0.016692 | false | 0 | 0.034901 | 0 | 0.059181 | 0.021244 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5fabd5552c09f91e70c56d781a728f2617fb24ed | 82 | py | Python | common/utility/utils.py | klo9klo9kloi/win_det_heatmaps | fc427bcd593831d627698455b8917eb37add3f6e | [
"MIT"
] | 29 | 2020-07-27T10:49:09.000Z | 2022-03-17T02:15:03.000Z | common/utility/utils.py | klo9klo9kloi/win_det_heatmaps | fc427bcd593831d627698455b8917eb37add3f6e | [
"MIT"
] | 6 | 2020-09-30T01:51:34.000Z | 2022-01-02T08:00:22.000Z | common/utility/utils.py | klo9klo9kloi/win_det_heatmaps | fc427bcd593831d627698455b8917eb37add3f6e | [
"MIT"
] | 10 | 2020-07-31T00:43:38.000Z | 2022-03-07T02:45:25.000Z | import numpy as np
def float2int(val):
return tuple(int (x+0.5) for x in val) | 20.5 | 42 | 0.682927 | 17 | 82 | 3.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.207317 | 82 | 4 | 42 | 20.5 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3958cb8da7a86fb5d6568774e7d976d0016c1756 | 45 | py | Python | nextcord/ext/help/__init__.py | ooliver1/nextcord-ext-help | 2dd740263b67a629573e3afca33415c02e5cef07 | [
"MIT"
] | null | null | null | nextcord/ext/help/__init__.py | ooliver1/nextcord-ext-help | 2dd740263b67a629573e3afca33415c02e5cef07 | [
"MIT"
] | null | null | null | nextcord/ext/help/__init__.py | ooliver1/nextcord-ext-help | 2dd740263b67a629573e3afca33415c02e5cef07 | [
"MIT"
] | null | null | null | from .faked import *
from .help import setup
| 15 | 23 | 0.755556 | 7 | 45 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 24 | 22.5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39958a2f9454b11953ae9627305219796c22e628 | 366 | py | Python | src/pipeline/report.py | alphagov-mirror/govuk-accessibility-reports | 88204c03e273fff76b67ab0730a44869f02e28c9 | [
"MIT"
] | 7 | 2021-02-18T07:15:25.000Z | 2021-06-28T07:58:04.000Z | src/pipeline/report.py | alphagov-mirror/govuk-accessibility-reports | 88204c03e273fff76b67ab0730a44869f02e28c9 | [
"MIT"
] | 5 | 2021-01-25T18:41:30.000Z | 2022-03-04T17:36:17.000Z | src/pipeline/report.py | alphagov-mirror/govuk-accessibility-reports | 88204c03e273fff76b67ab0730a44869f02e28c9 | [
"MIT"
] | 3 | 2020-12-14T17:35:58.000Z | 2021-04-10T20:11:26.000Z | class Report:
def __init__(self, report):
self.report = report
@property
def name(self):
return self.report['name']
@property
def filename(self):
return self.report['filename']
@property
def klass(self):
return self.report['class']
@property
def s... | 17.428571 | 38 | 0.584699 | 41 | 366 | 5.121951 | 0.268293 | 0.285714 | 0.266667 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297814 | 366 | 20 | 39 | 18.3 | 0.817121 | 0 | 0 | 0.266667 | 0 | 0 | 0.057377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.266667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
39a467ca49358ae4b3c8418d912f1fd981e7eea0 | 22 | py | Python | pyjq/__init__.py | spraakbanken/pyjq | 14d7348f450e3838876149a7891b977a22907e60 | [
"MIT"
] | null | null | null | pyjq/__init__.py | spraakbanken/pyjq | 14d7348f450e3838876149a7891b977a22907e60 | [
"MIT"
] | null | null | null | pyjq/__init__.py | spraakbanken/pyjq | 14d7348f450e3838876149a7891b977a22907e60 | [
"MIT"
] | null | null | null |
from .cli import cli
| 7.333333 | 20 | 0.727273 | 4 | 22 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39e69a4d5c96f5d122d55a7d967d38228b257aee | 33 | py | Python | example/__init__.py | elpeix/kaa | b840613cb5eba876d937faf32031651332e5b5f6 | [
"MIT"
] | null | null | null | example/__init__.py | elpeix/kaa | b840613cb5eba876d937faf32031651332e5b5f6 | [
"MIT"
] | null | null | null | example/__init__.py | elpeix/kaa | b840613cb5eba876d937faf32031651332e5b5f6 | [
"MIT"
] | null | null | null | from .server import SampleServer
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2f935cc189228d08887a78168888bdb20e65598 | 1,605 | py | Python | exercise/venv/lib/python3.7/site-packages/sqreen/frameworks/blank.py | assuzzanne/my-sqreen | 81ae0eab417a1dbc0ae6b1778ebfdd71591c3c5b | [
"MIT"
] | null | null | null | exercise/venv/lib/python3.7/site-packages/sqreen/frameworks/blank.py | assuzzanne/my-sqreen | 81ae0eab417a1dbc0ae6b1778ebfdd71591c3c5b | [
"MIT"
] | 1 | 2021-06-02T00:27:34.000Z | 2021-06-02T00:27:34.000Z | exercise/venv/lib/python3.7/site-packages/sqreen/frameworks/blank.py | assuzzanne/notifications-dispatcher-api | 81ae0eab417a1dbc0ae6b1778ebfdd71591c3c5b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2016, 2017, 2018, 2019 Sqreen. All rights reserved.
# Please refer to our terms for more information:
#
# https://www.sqreen.io/terms.html
#
""" Blank request for callbacks needing a request when no one is present
"""
from .base import BaseRequest, BaseResponse
class Blank... | 16.546392 | 72 | 0.602492 | 181 | 1,605 | 5.243094 | 0.414365 | 0.231823 | 0.191781 | 0.278188 | 0.465753 | 0.167545 | 0 | 0 | 0 | 0 | 0 | 0.015399 | 0.31215 | 1,605 | 96 | 73 | 16.71875 | 0.844203 | 0.150779 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.31746 | false | 0 | 0.015873 | 0.31746 | 0.68254 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f2fd564d0c65db51adcfff29238d633e38e228e9 | 61 | py | Python | farmer/ncc/history/__init__.py | tamahassam/farmer | 512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4 | [
"Apache-2.0"
] | 10 | 2019-04-04T07:32:47.000Z | 2021-01-07T00:40:50.000Z | farmer/ncc/history/__init__.py | tamahassam/farmer | 512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4 | [
"Apache-2.0"
] | 59 | 2019-04-18T05:44:31.000Z | 2021-05-02T10:33:02.000Z | farmer/ncc/history/__init__.py | tamahassam/farmer | 512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4 | [
"Apache-2.0"
] | 4 | 2020-01-23T14:01:43.000Z | 2021-02-11T04:16:14.000Z | from .plot_history import plot_history
from .history import * | 30.5 | 38 | 0.836066 | 9 | 61 | 5.444444 | 0.444444 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 39 | 30.5 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
844004c0ed2b9c61553e93cd2db618db002fadfc | 148 | py | Python | fortnox/objects/__init__.py | andreask/fortnox-python | 51998d87fb6ca9da954c72f626265eff28667ded | [
"MIT"
] | null | null | null | fortnox/objects/__init__.py | andreask/fortnox-python | 51998d87fb6ca9da954c72f626265eff28667ded | [
"MIT"
] | null | null | null | fortnox/objects/__init__.py | andreask/fortnox-python | 51998d87fb6ca9da954c72f626265eff28667ded | [
"MIT"
] | null | null | null | from .financial_year import FinancialYear
from .voucher import Voucher
from .voucher_row import VoucherRow
from .voucher_series import VoucherSeries | 37 | 41 | 0.871622 | 19 | 148 | 6.631579 | 0.526316 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 148 | 4 | 42 | 37 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
844a9a5f5f40929a97641d4191e551ecb723a82a | 194 | py | Python | dwtools3/django/seo/urls.py | bazzisoft/dwtools3 | ed7b457290ca940b6e53ab56df26ece42afc9928 | [
"MIT"
] | 1 | 2019-09-03T10:42:16.000Z | 2019-09-03T10:42:16.000Z | dwtools3/django/seo/urls.py | bazzisoft/dwtools3 | ed7b457290ca940b6e53ab56df26ece42afc9928 | [
"MIT"
] | null | null | null | dwtools3/django/seo/urls.py | bazzisoft/dwtools3 | ed7b457290ca940b6e53ab56df26ece42afc9928 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^admin/seo/metatags-admin-redirect/$', views.seo_metatags_admin_redirect, name='seo_metatags_admin_redirect'),
]
| 24.25 | 120 | 0.768041 | 27 | 194 | 5.296296 | 0.518519 | 0.230769 | 0.335664 | 0.503497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 194 | 7 | 121 | 27.714286 | 0.82659 | 0 | 0 | 0 | 0 | 0 | 0.324742 | 0.324742 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
844d90a08eff9a759e56a549bf673b42c7fd0b82 | 2,709 | py | Python | tests/test_losses.py | alexkyllo/torch-wtte | 916a4641cb8dacabcb54c22363347cd36c18c041 | [
"MIT"
] | 1 | 2021-07-26T23:07:49.000Z | 2021-07-26T23:07:49.000Z | tests/test_losses.py | alexkyllo/torch-wtte-rnn | 916a4641cb8dacabcb54c22363347cd36c18c041 | [
"MIT"
] | null | null | null | tests/test_losses.py | alexkyllo/torch-wtte-rnn | 916a4641cb8dacabcb54c22363347cd36c18c041 | [
"MIT"
] | 1 | 2022-03-08T13:17:00.000Z | 2022-03-08T13:17:00.000Z | import torch
from torch_wtte import losses
def test_log_likelihood_discrete():
"""Test that the discrete version of the log-likelihood function
returns the expected result.
"""
tte = torch.tensor([[6, 5, 4, 3, 2], [5, 4, 3, 2, 1]])
uncensored = torch.tensor([[1, 1, 1, 1, 0], [1, 1, 1, 1, 1]])
... | 35.644737 | 97 | 0.567737 | 442 | 2,709 | 3.41629 | 0.167421 | 0.063576 | 0.077483 | 0.07947 | 0.772848 | 0.772848 | 0.772848 | 0.752318 | 0.752318 | 0.752318 | 0 | 0.226027 | 0.245478 | 2,709 | 75 | 98 | 36.12 | 0.51272 | 0.130306 | 0 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 1 | 0.054545 | false | 0 | 0.036364 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fff28ddeddbb9bbda241b51d0ca371212304dd55 | 27 | py | Python | anybar/__init__.py | philipbl/pyAnyBar | 5614cbeba90cd24d1fd1c553f8495e78795cdcd8 | [
"MIT"
] | 55 | 2015-04-09T18:06:51.000Z | 2021-11-08T11:51:11.000Z | anybar/__init__.py | philipbl/pyAnyBar | 5614cbeba90cd24d1fd1c553f8495e78795cdcd8 | [
"MIT"
] | 4 | 2016-06-14T06:59:45.000Z | 2021-06-04T16:56:34.000Z | anybar/__init__.py | philipbl/pyAnyBar | 5614cbeba90cd24d1fd1c553f8495e78795cdcd8 | [
"MIT"
] | 12 | 2016-06-27T08:04:02.000Z | 2021-06-04T12:07:41.000Z | from .anybar import AnyBar
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
081cb607f57c37515e3a62379a8cd441762e5e1b | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/console/commands/self/self.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/console/commands/self/self.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/console/commands/self/self.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/49/7f/25/1bf09512d6075ebaac8cfbd7a1476311aaa51d4e25c6e82b8887527c29 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
082d30e548ca8a0143cc901d604e13bf6a4b861d | 121 | py | Python | fashionnets/models/layer/PassThroughLayer.py | NiklasHoltmeyer/FashionNets | 918e57f122b8cfa36dba1d0b993c763ba35ac815 | [
"MIT"
] | null | null | null | fashionnets/models/layer/PassThroughLayer.py | NiklasHoltmeyer/FashionNets | 918e57f122b8cfa36dba1d0b993c763ba35ac815 | [
"MIT"
] | null | null | null | fashionnets/models/layer/PassThroughLayer.py | NiklasHoltmeyer/FashionNets | 918e57f122b8cfa36dba1d0b993c763ba35ac815 | [
"MIT"
] | null | null | null | import tensorflow as tf
class PassThroughLayer(tf.keras.layers.Layer):
def call(self, inputs):
return inputs | 24.2 | 46 | 0.727273 | 16 | 121 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190083 | 121 | 5 | 47 | 24.2 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.