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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20fc92794a278a08b94a1f84e232148ac5dbf932 | 8,695 | py | Python | src/ai/models/.ipynb_checkpoints/models_mse-checkpoint.py | carlov93/predictive_maintenance | eb00b82bde02668387d0308571296a82f78abef6 | [
"MIT"
] | 1 | 2020-02-11T07:50:33.000Z | 2020-02-11T07:50:33.000Z | src/ai/models/.ipynb_checkpoints/models_mse-checkpoint.py | carlov93/predictive_maintenance | eb00b82bde02668387d0308571296a82f78abef6 | [
"MIT"
] | 12 | 2020-03-24T18:16:51.000Z | 2022-03-12T00:15:55.000Z | src/ai/models/.ipynb_checkpoints/models_mse-checkpoint.py | carlov93/predictive_maintenance | eb00b82bde02668387d0308571296a82f78abef6 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import csv
class AnalysisLayer(nn.Module):
def __init__(self):
super(AnalysisLayer, self).__init__()
def forward(self, x):
global latent_space
latent_space = x.detach()
return x
class LstmMse(nn.Module):
... | 48.305556 | 118 | 0.613571 | 1,139 | 8,695 | 4.413521 | 0.120281 | 0.059877 | 0.063457 | 0.047742 | 0.872687 | 0.839865 | 0.812811 | 0.805252 | 0.792918 | 0.786354 | 0 | 0.004552 | 0.317769 | 8,695 | 180 | 119 | 48.305556 | 0.842886 | 0.255779 | 0 | 0.566372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097345 | false | 0 | 0.035398 | 0 | 0.230089 | 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 |
1f171e1b51cc94a9d13da441d34facedd1b4de1e | 45 | py | Python | distributed_lock/__init__.py | maxpowel/python-distributed-lock | d3199dba4b4ff674f4ea4ed0bb4c19d38718c3d0 | [
"Apache-2.0"
] | null | null | null | distributed_lock/__init__.py | maxpowel/python-distributed-lock | d3199dba4b4ff674f4ea4ed0bb4c19d38718c3d0 | [
"Apache-2.0"
] | null | null | null | distributed_lock/__init__.py | maxpowel/python-distributed-lock | d3199dba4b4ff674f4ea4ed0bb4c19d38718c3d0 | [
"Apache-2.0"
] | null | null | null | from .distributed_lock import DistributedLock | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f1aa2d70369edb6f7c946cf47aec944faad9e09 | 187 | py | Python | splicemachine/features/__init__.py | myles-novick/pysplice | 96a848d4adda0a937002798865d32939f059f4d1 | [
"Apache-2.0"
] | null | null | null | splicemachine/features/__init__.py | myles-novick/pysplice | 96a848d4adda0a937002798865d32939f059f4d1 | [
"Apache-2.0"
] | null | null | null | splicemachine/features/__init__.py | myles-novick/pysplice | 96a848d4adda0a937002798865d32939f059f4d1 | [
"Apache-2.0"
] | null | null | null | from .feature import Feature
from .feature_set import FeatureSet
from .feature_store import FeatureStore
from .pipe import Pipe
from .constants import FeatureType, PipeType, PipeLanguage
| 31.166667 | 58 | 0.84492 | 24 | 187 | 6.5 | 0.5 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 187 | 5 | 59 | 37.4 | 0.945455 | 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 |
1f922afe11b7c72391c7153f922ed1567756b0bd | 137 | py | Python | hazijavitorendszer/HW/fahrenheit/test.py | gaebor/hazi | 0907e8304aa690cae5752485ba237d782336b918 | [
"MIT"
] | null | null | null | hazijavitorendszer/HW/fahrenheit/test.py | gaebor/hazi | 0907e8304aa690cae5752485ba237d782336b918 | [
"MIT"
] | null | null | null | hazijavitorendszer/HW/fahrenheit/test.py | gaebor/hazi | 0907e8304aa690cae5752485ba237d782336b918 | [
"MIT"
] | null | null | null | def _eval(_input, _output, _expected, _exception, _expected_exception):
return abs(_expected - _output) < 0.001 and _exception is None
| 45.666667 | 71 | 0.781022 | 18 | 137 | 5.388889 | 0.722222 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0.131387 | 137 | 2 | 72 | 68.5 | 0.781513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2f27a0892e35409ffb0e18a1fc3cc3738716b500 | 69 | py | Python | config.py | germainlefebvre4/ns-killer | ca082c19ceff6db94f2789d133d19c77300a5d16 | [
"Apache-2.0"
] | 21 | 2020-05-26T09:02:20.000Z | 2022-03-10T05:35:20.000Z | config.py | germainlefebvre4/ns-killer | ca082c19ceff6db94f2789d133d19c77300a5d16 | [
"Apache-2.0"
] | 15 | 2020-01-09T16:33:33.000Z | 2021-02-05T10:20:36.000Z | config.py | germainlefebvre4/ns-killer | ca082c19ceff6db94f2789d133d19c77300a5d16 | [
"Apache-2.0"
] | 5 | 2020-08-31T06:25:57.000Z | 2020-10-09T22:59:49.000Z | """
Dotenv
"""
import os
from dotenv import load_dotenv
load_dotenv() | 11.5 | 30 | 0.753623 | 10 | 69 | 5 | 0.5 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 6 | 31 | 11.5 | 0.833333 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2f5fa8189af5aed2c803e46dc69746a066ed3c51 | 103 | py | Python | ariadne/utils/__init__.py | t3hseus/ariadne | b4471a37741000e22281c4d6ff647d65ab9e1914 | [
"MIT"
] | 6 | 2020-08-28T22:44:07.000Z | 2022-01-24T20:53:00.000Z | ariadne/utils/__init__.py | t3hseus/ariadne | b4471a37741000e22281c4d6ff647d65ab9e1914 | [
"MIT"
] | 1 | 2021-02-20T09:38:46.000Z | 2021-02-20T09:38:46.000Z | ariadne/utils/__init__.py | t3hseus/ariadne | b4471a37741000e22281c4d6ff647d65ab9e1914 | [
"MIT"
] | 2 | 2021-10-04T09:25:06.000Z | 2022-02-09T09:09:09.000Z | from . import base
from . import model
from . import inference
from . import drawing
from . import data | 20.6 | 23 | 0.76699 | 15 | 103 | 5.266667 | 0.466667 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 103 | 5 | 24 | 20.6 | 0.940476 | 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 |
2f83b1ccd73abfd0226bf238834966b2f41c4241 | 152 | py | Python | HackerRank/Python/Easy/E0055.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 54 | 2019-05-13T12:13:09.000Z | 2022-02-27T02:59:00.000Z | HackerRank/Python/Easy/E0055.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 2 | 2020-10-02T07:16:43.000Z | 2020-10-19T04:36:19.000Z | HackerRank/Python/Easy/E0055.py | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 20 | 2020-05-26T09:48:13.000Z | 2022-03-18T15:18:27.000Z | # Problem Statement: https://www.hackerrank.com/challenges/np-arrays/problem
import numpy
def arrays(arr):
return numpy.flip(numpy.array(arr, float)) | 25.333333 | 76 | 0.776316 | 22 | 152 | 5.363636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 152 | 6 | 77 | 25.333333 | 0.848921 | 0.486842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
85fab8a1ca458e8331165e29f299093f4035d61f | 60 | py | Python | __init__.py | scvannost/pyframework | fab1f74a1358dcb41b9ffc6bc7ebb4dad7ae22a0 | [
"MIT"
] | null | null | null | __init__.py | scvannost/pyframework | fab1f74a1358dcb41b9ffc6bc7ebb4dad7ae22a0 | [
"MIT"
] | null | null | null | __init__.py | scvannost/pyframework | fab1f74a1358dcb41b9ffc6bc7ebb4dad7ae22a0 | [
"MIT"
] | null | null | null | from pyframework import *
from pyframework.usermgr import *
| 20 | 33 | 0.816667 | 7 | 60 | 7 | 0.571429 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 34 | 30 | 0.942308 | 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 |
c81a07a699e6daba435dd9ed2abb8cbb8c5d4323 | 2,128 | py | Python | tests/test_kde.py | mblackgeo/spatial-kde | 06c5cc019ba0a59bc3bd8b70a7e21c00177573d2 | [
"MIT"
] | 1 | 2022-01-29T06:19:10.000Z | 2022-01-29T06:19:10.000Z | tests/test_kde.py | mblackgeo/spatial-kde | 06c5cc019ba0a59bc3bd8b70a7e21c00177573d2 | [
"MIT"
] | 2 | 2022-02-16T12:27:04.000Z | 2022-02-16T12:29:36.000Z | tests/test_kde.py | mblackgeo/spatial-kde | 06c5cc019ba0a59bc3bd8b70a7e21c00177573d2 | [
"MIT"
] | null | null | null | from pathlib import Path
import geopandas as gpd
import pytest
import rasterio
from spatial_kde import spatial_kernel_density
def test_spatial_kernel_density_no_weight_utm(data_dir, tmp_path):
gdf = gpd.read_file(str(data_dir / "points_epsg_32630.gpkg"))
out_file = str(tmp_path / "out.tif")
spatial_ker... | 26.271605 | 73 | 0.653665 | 304 | 2,128 | 4.263158 | 0.223684 | 0.075617 | 0.138889 | 0.061728 | 0.834105 | 0.834105 | 0.834105 | 0.800926 | 0.724537 | 0.724537 | 0 | 0.035847 | 0.239662 | 2,128 | 80 | 74 | 26.6 | 0.765142 | 0 | 0 | 0.633333 | 0 | 0 | 0.059211 | 0.031015 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.066667 | false | 0 | 0.083333 | 0 | 0.15 | 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 |
c843c029c96398f7c151cd02f6c66b892abdd319 | 113 | py | Python | seamm_dashboard/routes/projects/__init__.py | paulsaxe/seamm_dashboard | 66049c8c58fd34af3bd143157d0138e8fb737f9b | [
"BSD-3-Clause"
] | 5 | 2020-04-17T16:34:13.000Z | 2021-12-09T17:24:01.000Z | seamm_dashboard/routes/projects/__init__.py | paulsaxe/seamm_dashboard | 66049c8c58fd34af3bd143157d0138e8fb737f9b | [
"BSD-3-Clause"
] | 55 | 2020-02-26T20:47:52.000Z | 2022-03-12T14:22:10.000Z | seamm_dashboard/routes/projects/__init__.py | paulsaxe/seamm_dashboard | 66049c8c58fd34af3bd143157d0138e8fb737f9b | [
"BSD-3-Clause"
] | 4 | 2019-10-15T18:34:14.000Z | 2022-01-04T20:50:43.000Z | from flask import Blueprint
projects = Blueprint("projects", __name__)
from . import views # noqa: F401, E402
| 18.833333 | 42 | 0.743363 | 14 | 113 | 5.714286 | 0.714286 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.168142 | 113 | 5 | 43 | 22.6 | 0.787234 | 0.141593 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
c864211a92482828b3dbfa80ec18f692565420f9 | 48 | py | Python | actinia_gdi/wsgi.py | anikaweinmann/actinia-gdi | 0a32212a9f1e89d7691b1cef1fb9cf9f30a6d2c9 | [
"Apache-2.0"
] | 4 | 2019-04-27T21:21:44.000Z | 2021-04-29T20:28:23.000Z | actinia_gdi/wsgi.py | anikaweinmann/actinia-gdi | 0a32212a9f1e89d7691b1cef1fb9cf9f30a6d2c9 | [
"Apache-2.0"
] | 29 | 2019-04-23T10:53:36.000Z | 2021-03-05T09:41:00.000Z | actinia_gdi/wsgi.py | anikaweinmann/actinia-gdi | 0a32212a9f1e89d7691b1cef1fb9cf9f30a6d2c9 | [
"Apache-2.0"
] | 3 | 2019-04-23T10:13:01.000Z | 2020-04-15T10:42:40.000Z | from actinia_gdi.main import app as application
| 24 | 47 | 0.854167 | 8 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c077db8ec195a87f0a8bc60644a07f00c37a0aba | 151 | py | Python | shutdown.py | greenkeytech/discovery-sdk | 3c0357ef98a723f2eaa3f190435d230917d82eea | [
"Apache-2.0"
] | 12 | 2019-08-13T14:08:17.000Z | 2022-02-11T16:56:05.000Z | shutdown.py | finos/greenkey-discovery-sdk | 3c0357ef98a723f2eaa3f190435d230917d82eea | [
"Apache-2.0"
] | 26 | 2019-08-01T14:06:21.000Z | 2021-03-11T17:10:57.000Z | shutdown.py | greenkeytech/discovery-sdk | 3c0357ef98a723f2eaa3f190435d230917d82eea | [
"Apache-2.0"
] | 5 | 2019-09-23T16:09:35.000Z | 2021-03-31T23:24:31.000Z | #!/usr/bin/env python3
from fire import Fire
from launch import teardown_docker_compose
if __name__ == "__main__":
Fire(teardown_docker_compose)
| 18.875 | 42 | 0.781457 | 21 | 151 | 5.047619 | 0.666667 | 0.264151 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.139073 | 151 | 7 | 43 | 21.571429 | 0.807692 | 0.139073 | 0 | 0 | 0 | 0 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c08f149de5d2766d4735d6c431b3f5a95705c06b | 193 | py | Python | main.py | amano-honmono/KT_button | 114fffeaf533ff166afad5f514b5aaacea38aceb | [
"MIT"
] | null | null | null | main.py | amano-honmono/KT_button | 114fffeaf533ff166afad5f514b5aaacea38aceb | [
"MIT"
] | null | null | null | main.py | amano-honmono/KT_button | 114fffeaf533ff166afad5f514b5aaacea38aceb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from bottle import route, run
import generator
@route('/')
def top():
return generator.top()
@route('/login')
def login():
pass
run(host='0.0.0.0', port=80)
| 12.866667 | 29 | 0.606218 | 29 | 193 | 4.034483 | 0.62069 | 0.051282 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044304 | 0.181347 | 193 | 14 | 30 | 13.785714 | 0.696203 | 0.108808 | 0 | 0 | 0 | 0 | 0.082353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0.111111 | 0.222222 | 0.111111 | 0.555556 | 0 | 1 | 0 | 0 | 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 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
c0c27c54b56206ec26f7eb5a769b9ce0b9f5b625 | 42 | py | Python | esia_auth/models/__init__.py | sysols/django-esia-auth | 8311585f1942ba37588a823932af7a3fdf2b0f9e | [
"BSD-2-Clause"
] | 1 | 2021-09-06T08:25:39.000Z | 2021-09-06T08:25:39.000Z | esia_auth/models/__init__.py | sysols/django-esia-auth | 8311585f1942ba37588a823932af7a3fdf2b0f9e | [
"BSD-2-Clause"
] | null | null | null | esia_auth/models/__init__.py | sysols/django-esia-auth | 8311585f1942ba37588a823932af7a3fdf2b0f9e | [
"BSD-2-Clause"
] | null | null | null | from .esia_user import ESIACompatibleUser
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0f9d8830880ce76148de6ea4e3176641a9d82b5 | 1,919 | py | Python | app/migrations/0002_auto_20180519_2133.py | callofdutyops/cnc-monitoring | cd18ce238d6f9a1435541159ea4b2e4d3dd94dd6 | [
"MIT"
] | null | null | null | app/migrations/0002_auto_20180519_2133.py | callofdutyops/cnc-monitoring | cd18ce238d6f9a1435541159ea4b2e4d3dd94dd6 | [
"MIT"
] | null | null | null | app/migrations/0002_auto_20180519_2133.py | callofdutyops/cnc-monitoring | cd18ce238d6f9a1435541159ea4b2e4d3dd94dd6 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.5 on 2018-05-19 13:33
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='cncalarm',
name='alarmName',
fi... | 31.983333 | 83 | 0.569567 | 188 | 1,919 | 5.680851 | 0.281915 | 0.075843 | 0.187266 | 0.217228 | 0.714419 | 0.714419 | 0.714419 | 0.668539 | 0.657303 | 0.657303 | 0 | 0.040878 | 0.311621 | 1,919 | 59 | 84 | 32.525424 | 0.7676 | 0.02345 | 0 | 0.641509 | 1 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.075472 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23aebec1fa58e3f79bb627fd177ab7bee344cda6 | 3,290 | py | Python | tests/list/test_list_of_declaration.py | nikitanovosibirsk/district42 | 0c13248919fc96bde16b9634a8ea468e4882752a | [
"Apache-2.0"
] | 1 | 2016-09-16T04:09:19.000Z | 2016-09-16T04:09:19.000Z | tests/list/test_list_of_declaration.py | nikitanovosibirsk/district42 | 0c13248919fc96bde16b9634a8ea468e4882752a | [
"Apache-2.0"
] | 2 | 2021-06-14T05:53:49.000Z | 2022-02-01T14:26:31.000Z | tests/list/test_list_of_declaration.py | nikitanovosibirsk/district42 | 0c13248919fc96bde16b9634a8ea468e4882752a | [
"Apache-2.0"
] | null | null | null | from unittest.mock import sentinel
from baby_steps import given, then, when
from pytest import raises
from district42 import schema
from district42.errors import DeclarationError
from district42.types import ListSchema
def test_list_of_elements_declaration():
with when:
list_type = schema.int
sc... | 27.416667 | 86 | 0.676292 | 440 | 3,290 | 4.829545 | 0.115909 | 0.056471 | 0.051765 | 0.061176 | 0.802353 | 0.785412 | 0.761412 | 0.752 | 0.733176 | 0.711529 | 0 | 0.009885 | 0.231307 | 3,290 | 119 | 87 | 27.647059 | 0.830368 | 0 | 0 | 0.518072 | 0 | 0 | 0.080547 | 0.006383 | 0 | 0 | 0 | 0 | 0.253012 | 1 | 0.120482 | false | 0 | 0.072289 | 0 | 0.192771 | 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 |
23d2ee50063607d6264f7bc696c37f274afbf3c9 | 3,404 | py | Python | play shield examples/tiny-snake/bitmaps.py | konimaru/tinypico-micropython | 03850445fd2d89b1fe4e9d99d07e10dfe62ae354 | [
"MIT"
] | 58 | 2019-05-11T19:05:08.000Z | 2022-02-21T23:07:54.000Z | play shield examples/tiny-snake/bitmaps.py | konimaru/tinypico-micropython | 03850445fd2d89b1fe4e9d99d07e10dfe62ae354 | [
"MIT"
] | 8 | 2019-07-28T08:06:03.000Z | 2022-02-22T21:38:22.000Z | play shield examples/tiny-snake/bitmaps.py | konimaru/tinypico-micropython | 03850445fd2d89b1fe4e9d99d07e10dfe62ae354 | [
"MIT"
] | 15 | 2019-05-07T11:19:37.000Z | 2022-03-16T16:39:03.000Z | #icons
icon_wifi = [
0x1f,0xe0
,0x70,0x38
,0xc7,0x8c
,0x1c,0xe0
,0x30,0x30
,0x07,0x80
,0x0c,0xc0
,0x00,0x00
,0x03,0x00
,0x03,0x00
]
icon_wifi_inv = [
0xe0,0x1c
,0x8f,0xc4
,0x38,0x70
,0xe3,0x1c
,0xcf,0xcc
,0xf8,0x7c
,0xf3,0x3c
,0xff,0xfc
,0... | 55.803279 | 100 | 0.622797 | 528 | 3,404 | 4.007576 | 0.096591 | 0.36673 | 0.459357 | 0.491493 | 0.725898 | 0.693762 | 0.654064 | 0.63327 | 0.555766 | 0.516068 | 0 | 0.363053 | 0.222385 | 3,404 | 60 | 101 | 56.733333 | 0.436343 | 0.001469 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.612305 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1c25d3936b4e78a8d6c3e65ff781170fda812f1 | 123 | py | Python | rng.py | mohdAkibUddin/DockerSimplePython | 20da2eec020f0651bb63cdadc13ab126d6321240 | [
"MIT"
] | null | null | null | rng.py | mohdAkibUddin/DockerSimplePython | 20da2eec020f0651bb63cdadc13ab126d6321240 | [
"MIT"
] | null | null | null | rng.py | mohdAkibUddin/DockerSimplePython | 20da2eec020f0651bb63cdadc13ab126d6321240 | [
"MIT"
] | null | null | null | import random
def generateRandomNumber(minimum, maximum):
result = random.randint(minimum, maximum)
return result | 20.5 | 45 | 0.764228 | 13 | 123 | 7.230769 | 0.692308 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162602 | 123 | 6 | 46 | 20.5 | 0.912621 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7b032b3f03217f9006f46ed7f4daaf7c8f6f4954 | 654 | py | Python | Try & Except & Finialy.py | sivacheetas/matplotlib | af810525aa7875a1b6bf066179d106c7cec023a9 | [
"MIT"
] | 21 | 2019-06-28T05:11:17.000Z | 2022-03-16T02:02:28.000Z | Try & Except & Finialy.py | sivacheetas/python_basic | af810525aa7875a1b6bf066179d106c7cec023a9 | [
"MIT"
] | 2 | 2021-12-28T14:15:58.000Z | 2021-12-28T14:16:02.000Z | Try & Except & Finialy.py | sivacheetas/python_basic | af810525aa7875a1b6bf066179d106c7cec023a9 | [
"MIT"
] | 18 | 2019-07-07T03:20:33.000Z | 2021-05-08T10:44:18.000Z | ##def askint():
## try:
## val = int(input("Please enter an integer: "))
## except:
## print ("Looks like you did not enter an integer!")
##
## finally:
## print ("Finally, I executed!")
## print ("Given Input is ",val)
##
##askint()
... | 27.25 | 68 | 0.472477 | 68 | 654 | 4.544118 | 0.352941 | 0.113269 | 0.226537 | 0.194175 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0.757282 | 0.498382 | 0 | 0.004988 | 0.38685 | 654 | 23 | 69 | 28.434783 | 0.765586 | 0.41896 | 0 | 0 | 0 | 0 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0.3 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b33ec8b36196f6139ba9b00ad95206a7984497e | 159 | py | Python | Python/preprocessing/circleselector/__init__.py | kokizzu/OmniPhotos | b8aa4c90b87b87b087bca8de3cf0e2b6d13f84da | [
"Apache-2.0"
] | 129 | 2020-12-13T02:22:05.000Z | 2022-03-22T02:45:39.000Z | Python/preprocessing/circleselector/__init__.py | kokizzu/OmniPhotos | b8aa4c90b87b87b087bca8de3cf0e2b6d13f84da | [
"Apache-2.0"
] | 4 | 2020-12-20T20:18:05.000Z | 2021-06-03T10:51:55.000Z | Python/preprocessing/circleselector/__init__.py | kokizzu/OmniPhotos | b8aa4c90b87b87b087bca8de3cf0e2b6d13f84da | [
"Apache-2.0"
] | 23 | 2020-12-15T15:11:18.000Z | 2022-03-18T00:15:30.000Z | import circleselector.cv_utils
import circleselector.datatypes
import circleselector.loader
import circleselector.metrics
import circleselector.plotting_utils
| 26.5 | 36 | 0.90566 | 17 | 159 | 8.352941 | 0.470588 | 0.704225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062893 | 159 | 5 | 37 | 31.8 | 0.95302 | 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 |
9e56e6157d609a945d0d61f29e8b7f145bb09e88 | 310 | py | Python | pyjo/fields/__init__.py | marcopaz/pyjo | 57b0fff59ec8bd11e8a0b7d4ff2746811c7f10f3 | [
"MIT"
] | 12 | 2016-11-05T17:35:27.000Z | 2019-07-26T14:38:28.000Z | pyjo/fields/__init__.py | marcopaz/pyjo | 57b0fff59ec8bd11e8a0b7d4ff2746811c7f10f3 | [
"MIT"
] | null | null | null | pyjo/fields/__init__.py | marcopaz/pyjo | 57b0fff59ec8bd11e8a0b7d4ff2746811c7f10f3 | [
"MIT"
] | 2 | 2018-02-14T09:04:06.000Z | 2018-02-20T13:59:15.000Z | from pyjo.fields.field import Field
from pyjo.fields.enumfield import EnumField
from pyjo.fields.rangefield import RangeField
from pyjo.fields.regexfield import RegexField
from pyjo.fields.datetimefield import DatetimeField
from pyjo.fields.listfield import ListField
from pyjo.fields.mapfield import MapField
| 38.75 | 51 | 0.864516 | 42 | 310 | 6.380952 | 0.261905 | 0.208955 | 0.365672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 310 | 7 | 52 | 44.285714 | 0.950355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 |
c873097709f38e87b5822c19441de0bc344c23c5 | 192 | py | Python | example_catalogs/directories/02/__init__.py | kmerenkov/dbup | fb73f4d08460540ef9a94dc21319195ae982648f | [
"MIT"
] | 3 | 2015-12-25T08:31:07.000Z | 2016-05-08T20:34:31.000Z | example_catalogs/directories/02/__init__.py | kmerenkov/dbup | fb73f4d08460540ef9a94dc21319195ae982648f | [
"MIT"
] | null | null | null | example_catalogs/directories/02/__init__.py | kmerenkov/dbup | fb73f4d08460540ef9a94dc21319195ae982648f | [
"MIT"
] | null | null | null | class Stage(object):
def up(self, session):
session.execute("insert into test values (1);")
def down(self, session):
session.execute("delete from test where col1=1;")
| 27.428571 | 57 | 0.640625 | 26 | 192 | 4.730769 | 0.692308 | 0.178862 | 0.292683 | 0.406504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.223958 | 192 | 6 | 58 | 32 | 0.805369 | 0 | 0 | 0 | 0 | 0 | 0.302083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c874ec5b211636a508d6e3d163be589de10ae32e | 210 | py | Python | test_yuk.py | okken/pytest-yuk | 36ec350d7e2d753ede1f89226d5e83baa5abe075 | [
"MIT"
] | 4 | 2021-03-27T05:37:24.000Z | 2021-11-28T12:24:33.000Z | test_yuk.py | okken/pytest-yuk | 36ec350d7e2d753ede1f89226d5e83baa5abe075 | [
"MIT"
] | null | null | null | test_yuk.py | okken/pytest-yuk | 36ec350d7e2d753ede1f89226d5e83baa5abe075 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.yuk
def test_pass():
assert 1 == 1
@pytest.mark.yuk
def test_fail():
assert 1 == 2
def test_pass_unmarked():
assert 1 == 1
def test_fail_unmarked():
assert 1 == 2
| 13.125 | 25 | 0.647619 | 34 | 210 | 3.823529 | 0.352941 | 0.215385 | 0.2 | 0.246154 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0.228571 | 210 | 15 | 26 | 14 | 0.753086 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 1 | 0.363636 | true | 0.181818 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c889a0ebd8318947b17abc3d750994529e61c57b | 296 | py | Python | moderation_module/punishment/commands/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 1 | 2021-12-12T02:50:20.000Z | 2021-12-12T02:50:20.000Z | moderation_module/punishment/commands/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | 17 | 2020-02-07T23:40:36.000Z | 2020-12-22T16:38:44.000Z | moderation_module/punishment/commands/__init__.py | alentoghostflame/StupidAlentoBot | c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba | [
"MIT"
] | null | null | null | from moderation_module.punishment.commands.mod_control import send_list_embed, add_role, remove_role, set_role
from moderation_module.punishment.commands.punish import warn_cmd, mute_cmd, delete_message_and_warn
from moderation_module.punishment.commands.word_ban_control import word_ban_control
| 74 | 110 | 0.89527 | 44 | 296 | 5.613636 | 0.545455 | 0.17004 | 0.242915 | 0.364372 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057432 | 296 | 3 | 111 | 98.666667 | 0.885305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c89ee3ca58315215c19d91ea8381b2def2225b10 | 537 | py | Python | ransac/__init__.py | romack77/ransac | efec8a98bfbd613b807c85bcb15ec0605bc9c234 | [
"MIT"
] | 2 | 2020-10-26T05:01:55.000Z | 2022-01-10T11:33:01.000Z | ransac/__init__.py | romack77/ransac | efec8a98bfbd613b807c85bcb15ec0605bc9c234 | [
"MIT"
] | null | null | null | ransac/__init__.py | romack77/ransac | efec8a98bfbd613b807c85bcb15ec0605bc9c234 | [
"MIT"
] | null | null | null | from ransac.estimators.jlinkage import JLinkage
from ransac.estimators.ransac import Ransac
from ransac.estimators.ransac import RansacHypothesis
from ransac.estimators.ransac import calculate_ransac_iterations
from ransac.estimators.xransac import calculate_xransac_iterations
from ransac.estimators.xransac import XRan... | 48.818182 | 66 | 0.888268 | 65 | 537 | 7.261538 | 0.276923 | 0.211864 | 0.29661 | 0.165254 | 0.455508 | 0.182203 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074488 | 537 | 10 | 67 | 53.7 | 0.949698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8b8e86e187b68dfb549bc295d06d4743487558b | 12,848 | py | Python | package/tests/test_cp/test_openstack/test_domain/test_services/test_neutron/test_neutron_network_service.py | QualiSystems/OpenStack-Shell | 2e218ee249867550332a9b887a7c50b76ad52e20 | [
"ISC"
] | 1 | 2016-07-06T19:59:33.000Z | 2016-07-06T19:59:33.000Z | package/tests/test_cp/test_openstack/test_domain/test_services/test_neutron/test_neutron_network_service.py | QualiSystems/OpenStack-Shell | 2e218ee249867550332a9b887a7c50b76ad52e20 | [
"ISC"
] | 256 | 2016-07-06T17:02:55.000Z | 2020-10-01T09:35:03.000Z | package/tests/test_cp/test_openstack/test_domain/test_services/test_neutron/test_neutron_network_service.py | QualiSystems/OpenStack-Shell | 2e218ee249867550332a9b887a7c50b76ad52e20 | [
"ISC"
] | 1 | 2017-05-16T20:24:57.000Z | 2017-05-16T20:24:57.000Z | from cloudshell.cp.openstack.domain.services.neutron.neutron_network_service import NeutronNetworkService
import cloudshell.cp.openstack.domain.services.neutron.neutron_network_service as test_neutron_network_service
from unittest import TestCase
from mock import Mock
class TestNeutronNetworkService(TestCase):
d... | 51.187251 | 122 | 0.606476 | 1,442 | 12,848 | 4.989598 | 0.069348 | 0.082001 | 0.072967 | 0.052814 | 0.869076 | 0.858096 | 0.856011 | 0.844475 | 0.833912 | 0.801529 | 0 | 0.025017 | 0.306196 | 12,848 | 251 | 123 | 51.187251 | 0.78214 | 0.012842 | 0 | 0.691011 | 0 | 0.011236 | 0.075245 | 0.002292 | 0 | 0 | 0 | 0 | 0.106742 | 1 | 0.08427 | false | 0 | 0.022472 | 0 | 0.11236 | 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 |
c8bd3c412141066270cfb3952ea713cb568b14b0 | 40 | py | Python | src/app/service/models/__init__.py | serious-notreally/cappa | 993a8df35ca6c3b22f3ca811937fd29c07fc71aa | [
"MIT"
] | 9 | 2020-04-05T07:35:55.000Z | 2021-08-03T05:50:05.000Z | src/app/service/models/__init__.py | serious-notreally/cappa | 993a8df35ca6c3b22f3ca811937fd29c07fc71aa | [
"MIT"
] | 89 | 2020-01-26T11:50:06.000Z | 2022-03-31T07:14:18.000Z | src/app/service/models/__init__.py | serious-notreally/cappa | 993a8df35ca6c3b22f3ca811937fd29c07fc71aa | [
"MIT"
] | 13 | 2020-03-10T14:45:07.000Z | 2021-07-31T02:43:40.000Z | from .menu import *
from .site import *
| 13.333333 | 19 | 0.7 | 6 | 40 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 40 | 2 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8cf2360bedb1109308a303a3311a14f94ffe7f0 | 215 | py | Python | splitp/__init__.py | js51/SplitsPy | 252f9cb906c4a7516729f288644e9c445fc7d62d | [
"MIT"
] | 2 | 2019-11-20T07:30:09.000Z | 2021-02-22T11:26:46.000Z | splitp/__init__.py | js51/SplitsPy | 252f9cb906c4a7516729f288644e9c445fc7d62d | [
"MIT"
] | 14 | 2020-02-18T11:05:03.000Z | 2021-03-02T08:47:19.000Z | splitp/__init__.py | js51/SplitsPy | 252f9cb906c4a7516729f288644e9c445fc7d62d | [
"MIT"
] | 2 | 2020-05-21T17:07:41.000Z | 2021-02-24T01:36:50.000Z | name = "splitp"
from splitp.nx_tree import *
from splitp.parsers import *
from splitp.tree_helper_functions import *
from splitp.squangles import *
from splitp.enums import *
from splitp.tree_reconstruction import * | 30.714286 | 42 | 0.809302 | 30 | 215 | 5.666667 | 0.4 | 0.352941 | 0.470588 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12093 | 215 | 7 | 43 | 30.714286 | 0.899471 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8eb258948b253303aad092e2ce511c31871083e | 178 | py | Python | wrappers/python/tests/pool/test_refresh_pool_ledger.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | 636 | 2017-05-25T07:45:43.000Z | 2022-03-23T22:30:34.000Z | wrappers/python/tests/pool/test_refresh_pool_ledger.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 731 | 2017-05-29T07:15:08.000Z | 2022-03-31T07:55:58.000Z | wrappers/python/tests/pool/test_refresh_pool_ledger.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 904 | 2017-05-25T07:45:49.000Z | 2022-03-31T07:43:31.000Z | import pytest
from indy.pool import refresh_pool_ledger
@pytest.mark.asyncio
async def test_refresh_pool_ledger_works(pool_handle):
await refresh_pool_ledger(pool_handle)
| 19.777778 | 54 | 0.842697 | 27 | 178 | 5.185185 | 0.555556 | 0.235714 | 0.364286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106742 | 178 | 8 | 55 | 22.25 | 0.880503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
c8f36065b5a447280db3d4bd410a0cce62b72155 | 9,880 | py | Python | Classification Model.py | itsnika/Carcinoma | 4b8557db0263930c916527dc50e9a6376a054c25 | [
"MIT"
] | null | null | null | Classification Model.py | itsnika/Carcinoma | 4b8557db0263930c916527dc50e9a6376a054c25 | [
"MIT"
] | null | null | null | Classification Model.py | itsnika/Carcinoma | 4b8557db0263930c916527dc50e9a6376a054c25 | [
"MIT"
] | null | null | null | ########################################################## CARCINOMA ##########################################################
################################### LIBRARIES AND MODULES TO BE USED THROUGH ALL THE MODELS ###################################
# Importing the libraries and the modules needed
import tensor... | 36.323529 | 129 | 0.698077 | 1,448 | 9,880 | 4.634669 | 0.133287 | 0.03755 | 0.026822 | 0.034868 | 0.79094 | 0.77902 | 0.767546 | 0.767546 | 0.767546 | 0.762778 | 0 | 0.014353 | 0.118522 | 9,880 | 272 | 130 | 36.323529 | 0.756229 | 0.2083 | 0 | 0.769231 | 0 | 0 | 0.171393 | 0.013066 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.123077 | 0 | 0.123077 | 0.087179 | 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 |
cdbd13f54687e28715dbac908e37660007e66fb9 | 20,342 | py | Python | tests/test_checks.py | jeremytiki/Tanjun | 9ca8c9412e7f938b01576c958392f38ff761392b | [
"BSD-3-Clause"
] | 87 | 2021-01-28T06:46:02.000Z | 2022-03-22T03:23:38.000Z | tests/test_checks.py | jeremytiki/Tanjun | 9ca8c9412e7f938b01576c958392f38ff761392b | [
"BSD-3-Clause"
] | 54 | 2020-11-23T12:54:21.000Z | 2022-03-31T10:47:24.000Z | tests/test_checks.py | jeremytiki/Tanjun | 9ca8c9412e7f938b01576c958392f38ff761392b | [
"BSD-3-Clause"
] | 16 | 2021-08-07T02:11:15.000Z | 2022-03-14T06:15:33.000Z | # -*- coding: utf-8 -*-
# cython: language_level=3
# BSD 3-Clause License
#
# Copyright (c) 2020-2021, Faster Speeding
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of sour... | 42.29106 | 119 | 0.747714 | 2,702 | 20,342 | 5.329016 | 0.094745 | 0.085562 | 0.041114 | 0.051392 | 0.855059 | 0.81964 | 0.786513 | 0.761928 | 0.735259 | 0.714702 | 0 | 0.003248 | 0.167486 | 20,342 | 480 | 120 | 42.379167 | 0.847003 | 0.081162 | 0 | 0.640379 | 0 | 0 | 0.02696 | 0.001126 | 0 | 0 | 0 | 0 | 0.280757 | 1 | 0.072555 | false | 0 | 0.015773 | 0.003155 | 0.119874 | 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 |
cdbfa1708fedfa8ca9d94cbb23c0e98f0a7f533f | 13,082 | py | Python | tests/test_with_shared_empty_database/test_task_sync_scraped_data.py | a-luna/vigorish | 6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6 | [
"MIT"
] | 2 | 2021-07-15T13:53:33.000Z | 2021-07-25T17:03:29.000Z | tests/test_with_shared_empty_database/test_task_sync_scraped_data.py | a-luna/vigorish | 6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6 | [
"MIT"
] | 650 | 2019-05-18T07:00:12.000Z | 2022-01-21T19:38:55.000Z | tests/test_with_shared_empty_database/test_task_sync_scraped_data.py | a-luna/vigorish | 6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6 | [
"MIT"
] | 2 | 2020-03-28T21:01:31.000Z | 2022-01-06T05:16:11.000Z | from collections import namedtuple
from datetime import datetime, timedelta, timezone
from pathlib import Path
from unittest.mock import call, patch, PropertyMock
from click.testing import CliRunner
from tests.conftest import ROOT_FOLDER
from vigorish.cli.vig import cli
from vigorish.enums import DataSet, SyncDirecti... | 44.496599 | 111 | 0.734597 | 2,025 | 13,082 | 4.22963 | 0.090864 | 0.049037 | 0.075306 | 0.073555 | 0.866783 | 0.8439 | 0.811325 | 0.780385 | 0.731232 | 0.713835 | 0 | 0.046794 | 0.193013 | 13,082 | 293 | 112 | 44.648464 | 0.764516 | 0.030041 | 0 | 0.547414 | 0 | 0 | 0.122634 | 0.085252 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.081897 | false | 0 | 0.038793 | 0 | 0.168103 | 0.017241 | 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 |
cdef49ec10ca0936d16511485e5f07d3b23a3b0c | 366 | py | Python | src/core/compile.py | ravenSanstete/hako | fe72c76e9f319add1921a63dee711f90f4960873 | [
"MIT"
] | 1 | 2016-11-17T07:15:00.000Z | 2016-11-17T07:15:00.000Z | src/core/compile.py | ravenSanstete/hako | fe72c76e9f319add1921a63dee711f90f4960873 | [
"MIT"
] | 6 | 2016-11-17T10:27:38.000Z | 2016-11-18T13:20:05.000Z | src/core/compile.py | ravenSanstete/hako | fe72c76e9f319add1921a63dee711f90f4960873 | [
"MIT"
] | null | null | null | import compileall
import os
print()
print()
print('################################## Begin of Syntax Check #####################################')
print()
print()
compileall.compile_dir(os.path.join(os.getcwd(),'core'), force=1);
print()
print()
print('################################## End of Syntax Check ##########... | 24.4 | 103 | 0.428962 | 33 | 366 | 4.727273 | 0.515152 | 0.384615 | 0.192308 | 0.230769 | 0.294872 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00295 | 0.07377 | 366 | 14 | 104 | 26.142857 | 0.457227 | 0 | 0 | 0.615385 | 0 | 0 | 0.519126 | 0.387978 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.153846 | 0 | 0.153846 | 0.769231 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a82b7d7636ea8a60b06c2e24b52eee5d7df3b72e | 27 | py | Python | src/euler_python_package/euler_python/medium/p423.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p423.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p423.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem423():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b54b313cf2470a372e73d7bce2828ce0a4ee3f41 | 78 | py | Python | bitfinex/rest/__init__.py | iulian-moraru/bitfinex | 24ed88cc44ffcda5bda439c9265d77fe9db71804 | [
"MIT"
] | 63 | 2018-02-26T19:12:03.000Z | 2022-01-18T13:17:39.000Z | bitfinex/rest/__init__.py | iulian-moraru/bitfinex | 24ed88cc44ffcda5bda439c9265d77fe9db71804 | [
"MIT"
] | 36 | 2018-07-19T10:01:57.000Z | 2022-02-06T15:35:09.000Z | bitfinex/rest/__init__.py | iulian-moraru/bitfinex | 24ed88cc44ffcda5bda439c9265d77fe9db71804 | [
"MIT"
] | 47 | 2018-06-29T13:49:34.000Z | 2022-01-03T21:23:37.000Z | from .restv1 import Client as ClientV1
from .restv2 import Client as ClientV2
| 26 | 38 | 0.820513 | 12 | 78 | 5.333333 | 0.666667 | 0.375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.153846 | 78 | 2 | 39 | 39 | 0.909091 | 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 |
b571e58ef8af7a65b2a563455e56e431b3fe1a0e | 45 | py | Python | src/pyfx/view/theme/__init__.py | cielong/pyfx | 8c7ad55854a4f8cc59efa9f770b07f64522187e6 | [
"MIT"
] | 9 | 2020-10-09T05:45:32.000Z | 2022-03-01T01:38:27.000Z | src/pyfx/view/theme/__init__.py | cielong/pyfx | 8c7ad55854a4f8cc59efa9f770b07f64522187e6 | [
"MIT"
] | 19 | 2020-12-22T00:08:50.000Z | 2022-03-12T00:16:06.000Z | src/pyfx/view/theme/__init__.py | cielong/pyfx | 8c7ad55854a4f8cc59efa9f770b07f64522187e6 | [
"MIT"
] | 1 | 2020-11-26T14:39:10.000Z | 2020-11-26T14:39:10.000Z | from .theme_config import ThemeConfiguration
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 |
b572f657ce902a29b04cfe70b09c53869b173693 | 37 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_sankey.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_sankey.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_sankey.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import Sankey
| 18.5 | 36 | 0.864865 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
b593b6f89ce3b98e0a8c3cb72b9ec6550301b586 | 11,746 | py | Python | tests/integration/operators_test/slice_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | tests/integration/operators_test/slice_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | tests/integration/operators_test/slice_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | # Copyright (c) 2019 Graphcore Ltd. All rights reserved.
import numpy as np
import popart
import torch
import pytest
from op_tester import op_tester
# `import test_util` requires adding to sys.path
import sys
from pathlib import Path
sys.path.append(Path(__file__).resolve().parent.parent)
import test_util as tu
def ... | 31.074074 | 81 | 0.620722 | 1,607 | 11,746 | 4.45364 | 0.118855 | 0.043035 | 0.026827 | 0.03521 | 0.847143 | 0.846584 | 0.819058 | 0.814028 | 0.813469 | 0.813469 | 0 | 0.049837 | 0.241529 | 11,746 | 377 | 82 | 31.156499 | 0.753508 | 0.121062 | 0 | 0.673469 | 0 | 0 | 0.027011 | 0.003327 | 0 | 0 | 0 | 0 | 0.016327 | 1 | 0.146939 | false | 0 | 0.032653 | 0.008163 | 0.277551 | 0.008163 | 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 |
b5a8068d337ffb8c4f656c68a23745e6b0b833b8 | 40 | py | Python | openmlaslib/utils/__init__.py | openml/openml-aslib | 5b98f2e4658f17555c2d01a9b88571fe9dfa0027 | [
"BSD-3-Clause"
] | 1 | 2018-04-03T08:54:52.000Z | 2018-04-03T08:54:52.000Z | openmlaslib/utils/__init__.py | openml/openml-aslib | 5b98f2e4658f17555c2d01a9b88571fe9dfa0027 | [
"BSD-3-Clause"
] | null | null | null | openmlaslib/utils/__init__.py | openml/openml-aslib | 5b98f2e4658f17555c2d01a9b88571fe9dfa0027 | [
"BSD-3-Clause"
] | null | null | null | from .scenario import generate_scenario
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a912b49f26dc308a160ea08c0a7e83d663c88444 | 4,212 | py | Python | test_task/clients/migrations/0003_auto_20181011_1029.py | opqx/PythonDevTest | aec05b1cd3d92e496160efe87a03ae44360f6c83 | [
"MIT"
] | null | null | null | test_task/clients/migrations/0003_auto_20181011_1029.py | opqx/PythonDevTest | aec05b1cd3d92e496160efe87a03ae44360f6c83 | [
"MIT"
] | null | null | null | test_task/clients/migrations/0003_auto_20181011_1029.py | opqx/PythonDevTest | aec05b1cd3d92e496160efe87a03ae44360f6c83 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.1 on 2018-10-11 07:29
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('clients', '0002_auto_20181004_2158'),
]
operations = [
migrations.CreateModel(
name='Building',... | 43.875 | 116 | 0.582621 | 418 | 4,212 | 5.741627 | 0.143541 | 0.046667 | 0.075833 | 0.119167 | 0.788333 | 0.788333 | 0.76875 | 0.76875 | 0.76875 | 0.76875 | 0 | 0.015057 | 0.274691 | 4,212 | 95 | 117 | 44.336842 | 0.77054 | 0.010684 | 0 | 0.651685 | 1 | 0 | 0.113565 | 0.005522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022472 | 0 | 0.05618 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d1842d13df3bcda0bae878a0a30e9b12d1ee46b | 172 | py | Python | cicada2/shared/util.py | herzo175/cicada-2 | be838e7183dccfceafe02b61b0fe2307d50aab69 | [
"BSD-3-Clause"
] | 11 | 2020-05-05T22:42:09.000Z | 2020-05-11T04:13:17.000Z | cicada2/shared/util.py | cicadatesting/cicada-2 | be838e7183dccfceafe02b61b0fe2307d50aab69 | [
"BSD-3-Clause"
] | 8 | 2020-09-24T12:31:54.000Z | 2022-02-19T01:15:42.000Z | cicada2/shared/util.py | cicadatesting/cicada-2 | be838e7183dccfceafe02b61b0fe2307d50aab69 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T22:41:33.000Z | 2020-05-05T22:41:33.000Z | from datetime import datetime
def get_runtime_ms(start: datetime, end: datetime) -> int:
return int((end - start).seconds * 1000 + (end - start).microseconds / 1000)
| 28.666667 | 80 | 0.709302 | 23 | 172 | 5.217391 | 0.608696 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0.168605 | 172 | 5 | 81 | 34.4 | 0.783217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8d1ec80b0a36ce9c77b26351df8a98a56a4c5033 | 21 | py | Python | wepppy/topaz/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/topaz/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | wepppy/topaz/__init__.py | hwbeeson/wepppy | 6358552df99853c75be8911e7ef943108ae6923e | [
"BSD-3-Clause"
] | null | null | null | from .topaz 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 |
8d2877a17bb1eeda2c118db584e1b6b5e0425484 | 10,870 | py | Python | xanthus/models/legacy/neural.py | markdouthwaite/xanthus | 8d4e64bd49e4bdec1e640d72ecffbc0a9d0f0c01 | [
"MIT"
] | 4 | 2020-07-15T21:02:46.000Z | 2020-07-17T16:35:03.000Z | xanthus/models/legacy/neural.py | markdouthwaite/xanthus | 8d4e64bd49e4bdec1e640d72ecffbc0a9d0f0c01 | [
"MIT"
] | 2 | 2021-11-10T19:52:54.000Z | 2022-02-10T02:11:33.000Z | xanthus/models/legacy/neural.py | markdouthwaite/xanthus | 8d4e64bd49e4bdec1e640d72ecffbc0a9d0f0c01 | [
"MIT"
] | null | null | null | """
The MIT License
Copyright (c) 2018-2020 Mark Douthwaite
"""
from typing import Optional, Any, Tuple
from tensorflow.keras import Model
from tensorflow.keras.layers import Multiply, Dense, Concatenate
from tensorflow.keras.initializers import lecun_uniform
from tensorflow.keras.regularizers import l2
from xanthus... | 33.757764 | 88 | 0.618031 | 1,386 | 10,870 | 4.665945 | 0.13925 | 0.017783 | 0.012371 | 0.0167 | 0.841039 | 0.830215 | 0.80934 | 0.799753 | 0.799753 | 0.799753 | 0 | 0.027879 | 0.293836 | 10,870 | 321 | 89 | 33.862928 | 0.814617 | 0.430635 | 0 | 0.7 | 0 | 0 | 0.005444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.061538 | 0 | 0.146154 | 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 |
8da41c7aaa92dcca0cf95fa15b930b129d4c891f | 82 | py | Python | examples/simple_example/simple_module/level_two/other.py | jakab922/pytest-automock | 8941e50bceb7b50345e644f3b1d35f2331817f0d | [
"MIT"
] | null | null | null | examples/simple_example/simple_module/level_two/other.py | jakab922/pytest-automock | 8941e50bceb7b50345e644f3b1d35f2331817f0d | [
"MIT"
] | null | null | null | examples/simple_example/simple_module/level_two/other.py | jakab922/pytest-automock | 8941e50bceb7b50345e644f3b1d35f2331817f0d | [
"MIT"
] | null | null | null | from simple_module.one import func
def other_func(a, b):
return b, func(a)
| 11.714286 | 34 | 0.695122 | 15 | 82 | 3.666667 | 0.733333 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 82 | 6 | 35 | 13.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
93efc7b9dfee1710ba4cc3da9c9a3779d1209456 | 189 | py | Python | iguanas/exceptions/tests/test_exceptions.py | Aditya-Kapadiya/Iguanas | dcc2c1e71f00574c3427fa530191e7079834c11b | [
"Apache-2.0"
] | null | null | null | iguanas/exceptions/tests/test_exceptions.py | Aditya-Kapadiya/Iguanas | dcc2c1e71f00574c3427fa530191e7079834c11b | [
"Apache-2.0"
] | null | null | null | iguanas/exceptions/tests/test_exceptions.py | Aditya-Kapadiya/Iguanas | dcc2c1e71f00574c3427fa530191e7079834c11b | [
"Apache-2.0"
] | null | null | null | from iguanas.exceptions import DataFrameSizeError, NoRulesError
def test_exceptions():
assert issubclass(DataFrameSizeError, Exception)
assert issubclass(NoRulesError, Exception)
| 27 | 63 | 0.820106 | 17 | 189 | 9.058824 | 0.647059 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121693 | 189 | 6 | 64 | 31.5 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f552e7125cdd00546691a57998770cd07487d20e | 142 | py | Python | tests/demoapp/demo/admin.py | saxix/drf-api-checker | f33fd0c0e7e55be3a892d16e27e6ee8e7a16eee4 | [
"MIT"
] | 22 | 2018-06-05T21:29:05.000Z | 2022-02-28T23:26:25.000Z | tests/demoapp/demo/admin.py | saxix/drf-api-checker | f33fd0c0e7e55be3a892d16e27e6ee8e7a16eee4 | [
"MIT"
] | 4 | 2019-12-06T12:30:03.000Z | 2020-09-10T16:53:49.000Z | tests/demoapp/demo/admin.py | saxix/drf-api-checker | f33fd0c0e7e55be3a892d16e27e6ee8e7a16eee4 | [
"MIT"
] | null | null | null | from django.contrib.admin import ModelAdmin, register
from .models import Master
@register(Master)
class MasterAdmin(ModelAdmin):
pass
| 15.777778 | 53 | 0.788732 | 17 | 142 | 6.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 8 | 54 | 17.75 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f569aa1925aae7f13a1d49e176f3b6b50d3d7ba1 | 253 | py | Python | joint_calling/__init__.py | Monia234/populationgenomics-joint-calling. | 01e407d2b3b710cc2e82a785978ae9113a85b9c1 | [
"MIT"
] | null | null | null | joint_calling/__init__.py | Monia234/populationgenomics-joint-calling. | 01e407d2b3b710cc2e82a785978ae9113a85b9c1 | [
"MIT"
] | 23 | 2021-03-10T11:43:27.000Z | 2022-02-10T13:06:15.000Z | joint_calling/__init__.py | Monia234/populationgenomics-joint-calling. | 01e407d2b3b710cc2e82a785978ae9113a85b9c1 | [
"MIT"
] | 1 | 2021-02-26T02:24:17.000Z | 2021-02-26T02:24:17.000Z | """
Just defines `package_path` which returns the local install path of the package
"""
from os.path import dirname, abspath
def get_package_path():
"""
:return: local install path of the package
"""
return dirname(abspath(__file__))
| 19.461538 | 79 | 0.699605 | 34 | 253 | 5 | 0.558824 | 0.129412 | 0.188235 | 0.211765 | 0.329412 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201581 | 253 | 12 | 80 | 21.083333 | 0.841584 | 0.482213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f56c85d733907ff6242adfa7e46ffca38c64622f | 761 | py | Python | opytimizer/optimizers/population/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 528 | 2018-10-01T20:00:09.000Z | 2022-03-27T11:15:31.000Z | opytimizer/optimizers/population/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 17 | 2019-10-30T00:47:03.000Z | 2022-03-21T11:39:28.000Z | opytimizer/optimizers/population/__init__.py | anukaal/opytimizer | 5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9 | [
"Apache-2.0"
] | 35 | 2018-10-01T20:03:23.000Z | 2022-03-20T03:54:15.000Z | """An evolutionary package for all common opytimizer modules.
It contains implementations of population-based optimizers.
"""
from opytimizer.optimizers.population.aeo import AEO
from opytimizer.optimizers.population.ao import AO
from opytimizer.optimizers.population.coa import COA
from opytimizer.optimizers.populatio... | 44.764706 | 61 | 0.856767 | 99 | 761 | 6.585859 | 0.292929 | 0.257669 | 0.441718 | 0.625767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0841 | 761 | 16 | 62 | 47.5625 | 0.935438 | 0.155059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f570c76fd5c2e6f20420ae78eb1d6918196b12ac | 2,588 | py | Python | microservices/policyApi/auth/auth.py | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 9 | 2018-09-14T18:03:45.000Z | 2021-06-16T16:04:25.000Z | microservices/policyApi/auth/auth.py | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 173 | 2019-01-18T19:25:05.000Z | 2022-01-10T21:15:46.000Z | microservices/policyApi/auth/auth.py | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 3 | 2018-09-24T15:44:39.000Z | 2018-11-24T01:04:37.000Z | from functools import wraps
from flask import request, abort, Response
from config import Config
from flask_jwt_simple import JWTManager
from flask_jwt_simple.view_decorators import _decode_jwt_from_headers
def jwt_config(app):
config = Config()
app.config['JWT_SECRET_KEY'] = config.data['jwtSecret']
app.c... | 25.88 | 87 | 0.602782 | 311 | 2,588 | 4.890675 | 0.186495 | 0.059172 | 0.03616 | 0.055884 | 0.740302 | 0.740302 | 0.723866 | 0.723866 | 0.723866 | 0.723866 | 0 | 0.008112 | 0.285549 | 2,588 | 99 | 88 | 26.141414 | 0.814494 | 0.146445 | 0 | 0.724138 | 0 | 0 | 0.148113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155172 | false | 0 | 0.086207 | 0 | 0.413793 | 0.086207 | 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 |
f5a1cc66432beffb6896836691f2677381051f5d | 37 | py | Python | packman/conditions/__init__.py | audoh/packager | 299f297da8465ec40eb9ffffa40fcfaa6bcf0102 | [
"MIT"
] | null | null | null | packman/conditions/__init__.py | audoh/packager | 299f297da8465ec40eb9ffffa40fcfaa6bcf0102 | [
"MIT"
] | null | null | null | packman/conditions/__init__.py | audoh/packager | 299f297da8465ec40eb9ffffa40fcfaa6bcf0102 | [
"MIT"
] | null | null | null | from . import either, exists # noqa
| 18.5 | 36 | 0.702703 | 5 | 37 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 1 | 37 | 37 | 0.896552 | 0.108108 | 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 |
f5a8ed20763d33e4065da2e2f7c5fac5e8c20a11 | 41 | py | Python | python/cinn/poly.py | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | 1 | 2019-10-23T09:16:23.000Z | 2019-10-23T09:16:23.000Z | python/cinn/poly.py | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | python/cinn/poly.py | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | from .core_api.poly import create_stages
| 20.5 | 40 | 0.853659 | 7 | 41 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 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 |
194ef11ac491b3ab497791bf7dcb9fbd41b21396 | 47 | py | Python | recommender/contrib/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 7 | 2020-04-16T18:25:15.000Z | 2022-02-20T03:57:31.000Z | recommender/contrib/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 4 | 2020-04-10T05:40:48.000Z | 2022-01-13T01:40:24.000Z | recommender/contrib/__init__.py | stungkit/stock_trend_analysis | e9d3f2db19a9af93cc8dc55c2394ae88c1b3ee6e | [
"MIT"
] | 4 | 2020-11-30T06:43:42.000Z | 2021-03-12T05:42:13.000Z | from . import financialmodelingprep as fmp_api
| 23.5 | 46 | 0.851064 | 6 | 47 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.95122 | 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 |
2716f9cb0c0cc9f41cdff9357cc7ff44493108da | 8,489 | py | Python | quara/objects/tester_typical.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 3 | 2021-05-19T11:44:30.000Z | 2022-03-30T07:13:49.000Z | quara/objects/tester_typical.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 2 | 2021-06-02T01:24:59.000Z | 2021-06-02T12:20:31.000Z | quara/objects/tester_typical.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 1 | 2021-10-14T13:21:27.000Z | 2021-10-14T13:21:27.000Z | from typing import List, Union
from itertools import product
# Quara
from quara.objects.composite_system import CompositeSystem
from quara.objects.operators import compose_qoperations
from quara.objects.state import State
from quara.objects.povm import Povm
from quara.objects.gate import (
get_depolarizing_channel... | 25.724242 | 128 | 0.638945 | 1,164 | 8,489 | 4.454467 | 0.085911 | 0.044744 | 0.058631 | 0.055545 | 0.809836 | 0.745998 | 0.732498 | 0.732498 | 0.727483 | 0.727483 | 0 | 0.01056 | 0.263753 | 8,489 | 329 | 129 | 25.802432 | 0.81904 | 0.253976 | 0 | 0.610778 | 0 | 0 | 0.030456 | 0 | 0 | 0 | 0 | 0 | 0.083832 | 1 | 0.047904 | false | 0 | 0.065868 | 0 | 0.161677 | 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 |
2735b75258f001b84e9bd3741feb44e9c2a07d9f | 18 | py | Python | tasks/processing/entity_parser/__init__.py | getdumont/dumont | 3d3be9463c45378bf872ebb9ab9f2e267ee9a65c | [
"MIT"
] | 1 | 2018-09-13T23:39:38.000Z | 2018-09-13T23:39:38.000Z | tasks/processing/entity_parser/__init__.py | getdumont/dumont | 3d3be9463c45378bf872ebb9ab9f2e267ee9a65c | [
"MIT"
] | null | null | null | tasks/processing/entity_parser/__init__.py | getdumont/dumont | 3d3be9463c45378bf872ebb9ab9f2e267ee9a65c | [
"MIT"
] | null | null | null | from .url import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
2747144a2f995e21d0dff4f2a82191bf92d08464 | 24 | py | Python | QuickSound/__init__.py | Pouple/QuickSound | 213062a3880df5727e26887816c853a69b4c3c2a | [
"MIT"
] | null | null | null | QuickSound/__init__.py | Pouple/QuickSound | 213062a3880df5727e26887816c853a69b4c3c2a | [
"MIT"
] | null | null | null | QuickSound/__init__.py | Pouple/QuickSound | 213062a3880df5727e26887816c853a69b4c3c2a | [
"MIT"
] | null | null | null | from .Sound import Sound | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2781ce3b2e4e386974155c68029f36e840bf4185 | 7,023 | py | Python | tests/test_gui/test_ui_layout_box.py | Mr-Coxall/arcade | 7767e9c7d7395c0dd35479744052f18ac8c86679 | [
"MIT"
] | null | null | null | tests/test_gui/test_ui_layout_box.py | Mr-Coxall/arcade | 7767e9c7d7395c0dd35479744052f18ac8c86679 | [
"MIT"
] | null | null | null | tests/test_gui/test_ui_layout_box.py | Mr-Coxall/arcade | 7767e9c7d7395c0dd35479744052f18ac8c86679 | [
"MIT"
] | null | null | null | import pytest
import arcade
from arcade import SpriteSolidColor
from arcade.gui.layouts.box import UIBoxLayout
from . import t, dummy_element
@pytest.fixture()
def v_layout():
return UIBoxLayout()
def test_vertical(v_layout):
v_layout.top = 200
v_layout.left = 100
element_1 = dummy_element()
e... | 24.904255 | 78 | 0.65257 | 1,000 | 7,023 | 4.375 | 0.083 | 0.0416 | 0.0512 | 0.043886 | 0.827886 | 0.766857 | 0.747886 | 0.7152 | 0.708114 | 0.693943 | 0 | 0.072012 | 0.215008 | 7,023 | 281 | 79 | 24.992883 | 0.721567 | 0.00356 | 0 | 0.695431 | 0 | 0 | 0.086347 | 0 | 0 | 0 | 0 | 0 | 0.147208 | 1 | 0.086294 | false | 0 | 0.025381 | 0.010152 | 0.121827 | 0.020305 | 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 |
27e8ed033c8dced26ccf8826e9e3cff201cead52 | 3,635 | py | Python | upload/views.py | and-sm/testgr | 26e08c37f6ba399baec3d0dd92b4ebcffbf1081d | [
"MIT"
] | 16 | 2018-09-19T10:31:29.000Z | 2022-03-04T16:04:05.000Z | upload/views.py | and-sm/testgr | 26e08c37f6ba399baec3d0dd92b4ebcffbf1081d | [
"MIT"
] | 4 | 2019-12-11T11:42:58.000Z | 2022-03-12T00:54:08.000Z | upload/views.py | and-sm/testgr | 26e08c37f6ba399baec3d0dd92b4ebcffbf1081d | [
"MIT"
] | 2 | 2019-06-04T05:59:13.000Z | 2019-11-28T14:46:16.000Z | import magic
import json
from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework import status
from rest_framework.permissions import IsAuthenticated
from rest_framework.authentication import TokenAuthentication
from django.http import JsonResponse
from loader.models i... | 36.35 | 90 | 0.578817 | 375 | 3,635 | 5.485333 | 0.226667 | 0.040836 | 0.041322 | 0.080214 | 0.749635 | 0.731648 | 0.731648 | 0.727273 | 0.727273 | 0.727273 | 0 | 0.01623 | 0.338927 | 3,635 | 99 | 91 | 36.717172 | 0.839784 | 0 | 0 | 0.75 | 0 | 0 | 0.049797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.180556 | 0 | 0.416667 | 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 |
fd6fa0d6c2552a0bc729b1182301321329d2af0b | 17,106 | py | Python | tests/test_local_harness.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | 1 | 2021-04-12T17:20:54.000Z | 2021-04-12T17:20:54.000Z | tests/test_local_harness.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | 92 | 2021-03-08T22:32:15.000Z | 2022-03-25T03:53:01.000Z | tests/test_local_harness.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | null | null | null | """Tests for PAR Interface."""
import os
import pytest
TEST_ID_NAME = "test_ids.csv"
def _initialize_session(
local_interface, protocol_name, domain="image_classification", hints=()
):
"""
Private function to initialize session.
Args:
local_interface (LocalInterface): An instance of LocalI... | 33.345029 | 88 | 0.710862 | 2,124 | 17,106 | 5.362053 | 0.071563 | 0.088506 | 0.06638 | 0.06638 | 0.81728 | 0.787514 | 0.746861 | 0.731759 | 0.714813 | 0.689964 | 0 | 0.049235 | 0.193792 | 17,106 | 512 | 89 | 33.410156 | 0.776593 | 0.158249 | 0 | 0.465753 | 0 | 0 | 0.187189 | 0.09327 | 0 | 0 | 0 | 0 | 0.034247 | 1 | 0.054795 | false | 0 | 0.054795 | 0 | 0.116438 | 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 |
fdbfbb601864a10f059d2b1910ab2051ce6db33b | 137 | py | Python | piqs/__init__.py | nathanshammah/pim | 50c32f1fb2c129e9bada994cb341923318b42cfa | [
"BSD-3-Clause"
] | 17 | 2018-04-19T04:49:19.000Z | 2021-05-21T23:47:40.000Z | piqs/__init__.py | nathanshammah/pim | 50c32f1fb2c129e9bada994cb341923318b42cfa | [
"BSD-3-Clause"
] | 11 | 2018-03-14T10:15:33.000Z | 2020-12-30T16:30:46.000Z | piqs/__init__.py | nathanshammah/pim | 50c32f1fb2c129e9bada994cb341923318b42cfa | [
"BSD-3-Clause"
] | 9 | 2018-01-22T09:26:14.000Z | 2022-02-16T22:21:27.000Z | from piqs.dicke import *
from piqs.cy.dicke import jmm1_dictionary
from piqs.about import *
from piqs.cite import *
__version__ = '1.0'
| 19.571429 | 41 | 0.766423 | 22 | 137 | 4.545455 | 0.545455 | 0.32 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.145985 | 137 | 6 | 42 | 22.833333 | 0.82906 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
fde5064dc79f2580660ad01b2f484c00249118af | 2,262 | py | Python | tests/test_api.py | yakky/microservice-talk | 5b59783d5d1f38994e960883f9026a2b11416c7e | [
"CNRI-Python"
] | null | null | null | tests/test_api.py | yakky/microservice-talk | 5b59783d5d1f38994e960883f9026a2b11416c7e | [
"CNRI-Python"
] | 61 | 2020-11-16T06:49:52.000Z | 2022-03-28T00:15:10.000Z | tests/test_api.py | yakky/microservice-talk | 5b59783d5d1f38994e960883f9026a2b11416c7e | [
"CNRI-Python"
] | null | null | null | from urllib.parse import urlencode
import httpx
import pytest
from book_search.main import app
@pytest.mark.asyncio
async def test_search_basic(load_books):
async with httpx.AsyncClient(app=app, base_url="http://testserver") as client:
url = app.url_path_for("search")
params = urlencode({"q": "S... | 34.8 | 82 | 0.611406 | 294 | 2,262 | 4.602041 | 0.234694 | 0.073171 | 0.075388 | 0.053215 | 0.85218 | 0.85218 | 0.85218 | 0.826312 | 0.826312 | 0.826312 | 0 | 0.025176 | 0.244916 | 2,262 | 64 | 83 | 35.34375 | 0.766979 | 0 | 0 | 0.666667 | 0 | 0 | 0.14191 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 1 | 0 | false | 0 | 0.074074 | 0 | 0.074074 | 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 |
fdfe5b83096c46d389e087a436535f3ebea88631 | 173 | py | Python | operations/query_session.py | tranaj2/Crockpot | 435a3c89fffeb94dbab24845fac11a75c795444a | [
"MIT"
] | null | null | null | operations/query_session.py | tranaj2/Crockpot | 435a3c89fffeb94dbab24845fac11a75c795444a | [
"MIT"
] | 5 | 2018-02-21T03:40:48.000Z | 2018-04-17T06:38:48.000Z | operations/query_session.py | tranaj2/CrockPot | 435a3c89fffeb94dbab24845fac11a75c795444a | [
"MIT"
] | null | null | null | """ Module used to get a handle to the DB session """
from config import Config
def get_session():
"""Get a handle to the DB session"""
return Config.SA_SESSION()
| 21.625 | 53 | 0.682081 | 28 | 173 | 4.142857 | 0.535714 | 0.068966 | 0.172414 | 0.206897 | 0.413793 | 0.413793 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0.213873 | 173 | 7 | 54 | 24.714286 | 0.852941 | 0.439306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e321e388a6626fd4006e15daddeaab00143d3e62 | 49 | py | Python | Beat-Ai/BeatSaber-AI/BeatSaber-AI/phase2/creatingWalls.py | Codingmace/BeatSaber-AI | 1978c68ac983320996eb9161b603ab12be868d0c | [
"MIT"
] | null | null | null | Beat-Ai/BeatSaber-AI/BeatSaber-AI/phase2/creatingWalls.py | Codingmace/BeatSaber-AI | 1978c68ac983320996eb9161b603ab12be868d0c | [
"MIT"
] | null | null | null | Beat-Ai/BeatSaber-AI/BeatSaber-AI/phase2/creatingWalls.py | Codingmace/BeatSaber-AI | 1978c68ac983320996eb9161b603ab12be868d0c | [
"MIT"
] | null | null | null | # TODO
# Feature to add later if get around to it | 24.5 | 42 | 0.734694 | 10 | 49 | 3.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 49 | 2 | 42 | 24.5 | 0.947368 | 0.918367 | 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 |
8b53eb9931550d6004f00345b51705db23a7af49 | 26 | py | Python | crawler/rpc/__init__.py | ly0/pycrawler | 3be0879b2c342297aa42e642552a988a8295a0eb | [
"MIT"
] | 2 | 2016-10-20T01:40:46.000Z | 2017-03-31T08:27:35.000Z | crawler/rpc/__init__.py | ly0/pycrawler | 3be0879b2c342297aa42e642552a988a8295a0eb | [
"MIT"
] | null | null | null | crawler/rpc/__init__.py | ly0/pycrawler | 3be0879b2c342297aa42e642552a988a8295a0eb | [
"MIT"
] | null | null | null | from .tornadorpc import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b6ef8cb4ea81cd172549ddeafb3209426d937f5 | 38 | py | Python | brainframe_qt/ui/main_window/video_expanded_view/video_large/stream_overlay/titlebar/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 17 | 2021-02-11T18:19:22.000Z | 2022-02-08T06:12:50.000Z | brainframe_qt/ui/main_window/video_expanded_view/video_large/stream_overlay/titlebar/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 80 | 2021-02-11T08:27:31.000Z | 2021-10-13T21:33:22.000Z | brainframe_qt/ui/main_window/video_expanded_view/video_large/stream_overlay/titlebar/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 5 | 2021-02-12T09:51:34.000Z | 2022-02-08T09:25:15.000Z | from .titlebar import OverlayTitlebar
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b94da8026e16e75c82b0f4bfa9f60215675b895 | 9,107 | py | Python | unified_focal_loss_pytorch.py | oikosohn/compound-loss-pytorch | f53491f498434565c07761db99cea8b7079c14fe | [
"Apache-2.0"
] | 4 | 2021-12-29T13:55:11.000Z | 2022-03-08T11:17:28.000Z | unified_focal_loss_pytorch.py | oikosohn/compound-loss-pytorch | f53491f498434565c07761db99cea8b7079c14fe | [
"Apache-2.0"
] | 1 | 2022-03-30T05:45:16.000Z | 2022-03-30T05:45:16.000Z | unified_focal_loss_pytorch.py | oikosohn/compound-loss-pytorch | f53491f498434565c07761db99cea8b7079c14fe | [
"Apache-2.0"
] | 2 | 2021-12-29T13:55:10.000Z | 2022-03-06T14:43:17.000Z | import torch
import torch.nn as nn
# Helper function to enable loss function to be flexibly used for
# both 2D or 3D image segmentation - source: https://github.com/frankkramer-lab/MIScnn
def identify_axis(shape):
# Three dimensional
if len(shape) == 5 : return [1,2,3]
# Two dimensional
elif len(sh... | 40.475556 | 149 | 0.659932 | 1,233 | 9,107 | 4.748581 | 0.135442 | 0.024765 | 0.023911 | 0.017079 | 0.803587 | 0.797438 | 0.781896 | 0.773356 | 0.766866 | 0.754227 | 0 | 0.020602 | 0.237839 | 9,107 | 224 | 150 | 40.65625 | 0.822936 | 0.408038 | 0 | 0.653061 | 0 | 0 | 0.008646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132653 | false | 0 | 0.020408 | 0 | 0.295918 | 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 |
8be95b97597714bfa42bc5fa7d9964706a7ce82d | 285 | py | Python | securityheaders/checkers/xframeoptions/checker.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 151 | 2018-07-29T22:34:43.000Z | 2022-03-22T05:08:27.000Z | securityheaders/checkers/xframeoptions/checker.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 5 | 2019-04-24T07:31:36.000Z | 2021-04-15T14:31:23.000Z | securityheaders/checkers/xframeoptions/checker.py | th3cyb3rc0p/securityheaders | 941264be581dc01afe28f6416f2d7bed79aecfb3 | [
"Apache-2.0"
] | 42 | 2018-07-31T08:18:59.000Z | 2022-03-28T08:18:32.000Z | from securityheaders.models.xframeoptions import XFrameOptions
from securityheaders.checkers import Checker
class XFrameOptionsChecker(Checker):
def __init__(self):
pass
def getxframeoptions(self, headers):
return self.extractheader(headers, XFrameOptions)
| 28.5 | 62 | 0.775439 | 27 | 285 | 8.037037 | 0.62963 | 0.175115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164912 | 285 | 9 | 63 | 31.666667 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0.142857 | 0.857143 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
4764a0f03ab836d1bba6f2e125db20c044f6b854 | 46,316 | py | Python | tests/AdagucTests/TestWMS.py | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | 1 | 2019-08-21T11:03:09.000Z | 2019-08-21T11:03:09.000Z | tests/AdagucTests/TestWMS.py | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | tests/AdagucTests/TestWMS.py | ernstdevreede/adaguc-server | 3516bf1a2ea6abb4f2e85e72944589dfcc990f7c | [
"Apache-2.0"
] | null | null | null | import os
import os.path
from io import BytesIO
import unittest
import shutil
import subprocess
import json
from lxml import etree
from lxml import objectify
import re
from .AdagucTestTools import AdagucTestTools
ADAGUC_PATH = os.environ['ADAGUC_PATH']
class TestWMS(unittest.TestCase):
testresultspath = "testres... | 68.820208 | 614 | 0.689049 | 4,744 | 46,316 | 6.603288 | 0.100126 | 0.043574 | 0.033646 | 0.063334 | 0.864521 | 0.837419 | 0.812073 | 0.787301 | 0.765786 | 0.751804 | 0 | 0.066166 | 0.189114 | 46,316 | 672 | 615 | 68.922619 | 0.767926 | 0.045017 | 0 | 0.611012 | 0 | 0.047957 | 0.334155 | 0.295227 | 0 | 0 | 0 | 0.001488 | 0.20071 | 1 | 0.069272 | false | 0.001776 | 0.019538 | 0 | 0.095915 | 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 |
4774af06410add287453daceffa5065ebef6cc3a | 158 | py | Python | tests/fixtures/abcd_generator.py | venmo/nose-randomly | 39db5db71a226ffdb6572d5785638e0a16379cfb | [
"BSD-3-Clause"
] | 19 | 2015-07-30T17:27:56.000Z | 2021-08-10T07:19:43.000Z | tests/fixtures/abcd_generator.py | venmo/nose-randomly | 39db5db71a226ffdb6572d5785638e0a16379cfb | [
"BSD-3-Clause"
] | 11 | 2016-02-14T10:33:44.000Z | 2016-10-28T12:38:35.000Z | tests/fixtures/abcd_generator.py | adamchainz/nose-randomly | 8a3fbeaf7cc5452c44da8c7e7573fe89391c8260 | [
"BSD-3-Clause"
] | 4 | 2016-06-01T06:04:46.000Z | 2016-10-26T11:41:53.000Z | def _test_func(arg):
pass
def test_generator():
yield _test_func, 'A'
yield _test_func, 'B'
yield _test_func, 'C'
yield _test_func, 'D'
| 15.8 | 25 | 0.639241 | 24 | 158 | 3.75 | 0.458333 | 0.444444 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246835 | 158 | 9 | 26 | 17.555556 | 0.756303 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
478c3e95e9cd00dd6b8c80a33101a1373af09ee2 | 150 | py | Python | openprocurement/auctions/core/plugins/contracting/v3/tests/blanks/fixtures/__init__.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 2 | 2016-09-15T20:17:43.000Z | 2017-01-08T03:32:43.000Z | openprocurement/auctions/core/plugins/contracting/v3/tests/blanks/fixtures/__init__.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 183 | 2017-12-21T11:04:37.000Z | 2019-03-27T08:14:34.000Z | openprocurement/auctions/core/plugins/contracting/v3/tests/blanks/fixtures/__init__.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 12 | 2016-09-05T12:07:48.000Z | 2019-02-26T09:24:17.000Z | from zope import deprecation
deprecation.moved('openprocurement.auctions.core.tests.plugins.contracting.v3.tests.blanks.fixtures', 'version update')
| 37.5 | 119 | 0.833333 | 18 | 150 | 6.944444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.053333 | 150 | 3 | 120 | 50 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0.626667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
47968faf120be6f24426f054a076d3f8a92b1dbf | 44 | py | Python | libscampi/contrib/cms/__init__.py | azpm/django-scampi-cms | 33fa5786cc93f4c6aff14c9bb6306ac32c6cd486 | [
"BSD-3-Clause"
] | 2 | 2016-07-28T19:39:49.000Z | 2021-12-10T15:01:54.000Z | libscampi/contrib/cms/__init__.py | azpm/django-scampi-cms | 33fa5786cc93f4c6aff14c9bb6306ac32c6cd486 | [
"BSD-3-Clause"
] | null | null | null | libscampi/contrib/cms/__init__.py | azpm/django-scampi-cms | 33fa5786cc93f4c6aff14c9bb6306ac32c6cd486 | [
"BSD-3-Clause"
] | 1 | 2016-01-20T23:49:36.000Z | 2016-01-20T23:49:36.000Z | from libscampi.contrib.cms.sites import site | 44 | 44 | 0.863636 | 7 | 44 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.926829 | 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 |
47b4f3d8f5048e55f88f93ac28957e33267b9b62 | 136 | py | Python | Group_assignment/group1.py | erikbijl/git-workshop | 81a2c637ab0be2590417a5f702f122b946df1b82 | [
"MIT"
] | null | null | null | Group_assignment/group1.py | erikbijl/git-workshop | 81a2c637ab0be2590417a5f702f122b946df1b82 | [
"MIT"
] | null | null | null | Group_assignment/group1.py | erikbijl/git-workshop | 81a2c637ab0be2590417a5f702f122b946df1b82 | [
"MIT"
] | null | null | null | # print name of 1st groupmember below this line
print('Erik Bijl')
# print name of 2nd groupmember below this line
print('Koen Peters')
| 27.2 | 47 | 0.764706 | 22 | 136 | 4.727273 | 0.590909 | 0.173077 | 0.211538 | 0.461538 | 0.557692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.161765 | 136 | 4 | 48 | 34 | 0.894737 | 0.669118 | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9a3da5e0e6ab174e7f49565dc5a370ed5f262b0a | 32 | py | Python | cgio/__init__.py | prplz/cgio.py | b96f49878e0d8a23b571f6148503d35d7324cc0e | [
"MIT"
] | null | null | null | cgio/__init__.py | prplz/cgio.py | b96f49878e0d8a23b571f6148503d35d7324cc0e | [
"MIT"
] | null | null | null | cgio/__init__.py | prplz/cgio.py | b96f49878e0d8a23b571f6148503d35d7324cc0e | [
"MIT"
] | 1 | 2021-01-19T19:58:02.000Z | 2021-01-19T19:58:02.000Z | from ._testcase import TestCase
| 16 | 31 | 0.84375 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
9a6a466a99d27e87235212e4822531355ac51fc6 | 167 | py | Python | tests/__init__.py | UT1C/pyVDK | 168177c4006acc7f57be36f189bee8101e10253d | [
"MIT"
] | 16 | 2020-11-24T18:27:59.000Z | 2021-05-14T19:25:44.000Z | tests/__init__.py | UT1C/pyVDK | 168177c4006acc7f57be36f189bee8101e10253d | [
"MIT"
] | 1 | 2021-04-21T14:35:55.000Z | 2021-06-26T04:18:44.000Z | tests/__init__.py | UT1C/pyVDK | 168177c4006acc7f57be36f189bee8101e10253d | [
"MIT"
] | 2 | 2020-12-03T16:56:31.000Z | 2020-12-19T16:28:58.000Z | from .config_tests import ConfigTests
from .keyboard_tests import KeyboardTests
from .mention_tests import MentionTests
from .rules_bunch_tests import RulesBunchTests
| 33.4 | 46 | 0.88024 | 21 | 167 | 6.761905 | 0.571429 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095808 | 167 | 4 | 47 | 41.75 | 0.940397 | 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 |
d005c599d8913111d06ac03dbec4afc83ec3b672 | 174 | py | Python | python/8kyu/printing_array_elements_with_command_delimiters.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/printing_array_elements_with_command_delimiters.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/printing_array_elements_with_command_delimiters.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/56e2f59fb2ed128081001328."""
from typing import List
def print_array(arr: List[int]) -> str:
return ','.join(map(str, arr))
| 21.75 | 71 | 0.689655 | 24 | 174 | 4.958333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 0.126437 | 174 | 7 | 72 | 24.857143 | 0.664474 | 0.373563 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d0061b427cb6c89db898685ff7a23aff48a0b592 | 34 | py | Python | src/mist/alert/__init__.py | cc-daveloper/mist.io_mist.monitor | 041f61573efe656208390277473d0a59f215a35c | [
"Apache-2.0"
] | null | null | null | src/mist/alert/__init__.py | cc-daveloper/mist.io_mist.monitor | 041f61573efe656208390277473d0a59f215a35c | [
"Apache-2.0"
] | null | null | null | src/mist/alert/__init__.py | cc-daveloper/mist.io_mist.monitor | 041f61573efe656208390277473d0a59f215a35c | [
"Apache-2.0"
] | null | null | null | from mist.alert.alert import main
| 17 | 33 | 0.823529 | 6 | 34 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
190b6e1197c3a08b0bd6db9949b82375c09e65f0 | 49 | py | Python | src/web/modules/entrance/tests/__init__.py | fossabot/SIStema | 1427dda2082688a9482c117d0e24ad380fdc26a6 | [
"MIT"
] | 5 | 2018-03-08T17:22:27.000Z | 2018-03-11T14:20:53.000Z | src/web/modules/entrance/tests/__init__.py | fossabot/SIStema | 1427dda2082688a9482c117d0e24ad380fdc26a6 | [
"MIT"
] | 263 | 2018-03-08T18:05:12.000Z | 2022-03-11T23:26:20.000Z | src/web/modules/entrance/tests/__init__.py | fossabot/SIStema | 1427dda2082688a9482c117d0e24ad380fdc26a6 | [
"MIT"
] | 6 | 2018-03-12T19:48:19.000Z | 2022-01-14T04:58:52.000Z | from .home_blocks import *
from .levels import *
| 16.333333 | 26 | 0.755102 | 7 | 49 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.878049 | 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 |
ef8bba3756e7868bf49bb6b73c1b04a722556ef0 | 26 | py | Python | careless/models/merging/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 5 | 2021-02-08T16:34:38.000Z | 2022-03-25T19:16:09.000Z | careless/models/merging/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 28 | 2021-01-15T21:31:40.000Z | 2022-03-30T21:06:54.000Z | careless/models/merging/__init__.py | JBGreisman/careless | 8f6c0859973757d11b26b65d9dc51d443030aa70 | [
"MIT"
] | 5 | 2021-02-12T18:43:58.000Z | 2022-02-02T21:38:56.000Z | from . import variational
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 |
ef94cda9910c5f11f1f187eeb0d9c2dc3bc5e644 | 90 | py | Python | iris_pipeline/readout/__init__.py | zonca/iris_pipeline | a4c20a362037a94f66427521bb5cd5da1c918dd7 | [
"BSD-3-Clause"
] | null | null | null | iris_pipeline/readout/__init__.py | zonca/iris_pipeline | a4c20a362037a94f66427521bb5cd5da1c918dd7 | [
"BSD-3-Clause"
] | 38 | 2019-03-07T01:25:03.000Z | 2022-03-01T13:02:29.000Z | iris_pipeline/readout/__init__.py | zonca/iris_pipeline | a4c20a362037a94f66427521bb5cd5da1c918dd7 | [
"BSD-3-Clause"
] | 1 | 2019-02-28T02:39:06.000Z | 2019-02-28T02:39:06.000Z | from .readoutsamp_step import ReadoutsampStep
from .nonlincorr_step import NonlincorrStep
| 30 | 45 | 0.888889 | 10 | 90 | 7.8 | 0.7 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 46 | 45 | 0.95122 | 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 |
ef9dd96e424d2f8f59e24cbfbba86d6e11640044 | 148 | py | Python | lambda.py | theAshokSharma/pytipstricks | 0073debe9d4ae09bc7a91eea54b257877c81cb42 | [
"Unlicense"
] | null | null | null | lambda.py | theAshokSharma/pytipstricks | 0073debe9d4ae09bc7a91eea54b257877c81cb42 | [
"Unlicense"
] | null | null | null | lambda.py | theAshokSharma/pytipstricks | 0073debe9d4ae09bc7a91eea54b257877c81cb42 | [
"Unlicense"
] | null | null | null | import dis
def func(x):
return lambda y: (x + y + 1)
def func1(x):
return lambda y : (func(x)(x)+y+1)
print(func1(10)(2))
dis.dis(func1) | 13.454545 | 38 | 0.587838 | 29 | 148 | 3 | 0.448276 | 0.114943 | 0.298851 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.216216 | 148 | 11 | 39 | 13.454545 | 0.681034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0.142857 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
efd15e6265d58607841a325e55447ee6009262b4 | 229 | py | Python | graphzoo/__init__.py | oom-debugger/GraphZoo-1 | 7ef1184c0016090597e56b8706a87539a3f62fd6 | [
"MIT"
] | 2 | 2022-03-30T01:11:39.000Z | 2022-03-30T11:08:12.000Z | graphzoo/__init__.py | oom-debugger/GraphZoo-1 | 7ef1184c0016090597e56b8706a87539a3f62fd6 | [
"MIT"
] | null | null | null | graphzoo/__init__.py | oom-debugger/GraphZoo-1 | 7ef1184c0016090597e56b8706a87539a3f62fd6 | [
"MIT"
] | 2 | 2022-01-27T21:03:40.000Z | 2022-03-15T20:20:12.000Z | from __future__ import print_function
from __future__ import division
from . import dataloader
from . import layers
from . import manifolds
from . import trainers
from . import optimizers
from . import utils
from . import models
| 22.9 | 37 | 0.812227 | 30 | 229 | 5.9 | 0.433333 | 0.39548 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157205 | 229 | 9 | 38 | 25.444444 | 0.917098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef346b6f72fc45b2b0b21aedbb1f50ecbccf64f8 | 6,230 | py | Python | feature_engineering/extract_examples.py | go-jugo/ml_event_prediction_trainer | 0d644b737afdef078ad5b6fc2b7e2549b964b56f | [
"Apache-2.0"
] | null | null | null | feature_engineering/extract_examples.py | go-jugo/ml_event_prediction_trainer | 0d644b737afdef078ad5b6fc2b7e2549b964b56f | [
"Apache-2.0"
] | null | null | null | feature_engineering/extract_examples.py | go-jugo/ml_event_prediction_trainer | 0d644b737afdef078ad5b6fc2b7e2549b964b56f | [
"Apache-2.0"
] | null | null | null | import datetime
import pandas as pd
import dask.dataframe as dd
from sklearn.utils import shuffle
import dask
import glob
from tsfresh import extract_features
from tsfresh.feature_extraction import EfficientFCParameters, MinimalFCParameters
from ..monitoring.time_it import timing
from math import ceil
import ... | 62.3 | 151 | 0.583949 | 686 | 6,230 | 4.932945 | 0.172012 | 0.042553 | 0.065012 | 0.030142 | 0.826241 | 0.802896 | 0.767731 | 0.767731 | 0.750591 | 0.706856 | 0 | 0.01025 | 0.326645 | 6,230 | 99 | 152 | 62.929293 | 0.796424 | 0 | 0 | 0.431818 | 0 | 0 | 0.088758 | 0.030021 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.170455 | 0 | 0.193182 | 0.079545 | 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 |
32358868c0130ba305dcb20a55d465611bee9163 | 88 | py | Python | telegram_bot/commands/menu/__init__.py | alenworld/django_telegram_bot | aa9a3570787feaaf474086a8cee66155f749983e | [
"MIT"
] | 3 | 2021-07-07T02:30:56.000Z | 2021-12-19T07:48:35.000Z | telegram_bot/commands/menu/__init__.py | alenworld/django_telegram_bot | aa9a3570787feaaf474086a8cee66155f749983e | [
"MIT"
] | null | null | null | telegram_bot/commands/menu/__init__.py | alenworld/django_telegram_bot | aa9a3570787feaaf474086a8cee66155f749983e | [
"MIT"
] | 1 | 2021-07-07T02:42:23.000Z | 2021-07-07T02:42:23.000Z | from .auth import *
from .chat_support import *
from .faq import *
from .claim import *
| 17.6 | 27 | 0.727273 | 13 | 88 | 4.846154 | 0.538462 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 4 | 28 | 22 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32422395c2a8cf051d54895b6cb06db78db0a414 | 554 | py | Python | plugins/test_utils.py | StijnZanders/serverless-etl | ed67d4fead6de87a9fa161cd1732601b81eb99f8 | [
"Apache-2.0"
] | null | null | null | plugins/test_utils.py | StijnZanders/serverless-etl | ed67d4fead6de87a9fa161cd1732601b81eb99f8 | [
"Apache-2.0"
] | 22 | 2020-11-27T22:21:01.000Z | 2021-11-08T18:39:46.000Z | plugins/test_utils.py | StijnZanders/limber | ed67d4fead6de87a9fa161cd1732601b81eb99f8 | [
"Apache-2.0"
] | null | null | null | def test(arg):
import pandas as pd
from datetime import datetime
df = pd.DataFrame([[datetime.now(), arg]], columns=["current_timestamp", "message"])
df.to_gbq("test_dataset.test_table", if_exists="append")
def test_multiple_outputs(arg):
return ["test1", "test2"]
def test_with_context(arg, conte... | 29.157895 | 88 | 0.694946 | 75 | 554 | 4.946667 | 0.413333 | 0.056604 | 0.075472 | 0.086253 | 0.754717 | 0.754717 | 0.754717 | 0.754717 | 0.528302 | 0.528302 | 0 | 0.004292 | 0.158845 | 554 | 18 | 89 | 30.777778 | 0.791845 | 0 | 0 | 0.615385 | 0 | 0 | 0.209386 | 0.083032 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0.076923 | 0.615385 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
3ead3e1723ccde06bb90dfe12867b1f3fa548ca8 | 15,916 | py | Python | src/kgtests/src/extraction/test_load_openie_extractions.py | HermannKroll/KGExtractionToolbox | c17a55dd1fa098f5033b7765ed0f80d3abb44cb7 | [
"MIT"
] | 6 | 2021-09-17T09:49:59.000Z | 2021-12-06T10:07:01.000Z | src/kgtests/src/extraction/test_load_openie_extractions.py | HermannKroll/KGExtractionToolbox | c17a55dd1fa098f5033b7765ed0f80d3abb44cb7 | [
"MIT"
] | null | null | null | src/kgtests/src/extraction/test_load_openie_extractions.py | HermannKroll/KGExtractionToolbox | c17a55dd1fa098f5033b7765ed0f80d3abb44cb7 | [
"MIT"
] | 1 | 2021-09-18T17:56:12.000Z | 2021-09-18T17:56:12.000Z | from unittest import TestCase
from sqlalchemy import delete
from kgextractiontoolbox.extraction.loading.load_extractions import PRED
from kgextractiontoolbox.extraction.loading.load_openie_extractions import load_openie_tuples, OpenIEEntityFilterMode, \
get_subject_and_object_entities, clean_tuple_predicate_based... | 60.060377 | 146 | 0.6048 | 1,726 | 15,916 | 5.378331 | 0.118192 | 0.03124 | 0.036195 | 0.033933 | 0.830766 | 0.805989 | 0.771518 | 0.761392 | 0.742217 | 0.742217 | 0 | 0.021364 | 0.279467 | 15,916 | 264 | 147 | 60.287879 | 0.788106 | 0.030221 | 0 | 0.660465 | 0 | 0 | 0.264601 | 0.008816 | 0 | 0 | 0 | 0 | 0.195349 | 1 | 0.055814 | false | 0.032558 | 0.037209 | 0 | 0.097674 | 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 |
41165c1e2720fe747fd40f7e94b8c1c70db67240 | 37 | py | Python | processors/postprocessors/__init__.py | Zvezdin/blockchain-predictor | df6f939037471dd50b7b9c96673d89b04b646ef2 | [
"MIT"
] | 35 | 2017-10-25T17:10:35.000Z | 2022-03-20T18:12:06.000Z | processors/postprocessors/__init__.py | Zvezdin/blockchain-predictor | df6f939037471dd50b7b9c96673d89b04b646ef2 | [
"MIT"
] | 2 | 2017-09-20T17:39:15.000Z | 2018-04-01T17:20:29.000Z | processors/postprocessors/__init__.py | Zvezdin/blockchain-predictor | df6f939037471dd50b7b9c96673d89b04b646ef2 | [
"MIT"
] | 10 | 2017-12-01T13:47:04.000Z | 2021-12-16T06:53:17.000Z | from .postprocessors_imports import * | 37 | 37 | 0.864865 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.911765 | 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 |
4124706fc15ef3a1d33fbe04965cb6ba6b886989 | 64 | py | Python | 25/02/id.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | 25/02/id.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | 46 | 2017-06-30T22:19:07.000Z | 2017-07-31T22:51:31.000Z | 25/02/id.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | #id(object)
print(id(1))
print(id('a'))
a = 'abc'
print(id(a))x
| 10.666667 | 14 | 0.578125 | 14 | 64 | 2.642857 | 0.5 | 0.567568 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.109375 | 64 | 5 | 15 | 12.8 | 0.631579 | 0.15625 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f5ca05d43f8f06b2799f48e4c8e656b4054408bf | 197 | py | Python | src/AuShadha/medication_list/admin.py | GosthMan/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 46 | 2015-03-04T14:19:47.000Z | 2021-12-09T02:58:46.000Z | src/AuShadha/medication_list/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 2 | 2015-06-05T10:29:04.000Z | 2015-12-06T16:54:10.000Z | src/AuShadha/medication_list/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 24 | 2015-03-23T01:38:11.000Z | 2022-01-24T16:23:42.000Z | from django.contrib import admin
from medication_list.models import MedicationList
class MedicationListAdmin(admin.ModelAdmin):
pass
admin.site.register(MedicationList, MedicationListAdmin)
| 21.888889 | 56 | 0.84264 | 21 | 197 | 7.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101523 | 197 | 8 | 57 | 24.625 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f5f785968c7852d7e5037b6a519e44cd02ff304a | 133 | py | Python | genepi/tools/__init__.py | dn070017/GenEpi | e6ee35e0b024408b80b75c25dd0b63c77a6e0339 | [
"MIT"
] | 21 | 2018-08-06T07:09:12.000Z | 2021-11-25T18:03:10.000Z | genepi/tools/__init__.py | dn070017/GenEpi | e6ee35e0b024408b80b75c25dd0b63c77a6e0339 | [
"MIT"
] | 7 | 2019-03-25T14:40:28.000Z | 2022-02-20T01:54:49.000Z | genepi/tools/__init__.py | dn070017/GenEpi | e6ee35e0b024408b80b75c25dd0b63c77a6e0339 | [
"MIT"
] | 10 | 2018-08-06T07:09:14.000Z | 2021-11-28T03:09:48.000Z | # -*- coding: utf-8 -*-
"""
Created on Jul 2019
@author: Chester (Yu-Chuan Chang)
"""
from . import six
from . import randomized_l1 | 14.777778 | 33 | 0.654135 | 19 | 133 | 4.526316 | 0.894737 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 0.180451 | 133 | 9 | 34 | 14.777778 | 0.733945 | 0.578947 | 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 |
eb0eb2fa307529896d9b8dda053f2b2804ea18be | 96 | py | Python | venv/lib/python3.8/site-packages/requests_toolbelt/adapters/x509.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/adapters/x509.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/adapters/x509.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f7/2a/62/70d0af1887cb7423f31319baae2f96ccce0cc67880181338301408af4a | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de2c2eff068039c852bc52774c8f9df54e38b45b | 150 | py | Python | python/oddvoices/utils.py | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | 25 | 2021-03-11T17:31:31.000Z | 2022-03-23T07:24:34.000Z | python/oddvoices/utils.py | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | 60 | 2021-03-04T03:16:05.000Z | 2022-01-21T05:36:46.000Z | python/oddvoices/utils.py | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | null | null | null | import pathlib
BASE_DIR = pathlib.Path(__file__).resolve().parent
def midi_note_to_hertz(midi_note):
return 440 * 2 ** ((midi_note - 69) / 12)
| 18.75 | 50 | 0.706667 | 23 | 150 | 4.173913 | 0.782609 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.16 | 150 | 7 | 51 | 21.428571 | 0.698413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
de5428cf63a6c4fd011208011e920e6122a98d7c | 44 | py | Python | tools/Polygraphy/polygraphy/backend/pyt/__init__.py | leo0519/TensorRT | 498dcb009fe4c2dedbe9c61044d3de4f3c04a41b | [
"Apache-2.0"
] | 5,249 | 2019-06-17T17:20:34.000Z | 2022-03-31T17:56:05.000Z | tools/Polygraphy/polygraphy/backend/pyt/__init__.py | leo0519/TensorRT | 498dcb009fe4c2dedbe9c61044d3de4f3c04a41b | [
"Apache-2.0"
] | 1,721 | 2019-06-17T18:13:29.000Z | 2022-03-31T16:09:53.000Z | tools/Polygraphy/polygraphy/backend/pyt/__init__.py | leo0519/TensorRT | 498dcb009fe4c2dedbe9c61044d3de4f3c04a41b | [
"Apache-2.0"
] | 1,414 | 2019-06-18T04:01:17.000Z | 2022-03-31T09:16:53.000Z | from polygraphy.backend.pyt.runner import *
| 22 | 43 | 0.818182 | 6 | 44 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 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 |
de78e6b951699b7f15c5e9826b5edf8ef7128b74 | 33 | py | Python | colorization/baseline/__init__.py | soumik12345/colorization-using-optimization | 85a38e19810092b3bb630c3485f040a1a39a647d | [
"MIT"
] | 10 | 2021-08-17T04:33:32.000Z | 2022-03-18T20:07:35.000Z | synthtext/colorizer/__init__.py | mileistone/synthtext | 9ed751ace78b2d44a9dea191dec7277b7d5c607c | [
"Apache-2.0"
] | null | null | null | synthtext/colorizer/__init__.py | mileistone/synthtext | 9ed751ace78b2d44a9dea191dec7277b7d5c607c | [
"Apache-2.0"
] | 3 | 2020-04-01T03:00:00.000Z | 2021-02-09T14:48:23.000Z | from .colorizer import Colorizer
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dec6c84afb090da7b4bbc0b6cbaa9b77321d1c38 | 26 | py | Python | predictit_data/__init__.py | jjordanbaird/predictit-data | 53f01172d9e4f39abfa5e9b085ecd1912e46b481 | [
"MIT"
] | null | null | null | predictit_data/__init__.py | jjordanbaird/predictit-data | 53f01172d9e4f39abfa5e9b085ecd1912e46b481 | [
"MIT"
] | null | null | null | predictit_data/__init__.py | jjordanbaird/predictit-data | 53f01172d9e4f39abfa5e9b085ecd1912e46b481 | [
"MIT"
] | null | null | null | from .market import Market | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
722d66c9e214f67564bf625da5ee3085703ae16f | 205 | py | Python | pytorch_datasets/datasets/__init__.py | mpeven/Pytorch_Datasets | 6a1709bfb59739b5e7ce299c70350b0080209c82 | [
"Apache-2.0"
] | 3 | 2019-01-22T19:19:49.000Z | 2020-12-16T01:29:56.000Z | pytorch_datasets/datasets/__init__.py | mpeven/Pytorch_Datasets | 6a1709bfb59739b5e7ce299c70350b0080209c82 | [
"Apache-2.0"
] | null | null | null | pytorch_datasets/datasets/__init__.py | mpeven/Pytorch_Datasets | 6a1709bfb59739b5e7ce299c70350b0080209c82 | [
"Apache-2.0"
] | 2 | 2019-01-22T19:20:01.000Z | 2020-12-06T05:50:14.000Z | from .epfl import *
from .intuitive_simulated import *
from .jigsaws import *
from .mistic import *
from .object_net_3d import *
from .wcvp import *
from .needlemaster import *
from .needleframes import *
| 22.777778 | 34 | 0.765854 | 27 | 205 | 5.703704 | 0.481481 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.156098 | 205 | 8 | 35 | 25.625 | 0.884393 | 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 |
7239f5999be3d6e527ee3ee474edb8ab821adb25 | 805 | py | Python | Shark_Training/pyimagesearch/preprocessing/applicationpreprocessor.py | crpurcell/MQ_DPI_Release | 97444513e8b8d48ec91ff8a43b9dfaed0da029f9 | [
"MIT"
] | null | null | null | Shark_Training/pyimagesearch/preprocessing/applicationpreprocessor.py | crpurcell/MQ_DPI_Release | 97444513e8b8d48ec91ff8a43b9dfaed0da029f9 | [
"MIT"
] | null | null | null | Shark_Training/pyimagesearch/preprocessing/applicationpreprocessor.py | crpurcell/MQ_DPI_Release | 97444513e8b8d48ec91ff8a43b9dfaed0da029f9 | [
"MIT"
] | null | null | null | #=============================================================================#
# #
# MODIFIED: 30-Dec-2018 by C. Purcell #
# #
... | 40.25 | 79 | 0.321739 | 41 | 805 | 6.121951 | 0.682927 | 0.286853 | 0.262948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013283 | 0.345342 | 805 | 19 | 80 | 42.368421 | 0.462998 | 0.680745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a0df32a8b3bbd8443be6571399838051c63153aa | 31 | py | Python | jetavator_azure_storage/jetavator_azure_storage/__init__.py | jetavator/jetavator_databricks | 719c934b6391f6f41ca34b4d4df8c697c1a25283 | [
"Apache-2.0"
] | null | null | null | jetavator_azure_storage/jetavator_azure_storage/__init__.py | jetavator/jetavator_databricks | 719c934b6391f6f41ca34b4d4df8c697c1a25283 | [
"Apache-2.0"
] | null | null | null | jetavator_azure_storage/jetavator_azure_storage/__init__.py | jetavator/jetavator_databricks | 719c934b6391f6f41ca34b4d4df8c697c1a25283 | [
"Apache-2.0"
] | null | null | null | from . import config, services
| 15.5 | 30 | 0.774194 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d0425f96828d041d7fc155484f37bb07c93561b | 254 | py | Python | tests/test_fib.py | angelus169/dp-fibonacci | 743e6be175b75fe7e8c1232ab400f1f427d68652 | [
"Apache-2.0"
] | null | null | null | tests/test_fib.py | angelus169/dp-fibonacci | 743e6be175b75fe7e8c1232ab400f1f427d68652 | [
"Apache-2.0"
] | null | null | null | tests/test_fib.py | angelus169/dp-fibonacci | 743e6be175b75fe7e8c1232ab400f1f427d68652 | [
"Apache-2.0"
] | null | null | null | from src.fib import fib
def test_fib_1():
assert fib(1) == 1
def test_fib_5():
assert fib(5) == 5
def test_fib_10():
assert fib(10) == 55
def test_fib_20():
assert fib(20) == 6765
def test_fib_30():
assert fib(30) == 832040
| 11.545455 | 28 | 0.606299 | 45 | 254 | 3.2 | 0.333333 | 0.243056 | 0.347222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.251969 | 254 | 21 | 29 | 12.095238 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.454545 | true | 0 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9d1df0f15b6360aa49f5c1974e6bb7312b23d1a8 | 494 | py | Python | delivery/delivery/ext/auth/__init__.py | luxu/curso-flask | 978ba41b41b29d7ffd19ade5bef2765086e1f8f3 | [
"Unlicense"
] | 1 | 2020-06-13T13:26:03.000Z | 2020-06-13T13:26:03.000Z | delivery/delivery/ext/auth/__init__.py | luxu/curso-flask | 978ba41b41b29d7ffd19ade5bef2765086e1f8f3 | [
"Unlicense"
] | null | null | null | delivery/delivery/ext/auth/__init__.py | luxu/curso-flask | 978ba41b41b29d7ffd19ade5bef2765086e1f8f3 | [
"Unlicense"
] | null | null | null | from delivery.ext.auth import models # noqa
from delivery.ext.auth.commands import list_users, add_user
# from delivery.ext.auth.models import User
from delivery.ext.db import db
from delivery.ext.auth.admin import UserAdmin
from delivery.ext.admin import admin
from delivery.ext.auth.models import User
def init_app(a... | 29.058824 | 59 | 0.765182 | 77 | 494 | 4.831169 | 0.363636 | 0.225806 | 0.282258 | 0.255376 | 0.188172 | 0.188172 | 0.188172 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 494 | 16 | 60 | 30.875 | 0.867133 | 0.182186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.1 | false | 0 | 0.6 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d46188b15973316aafb346072f455a1c239d8c9 | 94 | py | Python | tests/unimplemented/argument_named_print.py | mayl8822/onelinerizer | bad341f261d35e56872b4c22297a44dc6d5cfab3 | [
"MIT"
] | 1,062 | 2015-11-18T01:04:33.000Z | 2022-03-29T07:13:30.000Z | tests/unimplemented/argument_named_print.py | CoDeRgAnEsh/1line | 507ef35b0006fc2998463dee92c2fdae53fe0694 | [
"MIT"
] | 26 | 2015-11-17T06:58:07.000Z | 2022-01-15T18:11:16.000Z | tests/unimplemented/argument_named_print.py | CoDeRgAnEsh/1line | 507ef35b0006fc2998463dee92c2fdae53fe0694 | [
"MIT"
] | 100 | 2015-11-17T09:01:22.000Z | 2021-09-12T13:58:28.000Z | from __future__ import print_function
def f(print):
return print
print(f(**{'print': 1}))
| 18.8 | 37 | 0.702128 | 14 | 94 | 4.357143 | 0.642857 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.148936 | 94 | 4 | 38 | 23.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
19f350cae3938a5270fe02dbcac1901aaa69e2a4 | 78 | py | Python | app/routes/index.py | riancu27/Food-Coalition-Project | b2fb81d11c706cdb544e326a060d902fd2d7fb76 | [
"MIT"
] | null | null | null | app/routes/index.py | riancu27/Food-Coalition-Project | b2fb81d11c706cdb544e326a060d902fd2d7fb76 | [
"MIT"
] | null | null | null | app/routes/index.py | riancu27/Food-Coalition-Project | b2fb81d11c706cdb544e326a060d902fd2d7fb76 | [
"MIT"
] | 1 | 2021-01-12T02:02:47.000Z | 2021-01-12T02:02:47.000Z | from . import routes
@routes.route('/')
def index():
return 'Hello World' | 15.6 | 24 | 0.653846 | 10 | 78 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 78 | 5 | 24 | 15.6 | 0.796875 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.