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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8f6cdc2f84f833bd50321f40fc01acead303a237 | 482 | py | Python | app/models/treasured_possessions.py | neuralhalation/flask-call-of-cthulhu | 59e1afc9ac1244106fe3439f9a37f16dcfc15d52 | [
"MIT"
] | null | null | null | app/models/treasured_possessions.py | neuralhalation/flask-call-of-cthulhu | 59e1afc9ac1244106fe3439f9a37f16dcfc15d52 | [
"MIT"
] | null | null | null | app/models/treasured_possessions.py | neuralhalation/flask-call-of-cthulhu | 59e1afc9ac1244106fe3439f9a37f16dcfc15d52 | [
"MIT"
] | null | null | null | import app.functions.add_remove as ar
def treasured_possession(possession_name, description):
return ar.new("treasured_possession", name=possession_name, description=description)
def add_treasured_possession(possession, possessions=[]):
return ar.add_to_list(possession, possessions)
def remove_treasured_p... | 28.352941 | 88 | 0.79668 | 58 | 482 | 6.275862 | 0.37931 | 0.230769 | 0.239011 | 0.181319 | 0.203297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120332 | 482 | 16 | 89 | 30.125 | 0.858491 | 0 | 0 | 0 | 0 | 0 | 0.091476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.333333 | 0.777778 | 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 |
56b2a86071f7bffde498b87da22b64829fe23be1 | 101 | py | Python | selvbetjening/sadmin2/context_processors.py | animekita/selvbetjening | fee63d178fbd5ce2976c04d3a4b2dde6d8691892 | [
"MIT"
] | null | null | null | selvbetjening/sadmin2/context_processors.py | animekita/selvbetjening | fee63d178fbd5ce2976c04d3a4b2dde6d8691892 | [
"MIT"
] | 3 | 2020-02-11T21:54:59.000Z | 2021-06-10T17:35:21.000Z | selvbetjening/sadmin2/context_processors.py | animekita/selvbetjening | fee63d178fbd5ce2976c04d3a4b2dde6d8691892 | [
"MIT"
] | null | null | null | # coding=utf-8
import menu
def sadmin2_navigation(request):
return menu.sadmin2_menu_manifest
| 12.625 | 37 | 0.782178 | 14 | 101 | 5.428571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.148515 | 101 | 7 | 38 | 14.428571 | 0.848837 | 0.118812 | 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 |
56d0a47bd32b8ad3a4c4d7915a75679473602cda | 130 | py | Python | core/views.py | JimmyDuoc/duoc_2020_django | 39328207c770d921384012b83de9f988976d2804 | [
"MIT"
] | null | null | null | core/views.py | JimmyDuoc/duoc_2020_django | 39328207c770d921384012b83de9f988976d2804 | [
"MIT"
] | null | null | null | core/views.py | JimmyDuoc/duoc_2020_django | 39328207c770d921384012b83de9f988976d2804 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def inicio(request):
return render(request,"core/inicio.html") | 21.666667 | 45 | 0.761538 | 18 | 130 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 6 | 45 | 21.666667 | 0.883929 | 0.176923 | 0 | 0 | 0 | 0 | 0.150943 | 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 |
56d49267c93416adbb902704597df36aa4d19d8b | 66 | py | Python | processing.py | jennylien/python-everywhere-webapp-guineapig | ffd0bff2790c7f2cda8a2832a4a0bbdf13dd9efc | [
"MIT"
] | null | null | null | processing.py | jennylien/python-everywhere-webapp-guineapig | ffd0bff2790c7f2cda8a2832a4a0bbdf13dd9efc | [
"MIT"
] | null | null | null | processing.py | jennylien/python-everywhere-webapp-guineapig | ffd0bff2790c7f2cda8a2832a4a0bbdf13dd9efc | [
"MIT"
] | null | null | null | def do_calculation(number1, number2):
return number1 + number2 | 33 | 37 | 0.772727 | 8 | 66 | 6.25 | 0.75 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.151515 | 66 | 2 | 38 | 33 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
56e39db13513ef407c70565b50413369dbabc9fd | 89 | py | Python | python_polar_coding/polar_codes/fast_scan/__init__.py | MingxuZhang/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 2 | 2021-12-07T09:52:15.000Z | 2022-01-06T14:35:37.000Z | python_polar_coding/polar_codes/fast_scan/__init__.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | null | null | null | python_polar_coding/polar_codes/fast_scan/__init__.py | manhduc1811/python-polar-coding | bfab8e1cdcffaefea8e6d0209b13465fbd7fa936 | [
"MIT"
] | 4 | 2020-07-03T14:20:04.000Z | 2021-07-04T13:20:40.000Z | from .codec import *
from .decoder import *
from .functions import *
from .node import *
| 17.8 | 24 | 0.730337 | 12 | 89 | 5.416667 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 4 | 25 | 22.25 | 0.890411 | 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 |
7137126e32e6e177e01e1ee5fc3339d1a31403ff | 99 | py | Python | terrascript/opsgenie/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/opsgenie/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/opsgenie/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/opsgenie/d.py
import terrascript
class opsgenie_user(terrascript.Data):
pass
| 12.375 | 38 | 0.767677 | 12 | 99 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 7 | 39 | 14.142857 | 0.892857 | 0.252525 | 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 |
855b3ec8dbcbc73f92643ad9da59992c34267920 | 37 | py | Python | cerbo/__init__.py | mythreyad/Cerbo | ff8ef335ea6b146ef7b5314813b82632ed2b809b | [
"MIT"
] | 16 | 2020-09-02T17:41:11.000Z | 2021-09-11T16:40:41.000Z | cerbo/__init__.py | mythreyad/Cerbo | ff8ef335ea6b146ef7b5314813b82632ed2b809b | [
"MIT"
] | null | null | null | cerbo/__init__.py | mythreyad/Cerbo | ff8ef335ea6b146ef7b5314813b82632ed2b809b | [
"MIT"
] | 10 | 2020-09-02T17:56:54.000Z | 2022-02-17T22:22:36.000Z | def hi():
print("Hi I'm Cerbo!") | 18.5 | 26 | 0.513514 | 7 | 37 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 37 | 2 | 26 | 18.5 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8584f8cb6a5adbc894e7e2c82d9021f6a37557b9 | 124 | py | Python | evalml/automl/automl_algorithm/__init__.py | BlockchainClimateInstitute/price_microservice | 11d1cff8965fe1befc997e9da3dc09efceed4579 | [
"BSD-3-Clause"
] | 1 | 2021-07-28T14:20:35.000Z | 2021-07-28T14:20:35.000Z | evalml/automl/automl_algorithm/__init__.py | ObinnaObeleagu/evalml | 3b5bf62b08a5a5bc6485ba5387a08c32e1857473 | [
"BSD-3-Clause"
] | 13 | 2021-03-04T19:29:09.000Z | 2022-03-07T01:00:43.000Z | evalml/automl/automl_algorithm/__init__.py | RG4421/evalml | 33c62abe6d107d1da2f54e9e44a90f18aaf916a9 | [
"BSD-3-Clause"
] | null | null | null | from .automl_algorithm import AutoMLAlgorithm, AutoMLAlgorithmException
from .iterative_algorithm import IterativeAlgorithm
| 41.333333 | 71 | 0.903226 | 11 | 124 | 10 | 0.727273 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 124 | 2 | 72 | 62 | 0.956522 | 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 |
a4110776befe917c9ea7f6b920509b7bc98cdf96 | 246 | py | Python | nr_common/image_utils/__init__.py | nitred/nr-common | f251e76fe10cb46f609583922d485013f5cba92b | [
"MIT"
] | null | null | null | nr_common/image_utils/__init__.py | nitred/nr-common | f251e76fe10cb46f609583922d485013f5cba92b | [
"MIT"
] | 1 | 2018-01-07T19:03:35.000Z | 2018-01-07T19:03:35.000Z | nr_common/image_utils/__init__.py | nitred/nr-common | f251e76fe10cb46f609583922d485013f5cba92b | [
"MIT"
] | 1 | 2018-09-20T02:31:18.000Z | 2018-09-20T02:31:18.000Z | from .image_utils_cv2 import load_image as load_image_cv2
from .image_utils_cv2 import show_image as show_image_cv2
from .image_utils_meta import load_image as load_image_meta
from .image_utils_meta import transform_image as transform_image_meta
| 49.2 | 69 | 0.886179 | 44 | 246 | 4.5 | 0.227273 | 0.181818 | 0.282828 | 0.171717 | 0.732323 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.097561 | 246 | 4 | 70 | 61.5 | 0.873874 | 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 |
a41d9df5789b096b4ecb64f3bead3c4a2dc6471c | 31 | py | Python | env/lib/python3.9/site-packages/_multiprocess/__init__.py | wphoong/flappy_doge | c778f0e4820c1ed46e50a56f989d57df4f386736 | [
"MIT"
] | 356 | 2015-06-21T21:05:10.000Z | 2022-03-30T11:57:08.000Z | env/lib/python3.9/site-packages/_multiprocess/__init__.py | wphoong/flappy_doge | c778f0e4820c1ed46e50a56f989d57df4f386736 | [
"MIT"
] | 103 | 2015-06-22T01:44:14.000Z | 2022-03-01T03:44:25.000Z | env/lib/python3.9/site-packages/_multiprocess/__init__.py | wphoong/flappy_doge | c778f0e4820c1ed46e50a56f989d57df4f386736 | [
"MIT"
] | 72 | 2015-09-02T14:10:24.000Z | 2022-03-25T06:49:43.000Z | from _multiprocessing import *
| 15.5 | 30 | 0.83871 | 3 | 31 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
a4657ff6c2893e02113389381a1ac90ca43fc319 | 32 | py | Python | classes/__init__.py | coopersigrist/DnDML | 782b8908147fc9d90c6fb1dbb25a394ca4022b14 | [
"MIT"
] | 2 | 2021-05-31T22:44:50.000Z | 2021-09-12T03:19:21.000Z | classes/__init__.py | coopersigrist/DnDML | 782b8908147fc9d90c6fb1dbb25a394ca4022b14 | [
"MIT"
] | null | null | null | classes/__init__.py | coopersigrist/DnDML | 782b8908147fc9d90c6fb1dbb25a394ca4022b14 | [
"MIT"
] | 1 | 2021-07-22T12:54:47.000Z | 2021-07-22T12:54:47.000Z | from .workspace import Workspace | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f100351cf2290de0232fe71479fd206575265b06 | 83 | py | Python | src/__init__.py | partham16/demo_classification | d756ab150a1913c220f1048eda552483e88c01c1 | [
"MIT"
] | null | null | null | src/__init__.py | partham16/demo_classification | d756ab150a1913c220f1048eda552483e88c01c1 | [
"MIT"
] | null | null | null | src/__init__.py | partham16/demo_classification | d756ab150a1913c220f1048eda552483e88c01c1 | [
"MIT"
] | null | null | null | import h2o
from .config import Config
h2o.init(max_mem_size=Config.h2o_mem_size)
| 13.833333 | 42 | 0.819277 | 15 | 83 | 4.266667 | 0.533333 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.108434 | 83 | 5 | 43 | 16.6 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
f1087b3653cb6780cc568221cb8aac6a1eb54eca | 1,562 | py | Python | src/model/db.py | NaKolenke/kolenka-backend | b8bf0a49b424e088b02bfeb59b7a083e59973b88 | [
"MIT"
] | null | null | null | src/model/db.py | NaKolenke/kolenka-backend | b8bf0a49b424e088b02bfeb59b7a083e59973b88 | [
"MIT"
] | null | null | null | src/model/db.py | NaKolenke/kolenka-backend | b8bf0a49b424e088b02bfeb59b7a083e59973b88 | [
"MIT"
] | null | null | null | from playhouse.flask_utils import FlaskDB
db_wrapper = FlaskDB()
def init_database(app):
global db_wrapper
db_wrapper.init_app(app)
def create_tables():
global db_wrapper
from src.model.models import (
User,
Token,
Content,
Feedback,
Blog,
BlogPartic... | 19.04878 | 41 | 0.502561 | 105 | 1,562 | 7.342857 | 0.457143 | 0.093385 | 0.058366 | 0.062257 | 0.705577 | 0.705577 | 0.705577 | 0.705577 | 0.705577 | 0.705577 | 0 | 0 | 0.443022 | 1,562 | 81 | 42 | 19.283951 | 0.886207 | 0 | 0 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.028169 | 0 | 0.084507 | 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 |
f10d9a41ea0478f2509771413afacf2f712f2320 | 121,265 | py | Python | pyquante2/dft/reference.py | berquist/pyquante2 | 91a352bfb59038f513a5690792475636d5227252 | [
"BSD-3-Clause"
] | 107 | 2015-01-22T00:02:52.000Z | 2022-03-15T06:35:49.000Z | pyquante2/dft/reference.py | berquist/pyquante2 | 91a352bfb59038f513a5690792475636d5227252 | [
"BSD-3-Clause"
] | 8 | 2015-04-26T07:33:14.000Z | 2020-07-15T21:34:42.000Z | pyquante2/dft/reference.py | berquist/pyquante2 | 91a352bfb59038f513a5690792475636d5227252 | [
"BSD-3-Clause"
] | 59 | 2015-01-31T21:16:46.000Z | 2022-03-15T06:23:04.000Z | """
This is reference data taken from the Density Functional Repository.
ftp://ftp.dl.ac.uk/qcg/dft_library/index.html
Need to think of a more comprehensive way to do this. Maybe keep data
files in the repository, and run the function against these.
These are parsed in to a table with 11 columns: the first 5 are inpu... | 33.214188 | 84 | 0.683627 | 14,588 | 121,265 | 5.68008 | 0.079997 | 0.253943 | 0.290221 | 0.038776 | 0.656171 | 0.655157 | 0.65453 | 0.614258 | 0.614258 | 0.614258 | 0 | 0.52402 | 0.217928 | 121,265 | 3,650 | 85 | 33.223288 | 0.349691 | 0.003447 | 0 | 0.56962 | 0 | 0.044791 | 0.990053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000325 | false | 0 | 0.000974 | 0 | 0.001623 | 0.000325 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f11839518bf4e3b858e27ed627657d2dd31b560b | 31 | py | Python | pyecs/systems/__init__.py | en0/pyecs | 500e241b4cd647c520faff85225238c8c3875b4a | [
"MIT"
] | null | null | null | pyecs/systems/__init__.py | en0/pyecs | 500e241b4cd647c520faff85225238c8c3875b4a | [
"MIT"
] | null | null | null | pyecs/systems/__init__.py | en0/pyecs | 500e241b4cd647c520faff85225238c8c3875b4a | [
"MIT"
] | null | null | null | from .clock import ClockSystem
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
f15a892212305d6a5ad706c63da9b1c5be4ed66b | 105 | py | Python | app/extentions/database.py | 4linux/HandsOn-Flask-App | f54482a46b41d6a156b232c6cb98399de559e063 | [
"MIT"
] | 6 | 2021-06-29T20:37:13.000Z | 2021-06-30T11:16:05.000Z | app/extentions/database.py | 4linux/HandsOn-Flask-App | f54482a46b41d6a156b232c6cb98399de559e063 | [
"MIT"
] | null | null | null | app/extentions/database.py | 4linux/HandsOn-Flask-App | f54482a46b41d6a156b232c6cb98399de559e063 | [
"MIT"
] | 9 | 2021-06-29T20:36:53.000Z | 2022-03-17T12:27:18.000Z | from flask_pymongo import PyMongo
mongo = PyMongo()
def init_app(app):
return mongo.init_app(app)
| 13.125 | 33 | 0.742857 | 16 | 105 | 4.6875 | 0.5625 | 0.186667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 7 | 34 | 15 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f16026b450cb5b4d11929b9d8bdb43a7089d168f | 28 | py | Python | autolens/pipeline/phase/abstract/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | autolens/pipeline/phase/abstract/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | autolens/pipeline/phase/abstract/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | from .result import Result
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 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 |
f1779e3054fa7f7a4a634a654f062807fac26b8e | 198 | py | Python | 5 kyu/Cycle Detection Floyds The Tortoise and the The Hare.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 5 kyu/Cycle Detection Floyds The Tortoise and the The Hare.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 5 kyu/Cycle Detection Floyds The Tortoise and the The Hare.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def floyd(f, x0):
return helper(f, x0, {}, 0)
def helper(f, n, memo, index):
if n in memo:
return [memo[n], index-memo[n]]
memo[n]=index
return helper(f, f(n), memo, index+1) | 28.285714 | 41 | 0.565657 | 36 | 198 | 3.111111 | 0.361111 | 0.1875 | 0.232143 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.247475 | 198 | 7 | 41 | 28.285714 | 0.724832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f18351a06d2742f7f205d66dc0c18094f7b92978 | 85 | py | Python | print-hello-to-console/__main__.py | hedythedev/print-hello-to-console-py | 89f168c57de52a44cb141f885a1954dcfc1bbc18 | [
"MIT"
] | null | null | null | print-hello-to-console/__main__.py | hedythedev/print-hello-to-console-py | 89f168c57de52a44cb141f885a1954dcfc1bbc18 | [
"MIT"
] | null | null | null | print-hello-to-console/__main__.py | hedythedev/print-hello-to-console-py | 89f168c57de52a44cb141f885a1954dcfc1bbc18 | [
"MIT"
] | null | null | null | def print_hello():
print('Hello!')
if __name__ == '__main__':
print_hello()
| 14.166667 | 26 | 0.623529 | 10 | 85 | 4.3 | 0.6 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 85 | 5 | 27 | 17 | 0.632353 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
74b2cfa9f134230732c147e6c6f2593721a07129 | 126 | py | Python | opus/application/apps/dictionary/tests.py | juzen2003/pds-opus | 38587ef256199425c145394fc8e1f47594764628 | [
"AFL-3.0"
] | null | null | null | opus/application/apps/dictionary/tests.py | juzen2003/pds-opus | 38587ef256199425c145394fc8e1f47594764628 | [
"AFL-3.0"
] | null | null | null | opus/application/apps/dictionary/tests.py | juzen2003/pds-opus | 38587ef256199425c145394fc8e1f47594764628 | [
"AFL-3.0"
] | null | null | null | # from django.test import TestCase removed because it deletes test table data after every test
from unittest import TestCase
| 42 | 95 | 0.825397 | 19 | 126 | 5.473684 | 0.736842 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 2 | 96 | 63 | 0.981132 | 0.738095 | 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 |
74ed8a254a85352cd8c443c6902f65205f48a3bf | 795 | py | Python | vortilib/test_vortilib.py | ebranlard/vortilib | 517a986e686f7f2b7a84f74a26b9034880eb1118 | [
"MIT"
] | null | null | null | vortilib/test_vortilib.py | ebranlard/vortilib | 517a986e686f7f2b7a84f74a26b9034880eb1118 | [
"MIT"
] | null | null | null | vortilib/test_vortilib.py | ebranlard/vortilib | 517a986e686f7f2b7a84f74a26b9034880eb1118 | [
"MIT"
] | null | null | null | from vortilib.elements.InviscidVortexPatch import *
from vortilib.elements.LambOseen import *
from vortilib.elements.VortexPoint import *
from vortilib.elements.VortexLine import *
from vortilib.elements.VortexCylinder import *
from vortilib.elements.VortexCylinderSkewed import *
fr... | 49.6875 | 52 | 0.716981 | 75 | 795 | 7.6 | 0.266667 | 0.315789 | 0.442105 | 0.410526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 795 | 15 | 53 | 53 | 0.926829 | 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 | 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 |
2d26956caf4fab551a8a9d880aa8a2e1cc961383 | 110 | py | Python | app/alias/__init__.py | Guisch/keemailserver | ce55d747a0b77ed880a5e84e4131be7bba84ec2c | [
"MIT"
] | null | null | null | app/alias/__init__.py | Guisch/keemailserver | ce55d747a0b77ed880a5e84e4131be7bba84ec2c | [
"MIT"
] | null | null | null | app/alias/__init__.py | Guisch/keemailserver | ce55d747a0b77ed880a5e84e4131be7bba84ec2c | [
"MIT"
] | null | null | null | # app/api/__init__.py
from flask import Blueprint
alias = Blueprint('alias', __name__)
from . import views
| 13.75 | 36 | 0.745455 | 15 | 110 | 4.933333 | 0.733333 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 110 | 7 | 37 | 15.714286 | 0.795699 | 0.172727 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
740fe79c6c1817b9470f29e6939b9e881307c323 | 10,848 | py | Python | p680_valid_palindrome_ii.py | feigaochn/leetcode | abf0877fae02aa9c2549051f0b68df0ace952512 | [
"MIT"
] | null | null | null | p680_valid_palindrome_ii.py | feigaochn/leetcode | abf0877fae02aa9c2549051f0b68df0ace952512 | [
"MIT"
] | null | null | null | p680_valid_palindrome_ii.py | feigaochn/leetcode | abf0877fae02aa9c2549051f0b68df0ace952512 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# p680
class Solution:
def validPalindrome(self, s):
"""
:type s: str
:rtype: bool
"""
i, j = 0, len(s) - 1
while i < j:
if s[i] == s[j]:
i += 1
j -= 1
else:
... | 285.473684 | 10,014 | 0.95778 | 93 | 10,848 | 111.634409 | 0.462366 | 0.005394 | 0.015508 | 0.000771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001711 | 0.03042 | 10,848 | 37 | 10,015 | 293.189189 | 0.985358 | 0.005992 | 0 | 0.083333 | 0 | 0 | 0.93525 | 0.930505 | 0 | 1 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0 | 0 | 0.166667 | 0.291667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
779526f5893b09490b893a843b0172eb360b852f | 106 | py | Python | info/modules/news/__init__.py | catplane/guguji | 9cb240ea2315c358bc6aa687f14f7f10f8d781ef | [
"MIT"
] | 1 | 2018-12-29T02:49:56.000Z | 2018-12-29T02:49:56.000Z | info/modules/news/__init__.py | catplane/guguji | 9cb240ea2315c358bc6aa687f14f7f10f8d781ef | [
"MIT"
] | null | null | null | info/modules/news/__init__.py | catplane/guguji | 9cb240ea2315c358bc6aa687f14f7f10f8d781ef | [
"MIT"
] | null | null | null | from flask import Blueprint
news_bp = Blueprint("news", __name__, url_prefix='/news')
from . import views
| 26.5 | 57 | 0.764151 | 15 | 106 | 5 | 0.666667 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 3 | 58 | 35.333333 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
77956fe125ed45ae37361925d8f51cf32848a812 | 12,015 | py | Python | django_badbrowser/tests.py | mdineen/django-badbrowser | 1f5ccff6fb9d3f377dd2a98664274ead5a873ec1 | [
"MIT"
] | 1 | 2018-09-11T14:15:04.000Z | 2018-09-11T14:15:04.000Z | django_badbrowser/tests.py | thepug/django-badbrowser | 894e226fc9dfcb9c71d9a8f11579a9d0159a2dce | [
"MIT"
] | null | null | null | django_badbrowser/tests.py | thepug/django-badbrowser | 894e226fc9dfcb9c71d9a8f11579a9d0159a2dce | [
"MIT"
] | null | null | null | import os
from django.test import TestCase
from django.conf import settings
from django.http import HttpRequest
from django.test.client import Client
from django.core.urlresolvers import reverse
from django_badbrowser import check_user_agent
from django_badbrowser.middleware import BrowserSupportDetection
class Brow... | 43.219424 | 159 | 0.648107 | 1,601 | 12,015 | 4.637726 | 0.091818 | 0.113939 | 0.045253 | 0.055758 | 0.882559 | 0.863704 | 0.83569 | 0.803367 | 0.79771 | 0.797037 | 0 | 0.057496 | 0.21831 | 12,015 | 277 | 160 | 43.375451 | 0.733071 | 0.014399 | 0 | 0.60452 | 0 | 0.084746 | 0.265475 | 0.012533 | 0 | 0 | 0 | 0 | 0.225989 | 1 | 0.186441 | false | 0 | 0.045198 | 0 | 0.259887 | 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 |
77ab7b656687a0c72639fe999a3e42d9a076a082 | 8,548 | py | Python | plans/04-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | null | null | null | plans/04-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | 30 | 2017-05-18T19:11:24.000Z | 2021-06-23T16:59:26.000Z | plans/04-plan.py | mrakitin/profile_collection-six | 20e41632b9898ac83a8e60fcca9b8aeaaa91f0ad | [
"BSD-3-Clause"
] | 3 | 2018-01-10T17:16:47.000Z | 2020-03-12T14:51:36.000Z | def m1_align_fine_temp():
m1x_init=0.46
m1pit_init=1980
m1pit_start=1850
m1pit_step=50
for i in range(0,6):
yield from mv(m1.pit,m1pit_start+i*m1pit_step)
yield from scan([qem05],m1.x,-3.5,3.5,36)
yield from mv(m1.x,-3.5)
yield from mv(m1.pit,m1pit_start)
def alignM3x_... | 31.895522 | 101 | 0.609616 | 1,647 | 8,548 | 3.044323 | 0.102611 | 0.271041 | 0.201835 | 0.134623 | 0.820303 | 0.747308 | 0.727164 | 0.687874 | 0.671719 | 0.655764 | 0 | 0.132307 | 0.247543 | 8,548 | 267 | 102 | 32.014981 | 0.647233 | 0.209289 | 0 | 0.548387 | 0 | 0 | 0.003881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053763 | false | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77d6b05580785cb07e062f6a0a5cae24211846dd | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/socks.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/socks.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/socks.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/0d/c4/63/336974ad0308ca162b37aafeb6756463a6530f11c994cf3fbac0241820 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 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 |
77f0ced9c0808770c6cb9c48768dd81a66f5f382 | 49 | py | Python | hw4/__init__.py | Xanonymous-GitHub/data-structure | 96f9d09bacd986dcfd40fd0b16e179a5da96f888 | [
"MIT"
] | null | null | null | hw4/__init__.py | Xanonymous-GitHub/data-structure | 96f9d09bacd986dcfd40fd0b16e179a5da96f888 | [
"MIT"
] | null | null | null | hw4/__init__.py | Xanonymous-GitHub/data-structure | 96f9d09bacd986dcfd40fd0b16e179a5da96f888 | [
"MIT"
] | null | null | null | from .hw4 import run
from .tree_node import Node
| 16.333333 | 27 | 0.795918 | 9 | 49 | 4.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.163265 | 49 | 2 | 28 | 24.5 | 0.902439 | 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 |
7ad3d6a53b26652545f5537350bde9942caf8f4a | 3,809 | py | Python | tcrdist/tests/test_automatic.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 26 | 2020-12-28T17:37:01.000Z | 2022-01-29T01:31:13.000Z | tcrdist/tests/test_automatic.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 31 | 2020-08-17T22:17:57.000Z | 2022-03-18T23:47:34.000Z | tcrdist/tests/test_automatic.py | agartland/tcrdist3 | 34f8d50e7448b2bf7cf7cd9ab9a2d80759f47240 | [
"MIT"
] | 7 | 2020-08-18T23:55:40.000Z | 2021-09-22T18:15:54.000Z | import pytest
import pandas as pd
import numpy as np
import os
def test__default_tcrsampler_human_beta():
from tcrdist.automate import _default_tcrsampler_human_beta
from tcrsampler.sampler import TCRsampler
r = _default_tcrsampler_human_beta()
assert isinstance(r, TCRsampler)
def test__default_tcrsam... | 34.627273 | 67 | 0.686269 | 506 | 3,809 | 4.859684 | 0.128459 | 0.055307 | 0.040667 | 0.091501 | 0.901179 | 0.865392 | 0.865392 | 0.781619 | 0.781619 | 0.583571 | 0 | 0.008116 | 0.223681 | 3,809 | 109 | 68 | 34.944954 | 0.82347 | 0.026254 | 0 | 0.662651 | 0 | 0 | 0.076733 | 0.036996 | 0 | 0 | 0 | 0 | 0.13253 | 1 | 0.108434 | false | 0 | 0.325301 | 0 | 0.433735 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7ade28e5f5ad60a66924993f80c0ad7ebafc853d | 31 | py | Python | spider/core/__init__.py | destino74/jipin | 23f5f8b2a3ba9c9cbc413e2710962855ce35e9ef | [
"MIT"
] | null | null | null | spider/core/__init__.py | destino74/jipin | 23f5f8b2a3ba9c9cbc413e2710962855ce35e9ef | [
"MIT"
] | 3 | 2017-12-20T06:47:47.000Z | 2021-12-13T19:46:54.000Z | spider/core/__init__.py | destino74/jipin | 23f5f8b2a3ba9c9cbc413e2710962855ce35e9ef | [
"MIT"
] | null | null | null | from spider import BasicSpider
| 15.5 | 30 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
bb03978be6b6513d5402d193f971a560b71150c6 | 7,971 | py | Python | CrossLanguageOPMining-bert-3languageTrain-PGNAdapter/driver/Model.py | zenRRan/Chinese-ORL-with-Corpus-Translation | cf0e3db1c03c8f13f48ccd5ea1343d56e5513299 | [
"Apache-2.0"
] | 1 | 2021-09-09T02:38:19.000Z | 2021-09-09T02:38:19.000Z | CrossLanguageOPMining-bert-3languageTrain-PGNAdapter/driver/Model.py | zenRRan/Chinese-ORL-with-Corpus-Translation | cf0e3db1c03c8f13f48ccd5ea1343d56e5513299 | [
"Apache-2.0"
] | null | null | null | CrossLanguageOPMining-bert-3languageTrain-PGNAdapter/driver/Model.py | zenRRan/Chinese-ORL-with-Corpus-Translation | cf0e3db1c03c8f13f48ccd5ea1343d56e5513299 | [
"Apache-2.0"
] | 1 | 2021-09-09T02:38:20.000Z | 2021-09-09T02:38:20.000Z | from driver.Layer import *
from driver.Attention import *
from driver.CRF import *
from data.Vocab import *
class BiLSTMModel(nn.Module):
""" Constructs the network and builds the following Theano functions:
- pred_function: Takes input and mask, returns prediction.
- loss_function: Takes input, ma... | 41.732984 | 121 | 0.661648 | 1,057 | 7,971 | 4.753075 | 0.148534 | 0.035032 | 0.02508 | 0.028662 | 0.849124 | 0.849124 | 0.844148 | 0.844148 | 0.844148 | 0.844148 | 0 | 0.011232 | 0.229331 | 7,971 | 190 | 122 | 41.952632 | 0.806609 | 0.225442 | 0 | 0.581818 | 0 | 0 | 0.012854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109091 | false | 0 | 0.036364 | 0 | 0.218182 | 0.036364 | 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 |
bb4464acfce7bc611f1663094e2199c2bdc8acbc | 10,983 | py | Python | backend/src/models/Shipment.py | ahmedsalahacc/Inventory-Management-System | 192160548bc538a334f7a35041c77013d759e473 | [
"MIT"
] | null | null | null | backend/src/models/Shipment.py | ahmedsalahacc/Inventory-Management-System | 192160548bc538a334f7a35041c77013d759e473 | [
"MIT"
] | null | null | null | backend/src/models/Shipment.py | ahmedsalahacc/Inventory-Management-System | 192160548bc538a334f7a35041c77013d759e473 | [
"MIT"
] | null | null | null | from models import BaseModel, gen_id
class _ShipmentDetailsModel(BaseModel):
'''
ORM for shipment_details table with the following structure
shipment_details(
id CHARACTER(10) NOT NULL PRIMARY KEY,
shipped_from TEXT NOT NULL,
shipped_to TEXT NOT NULL,
expected_shipping_dat... | 25.601399 | 79 | 0.54557 | 1,099 | 10,983 | 5.279345 | 0.11465 | 0.105998 | 0.026543 | 0.04171 | 0.826439 | 0.80524 | 0.788866 | 0.709755 | 0.669941 | 0.639607 | 0 | 0.001447 | 0.370573 | 10,983 | 428 | 80 | 25.661215 | 0.837842 | 0.328235 | 0 | 0.722543 | 0 | 0 | 0.427361 | 0.088641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075145 | false | 0 | 0.00578 | 0 | 0.127168 | 0.011561 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2472000ea14c8d34b10d0808e9836633b741cbdd | 46 | py | Python | wSerializer/__init__.py | 31ayush05/wSerializer | 2d9cf5c52bccf7840ef7ba557ffe337b6cedc97d | [
"MIT"
] | 2 | 2021-02-23T00:24:04.000Z | 2021-03-01T08:08:59.000Z | wSerializer/__init__.py | 31ayush05/wSerializer | 2d9cf5c52bccf7840ef7ba557ffe337b6cedc97d | [
"MIT"
] | null | null | null | wSerializer/__init__.py | 31ayush05/wSerializer | 2d9cf5c52bccf7840ef7ba557ffe337b6cedc97d | [
"MIT"
] | null | null | null | from wSerializer.wSerializer import dataBlock
| 23 | 45 | 0.891304 | 5 | 46 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.97619 | 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 |
247503e6cc821f85353fdb10d7b77dd3d4f2f452 | 23 | py | Python | lispy/lex/__init__.py | jRimbault/lispy | f7a88146923b19722b3ab1085cdc35ffcbcf42e0 | [
"MIT"
] | 2 | 2020-05-28T02:25:30.000Z | 2021-02-11T11:55:44.000Z | lispy/lex/__init__.py | jRimbault/lispy | f7a88146923b19722b3ab1085cdc35ffcbcf42e0 | [
"MIT"
] | null | null | null | lispy/lex/__init__.py | jRimbault/lispy | f7a88146923b19722b3ab1085cdc35ffcbcf42e0 | [
"MIT"
] | null | null | null | from .lex import lexer
| 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 |
24767bf9861c811cf0f58ec7fd7a4bbcec56ed28 | 155 | py | Python | intake_dynamodb/__init__.py | danielballan/intake-dynamodb | 426e016386e3d7e92dcbf8c551c38ce05afef4a9 | [
"BSD-2-Clause"
] | 1 | 2021-07-07T14:25:00.000Z | 2021-07-07T14:25:00.000Z | intake_dynamodb/__init__.py | danielballan/intake-dynamodb | 426e016386e3d7e92dcbf8c551c38ce05afef4a9 | [
"BSD-2-Clause"
] | 1 | 2020-02-05T15:55:32.000Z | 2020-02-25T15:03:15.000Z | intake_dynamodb/__init__.py | danielballan/intake-dynamodb | 426e016386e3d7e92dcbf8c551c38ce05afef4a9 | [
"BSD-2-Clause"
] | 2 | 2020-02-05T15:51:36.000Z | 2021-04-10T23:57:11.000Z | from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from .dynamodb import DynamoDBSource
import intake.container
| 19.375 | 39 | 0.825806 | 19 | 155 | 6.315789 | 0.526316 | 0.275 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109677 | 155 | 7 | 40 | 22.142857 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.045161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 |
24fbb49c5229da865673138b1b2a4c44d526eb03 | 27 | py | Python | src/euler_python_package/euler_python/medium/p360.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p360.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p360.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem360():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
70126671a10a5cdd10e46caeaa3233f3b5379d4c | 28 | py | Python | test/__init__.py | francispotter/busy-mirror | f3ec815b1c2cfc20efc9569eacb01cea1483611a | [
"MIT"
] | null | null | null | test/__init__.py | francispotter/busy-mirror | f3ec815b1c2cfc20efc9569eacb01cea1483611a | [
"MIT"
] | null | null | null | test/__init__.py | francispotter/busy-mirror | f3ec815b1c2cfc20efc9569eacb01cea1483611a | [
"MIT"
] | null | null | null | def foo():
print("Foo")
| 9.333333 | 16 | 0.5 | 4 | 28 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 17 | 14 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7022cd2f774650e0c45e222232e4fbf373de8115 | 101 | py | Python | robosuite-extra/robosuite_extra/models/tasks/__init__.py | eugval/sim2real_dynamics_simulation | 2ed175803faa38792f6becc2dc91f44ae71ed9c2 | [
"MIT"
] | 16 | 2020-07-28T14:35:44.000Z | 2021-11-28T01:50:51.000Z | robosuite-extra/robosuite_extra/models/tasks/__init__.py | eugval/sim2real_dynamics_simulation | 2ed175803faa38792f6becc2dc91f44ae71ed9c2 | [
"MIT"
] | 1 | 2020-11-26T07:58:30.000Z | 2020-12-01T04:40:28.000Z | robosuite-extra/robosuite_extra/models/tasks/__init__.py | eugval/sim2real_dynamics_simulation | 2ed175803faa38792f6becc2dc91f44ae71ed9c2 | [
"MIT"
] | 2 | 2020-10-18T01:38:49.000Z | 2021-12-31T10:56:41.000Z | from .placement_sampler import ObjectPositionSampler, UniformRandomSampler, UniformSelectiveSampler
| 33.666667 | 99 | 0.90099 | 7 | 101 | 12.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 2 | 100 | 50.5 | 0.957447 | 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 |
7036084269b424a8fac414a978648e3654d02bc6 | 39 | py | Python | chapter4/4_5_3.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | null | null | null | chapter4/4_5_3.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | 1 | 2018-01-05T15:48:33.000Z | 2018-01-05T15:54:22.000Z | chapter4/4_5_3.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | 2 | 2019-02-12T01:35:20.000Z | 2019-03-24T03:00:51.000Z | import bayes
print(bayes.testingNB())
| 9.75 | 24 | 0.769231 | 5 | 39 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 3 | 25 | 13 | 0.857143 | 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 |
706614595bb5ca6fd86bf02c490af827f153f3fa | 57 | py | Python | service_catalog/forms/__init__.py | a-belhadj/squest | 8714fefc332ab1ab349508488455f4a1f2ab8a82 | [
"Apache-2.0"
] | null | null | null | service_catalog/forms/__init__.py | a-belhadj/squest | 8714fefc332ab1ab349508488455f4a1f2ab8a82 | [
"Apache-2.0"
] | null | null | null | service_catalog/forms/__init__.py | a-belhadj/squest | 8714fefc332ab1ab349508488455f4a1f2ab8a82 | [
"Apache-2.0"
] | null | null | null | from .admin_forms import *
from .customer_forms import *
| 19 | 29 | 0.789474 | 8 | 57 | 5.375 | 0.625 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 2 | 30 | 28.5 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
70836a5156847eb44f2073ed13ae8e919ee63077 | 8,740 | py | Python | Supervised Learning/SMAI HWS/20/1.py | shailymishra/Machine-Learning-Advanced | 048e7c816f8c673c7b73ffb7555ebdfee6f0dc5b | [
"MIT"
] | null | null | null | Supervised Learning/SMAI HWS/20/1.py | shailymishra/Machine-Learning-Advanced | 048e7c816f8c673c7b73ffb7555ebdfee6f0dc5b | [
"MIT"
] | null | null | null | Supervised Learning/SMAI HWS/20/1.py | shailymishra/Machine-Learning-Advanced | 048e7c816f8c673c7b73ffb7555ebdfee6f0dc5b | [
"MIT"
] | null | null | null | # Import packages
import numpy as np
import torch
import torchvision
import matplotlib.pyplot as plt
from time import time
from torchvision import datasets, transforms
# Define a transform to normalize the data
transform = transforms.Compose([transforms.ToTensor(),
transforms.Normalize(... | 31.666667 | 109 | 0.614645 | 1,058 | 8,740 | 4.97259 | 0.151229 | 0.041817 | 0.015396 | 0.021289 | 0.786542 | 0.774568 | 0.763163 | 0.763163 | 0.763163 | 0.763163 | 0 | 0.026977 | 0.25778 | 8,740 | 275 | 110 | 31.781818 | 0.78403 | 0.120595 | 0 | 0.731844 | 0 | 0 | 0.061727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011173 | false | 0 | 0.044693 | 0 | 0.061453 | 0.067039 | 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 |
56913a5d80816fc5542568f792b72a6c2fd2c57c | 975 | py | Python | src/neuralnetsim/__init__.py | Nathaniel-Rodriguez/neuralnetsim | c353af92fb3f44539370220963b07bdfd9822149 | [
"MIT"
] | null | null | null | src/neuralnetsim/__init__.py | Nathaniel-Rodriguez/neuralnetsim | c353af92fb3f44539370220963b07bdfd9822149 | [
"MIT"
] | null | null | null | src/neuralnetsim/__init__.py | Nathaniel-Rodriguez/neuralnetsim | c353af92fb3f44539370220963b07bdfd9822149 | [
"MIT"
] | null | null | null | from neuralnetsim.coincidence_factor import *
from neuralnetsim.sliceops import *
from neuralnetsim.data_loader import *
from neuralnetsim.data_management import *
from neuralnetsim.dynamical_analysis import *
from neuralnetsim.translators import *
from neuralnetsim.parameters import *
from neuralnetsim.network_preproc... | 37.5 | 48 | 0.846154 | 113 | 975 | 7.185841 | 0.274336 | 0.492611 | 0.650246 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 975 | 25 | 49 | 39 | 0.928 | 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 | 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 |
3b12cdaf392e77176ff54bb4b29fb83d614a4578 | 109 | py | Python | spit/defs.py | PYPIT/spit | 77f0687c9aeae11ad56f0c5ac2a2b2ad21eed7fb | [
"BSD-3-Clause"
] | 2 | 2018-09-25T17:06:31.000Z | 2019-07-02T18:28:55.000Z | spit/defs.py | PYPIT/spit | 77f0687c9aeae11ad56f0c5ac2a2b2ad21eed7fb | [
"BSD-3-Clause"
] | 6 | 2018-02-03T15:02:04.000Z | 2018-07-11T19:01:58.000Z | spit/defs.py | PYPIT/auto_type | 77f0687c9aeae11ad56f0c5ac2a2b2ad21eed7fb | [
"BSD-3-Clause"
] | 2 | 2018-09-25T17:06:35.000Z | 2019-07-02T18:10:11.000Z | # Definitions for SPIT
from __future__ import print_function, absolute_import, division, unicode_literals
| 18.166667 | 82 | 0.834862 | 13 | 109 | 6.461538 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 109 | 5 | 83 | 21.8 | 0.884211 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3b1a572a4a5335c383bfbf9e4fa85f3553d8f360 | 16,039 | py | Python | src/bos_consensus/blockchain/test_multiple_ballot.py | LuffyEMonkey/isaac-consensus-protocol | 806d967d56ef8862a477b2515c7854af289c10a0 | [
"Apache-2.0"
] | 1 | 2018-04-10T11:00:59.000Z | 2018-04-10T11:00:59.000Z | src/bos_consensus/blockchain/test_multiple_ballot.py | LuffyEMonkey/isaac-consensus-protocol | 806d967d56ef8862a477b2515c7854af289c10a0 | [
"Apache-2.0"
] | null | null | null | src/bos_consensus/blockchain/test_multiple_ballot.py | LuffyEMonkey/isaac-consensus-protocol | 806d967d56ef8862a477b2515c7854af289c10a0 | [
"Apache-2.0"
] | null | null | null | import copy
from ..common import Ballot, BallotVotingResult, Message, node_factory
from ..network import Endpoint
from ..blockchain import Blockchain
from ..consensus import get_fba_module
from ..consensus.fba.isaac import IsaacState
from .util import StubTransport
IsaacConsensus = get_fba_module('isaac').IsaacConse... | 33.070103 | 119 | 0.723736 | 2,164 | 16,039 | 5.054529 | 0.046211 | 0.129457 | 0.17718 | 0.132748 | 0.886085 | 0.859481 | 0.821631 | 0.774182 | 0.761931 | 0.690803 | 0 | 0.067937 | 0.188727 | 16,039 | 484 | 120 | 33.13843 | 0.772671 | 0.045826 | 0 | 0.672316 | 0 | 0 | 0.034887 | 0 | 0 | 0 | 0 | 0 | 0.09887 | 1 | 0.014124 | false | 0 | 0.019774 | 0 | 0.036723 | 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 |
3b42a7fd572e1c8f7b9e250b96b2ae30a6271579 | 81 | py | Python | rhgapi/rhgmodel/__init__.py | summershrimp/AsuriRobot | 73ab9b8604b71094caa5a1876ab9149d7a5709c1 | [
"MIT"
] | null | null | null | rhgapi/rhgmodel/__init__.py | summershrimp/AsuriRobot | 73ab9b8604b71094caa5a1876ab9149d7a5709c1 | [
"MIT"
] | null | null | null | rhgapi/rhgmodel/__init__.py | summershrimp/AsuriRobot | 73ab9b8604b71094caa5a1876ab9149d7a5709c1 | [
"MIT"
] | 1 | 2021-09-25T07:44:07.000Z | 2021-09-25T07:44:07.000Z | from payload import *
from question import *
from exception import *
import const | 20.25 | 23 | 0.802469 | 11 | 81 | 5.909091 | 0.545455 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 4 | 24 | 20.25 | 0.955882 | 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 |
3b49262b0fb665f1eeebe6f19f0dcbd6c90e6f14 | 67 | py | Python | ch_python/hello_user.py | yehnan/rpi_book_yehnan | fbafcfce076677da441d65a3cf3b0073d65f77cc | [
"MIT"
] | 3 | 2015-12-22T14:27:43.000Z | 2021-03-13T01:24:18.000Z | ch_python/hello_user.py | KingBing/rpi_book_yehnan | fbafcfce076677da441d65a3cf3b0073d65f77cc | [
"MIT"
] | null | null | null | ch_python/hello_user.py | KingBing/rpi_book_yehnan | fbafcfce076677da441d65a3cf3b0073d65f77cc | [
"MIT"
] | 2 | 2015-10-31T16:59:53.000Z | 2018-01-23T09:36:25.000Z | #!/usr/bin/env python
import hello_module
hello_module.hello(2)
| 9.571429 | 21 | 0.761194 | 11 | 67 | 4.454545 | 0.727273 | 0.44898 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.119403 | 67 | 6 | 22 | 11.166667 | 0.813559 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
8e66dd9de0302fa8550cd755664fd1e38dc2828a | 179 | py | Python | net/__init__.py | SongJaeYun/AM3-MAML | 858b315aed9dd6f65025bf0ae643736bf0033e62 | [
"MIT"
] | 4 | 2020-11-24T01:23:36.000Z | 2022-03-11T09:08:03.000Z | net/__init__.py | SongJaeYun/AM3-MAML | 858b315aed9dd6f65025bf0ae643736bf0033e62 | [
"MIT"
] | null | null | null | net/__init__.py | SongJaeYun/AM3-MAML | 858b315aed9dd6f65025bf0ae643736bf0033e62 | [
"MIT"
] | null | null | null | from .convnet import ConvNet
# from .proto_convnet import ProtoConvNet
# from .resnet import ResNet
# from .proto_resnet import ProtoResNet
# from .film_convnet import FiLMConvNet | 35.8 | 41 | 0.821229 | 23 | 179 | 6.26087 | 0.391304 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128492 | 179 | 5 | 42 | 35.8 | 0.923077 | 0.793296 | 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 |
8e74a5b2d592428e74f7f150533e76a04cefaa7e | 48 | py | Python | test.py | begeistert/pokit | a8acd62090d0c9f3ed8dc0a26b4ab5dd41e2f158 | [
"MIT"
] | null | null | null | test.py | begeistert/pokit | a8acd62090d0c9f3ed8dc0a26b4ab5dd41e2f158 | [
"MIT"
] | null | null | null | test.py | begeistert/pokit | a8acd62090d0c9f3ed8dc0a26b4ab5dd41e2f158 | [
"MIT"
] | null | null | null | import pokit as pok
print(pok.connectDevice())
| 12 | 26 | 0.770833 | 7 | 48 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 27 | 16 | 0.880952 | 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 |
d931e861d828ad2d991d5084fb2932eb213e1437 | 37 | py | Python | pracadomowa1.py | JanaJanczylik/python_wprowadzenie_warsztaty_2021 | 4a8facd7fe4a5a1214647512d3c5f3b2bbc39b9a | [
"MIT"
] | 1 | 2021-11-12T10:17:02.000Z | 2021-11-12T10:17:02.000Z | pracadomowa1.py | JanaJanczylik/python_wprowadzenie_warsztaty_2021 | 4a8facd7fe4a5a1214647512d3c5f3b2bbc39b9a | [
"MIT"
] | 3 | 2021-11-07T12:27:46.000Z | 2021-12-11T18:20:58.000Z | pracadomowa1.py | JanaJanczylik/python_wprowadzenie_warsztaty_2021 | 4a8facd7fe4a5a1214647512d3c5f3b2bbc39b9a | [
"MIT"
] | 23 | 2021-11-07T12:16:58.000Z | 2021-11-26T21:03:29.000Z | A, B = 5, 10
A, B = B, A
print(A, B)
| 9.25 | 12 | 0.432432 | 11 | 37 | 1.454545 | 0.454545 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.324324 | 37 | 3 | 13 | 12.333333 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d95318a56ed2246545e64caff9f9f6705cba27aa | 44 | py | Python | src/tevatron/faiss_retriever/__init__.py | vjeronymo2/tevatron | 7235b0823b5c3cdf1c8ce8f67cb5f1209218086a | [
"Apache-2.0"
] | 95 | 2021-09-16T00:35:17.000Z | 2022-03-31T04:59:05.000Z | src/tevatron/faiss_retriever/__init__.py | vjeronymo2/tevatron | 7235b0823b5c3cdf1c8ce8f67cb5f1209218086a | [
"Apache-2.0"
] | 16 | 2021-10-05T12:29:33.000Z | 2022-03-31T17:59:20.000Z | src/tevatron/faiss_retriever/__init__.py | vjeronymo2/tevatron | 7235b0823b5c3cdf1c8ce8f67cb5f1209218086a | [
"Apache-2.0"
] | 15 | 2021-09-19T02:20:03.000Z | 2022-03-10T03:00:23.000Z | from .retriever import BaseFaissIPRetriever
| 22 | 43 | 0.886364 | 4 | 44 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.975 | 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 |
d977f5111da93cc25633baf533bd9f72f1fc9dfb | 52 | py | Python | server/tests/test_handlers.py | c-jordi/pdf2data | daa9f8b58e6603063b411ba7fba89054c924c5bc | [
"MIT"
] | null | null | null | server/tests/test_handlers.py | c-jordi/pdf2data | daa9f8b58e6603063b411ba7fba89054c924c5bc | [
"MIT"
] | 1 | 2022-01-09T12:06:40.000Z | 2022-01-09T12:06:40.000Z | server/tests/test_handlers.py | c-jordi/pdf2data | daa9f8b58e6603063b411ba7fba89054c924c5bc | [
"MIT"
] | null | null | null | import pytest
def test_upload():
assert(True)
| 8.666667 | 18 | 0.692308 | 7 | 52 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 5 | 19 | 10.4 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79439fd10a687de8f9739a63bb86e71c000f5a9b | 147 | py | Python | tests/expected/string_encoding.py | OctoPrint/codemods | 6c6cd4bd689582f906571951b0eb7729c4923b51 | [
"MIT"
] | 5 | 2020-10-06T12:02:23.000Z | 2021-04-26T00:31:55.000Z | tests/expected/string_encoding.py | OctoPrint/codemods | 6c6cd4bd689582f906571951b0eb7729c4923b51 | [
"MIT"
] | null | null | null | tests/expected/string_encoding.py | OctoPrint/codemods | 6c6cd4bd689582f906571951b0eb7729c4923b51 | [
"MIT"
] | 1 | 2020-10-10T17:18:39.000Z | 2020-10-10T17:18:39.000Z | temp_regex = rb"T:((\d*\.)\d+)"
temp_regex = rb"T:((\d*\.)\d+)"
"äöüß".encode()
"äöüß".encode()
b"Hello World"
b"Hello World"
b"Hello World"
| 10.5 | 31 | 0.564626 | 25 | 147 | 3.24 | 0.4 | 0.222222 | 0.407407 | 0.296296 | 0.753086 | 0.753086 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 13 | 32 | 11.307692 | 0.637795 | 0 | 0 | 1 | 0 | 0 | 0.469388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79db0e5513ba3dc7b3995451bee07b0fa9243b36 | 30 | py | Python | test/end_to_end/__init__.py | KnowledgeCaptureAndDiscovery/sosen | 5a3efb67cb8de04e85dc47a041693d3e671d4ca6 | [
"Apache-2.0"
] | 4 | 2020-06-13T15:40:20.000Z | 2020-09-21T02:09:29.000Z | test/end_to_end/__init__.py | KnowledgeCaptureAndDiscovery/sosen | 5a3efb67cb8de04e85dc47a041693d3e671d4ca6 | [
"Apache-2.0"
] | 18 | 2020-06-23T00:00:14.000Z | 2021-07-07T10:43:27.000Z | test/end_to_end/__init__.py | KnowledgeCaptureAndDiscovery/sosen | 5a3efb67cb8de04e85dc47a041693d3e671d4ca6 | [
"Apache-2.0"
] | null | null | null | from .test_end_to_end import * | 30 | 30 | 0.833333 | 6 | 30 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.814815 | 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 |
8db554a9a39753bd097e39c7e97715c3be553f9d | 133 | py | Python | videoprocess/views.py | 23subbhashit/Industry-4.0 | 24a159cc1dbfd155a8ac3cb7a226b7a7c1f37622 | [
"MIT"
] | null | null | null | videoprocess/views.py | 23subbhashit/Industry-4.0 | 24a159cc1dbfd155a8ac3cb7a226b7a7c1f37622 | [
"MIT"
] | null | null | null | videoprocess/views.py | 23subbhashit/Industry-4.0 | 24a159cc1dbfd155a8ac3cb7a226b7a7c1f37622 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def form(request):
return render(request,'videoprocess/main.html') | 26.6 | 51 | 0.774436 | 18 | 133 | 5.722222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 133 | 5 | 51 | 26.6 | 0.887931 | 0.172932 | 0 | 0 | 0 | 0 | 0.201835 | 0.201835 | 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 |
30b26bf969f712d5787e4d872e4884eb480ea905 | 112 | py | Python | scipy/fft/_pocketfft/__init__.py | eugenhu/scipy | 807e455c3d82b775b07fcc16e177f7407cac07d0 | [
"BSD-3-Clause"
] | null | null | null | scipy/fft/_pocketfft/__init__.py | eugenhu/scipy | 807e455c3d82b775b07fcc16e177f7407cac07d0 | [
"BSD-3-Clause"
] | null | null | null | scipy/fft/_pocketfft/__init__.py | eugenhu/scipy | 807e455c3d82b775b07fcc16e177f7407cac07d0 | [
"BSD-3-Clause"
] | null | null | null | """ FFT backend using pypocketfft """
from .basic import *
from .realtransforms import *
from .helper import *
| 18.666667 | 37 | 0.723214 | 13 | 112 | 6.230769 | 0.692308 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 112 | 5 | 38 | 22.4 | 0.870968 | 0.258929 | 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 |
30da5ee1820a6d6da83b25d5c635a4cdd3a192c7 | 9,323 | py | Python | pyct/tests/test_cmd.py | sdelafond/pyct | eb731e8f23242ae37fafc275559cac9f573640a5 | [
"BSD-3-Clause"
] | 3 | 2019-07-26T10:40:25.000Z | 2020-09-18T04:29:13.000Z | pyct/tests/test_cmd.py | sdelafond/pyct | eb731e8f23242ae37fafc275559cac9f573640a5 | [
"BSD-3-Clause"
] | 66 | 2018-03-09T13:23:19.000Z | 2019-03-04T08:21:19.000Z | pyct/tests/test_cmd.py | sdelafond/pyct | eb731e8f23242ae37fafc275559cac9f573640a5 | [
"BSD-3-Clause"
] | 3 | 2020-01-09T07:13:45.000Z | 2020-07-16T09:35:23.000Z | import os
import pytest
import pyct.cmd
from pyct.cmd import fetch_data, clean_data, copy_examples, examples
# Same as in pyct/examples/datasets.yml
DATASETS_CONTENT = u"""
data:
- url: this_should_never_be_used
title: 'Test Data'
files:
- test_data.csv
"""
# Same as in pyct/examples/data/.data_stubs/... | 40.534783 | 109 | 0.717044 | 1,269 | 9,323 | 4.907801 | 0.104019 | 0.139692 | 0.12203 | 0.092325 | 0.824823 | 0.760758 | 0.756262 | 0.714676 | 0.708414 | 0.658638 | 0 | 0.004539 | 0.149201 | 9,323 | 229 | 110 | 40.71179 | 0.780635 | 0.024134 | 0 | 0.609137 | 0 | 0 | 0.238829 | 0.038411 | 0 | 0 | 0 | 0 | 0.162437 | 1 | 0.106599 | false | 0 | 0.020305 | 0.005076 | 0.15736 | 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 |
a507b75207796e5d46120cb5931c750de3af7746 | 150 | py | Python | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Flight_Dynamics/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Flight_Dynamics/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Flight_Dynamics/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | ## @defgroup Methods-Flight_Dynamics Flight_Dynamics
# Description
# @ingroup Methods
from . import Static_Stability
from . import Dynamic_Stability
| 21.428571 | 52 | 0.82 | 17 | 150 | 7 | 0.647059 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 150 | 6 | 53 | 25 | 0.901515 | 0.52 | 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 |
ebb643b068d52dc0c17d1e8c5f9af8777e6f6109 | 555 | py | Python | raqm/cpn.py | nunenuh/raqm | 697651b6487e1d6b73d7a88b9de4e8f3bccd518d | [
"Apache-2.0"
] | null | null | null | raqm/cpn.py | nunenuh/raqm | 697651b6487e1d6b73d7a88b9de4e8f3bccd518d | [
"Apache-2.0"
] | null | null | null | raqm/cpn.py | nunenuh/raqm | 697651b6487e1d6b73d7a88b9de4e8f3bccd518d | [
"Apache-2.0"
] | null | null | null | #
# centered polygonal number
#
import math
def polygonal(n, k):
'''
formulation reference https://en.wikipedia.org/wiki/Centered_polygonal_number
'''
return int((k*n/2 * (n - 1)) + 1)
def triangular(n):
return polygonal(n, k=3)
def square(n):
return polygonal(n, k=4)
def pentagonal(... | 16.818182 | 81 | 0.625225 | 83 | 555 | 4.156627 | 0.385542 | 0.231884 | 0.255072 | 0.344928 | 0.371014 | 0.110145 | 0 | 0 | 0 | 0 | 0 | 0.023419 | 0.230631 | 555 | 32 | 82 | 17.34375 | 0.784543 | 0.189189 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0 | 0.058824 | 0.411765 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ebcf6ea697775a0c94a76ce4c092ff2b28c1d457 | 242 | py | Python | tbx/project_styleguide/templatetags/wagtailcore_tags.py | elviva404/wagtail-torchbox | 718d9e2c4337073f010296932d369c726a01dbd3 | [
"MIT"
] | 103 | 2015-02-24T17:58:21.000Z | 2022-03-23T08:08:58.000Z | tbx/project_styleguide/templatetags/wagtailcore_tags.py | elviva404/wagtail-torchbox | 718d9e2c4337073f010296932d369c726a01dbd3 | [
"MIT"
] | 145 | 2015-01-13T17:13:43.000Z | 2022-03-29T12:56:20.000Z | tbx/project_styleguide/templatetags/wagtailcore_tags.py | elviva404/wagtail-torchbox | 718d9e2c4337073f010296932d369c726a01dbd3 | [
"MIT"
] | 57 | 2015-01-03T12:00:37.000Z | 2022-02-09T13:11:30.000Z | from pattern_library.monkey_utils import override_tag
from wagtail.core.templatetags.wagtailcore_tags import register
override_tag(register, name="include_block")
override_tag(register, name="pageurl")
override_tag(register, name="slugurl")
| 34.571429 | 63 | 0.847107 | 32 | 242 | 6.15625 | 0.59375 | 0.22335 | 0.28934 | 0.350254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061983 | 242 | 6 | 64 | 40.333333 | 0.867841 | 0 | 0 | 0 | 0 | 0 | 0.11157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
6912206e88928a41b5be3a7a7919ee3a110b8fbc | 139 | py | Python | django-mollie/payments/settings.py | elkarrde/django-mollie-api | 8b643dc55c870faf68890ddd3e85fcc50bbf94ce | [
"BSD-3-Clause"
] | null | null | null | django-mollie/payments/settings.py | elkarrde/django-mollie-api | 8b643dc55c870faf68890ddd3e85fcc50bbf94ce | [
"BSD-3-Clause"
] | null | null | null | django-mollie/payments/settings.py | elkarrde/django-mollie-api | 8b643dc55c870faf68890ddd3e85fcc50bbf94ce | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*
import os
from django.conf import settings
FDA_MOLLIE_API_KEY = os.environ.get('FDA_MOLLIE_API_KEY', 'test_test')
| 19.857143 | 70 | 0.741007 | 23 | 139 | 4.173913 | 0.695652 | 0.1875 | 0.25 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.122302 | 139 | 6 | 71 | 23.166667 | 0.778689 | 0.143885 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6923e25861977e7581b66484487fd1c1046b09c2 | 42 | py | Python | website/addons/s3/views/__init__.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | website/addons/s3/views/__init__.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | 13 | 2020-03-24T15:29:41.000Z | 2022-03-11T23:15:28.000Z | website/addons/s3/views/__init__.py | lbanner/osf.io | 1898ef0ff8bd91713e94c60e7463b5f81ac62caa | [
"Apache-2.0"
] | null | null | null | from . import config, crud, hgrid # noqa
| 21 | 41 | 0.690476 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 1 | 42 | 42 | 0.878788 | 0.095238 | 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 |
15cf1381339c27de2e577ae6fe98f8bea4a4c017 | 51 | py | Python | python/testData/refactoring/move/importAs/after/src/c.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/importAs/after/src/c.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/importAs/after/src/c.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from b import f as g
def main():
print(g(42)) | 10.2 | 20 | 0.588235 | 11 | 51 | 2.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.27451 | 51 | 5 | 21 | 10.2 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
c60338719ddcbb553a2e454a526b5cff776484eb | 22 | py | Python | tool/pylib/demjson/__init__.py | mever/qooxdoo | 2bb08cb6c4ddfaf2425e6efff07deb17e960a050 | [
"MIT"
] | 1 | 2021-02-05T23:00:25.000Z | 2021-02-05T23:00:25.000Z | tool/pylib/demjson/__init__.py | mever/qooxdoo | 2bb08cb6c4ddfaf2425e6efff07deb17e960a050 | [
"MIT"
] | 3 | 2019-02-18T04:22:52.000Z | 2021-02-21T15:02:54.000Z | tool/pylib/demjson/__init__.py | mever/qooxdoo | 2bb08cb6c4ddfaf2425e6efff07deb17e960a050 | [
"MIT"
] | 1 | 2021-06-03T23:08:44.000Z | 2021-06-03T23:08:44.000Z | from demjson import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba550584477e209a5c42e698da9fc402317b45f1 | 42 | py | Python | sphere/utils/__init__.py | tomasstolker/SPHERE | 7dcbcb939b0cb78ebfdaf0019049e60c9744579f | [
"MIT"
] | 3 | 2020-10-07T02:15:28.000Z | 2022-01-04T20:14:07.000Z | sphere/utils/__init__.py | tomasstolker/SPHERE | 7dcbcb939b0cb78ebfdaf0019049e60c9744579f | [
"MIT"
] | 26 | 2020-07-02T13:22:51.000Z | 2022-02-08T12:11:21.000Z | sphere/utils/__init__.py | tomasstolker/SPHERE | 7dcbcb939b0cb78ebfdaf0019049e60c9744579f | [
"MIT"
] | 6 | 2020-10-01T09:41:25.000Z | 2022-02-08T05:59:17.000Z | from .reduction_path import ReductionPath
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba7efc3956eefa7be5101e9749cd2f4c340c976e | 78 | py | Python | scrapyd/services/daemonservice.py | c9dong/scrapyd-heroku-postgres | 90bf5c89ab3a181414e26ab4fd50b31fe937f052 | [
"BSD-3-Clause"
] | null | null | null | scrapyd/services/daemonservice.py | c9dong/scrapyd-heroku-postgres | 90bf5c89ab3a181414e26ab4fd50b31fe937f052 | [
"BSD-3-Clause"
] | null | null | null | scrapyd/services/daemonservice.py | c9dong/scrapyd-heroku-postgres | 90bf5c89ab3a181414e26ab4fd50b31fe937f052 | [
"BSD-3-Clause"
] | null | null | null | class DaemonService:
def __init__(self):
pass
def get(self):
pass | 13 | 21 | 0.653846 | 10 | 78 | 4.7 | 0.7 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25641 | 78 | 6 | 22 | 13 | 0.810345 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bab4681748ff71995a9a805e43108bd5cbfaf3d9 | 59 | py | Python | test_multiple_style.py | nhatsmrt/torch-styletransfer | dabf3f8a375da318f74c8ccae75e0cf7298582da | [
"CC-BY-4.0"
] | 3 | 2021-07-27T08:06:39.000Z | 2021-12-20T03:06:18.000Z | test_multiple_style.py | nhatsmrt/torch-styletransfer | dabf3f8a375da318f74c8ccae75e0cf7298582da | [
"CC-BY-4.0"
] | null | null | null | test_multiple_style.py | nhatsmrt/torch-styletransfer | dabf3f8a375da318f74c8ccae75e0cf7298582da | [
"CC-BY-4.0"
] | null | null | null | from src.test import run_test_multiple
run_test_multiple()
| 19.666667 | 38 | 0.864407 | 10 | 59 | 4.7 | 0.6 | 0.297872 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 2 | 39 | 29.5 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 |
24047938e379ca855757ca76bee0f34090f1397c | 1,991 | py | Python | epytope/Data/pssms/smm/mat/A_02_03_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_02_03_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_02_03_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_02_03_8 = {0: {'A': 0.157, 'C': 0.057, 'E': -0.026, 'D': 0.0, 'G': 0.289, 'F': -0.295, 'I': -0.338, 'H': -0.001, 'K': -0.11, 'M': -0.264, 'L': -0.371, 'N': -0.099, 'Q': 0.144, 'P': 0.343, 'S': -0.111, 'R': 0.37, 'T': 0.135, 'W': 0.003, 'V': 0.079, 'Y': 0.037}, 1: {'A': 0.092, 'C': -0.082, 'E': 0.227, 'D': 0.067, 'G':... | 1,991 | 1,991 | 0.377197 | 496 | 1,991 | 1.508065 | 0.278226 | 0.080214 | 0.012032 | 0.016043 | 0.104278 | 0.029412 | 0.029412 | 0.029412 | 0.029412 | 0.029412 | 0 | 0.352019 | 0.16675 | 1,991 | 1 | 1,991 | 1,991 | 0.098855 | 0 | 0 | 0 | 0 | 0 | 0.081827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
242692ad104032e8ac45022aa7fa3c497fd6e9cd | 170 | py | Python | examples_detections/Motion-Tracker-master/6/mftracker/__init__.py | vito-dante/Tracking_Parrot_Ar_Drone | e5241b2d80c2c9748946c00aeaa197385bce36e0 | [
"Unlicense"
] | null | null | null | examples_detections/Motion-Tracker-master/6/mftracker/__init__.py | vito-dante/Tracking_Parrot_Ar_Drone | e5241b2d80c2c9748946c00aeaa197385bce36e0 | [
"Unlicense"
] | null | null | null | examples_detections/Motion-Tracker-master/6/mftracker/__init__.py | vito-dante/Tracking_Parrot_Ar_Drone | e5241b2d80c2c9748946c00aeaa197385bce36e0 | [
"Unlicense"
] | null | null | null | __version__ = "0.1"
from mftracker.mftrack import *
from mftracker.bb import *
from mftracker.lk import *
from mftracker.fbtrack import *
from mftracker.median import *
| 21.25 | 31 | 0.776471 | 23 | 170 | 5.565217 | 0.478261 | 0.507813 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.141176 | 170 | 7 | 32 | 24.285714 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
242bc3ed8559e2effa06e2befedad4983c84506b | 48 | py | Python | phoenixdb/avatica/__init__.py | parth67/python-phoenixdb | 0255be5ebc7eb826a3418001ccb3586b73de2a39 | [
"Apache-2.0"
] | 26 | 2016-10-11T17:08:23.000Z | 2021-08-05T06:28:53.000Z | phoenixdb/avatica/__init__.py | StarwipeNet/python-phoenixdb | b2e37aba5d10c6adbf690df5a0834519c7870eae | [
"Apache-2.0"
] | 18 | 2017-03-26T09:54:46.000Z | 2021-12-18T05:39:44.000Z | phoenixdb/avatica/__init__.py | StarwipeNet/python-phoenixdb | b2e37aba5d10c6adbf690df5a0834519c7870eae | [
"Apache-2.0"
] | 20 | 2016-10-23T23:00:38.000Z | 2021-12-17T20:58:28.000Z | from .client import AvaticaClient # noqa: F401
| 24 | 47 | 0.770833 | 6 | 48 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.166667 | 48 | 1 | 48 | 48 | 0.85 | 0.208333 | 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 |
24319b5ebdb52eb73b640650774dae61fb340d05 | 10,476 | py | Python | app/controllers/api.py | didi9575/crackerjack | e21032fe4867072b3ea25d0f89f76ae53c25b36d | [
"MIT"
] | 237 | 2020-03-26T12:39:24.000Z | 2022-03-28T04:46:22.000Z | app/controllers/api.py | avineshwar/crackerjack | 6920304d3a5a97a236a9e6db7e7f16470d0d3869 | [
"MIT"
] | 18 | 2020-03-31T14:59:00.000Z | 2022-03-19T08:37:07.000Z | app/controllers/api.py | avineshwar/crackerjack | 6920304d3a5a97a236a9e6db7e7f16470d0d3869 | [
"MIT"
] | 61 | 2020-03-29T13:53:54.000Z | 2022-03-22T12:36:14.000Z | from flask import Blueprint, Response
from app.lib.api.sessions import ApiSession
from app.lib.api.hashes import ApiHashes
from app.lib.api.hashcat import ApiHashcat
from app.lib.api.wordlists import ApiWordlists
from app.lib.api.rules import ApiRules
from app.lib.api.mask import ApiMask
from app.lib.api.auth import Ap... | 27.861702 | 71 | 0.701795 | 1,354 | 10,476 | 5.190547 | 0.059084 | 0.098606 | 0.087649 | 0.125213 | 0.802789 | 0.771201 | 0.757684 | 0.740894 | 0.720831 | 0.705179 | 0 | 0.000116 | 0.176308 | 10,476 | 375 | 72 | 27.936 | 0.814347 | 0 | 0 | 0.655556 | 0 | 0 | 0.076651 | 0.057847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096296 | false | 0 | 0.037037 | 0 | 0.392593 | 0.007407 | 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 |
24384df953f290b3ecc816321d239da8760b2a4e | 45 | py | Python | hardWay/ex23.py | Kennytian/learning-python | 847a3eaab6390f6447cd0d23b1abe9112c05cba0 | [
"MIT"
] | null | null | null | hardWay/ex23.py | Kennytian/learning-python | 847a3eaab6390f6447cd0d23b1abe9112c05cba0 | [
"MIT"
] | null | null | null | hardWay/ex23.py | Kennytian/learning-python | 847a3eaab6390f6447cd0d23b1abe9112c05cba0 | [
"MIT"
] | null | null | null | # coding: utf-8
print('Reading python code') | 15 | 28 | 0.711111 | 7 | 45 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.133333 | 45 | 3 | 28 | 15 | 0.794872 | 0.288889 | 0 | 0 | 0 | 0 | 0.612903 | 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 |
032a90ae37747dce58419614f6944bc5c3e046d4 | 163 | py | Python | Easy/check_if_the_sentence_is_pangram.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Easy/check_if_the_sentence_is_pangram.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Easy/check_if_the_sentence_is_pangram.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | from string import ascii_lowercase
class Solution:
def checkIfPangram(self, sentence: str) -> bool:
return set(ascii_lowercase).issubset(set(sentence)) | 40.75 | 59 | 0.754601 | 20 | 163 | 6.05 | 0.8 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153374 | 163 | 4 | 59 | 40.75 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 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 |
0332e236f85e515e6fbfbf24216e27fc0753e3f8 | 195 | py | Python | pacemaker-django/dataParser/admin.py | blesk011/pacemaker-django | 4311537f7025b3d7b49bec0052b04fc342af54a0 | [
"MIT"
] | null | null | null | pacemaker-django/dataParser/admin.py | blesk011/pacemaker-django | 4311537f7025b3d7b49bec0052b04fc342af54a0 | [
"MIT"
] | null | null | null | pacemaker-django/dataParser/admin.py | blesk011/pacemaker-django | 4311537f7025b3d7b49bec0052b04fc342af54a0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from dataParser.models import StudentInfo
from django.contrib.auth.admin import UserAdmin
# Register your models here.
admin.site.register(StudentInfo, UserAdmin) | 39 | 47 | 0.846154 | 26 | 195 | 6.346154 | 0.538462 | 0.121212 | 0.206061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 195 | 5 | 48 | 39 | 0.932203 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
03364883db188720d19f9211d5d171730a2c048e | 64 | py | Python | solving/__init__.py | dizys/nyu-ai-lab-3 | e4101bd9f3fdf257cb7a5c710fb46d6354751ec1 | [
"MIT"
] | null | null | null | solving/__init__.py | dizys/nyu-ai-lab-3 | e4101bd9f3fdf257cb7a5c710fb46d6354751ec1 | [
"MIT"
] | null | null | null | solving/__init__.py | dizys/nyu-ai-lab-3 | e4101bd9f3fdf257cb7a5c710fb46d6354751ec1 | [
"MIT"
] | null | null | null | from .node import *
from .parser import *
from .solver import *
| 16 | 21 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 22 | 21.333333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
303bf46fb11bf2a67d4c8d1f0ff5111b234b73b0 | 85 | py | Python | sum.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | sum.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | sum.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | print("the sum:",int(input("enter first number"))+int(input("enter second number")))
| 42.5 | 84 | 0.705882 | 13 | 85 | 4.615385 | 0.692308 | 0.266667 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 85 | 1 | 85 | 85 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
303f74eaf4ec72b58014d6ea49202dc8f373a23e | 7,635 | py | Python | laocoon/gfp_pipeline.py | edukait/laocoon | 393398bd2e6cf5e14f77828f62fe2532ad742d25 | [
"MIT"
] | null | null | null | laocoon/gfp_pipeline.py | edukait/laocoon | 393398bd2e6cf5e14f77828f62fe2532ad742d25 | [
"MIT"
] | null | null | null | laocoon/gfp_pipeline.py | edukait/laocoon | 393398bd2e6cf5e14f77828f62fe2532ad742d25 | [
"MIT"
] | 1 | 2021-04-08T13:49:36.000Z | 2021-04-08T13:49:36.000Z | import numpy as np
import mahotas as mh
from laocoon import equalization as eq
class GFP_Pipeline:
"""
A class that represent the pipeline for GFP analysis.
Attributes
----------
dapi_coords : list
Coordinates of the cell "centers" in the DAPI channel. Used as a reference.
checked : l... | 35.347222 | 170 | 0.61742 | 963 | 7,635 | 4.790239 | 0.123572 | 0.049859 | 0.030999 | 0.038153 | 0.883156 | 0.876653 | 0.850206 | 0.828528 | 0.804466 | 0.792326 | 0 | 0.006245 | 0.307924 | 7,635 | 215 | 171 | 35.511628 | 0.866768 | 0.507662 | 0 | 0.483333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.25 | 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 |
30600d318dc8a7fce85968b1cc6743da3178859c | 147 | py | Python | tests/dict/dictionary5.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 38 | 2015-01-01T18:08:59.000Z | 2022-02-18T08:57:27.000Z | tests/dict/dictionary5.py | dusty-phillips/pyjaco | 066895ae38d1828498e529c1875cb88df6cbc54d | [
"MIT"
] | 1 | 2020-07-15T13:30:32.000Z | 2020-07-15T13:30:32.000Z | tests/dict/dictionary5.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z |
d = dict(a = "a", b = "b")
print d
print list(d)
print dict(d)
print dict(dict(d))
print dict(tuple([tuple(["a", "a"]), tuple(["b", "b"])]))
| 11.307692 | 57 | 0.52381 | 27 | 147 | 2.851852 | 0.259259 | 0.311688 | 0.38961 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 147 | 12 | 58 | 12.25 | 0.641667 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.833333 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
069d6cee2aba12e747fbce6184c36d3e67488cf3 | 163 | py | Python | examples_basic_usage/list_all_cov_skaters_and_urls.py | MarcoGorelli/precise | 227d017d45f1c4b39887a85133f3d62950a1e341 | [
"MIT"
] | 40 | 2022-01-13T00:40:59.000Z | 2022-03-31T20:33:19.000Z | examples_basic_usage/list_all_cov_skaters_and_urls.py | MarcoGorelli/precise | 227d017d45f1c4b39887a85133f3d62950a1e341 | [
"MIT"
] | 14 | 2022-01-08T16:00:12.000Z | 2022-03-16T00:12:04.000Z | examples_basic_usage/list_all_cov_skaters_and_urls.py | MarcoGorelli/precise | 227d017d45f1c4b39887a85133f3d62950a1e341 | [
"MIT"
] | 9 | 2022-01-26T21:14:43.000Z | 2022-03-21T17:32:02.000Z | from pprint import pprint
if __name__=='__main__':
from precise.skaters.covariance.allcovskaters import cov_skater_manifest
pprint(cov_skater_manifest())
| 27.166667 | 76 | 0.803681 | 20 | 163 | 5.95 | 0.65 | 0.151261 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 163 | 5 | 77 | 32.6 | 0.832168 | 0 | 0 | 0 | 0 | 0 | 0.04908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
231bc517e67b2dce8099cc9ee05c6203bdf0d33a | 200 | py | Python | aiohttp-swagger/aiohttp_swagger/helpers/decorators.py | cr0hn/TestingBench | 37975343cf9ccb019e8dc42404b5b321285b04b3 | [
"BSD-3-Clause"
] | 5 | 2018-05-10T19:50:29.000Z | 2018-05-10T20:07:08.000Z | aiohttp-swagger/aiohttp_swagger/helpers/decorators.py | cr0hn/TestingBench | 37975343cf9ccb019e8dc42404b5b321285b04b3 | [
"BSD-3-Clause"
] | null | null | null | aiohttp-swagger/aiohttp_swagger/helpers/decorators.py | cr0hn/TestingBench | 37975343cf9ccb019e8dc42404b5b321285b04b3 | [
"BSD-3-Clause"
] | null | null | null | class swagger_path(object):
def __init__(self, swagger_file):
self.swagger_file = swagger_file
def __call__(self, f):
f.swagger_file = self.swagger_file
return f
| 22.222222 | 42 | 0.65 | 26 | 200 | 4.461538 | 0.423077 | 0.474138 | 0.387931 | 0.37931 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27 | 200 | 8 | 43 | 25 | 0.794521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 |
233558caa7a9d0afb93f2ea2a423f602e2f326fb | 74,446 | py | Python | chips/compiler/verilog_area.py | dillonhuff/Chips-2.0 | c78df1597b5f6b024723c4804c6797e4b00387ca | [
"MIT"
] | 221 | 2015-02-23T20:03:29.000Z | 2021-12-23T13:08:24.000Z | chips/compiler/verilog_area.py | dillonhuff/Chips-2.0 | c78df1597b5f6b024723c4804c6797e4b00387ca | [
"MIT"
] | 10 | 2015-10-08T14:30:31.000Z | 2019-04-28T04:42:44.000Z | chips/compiler/verilog_area.py | dawsonjon/Chips-2.0 | 57a986b8df36248bb4736bd84e3e68046b8665af | [
"MIT"
] | 31 | 2015-10-31T00:51:03.000Z | 2021-09-06T15:40:58.000Z | #!/usr/bin/env python
"""Generate Verilog Implementation of Instructions
The area optimized implementation uses a CPU like architecture.
+ Instructions are implemented in block RAM.
+ Registers are implemented in dual port RAM.
+ Only one instruction can be executed at a time.
+ The CPU uses a pipeline architecture, a... | 46.239752 | 139 | 0.517503 | 8,729 | 74,446 | 4.160614 | 0.043418 | 0.206179 | 0.339914 | 0.248912 | 0.781679 | 0.726307 | 0.648687 | 0.588469 | 0.523157 | 0.464508 | 0 | 0.015693 | 0.330656 | 74,446 | 1,609 | 140 | 46.26849 | 0.713145 | 0.007213 | 0 | 0.453285 | 1 | 0.006569 | 0.40084 | 0.034514 | 0 | 0 | 0 | 0 | 0.00146 | 0 | null | null | 0.00146 | 0.00146 | null | null | 0.005109 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88e9b2077f00810130a3a99a6519e417f3492511 | 6,029 | py | Python | longest_polyndrom_medium.py | victorsemenov1980/LeetCodeDailyFun | f66273a9868ede5e2337f586e21eaf9e771b9b48 | [
"MIT"
] | null | null | null | longest_polyndrom_medium.py | victorsemenov1980/LeetCodeDailyFun | f66273a9868ede5e2337f586e21eaf9e771b9b48 | [
"MIT"
] | null | null | null | longest_polyndrom_medium.py | victorsemenov1980/LeetCodeDailyFun | f66273a9868ede5e2337f586e21eaf9e771b9b48 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri May 21 20:44:54 2021
@author: user
"""
'''
Given a string s, return the longest palindromic substring in s.
Example 1:
Input: s = "babad"
Output: "bab"
Note: "aba" is also a valid answer.
Example 2:
Input: s = "cbbd"
Output: "bb"
Example 3:
Inpu... | 24.709016 | 104 | 0.502737 | 723 | 6,029 | 4.136929 | 0.15491 | 0.032096 | 0.123036 | 0.128385 | 0.764627 | 0.75794 | 0.75794 | 0.74791 | 0.731194 | 0.731194 | 0 | 0.034445 | 0.388456 | 6,029 | 243 | 105 | 24.8107 | 0.776783 | 0.02405 | 0 | 0.963303 | 0 | 0 | 0.011945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027523 | false | 0 | 0 | 0 | 0.082569 | 0.110092 | 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 |
004ff406a7c841f869df11ee3f7e2a83918b17a8 | 30 | py | Python | messyelf/__init__.py | nnayudu/messy-elf | e5cfe2ee56f1e8c1317bb9deba9bb3e280740f3c | [
"MIT"
] | null | null | null | messyelf/__init__.py | nnayudu/messy-elf | e5cfe2ee56f1e8c1317bb9deba9bb3e280740f3c | [
"MIT"
] | null | null | null | messyelf/__init__.py | nnayudu/messy-elf | e5cfe2ee56f1e8c1317bb9deba9bb3e280740f3c | [
"MIT"
] | null | null | null | from .messyelf_client import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 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 |
cc7d2b173b6a3e0fc8b3de5f9367320fb39db6b4 | 7,395 | py | Python | altymeter/tests/test_pricing.py | juharris/altymeter | ae60f398f74c97e460d136b45168cadb800089e7 | [
"MIT"
] | null | null | null | altymeter/tests/test_pricing.py | juharris/altymeter | ae60f398f74c97e460d136b45168cadb800089e7 | [
"MIT"
] | 1 | 2018-05-25T02:44:48.000Z | 2018-05-25T02:44:48.000Z | altymeter/tests/test_pricing.py | juharris/altymeter | ae60f398f74c97e460d136b45168cadb800089e7 | [
"MIT"
] | null | null | null | import time
import unittest
from operator import itemgetter
from altymeter.module.test_module import TestModule
from altymeter.pricing import PriceData, SplitPrices, Trade
class TestPriceData(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.inj = TestModule.get_injector()
cls.price_d... | 36.608911 | 105 | 0.621366 | 915 | 7,395 | 4.806557 | 0.133333 | 0.081855 | 0.11528 | 0.061846 | 0.846066 | 0.823329 | 0.805593 | 0.752842 | 0.735107 | 0.70623 | 0 | 0.094476 | 0.272887 | 7,395 | 201 | 106 | 36.791045 | 0.723452 | 0.048411 | 0 | 0.590062 | 0 | 0 | 0.042532 | 0.02404 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.062112 | false | 0 | 0.031056 | 0 | 0.099379 | 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 |
ccd077e2192bbfc2bbaa681a38343c37e9d92c06 | 249 | py | Python | togglws/__init__.py | champion-automatica/toggl_webhooks | f5c281aa9a31b887111d506c77eec49e9edfd6a7 | [
"MIT"
] | 10 | 2021-03-07T12:37:50.000Z | 2022-03-12T07:18:13.000Z | togglws/__init__.py | nmago/toggl_handler | 4bac15d5f9fb96725394e55a7f3718dcaa5f67ae | [
"MIT"
] | 4 | 2021-04-02T05:57:00.000Z | 2021-07-17T13:43:33.000Z | togglws/__init__.py | nmago/toggl_handler | 4bac15d5f9fb96725394e55a7f3718dcaa5f67ae | [
"MIT"
] | 1 | 2021-03-31T09:12:20.000Z | 2021-03-31T09:12:20.000Z | from togglws.values import *
from togglws.socket import TogglSocketMessage, TogglSocketTimeEntryMessage, TogglSocketProjectMessage, \
TogglSocketTaskMessage, TogglSocketClientMessage, TogglSocketTagMessage
from togglws.client import TogglClient
| 49.8 | 104 | 0.871486 | 19 | 249 | 11.421053 | 0.684211 | 0.152074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088353 | 249 | 4 | 105 | 62.25 | 0.955947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aea86b020334fac5fc66db6ce9f553c1899b6243 | 6,874 | py | Python | tests/integration/session/test_sign_out_and_exit.py | uk-gov-mirror/ONSdigital.eq-questionnaire-runner | 4684bc560bfc7a169e279846fb341a188decb374 | [
"MIT"
] | null | null | null | tests/integration/session/test_sign_out_and_exit.py | uk-gov-mirror/ONSdigital.eq-questionnaire-runner | 4684bc560bfc7a169e279846fb341a188decb374 | [
"MIT"
] | null | null | null | tests/integration/session/test_sign_out_and_exit.py | uk-gov-mirror/ONSdigital.eq-questionnaire-runner | 4684bc560bfc7a169e279846fb341a188decb374 | [
"MIT"
] | null | null | null | from app.helpers.template_helpers import (
CENSUS_CY_BASE_URL,
CENSUS_EN_BASE_URL,
CENSUS_NIR_BASE_URL,
)
from tests.integration.integration_test_case import IntegrationTestCase
SIGN_OUT_URL_PATH = "/sign-out"
SIGNED_OUT_URL_PATH = "/signed-out"
ACCOUNT_SERVICE_LOG_OUT_URL = "http://localhost/logout"
ACCOU... | 41.660606 | 88 | 0.743672 | 860 | 6,874 | 5.37907 | 0.106977 | 0.070039 | 0.121271 | 0.142672 | 0.845655 | 0.835279 | 0.8115 | 0.8115 | 0.8115 | 0.807609 | 0 | 0.000538 | 0.189118 | 6,874 | 164 | 89 | 41.914634 | 0.829386 | 0.005819 | 0 | 0.654135 | 0 | 0 | 0.092067 | 0.055767 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.135338 | false | 0 | 0.015038 | 0 | 0.195489 | 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 |
aed58ad18b9b6e1c15cec801e4af8a567e75c5ac | 39 | py | Python | ezfile_main/ezfile/__init__.py | moe001/ezfile | 810e3a7601307b6708571132e93cef2b39d7249c | [
"MIT"
] | 1 | 2019-11-23T02:12:52.000Z | 2019-11-23T02:12:52.000Z | ezfile_main/ezfile/__init__.py | moe001/ezfile | 810e3a7601307b6708571132e93cef2b39d7249c | [
"MIT"
] | null | null | null | ezfile_main/ezfile/__init__.py | moe001/ezfile | 810e3a7601307b6708571132e93cef2b39d7249c | [
"MIT"
] | null | null | null | from .ezfile import read_in, write_out
| 19.5 | 38 | 0.820513 | 7 | 39 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 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 |
4e252bc1f65eb3d538186d095d051c5442d6dc8d | 99 | py | Python | disnake/interactions/__init__.py | InvisibleOS/disnake | 3dba150fcb2f49ed04e7895185218954404bbcd0 | [
"MIT"
] | 1 | 2021-12-01T17:52:58.000Z | 2021-12-01T17:52:58.000Z | disnake/interactions/__init__.py | InvisibleOS/disnake | 3dba150fcb2f49ed04e7895185218954404bbcd0 | [
"MIT"
] | 2 | 2022-01-22T04:03:50.000Z | 2022-01-25T17:19:43.000Z | disnake/interactions/__init__.py | InvisibleOS/disnake | 3dba150fcb2f49ed04e7895185218954404bbcd0 | [
"MIT"
] | 1 | 2022-01-21T15:05:45.000Z | 2022-01-21T15:05:45.000Z | from .application_command import *
from .base import *
from .message import *
from .modal import *
| 19.8 | 34 | 0.757576 | 13 | 99 | 5.692308 | 0.538462 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 35 | 24.75 | 0.891566 | 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 |
4e25e51a2c8235163c102df2136661540c2bf667 | 156 | py | Python | pythonFlask/control/__init__.py | albags/TargetPredictionApp | 3cffdb76bf68ccc3afb54a1a0965b4301bd24c5e | [
"MIT"
] | null | null | null | pythonFlask/control/__init__.py | albags/TargetPredictionApp | 3cffdb76bf68ccc3afb54a1a0965b4301bd24c5e | [
"MIT"
] | null | null | null | pythonFlask/control/__init__.py | albags/TargetPredictionApp | 3cffdb76bf68ccc3afb54a1a0965b4301bd24c5e | [
"MIT"
] | null | null | null | from TargetControllerClass import TargetController
from SimilarityControllerClass import SimilarityController
from DrugControllerClass import DrugController | 52 | 58 | 0.929487 | 12 | 156 | 12.083333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 156 | 3 | 59 | 52 | 1 | 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 |
9db31f2aabf82267ac38958225028919c2dae2d2 | 83 | py | Python | FastAPISQLModel/app/db/__init__.py | scionoftech/FastAPI-Full-Stack-Samples | e7d42661ed59324ff20f419d05c6cd1e7dab7e97 | [
"MIT"
] | 29 | 2021-03-31T02:42:59.000Z | 2022-03-12T16:20:05.000Z | FastAPISQLModel/app/db/__init__.py | scionoftech/FastAPI-Full-Stack-Samples | e7d42661ed59324ff20f419d05c6cd1e7dab7e97 | [
"MIT"
] | null | null | null | FastAPISQLModel/app/db/__init__.py | scionoftech/FastAPI-Full-Stack-Samples | e7d42661ed59324ff20f419d05c6cd1e7dab7e97 | [
"MIT"
] | 4 | 2021-08-21T01:02:00.000Z | 2022-01-09T15:33:51.000Z | from .dbconf import session_scope
from . import models
from . import pagination
| 20.75 | 34 | 0.783133 | 11 | 83 | 5.818182 | 0.636364 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 3 | 35 | 27.666667 | 0.941176 | 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 |
9df1d98fb703be5c84bef1a9ca1618e1801e1d3e | 8,498 | py | Python | Volume 1 - Supervised Deep Learning/Part 2 - Convolutional Neural Networks (CNN)/Section 8 - Building a CNN/Convolutional_Neural_Networks/my_cnn2.py | Menosse/Deep-learning | cfac44588bb532367cbcf4d2117cb260c557d919 | [
"MIT"
] | null | null | null | Volume 1 - Supervised Deep Learning/Part 2 - Convolutional Neural Networks (CNN)/Section 8 - Building a CNN/Convolutional_Neural_Networks/my_cnn2.py | Menosse/Deep-learning | cfac44588bb532367cbcf4d2117cb260c557d919 | [
"MIT"
] | null | null | null | Volume 1 - Supervised Deep Learning/Part 2 - Convolutional Neural Networks (CNN)/Section 8 - Building a CNN/Convolutional_Neural_Networks/my_cnn2.py | Menosse/Deep-learning | cfac44588bb532367cbcf4d2117cb260c557d919 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
'''
assumptions:
install:
tensorflow v.2
keras
pillow
numpy
'''
def createmycnn():
import tensorflow as tf
from keras.preprocessing.image import ImageDataGenerator
from keras.preprocessing import image
import numpy as np
# tf.__version__
"""# ... | 37.436123 | 256 | 0.640268 | 1,122 | 8,498 | 4.656863 | 0.139037 | 0.084402 | 0.103349 | 0.034833 | 0.847273 | 0.825837 | 0.82488 | 0.793301 | 0.793301 | 0.793301 | 0 | 0.033338 | 0.237585 | 8,498 | 226 | 257 | 37.60177 | 0.773113 | 0.02024 | 0 | 0.697674 | 0 | 0.077519 | 0.349367 | 0.1596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007752 | false | 0 | 0.031008 | 0 | 0.03876 | 0.124031 | 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 |
d193c2cb137d62d1b22eb03efb3312c817e7e637 | 67 | py | Python | src/py_collector/__init__.py | Michael-fore/py_collector | 0b5207b5029c018367f2ed1ceda295df2584338a | [
"MIT"
] | null | null | null | src/py_collector/__init__.py | Michael-fore/py_collector | 0b5207b5029c018367f2ed1ceda295df2584338a | [
"MIT"
] | null | null | null | src/py_collector/__init__.py | Michael-fore/py_collector | 0b5207b5029c018367f2ed1ceda295df2584338a | [
"MIT"
] | null | null | null | from py_collector.py_collector import Scheduler, Collector, Manager | 67 | 67 | 0.880597 | 9 | 67 | 6.333333 | 0.666667 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 67 | 1 | 67 | 67 | 0.919355 | 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 |
d19725d3dd6dc4c4f80796f53292943d72cced83 | 37 | py | Python | datasets/svhn.py | xymtxwd/OSDA_with_soft_rejection | a71394ae755c663508b33d3dddb1204ce7cb3fc0 | [
"MIT"
] | null | null | null | datasets/svhn.py | xymtxwd/OSDA_with_soft_rejection | a71394ae755c663508b33d3dddb1204ce7cb3fc0 | [
"MIT"
] | null | null | null | datasets/svhn.py | xymtxwd/OSDA_with_soft_rejection | a71394ae755c663508b33d3dddb1204ce7cb3fc0 | [
"MIT"
] | 1 | 2021-04-18T09:34:13.000Z | 2021-04-18T09:34:13.000Z | from torchvision.datasets import SVHN | 37 | 37 | 0.891892 | 5 | 37 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 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 |
d1be10daa6a3fbe810dc386435d3ca4869e9367b | 31 | py | Python | uc/__init__.py | jplusplus/uc_scraper | d504f8f4231e0a0b9d99c8fa500629e6f6b54a68 | [
"MIT"
] | 1 | 2020-05-20T22:20:04.000Z | 2020-05-20T22:20:04.000Z | uc/__init__.py | jplusplus/uc_scraper | d504f8f4231e0a0b9d99c8fa500629e6f6b54a68 | [
"MIT"
] | 1 | 2021-03-31T19:44:33.000Z | 2021-03-31T19:44:33.000Z | uc/__init__.py | jplusplus/uc_scraper | d504f8f4231e0a0b9d99c8fa500629e6f6b54a68 | [
"MIT"
] | null | null | null | from .scraper import UCScraper
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
d1cdb0f3449958679b4646fcf6705d26cdf88dad | 2,831 | py | Python | test/test_indented_quotes.py | RobotNerd/proze-python-converter | 2695904c8ef8eeed4b9f6ccc2f962daacfdaa620 | [
"MIT"
] | null | null | null | test/test_indented_quotes.py | RobotNerd/proze-python-converter | 2695904c8ef8eeed4b9f6ccc2f962daacfdaa620 | [
"MIT"
] | null | null | null | test/test_indented_quotes.py | RobotNerd/proze-python-converter | 2695904c8ef8eeed4b9f6ccc2f962daacfdaa620 | [
"MIT"
] | null | null | null | import lib.blocks
import lib.state
import unittest
class TestIndented(unittest.TestCase):
"""Tests for block quotes."""
# TODO split this test case into smaller, more focused tests
def test_indented_blockquote(self):
"""A paragraph indented as a block quotes."""
state = lib.state.State()... | 36.766234 | 76 | 0.62946 | 356 | 2,831 | 4.904494 | 0.213483 | 0.180412 | 0.24055 | 0.312715 | 0.681558 | 0.681558 | 0.681558 | 0.681558 | 0.653494 | 0.622566 | 0 | 0.010038 | 0.261039 | 2,831 | 76 | 77 | 37.25 | 0.82457 | 0.133522 | 0 | 0.706897 | 0 | 0 | 0.14197 | 0 | 0 | 0 | 0 | 0.013158 | 0.362069 | 1 | 0.103448 | false | 0.051724 | 0.051724 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ae28a572728759626f4f361d550cd49d5af3f43c | 151 | py | Python | web/tests.py | Organ-xiangjikeji/--- | fb80316e2345a3d68854eeb5ecb95c57f1f26835 | [
"MIT"
] | 1 | 2018-10-06T11:54:02.000Z | 2018-10-06T11:54:02.000Z | web/tests.py | Organ-xiangjikeji/--- | fb80316e2345a3d68854eeb5ecb95c57f1f26835 | [
"MIT"
] | 15 | 2018-09-07T13:44:14.000Z | 2022-03-11T23:29:08.000Z | web/tests.py | Organ-xiangjikeji/JZSJ-official-website | fb80316e2345a3d68854eeb5ecb95c57f1f26835 | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.shortcuts import render
# Create your tests here.
def test(request):
return render(request,'test.html')
| 21.571429 | 35 | 0.788079 | 22 | 151 | 5.409091 | 0.681818 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 6 | 36 | 25.166667 | 0.901515 | 0.152318 | 0 | 0 | 0 | 0 | 0.071429 | 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 |
ae9c26264536d20ebb4a6beb8bb5c1fe105efef1 | 2,132 | py | Python | mdf/tests/test_parser.py | manahl/mdf | 4b2c78084467791ad883c0b4c53832ad70fc96ef | [
"MIT"
] | 100 | 2015-06-14T23:38:41.000Z | 2019-10-28T03:23:28.000Z | mdf/tests/test_parser.py | ahlmss/mdf | 4b2c78084467791ad883c0b4c53832ad70fc96ef | [
"MIT"
] | 6 | 2016-12-28T11:22:12.000Z | 2018-12-02T23:01:08.000Z | mdf/tests/test_parser.py | manahl/mdf | 4b2c78084467791ad883c0b4c53832ad70fc96ef | [
"MIT"
] | 40 | 2015-07-21T17:13:56.000Z | 2019-07-29T21:26:49.000Z | """
Unit tests for the pylab magic function parser
"""
import unittest
from mdf.parser import tokenize
class PylabParserTest(unittest.TestCase):
def test_simple_parse(self):
test = "2001-01-01 T node_a node_b"
expected = ["2001-01-01", "T", "node_a", "node_b"]
actual = tokenize(test)
... | 38.071429 | 94 | 0.575985 | 304 | 2,132 | 3.970395 | 0.157895 | 0.079536 | 0.106048 | 0.119304 | 0.874896 | 0.874896 | 0.874896 | 0.832643 | 0.832643 | 0.748136 | 0 | 0.102154 | 0.237805 | 2,132 | 55 | 95 | 38.763636 | 0.640615 | 0.021576 | 0 | 0.372093 | 0 | 0.069767 | 0.331088 | 0.061598 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.186047 | false | 0 | 0.046512 | 0 | 0.255814 | 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 |
885b7b2526eeaa60e73a5778b3474e2dbeae9182 | 3,249 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtNetwork/QSslConfiguration.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/83fffae014956db69fadcc8dc156c529d265a60c3b195dc003754531e5b5eafd/PySide/QtNetwork/QSslConfiguration.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/83fffae014956db69fadcc8dc156c529d265a60c3b195dc003754531e5b5eafd/PySide/QtNetwork/QSslConfiguration.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtNetwork
# from C:\Python27\lib\site-packages\PySide\QtNetwork.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
class QSslConfiguration(__Shiboken.Object):
# no doc
def caCertificates(self, *args, **kwargs): #... | 28.5 | 80 | 0.621114 | 375 | 3,249 | 5.074667 | 0.213333 | 0.20494 | 0.315292 | 0.208092 | 0.666842 | 0.640568 | 0.622176 | 0.603258 | 0.12927 | 0 | 0 | 0.003321 | 0.258541 | 3,249 | 113 | 81 | 28.752212 | 0.786633 | 0.388119 | 0 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.46875 | false | 0.46875 | 0.03125 | 0 | 0.515625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8872a99f6d661aba73fc8d59cc90d85ccc86a2ed | 34 | py | Python | surebets/finder/__init__.py | franloza/apiestas | 46978f58858b1d3822b2f80eb8948009944aa005 | [
"MIT"
] | 53 | 2019-11-19T03:02:06.000Z | 2022-01-13T15:29:38.000Z | surebets/finder/__init__.py | franloza/apiestas | 46978f58858b1d3822b2f80eb8948009944aa005 | [
"MIT"
] | 3 | 2019-12-27T22:49:11.000Z | 2021-03-31T18:59:36.000Z | surebets/finder/__init__.py | franloza/apiestas | 46978f58858b1d3822b2f80eb8948009944aa005 | [
"MIT"
] | 5 | 2021-04-25T13:02:48.000Z | 2022-02-16T13:57:21.000Z | from .finder import SureBetsFinder | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee44b8f58aa192c87bb2d4e9c6c52cdd4898b404 | 115 | py | Python | tests/test_utils.py | dkratzert/FinalCif | 07ca23dbb4e7439b108a906521a118cdb876d97e | [
"Beerware"
] | 13 | 2020-01-14T16:23:48.000Z | 2022-02-16T18:02:08.000Z | tests/test_utils.py | dkratzert/FinalCif | 07ca23dbb4e7439b108a906521a118cdb876d97e | [
"Beerware"
] | 24 | 2021-04-21T05:30:42.000Z | 2022-03-31T20:07:29.000Z | tests/test_utils.py | dkratzert/FinalCif | 07ca23dbb4e7439b108a906521a118cdb876d97e | [
"Beerware"
] | 1 | 2021-08-09T16:48:33.000Z | 2021-08-09T16:48:33.000Z | import os
from pathlib import Path
def current_file_path():
os.chdir(Path(__file__).resolve().parent.parent)
| 16.428571 | 52 | 0.756522 | 17 | 115 | 4.764706 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 6 | 53 | 19.166667 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a02296fe33ee25c506c9610dab4f15d40d8cedc8 | 88 | py | Python | tests/__main__.py | dustymugs/python-setix | 1ea5e122c616abffcac64f770c5f6f5644240a28 | [
"MIT"
] | 3 | 2016-01-26T07:18:54.000Z | 2018-08-02T01:43:39.000Z | tests/__main__.py | dustymugs/python-setix | 1ea5e122c616abffcac64f770c5f6f5644240a28 | [
"MIT"
] | null | null | null | tests/__main__.py | dustymugs/python-setix | 1ea5e122c616abffcac64f770c5f6f5644240a28 | [
"MIT"
] | 1 | 2020-11-27T16:32:40.000Z | 2020-11-27T16:32:40.000Z | import unittest
from .test_b_numpy import *
from .test_trgm import *
unittest.main ()
| 12.571429 | 27 | 0.761364 | 13 | 88 | 4.923077 | 0.615385 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 6 | 28 | 14.666667 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.