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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d16ee3321ddb86787eacbe271055ccc5374af271 | 112 | py | Python | tests/store/models/test_store_models_analysis.py | Clinical-Genomics/genotype | 25ed71ec69de604cd6331ffc02c8c7c886d33b24 | [
"MIT"
] | 5 | 2017-05-31T01:42:52.000Z | 2021-05-11T09:42:48.000Z | tests/store/models/test_store_models_analysis.py | Clinical-Genomics/genotype | 25ed71ec69de604cd6331ffc02c8c7c886d33b24 | [
"MIT"
] | 32 | 2017-10-30T14:43:52.000Z | 2022-01-18T11:58:47.000Z | tests/store/models/test_store_models_analysis.py | Clinical-Genomics/genotype | 25ed71ec69de604cd6331ffc02c8c7c886d33b24 | [
"MIT"
] | 2 | 2017-09-27T13:03:41.000Z | 2021-03-08T00:35:56.000Z | # -*- coding: utf-8 -*-
from genotype.store.models import Analysis
def test___str__():
# GIVEN a
pass
| 14 | 42 | 0.642857 | 15 | 112 | 4.466667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.223214 | 112 | 7 | 43 | 16 | 0.758621 | 0.258929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
7e375dbaf18a4345d6421f5008b7ed3f3c07cb54 | 91 | py | Python | geostream/vector/__init__.py | karimbahgat/GeoStream | ca067c3b2ba12983089a5562869a7732a3d7aa6b | [
"MIT"
] | null | null | null | geostream/vector/__init__.py | karimbahgat/GeoStream | ca067c3b2ba12983089a5562869a7732a3d7aa6b | [
"MIT"
] | null | null | null | geostream/vector/__init__.py | karimbahgat/GeoStream | ca067c3b2ba12983089a5562869a7732a3d7aa6b | [
"MIT"
] | null | null | null |
from . import load
from . import dump
from . import fileformats
from . import serialize
| 11.375 | 25 | 0.747253 | 12 | 91 | 5.666667 | 0.5 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 91 | 7 | 26 | 13 | 0.944444 | 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 |
7e703f980a2b7ca9fffc7bf2c348af815a7f43f7 | 20 | py | Python | summa.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | summa.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | summa.py | krishna-prasath/My_programs | 96bac29eb448beda2dda439ac7adea7a5343c066 | [
"bzip2-1.0.6"
] | null | null | null | n=1230
print(n/2)
| 6.666667 | 11 | 0.6 | 5 | 20 | 2.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 0.2 | 20 | 2 | 12 | 10 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7e932caa6161bc2d1ace6b02d0d68c9e959dc2bd | 37 | py | Python | subredditdownloader/database/__init__.py | Jabb0/SubredditDownloader | 54bacebbbb04dbd86bb6f2ba2c5c4d4c0f2f4f5a | [
"MIT"
] | 15 | 2021-01-23T17:53:20.000Z | 2022-03-02T12:32:46.000Z | subredditdownloader/database/__init__.py | Jabb0/SubredditDownloader | 54bacebbbb04dbd86bb6f2ba2c5c4d4c0f2f4f5a | [
"MIT"
] | null | null | null | subredditdownloader/database/__init__.py | Jabb0/SubredditDownloader | 54bacebbbb04dbd86bb6f2ba2c5c4d4c0f2f4f5a | [
"MIT"
] | 3 | 2021-03-04T13:42:27.000Z | 2022-03-02T12:32:51.000Z | from .sqlite import SQLiteConnection
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
7e9d9fc500ee82b9638a2a06c9f0a8b91ea46e82 | 4,355 | py | Python | editor/widgets/toolbox_scheduling.py | npes87184/remi | 9122f7811e333daba646a64ae49fed798c6f308c | [
"Apache-2.0"
] | null | null | null | editor/widgets/toolbox_scheduling.py | npes87184/remi | 9122f7811e333daba646a64ae49fed798c6f308c | [
"Apache-2.0"
] | null | null | null | editor/widgets/toolbox_scheduling.py | npes87184/remi | 9122f7811e333daba646a64ae49fed798c6f308c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import remi.gui
from remi.gui import *
import remi.gui as gui
from threading import Timer
# https://python-snap7.readthedocs.io/en/latest/util.html
# https://github.com/gijzelaerr/python-snap7/blob/master/example/boolean.py
class TimerWidget(Image):
icon = "data:image/png;base64,iVBORw0K... | 128.088235 | 3,307 | 0.892767 | 224 | 4,355 | 17.28125 | 0.727679 | 0.008267 | 0.006717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130162 | 0.049139 | 4,355 | 33 | 3,308 | 131.969697 | 0.804637 | 0.034673 | 0 | 0.083333 | 0 | 0.041667 | 0.799762 | 0.784286 | 0 | 1 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.166667 | 0 | 0.416667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7eb5815fa3bc3a339c0d8645ecc8a3d3ab498877 | 347 | py | Python | pytorch_trainer/dataset/__init__.py | Hiroshiba/pytorch-trainer | b4b3d648868e4cec33c69e18fc3877c103a8d438 | [
"MIT"
] | 45 | 2019-12-15T04:30:15.000Z | 2021-04-28T14:32:17.000Z | pytorch_trainer/dataset/__init__.py | Hiroshiba/pytorch-trainer | b4b3d648868e4cec33c69e18fc3877c103a8d438 | [
"MIT"
] | null | null | null | pytorch_trainer/dataset/__init__.py | Hiroshiba/pytorch-trainer | b4b3d648868e4cec33c69e18fc3877c103a8d438 | [
"MIT"
] | 2 | 2020-03-27T13:55:27.000Z | 2021-03-03T17:52:56.000Z | # import classes and functions
from pytorch_trainer.dataset.convert import concat_examples # NOQA
from pytorch_trainer.dataset.convert import converter # NOQA
from pytorch_trainer.dataset.convert import Converter # NOQA
from pytorch_trainer.dataset.convert import to_device # NOQA
from pytorch_trainer.dataset.iterat... | 49.571429 | 67 | 0.838617 | 46 | 347 | 6.173913 | 0.347826 | 0.193662 | 0.316901 | 0.440141 | 0.742958 | 0.640845 | 0.507042 | 0.507042 | 0.507042 | 0.507042 | 0 | 0 | 0.115274 | 347 | 6 | 68 | 57.833333 | 0.925081 | 0.152738 | 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 |
0e3d9b35394285e9bbe1197535edd5224c391939 | 82 | py | Python | curso-python/pacotes/pacote_v1.py | gui-hub/Estudos-Python | 0219da2430526c4c3705248e86e65b8c847175b8 | [
"Apache-2.0"
] | null | null | null | curso-python/pacotes/pacote_v1.py | gui-hub/Estudos-Python | 0219da2430526c4c3705248e86e65b8c847175b8 | [
"Apache-2.0"
] | null | null | null | curso-python/pacotes/pacote_v1.py | gui-hub/Estudos-Python | 0219da2430526c4c3705248e86e65b8c847175b8 | [
"Apache-2.0"
] | null | null | null | from pacote1 import modulo1 as somar
print(type(somar))
print(somar.soma(2, 3))
| 13.666667 | 36 | 0.743902 | 14 | 82 | 4.357143 | 0.785714 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.134146 | 82 | 5 | 37 | 16.4 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0e4ad170aeb86e8f36e0f3014a253e2a52fb488b | 3,819 | py | Python | src/api/getObject.py | PKStuff/s3-Minio | 8a4d39e6680e7cb72c4e2244a6688784ccb67a40 | [
"MIT"
] | null | null | null | src/api/getObject.py | PKStuff/s3-Minio | 8a4d39e6680e7cb72c4e2244a6688784ccb67a40 | [
"MIT"
] | 1 | 2019-09-13T17:30:12.000Z | 2019-09-13T17:30:12.000Z | src/api/getObject.py | PKStuff/s3-Minio | 8a4d39e6680e7cb72c4e2244a6688784ccb67a40 | [
"MIT"
] | null | null | null | from minio import Minio
from config import ACCESS_KEY_ID, SECRET_KEY_ID, BACKEND, BUCKET
class Pull_Objects:
def __init__(self):
try:
self.minioClient = Minio(BACKEND,
access_key=ACCESS_KEY_ID,
secret_key=SECRET_KEY_ID,
... | 32.092437 | 119 | 0.532862 | 401 | 3,819 | 4.895262 | 0.177057 | 0.099338 | 0.077942 | 0.082527 | 0.824249 | 0.786551 | 0.772797 | 0.772797 | 0.691798 | 0.691798 | 0 | 0.020307 | 0.368159 | 3,819 | 118 | 120 | 32.364407 | 0.793203 | 0 | 0 | 0.727273 | 0 | 0 | 0.069426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064935 | false | 0 | 0.025974 | 0 | 0.25974 | 0.012987 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ecc65e6ecd2e12ace32dc125fb98b9d4b9e25c5 | 16,226 | py | Python | video_dataset_anomaly_balance_uni_sample.py | fjchange/Anomaly_AR_Net_ICME_2020 | 0b563cf39cedc71941e319416f5ed670109076f4 | [
"MIT"
] | 31 | 2020-08-10T04:03:40.000Z | 2022-03-30T01:10:47.000Z | video_dataset_anomaly_balance_uni_sample.py | fjchange/Anomaly_AR_Net_ICME_2020 | 0b563cf39cedc71941e319416f5ed670109076f4 | [
"MIT"
] | 6 | 2020-10-25T10:31:53.000Z | 2022-02-24T02:07:33.000Z | video_dataset_anomaly_balance_uni_sample.py | wanboyang/Anomaly_AR_Net_ICME_2020 | 3bdbde9f8cb2ac6c6cd1c36725fdec55cb5e401e | [
"MIT"
] | 7 | 2020-08-10T08:57:56.000Z | 2022-03-23T08:56:43.000Z | import numpy as np
from torch.utils.data import Dataset, DataLoader
import utils
import options
import os
import pickle
import random
import torch
class dataset(Dataset):
def __init__(self, args, train=True, trainlist=None, testlist=None):
"""
:param args:
self.dataset_path: ... | 52.85342 | 136 | 0.597929 | 1,923 | 16,226 | 4.781591 | 0.088404 | 0.052637 | 0.039587 | 0.046982 | 0.851876 | 0.810223 | 0.793148 | 0.786514 | 0.768026 | 0.752365 | 0 | 0.00645 | 0.302539 | 16,226 | 306 | 137 | 53.026144 | 0.806044 | 0.14711 | 0 | 0.6621 | 0 | 0 | 0.026107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063927 | false | 0 | 0.03653 | 0.004566 | 0.182648 | 0.013699 | 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 |
7ee581095b57b033108886b873dc907ad71a5ba0 | 162 | py | Python | src/fecc_exceptions/LexerException.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | 1 | 2018-02-04T14:48:15.000Z | 2018-02-04T14:48:15.000Z | src/fecc_exceptions/LexerException.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | src/fecc_exceptions/LexerException.py | castor91/fecc | bc46059c0d7a428d15b95050b70dec374b4bea28 | [
"MIT"
] | null | null | null | class LexerException():
def __init__(self, input):
self._input = input
def __str__(self):
return 'Unknown input {}'.format(self._input)
| 20.25 | 53 | 0.62963 | 18 | 162 | 5.111111 | 0.555556 | 0.293478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246914 | 162 | 7 | 54 | 23.142857 | 0.754098 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7eed1c8bd308ac3cb3bcdd3076295b5b28c81919 | 8,192 | py | Python | cupyx/scipy/fftpack/fft.py | sjperkins/cupy | 08aeca5653f47f44e39a554b3be2244902ea7bac | [
"MIT"
] | null | null | null | cupyx/scipy/fftpack/fft.py | sjperkins/cupy | 08aeca5653f47f44e39a554b3be2244902ea7bac | [
"MIT"
] | null | null | null | cupyx/scipy/fftpack/fft.py | sjperkins/cupy | 08aeca5653f47f44e39a554b3be2244902ea7bac | [
"MIT"
] | null | null | null | import cupy
from cupy.cuda import cufft
from cupy.fft.fft import _fft, _default_fft_func
def fft(x, n=None, axis=-1, overwrite_x=False):
"""Compute the one-dimensional FFT.
Args:
x (cupy.ndarray): Array to be transformed.
n (None or int): Length of the transformed axis of the output. If ``n``... | 34.420168 | 79 | 0.60791 | 1,232 | 8,192 | 3.970779 | 0.087662 | 0.065413 | 0.028618 | 0.035977 | 0.914554 | 0.907195 | 0.878782 | 0.856705 | 0.830744 | 0.812756 | 0 | 0.009275 | 0.276123 | 8,192 | 237 | 80 | 34.565401 | 0.815683 | 0.601318 | 0 | 0.441176 | 0 | 0 | 0.002148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.044118 | 0 | 0.279412 | 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 |
7d1b4f39d1759dc60d58d412bd2c620d54524b06 | 225 | py | Python | Solutions/template.py | NoelKocheril/Advent-of-Code-2021 | a3599c5c6794c459f50713d242a44025b3f2bfb0 | [
"WTFPL"
] | null | null | null | Solutions/template.py | NoelKocheril/Advent-of-Code-2021 | a3599c5c6794c459f50713d242a44025b3f2bfb0 | [
"WTFPL"
] | null | null | null | Solutions/template.py | NoelKocheril/Advent-of-Code-2021 | a3599c5c6794c459f50713d242a44025b3f2bfb0 | [
"WTFPL"
] | null | null | null | from utils.solutionBase import SolutionBase
class Solution(SolutionBase):
def part_01(self, data: list[int]) -> int:
pass
def part_02(self, data: list[int], slidingWindowSize: int = 3) -> int:
pass
| 22.5 | 74 | 0.662222 | 29 | 225 | 5.068966 | 0.586207 | 0.095238 | 0.163265 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028736 | 0.226667 | 225 | 9 | 75 | 25 | 0.816092 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7d2113872373c21dc00679d89e6b8653a0bd9894 | 21 | py | Python | gitbinding/__init__.py | guangrei/Gitpybinding | 244700c26f44ecfd734f33bf4e53e19e185ec36b | [
"MIT"
] | 1 | 2022-03-29T01:20:50.000Z | 2022-03-29T01:20:50.000Z | gitbinding/__init__.py | guangrei/Gitpybinding | 244700c26f44ecfd734f33bf4e53e19e185ec36b | [
"MIT"
] | null | null | null | gitbinding/__init__.py | guangrei/Gitpybinding | 244700c26f44ecfd734f33bf4e53e19e185ec36b | [
"MIT"
] | null | null | null | from .Git import Git
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 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 |
7d2c6e5b366f0d0759967319d300acfff7c50466 | 61 | py | Python | tseuler/tsmad/__init__.py | ag-ds-bubble/tseuler | a77441f52bd66914d9c3d83848b622f5df4f27cc | [
"BSD-3-Clause"
] | 17 | 2020-12-06T18:56:55.000Z | 2022-02-03T23:55:49.000Z | tseuler/tsmad/__init__.py | ag-ds-bubble/tseuler | a77441f52bd66914d9c3d83848b622f5df4f27cc | [
"BSD-3-Clause"
] | null | null | null | tseuler/tsmad/__init__.py | ag-ds-bubble/tseuler | a77441f52bd66914d9c3d83848b622f5df4f27cc | [
"BSD-3-Clause"
] | 1 | 2020-12-11T13:22:15.000Z | 2020-12-11T13:22:15.000Z | from ._board import TSMAD
from ._helpers import TSMAD_CONFIGS | 30.5 | 35 | 0.852459 | 9 | 61 | 5.444444 | 0.666667 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 35 | 30.5 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ada50e409ed9544d4a44f0547872cdea74cec8c9 | 113 | py | Python | src/nutrients_parser/parsers/parse_data.py | q-m/food-nutrient-parser-python | 851eff9f0b6daf0281cf8e123f890787d88d347c | [
"MIT"
] | null | null | null | src/nutrients_parser/parsers/parse_data.py | q-m/food-nutrient-parser-python | 851eff9f0b6daf0281cf8e123f890787d88d347c | [
"MIT"
] | null | null | null | src/nutrients_parser/parsers/parse_data.py | q-m/food-nutrient-parser-python | 851eff9f0b6daf0281cf8e123f890787d88d347c | [
"MIT"
] | 1 | 2021-12-02T10:19:40.000Z | 2021-12-02T10:19:40.000Z | import json
from jsonpath_ng import jsonpath, parse
def parse_data(data):
data = json.loads(data)
# TODO | 18.833333 | 39 | 0.725664 | 17 | 113 | 4.705882 | 0.588235 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 113 | 6 | 40 | 18.833333 | 0.879121 | 0.035398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
addfd729768435753f14ea19964823111279d387 | 416 | py | Python | api/serializers/__init__.py | pokotsun/kyutechAppServer2018 | 9fe579c63e59ee585137e89d11c9cdccd58d3186 | [
"MIT"
] | 4 | 2018-08-09T15:19:06.000Z | 2021-04-03T12:24:57.000Z | api/serializers/__init__.py | pokotsun/kyutechAppServer2018 | 9fe579c63e59ee585137e89d11c9cdccd58d3186 | [
"MIT"
] | 2 | 2018-10-19T15:32:17.000Z | 2020-06-05T19:41:14.000Z | api/serializers/__init__.py | pokotsun/kyutechAppServer2018 | 9fe579c63e59ee585137e89d11c9cdccd58d3186 | [
"MIT"
] | null | null | null | from api.serializers.news_heading_serializer import NewsHeadingSerializer
from api.serializers.news_serializer import NewsSerializer
from api.serializers.syllabus_serializer import SyllabusSerializer
from api.serializers.user_schedule_serializer import UserScheduleSerializer
from api.serializers.user_serializer import ... | 52 | 79 | 0.911058 | 45 | 416 | 8.222222 | 0.377778 | 0.113514 | 0.291892 | 0.178378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060096 | 416 | 7 | 80 | 59.428571 | 0.946292 | 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 |
adea7a94a63770924783eb5d24e10855da68d6af | 1,774 | py | Python | netaddr/tests/strategy/test_eui48_strategy.py | Rockly/netaddr | 9c3b71bf34f2132ced0e143d1a7f5efa706caf48 | [
"BSD-3-Clause"
] | 416 | 2015-01-02T18:23:32.000Z | 2020-01-17T02:08:01.000Z | netaddr/tests/strategy/test_eui48_strategy.py | Rockly/netaddr | 9c3b71bf34f2132ced0e143d1a7f5efa706caf48 | [
"BSD-3-Clause"
] | 110 | 2015-01-07T16:14:40.000Z | 2020-01-08T08:14:11.000Z | netaddr/tests/strategy/test_eui48_strategy.py | Rockly/netaddr | 9c3b71bf34f2132ced0e143d1a7f5efa706caf48 | [
"BSD-3-Clause"
] | 108 | 2015-02-25T09:47:31.000Z | 2020-01-16T14:24:08.000Z | import sys
import pytest
from netaddr.strategy import eui48
def test_strategy_eui48():
b = '00000000-00001111-00011111-00010010-11100111-00110011'
i = 64945841971
t = (0x0, 0x0f, 0x1f, 0x12, 0xe7, 0x33)
s = '00-0F-1F-12-E7-33'
assert eui48.bits_to_int(b) == i
assert eui48.int_to_bits(i) == ... | 30.067797 | 78 | 0.678129 | 305 | 1,774 | 3.727869 | 0.22623 | 0.203166 | 0.135444 | 0.154793 | 0.830255 | 0.781882 | 0.760774 | 0.662269 | 0.565523 | 0.481091 | 0 | 0.206306 | 0.177565 | 1,774 | 58 | 79 | 30.586207 | 0.572995 | 0 | 0 | 0.285714 | 0 | 0 | 0.148816 | 0.083427 | 0 | 0 | 0.02593 | 0 | 0.5 | 1 | 0.095238 | false | 0 | 0.071429 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc271944de80598d9167ab14e193330f49787bd4 | 83 | py | Python | CFMM_for_DFT/__init__.py | hanghu/CFMM_for_DFT | 72ebc193fa002eff4ad3f640912750cc74805367 | [
"MIT"
] | null | null | null | CFMM_for_DFT/__init__.py | hanghu/CFMM_for_DFT | 72ebc193fa002eff4ad3f640912750cc74805367 | [
"MIT"
] | null | null | null | CFMM_for_DFT/__init__.py | hanghu/CFMM_for_DFT | 72ebc193fa002eff4ad3f640912750cc74805367 | [
"MIT"
] | null | null | null | from . import fast_multipole_method
from . import continuous_fast_multipole_method
| 27.666667 | 46 | 0.879518 | 11 | 83 | 6.181818 | 0.545455 | 0.294118 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 2 | 47 | 41.5 | 0.906667 | 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 |
bc285b0a75ffa99119ce7578c6c73e7fa01b0f83 | 4,288 | py | Python | discriminators.py | TropComplique/WESPE | 84738f1ed802a3f6a4a0549677d8137997fac617 | [
"MIT"
] | 5 | 2019-03-13T09:10:28.000Z | 2020-08-18T12:10:14.000Z | discriminators.py | TropComplique/WESPE | 84738f1ed802a3f6a4a0549677d8137997fac617 | [
"MIT"
] | 1 | 2019-03-13T06:43:57.000Z | 2019-04-01T16:31:41.000Z | discriminators.py | TropComplique/WESPE | 84738f1ed802a3f6a4a0549677d8137997fac617 | [
"MIT"
] | 4 | 2019-03-05T02:58:05.000Z | 2022-01-13T09:30:28.000Z | import torch
import torch.nn as nn
import torch.nn.init
from torch.nn.utils import spectral_norm
class Discriminator(nn.Module):
def __init__(self, image_size, num_input_channels):
super(Discriminator, self).__init__()
# final spatial image size
height, width = image_size
assert ... | 36.649573 | 86 | 0.566698 | 574 | 4,288 | 4.111498 | 0.155052 | 0.040678 | 0.09661 | 0.122034 | 0.913559 | 0.899153 | 0.899153 | 0.899153 | 0.899153 | 0.851271 | 0 | 0.060209 | 0.30667 | 4,288 | 116 | 87 | 36.965517 | 0.733602 | 0.090019 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 1 | 0.071429 | false | 0 | 0.047619 | 0 | 0.166667 | 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 |
bc363e7830c29806120e34bdffde678c3e7f939a | 98 | py | Python | src/sage/doctest/all.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/doctest/all.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/doctest/all.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | from sage.misc.lazy_import import lazy_import
lazy_import('sage.doctest.control', 'run_doctests')
| 32.666667 | 51 | 0.826531 | 15 | 98 | 5.133333 | 0.6 | 0.38961 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 98 | 2 | 52 | 49 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 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 |
70b61f87f7e858cee58c101898a812d91103cbab | 44 | py | Python | hmc/applications/neal_funnel/__init__.py | JamesBrofos/Thresholds-in-Hamiltonian-Monte-Carlo | 7ee1b530db0eb536666dbc872fbf8200e53dd49b | [
"MIT"
] | 1 | 2021-11-23T15:40:07.000Z | 2021-11-23T15:40:07.000Z | hmc/applications/neal_funnel/__init__.py | JamesBrofos/Thresholds-in-Hamiltonian-Monte-Carlo | 7ee1b530db0eb536666dbc872fbf8200e53dd49b | [
"MIT"
] | null | null | null | hmc/applications/neal_funnel/__init__.py | JamesBrofos/Thresholds-in-Hamiltonian-Monte-Carlo | 7ee1b530db0eb536666dbc872fbf8200e53dd49b | [
"MIT"
] | null | null | null | from .neal import posterior_factory, sample
| 22 | 43 | 0.840909 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.923077 | 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 |
cb130f34dd603e836801c09e217f7b50fa342fdb | 37 | py | Python | src/generator/__init__.py | markveillette/sevir_challenges | 4c504d01cb044bc9fc172304c301a136ea5b6429 | [
"MIT"
] | 17 | 2021-01-07T15:03:31.000Z | 2022-03-07T04:50:17.000Z | src/generator/__init__.py | markveillette/sevir_challenges | 4c504d01cb044bc9fc172304c301a136ea5b6429 | [
"MIT"
] | 3 | 2021-07-27T04:39:32.000Z | 2021-09-07T15:17:37.000Z | src/generator/__init__.py | markveillette/sevir_challenges | 4c504d01cb044bc9fc172304c301a136ea5b6429 | [
"MIT"
] | 3 | 2021-02-17T19:42:23.000Z | 2021-07-27T06:08:21.000Z | from .generator import SEVIRGenerator | 37 | 37 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb14c8ae3158dbd3f93f91a13133c3036174b106 | 192 | py | Python | backend/decorators/errors.py | hovedstyret/indok-web | 598e9ca0b5f3a5e776a85dec0a8694b9bcd5a159 | [
"MIT"
] | 3 | 2021-11-18T09:29:14.000Z | 2022-01-13T20:12:11.000Z | backend/decorators/errors.py | rubberdok/indok-web | 598e9ca0b5f3a5e776a85dec0a8694b9bcd5a159 | [
"MIT"
] | 277 | 2022-01-17T18:16:44.000Z | 2022-03-31T19:44:04.000Z | backend/decorators/errors.py | hovedstyret/indok-web | 598e9ca0b5f3a5e776a85dec0a8694b9bcd5a159 | [
"MIT"
] | null | null | null | from django.core.exceptions import PermissionDenied as PermissionDeniedBase
class LoginRequiredError(PermissionDeniedBase):
pass
class PermissionDenied(PermissionDeniedBase):
pass
| 19.2 | 75 | 0.833333 | 16 | 192 | 10 | 0.6875 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 192 | 9 | 76 | 21.333333 | 0.952381 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cb1878b7e48a28444ae86a002a438e195b3ee71f | 72 | py | Python | pineboolib/qt3_widgets/dateedit.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 2 | 2015-09-19T16:54:49.000Z | 2016-09-12T08:06:29.000Z | pineboolib/qt3_widgets/dateedit.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 1 | 2017-08-14T17:07:14.000Z | 2017-08-15T00:22:47.000Z | pineboolib/qt3_widgets/dateedit.py | deavid/pineboo | acc96ab6d5b8bb182990af6dea4bf0986af15549 | [
"MIT"
] | 9 | 2015-01-15T18:15:42.000Z | 2019-05-05T18:53:00.000Z | from . import qdateedit
class DateEdit(qdateedit.QDateEdit):
pass
| 12 | 36 | 0.75 | 8 | 72 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 5 | 37 | 14.4 | 0.915254 | 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 |
cb437785c7b5118e3986ba108ebbce5fabd53a35 | 11,790 | py | Python | pyocd/target/builtin/target_MIMXRT1062xxxxA.py | Kris-b50122/pyOCD | df605c7aa04d72c5187ab652445063cc232cf378 | [
"Apache-2.0"
] | 3 | 2019-06-05T01:32:06.000Z | 2020-05-20T08:55:46.000Z | pyocd/target/builtin/target_MIMXRT1062xxxxA.py | Kris-b50122/pyOCD | df605c7aa04d72c5187ab652445063cc232cf378 | [
"Apache-2.0"
] | 1 | 2019-07-05T10:13:09.000Z | 2019-07-05T10:51:43.000Z | pyocd/target/builtin/target_MIMXRT1062xxxxA.py | Kris-b50122/pyOCD | df605c7aa04d72c5187ab652445063cc232cf378 | [
"Apache-2.0"
] | 1 | 2019-01-21T03:01:53.000Z | 2019-01-21T03:01:53.000Z | # pyOCD debugger
# Copyright (c) 2017 NXP
# SPDX-License-Identifier: Apache-2.0
#
# 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 r... | 73.6875 | 110 | 0.779474 | 1,069 | 11,790 | 8.562208 | 0.640786 | 0.27969 | 0.412979 | 0.546269 | 0.15077 | 0.139845 | 0.139845 | 0.139845 | 0.139845 | 0.139845 | 0 | 0.598074 | 0.136896 | 11,790 | 159 | 111 | 74.150943 | 0.301395 | 0.08838 | 0 | 0.117188 | 0 | 0 | 0.02164 | 0 | 0 | 0 | 0.703572 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.039063 | 0 | 0.070313 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb60e155b579128a93ec93c3a021f8c8f62451e7 | 26 | py | Python | codev/control/providers/__init__.py | baseclue/codev | 7965ffc036ea217e05ca1f566e7b1917c0a67887 | [
"Apache-2.0"
] | 4 | 2016-03-21T12:20:52.000Z | 2017-02-02T09:08:19.000Z | codev/control/providers/__init__.py | baseclue/codev | 7965ffc036ea217e05ca1f566e7b1917c0a67887 | [
"Apache-2.0"
] | null | null | null | codev/control/providers/__init__.py | baseclue/codev | 7965ffc036ea217e05ca1f566e7b1917c0a67887 | [
"Apache-2.0"
] | null | null | null | from .isolations import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 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 |
1dc4a190abfb886560faabc450a746b75db9f3f1 | 6,898 | py | Python | social/models.py | TheClimber82/SocialPath | dc38066ed06d93eb5c19081a2402902cb0300cb0 | [
"MIT"
] | 208 | 2019-09-23T22:20:48.000Z | 2022-03-20T05:01:16.000Z | social/models.py | TheClimber82/SocialPath | dc38066ed06d93eb5c19081a2402902cb0300cb0 | [
"MIT"
] | 6 | 2019-09-25T10:35:13.000Z | 2021-01-26T23:42:22.000Z | social/models.py | TheClimber82/SocialPath | dc38066ed06d93eb5c19081a2402902cb0300cb0 | [
"MIT"
] | 38 | 2019-09-24T08:27:10.000Z | 2022-03-24T04:00:52.000Z | from django.db import models
from jsonfield import JSONField
class Insta(models.Model):
# usernames = models.ForeignKey(Usernames, on_delete=models.CASCADE)
bio = models.CharField(max_length=1000, blank=True)
timestamps = JSONField(blank=True)
bio_url = models.CharField(max_length=1000, blank=True, nul... | 51.864662 | 93 | 0.746158 | 910 | 6,898 | 5.548352 | 0.101099 | 0.149733 | 0.221034 | 0.294712 | 0.840761 | 0.80412 | 0.775203 | 0.642702 | 0.515746 | 0.464052 | 0 | 0.034736 | 0.131922 | 6,898 | 133 | 94 | 51.864662 | 0.80845 | 0.047405 | 0 | 0.342105 | 0 | 0 | 0.039762 | 0.039762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3845674a463ee8e19a798e2ded046d855e16ee40 | 65 | py | Python | src/scripts/__init__.py | Softyy/dash-cli | 906c82e1d18ea1ba059e78ed198a3e7d62853605 | [
"MIT"
] | null | null | null | src/scripts/__init__.py | Softyy/dash-cli | 906c82e1d18ea1ba059e78ed198a3e7d62853605 | [
"MIT"
] | null | null | null | src/scripts/__init__.py | Softyy/dash-cli | 906c82e1d18ea1ba059e78ed198a3e7d62853605 | [
"MIT"
] | null | null | null | from .create import *
from .update import *
from .run import *
| 10.833333 | 21 | 0.692308 | 9 | 65 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 65 | 5 | 22 | 13 | 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 |
698291d6e975d4f52d4ab1805fcc76ccca7dc261 | 96 | py | Python | yuuki/__init__.py | patconnole/openc2-yuuki | 726f822cbf5b7324cb3cfa280c1643aa42c29d27 | [
"BSD-3-Clause"
] | null | null | null | yuuki/__init__.py | patconnole/openc2-yuuki | 726f822cbf5b7324cb3cfa280c1643aa42c29d27 | [
"BSD-3-Clause"
] | null | null | null | yuuki/__init__.py | patconnole/openc2-yuuki | 726f822cbf5b7324cb3cfa280c1643aa42c29d27 | [
"BSD-3-Clause"
] | null | null | null | from .consumer import *
from .openc2 import *
from .serialize import *
from .transport import *
| 19.2 | 24 | 0.75 | 12 | 96 | 6 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.166667 | 96 | 4 | 25 | 24 | 0.8875 | 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 |
69a0d533d6d70707f7f5b81ccc1af536d932df15 | 134 | py | Python | msgpack.py | verystrongjoe/c-and-python-serialization-test | 572ce796567a5492d7c12ec1ac253a6d41bd710d | [
"Apache-2.0"
] | null | null | null | msgpack.py | verystrongjoe/c-and-python-serialization-test | 572ce796567a5492d7c12ec1ac253a6d41bd710d | [
"Apache-2.0"
] | null | null | null | msgpack.py | verystrongjoe/c-and-python-serialization-test | 572ce796567a5492d7c12ec1ac253a6d41bd710d | [
"Apache-2.0"
] | null | null | null | import umsgpack
print(umsgpack.packb({u"compact": True, u"schema": 0}))
print(umsgpack.unpackb(b'\x82\xa7compact\xc3\xa6schema\x00')) | 33.5 | 61 | 0.753731 | 20 | 134 | 5.05 | 0.8 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 0.052239 | 134 | 4 | 61 | 33.5 | 0.732283 | 0 | 0 | 0 | 0 | 0 | 0.340741 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
69eed581506a1c8a749b0a280a3c15291859af21 | 184 | py | Python | api/admin.py | andreas83/rssly-api | ffc63f825e18939090fd438725773f8b1cb69cfd | [
"MIT"
] | null | null | null | api/admin.py | andreas83/rssly-api | ffc63f825e18939090fd438725773f8b1cb69cfd | [
"MIT"
] | null | null | null | api/admin.py | andreas83/rssly-api | ffc63f825e18939090fd438725773f8b1cb69cfd | [
"MIT"
] | null | null | null | from django.contrib import admin
#from rssly.models import RSSItem, RSSSource, Category
#
#admin.site.register(RSSItem)
#admin.site.register(RSSSource)
#admin.site.register(Category)
| 23 | 54 | 0.804348 | 24 | 184 | 6.166667 | 0.5 | 0.182432 | 0.344595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081522 | 184 | 7 | 55 | 26.285714 | 0.87574 | 0.76087 | 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 |
0e08c3835dcdbb57f274f7da6f921abcc4e2ddae | 19,482 | py | Python | tests/test_users.py | marcgibbons/push-notifications-python | c134526dcdcde9c7e0822fa568e34cf00c141481 | [
"MIT"
] | null | null | null | tests/test_users.py | marcgibbons/push-notifications-python | c134526dcdcde9c7e0822fa568e34cf00c141481 | [
"MIT"
] | null | null | null | tests/test_users.py | marcgibbons/push-notifications-python | c134526dcdcde9c7e0822fa568e34cf00c141481 | [
"MIT"
] | null | null | null | """Unit tests for Users features"""
import six
import time
import unittest
import jwt
import requests_mock
from pusher_push_notifications import (
PushNotifications,
PusherAuthError,
PusherMissingInstanceError,
PusherServerError,
PusherValidationError,
PusherBadResponseError,
)
class TestPu... | 33.940767 | 87 | 0.490093 | 1,771 | 19,482 | 5.07397 | 0.103331 | 0.046294 | 0.053416 | 0.095482 | 0.854329 | 0.830069 | 0.822724 | 0.809927 | 0.803583 | 0.765747 | 0 | 0.013851 | 0.418181 | 19,482 | 573 | 88 | 34 | 0.778915 | 0.001489 | 0 | 0.610902 | 0 | 0 | 0.127629 | 0.012701 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.048872 | false | 0.005639 | 0.011278 | 0 | 0.06203 | 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 |
38518a887546b91ce72df39acb575ab38027874b | 21 | py | Python | mosaic/__init__.py | sagitiminsky/BusDetection | fcd5bd4b26045197f561c9555dbc61732586b37f | [
"MIT"
] | null | null | null | mosaic/__init__.py | sagitiminsky/BusDetection | fcd5bd4b26045197f561c9555dbc61732586b37f | [
"MIT"
] | null | null | null | mosaic/__init__.py | sagitiminsky/BusDetection | fcd5bd4b26045197f561c9555dbc61732586b37f | [
"MIT"
] | null | null | null | from .mosaic import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 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 |
389a29ae29adfae1e01e32e4fe8249b7273324fb | 31 | py | Python | tests/00smoke.py | ciscorn/micropython-ulab | 404342aa54f088894836993c0955a18db85ba56d | [
"MIT"
] | 4 | 2020-02-12T12:08:56.000Z | 2022-03-18T00:30:04.000Z | tests/00smoke.py | ciscorn/micropython-ulab | 404342aa54f088894836993c0955a18db85ba56d | [
"MIT"
] | null | null | null | tests/00smoke.py | ciscorn/micropython-ulab | 404342aa54f088894836993c0955a18db85ba56d | [
"MIT"
] | 2 | 2022-01-11T11:47:22.000Z | 2022-01-20T03:41:36.000Z | import ulab
print(ulab.eye(3))
| 10.333333 | 18 | 0.741935 | 6 | 31 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.096774 | 31 | 2 | 19 | 15.5 | 0.785714 | 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 |
38a41a046247b1431e28d5e7add665cab9bc5b84 | 38 | py | Python | jinahub/encoders/text/CLIPTextEncoder/__init__.py | Gikiman/executors | 98658b4136859164390cfccbde8cf0f7cf843593 | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/CLIPTextEncoder/__init__.py | Gikiman/executors | 98658b4136859164390cfccbde8cf0f7cf843593 | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/text/CLIPTextEncoder/__init__.py | Gikiman/executors | 98658b4136859164390cfccbde8cf0f7cf843593 | [
"Apache-2.0"
] | null | null | null | from .clip_text import CLIPTextEncoder | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38d82e26b8873dc925e1f5d5488cd751b44c1385 | 118 | py | Python | minydra/exceptions.py | pg2455/minydra | c1ac4987808b57e5dd0dfc332252623495ce4b15 | [
"MIT"
] | null | null | null | minydra/exceptions.py | pg2455/minydra | c1ac4987808b57e5dd0dfc332252623495ce4b15 | [
"MIT"
] | null | null | null | minydra/exceptions.py | pg2455/minydra | c1ac4987808b57e5dd0dfc332252623495ce4b15 | [
"MIT"
] | null | null | null | class MinydraWrongArgumentException(Exception):
pass
class MinyDictWrongAttributeException(Exception):
pass
| 16.857143 | 49 | 0.813559 | 8 | 118 | 12 | 0.625 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 6 | 50 | 19.666667 | 0.941176 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
38e49a664f26ec97700fff0bdad3008ccfc66c8d | 5,429 | py | Python | tinyrpc/transports/__init__.py | zanachka/tinyrpc | 03b665b2ba7485cffe947bc6a766d918b6eb358f | [
"MIT"
] | null | null | null | tinyrpc/transports/__init__.py | zanachka/tinyrpc | 03b665b2ba7485cffe947bc6a766d918b6eb358f | [
"MIT"
] | null | null | null | tinyrpc/transports/__init__.py | zanachka/tinyrpc | 03b665b2ba7485cffe947bc6a766d918b6eb358f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from typing import Any, Tuple
class ServerTransport(object):
"""Abstract base class for all server transports.
The server side implementation of the transport component.
Requests and replies encoded by the protocol component are
exchanged between client a... | 42.414063 | 87 | 0.681525 | 736 | 5,429 | 5.009511 | 0.209239 | 0.045566 | 0.01763 | 0.027122 | 0.795498 | 0.786819 | 0.763222 | 0.763222 | 0.763222 | 0.763222 | 0 | 0.000249 | 0.260822 | 5,429 | 127 | 88 | 42.748032 | 0.918515 | 0.550562 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a3009f3a783cc022c49b21e74747c70faa7a1ac | 1,952 | py | Python | tests/update_handlers/base_update_handler_test.py | ess-dmsc/forwarder | 470382688b6aad69cd3e8be8062231f17fd9ac39 | [
"BSD-2-Clause"
] | 2 | 2020-08-02T14:40:26.000Z | 2021-02-26T12:48:03.000Z | tests/update_handlers/base_update_handler_test.py | ess-dmsc/forwarder | 470382688b6aad69cd3e8be8062231f17fd9ac39 | [
"BSD-2-Clause"
] | 105 | 2020-05-28T12:39:40.000Z | 2022-03-29T00:11:53.000Z | tests/update_handlers/base_update_handler_test.py | ess-dmsc/forwarder | 470382688b6aad69cd3e8be8062231f17fd9ac39 | [
"BSD-2-Clause"
] | 2 | 2020-08-04T18:34:36.000Z | 2021-09-08T08:49:48.000Z | from datetime import datetime, timedelta
from unittest import mock
from forwarder.update_handlers.base_update_handler import BaseUpdateHandler
def test_accepted_timestamp():
mock_producer = mock.MagicMock()
handler = BaseUpdateHandler(
producer=mock_producer, pv_name="some_name", output_topic="topic_... | 32.533333 | 78 | 0.709529 | 226 | 1,952 | 5.827434 | 0.216814 | 0.136674 | 0.111617 | 0.116932 | 0.84814 | 0.84814 | 0.819286 | 0.819286 | 0.819286 | 0.819286 | 0 | 0.014268 | 0.17418 | 1,952 | 59 | 79 | 33.084746 | 0.80273 | 0 | 0 | 0.5 | 0 | 0 | 0.048668 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 1 | 0.104167 | false | 0 | 0.0625 | 0 | 0.166667 | 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 |
aa5aed127ae89fa2d74efeb185ced45c42d63f8e | 115 | py | Python | utils/__init__.py | yourfatherI/VSR-guided-CIC | 6d02fbac38ac10635fb62fff965d5ae8dd3174ad | [
"BSD-3-Clause"
] | 32 | 2021-03-01T07:02:52.000Z | 2022-03-30T02:38:35.000Z | utils/__init__.py | yourfatherI/VSR-guided-CIC | 6d02fbac38ac10635fb62fff965d5ae8dd3174ad | [
"BSD-3-Clause"
] | 6 | 2021-04-14T12:20:16.000Z | 2022-03-11T11:21:36.000Z | utils/__init__.py | yourfatherI/VSR-guided-CIC | 6d02fbac38ac10635fb62fff965d5ae8dd3174ad | [
"BSD-3-Clause"
] | 3 | 2021-08-17T13:18:08.000Z | 2022-02-10T08:15:28.000Z | from .tools import set_lr, add_summary_value, pickle_load, pickle_dump, verb_rank_merge, clip_gradient, get_mapping | 115 | 115 | 0.86087 | 19 | 115 | 4.736842 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 115 | 1 | 115 | 115 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aab516db737ac7f8190815d3f46c494c1499610a | 143 | py | Python | simplenn/__init__.py | robertocrespond/SimpleNN | ac9b7bd7fdf189666876d52d2af23fe48dbbd372 | [
"MIT"
] | null | null | null | simplenn/__init__.py | robertocrespond/SimpleNN | ac9b7bd7fdf189666876d52d2af23fe48dbbd372 | [
"MIT"
] | null | null | null | simplenn/__init__.py | robertocrespond/SimpleNN | ac9b7bd7fdf189666876d52d2af23fe48dbbd372 | [
"MIT"
] | null | null | null | from .block import Block # pragma: no cover # noqa: F401
from .network import Network # pragma: no cover # noqa: F401
__version__ = "0.0.4"
| 28.6 | 61 | 0.699301 | 22 | 143 | 4.363636 | 0.545455 | 0.166667 | 0.270833 | 0.354167 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.195804 | 143 | 4 | 62 | 35.75 | 0.756522 | 0.398601 | 0 | 0 | 0 | 0 | 0.061728 | 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 |
aab7dfd4096bf2448cca54a24907b88ca6e6cbbe | 1,034 | py | Python | Chapter 03/ch03_r04.py | PacktPublishing/Modern-Python-Cookbook | 40ff656c64421ddf6c288e058bb99a929f6d4c39 | [
"MIT"
] | 107 | 2016-11-30T02:13:39.000Z | 2022-03-31T06:38:59.000Z | Chapter 03/ch03_r04.py | fengfanzhiwu/Modern-Python-Cookbook | 8eff962f6eae514d531beca9051aefa34941ef4d | [
"MIT"
] | 2 | 2017-04-19T04:08:21.000Z | 2019-03-09T16:18:33.000Z | Chapter 03/ch03_r04.py | fengfanzhiwu/Modern-Python-Cookbook | 8eff962f6eae514d531beca9051aefa34941ef4d | [
"MIT"
] | 71 | 2017-01-16T06:35:17.000Z | 2022-03-01T21:25:54.000Z | """Python Cookbook
Chapter 3, recipe 4
"""
from typing import *
#from fractions import Fraction
from decimal import Decimal
Number = Union[int, float, complex, Decimal]
def temperature(*,
f_temp: Optional[Number]=None,
c_temp: Optional[Number]=None) -> Mapping[str, Number]:
if c_temp is None and f_temp ... | 26.512821 | 59 | 0.643133 | 166 | 1,034 | 3.831325 | 0.271084 | 0.110063 | 0.113208 | 0.138365 | 0.732704 | 0.732704 | 0.732704 | 0.732704 | 0.732704 | 0.732704 | 0 | 0.023107 | 0.246615 | 1,034 | 38 | 60 | 27.210526 | 0.793325 | 0.111219 | 0 | 0.740741 | 0 | 0 | 0.07033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.222222 | 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 |
aad121f1e72c30efbd31253ce29ab01c7016a38b | 153 | py | Python | help/settings.py | pincoin/rakmai | d9daa399aff50712a86b2dec9d94e622237b25b0 | [
"MIT"
] | 11 | 2018-04-02T16:36:19.000Z | 2019-07-10T05:54:58.000Z | help/settings.py | pincoin/rakmai | d9daa399aff50712a86b2dec9d94e622237b25b0 | [
"MIT"
] | 22 | 2019-01-01T20:40:21.000Z | 2022-02-10T08:06:39.000Z | help/settings.py | pincoin/rakmai | d9daa399aff50712a86b2dec9d94e622237b25b0 | [
"MIT"
] | 4 | 2019-03-12T14:24:37.000Z | 2022-01-07T16:20:22.000Z | from django.conf import settings
HELP_CHUNK_SIZE = getattr(settings, 'HELP_CHUNK_SIZE', 10)
HELP_BLOCK_SIZE = getattr(settings, 'HELP_BLOCK_SIZE', 10)
| 25.5 | 58 | 0.797386 | 23 | 153 | 4.956522 | 0.478261 | 0.315789 | 0.298246 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.104575 | 153 | 5 | 59 | 30.6 | 0.80292 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
2aa48fc572d1bca08b13ebb33e2b3b5e87f54689 | 94 | py | Python | tvmodels/models/__init__.py | rohitgr7/tvmodels | e1069afbe8b0db8e77a363dbce3d62822c1cb10c | [
"MIT"
] | 12 | 2019-07-30T10:34:28.000Z | 2021-05-13T17:34:55.000Z | tvmodels/models/__init__.py | rohitgr7/tvmodels | e1069afbe8b0db8e77a363dbce3d62822c1cb10c | [
"MIT"
] | 1 | 2021-05-06T08:53:36.000Z | 2021-05-06T08:53:36.000Z | tvmodels/models/__init__.py | rohitgr7/tvmodels | e1069afbe8b0db8e77a363dbce3d62822c1cb10c | [
"MIT"
] | 1 | 2020-07-08T02:14:10.000Z | 2020-07-08T02:14:10.000Z | from .efficientnet import *
from .resnet import *
from .resnext import *
from .senet import *
| 18.8 | 27 | 0.744681 | 12 | 94 | 5.833333 | 0.5 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 4 | 28 | 23.5 | 0.897436 | 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 |
2ae6faad0c1830a6ae791b284ebc92c90aade1a6 | 11,115 | py | Python | selfhost_client/datasets_client.py | self-host/selfhost-python-client | 95797ef819099174d916b10e82878c370b1cd972 | [
"MIT"
] | null | null | null | selfhost_client/datasets_client.py | self-host/selfhost-python-client | 95797ef819099174d916b10e82878c370b1cd972 | [
"MIT"
] | null | null | null | selfhost_client/datasets_client.py | self-host/selfhost-python-client | 95797ef819099174d916b10e82878c370b1cd972 | [
"MIT"
] | null | null | null | from typing import List, Any, Optional
from warnings import filterwarnings
import pyrfc3339
import requests
from beartype import beartype
from beartype.roar import BeartypeDecorHintPep585DeprecationWarning
from .base_client import BaseClient
from .types.dataset_types import DatasetType, DatasetResponse
from .utils im... | 47.297872 | 115 | 0.621592 | 1,138 | 11,115 | 5.950791 | 0.139719 | 0.032487 | 0.01772 | 0.015505 | 0.801683 | 0.776875 | 0.773479 | 0.773479 | 0.753692 | 0.744241 | 0 | 0.003286 | 0.288079 | 11,115 | 234 | 116 | 47.5 | 0.852521 | 0.482861 | 0 | 0.525862 | 0 | 0 | 0.162758 | 0.086645 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060345 | false | 0.017241 | 0.077586 | 0 | 0.198276 | 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 |
632457cc9cf5faf325ee57c98888970d840874d2 | 31 | py | Python | ki67/modules/training/__init__.py | jamebs/ki67 | 2de6d6ce08cd0a90a5f0c6f50dc9ca058a6fa3d1 | [
"Apache-2.0"
] | 3 | 2021-08-11T19:11:42.000Z | 2022-02-25T08:51:34.000Z | ki67/modules/training/__init__.py | jamebs/ki67 | 2de6d6ce08cd0a90a5f0c6f50dc9ca058a6fa3d1 | [
"Apache-2.0"
] | null | null | null | ki67/modules/training/__init__.py | jamebs/ki67 | 2de6d6ce08cd0a90a5f0c6f50dc9ca058a6fa3d1 | [
"Apache-2.0"
] | null | null | null | from .splitter import Splitter
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
931708fc6e27c8050e8bde3a369f7d275b8b937e | 47 | py | Python | Basic Python/listadvn17code.py | prohimanshu/CiscoUsingPython | a82732b71802580ee9c79316f449ae1095da4614 | [
"MIT"
] | null | null | null | Basic Python/listadvn17code.py | prohimanshu/CiscoUsingPython | a82732b71802580ee9c79316f449ae1095da4614 | [
"MIT"
] | null | null | null | Basic Python/listadvn17code.py | prohimanshu/CiscoUsingPython | a82732b71802580ee9c79316f449ae1095da4614 | [
"MIT"
] | null | null | null | num = [0, 1, 2, 2, 4]
num[3] = 3
print(num)
| 11.75 | 22 | 0.446809 | 11 | 47 | 1.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0.297872 | 47 | 3 | 23 | 15.666667 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
933c2b44918366e630ab9e8d9ee9c05b3d50c14f | 197 | py | Python | abnlp/encoder/__init__.py | abeermohamed1/ArabicNER | d38225e2543632924171dfe996ff2c6d8930dca2 | [
"Apache-2.0"
] | 35 | 2019-05-27T05:54:31.000Z | 2022-03-20T17:36:36.000Z | abnlp/encoder/__init__.py | abeermohamed1/ArabicNER | d38225e2543632924171dfe996ff2c6d8930dca2 | [
"Apache-2.0"
] | 8 | 2019-06-23T05:10:37.000Z | 2020-03-12T15:13:55.000Z | abnlp/encoder/__init__.py | abeermohamed1/ArabicNER | d38225e2543632924171dfe996ff2c6d8930dca2 | [
"Apache-2.0"
] | 8 | 2020-03-09T19:44:39.000Z | 2022-01-18T11:29:49.000Z | from abnlp.encoder.str_encoder import strFromFileEncoderWrapper, strRealTimeEncoderWrapper
from abnlp.encoder.sp_encoder import spEncoderWrapper
from abnlp.encoder.den_encoder import denRNNEncoder
| 49.25 | 90 | 0.898477 | 22 | 197 | 7.909091 | 0.5 | 0.155172 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06599 | 197 | 3 | 91 | 65.666667 | 0.945652 | 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 |
93807369c766806cb5be6f29f9a5df08f011f184 | 148 | py | Python | polls/admin.py | agustinsuana/mysite | 03e196470520d5b93f60d6be40358332490f349e | [
"MIT"
] | null | null | null | polls/admin.py | agustinsuana/mysite | 03e196470520d5b93f60d6be40358332490f349e | [
"MIT"
] | null | null | null | polls/admin.py | agustinsuana/mysite | 03e196470520d5b93f60d6be40358332490f349e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Question
from .models import Choise
admin.site.register(Question)
admin.site.register(Choise) | 21.142857 | 32 | 0.824324 | 21 | 148 | 5.809524 | 0.47619 | 0.163934 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 148 | 7 | 33 | 21.142857 | 0.917293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
fac65dae04d03b412bac127f27f31725854a462b | 195 | py | Python | torpedo/dialects/torpedo-vertica/setup.py | darKoram/torpedo | fbda29225044e946465bae3782a3071d0d1a2fe3 | [
"MIT"
] | 1 | 2015-02-28T14:42:57.000Z | 2015-02-28T14:42:57.000Z | torpedo/dialects/torpedo-vertica/setup.py | darKoram/torpedo | fbda29225044e946465bae3782a3071d0d1a2fe3 | [
"MIT"
] | null | null | null | torpedo/dialects/torpedo-vertica/setup.py | darKoram/torpedo | fbda29225044e946465bae3782a3071d0d1a2fe3 | [
"MIT"
] | null | null | null | __author__ = 'kbroughton'
entry_points={
'torpedo.dialects': [
'vertica = torpedo_vertica.pyodbc:Vertica_pyodbc',
'vertica.pyodbc = torpedo_vertica.pyodbc:Vertica_pyodbc',
]
} | 24.375 | 63 | 0.702564 | 19 | 195 | 6.736842 | 0.421053 | 0.507813 | 0.46875 | 0.609375 | 0.515625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 195 | 8 | 64 | 24.375 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0.647959 | 0.377551 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f05524023ef0c9a0a6a7da0d502dd7163e64173 | 55,667 | py | Python | src/ZPublisher/tests/testHTTPResponse.py | MatthewWilkes/Zope | 740f934fc9409ae0062e8f0cd6dcfd8b2df00376 | [
"ZPL-2.1"
] | 1 | 2018-12-07T21:19:58.000Z | 2018-12-07T21:19:58.000Z | src/ZPublisher/tests/testHTTPResponse.py | MatthewWilkes/Zope | 740f934fc9409ae0062e8f0cd6dcfd8b2df00376 | [
"ZPL-2.1"
] | null | null | null | src/ZPublisher/tests/testHTTPResponse.py | MatthewWilkes/Zope | 740f934fc9409ae0062e8f0cd6dcfd8b2df00376 | [
"ZPL-2.1"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
import sys
class HTTPResponseTests(unittest.TestCase):
_old_default_encoding = None
def tearDown(self):
if self._old_default_encoding is not None:
self._setDefaultEncoding(self._old_default_encoding)
def _setDefaultEncoding(self, value):
... | 42.72218 | 80 | 0.595326 | 5,871 | 55,667 | 5.506558 | 0.074604 | 0.140122 | 0.07699 | 0.070989 | 0.824832 | 0.782672 | 0.74014 | 0.708126 | 0.668131 | 0.635498 | 0 | 0.013253 | 0.272118 | 55,667 | 1,302 | 81 | 42.754992 | 0.78462 | 0.024808 | 0 | 0.649154 | 0 | 0.00089 | 0.166633 | 0.013769 | 0 | 0 | 0 | 0.000768 | 0.314337 | 0 | null | null | 0.00089 | 0.021371 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
877c6f53328b820b5335a3593e1446818066e0be | 2,089 | py | Python | tests/utils/test_pairwise_iou.py | mhd53/retinanet-from-torch | 656afde34c5a281a10160151c9e036718eb4a716 | [
"MIT"
] | null | null | null | tests/utils/test_pairwise_iou.py | mhd53/retinanet-from-torch | 656afde34c5a281a10160151c9e036718eb4a716 | [
"MIT"
] | null | null | null | tests/utils/test_pairwise_iou.py | mhd53/retinanet-from-torch | 656afde34c5a281a10160151c9e036718eb4a716 | [
"MIT"
] | null | null | null | import unittest
import torch
from utils.box_utils import pairwise_iou
# Boundary box coords: (x_min, y_min, x_max, y_max)
class TestPairwiseIOU(unittest.TestCase):
def test_pairwise_iou_on_same_box(self):
box = torch.tensor([[0.5, 0.5, 1.0, 1.0]])
expected = torch.tensor([1.0])
actual =... | 28.616438 | 57 | 0.503112 | 324 | 2,089 | 3.114198 | 0.123457 | 0.069376 | 0.056492 | 0.059465 | 0.802775 | 0.802775 | 0.802775 | 0.802775 | 0.794846 | 0.764123 | 0 | 0.136069 | 0.335089 | 2,089 | 73 | 58 | 28.616438 | 0.590353 | 0.023456 | 0 | 0.425926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 1 | 0.092593 | false | 0 | 0.055556 | 0 | 0.166667 | 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 |
878daafd3687de8176c5a06937e4149748b7a5b3 | 42 | py | Python | lookout/core/slogging.py | Guillemdb/lookout-sdk-ml | 47f96120cb415dd15c98906ee161cd9085257d73 | [
"Apache-2.0"
] | 3 | 2018-12-05T16:06:47.000Z | 2019-04-18T10:10:14.000Z | lookout/core/slogging.py | Guillemdb/lookout-sdk-ml | 47f96120cb415dd15c98906ee161cd9085257d73 | [
"Apache-2.0"
] | 39 | 2018-11-22T21:37:57.000Z | 2019-05-21T12:09:02.000Z | lookout/core/slogging.py | Guillemdb/lookout-sdk-ml | 47f96120cb415dd15c98906ee161cd9085257d73 | [
"Apache-2.0"
] | 12 | 2018-11-06T15:10:39.000Z | 2021-01-28T11:39:21.000Z | from modelforge.slogging import * # noqa
| 21 | 41 | 0.761905 | 5 | 42 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 1 | 42 | 42 | 0.914286 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
879e1debae16b5673e7c126f6942df2d29239eaf | 243 | py | Python | result_helpers/__init__.py | NjuHaoZhang/AutoregressModel-AE_VAD_CVPR2019 | b9843f34ecb59f908d78ddf977ee4670e0ed6cb4 | [
"MIT"
] | 12 | 2020-08-24T08:03:51.000Z | 2022-03-14T06:40:20.000Z | result_helpers/__init__.py | zkeenly/AutoregressModel-AE_VAD_CVPR2019 | b9843f34ecb59f908d78ddf977ee4670e0ed6cb4 | [
"MIT"
] | null | null | null | result_helpers/__init__.py | zkeenly/AutoregressModel-AE_VAD_CVPR2019 | b9843f34ecb59f908d78ddf977ee4670e0ed6cb4 | [
"MIT"
] | 5 | 2020-10-10T10:28:19.000Z | 2021-05-04T07:42:52.000Z | from result_helpers.one_class import OneClassResultHelper
from result_helpers.video_anomaly import VideoAnomalyDetectionResultHelper
#
# 我开发的
from result_helpers.video_anomaly_deepSVDD import \
VideoAnomalyDetectionResultHelper_deepSVDD
#
| 30.375 | 74 | 0.884774 | 24 | 243 | 8.625 | 0.5 | 0.144928 | 0.246377 | 0.21256 | 0.280193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 243 | 7 | 75 | 34.714286 | 0.932432 | 0.016461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
87fa8e7f3e984a648331232ebab0ebd94f238f94 | 84 | py | Python | channels_jsonrpc/__init__.py | millerf/django-channels-websockets | b71bc9eb7571be11b08aa99d5008c6f3f6ae1866 | [
"MIT"
] | 27 | 2017-01-31T05:59:22.000Z | 2021-01-11T10:21:42.000Z | channels_jsonrpc/__init__.py | millerf/django-channels-websockets | b71bc9eb7571be11b08aa99d5008c6f3f6ae1866 | [
"MIT"
] | 13 | 2017-02-13T18:02:38.000Z | 2021-03-19T15:25:03.000Z | channels_jsonrpc/__init__.py | millerf/django-channels-websockets | b71bc9eb7571be11b08aa99d5008c6f3f6ae1866 | [
"MIT"
] | 8 | 2017-01-27T14:50:12.000Z | 2021-09-14T09:57:23.000Z | from .jsonrpcconsumer import JsonRpcConsumer, JsonRpcConsumerTest, JsonRpcException
| 42 | 83 | 0.892857 | 6 | 84 | 12.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 84 | 1 | 84 | 84 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3555faf1e9b49ee864f6127e3e994fe4385bf8e1 | 116 | py | Python | aperitive/console/utils/__init__.py | 0x4e3/aperitive | fff020bc1af3daab0b0f8037fd6943007166db07 | [
"MIT"
] | null | null | null | aperitive/console/utils/__init__.py | 0x4e3/aperitive | fff020bc1af3daab0b0f8037fd6943007166db07 | [
"MIT"
] | 213 | 2017-09-16T18:01:23.000Z | 2022-03-28T13:00:15.000Z | aperitive/console/utils/__init__.py | 0x4e3/aperitive | fff020bc1af3daab0b0f8037fd6943007166db07 | [
"MIT"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals
from .base import * # noqa
from .importer import * # noqa
| 19.333333 | 39 | 0.741379 | 16 | 116 | 5.0625 | 0.6875 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.181034 | 116 | 5 | 40 | 23.2 | 0.842105 | 0.189655 | 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 |
3580e8134cb698027813a09374cb989a0bbaa34e | 11,165 | py | Python | tests/test_api/test_ingredient_recipes.py | MyOpenPantry/flask-backend | e94702bfa04f36c1a6015ae3e9c37dfb7b923279 | [
"MIT"
] | null | null | null | tests/test_api/test_ingredient_recipes.py | MyOpenPantry/flask-backend | e94702bfa04f36c1a6015ae3e9c37dfb7b923279 | [
"MIT"
] | 4 | 2021-03-28T19:47:04.000Z | 2021-05-04T00:59:46.000Z | tests/test_api/test_ingredient_recipes.py | MyOpenPantry/flask-backend | e94702bfa04f36c1a6015ae3e9c37dfb7b923279 | [
"MIT"
] | null | null | null |
class TestIngredientRecipes:
def test_get(self, app):
client = app.test_client()
ingredient_info = dict()
ingredients = [
{'name': 'Black Beans'},
{'name': 'Red Beans'},
{'name': 'Pineapple'},
{'name': 'Rice'},
{'name': 'Chicken... | 32.646199 | 118 | 0.455352 | 1,009 | 11,165 | 4.961348 | 0.11893 | 0.04195 | 0.059928 | 0.071914 | 0.892329 | 0.871954 | 0.859569 | 0.821414 | 0.821414 | 0.821414 | 0 | 0.015375 | 0.411644 | 11,165 | 341 | 119 | 32.741935 | 0.746689 | 0.020779 | 0 | 0.65942 | 0 | 0 | 0.283962 | 0.031399 | 0 | 0 | 0 | 0 | 0.072464 | 1 | 0.01087 | false | 0 | 0 | 0 | 0.014493 | 0.003623 | 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 |
ea0e06ad8113292231e522b12312c3bbba30d3f7 | 158 | py | Python | tests/models.py | maceoutliner/django-fiction-outlines | cd76078b133c8327dc7c6c481c0664cefb5ce422 | [
"BSD-3-Clause-Clear"
] | 3 | 2018-04-23T11:05:27.000Z | 2018-10-17T23:18:48.000Z | tests/models.py | maceoutliner/django-fiction-outlines | cd76078b133c8327dc7c6c481c0664cefb5ce422 | [
"BSD-3-Clause-Clear"
] | 24 | 2018-04-02T11:38:55.000Z | 2022-03-28T02:05:20.000Z | tests/models.py | maceoutliner/django-fiction-outlines | cd76078b133c8327dc7c6c481c0664cefb5ce422 | [
"BSD-3-Clause-Clear"
] | null | null | null | from fiction_outlines.models import TimeStampedModel
class TimeStamp(TimeStampedModel):
'''
Object for testing our abstract model.
'''
pass
| 17.555556 | 52 | 0.721519 | 16 | 158 | 7.0625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208861 | 158 | 8 | 53 | 19.75 | 0.904 | 0.240506 | 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 |
ea43a9a6e83e818ab70c923812682bdcb037bdf3 | 92 | py | Python | functoolsplus/collections/__init__.py | apragacz/functoolsplus | 9d26666a2d017b25dd0e031ddde1570f5a4bffd3 | [
"MIT"
] | 2 | 2019-03-01T15:09:16.000Z | 2021-01-26T15:18:58.000Z | functoolsplus/collections/__init__.py | apragacz/functoolsplus | 9d26666a2d017b25dd0e031ddde1570f5a4bffd3 | [
"MIT"
] | null | null | null | functoolsplus/collections/__init__.py | apragacz/functoolsplus | 9d26666a2d017b25dd0e031ddde1570f5a4bffd3 | [
"MIT"
] | null | null | null | from .lists import SingleLinkedList # noqa: F401
from .streams import Stream # noqa: F401
| 30.666667 | 49 | 0.76087 | 12 | 92 | 5.833333 | 0.666667 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.173913 | 92 | 2 | 50 | 46 | 0.842105 | 0.228261 | 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 |
ea4808b41f87534ba1c361d53d7611a15cc619f6 | 1,174 | py | Python | tests/test_role_need_max_title_length.py | aris-bb/sphinxcontrib-needs | 975815c21241fc1f5a58d8cf5504eb76ab95f73f | [
"MIT"
] | 1 | 2022-03-24T08:55:28.000Z | 2022-03-24T08:55:28.000Z | tests/test_role_need_max_title_length.py | aris-bb/sphinxcontrib-needs | 975815c21241fc1f5a58d8cf5504eb76ab95f73f | [
"MIT"
] | null | null | null | tests/test_role_need_max_title_length.py | aris-bb/sphinxcontrib-needs | 975815c21241fc1f5a58d8cf5504eb76ab95f73f | [
"MIT"
] | null | null | null | import os
from pathlib import Path
import pytest
@pytest.mark.parametrize(
"test_app",
[{"buildername": "html", "srcdir": "doc_test/doc_role_need_max_title_length_unlimited"}],
indirect=True,
)
def test_max_title_length_unlimited(test_app):
os.environ["MAX_TITLE_LENGTH"] = "-1"
app = test_app
... | 28.634146 | 110 | 0.679727 | 161 | 1,174 | 4.701863 | 0.31677 | 0.055482 | 0.110964 | 0.06605 | 0.898283 | 0.898283 | 0.898283 | 0.731836 | 0.731836 | 0.731836 | 0 | 0.020106 | 0.19506 | 1,174 | 40 | 111 | 29.35 | 0.780952 | 0 | 0 | 0.451613 | 0 | 0 | 0.453152 | 0.074957 | 0 | 0 | 0 | 0 | 0.129032 | 1 | 0.064516 | false | 0 | 0.096774 | 0 | 0.16129 | 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 |
ea60f6c30ba91faaa13501292fc0a069fdbed425 | 147 | py | Python | callbacks/__init__.py | iamVarunAnand/image_classification | 58120a2a708e495b598cc97fe297e2071c8c4197 | [
"MIT"
] | 18 | 2019-10-17T10:30:40.000Z | 2020-12-26T03:59:23.000Z | callbacks/__init__.py | iamVarunAnand/image_classification | 58120a2a708e495b598cc97fe297e2071c8c4197 | [
"MIT"
] | 2 | 2021-08-25T15:05:01.000Z | 2022-02-09T23:41:44.000Z | callbacks/__init__.py | iamVarunAnand/image_classification | 58120a2a708e495b598cc97fe297e2071c8c4197 | [
"MIT"
] | 3 | 2020-09-18T19:29:13.000Z | 2021-12-27T05:17:53.000Z | from .cosinescheduler import CosineScheduler
from .linearwarmupscheduler import LinearWarmupScheduler
from .trainingmonitor import TrainingMonitor
| 36.75 | 56 | 0.897959 | 12 | 147 | 11 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 3 | 57 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57a24630c811e825463060f738c5357e6ed8bc7f | 183 | py | Python | calculate/__init__.py | newlawrence/Calculate_Python | fc6ed269c239db5d381c05d2455bbf5433700be1 | [
"MIT"
] | null | null | null | calculate/__init__.py | newlawrence/Calculate_Python | fc6ed269c239db5d381c05d2455bbf5433700be1 | [
"MIT"
] | null | null | null | calculate/__init__.py | newlawrence/Calculate_Python | fc6ed269c239db5d381c05d2455bbf5433700be1 | [
"MIT"
] | null | null | null | from calculate.calculate import Symbol, Associativity
from calculate.lexer import Lexer
from calculate.expression import Expression
from calculate.parser import Parser, DefaultParser
| 36.6 | 53 | 0.868852 | 22 | 183 | 7.227273 | 0.409091 | 0.327044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 183 | 4 | 54 | 45.75 | 0.963636 | 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 |
57a842790e63ed0f31cce8bfae941a971b75a336 | 28,507 | py | Python | FINAL/_archive/mh_beta/_data.py | andrewcistola/PHC6194_student | 02b83f0f634ed476a702ec633a7ccaf67608c4f4 | [
"MIT"
] | 2 | 2021-07-13T17:49:52.000Z | 2021-07-13T17:49:58.000Z | FINAL/_archive/mh_beta/_data.py | andrewcistola/PHC6194_student | 02b83f0f634ed476a702ec633a7ccaf67608c4f4 | [
"MIT"
] | null | null | null | FINAL/_archive/mh_beta/_data.py | andrewcistola/PHC6194_student | 02b83f0f634ed476a702ec633a7ccaf67608c4f4 | [
"MIT"
] | null | null | null | # Healthy neighborhoods Repository
## 2021 Release, version 1.1
### Data Script - Pull data from API and URL
## Step 1: Pull 1st Dataset from API
s1 = 'Step 1: Pull and Clean First Datasource from API' # Step 1 descriptive title
d1 = 'Dataset: CDC PLACES 2020 Release by Zip Code' # Dataset 1 descriptive title
f1 = 'CD... | 64.788636 | 163 | 0.714982 | 4,754 | 28,507 | 4.106647 | 0.064788 | 0.058188 | 0.02766 | 0.03688 | 0.895098 | 0.887927 | 0.86078 | 0.807304 | 0.791989 | 0.775496 | 0 | 0.044803 | 0.151261 | 28,507 | 440 | 164 | 64.788636 | 0.7621 | 0.4347 | 0 | 0.610028 | 0 | 0.011142 | 0.25166 | 0.026047 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
57a990ba88f7ed3cdb571f73ea556ee099793b90 | 50 | py | Python | Plugins/Transforms/Map/__init__.py | bvbohnen/X4_Customizer | 6f865008690916a66a44c97331d9a2692baedb35 | [
"MIT"
] | 25 | 2018-12-10T12:52:11.000Z | 2022-01-29T14:42:57.000Z | Plugins/Transforms/Map/__init__.py | bvbohnen/X4_Customizer | 6f865008690916a66a44c97331d9a2692baedb35 | [
"MIT"
] | 4 | 2019-08-01T19:09:11.000Z | 2022-01-02T01:47:42.000Z | Plugins/Transforms/Map/__init__.py | bvbohnen/X4_Customizer | 6f865008690916a66a44c97331d9a2692baedb35 | [
"MIT"
] | 6 | 2019-02-16T08:39:04.000Z | 2021-12-21T06:11:58.000Z |
from .Scale_Sector_Size import Scale_Sector_Size
| 16.666667 | 48 | 0.88 | 8 | 50 | 5 | 0.625 | 0.55 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 2 | 49 | 25 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
57c1f7b0951f72ae359af6ff413f7f76783ae6e2 | 1,559 | py | Python | models/nin.py | compsciencelab/pytorch-cifar | 4a526d0bbe53163b738602657cee220265ea6a55 | [
"MIT"
] | 1 | 2019-01-28T15:15:31.000Z | 2019-01-28T15:15:31.000Z | models/nin.py | compsciencelab/pytorch-cifar | 4a526d0bbe53163b738602657cee220265ea6a55 | [
"MIT"
] | null | null | null | models/nin.py | compsciencelab/pytorch-cifar | 4a526d0bbe53163b738602657cee220265ea6a55 | [
"MIT"
] | 1 | 2019-01-28T15:15:42.000Z | 2019-01-28T15:15:42.000Z |
import torch
import torch.nn as nn
class NiN(nn.Module):
def __init__(self):
super(NiN, self).__init__()
self.classifer = nn.Sequential(
nn.Conv2d(3, 192, kernel_size=3, stride=1, padding=1),
nn.ReLU(inplace=True),
nn.Conv2d(192, 160, kernel_size=1,... | 36.255814 | 72 | 0.518281 | 209 | 1,559 | 3.770335 | 0.181818 | 0.152284 | 0.177665 | 0.194162 | 0.755076 | 0.755076 | 0.751269 | 0.751269 | 0.751269 | 0.751269 | 0 | 0.101563 | 0.343169 | 1,559 | 42 | 73 | 37.119048 | 0.667969 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.176471 | 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 |
57c2ebabb42091b4e452a9644d17355d95d99a05 | 11,504 | py | Python | tests/extra_caches.py | bnchdrff/jussi | 79d8decde323b84cdd8331e5cbb490021ea78cee | [
"MIT"
] | null | null | null | tests/extra_caches.py | bnchdrff/jussi | 79d8decde323b84cdd8331e5cbb490021ea78cee | [
"MIT"
] | null | null | null | tests/extra_caches.py | bnchdrff/jussi | 79d8decde323b84cdd8331e5cbb490021ea78cee | [
"MIT"
] | 1 | 2018-03-14T10:36:48.000Z | 2018-03-14T10:36:48.000Z | # -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import asyncio
from aiocache.backends.memory import SimpleMemoryBackend
from aiocache.base import BaseCache
from aiocache.serializers import NullSerializer
MEMORY_CACHE_MAX_TTL = 180
class SimpleMemoryBackend2:
"""
Wrapper around dict operations to use it as ... | 33.835294 | 89 | 0.612396 | 1,262 | 11,504 | 5.351823 | 0.084786 | 0.046195 | 0.031093 | 0.028428 | 0.797453 | 0.773912 | 0.773912 | 0.753924 | 0.753924 | 0.733491 | 0 | 0.01353 | 0.293289 | 11,504 | 339 | 90 | 33.935103 | 0.81722 | 0.019471 | 0 | 0.758755 | 0 | 0 | 0.025105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035019 | false | 0 | 0.015564 | 0 | 0.307393 | 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 |
17d70777eb81b65aee5efd34880459e566173a72 | 148 | py | Python | Code/Initialization/CUDA_physics_models/measurement_interaction/No_Measurement_2P.py | jaspertaylor-projects/QuantumLatticeGasAlgorithm | a7fb8da08e0bd41c5b7fda96f2d5cb50a95cb0ca | [
"MIT"
] | 1 | 2020-05-21T19:34:20.000Z | 2020-05-21T19:34:20.000Z | Code/Initialization/CUDA_physics_models/measurement_interaction/No_Measurement_2P.py | jaspertaylor-projects/QuantumLatticeGasAlgorithm | a7fb8da08e0bd41c5b7fda96f2d5cb50a95cb0ca | [
"MIT"
] | null | null | null | Code/Initialization/CUDA_physics_models/measurement_interaction/No_Measurement_2P.py | jaspertaylor-projects/QuantumLatticeGasAlgorithm | a7fb8da08e0bd41c5b7fda96f2d5cb50a95cb0ca | [
"MIT"
] | null | null | null | def get_CUDA(dimensions, vectorSize):
return '''__global__ void measurement(dcmplx *QField, dcmplx *QField2, int* lattice, int* gpu_params){
}''' | 37 | 103 | 0.743243 | 18 | 148 | 5.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.114865 | 148 | 4 | 104 | 37 | 0.78626 | 0 | 0 | 0 | 0 | 0 | 0.644295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
17f441f54a212441a587286a29ef1ff021ad7df8 | 27 | py | Python | __init__.py | DiGyt/NBP_Hyperscanning | 2981e0475b48702ba7bfc14d93aa57298d603928 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | DiGyt/NBP_Hyperscanning | 2981e0475b48702ba7bfc14d93aa57298d603928 | [
"BSD-3-Clause"
] | 1 | 2020-03-31T11:35:25.000Z | 2020-03-31T11:35:25.000Z | __init__.py | DiGyt/NBP_Hyperscanning | 2981e0475b48702ba7bfc14d93aa57298d603928 | [
"BSD-3-Clause"
] | null | null | null | from data_analysis import * | 27 | 27 | 0.851852 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
aa119fa43709eee4cfc063c8b21b431b4f06d725 | 322 | py | Python | quotefix/__init__.py | robertklep/quotefixformac | f6439cd8c9e47966c071df7590f4fc6a793ed8a2 | [
"Unlicense"
] | 128 | 2015-01-19T09:33:52.000Z | 2022-01-16T02:58:30.000Z | quotefix/__init__.py | robertklep/quotefixformac | f6439cd8c9e47966c071df7590f4fc6a793ed8a2 | [
"Unlicense"
] | 67 | 2015-02-06T11:06:56.000Z | 2022-02-16T15:50:23.000Z | quotefix/__init__.py | robertklep/quotefixformac | f6439cd8c9e47966c071df7590f4fc6a793ed8a2 | [
"Unlicense"
] | 17 | 2015-06-03T08:48:56.000Z | 2022-02-14T09:36:01.000Z | from quotefix.app import App
from quotefix.updater import Updater
from quotefix.fixer import DocumentEditor, ComposeViewController, MailApp
from quotefix.preferences import QuoteFixPreferencesController
from quotefix.attribution import CustomizedAttribution, MessageHeader... | 53.666667 | 85 | 0.754658 | 28 | 322 | 8.678571 | 0.5 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220497 | 322 | 5 | 86 | 64.4 | 0.968127 | 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 |
aa365b0d693b0a2d646445f6c02df3c984791cb4 | 448 | py | Python | _package/xms/stamper/stamping/__init__.py | rohankumardubey/xmsstamper | 00abfec145f9dab1867006ccdffe6e9e1a0e4caf | [
"BSD-2-Clause"
] | null | null | null | _package/xms/stamper/stamping/__init__.py | rohankumardubey/xmsstamper | 00abfec145f9dab1867006ccdffe6e9e1a0e4caf | [
"BSD-2-Clause"
] | 8 | 2018-10-11T19:45:36.000Z | 2020-10-13T22:19:47.000Z | _package/xms/stamper/stamping/__init__.py | Aquaveo/xmsstamper | 00abfec145f9dab1867006ccdffe6e9e1a0e4caf | [
"BSD-2-Clause"
] | null | null | null | """Initialize the module."""
from . import stamper # NOQA: F401
from .stamper import stamp # NOQA: F401
from .stamper_io import CrossSection # NOQA: F401
from .stamper_io import EndCap # NOQA: F401
from .stamper_io import Guidebank # NOQA: F401
from .stamper_io import SlopedAbutment # NOQA: F401
from .stamper_io ... | 40.727273 | 52 | 0.756696 | 63 | 448 | 5.269841 | 0.269841 | 0.216867 | 0.289157 | 0.457831 | 0.569277 | 0.569277 | 0 | 0 | 0 | 0 | 0 | 0.072386 | 0.167411 | 448 | 10 | 53 | 44.8 | 0.817694 | 0.272321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa3a0499ce6eaf6400e1d740423c7d99dc787a10 | 10,577 | py | Python | test/test_soxta.py | DaniSancas/soxta | 3ad79a70e1250867410f8e313bc7e051f51e5f6d | [
"Apache-2.0"
] | null | null | null | test/test_soxta.py | DaniSancas/soxta | 3ad79a70e1250867410f8e313bc7e051f51e5f6d | [
"Apache-2.0"
] | null | null | null | test/test_soxta.py | DaniSancas/soxta | 3ad79a70e1250867410f8e313bc7e051f51e5f6d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# coding=utf-8
import unittest
from soxta.soxta import XmlToAvro
class TestXmlToAvro(unittest.TestCase):
def setUp(self):
"""Setup XmlToAvro sample object"""
xmlfile = "data/Sample.xml"
avroschema = "data/Sample.avsc"
outputavro = "data/Sample.avro"
self... | 46.594714 | 119 | 0.656046 | 1,258 | 10,577 | 5.221781 | 0.116852 | 0.057543 | 0.098645 | 0.057543 | 0.852946 | 0.802405 | 0.750343 | 0.734511 | 0.697975 | 0.617598 | 0 | 0.009468 | 0.231067 | 10,577 | 226 | 120 | 46.800885 | 0.798229 | 0.178028 | 0 | 0.281879 | 0 | 0 | 0.124193 | 0.023242 | 0 | 0 | 0 | 0 | 0.234899 | 1 | 0.241611 | false | 0.006711 | 0.013423 | 0 | 0.261745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4bfac5ff4420c8be8dd6918eb28b963e795aacb | 167 | py | Python | src/fileStorage3/__init__.py | edcilo/fileStorage3 | fe60a9972e7d5f2242116f6196a5605c747d152b | [
"MIT"
] | null | null | null | src/fileStorage3/__init__.py | edcilo/fileStorage3 | fe60a9972e7d5f2242116f6196a5605c747d152b | [
"MIT"
] | null | null | null | src/fileStorage3/__init__.py | edcilo/fileStorage3 | fe60a9972e7d5f2242116f6196a5605c747d152b | [
"MIT"
] | null | null | null | # from .fileStorage3 import Disk, FileStorage3, S3
from .fileStorage3 import FileStorage3
from .disk import Disk
from .fileSystem import FileSystem
from .s3 import S3
| 27.833333 | 50 | 0.814371 | 22 | 167 | 6.181818 | 0.272727 | 0.235294 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048611 | 0.137725 | 167 | 5 | 51 | 33.4 | 0.895833 | 0.287425 | 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 |
a4ddac334afedef8a95e5ce35b3c58da888197f6 | 49 | py | Python | snake_ruim/envs/__init__.py | luish18/aula_de_ambientes_turing | 747c28b34a5bd19ed51c78c8845208982cb71caa | [
"Unlicense"
] | null | null | null | snake_ruim/envs/__init__.py | luish18/aula_de_ambientes_turing | 747c28b34a5bd19ed51c78c8845208982cb71caa | [
"Unlicense"
] | null | null | null | snake_ruim/envs/__init__.py | luish18/aula_de_ambientes_turing | 747c28b34a5bd19ed51c78c8845208982cb71caa | [
"Unlicense"
] | null | null | null | from snake_ruim.envs.snake_ruim import snake_env
| 24.5 | 48 | 0.877551 | 9 | 49 | 4.444444 | 0.666667 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a4e7a3ac0cad946ee0d3ed2659b9884dc8ae1efd | 131 | py | Python | app/core/util/base.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | app/core/util/base.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | app/core/util/base.py | polowis/virtComp | 142c623da4722f7443d76fc8bef0e56c0aa3d48e | [
"MIT"
] | null | null | null | import uuid
def generate_unique_id():
"""This function generates an unique."""
return str(uuid.uuid1()).replace("-", "")
| 18.714286 | 45 | 0.648855 | 16 | 131 | 5.1875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.167939 | 131 | 6 | 46 | 21.833333 | 0.752294 | 0.259542 | 0 | 0 | 1 | 0 | 0.010989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1041209ba76275d364c7ba961d92542a08d38e2e | 34 | py | Python | hello_world.py | murikadan/python_core | b29081f6829be143243cf4e3521bf18bf5b7c9be | [
"Apache-2.0"
] | null | null | null | hello_world.py | murikadan/python_core | b29081f6829be143243cf4e3521bf18bf5b7c9be | [
"Apache-2.0"
] | null | null | null | hello_world.py | murikadan/python_core | b29081f6829be143243cf4e3521bf18bf5b7c9be | [
"Apache-2.0"
] | null | null | null | import requests
print('hi there!') | 17 | 18 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 2 | 18 | 17 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 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 |
107bc6626ead5b7720d5eff066c111c3ad3acc0a | 22 | py | Python | __init__.py | basakanayurt/DetoxAI | 7ef10e52630021aee084cf3e8da7abb088fe831c | [
"MIT"
] | null | null | null | __init__.py | basakanayurt/DetoxAI | 7ef10e52630021aee084cf3e8da7abb088fe831c | [
"MIT"
] | null | null | null | __init__.py | basakanayurt/DetoxAI | 7ef10e52630021aee084cf3e8da7abb088fe831c | [
"MIT"
] | null | null | null | from .DetoxAI import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 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 |
109b35d666a654a351a49696a11907ea9089e25d | 33 | py | Python | python/testData/commenter/indentedComment_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/commenter/indentedComment_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/commenter/indentedComment_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo():
# i = 1
j = 2
| 8.25 | 11 | 0.30303 | 6 | 33 | 1.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.515152 | 33 | 3 | 12 | 11 | 0.5 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
10bb292f3c4ef0486a4a06bf6b14e43f59253552 | 28 | py | Python | src/pythonFEA/property/property/__init__.py | honzatomek/pythonFEA | c851c20800a06cc2084ef53dfd2ab67e7dfbc3b7 | [
"MIT"
] | null | null | null | src/pythonFEA/property/property/__init__.py | honzatomek/pythonFEA | c851c20800a06cc2084ef53dfd2ab67e7dfbc3b7 | [
"MIT"
] | null | null | null | src/pythonFEA/property/property/__init__.py | honzatomek/pythonFEA | c851c20800a06cc2084ef53dfd2ab67e7dfbc3b7 | [
"MIT"
] | null | null | null | from .beam2d import PBeam2D
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 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 |
10bc4d1f2eb53b8b7d64bb9323f0dd03e53537e1 | 138 | py | Python | batchglm/train/tf/base/__init__.py | SabrinaRichter/batchglm | 2da429f895f7eb577a835da334f4ae146a9422ce | [
"BSD-3-Clause"
] | null | null | null | batchglm/train/tf/base/__init__.py | SabrinaRichter/batchglm | 2da429f895f7eb577a835da334f4ae146a9422ce | [
"BSD-3-Clause"
] | null | null | null | batchglm/train/tf/base/__init__.py | SabrinaRichter/batchglm | 2da429f895f7eb577a835da334f4ae146a9422ce | [
"BSD-3-Clause"
] | null | null | null | from .estimator import TFEstimator, MonitoredTFEstimator
from .estimator_graph import TFEstimatorGraph
from .model import ProcessModelBase | 46 | 56 | 0.884058 | 14 | 138 | 8.642857 | 0.642857 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 138 | 3 | 57 | 46 | 0.960317 | 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 |
529acb2b3da702a3d445892012eb881e15ec6a4e | 199 | py | Python | src/botus_receptus/exceptions.py | gpontesss/botus_receptus | bf29f5f70a2e7ae3548a44287c636515f78e7e77 | [
"BSD-3-Clause"
] | 3 | 2019-04-15T01:45:46.000Z | 2020-04-07T13:31:19.000Z | src/botus_receptus/exceptions.py | gpontesss/botus_receptus | bf29f5f70a2e7ae3548a44287c636515f78e7e77 | [
"BSD-3-Clause"
] | 244 | 2020-04-20T22:10:23.000Z | 2022-03-31T23:03:48.000Z | src/botus_receptus/exceptions.py | gpontesss/botus_receptus | bf29f5f70a2e7ae3548a44287c636515f78e7e77 | [
"BSD-3-Clause"
] | 1 | 2021-11-08T08:52:32.000Z | 2021-11-08T08:52:32.000Z | from __future__ import annotations
from discord.ext import typed_commands
class OnlyDirectMessage(typed_commands.CheckFailure):
...
class NotGuildOwner(typed_commands.CheckFailure):
...
| 16.583333 | 53 | 0.788945 | 20 | 199 | 7.5 | 0.6 | 0.26 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135678 | 199 | 11 | 54 | 18.090909 | 0.872093 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52a3018bc0df8c52311a8dca1a60bb271adfe151 | 419 | py | Python | src/examples/reference/resetmatrix.py | agarwalnaimish/pyprocessing | 46695c379c95a7b874f76257c37f44f4b59d39e9 | [
"MIT"
] | 3 | 2018-04-23T17:33:02.000Z | 2021-01-05T04:52:36.000Z | src/examples/reference/resetmatrix.py | agarwalnaimish/pyprocessing | 46695c379c95a7b874f76257c37f44f4b59d39e9 | [
"MIT"
] | 1 | 2018-04-23T17:37:37.000Z | 2018-04-23T17:37:37.000Z | src/examples/reference/resetmatrix.py | agarwalnaimish/pyprocessing | 46695c379c95a7b874f76257c37f44f4b59d39e9 | [
"MIT"
] | 2 | 2019-01-16T06:34:52.000Z | 2019-10-15T14:03:07.000Z | from pyprocessing import *
noFill();
box(80);
printMatrix();
# Processing prints
# 01.0000 00.0000 00.0000 -50.0000
# 00.0000 01.0000 00.0000 -50.0000
# 00.0000 00.0000 01.0000 -86.6025
# 00.0000 00.0000 00.0000 01.0000
resetMatrix();
box(80);
printMatrix();
# Prints:
# 1.0000 0.0000 0.0000 0.0000
# 0.000... | 19.045455 | 36 | 0.649165 | 79 | 419 | 3.443038 | 0.240506 | 0.220588 | 0.397059 | 0.330882 | 0.610294 | 0.580882 | 0.580882 | 0.294118 | 0.294118 | 0.294118 | 0 | 0.530973 | 0.190931 | 419 | 21 | 37 | 19.952381 | 0.271386 | 0.689737 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52b2c439f5d5a546c721acce400150492b2f90b8 | 1,004,406 | py | Python | tests/fixtures.py | aviloncho/mutants | 343a2d5b86d053e901bee26fb7399a30c38ef5e4 | [
"MIT"
] | null | null | null | tests/fixtures.py | aviloncho/mutants | 343a2d5b86d053e901bee26fb7399a30c38ef5e4 | [
"MIT"
] | null | null | null | tests/fixtures.py | aviloncho/mutants | 343a2d5b86d053e901bee26fb7399a30c38ef5e4 | [
"MIT"
] | null | null | null |
EXAMPLE = [
'ATGCGA',
'CAGTGC',
'TTATGT',
'AGAAGG',
'CCCCTA',
'TCACTG'
]
DIAGONAL2 = [
'TTGCGC',
'CAGTCC',
'ATTCGT',
'AACAGG',
'CCACTA',
'TCAATG'
]
VERTICAL1 = [
'ATGCGA',
'CCGTTC',
'TTATGG',
'AGAAGG',
'CAGCTG',
'TCACTG'
]
HUMAN = [
'CTGCTA... | 966.704524 | 1,003 | 0.995793 | 1,029 | 1,004,406 | 971.992225 | 0.994169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000002 | 0.001139 | 1,004,406 | 1,039 | 1,004 | 966.704524 | 0.996926 | 0 | 0 | 0.009671 | 0 | 0 | 0.995757 | 0.995613 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52f1ae6ce11119b725841f77165f771653b57210 | 94 | py | Python | SnakeBackend/main/serializers.py | PatrickKoss/Snake | b15ba77d7b848db48206c14d8e16f10ebcc2e808 | [
"MIT"
] | null | null | null | SnakeBackend/main/serializers.py | PatrickKoss/Snake | b15ba77d7b848db48206c14d8e16f10ebcc2e808 | [
"MIT"
] | 11 | 2021-03-19T12:27:29.000Z | 2022-02-27T11:10:27.000Z | SnakeBackend/main/serializers.py | PatrickKoss/Snake | b15ba77d7b848db48206c14d8e16f10ebcc2e808 | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer
from rest_framework import serializers
| 31.333333 | 54 | 0.904255 | 11 | 94 | 7.545455 | 0.545455 | 0.192771 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 55 | 47 | 0.965116 | 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 |
5e14ff77bdc3f01ed2dc096f3dc362a5bed5f25d | 75 | py | Python | tests/parser/example_weak.dl.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/example_weak.dl.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/example_weak.dl.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
:~ p(W). [W@X,a,b,c]
"""
output = """
:~ p(W). [W@X,a,b,c]
"""
| 10.714286 | 20 | 0.333333 | 16 | 75 | 1.5625 | 0.5 | 0.16 | 0.24 | 0.32 | 0.56 | 0.56 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 75 | 6 | 21 | 12.5 | 0.409836 | 0 | 0 | 0.666667 | 0 | 0 | 0.586667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eaa85aadcc34530a3ed65345f47bc40e503e7345 | 12 | py | Python | test/run/t137.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t137.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t137.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print 7^2|4
| 6 | 11 | 0.666667 | 4 | 12 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.166667 | 12 | 1 | 12 | 12 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
eaa8a9557d3fa3babf67291cc3ec39e3c9a41ddb | 8,327 | py | Python | tests/test_passes/test_insert_coreir_wires.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 167 | 2017-10-08T00:59:22.000Z | 2022-02-08T00:14:39.000Z | tests/test_passes/test_insert_coreir_wires.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 719 | 2017-08-29T17:58:28.000Z | 2022-03-31T23:39:18.000Z | tests/test_passes/test_insert_coreir_wires.py | leonardt/magma | d3e8c9500ec3b167df8ed067e0c0305781c94ab6 | [
"MIT"
] | 14 | 2017-09-01T03:25:16.000Z | 2021-11-05T13:30:24.000Z | import magma as m
from magma.t import Direction
from magma.testing import check_files_equal
import pytest
import copy
@pytest.mark.parametrize(
"T",
[m.Bit, m.Bits[5], m.Array[5, m.Bits[5]], m.Tuple[m.Bits[5], m.Bit]]
)
def test_insert_coreir_wires_basic(T):
class Main(m.Circuit):
io = m.IO(I=m.In... | 32.527344 | 88 | 0.512309 | 1,325 | 8,327 | 3.01283 | 0.074717 | 0.108216 | 0.153307 | 0.081162 | 0.871994 | 0.852455 | 0.814629 | 0.781563 | 0.743737 | 0.654559 | 0 | 0.024382 | 0.295665 | 8,327 | 255 | 89 | 32.654902 | 0.656266 | 0.030863 | 0 | 0.532663 | 0 | 0.015075 | 0.214942 | 0.155498 | 0 | 0 | 0 | 0 | 0.050251 | 1 | 0.045226 | false | 0 | 0.025126 | 0 | 0.291457 | 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 |
eab3fc7b2b2850f20f4ed55c383ac18ed3bf9503 | 26 | py | Python | src/user/__init__.py | ouank/selva_urbana | 9bfa08fe6e7a075f8ffcf649f6669cf20ebac65b | [
"MIT"
] | null | null | null | src/user/__init__.py | ouank/selva_urbana | 9bfa08fe6e7a075f8ffcf649f6669cf20ebac65b | [
"MIT"
] | 25 | 2020-10-20T10:29:05.000Z | 2020-12-16T10:34:27.000Z | src/user/__init__.py | ouank/selva_urbana | 9bfa08fe6e7a075f8ffcf649f6669cf20ebac65b | [
"MIT"
] | null | null | null | from user.user import User | 26 | 26 | 0.846154 | 5 | 26 | 4.4 | 0.6 | 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 |
eaf5ce15321a79af9cb4c4635901d4559dc57b3d | 36 | py | Python | manager/formats/str.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | null | null | null | manager/formats/str.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | 5 | 2018-11-22T13:32:17.000Z | 2018-11-22T13:34:39.000Z | manager/formats/str.py | Exanis/dataset-manager | af2f2d4242417eb14240129ac6312a0ebdfd24ee | [
"MIT"
] | null | null | null | def str_format(val):
return val
| 12 | 20 | 0.694444 | 6 | 36 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 2 | 21 | 18 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
eafcba50cb4153db3451caffa9b32659e7fb10c6 | 126 | py | Python | app/user/__init__.py | joiller/flask_blog | c7eb2846a63ede03a83b46bd59f463da4393a9f1 | [
"Apache-2.0"
] | null | null | null | app/user/__init__.py | joiller/flask_blog | c7eb2846a63ede03a83b46bd59f463da4393a9f1 | [
"Apache-2.0"
] | null | null | null | app/user/__init__.py | joiller/flask_blog | c7eb2846a63ede03a83b46bd59f463da4393a9f1 | [
"Apache-2.0"
] | null | null | null | # user 目录:针对用户业务逻辑处理的目录
# 针对用户业务逻辑处理的初始化操作
from flask import Blueprint
user = Blueprint('user', __name__)
from . import views | 21 | 34 | 0.785714 | 15 | 126 | 6.333333 | 0.666667 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134921 | 126 | 6 | 35 | 21 | 0.87156 | 0.301587 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d821bdb94fccccdcaeb3aa31d15bd8eb488e23c7 | 665 | py | Python | toolcraft/gui/_enum.py | SpikingNeurons/toolcraft | 7290fa70a5d2680ebacf1bc421efaf09545f7c7e | [
"BSD-3-Clause"
] | 6 | 2021-04-06T09:27:48.000Z | 2021-12-17T02:13:11.000Z | toolcraft/gui/_enum.py | SpikingNeurons/toolcraft | 7290fa70a5d2680ebacf1bc421efaf09545f7c7e | [
"BSD-3-Clause"
] | 57 | 2021-03-19T07:33:13.000Z | 2022-03-30T18:59:29.000Z | toolcraft/gui/_enum.py | SpikingNeurons/toolcraft | 7290fa70a5d2680ebacf1bc421efaf09545f7c7e | [
"BSD-3-Clause"
] | 2 | 2021-04-08T18:24:36.000Z | 2021-04-08T22:40:50.000Z | # auto pk; start >>>
# noinspection PyUnresolvedReferences
from .__base__ import EnColor
# noinspection PyUnresolvedReferences
from ._auto import EnDir
# noinspection PyUnresolvedReferences
from ._auto import EnPlotColormap
# noinspection PyUnresolvedReferences
from ._auto import EnComboHeight
# noinspection PyUnresolv... | 31.666667 | 37 | 0.84812 | 60 | 665 | 9.2 | 0.3 | 0.554348 | 0.619565 | 0.608696 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109774 | 665 | 20 | 38 | 33.25 | 0.932432 | 0.53985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc304fc73c172d561b3b473fa0aebf2b106ee287 | 140 | py | Python | lioght/blueprints/ui/views.py | Ketouem/lioght | ae016a314653cf547b992b06e5d77e13d8f62afc | [
"MIT"
] | null | null | null | lioght/blueprints/ui/views.py | Ketouem/lioght | ae016a314653cf547b992b06e5d77e13d8f62afc | [
"MIT"
] | null | null | null | lioght/blueprints/ui/views.py | Ketouem/lioght | ae016a314653cf547b992b06e5d77e13d8f62afc | [
"MIT"
] | null | null | null | from flask import render_template
from . import ui
@ui.route("/", methods=["GET"])
def index():
return render_template("index.html")
| 15.555556 | 40 | 0.692857 | 19 | 140 | 5 | 0.684211 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 8 | 41 | 17.5 | 0.798319 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 0 | 6 |
dca28fa3d9296994f337390a079c0bba866d75ab | 32 | py | Python | stubbs/defs/elec.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/elec.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/elec.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from ...hek.defs.elec import *
| 16 | 31 | 0.65625 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 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 |
f4f24641b0b35efad5344fd6ca837d2dd64933be | 259 | py | Python | codes/linear_model_for_regression/__init__.py | NCEPU-Sunrise/2021-MachineLearningGroup | d47a73fa1627f0452ed9e39aacf72e925d25ee73 | [
"MIT"
] | 3 | 2021-11-02T06:07:24.000Z | 2022-03-14T07:44:24.000Z | codes/linear_model_for_regression/__init__.py | NCEPU-Sunrise/2021-MachineLearningGroup | d47a73fa1627f0452ed9e39aacf72e925d25ee73 | [
"MIT"
] | null | null | null | codes/linear_model_for_regression/__init__.py | NCEPU-Sunrise/2021-MachineLearningGroup | d47a73fa1627f0452ed9e39aacf72e925d25ee73 | [
"MIT"
] | 1 | 2022-01-29T09:09:58.000Z | 2022-01-29T09:09:58.000Z | from linear_model_for_regression.regression import Regression
from linear_model_for_regression.basis_function import Polynomial, RBF, Sigmoid
from linear_model_for_regression.linear_regression import LinearRegression, RidgeRegression, BayesianLinearRegression | 86.333333 | 117 | 0.915058 | 30 | 259 | 7.533333 | 0.466667 | 0.132743 | 0.199115 | 0.238938 | 0.371681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057915 | 259 | 3 | 117 | 86.333333 | 0.92623 | 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 |
7602030a5f53cbec6240dddc5cecc8556bce8bc3 | 77 | py | Python | 29/08/1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | 29/08/1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | 38 | 2017-05-25T07:08:48.000Z | 2017-05-31T01:42:41.000Z | 29/08/1.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | def AddOne(value=99):
return value + 1
print(AddOne())
print(AddOne(7))
| 12.833333 | 21 | 0.662338 | 12 | 77 | 4.25 | 0.666667 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.168831 | 77 | 5 | 22 | 15.4 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
762b2154ef57ea3442d6e0fba2c8ebb74e688f92 | 112 | py | Python | src/uix/behaviors/__init__.py | Eastern-Skill7173/SharedSnippets | 399c9d61a938788e229bc6e6f6dcd38bf5ad9c0e | [
"MIT"
] | 1 | 2022-03-18T20:29:40.000Z | 2022-03-18T20:29:40.000Z | src/uix/behaviors/__init__.py | Eastern-Skill7173/SharedSnippets | 399c9d61a938788e229bc6e6f6dcd38bf5ad9c0e | [
"MIT"
] | null | null | null | src/uix/behaviors/__init__.py | Eastern-Skill7173/SharedSnippets | 399c9d61a938788e229bc6e6f6dcd38bf5ad9c0e | [
"MIT"
] | null | null | null | from .extendedtogglebutton import ExtendedToggleButtonBehavior
from .selectionbehavior import SelectionBehavior
| 37.333333 | 62 | 0.910714 | 8 | 112 | 12.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 63 | 56 | 0.980769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
521519944e6eafa7d03baca72f853cd847820d50 | 1,850 | py | Python | C/OS/Kernel/Config.py | x-channel/K-SET-OS | a85ddc21df323dbb03e709aa2e0681ad79d56295 | [
"MIT"
] | null | null | null | C/OS/Kernel/Config.py | x-channel/K-SET-OS | a85ddc21df323dbb03e709aa2e0681ad79d56295 | [
"MIT"
] | null | null | null | C/OS/Kernel/Config.py | x-channel/K-SET-OS | a85ddc21df323dbb03e709aa2e0681ad79d56295 | [
"MIT"
] | null | null | null | import Kernel
usuario = "Afeto"
senha = "aaaa"
quantum = 5.1
escalonador = ["Round Robin", "Loteria"]
software = {
"printN":
"""N = %i
for i in range(N):
self.saidaT(i)
tempo = "tempo total: " + str(self.tempoTotal)
self.saidaT(tempo)""",
"fibonacciN":
"""N = %i
if N > 1:
a1 = 1
a2 = 1
for i in ran... | 18.316832 | 46 | 0.611892 | 307 | 1,850 | 3.687296 | 0.18241 | 0.084806 | 0.031802 | 0.058304 | 0.844523 | 0.823322 | 0.819788 | 0.819788 | 0.765018 | 0.681979 | 0 | 0.019256 | 0.185946 | 1,850 | 100 | 47 | 18.5 | 0.732404 | 0 | 0 | 0 | 0 | 0 | 0.291005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0.055556 | 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 |
875605ded4f6fa9d8a49fa8bca509176d8681133 | 20 | py | Python | 基础教程/A1-Python与基础知识/算法第一步/ExampleCodes/chapter06/6-4.py | microsoft/ai-edu | 2f59fa4d3cf19f14e0b291e907d89664bcdc8df3 | [
"Apache-2.0"
] | 11,094 | 2019-05-07T02:48:50.000Z | 2022-03-31T08:49:42.000Z | 基础教程/A1-Python与基础知识/算法第一步/ExampleCodes/chapter06/6-4.py | microsoft/ai-edu | 2f59fa4d3cf19f14e0b291e907d89664bcdc8df3 | [
"Apache-2.0"
] | 157 | 2019-05-13T15:07:19.000Z | 2022-03-23T08:52:32.000Z | 基础教程/A1-Python与基础知识/算法第一步/ExampleCodes/chapter06/6-4.py | microsoft/ai-edu | 2f59fa4d3cf19f14e0b291e907d89664bcdc8df3 | [
"Apache-2.0"
] | 2,412 | 2019-05-07T02:55:15.000Z | 2022-03-30T06:56:52.000Z | print(3)
print(5.96) | 10 | 11 | 0.7 | 5 | 20 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.05 | 20 | 2 | 11 | 10 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
87708f64d19f7f429290ec7e71f60aa10ca5e708 | 30 | py | Python | __init__.py | lqez/pelican-check-ext-link | cac1ac4a567b713cdf9572cb126435774ef0c1e0 | [
"MIT"
] | 1 | 2020-12-31T20:20:07.000Z | 2020-12-31T20:20:07.000Z | __init__.py | lqez/pelican-check-ext-link | cac1ac4a567b713cdf9572cb126435774ef0c1e0 | [
"MIT"
] | null | null | null | __init__.py | lqez/pelican-check-ext-link | cac1ac4a567b713cdf9572cb126435774ef0c1e0 | [
"MIT"
] | null | null | null | from .check_ext_link import *
| 15 | 29 | 0.8 | 5 | 30 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 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 |
0d94e1f61496a160e22fa6ce56740e2a2e36b836 | 71 | py | Python | app/forms.py | codemonkey49/runescapev6 | 01656b9992e117c0f87296f4ecbef34f04d303c8 | [
"MIT"
] | null | null | null | app/forms.py | codemonkey49/runescapev6 | 01656b9992e117c0f87296f4ecbef34f04d303c8 | [
"MIT"
] | null | null | null | app/forms.py | codemonkey49/runescapev6 | 01656b9992e117c0f87296f4ecbef34f04d303c8 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from django.forms.widgets import *
| 17.75 | 34 | 0.816901 | 10 | 71 | 5.8 | 0.6 | 0.344828 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 3 | 35 | 23.666667 | 0.935484 | 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 |
217311fb27b135cb6c4b8ec9a21c3f137cdcaf5f | 5,203 | py | Python | tests/test_ldap.py | bushelpowered/grafana-ldap-sync-script | 1de90583ca4ab8cc828332b72f1f95756d099c1f | [
"Apache-2.0"
] | 9 | 2020-07-17T06:36:23.000Z | 2022-03-27T19:35:50.000Z | tests/test_ldap.py | bushelpowered/grafana-ldap-sync-script | 1de90583ca4ab8cc828332b72f1f95756d099c1f | [
"Apache-2.0"
] | 2 | 2021-08-19T13:25:32.000Z | 2022-02-03T16:06:55.000Z | tests/test_ldap.py | bushelpowered/grafana-ldap-sync-script | 1de90583ca4ab8cc828332b72f1f95756d099c1f | [
"Apache-2.0"
] | 6 | 2021-01-05T18:46:36.000Z | 2022-03-28T11:35:46.000Z | from unittest import TestCase
from unittest.mock import patch, Mock, ANY
from ldap3 import ALL, NTLM
from script import ldap
class get_ldap_connection(TestCase):
@patch("script.ldap.Connection", autospec=True)
@patch("script.ldap.Server", autospec=True)
@patch("script.ldap.configuration")
def test_c... | 44.853448 | 120 | 0.718624 | 661 | 5,203 | 5.217852 | 0.131619 | 0.098579 | 0.09742 | 0.059148 | 0.804581 | 0.765729 | 0.765729 | 0.731226 | 0.731226 | 0.697014 | 0 | 0.001887 | 0.185086 | 5,203 | 115 | 121 | 45.243478 | 0.811557 | 0 | 0 | 0.615385 | 0 | 0 | 0.155295 | 0.056121 | 0 | 0 | 0 | 0 | 0.197802 | 1 | 0.065934 | false | 0.043956 | 0.043956 | 0 | 0.153846 | 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 |
21806a78243c6f1035f8a1985a0588f7218336f3 | 87 | py | Python | hilltoppy/__init__.py | jeffcnz/hilltop-py | efb763a39bc5c41bdff60841b45f7bf3216e85b8 | [
"Apache-2.0"
] | 7 | 2018-12-03T01:47:29.000Z | 2021-11-24T22:08:10.000Z | hilltoppy/__init__.py | jeffcnz/hilltop-py | efb763a39bc5c41bdff60841b45f7bf3216e85b8 | [
"Apache-2.0"
] | 17 | 2019-01-28T01:12:07.000Z | 2021-09-26T22:56:36.000Z | hilltoppy/__init__.py | jeffcnz/hilltop-py | efb763a39bc5c41bdff60841b45f7bf3216e85b8 | [
"Apache-2.0"
] | 8 | 2018-09-18T03:46:25.000Z | 2021-11-30T23:31:25.000Z | from hilltoppy import com
from hilltoppy import util
from hilltoppy import web_service
| 21.75 | 33 | 0.862069 | 13 | 87 | 5.692308 | 0.538462 | 0.527027 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 34 | 29 | 0.986667 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.