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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
125e0d16a5fa19d7baeb5c0c2c36b1fb04f3d9fe | 63 | py | Python | deluge_client/__init__.py | jonesnc/deluge-client | 17e0350a52edb20cbe451038c2374213e33e7146 | [
"MIT"
] | 68 | 2019-07-08T13:46:26.000Z | 2022-03-29T05:35:25.000Z | deluge_client/__init__.py | jonesnc/deluge-client | 17e0350a52edb20cbe451038c2374213e33e7146 | [
"MIT"
] | 172 | 2019-07-21T18:39:16.000Z | 2022-03-29T09:31:51.000Z | deluge_client/__init__.py | jonesnc/deluge-client | 17e0350a52edb20cbe451038c2374213e33e7146 | [
"MIT"
] | 31 | 2019-08-25T13:20:04.000Z | 2022-03-29T05:34:28.000Z | from .client import DelugeRPCClient, FailedToReconnectException | 63 | 63 | 0.904762 | 5 | 63 | 11.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.966102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89edac6848e66d08491907cdb9f62af9c43b2b4f | 2,840 | py | Python | backend/spacenews/posts/tests/test_permissions.py | soichiroota/spacenews | a176d7fb6bba6b6ca2becee8a326d860514d274a | [
"MIT"
] | 44 | 2018-03-18T15:06:01.000Z | 2021-11-15T12:34:32.000Z | backend/spacenews/posts/tests/test_permissions.py | soichiroota/spacenews | a176d7fb6bba6b6ca2becee8a326d860514d274a | [
"MIT"
] | 4 | 2018-11-22T20:42:14.000Z | 2020-12-01T07:21:30.000Z | backend/spacenews/posts/tests/test_permissions.py | SoichiroOta/spacenews | a176d7fb6bba6b6ca2becee8a326d860514d274a | [
"MIT"
] | 7 | 2018-08-23T05:02:15.000Z | 2021-11-05T02:34:29.000Z | import pytest
from unittest import mock
from django.http import HttpRequest
from django.contrib.auth import get_user_model
from django.contrib.auth.models import AnonymousUser
from mixer.backend.django import mixer
from posts.models import Post
from posts.permissions import PostPermission
User = get_user_model()
... | 20.285714 | 67 | 0.711268 | 377 | 2,840 | 5.140584 | 0.119363 | 0.043344 | 0.148607 | 0.130031 | 0.845201 | 0.81063 | 0.74871 | 0.74871 | 0.727038 | 0.702786 | 0 | 0 | 0.178169 | 2,840 | 139 | 68 | 20.431655 | 0.830334 | 0 | 0 | 0.6875 | 0 | 0 | 0.016549 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.1625 | false | 0 | 0.1 | 0.0125 | 0.275 | 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 |
d61ca0fbdef6043e727eaf1d3b72cca7bc3d2f76 | 352 | py | Python | transformations/__init__.py | 1mplex/segmentation_image_augmentation | bd93c1589078247c0c7aff8556afc16a7e15be39 | [
"MIT"
] | 15 | 2020-07-21T08:57:38.000Z | 2022-01-24T21:59:10.000Z | transformations/__init__.py | el-lilya/segmentation_image_augmentation | c16604274a220e00a6fbc4d653ab9c90276a8eba | [
"MIT"
] | 1 | 2021-02-15T21:24:11.000Z | 2021-02-15T21:24:11.000Z | transformations/__init__.py | el-lilya/segmentation_image_augmentation | c16604274a220e00a6fbc4d653ab9c90276a8eba | [
"MIT"
] | 9 | 2021-07-01T02:42:22.000Z | 2022-01-24T21:59:12.000Z | from transformations.random_crop import random_crop
from transformations.resize import resize
from transformations.perspective_transform import *
from transformations.noise import *
from transformations.flip import *
from transformations.rotate import *
from transformations.embed_pair import embed_pair
from transformat... | 39.111111 | 51 | 0.875 | 41 | 352 | 7.390244 | 0.341463 | 0.50165 | 0.330033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.090909 | 352 | 8 | 52 | 44 | 0.940625 | 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 |
d6296187ba32fcbdfeb63afe7ffd437ef6a853d0 | 142 | py | Python | src/example_package/example.py | tim-schilling/packaging_tutorial | 97b5ac82283f5e12f1fbd0060bc9166287846437 | [
"MIT"
] | null | null | null | src/example_package/example.py | tim-schilling/packaging_tutorial | 97b5ac82283f5e12f1fbd0060bc9166287846437 | [
"MIT"
] | null | null | null | src/example_package/example.py | tim-schilling/packaging_tutorial | 97b5ac82283f5e12f1fbd0060bc9166287846437 | [
"MIT"
] | null | null | null | # coding=utf-8
from __future__ import absolute_import, division, print_function, unicode_literals
def add_one(number):
return number + 1
| 23.666667 | 82 | 0.788732 | 20 | 142 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.140845 | 142 | 5 | 83 | 28.4 | 0.836066 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 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 |
c3942b952087dd0b1c1f0ab6546420d5f47dd3ce | 1,828 | py | Python | GPy/testing/sparse_gplvm_tests.py | rokroskar/GPy | 0f8dbba56d480902c86cfe8bad9e79d9eabae009 | [
"BSD-3-Clause"
] | 1 | 2016-08-04T21:28:11.000Z | 2016-08-04T21:28:11.000Z | GPy/testing/sparse_gplvm_tests.py | rokroskar/GPy | 0f8dbba56d480902c86cfe8bad9e79d9eabae009 | [
"BSD-3-Clause"
] | null | null | null | GPy/testing/sparse_gplvm_tests.py | rokroskar/GPy | 0f8dbba56d480902c86cfe8bad9e79d9eabae009 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012, Nicolo Fusi, James Hensman
# Licensed under the BSD 3-clause license (see LICENSE.txt)
import unittest
import numpy as np
import GPy
from ..models import SparseGPLVM
class sparse_GPLVMTests(unittest.TestCase):
def test_bias_kern(self):
N, num_inducing, input_dim, D = 10, 3, 2, 4
... | 39.73913 | 75 | 0.641138 | 290 | 1,828 | 3.865517 | 0.251724 | 0.171276 | 0.042819 | 0.080285 | 0.753791 | 0.753791 | 0.753791 | 0.753791 | 0.753791 | 0.753791 | 0 | 0.039437 | 0.223195 | 1,828 | 45 | 76 | 40.622222 | 0.75 | 0.056893 | 0 | 0.657895 | 0 | 0 | 0.031958 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0 | null | null | 0 | 0.105263 | null | null | 0.026316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3cc975df87475db1ce89b3548f73ac038285e5d | 345 | py | Python | petaldata/datasets/stripe/reports/customer_lists/__init__.py | petaldata/petaldata-python | 6d3b7bdc8f2d6f6ef86f7e61606ffebed168c81d | [
"MIT"
] | 2 | 2019-09-02T15:36:02.000Z | 2020-12-11T23:41:50.000Z | petaldata/datasets/stripe/reports/customer_lists/__init__.py | itsderek23/petaldata-python | 6d3b7bdc8f2d6f6ef86f7e61606ffebed168c81d | [
"MIT"
] | null | null | null | petaldata/datasets/stripe/reports/customer_lists/__init__.py | itsderek23/petaldata-python | 6d3b7bdc8f2d6f6ef86f7e61606ffebed168c81d | [
"MIT"
] | 1 | 2019-06-02T23:17:21.000Z | 2019-06-02T23:17:21.000Z | from petaldata.datasets.stripe.reports.customer_lists.abstract_mom_diff import AbstractMoMDiff
from petaldata.datasets.stripe.reports.customer_lists.new import New
from petaldata.datasets.stripe.reports.customer_lists.expansion_contraction import ExpansionContraction
from petaldata.datasets.stripe.reports.customer_lis... | 69 | 103 | 0.895652 | 43 | 345 | 7.023256 | 0.395349 | 0.172185 | 0.278146 | 0.357616 | 0.622517 | 0.622517 | 0.622517 | 0 | 0 | 0 | 0 | 0 | 0.046377 | 345 | 5 | 104 | 69 | 0.917933 | 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 |
c3cfffd169a402fd6737f6c776c6f67fe6957865 | 42 | py | Python | src/__init__.py | g4-mobile/g4-mobile-api | 17c76202107ab4e363d042c0a13fb7804a2d880e | [
"MIT"
] | null | null | null | src/__init__.py | g4-mobile/g4-mobile-api | 17c76202107ab4e363d042c0a13fb7804a2d880e | [
"MIT"
] | 1 | 2022-03-28T03:11:47.000Z | 2022-03-28T04:15:53.000Z | src/__init__.py | g4-mobile/g4-mobile-api | 17c76202107ab4e363d042c0a13fb7804a2d880e | [
"MIT"
] | null | null | null | """Imports"""
from .main import init_app
| 10.5 | 26 | 0.690476 | 6 | 42 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 27 | 14 | 0.777778 | 0.166667 | 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 |
c3e988d4551846c44d321a733fca56baf08702dd | 161 | py | Python | metadata_service/api/healthcheck.py | jacobhjkim/amundsenmetadatalibrary | 19b5c7bf0ac496a357648b1a1b28f28f4d6a9ffb | [
"Apache-2.0"
] | null | null | null | metadata_service/api/healthcheck.py | jacobhjkim/amundsenmetadatalibrary | 19b5c7bf0ac496a357648b1a1b28f28f4d6a9ffb | [
"Apache-2.0"
] | 1 | 2020-09-24T17:05:39.000Z | 2020-09-24T17:05:39.000Z | metadata_service/api/healthcheck.py | jacobhjkim/amundsenmetadatalibrary | 19b5c7bf0ac496a357648b1a1b28f28f4d6a9ffb | [
"Apache-2.0"
] | null | null | null | from typing import Tuple
from flasgger import swag_from
@swag_from('swagger_doc/healthcheck_get.yml')
def healthcheck() -> Tuple[str, int]:
return '', 200
| 20.125 | 45 | 0.745342 | 23 | 161 | 5.043478 | 0.695652 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.142857 | 161 | 7 | 46 | 23 | 0.818841 | 0 | 0 | 0 | 0 | 0 | 0.192547 | 0.192547 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
614ed2347181e4e002a8a6ea2a1b932e7397e9a5 | 186 | py | Python | Fujitsu/benchmarks/resnet/implementations/mxnet/3rdparty/tvm/vta/python/vta/top/__init__.py | mengkai94/training_results_v0.6 | 43dc3e250f8da47b5f8833197d74cb8cf1004fc9 | [
"Apache-2.0"
] | 64 | 2021-05-02T14:42:34.000Z | 2021-05-06T01:35:03.000Z | vta/python/vta/top/__init__.py | clhne/tvm | d59320c764bd09474775e1b292f3c05c27743d24 | [
"Apache-2.0"
] | 23 | 2019-07-29T05:21:52.000Z | 2020-08-31T18:51:42.000Z | vta/python/vta/top/__init__.py | clhne/tvm | d59320c764bd09474775e1b292f3c05c27743d24 | [
"Apache-2.0"
] | 51 | 2019-07-12T05:10:25.000Z | 2021-07-28T16:19:06.000Z | """TVM TOPI connector, eventually most of these should go to TVM repo"""
from .vta_conv2d import packed_conv2d, schedule_packed_conv2d
from . import vta_conv2d
from . import arm_conv2d
| 31 | 72 | 0.801075 | 29 | 186 | 4.931034 | 0.62069 | 0.125874 | 0.223776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.139785 | 186 | 5 | 73 | 37.2 | 0.8625 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
61607e862af64fd43a810ddef7bdab690cee1255 | 140 | py | Python | novelsave/core/dtos/__init__.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 12 | 2021-08-25T04:37:53.000Z | 2022-01-28T03:06:17.000Z | novelsave/core/dtos/__init__.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 18 | 2021-08-24T20:02:16.000Z | 2022-03-29T06:55:53.000Z | novelsave/core/dtos/__init__.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 6 | 2021-10-03T11:31:08.000Z | 2022-03-29T07:28:49.000Z | from .chapter_dto import ChapterDTO
from .metadata_dto import MetaDataDTO
from .novel_dto import NovelDTO
from .volume_dto import VolumeDTO
| 28 | 37 | 0.857143 | 20 | 140 | 5.8 | 0.55 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 4 | 38 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
61ab335f65f3d2e71dad7036cbf859ef857c7ec7 | 42 | py | Python | main.py | muminfarooq190/testproject | aec63a585f3fefb9d14828630df17747fa6ff965 | [
"MIT"
] | null | null | null | main.py | muminfarooq190/testproject | aec63a585f3fefb9d14828630df17747fa6ff965 | [
"MIT"
] | null | null | null | main.py | muminfarooq190/testproject | aec63a585f3fefb9d14828630df17747fa6ff965 | [
"MIT"
] | null | null | null | print("mumin has done first line of code") | 42 | 42 | 0.761905 | 8 | 42 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4ef06b638d31f1cf343d1b6959cfef8bd44ada6e | 32 | py | Python | stubbs/defs/phys.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/phys.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/phys.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from ...hek.defs.phys import *
| 16 | 31 | 0.65625 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f60912397fc9a5775779fdd6906be1f7f0333854 | 23,229 | py | Python | cms/lib/python2.7/site-packages/tests/config.py | macs03/demo-cms | fb79e6e7d73504af8e9feb4c4b2053fbc0024bdd | [
"MIT"
] | null | null | null | cms/lib/python2.7/site-packages/tests/config.py | macs03/demo-cms | fb79e6e7d73504af8e9feb4c4b2053fbc0024bdd | [
"MIT"
] | null | null | null | cms/lib/python2.7/site-packages/tests/config.py | macs03/demo-cms | fb79e6e7d73504af8e9feb4c4b2053fbc0024bdd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import print_function
import os
import sys
from mock import patch
from six import StringIO
from djangocms_installer import config
from djangocms_installer.install import check_install
from djangocms_installer.utils import less_than_version, supported_versions
from .base import... | 43.994318 | 122 | 0.561583 | 2,554 | 23,229 | 4.961237 | 0.082616 | 0.089654 | 0.106543 | 0.130219 | 0.86986 | 0.807908 | 0.778313 | 0.763397 | 0.731986 | 0.717623 | 0 | 0.015977 | 0.29136 | 23,229 | 527 | 123 | 44.077799 | 0.753782 | 0.019028 | 0 | 0.692478 | 0 | 0 | 0.195468 | 0.071725 | 0 | 0 | 0 | 0 | 0.329646 | 1 | 0.044248 | false | 0.006637 | 0.022124 | 0 | 0.068584 | 0.002212 | 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 |
f62fce61aef36e4cfeb551ac5b3a8c9997d19aea | 3,886 | py | Python | utils/image_upload.py | MDRCS/social-network-platform | 405db888d69a458db7d41b9e46cf063b15f63363 | [
"MIT"
] | 1 | 2020-05-06T10:36:21.000Z | 2020-05-06T10:36:21.000Z | utils/image_upload.py | MDRCS/social-network-platform | 405db888d69a458db7d41b9e46cf063b15f63363 | [
"MIT"
] | 1 | 2020-04-07T18:13:40.000Z | 2020-04-07T18:13:40.000Z | utils/image_upload.py | MDRCS/social-network-platform | 405db888d69a458db7d41b9e46cf063b15f63363 | [
"MIT"
] | null | null | null | import os
import boto3
from wand.image import Image
from boto3.s3.transfer import S3Transfer
from settings import Config
from utils.commons import utc_now_timestamp as now, utc_now_ts_ms as now_ms
def thumbnail_process(file, content_type, content_id, sizes=[("sm", 50), ("lg", 75), ("xlg", 200)]):
image_id = now()... | 38.475248 | 117 | 0.634328 | 503 | 3,886 | 4.693837 | 0.16501 | 0.059297 | 0.067768 | 0.182973 | 0.786955 | 0.751377 | 0.730199 | 0.714951 | 0.714951 | 0.714951 | 0 | 0.009082 | 0.234946 | 3,886 | 100 | 118 | 38.86 | 0.785066 | 0.007977 | 0 | 0.531646 | 0 | 0 | 0.056104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037975 | false | 0 | 0.075949 | 0 | 0.139241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f646ec967c7e34b5fa1544e00757a76a50b31188 | 20,730 | py | Python | FlaskTry/seleniumTests/testAddDataManually.py | sagivmap/flask | 554485f247d7e006b4c4f65ddccc98c2930c5537 | [
"MIT"
] | null | null | null | FlaskTry/seleniumTests/testAddDataManually.py | sagivmap/flask | 554485f247d7e006b4c4f65ddccc98c2930c5537 | [
"MIT"
] | null | null | null | FlaskTry/seleniumTests/testAddDataManually.py | sagivmap/flask | 554485f247d7e006b4c4f65ddccc98c2930c5537 | [
"MIT"
] | null | null | null | import unittest
from time import sleep
import os
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException
class TestAddNewNodes(unittest.TestCase):
def setUp(self... | 51.439206 | 118 | 0.648384 | 2,640 | 20,730 | 4.798485 | 0.075758 | 0.124171 | 0.094727 | 0.138933 | 0.838964 | 0.803915 | 0.763104 | 0.73287 | 0.707768 | 0.654878 | 0 | 0.035216 | 0.204149 | 20,730 | 403 | 119 | 51.439206 | 0.732634 | 0.003136 | 0 | 0.567797 | 0 | 0 | 0.147406 | 0.042635 | 0 | 0 | 0 | 0 | 0.19209 | 1 | 0.101695 | false | 0.031073 | 0.022599 | 0.00565 | 0.149718 | 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 |
f65868ec0f9ef6b7bfe4107950cb10c7de145857 | 59,218 | py | Python | dppy/exact_sampling.py | JohnnyDeuss/DPPy | cb4577f75ca998481ca6f248af10b19f986eca1c | [
"MIT"
] | 176 | 2018-06-27T20:19:50.000Z | 2022-03-31T16:20:32.000Z | dppy/exact_sampling.py | Vincentius1990/DPPy | cb4577f75ca998481ca6f248af10b19f986eca1c | [
"MIT"
] | 52 | 2018-06-28T23:03:32.000Z | 2021-12-01T15:10:36.000Z | dppy/exact_sampling.py | Vincentius1990/DPPy | cb4577f75ca998481ca6f248af10b19f986eca1c | [
"MIT"
] | 46 | 2018-06-27T20:19:55.000Z | 2022-02-28T14:29:48.000Z | # coding: utf8
""" Implementation of finite DPP exact samplers derived from:
- the raw **projection** correlation :math:`K` kernel (no need for eigendecomposition)
- the eigendecomposition of the correlation :math:`K` kernel
.. seealso:
`Documentation on ReadTheDocs <https://dppy.readthedocs.io/en/latest/finite_... | 44.126677 | 285 | 0.630433 | 8,012 | 59,218 | 4.501623 | 0.082127 | 0.050905 | 0.057948 | 0.013863 | 0.805695 | 0.775224 | 0.761389 | 0.742479 | 0.729587 | 0.715169 | 0 | 0.008423 | 0.268229 | 59,218 | 1,341 | 286 | 44.159582 | 0.823857 | 0.628812 | 0 | 0.530864 | 0 | 0 | 0.041833 | 0.002352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039506 | false | 0 | 0.009877 | 0 | 0.088889 | 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 |
9ca9a251170a8f9e9f4727d605241c3bdd58ad42 | 136 | py | Python | django_dash_project/app_one/views.py | Mascobot/django-plotly-dash_App_template | dc2d12ab6f8d509a69b789dd46d10ffbc1eca6b2 | [
"MIT"
] | null | null | null | django_dash_project/app_one/views.py | Mascobot/django-plotly-dash_App_template | dc2d12ab6f8d509a69b789dd46d10ffbc1eca6b2 | [
"MIT"
] | null | null | null | django_dash_project/app_one/views.py | Mascobot/django-plotly-dash_App_template | dc2d12ab6f8d509a69b789dd46d10ffbc1eca6b2 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home(requests):
return render(requests, 'app_one/welcome.html') | 19.428571 | 51 | 0.757353 | 19 | 136 | 5.368421 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 7 | 51 | 19.428571 | 0.87931 | 0.169118 | 0 | 0 | 0 | 0 | 0.178571 | 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 |
9cb175e8d26e2ebc4cd952a1707204f00ecf5db3 | 10,113 | py | Python | psyneulink/library/models/MontagueDayanSejnowski96.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 67 | 2018-01-05T22:18:44.000Z | 2022-03-27T11:27:31.000Z | psyneulink/library/models/MontagueDayanSejnowski96.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 1,064 | 2017-12-01T18:58:27.000Z | 2022-03-31T22:22:24.000Z | psyneulink/library/models/MontagueDayanSejnowski96.py | JeshuaT/PsyNeuLink | 912f691028e848659055430f37b6c15273c762f1 | [
"Apache-2.0"
] | 25 | 2017-12-01T20:27:07.000Z | 2022-03-08T21:49:39.000Z | """
This implements a model of mesolimbic dopamine cell activity during monkey
conditioning as found in `Montague, Dayan, and Sejnowski (1996) in PsyNeuLink
<http://www.jneurosci.org/content/jneuro/16/5/1936.full.pdf>`_
"""
import argparse
import numpy as np
import psyneulink as pnl
all_figures = ['5a', '5b', '5c']
... | 37.594796 | 124 | 0.624543 | 1,211 | 10,113 | 5.010735 | 0.188274 | 0.044496 | 0.013349 | 0.034608 | 0.805043 | 0.788893 | 0.751318 | 0.747693 | 0.73797 | 0.705669 | 0 | 0.035015 | 0.282705 | 10,113 | 268 | 125 | 37.735075 | 0.800937 | 0.158707 | 0 | 0.689873 | 0 | 0 | 0.04865 | 0.007494 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031646 | false | 0 | 0.025316 | 0 | 0.088608 | 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 |
9cb4e5fc523174854570f6d3df2b5d236472cf55 | 3,198 | py | Python | openconcept/analysis/atmospherics/true_airspeed.py | vrsub/openconcept | 459aa24269cf54122ee4cfb3edf173c79c880be9 | [
"MIT"
] | 22 | 2018-09-11T16:40:23.000Z | 2022-03-22T09:45:53.000Z | openconcept/analysis/atmospherics/true_airspeed.py | vrsub/openconcept | 459aa24269cf54122ee4cfb3edf173c79c880be9 | [
"MIT"
] | 25 | 2018-12-16T20:32:17.000Z | 2022-03-16T14:53:07.000Z | openconcept/analysis/atmospherics/true_airspeed.py | vrsub/openconcept | 459aa24269cf54122ee4cfb3edf173c79c880be9 | [
"MIT"
] | 24 | 2018-07-27T06:31:01.000Z | 2022-03-13T15:27:07.000Z | from __future__ import division
import numpy as np
from openmdao.api import ExplicitComponent
class TrueAirspeedComp(ExplicitComponent):
'''
Computes true airspeed from equivalent airspeed and density
Inputs
------
fltcond|rho : float
Density (vector, kg/m3)
fltcond|Ueas : float
... | 34.021277 | 141 | 0.642276 | 412 | 3,198 | 4.854369 | 0.165049 | 0.07 | 0.055 | 0.033 | 0.8465 | 0.806 | 0.77 | 0.7675 | 0.646 | 0.646 | 0 | 0.016231 | 0.210131 | 3,198 | 94 | 141 | 34.021277 | 0.775534 | 0.22045 | 0 | 0.512821 | 0 | 0 | 0.205444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205128 | false | 0 | 0.076923 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1406db957faba79fd346227b7cb85eec9e41328f | 37 | py | Python | backend/server_delta/server_delta_app/managers/source_income/__init__.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | null | null | null | backend/server_delta/server_delta_app/managers/source_income/__init__.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | 13 | 2020-06-05T18:26:43.000Z | 2021-06-10T20:36:13.000Z | backend/server_delta/server_delta_app/managers/source_income/__init__.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | null | null | null | from .source_income_manager import *
| 18.5 | 36 | 0.837838 | 5 | 37 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.878788 | 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 |
141ccc9bebb104a5e28a8266bfc0e435f50fdb2b | 181 | py | Python | tests/conftest.py | corenting/eddrit | 640db842d48afa8f8b379f7412c90ad9216312df | [
"MIT"
] | 9 | 2020-10-16T20:29:05.000Z | 2022-03-06T08:07:06.000Z | tests/conftest.py | corenting/eddrit | 640db842d48afa8f8b379f7412c90ad9216312df | [
"MIT"
] | 7 | 2020-10-16T16:34:57.000Z | 2022-01-19T17:30:29.000Z | tests/conftest.py | corenting/eddrit | 640db842d48afa8f8b379f7412c90ad9216312df | [
"MIT"
] | null | null | null | import pytest
from starlette.testclient import TestClient
from eddrit.app import app
@pytest.fixture(scope="session")
def test_client() -> TestClient:
return TestClient(app)
| 18.1 | 43 | 0.779006 | 23 | 181 | 6.086957 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132597 | 181 | 9 | 44 | 20.111111 | 0.89172 | 0 | 0 | 0 | 0 | 0 | 0.038674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1427154d8eb5038e9c2f0203a77d1b1bb7dd2ccc | 119 | py | Python | ext/voxelmorph/voxelmorph/tf/synthseg/__init__.py | thomshaw92/Atlas-GAN | 307146f369a6eab2ce2e15f6de0aa5eb34b1cb12 | [
"MIT"
] | 25 | 2021-05-11T06:58:32.000Z | 2022-03-08T09:15:09.000Z | ext/voxelmorph/voxelmorph/tf/synthseg/__init__.py | thomshaw92/Atlas-GAN | 307146f369a6eab2ce2e15f6de0aa5eb34b1cb12 | [
"MIT"
] | 1 | 2022-01-05T12:19:37.000Z | 2022-01-14T19:08:32.000Z | ext/voxelmorph/voxelmorph/tf/synthseg/__init__.py | thomshaw92/Atlas-GAN | 307146f369a6eab2ce2e15f6de0aa5eb34b1cb12 | [
"MIT"
] | 5 | 2021-06-18T13:30:04.000Z | 2022-01-25T05:00:53.000Z | from . import utils
from . import labels_to_image_model
from .model_input_generator import build_model_input_generator
| 29.75 | 62 | 0.87395 | 18 | 119 | 5.333333 | 0.555556 | 0.208333 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 3 | 63 | 39.666667 | 0.897196 | 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 |
1457b352845e798424de8e14903e4614834e0cc8 | 109 | py | Python | nemde/tests/context.py | akxen/nemde | 23afcdf128352f12d3074194a1321a8f810f4407 | [
"Apache-2.0"
] | null | null | null | nemde/tests/context.py | akxen/nemde | 23afcdf128352f12d3074194a1321a8f810f4407 | [
"Apache-2.0"
] | null | null | null | nemde/tests/context.py | akxen/nemde | 23afcdf128352f12d3074194a1321a8f810f4407 | [
"Apache-2.0"
] | 1 | 2022-01-16T01:48:54.000Z | 2022-01-16T01:48:54.000Z | from os import path
import sys
sys.path.append(path.join(path.dirname(__file__), path.pardir, path.pardir))
| 21.8 | 76 | 0.779817 | 18 | 109 | 4.5 | 0.555556 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091743 | 109 | 4 | 77 | 27.25 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1476781de862cf341574ab9b8ea6c222660b703a | 80 | py | Python | makala/__init__.py | rlauer6/makala | 843726138e66d67377479a11ac1c6547be1f17c7 | [
"MIT"
] | null | null | null | makala/__init__.py | rlauer6/makala | 843726138e66d67377479a11ac1c6547be1f17c7 | [
"MIT"
] | null | null | null | makala/__init__.py | rlauer6/makala | 843726138e66d67377479a11ac1c6547be1f17c7 | [
"MIT"
] | null | null | null | from .lambda_config import LambdaConfig
from .makala_config import MakalaConfig
| 26.666667 | 39 | 0.875 | 10 | 80 | 6.8 | 0.7 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1afa806be9587380795575136305541300fce97c | 122 | py | Python | dist/Basilisk/simulation/simple_nav/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/simulation/simple_nav/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/simulation/simple_nav/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the simple_nav package is automatically generated by the build system
from simple_nav import * | 61 | 97 | 0.827869 | 20 | 122 | 4.75 | 0.85 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 122 | 2 | 98 | 61 | 0.913462 | 0.778689 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
211dc10667743958f6d7842e697ebd3ef0f864d8 | 9,320 | py | Python | services/server/app/tests/test_auth_view_unit.py | onlinejudge95/Sentimental | d17207729be25fbbf830eef9672edaeec124114f | [
"MIT"
] | 2 | 2020-03-17T19:49:39.000Z | 2020-05-13T14:16:24.000Z | services/server/app/tests/test_auth_view_unit.py | onlinejudge95/Sentimental | d17207729be25fbbf830eef9672edaeec124114f | [
"MIT"
] | 125 | 2020-05-13T14:16:28.000Z | 2021-11-25T21:01:10.000Z | services/server/app/tests/test_auth_view_unit.py | onlinejudge95/Sentimental | d17207729be25fbbf830eef9672edaeec124114f | [
"MIT"
] | 1 | 2020-05-23T05:46:20.000Z | 2020-05-23T05:46:20.000Z | import json
from app.api.auth import views
from app.tests import mock_objects
# Test user registration passes
def test_user_registration(test_app, monkeypatch):
monkeypatch.setattr(
views, "get_user_by_email", mock_objects.get_no_user_by_email,
)
monkeypatch.setattr(views, "add_user", mock_objec... | 28.676923 | 74 | 0.633047 | 1,070 | 9,320 | 5.292523 | 0.07757 | 0.049444 | 0.064983 | 0.062158 | 0.890871 | 0.854318 | 0.830832 | 0.818647 | 0.801342 | 0.788628 | 0 | 0.006957 | 0.244313 | 9,320 | 324 | 75 | 28.765432 | 0.797104 | 0.059335 | 0 | 0.676 | 0 | 0 | 0.242317 | 0 | 0 | 0 | 0 | 0 | 0.148 | 1 | 0.052 | false | 0.04 | 0.012 | 0 | 0.064 | 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 |
213362838dad9c46cba22966d9ad0a94525698a1 | 792 | py | Python | xurls/unicode.py | andytzeng/pyxurls | eae5424ba60ff8892ddd0fa1590f154656e36df8 | [
"BSD-3-Clause"
] | 2 | 2020-12-30T03:18:25.000Z | 2021-01-18T06:51:31.000Z | xurls/unicode.py | andytzeng/pyxurls | eae5424ba60ff8892ddd0fa1590f154656e36df8 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T13:21:46.000Z | 2021-05-22T15:39:05.000Z | xurls/unicode.py | andytzeng/pyxurls | eae5424ba60ff8892ddd0fa1590f154656e36df8 | [
"BSD-3-Clause"
] | 2 | 2020-12-30T03:29:46.000Z | 2021-01-18T06:58:27.000Z | # Copyright 2021 Andy Tzeng <andytzeng@aol.tw>. All Rights Reserved.
# Licensed under BSD 3-Clause License.
# Refer the tool unicodegen from mvdan.cc/xurls/v2
otherPuncMinusDoubleQuote = "!#%&'\\*,\\./:;\\?@\\\\¡§¶·¿;·՚՛՜՝՞՟։׀׃׆׳״؉؊،؍؛؞؟٪٫٬٭۔܀܁܂܃܄܅܆܇܈܉܊܋܌܍߷߸߹࠰࠱࠲࠳࠴࠵࠶࠷࠸࠹࠺࠻࠼࠽࠾࡞।॥॰৽੶૰౷಄෴๏๚๛༄༅༆༇༈༉༊་༌།༎༏༐༑༒༔྅࿐࿑࿒࿓࿔࿙࿚၊။၌၍၎၏჻፠... | 132 | 631 | 0.186869 | 35 | 792 | 20.8 | 0.942857 | 0.005495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007833 | 0.032828 | 792 | 5 | 632 | 158.4 | 0.185379 | 0.191919 | 0 | 0 | 0 | 0 | 0.944969 | 0.944969 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2146287ffe53f4177aeced30cf72c56ac2c49ded | 27 | py | Python | rosserial/rosserial_arduino/src/rosserial_arduino/__init__.py | JVR01/3DPrinted_Robot_ArmRepo | 0f0b5aa7ddb9279f11aba6ad7c2a38c2d8926714 | [
"MIT"
] | 48 | 2016-11-10T06:00:27.000Z | 2022-03-01T12:57:23.000Z | rosserial/rosserial_arduino/src/rosserial_arduino/__init__.py | JVR01/3DPrinted_Robot_ArmRepo | 0f0b5aa7ddb9279f11aba6ad7c2a38c2d8926714 | [
"MIT"
] | 30 | 2020-11-27T23:12:12.000Z | 2021-04-25T15:37:42.000Z | rosserial/rosserial_arduino/src/rosserial_arduino/__init__.py | JVR01/3DPrinted_Robot_ArmRepo | 0f0b5aa7ddb9279f11aba6ad7c2a38c2d8926714 | [
"MIT"
] | 20 | 2017-02-28T13:24:31.000Z | 2021-12-06T12:36:46.000Z | from SerialClient import *
| 13.5 | 26 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
214d8444663c11a6654f9a5056a3cbe46ebc255c | 20,273 | py | Python | tests/model_loading_test.py | DPBayes/twinify | 954c182710dd6628871f09114139a962169386e1 | [
"Apache-2.0"
] | 20 | 2020-07-09T12:19:20.000Z | 2022-03-25T06:30:31.000Z | tests/model_loading_test.py | DPBayes/twinify | 954c182710dd6628871f09114139a962169386e1 | [
"Apache-2.0"
] | 20 | 2020-06-26T11:35:14.000Z | 2021-12-03T15:34:07.000Z | tests/model_loading_test.py | DPBayes/twinify | 954c182710dd6628871f09114139a962169386e1 | [
"Apache-2.0"
] | 1 | 2022-03-15T17:29:11.000Z | 2022-03-15T17:29:11.000Z | import unittest
import pandas as pd
import numpy as np
from numpyro.handlers import seed, trace
import jax
from twinify.model_loading import load_custom_numpyro_model, ModelException
from argparse import Namespace
class NumpyroModelLoadingTests(unittest.TestCase):
def test_load_numpyro_model_file_not_found(self):... | 62.959627 | 179 | 0.672668 | 2,681 | 20,273 | 4.835136 | 0.070123 | 0.081463 | 0.079997 | 0.103525 | 0.918923 | 0.905655 | 0.895009 | 0.875492 | 0.847489 | 0.806526 | 0 | 0.012922 | 0.198392 | 20,273 | 322 | 180 | 62.959627 | 0.784752 | 0.031322 | 0 | 0.629893 | 0 | 0.05694 | 0.279427 | 0.115463 | 0 | 0 | 0 | 0.003106 | 0.177936 | 1 | 0.096085 | false | 0.02847 | 0.024911 | 0 | 0.185053 | 0.003559 | 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 |
215584ef22922359be68206e084d6ba1423594eb | 11,680 | py | Python | IPPortRevealer.py | wsdx233/wsdx-bs-mods | 2aac0701e014017d50163145f3bab8e13b384344 | [
"AFL-3.0"
] | null | null | null | IPPortRevealer.py | wsdx233/wsdx-bs-mods | 2aac0701e014017d50163145f3bab8e13b384344 | [
"AFL-3.0"
] | null | null | null | IPPortRevealer.py | wsdx233/wsdx-bs-mods | 2aac0701e014017d50163145f3bab8e13b384344 | [
"AFL-3.0"
] | null | null | null | # -*- coding: utf-8 -*-
# ba_meta require api 6
#By Mr.Smoothy
#discord @mr.smoothy#5824
#You will be sentenced to death if try to modify or remove credits
#may not compatible with server connector for 1.5.29 which was dirty fixed by me
version_str = "1.2.4"
exec('import re,base64,string')
exec(base64.b64decode("Z... | 648.888889 | 11,150 | 0.984503 | 94 | 11,680 | 122.234043 | 0.808511 | 0.001044 | 0.000696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096069 | 0.00899 | 11,680 | 18 | 11,151 | 648.888889 | 0.896587 | 0.021147 | 0 | 0 | 0 | 0 | 0.981707 | 0.972254 | 0 | 1 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 0.125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dce57b52409c83a9166f34b4f0c41a57e66025a3 | 22,932 | py | Python | tests/scripts/test_install_addin_script.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | 7 | 2018-12-07T10:08:53.000Z | 2021-03-24T07:52:36.000Z | tests/scripts/test_install_addin_script.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | 76 | 2018-12-07T10:29:48.000Z | 2021-11-17T00:54:24.000Z | tests/scripts/test_install_addin_script.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | null | null | null | import os.path
import subprocess
import sys
import winreg
from typing import List, Tuple, Dict
import pytest
import pyxelrest.install_addin
def redirect_paths(monkeypatch, redirects: Dict[str, str]):
original = os.path.join
def redirect(*args) -> str:
original_path = original(*args)
return ... | 35.171779 | 147 | 0.644558 | 2,595 | 22,932 | 5.458189 | 0.06474 | 0.078791 | 0.10449 | 0.111833 | 0.857244 | 0.839593 | 0.827873 | 0.809235 | 0.789043 | 0.775346 | 0 | 0.002648 | 0.22606 | 22,932 | 651 | 148 | 35.225806 | 0.795414 | 0.007152 | 0 | 0.674216 | 0 | 0.010453 | 0.183535 | 0.029037 | 0 | 0 | 0 | 0 | 0.111498 | 1 | 0.057491 | false | 0 | 0.017422 | 0.008711 | 0.090592 | 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 |
0d157c157ac727c9e6893f26b7687a60e92132bf | 3,443 | py | Python | tests/test_03_blobs_table.py | jdfekete/progressivis | 3bc79ce229cd628ef0aa4663136a674743697b47 | [
"BSD-2-Clause"
] | 51 | 2015-09-14T16:31:02.000Z | 2022-01-12T17:56:53.000Z | tests/test_03_blobs_table.py | jdfekete/progressivis | 3bc79ce229cd628ef0aa4663136a674743697b47 | [
"BSD-2-Clause"
] | 10 | 2017-11-15T15:10:05.000Z | 2022-01-19T07:36:43.000Z | tests/test_03_blobs_table.py | jdfekete/progressivis | 3bc79ce229cd628ef0aa4663136a674743697b47 | [
"BSD-2-Clause"
] | 5 | 2017-11-14T20:20:56.000Z | 2020-01-22T06:26:51.000Z | from . import ProgressiveTest
from progressivis.core import aio
from progressivis import Every
from progressivis.stats.blobs_table import BlobsTable, MVBlobsTable
from progressivis.stats.random_table import RandomTable
from progressivis.linalg import Add
import numpy as np
from progressivis.io import CSVLoader
def prin... | 41.481928 | 93 | 0.630555 | 481 | 3,443 | 4.449064 | 0.18711 | 0.056075 | 0.06729 | 0.033645 | 0.802804 | 0.784112 | 0.784112 | 0.752336 | 0.702804 | 0.702804 | 0 | 0.056995 | 0.215219 | 3,443 | 82 | 94 | 41.987805 | 0.735011 | 0.009294 | 0 | 0.657534 | 0 | 0 | 0.004696 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 1 | 0.068493 | false | 0 | 0.109589 | 0 | 0.205479 | 0.027397 | 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 |
0d325f78754e2c67cae7130cb8e8813c0f0510a7 | 127 | py | Python | skfem/assembly/basis/__init__.py | ahhuhtal/scikit-fem | 84ad97bfd2a92d28694f54f6897d97966bda31df | [
"BSD-3-Clause"
] | 1 | 2020-05-31T14:07:14.000Z | 2020-05-31T14:07:14.000Z | skfem/assembly/basis/__init__.py | ahhuhtal/scikit-fem | 84ad97bfd2a92d28694f54f6897d97966bda31df | [
"BSD-3-Clause"
] | 1 | 2020-06-01T05:39:31.000Z | 2020-06-01T05:39:31.000Z | skfem/assembly/basis/__init__.py | ahhuhtal/scikit-fem | 84ad97bfd2a92d28694f54f6897d97966bda31df | [
"BSD-3-Clause"
] | null | null | null | from .basis import Basis # noqa
from .interior_basis import InteriorBasis # noqa
from .facet_basis import FacetBasis # noqa
| 31.75 | 49 | 0.787402 | 17 | 127 | 5.764706 | 0.470588 | 0.336735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 127 | 3 | 50 | 42.333333 | 0.924528 | 0.110236 | 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 |
0d35b8e1304ea4e4d4df53f996bb8adcb6baae45 | 393 | py | Python | src/the_tale/the_tale/portal/jinjaglobals.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | 1 | 2020-04-02T11:51:20.000Z | 2020-04-02T11:51:20.000Z | src/the_tale/the_tale/portal/jinjaglobals.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/portal/jinjaglobals.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null |
import smart_imports
smart_imports.all()
@dext_jinja2.jinjaglobal
def faq_url():
return dext_jinja2.Markup(conf.settings.FAQ_URL)
@dext_jinja2.jinjaglobal
def players_projects_url():
return dext_jinja2.Markup(conf.settings.PLAYERS_PROJECTS_URL)
@dext_jinja2.jinjaglobal
def get_edition_number():
retu... | 19.65 | 80 | 0.793893 | 54 | 393 | 5.462963 | 0.462963 | 0.169492 | 0.213559 | 0.244068 | 0.433898 | 0.250847 | 0.250847 | 0 | 0 | 0 | 0 | 0.017094 | 0.10687 | 393 | 19 | 81 | 20.684211 | 0.823362 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
b4956834d0d26e366e56d0aa6cb96ce92d61f5be | 25,831 | py | Python | test_fft.py | fukuroder/pyintfft | 7d14429ad61fbde6f8cc383f0c30d4baa1724913 | [
"MIT"
] | 2 | 2020-10-05T20:42:18.000Z | 2020-11-09T06:44:27.000Z | test_fft.py | fukuroder/pyintfft | 7d14429ad61fbde6f8cc383f0c30d4baa1724913 | [
"MIT"
] | null | null | null | test_fft.py | fukuroder/pyintfft | 7d14429ad61fbde6f8cc383f0c30d4baa1724913 | [
"MIT"
] | 2 | 2022-01-27T17:53:50.000Z | 2022-03-29T15:24:15.000Z | import unittest
import numpy as np
from intfft import fft, ifft
class TestFFT(unittest.TestCase):
# confirm the input arguments .
def _test_fft_input_type(self, dtype):
xr1 = np.arange(2**7, dtype=dtype)
xi1 = np.arange(2**7, dtype=dtype)
_, _ = fft(xr1, xi1)
def test_fft_input_type... | 64.256219 | 175 | 0.738764 | 4,694 | 25,831 | 3.58905 | 0.033447 | 0.155814 | 0.220099 | 0.159376 | 0.97038 | 0.910251 | 0.81605 | 0.632872 | 0.439603 | 0.264379 | 0 | 0.078281 | 0.134064 | 25,831 | 401 | 176 | 64.416459 | 0.674893 | 0.028144 | 0 | 0.257062 | 0 | 0 | 0.026475 | 0 | 0 | 0 | 0 | 0 | 0.090395 | 1 | 0.649718 | false | 0 | 0.008475 | 0 | 0.661017 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d30af97097ac1df5e3232c174c8f03f9cae132c4 | 181 | py | Python | versioneer.py | ggservice007/my-happy-modin | ab293ecfa04516a5c9f76284e09b45cdd7588186 | [
"Apache-2.0"
] | null | null | null | versioneer.py | ggservice007/my-happy-modin | ab293ecfa04516a5c9f76284e09b45cdd7588186 | [
"Apache-2.0"
] | 2 | 2021-01-27T11:25:26.000Z | 2021-01-27T12:47:53.000Z | versioneer.py | ggservice007/my-happy-modin | ab293ecfa04516a5c9f76284e09b45cdd7588186 | [
"Apache-2.0"
] | null | null | null | def get_versions():
return {
'version': "0.8.21"
}
def get_version():
"""Get the short version string for this project."""
return get_versions()["version"]
| 20.111111 | 56 | 0.60221 | 23 | 181 | 4.608696 | 0.608696 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.243094 | 181 | 8 | 57 | 22.625 | 0.744526 | 0.254144 | 0 | 0 | 0 | 0 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d322e989015a12c3fd13ec16cae797c72556c601 | 29 | py | Python | generic_search/utils/__init__.py | barakaVictor/django-generic-search | bbfe05fe0aba30de740f4dee07c885382c4f2b46 | [
"BSD-3-Clause"
] | 2 | 2022-03-03T22:03:07.000Z | 2022-03-06T06:50:52.000Z | generic_search/utils/__init__.py | barakaVictor/django-generic-search | bbfe05fe0aba30de740f4dee07c885382c4f2b46 | [
"BSD-3-Clause"
] | null | null | null | generic_search/utils/__init__.py | barakaVictor/django-generic-search | bbfe05fe0aba30de740f4dee07c885382c4f2b46 | [
"BSD-3-Clause"
] | null | null | null | from .utils import pos_tagger | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 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 |
d329ad3ba5a60096e9c749d8459d9a94b0bb2959 | 22 | py | Python | src/pimpmydb/forms/__init__.py | gurgy11/PimpMyDB | 8ebc6cf153172bead500eb7caacbe885b3e08b3a | [
"MIT"
] | null | null | null | src/pimpmydb/forms/__init__.py | gurgy11/PimpMyDB | 8ebc6cf153172bead500eb7caacbe885b3e08b3a | [
"MIT"
] | null | null | null | src/pimpmydb/forms/__init__.py | gurgy11/PimpMyDB | 8ebc6cf153172bead500eb7caacbe885b3e08b3a | [
"MIT"
] | null | null | null | from .form import Form | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
d35324ae4c38e6fc0eb1160691d4e4cc2ea3819b | 3,202 | py | Python | numpyro/contrib/module.py | TuanNguyen27/numpyro | b4ba9f1dd7e1e2d12ee67bebd4e5872fad69f770 | [
"MIT"
] | 3 | 2020-08-25T14:31:08.000Z | 2020-08-26T02:23:08.000Z | numpyro/contrib/module.py | TuanNguyen27/numpyro | b4ba9f1dd7e1e2d12ee67bebd4e5872fad69f770 | [
"MIT"
] | null | null | null | numpyro/contrib/module.py | TuanNguyen27/numpyro | b4ba9f1dd7e1e2d12ee67bebd4e5872fad69f770 | [
"MIT"
] | 1 | 2020-09-11T10:08:27.000Z | 2020-09-11T10:08:27.000Z | # Copyright Contributors to the Pyro project.
# SPDX-License-Identifier: Apache-2.0
from functools import partial
from jax import numpy as jnp
import numpyro
from numpyro.distributions.discrete import PRNGIdentity
def flax_module(name, nn, input_shape=None):
"""
Declare a :mod:`~flax` style neural network ... | 41.584416 | 109 | 0.659275 | 440 | 3,202 | 4.718182 | 0.275 | 0.04817 | 0.030829 | 0.040462 | 0.840077 | 0.840077 | 0.840077 | 0.840077 | 0.840077 | 0.804432 | 0 | 0.003404 | 0.266084 | 3,202 | 76 | 110 | 42.131579 | 0.88 | 0.373517 | 0 | 0.526316 | 0 | 0.026316 | 0.29294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.263158 | 0 | 0.368421 | 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 |
d3724652798a4996930fab9a2d72fe5e105c9398 | 77 | py | Python | jacdac/wind_direction/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/wind_direction/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/wind_direction/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import WindDirectionClient # type: ignore
| 25.666667 | 54 | 0.805195 | 8 | 77 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 2 | 55 | 38.5 | 0.925373 | 0.415584 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d386755286c8694ce2ecd90f9fbd8d109a60bfb0 | 8,646 | py | Python | ckan/ckanext-dcat/ckanext/dcat/tests/test_logic.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-dcat/ckanext/dcat/tests/test_logic.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-dcat/ckanext/dcat/tests/test_logic.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | import nose
import mock
from pylons import config
from ckan.plugins import toolkit
try:
from ckan.tests import helpers
except ImportError:
from ckan.new_tests import helpers
from ckanext.dcat.logic import _pagination_info
eq_ = nose.tools.eq_
assert_raises = nose.tools.assert_raises
class TestPagination(... | 33 | 88 | 0.583044 | 1,030 | 8,646 | 4.686408 | 0.085437 | 0.116843 | 0.087011 | 0.082039 | 0.922726 | 0.911125 | 0.897866 | 0.891651 | 0.886472 | 0.835301 | 0 | 0.01865 | 0.268217 | 8,646 | 261 | 89 | 33.126437 | 0.744271 | 0.020819 | 0 | 0.673171 | 0 | 0.019512 | 0.273265 | 0.06267 | 0 | 0 | 0 | 0 | 0.063415 | 1 | 0.039024 | false | 0 | 0.039024 | 0 | 0.082927 | 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 |
6cd47c5d279e6e792e19d33d959e5e495c67afbb | 205 | py | Python | chapter01/python2_str_types.py | PacktPublishing/Hands-On-Enterprise-Application-Development-with-Python | 4802509ff92982a53006b8f327e010cda791f911 | [
"MIT"
] | 27 | 2018-12-07T14:31:10.000Z | 2021-11-08T13:12:46.000Z | chapter01/python2_str_types.py | MindaugasVaitkus2/Hands-On-Enterprise-Application-Development-with-Python | dc51e134ba2fd1d2ad91f8253f40995f161ecbd8 | [
"MIT"
] | 1 | 2020-07-16T14:28:49.000Z | 2020-07-21T12:43:43.000Z | chapter01/python2_str_types.py | MindaugasVaitkus2/Hands-On-Enterprise-Application-Development-with-Python | dc51e134ba2fd1d2ad91f8253f40995f161ecbd8 | [
"MIT"
] | 23 | 2018-08-22T18:34:47.000Z | 2021-09-02T09:57:27.000Z | #!/bin/python2
str1 = 'Hello'
print "Type of str1 is " + str(type(str1))
str2 = u'World'
print "Type of str2 is " + str(type(str2))
str3 = str1 + str2
print "Type of str3(str1+str2) is " + str(type(str3))
| 25.625 | 53 | 0.64878 | 36 | 205 | 3.694444 | 0.361111 | 0.203008 | 0.24812 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 0.17561 | 205 | 7 | 54 | 29.285714 | 0.704142 | 0.063415 | 0 | 0 | 0 | 0 | 0.361257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9f61eb9f190da6c91b7459176cc704b93e8c3007 | 40 | py | Python | blockmatching/__init__.py | fepegar/blockmatching-nipype | f8e6f1f937ce113443a4e11b82505f128c7ac9f5 | [
"MIT"
] | 1 | 2020-02-28T13:42:30.000Z | 2020-02-28T13:42:30.000Z | blockmatching/__init__.py | fepegar/blockmatching-nipype | f8e6f1f937ce113443a4e11b82505f128c7ac9f5 | [
"MIT"
] | null | null | null | blockmatching/__init__.py | fepegar/blockmatching-nipype | f8e6f1f937ce113443a4e11b82505f128c7ac9f5 | [
"MIT"
] | null | null | null | from .blockmatching import Blockmatching | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 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 |
4c9aee5754c4f608a9e29170cb5ba4990b0a2c5e | 49 | py | Python | models/__init__.py | ZhihaoDU/food_is_unstopped | f7f10c50eb98c8957a87e7bbe2a7f1a75874c84e | [
"MIT"
] | 3 | 2019-06-28T02:59:41.000Z | 2020-05-20T03:22:58.000Z | models/__init__.py | ZhihaoDU/food_is_unstopped | f7f10c50eb98c8957a87e7bbe2a7f1a75874c84e | [
"MIT"
] | null | null | null | models/__init__.py | ZhihaoDU/food_is_unstopped | f7f10c50eb98c8957a87e7bbe2a7f1a75874c84e | [
"MIT"
] | null | null | null | from .DenseNet import *
from .SPPResNet import *
| 16.333333 | 24 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 25 | 24.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cbfab0cbb5772c4872bb54c295863f8fa18d673 | 110 | py | Python | tables/__init__.py | JAEBuckingham/World-Builder | 525c08734c72cbba46d2bbfa437b6a6cf3d1c78c | [
"MIT"
] | null | null | null | tables/__init__.py | JAEBuckingham/World-Builder | 525c08734c72cbba46d2bbfa437b6a6cf3d1c78c | [
"MIT"
] | null | null | null | tables/__init__.py | JAEBuckingham/World-Builder | 525c08734c72cbba46d2bbfa437b6a6cf3d1c78c | [
"MIT"
] | null | null | null | """table descriptions for sqlalchemy"""
import tables.characters
import tables.events
import tables.locations
| 22 | 39 | 0.827273 | 13 | 110 | 7 | 0.692308 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 110 | 4 | 40 | 27.5 | 0.91 | 0.3 | 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 |
4cc8781472d3e4f205d033fd595752b80cc7fbb9 | 2,081 | py | Python | day2.py | KellyMK/aoc21 | bff880ea9fa785ed7e3b8cbfdda60915127aa138 | [
"MIT"
] | null | null | null | day2.py | KellyMK/aoc21 | bff880ea9fa785ed7e3b8cbfdda60915127aa138 | [
"MIT"
] | null | null | null | day2.py | KellyMK/aoc21 | bff880ea9fa785ed7e3b8cbfdda60915127aa138 | [
"MIT"
] | null | null | null | import numpy as np
import requests
def day2a(dirs, start=None):
"""Update the horizontal position and depth
Args:
dirs (character list or generator): List of character strings of the form "forward/up/down int"
start (int, optional): 2-dimensional starting point, where the first
compone... | 24.77381 | 103 | 0.581451 | 283 | 2,081 | 4.24735 | 0.257951 | 0.040765 | 0.046589 | 0.039933 | 0.825291 | 0.747088 | 0.708819 | 0.708819 | 0.708819 | 0.672213 | 0 | 0.036011 | 0.306103 | 2,081 | 83 | 104 | 25.072289 | 0.796399 | 0.426718 | 0 | 0.444444 | 0 | 0 | 0.053394 | 0.021719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.166667 | 0.111111 | 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 |
4ccbed8142e3d21d23448008f1a5ea69d8f5d431 | 3,526 | py | Python | halotools/mock_observables/isolation_functions/tests/test_brute_force_comparisons.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T14:54:16.000Z | 2021-12-09T11:28:02.000Z | halotools/mock_observables/isolation_functions/tests/test_brute_force_comparisons.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 579 | 2015-01-14T15:57:37.000Z | 2022-01-13T18:58:44.000Z | halotools/mock_observables/isolation_functions/tests/test_brute_force_comparisons.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 70 | 2015-01-14T15:15:58.000Z | 2021-12-22T18:18:31.000Z | """ Module providing testing of isolation functions by comparing to naive serial algorithms
implemented in pure python
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
from astropy.utils.misc import NumpyRNGContext
from .pure_python_isolation import naive_spher... | 32.054545 | 91 | 0.661089 | 472 | 3,526 | 4.798729 | 0.169492 | 0.028256 | 0.049448 | 0.02649 | 0.798676 | 0.798676 | 0.798676 | 0.798676 | 0.798676 | 0.798676 | 0 | 0.075709 | 0.209586 | 3,526 | 109 | 92 | 32.348624 | 0.736993 | 0.068917 | 0 | 0.764706 | 0 | 0 | 0.007747 | 0.007747 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.058824 | false | 0 | 0.088235 | 0 | 0.147059 | 0.014706 | 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 |
4cd8a9582e457c9a51c2dbf74ea07916e23f9fdd | 132 | py | Python | bigquery-to-pubsub-master/bigquery_to_pubsub/utils/random_utils.py | ofaruk/mycode | ed4a185908d7fa56d8758b94d5a92f3a5844a4f3 | [
"MIT"
] | 7 | 2020-01-21T16:02:33.000Z | 2022-01-29T21:12:16.000Z | bigquery-to-pubsub-master/bigquery_to_pubsub/utils/random_utils.py | ofaruk/mycode | ed4a185908d7fa56d8758b94d5a92f3a5844a4f3 | [
"MIT"
] | 1 | 2021-05-18T18:22:57.000Z | 2021-05-20T13:42:53.000Z | bigquery-to-pubsub-master/bigquery_to_pubsub/utils/random_utils.py | ofaruk/mycode | ed4a185908d7fa56d8758b94d5a92f3a5844a4f3 | [
"MIT"
] | 5 | 2020-01-21T16:25:18.000Z | 2021-08-08T22:54:23.000Z | import string
import random
def random_string(k):
return ''.join(random.choices(string.ascii_uppercase + string.digits, k=k))
| 18.857143 | 79 | 0.75 | 19 | 132 | 5.105263 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128788 | 132 | 6 | 80 | 22 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4ceddfe88e6d31b2adcb54fd768d4009c25597ad | 6,582 | py | Python | tests/test_plotscli.py | webclinic017/nseta | e718c4cf05937456ea10fdd7a911d76ffbc51a2e | [
"MIT"
] | 1 | 2021-09-24T16:15:57.000Z | 2021-09-24T16:15:57.000Z | tests/test_plotscli.py | webclinic017/nseta | e718c4cf05937456ea10fdd7a911d76ffbc51a2e | [
"MIT"
] | null | null | null | tests/test_plotscli.py | webclinic017/nseta | e718c4cf05937456ea10fdd7a911d76ffbc51a2e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
import matplotlib.pyplot as plt
from unittest.mock import patch
from click.testing import CliRunner
from nseta.cli.plotscli import plot_ta
import nseta.common.urls as urls
from baseUnitTest import baseUnitTest
class TestStrategycli(baseUnitTest):
def setUp(self, redirect_log... | 47.352518 | 150 | 0.659526 | 856 | 6,582 | 4.954439 | 0.117991 | 0.043858 | 0.038906 | 0.04598 | 0.825041 | 0.825041 | 0.806649 | 0.806649 | 0.79651 | 0.79651 | 0 | 0.045176 | 0.132331 | 6,582 | 138 | 151 | 47.695652 | 0.697426 | 0.003191 | 0 | 0.434783 | 0 | 0 | 0.296082 | 0.058546 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.147826 | false | 0 | 0.06087 | 0 | 0.217391 | 0.06087 | 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 |
4cf1c5a4982eb77a3f7bdb55d9d6ab8d1fe619ef | 30 | py | Python | recOrder/postproc/__init__.py | mehta-lab/recOrder | 67f2edb9ab13114dfe41d57e465ae24f961b0004 | [
"Unlicense"
] | 2 | 2022-01-19T21:13:32.000Z | 2022-02-24T19:40:24.000Z | recOrder/postproc/__init__.py | mehta-lab/recOrder | 67f2edb9ab13114dfe41d57e465ae24f961b0004 | [
"Unlicense"
] | 55 | 2021-06-24T18:53:18.000Z | 2022-03-30T21:05:14.000Z | recOrder/postproc/__init__.py | mehta-lab/recOrder | 67f2edb9ab13114dfe41d57e465ae24f961b0004 | [
"Unlicense"
] | null | null | null | from .post_processing import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e28e2a161ffd6c4f5fac94cc26ea51063dae5a7e | 180 | py | Python | pizza_store/services/product/__init__.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | 2 | 2021-07-10T15:47:45.000Z | 2021-12-13T18:09:30.000Z | pizza_store/services/product/__init__.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | null | null | null | pizza_store/services/product/__init__.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | null | null | null | from pizza_store.services.product.interface import IProductService
from pizza_store.services.product.service import ProductService
__all__ = ["IProductService", "ProductService"]
| 36 | 66 | 0.85 | 19 | 180 | 7.736842 | 0.578947 | 0.122449 | 0.190476 | 0.29932 | 0.394558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072222 | 180 | 4 | 67 | 45 | 0.88024 | 0 | 0 | 0 | 0 | 0 | 0.161111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2f6b3e11577fc44be0f8287bec39b014421a568 | 934 | py | Python | src/test/common/test_direction.py | VMoM/Tertris | aefd7927c5362ca85376f92870a2c49b5d00c2bb | [
"MIT"
] | 3 | 2020-10-30T09:10:20.000Z | 2020-11-01T11:26:29.000Z | src/test/common/test_direction.py | VMoM/Tertris | aefd7927c5362ca85376f92870a2c49b5d00c2bb | [
"MIT"
] | null | null | null | src/test/common/test_direction.py | VMoM/Tertris | aefd7927c5362ca85376f92870a2c49b5d00c2bb | [
"MIT"
] | null | null | null | import unittest
import common.direction as m_direction
class TestDirection(unittest.TestCase):
def test_get_x_variation(self):
self.assertEqual(m_direction.Direction.LEFT.get_x_variation(), -1, "Should be -1")
self.assertEqual(m_direction.Direction.RIGHT.get_x_variation(), 1, "Should be 1")
... | 42.454545 | 90 | 0.723769 | 133 | 934 | 4.789474 | 0.210526 | 0.141287 | 0.200942 | 0.313972 | 0.803768 | 0.803768 | 0.803768 | 0.684458 | 0.684458 | 0.524333 | 0 | 0.020126 | 0.148822 | 934 | 21 | 91 | 44.47619 | 0.781132 | 0 | 0 | 0 | 0 | 0 | 0.104925 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3902afafab282429e880f9b6ac890953df421c9a | 5,179 | py | Python | File Opening.py | Aditya9056/facial_recognition_using_ml | 2f230068f34f0431b3ff62d54a9555d6b60ebdfd | [
"MIT"
] | 1 | 2021-05-16T10:41:10.000Z | 2021-05-16T10:41:10.000Z | File Opening.py | Aditya9056/facial_recognition_using_ml | 2f230068f34f0431b3ff62d54a9555d6b60ebdfd | [
"MIT"
] | null | null | null | File Opening.py | Aditya9056/facial_recognition_using_ml | 2f230068f34f0431b3ff62d54a9555d6b60ebdfd | [
"MIT"
] | null | null | null | Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> print('hello')
hello
>>> for i in range(1, 100)
SyntaxError: invalid syntax
>>> for i in range(1, 100):
print("hello World!")
hello World!
hello Wor... | 31.969136 | 874 | 0.74358 | 731 | 5,179 | 5.259918 | 0.232558 | 0.260078 | 0.386216 | 0.514954 | 0.795579 | 0.737581 | 0.697789 | 0.657737 | 0.621326 | 0.621326 | 0 | 0.083333 | 0.100985 | 5,179 | 161 | 875 | 32.167702 | 0.742483 | 0 | 0 | 0.65625 | 0 | 0 | 0.411083 | 0.309905 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.03125 | null | null | 0.01875 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3926a7f7f34c77fe1c3800eca391277378000ff5 | 4,905 | py | Python | trampill_backend/tests/mainapp/test_views.py | trampill-backend/trampill-backend | 0cf98414d3ecd489657de42cb91431e8bfae945c | [
"MIT"
] | 2 | 2020-03-04T19:03:55.000Z | 2020-03-08T09:10:21.000Z | trampill_backend/tests/mainapp/test_views.py | trampill-backend/trampill-backend | 0cf98414d3ecd489657de42cb91431e8bfae945c | [
"MIT"
] | null | null | null | trampill_backend/tests/mainapp/test_views.py | trampill-backend/trampill-backend | 0cf98414d3ecd489657de42cb91431e8bfae945c | [
"MIT"
] | 1 | 2020-03-08T10:54:10.000Z | 2020-03-08T10:54:10.000Z | import pytest
from trampill_backend import test_helpers
from django.urls import reverse
from django.test import Client
pytestmark = [pytest.mark.django_db]
def tests_CourseItem_list_view():
instance1 = test_helpers.create_mainapp_CourseItem()
instance2 = test_helpers.create_mainapp_CourseItem()
client ... | 30.465839 | 68 | 0.670336 | 591 | 4,905 | 5.329949 | 0.106599 | 0.066349 | 0.097143 | 0.121905 | 0.908254 | 0.86 | 0.826349 | 0.787302 | 0.787302 | 0.747937 | 0 | 0.025051 | 0.202446 | 4,905 | 160 | 69 | 30.65625 | 0.780164 | 0.006932 | 0 | 0.659091 | 0 | 0 | 0.140686 | 0.051551 | 0 | 0 | 0 | 0 | 0.159091 | 1 | 0.090909 | false | 0 | 0.030303 | 0 | 0.121212 | 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 |
1a6c85c67a8ec711a0f48e9fb78cb8f55aff1922 | 92 | py | Python | cash_ml/regressor.py | jesse-toftum/cash_ml | 316121a41359f8d18358c17f9be2ab90ad69bcb2 | [
"MIT"
] | 4 | 2018-12-05T14:46:31.000Z | 2019-07-03T12:39:39.000Z | cash_ml/regressor.py | jesse-toftum/cash_ml | 316121a41359f8d18358c17f9be2ab90ad69bcb2 | [
"MIT"
] | 4 | 2018-12-16T18:16:26.000Z | 2019-01-11T00:10:02.000Z | cash_ml/regressor.py | jesse-toftum/cash_ml | 316121a41359f8d18358c17f9be2ab90ad69bcb2 | [
"MIT"
] | 3 | 2018-12-05T14:40:13.000Z | 2019-11-17T00:40:15.000Z | from cash_ml.predictor_base import PredictorBase
class Regressor(PredictorBase):
pass
| 15.333333 | 48 | 0.815217 | 11 | 92 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 49 | 18.4 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1ab0e6f56399c30f312240fa7b8de99cd281ae46 | 141 | py | Python | programs/kmtomiles.py | VishalAgr11/CSE-programs | 082c984908886adb09fc1a8dcd60482bdd99dbfe | [
"MIT"
] | 1 | 2021-11-15T15:21:29.000Z | 2021-11-15T15:21:29.000Z | programs/kmtomiles.py | VishalAgr11/CSE-programs | 082c984908886adb09fc1a8dcd60482bdd99dbfe | [
"MIT"
] | null | null | null | programs/kmtomiles.py | VishalAgr11/CSE-programs | 082c984908886adb09fc1a8dcd60482bdd99dbfe | [
"MIT"
] | 2 | 2021-11-14T01:45:51.000Z | 2021-11-15T15:21:08.000Z | '''
Input: Distance in km
Output: Distance in miles
'''
d=float(input("Distance in km: "))
print("Distance in miles:",format(d/1.609,'.2f')) | 20.142857 | 49 | 0.666667 | 23 | 141 | 4.086957 | 0.565217 | 0.425532 | 0.319149 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0.120567 | 141 | 7 | 49 | 20.142857 | 0.717742 | 0.333333 | 0 | 0 | 0 | 0 | 0.425287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1acf4a45a664e8ea55c7a8f157d43299390f1779 | 1,838 | py | Python | libs/commands/acf.py | roadrunner09/kleinisan | 996da8e34c7aa79d665a1a35aab0792a62e0a722 | [
"MIT"
] | null | null | null | libs/commands/acf.py | roadrunner09/kleinisan | 996da8e34c7aa79d665a1a35aab0792a62e0a722 | [
"MIT"
] | null | null | null | libs/commands/acf.py | roadrunner09/kleinisan | 996da8e34c7aa79d665a1a35aab0792a62e0a722 | [
"MIT"
] | null | null | null | #acf.py
from libs.config import app
from libs.classes import createFiles as createClass
import urllib.request
import os
def global_general():
#define config vars
ACF_JSON_FOLDER = os.environ.get("ACF_JSON_FOLDER")
# define filename
filename = 'group_5924c60418aa5'
#get file from site
response = urllib.request.... | 34.037037 | 115 | 0.730141 | 240 | 1,838 | 5.3875 | 0.208333 | 0.097448 | 0.180974 | 0.146172 | 0.798144 | 0.798144 | 0.798144 | 0.798144 | 0.798144 | 0.798144 | 0 | 0.02327 | 0.134929 | 1,838 | 54 | 116 | 34.037037 | 0.789937 | 0.089771 | 0 | 0.636364 | 0 | 0 | 0.151952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.121212 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46f674ae72befe7fd85a0e6f1e8cb8ce0821ec52 | 28 | py | Python | automon/helpers/os/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 2 | 2021-09-15T18:35:44.000Z | 2022-01-18T05:36:54.000Z | automon/helpers/os/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 16 | 2021-08-29T22:51:53.000Z | 2022-03-09T16:08:19.000Z | automon/helpers/os/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | null | null | null | from .environ import environ | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 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 |
20053cfca2e1c66e9ee975994f47e3c32da5bed0 | 295 | py | Python | snmpagent_unity/unity_impl/EnclosureCurrentPower.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/EnclosureCurrentPower.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/EnclosureCurrentPower.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class EnclosureCurrentPower(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_enclosure_current_power(idx_name)
class EnclosureCurrentPowerColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_enclosures()
| 32.777778 | 65 | 0.769492 | 37 | 295 | 5.810811 | 0.459459 | 0.204651 | 0.102326 | 0.204651 | 0.288372 | 0.288372 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149153 | 295 | 8 | 66 | 36.875 | 0.856574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6445a23006bf532ac7830394093a866523d64f5e | 16,921 | py | Python | tests/tuning/tuners/test_base.py | pvk-developer/BTB | 49d2f3c00881919a23c6578cd02fcfb6f4d33354 | [
"MIT"
] | 2 | 2018-11-26T09:53:49.000Z | 2021-04-06T14:44:41.000Z | tests/tuning/tuners/test_base.py | pvk-developer/BTB | 49d2f3c00881919a23c6578cd02fcfb6f4d33354 | [
"MIT"
] | null | null | null | tests/tuning/tuners/test_base.py | pvk-developer/BTB | 49d2f3c00881919a23c6578cd02fcfb6f4d33354 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from unittest import TestCase
from unittest.mock import MagicMock, call, patch
import numpy as np
from btb.tuning.tunable import Tunable
from btb.tuning.tuners.base import BaseMetaModelTuner, BaseTuner, StopTuning
class TestBaseTuner(TestCase):
"""Test BaseTuner class."""
def test_... | 36.784783 | 98 | 0.653389 | 1,950 | 16,921 | 5.379487 | 0.073846 | 0.071497 | 0.044042 | 0.055291 | 0.848713 | 0.791134 | 0.764347 | 0.738132 | 0.72307 | 0.694662 | 0 | 0.01433 | 0.24118 | 16,921 | 459 | 99 | 36.864924 | 0.802648 | 0.115241 | 0 | 0.608856 | 0 | 0 | 0.02444 | 0.01577 | 0 | 0 | 0 | 0 | 0.298893 | 1 | 0.088561 | false | 0 | 0.01845 | 0 | 0.114391 | 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 |
64cf911e4ec7762b999a6c06b80c6d6f6999e54f | 3,085 | py | Python | topside/visualization/tests/test_layout.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 4 | 2020-04-18T00:40:55.000Z | 2021-06-10T04:04:09.000Z | topside/visualization/tests/test_layout.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 82 | 2020-04-15T21:26:04.000Z | 2022-02-04T04:50:07.000Z | topside/visualization/tests/test_layout.py | roguextech/Waterloo-Rocketry-topside | 345e7d47efdac04c2c5f70d55f83bd77acdbb511 | [
"MIT"
] | 8 | 2020-04-21T17:54:36.000Z | 2022-02-28T16:14:21.000Z | import networkx as nx
import topside as top
def one_component_engine():
states = {
'static': {
(1, 2, 'A1'): 1,
(2, 1, 'A2'): 1
},
}
edges = [(1, 2, 'A1'), (2, 1, 'A2')]
c1 = top.PlumbingComponent('c1', states, edges)
mapping = {'c1': {1: 1, 2: 2}}
pr... | 28.045455 | 87 | 0.559157 | 422 | 3,085 | 3.909953 | 0.097156 | 0.01697 | 0.027273 | 0.021818 | 0.94303 | 0.923636 | 0.827273 | 0.813333 | 0.793939 | 0.793939 | 0 | 0.07712 | 0.239222 | 3,085 | 109 | 88 | 28.302752 | 0.625905 | 0 | 0 | 0.64 | 0 | 0 | 0.078444 | 0 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.12 | false | 0 | 0.026667 | 0 | 0.186667 | 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 |
b3ccef9dc3f1b0f76053398cd31f6e4f2aa8281d | 54 | py | Python | gbml/__init__.py | SongJaeYun/AM3-MAML | 858b315aed9dd6f65025bf0ae643736bf0033e62 | [
"MIT"
] | 4 | 2020-11-24T01:23:36.000Z | 2022-03-11T09:08:03.000Z | gbml/__init__.py | SongJaeYun/AM3-MAML | 858b315aed9dd6f65025bf0ae643736bf0033e62 | [
"MIT"
] | null | null | null | gbml/__init__.py | SongJaeYun/AM3-MAML | 858b315aed9dd6f65025bf0ae643736bf0033e62 | [
"MIT"
] | null | null | null | from .gbml import GBML
from .am3_maml import AM3_MAML
| 18 | 30 | 0.814815 | 10 | 54 | 4.2 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 54 | 2 | 31 | 27 | 0.869565 | 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 |
b3d1733505fb719f0b9e489d488b9432f2d70b92 | 68 | py | Python | ipython/startup/import_pathlib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_pathlib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | ipython/startup/import_pathlib.py | dycw/dotfiles2 | 9e23c4989e9813080da3658a8f98dbb1e03776f2 | [
"MIT"
] | null | null | null | import pathlib # noqa: F401
from pathlib import Path # noqa: F401
| 22.666667 | 38 | 0.735294 | 10 | 68 | 5 | 0.6 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.205882 | 68 | 2 | 39 | 34 | 0.814815 | 0.308824 | 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 |
3732e5fc644db1aa833f4e920c11807160f2772c | 28,833 | py | Python | code.py | yashbharadwaj156/Reclearn-AI-E-platform | 64ccbd125bb371cf757e24e84c4803dd10bf8dd7 | [
"MIT"
] | 1 | 2021-08-23T17:25:02.000Z | 2021-08-23T17:25:02.000Z | code.py | yashbharadwaj156/Reclearn-AI-E-platform | 64ccbd125bb371cf757e24e84c4803dd10bf8dd7 | [
"MIT"
] | null | null | null | code.py | yashbharadwaj156/Reclearn-AI-E-platform | 64ccbd125bb371cf757e24e84c4803dd10bf8dd7 | [
"MIT"
] | null | null | null | import streamlit as st
import streamlit.components.v1 as stc
#load EDA
import pandas as pd
import numpy as np
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.metrics.pairwise import cosine_similarity,linear_kernel
from scipy.sparse import csr_matrix
from sklearn.neighbors import NearestNeighbo... | 43.752656 | 148 | 0.532792 | 3,429 | 28,833 | 4.292797 | 0.108778 | 0.018478 | 0.024457 | 0.016984 | 0.782745 | 0.765897 | 0.74803 | 0.746467 | 0.736277 | 0.729076 | 0 | 0.023378 | 0.35168 | 28,833 | 658 | 149 | 43.819149 | 0.763066 | 0.122394 | 0 | 0.730952 | 0 | 0.069048 | 0.258118 | 0.092179 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02619 | false | 0 | 0.021429 | 0 | 0.071429 | 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 |
3764d0ccc11b4840ccdf301261289f9430cb0035 | 22 | py | Python | applications/baseapp/middlewares/__init__.py | vigo/django-project-template | a0458c45934356ab8b33969fdcd4bb6f41a19548 | [
"MIT"
] | 13 | 2017-09-22T11:49:16.000Z | 2019-12-20T18:53:50.000Z | applications/baseapp/middlewares/__init__.py | vigo/django-project-template | a0458c45934356ab8b33969fdcd4bb6f41a19548 | [
"MIT"
] | null | null | null | applications/baseapp/middlewares/__init__.py | vigo/django-project-template | a0458c45934356ab8b33969fdcd4bb6f41a19548 | [
"MIT"
] | 1 | 2021-12-19T10:57:31.000Z | 2021-12-19T10:57:31.000Z | from .locale import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80bfd1ae04108111bce350a380d46ce59a595bdd | 64 | py | Python | python/appdash/__init__.py | gururajrkatti/appdash | d87fd4fea10530c27f06f6774a45c51a20867166 | [
"MIT"
] | 1,794 | 2015-02-18T21:20:53.000Z | 2022-03-24T06:15:47.000Z | python/appdash/__init__.py | gururajrkatti/appdash | d87fd4fea10530c27f06f6774a45c51a20867166 | [
"MIT"
] | 153 | 2015-02-15T23:36:52.000Z | 2021-08-31T14:37:11.000Z | python/appdash/__init__.py | gururajrkatti/appdash | d87fd4fea10530c27f06f6774a45c51a20867166 | [
"MIT"
] | 176 | 2015-03-17T16:32:20.000Z | 2021-09-17T07:21:35.000Z | from spanid import *
from event import *
from recorder import *
| 16 | 22 | 0.765625 | 9 | 64 | 5.444444 | 0.555556 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 23 | 21.333333 | 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 |
80c5e8742a4f9744555d2e10ccd3e8b0f7293899 | 114 | py | Python | languages/python/src/concepts/P054_Comprehensions_NestedComprehensionExamples_TODO.py | vikash-india/DeveloperNotes2Myself | fe277a3c52f73884863f2f72b237365b27a8c882 | [
"MIT"
] | 2 | 2019-05-25T10:09:00.000Z | 2022-03-11T09:06:23.000Z | languages/python/src/concepts/P054_Comprehensions_NestedComprehensionExamples_TODO.py | vikash-india/DeveloperNotes2Myself | fe277a3c52f73884863f2f72b237365b27a8c882 | [
"MIT"
] | 2 | 2020-03-31T04:30:17.000Z | 2020-10-30T07:54:28.000Z | languages/python/src/concepts/P054_Comprehensions_NestedComprehensionExamples_TODO.py | vikash-india/DeveloperNotes2Myself | fe277a3c52f73884863f2f72b237365b27a8c882 | [
"MIT"
] | 4 | 2019-07-12T13:18:56.000Z | 2021-11-17T08:04:55.000Z | # Description: Nested List Comprehensions Examples
# Note
# 1. Different examples of nested list comprehensions.
| 22.8 | 54 | 0.798246 | 13 | 114 | 7 | 0.692308 | 0.21978 | 0.527473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.149123 | 114 | 4 | 55 | 28.5 | 0.927835 | 0.929825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
80f2302598de68bc6bee2dbd5e721d5bf9c4baba | 51 | py | Python | netcaster/src/bin/NETcastInterface.py | Mariusz1970/enigma2-plugins-1 | 126d31d075c156f32b09d4321ebe1a17f93a5bd6 | [
"OLDAP-2.3"
] | 2 | 2020-09-02T18:25:39.000Z | 2020-09-02T18:39:07.000Z | netcaster/src/bin/NETcastInterface.py | Mariusz1970/enigma2-plugins-1 | 126d31d075c156f32b09d4321ebe1a17f93a5bd6 | [
"OLDAP-2.3"
] | null | null | null | netcaster/src/bin/NETcastInterface.py | Mariusz1970/enigma2-plugins-1 | 126d31d075c156f32b09d4321ebe1a17f93a5bd6 | [
"OLDAP-2.3"
] | 11 | 2015-02-26T20:59:14.000Z | 2021-09-20T08:23:03.000Z | class SHOUTcastInterface:
def __init__():
pass
| 10.2 | 25 | 0.745098 | 5 | 51 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 51 | 4 | 26 | 12.75 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0382ab178f4f5418b8c8b1ff779c4e8a17d440a1 | 233 | py | Python | pennylane_ls/__init__.py | synqs/pennylane_ls | 4bd2a7a20c70cf2756edda4343922b0e5a680090 | [
"BSD-2-Clause"
] | null | null | null | pennylane_ls/__init__.py | synqs/pennylane_ls | 4bd2a7a20c70cf2756edda4343922b0e5a680090 | [
"BSD-2-Clause"
] | 1 | 2020-05-25T07:28:13.000Z | 2020-05-25T07:28:13.000Z | pennylane_ls/__init__.py | synqs/pennylane_ls | 4bd2a7a20c70cf2756edda4343922b0e5a680090 | [
"BSD-2-Clause"
] | null | null | null | """
The initialization of the `pennylane-ls` module
"""
from .single_qudit_device import SingleQuditDevice
from .multi_qudit_device import MultiQuditDevice
from .fermion_device import FermionDevice
from ._version import __version__
| 25.888889 | 50 | 0.83691 | 28 | 233 | 6.607143 | 0.607143 | 0.194595 | 0.183784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107296 | 233 | 8 | 51 | 29.125 | 0.889423 | 0.201717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
03ae042a72fb28d6fbc0fe301a93087ddb81c88c | 232 | py | Python | agent/gconf.py | Nazicc/easyCMDB | 919050481fe4eab485ecaffcd4d6329020b9b41e | [
"MIT"
] | null | null | null | agent/gconf.py | Nazicc/easyCMDB | 919050481fe4eab485ecaffcd4d6329020b9b41e | [
"MIT"
] | null | null | null | agent/gconf.py | Nazicc/easyCMDB | 919050481fe4eab485ecaffcd4d6329020b9b41e | [
"MIT"
] | 1 | 2021-08-23T00:28:15.000Z | 2021-08-23T00:28:15.000Z | #encoding: utf-8
class Config(object):
pass
# 获取代码运行位置 PROJECT_PATH
if __name__ == '__main__':
import pathlib
setattr(Config, 'PROJECT_PATH', pathlib.Path(__file__).absolute())
print(getattr(Config, 'PROJECT_PATH')) | 25.777778 | 70 | 0.715517 | 28 | 232 | 5.392857 | 0.714286 | 0.218543 | 0.225166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.150862 | 232 | 9 | 71 | 25.777778 | 0.761421 | 0.159483 | 0 | 0 | 0 | 0 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.166667 | 0 | 0.333333 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2067fff32c9e4a35f30d908da13ce422408f6478 | 13,128 | py | Python | src/inference/priors.py | jp2011/spatial-poisson-mixtures | 9e535a636e710a9fa146cbbd4613ece70ec90791 | [
"MIT"
] | 3 | 2020-06-18T10:57:47.000Z | 2022-03-07T12:13:04.000Z | src/inference/priors.py | jp2011/spatial-poisson-mixtures | 9e535a636e710a9fa146cbbd4613ece70ec90791 | [
"MIT"
] | null | null | null | src/inference/priors.py | jp2011/spatial-poisson-mixtures | 9e535a636e710a9fa146cbbd4613ece70ec90791 | [
"MIT"
] | null | null | null |
import numpy as np
from scipy.spatial.distance import cdist
from sklearn.gaussian_process.kernels import Matern, RBF
from src.numeric.kronecker_algebra import kron_invert_matrices, kron_mv_prod, kron_log_det
class BetaPriorWithIntercept:
"""
Normal-InvGamma prior for the regression coefficients. The interce... | 37.508571 | 117 | 0.62957 | 1,992 | 13,128 | 3.953815 | 0.098394 | 0.009142 | 0.015744 | 0.024378 | 0.810564 | 0.789106 | 0.776917 | 0.763332 | 0.743144 | 0.712037 | 0 | 0.026587 | 0.252209 | 13,128 | 350 | 118 | 37.508571 | 0.775695 | 0.187767 | 0 | 0.640625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.026042 | 0.020833 | 0.005208 | 0.333333 | 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 |
4548832653aa9e06d7675668ee78c342c8488e15 | 36,672 | py | Python | tests/software_tests/can/test_consecutive_frame.py | mdabrowski1990/uds | 1aee0c1de446ee3dd461706949504f2c218db1e8 | [
"MIT"
] | 18 | 2021-03-28T22:39:18.000Z | 2022-02-13T21:50:37.000Z | tests/software_tests/can/test_consecutive_frame.py | mdabrowski1990/uds | 1aee0c1de446ee3dd461706949504f2c218db1e8 | [
"MIT"
] | 153 | 2021-02-09T09:27:05.000Z | 2022-03-29T06:09:15.000Z | tests/software_tests/can/test_consecutive_frame.py | mdabrowski1990/uds | 1aee0c1de446ee3dd461706949504f2c218db1e8 | [
"MIT"
] | 1 | 2021-05-13T16:01:46.000Z | 2021-05-13T16:01:46.000Z | import pytest
from mock import patch
from uds.can.consecutive_frame import CanConsecutiveFrameHandler, \
InconsistentArgumentsError, CanDlcHandler, DEFAULT_FILLER_BYTE
from uds.can import CanAddressingFormat
class TestCanConsecutiveFrameHandler:
"""Unit tests for `CanConsecutiveFrameHandler` class."""
S... | 58.769231 | 118 | 0.639371 | 3,845 | 36,672 | 5.63485 | 0.048895 | 0.117419 | 0.039324 | 0.045232 | 0.898366 | 0.862273 | 0.82161 | 0.782701 | 0.764285 | 0.754777 | 0 | 0.022108 | 0.27596 | 36,672 | 623 | 119 | 58.863563 | 0.793876 | 0.009271 | 0 | 0.698752 | 0 | 0 | 0.134371 | 0.043294 | 0 | 0 | 0.019361 | 0 | 0.131907 | 1 | 0.053476 | false | 0 | 0.00713 | 0 | 0.065954 | 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 |
455c8eba7754731f3a78c317f0b5b86239456e3d | 47 | py | Python | tddspry/noseplugins/__init__.py | dgladkov/tddspry | d604331b87eae0dd01b68a5388298884c998e3ec | [
"BSD-3-Clause"
] | 4 | 2015-03-04T16:35:54.000Z | 2021-01-08T04:17:37.000Z | tddspry/noseplugins/__init__.py | dgladkov/tddspry | d604331b87eae0dd01b68a5388298884c998e3ec | [
"BSD-3-Clause"
] | null | null | null | tddspry/noseplugins/__init__.py | dgladkov/tddspry | d604331b87eae0dd01b68a5388298884c998e3ec | [
"BSD-3-Clause"
] | null | null | null | from tddspry.noseplugins.djangoplugin import *
| 23.5 | 46 | 0.851064 | 5 | 47 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 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 |
45672a3be170740eb6fe1d781bd24ac7c24b9427 | 169 | py | Python | gignore/compat.py | Alir3z4/python-gignore | ff204901b7b4862aa10cad35f485733fb3e66fe4 | [
"BSD-3-Clause"
] | 2 | 2017-07-05T04:48:39.000Z | 2017-09-26T06:34:08.000Z | gignore/compat.py | Alir3z4/python-gignore | ff204901b7b4862aa10cad35f485733fb3e66fe4 | [
"BSD-3-Clause"
] | null | null | null | gignore/compat.py | Alir3z4/python-gignore | ff204901b7b4862aa10cad35f485733fb3e66fe4 | [
"BSD-3-Clause"
] | null | null | null | try:
from urllib.request import urlopen
from urllib.error import HTTPError
except ImportError:
from urllib2 import urlopen
from urllib2 import HTTPError
| 24.142857 | 38 | 0.769231 | 21 | 169 | 6.190476 | 0.52381 | 0.153846 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.207101 | 169 | 6 | 39 | 28.166667 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45a5f3d68b08740a1755138a0b19e5d5ced2e5cd | 179 | py | Python | python/oop/private_atrr.py | orangle/snippets | f6642dc359fff3a8e5f63ebd7447b3d1a5f75bb7 | [
"MIT"
] | 2 | 2019-07-15T09:14:05.000Z | 2021-04-03T01:43:53.000Z | python/oop/private_atrr.py | orangle/snippets | f6642dc359fff3a8e5f63ebd7447b3d1a5f75bb7 | [
"MIT"
] | 2 | 2019-05-12T12:39:47.000Z | 2020-06-27T02:13:25.000Z | python/oop/private_atrr.py | orangle/snippets | f6642dc359fff3a8e5f63ebd7447b3d1a5f75bb7 | [
"MIT"
] | null | null | null | class X:
__table = 'user'
def __init__(self, name):
self.__name = name
def get_name(self):
return self.__name
print(vars(X))
print(vars(X('user1'))) | 16.272727 | 29 | 0.592179 | 25 | 179 | 3.8 | 0.52 | 0.252632 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.26257 | 179 | 11 | 30 | 16.272727 | 0.712121 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
45b0f2a04fa67de541a36f5530228c656909d1be | 45 | py | Python | katas/kyu_8/convert_natural_num_to_binary.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_8/convert_natural_num_to_binary.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_8/convert_natural_num_to_binary.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def int_to_bin(n):
return format(n, 'b')
| 15 | 25 | 0.622222 | 9 | 45 | 2.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 45 | 2 | 26 | 22.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
45d9108ce4437315fad001300039eac87767d625 | 141 | py | Python | fastapi-alembic-sqlmodel-async/app/crud/__init__.py | jonra1993/fastapi-alembic-sqlmodel-async | 55c8a127bf17e6e5de95047a54a0ef913511f2d9 | [
"MIT"
] | 15 | 2022-03-07T05:57:01.000Z | 2022-03-25T14:08:56.000Z | fastapi-alembic-sqlmodel-async/app/crud/__init__.py | jonra1993/fastapi-alembic-sqlmodel-async | 55c8a127bf17e6e5de95047a54a0ef913511f2d9 | [
"MIT"
] | null | null | null | fastapi-alembic-sqlmodel-async/app/crud/__init__.py | jonra1993/fastapi-alembic-sqlmodel-async | 55c8a127bf17e6e5de95047a54a0ef913511f2d9 | [
"MIT"
] | 1 | 2022-03-08T04:54:14.000Z | 2022-03-08T04:54:14.000Z | from .crud_user import user
from .crud_hero import hero
from .crud_team import team
from .crud_role import role
from .crud_group import group | 28.2 | 29 | 0.829787 | 25 | 141 | 4.48 | 0.32 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 141 | 5 | 29 | 28.2 | 0.918033 | 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 |
45dfc5591facb54f34e24bd580e33ac913f82675 | 21 | py | Python | words/words/__init__.py | jskeys/words | 00467466cb7f7157c47ea49b91d5a540765cc4aa | [
"MIT"
] | null | null | null | words/words/__init__.py | jskeys/words | 00467466cb7f7157c47ea49b91d5a540765cc4aa | [
"MIT"
] | null | null | null | words/words/__init__.py | jskeys/words | 00467466cb7f7157c47ea49b91d5a540765cc4aa | [
"MIT"
] | null | null | null | from .words 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 |
afdccc942fded4405c4e4853700ed9ed88d86315 | 27 | py | Python | src/model/__init__.py | kristofmartens/rainbow_dqn_navigation | e0918d52e0cce4289e304e78f8b492b5d0b84683 | [
"MIT"
] | null | null | null | src/model/__init__.py | kristofmartens/rainbow_dqn_navigation | e0918d52e0cce4289e304e78f8b492b5d0b84683 | [
"MIT"
] | null | null | null | src/model/__init__.py | kristofmartens/rainbow_dqn_navigation | e0918d52e0cce4289e304e78f8b492b5d0b84683 | [
"MIT"
] | null | null | null | from .model import QNetwork | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afef8fedc9529b4a3508d8adb2fdc2798e56d250 | 27 | py | Python | plantid/__init__.py | wsyxbcl/quarrying-plant-id | 6a770ac56384c67e5f6465bcd9fb94daac20b94d | [
"BSD-3-Clause"
] | 35 | 2021-04-12T16:43:27.000Z | 2022-03-25T08:07:39.000Z | plantid/__init__.py | fourmi1995/quarrying-plant-id | 40032199f024c496f7a955f21a68673f3886ea81 | [
"BSD-3-Clause"
] | 2 | 2022-01-19T09:20:53.000Z | 2022-02-22T16:17:06.000Z | plantid/__init__.py | fourmi1995/quarrying-plant-id | 40032199f024c496f7a955f21a68673f3886ea81 | [
"BSD-3-Clause"
] | 14 | 2021-04-16T01:06:05.000Z | 2022-03-16T03:37:55.000Z | from .identifier import *
| 9 | 25 | 0.740741 | 3 | 27 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 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 |
b306f7bf2fb1370ce43e1ea420bd262aeb3da341 | 3,496 | py | Python | tests/test_treebinning.py | jacobbieker/funfolding-test | 3f70a9593393b67baf4d9f6bf7b5f966731d906e | [
"MIT"
] | null | null | null | tests/test_treebinning.py | jacobbieker/funfolding-test | 3f70a9593393b67baf4d9f6bf7b5f966731d906e | [
"MIT"
] | null | null | null | tests/test_treebinning.py | jacobbieker/funfolding-test | 3f70a9593393b67baf4d9f6bf7b5f966731d906e | [
"MIT"
] | null | null | null | from funfolding.binning import TreeBinningSklearn
import numpy as np
from sklearn.datasets import make_regression
from matplotlib import pyplot as plt
def test_treebinning():
n_samples = 1000
X, y = make_regression(n_samples=n_samples)
plt.hist(y)
y_binned = np.digitize(y, np.linspace(-400, 400, 20))... | 31.495495 | 73 | 0.674199 | 508 | 3,496 | 4.334646 | 0.17126 | 0.049955 | 0.040872 | 0.044959 | 0.771571 | 0.771571 | 0.771571 | 0.771571 | 0.771571 | 0.771571 | 0 | 0.027788 | 0.217677 | 3,496 | 110 | 74 | 31.781818 | 0.777331 | 0 | 0 | 0.737374 | 0 | 0 | 0.020023 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.010101 | false | 0 | 0.050505 | 0 | 0.060606 | 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 |
b3300c1c99398e150a50b12a57c3def630f51716 | 200 | py | Python | servo/types/__init__.py | opsani/ServoX | 06c574e2c9cd15da819f8a81e928ac0e606f2298 | [
"Apache-2.0"
] | null | null | null | servo/types/__init__.py | opsani/ServoX | 06c574e2c9cd15da819f8a81e928ac0e606f2298 | [
"Apache-2.0"
] | null | null | null | servo/types/__init__.py | opsani/ServoX | 06c574e2c9cd15da819f8a81e928ac0e606f2298 | [
"Apache-2.0"
] | null | null | null | # Promote all symbols from submodules to the top-level package (TODO is this bad practice?)
from .api import *
from .core import *
from .kubernetes import *
from .settings import *
from .slo import *
| 28.571429 | 91 | 0.75 | 30 | 200 | 5 | 0.7 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 200 | 6 | 92 | 33.333333 | 0.909091 | 0.445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3502cc2b6b96a375386f5fdbe8b5414c7e68bc3 | 3,915 | py | Python | tests/2.functional/test_playthrough.py | Morioki/LookingGlass.API | 7fd308efc808ce23e5edf3c4a98d3faac15ecedf | [
"MIT"
] | null | null | null | tests/2.functional/test_playthrough.py | Morioki/LookingGlass.API | 7fd308efc808ce23e5edf3c4a98d3faac15ecedf | [
"MIT"
] | null | null | null | tests/2.functional/test_playthrough.py | Morioki/LookingGlass.API | 7fd308efc808ce23e5edf3c4a98d3faac15ecedf | [
"MIT"
] | null | null | null | from api.helpers import random_string_generator
from tests.conftest import ValueStorage
name = random_string_generator(20)
def test_playthrough_all(client):
json = {"query":"query getPlaythroughs{\n playthroughs {\n id\n }\n}","operationName":"getPlaythroughs"}
response = client.post('/graphql', headers... | 55.140845 | 163 | 0.713155 | 445 | 3,915 | 6.195506 | 0.152809 | 0.037722 | 0.058034 | 0.08161 | 0.846572 | 0.820094 | 0.801959 | 0.717084 | 0.674284 | 0.674284 | 0 | 0.008926 | 0.141507 | 3,915 | 70 | 164 | 55.928571 | 0.811366 | 0.013538 | 0 | 0.59322 | 0 | 0.033898 | 0.350777 | 0.059585 | 0 | 0 | 0 | 0.014286 | 0.220339 | 1 | 0.152542 | false | 0 | 0.033898 | 0 | 0.186441 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3724a3d7e6cac7f49be2246e714b69c652a319f | 9,404 | py | Python | tests/test_psol.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | tests/test_psol.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | tests/test_psol.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | import random
import unittest
import file_handler as io
import generators as gen
import zielonka as zielonka
from fatalattractors import psol as fatal
class TestPSOL(unittest.TestCase):
"""
Test cases for the PSOL partial solver.
"""
def setUp(self):
# set the random seed to produce reproduc... | 44.780952 | 119 | 0.668545 | 1,338 | 9,404 | 4.413303 | 0.09417 | 0.059272 | 0.048772 | 0.054191 | 0.93768 | 0.911431 | 0.902117 | 0.888908 | 0.883827 | 0.866892 | 0 | 0.022637 | 0.253084 | 9,404 | 209 | 120 | 44.995215 | 0.818052 | 0.162697 | 0 | 0.583333 | 0 | 0 | 0.091662 | 0.01131 | 0 | 0 | 0 | 0 | 0.183333 | 1 | 0.075 | false | 0 | 0.05 | 0 | 0.133333 | 0.133333 | 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 |
4461648451bfa918542aa5183b9cb81aeb2545b3 | 165 | py | Python | planner/safe_planner/safe_planner/test_planner_algorithm.py | kyberszittya/hotaru_planner | 2c73b16ac5ca43e633c7e5ee20863673a9de5a79 | [
"BSD-3-Clause"
] | null | null | null | planner/safe_planner/safe_planner/test_planner_algorithm.py | kyberszittya/hotaru_planner | 2c73b16ac5ca43e633c7e5ee20863673a9de5a79 | [
"BSD-3-Clause"
] | null | null | null | planner/safe_planner/safe_planner/test_planner_algorithm.py | kyberszittya/hotaru_planner | 2c73b16ac5ca43e633c7e5ee20863673a9de5a79 | [
"BSD-3-Clause"
] | 1 | 2021-01-13T01:16:27.000Z | 2021-01-13T01:16:27.000Z | from safe_planner.impl_graph_planner import AStarPlannerImplementation
from safe_planner.environment_representation_format import GridBasedEnvironmentRepresentation | 55 | 93 | 0.939394 | 16 | 165 | 9.3125 | 0.6875 | 0.107383 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048485 | 165 | 3 | 93 | 55 | 0.949045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4473d44bdb37a17647e784751bfa53cd0e9cd7e3 | 5,406 | py | Python | tests/byu_jwt/ref.py | byu-oit/byu-jwt-python | 04929526a00ea4cd7a1efcc21c7a906a5f0e6798 | [
"Apache-2.0"
] | 1 | 2019-05-10T15:36:26.000Z | 2019-05-10T15:36:26.000Z | tests/byu_jwt/ref.py | byu-oit-appdev/byu-jwt-python | 04929526a00ea4cd7a1efcc21c7a906a5f0e6798 | [
"Apache-2.0"
] | null | null | null | tests/byu_jwt/ref.py | byu-oit-appdev/byu-jwt-python | 04929526a00ea4cd7a1efcc21c7a906a5f0e6798 | [
"Apache-2.0"
] | null | null | null | JWKS = {
"keys": [
{
"e": "AQAB",
"kid": "f86d695a3866466fbf57a5fea5f56cc9",
"kty": "RSA",
"n": "zUy8BsruXBWunO8JxXBcoyd2NXjsw-e5SnbIxijNHeTaHOGyckHh7QwXczDZonOfDdA1mhFjeH6JD7rMYymZqlNicx0zI5tEp0WPo2AiyPvY6XyxGAj3rPM0c94UtvaZs3m3kPKNWgIdkmtBVnR58OH75_RGvBoPTin... | 284.526316 | 2,478 | 0.941176 | 107 | 5,406 | 47.429907 | 0.906542 | 0.004729 | 0.003547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132735 | 0.031447 | 5,406 | 18 | 2,479 | 300.333333 | 0.836516 | 0 | 0 | 0 | 0 | 0.055556 | 0.949316 | 0.940991 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
448a2f62a4d4c161a086c3de88e0df1f9f212f08 | 962 | py | Python | marketplaces/apps/support/models.py | diassor/CollectorCity-Market-Place | 892ad220b8cf1c0fc7433f625213fe61729522b2 | [
"Apache-2.0"
] | 135 | 2015-03-19T13:28:18.000Z | 2022-03-27T06:41:42.000Z | marketplaces/apps/support/models.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | null | null | null | marketplaces/apps/support/models.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | 83 | 2015-01-30T01:00:15.000Z | 2022-03-08T17:25:10.000Z | from django.db import models
class FeaturesHelpText(models.Model):
auctions = models.TextField(default="Help text description here!")
wishlist = models.TextField(default="Help text description here!")
mailinglist = models.TextField(default="Help text description here!")
google_analytics = models.TextFi... | 64.133333 | 78 | 0.764033 | 114 | 962 | 6.368421 | 0.298246 | 0.247934 | 0.363636 | 0.429752 | 0.760331 | 0.760331 | 0.760331 | 0.140496 | 0 | 0 | 0 | 0 | 0.130977 | 962 | 15 | 79 | 64.133333 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
925cd456080b29384397169a2ddc952976e31c3f | 22 | py | Python | torch_inception_resnet_v2/blocks/stem/__init__.py | mhconradt/inception-resnet-v2 | 0816e9885eb7034d99a67519efa0642578526a3e | [
"MIT"
] | 9 | 2019-11-28T01:33:43.000Z | 2021-09-06T06:51:47.000Z | torch_inception_resnet_v2/blocks/stem/__init__.py | mhconradt/inception-resnet-v2 | 0816e9885eb7034d99a67519efa0642578526a3e | [
"MIT"
] | 1 | 2022-02-06T12:03:00.000Z | 2022-02-07T02:30:47.000Z | torch_inception_resnet_v2/blocks/stem/__init__.py | mhconradt/inception-resnet-v2 | 0816e9885eb7034d99a67519efa0642578526a3e | [
"MIT"
] | 4 | 2019-12-12T05:35:28.000Z | 2021-04-30T18:41:41.000Z | from .stem import Stem | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
92765d0c8864f1adf7e5ba7c910b15579c5696c6 | 8,832 | py | Python | tests/functional/client/test_cli_client.py | lebrice/orion | 6ad1616a8c0a5f971f96bee76b206737724b394e | [
"BSD-3-Clause"
] | null | null | null | tests/functional/client/test_cli_client.py | lebrice/orion | 6ad1616a8c0a5f971f96bee76b206737724b394e | [
"BSD-3-Clause"
] | null | null | null | tests/functional/client/test_cli_client.py | lebrice/orion | 6ad1616a8c0a5f971f96bee76b206737724b394e | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Perform a functional test for client helper functions."""
import os
import pytest
import orion.core.cli
from orion.core.worker.consumer import Consumer
def test_interrupt(storage, monkeypatch, capsys):
"""Test interruption from within user script."""
monkeypa... | 28.307692 | 93 | 0.563632 | 1,021 | 8,832 | 4.708129 | 0.159647 | 0.05492 | 0.056792 | 0.062409 | 0.758269 | 0.744539 | 0.72332 | 0.72332 | 0.712919 | 0.643021 | 0 | 0.021423 | 0.29178 | 8,832 | 311 | 94 | 28.398714 | 0.747082 | 0.095562 | 0 | 0.710638 | 0 | 0 | 0.191959 | 0.003151 | 0 | 0 | 0 | 0.003215 | 0.170213 | 1 | 0.038298 | false | 0 | 0.017021 | 0.004255 | 0.059574 | 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 |
92890f82228702415d5fb7960d010cb1fb1207ac | 96 | py | Python | venv/lib/python3.8/site-packages/yapf/__main__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/yapf/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/yapf/__main__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/8c/9e/45/7307bab5b5f1a92b94c513b7b9e978e2d1cfe77bd549ca2396eb347013 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
929038d44bbefa32dd9cf7440f54c60f145053e6 | 43 | py | Python | visigoth/containers/map/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | visigoth/containers/map/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | 1 | 2021-01-26T16:55:48.000Z | 2021-09-03T15:29:14.000Z | visigoth/containers/map/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | from visigoth.containers.map.map import Map | 43 | 43 | 0.860465 | 7 | 43 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.925 | 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 |
92963cec76253e076c685201a65af6243d6aab54 | 23 | py | Python | chargify/__init__.py | NationalJournal/chargify-python | 329d83b592d69a2a7a4e79c7b5536ebce3a5ad8b | [
"MIT"
] | null | null | null | chargify/__init__.py | NationalJournal/chargify-python | 329d83b592d69a2a7a4e79c7b5536ebce3a5ad8b | [
"MIT"
] | null | null | null | chargify/__init__.py | NationalJournal/chargify-python | 329d83b592d69a2a7a4e79c7b5536ebce3a5ad8b | [
"MIT"
] | 3 | 2020-08-11T23:19:30.000Z | 2020-08-13T13:46:01.000Z | from .chargify import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
2b96301814095109846a52bd80a4929bfe7bb127 | 133 | py | Python | maestro/backends/firestore/serializer.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | maestro/backends/firestore/serializer.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | maestro/backends/firestore/serializer.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | from maestro.backends.base_nosql.serializer import NoSQLItemSerializer
class FirestoreItemSerializer(NoSQLItemSerializer):
pass | 26.6 | 70 | 0.864662 | 12 | 133 | 9.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 133 | 5 | 71 | 26.6 | 0.942149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2bbf467932e3cb2b117c30dca90d89db59f0f833 | 1,083 | py | Python | guppe/atividades/secao_5/ex018.py | WesleyLucas97/cursos_python | b2cbd393e8fed6e36b84253f7934766f2b4f1de8 | [
"MIT"
] | null | null | null | guppe/atividades/secao_5/ex018.py | WesleyLucas97/cursos_python | b2cbd393e8fed6e36b84253f7934766f2b4f1de8 | [
"MIT"
] | null | null | null | guppe/atividades/secao_5/ex018.py | WesleyLucas97/cursos_python | b2cbd393e8fed6e36b84253f7934766f2b4f1de8 | [
"MIT"
] | null | null | null | operacao = input('''
Escolha as seguintes operações:
Soma;
Subtração;
Multiplicação;
Divisão.
''').title()
if operacao == 'Soma':
numeros = input('Digite os números: ').split()
numero1 = float(numeros[0])
numero2 = float(numeros[1])
realizado = numero1 + numero2
print('O valor da {} é {:.2f}'.for... | 26.414634 | 63 | 0.639889 | 127 | 1,083 | 5.456693 | 0.244094 | 0.138528 | 0.103896 | 0.11544 | 0.825397 | 0.825397 | 0.825397 | 0.825397 | 0.825397 | 0.825397 | 0 | 0.032184 | 0.196676 | 1,083 | 40 | 64 | 27.075 | 0.764368 | 0 | 0 | 0.516129 | 0 | 0 | 0.250231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.129032 | 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 |
2be371c25f5ae6ee752c34e6d27ce5c7679215a6 | 8,666 | py | Python | ci_evaluator/ml/service/formatting/data_formatting.py | sechkova/ml-conversational-analytic-tool | 90d047a75eb035e4b8d050678cd9c01610fa37a0 | [
"Apache-2.0"
] | 11 | 2021-12-03T03:20:06.000Z | 2022-01-27T23:40:27.000Z | ci_evaluator/ml/service/formatting/data_formatting.py | sechkova/ml-conversational-analytic-tool | 90d047a75eb035e4b8d050678cd9c01610fa37a0 | [
"Apache-2.0"
] | 34 | 2021-12-02T16:12:33.000Z | 2022-03-25T11:36:30.000Z | ci_evaluator/ml/service/formatting/data_formatting.py | sechkova/ml-conversational-analytic-tool | 90d047a75eb035e4b8d050678cd9c01610fa37a0 | [
"Apache-2.0"
] | 8 | 2021-09-27T19:44:46.000Z | 2022-02-02T14:27:13.000Z | #!/usr/bin/env python
# coding: utf-8
import pandas as pd
import numpy as np
import json
import re
import ast
class DataFormatting():
def format_pr(self, json_obj):
# pr = pd.DataFrame(json_obj)
pr = json_obj
pr_data = []
pr_body = None
for index, row in pr.iterrows():
... | 53.826087 | 184 | 0.460189 | 859 | 8,666 | 4.512224 | 0.14901 | 0.037152 | 0.024768 | 0.028896 | 0.797214 | 0.797214 | 0.797214 | 0.780186 | 0.780186 | 0.780186 | 0 | 0.004622 | 0.400762 | 8,666 | 160 | 185 | 54.1625 | 0.741768 | 0.043273 | 0 | 0.725806 | 0 | 0 | 0.174265 | 0.005321 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016129 | false | 0 | 0.040323 | 0 | 0.080645 | 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 |
ecfe8ce53701ced04e2e0f5f2d57d742dc2f69c4 | 17 | py | Python | tests/test_stackoverservices.py | MatheusVarela19/stackoverservices-lib | bcadc95bc615ee6cb8776b3dd6a6af93b1dd206a | [
"MIT"
] | null | null | null | tests/test_stackoverservices.py | MatheusVarela19/stackoverservices-lib | bcadc95bc615ee6cb8776b3dd6a6af93b1dd206a | [
"MIT"
] | null | null | null | tests/test_stackoverservices.py | MatheusVarela19/stackoverservices-lib | bcadc95bc615ee6cb8776b3dd6a6af93b1dd206a | [
"MIT"
] | null | null | null | # TODO TESTS HERE | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 |
a62f0ce95623462e7a3ad0601b9db33b58eef26b | 113 | py | Python | my_package/example.py | stradivari96/modern-python-template | ad94a9dfb64ccc0d41af8c64d6a32475c06495b7 | [
"MIT"
] | 1 | 2021-05-13T06:19:49.000Z | 2021-05-13T06:19:49.000Z | my_package/example.py | stradivari96/modern-python-template | ad94a9dfb64ccc0d41af8c64d6a32475c06495b7 | [
"MIT"
] | 21 | 2021-06-08T08:50:04.000Z | 2022-03-21T03:06:48.000Z | my_package/example.py | stradivari96/modern-python-template | ad94a9dfb64ccc0d41af8c64d6a32475c06495b7 | [
"MIT"
] | null | null | null | """We use this file as an example for some module."""
def hello(name: str) -> str:
return f"Hello {name}!"
| 18.833333 | 53 | 0.628319 | 19 | 113 | 3.736842 | 0.842105 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212389 | 113 | 5 | 54 | 22.6 | 0.797753 | 0.415929 | 0 | 0 | 0 | 0 | 0.216667 | 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 |
a695e5b5090cb8bee581f155eb8ae6c3b1a92565 | 25 | py | Python | great_expectations/datasource/data_connector/asset/__init__.py | vanderGoes/great_expectations | 9790cd992a8a4de672c640e89ddd7278a0ca0889 | [
"Apache-2.0"
] | 6,451 | 2017-09-11T16:32:53.000Z | 2022-03-31T23:27:49.000Z | great_expectations/datasource/data_connector/asset/__init__.py | vanderGoes/great_expectations | 9790cd992a8a4de672c640e89ddd7278a0ca0889 | [
"Apache-2.0"
] | 3,892 | 2017-09-08T18:57:50.000Z | 2022-03-31T23:15:20.000Z | great_expectations/datasource/data_connector/asset/__init__.py | vanderGoes/great_expectations | 9790cd992a8a4de672c640e89ddd7278a0ca0889 | [
"Apache-2.0"
] | 1,023 | 2017-09-08T15:22:05.000Z | 2022-03-31T21:17:08.000Z | from .asset import Asset
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a6b7715127d380ff988deeea2e9aa784691130c3 | 156 | py | Python | app/display_modules/taxon_abundance/constants.py | MetaGenScope/metagenscope-server | 609cd57c626c857c8efde8237a1f22f4d1e6065d | [
"MIT"
] | null | null | null | app/display_modules/taxon_abundance/constants.py | MetaGenScope/metagenscope-server | 609cd57c626c857c8efde8237a1f22f4d1e6065d | [
"MIT"
] | null | null | null | app/display_modules/taxon_abundance/constants.py | MetaGenScope/metagenscope-server | 609cd57c626c857c8efde8237a1f22f4d1e6065d | [
"MIT"
] | null | null | null | # pylint:disable=unused-import
"""Constants for taxon abundance module."""
from app.analysis_results.constants import TAXON_ABUNDANCE_NAME as MODULE_NAME
| 26 | 78 | 0.820513 | 21 | 156 | 5.904762 | 0.714286 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 156 | 5 | 79 | 31.2 | 0.879433 | 0.429487 | 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 |
a6c5d094381a9e9ebb99c66164a756c2e33ab4ca | 98 | py | Python | synapse/filters/uuids.py | comodit/synapse-agent | ee3c6c2ec07ba34e821529f3e097123326b8b9c5 | [
"MIT"
] | 5 | 2015-11-05T05:44:08.000Z | 2021-02-09T06:00:21.000Z | synapse/filters/uuids.py | mrmuxl/synapse-agent | 615ccc8faefa0f7d66d070a7444fe57e67e3bae1 | [
"MIT"
] | 2 | 2017-08-13T09:36:41.000Z | 2017-08-13T09:36:58.000Z | synapse/filters/uuids.py | mrmuxl/synapse-agent | 615ccc8faefa0f7d66d070a7444fe57e67e3bae1 | [
"MIT"
] | 3 | 2015-09-30T20:08:19.000Z | 2020-08-19T19:24:04.000Z | from synapse.config import config
def check(uuids):
return config.rabbitmq['uuid'] in uuids
| 16.333333 | 43 | 0.744898 | 14 | 98 | 5.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 5 | 44 | 19.6 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.