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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
832c8761a575784e1b640474985a108f44948f54 | 780 | py | Python | utils/system/load_carla.py | Czworldy/GP_traj | 96261f39a5a322092e3a6be98938bb4601f0f746 | [
"MIT"
] | 1 | 2021-06-08T06:09:55.000Z | 2021-06-08T06:09:55.000Z | utils/system/load_carla.py | Czworldy/GP_traj | 96261f39a5a322092e3a6be98938bb4601f0f746 | [
"MIT"
] | null | null | null | utils/system/load_carla.py | Czworldy/GP_traj | 96261f39a5a322092e3a6be98938bb4601f0f746 | [
"MIT"
] | null | null | null |
import os
import sys
import glob
def load(path):
try:
# sys.path.append(path+'/PythonAPI')
# sys.path.append(glob.glob(path+'/PythonAPI/carla/dist/carla-*%d.%d-%s.egg' % (
# sys.version_info.major,
# sys.version_info.minor,
# 'win-amd64' if os.name == 'nt' else ... | 37.142857 | 103 | 0.580769 | 113 | 780 | 3.946903 | 0.336283 | 0.078475 | 0.14574 | 0.11435 | 0.784753 | 0.784753 | 0.784753 | 0.784753 | 0.784753 | 0.784753 | 0 | 0.041736 | 0.232051 | 780 | 21 | 104 | 37.142857 | 0.702838 | 0.546154 | 0 | 0 | 0 | 0.111111 | 0.270349 | 0.165698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.444444 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8355d614004b17bfcb3f45e4442a8b6ec42659c2 | 183 | py | Python | pizza_store/enums/__init__.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | 2 | 2021-07-10T15:47:45.000Z | 2021-12-13T18:09:30.000Z | pizza_store/enums/__init__.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | null | null | null | pizza_store/enums/__init__.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | null | null | null | from pizza_store.enums.permissions import CategoryPermission, ProductPermission
from pizza_store.enums.role import Role
__all__ = ["CategoryPermission", "ProductPermission", "Role"]
| 36.6 | 79 | 0.830601 | 19 | 183 | 7.684211 | 0.526316 | 0.123288 | 0.191781 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 183 | 4 | 80 | 45.75 | 0.869048 | 0 | 0 | 0 | 0 | 0 | 0.213115 | 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 |
36a990cc6a6e3e5504c06bc7f2883f381f78b2f2 | 42 | py | Python | lib/django-1.3/django/contrib/messages/__init__.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | django/contrib/messages/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | django/contrib/messages/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from api import *
from constants import *
| 14 | 23 | 0.761905 | 6 | 42 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 24 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
36e973d4fc94162fdd1e28fa244ac8e1f2e1f0e6 | 25 | py | Python | pylfi/priors/__init__.py | nicolossus/pylfi | 7950aff5c36e7368cbe77b32ef348966b905f5cf | [
"MIT"
] | null | null | null | pylfi/priors/__init__.py | nicolossus/pylfi | 7950aff5c36e7368cbe77b32ef348966b905f5cf | [
"MIT"
] | null | null | null | pylfi/priors/__init__.py | nicolossus/pylfi | 7950aff5c36e7368cbe77b32ef348966b905f5cf | [
"MIT"
] | null | null | null | from .prior import Prior
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
36e987de86625fb265967bed791c06ac9307414b | 92 | py | Python | altair/__init__.py | jakevdp/altair2 | 46d391034c5b72867c9e4d01f3a7c7c536533add | [
"BSD-3-Clause"
] | 2 | 2018-02-03T05:35:52.000Z | 2018-02-05T21:00:18.000Z | altair/__init__.py | jakevdp/altair2 | 46d391034c5b72867c9e4d01f3a7c7c536533add | [
"BSD-3-Clause"
] | null | null | null | altair/__init__.py | jakevdp/altair2 | 46d391034c5b72867c9e4d01f3a7c7c536533add | [
"BSD-3-Clause"
] | null | null | null | from .schema import vegalite_version
from .api import Chart
from .schema.channels import *
| 18.4 | 36 | 0.804348 | 13 | 92 | 5.615385 | 0.615385 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 4 | 37 | 23 | 0.924051 | 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 |
36ed2a423ccbe261f9ce0fa402dda9039931c5d3 | 20,707 | py | Python | src/network_architecture.py | kms8527/rl_decision_making_with_uncertainty | 7a655e218c432be1498ff19e4811fc7595bd1413 | [
"MIT"
] | 30 | 2020-04-27T13:01:58.000Z | 2022-03-15T07:15:17.000Z | src/network_architecture.py | kms8527/rl_decision_making_with_uncertainty | 7a655e218c432be1498ff19e4811fc7595bd1413 | [
"MIT"
] | 5 | 2020-04-23T08:29:36.000Z | 2022-02-10T01:26:01.000Z | src/network_architecture.py | kms8527/rl_decision_making_with_uncertainty | 7a655e218c432be1498ff19e4811fc7595bd1413 | [
"MIT"
] | 12 | 2020-06-11T04:19:53.000Z | 2022-02-16T09:30:26.000Z | from keras.models import Sequential, Model
from keras.layers import Dense, Activation, Flatten, Lambda, add, Input, Reshape, Conv1D, MaxPooling1D, concatenate
import keras.backend as K
class NetworkMLP(object):
"""
This class is used to build a neural network with an MLP structure.
There are different fu... | 66.796774 | 120 | 0.631236 | 2,572 | 20,707 | 4.74028 | 0.061042 | 0.040026 | 0.03937 | 0.03248 | 0.920686 | 0.901657 | 0.876394 | 0.842356 | 0.831037 | 0.804462 | 0 | 0.0079 | 0.26648 | 20,707 | 309 | 121 | 67.012945 | 0.794786 | 0.099097 | 0 | 0.613445 | 0 | 0 | 0.059447 | 0.010538 | 0 | 0 | 0 | 0 | 0.02521 | 1 | 0.037815 | false | 0 | 0.012605 | 0 | 0.058824 | 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 |
7fc96fdbbeba39e3dc3674c16474510f2cec35d7 | 36 | py | Python | src/aiocleverbot/__init__.py | johan-naizu/aiocleverbot | ca82dbc2eafdee87435903c9b1bace481927996d | [
"MIT"
] | 3 | 2021-05-04T14:21:52.000Z | 2021-06-23T15:41:35.000Z | src/aiocleverbot/__init__.py | johan-naizu/aiocleverbot | ca82dbc2eafdee87435903c9b1bace481927996d | [
"MIT"
] | 1 | 2021-05-06T12:17:13.000Z | 2022-03-04T10:28:18.000Z | src/aiocleverbot/__init__.py | johan-naizu/aiocleverbot | ca82dbc2eafdee87435903c9b1bace481927996d | [
"MIT"
] | null | null | null | from .aiocleverbot import cleverbot
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
7fce90d6f92015e289905a4d20814ef61f94859e | 24 | py | Python | gdbplotlib/__init__.py | X-Neon/gdbplotlib | 80c4d59826f3f91275bb223c77ecabc49ae90578 | [
"MIT"
] | 20 | 2020-03-14T00:52:39.000Z | 2022-01-18T22:33:19.000Z | gdbplotlib/__init__.py | X-Neon/gdbplotlib | 80c4d59826f3f91275bb223c77ecabc49ae90578 | [
"MIT"
] | 1 | 2021-11-18T08:21:38.000Z | 2021-11-20T21:24:58.000Z | gdbplotlib/__init__.py | X-Neon/gdbplotlib | 80c4d59826f3f91275bb223c77ecabc49ae90578 | [
"MIT"
] | 1 | 2021-02-23T00:04:43.000Z | 2021-02-23T00:04:43.000Z | from . import plot, save | 24 | 24 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 |
3d14cc836ef8377ba4048d1c88819aa8f9e1d94d | 2,647 | py | Python | OCRLibrary/utils/imagereading/text_locating.py | bendurston/robotframework-ocrlibrary | da310346a60260165118cba112995e58ebb3a103 | [
"Apache-2.0"
] | 5 | 2021-05-19T07:09:43.000Z | 2022-02-10T16:33:05.000Z | OCRLibrary/utils/imagereading/text_locating.py | bendurston/robotframework-ocrlibrary | da310346a60260165118cba112995e58ebb3a103 | [
"Apache-2.0"
] | 3 | 2021-05-19T07:15:28.000Z | 2021-05-23T20:12:41.000Z | OCRLibrary/utils/imagereading/text_locating.py | bendurston/robotframework-ocrlibrary | da310346a60260165118cba112995e58ebb3a103 | [
"Apache-2.0"
] | 1 | 2021-05-19T07:10:03.000Z | 2021-05-19T07:10:03.000Z | """
Text locating module.
"""
from pytesseract import image_to_data, Output
def return_text_coordinates(img, text, pyt_conf, lang):
"""
This keyword is find the coordinates of text in an image.
"""
data = image_to_data(img, output_type=Output.DICT, config=pyt_conf, lang=lang)
boxes = len(data['lev... | 38.362319 | 115 | 0.622592 | 398 | 2,647 | 3.934673 | 0.155779 | 0.103448 | 0.061303 | 0.03576 | 0.836526 | 0.808429 | 0.773946 | 0.742018 | 0.742018 | 0.742018 | 0 | 0.00592 | 0.234227 | 2,647 | 68 | 116 | 38.926471 | 0.76665 | 0.113714 | 0 | 0.666667 | 0 | 0 | 0.04741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.020833 | 0 | 0.270833 | 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 |
3d46c4af15c615220255c7edeb7f8324b1f6dce6 | 37 | py | Python | vase/__init__.py | gantzgraf/vape | f939cb527d72d852cb0919a57332110c15c5fd4a | [
"MIT"
] | 4 | 2020-03-25T06:09:39.000Z | 2021-03-23T11:22:00.000Z | vase/__init__.py | gantzgraf/vape | f939cb527d72d852cb0919a57332110c15c5fd4a | [
"MIT"
] | 1 | 2020-10-02T14:50:30.000Z | 2020-10-12T15:24:24.000Z | vase/__init__.py | gantzgraf/vape | f939cb527d72d852cb0919a57332110c15c5fd4a | [
"MIT"
] | 1 | 2021-02-20T11:32:34.000Z | 2021-02-20T11:32:34.000Z | from vase.version import __version__
| 18.5 | 36 | 0.864865 | 5 | 37 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.848485 | 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 |
3d5db949fe9eba516f73d8617a97cf0aeaa0d4a9 | 108 | py | Python | popcorn_gallery/notifications/context_processors.py | Koenkk/popcorn_maker | 0978b9f98dacd4e8eb753404b24eb584f410aa11 | [
"BSD-3-Clause"
] | 15 | 2015-03-23T02:55:20.000Z | 2021-01-12T12:42:30.000Z | popcorn_gallery/notifications/context_processors.py | Koenkk/popcorn_maker | 0978b9f98dacd4e8eb753404b24eb584f410aa11 | [
"BSD-3-Clause"
] | null | null | null | popcorn_gallery/notifications/context_processors.py | Koenkk/popcorn_maker | 0978b9f98dacd4e8eb753404b24eb584f410aa11 | [
"BSD-3-Clause"
] | 16 | 2015-02-18T21:43:31.000Z | 2021-11-09T22:50:03.000Z | from .models import Notice
def notifications(request):
return {'notice_list': Notice.live.all()[:5]}
| 18 | 50 | 0.703704 | 14 | 108 | 5.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.148148 | 108 | 5 | 51 | 21.6 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 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 |
e9f2f22fd79eef346224db15cb32a1f63571d160 | 40 | py | Python | tools/bianjie.py | bianjie0618/marked_SiamMask | 51d2aa832a74b76a5cd63aae274d1dea1dc16a2c | [
"MIT"
] | null | null | null | tools/bianjie.py | bianjie0618/marked_SiamMask | 51d2aa832a74b76a5cd63aae274d1dea1dc16a2c | [
"MIT"
] | null | null | null | tools/bianjie.py | bianjie0618/marked_SiamMask | 51d2aa832a74b76a5cd63aae274d1dea1dc16a2c | [
"MIT"
] | null | null | null | import torch
# print(torch.__version__) | 13.333333 | 26 | 0.8 | 5 | 40 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 3 | 26 | 13.333333 | 0.777778 | 0.6 | 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 |
18598366367edfcefb01654f69c2bd013d7ae463 | 3,892 | py | Python | tests/test_functions.py | theblackfly/protoflow | 02a77e59f6afc8d462a738874d06eca810911166 | [
"MIT"
] | 3 | 2020-10-07T05:04:05.000Z | 2021-02-10T15:04:55.000Z | tests/test_functions.py | theblackfly/protoflow | 02a77e59f6afc8d462a738874d06eca810911166 | [
"MIT"
] | 5 | 2020-04-09T13:36:15.000Z | 2020-12-17T16:30:50.000Z | tests/test_functions.py | theblackfly/protoflow | 02a77e59f6afc8d462a738874d06eca810911166 | [
"MIT"
] | 2 | 2020-10-01T21:48:16.000Z | 2021-04-10T18:20:25.000Z | """ProtoFlow functions test suite."""
import unittest
import numpy as np
from protoflow.functions import distances
class TestDistances(unittest.TestCase):
def setUp(self):
pass
def test_lpnorm_p2_1d(self):
# yapf: disable
x = np.array([[0, 0]], dtype='float32')
w = np.array... | 36.373832 | 77 | 0.487153 | 476 | 3,892 | 3.882353 | 0.12605 | 0.020563 | 0.105519 | 0.083333 | 0.829545 | 0.8171 | 0.8171 | 0.790584 | 0.777056 | 0.777056 | 0 | 0.139044 | 0.355087 | 3,892 | 106 | 78 | 36.716981 | 0.597211 | 0.049846 | 0 | 0.625 | 0 | 0 | 0.0326 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.0875 | false | 0.0125 | 0.0375 | 0 | 0.1375 | 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 |
185bde9e31af09145e63b665a66f4c0b53a750fe | 26 | py | Python | pyopt_tools/__init__.py | Fus3n/pyopt-tools | ec30de59c885fc1f03b1256d931131b22e1cf5b7 | [
"MIT"
] | 2 | 2022-01-08T21:09:37.000Z | 2022-01-12T16:09:04.000Z | pyopt_tools/__init__.py | Fus3n/pyopt-tools | ec30de59c885fc1f03b1256d931131b22e1cf5b7 | [
"MIT"
] | null | null | null | pyopt_tools/__init__.py | Fus3n/pyopt-tools | ec30de59c885fc1f03b1256d931131b22e1cf5b7 | [
"MIT"
] | null | null | null | from pyopt_tools import *
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a14d4177b56d1da2699f6d71ae1b86091568fbe8 | 136 | py | Python | myML/myml.py | bobbyisot/MachineLearning | 522f2a832d457ea6d14f8f8c72fca44bc15f59db | [
"MIT"
] | null | null | null | myML/myml.py | bobbyisot/MachineLearning | 522f2a832d457ea6d14f8f8c72fca44bc15f59db | [
"MIT"
] | null | null | null | myML/myml.py | bobbyisot/MachineLearning | 522f2a832d457ea6d14f8f8c72fca44bc15f59db | [
"MIT"
] | null | null | null | class Test_2020(object):
def __init__(self):
self.a = 1
print(f'success')
def add_a(self):
self.a += 1
| 17 | 25 | 0.529412 | 20 | 136 | 3.3 | 0.65 | 0.242424 | 0.272727 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.338235 | 136 | 7 | 26 | 19.428571 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.051471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 0.166667 | 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 |
a1aec7d801aea5ebf861295cb9900e84026ee22b | 32 | py | Python | cit-api/pipeline/tests/views/__init__.py | bcgov/CIT | b9db4f169b52e9a6293b3ee1e61935888074215a | [
"Apache-2.0"
] | 10 | 2020-11-12T15:13:40.000Z | 2022-03-05T22:33:08.000Z | cit-api/pipeline/tests/views/__init__.py | bcgov/CIT | b9db4f169b52e9a6293b3ee1e61935888074215a | [
"Apache-2.0"
] | 28 | 2020-07-17T16:33:55.000Z | 2022-03-21T16:24:25.000Z | cit-api/pipeline/tests/views/__init__.py | bcgov/CIT | b9db4f169b52e9a6293b3ee1e61935888074215a | [
"Apache-2.0"
] | 5 | 2020-11-02T23:39:53.000Z | 2022-03-01T19:09:45.000Z | from .test_opportunity import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
b80ed33f2221b2a3732b6390e63d6a5350d7dd13 | 43 | py | Python | pextant/analysis/kmlsupport.py | norheim/pextant | f4235719279c0e6f178ae1e0f8b1ea3346533915 | [
"MIT"
] | null | null | null | pextant/analysis/kmlsupport.py | norheim/pextant | f4235719279c0e6f178ae1e0f8b1ea3346533915 | [
"MIT"
] | 1 | 2019-12-03T03:52:41.000Z | 2019-12-04T14:50:36.000Z | pextant/analysis/kmlsupport.py | norheim/pextant | f4235719279c0e6f178ae1e0f8b1ea3346533915 | [
"MIT"
] | 1 | 2019-12-03T02:37:57.000Z | 2019-12-03T02:37:57.000Z | from pykml.factory import KML_ElementMaker
| 21.5 | 42 | 0.883721 | 6 | 43 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62ce75ed0bc80d716e869ec2ea08d0c3839e1ab4 | 354 | py | Python | ensemble_boxes/__init__.py | Sergey-Zlobin/Weighted-Boxes-Fusion | 773ed6f9513ade442c0f89885f3a36d95cf0629d | [
"MIT"
] | 2 | 2021-07-19T05:19:00.000Z | 2022-03-06T03:48:02.000Z | ensemble_boxes/__init__.py | Sergey-Zlobin/Weighted-Boxes-Fusion | 773ed6f9513ade442c0f89885f3a36d95cf0629d | [
"MIT"
] | null | null | null | ensemble_boxes/__init__.py | Sergey-Zlobin/Weighted-Boxes-Fusion | 773ed6f9513ade442c0f89885f3a36d95cf0629d | [
"MIT"
] | 1 | 2021-09-15T21:26:39.000Z | 2021-09-15T21:26:39.000Z | # coding: utf-8
__author__ = 'ZFTurbo: https://kaggle.com/zfturbo'
from .ensemble_boxes_wbf import weighted_boxes_fusion
from .ensemble_boxes_nmw import non_maximum_weighted
from .ensemble_boxes_nms import nms_method
from .ensemble_boxes_nms import nms
from .ensemble_boxes_nms import soft_nms
from .ensemble_boxes_wbf_... | 39.333333 | 59 | 0.861582 | 55 | 354 | 5.072727 | 0.4 | 0.258065 | 0.365591 | 0.215054 | 0.301075 | 0.207885 | 0 | 0 | 0 | 0 | 0 | 0.009288 | 0.087571 | 354 | 9 | 59 | 39.333333 | 0.854489 | 0.036723 | 0 | 0 | 0 | 0 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7fd14f6753ca35ce9c471c3412feedb1e337095 | 16,068 | py | Python | models/backbones/resnet.py | crutcher/stylelens | 8df3704f56fe6a30395eadcb1aee2e11563dfabb | [
"MIT"
] | null | null | null | models/backbones/resnet.py | crutcher/stylelens | 8df3704f56fe6a30395eadcb1aee2e11563dfabb | [
"MIT"
] | null | null | null | models/backbones/resnet.py | crutcher/stylelens | 8df3704f56fe6a30395eadcb1aee2e11563dfabb | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# Libraries
# ------------------------------------------------------------------------------
from collections import OrderedDict
import torch.nn as nn
from timm.models.resnet import BasicBlock, Bottleneck
from timm.models.resnet import R... | 35.236842 | 97 | 0.627521 | 1,953 | 16,068 | 4.952381 | 0.111111 | 0.083747 | 0.080645 | 0.066791 | 0.837883 | 0.80428 | 0.798904 | 0.780294 | 0.772643 | 0.762717 | 0 | 0.052735 | 0.238798 | 16,068 | 455 | 98 | 35.314286 | 0.738043 | 0.255539 | 0 | 0.616613 | 0 | 0 | 0.026334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092652 | false | 0 | 0.019169 | 0 | 0.204473 | 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 |
c51382a38a7e8c406e1db5aa246ad6bdb7e3cd0b | 45,129 | py | Python | tests/test_filtering.py | SimonHurst/py-pdf-parser | 4186115b64115e9916475d4a034542a64f57457b | [
"MIT"
] | null | null | null | tests/test_filtering.py | SimonHurst/py-pdf-parser | 4186115b64115e9916475d4a034542a64f57457b | [
"MIT"
] | null | null | null | tests/test_filtering.py | SimonHurst/py-pdf-parser | 4186115b64115e9916475d4a034542a64f57457b | [
"MIT"
] | null | null | null | import re
from mock import patch, call
from py_pdf_parser.components import PDFDocument, PDFElement
from py_pdf_parser.common import BoundingBox
from py_pdf_parser.exceptions import NoElementFoundError, MultipleElementsFoundError
from py_pdf_parser.filtering import ElementList
from py_pdf_parser.loaders import Page
... | 40.29375 | 88 | 0.638348 | 5,642 | 45,129 | 4.833392 | 0.033676 | 0.078034 | 0.084048 | 0.049468 | 0.918959 | 0.893106 | 0.876824 | 0.853025 | 0.839347 | 0.805574 | 0 | 0.035491 | 0.249529 | 45,129 | 1,119 | 89 | 40.329759 | 0.769694 | 0.034745 | 0 | 0.600227 | 0 | 0 | 0.026445 | 0 | 0 | 0 | 0 | 0 | 0.291053 | 1 | 0.0453 | false | 0 | 0.010193 | 0 | 0.056625 | 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 |
3d6fa83aaa7061e3a55d9c3e540e727756dc2c22 | 187 | py | Python | venv/Lib/site-packages/dpyConsole/errors.py | oOperaho/Cruzeiro | 57730376e8ac347531984ef49fc1349e084c2b5a | [
"MIT"
] | 13 | 2020-10-07T04:21:24.000Z | 2022-01-31T20:36:55.000Z | venv/Lib/site-packages/dpyConsole/errors.py | oOperaho/Cruzeiro | 57730376e8ac347531984ef49fc1349e084c2b5a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/dpyConsole/errors.py | oOperaho/Cruzeiro | 57730376e8ac347531984ef49fc1349e084c2b5a | [
"MIT"
] | 1 | 2021-06-17T00:35:41.000Z | 2021-06-17T00:35:41.000Z | class CommandNotFound(Exception):
def __init__(self, command_name):
self.name = command_name
def __str__(self):
return f"Command with name {self.name} not found"
| 26.714286 | 57 | 0.684492 | 24 | 187 | 4.916667 | 0.583333 | 0.186441 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224599 | 187 | 6 | 58 | 31.166667 | 0.813793 | 0 | 0 | 0 | 0 | 0 | 0.208556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 |
3d7b80b28194fbc97331a5b7daf2ad20906fbcac | 78 | py | Python | openmc/stats/__init__.py | janmalec/openmc | 4a4ac4c351d41fe153ca3341820cc507e484ce50 | [
"MIT"
] | 262 | 2018-08-09T21:27:03.000Z | 2022-03-24T05:02:10.000Z | openmc/stats/__init__.py | janmalec/openmc | 4a4ac4c351d41fe153ca3341820cc507e484ce50 | [
"MIT"
] | 753 | 2018-08-03T15:26:57.000Z | 2022-03-29T23:54:48.000Z | openmc/stats/__init__.py | janmalec/openmc | 4a4ac4c351d41fe153ca3341820cc507e484ce50 | [
"MIT"
] | 196 | 2018-08-06T13:41:14.000Z | 2022-03-29T20:47:12.000Z | from openmc.stats.univariate import *
from openmc.stats.multivariate import *
| 26 | 39 | 0.820513 | 10 | 78 | 6.4 | 0.6 | 0.3125 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 40 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3da4f12db67ec8b91adf11ccf7fcf30560ac096b | 48 | py | Python | automix/transition/__init__.py | MZehren/Automix | dfaa00a9e7c5c0938c0a9d275c07f3a3e5f87e43 | [
"MIT"
] | 18 | 2020-07-20T01:51:40.000Z | 2022-02-25T07:32:11.000Z | automix/transition/__init__.py | MZehren/Automix | dfaa00a9e7c5c0938c0a9d275c07f3a3e5f87e43 | [
"MIT"
] | 2 | 2021-03-23T03:26:02.000Z | 2021-07-19T12:51:25.000Z | automix/transition/__init__.py | MZehren/Automix | dfaa00a9e7c5c0938c0a9d275c07f3a3e5f87e43 | [
"MIT"
] | 5 | 2021-01-03T15:34:28.000Z | 2022-02-22T06:07:06.000Z | """
Package which generates the transitions.
""" | 16 | 40 | 0.729167 | 5 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 41 | 16 | 0.833333 | 0.833333 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3da92e496b52c4b7d556be4b0b8d8845da5e22bd | 34,473 | py | Python | train_helper.py | ItGirls/event_extraction | b8b3bd9c5c34e7a1be086a7fcd608ef89335e4c1 | [
"MIT"
] | 203 | 2020-05-18T02:26:24.000Z | 2022-03-30T09:49:42.000Z | train_helper.py | ItGirls/event_extraction | b8b3bd9c5c34e7a1be086a7fcd608ef89335e4c1 | [
"MIT"
] | 14 | 2020-05-19T02:34:16.000Z | 2021-09-10T07:52:31.000Z | train_helper.py | djj-djj/event_extraction | dfecdbb7d0a905495065cc7a0a4afd10e6dd1130 | [
"MIT"
] | 34 | 2020-05-19T02:25:26.000Z | 2022-03-30T09:49:34.000Z | import os
import numpy as np
import time
import logging
from common_utils import set_logger
import tensorflow as tf
from sklearn.metrics import f1_score
from models.bert_mrc import bert_mrc_model_fn_builder
from models.bert_event_type_classification import bert_classification_model_fn_builder
from data_processing.dat... | 63.603321 | 320 | 0.711542 | 4,807 | 34,473 | 4.641564 | 0.052216 | 0.029446 | 0.040158 | 0.037469 | 0.953164 | 0.937926 | 0.919102 | 0.904401 | 0.891583 | 0.871818 | 0 | 0.00432 | 0.18748 | 34,473 | 541 | 321 | 63.720887 | 0.792253 | 0.229281 | 0 | 0.657068 | 0 | 0 | 0.141133 | 0.082843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02356 | false | 0 | 0.044503 | 0 | 0.081152 | 0.015707 | 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 |
3daed6f58209c91edf2eaa9ed7eb396be2af00ff | 4,451 | py | Python | tests/test_process_listing.py | ProzorroUKR/prozorro_chronograph | f8a560322259b5bb07035b133f545a614130de73 | [
"Apache-2.0"
] | null | null | null | tests/test_process_listing.py | ProzorroUKR/prozorro_chronograph | f8a560322259b5bb07035b133f545a614130de73 | [
"Apache-2.0"
] | null | null | null | tests/test_process_listing.py | ProzorroUKR/prozorro_chronograph | f8a560322259b5bb07035b133f545a614130de73 | [
"Apache-2.0"
] | null | null | null | from uuid import uuid4
from datetime import timedelta
from unittest.mock import patch, Mock
from freezegun import freeze_time
from prozorro_chronograph.utils import get_now
from prozorro_chronograph.scheduler import process_listing, push
from prozorro_chronograph.settings import TZ
from .base import BaseTenderTest
... | 42.390476 | 118 | 0.6439 | 529 | 4,451 | 5.136106 | 0.175803 | 0.047111 | 0.133971 | 0.145749 | 0.802356 | 0.7788 | 0.773647 | 0.763342 | 0.763342 | 0.749356 | 0 | 0.018294 | 0.238598 | 4,451 | 104 | 119 | 42.798077 | 0.783417 | 0 | 0 | 0.653061 | 0 | 0 | 0.239721 | 0.137048 | 0 | 0 | 0 | 0 | 0.163265 | 1 | 0 | false | 0 | 0.081633 | 0 | 0.091837 | 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 |
3db81911591cf7db62ea9a321497d44bb4cc2036 | 118 | py | Python | examples/rietveld/rietveld_helper/views.py | NaN-tic/django-gae2django | ea3bc1e8aa9e072bf93b131816e0d20e1795c999 | [
"Apache-2.0"
] | 3 | 2015-05-04T13:49:41.000Z | 2017-04-25T06:27:39.000Z | examples/rietveld/rietveld_helper/views.py | NaN-tic/django-gae2django | ea3bc1e8aa9e072bf93b131816e0d20e1795c999 | [
"Apache-2.0"
] | 1 | 2021-05-21T20:01:35.000Z | 2021-05-21T20:01:35.000Z | examples/rietveld/rietveld_helper/views.py | NaN-tic/django-gae2django | ea3bc1e8aa9e072bf93b131816e0d20e1795c999 | [
"Apache-2.0"
] | 2 | 2020-11-13T17:43:42.000Z | 2021-05-21T20:01:32.000Z | from django.http import HttpResponseRedirect
def admin_redirect(request):
return HttpResponseRedirect('/admin/')
| 23.6 | 44 | 0.805085 | 12 | 118 | 7.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 118 | 4 | 45 | 29.5 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 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 |
3ddbea75aa0c18cb6e05235979d67b9d5d5b30a2 | 81 | py | Python | accounts/admin_inlines.py | biotech2021/uniTicket | 8c441eac18e67a983e158326b1c4b82f00f1f1ef | [
"Apache-2.0"
] | 15 | 2019-09-06T06:47:08.000Z | 2022-01-17T06:39:54.000Z | accounts/admin_inlines.py | biotech2021/uniTicket | 8c441eac18e67a983e158326b1c4b82f00f1f1ef | [
"Apache-2.0"
] | 69 | 2019-09-06T12:03:19.000Z | 2022-03-26T14:30:53.000Z | accounts/admin_inlines.py | biotech2021/uniTicket | 8c441eac18e67a983e158326b1c4b82f00f1f1ef | [
"Apache-2.0"
] | 13 | 2019-09-11T10:54:20.000Z | 2021-11-23T09:09:19.000Z | from django import forms
from django.contrib import admin
from .models import *
| 16.2 | 32 | 0.802469 | 12 | 81 | 5.416667 | 0.583333 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 4 | 33 | 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 |
9a780bff9e57996d58fffbbf3bd5e95b123ddaca | 615 | py | Python | biz/t9.py | relax-space/python-learning | 22987e20a4b0a741e1c5ed8603a952a0fc8dd4bd | [
"Apache-2.0"
] | null | null | null | biz/t9.py | relax-space/python-learning | 22987e20a4b0a741e1c5ed8603a952a0fc8dd4bd | [
"Apache-2.0"
] | null | null | null | biz/t9.py | relax-space/python-learning | 22987e20a4b0a741e1c5ed8603a952a0fc8dd4bd | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture()
def a1(tmp_path_factory, worker_id):
return 11
# @pytest.mark.parametrize('common_arg1', [{}])
class TestParametrized:
@pytest.mark.parametrize(('a','b'), [{0:[1],1:[22]}],ids=['12','23'])
def test_1(self, a1, a,b):
print(a1)
pass
# @pytest.mark.par... | 21.206897 | 73 | 0.560976 | 84 | 615 | 3.952381 | 0.416667 | 0.210843 | 0.253012 | 0.150602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073913 | 0.252033 | 615 | 28 | 74 | 21.964286 | 0.647826 | 0.489431 | 0 | 0 | 0 | 0 | 0.019868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.111111 | 0.555556 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
9aa0cd2ac436f5c595fac6dd4b232f01a919c0bb | 26 | py | Python | build/lib/ajaira/__init__.py | amitrm/ajaira | aca6b4970cc134480f0e0b9b313dccb86558b738 | [
"MIT"
] | null | null | null | build/lib/ajaira/__init__.py | amitrm/ajaira | aca6b4970cc134480f0e0b9b313dccb86558b738 | [
"MIT"
] | null | null | null | build/lib/ajaira/__init__.py | amitrm/ajaira | aca6b4970cc134480f0e0b9b313dccb86558b738 | [
"MIT"
] | null | null | null | from ajaira.jinis import * | 26 | 26 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9aa695b63f4986f611994222d09b78d25bf4ca16 | 114 | py | Python | python/speak/goodbye.py | kyle-cook/templates | f1047a8c31a42507acbd7a27e66db0825be811a6 | [
"MIT"
] | null | null | null | python/speak/goodbye.py | kyle-cook/templates | f1047a8c31a42507acbd7a27e66db0825be811a6 | [
"MIT"
] | null | null | null | python/speak/goodbye.py | kyle-cook/templates | f1047a8c31a42507acbd7a27e66db0825be811a6 | [
"MIT"
] | null | null | null | def goodbyeworld():
""" Prints Goodbye World! to the STDOUT screen buffer """
return "Goodbye World!"
| 28.5 | 61 | 0.649123 | 13 | 114 | 5.692308 | 0.846154 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 114 | 4 | 62 | 28.5 | 0.850575 | 0.429825 | 0 | 0 | 0 | 0 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9ac2c5d0c20d5fbe9178b654996a021b76f88a41 | 13,612 | py | Python | tests/test_priors.py | RobinAlgayres/beer | 15ad0dad5a49f98e658e948724e05df347ffe3b8 | [
"MIT"
] | 46 | 2018-02-27T18:15:08.000Z | 2022-02-16T22:10:55.000Z | tests/test_priors.py | RobinAlgayres/beer | 15ad0dad5a49f98e658e948724e05df347ffe3b8 | [
"MIT"
] | 16 | 2018-01-26T14:18:51.000Z | 2021-02-05T09:34:00.000Z | tests/test_priors.py | RobinAlgayres/beer | 15ad0dad5a49f98e658e948724e05df347ffe3b8 | [
"MIT"
] | 26 | 2018-03-12T14:03:26.000Z | 2021-05-24T21:15:01.000Z | 'Test the priors package.'
import sys
sys.path.insert(0, './')
sys.path.insert(0, './tests')
import unittest
import torch
import beer
from basetest import BaseTest
class BaseTestPrior(BaseTest):
def test_exp_sufficient_statistics(self):
stats1 = self.prior.expected_sufficient_statistics()
copie... | 42.273292 | 89 | 0.580223 | 1,339 | 13,612 | 5.790889 | 0.071695 | 0.080088 | 0.049523 | 0.061904 | 0.813903 | 0.803585 | 0.798942 | 0.763348 | 0.727753 | 0.704282 | 0 | 0.00818 | 0.209668 | 13,612 | 321 | 90 | 42.404984 | 0.712586 | 0.01484 | 0 | 0.626667 | 0 | 0 | 0.022278 | 0.013851 | 0 | 0 | 0 | 0 | 0.186667 | 1 | 0.137778 | false | 0 | 0.022222 | 0 | 0.208889 | 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 |
9ae0ad7d8e5c931eee5b2d6ddc09b58506666f70 | 173 | py | Python | algorithm/__init__.py | zzhmark/insitu | 6b0f51e9b92601ca80b94b4c1c6b82655fd1b68a | [
"MIT"
] | 1 | 2020-09-07T08:28:56.000Z | 2020-09-07T08:28:56.000Z | algorithm/__init__.py | zzhmark/insitu | 6b0f51e9b92601ca80b94b4c1c6b82655fd1b68a | [
"MIT"
] | null | null | null | algorithm/__init__.py | zzhmark/insitu | 6b0f51e9b92601ca80b94b4c1c6b82655fd1b68a | [
"MIT"
] | null | null | null | from .batch import batch_apply
from .preprocessing import extract, register
from .GMM import global_gmm, local_gmm
from .scoring import global_gmm_compare, local_gmm_compare | 43.25 | 58 | 0.855491 | 26 | 173 | 5.423077 | 0.461538 | 0.170213 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 173 | 4 | 58 | 43.25 | 0.909677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ae6c715427b06f449d9a8409cc86e92e851bb7e | 36 | py | Python | src/linkstation/__init__.py | iKaew/linkstation | 098e145a00c447bb4cf480b60645ae383136c3d9 | [
"MIT"
] | null | null | null | src/linkstation/__init__.py | iKaew/linkstation | 098e145a00c447bb4cf480b60645ae383136c3d9 | [
"MIT"
] | null | null | null | src/linkstation/__init__.py | iKaew/linkstation | 098e145a00c447bb4cf480b60645ae383136c3d9 | [
"MIT"
] | null | null | null | from .linkstation import LinkStation | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 |
9aed91d742e76d2c41e4a10555e49d79b6f2f884 | 10,800 | py | Python | tests/test_core/test_core.py | TomVollerthun1337/logsmith | f2ecab4dea295d5493a9a3e77a2837b13fa139e5 | [
"Apache-2.0"
] | 19 | 2020-01-18T00:25:43.000Z | 2022-03-14T07:39:08.000Z | tests/test_core/test_core.py | TomVollerthun1337/logsmith | f2ecab4dea295d5493a9a3e77a2837b13fa139e5 | [
"Apache-2.0"
] | 85 | 2020-01-21T12:13:56.000Z | 2022-03-31T04:01:03.000Z | tests/test_core/test_core.py | TomVollerthun1337/logsmith | f2ecab4dea295d5493a9a3e77a2837b13fa139e5 | [
"Apache-2.0"
] | 2 | 2020-06-25T06:15:19.000Z | 2021-02-15T18:17:38.000Z | from unittest import TestCase, mock
from unittest.mock import call, Mock
from app.core.config import Config
from app.core.result import Result
from app.core.core import Core
from tests.test_data.test_accounts import get_test_accounts
from tests.test_data.test_results import get_success_result, get_error_result, get_fa... | 42.687747 | 111 | 0.718796 | 1,365 | 10,800 | 5.331136 | 0.065201 | 0.101003 | 0.067885 | 0.041775 | 0.84664 | 0.803078 | 0.791123 | 0.772021 | 0.760066 | 0.730521 | 0 | 0.007024 | 0.182685 | 10,800 | 252 | 112 | 42.857143 | 0.817379 | 0 | 0 | 0.587302 | 0 | 0 | 0.067778 | 0.033333 | 0 | 0 | 0 | 0 | 0.248677 | 1 | 0.089947 | false | 0 | 0.037037 | 0 | 0.132275 | 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 |
b10c673c60ab16d18a47df85e8a0518a30dea1bb | 11,931 | py | Python | apis/nb/clients/identity_manager_client/V2ScalablegroupApi.py | CiscoDevNet/APIC-EM-Generic-Scripts- | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 45 | 2016-06-09T15:41:25.000Z | 2019-08-06T17:13:11.000Z | apis/nb/clients/identity_manager_client/V2ScalablegroupApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2016-06-12T03:03:56.000Z | 2017-03-13T18:20:11.000Z | apis/nb/clients/identity_manager_client/V2ScalablegroupApi.py | CiscoDevNet/APIC-EM-Generic-Scripts | 74211d9488f1e77cf56ef86dba20ec8e8eb49cc1 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2016-06-22T03:51:37.000Z | 2019-07-10T10:06:02.000Z | #!/usr/bin/env python
#pylint: skip-file
# This source code is licensed under the Apache license found in the
# LICENSE file in the root directory of this project.
import sys
import os
import urllib.request, urllib.parse, urllib.error
from .models import *
class V2ScalablegroupApi(object):
def __init__(self, ... | 25.277542 | 116 | 0.526025 | 945 | 11,931 | 6.637037 | 0.142857 | 0.045599 | 0.049426 | 0.020089 | 0.781091 | 0.781091 | 0.781091 | 0.776626 | 0.776626 | 0.776626 | 0 | 0.001215 | 0.379013 | 11,931 | 471 | 117 | 25.33121 | 0.845323 | 0.100159 | 0 | 0.816425 | 0 | 0 | 0.144871 | 0.016738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038647 | false | 0 | 0.019324 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49082ded2358d451f3a446c6629c4569ee6c21fc | 33 | py | Python | utils/parsers/__init__.py | jvsn19/tcc | 8ca9434deb50903ef23e712a079ed159dd7c28b6 | [
"MIT"
] | null | null | null | utils/parsers/__init__.py | jvsn19/tcc | 8ca9434deb50903ef23e712a079ed159dd7c28b6 | [
"MIT"
] | 1 | 2021-02-25T22:37:49.000Z | 2021-02-25T22:37:49.000Z | utils/parsers/__init__.py | jvsn19/tcc | 8ca9434deb50903ef23e712a079ed159dd7c28b6 | [
"MIT"
] | null | null | null | from .TCCParser import TCCParser
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49197d58f50419a076f1129a8ab1be883c2698d6 | 42 | py | Python | runtime/musl-lkl/apps/python/helloworld.py | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 11 | 2022-02-05T12:12:43.000Z | 2022-03-08T08:09:08.000Z | runtime/musl-lkl/apps/python/helloworld.py | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | null | null | null | runtime/musl-lkl/apps/python/helloworld.py | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 1 | 2022-02-22T20:32:22.000Z | 2022-02-22T20:32:22.000Z | print("Hello world from CHERI python\n");
| 21 | 41 | 0.738095 | 7 | 42 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.738095 | 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 |
4953c7d4287407342e1c774902be0cc3504df9b9 | 26 | py | Python | models/__init__.py | bolero2/vggnet-torch | 912046be3f0581e0217c2cf5b596e6318aad241b | [
"Apache-2.0"
] | 2 | 2021-04-23T03:49:30.000Z | 2021-04-23T03:49:33.000Z | models/__init__.py | bolero2/vggnet-torch | 912046be3f0581e0217c2cf5b596e6318aad241b | [
"Apache-2.0"
] | null | null | null | models/__init__.py | bolero2/vggnet-torch | 912046be3f0581e0217c2cf5b596e6318aad241b | [
"Apache-2.0"
] | null | null | null | from .models import VGGNet | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4967a3e2a09b3fe98ed0fc8d035d3e866c664dc5 | 70 | py | Python | continual_learning/methods/task_incremental/multi_task/gg/super_mask_pruning/base/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/methods/task_incremental/multi_task/gg/super_mask_pruning/base/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | continual_learning/methods/task_incremental/multi_task/gg/super_mask_pruning/base/__init__.py | jaryP/ContinualAI | 7d9b7614066d219ebd72049692da23ad6ec132b0 | [
"MIT"
] | null | null | null | from .distributions import *
from .layer import *
from .utils import * | 23.333333 | 28 | 0.757143 | 9 | 70 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 29 | 23.333333 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
498d46e1852df10e7f414e05b90a9d8080e31f36 | 99 | py | Python | override/__main__.py | davidhyman/override | e34bd3c8676233439de5c002367b3bff5c1b88d6 | [
"MIT"
] | null | null | null | override/__main__.py | davidhyman/override | e34bd3c8676233439de5c002367b3bff5c1b88d6 | [
"MIT"
] | 1 | 2017-07-11T22:03:27.000Z | 2017-07-11T22:03:27.000Z | override/__main__.py | davidhyman/override | e34bd3c8676233439de5c002367b3bff5c1b88d6 | [
"MIT"
] | null | null | null | from override.cli import init_from_command
if __name__ == '__main__':
init_from_command()
| 19.8 | 43 | 0.737374 | 13 | 99 | 4.692308 | 0.692308 | 0.262295 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 4 | 44 | 24.75 | 0.753086 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
77053c923f7a5dc49b4a3bfa5219f2cbffa44bce | 178 | py | Python | virl/generators/__init__.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 12 | 2018-03-27T14:02:22.000Z | 2018-06-07T16:19:38.000Z | virl/generators/__init__.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 29 | 2017-12-14T16:38:12.000Z | 2018-08-19T18:41:06.000Z | virl/generators/__init__.py | gve-vse-tim/virlutils | 64687229ea8763509aca54b63144b61037e5228f | [
"MIT"
] | 7 | 2018-03-02T15:42:22.000Z | 2020-04-20T11:25:32.000Z | from .pyats_testbed import pyats_testbed_generator # noqa
from .ansible_inventory import ansible_inventory_generator # noqa
from .nso_payload import nso_payload_generator # noqa
| 44.5 | 65 | 0.865169 | 24 | 178 | 6.041667 | 0.416667 | 0.268966 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 178 | 3 | 66 | 59.333333 | 0.90625 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
773cfab9368b9d43a339a35fda07e8f99d190375 | 42,300 | py | Python | pybind/slxos/v17r_2_00/isis_state/interface_detail/isis_intf/circ_metrics/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/isis_state/interface_detail/isis_intf/circ_metrics/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/isis_state/interface_detail/isis_intf/circ_metrics/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 70.265781 | 610 | 0.725839 | 5,692 | 42,300 | 5.123858 | 0.038651 | 0.040459 | 0.081468 | 0.050883 | 0.886096 | 0.860175 | 0.840665 | 0.83103 | 0.821944 | 0.816595 | 0 | 0.016329 | 0.14435 | 42,300 | 601 | 611 | 70.382696 | 0.789468 | 0.182057 | 0 | 0.48494 | 0 | 0.039157 | 0.360276 | 0.189733 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126506 | false | 0 | 0.024096 | 0 | 0.262048 | 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 |
774192f08d5bb7ebb989858494927682c42cfedf | 3,802 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/ha/reload/iosxe/reload.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/ha/reload/iosxe/reload.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/ha/reload/iosxe/reload.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | '''IOSXE implementation for Reload triggers'''
# import ats
from ats import aetest
# Genie Libs
from genie.libs.sdk.triggers.ha.ha import \
TriggerReload as CommonReload, \
TriggerReloadLc
class TriggerReload(CommonReload):
@aetest.setup
def verify_prerequisite... | 28.162963 | 71 | 0.548659 | 370 | 3,802 | 5.610811 | 0.162162 | 0.072254 | 0.033719 | 0.04817 | 0.879576 | 0.879576 | 0.879576 | 0.879576 | 0.879576 | 0.879576 | 0 | 0 | 0.372173 | 3,802 | 135 | 72 | 28.162963 | 0.869711 | 0.449237 | 0 | 0.689655 | 0 | 0 | 0.184006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0.068966 | 0 | 0.413793 | 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 |
774d460a44b1fd2cd9d90a55b8b07a67072600b3 | 276 | py | Python | data-mining/cluster-analysis/assignment/clustering-data/python/evaluation.py | 4979/courses | dd9efa0a6b60cead833f36a6bfa518dd4fece17f | [
"Apache-2.0"
] | null | null | null | data-mining/cluster-analysis/assignment/clustering-data/python/evaluation.py | 4979/courses | dd9efa0a6b60cead833f36a6bfa518dd4fece17f | [
"Apache-2.0"
] | null | null | null | data-mining/cluster-analysis/assignment/clustering-data/python/evaluation.py | 4979/courses | dd9efa0a6b60cead833f36a6bfa518dd4fece17f | [
"Apache-2.0"
] | null | null | null | from math import log, sqrt
def purity(groundtruthAssignment, algorithmAssignment):
purity = 0
# TODO
# Compute the purity
return purity
def NMI(groundtruthAssignment, algorithmAssignment):
NMI = 0
# TODO
# Compute the NMI
return NMI
| 15.333333 | 56 | 0.67029 | 29 | 276 | 6.37931 | 0.517241 | 0.432432 | 0.12973 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.275362 | 276 | 17 | 57 | 16.235294 | 0.915 | 0.17029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
775bc3bb5cf03f67a9509200927ca3defa6a2451 | 11,302 | py | Python | leap/datasets/sim_dataset.py | weirayao/leap | 8d10b8413d02d3be49d5c02a13a0aa60a741d8da | [
"MIT"
] | 7 | 2022-01-06T18:37:57.000Z | 2022-03-20T17:11:30.000Z | leap/datasets/sim_dataset.py | weirayao/leap | 8d10b8413d02d3be49d5c02a13a0aa60a741d8da | [
"MIT"
] | null | null | null | leap/datasets/sim_dataset.py | weirayao/leap | 8d10b8413d02d3be49d5c02a13a0aa60a741d8da | [
"MIT"
] | null | null | null | import os
import glob
import torch
import random
import numpy as np
from torch.utils.data import Dataset
import ipdb as pdb
class SimulationDataset(Dataset):
def __init__(self, directory, transition="linear_nongaussian"):
super().__init__()
assert transition in ["linear_nongaussian", "post_non... | 41.098182 | 133 | 0.580871 | 1,507 | 11,302 | 4.096881 | 0.088918 | 0.088111 | 0.092971 | 0.099125 | 0.843213 | 0.810334 | 0.786524 | 0.77713 | 0.728377 | 0.717687 | 0 | 0.01467 | 0.246063 | 11,302 | 275 | 134 | 41.098182 | 0.709893 | 0.017077 | 0 | 0.662222 | 0 | 0 | 0.132126 | 0.058813 | 0 | 0 | 0 | 0 | 0.031111 | 1 | 0.128889 | false | 0 | 0.031111 | 0.04 | 0.288889 | 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 |
6200e1b1ca6a347279d51d109eef180ba174fd5b | 90 | py | Python | src/__init__.py | HaritzPuerto/Entity_Extractor | 30abbbbb45eb2cbdc836ee00dd4e38137ef653a0 | [
"Apache-2.0"
] | 2 | 2022-03-14T12:46:06.000Z | 2022-03-31T09:14:56.000Z | src/__init__.py | HaritzPuerto/Entity_Extractor | 30abbbbb45eb2cbdc836ee00dd4e38137ef653a0 | [
"Apache-2.0"
] | 1 | 2022-03-20T14:18:04.000Z | 2022-03-20T14:18:04.000Z | src/__init__.py | HaritzPuerto/Entity_Extractor | 30abbbbb45eb2cbdc836ee00dd4e38137ef653a0 | [
"Apache-2.0"
] | null | null | null | from .SRL import SRL_model
from .NER import Entity_model
from .Flair_NER import Flair_NER
| 22.5 | 32 | 0.833333 | 16 | 90 | 4.4375 | 0.4375 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 3 | 33 | 30 | 0.910256 | 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 |
6217e3d9ff366fbd5edc0aa942ec7886403f289c | 49 | py | Python | 201801/t3.py | xyFryan/python3 | 9c9b2e6be4e27fa7f78bb2b1c4c3146d3c174741 | [
"MIT"
] | null | null | null | 201801/t3.py | xyFryan/python3 | 9c9b2e6be4e27fa7f78bb2b1c4c3146d3c174741 | [
"MIT"
] | null | null | null | 201801/t3.py | xyFryan/python3 | 9c9b2e6be4e27fa7f78bb2b1c4c3146d3c174741 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import test
test.print_test(); | 16.333333 | 18 | 0.755102 | 8 | 49 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.061224 | 49 | 3 | 19 | 16.333333 | 0.76087 | 0.346939 | 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 |
62270c545d771421ce9c6674abf357cbcd9be1a9 | 28 | py | Python | server/__init__.py | Jugbot/AWS-Mechanical-Turk-Audio-Classification | a65c8f258b6a8fd8dc55c75c688b08eb51907c60 | [
"MIT"
] | 1 | 2019-04-05T16:26:51.000Z | 2019-04-05T16:26:51.000Z | server/__init__.py | Jugbot/AWS-Mechanical-Turk-Audio-Classification | a65c8f258b6a8fd8dc55c75c688b08eb51907c60 | [
"MIT"
] | null | null | null | server/__init__.py | Jugbot/AWS-Mechanical-Turk-Audio-Classification | a65c8f258b6a8fd8dc55c75c688b08eb51907c60 | [
"MIT"
] | null | null | null | from server.main import app
| 14 | 27 | 0.821429 | 5 | 28 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6230323b42853ba1481e85e248e497f79da3fe56 | 258 | py | Python | src/domain/system.py | gmdlba/simulation | d47b58417bf7380f2bbf552275f9b3e51253e1a5 | [
"MIT"
] | null | null | null | src/domain/system.py | gmdlba/simulation | d47b58417bf7380f2bbf552275f9b3e51253e1a5 | [
"MIT"
] | null | null | null | src/domain/system.py | gmdlba/simulation | d47b58417bf7380f2bbf552275f9b3e51253e1a5 | [
"MIT"
] | null | null | null | class System_Status():
def __init__(self, plant_state=None):
if plant_state is None:
plant_state = [1, 1, 1]
self.plant_state = plant_state
def __str__(self):
return f"El estado de la planta es {self.plant_state}" | 32.25 | 62 | 0.631783 | 38 | 258 | 3.894737 | 0.552632 | 0.405405 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016043 | 0.275194 | 258 | 8 | 62 | 32.25 | 0.775401 | 0 | 0 | 0 | 0 | 0 | 0.169884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
624eaff1c656c15da5c07040c0e7ff8f095597be | 2,722 | py | Python | dl/models/vgg/vgg.py | jjjkkkjjj/pytorch.dl | d82aa1191c14f328c62de85e391ac6fa1b4c7ee3 | [
"MIT"
] | 2 | 2021-02-06T22:40:13.000Z | 2021-03-26T09:15:34.000Z | dl/models/vgg/vgg.py | jjjkkkjjj/pytorch.dl | d82aa1191c14f328c62de85e391ac6fa1b4c7ee3 | [
"MIT"
] | 8 | 2020-07-11T07:10:51.000Z | 2022-03-12T00:39:03.000Z | dl/models/vgg/vgg.py | jjjkkkjjj/pytorch.dl | d82aa1191c14f328c62de85e391ac6fa1b4c7ee3 | [
"MIT"
] | 2 | 2021-03-26T09:19:42.000Z | 2021-07-27T02:38:09.000Z | from torch import nn
from ...models.vgg.base import VGGBase
from ..layers import Conv2d
from collections import OrderedDict
"""
https://stackoverflow.com/questions/55140554/convolutional-encoder-error-runtimeerror-input-and-target-shapes-do-not-matc/55143487#55143487
Here is the formula;
N --> Input Size, F --> Filte... | 29.912088 | 139 | 0.6205 | 339 | 2,722 | 4.734513 | 0.238938 | 0.137072 | 0.249221 | 0.04486 | 0.739564 | 0.739564 | 0.739564 | 0.739564 | 0.709034 | 0.709034 | 0 | 0.10292 | 0.23255 | 2,722 | 90 | 140 | 30.244444 | 0.66539 | 0 | 0 | 0.625 | 0 | 0 | 0.019896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
658f841c46696234266c0bbf55da63fdc81b7dff | 122 | py | Python | subdomains/admin.py | sjy5386/subshorts | d8170ee4a66989c3e852f86aa83bab6341e3aa10 | [
"MIT"
] | 3 | 2022-03-08T19:02:41.000Z | 2022-03-16T23:04:37.000Z | subdomains/admin.py | sjy5386/subshorts | d8170ee4a66989c3e852f86aa83bab6341e3aa10 | [
"MIT"
] | 5 | 2022-03-17T02:16:52.000Z | 2022-03-18T02:55:25.000Z | subdomains/admin.py | sjy5386/subshorts | d8170ee4a66989c3e852f86aa83bab6341e3aa10 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Subdomain)
admin.site.register(ReservedName)
| 17.428571 | 33 | 0.811475 | 16 | 122 | 6.1875 | 0.625 | 0.222222 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 6 | 34 | 20.333333 | 0.9 | 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 |
65edf682b39992b397ab3a02ee656721d844a71d | 191 | py | Python | pytorch_mask_rcnn/datasets/__init__.py | JinchengHeRyan/STATS402_Final_MaskRcnn | c8103751008afb2f969c7e321a7e843a50c0f681 | [
"MIT"
] | null | null | null | pytorch_mask_rcnn/datasets/__init__.py | JinchengHeRyan/STATS402_Final_MaskRcnn | c8103751008afb2f969c7e321a7e843a50c0f681 | [
"MIT"
] | null | null | null | pytorch_mask_rcnn/datasets/__init__.py | JinchengHeRyan/STATS402_Final_MaskRcnn | c8103751008afb2f969c7e321a7e843a50c0f681 | [
"MIT"
] | null | null | null | from .utils import *
try:
from .coco_eval import CocoEvaluator, prepare_for_coco
except ImportError:
pass
try:
from .dali import DALICOCODataLoader
except ImportError:
pass
| 15.916667 | 58 | 0.748691 | 23 | 191 | 6.086957 | 0.608696 | 0.1 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204188 | 191 | 11 | 59 | 17.363636 | 0.921053 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.222222 | 0.555556 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
02945d19eebbe4dd9cc640f7077e8d492e5632ed | 48 | py | Python | pyglobe3d/core/icosalogic/__init__.py | ka-tet19/pyglobelib | d62f7636f5f971b897eba8fcf787fabb5ed181f1 | [
"BSD-3-Clause"
] | null | null | null | pyglobe3d/core/icosalogic/__init__.py | ka-tet19/pyglobelib | d62f7636f5f971b897eba8fcf787fabb5ed181f1 | [
"BSD-3-Clause"
] | null | null | null | pyglobe3d/core/icosalogic/__init__.py | ka-tet19/pyglobelib | d62f7636f5f971b897eba8fcf787fabb5ed181f1 | [
"BSD-3-Clause"
] | null | null | null | from pyglobe3d.core.icosalogic.mesh import Mesh
| 24 | 47 | 0.854167 | 7 | 48 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.083333 | 48 | 1 | 48 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02b0b575523bd9ae71f87863129e7a6af9f09c87 | 4,419 | py | Python | tests/test_rewards.py | GeorgianBadita/Dronem-gym-envirnoment | f3b488f6a4b55722c4b129051555a68d7775278c | [
"MIT"
] | 5 | 2020-06-13T10:43:42.000Z | 2022-01-25T10:37:32.000Z | tests/test_rewards.py | GeorgianBadita/Dronem-gym-envirnoment | f3b488f6a4b55722c4b129051555a68d7775278c | [
"MIT"
] | null | null | null | tests/test_rewards.py | GeorgianBadita/Dronem-gym-envirnoment | f3b488f6a4b55722c4b129051555a68d7775278c | [
"MIT"
] | null | null | null | """
@author: Badita Marin-Georgian
@email: geo.badita@gmail.com
@date: 24.03.2020 23:44
"""
from env_interpretation import State, settings
from env_interpretation.reward_utils import OneMinusOneRewardGiverAllowIllegal
from env_interpretation.utils import n_from_prod
def test_one_minus_one_reward_bad_... | 40.916667 | 126 | 0.649695 | 580 | 4,419 | 4.586207 | 0.131034 | 0.105263 | 0.057519 | 0.071053 | 0.872556 | 0.860902 | 0.860902 | 0.860902 | 0.807519 | 0.807519 | 0 | 0.053092 | 0.224259 | 4,419 | 107 | 127 | 41.299065 | 0.72287 | 0.056574 | 0 | 0.697368 | 0 | 0 | 0.078909 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 1 | 0.052632 | false | 0 | 0.039474 | 0 | 0.092105 | 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 |
02d0cb10c454325e6ea54791f5698f384b461991 | 186 | py | Python | env/gym_nav/envs/__init__.py | liuandrew/training-rl-algo | ca56d65209de0bf88ac1e1db2269bb7daac4da47 | [
"MIT"
] | null | null | null | env/gym_nav/envs/__init__.py | liuandrew/training-rl-algo | ca56d65209de0bf88ac1e1db2269bb7daac4da47 | [
"MIT"
] | null | null | null | env/gym_nav/envs/__init__.py | liuandrew/training-rl-algo | ca56d65209de0bf88ac1e1db2269bb7daac4da47 | [
"MIT"
] | null | null | null | from gym_nav.envs.nav_env import NavEnv
from gym_nav.envs.nav_env_flat import NavEnvFlat
from gym_nav.envs.morris_env import MorrisNav
from gym_nav.envs.gridworld_env import GridworldNav | 46.5 | 51 | 0.876344 | 33 | 186 | 4.666667 | 0.393939 | 0.181818 | 0.25974 | 0.363636 | 0.25974 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 186 | 4 | 51 | 46.5 | 0.900585 | 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 |
02e53fadc815c7b93be7c8aadcc291f00ebcd0a7 | 1,041 | py | Python | Lab/Project2/15/cubes.py | doubleliao/PyCrashCourse | d6a0b62f3b8ea9fee5efde9edd9006ca3961be25 | [
"MIT"
] | null | null | null | Lab/Project2/15/cubes.py | doubleliao/PyCrashCourse | d6a0b62f3b8ea9fee5efde9edd9006ca3961be25 | [
"MIT"
] | null | null | null | Lab/Project2/15/cubes.py | doubleliao/PyCrashCourse | d6a0b62f3b8ea9fee5efde9edd9006ca3961be25 | [
"MIT"
] | null | null | null | """
15-1. Cubes: A number raised to the third power is a cube. Plot the first five
cubic numbers, and then plot the first 5000 cubic numbers.
"""
import matplotlib.pyplot as plt
x_s = range(1, 6)
y_s = [x**3 for x in x_s]
plt.style.use('seaborn')
fig, ax = plt.subplots()
ax.scatter(x_s, y_s, edgecolor='red', s=40)
... | 24.209302 | 78 | 0.708934 | 195 | 1,041 | 3.692308 | 0.353846 | 0.016667 | 0.083333 | 0.066667 | 0.752778 | 0.752778 | 0.752778 | 0.752778 | 0.752778 | 0.655556 | 0 | 0.060403 | 0.14121 | 1,041 | 43 | 79 | 24.209302 | 0.744966 | 0.269933 | 0 | 0.782609 | 0 | 0 | 0.121495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 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 |
f3231ec6848564972b88abca0761e8fdfb2e1e7a | 141 | py | Python | en/062/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/062/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/062/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | # Improve CHALLENGE 061 by asking the user if he wants to show some more terms. The program will exit when it says it wants to show 0 terms.
| 70.5 | 140 | 0.77305 | 28 | 141 | 3.892857 | 0.785714 | 0.12844 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.205674 | 141 | 1 | 141 | 141 | 0.9375 | 0.978723 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b835c2f17babd04b2aadc3e55adf33f090e6e815 | 13,218 | py | Python | tests/layers/test_recurrent_layers.py | FGDBTKD/neupy | 1f5e1ae9364e8c7816df79678a4648c689d2a5d1 | [
"MIT"
] | null | null | null | tests/layers/test_recurrent_layers.py | FGDBTKD/neupy | 1f5e1ae9364e8c7816df79678a4648c689d2a5d1 | [
"MIT"
] | null | null | null | tests/layers/test_recurrent_layers.py | FGDBTKD/neupy | 1f5e1ae9364e8c7816df79678a4648c689d2a5d1 | [
"MIT"
] | null | null | null | import numpy as np
from sklearn.model_selection import train_test_split
from neupy.exceptions import LayerConnectionError
from neupy.datasets import reber
from neupy import layers, algorithms, init
from base import BaseTestCase
def add_padding(data):
n_sampels = len(data)
max_seq_length = max(map(len, data)... | 33.979434 | 74 | 0.599183 | 1,594 | 13,218 | 4.719573 | 0.09724 | 0.023262 | 0.027914 | 0.030706 | 0.910408 | 0.896052 | 0.868404 | 0.836236 | 0.810714 | 0.788382 | 0 | 0.0262 | 0.29543 | 13,218 | 388 | 75 | 34.06701 | 0.781596 | 0.011197 | 0 | 0.621711 | 0 | 0 | 0.019905 | 0.001761 | 0 | 0 | 0 | 0 | 0.115132 | 1 | 0.098684 | false | 0 | 0.019737 | 0 | 0.134868 | 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 |
b885c62c90c7043f7b93c2fed73cd96a9a5b3e70 | 104 | py | Python | labext/prelude.py | binh-vu/ipywidgets_extra | 3ddf46445306b2aa158bf3f696ec33f8ddd499e7 | [
"MIT"
] | 3 | 2020-06-21T22:57:55.000Z | 2021-06-03T23:36:39.000Z | labext/prelude.py | binh-vu/ipywidgets_extra | 3ddf46445306b2aa158bf3f696ec33f8ddd499e7 | [
"MIT"
] | null | null | null | labext/prelude.py | binh-vu/ipywidgets_extra | 3ddf46445306b2aa158bf3f696ec33f8ddd499e7 | [
"MIT"
] | 1 | 2020-06-20T19:50:37.000Z | 2020-06-20T19:50:37.000Z | import labext.modules as M
import labext.widgets as W
import labext.apps as A
from labext.tag import Tag | 26 | 26 | 0.817308 | 20 | 104 | 4.25 | 0.55 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 4 | 27 | 26 | 0.955056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
b21f92eeaeb951819c01d10ed2515ea53ac09d75 | 34 | py | Python | tudo/ex001.py | Ramon-Erik/Exercicios-Python | 158a7f1846dd3d486aa0517fa337d46d73aab649 | [
"MIT"
] | 1 | 2021-07-08T00:35:57.000Z | 2021-07-08T00:35:57.000Z | tudo/ex001.py | Ramon-Erik/Exercicios-Python | 158a7f1846dd3d486aa0517fa337d46d73aab649 | [
"MIT"
] | null | null | null | tudo/ex001.py | Ramon-Erik/Exercicios-Python | 158a7f1846dd3d486aa0517fa337d46d73aab649 | [
"MIT"
] | null | null | null | print('Olá, mundo! Olá usuário!')
| 17 | 33 | 0.676471 | 5 | 34 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 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 |
b221778ec011db0189ab1af3f784b1474b34b6cb | 60 | py | Python | PBO/PBO_18142/Latihan_6.3parameter2.py | rosnialabania/PBO | 597c71d778483b97443a3944a03cea759771fecc | [
"MIT"
] | null | null | null | PBO/PBO_18142/Latihan_6.3parameter2.py | rosnialabania/PBO | 597c71d778483b97443a3944a03cea759771fecc | [
"MIT"
] | null | null | null | PBO/PBO_18142/Latihan_6.3parameter2.py | rosnialabania/PBO | 597c71d778483b97443a3944a03cea759771fecc | [
"MIT"
] | null | null | null | def hello(rosnia_labania):
print("hello {rosnia_labania}")
| 15 | 31 | 0.766667 | 8 | 60 | 5.5 | 0.625 | 0.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 60 | 3 | 32 | 20 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b243ed1a20a70fa0d6069e81221bb36a885f7d21 | 42 | py | Python | lib/dao/rdbms/__init__.py | the-constant/fammelody | 970fb3a4a5d5d0dffd19f22a8a75cbf226fd57c2 | [
"Apache-2.0"
] | null | null | null | lib/dao/rdbms/__init__.py | the-constant/fammelody | 970fb3a4a5d5d0dffd19f22a8a75cbf226fd57c2 | [
"Apache-2.0"
] | null | null | null | lib/dao/rdbms/__init__.py | the-constant/fammelody | 970fb3a4a5d5d0dffd19f22a8a75cbf226fd57c2 | [
"Apache-2.0"
] | null | null | null | from .legal import *
from .market import * | 21 | 21 | 0.738095 | 6 | 42 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 21 | 21 | 0.885714 | 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 |
a2707bc4d9ab391f8afe81038cbbb0dd668cd0bc | 221 | py | Python | dataduct/etl/__init__.py | hillsdale18/ProjectX | 4518d724eeb8ac73a6eae1d076d4846244e0944a | [
"Apache-2.0"
] | 3 | 2017-12-29T11:26:15.000Z | 2022-02-11T16:44:28.000Z | dataduct/etl/__init__.py | hillsdale18/ProjectX | 4518d724eeb8ac73a6eae1d076d4846244e0944a | [
"Apache-2.0"
] | 7 | 2017-09-21T23:25:24.000Z | 2021-03-29T21:46:45.000Z | dataduct/etl/__init__.py | recurly/dataduct | 29aec3526e170e5ad3b59a135780e72b69209f0b | [
"Apache-2.0"
] | 1 | 2020-05-12T08:54:38.000Z | 2020-05-12T08:54:38.000Z | from .etl_actions import activate_pipeline
from .etl_actions import create_pipeline
from .etl_actions import read_pipeline_definition
from .etl_actions import validate_pipeline
from .etl_actions import visualize_pipeline
| 36.833333 | 49 | 0.886878 | 31 | 221 | 5.967742 | 0.354839 | 0.189189 | 0.378378 | 0.540541 | 0.454054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090498 | 221 | 5 | 50 | 44.2 | 0.920398 | 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 |
a283da01f94b6cd141c889c9bc8fdabba19ea5e8 | 39 | py | Python | quiz_mill/__init__.py | eoas-ubc/quiz_mill | 922989244964e2147ecac9186bdafae8d8f91813 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | quiz_mill/__init__.py | eoas-ubc/quiz_mill | 922989244964e2147ecac9186bdafae8d8f91813 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | quiz_mill/__init__.py | eoas-ubc/quiz_mill | 922989244964e2147ecac9186bdafae8d8f91813 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-06-01T23:03:17.000Z | 2021-06-01T23:03:17.000Z | from .solve_layers import do_two_matrix | 39 | 39 | 0.897436 | 7 | 39 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 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 |
a2b7207bc1f4292b9acf62355ca2faac44b9dd87 | 16 | py | Python | test/login.py | hongren798911/xuexigit | a0925a222db9468333e3e91aa6b76423f01326b7 | [
"MIT"
] | null | null | null | test/login.py | hongren798911/xuexigit | a0925a222db9468333e3e91aa6b76423f01326b7 | [
"MIT"
] | null | null | null | test/login.py | hongren798911/xuexigit | a0925a222db9468333e3e91aa6b76423f01326b7 | [
"MIT"
] | null | null | null | a = 10
dev = 1
| 4 | 7 | 0.4375 | 4 | 16 | 1.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.4375 | 16 | 3 | 8 | 5.333333 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2c0e4d57badbdb14df6f2cb71bc2e477f8a177e | 112 | py | Python | PokerRL/rl/base_cls/workers/__init__.py | MAWUT0R/PokerRL | 95708a5f7a16cb151bc4253132bdfd22ea7a9b25 | [
"MIT"
] | 247 | 2019-06-20T16:41:36.000Z | 2022-03-28T11:40:12.000Z | PokerRL/rl/base_cls/workers/__init__.py | MAWUT0R/PokerRL | 95708a5f7a16cb151bc4253132bdfd22ea7a9b25 | [
"MIT"
] | 11 | 2019-08-23T09:20:31.000Z | 2021-12-05T23:44:27.000Z | PokerRL/rl/base_cls/workers/__init__.py | MAWUT0R/PokerRL | 95708a5f7a16cb151bc4253132bdfd22ea7a9b25 | [
"MIT"
] | 61 | 2019-06-17T06:06:11.000Z | 2022-03-01T17:55:44.000Z | from .ChiefBase import *
from .DriverBase import *
from .ParameterServerBase import *
from .WorkerBase import *
| 22.4 | 34 | 0.785714 | 12 | 112 | 7.333333 | 0.5 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 4 | 35 | 28 | 0.916667 | 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 |
a2c373f29ed31ee9058b99d7c574372addb8c851 | 33 | py | Python | goto_cloud/commander/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | 2 | 2018-02-04T23:22:17.000Z | 2019-04-15T12:06:04.000Z | goto_cloud/commander/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | goto_cloud/commander/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | from .commander import Commander
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2d32c6029cfe13c7fc37f21be0adfcdc61e5002 | 38 | py | Python | Ep. 1/gameengine/__init__.py | mandaw2014/gameengine_tutorial | 9a2edb85e7885b36e04fdb9132508a0c13b5a42b | [
"MIT"
] | null | null | null | Ep. 1/gameengine/__init__.py | mandaw2014/gameengine_tutorial | 9a2edb85e7885b36e04fdb9132508a0c13b5a42b | [
"MIT"
] | null | null | null | Ep. 1/gameengine/__init__.py | mandaw2014/gameengine_tutorial | 9a2edb85e7885b36e04fdb9132508a0c13b5a42b | [
"MIT"
] | null | null | null | from gameengine.main import GameEngine | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
a2f066ba35848bffc041b1d139b4f42d9a1b1d93 | 54 | py | Python | scripts/templates/fastApiCrud/partials/controller_init_property.py | sulthonzh/zaruba | ec9262f43da17d86330da2c593b7da451aabd60f | [
"Apache-2.0"
] | null | null | null | scripts/templates/fastApiCrud/partials/controller_init_property.py | sulthonzh/zaruba | ec9262f43da17d86330da2c593b7da451aabd60f | [
"Apache-2.0"
] | null | null | null | scripts/templates/fastApiCrud/partials/controller_init_property.py | sulthonzh/zaruba | ec9262f43da17d86330da2c593b7da451aabd60f | [
"Apache-2.0"
] | null | null | null | self.zaruba_entity_name_repo = zaruba_entity_name_repo | 54 | 54 | 0.925926 | 9 | 54 | 4.888889 | 0.555556 | 0.545455 | 0.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 54 | 1 | 54 | 54 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c2c76f272fe46dc5497b0937a3efe7982ce8d65 | 192 | py | Python | remind/admin.py | jscpeterson/reminders | f1ad78daff6314a697a32a0a52d5ac16aa54eeca | [
"FSFAP"
] | null | null | null | remind/admin.py | jscpeterson/reminders | f1ad78daff6314a697a32a0a52d5ac16aa54eeca | [
"FSFAP"
] | null | null | null | remind/admin.py | jscpeterson/reminders | f1ad78daff6314a697a32a0a52d5ac16aa54eeca | [
"FSFAP"
] | null | null | null | from django.contrib import admin
from cases.models import Case, Motion
from remind.models import Deadline
admin.site.register(Case)
admin.site.register(Deadline)
admin.site.register(Motion)
| 21.333333 | 37 | 0.822917 | 28 | 192 | 5.642857 | 0.464286 | 0.170886 | 0.322785 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 192 | 8 | 38 | 24 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
a75c2a14a99561b27bca85847bf349af8fad1f76 | 62 | py | Python | test_impall.py | rec/import_all | 2d864d016ce9b320521fcaa9f5206d5cbef19107 | [
"MIT"
] | 1 | 2019-05-26T15:09:32.000Z | 2019-05-26T15:09:32.000Z | test_impall.py | rec/import_all | 2d864d016ce9b320521fcaa9f5206d5cbef19107 | [
"MIT"
] | 12 | 2019-05-13T12:56:13.000Z | 2019-10-01T13:30:12.000Z | test_impall.py | rec/impall | 2d864d016ce9b320521fcaa9f5206d5cbef19107 | [
"MIT"
] | null | null | null | import impall
class ImpAllTest(impall.ImpAllTest):
pass
| 10.333333 | 36 | 0.758065 | 7 | 62 | 6.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 62 | 5 | 37 | 12.4 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a75d277fba51dec40450eb94f734ae3f79b9b574 | 10,509 | py | Python | lib/services/server/ncloud_server/__init__.py | KidongSohn/ncloud-sdk-py | 1c62471a9bd320d77164ed3193a0ebb9f64229ff | [
"MIT"
] | null | null | null | lib/services/server/ncloud_server/__init__.py | KidongSohn/ncloud-sdk-py | 1c62471a9bd320d77164ed3193a0ebb9f64229ff | [
"MIT"
] | null | null | null | lib/services/server/ncloud_server/__init__.py | KidongSohn/ncloud-sdk-py | 1c62471a9bd320d77164ed3193a0ebb9f64229ff | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
server
OpenAPI spec version: 2018-06-22T02:34:44Z
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sdk package
from ncloud_server.api.v2_api import V2Api
# import ApiClient
from nclou... | 80.838462 | 134 | 0.929013 | 1,220 | 10,509 | 7.571311 | 0.159016 | 0.119086 | 0.190538 | 0.243261 | 0.498863 | 0.47169 | 0.443651 | 0.323915 | 0.182743 | 0.073184 | 0 | 0.001798 | 0.047483 | 10,509 | 129 | 135 | 81.465116 | 0.920979 | 0.02103 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.027027 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7b77a219f5aefa517f37b7dd044873b918acf5c | 2,804 | py | Python | lib/status/commands/http_request.py | chrissimpkins/status | 4e76d751c537d42dd5603779cbe893551be2b89e | [
"MIT",
"Unlicense"
] | 2 | 2017-04-10T20:17:44.000Z | 2021-07-19T19:07:34.000Z | lib/status/commands/http_request.py | chrissimpkins/status | 4e76d751c537d42dd5603779cbe893551be2b89e | [
"MIT",
"Unlicense"
] | 1 | 2021-07-19T19:09:30.000Z | 2021-07-19T19:22:36.000Z | lib/status/commands/http_request.py | chrissimpkins/status | 4e76d751c537d42dd5603779cbe893551be2b89e | [
"MIT",
"Unlicense"
] | 4 | 2016-12-20T19:57:07.000Z | 2019-02-16T08:08:15.000Z | #!/usr/bin/env python
# encoding: utf-8
import sys
from Naked.toolshed.network import HTTP
from Naked.toolshed.system import exit_success
from Naked.toolshed.system import stderr
from requests.exceptions import ConnectionError
class Get:
def __init__(self, url):
self.url = url
def get_response(self):... | 35.948718 | 148 | 0.564551 | 356 | 2,804 | 4.359551 | 0.241573 | 0.034794 | 0.03866 | 0.065722 | 0.835052 | 0.752577 | 0.752577 | 0.752577 | 0.717784 | 0.717784 | 0 | 0.004852 | 0.338445 | 2,804 | 77 | 149 | 36.415584 | 0.831806 | 0.049215 | 0 | 0.677419 | 0 | 0.032258 | 0.191585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080645 | false | 0 | 0.080645 | 0 | 0.225806 | 0.064516 | 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 |
ac167b5b9c718ac4e9de726305e2afdc0ceccb9d | 208 | py | Python | flow_py_sdk/signer/__init__.py | nichandy/flow-py-sdk | 716c1690f38eeb78f479d1cf860b974cc6a53b04 | [
"MIT"
] | null | null | null | flow_py_sdk/signer/__init__.py | nichandy/flow-py-sdk | 716c1690f38eeb78f479d1cf860b974cc6a53b04 | [
"MIT"
] | null | null | null | flow_py_sdk/signer/__init__.py | nichandy/flow-py-sdk | 716c1690f38eeb78f479d1cf860b974cc6a53b04 | [
"MIT"
] | 1 | 2021-09-15T10:29:00.000Z | 2021-09-15T10:29:00.000Z | from flow_py_sdk.signer.hash_algo import HashAlgo
from flow_py_sdk.signer.sign_algo import SignAlgo
from flow_py_sdk.signer.signer import Signer
from flow_py_sdk.signer.in_memory_signer import InMemorySigner
| 41.6 | 62 | 0.884615 | 36 | 208 | 4.777778 | 0.388889 | 0.186047 | 0.232558 | 0.302326 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 208 | 4 | 63 | 52 | 0.895833 | 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 |
ac1b3e37b2c9396c347c1094b15d99fc28069ea5 | 164 | py | Python | pages/context_procesor.py | mahanfarzaneh2000/Freelara | 803cd0e75c5c03ee23ed6dea5202f3e6a7af4864 | [
"Apache-2.0"
] | null | null | null | pages/context_procesor.py | mahanfarzaneh2000/Freelara | 803cd0e75c5c03ee23ed6dea5202f3e6a7af4864 | [
"Apache-2.0"
] | null | null | null | pages/context_procesor.py | mahanfarzaneh2000/Freelara | 803cd0e75c5c03ee23ed6dea5202f3e6a7af4864 | [
"Apache-2.0"
] | 1 | 2021-04-11T09:59:54.000Z | 2021-04-11T09:59:54.000Z | import datetime
from gigs.models import Category
def context_procesor(request):
return{'year':datetime.datetime.now().year,'categories':Category.objects.all()} | 32.8 | 83 | 0.786585 | 21 | 164 | 6.095238 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079268 | 164 | 5 | 83 | 32.8 | 0.847682 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ac3208f3bf096fc7be1d65ea7a50e5473c75efb0 | 588 | py | Python | deedee_btc_data_process.py | justin-oxford/dee-dee-btc | 0d6c97a819d6de48d1c846e2859bc0c4a7a50ebe | [
"MIT"
] | null | null | null | deedee_btc_data_process.py | justin-oxford/dee-dee-btc | 0d6c97a819d6de48d1c846e2859bc0c4a7a50ebe | [
"MIT"
] | null | null | null | deedee_btc_data_process.py | justin-oxford/dee-dee-btc | 0d6c97a819d6de48d1c846e2859bc0c4a7a50ebe | [
"MIT"
] | null | null | null | #
#
#
#
#
#IMPORTS
# -------------------------------------------------------------------------------------------------
from imports import *
# -------------------------------------------------------------------------------------------------
#CONSTANTS
# ----------------------------------------------------... | 29.4 | 100 | 0.071429 | 6 | 588 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079932 | 588 | 19 | 101 | 30.947368 | 0.077634 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac363f5486b65cdfe26061696dc8ef0b2d5c6f69 | 96 | py | Python | venv/lib/python3.8/site-packages/future/moves/urllib/response.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/moves/urllib/response.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/moves/urllib/response.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/64/46/4c/2f41696c1fbe18878114fbd2cdbb65549e84b11e2d088e2a07b0fcb054 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac69f6987b01935cec09f2d1c2672f3dd8df321c | 63 | py | Python | graphein/molecule/features/__init__.py | avivko/graphein | 0a2d5e39787cf002c06b03615d9dd3fe62e0171d | [
"MIT"
] | null | null | null | graphein/molecule/features/__init__.py | avivko/graphein | 0a2d5e39787cf002c06b03615d9dd3fe62e0171d | [
"MIT"
] | null | null | null | graphein/molecule/features/__init__.py | avivko/graphein | 0a2d5e39787cf002c06b03615d9dd3fe62e0171d | [
"MIT"
] | null | null | null | from .edges import *
from .graph import *
from .nodes import *
| 15.75 | 20 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
ac7b0d91823debfe996e83f10eb2f5a264799d73 | 45 | py | Python | src/core/tests.py | resumme/resum.me | 7fe8fdad2a3d946ab15cc91e6c6ea00fdd99d495 | [
"MIT"
] | 10 | 2018-10-11T06:47:00.000Z | 2020-05-05T06:26:15.000Z | src/core/tests.py | resumme/resum.me | 7fe8fdad2a3d946ab15cc91e6c6ea00fdd99d495 | [
"MIT"
] | 22 | 2018-10-15T13:56:30.000Z | 2022-03-11T23:32:48.000Z | src/core/tests.py | resumme/resum.me | 7fe8fdad2a3d946ab15cc91e6c6ea00fdd99d495 | [
"MIT"
] | 5 | 2018-10-16T19:12:49.000Z | 2018-10-20T07:46:47.000Z | def test_test_are_working():
assert True
| 15 | 28 | 0.755556 | 7 | 45 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 29 | 22.5 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac81038d88b558206704ae267a617ac255c443e4 | 24,206 | py | Python | htcl_totals_test.py | NREL/scout | acf38df7ce877cbd8c1c10f4f61fdf1d088fd947 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | htcl_totals_test.py | NREL/scout | acf38df7ce877cbd8c1c10f4f61fdf1d088fd947 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | htcl_totals_test.py | NREL/scout | acf38df7ce877cbd8c1c10f4f61fdf1d088fd947 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
""" Tests for running the htcl_totals.py routine """
# Import code to be tested
import htcl_totals
# Import needed packages
import unittest
import itertools
class CommonMethods(object):
"""Define common methods for use in all tests below."""
def dict_check(self, dict1, dict2):
... | 51.392781 | 79 | 0.27456 | 1,793 | 24,206 | 3.682097 | 0.138873 | 0.139352 | 0.24947 | 0.277189 | 0.611936 | 0.607695 | 0.595274 | 0.595274 | 0.595274 | 0.595274 | 0 | 0.207644 | 0.57304 | 24,206 | 470 | 80 | 51.502128 | 0.431156 | 0.090267 | 0 | 0.858561 | 0 | 0 | 0.185314 | 0 | 0 | 0 | 0 | 0 | 0.007444 | 1 | 0.009926 | false | 0 | 0.007444 | 0 | 0.022333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bb507b77a6778e085bb52ca3348733be6a09dc2 | 7,405 | py | Python | jose/tests/test_content_encryption.py | bwhmather/jose | 8bf1f08afd5b4bd21f20bf86f3474afb671d8992 | [
"BSD-3-Clause"
] | null | null | null | jose/tests/test_content_encryption.py | bwhmather/jose | 8bf1f08afd5b4bd21f20bf86f3474afb671d8992 | [
"BSD-3-Clause"
] | null | null | null | jose/tests/test_content_encryption.py | bwhmather/jose | 8bf1f08afd5b4bd21f20bf86f3474afb671d8992 | [
"BSD-3-Clause"
] | null | null | null | import unittest
from jose.algorithms.content_encryption import (
A128CBC_HS256, A192CBC_HS384, A256CBC_HS512,
)
class AES_CBC_HMAC_SHA2_Base(unittest.TestCase):
def test_encrypt(self):
encrypter = self.algorithm(self.key)
ciphertext, auth_token = encrypter.encrypt(
self.plaintext... | 42.073864 | 75 | 0.636867 | 1,451 | 7,405 | 3.217781 | 0.189524 | 0.034697 | 0.017348 | 0.015421 | 0.508246 | 0.504391 | 0.487042 | 0.487042 | 0.487042 | 0.46948 | 0 | 0.310494 | 0.158406 | 7,405 | 175 | 76 | 42.314286 | 0.438703 | 0 | 0 | 0.430556 | 0 | 0.506944 | 0.651452 | 0.651452 | 0 | 1 | 0 | 0 | 0.020833 | 1 | 0.020833 | false | 0 | 0.013889 | 0.006944 | 0.215278 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bfada2366d53f055901db95b2e965098fc08271 | 35 | py | Python | src/pwbus_http/__init__.py | fszostak/pwbus-web | 1412ea9e7869f04fbfeccd212ac4f9ed28a6a17f | [
"MIT"
] | null | null | null | src/pwbus_http/__init__.py | fszostak/pwbus-web | 1412ea9e7869f04fbfeccd212ac4f9ed28a6a17f | [
"MIT"
] | 1 | 2021-04-16T00:43:09.000Z | 2021-04-16T00:43:09.000Z | src/pwbus_http/__init__.py | fszostak/pwbus-web | 1412ea9e7869f04fbfeccd212ac4f9ed28a6a17f | [
"MIT"
] | null | null | null | # __init__.py
from . import server
| 11.666667 | 20 | 0.742857 | 5 | 35 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 21 | 17.5 | 0.758621 | 0.314286 | 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 |
02238e7529201e6b8e5f434a65291956fc9af2a1 | 165 | py | Python | autogl/module/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | 824 | 2020-11-30T14:38:07.000Z | 2022-03-19T10:14:04.000Z | autogl/module/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | 38 | 2020-12-21T12:32:57.000Z | 2022-01-31T02:32:05.000Z | autogl/module/__init__.py | dedsec-9/AutoGL | 487f2b2f798b9b1363ad5dc100fb410b12222e06 | [
"MIT"
] | 85 | 2020-12-21T05:16:09.000Z | 2022-03-28T08:44:22.000Z | from . import feature, model, train, hpo, nas, ensemble
from .ensemble import *
from .feature import *
from .hpo import *
from .model import *
from .train import *
| 20.625 | 55 | 0.721212 | 23 | 165 | 5.173913 | 0.347826 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 165 | 7 | 56 | 23.571429 | 0.881481 | 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 |
65fd27df92475b5614da5ef867df169ec8ad55cd | 187 | py | Python | openapi_python_client/parser/__init__.py | Maistho/openapi-python-client | e123b966e8d31db173e09cabc8284a855d07e425 | [
"MIT"
] | 2 | 2020-10-15T07:25:50.000Z | 2021-09-14T21:29:08.000Z | openapi_python_client/parser/__init__.py | Maistho/openapi-python-client | e123b966e8d31db173e09cabc8284a855d07e425 | [
"MIT"
] | 79 | 2020-09-10T00:47:21.000Z | 2022-03-25T02:07:31.000Z | openapi_python_client/parser/__init__.py | Maistho/openapi-python-client | e123b966e8d31db173e09cabc8284a855d07e425 | [
"MIT"
] | 1 | 2020-11-03T00:11:57.000Z | 2020-11-03T00:11:57.000Z | """ Classes representing the data in the OpenAPI schema """
__all__ = ["GeneratorData", "import_string_from_reference"]
from .openapi import GeneratorData, import_string_from_reference
| 31.166667 | 64 | 0.802139 | 22 | 187 | 6.363636 | 0.590909 | 0.271429 | 0.357143 | 0.414286 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112299 | 187 | 5 | 65 | 37.4 | 0.843373 | 0.272727 | 0 | 0 | 0 | 0 | 0.320313 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5a00d7b477fcf498888514aef1011741f72965b5 | 33 | py | Python | virtual-check.py | ZachZemo/testing-pack | d769ff5242660da9311b23059e64da11d6e991d4 | [
"MIT"
] | null | null | null | virtual-check.py | ZachZemo/testing-pack | d769ff5242660da9311b23059e64da11d6e991d4 | [
"MIT"
] | null | null | null | virtual-check.py | ZachZemo/testing-pack | d769ff5242660da9311b23059e64da11d6e991d4 | [
"MIT"
] | null | null | null |
import example_pkg
print(1 + 1)
| 8.25 | 18 | 0.727273 | 6 | 33 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.181818 | 33 | 3 | 19 | 11 | 0.777778 | 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 |
5a180c482b4f52e795c9fd0bfc7efbe15a1b85f5 | 2,933 | py | Python | stock_portfolio/stock_portfolio/tests/test_models_stock.py | zarkle/pyramid-stocks | 493ad5a5b77e99dcff8e8234bf0616db1fbb4c98 | [
"MIT"
] | null | null | null | stock_portfolio/stock_portfolio/tests/test_models_stock.py | zarkle/pyramid-stocks | 493ad5a5b77e99dcff8e8234bf0616db1fbb4c98 | [
"MIT"
] | 4 | 2019-12-26T16:42:42.000Z | 2020-01-06T18:53:34.000Z | stock_portfolio/stock_portfolio/tests/test_models_stock.py | zarkle/pyramid-stocks | 493ad5a5b77e99dcff8e8234bf0616db1fbb4c98 | [
"MIT"
] | null | null | null | def test_stock_model(db_session):
"""test make a new stock"""
from ..models import Stock
assert len(db_session.query(Stock).all()) == 0
stock = Stock(
symbol="MU",
companyName="Micron Technology Inc.",
exchange="Nasdaq Global Select",
industry="Semiconductors",
w... | 36.209877 | 222 | 0.653256 | 371 | 2,933 | 5.072776 | 0.237197 | 0.086079 | 0.074389 | 0.100956 | 0.742827 | 0.742827 | 0.742827 | 0.742827 | 0.725824 | 0.706164 | 0 | 0.004874 | 0.230481 | 2,933 | 80 | 223 | 36.6625 | 0.828977 | 0.20866 | 0 | 0.764706 | 0 | 0.058824 | 0.393886 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 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 |
5a51ee89b9eeac5958eb7116447a51a5dd4f50ea | 99 | py | Python | Lesson4/matr.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | 2 | 2021-06-01T13:24:04.000Z | 2021-06-01T13:27:47.000Z | Lesson4/matr.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | Lesson4/matr.py | shinkai-tester/python_beginner | a934328c9a50241cc3f02a423060e16aab53b425 | [
"Apache-2.0"
] | null | null | null | for i in range(1, 10):
for j in range(1, 10):
print(i * j, end=' ')
print(end='\n') | 24.75 | 29 | 0.474747 | 19 | 99 | 2.473684 | 0.526316 | 0.297872 | 0.340426 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.313131 | 99 | 4 | 30 | 24.75 | 0.602941 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ce66428f0c80237f3197f503efa4975a2a382a26 | 170 | py | Python | esmonitor/views/index_view.py | cristianprice/pyesmonitor | df89968d7b2566a9e1c4afd89a1156a285580747 | [
"Apache-2.0"
] | null | null | null | esmonitor/views/index_view.py | cristianprice/pyesmonitor | df89968d7b2566a9e1c4afd89a1156a285580747 | [
"Apache-2.0"
] | null | null | null | esmonitor/views/index_view.py | cristianprice/pyesmonitor | df89968d7b2566a9e1c4afd89a1156a285580747 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
def index(request):
return render(request, 'esmonitor/index.html', {'none': 'none'})
| 24.285714 | 69 | 0.723529 | 21 | 170 | 5.857143 | 0.666667 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158824 | 170 | 6 | 70 | 28.333333 | 0.86014 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 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 |
ce9283e286495a9bef3f7f62965af7424b69d4aa | 10,370 | py | Python | gerenciador/anuncios/tests/test_views.py | diogo-alves/gerenciador_anuncios | fc62a818d803594ba0c31c755cbb83c165c1488f | [
"MIT"
] | null | null | null | gerenciador/anuncios/tests/test_views.py | diogo-alves/gerenciador_anuncios | fc62a818d803594ba0c31c755cbb83c165c1488f | [
"MIT"
] | null | null | null | gerenciador/anuncios/tests/test_views.py | diogo-alves/gerenciador_anuncios | fc62a818d803594ba0c31c755cbb83c165c1488f | [
"MIT"
] | null | null | null | from http import HTTPStatus
from django.urls import reverse
from django.test import TestCase
from ..models import Anuncio, Cliente
class ClienteCreateViewTests(TestCase):
def setUp(self):
self.url = reverse('anuncios:cliente_create')
def test_template_utilizado(self):
response = self.clien... | 35.272109 | 106 | 0.657184 | 1,160 | 10,370 | 5.725 | 0.091379 | 0.037946 | 0.070471 | 0.069568 | 0.868092 | 0.858907 | 0.841741 | 0.810119 | 0.772625 | 0.725493 | 0 | 0.024727 | 0.223915 | 10,370 | 293 | 107 | 35.392491 | 0.800447 | 0 | 0 | 0.674009 | 0 | 0 | 0.132015 | 0.072324 | 0 | 0 | 0 | 0 | 0.185022 | 1 | 0.193833 | false | 0 | 0.017621 | 0 | 0.255507 | 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 |
0c7675e739a8c7fe8730ae95cbbd459121a09f22 | 9,211 | py | Python | SR/model/UNetSR.py | AntonyYX/Super-Resolution | 9a5a55169b08849be39a42f0ee955feb60527fbf | [
"MIT"
] | null | null | null | SR/model/UNetSR.py | AntonyYX/Super-Resolution | 9a5a55169b08849be39a42f0ee955feb60527fbf | [
"MIT"
] | null | null | null | SR/model/UNetSR.py | AntonyYX/Super-Resolution | 9a5a55169b08849be39a42f0ee955feb60527fbf | [
"MIT"
] | 1 | 2021-10-02T11:03:49.000Z | 2021-10-02T11:03:49.000Z | """
@author: Huakun Shen, Abhishek Thakur
@reference: https://youtu.be/u1loyDCoGbE
"""
import torch
from torch import nn
from PIL import Image
from torch.nn.modules import padding
from torchvision import transforms
import torch.nn.functional as F
def double_convolution(in_c, out_c, ksize=3):
return nn.Sequential(... | 38.219917 | 107 | 0.625774 | 1,309 | 9,211 | 4.181054 | 0.126814 | 0.058286 | 0.079481 | 0.046592 | 0.789695 | 0.765028 | 0.748767 | 0.748767 | 0.748767 | 0.743651 | 0 | 0.083576 | 0.255673 | 9,211 | 240 | 108 | 38.379167 | 0.714702 | 0.196721 | 0 | 0.8 | 0 | 0 | 0.001109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.042857 | 0.007143 | 0.142857 | 0.007143 | 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 |
0cb50033cd8564760f4f1d546b7f76337d99cb3e | 115 | py | Python | nn/activation_functions.py | nemoNoboru/GEN0 | 715385f5f243db04c86e6737a8ee93c9af786078 | [
"MIT"
] | 1 | 2017-11-27T09:19:59.000Z | 2017-11-27T09:19:59.000Z | nn/activation_functions.py | nemoNoboru/GEN0 | 715385f5f243db04c86e6737a8ee93c9af786078 | [
"MIT"
] | null | null | null | nn/activation_functions.py | nemoNoboru/GEN0 | 715385f5f243db04c86e6737a8ee93c9af786078 | [
"MIT"
] | null | null | null | import numpy as np
def relu(i):
return np.vectorize(np.maximum(i, 0, i))
def tanh(i):
return np.tanh(i)
| 12.777778 | 44 | 0.634783 | 22 | 115 | 3.318182 | 0.545455 | 0.191781 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.217391 | 115 | 8 | 45 | 14.375 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0cb8a98d40512dbb0223d6197d119055c3144770 | 33 | py | Python | xecd_rates/__init__.py | doguskidik/xecd-rates-python | 6584c96891f5b91b9e7ceff6883ea4144b6326eb | [
"MIT"
] | 1 | 2020-07-07T20:58:36.000Z | 2020-07-07T20:58:36.000Z | xecd_rates/__init__.py | doguskidik/xecd-rates-python | 6584c96891f5b91b9e7ceff6883ea4144b6326eb | [
"MIT"
] | 1 | 2022-02-14T19:53:51.000Z | 2022-02-14T19:53:51.000Z | xecd_rates/__init__.py | doguskidik/xecd-rates-python | 6584c96891f5b91b9e7ceff6883ea4144b6326eb | [
"MIT"
] | null | null | null | from xecd_rates.Xecd import Xecd
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
0cb9afae15e4b8401ecdc98f48752463215e843b | 33,485 | py | Python | gw-odw_Day2_with_Solns/Tuto_2.2_Matched_Filtering_In_action with solutions.py | basuparth/grav_wave_workshop3 | eb9e2ff066bb1928e5a1dbc8cd8d24344515aae4 | [
"MIT"
] | null | null | null | gw-odw_Day2_with_Solns/Tuto_2.2_Matched_Filtering_In_action with solutions.py | basuparth/grav_wave_workshop3 | eb9e2ff066bb1928e5a1dbc8cd8d24344515aae4 | [
"MIT"
] | null | null | null | gw-odw_Day2_with_Solns/Tuto_2.2_Matched_Filtering_In_action with solutions.py | basuparth/grav_wave_workshop3 | eb9e2ff066bb1928e5a1dbc8cd8d24344515aae4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# <img style="float: left;padding: 1.3em" src="https://indico.in2p3.fr/event/18313/logo-786578160.png">
#
# # Gravitational Wave Open Data Workshop #3
#
#
# ## Tutorial 2.2 PyCBC Tutorial, Matched Filtering in Action
#
# We will be using the [PyCBC](http://github.com/ligo-c... | 34.843913 | 539 | 0.719785 | 5,301 | 33,485 | 4.478778 | 0.115261 | 0.017101 | 0.015163 | 0.016174 | 0.772808 | 0.770491 | 0.762278 | 0.759835 | 0.754528 | 0.75238 | 0 | 0.027958 | 0.19567 | 33,485 | 960 | 540 | 34.880208 | 0.853563 | 0.53845 | 0 | 0.878049 | 0 | 0 | 0.082787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00271 | false | 0.04336 | 0.092141 | 0 | 0.094851 | 0.01355 | 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 |
0b22ce77678cabd821f89ea234c8c27cfd57af15 | 3,960 | py | Python | src/HartreeParticleDSL/test/backends/C_AOS/test_C_AOS_op_precedence.py | stfc/HartreeParticleDSL | 17990f1a85c9cbec3c4dfa0923e2c44cad6f381c | [
"MIT"
] | null | null | null | src/HartreeParticleDSL/test/backends/C_AOS/test_C_AOS_op_precedence.py | stfc/HartreeParticleDSL | 17990f1a85c9cbec3c4dfa0923e2c44cad6f381c | [
"MIT"
] | 47 | 2021-09-16T10:28:05.000Z | 2022-03-15T14:24:33.000Z | src/HartreeParticleDSL/test/backends/C_AOS/test_C_AOS_op_precedence.py | stfc/HartreeParticleDSL | 17990f1a85c9cbec3c4dfa0923e2c44cad6f381c | [
"MIT"
] | 1 | 2021-09-27T15:20:01.000Z | 2021-09-27T15:20:01.000Z | from HartreeParticleDSL.backends.C_AOS.visitors import *
from HartreeParticleDSL.backends.C_AOS.C_AOS import *
import ast
import inspect
import textwrap
import pytest
from HartreeParticleDSL.HartreeParticleDSLExceptions import IllegalLoopError, UnsupportedCodeError, \
... | 29.117647 | 101 | 0.604798 | 581 | 3,960 | 3.967298 | 0.101549 | 0.038178 | 0.057701 | 0.081128 | 0.813449 | 0.783948 | 0.765727 | 0.765727 | 0.765727 | 0.765727 | 0 | 0.020485 | 0.260354 | 3,960 | 135 | 102 | 29.333333 | 0.766473 | 0.09798 | 0 | 0.640351 | 0 | 0 | 0.050852 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 1 | 0.184211 | false | 0 | 0.070175 | 0 | 0.254386 | 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 |
0b3b45963ab4c3f2fbd5f8c7f998da42bc91f385 | 4,907 | py | Python | pysal/spreg/tests/test_ml_lag.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pysal/spreg/tests/test_ml_lag.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pysal/spreg/tests/test_ml_lag.py | cubensys/pysal | 8d50990f6e6603ba79ae1a887a20a1e3a0734e51 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-07-19T01:46:17.000Z | 2021-07-19T01:46:17.000Z | import unittest
import pysal
import scipy
import numpy as np
from pysal.spreg.ml_lag import ML_Lag
from pysal.spreg import utils
from pysal.common import RTOL
from skip import SKIP
@unittest.skipIf(SKIP,
"Skipping MLLag Tests")
class TestMLError(unittest.TestCase):
def setUp(self):
db = pysal.ope... | 39.256 | 93 | 0.606888 | 699 | 4,907 | 4.120172 | 0.20887 | 0.10625 | 0.177083 | 0.271528 | 0.777083 | 0.759028 | 0.736806 | 0.7125 | 0.7125 | 0.7125 | 0 | 0.165075 | 0.253108 | 4,907 | 124 | 94 | 39.572581 | 0.620737 | 0 | 0 | 0.666667 | 0 | 0 | 0.020379 | 0 | 0 | 0 | 0 | 0 | 0.290598 | 1 | 0.042735 | false | 0 | 0.068376 | 0 | 0.119658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b5771c93105240321463e60f1b9fe3e52a3c477 | 72 | py | Python | Snowflake/__init__.py | leonardozcm/Point-Completion-Fig-AutoGenerator | 109f5a414f51469fac82d0d23cde69efb9cf97e0 | [
"Apache-2.0"
] | 31 | 2021-08-22T15:01:58.000Z | 2022-03-19T12:26:21.000Z | models/__init__.py | AllenXiangX/PMP-Net | c6a65da629f0faafd3b1e2dd060e84ab53b9379f | [
"MIT"
] | 10 | 2021-09-06T09:07:38.000Z | 2022-02-12T08:12:54.000Z | models/__init__.py | leonardozcm/SnowflakeNet | 93e7151610765e7e2b41ace2d03c8750f0b6c80c | [
"MIT"
] | 5 | 2021-08-30T00:53:17.000Z | 2022-03-20T11:57:25.000Z | import sys
sys.path.append('../pointnet2_ops_lib')
sys.path.append('..') | 24 | 39 | 0.722222 | 11 | 72 | 4.545455 | 0.636364 | 0.28 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.041667 | 72 | 3 | 40 | 24 | 0.710145 | 0 | 0 | 0 | 0 | 0 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b5ede3b5aca3c01f8462524a1fc6a7c8300c5ca | 124 | py | Python | testing/unit2_test.py | cerrno/swe-talk-materials | 0f11e34a850959202d2e5fb2ecd71416195ddc7c | [
"MIT"
] | null | null | null | testing/unit2_test.py | cerrno/swe-talk-materials | 0f11e34a850959202d2e5fb2ecd71416195ddc7c | [
"MIT"
] | null | null | null | testing/unit2_test.py | cerrno/swe-talk-materials | 0f11e34a850959202d2e5fb2ecd71416195ddc7c | [
"MIT"
] | null | null | null | from unit2 import palindrome
def test_palindrome():
assert palindrome('test') == 0
assert palindrome('kayak') == 1 | 20.666667 | 35 | 0.693548 | 15 | 124 | 5.666667 | 0.666667 | 0.376471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.185484 | 124 | 6 | 35 | 20.666667 | 0.811881 | 0 | 0 | 0 | 0 | 0 | 0.072 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b8faf317e65360d408b20d346c5a502085dad2e | 66 | py | Python | acq4/analysis/modules/AtlasBuilder/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/analysis/modules/AtlasBuilder/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/analysis/modules/AtlasBuilder/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
from .AtlasBuilder import *
| 22 | 37 | 0.848485 | 8 | 66 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 38 | 33 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
0b994af2ff79fc252a33133ef6a2bb8ad6219384 | 20,337 | py | Python | tensorflow/python/ops/ragged/ragged_to_tensor_op_test.py | MathMachado/tensorflow | 56afda20b15f234c23e8393f7e337e7dd2659c2d | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tensorflow/python/ops/ragged/ragged_to_tensor_op_test.py | MathMachado/tensorflow | 56afda20b15f234c23e8393f7e337e7dd2659c2d | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tensorflow/python/ops/ragged/ragged_to_tensor_op_test.py | MathMachado/tensorflow | 56afda20b15f234c23e8393f7e337e7dd2659c2d | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 41.168016 | 80 | 0.55844 | 2,664 | 20,337 | 4.053679 | 0.095721 | 0.016668 | 0.014168 | 0.00926 | 0.802389 | 0.772849 | 0.750625 | 0.722382 | 0.705899 | 0.699139 | 0 | 0.062437 | 0.263657 | 20,337 | 493 | 81 | 41.251521 | 0.658698 | 0.092787 | 0 | 0.594132 | 0 | 0 | 0.042166 | 0.003051 | 0 | 0 | 0 | 0 | 0.07824 | 1 | 0.080685 | false | 0 | 0.036675 | 0 | 0.124694 | 0.002445 | 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 |
f0321baac4fe78cb1d43c80ac7fb66d7b5d77d98 | 159 | py | Python | lichee/utils/tfrecord/torch/__init__.py | Tencent/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 91 | 2021-10-30T02:25:05.000Z | 2022-03-28T06:51:52.000Z | lichee/utils/tfrecord/torch/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 1 | 2021-12-17T09:30:25.000Z | 2022-03-05T12:30:13.000Z | lichee/utils/tfrecord/torch/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 17 | 2021-11-04T07:50:23.000Z | 2022-03-24T14:24:11.000Z | # -*- coding: utf-8 -*-
"""
tfrecord torch dataset实现
"""
from . import dataset
from .dataset import TFRecordDataset
from .dataset import MultiTFRecordDataset
| 17.666667 | 41 | 0.742138 | 17 | 159 | 6.941176 | 0.647059 | 0.186441 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.144654 | 159 | 8 | 42 | 19.875 | 0.860294 | 0.295597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.