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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f13fd3250f36412bd4635a9e674a1d18279b7f07 | 1,737 | py | Python | tests/test_golr_schema_generator.py | deepakunni3/golr-schema-generator | a3a20e53b35471f02889caecefe0309af45f9361 | [
"BSD-3-Clause"
] | null | null | null | tests/test_golr_schema_generator.py | deepakunni3/golr-schema-generator | a3a20e53b35471f02889caecefe0309af45f9361 | [
"BSD-3-Clause"
] | 5 | 2020-02-18T01:49:23.000Z | 2020-02-19T00:11:31.000Z | tests/test_golr_schema_generator.py | deepakunni3/golr-schema-generator | a3a20e53b35471f02889caecefe0309af45f9361 | [
"BSD-3-Clause"
] | null | null | null | import os
from golr_schema_generator.golr_schema_generator import GolrSchemaGenerator
cwd = os.path.abspath(os.path.dirname(__file__))
resource_dir = os.path.join(cwd, 'resources')
target_dir = os.path.join(cwd, 'target')
def test_simple_config():
config = os.path.join(resource_dir, 'simple-config.yaml')
sch... | 34.058824 | 75 | 0.707542 | 234 | 1,737 | 5.081197 | 0.205128 | 0.050463 | 0.067283 | 0.045416 | 0.821699 | 0.794786 | 0.794786 | 0.711522 | 0.711522 | 0.608074 | 0 | 0.014573 | 0.170409 | 1,737 | 51 | 76 | 34.058824 | 0.810548 | 0 | 0 | 0.545455 | 0 | 0 | 0.075374 | 0.03855 | 0 | 0 | 0 | 0 | 0.204545 | 1 | 0.068182 | false | 0 | 0.045455 | 0 | 0.113636 | 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 |
74cb23cce49055be03c6b02d882f4f5680eb22ac | 18,855 | py | Python | pcdet/ops/torch_hash/torch_hash_utils.py | xiangruhuang/OpenPCDet | d82d9594a0629ffed0c457aedc304e0805e93221 | [
"Apache-2.0"
] | null | null | null | pcdet/ops/torch_hash/torch_hash_utils.py | xiangruhuang/OpenPCDet | d82d9594a0629ffed0c457aedc304e0805e93221 | [
"Apache-2.0"
] | null | null | null | pcdet/ops/torch_hash/torch_hash_utils.py | xiangruhuang/OpenPCDet | d82d9594a0629ffed0c457aedc304e0805e93221 | [
"Apache-2.0"
] | null | null | null | import torch
from .torch_hash_cuda import (
hash_insert_gpu,
correspondence,
voxel_graph_gpu,
points_in_radius_gpu
)
class HashTable:
def __init__(self, size=2 ** 20, dtype=torch.float32, device='cuda:0'):
self.size = size
self.keys = torch.zeros(size, dtype=torch.long) - 1
... | 35.508475 | 80 | 0.558207 | 2,422 | 18,855 | 4.151941 | 0.070603 | 0.057975 | 0.022673 | 0.025358 | 0.83751 | 0.82687 | 0.794252 | 0.779037 | 0.748111 | 0.719869 | 0 | 0.024686 | 0.321082 | 18,855 | 530 | 81 | 35.575472 | 0.760878 | 0.12209 | 0 | 0.684971 | 0 | 0 | 0.017466 | 0 | 0 | 0 | 0 | 0 | 0.014451 | 1 | 0.037572 | false | 0 | 0.026012 | 0 | 0.095376 | 0.011561 | 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 |
741ce84d5d00f669062b5e6883dedc08a865f681 | 10,069 | py | Python | casanovo/denovo/train_test.py | Noble-Lab/casanovo | a7cefa2f0fb5f7ba1c20943d81d4869e98079db4 | [
"Apache-2.0"
] | 11 | 2022-02-09T21:40:07.000Z | 2022-03-29T16:45:55.000Z | casanovo/denovo/train_test.py | Noble-Lab/casanovo | a7cefa2f0fb5f7ba1c20943d81d4869e98079db4 | [
"Apache-2.0"
] | 14 | 2022-02-11T15:59:02.000Z | 2022-03-24T15:54:12.000Z | casanovo/denovo/train_test.py | Noble-Lab/casanovo | a7cefa2f0fb5f7ba1c20943d81d4869e98079db4 | [
"Apache-2.0"
] | null | null | null | """Training and testing functionality for the de novo peptide sequencing model"""
import logging, importlib, os
from pathlib import Path
import pytorch_lightning as pl
from depthcharge.data import AnnotatedSpectrumIndex, SpectrumIndex
from casanovo.denovo import DeNovoDataModule, Spec2Pep
def train(train_data_path, va... | 37.996226 | 134 | 0.694011 | 1,280 | 10,069 | 5.152344 | 0.125781 | 0.038817 | 0.029113 | 0.020622 | 0.778165 | 0.760879 | 0.752237 | 0.718271 | 0.710993 | 0.710993 | 0 | 0.000774 | 0.230112 | 10,069 | 265 | 135 | 37.996226 | 0.849974 | 0.088191 | 0 | 0.714286 | 0 | 0 | 0.059171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014286 | false | 0 | 0.066667 | 0 | 0.080952 | 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 |
7440864b52076ca17ae2090937e9ad6b35771117 | 13,001 | py | Python | tests/stubs/models/domain/ml_model.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2021-05-04T08:46:19.000Z | 2021-05-04T08:46:19.000Z | tests/stubs/models/domain/ml_model.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | null | null | null | tests/stubs/models/domain/ml_model.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2022-01-28T21:21:32.000Z | 2022-01-28T21:21:32.000Z | from app.ml.objects.classification.factory import get_classifier
from app.ml.objects.column_transfomer import PandasColumnTransformer
from sklearn.pipeline import Pipeline
from tests.stubs.models.domain.feature_extraction_data import get_labels_of_data_windows_4_2, get_labels_of_data_windows_5_1
from app.models.domain.... | 56.038793 | 434 | 0.691485 | 1,292 | 13,001 | 6.55418 | 0.092105 | 0.029523 | 0.053141 | 0.070855 | 0.852149 | 0.786845 | 0.764289 | 0.757204 | 0.73453 | 0.73453 | 0 | 0.019491 | 0.214676 | 13,001 | 231 | 435 | 56.281385 | 0.809892 | 0 | 0 | 0.656863 | 0 | 0 | 0.130836 | 0.033228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063725 | false | 0 | 0.083333 | 0.058824 | 0.210784 | 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 |
7485326fa193c45183eea432242fe661913999a3 | 205 | py | Python | datasets/__init__.py | mgwillia/unsupervised-analysis | 66b5c7af391199394ace3a1ff396d46ac5bd7ce5 | [
"MIT"
] | null | null | null | datasets/__init__.py | mgwillia/unsupervised-analysis | 66b5c7af391199394ace3a1ff396d46ac5bd7ce5 | [
"MIT"
] | null | null | null | datasets/__init__.py | mgwillia/unsupervised-analysis | 66b5c7af391199394ace3a1ff396d46ac5bd7ce5 | [
"MIT"
] | null | null | null | from .cub import *
from .cars import *
from .dogs import *
from .flowers import *
from .imagenet import *
from .imagenet_features import *
from .neighbors_dataset import *
from .transforms_dataset import * | 25.625 | 33 | 0.770732 | 27 | 205 | 5.740741 | 0.407407 | 0.451613 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15122 | 205 | 8 | 33 | 25.625 | 0.890805 | 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 |
77b283ae45c45d0e649fcbf4c32ab43ddbaddded | 8,485 | py | Python | Chess/ChessAI.py | katrinaalaimo/chess | 87cd6f5b442dc40c42aa758d0b22715570dbadee | [
"MIT"
] | null | null | null | Chess/ChessAI.py | katrinaalaimo/chess | 87cd6f5b442dc40c42aa758d0b22715570dbadee | [
"MIT"
] | null | null | null | Chess/ChessAI.py | katrinaalaimo/chess | 87cd6f5b442dc40c42aa758d0b22715570dbadee | [
"MIT"
] | null | null | null | import random
# Depth of the algorithm determining AI moves. Higher set_depth == harder AI. Lower if engine is too slow.
set_depth = 4
# Positive values are good for white, negative for black. i.e. black checkmate = -1000
checkmate_points = 1000
stalemate_points = 0
piece_scores = {'K': 200.0, 'Q': 9.0, 'R': 5.0, 'B... | 43.512821 | 112 | 0.438774 | 2,004 | 8,485 | 1.81487 | 0.073852 | 0.269453 | 0.317569 | 0.350839 | 0.564476 | 0.564476 | 0.51691 | 0.492989 | 0.469068 | 0.467143 | 0 | 0.257815 | 0.283677 | 8,485 | 194 | 113 | 43.737113 | 0.340573 | 0.12033 | 0 | 0.53125 | 0 | 0 | 0.004324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.00625 | 0.00625 | 0.08125 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77c43d8fb929cd620a1cef91922a8e5de2063402 | 98 | py | Python | __init__.py | aleozlx/imeta.py | 3312743626c461bc74f4aac2b05b5a9cd91231a0 | [
"MIT"
] | null | null | null | __init__.py | aleozlx/imeta.py | 3312743626c461bc74f4aac2b05b5a9cd91231a0 | [
"MIT"
] | null | null | null | __init__.py | aleozlx/imeta.py | 3312743626c461bc74f4aac2b05b5a9cd91231a0 | [
"MIT"
] | null | null | null | __all__ = ['metadata', 'add_xval']
from .metadata import metadata
from .metadata import add_xval
| 19.6 | 34 | 0.765306 | 13 | 98 | 5.307692 | 0.461538 | 0.202899 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 4 | 35 | 24.5 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77ed904cca99b53a6e2c926e65a62f91529afe18 | 46,639 | py | Python | test/test_checks_build.py | zultron/catkin_lint | 7076a3626f5673e58c519346fa52cc78e759d100 | [
"BSD-3-Clause"
] | null | null | null | test/test_checks_build.py | zultron/catkin_lint | 7076a3626f5673e58c519346fa52cc78e759d100 | [
"BSD-3-Clause"
] | null | null | null | test/test_checks_build.py | zultron/catkin_lint | 7076a3626f5673e58c519346fa52cc78e759d100 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import catkin_lint.checks.build as cc
from .helper import create_env, create_manifest, create_manifest2, mock_lint, patch, mock_open, posix_and_nt
import sys
sys.stderr = sys.stdout
import os
import stat
class ChecksBuildTest(unittest.TestCase):
@posix_and_nt
@patch("os.path.isdir", lambda ... | 39.225399 | 182 | 0.593302 | 4,741 | 46,639 | 5.568867 | 0.045771 | 0.058746 | 0.06045 | 0.073404 | 0.914969 | 0.889667 | 0.868874 | 0.838724 | 0.811113 | 0.793387 | 0 | 0.001135 | 0.300735 | 46,639 | 1,188 | 183 | 39.258418 | 0.80842 | 0.011621 | 0 | 0.604436 | 0 | 0.003697 | 0.190614 | 0.071032 | 0 | 0 | 0 | 0 | 0.210721 | 1 | 0.025878 | false | 0 | 0.014787 | 0 | 0.044362 | 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 |
bb00615fab7e2ea685642247e1e7b3def85f0e6e | 130 | py | Python | backend/database/Models.py | TheMrPhantom/beachify | cb5111ff459b26efed3327a595391e034c7af970 | [
"MIT"
] | 1 | 2022-03-28T12:16:03.000Z | 2022-03-28T12:16:03.000Z | backend/database/Models.py | TheMrPhantom/beachify | cb5111ff459b26efed3327a595391e034c7af970 | [
"MIT"
] | null | null | null | backend/database/Models.py | TheMrPhantom/beachify | cb5111ff459b26efed3327a595391e034c7af970 | [
"MIT"
] | null | null | null | from database.Song import Song
from database.Queue import Queue
from database.Setting import Setting
from database.Ban import Ban
| 26 | 36 | 0.846154 | 20 | 130 | 5.5 | 0.35 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 130 | 4 | 37 | 32.5 | 0.964912 | 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 |
bb180dec97c910262aaff2e282d01c6c7885e363 | 38,630 | py | Python | src/datadog_api_client/v1/api/service_level_objectives_api.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/api/service_level_objectives_api.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/api/service_level_objectives_api.py | MichaelTROEHLER/datadog-api-client-python | 12c46626622fb1277bb1e172753b342c671348bd | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
import re # noqa: F401
import sys # noqa: F401
from datadog_api_cl... | 37.037392 | 414 | 0.465674 | 3,436 | 38,630 | 4.996508 | 0.082945 | 0.030405 | 0.024231 | 0.025163 | 0.8298 | 0.813199 | 0.792346 | 0.77959 | 0.774231 | 0.754077 | 0 | 0.005031 | 0.454543 | 38,630 | 1,042 | 415 | 37.072937 | 0.809739 | 0.350194 | 0 | 0.665242 | 0 | 0 | 0.199279 | 0.028345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012821 | false | 0 | 0.019943 | 0 | 0.045584 | 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 |
bb19551565ab40313349c6e10b5552ec21cfa885 | 97 | py | Python | benchmark_constructor/structure_collectors/StructureCollector.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/structure_collectors/StructureCollector.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/structure_collectors/StructureCollector.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | class StructureCollector:
'''Base class for structure collectors'''
def __init__():
pass
| 19.4 | 43 | 0.71134 | 10 | 97 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 4 | 44 | 24.25 | 0.822785 | 0.360825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bb1f2c3fa4d024482aa40b514b6310388b6ac29b | 35 | py | Python | uniflex_module_rs_signal_gen/__init__.py | uniflex/module_rs_signal_gen | acf32afb030097e31b054945cc237ec648e36201 | [
"MIT"
] | null | null | null | uniflex_module_rs_signal_gen/__init__.py | uniflex/module_rs_signal_gen | acf32afb030097e31b054945cc237ec648e36201 | [
"MIT"
] | null | null | null | uniflex_module_rs_signal_gen/__init__.py | uniflex/module_rs_signal_gen | acf32afb030097e31b054945cc237ec648e36201 | [
"MIT"
] | null | null | null | from .module_rs_signal_gen import * | 35 | 35 | 0.857143 | 6 | 35 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.84375 | 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 |
bb5454ed2229c7a5c3a0e3c97e6001017a88a26a | 13,019 | py | Python | tester/data_handler.py | pchero/asterisk-outbound | 62c48abe83a7868c2af2519517081022a85cf503 | [
"BSD-2-Clause"
] | 12 | 2015-11-26T10:54:47.000Z | 2021-05-26T08:35:49.000Z | tester/data_handler.py | surereddy/asterisk-outbound | 62c48abe83a7868c2af2519517081022a85cf503 | [
"BSD-2-Clause"
] | 70 | 2015-11-23T09:31:51.000Z | 2017-01-20T20:47:58.000Z | tester/data_handler.py | surereddy/asterisk-outbound | 62c48abe83a7868c2af2519517081022a85cf503 | [
"BSD-2-Clause"
] | 5 | 2017-09-10T12:25:48.000Z | 2020-06-07T16:06:25.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Jan 4 23:48:26 2017
@author: pchero
"""
import sqlite3 as db
import ast
class DataHandler(object):
# database
con = None # connection
cur = None # cursor
view_handler = None
def __init__(self):
self.con = db.connect("... | 25.986028 | 132 | 0.518396 | 1,483 | 13,019 | 4.461227 | 0.068105 | 0.05396 | 0.078295 | 0.069377 | 0.869559 | 0.831923 | 0.821191 | 0.777358 | 0.745466 | 0.737455 | 0 | 0.002677 | 0.368769 | 13,019 | 500 | 133 | 26.038 | 0.802385 | 0.039404 | 0 | 0.646465 | 0 | 0.003367 | 0.220261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117845 | false | 0.003367 | 0.006734 | 0 | 0.353535 | 0.124579 | 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 |
24a19cde931daa285ab131eeaa32f6bf97a33847 | 26 | py | Python | goamazondownloader/vlfsensor/__init__.py | AdrianoPereira/goamazondownloader | 05671ee59c0a5a4c20edd5e4825d5ebf589d1327 | [
"MIT"
] | 1 | 2021-05-07T16:04:29.000Z | 2021-05-07T16:04:29.000Z | goamazondownloader/vlfsensor/__init__.py | AdrianoPereira/goamazondownloader | 05671ee59c0a5a4c20edd5e4825d5ebf589d1327 | [
"MIT"
] | 1 | 2020-08-14T16:34:32.000Z | 2020-08-14T16:34:32.000Z | goamazondownloader/vlfsensor/__init__.py | AdrianoPereira/goamazondownloader | 05671ee59c0a5a4c20edd5e4825d5ebf589d1327 | [
"MIT"
] | null | null | null | from ._vlfsensor import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 |
24a94a7a548c32c8fdc99718a8950eeaf010b346 | 160 | py | Python | server/tests/test_database_manager_server.py | GabrielWechta/cans | 2a24edb47d06ce095f3a2f68e4323dc4931a48af | [
"MIT"
] | null | null | null | server/tests/test_database_manager_server.py | GabrielWechta/cans | 2a24edb47d06ce095f3a2f68e4323dc4931a48af | [
"MIT"
] | null | null | null | server/tests/test_database_manager_server.py | GabrielWechta/cans | 2a24edb47d06ce095f3a2f68e4323dc4931a48af | [
"MIT"
] | null | null | null | """DatabaseManager tests."""
from server.database_manager_server import DatabaseManager
def test_dummy():
"""A dummy test."""
assert DatabaseManager
| 17.777778 | 58 | 0.7375 | 17 | 160 | 6.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 160 | 8 | 59 | 20 | 0.845588 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7045c190840ec5cac18666d1d38cf8d7e6b25010 | 28 | py | Python | pys60/contextphone.py | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | pys60/contextphone.py | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | pys60/contextphone.py | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | from _contextphone import *
| 14 | 27 | 0.821429 | 3 | 28 | 7.333333 | 1 | 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 |
568cb330cce713a090b07ec407b2c57a129ac24d | 151 | py | Python | duo/admin.py | JocelynHeckenkamp/Django-Duoboard | 0e8e7f8f32ab771cd4a4a668cc6853c20020b2f6 | [
"MIT"
] | null | null | null | duo/admin.py | JocelynHeckenkamp/Django-Duoboard | 0e8e7f8f32ab771cd4a4a668cc6853c20020b2f6 | [
"MIT"
] | 3 | 2020-02-11T23:37:50.000Z | 2021-06-10T19:08:41.000Z | duo/admin.py | JocelynHeckenkamp/Django-Duoboard | 0e8e7f8f32ab771cd4a4a668cc6853c20020b2f6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Username
from .forms import Submit
admin.site.register(Username)
admin.site.register(User)
| 21.571429 | 34 | 0.81457 | 22 | 151 | 5.590909 | 0.545455 | 0.146341 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 151 | 6 | 35 | 25.166667 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b21a515ef93675a016296b6138f2ad91e7fd0cf | 58 | py | Python | src/bund/__init__.py | vulogov/the-bund | 3e631148d5eda69e32aa91b42d49f5ebc2610b43 | [
"Apache-2.0"
] | null | null | null | src/bund/__init__.py | vulogov/the-bund | 3e631148d5eda69e32aa91b42d49f5ebc2610b43 | [
"Apache-2.0"
] | null | null | null | src/bund/__init__.py | vulogov/the-bund | 3e631148d5eda69e32aa91b42d49f5ebc2610b43 | [
"Apache-2.0"
] | null | null | null | from bund.grammar import *
from bund.Parser import Parser
| 19.333333 | 30 | 0.810345 | 9 | 58 | 5.222222 | 0.555556 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.94 | 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 |
3b3568ab425b32c62d4f13899708d9f80f3a4d9c | 44 | py | Python | core/views.py | U-S-S-EnterScience/LetsRoll | 54a1131400e272ff753bb93b94bbd55f23c094a6 | [
"MIT"
] | 1 | 2021-06-03T18:01:01.000Z | 2021-06-03T18:01:01.000Z | core/views.py | U-S-S-EnterScience/LetsRoll | 54a1131400e272ff753bb93b94bbd55f23c094a6 | [
"MIT"
] | null | null | null | core/views.py | U-S-S-EnterScience/LetsRoll | 54a1131400e272ff753bb93b94bbd55f23c094a6 | [
"MIT"
] | 1 | 2021-06-03T18:01:08.000Z | 2021-06-03T18:01:08.000Z | from django import render
# your class here | 14.666667 | 25 | 0.795455 | 7 | 44 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 26 | 14.666667 | 0.972222 | 0.340909 | 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 |
8e57858c2500926c452cf84153e7a4359468abba | 42 | py | Python | py_file_carving/libary/plugins/pictures/__init__.py | wahlflo/pyFileCarving | 7bbbbedccb551273fd4b22614c86f51bc876bd78 | [
"MIT"
] | null | null | null | py_file_carving/libary/plugins/pictures/__init__.py | wahlflo/pyFileCarving | 7bbbbedccb551273fd4b22614c86f51bc876bd78 | [
"MIT"
] | null | null | null | py_file_carving/libary/plugins/pictures/__init__.py | wahlflo/pyFileCarving | 7bbbbedccb551273fd4b22614c86f51bc876bd78 | [
"MIT"
] | null | null | null | from .jpg import JPG
from .png import PNG
| 14 | 20 | 0.761905 | 8 | 42 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e76d4d6ea5d1c171bff78df2415d81f183aea43 | 154 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection3K/NestedPackageNamedAsSourceRoot/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnresolvedReferencesInspection3K/NestedPackageNamedAsSourceRoot/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnresolvedReferencesInspection3K/NestedPackageNamedAsSourceRoot/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2022-01-02T19:58:08.000Z | 2022-01-02T19:58:08.000Z | from lib1 import m1
from lib1.m1 import x
from lib1.m1 import <error descr="Unresolved reference 'something'">something</error>
print(m1, x, something)
| 22 | 85 | 0.766234 | 24 | 154 | 4.916667 | 0.458333 | 0.20339 | 0.169492 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 0.12987 | 154 | 6 | 86 | 25.666667 | 0.828358 | 0 | 0 | 0 | 0 | 0 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.75 | null | null | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8ea9d950c1dc7cdd9a54a55660582ea317b400f6 | 12,789 | py | Python | tests/test_chapter5.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 107 | 2021-03-26T20:18:51.000Z | 2022-03-26T03:38:08.000Z | tests/test_chapter5.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 4 | 2021-06-09T08:48:21.000Z | 2021-12-27T09:04:43.000Z | tests/test_chapter5.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 58 | 2021-03-12T20:51:19.000Z | 2022-03-27T15:49:49.000Z | from typing import Optional
import httpx
import pytest
from fastapi import status
from chapter5.chapter5_what_is_dependency_injection_01 import (
app as chapter5_what_is_dependency_injection_01_app,
)
from chapter5.chapter5_function_dependency_01 import (
app as chapter5_function_dependency_01_app,
)
from cha... | 38.176119 | 84 | 0.700211 | 1,597 | 12,789 | 5.379461 | 0.065122 | 0.035386 | 0.053079 | 0.106158 | 0.933069 | 0.911535 | 0.832732 | 0.787568 | 0.769759 | 0.732744 | 0 | 0.035738 | 0.183908 | 12,789 | 334 | 85 | 38.290419 | 0.787391 | 0 | 0 | 0.589431 | 0 | 0 | 0.066072 | 0 | 0 | 0 | 0 | 0 | 0.227642 | 1 | 0 | false | 0 | 0.056911 | 0 | 0.097561 | 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 |
8ec7a0a4a34ca91a3566acbb612d7d098ab180dd | 125 | py | Python | badwing/level/__init__.py | kfields/badwing | 5f53c98cbb6fca8390e1632fa559f5201861365b | [
"MIT"
] | 3 | 2020-03-23T06:43:25.000Z | 2022-02-18T16:35:56.000Z | badwing/level/__init__.py | kfields/badwing | 5f53c98cbb6fca8390e1632fa559f5201861365b | [
"MIT"
] | 2 | 2020-03-26T02:05:36.000Z | 2021-08-02T19:13:06.000Z | badwing/level/__init__.py | kfields/badwing | 5f53c98cbb6fca8390e1632fa559f5201861365b | [
"MIT"
] | null | null | null | from badwing.level.level import Level
from badwing.level.tile import TileLevel
from badwing.level.sticker import StickerLevel | 41.666667 | 46 | 0.864 | 18 | 125 | 6 | 0.444444 | 0.305556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 125 | 3 | 46 | 41.666667 | 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 | 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 |
8ec9fec9e8d043db8cbdb3f547b18040c6aac280 | 25 | py | Python | test/json/aes/__init__.py | vincent-musedev/libacvp | b11247d9d0b2fbd88954358272a43d35c059be7b | [
"BSD-2-Clause",
"Apache-2.0"
] | 45 | 2016-08-01T11:47:34.000Z | 2022-02-22T21:27:27.000Z | test/json/aes/__init__.py | vincent-musedev/libacvp | b11247d9d0b2fbd88954358272a43d35c059be7b | [
"BSD-2-Clause",
"Apache-2.0"
] | 221 | 2016-08-04T17:10:36.000Z | 2022-01-21T19:53:36.000Z | test/json/aes/__init__.py | vincent-musedev/libacvp | b11247d9d0b2fbd88954358272a43d35c059be7b | [
"BSD-2-Clause",
"Apache-2.0"
] | 94 | 2016-10-23T11:08:19.000Z | 2022-01-21T11:50:16.000Z | from .aes import main_aes | 25 | 25 | 0.84 | 5 | 25 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9152b95484598ace42e21728bc149715f072346 | 195 | py | Python | __init__.py | rvencu/crawlingathome | 003a6e76d9f7aa5a5d17f5ae780857bd7f86e6f0 | [
"MIT"
] | null | null | null | __init__.py | rvencu/crawlingathome | 003a6e76d9f7aa5a5d17f5ae780857bd7f86e6f0 | [
"MIT"
] | null | null | null | __init__.py | rvencu/crawlingathome | 003a6e76d9f7aa5a5d17f5ae780857bd7f86e6f0 | [
"MIT"
] | null | null | null | from .version import PrintVersion as _printversion
_printversion()
from .core import init
from .recycler import dump, load
from .version import VERSION as __version__
from .errors import * | 27.857143 | 51 | 0.789744 | 25 | 195 | 5.92 | 0.44 | 0.148649 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164103 | 195 | 7 | 52 | 27.857143 | 0.907975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9175089aa9a7a43bb82211ed4ae946856d81ef3 | 8,754 | py | Python | pyfrechet/distance.py | compgeomTU/frechetForCurves | 625bfe32a45d23b194226b4ac7713ded09bd2825 | [
"MIT"
] | null | null | null | pyfrechet/distance.py | compgeomTU/frechetForCurves | 625bfe32a45d23b194226b4ac7713ded09bd2825 | [
"MIT"
] | null | null | null | pyfrechet/distance.py | compgeomTU/frechetForCurves | 625bfe32a45d23b194226b4ac7713ded09bd2825 | [
"MIT"
] | null | null | null | ## @package pyfrechet
#
# Module for working with Frechet distances.
from ._strong_distance import lib as _sd
from ._weak_distance import lib as _wd
import os
## Super class of StrongDistance and WeakDistance.
#
# Class should not be used as a standalone object. Used in seperate modules
# to check if StrongDistan... | 36.936709 | 87 | 0.654329 | 1,092 | 8,754 | 5.039377 | 0.156593 | 0.028348 | 0.062693 | 0.09195 | 0.760676 | 0.72724 | 0.702526 | 0.691259 | 0.663638 | 0.651645 | 0 | 0.012311 | 0.266964 | 8,754 | 236 | 88 | 37.09322 | 0.845255 | 0.477724 | 0 | 0.372549 | 0 | 0 | 0.103604 | 0.013964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.245098 | false | 0 | 0.029412 | 0.137255 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d93a073e8ca65a862c7e8292904e84226e6cca0f | 28 | py | Python | examples/project5/one/foo/foo.py | jeanslack/winpackit | 44bfebcf2191fbc32acfa4a61e7c53d8a8fbae4d | [
"MIT"
] | 2 | 2021-09-19T21:34:13.000Z | 2021-11-25T07:27:29.000Z | examples/project5/one/foo/foo.py | jeanslack/winpackit | 44bfebcf2191fbc32acfa4a61e7c53d8a8fbae4d | [
"MIT"
] | 1 | 2021-09-19T23:20:02.000Z | 2021-09-22T17:35:08.000Z | examples/project5/one/foo/foo.py | jeanslack/winpackit | 44bfebcf2191fbc32acfa4a61e7c53d8a8fbae4d | [
"MIT"
] | 1 | 2021-09-21T22:01:45.000Z | 2021-09-21T22:01:45.000Z | print('this is foo/foo.py')
| 14 | 27 | 0.678571 | 6 | 28 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d98fb772da7f3e7be98ff5a284e96ee6b910ad56 | 8,030 | py | Python | MARKBOT/MarkBot-v2/cogs/Shrug.py | z404/Project-Mark | 87f4a13cc99dc7d1ceeaacaab8bcaa310355250b | [
"MIT"
] | 6 | 2021-05-17T06:04:37.000Z | 2021-08-11T06:35:15.000Z | MARKBOT/MarkBot-v2/cogs/Shrug.py | z404/Project-Mark | 87f4a13cc99dc7d1ceeaacaab8bcaa310355250b | [
"MIT"
] | 10 | 2021-08-30T07:37:48.000Z | 2021-12-14T12:17:53.000Z | MARKBOT/MarkBot-v2/cogs/Shrug.py | z404/Project-Mark | 87f4a13cc99dc7d1ceeaacaab8bcaa310355250b | [
"MIT"
] | 1 | 2021-08-28T14:45:08.000Z | 2021-08-28T14:45:08.000Z | # For Discord
import discord
from discord.ext import commands
# from discord_slash import cog_ext, SlashContext
from tabulate import tabulate
# Function to write into database
def write_db(db: dict) -> None:
with open("database", 'w+') as file:
file.write(str(db))
# Function to get database
def get_db()... | 44.120879 | 147 | 0.560149 | 1,015 | 8,030 | 4.3133 | 0.15665 | 0.05482 | 0.049338 | 0.043856 | 0.79534 | 0.77958 | 0.758337 | 0.758337 | 0.758337 | 0.758337 | 0 | 0.004356 | 0.313823 | 8,030 | 181 | 148 | 44.364641 | 0.788748 | 0.433998 | 0 | 0.261905 | 0 | 0.02381 | 0.134727 | 0 | 0 | 0 | 0.001858 | 0.005525 | 0 | 1 | 0.083333 | false | 0.059524 | 0.035714 | 0 | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
79a86ed7f7916c2ba77617f0f70a1d3c994fc28c | 3,271 | py | Python | django_outlook/views.py | weijia/django-outlook | 3f6b22e3ec34890c9b84699a22b2e39b8cadc723 | [
"MIT"
] | null | null | null | django_outlook/views.py | weijia/django-outlook | 3f6b22e3ec34890c9b84699a22b2e39b8cadc723 | [
"MIT"
] | 2 | 2018-12-26T19:10:02.000Z | 2021-11-15T17:47:55.000Z | django_outlook/views.py | weijia/django-outlook | 3f6b22e3ec34890c9b84699a22b2e39b8cadc723 | [
"MIT"
] | null | null | null | from django.views.generic import TemplateView, RedirectView
from django_outlook.o365_utils.adv_connection import OutlookConnection
from django_outlook.o365_utils.login_token_storage import LoginTokenStorage
from django_outlook.o365_utils.token_storage import TokenStorage
from djangoautoconf.django_utils import retrieve... | 41.405063 | 92 | 0.694895 | 394 | 3,271 | 5.416244 | 0.200508 | 0.039363 | 0.046392 | 0.056232 | 0.802718 | 0.752577 | 0.752577 | 0.727273 | 0.727273 | 0.727273 | 0 | 0.026569 | 0.206053 | 3,271 | 78 | 93 | 41.935897 | 0.795148 | 0.165699 | 0 | 0.690909 | 0 | 0 | 0.186672 | 0.130339 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072727 | false | 0 | 0.109091 | 0 | 0.4 | 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 |
79acf3ebfeff08d3ff7c9ee0d9af46eb34116b22 | 3,268 | py | Python | quedadas/tests/tests_friends.py | fevsea/meet-Run-Server | 48454a4665f55da019334271641c514df231f177 | [
"MIT"
] | null | null | null | quedadas/tests/tests_friends.py | fevsea/meet-Run-Server | 48454a4665f55da019334271641c514df231f177 | [
"MIT"
] | null | null | null | quedadas/tests/tests_friends.py | fevsea/meet-Run-Server | 48454a4665f55da019334271641c514df231f177 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.urls import reverse
from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import APITestCase
from populateDB import create_basic_user
from populateDB import create_basic_user_2
class FriendsTests(APITestCas... | 37.563218 | 114 | 0.626683 | 379 | 3,268 | 5.30343 | 0.224274 | 0.059701 | 0.089552 | 0.098507 | 0.80199 | 0.801493 | 0.751741 | 0.743284 | 0.734826 | 0.734826 | 0 | 0.015631 | 0.25612 | 3,268 | 86 | 115 | 38 | 0.811189 | 0.116891 | 0 | 0.638889 | 0 | 0 | 0.068522 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.041667 | false | 0.013889 | 0.097222 | 0 | 0.152778 | 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 |
8db34073615412750b94da91eb39e81a1bbf48eb | 4,281 | py | Python | preprocess/bilingual/download_data.py | jtbates/paraphrastic-representations-at-scale | 3df4a61e52640bb358467721d1de50d71b26889b | [
"BSD-3-Clause"
] | 68 | 2021-05-06T03:08:04.000Z | 2022-03-28T16:25:42.000Z | preprocess/bilingual/download_data.py | jtbates/paraphrastic-representations-at-scale | 3df4a61e52640bb358467721d1de50d71b26889b | [
"BSD-3-Clause"
] | 7 | 2021-06-03T06:04:48.000Z | 2021-10-05T22:51:35.000Z | preprocess/bilingual/download_data.py | jtbates/paraphrastic-representations-at-scale | 3df4a61e52640bb358467721d1de50d71b26889b | [
"BSD-3-Clause"
] | 6 | 2021-06-03T05:20:45.000Z | 2021-07-30T08:43:46.000Z | import os
import urllib.request
import sys
def check_site_exist(url):
request = urllib.request.Request(url)
request.get_method = lambda: 'HEAD'
try:
urllib.request.urlopen(request)
return True
except urllib.request.HTTPError:
return False
def download_for_lang(lang):
first ... | 40.771429 | 131 | 0.622985 | 713 | 4,281 | 3.701262 | 0.110799 | 0.086396 | 0.118227 | 0.157635 | 0.843122 | 0.843122 | 0.840091 | 0.814324 | 0.759757 | 0.759757 | 0 | 0.027833 | 0.177529 | 4,281 | 105 | 132 | 40.771429 | 0.72167 | 0.005139 | 0 | 0.166667 | 0 | 0.111111 | 0.330377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.194444 | 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 |
5c15452796682cb065309a22f593b42278724405 | 3,075 | py | Python | client_wishlist/wishlist/views.py | EVolpert/client_whishlist | b2da64a53e978bc77bc4fb9a8c9b9dc4af66c5b1 | [
"CC0-1.0"
] | null | null | null | client_wishlist/wishlist/views.py | EVolpert/client_whishlist | b2da64a53e978bc77bc4fb9a8c9b9dc4af66c5b1 | [
"CC0-1.0"
] | 5 | 2021-03-30T14:20:02.000Z | 2021-09-22T19:29:15.000Z | client_wishlist/wishlist/views.py | EVolpert/client_whishlist | b2da64a53e978bc77bc4fb9a8c9b9dc4af66c5b1 | [
"CC0-1.0"
] | 1 | 2020-08-18T16:35:12.000Z | 2020-08-18T16:35:12.000Z | from django.shortcuts import get_object_or_404
from rest_framework import status
from rest_framework.views import APIView
from rest_framework.response import Response
from customers.auth import authenticate
from wishlist.models import Wishlist
from wishlist.serializers import WishlistSerializer
from wishlist.wishlist_... | 39.935065 | 81 | 0.66374 | 317 | 3,075 | 6.18612 | 0.179811 | 0.09179 | 0.097909 | 0.128506 | 0.759816 | 0.743498 | 0.710862 | 0.710862 | 0.710862 | 0.710862 | 0 | 0.02008 | 0.27122 | 3,075 | 76 | 82 | 40.460526 | 0.854975 | 0 | 0 | 0.712121 | 0 | 0 | 0.023422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.121212 | 0 | 0.272727 | 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 |
30c4bcb9b8b8cf76dd11cf1c07eb8c766fd069e8 | 42 | py | Python | bert4ms/models/__init__.py | lvyufeng/bert4ms | c62a41f0c1a8c94b1d51313211ad1fd2d3ededef | [
"Apache-2.0"
] | 25 | 2021-08-17T04:55:49.000Z | 2022-02-25T09:29:58.000Z | bert4ms/models/__init__.py | lvyufeng/bert4ms | c62a41f0c1a8c94b1d51313211ad1fd2d3ededef | [
"Apache-2.0"
] | 1 | 2022-02-19T14:15:00.000Z | 2022-02-25T07:14:27.000Z | bert4ms/models/__init__.py | lvyufeng/bert4ms | c62a41f0c1a8c94b1d51313211ad1fd2d3ededef | [
"Apache-2.0"
] | 1 | 2022-01-21T09:21:27.000Z | 2022-01-21T09:21:27.000Z | from .bert import *
# from .ernie import * | 21 | 22 | 0.690476 | 6 | 42 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.852941 | 0.47619 | 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 |
30e04dd33bdadc0d59aca461bd3e9ac422e919c9 | 86 | py | Python | app/core/events/__init__.py | zmops/zeus-modbus | 3de989f2233e994876cf2a98ac46d9213e53ff3c | [
"Apache-2.0"
] | 3 | 2022-01-26T04:27:49.000Z | 2022-03-04T14:02:41.000Z | app/core/events/__init__.py | zmops/zeus-modbus | 3de989f2233e994876cf2a98ac46d9213e53ff3c | [
"Apache-2.0"
] | null | null | null | app/core/events/__init__.py | zmops/zeus-modbus | 3de989f2233e994876cf2a98ac46d9213e53ff3c | [
"Apache-2.0"
] | null | null | null | from .start import create_start_app_handler
from .stop import create_stop_app_handler
| 28.666667 | 43 | 0.883721 | 14 | 86 | 5 | 0.5 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30ec4accf077b6e2f3a08f9897392a1dce282032 | 100 | py | Python | src/models.py | gwynhowell/gae-remoteapi-service-accounts | 524c67fd94d104ba16ead76e5938815722befb85 | [
"MIT"
] | 1 | 2016-09-01T13:54:50.000Z | 2016-09-01T13:54:50.000Z | src/models.py | gwynhowell/gae-remoteapi-service-accounts | 524c67fd94d104ba16ead76e5938815722befb85 | [
"MIT"
] | null | null | null | src/models.py | gwynhowell/gae-remoteapi-service-accounts | 524c67fd94d104ba16ead76e5938815722befb85 | [
"MIT"
] | null | null | null | # add model definitions here
from google.appengine.ext import ndb
class User(ndb.Model):
pass | 14.285714 | 36 | 0.75 | 15 | 100 | 5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 100 | 7 | 37 | 14.285714 | 0.914634 | 0.26 | 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 |
ebd44ac26d47efc95150fc7d4c164441d5039051 | 39 | py | Python | convlab2/policy/ppo/__init__.py | ljw23/ConvLab-2 | 13d48ea0e441701bd66100689b6c25b561f15525 | [
"Apache-2.0"
] | 339 | 2020-03-04T09:43:22.000Z | 2022-03-26T17:27:38.000Z | convlab2/policy/ppo/__init__.py | ljw23/ConvLab-2 | 13d48ea0e441701bd66100689b6c25b561f15525 | [
"Apache-2.0"
] | 122 | 2020-04-12T04:19:06.000Z | 2022-03-23T14:20:57.000Z | convlab2/policy/ppo/__init__.py | ljw23/ConvLab-2 | 13d48ea0e441701bd66100689b6c25b561f15525 | [
"Apache-2.0"
] | 138 | 2020-02-18T16:48:04.000Z | 2022-03-26T17:27:43.000Z | from convlab2.policy.ppo.ppo import PPO | 39 | 39 | 0.846154 | 7 | 39 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.076923 | 39 | 1 | 39 | 39 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebd469d19fee31df25b608351786ecda63fba4bd | 22,089 | py | Python | scripts/python/AttributeMenu.py | zengchen2015/Houdini_HPro | 105d05454c84fbb42dc888350642bb79b1aa75b3 | [
"MIT"
] | 16 | 2021-05-08T21:31:51.000Z | 2022-03-17T19:36:26.000Z | scripts/python/AttributeMenu.py | zengchen2015/Houdini_HPro | 105d05454c84fbb42dc888350642bb79b1aa75b3 | [
"MIT"
] | null | null | null | scripts/python/AttributeMenu.py | zengchen2015/Houdini_HPro | 105d05454c84fbb42dc888350642bb79b1aa75b3 | [
"MIT"
] | 1 | 2022-01-24T21:50:06.000Z | 2022-01-24T21:50:06.000Z | import hou
def point(node_relative_path):
node = hou.pwd()
input_node = node.node(node_relative_path)
geo = input_node.geometry()
final_list = []
if geo:
point_attrs_tuple = geo.pointAttribs()
for point_attr in point_attrs_tuple:
point_attr_name = point_attr.... | 30.936975 | 120 | 0.617819 | 2,728 | 22,089 | 4.615103 | 0.027859 | 0.091501 | 0.081334 | 0.084512 | 0.959492 | 0.926132 | 0.888801 | 0.879428 | 0.83884 | 0.752423 | 0 | 0.00369 | 0.288424 | 22,089 | 714 | 121 | 30.936975 | 0.797302 | 0 | 0 | 0.678095 | 0 | 0 | 0.003697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060952 | false | 0 | 0.001905 | 0 | 0.12381 | 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 |
6929b1c7ba452c297e03a6959f9adef85d483fd2 | 126 | py | Python | idc/base/views.py | noracami/curly-guacamole | 41eae7264020587175318c19d1d7e102e9128865 | [
"MIT"
] | null | null | null | idc/base/views.py | noracami/curly-guacamole | 41eae7264020587175318c19d1d7e102e9128865 | [
"MIT"
] | null | null | null | idc/base/views.py | noracami/curly-guacamole | 41eae7264020587175318c19d1d7e102e9128865 | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
# Create your views here.
def home(request):
return redirect('shift_list')
| 21 | 45 | 0.761905 | 17 | 126 | 5.588235 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 126 | 5 | 46 | 25.2 | 0.88785 | 0.18254 | 0 | 0 | 0 | 0 | 0.09901 | 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 |
c6046ea87e4556f840bd337bf7696e5692976e22 | 31,969 | py | Python | Levels.py | clleger/cirkits | 4753eb389ca8f6f7e6bfacf22f0b643533cb8c65 | [
"MIT"
] | null | null | null | Levels.py | clleger/cirkits | 4753eb389ca8f6f7e6bfacf22f0b643533cb8c65 | [
"MIT"
] | null | null | null | Levels.py | clleger/cirkits | 4753eb389ca8f6f7e6bfacf22f0b643533cb8c65 | [
"MIT"
] | null | null | null | from kivy.uix.button import Button
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.scatterlayout import ScatterLayout
import boolean
from widgets import BooleanOutput, ToggleInput, Wire, BGate, UGate, NumberDisplay
from kivy.graphics import Line, Color
def create_binary_level(operation, input1_default=Fals... | 41.303618 | 111 | 0.609591 | 4,940 | 31,969 | 3.797368 | 0.044737 | 0.035823 | 0.051175 | 0.020523 | 0.866038 | 0.824244 | 0.806386 | 0.793273 | 0.778506 | 0.731222 | 0 | 0.153549 | 0.230974 | 31,969 | 773 | 112 | 41.35705 | 0.609477 | 0.078607 | 0 | 0.581395 | 0 | 0 | 0.029739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017889 | false | 0 | 0.010733 | 0 | 0.030411 | 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 |
c62f11012f90af9cba82eef6369bce4d3893b0bf | 35 | py | Python | src/tools_helper/__init__.py | bjoern-hempel/pytorch-classification | 8a4bd6aef488360b88234b008d1d7308469bc5d8 | [
"MIT"
] | null | null | null | src/tools_helper/__init__.py | bjoern-hempel/pytorch-classification | 8a4bd6aef488360b88234b008d1d7308469bc5d8 | [
"MIT"
] | null | null | null | src/tools_helper/__init__.py | bjoern-hempel/pytorch-classification | 8a4bd6aef488360b88234b008d1d7308469bc5d8 | [
"MIT"
] | null | null | null | # __init__.py
from .tools import *
| 11.666667 | 20 | 0.714286 | 5 | 35 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 21 | 17.5 | 0.724138 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6626d3fe713c5741916f0e3743b20f2d5a636b2 | 96 | py | Python | bsmedit/__init__.py | tianzhuqiao/bsmedit | 3e443ed6db7b44b3b0da0e4bc024b65dcfe8e7a4 | [
"MIT"
] | 9 | 2019-07-15T10:05:29.000Z | 2022-03-14T12:55:19.000Z | bsmedit/__init__.py | tianzhuqiao/bsmedit | 3e443ed6db7b44b3b0da0e4bc024b65dcfe8e7a4 | [
"MIT"
] | 2 | 2019-11-30T23:27:47.000Z | 2021-11-02T12:01:05.000Z | bsmedit/__init__.py | tianzhuqiao/bsmedit | 3e443ed6db7b44b3b0da0e4bc024b65dcfe8e7a4 | [
"MIT"
] | null | null | null | from .version import __version__
def to_byte(xpm):
return [x.encode('utf-8') for x in xpm]
| 19.2 | 43 | 0.697917 | 17 | 96 | 3.647059 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.177083 | 96 | 4 | 44 | 24 | 0.772152 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 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 |
d66a2a1ff35c3491098a5dd195c4432f6baf0b4b | 44 | py | Python | sine/module_name/core.py | SineObama/setup.py | 291286cdf43575be0370bb569f4444765d07c410 | [
"MIT"
] | null | null | null | sine/module_name/core.py | SineObama/setup.py | 291286cdf43575be0370bb569f4444765d07c410 | [
"MIT"
] | null | null | null | sine/module_name/core.py | SineObama/setup.py | 291286cdf43575be0370bb569f4444765d07c410 | [
"MIT"
] | null | null | null | # encoding: UTF-8
# Insert your code here.
| 14.666667 | 25 | 0.681818 | 7 | 44 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.204545 | 44 | 2 | 26 | 22 | 0.828571 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6858d0f71004fbc8bd8453f114c861e881f199e | 29 | py | Python | pysts/utils/__init__.py | sdswart/pysts | f140072e064b59a7d8732e73d71fd812b6d292c5 | [
"MIT"
] | null | null | null | pysts/utils/__init__.py | sdswart/pysts | f140072e064b59a7d8732e73d71fd812b6d292c5 | [
"MIT"
] | null | null | null | pysts/utils/__init__.py | sdswart/pysts | f140072e064b59a7d8732e73d71fd812b6d292c5 | [
"MIT"
] | null | null | null | from . import utils, modules
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 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 |
d6a75f0796aa345d2dfacf38fd1f21244a273f1f | 159 | py | Python | general/thesislogger/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 14 | 2020-06-28T15:38:48.000Z | 2021-12-05T01:49:50.000Z | general/thesislogger/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | null | null | null | general/thesislogger/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 3 | 2020-06-28T15:38:49.000Z | 2022-02-13T22:04:34.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from general.thesislogger.ThesisLogger import *
| 22.714286 | 47 | 0.867925 | 19 | 159 | 6.526316 | 0.473684 | 0.241935 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 159 | 6 | 48 | 26.5 | 0.879433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d6abf7b50e26e6c325086674e343e6af6d0f4508 | 26,155 | py | Python | skmob/models/tests/test_sts_epr.py | vlingenfelter/scikit-mobility | d9a7bbcac30efbf5bd834c2e5e3a3264c3d9dbc1 | [
"BSD-3-Clause"
] | 489 | 2019-05-05T07:47:35.000Z | 2022-03-31T10:36:00.000Z | skmob/models/tests/test_sts_epr.py | vlingenfelter/scikit-mobility | d9a7bbcac30efbf5bd834c2e5e3a3264c3d9dbc1 | [
"BSD-3-Clause"
] | 204 | 2019-05-02T22:51:05.000Z | 2022-03-19T17:14:29.000Z | skmob/models/tests/test_sts_epr.py | vlingenfelter/scikit-mobility | d9a7bbcac30efbf5bd834c2e5e3a3264c3d9dbc1 | [
"BSD-3-Clause"
] | 119 | 2019-05-28T19:51:29.000Z | 2022-03-23T03:43:00.000Z | from ...utils import constants
import pandas as pd
import geopandas as gpd
import numpy as np
import shapely
import pytest
from contextlib import ExitStack
from sklearn.metrics import mean_absolute_error
from ...preprocessing import detection, clustering
from ...models.sts_epr import STS_epr
from ...core.trajectorydata... | 40.425039 | 118 | 0.689849 | 3,647 | 26,155 | 4.727173 | 0.073759 | 0.081787 | 0.163225 | 0.022274 | 0.850406 | 0.840255 | 0.833585 | 0.829872 | 0.8279 | 0.817343 | 0 | 0.051995 | 0.174957 | 26,155 | 647 | 119 | 40.425039 | 0.74693 | 0.107819 | 0 | 0.690176 | 0 | 0 | 0.104722 | 0 | 0 | 0 | 0 | 0 | 0.017632 | 1 | 0.047859 | false | 0 | 0.030227 | 0.002519 | 0.103275 | 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 |
ba3e62ce473d45a922fa62721e10121231cb803b | 158 | py | Python | neurokit2/hrv/__init__.py | vansjyo/NeuroKit | 238cd3d89467f7922c68a3a4c1f44806a8466922 | [
"MIT"
] | null | null | null | neurokit2/hrv/__init__.py | vansjyo/NeuroKit | 238cd3d89467f7922c68a3a4c1f44806a8466922 | [
"MIT"
] | null | null | null | neurokit2/hrv/__init__.py | vansjyo/NeuroKit | 238cd3d89467f7922c68a3a4c1f44806a8466922 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .hrv_time import hrv_time
from .hrv_frequency import hrv_frequency
from .hrv_nonlinear import hrv_nonlinear
from .hrv import hrv
| 26.333333 | 40 | 0.78481 | 25 | 158 | 4.72 | 0.36 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.132911 | 158 | 5 | 41 | 31.6 | 0.854015 | 0.132911 | 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 |
ba42773a265533baef05e230b6026e6f6168b819 | 69 | py | Python | Python/tests/base_test.py | kouassives/kyops | 2f4aa2d9eed6b608f28e70c0bb53a15bfc4c5d36 | [
"MIT"
] | null | null | null | Python/tests/base_test.py | kouassives/kyops | 2f4aa2d9eed6b608f28e70c0bb53a15bfc4c5d36 | [
"MIT"
] | null | null | null | Python/tests/base_test.py | kouassives/kyops | 2f4aa2d9eed6b608f28e70c0bb53a15bfc4c5d36 | [
"MIT"
] | null | null | null | from unittest import TestCase
class BaseTestCase(TestCase):
pass | 17.25 | 29 | 0.797101 | 8 | 69 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 4 | 30 | 17.25 | 0.948276 | 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 |
ba81260e4f0c7626d913ad99355ba161c6533011 | 139 | py | Python | python/metadata_guardian/__init__.py | fvaleye/metadata-guardian | ab5d6cada67785c3cfd98112f68e8fdb193d1617 | [
"Apache-2.0"
] | 9 | 2021-12-31T20:32:35.000Z | 2022-02-18T17:51:49.000Z | python/metadata_guardian/__init__.py | fvaleye/metadata-guardian | ab5d6cada67785c3cfd98112f68e8fdb193d1617 | [
"Apache-2.0"
] | 1 | 2022-02-25T16:35:04.000Z | 2022-02-28T21:08:53.000Z | python/metadata_guardian/__init__.py | fvaleye/metadata-guardian | ab5d6cada67785c3cfd98112f68e8fdb193d1617 | [
"Apache-2.0"
] | null | null | null | from .conf import *
from .data_rules import *
from .exceptions import *
from .report import *
from .scanner import *
from .source import *
| 19.857143 | 25 | 0.741007 | 19 | 139 | 5.368421 | 0.473684 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172662 | 139 | 6 | 26 | 23.166667 | 0.886957 | 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 |
baa9f2ce92342e59633d649eb8e7ca5905ff9476 | 40 | py | Python | shamanai/env/flappybirds/gym_foo/envs/__init__.py | adaptationio/Shaman-RL | 548fa847e6ba2105cc0a876b02db3f3d7c179c54 | [
"MIT"
] | 2 | 2020-06-13T04:38:08.000Z | 2022-03-22T08:38:10.000Z | shamanai/env/flappybirds/gym_foo/envs/__init__.py | adaptationio/Shaman-RL | 548fa847e6ba2105cc0a876b02db3f3d7c179c54 | [
"MIT"
] | 1 | 2020-11-13T17:46:38.000Z | 2020-11-13T17:46:38.000Z | shamanai/env/flappybirds/gym_foo/envs/__init__.py | adaptationio/Shaman-AI | 548fa847e6ba2105cc0a876b02db3f3d7c179c54 | [
"MIT"
] | null | null | null | from gym_foo.envs.foo_env import FooEnv
| 20 | 39 | 0.85 | 8 | 40 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bab74d81fc9e760485e3790f65eef6d1880ea858 | 45 | py | Python | src/samplemanager/__init__.py | cowanml/samplemanager | c802559d84b8470255edbe593996db58d86ec914 | [
"BSD-3-Clause"
] | null | null | null | src/samplemanager/__init__.py | cowanml/samplemanager | c802559d84b8470255edbe593996db58d86ec914 | [
"BSD-3-Clause"
] | 2 | 2015-02-25T20:58:52.000Z | 2015-02-25T20:59:31.000Z | src/samplemanager/__init__.py | cowanml/samplemanager | c802559d84b8470255edbe593996db58d86ec914 | [
"BSD-3-Clause"
] | null | null | null | from . import conf, commands, odm_templates
| 15 | 43 | 0.777778 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 44 | 22.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
baf8a84f5e9b331aff9ed4a18b51721cc4ea6bbb | 1,244 | py | Python | natural_selection/genetic_programs/operators/initialisation.py | Zipfian-Science/natural-selection | 5bf04142a73f39a83e86ad0eb53ba0fecb365864 | [
"Apache-2.0"
] | null | null | null | natural_selection/genetic_programs/operators/initialisation.py | Zipfian-Science/natural-selection | 5bf04142a73f39a83e86ad0eb53ba0fecb365864 | [
"Apache-2.0"
] | 1 | 2021-02-26T10:10:43.000Z | 2021-02-26T10:10:43.000Z | natural_selection/genetic_programs/operators/initialisation.py | Zipfian-Science/natural-selection | 5bf04142a73f39a83e86ad0eb53ba0fecb365864 | [
"Apache-2.0"
] | null | null | null | def initialise_population_full_method(adam, n : int, island=None):
"""
Classic random initialisation function to create a pool of `n` programs from a starting GeneticProgram `adam`.
This method grows a population of programs each with node trees that extend to `max_depth` for the whole tree.
Args:
... | 42.896552 | 114 | 0.709807 | 161 | 1,244 | 5.397516 | 0.385093 | 0.018412 | 0.052934 | 0.032221 | 0.773303 | 0.773303 | 0.773303 | 0.773303 | 0.773303 | 0.773303 | 0 | 0 | 0.217846 | 1,244 | 29 | 115 | 42.896552 | 0.893114 | 0.727492 | 0 | 0.5 | 0 | 0 | 0.158103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79f4b146b493e6b7e1f72c416af99ffb0936a737 | 396 | py | Python | scripts/treasury.py | PyramiDAO/market-sim | 2b0461466da6e246de22d60a5c15addfe47d80f9 | [
"MIT"
] | null | null | null | scripts/treasury.py | PyramiDAO/market-sim | 2b0461466da6e246de22d60a5c15addfe47d80f9 | [
"MIT"
] | null | null | null | scripts/treasury.py | PyramiDAO/market-sim | 2b0461466da6e246de22d60a5c15addfe47d80f9 | [
"MIT"
] | 1 | 2022-02-05T06:33:19.000Z | 2022-02-05T06:33:19.000Z |
import multiprocessing as mp
class Treasury:
def __init__(self, balance):
# TODO add Vault/Strategy class
self.balance = balance
# initialize a multipleprocessing Queue to hold the simulated results across different processors
self.simulation_result_queue = mp.Queue()
def ge... | 30.461538 | 105 | 0.727273 | 47 | 396 | 5.893617 | 0.638298 | 0.173285 | 0.227437 | 0.180505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224747 | 396 | 13 | 106 | 30.461538 | 0.90228 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
030cbc7e7934eca006238f64cb1c8e9ae02db67c | 33 | py | Python | src/core/__init__.py | SuperstonkQuants/q1_correlations | 2836ddd79be2b289f77607aade9345cfa18e743c | [
"MIT"
] | 4 | 2021-06-07T16:54:52.000Z | 2021-06-13T17:57:17.000Z | src/core/__init__.py | HomeDepotHanksApeGang/q1_correlations | 2836ddd79be2b289f77607aade9345cfa18e743c | [
"MIT"
] | 1 | 2021-06-07T17:34:05.000Z | 2021-06-07T17:34:05.000Z | src/core/__init__.py | HomeDepotHanksApeGang/q1_correlations | 2836ddd79be2b289f77607aade9345cfa18e743c | [
"MIT"
] | 1 | 2021-06-07T17:22:30.000Z | 2021-06-07T17:22:30.000Z | from src.core.Stock import Stock
| 16.5 | 32 | 0.818182 | 6 | 33 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0361e64da601101156b11bd2918a48fa3d02f5af | 234 | py | Python | data/NullHubLogger.py | penguix0/lego-hub-tk | 7a8a26baf0b17400b89eccc5a6374f8d9daed32a | [
"MIT"
] | 16 | 2021-02-17T01:59:39.000Z | 2022-03-29T05:10:12.000Z | data/NullHubLogger.py | penguix0/lego-hub-tk | 7a8a26baf0b17400b89eccc5a6374f8d9daed32a | [
"MIT"
] | 15 | 2021-04-20T04:01:36.000Z | 2022-02-01T02:46:30.000Z | data/NullHubLogger.py | penguix0/lego-hub-tk | 7a8a26baf0b17400b89eccc5a6374f8d9daed32a | [
"MIT"
] | 9 | 2021-04-18T20:29:21.000Z | 2022-03-31T11:50:04.000Z | from data.HubLogger import HubLogger
class NullHubLogger(HubLogger):
def program_runstatus_update(self, timestamp, program_id, is_running):
pass
def telemetry_update(self, timestamp, message, hubstatus):
pass | 29.25 | 74 | 0.747863 | 27 | 234 | 6.296296 | 0.703704 | 0.117647 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183761 | 234 | 8 | 75 | 29.25 | 0.890052 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
03766ddc2e3c4d3a65134c5ebdf15ab08672ef6a | 186 | py | Python | yatsim_dashboard/admin.py | ucanyiit/YATSIM | c6c758e3e28086ee1902ed33c0972a29c247f9d1 | [
"MIT"
] | null | null | null | yatsim_dashboard/admin.py | ucanyiit/YATSIM | c6c758e3e28086ee1902ed33c0972a29c247f9d1 | [
"MIT"
] | 2 | 2022-03-05T09:59:41.000Z | 2022-03-05T09:59:50.000Z | yatsim_dashboard/admin.py | ucanyiit/YATSIM | c6c758e3e28086ee1902ed33c0972a29c247f9d1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Cell, Room, Train, Wagon
admin.site.register(Room)
admin.site.register(Cell)
admin.site.register(Train)
admin.site.register(Wagon)
| 20.666667 | 44 | 0.795699 | 28 | 186 | 5.285714 | 0.428571 | 0.243243 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091398 | 186 | 8 | 45 | 23.25 | 0.87574 | 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 |
ceea8fb4a4eb1e42532a2ce3819aa83904066b0a | 99 | py | Python | backend/shrunk/util/__init__.py | kevinmonisit/shrunk | 55106356735c3491f8c8c0774f5ae500ba1c970a | [
"MIT"
] | 13 | 2015-05-08T00:26:23.000Z | 2021-07-28T15:42:10.000Z | backend/shrunk/util/__init__.py | kevinmonisit/shrunk | 55106356735c3491f8c8c0774f5ae500ba1c970a | [
"MIT"
] | 68 | 2015-01-12T20:27:44.000Z | 2021-05-17T19:08:05.000Z | backend/shrunk/util/__init__.py | kevinmonisit/shrunk | 55106356735c3491f8c8c0774f5ae500ba1c970a | [
"MIT"
] | 7 | 2015-08-05T20:31:20.000Z | 2022-01-28T21:14:06.000Z | from . import decorators, ldap, stats, string
__all__ = ['decorators', 'ldap', 'stats', 'string']
| 24.75 | 51 | 0.676768 | 11 | 99 | 5.727273 | 0.636364 | 0.444444 | 0.603175 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 3 | 52 | 33 | 0.741176 | 0 | 0 | 0 | 0 | 0 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cef8a4ead89b759503b7c126f2d76ec139d65524 | 38 | py | Python | ccbonfire/backbone/__init__.py | zcuncun/Bonfire | 47640f16dac840b68c0dd91573e89b772b126344 | [
"MIT"
] | 1 | 2022-02-06T14:10:14.000Z | 2022-02-06T14:10:14.000Z | ccbonfire/backbone/__init__.py | zcuncun/Bonfire | 47640f16dac840b68c0dd91573e89b772b126344 | [
"MIT"
] | null | null | null | ccbonfire/backbone/__init__.py | zcuncun/Bonfire | 47640f16dac840b68c0dd91573e89b772b126344 | [
"MIT"
] | null | null | null | from .toy_backbone import ToyBackbone
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
300b7c36b210b9f6fa539aeb3c9b465bb61b1de7 | 169 | py | Python | apex/contrib/bottleneck/__init__.py | gilshm/apex | 3d61e4a8145a10ed3a86391dd85e3f65b226517b | [
"BSD-3-Clause"
] | null | null | null | apex/contrib/bottleneck/__init__.py | gilshm/apex | 3d61e4a8145a10ed3a86391dd85e3f65b226517b | [
"BSD-3-Clause"
] | null | null | null | apex/contrib/bottleneck/__init__.py | gilshm/apex | 3d61e4a8145a10ed3a86391dd85e3f65b226517b | [
"BSD-3-Clause"
] | 1 | 2021-12-20T00:49:01.000Z | 2021-12-20T00:49:01.000Z | from .bottleneck import Bottleneck, SpatialBottleneck
from .halo_exchangers import HaloExchangerNoComm, HaloExchangerAllGather, HaloExchangerSendRecv, HaloExchangerPeer
| 56.333333 | 114 | 0.893491 | 13 | 169 | 11.538462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071006 | 169 | 2 | 115 | 84.5 | 0.955414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
307a5e66f9f20e0f5137fe4d08ef93721c864927 | 467 | py | Python | dbtlint/exceptions.py | boxysean/dbtlint | a626c2895e6063655144ebf23eb99ef2b7b5442b | [
"Apache-2.0"
] | 1 | 2021-08-12T08:36:59.000Z | 2021-08-12T08:36:59.000Z | dbtlint/exceptions.py | boxysean/dbtlint | a626c2895e6063655144ebf23eb99ef2b7b5442b | [
"Apache-2.0"
] | null | null | null | dbtlint/exceptions.py | boxysean/dbtlint | a626c2895e6063655144ebf23eb99ef2b7b5442b | [
"Apache-2.0"
] | null | null | null | class RuntimeException(Exception):
pass
class JinjaTemplateError(RuntimeException):
def __init__(self, message):
self.message = message
def __str__(self):
return f"JinjaTemplateError: {self.message}"
class SqlLintError(RuntimeException):
def __init__(self, message, temp_file_path):
... | 23.35 | 52 | 0.698073 | 50 | 467 | 6.08 | 0.32 | 0.217105 | 0.118421 | 0.177632 | 0.335526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211991 | 467 | 19 | 53 | 24.578947 | 0.826087 | 0 | 0 | 0.307692 | 0 | 0 | 0.132762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.076923 | 0 | 0.153846 | 0.692308 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
062530ca7dc59491f534942e67d0d33f285df15b | 5,289 | py | Python | tests/test_signal_analog_cli.py | agilefall/signal_analog | 4ab4f9f0bff4a1067b1981219c194142d09a43c6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_signal_analog_cli.py | agilefall/signal_analog | 4ab4f9f0bff4a1067b1981219c194142d09a43c6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_signal_analog_cli.py | agilefall/signal_analog | 4ab4f9f0bff4a1067b1981219c194142d09a43c6 | [
"BSD-3-Clause"
] | null | null | null | import betamax
import click
import requests
from betamax_serializers import pretty_json
from click.testing import CliRunner
from signal_analog.charts import TimeSeriesChart
from signal_analog.cli import CliBuilder
from signal_analog.dashboards import Dashboard
from signal_analog.flow import Data
# Global config. This... | 37.246479 | 92 | 0.645112 | 555 | 5,289 | 5.922523 | 0.167568 | 0.034074 | 0.021296 | 0.05324 | 0.804381 | 0.804381 | 0.789169 | 0.789169 | 0.783389 | 0.775783 | 0 | 0.000988 | 0.234638 | 5,289 | 141 | 93 | 37.510638 | 0.811018 | 0.025525 | 0 | 0.683168 | 0 | 0 | 0.135896 | 0.027567 | 0 | 0 | 0 | 0 | 0.069307 | 1 | 0.069307 | false | 0 | 0.089109 | 0 | 0.158416 | 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 |
ebf8fba1d5dbae2aa24201a253f9e66c14177955 | 29 | py | Python | package_template/tests/__init__.py | KIT-HYD/package-template | 32fb649acb1583023969fa4cba1a3a88d7397fd1 | [
"MIT"
] | null | null | null | package_template/tests/__init__.py | KIT-HYD/package-template | 32fb649acb1583023969fa4cba1a3a88d7397fd1 | [
"MIT"
] | null | null | null | package_template/tests/__init__.py | KIT-HYD/package-template | 32fb649acb1583023969fa4cba1a3a88d7397fd1 | [
"MIT"
] | null | null | null | from .core import TestMyModel | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 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 |
235a94839c8c845804cd5d0b16d7e8012e6e2f67 | 146 | py | Python | eckerd-django-google-sso/models.py | ChristopherDavenport/eckerd-django-google-sso | 7a5e3f143376d5cc2df440dd485bf01b5ab76cd2 | [
"MIT"
] | null | null | null | eckerd-django-google-sso/models.py | ChristopherDavenport/eckerd-django-google-sso | 7a5e3f143376d5cc2df440dd485bf01b5ab76cd2 | [
"MIT"
] | null | null | null | eckerd-django-google-sso/models.py | ChristopherDavenport/eckerd-django-google-sso | 7a5e3f143376d5cc2df440dd485bf01b5ab76cd2 | [
"MIT"
] | null | null | null | """Models for the eckerd-django-google-sso app."""
from django.contrib.auth.models import AbstractUser
class CustomUser(AbstractUser):
pass
| 20.857143 | 51 | 0.767123 | 19 | 146 | 5.894737 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 146 | 6 | 52 | 24.333333 | 0.875 | 0.30137 | 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 |
0001d8f99ea3b5e880778b341a8160b3aaa474e3 | 47 | py | Python | cogs/utils/__init__.py | dashr9230/Discord-Bot | 86b0c50154df5e5e31dea8a7cd3edaa70970bd05 | [
"Apache-2.0"
] | 1 | 2020-09-13T16:50:51.000Z | 2020-09-13T16:50:51.000Z | cogs/utils/__init__.py | dashr9230/discord-bot | 86b0c50154df5e5e31dea8a7cd3edaa70970bd05 | [
"Apache-2.0"
] | null | null | null | cogs/utils/__init__.py | dashr9230/discord-bot | 86b0c50154df5e5e31dea8a7cd3edaa70970bd05 | [
"Apache-2.0"
] | null | null | null | from .helpers import *
from .tictactoe 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 | 24 | 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 |
cc6b482690afde75ae861b570f2cd3b761493a36 | 26 | py | Python | utils/__init__.py | AleCandido/opale | dcd0a3c3af6c0b59b9be3b3712a3c33c14c2c3cc | [
"BSD-3-Clause"
] | null | null | null | utils/__init__.py | AleCandido/opale | dcd0a3c3af6c0b59b9be3b3712a3c33c14c2c3cc | [
"BSD-3-Clause"
] | 2 | 2020-11-25T09:13:28.000Z | 2021-02-10T08:00:07.000Z | utils/__init__.py | AleCandido/opale | dcd0a3c3af6c0b59b9be3b3712a3c33c14c2c3cc | [
"BSD-3-Clause"
] | null | null | null | from . import build_theme
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc955adfac82b4afeb1091669962fa335f784c2e | 262 | py | Python | calchas_datamodel/abstractLiteralExpression.py | s-i-newton/calchas-datamodel | eda5e2de37849d6d4766cd680bc75fec8e923f85 | [
"Apache-2.0"
] | null | null | null | calchas_datamodel/abstractLiteralExpression.py | s-i-newton/calchas-datamodel | eda5e2de37849d6d4766cd680bc75fec8e923f85 | [
"Apache-2.0"
] | 2 | 2017-06-01T14:14:09.000Z | 2017-06-20T10:01:13.000Z | calchas_datamodel/abstractLiteralExpression.py | s-i-newton/calchas | 13472f837605eff26010a28af9981ba8750e9af9 | [
"Apache-2.0"
] | null | null | null | from .abstractExpression import AbstractExpression
from abc import ABCMeta
class AbstractLiteralExpression(AbstractExpression, metaclass=ABCMeta):
"""
AbstractLiteralExpression ::= IntegerLiteralExpression
| FloatLiteralExpression
"""
pass
| 23.818182 | 71 | 0.782443 | 17 | 262 | 12.058824 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156489 | 262 | 10 | 72 | 26.2 | 0.927602 | 0.301527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ccc5c4dbabe022cbc545ae116af65ab002e920d3 | 35 | py | Python | grpc_wrappers/wrappers/__init__.py | matthewwardrop/python-grpc-wrappers | 988f6a7ff379c29e0fd471d3664617270fa99f70 | [
"MIT"
] | null | null | null | grpc_wrappers/wrappers/__init__.py | matthewwardrop/python-grpc-wrappers | 988f6a7ff379c29e0fd471d3664617270fa99f70 | [
"MIT"
] | null | null | null | grpc_wrappers/wrappers/__init__.py | matthewwardrop/python-grpc-wrappers | 988f6a7ff379c29e0fd471d3664617270fa99f70 | [
"MIT"
] | null | null | null | from . import google # noqa: F401
| 17.5 | 34 | 0.685714 | 5 | 35 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.228571 | 35 | 1 | 35 | 35 | 0.777778 | 0.285714 | 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 |
ccd3d49ffae1439c8ac1b013cc1f6fcad25df4c7 | 21 | py | Python | opal_common/confi/__init__.py | MatanyaStroh/opal | 6b0c61d0bd5d08fc5291827ff6af8587d6dbc775 | [
"Apache-2.0"
] | 367 | 2021-04-11T11:58:35.000Z | 2022-02-24T15:33:54.000Z | opal_common/confi/__init__.py | asafcsimpleorg/opal | 262a296e5a2d06e9d1b15fcf3cc9adf68e12fd91 | [
"Apache-2.0"
] | 63 | 2021-04-14T07:00:44.000Z | 2021-12-07T12:05:38.000Z | opal_common/confi/__init__.py | asafcsimpleorg/opal | 262a296e5a2d06e9d1b15fcf3cc9adf68e12fd91 | [
"Apache-2.0"
] | 32 | 2021-04-11T12:53:53.000Z | 2021-12-04T19:57:42.000Z | from .confi import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9de2490fb68cdc4c4ea62557e5435fed3f59aa2b | 96 | py | Python | nlp/command/__init__.py | aira/.public_object_detector_app | 30185b79749ec121c1b395571f22e395427cff4e | [
"MIT"
] | null | null | null | nlp/command/__init__.py | aira/.public_object_detector_app | 30185b79749ec121c1b395571f22e395427cff4e | [
"MIT"
] | null | null | null | nlp/command/__init__.py | aira/.public_object_detector_app | 30185b79749ec121c1b395571f22e395427cff4e | [
"MIT"
] | null | null | null | from nlp.command.color import DescribeObjectColor
from nlp.command.describe import DescribeScene | 48 | 49 | 0.885417 | 12 | 96 | 7.083333 | 0.666667 | 0.164706 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 96 | 2 | 50 | 48 | 0.955056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b03bb796dfaf3e2746a09cc640ddd363debb6d8 | 28,612 | py | Python | koku/sources/test/api/test_source_status.py | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 157 | 2018-04-30T16:27:53.000Z | 2022-03-31T08:17:21.000Z | koku/sources/test/api/test_source_status.py | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 3,250 | 2018-04-26T14:14:25.000Z | 2022-03-31T23:49:15.000Z | koku/sources/test/api/test_source_status.py | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 65 | 2018-05-10T14:11:50.000Z | 2022-03-18T19:22:58.000Z | #
# Copyright 2021 Red Hat Inc.
# SPDX-License-Identifier: Apache-2.0
#
"""Test the Sources Status HTTP Client."""
from unittest.mock import create_autospec
from unittest.mock import patch
from uuid import uuid4
from django.test.utils import override_settings
from django.urls import reverse
from faker import Faker
fro... | 46.751634 | 115 | 0.598036 | 2,988 | 28,612 | 5.46988 | 0.083668 | 0.049927 | 0.02478 | 0.041361 | 0.848324 | 0.826358 | 0.808921 | 0.800355 | 0.787261 | 0.780409 | 0 | 0.006915 | 0.297463 | 28,612 | 611 | 116 | 46.828151 | 0.806179 | 0.088005 | 0 | 0.680556 | 0 | 0 | 0.216669 | 0.057964 | 0 | 0 | 0 | 0.001637 | 0.063492 | 1 | 0.043651 | false | 0 | 0.035714 | 0 | 0.081349 | 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 |
d19b9b72bb363998411bcd6194e5fd25d9500afb | 34 | py | Python | unittests/__init__.py | landcast/flaskseed | 15b73fef7345e8c05c4b6efe26c889f9818fabe3 | [
"Apache-2.0"
] | null | null | null | unittests/__init__.py | landcast/flaskseed | 15b73fef7345e8c05c4b6efe26c889f9818fabe3 | [
"Apache-2.0"
] | 1 | 2018-10-21T14:28:46.000Z | 2018-10-21T14:28:46.000Z | unittests/__init__.py | landcast/flaskseed | 15b73fef7345e8c05c4b6efe26c889f9818fabe3 | [
"Apache-2.0"
] | null | null | null | from unittests.test_base import *
| 17 | 33 | 0.823529 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
0603897d3dd335a75934e4a8fc8d488124e9f8c1 | 9,978 | py | Python | testcases/generated/domainservice_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 95 | 2018-06-05T10:49:32.000Z | 2019-12-31T11:07:36.000Z | testcases/generated/domainservice_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 22 | 2018-06-05T10:58:59.000Z | 2020-07-31T12:13:19.000Z | testcases/generated/domainservice_test.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 21 | 2018-06-04T12:50:27.000Z | 2020-11-05T10:55:28.000Z | # coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 35.892086 | 149 | 0.602826 | 1,219 | 9,978 | 4.866284 | 0.109106 | 0.025287 | 0.061362 | 0.080243 | 0.859575 | 0.854855 | 0.837829 | 0.780175 | 0.701113 | 0.612778 | 0 | 0.002942 | 0.250451 | 9,978 | 277 | 150 | 36.021661 | 0.790213 | 0.06354 | 0 | 0.7 | 0 | 0.12 | 0.29391 | 0.033133 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0.14 | false | 0 | 0.015 | 0 | 0.16 | 0.14 | 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 |
0615f54ddddbf1a3c6f917ef5f1b3350d9d516e7 | 1,386 | py | Python | acmicpc/12761/12761.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 3 | 2019-03-09T05:19:23.000Z | 2019-04-06T09:26:36.000Z | acmicpc/12761/12761.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2020-02-23T10:38:04.000Z | 2020-02-23T10:38:04.000Z | acmicpc/12761/12761.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2019-05-22T13:47:53.000Z | 2019-05-22T13:47:53.000Z | import sys
max_num = 100001
visited = [False] * max_num
queue = []
A, B, N, M = map(int, sys.stdin.readline().split())
queue.append((N, 0))
visited[N] = True
while len(queue) != 0:
current = queue[0][0]
count = queue[0][1]
del queue[0]
if current == M:
print(count)
if current + 1 < max_... | 33 | 58 | 0.600289 | 212 | 1,386 | 3.877358 | 0.141509 | 0.272506 | 0.087591 | 0.116788 | 0.790754 | 0.790754 | 0.790754 | 0.790754 | 0.790754 | 0.790754 | 0 | 0.032882 | 0.253968 | 1,386 | 41 | 59 | 33.804878 | 0.762089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0.027027 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
ae1cbf126fc5d17039855bcf980e4e5db9093d73 | 198 | py | Python | 8_kyu/For_Twins_2_Math_operations.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/For_Twins_2_Math_operations.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/For_Twins_2_Math_operations.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | def ice_brick_volume(radius: int, bottle_length: int, rim_length: int) -> int:
if radius < 0 or bottle_length < rim_length:
return 0
return 2*radius*radius*(bottle_length-rim_length) | 49.5 | 78 | 0.722222 | 31 | 198 | 4.354839 | 0.451613 | 0.266667 | 0.222222 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.181818 | 198 | 4 | 79 | 49.5 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ae1fa5033a828c9bd11d308f75a5e70aabee29ba | 16,400 | py | Python | benchml/models/mod_bench_xtal.py | rudolfspetrovs/benchml | 896673f387a6bb9b185664ddd54f569a1ba54e51 | [
"Apache-2.0"
] | 3 | 2021-08-12T13:25:31.000Z | 2022-03-21T21:30:22.000Z | benchml/models/mod_bench_xtal.py | rudolfspetrovs/benchml | 896673f387a6bb9b185664ddd54f569a1ba54e51 | [
"Apache-2.0"
] | 5 | 2020-12-08T08:59:41.000Z | 2022-01-22T06:46:09.000Z | benchml/models/mod_bench_xtal.py | rudolfspetrovs/benchml | 896673f387a6bb9b185664ddd54f569a1ba54e51 | [
"Apache-2.0"
] | 1 | 2021-06-25T11:07:32.000Z | 2021-06-25T11:07:32.000Z | import numpy as np
import benchml.transforms as btf
from benchml.hyper import GridHyper, Hyper
from benchml.models.common import (
get_acsf_krr_kwargs,
get_acsf_rr_kwargs,
get_compile_gylm,
get_mbtr_krr_kwargs,
get_mbtr_rr_kwargs,
get_pdf_gylm_krr_kwargs,
get_pdf_gylm_rr_kwargs,
get_pdf... | 39.805825 | 100 | 0.444207 | 1,375 | 16,400 | 5.069091 | 0.111273 | 0.055093 | 0.02066 | 0.029268 | 0.823242 | 0.788092 | 0.768867 | 0.730273 | 0.7066 | 0.646055 | 0 | 0.0046 | 0.430061 | 16,400 | 411 | 101 | 39.902676 | 0.741093 | 0.002866 | 0 | 0.606218 | 0 | 0 | 0.181896 | 0.044648 | 0 | 0 | 0 | 0.002433 | 0 | 1 | 0.025907 | false | 0 | 0.010363 | 0.010363 | 0.062176 | 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 |
ae2265d576b31dc5189a8fbdf2a036b016a9bf70 | 42 | py | Python | crane/__init__.py | victorlin/crane | a888e9731295e4b8332c44b5168fbceb87546fa5 | [
"Apache-2.0"
] | 4 | 2015-01-13T09:41:59.000Z | 2016-02-13T16:10:03.000Z | crane/__init__.py | fangpenlin/crane | a888e9731295e4b8332c44b5168fbceb87546fa5 | [
"Apache-2.0"
] | null | null | null | crane/__init__.py | fangpenlin/crane | a888e9731295e4b8332c44b5168fbceb87546fa5 | [
"Apache-2.0"
] | null | null | null | from .builders import BuilderBase # noqa
| 21 | 41 | 0.785714 | 5 | 42 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 1 | 42 | 42 | 0.942857 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ae379fe311c75d8d6ea820e512b7990543083db9 | 37 | py | Python | py_tea_code/3.mypro-modules/math3/build/lib/baizhanSuperMath/demo2.py | qq4215279/study_python | b0eb9dedfc4abb2fd6c024a599e7375869c3d77a | [
"Apache-2.0"
] | null | null | null | py_tea_code/3.mypro-modules/math3/build/lib/baizhanSuperMath/demo2.py | qq4215279/study_python | b0eb9dedfc4abb2fd6c024a599e7375869c3d77a | [
"Apache-2.0"
] | null | null | null | py_tea_code/3.mypro-modules/math3/build/lib/baizhanSuperMath/demo2.py | qq4215279/study_python | b0eb9dedfc4abb2fd6c024a599e7375869c3d77a | [
"Apache-2.0"
] | null | null | null | def multiple():
print("multiple") | 18.5 | 21 | 0.648649 | 4 | 37 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 2 | 21 | 18.5 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ae40dc9f22a8469c207eea4e91acf2ffdba1cb25 | 187 | py | Python | timm/utils/random.py | KnockerPulsar/pytorch-image-models | 893f5dde27ae6b17389f738bd6e37160e2868c72 | [
"Apache-2.0"
] | null | null | null | timm/utils/random.py | KnockerPulsar/pytorch-image-models | 893f5dde27ae6b17389f738bd6e37160e2868c72 | [
"Apache-2.0"
] | null | null | null | timm/utils/random.py | KnockerPulsar/pytorch-image-models | 893f5dde27ae6b17389f738bd6e37160e2868c72 | [
"Apache-2.0"
] | null | null | null | import random
import numpy as np
import torch
def random_seed(seed=42, rank=0):
torch.manual_seed(seed + rank)
np.random.seed(seed + rank)
random.seed(seed + rank)
| 18.7 | 35 | 0.668449 | 29 | 187 | 4.241379 | 0.413793 | 0.260163 | 0.341463 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.229947 | 187 | 9 | 36 | 20.777778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
88358ee4b8e42cb2326701f5fd05bd2c0e35c0f0 | 126 | py | Python | shiyanlou_cs214-ca51b72ef6/mysite/mysite/views.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | shiyanlou_cs214-ca51b72ef6/mysite/mysite/views.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | shiyanlou_cs214-ca51b72ef6/mysite/mysite/views.py | tongxindao/shiyanlou | 1d002ea342deb69066c287db9935f77f49f0a09e | [
"Apache-2.0"
] | null | null | null | # _*_ coding: utf-8 _*_
from django.http import HttpResponse
def first_page(request):
return HttpResponse("<p>世界好</p>")
| 18 | 37 | 0.706349 | 17 | 126 | 4.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.150794 | 126 | 6 | 38 | 21 | 0.775701 | 0.166667 | 0 | 0 | 0 | 0 | 0.097087 | 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 |
8841e89aae3cab417d7af4ca2226e145bcde9bf7 | 70 | py | Python | 7KYU/add.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 7KYU/add.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 7KYU/add.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | def add(a):
def add2(b):
return a + b
return add2
| 14 | 20 | 0.471429 | 11 | 70 | 3 | 0.545455 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.428571 | 70 | 5 | 21 | 14 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8896bb2c12634a2a0a543ea1c435138e3f3d7a97 | 124 | py | Python | django_any/contrib/__init__.py | kadych/django-whatever | 8b706a2728c8f3f80bbce7191f83285238eb975b | [
"MIT"
] | 8 | 2015-01-27T07:21:24.000Z | 2018-02-07T04:22:06.000Z | django_any/contrib/__init__.py | kadych/django-whatever | 8b706a2728c8f3f80bbce7191f83285238eb975b | [
"MIT"
] | 18 | 2015-06-04T17:25:44.000Z | 2020-04-07T23:37:13.000Z | django_any/contrib/__init__.py | kadych/django-whatever | 8b706a2728c8f3f80bbce7191f83285238eb975b | [
"MIT"
] | 12 | 2015-07-06T13:09:32.000Z | 2020-04-05T12:03:30.000Z | from . import auth
from . import default
any_user = auth.any_user
any_model_with_defaults = default.any_model_with_defaults
| 24.8 | 57 | 0.83871 | 20 | 124 | 4.8 | 0.45 | 0.208333 | 0.25 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 4 | 58 | 31 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31fabef610bfe9a3859d38acdf4c122d56fd32bf | 13,063 | py | Python | test/test_npu/test_network_ops/test_pow.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-12-02T03:07:35.000Z | 2021-12-02T03:07:35.000Z | test/test_npu/test_network_ops/test_pow.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-11-12T07:23:03.000Z | 2021-11-12T08:28:13.000Z | test/test_npu/test_network_ops/test_pow.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020, Huawei Technologies.All rights reserved.
#
# Licensed under the BSD 3-Clause License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law... | 43.983165 | 110 | 0.652224 | 1,904 | 13,063 | 4.143382 | 0.07458 | 0.135252 | 0.051084 | 0.057041 | 0.821777 | 0.79389 | 0.750158 | 0.732159 | 0.70706 | 0.689314 | 0 | 0.062166 | 0.225446 | 13,063 | 296 | 111 | 44.131757 | 0.717533 | 0.067902 | 0 | 0.56 | 0 | 0 | 0.003373 | 0 | 0 | 0 | 0 | 0 | 0.031111 | 1 | 0.195556 | false | 0 | 0.026667 | 0 | 0.275556 | 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 |
31ff37acc6710fafe444f73b20b817180ee9bc27 | 69 | py | Python | WeatherPy/api_keys.py | Sreeteja27/python-api-challenge | 9d7218dc00dabb141824fbe2f44b5155a0cbd365 | [
"ADSL"
] | null | null | null | WeatherPy/api_keys.py | Sreeteja27/python-api-challenge | 9d7218dc00dabb141824fbe2f44b5155a0cbd365 | [
"ADSL"
] | null | null | null | WeatherPy/api_keys.py | Sreeteja27/python-api-challenge | 9d7218dc00dabb141824fbe2f44b5155a0cbd365 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "dc40273bbbf4cb8e9aee7fe659e2f605" | 34.5 | 44 | 0.855072 | 6 | 69 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 0.086957 | 69 | 2 | 44 | 34.5 | 0.666667 | 0.318841 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
ee45f59540a30e4dd5ef88925e6ac84f45ae5aa4 | 100 | py | Python | rl/sims/__init__.py | gtrll/librl | 39709c3e485e232865b3e08b7211cd9d871c666a | [
"MIT"
] | 5 | 2020-07-14T23:01:53.000Z | 2020-12-09T08:11:29.000Z | rl/sims/__init__.py | chinganc/mamba | e8adf0cf91660aed2c025508137a14f9d062248c | [
"MIT"
] | 1 | 2022-03-27T04:43:31.000Z | 2022-03-27T04:43:31.000Z | rl/sims/__init__.py | chinganc/mamba | e8adf0cf91660aed2c025508137a14f9d062248c | [
"MIT"
] | 4 | 2020-08-05T14:13:26.000Z | 2022-02-26T00:46:03.000Z | from rl.sims.envs import Cartpole, Hopper, Snake, Walker3d
from rl.sims.utils import create_sim_env
| 33.333333 | 58 | 0.82 | 17 | 100 | 4.705882 | 0.764706 | 0.15 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.11 | 100 | 2 | 59 | 50 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee6673892c7c34e732e3e7bde7fe66bfafb6686d | 60,847 | py | Python | etl/parsers/etw/Microsoft_Windows_MPRMSG.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_MPRMSG.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_MPRMSG.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-MPRMSG
GUID : f2c628ae-d26c-4352-9c45-74754e1e2f9f
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
from etl.dtyp import Sid
from etl.pars... | 30.793016 | 123 | 0.66023 | 6,807 | 60,847 | 5.634641 | 0.039077 | 0.084683 | 0.116439 | 0.105853 | 0.940138 | 0.940138 | 0.754869 | 0.754869 | 0.754869 | 0.753383 | 0 | 0.154625 | 0.206567 | 60,847 | 1,975 | 124 | 30.808608 | 0.639836 | 0.001496 | 0 | 0.608946 | 0 | 0 | 0.210924 | 0.11971 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002556 | 0 | 0.260703 | 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 |
ee735b6feffa74a71f82b3de70f0a942bd1f91ad | 10,877 | py | Python | premium/backend/tests/baserow_premium/admin/dashboard/test_admin_dashboard_handler.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | 1 | 2022-01-24T15:12:02.000Z | 2022-01-24T15:12:02.000Z | premium/backend/tests/baserow_premium/admin/dashboard/test_admin_dashboard_handler.py | rasata/baserow | c6e1d7842c53f801e1c96b49f1377da2a06afaa9 | [
"MIT"
] | null | null | null | premium/backend/tests/baserow_premium/admin/dashboard/test_admin_dashboard_handler.py | rasata/baserow | c6e1d7842c53f801e1c96b49f1377da2a06afaa9 | [
"MIT"
] | null | null | null | import pytest
from pytz import timezone
from datetime import timedelta, datetime, date
from django.test.utils import override_settings
from baserow.core.models import UserLogEntry
from baserow_premium.admin.dashboard.handler import AdminDashboardHandler
@pytest.mark.django_db
@override_settings(DEBUG=True)
def te... | 33.467692 | 88 | 0.596764 | 1,480 | 10,877 | 4.174324 | 0.068919 | 0.063937 | 0.145193 | 0.116543 | 0.931208 | 0.88977 | 0.869699 | 0.832794 | 0.803496 | 0.791033 | 0 | 0.113605 | 0.266802 | 10,877 | 324 | 89 | 33.570988 | 0.661066 | 0.005424 | 0 | 0.626761 | 0 | 0 | 0.067776 | 0.009894 | 0 | 0 | 0 | 0 | 0.119718 | 1 | 0.021127 | false | 0 | 0.021127 | 0 | 0.042254 | 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 |
ee881ba0372077594bb439911721c13d5cb90c98 | 184 | py | Python | src/handler/getinformationbyconfig/contract/request.py | julianVelandia/Eureka | b7cfea2d7fbc9f4dbb0d08f0b6dd547b6367602e | [
"MIT"
] | 2 | 2022-01-29T17:56:42.000Z | 2022-02-05T01:33:01.000Z | src/handler/getinformationbyconfig/contract/request.py | Turing-Core-Team/Eureka-v1.0 | b7cfea2d7fbc9f4dbb0d08f0b6dd547b6367602e | [
"MIT"
] | null | null | null | src/handler/getinformationbyconfig/contract/request.py | Turing-Core-Team/Eureka-v1.0 | b7cfea2d7fbc9f4dbb0d08f0b6dd547b6367602e | [
"MIT"
] | null | null | null |
class Params:
language: str
config_name: str
def __init__(self, language: str, config_name: str):
self.language = language
self.config_name = config_name
| 20.444444 | 56 | 0.663043 | 23 | 184 | 4.956522 | 0.391304 | 0.350877 | 0.298246 | 0.368421 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 184 | 8 | 57 | 23 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c99b3d2444387cff08836c757d073f9e9483d81a | 130 | py | Python | mosaic/__init__.py | histuckyi/mosaic | a3113a14ac63af9414566ccb032cd42193bf0135 | [
"MIT"
] | null | null | null | mosaic/__init__.py | histuckyi/mosaic | a3113a14ac63af9414566ccb032cd42193bf0135 | [
"MIT"
] | null | null | null | mosaic/__init__.py | histuckyi/mosaic | a3113a14ac63af9414566ccb032cd42193bf0135 | [
"MIT"
] | 1 | 2020-02-10T16:05:38.000Z | 2020-02-10T16:05:38.000Z | """
This is the top-level namespace of the mosaic package.
"""
# import
from . import mosaic # noqa
from . import image # noqa | 16.25 | 54 | 0.684615 | 19 | 130 | 4.684211 | 0.684211 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 130 | 8 | 55 | 16.25 | 0.872549 | 0.553846 | 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 |
4e4cc51025c371ee2a2d44462926a7c2aec6fab5 | 58 | py | Python | example/__init__.py | xwkgch/IsoTensor | b08e9753d50f082023d4f516361bc666ee359223 | [
"MIT"
] | 17 | 2021-10-01T04:24:04.000Z | 2022-03-22T14:11:56.000Z | example/__init__.py | xwkgch/IsoTensor | b08e9753d50f082023d4f516361bc666ee359223 | [
"MIT"
] | null | null | null | example/__init__.py | xwkgch/IsoTensor | b08e9753d50f082023d4f516361bc666ee359223 | [
"MIT"
] | 1 | 2021-10-05T11:30:20.000Z | 2021-10-05T11:30:20.000Z | from . import mera
from . import tnr
from . import meraad
| 14.5 | 20 | 0.741379 | 9 | 58 | 4.777778 | 0.555556 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 3 | 21 | 19.333333 | 0.934783 | 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 |
4e52118b9eaed5ac742a514f07703fe654a38abb | 21 | py | Python | src/no2migen/__init__.py | no2fpga/no2migen | 676aafaf46ed0ea9e2f3c2d81a6e9f1bc9b1a649 | [
"RSA-MD"
] | 5 | 2021-06-21T09:59:08.000Z | 2022-02-21T12:39:40.000Z | src/no2migen/__init__.py | no2fpga/no2migen | 676aafaf46ed0ea9e2f3c2d81a6e9f1bc9b1a649 | [
"RSA-MD"
] | 1 | 2022-02-16T17:10:46.000Z | 2022-02-16T19:35:34.000Z | src/no2migen/__init__.py | no2fpga/no2migen | 676aafaf46ed0ea9e2f3c2d81a6e9f1bc9b1a649 | [
"RSA-MD"
] | null | null | null | from .migen import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e567a2632c1961a27b4a59548bc1d5ffb4a934d | 32 | py | Python | alosi/data/__init__.py | harvard-vpal/alosi | aa525c1cdbfb4d16e79970540ac7136098e50d6f | [
"Apache-2.0"
] | 6 | 2018-05-30T18:26:23.000Z | 2021-09-15T07:40:24.000Z | alosi/data/__init__.py | harvard-vpal/alosi | aa525c1cdbfb4d16e79970540ac7136098e50d6f | [
"Apache-2.0"
] | 3 | 2019-02-11T21:31:07.000Z | 2020-07-23T14:29:40.000Z | alosi/data/__init__.py | harvard-vpal/alosi | aa525c1cdbfb4d16e79970540ac7136098e50d6f | [
"Apache-2.0"
] | 4 | 2018-06-10T12:17:03.000Z | 2020-10-08T11:17:49.000Z | from . import google_drive, olx
| 16 | 31 | 0.78125 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e6565a09c37369a3ddbc85263db607d56a34d5e | 144 | py | Python | neuroglia/calcium/oasis/__init__.py | NileGraddis/neuroglia | cbe132347aeb9f3664f25d2e67eba34aa4d1ed0c | [
"BSD-3-Clause"
] | 1 | 2019-01-05T09:12:13.000Z | 2019-01-05T09:12:13.000Z | neuroglia/calcium/oasis/__init__.py | j-friedrich/neuroglia | 5b4e43d3dcfd75184d205e18a251598586f9f812 | [
"BSD-3-Clause"
] | null | null | null | neuroglia/calcium/oasis/__init__.py | j-friedrich/neuroglia | 5b4e43d3dcfd75184d205e18a251598586f9f812 | [
"BSD-3-Clause"
] | null | null | null | # from .oasis_methods import oasisAR1, constrained_oasisAR1, oasisAR2, constrained_oasisAR2
from . import functions
from . import oasis_methods
| 36 | 91 | 0.840278 | 17 | 144 | 6.882353 | 0.470588 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 144 | 3 | 92 | 48 | 0.882813 | 0.618056 | 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 |
1179d8d93300da5131d5eefefa6c3b4dbe9e8af9 | 28 | py | Python | raco/python/__init__.py | uwescience/raco | 1f2bedbef71bacf715340289f4973d85a3c1dc97 | [
"BSD-3-Clause"
] | 61 | 2015-02-09T17:27:40.000Z | 2022-03-28T14:37:53.000Z | raco/python/__init__.py | uwescience/raco | 1f2bedbef71bacf715340289f4973d85a3c1dc97 | [
"BSD-3-Clause"
] | 201 | 2015-01-03T02:46:19.000Z | 2017-09-19T02:16:36.000Z | raco/python/__init__.py | uwescience/raco | 1f2bedbef71bacf715340289f4973d85a3c1dc97 | [
"BSD-3-Clause"
] | 17 | 2015-06-03T12:01:30.000Z | 2021-11-27T15:49:21.000Z | from convert import convert
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
11837744d7d5a9677123eb9716977638736c8f44 | 120 | py | Python | 15_pr_07.py | Madhav2204/Python-vs-code | 6b845573f6e9f77cccf8f67913ad4de05da6593c | [
"Apache-2.0"
] | null | null | null | 15_pr_07.py | Madhav2204/Python-vs-code | 6b845573f6e9f77cccf8f67913ad4de05da6593c | [
"Apache-2.0"
] | null | null | null | 15_pr_07.py | Madhav2204/Python-vs-code | 6b845573f6e9f77cccf8f67913ad4de05da6593c | [
"Apache-2.0"
] | null | null | null | n = 3
for i in range(3):
print(" " * (n-i-1), end="")
print("*" * (2*i+1), end="")
print(" " * (n-i-1)) | 24 | 33 | 0.366667 | 21 | 120 | 2.095238 | 0.47619 | 0.136364 | 0.318182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.3 | 120 | 5 | 34 | 24 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
118451a77127d5dc39c55c8f38f353b168a7ddf2 | 23 | py | Python | api/api/resources/weather/__init__.py | coreyjwhite/flext | 86b2614a3db203512627c7cd12f8ecc9fcface90 | [
"MIT"
] | null | null | null | api/api/resources/weather/__init__.py | coreyjwhite/flext | 86b2614a3db203512627c7cd12f8ecc9fcface90 | [
"MIT"
] | null | null | null | api/api/resources/weather/__init__.py | coreyjwhite/flext | 86b2614a3db203512627c7cd12f8ecc9fcface90 | [
"MIT"
] | null | null | null | from . import forecast
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
11ca60a70a42c3da6c60b9ccd310746bc5df57aa | 165 | py | Python | src/python/lowerandupper.py | Praggya17/HacktoberFestContribute | 098cb1012f1f2ed6ca6b3544a7b962b6c49e2643 | [
"MIT"
] | 98 | 2018-10-09T15:42:41.000Z | 2021-10-04T15:25:44.000Z | src/python/lowerandupper.py | Praggya17/HacktoberFestContribute | 098cb1012f1f2ed6ca6b3544a7b962b6c49e2643 | [
"MIT"
] | 141 | 2018-10-06T16:55:20.000Z | 2021-10-31T18:25:35.000Z | src/python/lowerandupper.py | Praggya17/HacktoberFestContribute | 098cb1012f1f2ed6ca6b3544a7b962b6c49e2643 | [
"MIT"
] | 885 | 2018-10-06T17:14:44.000Z | 2022-01-29T03:16:21.000Z |
#converting string to uppercase
def uppercase(string):
return string.upper()
#converting string to lower case
def lowercase(string):
return string.lower()
| 15 | 32 | 0.751515 | 21 | 165 | 5.904762 | 0.47619 | 0.258065 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 165 | 10 | 33 | 16.5 | 0.898551 | 0.369697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
11f82ea896e1d25fda862e3ac02f84e26ea768df | 140 | py | Python | src/vak/models/__init__.py | jspaaks/vak | 581ec4869d342e5d52bc057de54c10901f06d343 | [
"BSD-3-Clause"
] | 26 | 2019-03-04T20:08:57.000Z | 2022-01-22T13:40:00.000Z | src/vak/models/__init__.py | jspaaks/vak | 581ec4869d342e5d52bc057de54c10901f06d343 | [
"BSD-3-Clause"
] | 379 | 2019-03-03T12:16:05.000Z | 2022-03-29T13:44:46.000Z | src/vak/models/__init__.py | jspaaks/vak | 581ec4869d342e5d52bc057de54c10901f06d343 | [
"BSD-3-Clause"
] | 12 | 2019-11-22T21:19:19.000Z | 2022-03-14T17:44:59.000Z | from .models import find, from_model_config_map
from . import teenytweetynet
__all__ = ["find", "from_model_config_map", "teenytweetynet"]
| 28 | 61 | 0.792857 | 18 | 140 | 5.611111 | 0.5 | 0.158416 | 0.257426 | 0.376238 | 0.435644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 140 | 4 | 62 | 35 | 0.808 | 0 | 0 | 0 | 0 | 0 | 0.278571 | 0.15 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eedfc2e4c9a78369f2d34ba97c829c68965edc2d | 144 | py | Python | data_cleaning/__init__.py | peter-amerkhanian/Bus_Accidents | 25901e7c0c54fb8b45d95b7f375ae8f4402d2c17 | [
"MIT"
] | null | null | null | data_cleaning/__init__.py | peter-amerkhanian/Bus_Accidents | 25901e7c0c54fb8b45d95b7f375ae8f4402d2c17 | [
"MIT"
] | null | null | null | data_cleaning/__init__.py | peter-amerkhanian/Bus_Accidents | 25901e7c0c54fb8b45d95b7f375ae8f4402d2c17 | [
"MIT"
] | null | null | null | from data_cleaning.create_html import make_html_table
from data_cleaning.duplicate_handling import get_first_non_null, within_5, max_two_routes
| 48 | 89 | 0.902778 | 24 | 144 | 4.916667 | 0.791667 | 0.135593 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.069444 | 144 | 2 | 90 | 72 | 0.873134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6d93c4fab10b1009798e9a4840144cde7d1f2f35 | 44 | py | Python | keys/generate_key.py | Crain-32/wwrando | 1832963c7a9339f4f004e7f4b8bee227bfd86f23 | [
"MIT"
] | 284 | 2018-07-05T15:18:18.000Z | 2022-03-28T19:59:03.000Z | keys/generate_key.py | Crain-32/wwrando | 1832963c7a9339f4f004e7f4b8bee227bfd86f23 | [
"MIT"
] | 235 | 2018-07-06T18:39:36.000Z | 2022-03-29T21:09:46.000Z | keys/generate_key.py | Crain-32/wwrando | 1832963c7a9339f4f004e7f4b8bee227bfd86f23 | [
"MIT"
] | 96 | 2018-07-12T02:33:40.000Z | 2022-03-22T05:08:02.000Z | import secrets
print(secrets.token_hex(16))
| 14.666667 | 28 | 0.818182 | 7 | 44 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.068182 | 44 | 2 | 29 | 22 | 0.804878 | 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 |
6dc7e2e204cdeb459e9bc4123f0b40bbf364f387 | 101 | py | Python | users/models.py | DavLivesey/hw05_final | 7d632a79eb67ea60ae7fd410b22472df5d4bb743 | [
"BSD-2-Clause"
] | null | null | null | users/models.py | DavLivesey/hw05_final | 7d632a79eb67ea60ae7fd410b22472df5d4bb743 | [
"BSD-2-Clause"
] | null | null | null | users/models.py | DavLivesey/hw05_final | 7d632a79eb67ea60ae7fd410b22472df5d4bb743 | [
"BSD-2-Clause"
] | null | null | null | from django.contrib.auth import get_user_model
from django.db import models
User = get_user_model()
| 20.2 | 46 | 0.821782 | 17 | 101 | 4.647059 | 0.588235 | 0.253165 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 4 | 47 | 25.25 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a308640c135b37bf2ce3af4b8f95c2462a3b567c | 6,134 | py | Python | analysis/distances.py | morphic-team/research-results | 2e23ae005e9a91d6b0e4d6612e452e4eec666b85 | [
"MIT"
] | null | null | null | analysis/distances.py | morphic-team/research-results | 2e23ae005e9a91d6b0e4d6612e452e4eec666b85 | [
"MIT"
] | null | null | null | analysis/distances.py | morphic-team/research-results | 2e23ae005e9a91d6b0e4d6612e452e4eec666b85 | [
"MIT"
] | null | null | null | import csv
import json
d = json.loads('{"pure":[102054.8731037809,121618.95754858853,72806.80266132006,196661.6322107075,76332.73825128668,67539.53215371947,116835.04508051295,45854.01881859638,19740.322605579095,76116.27803035868,102174.89172236627,18208.408528395943,266440.334996511,20717.97373258692,18705.098022940... | 266.695652 | 5,702 | 0.874959 | 675 | 6,134 | 7.933333 | 0.868148 | 0.025397 | 0.016433 | 0.025397 | 0.015873 | 0.015873 | 0.015873 | 0.015873 | 0 | 0 | 0 | 0.832344 | 0.011086 | 6,134 | 23 | 5,703 | 266.695652 | 0.050445 | 0 | 0 | 0.235294 | 0 | 0.058824 | 0.939527 | 0.930236 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.