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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f7e6eab88b7182b0e458a8868bb7157683002779 | 37 | py | Python | pynotifier/__init__.py | Atharva-Dev/pynotifier | 07ee7f242faaf80763f6a0e5651ae8e607ae75d3 | [
"MIT"
] | null | null | null | pynotifier/__init__.py | Atharva-Dev/pynotifier | 07ee7f242faaf80763f6a0e5651ae8e607ae75d3 | [
"MIT"
] | null | null | null | pynotifier/__init__.py | Atharva-Dev/pynotifier | 07ee7f242faaf80763f6a0e5651ae8e607ae75d3 | [
"MIT"
] | null | null | null | from .pynotifier import Notification
| 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 |
791c831685b5f2b634575445c8d3a1a4ef68c1b8 | 5,701 | py | Python | fp_pred_group/preprocessor/preprocess_feat.py | ndkgit339/filledpause_prediction_group | db511c081f155ec2c23afe82bc44c03c38618590 | [
"MIT"
] | 1 | 2022-02-25T01:03:40.000Z | 2022-02-25T01:03:40.000Z | fp_pred_group/preprocessor/preprocess_feat.py | ndkgit339/filledpause_prediction_group | db511c081f155ec2c23afe82bc44c03c38618590 | [
"MIT"
] | null | null | null | fp_pred_group/preprocessor/preprocess_feat.py | ndkgit339/filledpause_prediction_group | db511c081f155ec2c23afe82bc44c03c38618590 | [
"MIT"
] | null | null | null | import time
from pathlib import Path
from tqdm import tqdm
import hydra
from omegaconf import DictConfig
# 言語処理
# import fasttext
# import fasttext.util
from transformers import BertTokenizer, BertModel
# データ処理
import numpy as np
import torch
def extract_feats(config):
start = time.time()
# FPs
with ope... | 38.52027 | 97 | 0.630591 | 825 | 5,701 | 4.109091 | 0.168485 | 0.037758 | 0.031858 | 0.026549 | 0.842183 | 0.79351 | 0.733038 | 0.707965 | 0.707965 | 0.689676 | 0 | 0.007387 | 0.240133 | 5,701 | 148 | 98 | 38.52027 | 0.775162 | 0.056306 | 0 | 0.509091 | 0 | 0 | 0.089146 | 0.015293 | 0 | 0 | 0 | 0 | 0.018182 | 1 | 0.045455 | false | 0 | 0.072727 | 0 | 0.118182 | 0.018182 | 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 |
f76ad4a0c7f1f7e8edb0022ebebcf14e5f8a2da2 | 27 | py | Python | gsflow/modsim/__init__.py | pygsflow/pygsflow | 83860cd58078017a65e1633b1192469777f1ce15 | [
"CC0-1.0",
"BSD-3-Clause"
] | 17 | 2019-11-11T02:49:29.000Z | 2022-02-17T03:45:19.000Z | gsflow/modsim/__init__.py | jonathanqv/pygsflow | d671fdd84245ecb421a0fcab17a578425b514e93 | [
"Unlicense"
] | 21 | 2019-07-10T21:45:11.000Z | 2022-02-22T17:57:20.000Z | gsflow/modsim/__init__.py | jonathanqv/pygsflow | d671fdd84245ecb421a0fcab17a578425b514e93 | [
"Unlicense"
] | 8 | 2019-11-11T02:49:36.000Z | 2021-09-30T18:43:45.000Z | from .modsim import Modsim
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3a01b0fab9789c74fb9854ab87d1b3a4b62d685 | 74 | py | Python | open_horadric_lib/client/middleware.py | ERRORthenBSOD/open_horadric_lib | 7e719057cd5a49382a5cb62dfe67ababb7428552 | [
"MIT"
] | null | null | null | open_horadric_lib/client/middleware.py | ERRORthenBSOD/open_horadric_lib | 7e719057cd5a49382a5cb62dfe67ababb7428552 | [
"MIT"
] | null | null | null | open_horadric_lib/client/middleware.py | ERRORthenBSOD/open_horadric_lib | 7e719057cd5a49382a5cb62dfe67ababb7428552 | [
"MIT"
] | null | null | null | from __future__ import annotations
class BaseClientMiddleware:
pass
| 12.333333 | 34 | 0.810811 | 7 | 74 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 35 | 14.8 | 0.918033 | 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 |
e3db66635d4e51b8c5e07a54bc87fc78bd035d92 | 160 | py | Python | src/service/domain/builder.py | jdiazromeral/django-ddd-quizs-demo | 3cbb0ece8cc2440fd344069849c132c4b9502f5b | [
"MIT"
] | null | null | null | src/service/domain/builder.py | jdiazromeral/django-ddd-quizs-demo | 3cbb0ece8cc2440fd344069849c132c4b9502f5b | [
"MIT"
] | null | null | null | src/service/domain/builder.py | jdiazromeral/django-ddd-quizs-demo | 3cbb0ece8cc2440fd344069849c132c4b9502f5b | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Any, Dict
class Builder(ABC):
@abstractmethod
def build(self, json: Dict) -> Any:
pass
| 17.777778 | 39 | 0.68125 | 21 | 160 | 5.190476 | 0.666667 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2375 | 160 | 8 | 40 | 20 | 0.893443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5420e3a86217a1c886b7829abd138e70e269cd37 | 99 | py | Python | models/__init__.py | ZFancy/IAD | a8091a8c7552cef43d8f3f28085426cb786ce9d3 | [
"MIT"
] | 6 | 2022-02-11T07:37:48.000Z | 2022-03-08T09:01:34.000Z | models/__init__.py | ZFancy/IAD | a8091a8c7552cef43d8f3f28085426cb786ce9d3 | [
"MIT"
] | null | null | null | models/__init__.py | ZFancy/IAD | a8091a8c7552cef43d8f3f28085426cb786ce9d3 | [
"MIT"
] | null | null | null | from .mobilenetv2 import *
from .wideresnet import *
from .resnet import *
from .preresnet import * | 24.75 | 26 | 0.767677 | 12 | 99 | 6.333333 | 0.5 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.151515 | 99 | 4 | 27 | 24.75 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
543d3d75da1b3eee80a69f911f00d7139dc7beca | 61 | py | Python | acq4/modules/Manager/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/modules/Manager/__init__.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/modules/Manager/__init__.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
from .Manager import *
| 20.333333 | 37 | 0.836066 | 8 | 61 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 61 | 2 | 38 | 30.5 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
545a6f63d456bb39dba39b05f55ec7c3640465e5 | 25,838 | py | Python | jinstall/centos7/tools/SyNginx.py | a07061625/swooleyaf_install | c6ed2b1db6c1dba71558e9e19a2a9678fe536bfa | [
"BSD-2-Clause"
] | 5 | 2019-01-16T02:40:39.000Z | 2021-05-10T08:59:37.000Z | jinstall/centos7/tools/SyNginx.py | a07061625/swooleyaf_install | c6ed2b1db6c1dba71558e9e19a2a9678fe536bfa | [
"BSD-2-Clause"
] | null | null | null | jinstall/centos7/tools/SyNginx.py | a07061625/swooleyaf_install | c6ed2b1db6c1dba71558e9e19a2a9678fe536bfa | [
"BSD-2-Clause"
] | 2 | 2018-09-20T14:28:05.000Z | 2022-03-31T07:54:59.000Z | # -*- coding:utf-8 -*-
from jinstall.centos7.utils.Tool import *
class SyNginx:
@staticmethod
def install_openresty(params: dict):
"""安装openresty"""
Tool.check_local_files([
'resources/linux/zlib-1.2.11.tar.gz',
'resources/nginx/libunwind-1.1.tar.gz',
'resou... | 77.825301 | 315 | 0.677878 | 3,232 | 25,838 | 5.197401 | 0.071473 | 0.091678 | 0.132516 | 0.146267 | 0.838671 | 0.804203 | 0.769615 | 0.729551 | 0.685855 | 0.591201 | 0 | 0.015134 | 0.166305 | 25,838 | 331 | 316 | 78.060423 | 0.764681 | 0.004838 | 0 | 0.188119 | 0 | 0.042904 | 0.627121 | 0.526304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006601 | false | 0.009901 | 0.0033 | 0 | 0.013201 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5463f84e3b94532a28f0d0cb7d1752b51ce7281b | 37 | py | Python | pydp/distributions/__init__.py | BrendanSchell/PyDP | e56548c1b024bce9ed3ffd09407d177d1029c238 | [
"Apache-2.0"
] | null | null | null | pydp/distributions/__init__.py | BrendanSchell/PyDP | e56548c1b024bce9ed3ffd09407d177d1029c238 | [
"Apache-2.0"
] | null | null | null | pydp/distributions/__init__.py | BrendanSchell/PyDP | e56548c1b024bce9ed3ffd09407d177d1029c238 | [
"Apache-2.0"
] | null | null | null | from .._pydp._distributions import *
| 18.5 | 36 | 0.783784 | 4 | 37 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.818182 | 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 |
547e1a6f5fc0134f887b0268514a831331ee4c5d | 27 | py | Python | indra_network_search/pathfinding/__init__.py | kkaris/indra_network_service | 4209f1c3ea010fd543bb2fc73905e9146e9a78fe | [
"BSD-2-Clause"
] | null | null | null | indra_network_search/pathfinding/__init__.py | kkaris/indra_network_service | 4209f1c3ea010fd543bb2fc73905e9146e9a78fe | [
"BSD-2-Clause"
] | 13 | 2021-08-17T13:43:54.000Z | 2022-03-06T02:05:26.000Z | indra_network_search/pathfinding/__init__.py | kkaris/indra_network_service | 4209f1c3ea010fd543bb2fc73905e9146e9a78fe | [
"BSD-2-Clause"
] | null | null | null | from .pathfinding import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5496911a48bffdf4d6238d7be1dea0e93d24b6e8 | 22 | py | Python | utils/misc/__init__.py | RSk141/exchange_bot | e84ca22c9421e984acd0f88df544ad4c7b025edc | [
"MIT"
] | 21 | 2018-08-10T16:45:21.000Z | 2022-01-25T13:04:07.000Z | utils/misc/__init__.py | RSk141/exchange_bot | e84ca22c9421e984acd0f88df544ad4c7b025edc | [
"MIT"
] | 6 | 2018-07-18T15:34:32.000Z | 2021-02-02T21:59:04.000Z | staticpy/common/__init__.py | SnowWalkerJ/StaticPy | 818b7f009af7a6040313791993f543779781dddf | [
"BSD-3-Clause"
] | 10 | 2018-10-24T22:14:10.000Z | 2022-02-08T17:21:47.000Z | from . import logging
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49bc71e26ab1dc1d8e97cd570b678137e87879de | 34 | py | Python | venv/Lib/site-packages/Database/es/__init__.py | jhonniel/Queuing-python | 1b117dc7e4b3274b2f8fe72cce4beea363f563ef | [
"MIT"
] | null | null | null | venv/Lib/site-packages/Database/es/__init__.py | jhonniel/Queuing-python | 1b117dc7e4b3274b2f8fe72cce4beea363f563ef | [
"MIT"
] | null | null | null | venv/Lib/site-packages/Database/es/__init__.py | jhonniel/Queuing-python | 1b117dc7e4b3274b2f8fe72cce4beea363f563ef | [
"MIT"
] | null | null | null | from ElasticSearchClient import *
| 17 | 33 | 0.852941 | 3 | 34 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
49d7b000f2a9dae3d153473d4d98b45ba1bf55be | 97 | py | Python | project-euler/0015_lattice_paths.py | alenic/comprosol | 101d43ea7fef5e1847842420ab08e481c82bc526 | [
"MIT"
] | null | null | null | project-euler/0015_lattice_paths.py | alenic/comprosol | 101d43ea7fef5e1847842420ab08e481c82bc526 | [
"MIT"
] | null | null | null | project-euler/0015_lattice_paths.py | alenic/comprosol | 101d43ea7fef5e1847842420ab08e481c82bc526 | [
"MIT"
] | null | null | null | import math
def count(n):
return math.factorial(2*n)//math.factorial(n)**2
print(count(20)) | 16.166667 | 52 | 0.690722 | 17 | 97 | 3.941176 | 0.588235 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.123711 | 97 | 6 | 53 | 16.166667 | 0.741176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 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 |
b71c0e4e91e6f8e14e124dcb604415429ed23beb | 49 | py | Python | armstrong/core/arm_layout/tests/__init__.py | cirlabs/armstrong.core.arm_layout | fc0bfe5666b287f38bd48ce910abc1bfe82c353c | [
"Apache-2.0"
] | null | null | null | armstrong/core/arm_layout/tests/__init__.py | cirlabs/armstrong.core.arm_layout | fc0bfe5666b287f38bd48ce910abc1bfe82c353c | [
"Apache-2.0"
] | null | null | null | armstrong/core/arm_layout/tests/__init__.py | cirlabs/armstrong.core.arm_layout | fc0bfe5666b287f38bd48ce910abc1bfe82c353c | [
"Apache-2.0"
] | null | null | null | from .templatetags import *
from .utils import *
| 16.333333 | 27 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 28 | 24.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b749e5a34a60cf8224366df25719708c641664d8 | 20,628 | py | Python | spreedly/pyspreedly/api.py | guitarparty/django-spreedly | 532e594d5163bf177141ce1e6a4b349c714e4e6d | [
"MIT"
] | null | null | null | spreedly/pyspreedly/api.py | guitarparty/django-spreedly | 532e594d5163bf177141ce1e6a4b349c714e4e6d | [
"MIT"
] | null | null | null | spreedly/pyspreedly/api.py | guitarparty/django-spreedly | 532e594d5163bf177141ce1e6a4b349c714e4e6d | [
"MIT"
] | null | null | null | import httplib, urllib2
from datetime import datetime
from decimal import Decimal
from xml.etree.ElementTree import fromstring
from base64 import b64encode
API_VERSION = 'v4'
class Client:
def __init__(self, token, site_name):
self.auth = b64encode('%s:x' % token)
self.base_host = 'subs.pinpayment... | 41.50503 | 106 | 0.509793 | 2,042 | 20,628 | 5.020078 | 0.085211 | 0.149839 | 0.072383 | 0.079017 | 0.793288 | 0.748122 | 0.736904 | 0.713199 | 0.691152 | 0.679641 | 0 | 0.001804 | 0.355051 | 20,628 | 496 | 107 | 41.58871 | 0.768716 | 0.003733 | 0 | 0.735577 | 0 | 0 | 0.268147 | 0.09095 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012019 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b76df48be021cc2f6ba6af949df23b63c04c00e9 | 10,717 | py | Python | tests/test_SSLChecker.py | Mohib-hub/SSLChecker | e4f3357fc9950ca8978878591197e0c8eeaf903e | [
"Apache-2.0"
] | null | null | null | tests/test_SSLChecker.py | Mohib-hub/SSLChecker | e4f3357fc9950ca8978878591197e0c8eeaf903e | [
"Apache-2.0"
] | null | null | null | tests/test_SSLChecker.py | Mohib-hub/SSLChecker | e4f3357fc9950ca8978878591197e0c8eeaf903e | [
"Apache-2.0"
] | null | null | null | import json
import azure.functions as func
import SSLChecker.SSLChecker.main as _main
main = _main.main
def test_policy_external_no_violations():
# Construct a mock HTTP request
req = func.HttpRequest(
method='GET',
body=None,
url='/api/',
route_params={'scan... | 27.063131 | 81 | 0.543716 | 1,186 | 10,717 | 4.802698 | 0.10371 | 0.057058 | 0.060042 | 0.080056 | 0.86552 | 0.843926 | 0.810744 | 0.780372 | 0.775983 | 0.774754 | 0 | 0.007114 | 0.344219 | 10,717 | 395 | 82 | 27.131646 | 0.803358 | 0.182047 | 0 | 0.670732 | 0 | 0 | 0.179134 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 1 | 0.077236 | false | 0 | 0.012195 | 0 | 0.089431 | 0.004065 | 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 |
b7e5e4bb7f28fb832dd05ba641a16b202d068708 | 408 | py | Python | configuration.py | Ichabond/TVDownload | d58a0143e208b5300ab19116c02dbd161da5364e | [
"MIT"
] | 5 | 2017-01-01T15:47:29.000Z | 2018-12-22T00:52:48.000Z | configuration.py | Ichabond/TVDownload | d58a0143e208b5300ab19116c02dbd161da5364e | [
"MIT"
] | 1 | 2017-01-29T09:21:38.000Z | 2017-01-29T09:22:58.000Z | configuration.py | Ichabond/TVDownload | d58a0143e208b5300ab19116c02dbd161da5364e | [
"MIT"
] | null | null | null | import json
class Config(object):
def __init__(self):
self.config_dict = {}
def load(self, filename):
with open(filename) as data:
self.config_dict = json.load(data)
def add(self, key, value):
self.config_dict[key] = value
def keys(self):
return self.con... | 19.428571 | 46 | 0.610294 | 53 | 408 | 4.45283 | 0.415094 | 0.211864 | 0.29661 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279412 | 408 | 20 | 47 | 20.4 | 0.802721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.076923 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4d0c000927e1244ea2b0d8700159ccb6096b8d36 | 10,231 | py | Python | torch_dataset.py | aimbrain/vqa-project | 341122a267293017b55db4f033fbe81445af03ea | [
"Apache-2.0"
] | 145 | 2018-06-26T01:28:04.000Z | 2021-11-21T04:18:05.000Z | torch_dataset.py | Detsuptwang/vqa-project | 341122a267293017b55db4f033fbe81445af03ea | [
"Apache-2.0"
] | 11 | 2018-06-24T11:16:59.000Z | 2020-11-15T18:21:39.000Z | torch_dataset.py | Detsuptwang/vqa-project | 341122a267293017b55db4f033fbe81445af03ea | [
"Apache-2.0"
] | 30 | 2018-06-20T16:20:11.000Z | 2021-06-01T03:32:59.000Z | # Copyright 2018 AimBrain Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agree... | 33.003226 | 95 | 0.555566 | 1,390 | 10,231 | 3.931655 | 0.183453 | 0.033303 | 0.036597 | 0.046112 | 0.762855 | 0.741629 | 0.735407 | 0.735407 | 0.724794 | 0.724794 | 0 | 0.016441 | 0.328218 | 10,231 | 309 | 96 | 33.110032 | 0.778699 | 0.1515 | 0 | 0.88785 | 0 | 0 | 0.065394 | 0.016523 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042056 | false | 0 | 0.046729 | 0.009346 | 0.121495 | 0.014019 | 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 |
4d0cd4b064231a64daad90e8c573db67af8ad29d | 27,720 | py | Python | lobpy/handler.py | mm842/lobpy | 059af586c47ee346302fcf637aa3b05d9872cc2b | [
"BSD-3-Clause"
] | 20 | 2018-12-31T20:34:52.000Z | 2021-11-30T08:07:56.000Z | lobpy/handler.py | tonylibing/lobpy | 059af586c47ee346302fcf637aa3b05d9872cc2b | [
"BSD-3-Clause"
] | 1 | 2021-04-27T17:51:45.000Z | 2021-04-27T17:51:45.000Z | lobpy/handler.py | tonylibing/lobpy | 059af586c47ee346302fcf637aa3b05d9872cc2b | [
"BSD-3-Clause"
] | 15 | 2018-12-14T21:43:36.000Z | 2022-01-13T05:42:57.000Z | """
Copyright (c) 2018, University of Oxford, Rama Cont and ETH Zurich, Marvin S. Mueller
handler.py
contains some functions to work with the model
"""
import math
import sys
import numpy as np
import pandas as pd
import lobpy.datareader.lobster as lobr
import lobpy.models.calibration as cal
import lobpy.models.e... | 37.30821 | 252 | 0.610209 | 3,359 | 27,720 | 4.702888 | 0.104198 | 0.040451 | 0.033741 | 0.03545 | 0.806925 | 0.773881 | 0.754827 | 0.74799 | 0.737102 | 0.730835 | 0 | 0.008071 | 0.289286 | 27,720 | 742 | 253 | 37.358491 | 0.793767 | 0.234632 | 0 | 0.681818 | 0 | 0.012987 | 0.112622 | 0.01161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015152 | false | 0 | 0.019481 | 0 | 0.041126 | 0.097403 | 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 |
4d22c3b3fa0906d971a038fd9c161a7f3ecf98ef | 13,306 | py | Python | newrelic_cli/tests/test_synthetics.py | NativeInstruments/newrelic-cli | abe19b18ec76436912e0662c8fca528f4be2c43d | [
"MIT"
] | 26 | 2017-03-14T12:54:23.000Z | 2020-10-18T21:13:47.000Z | newrelic_cli/tests/test_synthetics.py | NativeInstruments/newrelic-cli | abe19b18ec76436912e0662c8fca528f4be2c43d | [
"MIT"
] | 3 | 2017-03-17T11:19:10.000Z | 2018-01-10T15:02:06.000Z | newrelic_cli/tests/test_synthetics.py | NativeInstruments/newrelic-cli | abe19b18ec76436912e0662c8fca528f4be2c43d | [
"MIT"
] | 3 | 2017-12-22T01:12:05.000Z | 2020-06-13T13:40:54.000Z | import base64
from unittest import TestCase
import newrelic_cli.exceptions
from newrelic_cli.synthetics import SyntheticsClient
import requests_mock
@requests_mock.mock()
class NewRelicSyntheticsClientTests(TestCase):
def setUp(self):
super(NewRelicSyntheticsClientTests, self).setUp()
self.clien... | 31.985577 | 79 | 0.56358 | 1,385 | 13,306 | 5.13935 | 0.118412 | 0.077269 | 0.060691 | 0.075864 | 0.835909 | 0.82748 | 0.812588 | 0.810761 | 0.773672 | 0.749368 | 0 | 0.030994 | 0.340448 | 13,306 | 415 | 80 | 32.062651 | 0.780082 | 0.041786 | 0 | 0.657754 | 0 | 0 | 0.092358 | 0.023875 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.042781 | false | 0 | 0.013369 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1276bfefb6ecdda5568b4229c1b2ad4c01ec300f | 81 | py | Python | synthqc/__init__.py | jcreinhold/synthqc | a08d4c925a81c397195fb87f6691893858fc0792 | [
"Apache-2.0"
] | null | null | null | synthqc/__init__.py | jcreinhold/synthqc | a08d4c925a81c397195fb87f6691893858fc0792 | [
"Apache-2.0"
] | null | null | null | synthqc/__init__.py | jcreinhold/synthqc | a08d4c925a81c397195fb87f6691893858fc0792 | [
"Apache-2.0"
] | null | null | null | from .errors import *
from .plot import *
from .util import *
from . import exec
| 16.2 | 21 | 0.716049 | 12 | 81 | 4.833333 | 0.5 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 81 | 4 | 22 | 20.25 | 0.892308 | 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 |
1294f07399e4ab473e34cea80690fd5828ac34c7 | 1,215 | py | Python | activity_recognition/spatial_transforms.py | jmhuer/computer-vision-framework | f58ad9db765abb7b9ab78c7ead18c7c812e29061 | [
"MIT"
] | 1 | 2020-12-12T17:56:25.000Z | 2020-12-12T17:56:25.000Z | activity_recognition/spatial_transforms.py | jmhuer/computer-vision-framework | f58ad9db765abb7b9ab78c7ead18c7c812e29061 | [
"MIT"
] | 1 | 2021-10-21T11:23:06.000Z | 2021-10-21T11:23:06.000Z | activity_recognition/spatial_transforms.py | guilhermesurek/computer-vision-framework | 508c8efe0bf4d983d533f0547210b2732d5e9620 | [
"MIT"
] | null | null | null | from torchvision.transforms import transforms
# spatial transformations
class Compose(transforms.Compose):
def randomize_parameters(self):
for t in self.transforms:
t.randomize_parameters()
class ToTensor(transforms.ToTensor):
def randomize_parameters(self):
pass
class Normali... | 19.285714 | 63 | 0.63786 | 143 | 1,215 | 5.223776 | 0.265734 | 0.203481 | 0.206158 | 0.243641 | 0.410977 | 0.362784 | 0 | 0 | 0 | 0 | 0 | 0.01359 | 0.273251 | 1,215 | 63 | 64 | 19.285714 | 0.83239 | 0.01893 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25641 | false | 0.153846 | 0.025641 | 0 | 0.589744 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
129b364be29a0e338d4ed5b25d4c30b79558fbfc | 46 | py | Python | deepclustering/loss/__init__.py | jizongFox/deep-clustering-toolbox | 0721cbbb278af027409ed4c115ccc743b6daed1b | [
"MIT"
] | 34 | 2019-08-05T03:48:36.000Z | 2022-03-29T03:04:51.000Z | deepclustering/loss/__init__.py | jizongFox/deep-clustering-toolbox | 0721cbbb278af027409ed4c115ccc743b6daed1b | [
"MIT"
] | 10 | 2019-05-03T21:02:50.000Z | 2021-12-23T08:01:30.000Z | deepclustering/loss/__init__.py | ETS-Research-Repositories/deep-clustering-toolbox | 0721cbbb278af027409ed4c115ccc743b6daed1b | [
"MIT"
] | 5 | 2019-09-29T07:56:03.000Z | 2021-04-22T12:08:50.000Z | # from .loss import *
from .kl_losses import * | 23 | 24 | 0.717391 | 7 | 46 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.842105 | 0.413043 | 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 |
12c603893176173477a100454470acdbacfd6ddc | 226 | py | Python | lib/oeqa/runtime/cases/rubygems_rubygems_puppet_resource_api.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | null | null | null | lib/oeqa/runtime/cases/rubygems_rubygems_puppet_resource_api.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 141 | 2021-02-04T16:22:13.000Z | 2022-03-27T08:29:40.000Z | lib/oeqa/runtime/cases/rubygems_rubygems_puppet_resource_api.py | tuxable-ltd/meta-rubygems | e80630e79b64e1be8339e1add0ab07644ec99425 | [
"BSD-2-Clause"
] | 3 | 2021-02-04T14:02:01.000Z | 2022-02-02T16:46:52.000Z | from rubygems_utils import RubyGemsTestUtils
class RubyGemsTestrubygems_puppet_resource_api(RubyGemsTestUtils):
def test_gem_list_rubygems_puppet_resource_api(self):
self.gem_is_installed("puppet-resource_api")
| 28.25 | 66 | 0.840708 | 27 | 226 | 6.555556 | 0.62963 | 0.237288 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 226 | 7 | 67 | 32.285714 | 0.876238 | 0 | 0 | 0 | 0 | 0 | 0.084444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
12c788d826bf22a93264f50a5216b5d45387274a | 34 | py | Python | cm/app/api_v1/my_calculation_module_directory/__init__.py | HotMaps/CM_DH_Test_CREM | 5c0a2f218aba36ff53c94e1cce6d979d79cd30af | [
"Apache-2.0"
] | null | null | null | cm/app/api_v1/my_calculation_module_directory/__init__.py | HotMaps/CM_DH_Test_CREM | 5c0a2f218aba36ff53c94e1cce6d979d79cd30af | [
"Apache-2.0"
] | null | null | null | cm/app/api_v1/my_calculation_module_directory/__init__.py | HotMaps/CM_DH_Test_CREM | 5c0a2f218aba36ff53c94e1cce6d979d79cd30af | [
"Apache-2.0"
] | null | null | null | from AD import *
from CM import * | 11.333333 | 16 | 0.705882 | 6 | 34 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 34 | 3 | 17 | 11.333333 | 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 |
12e1f37a845120171a5a2b2220450a9a64ae60bb | 72 | py | Python | sqlenergy/core/__init__.py | kjph/sqlenergy | f58c88f74f0f93be128acabb9750d6e6a8178fdb | [
"MIT"
] | null | null | null | sqlenergy/core/__init__.py | kjph/sqlenergy | f58c88f74f0f93be128acabb9750d6e6a8178fdb | [
"MIT"
] | null | null | null | sqlenergy/core/__init__.py | kjph/sqlenergy | f58c88f74f0f93be128acabb9750d6e6a8178fdb | [
"MIT"
] | null | null | null | from . import fetchInputs
from . import hquery
from . import TimeSeries
| 18 | 25 | 0.791667 | 9 | 72 | 6.333333 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 26 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
12ea1901b5a40b736434978b145a6d9110a16470 | 37,911 | py | Python | yang/binding_topology.py | rvilalta/OFC2019_SC472 | c0bcbd05bb6c90eb9d8ab5abdc10b04d65a8a5d3 | [
"Apache-2.0"
] | 2 | 2018-11-28T15:03:08.000Z | 2019-02-04T15:19:58.000Z | yang/binding_topology.py | rvilalta/OFC2019_SC472 | c0bcbd05bb6c90eb9d8ab5abdc10b04d65a8a5d3 | [
"Apache-2.0"
] | null | null | null | yang/binding_topology.py | rvilalta/OFC2019_SC472 | c0bcbd05bb6c90eb9d8ab5abdc10b04d65a8a5d3 | [
"Apache-2.0"
] | 2 | 2021-09-28T15:31:03.000Z | 2021-11-16T17:53:59.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 53.022378 | 493 | 0.714357 | 5,110 | 37,911 | 5.005088 | 0.037182 | 0.050829 | 0.061855 | 0.042227 | 0.918596 | 0.898538 | 0.895566 | 0.89107 | 0.882077 | 0.875196 | 0 | 0.001107 | 0.165968 | 37,911 | 714 | 494 | 53.096639 | 0.807774 | 0.161563 | 0 | 0.656818 | 0 | 0.027273 | 0.261022 | 0.073757 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104545 | false | 0 | 0.034091 | 0 | 0.284091 | 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 |
421580dce2736cfde8f3d4c754f0cb4b7e86802f | 56 | py | Python | once-for-all-GM/filereader/__init__.py | skhu101/GM-NAS | cf2c8f8201690d929ec1d286c7f7cbc53e76012b | [
"MIT"
] | 4 | 2022-03-17T09:06:42.000Z | 2022-03-24T02:38:01.000Z | once-for-all-GM/filereader/__init__.py | skhu101/GM-NAS | cf2c8f8201690d929ec1d286c7f7cbc53e76012b | [
"MIT"
] | null | null | null | once-for-all-GM/filereader/__init__.py | skhu101/GM-NAS | cf2c8f8201690d929ec1d286c7f7cbc53e76012b | [
"MIT"
] | null | null | null | from .direct_reader import *
from .lmdb_reader import *
| 18.666667 | 28 | 0.785714 | 8 | 56 | 5.25 | 0.625 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 29 | 28 | 0.875 | 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 |
421a22ecbf36db7ef977c1b87ebae6ce0d646b65 | 10,948 | py | Python | psec/pinblock.py | knovichikhin/psec | 6b549c650cde21191539cdfc6a9d95e99f9268fc | [
"MIT"
] | 7 | 2021-07-04T13:56:58.000Z | 2022-02-22T10:46:02.000Z | psec/pinblock.py | knovichikhin/psec | 6b549c650cde21191539cdfc6a9d95e99f9268fc | [
"MIT"
] | 2 | 2021-06-04T02:25:36.000Z | 2021-08-08T17:21:44.000Z | psec/pinblock.py | knovichikhin/psec | 6b549c650cde21191539cdfc6a9d95e99f9268fc | [
"MIT"
] | null | null | null | r"""PIN blocks are data blocks that contain PIN, pad characters and sometimes
other additional information, such as the leght of the PIN.
"""
import binascii as _binascii
import secrets as _secrets
from psec import tools as _tools
__all__ = [
"encode_pinblock_iso_0",
"encode_pinblock_iso_2",
"encode_pinb... | 29.831063 | 86 | 0.61783 | 1,677 | 10,948 | 3.940966 | 0.079308 | 0.056892 | 0.028597 | 0.049024 | 0.898774 | 0.896353 | 0.893479 | 0.860039 | 0.847935 | 0.82539 | 0 | 0.057661 | 0.279229 | 10,948 | 366 | 87 | 29.912568 | 0.779876 | 0.532609 | 0 | 0.583333 | 0 | 0 | 0.2508 | 0.028807 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.03125 | 0 | 0.15625 | 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 |
421fbcb5967e7cf13303482ef787f21d1c91c936 | 262 | py | Python | webempresa/core/views.py | EduardoPerez5J/web-empresa-curso-django2 | 0d8f395a1a51fdb7e7a35d43aaaeca82d60f6827 | [
"Unlicense"
] | null | null | null | webempresa/core/views.py | EduardoPerez5J/web-empresa-curso-django2 | 0d8f395a1a51fdb7e7a35d43aaaeca82d60f6827 | [
"Unlicense"
] | null | null | null | webempresa/core/views.py | EduardoPerez5J/web-empresa-curso-django2 | 0d8f395a1a51fdb7e7a35d43aaaeca82d60f6827 | [
"Unlicense"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home (request):
return render(request, "core/home.html")
def about (request):
return render(request,"core/about.html")
def store (request):
return render(request,"core/store.html") | 21.833333 | 44 | 0.721374 | 36 | 262 | 5.25 | 0.472222 | 0.206349 | 0.301587 | 0.412698 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 262 | 12 | 45 | 21.833333 | 0.851351 | 0.087786 | 0 | 0 | 0 | 0 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c40affcd56ecdf84e9f4b4e4118d1e313a917d71 | 125 | py | Python | apps/__init__.py | zshengsheng/Swallow | dd5098e241c5b4e50e53abbb105fd45323abf4d5 | [
"MIT"
] | 10 | 2018-03-18T14:22:31.000Z | 2019-03-18T03:13:40.000Z | apps/__init__.py | zshengsheng/Swallow | dd5098e241c5b4e50e53abbb105fd45323abf4d5 | [
"MIT"
] | null | null | null | apps/__init__.py | zshengsheng/Swallow | dd5098e241c5b4e50e53abbb105fd45323abf4d5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2019/1/22 15:50
# @Author : ZJJ
# @Email : 597105373@qq.com | 25 | 29 | 0.544 | 19 | 125 | 3.578947 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0.232 | 125 | 5 | 30 | 25 | 0.489583 | 0.896 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c40df273c19747a74924fff58fe22f8d8bb40916 | 3,424 | py | Python | TestPicPosAdjust.py | neohope/NeoDemosImageProcess | ff08fb110464fef3433d74500792894408e26051 | [
"BSD-3-Clause"
] | null | null | null | TestPicPosAdjust.py | neohope/NeoDemosImageProcess | ff08fb110464fef3433d74500792894408e26051 | [
"BSD-3-Clause"
] | null | null | null | TestPicPosAdjust.py | neohope/NeoDemosImageProcess | ff08fb110464fef3433d74500792894408e26051 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
# -*- coding:utf-8 -*-
import cv2
import numpy as np
import matplotlib.pyplot as plt
def adjust(img, height, width):
#获取图像大小
rows, cols = img.shape[:2]
#将源图像高斯模糊
img_gaus = cv2.GaussianBlur(img, (3,3), 0)
#进行灰度化处理
gray = cv2.cvtColor(img_gaus,cv2.COLOR_BGR2GRAY)
#... | 25.939394 | 84 | 0.589661 | 506 | 3,424 | 3.948617 | 0.229249 | 0.032032 | 0.048048 | 0.064064 | 0.865866 | 0.854855 | 0.821822 | 0.778779 | 0.778779 | 0.778779 | 0 | 0.099583 | 0.22868 | 3,424 | 131 | 85 | 26.137405 | 0.656948 | 0.109229 | 0 | 0.666667 | 0 | 0 | 0.04168 | 0.016209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.043478 | 0 | 0.072464 | 0.072464 | 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 |
c4673447874778e24c2a53a8f3f6d64f0a47c579 | 36 | py | Python | mod.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | 1 | 2021-08-02T16:52:55.000Z | 2021-08-02T16:52:55.000Z | mod.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | mod.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | import pyFun
print(pyFun.add(3,4))
| 9 | 21 | 0.722222 | 7 | 36 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.111111 | 36 | 3 | 22 | 12 | 0.75 | 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 |
6734ad798312b6faf772a6733081c2e6688909c8 | 504 | py | Python | keract/__init__.py | najiji/keract | 16125c286e1539650c6d2283cca7b1523bf4d765 | [
"MIT"
] | null | null | null | keract/__init__.py | najiji/keract | 16125c286e1539650c6d2283cca7b1523bf4d765 | [
"MIT"
] | null | null | null | keract/__init__.py | najiji/keract | 16125c286e1539650c6d2283cca7b1523bf4d765 | [
"MIT"
] | null | null | null | from keract.keract import display_activations # noqa
from keract.keract import display_gradients_of_trainable_weights # noqa
from keract.keract import display_heatmaps # noqa
from keract.keract import get_activations # noqa
from keract.keract import get_gradients_of_activations # noqa
from keract.keract import get... | 45.818182 | 72 | 0.839286 | 73 | 504 | 5.452055 | 0.287671 | 0.201005 | 0.321608 | 0.442211 | 0.834171 | 0.69598 | 0.494975 | 0.494975 | 0.494975 | 0 | 0 | 0.006757 | 0.119048 | 504 | 10 | 73 | 50.4 | 0.88964 | 0.077381 | 0 | 0 | 0 | 0 | 0.010965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6744335220aa89282c90f8ffe13e1eebb30f6078 | 24 | py | Python | eisen/utils/artifacts/__init__.py | dasturge/eisen-core | 09056f1e6aff450ef402b35b10ef96a7d4a3ff87 | [
"MIT"
] | null | null | null | eisen/utils/artifacts/__init__.py | dasturge/eisen-core | 09056f1e6aff450ef402b35b10ef96a7d4a3ff87 | [
"MIT"
] | null | null | null | eisen/utils/artifacts/__init__.py | dasturge/eisen-core | 09056f1e6aff450ef402b35b10ef96a7d4a3ff87 | [
"MIT"
] | null | null | null | from .savemodel import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
6761560815c5ddb35a71ee0dd7e5d323884ea5a9 | 2,409 | py | Python | asinstaller/partitions/auto/gpt.py | ArchStrike/archstrike-installer | 2f271c873794ceb7bb86613af8c1f84323b71ba3 | [
"MIT"
] | 8 | 2016-09-16T10:12:41.000Z | 2021-07-07T21:38:46.000Z | asinstaller/partitions/auto/gpt.py | ArchStrike/archstrike-installer | 2f271c873794ceb7bb86613af8c1f84323b71ba3 | [
"MIT"
] | 13 | 2016-07-16T22:23:04.000Z | 2020-12-01T01:57:36.000Z | asinstaller/partitions/auto/gpt.py | ArchStrike/archstrike-installer | 2f271c873794ceb7bb86613af8c1f84323b71ba3 | [
"MIT"
] | 5 | 2017-05-17T18:53:17.000Z | 2019-09-18T21:31:16.000Z | from asinstaller.utils import system, system_output
from asinstaller.config import usr_cfg, get_logger
__all__ = ["uefi", "non_uefi"]
logger = get_logger(__name__)
def uefi():
if usr_cfg['swap_space']:
system('echo -e "n\n\n\n512M\nef00\nn\n3\n\n'
f'+{usr_cfg["swap_space"]}\n8200\nn\n\n'
... | 44.611111 | 80 | 0.449979 | 326 | 2,409 | 3.190184 | 0.190184 | 0.121154 | 0.105769 | 0.103846 | 0.853846 | 0.847115 | 0.847115 | 0.847115 | 0.847115 | 0.721154 | 0 | 0.04334 | 0.348692 | 2,409 | 53 | 81 | 45.45283 | 0.619503 | 0 | 0 | 0.608696 | 0 | 0.086957 | 0.444168 | 0.152345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.043478 | 0 | 0.086957 | 0.130435 | 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 |
67735ad508ee9d803b9ab2caa2570306434cf65f | 66 | py | Python | match/models/__init__.py | QLMX/DeepRecall | 832068d5effd38c6c3933e41c5b6701b700b4a83 | [
"Apache-2.0"
] | 4 | 2021-12-01T17:04:17.000Z | 2022-03-10T08:07:20.000Z | match/models/__init__.py | QLMX/RecMatch | 832068d5effd38c6c3933e41c5b6701b700b4a83 | [
"Apache-2.0"
] | null | null | null | match/models/__init__.py | QLMX/RecMatch | 832068d5effd38c6c3933e41c5b6701b700b4a83 | [
"Apache-2.0"
] | null | null | null | from match.models.fm import FM
from match.models.dssm import DSSM
| 22 | 34 | 0.818182 | 12 | 66 | 4.5 | 0.5 | 0.333333 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 35 | 33 | 0.931034 | 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 |
67c058c4c937e426623046e87ebd311295eb4f1a | 3,466 | py | Python | tests/utils/test_iterator.py | spack971/kado | 7776fd17637a1c9b7d60e7f2572fe7dfec2e7305 | [
"MIT"
] | null | null | null | tests/utils/test_iterator.py | spack971/kado | 7776fd17637a1c9b7d60e7f2572fe7dfec2e7305 | [
"MIT"
] | null | null | null | tests/utils/test_iterator.py | spack971/kado | 7776fd17637a1c9b7d60e7f2572fe7dfec2e7305 | [
"MIT"
] | null | null | null | # tests/utils/test_iterator.py
# ============================
#
# Copying
# -------
#
# Copyright (c) 2018 kado authors.
#
# This file is part of the *kado* project.
#
# kado is a free software project. You can redistribute it and/or
# modify if under the terms of the MIT License.
#
# This software project is distribut... | 27.507937 | 73 | 0.635892 | 440 | 3,466 | 4.870455 | 0.220455 | 0.089594 | 0.119459 | 0.088661 | 0.75035 | 0.75035 | 0.75035 | 0.75035 | 0.740551 | 0.664956 | 0 | 0.008318 | 0.236872 | 3,466 | 125 | 74 | 27.728 | 0.80189 | 0.347375 | 0 | 0.692308 | 0 | 0 | 0.004144 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.230769 | false | 0 | 0.038462 | 0 | 0.307692 | 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 |
db1242c7744cae598ae68ec6ea22b9a56d0e8f7a | 133,145 | py | Python | code/IBM_sample_information.py | snifflesnrumjum/IBM_GOM | 1e5484e429a96271297e8a3da270361671ded8dc | [
"MIT"
] | null | null | null | code/IBM_sample_information.py | snifflesnrumjum/IBM_GOM | 1e5484e429a96271297e8a3da270361671ded8dc | [
"MIT"
] | 1 | 2017-03-29T18:54:52.000Z | 2017-03-29T18:54:52.000Z | code/IBM_sample_information.py | snifflesnrumjum/IBM_GOM | 1e5484e429a96271297e8a3da270361671ded8dc | [
"MIT"
] | null | null | null | #this file should contain all the sample date, location, concentration, species information for samples wanting to
#be included in the HYCOM model runs
#common locations:
#IFCB in Port Aransas, TX: -97.0318, 27.8304
#South Padre Island, TX: -97.05, 26.078
#Galveston, TX: -94.66, 29.28
#I'm having to add a fifth eleme... | 137.831263 | 1,249 | 0.414488 | 24,178 | 133,145 | 2.282405 | 0.062412 | 0.131777 | 0.175703 | 0.263555 | 0.755998 | 0.73958 | 0.67226 | 0.637395 | 0.576055 | 0.448645 | 0 | 0.590612 | 0.306193 | 133,145 | 965 | 1,250 | 137.974093 | 0.006766 | 0.788862 | 0 | 0 | 0 | 0 | 0.002315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1d5eba61b5c7286f6f676517ecfc9c934004230 | 5,612 | py | Python | tests/router/strategies.py | brettcannon/vibora | 1933b631d4df62e7d748016f7463ab746d4695cc | [
"MIT"
] | 6,238 | 2018-06-14T19:29:47.000Z | 2022-03-29T21:42:03.000Z | tests/router/strategies.py | LL816/vibora | 4cda888f89aec6bfb2541ee53548ae1bf50fbf1b | [
"MIT"
] | 213 | 2018-06-13T20:13:59.000Z | 2022-03-26T07:46:49.000Z | tests/router/strategies.py | LL816/vibora | 4cda888f89aec6bfb2541ee53548ae1bf50fbf1b | [
"MIT"
] | 422 | 2018-06-20T01:29:41.000Z | 2022-02-27T16:45:29.000Z | import uuid
from vibora import Vibora, TestSuite
from vibora.router import RouterStrategy
from vibora.responses import Response
class RedirectStrategyTestCase(TestSuite):
def setUp(self):
self.app = Vibora(router_strategy=RouterStrategy.REDIRECT)
async def test_missing_slash_expects_redirect(self):
... | 34.219512 | 88 | 0.641839 | 692 | 5,612 | 5.011561 | 0.106936 | 0.074683 | 0.060265 | 0.083333 | 0.848328 | 0.831892 | 0.786621 | 0.767589 | 0.707612 | 0.67474 | 0 | 0.027039 | 0.222381 | 5,612 | 163 | 89 | 34.429448 | 0.767644 | 0 | 0 | 0.546218 | 0 | 0 | 0.047398 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 1 | 0.02521 | false | 0 | 0.033613 | 0 | 0.226891 | 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 |
e1de61b5f502afdc039e7db98afaa40491ad5bdb | 39 | py | Python | kerastuner/applications/__init__.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | 1 | 2022-03-29T21:49:22.000Z | 2022-03-29T21:49:22.000Z | kerastuner/applications/__init__.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | null | null | null | kerastuner/applications/__init__.py | haifeng-jin/kt-legacy | 15686b5e2d25b7094134d68956b2edce5dffa7a0 | [
"Apache-2.0"
] | 1 | 2022-02-14T18:57:19.000Z | 2022-02-14T18:57:19.000Z | from keras_tuner.applications import *
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1f219de481817814f06b0f511bd28746666a782 | 120 | py | Python | articles/admin.py | kronok/feincms-articles | 0577491fdb6f79a0360c5559bea771c5405da046 | [
"BSD-2-Clause"
] | null | null | null | articles/admin.py | kronok/feincms-articles | 0577491fdb6f79a0360c5559bea771c5405da046 | [
"BSD-2-Clause"
] | null | null | null | articles/admin.py | kronok/feincms-articles | 0577491fdb6f79a0360c5559bea771c5405da046 | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import admin
from .models import Article, ArticleAdmin
admin.site.register(Article, ArticleAdmin) | 20 | 42 | 0.825 | 15 | 120 | 6.6 | 0.666667 | 0.383838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 6 | 42 | 20 | 0.925234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c005b09311a06dbdbc0c6a997382f7fdb785ab5b | 21,454 | py | Python | pyroomacoustics/windows.py | HemaZ/pyroomacoustics | c401f829c71ff03a947f68f9b6b2f48346ae84b2 | [
"MIT"
] | 1 | 2019-08-04T07:34:02.000Z | 2019-08-04T07:34:02.000Z | pyroomacoustics/windows.py | HemaZ/pyroomacoustics | c401f829c71ff03a947f68f9b6b2f48346ae84b2 | [
"MIT"
] | null | null | null | pyroomacoustics/windows.py | HemaZ/pyroomacoustics | c401f829c71ff03a947f68f9b6b2f48346ae84b2 | [
"MIT"
] | 1 | 2021-01-14T08:42:47.000Z | 2021-01-14T08:42:47.000Z | # coding=utf-8
#
# MIT License
#
# Window functions Copyright (C) 2015-2019 Taishi Nakashima, Robin Scheibler
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including ... | 28.154856 | 89 | 0.552904 | 3,186 | 21,454 | 3.718456 | 0.097301 | 0.013506 | 0.011649 | 0.009116 | 0.751752 | 0.742888 | 0.728117 | 0.708534 | 0.704313 | 0.704313 | 0 | 0.034371 | 0.312436 | 21,454 | 761 | 90 | 28.191853 | 0.768761 | 0.625571 | 0 | 0.764444 | 0 | 0 | 0.067376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057778 | false | 0 | 0.008889 | 0 | 0.124444 | 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 |
c054b2b885178ee8ac75c1b76197be1c2f169794 | 133 | py | Python | sample/tests2.py | quantamc/EmokitVisualizer | e6e48163eb8029351304849953235a4e50eb17f1 | [
"MIT"
] | 16 | 2018-06-01T16:16:51.000Z | 2021-06-08T11:37:58.000Z | sample/tests2.py | quantamc/EmokitVisualizer | e6e48163eb8029351304849953235a4e50eb17f1 | [
"MIT"
] | 2 | 2019-09-23T11:56:51.000Z | 2019-10-10T21:12:22.000Z | sample/tests2.py | quantamc/EmokitVisualizer | e6e48163eb8029351304849953235a4e50eb17f1 | [
"MIT"
] | 5 | 2018-11-24T17:55:48.000Z | 2021-01-06T20:08:58.000Z | import pyqtgraph as pg
from pyqtgraph.Qt import QtCore, QtGui
import numpy as np
import pyqtgraph.examples
pyqtgraph.examples.run() | 19 | 38 | 0.819549 | 20 | 133 | 5.45 | 0.6 | 0.275229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 133 | 7 | 39 | 19 | 0.939655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 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 | 0 | 1 | 0 | 0 | 6 |
fbeb6dd2af4725bc6b932d0ea30d080003f67f2a | 2,509 | py | Python | django_bootstrap_wysiwyg/tests/widgets.py | Prithvi45/django-bootstrap-wysiwyg | 7ec93c29221207d793070c2956814b36dcc175a5 | [
"MIT"
] | 9 | 2015-02-03T07:01:38.000Z | 2017-10-18T09:08:18.000Z | django_bootstrap_wysiwyg/tests/widgets.py | Prithvi45/django-bootstrap-wysiwyg | 7ec93c29221207d793070c2956814b36dcc175a5 | [
"MIT"
] | 4 | 2015-01-06T13:44:59.000Z | 2020-06-04T19:24:46.000Z | django_bootstrap_wysiwyg/tests/widgets.py | laplacesdemon/django-bootstrap-wysiwyg | 7ec93c29221207d793070c2956814b36dcc175a5 | [
"MIT"
] | 8 | 2015-01-06T13:45:21.000Z | 2020-11-24T17:32:58.000Z | from django.test import TestCase
from bs4 import BeautifulSoup
from django_bootstrap_wysiwyg.widgets import WysiwygInput
class WysiwygInputTests(TestCase):
def test_render_simple(self):
obj = WysiwygInput()
attrs = {"id": "id_message"}
html = obj.render("message", "my value", attrs)
... | 38.6 | 118 | 0.636907 | 305 | 2,509 | 5.072131 | 0.183607 | 0.139625 | 0.056884 | 0.051713 | 0.811248 | 0.77117 | 0.77117 | 0.743374 | 0.743374 | 0.743374 | 0 | 0.006602 | 0.215225 | 2,509 | 64 | 119 | 39.203125 | 0.779076 | 0.037067 | 0 | 0.673913 | 0 | 0 | 0.174886 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 1 | 0.086957 | false | 0 | 0.065217 | 0 | 0.173913 | 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 |
2277d7dbc2ec1bf84f5e93a0a30c3c86fb1be7bc | 49 | py | Python | src/at_serial_can/__init__.py | gueei/at_serial_can | 97d3aee4f833dabd68b619ae3f6a55cf340ad8ad | [
"MIT"
] | null | null | null | src/at_serial_can/__init__.py | gueei/at_serial_can | 97d3aee4f833dabd68b619ae3f6a55cf340ad8ad | [
"MIT"
] | null | null | null | src/at_serial_can/__init__.py | gueei/at_serial_can | 97d3aee4f833dabd68b619ae3f6a55cf340ad8ad | [
"MIT"
] | null | null | null | import can
from .at_serial_can import ATSerialBus | 24.5 | 38 | 0.877551 | 8 | 49 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 2 | 38 | 24.5 | 0.931818 | 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 |
3f11d90f552d33ac311a232e90faae85783b2935 | 1,217 | py | Python | Tests/test_strings.py | klassen-software-solutions/pyutil | a0ddaa15791537c92b78ceb0120d44a4e907b8b6 | [
"MIT"
] | null | null | null | Tests/test_strings.py | klassen-software-solutions/pyutil | a0ddaa15791537c92b78ceb0120d44a4e907b8b6 | [
"MIT"
] | 9 | 2020-01-27T17:56:22.000Z | 2020-02-04T15:35:15.000Z | Tests/test_strings.py | klassen-software-solutions/pyutil | a0ddaa15791537c92b78ceb0120d44a4e907b8b6 | [
"MIT"
] | 1 | 2022-02-05T09:08:02.000Z | 2022-02-05T09:08:02.000Z | import unittest
import kss.util.strings as strings
class StringsTestCase(unittest.TestCase):
def test_remove_prefix(self):
text = "this is a test"
self.assertEqual(strings.remove_prefix(text, "this "), "is a test")
self.assertEqual(strings.remove_prefix(text, "not"), "this is a test")
... | 43.464286 | 79 | 0.663106 | 152 | 1,217 | 5.203947 | 0.177632 | 0.197219 | 0.088496 | 0.125158 | 0.806574 | 0.806574 | 0.76359 | 0.76359 | 0.624526 | 0.624526 | 0 | 0 | 0.21364 | 1,217 | 27 | 80 | 45.074074 | 0.826541 | 0 | 0 | 0.26087 | 0 | 0 | 0.129827 | 0 | 0 | 0 | 0 | 0 | 0.521739 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f36e46db36d754224a4ce602b7f7e7dc2baf898 | 17,680 | py | Python | tests/test_pins.py | mpunkenhofer/pychess | 29e48d3ec68ba55e87b8d5a07544d96bc14ab558 | [
"MIT"
] | null | null | null | tests/test_pins.py | mpunkenhofer/pychess | 29e48d3ec68ba55e87b8d5a07544d96bc14ab558 | [
"MIT"
] | null | null | null | tests/test_pins.py | mpunkenhofer/pychess | 29e48d3ec68ba55e87b8d5a07544d96bc14ab558 | [
"MIT"
] | null | null | null | # Mathias Punkenhofer
# code.mpunkenhofer@gmail.com
#
import unittest
import pychess
class PinTests(unittest.TestCase):
def test_diagonally_pinned_w_pawns(self):
board = pychess.board.SetupBoard('b3k3/7b/4n3/3P1P2/2n1K1n1/3P1P2/8/1b5b w - -')
pinned_piece = board.get_pawns(pychess.PieceColor.WHI... | 33.295669 | 118 | 0.603281 | 2,324 | 17,680 | 4.399742 | 0.103701 | 0.090367 | 0.065721 | 0.086259 | 0.941614 | 0.912078 | 0.894279 | 0.878924 | 0.849682 | 0.82445 | 0 | 0.062052 | 0.258937 | 17,680 | 530 | 119 | 33.358491 | 0.718364 | 0.002658 | 0 | 0.660969 | 0 | 0 | 0.12417 | 0.076635 | 0 | 0 | 0 | 0 | 0.125356 | 1 | 0.125356 | false | 0.002849 | 0.005698 | 0 | 0.133903 | 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 |
3f4d4388492600c6f60dc76e3a8fea3ae32635c0 | 6,312 | py | Python | diffmah/tests/test_halo_population_assembly.py | ArgonneCPAC/diffmah | 867d11def6284b07e58753f0d4590adc21495e3d | [
"BSD-3-Clause"
] | 5 | 2021-05-14T10:05:26.000Z | 2022-01-13T08:56:16.000Z | diffmah/tests/test_halo_population_assembly.py | ArgonneCPAC/diffmah | 867d11def6284b07e58753f0d4590adc21495e3d | [
"BSD-3-Clause"
] | 1 | 2021-04-21T20:41:27.000Z | 2021-05-05T15:05:03.000Z | diffmah/tests/test_halo_population_assembly.py | ArgonneCPAC/diffmah | 867d11def6284b07e58753f0d4590adc21495e3d | [
"BSD-3-Clause"
] | 1 | 2021-05-05T17:29:31.000Z | 2021-05-05T17:29:31.000Z | """
"""
import os
import numpy as np
from ..halo_population_assembly import _get_bimodal_halo_history
from ..halo_population_assembly import UE_ARR, UL_ARR, LGTC_ARR
from ..tng_pdf_model import DEFAULT_MAH_PDF_PARAMS as TNG_PARAMS
_THIS_DRNAME = os.path.dirname(os.path.abspath(__file__))
DDRN = os.path.join(_THIS_DRNA... | 41.801325 | 87 | 0.646388 | 1,010 | 6,312 | 3.778218 | 0.123762 | 0.033019 | 0.028826 | 0.028826 | 0.817086 | 0.796122 | 0.773585 | 0.754717 | 0.732704 | 0.728512 | 0 | 0.040565 | 0.214987 | 6,312 | 150 | 88 | 42.08 | 0.729566 | 0.038498 | 0 | 0.567797 | 0 | 0 | 0.144863 | 0.037661 | 0 | 0 | 0 | 0 | 0.09322 | 1 | 0.025424 | false | 0 | 0.042373 | 0 | 0.067797 | 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 |
58da6f961d9c9dc7d421b3f5c3e993a42bb668ef | 28 | py | Python | eyepy/quantification/__init__.py | yiqian-wang/eyepy | 0523e8cea78c23a9c1bcf2d5b47a8f0fb59712e5 | [
"MIT"
] | null | null | null | eyepy/quantification/__init__.py | yiqian-wang/eyepy | 0523e8cea78c23a9c1bcf2d5b47a8f0fb59712e5 | [
"MIT"
] | null | null | null | eyepy/quantification/__init__.py | yiqian-wang/eyepy | 0523e8cea78c23a9c1bcf2d5b47a8f0fb59712e5 | [
"MIT"
] | null | null | null | from ._drusen import drusen
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
18b0364a5143082d53ebfce9d2f97679a8d2fbbf | 10,877 | py | Python | dwavebinarycsp/factories/constraint/gates.py | mcfarljm/dwavebinarycsp | 383feb01422bc292b869f2994da57b5f475bd32d | [
"Apache-2.0"
] | 1 | 2022-02-01T14:40:05.000Z | 2022-02-01T14:40:05.000Z | dwavebinarycsp/factories/constraint/gates.py | mcfarljm/dwavebinarycsp | 383feb01422bc292b869f2994da57b5f475bd32d | [
"Apache-2.0"
] | null | null | null | dwavebinarycsp/factories/constraint/gates.py | mcfarljm/dwavebinarycsp | 383feb01422bc292b869f2994da57b5f475bd32d | [
"Apache-2.0"
] | 1 | 2022-02-01T14:40:31.000Z | 2022-02-01T14:40:31.000Z | # Copyright 2018 D-Wave Systems Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 37.122867 | 102 | 0.51448 | 1,267 | 10,877 | 4.380426 | 0.12865 | 0.041802 | 0.05027 | 0.058378 | 0.830991 | 0.819459 | 0.777117 | 0.762883 | 0.753874 | 0.74 | 0 | 0.044931 | 0.337041 | 10,877 | 292 | 103 | 37.25 | 0.724726 | 0.494438 | 0 | 0.495575 | 0 | 0 | 0.034652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115044 | false | 0 | 0.017699 | 0.053097 | 0.238938 | 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 |
e195ef092f122ac41723a4e958523064447e868d | 154 | py | Python | aas_core_codegen/csharp/stringification/__init__.py | gillistephan/aas-core-codegen | 5b89ea2ee35aecaca9a1bed7ac81d420cc560f29 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | aas_core_codegen/csharp/stringification/__init__.py | gillistephan/aas-core-codegen | 5b89ea2ee35aecaca9a1bed7ac81d420cc560f29 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | aas_core_codegen/csharp/stringification/__init__.py | aas-core-works/aas-core-csharp-codegen | 731f706e2d12bf80722ac55d920fcf5402fb26ef | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | """Generate C# code for de/serialization of enumerations."""
from aas_core_codegen.csharp.stringification import _generate
generate = _generate.generate
| 30.8 | 61 | 0.818182 | 19 | 154 | 6.421053 | 0.789474 | 0.393443 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097403 | 154 | 4 | 62 | 38.5 | 0.877698 | 0.350649 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e19842c2e78a9d27c68857384281d3fb114683e0 | 15,518 | py | Python | src/fvf/munge.py | NickleDave/active-vision-nengo | 2736fc5ec8f10d7a55a063963ecd1834ec1d3cd0 | [
"BSD-3-Clause"
] | 2 | 2019-03-03T23:30:02.000Z | 2019-07-13T00:29:21.000Z | src/fvf/munge.py | NickleDave/active-vision-nengo | 2736fc5ec8f10d7a55a063963ecd1834ec1d3cd0 | [
"BSD-3-Clause"
] | 1 | 2019-06-10T14:14:56.000Z | 2019-06-10T14:14:56.000Z | src/fvf/munge.py | NickleDave/active-vision-nengo | 2736fc5ec8f10d7a55a063963ecd1834ec1d3cd0 | [
"BSD-3-Clause"
] | null | null | null | import json
from distutils.util import strtobool
from typing import NamedTuple
import numpy as np
from scipy import stats
def fixations(results_pkl):
"""munge fixation data from a results.pickle file
Parameters
----------
results_pkl : str
path to a results.pickle file
Returns
-----... | 41.940541 | 100 | 0.653306 | 1,992 | 15,518 | 4.860944 | 0.093876 | 0.068161 | 0.046473 | 0.045131 | 0.829082 | 0.791594 | 0.762574 | 0.741402 | 0.725911 | 0.717649 | 0 | 0.002722 | 0.289793 | 15,518 | 369 | 101 | 42.054201 | 0.875873 | 0.55368 | 0 | 0.418919 | 0 | 0 | 0.000322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02027 | false | 0 | 0.033784 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e198cf29776bba46ec3604c8b93e350037e09a29 | 20 | py | Python | src/pyfunctrack/trackers/__init__.py | jamphan/pyfunctrack | 30170d808fe2a643e94a04f8d7ccf5bf732dd2f2 | [
"MIT"
] | 3 | 2020-10-26T14:08:24.000Z | 2020-10-28T11:34:29.000Z | src/pyfunctrack/trackers/__init__.py | jamphan/pyfunctrack | 30170d808fe2a643e94a04f8d7ccf5bf732dd2f2 | [
"MIT"
] | 8 | 2020-10-27T22:16:46.000Z | 2020-12-13T20:42:32.000Z | src/pyfunctrack/trackers/__init__.py | jamphan/pyfunctrack | 30170d808fe2a643e94a04f8d7ccf5bf732dd2f2 | [
"MIT"
] | 2 | 2020-10-28T13:36:48.000Z | 2020-10-29T17:56:17.000Z | from . import logger | 20 | 20 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
bef7c25b7061414f0dd461e749607304f13283a7 | 56,341 | py | Python | backend/corpora/common/utils/ontology_mapping.py | chanzuckerberg/dcp-prototype | 24d2323ba5ae1482395da35ea11c42708e3a52ce | [
"MIT"
] | 2 | 2020-02-07T18:12:12.000Z | 2020-02-11T14:59:03.000Z | backend/corpora/common/utils/ontology_mapping.py | HumanCellAtlas/dcp-prototype | 44ca66a266004124f39d7d3e3dd75e9076012ff0 | [
"MIT"
] | 173 | 2020-01-29T17:48:02.000Z | 2020-03-20T02:52:58.000Z | backend/corpora/common/utils/ontology_mapping.py | HumanCellAtlas/dcp-prototype | 44ca66a266004124f39d7d3e3dd75e9076012ff0 | [
"MIT"
] | 1 | 2020-03-20T17:06:54.000Z | 2020-03-20T17:06:54.000Z | # Generated by https://github.com/chanzuckerberg/single-cell-curation/blob/main/notebooks/compute_ancestor_mapping.ipynb
ontology_mapping = {
"HsapDv:0000000": ["HsapDv:0000000"],
"HsapDv:0000001": ["HsapDv:0000001"],
"HsapDv:0000002": ["HsapDv:0000002", "HsapDv:0000045", "HsapDv:0000001"],
"HsapDv:000... | 34.249848 | 120 | 0.566728 | 4,912 | 56,341 | 6.499796 | 0.062704 | 0.097723 | 0.142231 | 0.098537 | 0.762771 | 0.747737 | 0.747737 | 0.695587 | 0.695587 | 0.432173 | 0 | 0.401101 | 0.242026 | 56,341 | 1,644 | 121 | 34.270681 | 0.346517 | 0.002094 | 0 | 0.658953 | 1 | 0 | 0.609345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83324b3ff73837c9ee3759756fa81b0a8eccddc4 | 29 | py | Python | app/__init__.py | wmcgee3/garden-brew-backend | 37972b8335deb88b7ab9683fdccd0fc3d0e310c6 | [
"MIT"
] | null | null | null | app/__init__.py | wmcgee3/garden-brew-backend | 37972b8335deb88b7ab9683fdccd0fc3d0e310c6 | [
"MIT"
] | null | null | null | app/__init__.py | wmcgee3/garden-brew-backend | 37972b8335deb88b7ab9683fdccd0fc3d0e310c6 | [
"MIT"
] | null | null | null | from .main import app as app
| 14.5 | 28 | 0.758621 | 6 | 29 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 1 | 29 | 29 | 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 |
36d38f5babfe135a1e0170ea890135c4c74be0c4 | 2,777 | py | Python | src/resize_img_script.py | arthurlirui/refsepECCV2020 | 3a58d5ff2c908f6d30c1c1d9278d4b335fd65f42 | [
"BSD-3-Clause"
] | 2 | 2021-04-26T21:04:49.000Z | 2021-07-06T07:17:31.000Z | src/resize_img_script.py | arthurlirui/Multi-bouncePolarizationState | 3a58d5ff2c908f6d30c1c1d9278d4b335fd65f42 | [
"BSD-3-Clause"
] | null | null | null | src/resize_img_script.py | arthurlirui/Multi-bouncePolarizationState | 3a58d5ff2c908f6d30c1c1d9278d4b335fd65f42 | [
"BSD-3-Clause"
] | 1 | 2022-03-04T08:45:27.000Z | 2022-03-04T08:45:27.000Z | import torchvision.models
import torch.nn as nn
from torchvision.transforms import ToTensor, ToPILImage
import torch
from PIL import Image
import os
import torch.optim as optim
import random
import torchvision.utils as vutils
import torch.nn.functional as F
from torchvision.transforms.functional import center_crop
if... | 44.079365 | 110 | 0.683831 | 380 | 2,777 | 4.802632 | 0.213158 | 0.054795 | 0.054795 | 0.076712 | 0.730411 | 0.730411 | 0.730411 | 0.730411 | 0.730411 | 0.696986 | 0 | 0.179124 | 0.185812 | 2,777 | 63 | 111 | 44.079365 | 0.628041 | 0.099748 | 0 | 0.608696 | 0 | 0 | 0.283193 | 0.279984 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.304348 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3d1aa3ea7efe9dd6a6c1cb2f1c327a20ff2029ee | 118 | py | Python | etudiant/admin.py | sandratraJovanie/torolalagna | 5984b2ef0ff1537ae7ce2385306783ae7a1c15e0 | [
"Apache-2.0"
] | null | null | null | etudiant/admin.py | sandratraJovanie/torolalagna | 5984b2ef0ff1537ae7ce2385306783ae7a1c15e0 | [
"Apache-2.0"
] | null | null | null | etudiant/admin.py | sandratraJovanie/torolalagna | 5984b2ef0ff1537ae7ce2385306783ae7a1c15e0 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(etudiants)
admin.site.register(relation)
| 16.857143 | 32 | 0.805085 | 16 | 118 | 5.9375 | 0.625 | 0.231579 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 6 | 33 | 19.666667 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3d2e47c799ec38a6f239e86c9e790c7938db75f6 | 38 | py | Python | segmentation/ptsemseg/metrics/__init__.py | GT-RIPL/UNO-IC | 6a95f2c6bc52ad80bfb1da53fd046a3d4db310d0 | [
"MIT"
] | 24 | 2020-11-11T03:49:50.000Z | 2022-03-21T04:23:32.000Z | segmentation/ptsemseg/metrics/__init__.py | GT-RIPL/UNO-IC | 6a95f2c6bc52ad80bfb1da53fd046a3d4db310d0 | [
"MIT"
] | 1 | 2021-07-15T02:46:34.000Z | 2021-07-15T02:46:34.000Z | segmentation/ptsemseg/metrics/__init__.py | GT-RIPL/UNO-IC | 6a95f2c6bc52ad80bfb1da53fd046a3d4db310d0 | [
"MIT"
] | 2 | 2021-02-04T01:28:19.000Z | 2021-02-25T09:20:27.000Z | from ptsemseg.metrics.metrics import * | 38 | 38 | 0.842105 | 5 | 38 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d5d9ae86591db9d1b2917601695f1127d7691d2 | 485 | py | Python | lib/dom/__init__.py | zepheira/amara | d3ffe07d6e2266b34d72b012a82d572c8edbf1e7 | [
"Apache-2.0"
] | 6 | 2015-01-30T03:50:36.000Z | 2022-03-20T16:09:58.000Z | lib/dom/__init__.py | zepheira/amara | d3ffe07d6e2266b34d72b012a82d572c8edbf1e7 | [
"Apache-2.0"
] | 2 | 2015-02-04T17:18:47.000Z | 2019-09-27T23:39:52.000Z | lib/dom/__init__.py | zepheira/amara | d3ffe07d6e2266b34d72b012a82d572c8edbf1e7 | [
"Apache-2.0"
] | 6 | 2015-02-04T16:16:18.000Z | 2019-10-30T20:07:48.000Z | ########################################################################
# amara/dom/__init__.py
"""
Old school W3C DOM...mostly
"""
import nodes
def parse(obj, uri=None, entity_factory=None, standalone=False, validate=False):
from amara import tree
if not entity_factory:
entity_factory = nodes.Docum... | 24.25 | 104 | 0.620619 | 57 | 485 | 5.105263 | 0.561404 | 0.223368 | 0.075601 | 0.178694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.140206 | 485 | 19 | 105 | 25.526316 | 0.690647 | 0.169072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e9f8b22e6ebf5265be6723fff4df9000b2efa347 | 120 | py | Python | Curso_de_Python_ Curso_em_Video/PythonTeste/operadoresAritmeticosEx001.py | DanilooSilva/Cursos_de_Python | 8f167a4c6e16f01601e23b6f107578aa1454472d | [
"MIT"
] | null | null | null | Curso_de_Python_ Curso_em_Video/PythonTeste/operadoresAritmeticosEx001.py | DanilooSilva/Cursos_de_Python | 8f167a4c6e16f01601e23b6f107578aa1454472d | [
"MIT"
] | null | null | null | Curso_de_Python_ Curso_em_Video/PythonTeste/operadoresAritmeticosEx001.py | DanilooSilva/Cursos_de_Python | 8f167a4c6e16f01601e23b6f107578aa1454472d | [
"MIT"
] | null | null | null | n = int(input('Digite um número '))
print('Seu sucessor é {}'.format(n + 1))
print('Seu antecessor é {}'.format(n - 1)) | 30 | 42 | 0.625 | 20 | 120 | 3.75 | 0.65 | 0.213333 | 0.213333 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.15 | 120 | 4 | 42 | 30 | 0.715686 | 0 | 0 | 0 | 0 | 0 | 0.438017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
18375dcff2c6dce1604d11cb29e9a7b72c5840f1 | 89 | py | Python | ghri/commands/__init__.py | shawalli/ghri | 0e6e908b60b98afa795b9ac169353dc9bcd2625f | [
"MIT"
] | 1 | 2018-11-19T21:01:39.000Z | 2018-11-19T21:01:39.000Z | ghri/commands/__init__.py | shawalli/ghri | 0e6e908b60b98afa795b9ac169353dc9bcd2625f | [
"MIT"
] | null | null | null | ghri/commands/__init__.py | shawalli/ghri | 0e6e908b60b98afa795b9ac169353dc9bcd2625f | [
"MIT"
] | null | null | null | from ghri.commands.list import list_releases
from ghri.commands.show import show_release
| 29.666667 | 44 | 0.865169 | 14 | 89 | 5.357143 | 0.571429 | 0.213333 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 89 | 2 | 45 | 44.5 | 0.925926 | 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 |
1838c7cfd499a62d29e952afac3004f1dc7c40d7 | 31 | py | Python | Round1/string_analysis/__init__.py | NavneelSinghal/HCLHackIITK | 91ceb865d1ff7c1ff109fbbbcfda8005d3b9cf93 | [
"MIT"
] | null | null | null | Round1/string_analysis/__init__.py | NavneelSinghal/HCLHackIITK | 91ceb865d1ff7c1ff109fbbbcfda8005d3b9cf93 | [
"MIT"
] | null | null | null | Round1/string_analysis/__init__.py | NavneelSinghal/HCLHackIITK | 91ceb865d1ff7c1ff109fbbbcfda8005d3b9cf93 | [
"MIT"
] | null | null | null | from .model import StringModel
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18453b8cb41459974a4317c20eabd6878b810ca9 | 199 | py | Python | LeetCode/python3/398.py | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 279 | 2019-02-19T16:00:32.000Z | 2022-03-23T12:16:30.000Z | LeetCode/python3/398.py | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 2 | 2019-03-31T08:03:06.000Z | 2021-03-07T04:54:32.000Z | LeetCode/python3/398.py | ZintrulCre/LeetCode_Crawler | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 12 | 2019-01-29T11:45:32.000Z | 2019-02-04T16:31:46.000Z | class Solution(object):
def __init__(self, nums):
self.nums = nums
def pick(self, target):
return random.choice([k for k, v in enumerate(self.nums) if v == target]) | 24.875 | 81 | 0.59799 | 28 | 199 | 4.107143 | 0.642857 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281407 | 199 | 8 | 81 | 24.875 | 0.804196 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
43f75b367d002498265e8e32d3ca6b1c5d62bf95 | 39 | py | Python | commons/utils/loggers/__init__.py | ham2qur/paper_monolithic_microservices | 0442dabe9e05d92b176257c111002ff688c4b3cb | [
"MIT"
] | 17 | 2018-08-07T03:59:19.000Z | 2020-12-03T14:28:46.000Z | commons/utils/loggers/__init__.py | ham2qur/paper_monolithic_microservices | 0442dabe9e05d92b176257c111002ff688c4b3cb | [
"MIT"
] | 3 | 2020-06-05T18:24:14.000Z | 2021-06-10T20:28:20.000Z | commons/utils/loggers/__init__.py | shreybatra/Blog-O-Mania-Backend | 8847e7b9c29c402b30d439294fc9deaf7005d0ce | [
"MIT"
] | 3 | 2018-08-11T18:17:24.000Z | 2020-04-28T06:56:05.000Z | from .error_logger import error_logger
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 0.666667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
a1020689953e81b3abea85f0a014e83e2528f727 | 4,008 | py | Python | sql_modul_alchemy.py | SerjShepelevich/18-- | 442f9817648a2525da451511dfa36a5efdc3efc1 | [
"MIT"
] | null | null | null | sql_modul_alchemy.py | SerjShepelevich/18-- | 442f9817648a2525da451511dfa36a5efdc3efc1 | [
"MIT"
] | null | null | null | sql_modul_alchemy.py | SerjShepelevich/18-- | 442f9817648a2525da451511dfa36a5efdc3efc1 | [
"MIT"
] | null | null | null | class Sql_modul_alchemy():
# name TEXT, mid_salary INT, max_salary INT, min_salary INT, common_skills TEXT'
def __init__(self, db_name, **kwargs):
self.db_name = db_name
def create_db(self):
from sqlalchemy import create_engine, MetaData, Table
from sqlalchemy.ext.declarative impor... | 38.538462 | 127 | 0.648703 | 475 | 4,008 | 5.225263 | 0.168421 | 0.060435 | 0.020145 | 0.034247 | 0.791297 | 0.737712 | 0.737712 | 0.714746 | 0.714746 | 0.714746 | 0 | 0.009259 | 0.245509 | 4,008 | 104 | 128 | 38.538462 | 0.811508 | 0.113523 | 0 | 0.815789 | 0 | 0.026316 | 0.083098 | 0.02035 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118421 | false | 0 | 0.144737 | 0.039474 | 0.447368 | 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 |
a18b8abdb18dffc8c50774fd239ee58f76dc7f7a | 2,546 | py | Python | test/programytest/storage/stores/sql/store/test_rdfs.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 5 | 2018-08-21T00:13:45.000Z | 2018-09-01T20:00:55.000Z | test/programytest/storage/stores/sql/store/test_rdfs.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 1 | 2018-09-12T18:30:17.000Z | 2018-09-12T18:30:17.000Z | test/programytest/storage/stores/sql/store/test_rdfs.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 5 | 2018-08-21T00:08:36.000Z | 2018-09-23T06:11:04.000Z | import unittest
from programytest.storage.asserts.store.assert_rdfs import RDFStoreAsserts
from programy.storage.stores.sql.store.rdfs import SQLRDFsStore
from programy.storage.stores.sql.engine import SQLStorageEngine
from programy.storage.stores.sql.config import SQLStorageConfiguration
import programytest.storage... | 33.946667 | 74 | 0.727023 | 272 | 2,546 | 6.577206 | 0.165441 | 0.055897 | 0.129122 | 0.152599 | 0.812186 | 0.765232 | 0.765232 | 0.703745 | 0.703745 | 0.703745 | 0 | 0 | 0.195601 | 2,546 | 74 | 75 | 34.405405 | 0.873535 | 0 | 0 | 0.625 | 0 | 0 | 0.016496 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 1 | 0.125 | false | 0 | 0.107143 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1cd708163db9363862e1a10c5506331eb44cf08 | 33,444 | py | Python | 1.experimental_data/IMAS_data/TCV2IMAS_forward_field.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 1 | 2021-12-13T11:52:39.000Z | 2021-12-13T11:52:39.000Z | 1.experimental_data/IMAS_data/TCV2IMAS_forward_field.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 2 | 2021-12-18T17:18:52.000Z | 2022-01-26T09:23:23.000Z | 1.experimental_data/IMAS_data/TCV2IMAS_forward_field.py | dsoliveir/TCV-X21 | 784c55adb33417e21a6736e2504a3895a9348dbe | [
"CC-BY-4.0"
] | 2 | 2021-12-13T12:56:09.000Z | 2022-01-25T20:30:28.000Z | import imas
from imas import imasdef
import numpy as np
from netCDF4 import Dataset
# Mapping the TCV-X21 dataset to IMAS format
# Author : F. Imbeaux, 2021
# General description of the dataset --> dataset_description IDS, occurrence 0
# Diagnostic LFS-LP --> langmuir_probes IDS, occurrence 0
# Diagnostic HFS-LP --> ... | 42.931964 | 375 | 0.696119 | 4,578 | 33,444 | 4.882918 | 0.051114 | 0.040709 | 0.048314 | 0.067639 | 0.908383 | 0.8955 | 0.863872 | 0.834839 | 0.797978 | 0.757448 | 0 | 0.008116 | 0.189451 | 33,444 | 778 | 376 | 42.987147 | 0.816512 | 0.172527 | 0 | 0.214516 | 0 | 0.012903 | 0.248358 | 0.15993 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006452 | 0 | 0.006452 | 0.022581 | 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 |
a1f5ce25d56fce1434097eb25703f8dddf5eb1cb | 166 | py | Python | umaster/mooncell_text/text_repository/__init__.py | karanokk/mooncell-text | 92d4bbb7b8dac8a1e59729e8ec45f6c3374de246 | [
"MIT"
] | null | null | null | umaster/mooncell_text/text_repository/__init__.py | karanokk/mooncell-text | 92d4bbb7b8dac8a1e59729e8ec45f6c3374de246 | [
"MIT"
] | null | null | null | umaster/mooncell_text/text_repository/__init__.py | karanokk/mooncell-text | 92d4bbb7b8dac8a1e59729e8ec45f6c3374de246 | [
"MIT"
] | null | null | null | from .local_source import LocalTextSource
from .remote_source import RemoteTextSource
from .text_repository import TextRepository
from .text_source import TextSource
| 33.2 | 43 | 0.879518 | 20 | 166 | 7.1 | 0.55 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 166 | 4 | 44 | 41.5 | 0.946667 | 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 |
62c3a6c88c250daea6f384881f48b8481c226591 | 4,630 | py | Python | tests/task_router/test_tasks.py | quippp/twilio-python | 22b84cdfd19a6b1bde84350053870a7c507af410 | [
"MIT"
] | 11 | 2016-01-23T04:38:23.000Z | 2017-11-19T04:03:25.000Z | venv/lib/python2.7/site-packages/tests/task_router/test_tasks.py | jideobs/twilioAngular | eb95308d287d7dbb72fe516a633199a0af8b76b9 | [
"MIT"
] | 1 | 2016-05-26T21:39:12.000Z | 2016-05-26T21:39:14.000Z | venv/lib/python2.7/site-packages/tests/task_router/test_tasks.py | jideobs/twilioAngular | eb95308d287d7dbb72fe516a633199a0af8b76b9 | [
"MIT"
] | 2 | 2019-05-19T06:02:26.000Z | 2020-12-23T11:27:20.000Z | import unittest
from mock import patch, Mock
from tests.tools import create_mock_json
from twilio.rest.resources.task_router.tasks import Tasks, Task
AUTH = ("AC123", "token")
BASE_URI = "https://taskrouter.twilio.com/v1/Accounts/AC123/Workspaces/WSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
TASK_SID = "WTaaaaaaaaaaaaaaaaaaa... | 39.237288 | 114 | 0.641469 | 519 | 4,630 | 5.460501 | 0.136802 | 0.03705 | 0.053634 | 0.05928 | 0.828158 | 0.792167 | 0.741708 | 0.741708 | 0.727594 | 0.727594 | 0 | 0.01268 | 0.25054 | 4,630 | 117 | 115 | 39.57265 | 0.804035 | 0 | 0 | 0.621053 | 0 | 0 | 0.245572 | 0.170842 | 0 | 0 | 0 | 0 | 0.073684 | 1 | 0.073684 | false | 0 | 0.042105 | 0 | 0.126316 | 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 |
62ef97b124312a957f060f5cf6d6eaf221adf4cb | 100 | py | Python | django_fakery/plugin.py | fcurella/django-fakery | 10f962ad73bd689495bdc04f521eddce4cb01922 | [
"MIT"
] | 99 | 2015-09-25T19:19:31.000Z | 2022-03-10T11:48:26.000Z | django_fakery/plugin.py | sobolevn/django-fakery | bac6965d2f780ddbad90ef94ab5b6bb8a79a1e1c | [
"MIT"
] | 53 | 2015-10-08T11:54:27.000Z | 2022-01-11T17:28:09.000Z | django_fakery/plugin.py | sobolevn/django-fakery | bac6965d2f780ddbad90ef94ab5b6bb8a79a1e1c | [
"MIT"
] | 6 | 2015-10-08T11:46:11.000Z | 2022-01-15T16:29:58.000Z | import pytest
from django_fakery import factory
@pytest.fixture
def fakery():
return factory
| 11.111111 | 33 | 0.77 | 13 | 100 | 5.846154 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 100 | 8 | 34 | 12.5 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
62fab58097f5040e121f7e725e3d2180e88b333c | 108,839 | py | Python | datasets.py | fregu856/retinanet | 408cc34aac9a30233ac3a23661654997d0cd5641 | [
"MIT"
] | null | null | null | datasets.py | fregu856/retinanet | 408cc34aac9a30233ac3a23661654997d0cd5641 | [
"MIT"
] | 1 | 2019-09-15T11:18:53.000Z | 2019-09-15T11:22:59.000Z | datasets.py | fregu856/retinanet | 408cc34aac9a30233ac3a23661654997d0cd5641 | [
"MIT"
] | null | null | null | from kittiloader import LabelLoader2D3D, LabelLoader2D3D_sequence # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason)
import sys
sys.path.append("/root/retinanet/data_aug")
sys.path.append("/home/fregu856/retinanet/data_aug")
from data_aug import RandomHorizontalF... | 45.292967 | 254 | 0.546964 | 14,165 | 108,839 | 3.910272 | 0.035581 | 0.056473 | 0.040369 | 0.016429 | 0.830418 | 0.802759 | 0.781527 | 0.772139 | 0.7532 | 0.746159 | 0 | 0.034826 | 0.266577 | 108,839 | 2,402 | 255 | 45.311823 | 0.659054 | 0.313922 | 0 | 0.69821 | 0 | 0 | 0.041956 | 0.014105 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048593 | false | 0 | 0.01364 | 0.011935 | 0.12191 | 0.000853 | 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 |
1a272873885d1d913cc024632d21ca4bfc5b3cff | 220 | py | Python | desperado/cmd/credentials.py | ClifHouck/desperado | 95de3ceeb088a9c0ee5690e8d08f0fee2a6f5bdf | [
"BSD-3-Clause"
] | 3 | 2015-02-16T15:38:55.000Z | 2015-04-07T21:47:41.000Z | desperado/cmd/credentials.py | ClifHouck/desperado | 95de3ceeb088a9c0ee5690e8d08f0fee2a6f5bdf | [
"BSD-3-Clause"
] | 5 | 2021-03-18T20:12:51.000Z | 2022-03-11T23:12:34.000Z | desperado/cmd/credentials.py | ClifHouck/desperado | 95de3ceeb088a9c0ee5690e8d08f0fee2a6f5bdf | [
"BSD-3-Clause"
] | 1 | 2015-11-18T00:55:51.000Z | 2015-11-18T00:55:51.000Z | steam_username = ''
steam_password = ''
mail_user = ''
mail_password = ''
mail_server = ''
def steam():
return (steam_username, steam_password)
def mail():
return (mail_server, mail_user, mail_password)
| 16.923077 | 50 | 0.677273 | 26 | 220 | 5.346154 | 0.307692 | 0.18705 | 0.258993 | 0.374101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195455 | 220 | 12 | 51 | 18.333333 | 0.785311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.444444 | 0 | 0.222222 | 0.444444 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
c5047bb7d5da6f287eaaff55cd5ced11f48be8db | 38 | py | Python | tests/test_attention.py | gchhablani/vformer | c7dc7d14e33aa5b2974667d281e7910e17538b34 | [
"MIT"
] | null | null | null | tests/test_attention.py | gchhablani/vformer | c7dc7d14e33aa5b2974667d281e7910e17538b34 | [
"MIT"
] | null | null | null | tests/test_attention.py | gchhablani/vformer | c7dc7d14e33aa5b2974667d281e7910e17538b34 | [
"MIT"
] | null | null | null | import vformer.attention as attention
| 19 | 37 | 0.868421 | 5 | 38 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
c509924cbf2c2db9e82833bf6cdddc8dd8141764 | 85 | py | Python | src/hub/dataload/sources/pubchem/__init__.py | ravila4/mychem.info | 9b63b5f0957b5e7b252ca8122734a363905036b3 | [
"Apache-2.0"
] | 10 | 2017-07-24T11:45:27.000Z | 2022-02-14T13:42:36.000Z | src/hub/dataload/sources/pubchem/__init__.py | veleritas/mychem.info | bb22357d4cbbc3c4865da224bf998f2cbc59f8f2 | [
"Apache-2.0"
] | 92 | 2017-06-22T16:49:20.000Z | 2022-03-24T20:50:01.000Z | src/hub/dataload/sources/pubchem/__init__.py | veleritas/mychem.info | bb22357d4cbbc3c4865da224bf998f2cbc59f8f2 | [
"Apache-2.0"
] | 11 | 2017-06-12T18:31:35.000Z | 2022-01-31T02:56:52.000Z | from .pubchem_upload import PubChemUploader
from .pubchem_dump import PubChemDumper
| 21.25 | 43 | 0.870588 | 10 | 85 | 7.2 | 0.7 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 3 | 44 | 28.333333 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d9feba37eb660601ce774fa6cda0bfd665a0df8 | 108 | py | Python | terrascript/oneandone/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/oneandone/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/oneandone/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/oneandone/d.py
import terrascript
class oneandone_instance_size(terrascript.Data):
pass
| 15.428571 | 48 | 0.805556 | 13 | 108 | 6.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 6 | 49 | 18 | 0.894737 | 0.240741 | 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 |
3de23e1efb3bc1d25d9d4bf4c50c2471f14e169b | 126 | py | Python | pdip/integrator/connection/types/queue/base/__init__.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/connection/queue/base/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | null | null | null | pdip/connection/queue/base/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from .queue_connector import QueueConnector
from .queue_context import QueueContext
from .queue_provider import QueueProvider
| 31.5 | 43 | 0.880952 | 15 | 126 | 7.2 | 0.6 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 126 | 3 | 44 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3df3e4f0936754bf8efcd491f54a585ff4608191 | 145 | py | Python | machina/noise/__init__.py | Wataru-Y/machina | d82db3b5535afa958b32ecfb13db19740c95be5c | [
"MIT"
] | null | null | null | machina/noise/__init__.py | Wataru-Y/machina | d82db3b5535afa958b32ecfb13db19740c95be5c | [
"MIT"
] | null | null | null | machina/noise/__init__.py | Wataru-Y/machina | d82db3b5535afa958b32ecfb13db19740c95be5c | [
"MIT"
] | null | null | null | from machina.noise.base import BaseActionNoise
from machina.noise.ounoise import OUActionNoise
from machina.noise.normalnoise import NormalNoise
| 36.25 | 49 | 0.875862 | 18 | 145 | 7.055556 | 0.5 | 0.259843 | 0.377953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 50 | 48.333333 | 0.954887 | 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 |
9ac268c1fd33d71128b7c79fc9c81050eeb9cedf | 97 | py | Python | design/__init__.py | insidemirage/py-wishlist | 488e8bfab04a8a50aedddd797edd314827028d56 | [
"MIT"
] | null | null | null | design/__init__.py | insidemirage/py-wishlist | 488e8bfab04a8a50aedddd797edd314827028d56 | [
"MIT"
] | null | null | null | design/__init__.py | insidemirage/py-wishlist | 488e8bfab04a8a50aedddd797edd314827028d56 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .wish_dialog import Ui_WishDialog
from .window import Ui_MainWindow
| 24.25 | 38 | 0.752577 | 14 | 97 | 5 | 0.785714 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.134021 | 97 | 3 | 39 | 32.333333 | 0.821429 | 0.216495 | 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 |
9addd91f09d39d7f4caa57d01a084cb105e25ce1 | 47 | py | Python | pigor/plugins/interferometer/__init__.py | nicoeinsidler/pigor2 | bf3e5b542cdd1c685b2542258c728861e8c586c8 | [
"MIT"
] | 1 | 2019-10-09T11:31:41.000Z | 2019-10-09T11:31:41.000Z | pigor/plugins/interferometer/__init__.py | nicoeinsidler/pigor2 | bf3e5b542cdd1c685b2542258c728861e8c586c8 | [
"MIT"
] | 1 | 2019-11-07T11:59:33.000Z | 2019-11-09T23:31:31.000Z | pigor/plugins/polarimeter/__init__.py | nicoeinsidler/pigor2 | bf3e5b542cdd1c685b2542258c728861e8c586c8 | [
"MIT"
] | null | null | null | from .functions import *
from .adapter import * | 23.5 | 24 | 0.765957 | 6 | 47 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 25 | 23.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1061b018e83ca97f44443eb21660e31532d4c74 | 101 | py | Python | src/scripts/__init__.py | kjhall-iri/cpt-tools | 7c0a43c3332e6c51253fe4a530c47a2b839d6075 | [
"MIT"
] | null | null | null | src/scripts/__init__.py | kjhall-iri/cpt-tools | 7c0a43c3332e6c51253fe4a530c47a2b839d6075 | [
"MIT"
] | null | null | null | src/scripts/__init__.py | kjhall-iri/cpt-tools | 7c0a43c3332e6c51253fe4a530c47a2b839d6075 | [
"MIT"
] | null | null | null | from .seasonal import load_nmme, load_c3s, load_observations, preload_southasia, preload_lesotho_nmme | 101 | 101 | 0.881188 | 14 | 101 | 5.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.069307 | 101 | 1 | 101 | 101 | 0.87234 | 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 |
b112080f51393c0730a83c7b09f8627af2bb9886 | 72 | py | Python | blockworld/blocks/__init__.py | belledon/blockworld | be84bf304e688cdf4418c3990399722f181ad566 | [
"MIT"
] | null | null | null | blockworld/blocks/__init__.py | belledon/blockworld | be84bf304e688cdf4418c3990399722f181ad566 | [
"MIT"
] | null | null | null | blockworld/blocks/__init__.py | belledon/blockworld | be84bf304e688cdf4418c3990399722f181ad566 | [
"MIT"
] | null | null | null | from .simple_block import SimpleBlock
from .base_block import BaseBlock
| 24 | 37 | 0.861111 | 10 | 72 | 6 | 0.7 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 38 | 36 | 0.9375 | 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 |
b11c4b5a6e8bc5512d23a84f6c35221ca7be3e90 | 18 | py | Python | src/rough.py | parthbhope/NC_Concolic_Testing | d2622ba3f7fd667b6534bda09d29f1c95c59799f | [
"BSD-3-Clause"
] | null | null | null | src/rough.py | parthbhope/NC_Concolic_Testing | d2622ba3f7fd667b6534bda09d29f1c95c59799f | [
"BSD-3-Clause"
] | null | null | null | src/rough.py | parthbhope/NC_Concolic_Testing | d2622ba3f7fd667b6534bda09d29f1c95c59799f | [
"BSD-3-Clause"
] | null | null | null | print(len((122,))) | 18 | 18 | 0.611111 | 3 | 18 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 18 | 1 | 18 | 18 | 0.444444 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b13282982de4e122bbd071e489df33bf4069cdd4 | 30 | py | Python | domtree/__init__.py | tvogels/domtree | fb89724db10b37b76954fa0f1977c00945d32c05 | [
"Apache-2.0"
] | null | null | null | domtree/__init__.py | tvogels/domtree | fb89724db10b37b76954fa0f1977c00945d32c05 | [
"Apache-2.0"
] | null | null | null | domtree/__init__.py | tvogels/domtree | fb89724db10b37b76954fa0f1977c00945d32c05 | [
"Apache-2.0"
] | null | null | null | from domtree.node import Node
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
b1785bf3e683b7d2fe81ddfd7756f069c270c418 | 37 | py | Python | tests/src/TNB/mklaren/projection/__init__.py | bellwethers-in-se/issueCloseTime | e5e00c9625da0793dc8e7985fd88b0ca0b35f7d3 | [
"MIT"
] | 9 | 2017-07-27T10:32:48.000Z | 2021-07-01T11:51:51.000Z | tests/src/TNB/mklaren/projection/__init__.py | bellwethers-in-se/issueCloseTime | e5e00c9625da0793dc8e7985fd88b0ca0b35f7d3 | [
"MIT"
] | 11 | 2016-03-15T16:27:47.000Z | 2019-09-05T02:25:08.000Z | tests/src/TNB/mklaren/projection/__init__.py | bellwethers-in-se/issueCloseTime | e5e00c9625da0793dc8e7985fd88b0ca0b35f7d3 | [
"MIT"
] | 5 | 2017-01-28T22:45:34.000Z | 2019-12-04T13:15:10.000Z | import csi
import icd
import nystrom
| 9.25 | 14 | 0.837838 | 6 | 37 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 3 | 15 | 12.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b18ad303ee34356030f7f24be4c300ddc92f6429 | 54 | py | Python | dadukate/blueprints/contact/__init__.py | DevDHera/Dadu-Kate | ab1e0780d9b4ea6308b72abbd8e0b131c0097e31 | [
"MIT"
] | null | null | null | dadukate/blueprints/contact/__init__.py | DevDHera/Dadu-Kate | ab1e0780d9b4ea6308b72abbd8e0b131c0097e31 | [
"MIT"
] | null | null | null | dadukate/blueprints/contact/__init__.py | DevDHera/Dadu-Kate | ab1e0780d9b4ea6308b72abbd8e0b131c0097e31 | [
"MIT"
] | null | null | null | from dadukate.blueprints.contact.views import contact
| 27 | 53 | 0.87037 | 7 | 54 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b18e111edad06245b8b72384833b677d789104df | 104 | py | Python | test_project/views.py | rhblind/django-tracer | b0dfb9df27f5cbafe14ff964307da3cb3d006d2b | [
"BSD-3-Clause"
] | 9 | 2018-07-31T16:29:48.000Z | 2019-07-29T19:34:41.000Z | test_project/views.py | revsys/django-tracer | b0dfb9df27f5cbafe14ff964307da3cb3d006d2b | [
"BSD-3-Clause"
] | 1 | 2018-06-20T13:37:59.000Z | 2018-06-21T06:07:33.000Z | test_project/views.py | rhblind/django-tracer | b0dfb9df27f5cbafe14ff964307da3cb3d006d2b | [
"BSD-3-Clause"
] | 1 | 2020-11-24T10:12:01.000Z | 2020-11-24T10:12:01.000Z |
from django.http import HttpResponse
def request_test_view(request):
return HttpResponse("VIEW")
| 14.857143 | 36 | 0.778846 | 13 | 104 | 6.076923 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 6 | 37 | 17.333333 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
49248601b390516abf06d50d8d9f51e489c8c589 | 109 | py | Python | tracker/sot/lib/version.py | collector-m/UniTrack | e8e56e164f2dd40ba590a19ed7a4a75d8da7e2eb | [
"MIT"
] | 240 | 2021-06-20T13:50:42.000Z | 2022-03-31T05:08:29.000Z | tracker/sot/lib/version.py | collector-m/UniTrack | e8e56e164f2dd40ba590a19ed7a4a75d8da7e2eb | [
"MIT"
] | 27 | 2021-07-12T01:19:39.000Z | 2021-12-27T08:05:08.000Z | tracker/sot/lib/version.py | collector-m/UniTrack | e8e56e164f2dd40ba590a19ed7a4a75d8da7e2eb | [
"MIT"
] | 24 | 2021-07-01T09:48:24.000Z | 2022-03-14T06:39:46.000Z | # GENERATED VERSION FILE
# TIME: Fri Dec 11 13:54:02 2020
__version__ = '1.0.rc0'
short_version = '1.0.rc0'
| 18.166667 | 32 | 0.697248 | 20 | 109 | 3.55 | 0.75 | 0.225352 | 0.253521 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 0.165138 | 109 | 5 | 33 | 21.8 | 0.582418 | 0.486239 | 0 | 0 | 1 | 0 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
493f4198a2ca86429a93db674807051c2ab97dd8 | 28 | py | Python | malclient/__init__.py | RobiMez/MAL-API-Client | b58d1bc662495fad02e8212870adb4e6fe30201c | [
"MIT"
] | 14 | 2020-07-19T04:19:10.000Z | 2022-02-07T10:16:46.000Z | MK/Sync/__init__.py | Mecha-Karen/MechaK.py | e173d53d2412101a5c96e624ce784333ba8e784f | [
"MIT"
] | 1 | 2020-08-01T16:38:48.000Z | 2020-09-12T20:16:08.000Z | MK/Sync/__init__.py | Mecha-Karen/MechaK.py | e173d53d2412101a5c96e624ce784333ba8e784f | [
"MIT"
] | 9 | 2020-07-19T04:04:12.000Z | 2022-02-07T11:25:19.000Z | from .client import Client
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
771730d2a6577c85ee1ae9e0a620f4347b2df0f9 | 2,541 | py | Python | tools/telemetry/telemetry/page/actions/javascript_click_unittest.py | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-16T03:57:28.000Z | 2021-01-23T15:29:45.000Z | tools/telemetry/telemetry/page/actions/javascript_click_unittest.py | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/telemetry/telemetry/page/actions/javascript_click_unittest.py | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page.actions import javascript_click
from telemetry.page.actions import wait_until
from telemetry.unittest import tab_test_case
class ClickE... | 34.337838 | 72 | 0.702873 | 278 | 2,541 | 6.258993 | 0.266187 | 0.048276 | 0.055172 | 0.073563 | 0.764943 | 0.73046 | 0.73046 | 0.73046 | 0.73046 | 0.73046 | 0 | 0.001892 | 0.168044 | 2,541 | 73 | 73 | 34.808219 | 0.821192 | 0.061 | 0 | 0.785714 | 0 | 0 | 0.238875 | 0.09068 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.071429 | false | 0 | 0.053571 | 0 | 0.142857 | 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 |
771f82fa40237706c15ce1439664ed4c00418724 | 326 | py | Python | packages/pyright-internal/src/tests/samples/import10.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/import10.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | packages/pyright-internal/src/tests/samples/import10.py | lipovsek/pytea | c536515a5e5947fac8871784323ba7eddc58956d | [
"MIT"
] | null | null | null | # This sample tests the handling of an unresolved import.
# It should report a single error but not have cascading
# errors when the unresolved symbol is used.
# This should generate an error.
import unresolved_import
def test_zero_division():
with unresolved_import.raises(ZeroDivisionError):
1... | 27.166667 | 58 | 0.739264 | 45 | 326 | 5.266667 | 0.755556 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.214724 | 326 | 11 | 59 | 29.636364 | 0.917969 | 0.564417 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91f7fb0764029b89d8fe9ebb676bd93c6952e149 | 175 | py | Python | what2make/search/admin.py | velezj425/what-to-make-site | f78f0c01b60408b0aefd64f9346b9d72e7dbb3f0 | [
"MIT"
] | null | null | null | what2make/search/admin.py | velezj425/what-to-make-site | f78f0c01b60408b0aefd64f9346b9d72e7dbb3f0 | [
"MIT"
] | null | null | null | what2make/search/admin.py | velezj425/what-to-make-site | f78f0c01b60408b0aefd64f9346b9d72e7dbb3f0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Profile)
admin.site.register(Recipe)
admin.site.register(Ing_Type)
admin.site.register(Ingredient) | 21.875 | 32 | 0.817143 | 25 | 175 | 5.68 | 0.52 | 0.253521 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074286 | 175 | 8 | 33 | 21.875 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6201c0486ae09827bb6054b82958c937dde88f39 | 3,432 | py | Python | tests/test_tokenisers.py | LaudateCorpus1/Bella-5 | 7de51ff4914bdefbcf05e490b85517c5fb014595 | [
"MIT"
] | 22 | 2018-06-16T02:03:44.000Z | 2022-01-04T19:06:12.000Z | tests/test_tokenisers.py | LaudateCorpus1/Bella-5 | 7de51ff4914bdefbcf05e490b85517c5fb014595 | [
"MIT"
] | 3 | 2018-06-21T11:01:28.000Z | 2018-11-29T20:32:22.000Z | tests/test_tokenisers.py | LaudateCorpus1/Bella-5 | 7de51ff4914bdefbcf05e490b85517c5fb014595 | [
"MIT"
] | 2 | 2019-11-12T18:02:15.000Z | 2021-11-25T12:15:02.000Z | '''
Unit test suite for the :py:mod:`bella.tokenisers` module.
'''
from unittest import TestCase
from bella.tokenisers import whitespace
from bella.tokenisers import ark_twokenize, spacy_tokeniser
class TestTokenisers(TestCase):
'''
Contains the following functions:
1. :py:func:`bella.tokenisers.whitespac... | 45.157895 | 97 | 0.557401 | 357 | 3,432 | 5.210084 | 0.196078 | 0.080645 | 0.058065 | 0.077419 | 0.802151 | 0.780108 | 0.73172 | 0.73172 | 0.73172 | 0.73172 | 0 | 0.003868 | 0.32197 | 3,432 | 76 | 98 | 45.157895 | 0.795445 | 0.080711 | 0 | 0.583333 | 0 | 0 | 0.210131 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.0625 | 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 |
620bf1d173fff661326c2601e4eac1034d7e87e3 | 135,726 | py | Python | mbuild/tests/test_charmm_writer.py | daico007/mbuild | 8baa19a46d1ece809f214a2e1a2f8984dd923b56 | [
"MIT"
] | 101 | 2017-02-14T18:23:52.000Z | 2022-03-20T03:29:59.000Z | mbuild/tests/test_charmm_writer.py | Leticia-maria/mbuild | b6278441ff6d6cf1f954affe3d0fbeec17bbbc6d | [
"MIT"
] | 689 | 2017-02-13T04:40:30.000Z | 2022-03-31T19:57:32.000Z | mbuild/tests/test_charmm_writer.py | Leticia-maria/mbuild | b6278441ff6d6cf1f954affe3d0fbeec17bbbc6d | [
"MIT"
] | 82 | 2017-02-13T21:08:48.000Z | 2022-03-21T21:55:43.000Z | from collections import OrderedDict
import numpy as np
import pytest
from foyer.forcefields import forcefields
import mbuild as mb
from mbuild import Box, Compound
from mbuild.formats import charmm_writer
from mbuild.formats.charmm_writer import Charmm
from mbuild.lattice import load_cif
from mbuild.tests.base_test i... | 38.449292 | 118 | 0.429873 | 13,816 | 135,726 | 3.910973 | 0.042053 | 0.036459 | 0.017026 | 0.016323 | 0.874838 | 0.837695 | 0.808806 | 0.775419 | 0.76339 | 0.728338 | 0 | 0.056815 | 0.463257 | 135,726 | 3,529 | 119 | 38.460187 | 0.6849 | 0.011995 | 0 | 0.681016 | 0 | 0.001858 | 0.128588 | 0.015417 | 0 | 0 | 0 | 0 | 0.052338 | 1 | 0.028182 | false | 0.008052 | 0.004026 | 0 | 0.032518 | 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 |
622fead6007f4bfb48f9c867f7eb64dfed600fad | 178 | py | Python | openslides_backend/action/actions/assignment_option/delete.py | r-peschke/openslides-backend | 83d0dab68bb914f06a0f50cffe23fc10ca45376f | [
"MIT"
] | null | null | null | openslides_backend/action/actions/assignment_option/delete.py | r-peschke/openslides-backend | 83d0dab68bb914f06a0f50cffe23fc10ca45376f | [
"MIT"
] | null | null | null | openslides_backend/action/actions/assignment_option/delete.py | r-peschke/openslides-backend | 83d0dab68bb914f06a0f50cffe23fc10ca45376f | [
"MIT"
] | null | null | null | from ...action import DummyAction
from ...util.register import register_action
@register_action("assignment_option.delete")
class AssignmentOptionDelete(DummyAction):
pass
| 22.25 | 44 | 0.808989 | 19 | 178 | 7.421053 | 0.631579 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 178 | 7 | 45 | 25.428571 | 0.88125 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
627fb42c5f10f3807ff7f2c93534971d52aeba1e | 167 | py | Python | game/game_code/interactions/__init__.py | RDGT/adventure-poc | e211491e5958d12a3347b3e279006d915d691d20 | [
"MIT"
] | 2 | 2018-04-23T15:03:41.000Z | 2018-07-18T06:36:51.000Z | game/game_code/interactions/__init__.py | RDGT/adventure-poc | e211491e5958d12a3347b3e279006d915d691d20 | [
"MIT"
] | 6 | 2018-03-25T12:04:27.000Z | 2018-09-14T09:08:34.000Z | game/game_code/interactions/__init__.py | RDGT/adventure-poc | e211491e5958d12a3347b3e279006d915d691d20 | [
"MIT"
] | 1 | 2018-07-22T09:46:55.000Z | 2018-07-22T09:46:55.000Z | import room
import level
import thing
import menu
from lib import scene
from lib import choices
from lib import conditions
from lib import events
from lib import area
| 16.7 | 26 | 0.832335 | 28 | 167 | 4.964286 | 0.428571 | 0.251799 | 0.467626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167665 | 167 | 9 | 27 | 18.555556 | 1 | 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 |
659ec21c23b8784310774cd127a38d06b3d2dd9d | 22 | py | Python | minesweeper/__init__.py | andreasisnes/Elitekollektivet.Minesweeper.Sprites | f3633fdf1d95763a7a7e7396c021012c68b97d49 | [
"MIT"
] | 1 | 2020-10-26T23:23:56.000Z | 2020-10-26T23:23:56.000Z | minesweeper/__init__.py | andreasisnes/Elitekollektivet.Minesweeper.Sprites | f3633fdf1d95763a7a7e7396c021012c68b97d49 | [
"MIT"
] | null | null | null | minesweeper/__init__.py | andreasisnes/Elitekollektivet.Minesweeper.Sprites | f3633fdf1d95763a7a7e7396c021012c68b97d49 | [
"MIT"
] | 1 | 2021-12-19T17:23:30.000Z | 2021-12-19T17:23:30.000Z | from . import sprites
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65eeba2d7a47903d512bd6f724e681601b002c44 | 196 | py | Python | deep_rl/agent/exploration/exploration_strategy.py | df424/deep_rl | bfe4a5f54df38ec111fb0162fd575c668f9310d0 | [
"MIT"
] | null | null | null | deep_rl/agent/exploration/exploration_strategy.py | df424/deep_rl | bfe4a5f54df38ec111fb0162fd575c668f9310d0 | [
"MIT"
] | null | null | null | deep_rl/agent/exploration/exploration_strategy.py | df424/deep_rl | bfe4a5f54df38ec111fb0162fd575c668f9310d0 | [
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
import numpy as np
class ExplorationStrategy(ABC):
@abstractmethod
def pick(self, action_space: np.ndarray, eval_mode:bool=False) -> int:
pass | 24.5 | 74 | 0.729592 | 26 | 196 | 5.423077 | 0.807692 | 0.241135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188776 | 196 | 8 | 75 | 24.5 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
02a0f198b200f1876b837ddfdb6c1b0d2726d713 | 328 | py | Python | src/perimeterator/enumerator/__init__.py | darkarnium/perimeterator | 8c694267d92ca1d28fc1494cd9394af34271ed39 | [
"MIT"
] | 56 | 2019-03-20T01:44:04.000Z | 2022-02-16T13:36:39.000Z | src/perimeterator/enumerator/__init__.py | darkarnium/perimeterator | 8c694267d92ca1d28fc1494cd9394af34271ed39 | [
"MIT"
] | 1 | 2020-07-08T20:30:23.000Z | 2020-11-07T15:41:25.000Z | src/perimeterator/enumerator/__init__.py | darkarnium/perimeterator | 8c694267d92ca1d28fc1494cd9394af34271ed39 | [
"MIT"
] | 9 | 2019-10-09T18:54:52.000Z | 2021-12-28T15:27:58.000Z | ''' Perimeterator - Enumerators. '''
from perimeterator.enumerator import ec2 # noqa: F401
from perimeterator.enumerator import elb # noqa: F401
from perimeterator.enumerator import elbv2 # noqa: F401
from perimeterator.enumerator import rds # noqa: F401
from perimeterator.enumerator import es # noq... | 41 | 57 | 0.746951 | 37 | 328 | 6.621622 | 0.324324 | 0.346939 | 0.55102 | 0.673469 | 0.669388 | 0.669388 | 0 | 0 | 0 | 0 | 0 | 0.063433 | 0.182927 | 328 | 7 | 58 | 46.857143 | 0.850746 | 0.259146 | 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 | 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 |
02dea7c663a736d4861a9fb5d6267cda2989779f | 73 | py | Python | flattener/tests/test_solidity_flattener.py | XertroV/solidity-flattener | 53b01d1db12a5ef4dfe35adf4bd6e4f73d90d0f8 | [
"MIT"
] | 266 | 2017-08-08T05:27:40.000Z | 2022-03-23T01:39:47.000Z | flattener/tests/test_solidity_flattener.py | XertroV/solidity-flattener | 53b01d1db12a5ef4dfe35adf4bd6e4f73d90d0f8 | [
"MIT"
] | 32 | 2017-08-17T10:22:10.000Z | 2022-01-30T11:51:09.000Z | flattener/tests/test_solidity_flattener.py | XertroV/solidity-flattener | 53b01d1db12a5ef4dfe35adf4bd6e4f73d90d0f8 | [
"MIT"
] | 91 | 2017-09-18T03:16:27.000Z | 2021-09-21T15:42:18.000Z | import pytest
from .. import core
def test_thingy():
assert 1 == 1
| 10.428571 | 19 | 0.657534 | 11 | 73 | 4.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.246575 | 73 | 6 | 20 | 12.166667 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.