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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17610a04c222fb0d535f11fe978558a57947af2a | 4,946 | py | Python | tests/test_backend.py | galaxybrainco/django-stagedoor | f9e555e1c0ee95edee25a71947304872f1353f36 | [
"Apache-2.0"
] | 1 | 2020-05-25T22:09:40.000Z | 2020-05-25T22:09:40.000Z | tests/test_backend.py | galaxybrainco/django-stagedoor | f9e555e1c0ee95edee25a71947304872f1353f36 | [
"Apache-2.0"
] | null | null | null | tests/test_backend.py | galaxybrainco/django-stagedoor | f9e555e1c0ee95edee25a71947304872f1353f36 | [
"Apache-2.0"
] | null | null | null | from unittest.mock import MagicMock, patch
from django.contrib.auth import get_user_model
from django.test import TestCase, Client, override_settings
from stagedoor.backends import EmailTokenBackend, SMSTokenBackend, StageDoorBackendMixin
from stagedoor.models import AuthToken, Email, PhoneNumber, generate_token_stri... | 38.341085 | 88 | 0.712495 | 565 | 4,946 | 6.021239 | 0.132743 | 0.103469 | 0.061141 | 0.079365 | 0.837155 | 0.797472 | 0.783363 | 0.725162 | 0.700764 | 0.674897 | 0 | 0.017077 | 0.194905 | 4,946 | 128 | 89 | 38.640625 | 0.837268 | 0.020016 | 0 | 0.795699 | 0 | 0 | 0.040875 | 0.026012 | 0 | 0 | 0 | 0 | 0.247312 | 1 | 0.11828 | false | 0 | 0.053763 | 0 | 0.204301 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1764688007b339099e066fde3467d3e902da9720 | 27,979 | py | Python | src/ssnmf/ssnmf.py | lara-kassab/ssnmf | 5e27d6d8daf02c08e82017fe137305823d3a8129 | [
"MIT"
] | null | null | null | src/ssnmf/ssnmf.py | lara-kassab/ssnmf | 5e27d6d8daf02c08e82017fe137305823d3a8129 | [
"MIT"
] | null | null | null | src/ssnmf/ssnmf.py | lara-kassab/ssnmf | 5e27d6d8daf02c08e82017fe137305823d3a8129 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Class and functions for training (SS)NMF model.
The NMF model consists of the data matrix to be factorized, X, the factor matrices, A and
S. Each model also consists of a label matrix, Y, classification factor matrix, B, and
classification weight para... | 47.261824 | 141 | 0.542621 | 3,680 | 27,979 | 4.113043 | 0.06087 | 0.037328 | 0.071353 | 0.038055 | 0.889271 | 0.866477 | 0.832254 | 0.805893 | 0.773256 | 0.739892 | 0 | 0.009357 | 0.335394 | 27,979 | 591 | 142 | 47.341794 | 0.804625 | 0.297759 | 0 | 0.70979 | 0 | 0 | 0.081799 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020979 | false | 0 | 0.006993 | 0 | 0.08042 | 0.034965 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
17a0b7cd9a6d3d0cb3e7fc83398aaa40dc70e707 | 3,396 | py | Python | tests/commands/create/test_create_app.py | paulproteus/briefcase | 9d00dc9300cb00ef5dcd766e3a625a94b0462e51 | [
"BSD-3-Clause"
] | null | null | null | tests/commands/create/test_create_app.py | paulproteus/briefcase | 9d00dc9300cb00ef5dcd766e3a625a94b0462e51 | [
"BSD-3-Clause"
] | null | null | null | tests/commands/create/test_create_app.py | paulproteus/briefcase | 9d00dc9300cb00ef5dcd766e3a625a94b0462e51 | [
"BSD-3-Clause"
] | null | null | null | from unittest import mock
def test_create_app(tracking_create_command):
"If the app doesn't already exist, it will be created"
tracking_create_command.create_app(tracking_create_command.apps['first'])
# The right sequence of things will be done
assert tracking_create_command.actions == [
('ge... | 37.318681 | 84 | 0.715842 | 431 | 3,396 | 5.387471 | 0.199536 | 0.198966 | 0.29845 | 0.150732 | 0.854866 | 0.841947 | 0.841947 | 0.787252 | 0.738157 | 0.738157 | 0 | 0 | 0.173439 | 3,396 | 90 | 85 | 37.733333 | 0.827218 | 0.202297 | 0 | 0.666667 | 0 | 0 | 0.178337 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 1 | 0.078431 | false | 0 | 0.019608 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
bd6665d843367358b18f01273f4a236fd07e4e0d | 46 | py | Python | e2e/server_unreachable/some_test.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | e2e/server_unreachable/some_test.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | 5 | 2018-12-27T02:52:01.000Z | 2019-01-02T01:52:55.000Z | e2e/server_unreachable/some_test.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | import time
def test_a():
time.sleep(1)
| 7.666667 | 17 | 0.630435 | 8 | 46 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.23913 | 46 | 5 | 18 | 9.2 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bd97486db17525bb3c04503418deaca33bc13446 | 9,887 | py | Python | tests/test_quart.py | JacobHenner/aioprometheus | d0528e832a1cdbc3503942b1b0c8925a43007500 | [
"MIT"
] | 104 | 2016-11-01T04:43:23.000Z | 2022-03-09T18:15:05.000Z | tests/test_quart.py | JacobHenner/aioprometheus | d0528e832a1cdbc3503942b1b0c8925a43007500 | [
"MIT"
] | 35 | 2017-04-05T07:52:15.000Z | 2022-03-13T02:29:50.000Z | tests/test_quart.py | JacobHenner/aioprometheus | d0528e832a1cdbc3503942b1b0c8925a43007500 | [
"MIT"
] | 18 | 2017-02-08T07:48:26.000Z | 2022-03-01T01:16:29.000Z | import logging
import sys
import unittest
import asynctest
from aioprometheus import REGISTRY, Counter, MetricsMiddleware, formats, render
try:
from quart import Quart, request
from aioprometheus.asgi.quart import metrics
have_quart = True
except ImportError:
have_quart = False
@unittest.skipUnle... | 36.618519 | 87 | 0.616668 | 1,108 | 9,887 | 5.362816 | 0.134477 | 0.054527 | 0.057556 | 0.061932 | 0.888253 | 0.864692 | 0.864692 | 0.85796 | 0.85796 | 0.839953 | 0 | 0.011797 | 0.262668 | 9,887 | 269 | 88 | 36.754647 | 0.803292 | 0.133104 | 0 | 0.711111 | 0 | 0 | 0.184801 | 0.10618 | 0 | 0 | 0 | 0 | 0.272222 | 1 | 0.005556 | false | 0 | 0.044444 | 0 | 0.077778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
da08638632f2975d301b02c5cca682f314d45e1d | 3,441 | py | Python | cn/bvt/assignment-3/topo5.py | adamacosta/bvt | 17f8e94105b346ddad185900df08269702e94391 | [
"MIT"
] | null | null | null | cn/bvt/assignment-3/topo5.py | adamacosta/bvt | 17f8e94105b346ddad185900df08269702e94391 | [
"MIT"
] | null | null | null | cn/bvt/assignment-3/topo5.py | adamacosta/bvt | 17f8e94105b346ddad185900df08269702e94391 | [
"MIT"
] | null | null | null | # a Star topology centered on Z
# D G J
# \ | /
# \ | /
# E H K
# \ | /
# \ | /
# F I L
# \ | /
# ... | 47.136986 | 82 | 0.408021 | 756 | 3,441 | 1.857143 | 0.236772 | 0.019943 | 0.029915 | 0.039886 | 0.717949 | 0.717949 | 0.692308 | 0.662393 | 0.662393 | 0.623932 | 0 | 0.251408 | 0.277536 | 3,441 | 73 | 83 | 47.136986 | 0.313355 | 0.190061 | 0 | 0 | 0 | 0.490196 | 0.713304 | 0.686913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da310f299c75d14dc54551cf69badd8a06c426a9 | 2,642 | py | Python | vip4model/ModelCart.py | mattkjames7/vip4model | 63f1fd0a566f2adcf93cdd424f5155fc62336ec3 | [
"MIT"
] | 1 | 2021-09-07T11:44:20.000Z | 2021-09-07T11:44:20.000Z | vip4model/ModelCart.py | mattkjames7/vip4model | 63f1fd0a566f2adcf93cdd424f5155fc62336ec3 | [
"MIT"
] | null | null | null | vip4model/ModelCart.py | mattkjames7/vip4model | 63f1fd0a566f2adcf93cdd424f5155fc62336ec3 | [
"MIT"
] | null | null | null | import numpy as np
from .Model import Model,ModelScalar
from ._SphHarm import _SphHarm,_SphHarmScalarCart
def ModelCart(x,y,z,MaxDeg=4):
'''
VIP4 Magnetic field model (see Connerney et al 1998 below). The
model uses right-handed System III coordinates (I think).
Inputs
======
x : float
x-coordinate in Rj... | 23.175439 | 71 | 0.652536 | 458 | 2,642 | 3.759825 | 0.248908 | 0.075494 | 0.04878 | 0.052265 | 0.852497 | 0.84669 | 0.84669 | 0.84669 | 0.84669 | 0.809524 | 0 | 0.041011 | 0.206283 | 2,642 | 113 | 72 | 23.380531 | 0.779208 | 0.632097 | 0 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.096774 | 0.032258 | 0.290323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
da37afa1ca208c5cbbe4afdc3395e64ac8c1d7c9 | 1,044 | py | Python | dev/tools/leveleditor/pandac/PandaModules.py | CrankySupertoon01/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2021-02-13T22:40:50.000Z | 2021-02-13T22:40:50.000Z | dev/tools/leveleditor/pandac/PandaModules.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | dev/tools/leveleditor/pandac/PandaModules.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 2 | 2019-12-02T01:39:10.000Z | 2021-02-13T22:41:00.000Z | try:
from libpandaexpressModules import *
except ImportError, err:
if 'DLL loader cannot find' not in str(err):
raise
try:
from libpandaModules import *
except ImportError, err:
if 'DLL loader cannot find' not in str(err):
raise
try:
from libpandaphysicsModules import *
except Impo... | 21.75 | 48 | 0.671456 | 136 | 1,044 | 5.154412 | 0.169118 | 0.079886 | 0.262482 | 0.296719 | 0.788873 | 0.788873 | 0.788873 | 0.788873 | 0.788873 | 0.788873 | 0 | 0 | 0.259579 | 1,044 | 47 | 49 | 22.212766 | 0.906856 | 0 | 0 | 0.8 | 0 | 0 | 0.168582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
16f3b9243726b77a85a24462c0c49b0a4eb40ead | 796 | py | Python | lesson01/luofeng/99_table.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | lesson01/luofeng/99_table.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | lesson01/luofeng/99_table.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- encoding:utf8 -*-
#*******************************************
# Author: LuoFeng
# Date: 2019-05-18
# Filename: 99_table.py
# Describe:
#*******************************************
# 正方形九九乘法表
for n in range(1,10):
# python3 print() 函数支持 end 参数,python2 不支持, 默认值 end = '\n'
for m in ra... | 26.533333 | 61 | 0.472362 | 114 | 796 | 3.289474 | 0.324561 | 0.112 | 0.106667 | 0.106667 | 0.712 | 0.712 | 0.712 | 0.712 | 0.712 | 0.648 | 0 | 0.052885 | 0.21608 | 796 | 29 | 62 | 27.448276 | 0.548077 | 0.492462 | 0 | 0.75 | 0 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 7 |
e508f5357db4a49c22092c74450b60b28e97ffeb | 3,726 | py | Python | src/dcos_e2e_cli/common/upgrade.py | jongiddy/dcos-e2e | b52ef9a1097a8fb328902064345cc6c8b0bf5779 | [
"Apache-2.0"
] | 63 | 2018-05-17T21:02:14.000Z | 2021-11-15T19:18:03.000Z | src/dcos_e2e_cli/common/upgrade.py | jongiddy/dcos-e2e | b52ef9a1097a8fb328902064345cc6c8b0bf5779 | [
"Apache-2.0"
] | 225 | 2017-09-08T02:24:58.000Z | 2018-05-16T12:18:58.000Z | src/dcos_e2e_cli/common/upgrade.py | jongiddy/dcos-e2e | b52ef9a1097a8fb328902064345cc6c8b0bf5779 | [
"Apache-2.0"
] | 21 | 2018-06-14T21:58:24.000Z | 2021-11-15T19:18:06.000Z | """
Helpers for installing DC/OS.
"""
import subprocess
import sys
from pathlib import Path
from typing import Any, Dict, Iterable, Tuple
import click
from halo import Halo
from dcos_e2e.cluster import Cluster
from dcos_e2e.node import Output
from .base_classes import ClusterRepresentation
from .error_handling impo... | 33.267857 | 78 | 0.694042 | 490 | 3,726 | 5.036735 | 0.189796 | 0.02269 | 0.044571 | 0.042139 | 0.86953 | 0.843598 | 0.843598 | 0.843598 | 0.843598 | 0.843598 | 0 | 0.000708 | 0.241546 | 3,726 | 111 | 79 | 33.567568 | 0.872611 | 0.371981 | 0 | 0.71875 | 0 | 0 | 0.013599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.15625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e5472bc3d527750bfb50c5e56c38d936fceee316 | 1,970 | py | Python | examples/simple/testnode.py | DrLuke/effigy | c970d945fc22787bd6b95ec2f1dfd317876ef4dc | [
"MIT"
] | null | null | null | examples/simple/testnode.py | DrLuke/effigy | c970d945fc22787bd6b95ec2f1dfd317876ef4dc | [
"MIT"
] | null | null | null | examples/simple/testnode.py | DrLuke/effigy | c970d945fc22787bd6b95ec2f1dfd317876ef4dc | [
"MIT"
] | null | null | null | from effigy import QNodeSceneNode, NodeIO, NodeInput, NodeOutput
from PyQt5.QtWidgets import QGraphicsRectItem
from PyQt5.QtCore import QRectF, QPointF, Qt
from PyQt5.QtGui import QPen, QColor, QBrush
class TestNode(QNodeSceneNode):
author = "Luke"
modulename = "testmod"
name = "Example Node"
def add... | 28.142857 | 73 | 0.62132 | 227 | 1,970 | 5.39207 | 0.286344 | 0.078431 | 0.045752 | 0.071895 | 0.831699 | 0.831699 | 0.830065 | 0.772876 | 0.772876 | 0.772876 | 0 | 0.024374 | 0.250254 | 1,970 | 70 | 74 | 28.142857 | 0.804333 | 0 | 0 | 0.769231 | 0 | 0 | 0.084221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.076923 | 0.538462 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
e57397ac8823d3b4a2d993a40f35759fd877b2cb | 160 | py | Python | test/login.py | cz495969281/test007 | 43001233e7b61ee281c299cd66dedbd08eb667d8 | [
"MIT"
] | null | null | null | test/login.py | cz495969281/test007 | 43001233e7b61ee281c299cd66dedbd08eb667d8 | [
"MIT"
] | null | null | null | test/login.py | cz495969281/test007 | 43001233e7b61ee281c299cd66dedbd08eb667d8 | [
"MIT"
] | null | null | null | print("------------------")
print("------------------")
print("------------------")
print("------------------")
print("------------------")
num1 = 10
num2 = 20
| 20 | 27 | 0.23125 | 9 | 160 | 4.111111 | 0.555556 | 1.081081 | 1.216216 | 1.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040268 | 0.06875 | 160 | 7 | 28 | 22.857143 | 0.208054 | 0 | 0 | 0.714286 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
e5b5072f92e155561bc18cfadcbcd310c9fd1b61 | 262 | py | Python | slack/python/slack_aiml_test/settings.py | m4573rn3rd/scripts | df29a79b5ed6a996ccf0357e4fe495dd05377848 | [
"MIT"
] | null | null | null | slack/python/slack_aiml_test/settings.py | m4573rn3rd/scripts | df29a79b5ed6a996ccf0357e4fe495dd05377848 | [
"MIT"
] | null | null | null | slack/python/slack_aiml_test/settings.py | m4573rn3rd/scripts | df29a79b5ed6a996ccf0357e4fe495dd05377848 | [
"MIT"
] | null | null | null | # Slackbot API Information
slack_bot_token = "xoxb-2650828670406-2670419769553-qxTzP6Sbh9tlqfYIA52wh1bZ"
bot_id = "xoxb-2650828670406-2670419769553-qxTzP6Sbh9tlqfYIA52wh1bZ"
# AIML FIles
directory = "/aiml"
learn_file = "std-startup.xml"
respond = "load aiml b" | 32.75 | 77 | 0.80916 | 29 | 262 | 7.172414 | 0.758621 | 0.163462 | 0.288462 | 0.519231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260504 | 0.091603 | 262 | 8 | 78 | 32.75 | 0.613445 | 0.133588 | 0 | 0 | 0 | 0 | 0.644444 | 0.506667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e5b72a057874a519f9464ed9ed2e2bbd59ff53aa | 211 | py | Python | src/events/game_start.py | ArcosJuan/Get-out-of-my-fucking-maze | ca2cfeaaeecb6c6f583ad647d020f25176170805 | [
"MIT"
] | 1 | 2022-03-12T21:38:46.000Z | 2022-03-12T21:38:46.000Z | src/events/game_start.py | ArcosJuan/Get-out-of-my-fucking-maze | ca2cfeaaeecb6c6f583ad647d020f25176170805 | [
"MIT"
] | null | null | null | src/events/game_start.py | ArcosJuan/Get-out-of-my-fucking-maze | ca2cfeaaeecb6c6f583ad647d020f25176170805 | [
"MIT"
] | null | null | null | from src.events import Event
class GameStart(Event):
def __init__(self, min_size):
super().__init__()
self.min_size = min_size
def get_min_size(self): return self.min_size | 21.1 | 48 | 0.64455 | 29 | 211 | 4.206897 | 0.517241 | 0.286885 | 0.270492 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265403 | 211 | 10 | 48 | 21.1 | 0.787097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
e5ebc4932df04eab5f87fbd870f222dde7998412 | 15 | py | Python | app/containers/Codedash/js/data/generator/temp.py | GAUTAMRAJU15/demo | fd11b6db098d5b0dec4de74590ff5239dd614a7e | [
"MIT"
] | null | null | null | app/containers/Codedash/js/data/generator/temp.py | GAUTAMRAJU15/demo | fd11b6db098d5b0dec4de74590ff5239dd614a7e | [
"MIT"
] | 4 | 2020-04-05T22:02:22.000Z | 2022-03-24T07:58:59.000Z | app/containers/Codedash/js/data/generator/temp.py | GAUTAMRAJU15/demo | fd11b6db098d5b0dec4de74590ff5239dd614a7e | [
"MIT"
] | null | null | null | print(8%6-5/3)
| 7.5 | 14 | 0.6 | 5 | 15 | 1.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.066667 | 15 | 1 | 15 | 15 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
f919e1e1800f004de4f9772da02f5180f9091681 | 9,460 | py | Python | src/pages/migrations/0002_auto_20191214_1316.py | ahsanali2000/Patientio | 254896ba0386a3738b5fd13800e1d524a5c47bea | [
"BSD-3-Clause"
] | 2 | 2020-04-19T20:13:46.000Z | 2022-03-11T09:48:53.000Z | src/pages/migrations/0002_auto_20191214_1316.py | ahsanali2000/Patientio | 254896ba0386a3738b5fd13800e1d524a5c47bea | [
"BSD-3-Clause"
] | 1 | 2020-06-26T22:26:22.000Z | 2020-06-26T22:28:25.000Z | src/pages/migrations/0002_auto_20191214_1316.py | ahsanali2000/Patientio | 254896ba0386a3738b5fd13800e1d524a5c47bea | [
"BSD-3-Clause"
] | 3 | 2020-06-21T20:52:12.000Z | 2021-07-31T11:07:21.000Z | # Generated by Django 3.0 on 2019-12-14 08:16
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('pages', '0001_initial'),
... | 33.546099 | 133 | 0.540803 | 891 | 9,460 | 5.612795 | 0.089787 | 0.095381 | 0.20236 | 0.237552 | 0.902819 | 0.902819 | 0.832434 | 0.824835 | 0.772446 | 0.772446 | 0 | 0.015868 | 0.333827 | 9,460 | 281 | 134 | 33.66548 | 0.77769 | 0.004545 | 0 | 0.941818 | 1 | 0 | 0.083165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010909 | 0 | 0.021818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
0088f28f1c6652002fa08ccee3e16f6c267e08ec | 2,424 | py | Python | napari/components/_tests/test_world_coordinates.py | mrocklin/napari | b61d9ae570e30091a97b6c76e37cd95fe5b296b6 | [
"BSD-3-Clause"
] | 1 | 2021-04-04T21:25:04.000Z | 2021-04-04T21:25:04.000Z | napari/components/_tests/test_world_coordinates.py | mrocklin/napari | b61d9ae570e30091a97b6c76e37cd95fe5b296b6 | [
"BSD-3-Clause"
] | 1 | 2020-10-15T19:31:09.000Z | 2020-10-15T19:39:33.000Z | napari/components/_tests/test_world_coordinates.py | mrocklin/napari | b61d9ae570e30091a97b6c76e37cd95fe5b296b6 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from napari.components import ViewerModel
def test_translated_images():
"""Test two translated images."""
viewer = ViewerModel()
np.random.seed(0)
data = np.random.random((10, 10, 10))
viewer.add_image(data)
viewer.add_image(data, translate=[10, 0, 0])
assert viewer.dim... | 35.647059 | 70 | 0.618812 | 387 | 2,424 | 3.790698 | 0.105943 | 0.190866 | 0.218132 | 0.171779 | 0.923654 | 0.90184 | 0.861622 | 0.861622 | 0.819359 | 0.819359 | 0 | 0.084595 | 0.209984 | 2,424 | 67 | 71 | 36.179104 | 0.681462 | 0.05198 | 0 | 0.685185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
dabd39aef0dadaaac78062270877c1da8518c8b7 | 1,809 | py | Python | diventi/adventures/migrations/0007_auto_20200502_1136.py | flavoi/diven | 3173ca3ca3fbedc191b8eab3639a6bceb3c442c4 | [
"Apache-2.0"
] | 2 | 2019-06-27T16:00:17.000Z | 2020-08-14T07:46:05.000Z | diventi/adventures/migrations/0007_auto_20200502_1136.py | flavoi/diven | 3173ca3ca3fbedc191b8eab3639a6bceb3c442c4 | [
"Apache-2.0"
] | 26 | 2020-02-15T22:39:35.000Z | 2022-02-19T21:09:01.000Z | diventi/adventures/migrations/0007_auto_20200502_1136.py | flavoi/diven | 3173ca3ca3fbedc191b8eab3639a6bceb3c442c4 | [
"Apache-2.0"
] | 1 | 2021-11-12T22:30:15.000Z | 2021-11-12T22:30:15.000Z | # Generated by Django 2.2.12 on 2020-05-02 09:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('adventures', '0006_auto_20200502_1130'),
]
operations = [
migrations.AddField(
model_name='antagonist',
name='descr... | 33.5 | 86 | 0.588723 | 177 | 1,809 | 5.841808 | 0.248588 | 0.139265 | 0.17795 | 0.208897 | 0.851064 | 0.851064 | 0.851064 | 0.805609 | 0.805609 | 0.805609 | 0 | 0.031177 | 0.290768 | 1,809 | 53 | 87 | 34.132075 | 0.774747 | 0.025428 | 0 | 0.851064 | 1 | 0 | 0.159568 | 0.013061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
dad6d9d8b61676f25e557d3c2409faf57a2068d9 | 531 | py | Python | extensions/.stubs/clrclasses/Autodesk/AutoCAD/Internal/Forms/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/Autodesk/AutoCAD/Internal/Forms/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/Autodesk/AutoCAD/Internal/Forms/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | from __clrclasses__.Autodesk.AutoCAD.Internal.Forms import ExColumnHeader
from __clrclasses__.Autodesk.AutoCAD.Internal.Forms import ExListView
from __clrclasses__.Autodesk.AutoCAD.Internal.Forms import HelpProvider
from __clrclasses__.Autodesk.AutoCAD.Internal.Forms import IInPlaceEditUpdater
from __clrclasses__.Autod... | 66.375 | 84 | 0.894539 | 56 | 531 | 7.982143 | 0.25 | 0.219239 | 0.344519 | 0.454139 | 0.751678 | 0.751678 | 0.751678 | 0 | 0 | 0 | 0 | 0 | 0.052731 | 531 | 7 | 85 | 75.857143 | 0.888668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 8 |
dae9779e1eb09d8e88bb707ec8f1d00c50c5783f | 9,006 | py | Python | tests/api/ranklist_row_tests.py | ericbrandwein/CodeforcesAPI | 12ae641910a3308033584dc518bb2fc0173e56f3 | [
"MIT"
] | 26 | 2015-06-21T16:19:44.000Z | 2021-11-15T12:32:25.000Z | tests/api/ranklist_row_tests.py | ericbrandwein/CodeforcesAPI | 12ae641910a3308033584dc518bb2fc0173e56f3 | [
"MIT"
] | 5 | 2015-03-10T06:00:52.000Z | 2020-01-18T12:59:25.000Z | tests/api/ranklist_row_tests.py | ericbrandwein/CodeforcesAPI | 12ae641910a3308033584dc518bb2fc0173e56f3 | [
"MIT"
] | 12 | 2015-04-24T17:16:50.000Z | 2022-01-04T14:21:25.000Z | """
This module provides classes for testing RanklistRow object
"""
import unittest
from codeforces import RanklistRow, Party, ProblemResult
class RanklistRowTests(unittest.TestCase):
def setUp(self):
self.row = RanklistRow()
def load_from_dict(self):
d = {
"party": {
... | 33.604478 | 97 | 0.455474 | 645 | 9,006 | 6.269767 | 0.133333 | 0.064046 | 0.13452 | 0.077151 | 0.932987 | 0.932987 | 0.932987 | 0.932987 | 0.928289 | 0.928289 | 0 | 0.063677 | 0.428048 | 9,006 | 267 | 98 | 33.730337 | 0.721413 | 0.036087 | 0 | 0.86758 | 0 | 0 | 0.221491 | 0.062713 | 0 | 0 | 0 | 0 | 0.146119 | 1 | 0.022831 | false | 0 | 0.009132 | 0 | 0.03653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9712768994f5a1edb806ab5f21f076b623ff8876 | 21,977 | py | Python | tests/integration/test_envelope.py | andrew-chang-dewitt/hoops-api | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | null | null | null | tests/integration/test_envelope.py | andrew-chang-dewitt/hoops-api | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | 10 | 2021-11-02T23:31:56.000Z | 2021-12-07T03:41:12.000Z | tests/integration/test_envelope.py | andrew-chang-dewitt/hoops | 3530c5127c35742aad84df8d6a5286b9f5ad3608 | [
"MIT"
] | null | null | null | """Tests for /envelope routes."""
from decimal import Decimal
from unittest import main, IsolatedAsyncioTestCase as TestCase
from uuid import UUID
from db_wrapper.model import sql
# internal test dependencies
from tests.helpers.application import (
get_test_client,
get_token_header,
)
from tests.helpers.data... | 36.689482 | 79 | 0.5134 | 2,192 | 21,977 | 4.96031 | 0.073905 | 0.042491 | 0.052423 | 0.062908 | 0.849811 | 0.820841 | 0.790306 | 0.771176 | 0.757932 | 0.743493 | 0 | 0.011914 | 0.38513 | 21,977 | 598 | 80 | 36.750836 | 0.792718 | 0.009146 | 0 | 0.770065 | 0 | 0 | 0.258433 | 0.015757 | 0 | 0 | 0 | 0 | 0.075922 | 1 | 0 | false | 0 | 0.013015 | 0 | 0.023861 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
977421f580ce1d3eff1f8f153407e47511353549 | 56 | py | Python | models/NER/models/__init__.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | null | null | null | models/NER/models/__init__.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | 19 | 2021-07-22T11:18:17.000Z | 2021-08-20T10:12:17.000Z | models/NER/models/__init__.py | GroupLe/grouple-face-tagger | 5fd87c074dc50a5fc341e9f30774094a1616a87f | [
"MIT"
] | 1 | 2021-07-29T11:56:03.000Z | 2021-07-29T11:56:03.000Z | # from .naive import NerLstm
from .naive import BertLstm | 28 | 28 | 0.803571 | 8 | 56 | 5.625 | 0.625 | 0.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 29 | 28 | 0.9375 | 0.464286 | 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 | 1 | 0 | 0 | 7 |
979cf2d4987ad6d61141b5095063f9e1f3cc16bc | 334 | py | Python | torch_ort/__init__.py | ashari4/ort | 4e1a654a23fe8f73d6702bb49694f7e793059989 | [
"MIT"
] | null | null | null | torch_ort/__init__.py | ashari4/ort | 4e1a654a23fe8f73d6702bb49694f7e793059989 | [
"MIT"
] | null | null | null | torch_ort/__init__.py | ashari4/ort | 4e1a654a23fe8f73d6702bb49694f7e793059989 | [
"MIT"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------
from onnxruntime.training.ortmodule import ORTModule
from onnxruntime im... | 41.75 | 76 | 0.446108 | 23 | 334 | 6.434783 | 0.826087 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080838 | 334 | 7 | 77 | 47.714286 | 0.482085 | 0.712575 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8ae690f5da4ecb026c964166afbb3290b5251e1e | 166 | py | Python | cloudcopy/server/setup.py | cloud-copy/server | 1b4470adc3cfdadf7a5846667a4c905afa3ab1c3 | [
"MIT"
] | null | null | null | cloudcopy/server/setup.py | cloud-copy/server | 1b4470adc3cfdadf7a5846667a4c905afa3ab1c3 | [
"MIT"
] | 1 | 2020-09-25T02:24:45.000Z | 2020-09-25T02:24:45.000Z | cloudcopy/server/setup.py | cloud-copy/core | 1b4470adc3cfdadf7a5846667a4c905afa3ab1c3 | [
"MIT"
] | null | null | null | import os
from .config import settings
def setup_environment():
os.makedirs(settings.BASE_PATH, exist_ok=True)
os.makedirs(settings.LOG_PATH, exist_ok=True)
| 23.714286 | 50 | 0.777108 | 25 | 166 | 4.96 | 0.6 | 0.16129 | 0.290323 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 166 | 6 | 51 | 27.666667 | 0.855172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c139e327255d0b592b9ad110fc033a6fa4ed36f8 | 6,570 | py | Python | test_image_manipulation.py | shequin-joshua-9147/cs162-final-project | 0edff7170ca0761b38c30774475bfecac2a18f01 | [
"MIT"
] | null | null | null | test_image_manipulation.py | shequin-joshua-9147/cs162-final-project | 0edff7170ca0761b38c30774475bfecac2a18f01 | [
"MIT"
] | null | null | null | test_image_manipulation.py | shequin-joshua-9147/cs162-final-project | 0edff7170ca0761b38c30774475bfecac2a18f01 | [
"MIT"
] | null | null | null | """
Pytest the ImageStuff module.
Joshua Shequin
"""
from image_manipulation import ImageO
import numpy as np
"""
BASE IMAGE
np.array([[[255, 0, 0, 255], [0, 255, 0, 255], [0, 0, 255, 255], [255, 255, 255, 255]],
[[0, 0, 0, 255], [0, 0 ,0, 255], [255, 255, 255, 255], [255, 255, 255, 255]],
[[25... | 51.328125 | 116 | 0.454033 | 1,060 | 6,570 | 2.751887 | 0.066981 | 0.353788 | 0.333219 | 0.31265 | 0.886184 | 0.851903 | 0.842304 | 0.81385 | 0.729859 | 0.686664 | 0 | 0.359238 | 0.304718 | 6,570 | 127 | 117 | 51.732283 | 0.279335 | 0.021005 | 0 | 0.164557 | 0 | 0 | 0.041804 | 0.041804 | 0 | 0 | 0 | 0 | 0.139241 | 1 | 0.139241 | false | 0 | 0.025316 | 0 | 0.164557 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
a9aa6670594291b264801f948cbae934042b2ee2 | 1,210 | py | Python | pymicropel/test/test_helper/test_crypto.py | vkorecky/pymicropel | 9333ba1d691664a01d0ec63f89ae13956f37d633 | [
"Apache-2.0"
] | null | null | null | pymicropel/test/test_helper/test_crypto.py | vkorecky/pymicropel | 9333ba1d691664a01d0ec63f89ae13956f37d633 | [
"Apache-2.0"
] | null | null | null | pymicropel/test/test_helper/test_crypto.py | vkorecky/pymicropel | 9333ba1d691664a01d0ec63f89ae13956f37d633 | [
"Apache-2.0"
] | null | null | null | """Test of cryptography."""
from pymicropel.helper.crypto import Crypto
def test_encrypt_decrypt_test():
"""Test encoding and decoding."""
original_str = "Sww=BRDqXPgX5ytH"
exp_str_pass1 = "Ffz7WCI{MAjR hyB"
exp_str_pass999999 = 'Mgf"\\BUnF@vG+ieW'
cryptography = Crypto()
cryptography.crypt... | 32.702703 | 57 | 0.757851 | 151 | 1,210 | 5.715232 | 0.258278 | 0.13905 | 0.12051 | 0.202781 | 0.741599 | 0.741599 | 0.741599 | 0.741599 | 0.741599 | 0.741599 | 0 | 0.024606 | 0.160331 | 1,210 | 36 | 58 | 33.611111 | 0.824803 | 0.040496 | 0 | 0.538462 | 0 | 0 | 0.042609 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.038462 | false | 0.153846 | 0.038462 | 0 | 0.076923 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
a9cb7e9cb15bcd92cff640079317e84253e973d1 | 73,023 | py | Python | tests/unittest/test_server_file.py | andy-maier/secureserveraccess | 24f4817b2066401451840b3c7b308e1792eb3e60 | [
"Apache-2.0"
] | 1 | 2021-03-29T22:09:47.000Z | 2021-03-29T22:09:47.000Z | tests/unittest/test_server_file.py | andy-maier/secureserveraccess | 24f4817b2066401451840b3c7b308e1792eb3e60 | [
"Apache-2.0"
] | 49 | 2021-03-29T20:13:28.000Z | 2021-05-01T10:38:19.000Z | tests/unittest/test_server_file.py | andy-maier/secureserveraccess | 24f4817b2066401451840b3c7b308e1792eb3e60 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the... | 34.922525 | 80 | 0.483478 | 6,698 | 73,023 | 5.034189 | 0.043744 | 0.060352 | 0.0484 | 0.054094 | 0.900353 | 0.881758 | 0.865862 | 0.858804 | 0.84703 | 0.837273 | 0 | 0.010609 | 0.429467 | 73,023 | 2,090 | 81 | 34.939234 | 0.798737 | 0.10194 | 0 | 0.832606 | 0 | 0.000545 | 0.225226 | 0.004317 | 0 | 0 | 0 | 0 | 0.009815 | 1 | 0.003817 | false | 0.045802 | 0.003817 | 0 | 0.007634 | 0.000545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e759e111e8532250379574aaf174bb9a6a570515 | 296 | py | Python | concrete_settings/contrib/sources/__init__.py | coordt/concrete-settings | b444c3f1f8cdbe30135c1978876215e04ebc7622 | [
"MIT"
] | 5 | 2020-04-25T12:18:33.000Z | 2021-03-26T18:51:33.000Z | concrete_settings/contrib/sources/__init__.py | coordt/concrete-settings | b444c3f1f8cdbe30135c1978876215e04ebc7622 | [
"MIT"
] | 13 | 2019-03-20T10:42:39.000Z | 2021-07-07T08:01:05.000Z | concrete_settings/contrib/sources/__init__.py | coordt/concrete-settings | b444c3f1f8cdbe30135c1978876215e04ebc7622 | [
"MIT"
] | 3 | 2020-04-25T08:53:29.000Z | 2021-07-06T19:15:52.000Z | from .yaml_source import YamlSource # noqa: F401 # imported but unused
from .json_source import JsonSource # noqa: F401 # imported but unused
from .envvar_source import EnvVarSource # noqa: F401 # imported but unused
from .python_source import PythonSource # noqa: F401 # imported but unused
| 59.2 | 75 | 0.783784 | 40 | 296 | 5.7 | 0.4 | 0.210526 | 0.280702 | 0.333333 | 0.491228 | 0.381579 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.162162 | 296 | 4 | 76 | 74 | 0.870968 | 0.429054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e7abac1d75645cd7f4f620f9728743a448e6b6a9 | 7,369 | py | Python | modules/jwtoken/handlers/verify.py | francoricci/spspid | db335f2335824ba4f7aa7a01cd15c235bc815a47 | [
"MIT"
] | 2 | 2017-09-18T07:03:14.000Z | 2021-09-28T07:58:58.000Z | modules/jwtoken/handlers/verify.py | francoricci/spspid | db335f2335824ba4f7aa7a01cd15c235bc815a47 | [
"MIT"
] | 1 | 2021-09-28T08:04:05.000Z | 2021-09-28T08:04:05.000Z | modules/jwtoken/handlers/verify.py | francoricci/sapspid | db335f2335824ba4f7aa7a01cd15c235bc815a47 | [
"MIT"
] | null | null | null | from response import ResponseObj
from request import RequestObjNew
import tornado.web
import tornado.gen
import tornado.ioloop
import tornado.concurrent
import logging
import commonlib
from jwtoken.handlers.jwtokenhandler import jwtokenHandler
import asyncio
import globalsObj
class verifyHandler(jwtokenHandler):
... | 42.350575 | 135 | 0.61433 | 781 | 7,369 | 5.546735 | 0.148528 | 0.121884 | 0.071099 | 0.053324 | 0.924515 | 0.924515 | 0.922207 | 0.915974 | 0.904663 | 0.896584 | 0 | 0.019398 | 0.265436 | 7,369 | 173 | 136 | 42.595376 | 0.780898 | 0.010042 | 0 | 0.793651 | 0 | 0 | 0.119358 | 0.023186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.087302 | 0 | 0.150794 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e7b2e99747ee5a74ff3df1cb19b37a26e4a7fd5a | 34,707 | py | Python | code/variant_calling.py | pierson-we/wes_pipe | f24c3d2541def30b3c7ff86995c227330c4c6e15 | [
"MIT"
] | null | null | null | code/variant_calling.py | pierson-we/wes_pipe | f24c3d2541def30b3c7ff86995c227330c4c6e15 | [
"MIT"
] | null | null | null | code/variant_calling.py | pierson-we/wes_pipe | f24c3d2541def30b3c7ff86995c227330c4c6e15 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import subprocess
import luigi
import luigi.interface
import os
import sys
import time
import random
import pipeline_utils
import global_vars
import bam_processing
import misc_utils
class mutect_single_normal(luigi.Task):
max_threads = luigi.IntParameter()
project_dir = luigi.Parameter()
sam... | 48.33844 | 594 | 0.702711 | 5,096 | 34,707 | 4.589286 | 0.057692 | 0.081413 | 0.038312 | 0.025741 | 0.904862 | 0.897037 | 0.891949 | 0.889383 | 0.873348 | 0.862359 | 0 | 0.0088 | 0.106175 | 34,707 | 717 | 595 | 48.405858 | 0.745084 | 0.164232 | 0 | 0.718468 | 0 | 0 | 0.149946 | 0.05305 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135135 | false | 0.006757 | 0.024775 | 0.072072 | 0.572072 | 0.002252 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
99f928d43051cdad79c8075f0cafc9ceccd47e51 | 352 | py | Python | ruprompts/__init__.py | sberbank-ai/ru-prompts | 4eeedae92cb5234c70adc787ace7cfceb76b0be0 | [
"Apache-2.0"
] | 30 | 2021-12-17T07:05:10.000Z | 2022-02-22T09:38:35.000Z | ruprompts/__init__.py | sberbank-ai/ru-prompts | 4eeedae92cb5234c70adc787ace7cfceb76b0be0 | [
"Apache-2.0"
] | null | null | null | ruprompts/__init__.py | sberbank-ai/ru-prompts | 4eeedae92cb5234c70adc787ace7cfceb76b0be0 | [
"Apache-2.0"
] | 2 | 2022-01-04T01:36:48.000Z | 2022-01-04T02:00:24.000Z | from ruprompts.pipelines import (
Text2TextGenerationWithPromptPipeline,
TextGenerationWithPromptPipeline,
)
from ruprompts.preprocessing import Text2TextPreprocessor
from ruprompts.prompt import MultiPrompt, Prompt
from ruprompts.prompt_format import PromptFormat
from ruprompts.prompt_provider import LSTMPromp... | 39.111111 | 78 | 0.875 | 30 | 352 | 10.2 | 0.5 | 0.212418 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00627 | 0.09375 | 352 | 8 | 79 | 44 | 0.952978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 1 | 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 | 7 |
413937787fb2463aa5bca94811628297c341550c | 7,760 | py | Python | _unittests/ut_sklapi/test_onnx_speedup_cluster.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 32 | 2018-03-04T23:33:30.000Z | 2022-03-10T19:15:06.000Z | _unittests/ut_sklapi/test_onnx_speedup_cluster.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 184 | 2017-11-30T14:10:35.000Z | 2022-02-21T08:29:31.000Z | _unittests/ut_sklapi/test_onnx_speedup_cluster.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 9 | 2019-07-24T13:18:00.000Z | 2022-03-07T04:08:07.000Z | """
@brief test log(time=5s)
"""
from io import BytesIO
import pickle
import unittest
from logging import getLogger
import numpy
from numba import NumbaWarning
# import pandas
# from sklearn.pipeline import make_pipeline
from sklearn.exceptions import ConvergenceWarning
from sklearn.cluster import KMeans
from skle... | 34.336283 | 67 | 0.635438 | 912 | 7,760 | 5.220395 | 0.120614 | 0.010922 | 0.082336 | 0.043688 | 0.829658 | 0.820416 | 0.819366 | 0.768536 | 0.752363 | 0.752363 | 0 | 0.015036 | 0.254381 | 7,760 | 225 | 68 | 34.488889 | 0.807812 | 0.023454 | 0 | 0.755208 | 0 | 0 | 0.016125 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 1 | 0.078125 | false | 0 | 0.072917 | 0.005208 | 0.161458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
41428dcf6d1fb25a21a121c3fb4919bb9d19def5 | 46,614 | py | Python | mysql_config/WebMonitoring/generators/website/tests/website_expected_size.py | raresraf/rafMetrics | 21eb5e8210364bf70eee746d71c45f3e353dcb10 | [
"MIT"
] | 15 | 2019-11-03T18:01:27.000Z | 2021-05-05T20:54:57.000Z | mysql_config/WebMonitoring/generators/website/tests/website_expected_size.py | raresraf/rafMetrics | 21eb5e8210364bf70eee746d71c45f3e353dcb10 | [
"MIT"
] | 392 | 2019-11-09T21:28:01.000Z | 2022-03-31T13:04:45.000Z | mysql_config/WebMonitoring/generators/website/tests/website_expected_size.py | raresraf/rafMetrics | 21eb5e8210364bf70eee746d71c45f3e353dcb10 | [
"MIT"
] | 1 | 2021-03-11T18:35:16.000Z | 2021-03-11T18:35:16.000Z | EXPECTED_DAILY_WEBSITE_GENERATE_SAMPLES_QUERIES_SIZE = """delimiter //
DROP PROCEDURE IF EXISTS get_daily_samples_size_websites;
CREATE PROCEDURE get_daily_samples_size_websites (
IN id INT,
OUT entry0 FLOAT,
OUT entry1 FLOAT,
OUT entry2 FLOAT,
OUT entry3 FLOAT,
OUT entry4 FLOAT,
OUT entry5 ... | 103.586667 | 251 | 0.725276 | 6,760 | 46,614 | 4.920414 | 0.019675 | 0.129758 | 0.159702 | 0.189646 | 0.996753 | 0.99513 | 0.99059 | 0.989598 | 0.988966 | 0.988966 | 0 | 0.033945 | 0.187905 | 46,614 | 449 | 252 | 103.817372 | 0.844723 | 0 | 0 | 0.587054 | 1 | 0.370536 | 0.995924 | 0.004183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
419c69d678cc9cd2f88a6701ee1de53ff5cf1815 | 6,683 | py | Python | loldib/getratings/models/NA/na_hecarim/na_hecarim_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_hecarim/na_hecarim_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_hecarim/na_hecarim_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Hecarim_Jng_Aatrox(Ratings):
pass
class NA_Hecarim_Jng_Ahri(Ratings):
pass
class NA_Hecarim_Jng_Akali(Ratings):
pass
class NA_Hecarim_Jng_Alistar(Ratings):
pass
class NA_Hecarim_Jng_Amumu(Ratings):
pass
class NA_Hecarim_Jng_Anivia(Rating... | 16.026379 | 46 | 0.77151 | 972 | 6,683 | 4.878601 | 0.151235 | 0.203712 | 0.407423 | 0.494728 | 0.808941 | 0.808941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166243 | 6,683 | 416 | 47 | 16.064904 | 0.851041 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
41c43c5d04dbd397cba7e1a133160b6364bf4e79 | 3,658 | py | Python | tests/test_unit/test_type_utils.py | best-doctor/Mario | a6c83b9f7e7558a4e71d8acb00b8d164fe8eec6f | [
"MIT"
] | 12 | 2020-01-30T02:19:16.000Z | 2022-01-20T04:00:43.000Z | tests/test_unit/test_type_utils.py | best-doctor/Mario | a6c83b9f7e7558a4e71d8acb00b8d164fe8eec6f | [
"MIT"
] | 32 | 2019-12-07T14:06:05.000Z | 2020-06-26T07:12:03.000Z | tests/test_unit/test_type_utils.py | best-doctor/Mario | a6c83b9f7e7558a4e71d8acb00b8d164fe8eec6f | [
"MIT"
] | 3 | 2020-08-21T07:54:53.000Z | 2021-01-11T12:05:48.000Z | import collections
from typing import List, Dict, Mapping, Iterable, Tuple, Set, Optional, Union
import pytest
from super_mario.utils.types import is_instance_of_type, is_instance_of_named_tuple
def test_is_instance_of_type_simple_types():
assert is_instance_of_type(1, int)
assert is_instance_of_type('abc',... | 38.914894 | 83 | 0.702843 | 597 | 3,658 | 3.946399 | 0.082077 | 0.250424 | 0.300509 | 0.380306 | 0.840407 | 0.816214 | 0.707555 | 0.654499 | 0.544992 | 0.289049 | 0 | 0.022272 | 0.153089 | 3,658 | 93 | 84 | 39.333333 | 0.738218 | 0 | 0 | 0 | 0 | 0 | 0.020503 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.1 | false | 0 | 0.057143 | 0 | 0.157143 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
68beee8640eed8e164e7e6630c62b422e7ddb650 | 17,547 | py | Python | tests/test_ldbws_session.py | grundleborg/nrewebservices | f8416afad160366c70b0579c37aa11fb175ccac1 | [
"BSD-2-Clause"
] | 15 | 2017-03-16T14:34:56.000Z | 2021-09-18T23:27:03.000Z | tests/test_ldbws_session.py | grundleborg/nrewebservices | f8416afad160366c70b0579c37aa11fb175ccac1 | [
"BSD-2-Clause"
] | 9 | 2016-09-09T13:43:32.000Z | 2018-12-30T19:55:09.000Z | tests/test_ldbws_session.py | grundleborg/nrewebservices | f8416afad160366c70b0579c37aa11fb175ccac1 | [
"BSD-2-Clause"
] | 3 | 2016-12-12T12:29:56.000Z | 2018-06-03T22:44:51.000Z | import os
import sys
testsPath = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, testsPath + '/../')
from suds import WebFault
import os
import pytest
from nrewebservices.ldbws import Session
API_URL = "https://lite.realtime.nationalrail.co.uk/OpenLDBWS/wsdl.aspx?ver=2016-02-16"
@pytest.fixture(scop... | 42.384058 | 250 | 0.663418 | 2,355 | 17,547 | 4.659023 | 0.060722 | 0.102078 | 0.099526 | 0.050219 | 0.945133 | 0.9393 | 0.93447 | 0.922712 | 0.909861 | 0.900201 | 0 | 0.006075 | 0.221405 | 17,547 | 413 | 251 | 42.486683 | 0.797028 | 0.028096 | 0 | 0.707396 | 0 | 0.003215 | 0.090045 | 0 | 0 | 0 | 0 | 0.002421 | 0.546624 | 1 | 0.144695 | false | 0 | 0.019293 | 0.003215 | 0.170418 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
68bf722715551c9c887897220a7705dce3de5ca9 | 5,890 | py | Python | Experiments/STMeta/deprecated/Runner_supplement_external_30.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | 3 | 2021-06-29T06:18:18.000Z | 2021-09-07T03:11:35.000Z | Experiments/STMeta/deprecated/Runner_supplement_external_30.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | Experiments/STMeta/deprecated/Runner_supplement_external_30.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | import os
import warnings
warnings.filterwarnings("ignore")
#############################################
# BenchMark emb-linear-add
#############################################
os.system('python STMeta_Obj.py -m STMeta_v1.model.yml -d bike_chicago.data.yml '
'-p external_method:emb-linear-add,graph:Distanc... | 55.046729 | 147 | 0.707131 | 825 | 5,890 | 4.854545 | 0.058182 | 0.080899 | 0.083895 | 0.11985 | 0.976779 | 0.93608 | 0.9201 | 0.915106 | 0.915106 | 0.915106 | 0 | 0.011936 | 0.089643 | 5,890 | 106 | 148 | 55.566038 | 0.734987 | 0.027844 | 0 | 0.705882 | 0 | 0.470588 | 0.853833 | 0.616335 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.039216 | 0 | 0.039216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
68d9fe0fbefb5c6f1eca6bede9415f23a2f4dec3 | 1,431 | py | Python | python/8.py | kstrikis/euler | a09cefc0762e093520f8c34aa059b618e3a62452 | [
"Unlicense"
] | null | null | null | python/8.py | kstrikis/euler | a09cefc0762e093520f8c34aa059b618e3a62452 | [
"Unlicense"
] | null | null | null | python/8.py | kstrikis/euler | a09cefc0762e093520f8c34aa059b618e3a62452 | [
"Unlicense"
] | null | null | null | ## kstrikis' solution for project euler problem 8
## released under The Unlicense
## Find the thirteen adjacent digits in the 1000-digit number that have the greatest product. What is the value of this product?
from decimal import Decimal
number = "73167176531330624919225119674426574742355349194934969835203127745063262... | 102.214286 | 1,011 | 0.907757 | 68 | 1,431 | 19.102941 | 0.647059 | 0.020015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.756171 | 0.065688 | 1,431 | 13 | 1,012 | 110.076923 | 0.215408 | 0.140461 | 0 | 0 | 0 | 0 | 0.817661 | 0.817661 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
68e86cd8391a48d18dbbd22ad22fae5d3abbf590 | 9,790 | py | Python | tests/sample_proof_key_exists.py | unparalleled-js/py-trie | 23e77052406836dc34b8472ddbc46430250e1750 | [
"MIT"
] | 83 | 2017-11-27T09:22:39.000Z | 2022-03-21T10:44:43.000Z | tests/sample_proof_key_exists.py | unparalleled-js/py-trie | 23e77052406836dc34b8472ddbc46430250e1750 | [
"MIT"
] | 95 | 2017-12-05T18:06:50.000Z | 2022-03-11T03:51:18.000Z | tests/sample_proof_key_exists.py | unparalleled-js/py-trie | 23e77052406836dc34b8472ddbc46430250e1750 | [
"MIT"
] | 46 | 2017-11-28T16:53:17.000Z | 2022-03-28T17:51:12.000Z | # flake8: NOQA: E501
# This proves that the given key (which is an account) exists on the trie rooted at this state
# root. It was obtained by querying geth via the LES protocol
state_root = b'Gu\xd8\x85\xf5/\x83:e\xf5\x9e0\x0b\xce\x86J\xcc\xe4.0\xc8#\xdaW\xb3\xbd\xd0).\x91\x17\xe8'
key = b'\x9b\xbf\xc3\x08Z\xd0\xd47\x... | 1,398.571429 | 9,403 | 0.700919 | 2,236 | 9,790 | 3.06127 | 0.306351 | 0.007889 | 0.006574 | 0.006428 | 0.019138 | 0.018408 | 0.018408 | 0.018408 | 0.018408 | 0.018408 | 0 | 0.213505 | 0.018284 | 9,790 | 6 | 9,404 | 1,631.666667 | 0.498699 | 0.017467 | 0 | 0 | 0 | 18 | 0.844514 | 0.823505 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ec0c61a5fceea21f629d2c368718e70bd0804a26 | 90 | py | Python | polls/slow_import.py | mrfleap/django-turboreload | 9c90ca9a46d54c421f18ff0dfcfd3e8805dd593d | [
"MIT"
] | null | null | null | polls/slow_import.py | mrfleap/django-turboreload | 9c90ca9a46d54c421f18ff0dfcfd3e8805dd593d | [
"MIT"
] | null | null | null | polls/slow_import.py | mrfleap/django-turboreload | 9c90ca9a46d54c421f18ff0dfcfd3e8805dd593d | [
"MIT"
] | null | null | null | import time
print("Slow import starting")
time.sleep(0.05)
print("Slow import finished")
| 15 | 29 | 0.755556 | 14 | 90 | 4.857143 | 0.642857 | 0.264706 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.111111 | 90 | 5 | 30 | 18 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.5 | 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 | 1 | 1 | 0 | 8 |
ec456a9461cfa53a2f0be8a212d2c2b9b280fe49 | 12,504 | py | Python | projectinfo/test.py | lifecake/Project-build-info | 6594c41933af3351d5ad62510cd84f004f675f9a | [
"Apache-2.0"
] | null | null | null | projectinfo/test.py | lifecake/Project-build-info | 6594c41933af3351d5ad62510cd84f004f675f9a | [
"Apache-2.0"
] | null | null | null | projectinfo/test.py | lifecake/Project-build-info | 6594c41933af3351d5ad62510cd84f004f675f9a | [
"Apache-2.0"
] | null | null | null | import json
#
# {
# "applicationId":"com.neulion.f",
# "applicationName":"f",
# "applicationVersion":"8.0602",
# "librarys": [
# {
# "libraryName":"track-core",
# "libraryVersion":"6"
# },{
# "libraryName":"track-ga",
# "libraryVersion":"6"
# },{
# "libraryNam... | 142.090909 | 9,437 | 0.678183 | 1,483 | 12,504 | 5.715442 | 0.11261 | 0.084946 | 0.079637 | 0.077867 | 0.83412 | 0.807102 | 0.807102 | 0.807102 | 0.807102 | 0.807102 | 0 | 0.038409 | 0.06302 | 12,504 | 87 | 9,438 | 143.724138 | 0.685046 | 0.035029 | 0 | 0.090909 | 0 | 0 | 0.703322 | 0.140781 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018182 | 0 | 0.018182 | 0.072727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6b6142b6243371bed9fd9e9b448dcf232f11c4b5 | 12,541 | py | Python | B2G/gecko/dom/bindings/parser/tests/test_attr.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/dom/bindings/parser/tests/test_attr.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/dom/bindings/parser/tests/test_attr.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | import WebIDL
def WebIDLTest(parser, harness):
testData = [("::TestAttr%s::b", "b", "Byte%s", False),
("::TestAttr%s::rb", "rb", "Byte%s", True),
("::TestAttr%s::o", "o", "Octet%s", False),
("::TestAttr%s::ro", "ro", "Octet%s", True),
("::TestAttr%s::... | 41.389439 | 118 | 0.58839 | 1,312 | 12,541 | 5.619665 | 0.096037 | 0.154483 | 0.068358 | 0.024413 | 0.769565 | 0.730774 | 0.716533 | 0.716533 | 0.716533 | 0.716533 | 0 | 0.000785 | 0.288813 | 12,541 | 302 | 119 | 41.52649 | 0.825877 | 0 | 0 | 0.222628 | 0 | 0 | 0.631848 | 0.023044 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00365 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b9751b50b6295f2007b03754c615fad69738adc | 12,378 | py | Python | sasuke 34/J.py | conganhhcmus/Codelearn.io | cb698924fe9eac27fb8b2cef4e03c7619cb4fe81 | [
"MIT"
] | null | null | null | sasuke 34/J.py | conganhhcmus/Codelearn.io | cb698924fe9eac27fb8b2cef4e03c7619cb4fe81 | [
"MIT"
] | null | null | null | sasuke 34/J.py | conganhhcmus/Codelearn.io | cb698924fe9eac27fb8b2cef4e03c7619cb4fe81 | [
"MIT"
] | null | null | null | a = arr = [[False for i in range(100)] for j in range(100)]
ans = 0
sl = 0
block= []
def findLargestRectangle(blockNumber):
global sl
global block
block = blockNumber
for i in block: sl += i
for i in range(1,9):
find(i, 1)
return ans
def find(r,n):
global ans
global a
# ca... | 42.979167 | 103 | 0.230166 | 1,555 | 12,378 | 1.832154 | 0.027653 | 0.148122 | 0.097929 | 0.130572 | 0.848719 | 0.835381 | 0.833977 | 0.829765 | 0.824149 | 0.822745 | 0 | 0.086339 | 0.630393 | 12,378 | 287 | 104 | 43.12892 | 0.536393 | 0.003555 | 0 | 0.770909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007273 | false | 0 | 0 | 0 | 0.014545 | 0.003636 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 9 |
6ba14f388ea2cd8e378e871024edd16eb5c1b8c8 | 4,462 | py | Python | vgg/vgg.py | amir-saniyan/KerasNets | 6031fd19b81a41422a3fea65d793509bac01092f | [
"MIT"
] | null | null | null | vgg/vgg.py | amir-saniyan/KerasNets | 6031fd19b81a41422a3fea65d793509bac01092f | [
"MIT"
] | null | null | null | vgg/vgg.py | amir-saniyan/KerasNets | 6031fd19b81a41422a3fea65d793509bac01092f | [
"MIT"
] | null | null | null | import tensorflow as tf
def build_model(configuration='vgg19', input_shape=(224, 224, 3), num_classes=1000, dropout_rate=0.5):
if configuration not in ['vgg11', 'vgg13', 'vgg16', 'vgg19']:
raise Exception('Configuration should be one of these values: vgg11, vgg13, vgg16, vgg19')
inputs = tf.keras.Inp... | 49.032967 | 102 | 0.607127 | 575 | 4,462 | 4.66087 | 0.114783 | 0.125373 | 0.135821 | 0.135821 | 0.865672 | 0.85709 | 0.85709 | 0.85709 | 0.85709 | 0.85709 | 0 | 0.058685 | 0.240027 | 4,462 | 90 | 103 | 49.577778 | 0.731643 | 0 | 0 | 0.827586 | 0 | 0 | 0.05827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0 | 0.017241 | 0 | 0.051724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6bdaa8c6396ce9b1f3be8da8a1f72271f9224e4a | 62,996 | py | Python | demo/adif_pb2.py | k0swe/adif-json-protobuf | 90cc62e38919611754e0dca15498d0444d6d5871 | [
"Apache-2.0"
] | 3 | 2020-10-08T16:11:59.000Z | 2021-08-06T05:13:36.000Z | demo/adif_pb2.py | k0swe/adif-json-protobuf | 90cc62e38919611754e0dca15498d0444d6d5871 | [
"Apache-2.0"
] | 4 | 2020-10-18T00:47:19.000Z | 2021-08-18T23:27:58.000Z | demo/adif_pb2.py | k0swe/adif-json-protobuf | 90cc62e38919611754e0dca15498d0444d6d5871 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: adif.proto
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from... | 51.636066 | 5,483 | 0.742571 | 8,731 | 62,996 | 5.045127 | 0.051082 | 0.064292 | 0.101364 | 0.079071 | 0.809439 | 0.734795 | 0.72685 | 0.715885 | 0.710345 | 0.697269 | 0 | 0.044138 | 0.128945 | 62,996 | 1,219 | 5,484 | 51.678425 | 0.758606 | 0.01089 | 0 | 0.712812 | 1 | 0.003439 | 0.144155 | 0.090603 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005159 | 0 | 0.005159 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d43c9f85b610e1de5ab09b60c10f3c287a9952f7 | 16,790 | py | Python | src/pipeline/datasets/paths.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | src/pipeline/datasets/paths.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | 1 | 2021-12-12T22:13:58.000Z | 2021-12-17T22:49:39.000Z | src/pipeline/datasets/paths.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | import os
################################################################################
# ------------------------------ GERMAN CREDIT --------------------------------#
################################################################################
# ------------------------------ RAW DATA ------------------------... | 132.204724 | 232 | 0.752889 | 1,824 | 16,790 | 6.336623 | 0.032895 | 0.089289 | 0.09673 | 0.111611 | 0.939436 | 0.929486 | 0.844783 | 0.829988 | 0.825489 | 0.825489 | 0 | 0 | 0.045384 | 16,790 | 126 | 233 | 133.253968 | 0.721113 | 0.049732 | 0 | 0 | 0 | 0 | 0.438117 | 0.292889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011494 | 0 | 0.011494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2e19aa45383db9286c61545abbf7b844a606dce1 | 7,569 | py | Python | test/test_ipam_api.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | test/test_ipam_api.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | test/test_ipam_api.py | nrfta/python-netbox-client | 68ba6dd4d7306513dc1ad38f3ac59122ba4f70a8 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
NetBox API
API to access NetBox # noqa: E501
OpenAPI spec version: 2.8
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import netbox_client
from netbox_client.api.ipam_api import IpamApi # noqa:... | 19.65974 | 98 | 0.60761 | 920 | 7,569 | 4.6 | 0.079348 | 0.095936 | 0.150756 | 0.205577 | 0.911626 | 0.720463 | 0.373819 | 0.143667 | 0.045369 | 0.045369 | 0 | 0.00347 | 0.314573 | 7,569 | 384 | 99 | 19.710938 | 0.812259 | 0.401903 | 0 | 0.460938 | 1 | 0 | 0.001919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.46875 | false | 0.460938 | 0.039063 | 0 | 0.515625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
2e6e434b058ccda61dc7039007cc4b858b9d6577 | 20,436 | py | Python | Practice/PythonApplication/LeetCode/Array/485.py | kushalbhola/MyStuff | 3f1064866487e489af41f8662a875b9954d5d8b0 | [
"Apache-2.0"
] | null | null | null | Practice/PythonApplication/LeetCode/Array/485.py | kushalbhola/MyStuff | 3f1064866487e489af41f8662a875b9954d5d8b0 | [
"Apache-2.0"
] | 1 | 2020-04-29T23:00:26.000Z | 2020-04-29T23:00:26.000Z | Practice/PythonApplication/LeetCode/Array/485.py | kushalbhola/MyStuff | 3f1064866487e489af41f8662a875b9954d5d8b0 | [
"Apache-2.0"
] | null | null | null | def main():
input = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1... | 817.44 | 20,013 | 0.500196 | 10,047 | 20,436 | 1.016622 | 0.001891 | 1.956334 | 2.933033 | 3.908753 | 0.979048 | 0.979048 | 0.979048 | 0.979048 | 0.979048 | 0.979048 | 0 | 0.493783 | 0.008319 | 20,436 | 24 | 20,014 | 851.5 | 0.010214 | 0 | 0 | 0.105263 | 0 | 0 | 0.000392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0 | 0 | 0.210526 | 0.052632 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
5cff7413f5a21b7876c160ba6fc46a4379049e9b | 3,052 | py | Python | test/test_cflapi_players.py | streibeb/cflapi | 4e0bf609bab94f0f8c7f623409de7fa16bad2f78 | [
"MIT"
] | 4 | 2018-08-21T21:44:09.000Z | 2020-02-18T13:09:17.000Z | test/test_cflapi_players.py | streibeb/cflapi | 4e0bf609bab94f0f8c7f623409de7fa16bad2f78 | [
"MIT"
] | null | null | null | test/test_cflapi_players.py | streibeb/cflapi | 4e0bf609bab94f0f8c7f623409de7fa16bad2f78 | [
"MIT"
] | null | null | null | from test import *
PLAYER_ID = 159141
def test_get_players(response_keys):
api = CFLApi(API_KEY)
response = api.getPlayers()
assert isinstance(response, dict)
assert set(response_keys).issubset(response.keys()), "All keys should be in the response"
def test_get_player(response_keys):
api = CFLAp... | 40.157895 | 93 | 0.724443 | 414 | 3,052 | 5.113527 | 0.120773 | 0.136042 | 0.136042 | 0.079358 | 0.86821 | 0.86821 | 0.816722 | 0.816722 | 0.816722 | 0.771375 | 0 | 0.006894 | 0.144495 | 3,052 | 75 | 94 | 40.693333 | 0.803907 | 0 | 0 | 0.607143 | 0 | 0 | 0.180865 | 0.006881 | 0 | 0 | 0 | 0 | 0.482143 | 1 | 0.142857 | false | 0 | 0.017857 | 0 | 0.160714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf5d225b4d6d2eac6aaf83a46b7bc5747f325cde | 9,541 | py | Python | src/ue4nlp/ue_estimator_mahalanobis.py | AIRI-Institute/uncertainty_transformers | 982b5ae8b39cb484ce3559a72f95d18f30487e38 | [
"MIT"
] | null | null | null | src/ue4nlp/ue_estimator_mahalanobis.py | AIRI-Institute/uncertainty_transformers | 982b5ae8b39cb484ce3559a72f95d18f30487e38 | [
"MIT"
] | null | null | null | src/ue4nlp/ue_estimator_mahalanobis.py | AIRI-Institute/uncertainty_transformers | 982b5ae8b39cb484ce3559a72f95d18f30487e38 | [
"MIT"
] | null | null | null | import torch
import numpy as np
from tqdm import tqdm
import time
from utils.utils_heads import (
ElectraClassificationHeadIdentityPooler,
BertClassificationHeadIdentityPooler,
ElectraNERHeadIdentityPooler,
)
from utils.utils_inference import (
is_custom_head,
unpad_features,
pad_scores
)
from ... | 38.62753 | 116 | 0.6013 | 1,105 | 9,541 | 4.847059 | 0.099548 | 0.050411 | 0.033981 | 0.029873 | 0.862957 | 0.862957 | 0.860717 | 0.847648 | 0.847648 | 0.840179 | 0 | 0.000887 | 0.291374 | 9,541 | 247 | 117 | 38.62753 | 0.791303 | 0 | 0 | 0.774725 | 0 | 0 | 0.089185 | 0.038566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098901 | false | 0 | 0.043956 | 0.027473 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d8774ec73da9b87613faccad02ae7a7d5544e1c1 | 32,676 | py | Python | tests/test_console.py | adrienmillot/AirBnB_clone | 757bdea6064f8c8a1d0fad3e8ad30d9b08b3f75a | [
"Unlicense"
] | null | null | null | tests/test_console.py | adrienmillot/AirBnB_clone | 757bdea6064f8c8a1d0fad3e8ad30d9b08b3f75a | [
"Unlicense"
] | 1 | 2021-07-01T11:29:07.000Z | 2021-07-01T11:29:07.000Z | tests/test_console.py | adrienmillot/AirBnB_clone | 757bdea6064f8c8a1d0fad3e8ad30d9b08b3f75a | [
"Unlicense"
] | null | null | null | #!/usr/bin/python3
from os import system
from models.engine.file_storage import FileStorage
import unittest
from io import StringIO
from unittest.mock import patch
from console import HBNBCommand
from models import storage
import os
class ConsolePromptingTest(unittest.TestCase):
def testPrompt(self):
"... | 37.344 | 87 | 0.575897 | 2,935 | 32,676 | 6.322317 | 0.071891 | 0.075124 | 0.051735 | 0.077603 | 0.824908 | 0.818495 | 0.812352 | 0.812352 | 0.808364 | 0.797424 | 0 | 0.000732 | 0.289662 | 32,676 | 874 | 88 | 37.386728 | 0.798716 | 0.037979 | 0 | 0.71637 | 0 | 0 | 0.105809 | 0 | 0 | 0 | 0 | 0 | 0.197731 | 1 | 0.145867 | false | 0.029173 | 0.012966 | 0.004862 | 0.186386 | 0.001621 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d8a07a91a62ea805fcd842b06bbfc0b66c527af4 | 2,058 | py | Python | usaspending_api/reporting/migrations/0006_auto_20210423_1715.py | ststuck/usaspending-api | b13bd5bcba0369ff8512f61a34745626c3969391 | [
"CC0-1.0"
] | 217 | 2016-11-03T17:09:53.000Z | 2022-03-10T04:17:54.000Z | usaspending_api/reporting/migrations/0006_auto_20210423_1715.py | Hk92a/usaspending-api | 25daa9dbc30835b8f4b4c797c592ba9ecc78ca00 | [
"CC0-1.0"
] | 622 | 2016-09-02T19:18:23.000Z | 2022-03-29T17:11:01.000Z | usaspending_api/reporting/migrations/0006_auto_20210423_1715.py | Hk92a/usaspending-api | 25daa9dbc30835b8f4b4c797c592ba9ecc78ca00 | [
"CC0-1.0"
] | 93 | 2016-09-07T20:28:57.000Z | 2022-02-25T00:25:27.000Z | # Generated by Django 2.2.18 on 2021-04-23 17:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('reporting', '0005_auto_20210202_2235'),
]
operations = [
migrations.AlterField(
model_name='reportingagencyoverview',
... | 34.881356 | 82 | 0.624393 | 181 | 2,058 | 6.856354 | 0.303867 | 0.145044 | 0.181305 | 0.210314 | 0.804996 | 0.804996 | 0.804996 | 0.718775 | 0.718775 | 0.714746 | 0 | 0.027609 | 0.278426 | 2,058 | 58 | 83 | 35.482759 | 0.808081 | 0.022352 | 0 | 0.692308 | 1 | 0 | 0.246269 | 0.241791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d8ddcb47d320e4af2507c3590177f331e78e3547 | 101,921 | py | Python | app/productdb/tests/test_productdb_api_views.py | gaetoleole/product-database | 191b304600d6f069d57ab3d0c28886e7e6545231 | [
"MIT"
] | null | null | null | app/productdb/tests/test_productdb_api_views.py | gaetoleole/product-database | 191b304600d6f069d57ab3d0c28886e7e6545231 | [
"MIT"
] | null | null | null | app/productdb/tests/test_productdb_api_views.py | gaetoleole/product-database | 191b304600d6f069d57ab3d0c28886e7e6545231 | [
"MIT"
] | null | null | null | """
Test suite for the productdb.api_views module
"""
import pytest
from urllib.parse import quote
import requests
from django.utils.dateformat import DateFormat
from django.utils.formats import get_format
from django.conf import settings
from django.contrib.auth.models import User, Permission
from django.core.urlreso... | 41.44815 | 137 | 0.575357 | 10,807 | 101,921 | 5.19913 | 0.035903 | 0.054319 | 0.038763 | 0.03887 | 0.887038 | 0.867585 | 0.847741 | 0.839162 | 0.823287 | 0.802054 | 0 | 0.012744 | 0.309426 | 101,921 | 2,458 | 138 | 41.465012 | 0.785548 | 0.031485 | 0 | 0.733887 | 0 | 0 | 0.254561 | 0.058031 | 0 | 0 | 0 | 0 | 0.157227 | 1 | 0.032227 | false | 0.012207 | 0.015137 | 0 | 0.053711 | 0.000488 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2b3d8323a163a43186b85417a1b40f3b656c30d0 | 37,320 | py | Python | stats_scripts/mpmath/functions/theta.py | michalkouril/altanalyze | e721c79c56f7b0022516ff5456ebaa14104c933b | [
"Apache-2.0"
] | 625 | 2015-01-07T04:56:25.000Z | 2022-03-28T16:30:27.000Z | stats_scripts/mpmath/functions/theta.py | michalkouril/altanalyze | e721c79c56f7b0022516ff5456ebaa14104c933b | [
"Apache-2.0"
] | 322 | 2015-01-01T15:19:37.000Z | 2022-03-27T05:07:51.000Z | stats_scripts/mpmath/functions/theta.py | michalkouril/altanalyze | e721c79c56f7b0022516ff5456ebaa14104c933b | [
"Apache-2.0"
] | 160 | 2015-01-25T01:16:52.000Z | 2022-03-21T14:44:20.000Z | from .functions import defun, defun_wrapped
@defun
def _jacobi_theta2(ctx, z, q):
extra1 = 10
extra2 = 20
# the loops below break when the fixed precision quantities
# a and b go to zero;
# right shifting small negative numbers by wp one obtains -1, not zero,
# so the condition a**2 + b**2 > MI... | 35.542857 | 76 | 0.395257 | 5,255 | 37,320 | 2.746717 | 0.03216 | 0.02702 | 0.054039 | 0.05584 | 0.940973 | 0.917348 | 0.905917 | 0.890813 | 0.87183 | 0.850215 | 0 | 0.059624 | 0.440943 | 37,320 | 1,049 | 77 | 35.57674 | 0.632189 | 0.059995 | 0 | 0.875519 | 0 | 0 | 0.001432 | 0 | 0 | 0 | 0 | 0.000953 | 0 | 1 | 0.010373 | false | 0 | 0.001037 | 0 | 0.03112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
2b47ec80f342fb81468e7e85a013531bbc6bf26d | 26,340 | py | Python | nidaqmx/tests/test_stream_digital_readers_writers.py | stafak/nidaqmx-python | f354d7971b21074c120c6f298dbbf4a5e0e4f4f4 | [
"MIT"
] | 252 | 2017-03-22T02:43:16.000Z | 2022-03-27T14:44:44.000Z | nidaqmx/tests/test_stream_digital_readers_writers.py | stafak/nidaqmx-python | f354d7971b21074c120c6f298dbbf4a5e0e4f4f4 | [
"MIT"
] | 133 | 2017-03-21T20:57:59.000Z | 2022-03-31T16:08:12.000Z | nidaqmx/tests/test_stream_digital_readers_writers.py | stafak/nidaqmx-python | f354d7971b21074c120c6f298dbbf4a5e0e4f4f4 | [
"MIT"
] | 124 | 2017-04-01T18:35:24.000Z | 2022-03-25T06:30:00.000Z | import numpy
import pytest
import random
import time
import nidaqmx
from nidaqmx.constants import (
LineGrouping)
from nidaqmx.stream_readers import (
DigitalSingleChannelReader, DigitalMultiChannelReader)
from nidaqmx.stream_writers import (
DigitalSingleChannelWriter, DigitalMultiChannelWriter)
from nid... | 42.279294 | 78 | 0.648709 | 3,393 | 26,340 | 4.728264 | 0.046272 | 0.026928 | 0.047871 | 0.028985 | 0.955183 | 0.952877 | 0.939974 | 0.931933 | 0.929627 | 0.926323 | 0 | 0.013697 | 0.273804 | 26,340 | 622 | 79 | 42.347267 | 0.825021 | 0.116363 | 0 | 0.825243 | 0 | 0 | 0.02616 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 1 | 0.038835 | false | 0 | 0.029126 | 0 | 0.072816 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
992bce62bae104c54b56a1b18bb10eb1fb319093 | 12,413 | py | Python | test/test_remove_documents.py | ShaneKilkelly/bedquilt | beaee513a015ed0dd633b738517b33eb7c4c42a3 | [
"MIT"
] | 288 | 2015-04-20T18:14:39.000Z | 2021-10-30T01:35:44.000Z | test/test_remove_documents.py | ShaneKilkelly/bedquilt | beaee513a015ed0dd633b738517b33eb7c4c42a3 | [
"MIT"
] | 21 | 2015-04-13T12:48:40.000Z | 2017-05-27T12:41:10.000Z | test/test_remove_documents.py | ShaneKilkelly/bedquilt | beaee513a015ed0dd633b738517b33eb7c4c42a3 | [
"MIT"
] | 19 | 2015-11-03T09:25:00.000Z | 2021-05-01T00:28:02.000Z | import testutils
import json
import string
import psycopg2
class TestRemoveDocumnts(testutils.BedquiltTestCase):
def test_remove_on_empty_collection(self):
self.cur.execute("""
select bq_create_collection('people');
""")
_ = self.cur.fetchall()
self.cur.execute("""
... | 30.42402 | 92 | 0.418916 | 1,035 | 12,413 | 4.846377 | 0.077295 | 0.086523 | 0.086523 | 0.123604 | 0.927233 | 0.927233 | 0.920853 | 0.91248 | 0.891946 | 0.874402 | 0 | 0.009115 | 0.425522 | 12,413 | 407 | 93 | 30.498772 | 0.694293 | 0.017965 | 0 | 0.846377 | 0 | 0 | 0.26067 | 0.044731 | 0 | 0 | 0 | 0 | 0.078261 | 1 | 0.037681 | false | 0 | 0.011594 | 0 | 0.052174 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
993d9997a490057a2a0060e5e439dc1789e8136a | 3,496 | py | Python | tutorials/organic_synthesis_figures/organic_spaces.py | leewaymay/839_fonduer | 1692f018ef113d88dca4ede69cc2ead55b7b1003 | [
"Apache-2.0"
] | 1 | 2018-05-31T02:44:00.000Z | 2018-05-31T02:44:00.000Z | tutorials/organic_synthesis_figures/organic_spaces.py | leewaymay/839_fonduer | 1692f018ef113d88dca4ede69cc2ead55b7b1003 | [
"Apache-2.0"
] | null | null | null | tutorials/organic_synthesis_figures/organic_spaces.py | leewaymay/839_fonduer | 1692f018ef113d88dca4ede69cc2ead55b7b1003 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
from builtins import chr
from builtins import str
from builtins import range
from difflib import SequenceMatcher
import re
from fonduer.candidates import OmniNgrams
from fonduer.models import TemporaryImplicitSpan
class OmniNgramsProd(OmniNgrams):
def __init__(self,
... | 42.120482 | 102 | 0.556064 | 417 | 3,496 | 4.386091 | 0.215827 | 0.054675 | 0.108256 | 0.167305 | 0.730454 | 0.730454 | 0.730454 | 0.730454 | 0.730454 | 0.689995 | 0 | 0.009236 | 0.31865 | 3,496 | 82 | 103 | 42.634146 | 0.758606 | 0.061499 | 0 | 0.722222 | 0 | 0 | 0.041552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.111111 | 0 | 0.180556 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
995b110980d3af59c9919d34412586d5ee92b8b4 | 1,565 | py | Python | src/layers/padding.py | uw-bionlp/ards | e9fc27f7034cc6b54f0ccdba4a58377948cf0258 | [
"BSD-3-Clause"
] | null | null | null | src/layers/padding.py | uw-bionlp/ards | e9fc27f7034cc6b54f0ccdba4a58377948cf0258 | [
"BSD-3-Clause"
] | null | null | null | src/layers/padding.py | uw-bionlp/ards | e9fc27f7034cc6b54f0ccdba4a58377948cf0258 | [
"BSD-3-Clause"
] | null | null | null |
import torch
import logging
from torch.nn import ConstantPad3d, ConstantPad2d, ConstantPad1d
def pad3D(x, max_seq_count):
'''
pad first dimension (sequence count) of documents
'''
# current sentence count
seq_count = x.shape[0]
# append zeros, if sequence count too low
... | 23.014706 | 65 | 0.607029 | 212 | 1,565 | 4.254717 | 0.174528 | 0.239468 | 0.182927 | 0.079823 | 0.845898 | 0.845898 | 0.845898 | 0.845898 | 0.845898 | 0.845898 | 0 | 0.022243 | 0.310543 | 1,565 | 67 | 66 | 23.358209 | 0.813716 | 0.251118 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
41d134ec886e3474471ede005be82ee6c61fb0ef | 16,652 | py | Python | paida-3.2.1_2.10.1/paida/paida_core/IFitData.py | AshleyChraya/HubbleConstant-ConstraintsForVCG | 634c15d296147ec1cdc3c92af1fbbfeb17844586 | [
"MIT"
] | null | null | null | paida-3.2.1_2.10.1/paida/paida_core/IFitData.py | AshleyChraya/HubbleConstant-ConstraintsForVCG | 634c15d296147ec1cdc3c92af1fbbfeb17844586 | [
"MIT"
] | null | null | null | paida-3.2.1_2.10.1/paida/paida_core/IFitData.py | AshleyChraya/HubbleConstant-ConstraintsForVCG | 634c15d296147ec1cdc3c92af1fbbfeb17844586 | [
"MIT"
] | null | null | null | from paida.paida_core.PAbsorber import *
from paida.paida_core.IRangeSet import *
from paida.paida_core.PExceptions import *
from paida.paida_core.IHistogram1D import *
from paida.paida_core.IHistogram2D import *
from paida.paida_core.IHistogram3D import *
from paida.paida_core.ICloud1D import *
from paida.paida_core.I... | 35.887931 | 188 | 0.69325 | 1,870 | 16,652 | 6.132086 | 0.093583 | 0.016482 | 0.023546 | 0.021976 | 0.80954 | 0.755211 | 0.746926 | 0.734368 | 0.700706 | 0.665736 | 0 | 0.016193 | 0.187845 | 16,652 | 463 | 189 | 35.965443 | 0.831707 | 0 | 0 | 0.705336 | 0 | 0 | 0.01111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020882 | false | 0 | 0.037123 | 0.00464 | 0.067285 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5aaca73fd77168cc61f1abe7535ffbe52c651777 | 8,001 | py | Python | locust/test/test_distribution.py | AliAnsariArshad/locust | e6a0e94943fad197df540cc79b357500d1f04f1b | [
"MIT"
] | null | null | null | locust/test/test_distribution.py | AliAnsariArshad/locust | e6a0e94943fad197df540cc79b357500d1f04f1b | [
"MIT"
] | null | null | null | locust/test/test_distribution.py | AliAnsariArshad/locust | e6a0e94943fad197df540cc79b357500d1f04f1b | [
"MIT"
] | null | null | null | import time
import unittest
from locust import User
from locust.distribution import weight_users
class TestDistribution(unittest.TestCase):
def test_distribution_no_user_classes(self):
user_classes_count = weight_users(user_classes=[], user_count=0)
self.assertDictEqual(user_classes_count, {})
... | 36.040541 | 98 | 0.611549 | 951 | 8,001 | 4.872766 | 0.087277 | 0.208891 | 0.193353 | 0.132931 | 0.830168 | 0.814631 | 0.814631 | 0.808373 | 0.783556 | 0.763271 | 0 | 0.068319 | 0.273716 | 8,001 | 221 | 99 | 36.20362 | 0.729134 | 0 | 0 | 0.518987 | 0 | 0 | 0.046869 | 0 | 0 | 0 | 0 | 0 | 0.183544 | 1 | 0.050633 | false | 0 | 0.025316 | 0 | 0.291139 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
5ab5cd0abd96d341534b4e7e4537ee747176cd97 | 16,860 | py | Python | morpheus/test_normalized_matrix.py | amirsh/MorpheusPy | 8eda959e71a3b377c3f6629802bad2bd4f5a5ee6 | [
"Apache-2.0"
] | 12 | 2018-10-04T08:27:33.000Z | 2022-01-11T15:41:29.000Z | morpheus/test_normalized_matrix.py | amirsh/MorpheusPy | 8eda959e71a3b377c3f6629802bad2bd4f5a5ee6 | [
"Apache-2.0"
] | 3 | 2020-09-22T16:18:51.000Z | 2021-12-28T19:01:00.000Z | morpheus/test_normalized_matrix.py | amirsh/MorpheusPy | 8eda959e71a3b377c3f6629802bad2bd4f5a5ee6 | [
"Apache-2.0"
] | 4 | 2019-12-13T17:52:19.000Z | 2021-12-17T12:43:44.000Z | # Copyright 2018 Side Li and Arun Kumar
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writ... | 39.300699 | 95 | 0.60344 | 2,845 | 16,860 | 3.362742 | 0.059051 | 0.118532 | 0.160552 | 0.220759 | 0.86443 | 0.829414 | 0.823247 | 0.80715 | 0.761054 | 0.745166 | 0 | 0.053303 | 0.237782 | 16,860 | 428 | 96 | 39.392523 | 0.691152 | 0.033155 | 0 | 0.455975 | 0 | 0 | 0.000491 | 0 | 0 | 0 | 0 | 0 | 0.427673 | 1 | 0.091195 | false | 0 | 0.018868 | 0 | 0.128931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
851594dabaf62af9a28e0b5be3244437b101c0fb | 55 | py | Python | examples/python/hello_world.py | 12tqian/verification-helper-1 | bfdb9a357b451a1385e5327417b3d17168ad2d51 | [
"MIT"
] | 88 | 2020-05-03T03:29:01.000Z | 2022-03-01T09:12:44.000Z | examples/python/hello_world.py | 12tqian/verification-helper-1 | bfdb9a357b451a1385e5327417b3d17168ad2d51 | [
"MIT"
] | 158 | 2019-11-25T16:48:06.000Z | 2020-05-02T14:39:56.000Z | examples/python/hello_world.py | 12tqian/verification-helper-1 | bfdb9a357b451a1385e5327417b3d17168ad2d51 | [
"MIT"
] | 40 | 2020-05-05T09:26:03.000Z | 2022-03-13T16:14:41.000Z | def get_hello_world() -> str:
return "Hello World"
| 18.333333 | 29 | 0.672727 | 8 | 55 | 4.375 | 0.75 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 2 | 30 | 27.5 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
85163ecbf36a453edd7f30109e9926d0ea8877f2 | 169 | py | Python | demo.py | chuzcjoe/dms_detection | f8edd2251df561808caf717a06bd04dca039b740 | [
"MIT"
] | 4 | 2019-07-26T07:41:34.000Z | 2019-11-03T18:44:27.000Z | demo.py | chuzcjoe/distracted_driver_detection | f8edd2251df561808caf717a06bd04dca039b740 | [
"MIT"
] | 1 | 2020-01-21T20:12:23.000Z | 2020-01-21T20:12:35.000Z | release/demo.py | chuzcjoe/distracted_driver_detection | f8edd2251df561808caf717a06bd04dca039b740 | [
"MIT"
] | null | null | null | from detect import Detection
#from Detection import detect
print(Detection().detect('test.jpg'))
print(Detection().detect('test2.jpg'))
#Detection().detect('test.jpg')
| 24.142857 | 38 | 0.751479 | 22 | 169 | 5.772727 | 0.363636 | 0.354331 | 0.314961 | 0.346457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.071006 | 169 | 6 | 39 | 28.166667 | 0.802548 | 0.343195 | 0 | 0 | 0 | 0 | 0.155963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
517e6846831c47ae5af9e391348dfdd3a4ee0cf6 | 570 | py | Python | eval_covid20cases_timm-regnetx_002_GridDistortion.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_GridDistortion.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid20cases_timm-regnetx_002_GridDistortion.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_0_GridDistortion.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_1_GridDistortion.yml",
"python main.py --configs configs/eval_covid20cases_unetplusplus_timm-regnetx_002_2_GridDistort... | 51.818182 | 108 | 0.854386 | 80 | 570 | 5.7125 | 0.3 | 0.109409 | 0.131291 | 0.207877 | 0.892779 | 0.892779 | 0.892779 | 0.892779 | 0.892779 | 0.892779 | 0 | 0.055659 | 0.054386 | 570 | 11 | 109 | 51.818182 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.884413 | 0.665499 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
517f6e00126117133317e35a15c52cac286da631 | 5,061 | py | Python | tests/core/test_fetcher.py | dclayton-godaddy/aws-okta-processor | ec7603a194ab24d40c2aee4f05e4f87296a880d5 | [
"MIT"
] | null | null | null | tests/core/test_fetcher.py | dclayton-godaddy/aws-okta-processor | ec7603a194ab24d40c2aee4f05e4f87296a880d5 | [
"MIT"
] | null | null | null | tests/core/test_fetcher.py | dclayton-godaddy/aws-okta-processor | ec7603a194ab24d40c2aee4f05e4f87296a880d5 | [
"MIT"
] | null | null | null | from datetime import datetime
from unittest import mock
from tests.test_base import TestBase
from tests.test_base import SAML_RESPONSE
from mock import patch, call
from mock import MagicMock
from aws_okta_processor.commands.authenticate import Authenticate
from aws_okta_processor.core.fetcher import SAMLFetcher
#... | 35.391608 | 76 | 0.589212 | 547 | 5,061 | 5.210238 | 0.184644 | 0.039298 | 0.067368 | 0.077193 | 0.861404 | 0.825614 | 0.806667 | 0.806667 | 0.782105 | 0.782105 | 0 | 0.025154 | 0.293025 | 5,061 | 143 | 77 | 35.391608 | 0.771381 | 0.004742 | 0 | 0.781513 | 0 | 0 | 0.232129 | 0.099087 | 0 | 0 | 0 | 0 | 0.05042 | 1 | 0.042017 | false | 0.016807 | 0.067227 | 0 | 0.134454 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
51ace97bf7b8e6b0445efe966ab2ed31dd65af4f | 83 | py | Python | regulus/models/__init__.py | yarden-livnat/regulus | ab78a5ef7d2dcdc95f5f8e16dfe58c8db296812f | [
"BSD-3-Clause"
] | 3 | 2018-03-16T20:47:48.000Z | 2020-01-07T15:58:18.000Z | regulus/models/__init__.py | yarden-livnat/regulus.py | ab78a5ef7d2dcdc95f5f8e16dfe58c8db296812f | [
"BSD-3-Clause"
] | 3 | 2018-03-25T07:18:39.000Z | 2020-05-06T19:41:38.000Z | regulus/models/__init__.py | yarden-livnat/regulus.py | ab78a5ef7d2dcdc95f5f8e16dfe58c8db296812f | [
"BSD-3-Clause"
] | 3 | 2018-03-16T20:48:05.000Z | 2018-08-30T20:38:00.000Z | from .linear_model import *
from .quadratic_model import *
from .inv_reg import *
| 16.6 | 30 | 0.771084 | 12 | 83 | 5.083333 | 0.583333 | 0.360656 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 31 | 20.75 | 0.871429 | 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 | 1 | 0 | 0 | 7 |
51e66c72f1854aa2c99c7c11621d792b4bacc228 | 59,774 | py | Python | pypureclient/flashblade/FB_2_1/api/arrays_api.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 14 | 2018-12-07T18:30:27.000Z | 2022-02-22T09:12:33.000Z | pypureclient/flashblade/FB_2_1/api/arrays_api.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 28 | 2019-09-17T21:03:52.000Z | 2022-03-29T22:07:35.000Z | pypureclient/flashblade/FB_2_1/api/arrays_api.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 15 | 2020-06-11T15:50:08.000Z | 2022-03-21T09:27:25.000Z | # coding: utf-8
"""
FlashBlade REST API
A lightweight client for FlashBlade REST API 2.1, developed by Pure Storage, Inc. (http://www.purestorage.com/).
OpenAPI spec version: 2.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import... | 46.336434 | 449 | 0.641132 | 7,310 | 59,774 | 5.033105 | 0.047059 | 0.018265 | 0.032344 | 0.027397 | 0.919357 | 0.914764 | 0.912291 | 0.908839 | 0.905686 | 0.903675 | 0 | 0.010047 | 0.272326 | 59,774 | 1,289 | 450 | 46.372382 | 0.835824 | 0.375297 | 0 | 0.858247 | 0 | 0.033505 | 0.207992 | 0.044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01933 | false | 0 | 0.006443 | 0 | 0.045103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
cfbaff7d5c4fbb162ed5254a9891033b9b65207c | 866 | py | Python | test_autolens/analysis/test_setup.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | 114 | 2018-03-05T07:31:47.000Z | 2022-03-08T06:40:52.000Z | test_autolens/lens/model/test_setup.py | Jammy2211/PyAutoLens | 728100a3bf13f89f35030724aa08593ab44e65eb | [
"MIT"
] | 143 | 2018-01-31T09:57:13.000Z | 2022-03-16T09:41:05.000Z | test_autolens/analysis/test_setup.py | Jammy2211/AutoLens | bc132a21d1a52248f08f198474e29f985e365d85 | [
"MIT"
] | 33 | 2018-01-31T12:15:57.000Z | 2022-01-08T18:31:02.000Z | import autolens as al
class TestSetupHyper:
def test__hyper_galaxies_names_for_lens_and_source(self):
setup = al.SetupHyper(hyper_galaxies_lens=False, hyper_galaxies_source=False)
assert setup.hyper_galaxies is False
assert setup.hyper_galaxy_names == None
setup = al.Se... | 39.363636 | 86 | 0.714781 | 109 | 866 | 5.348624 | 0.220183 | 0.28988 | 0.219554 | 0.171527 | 0.823328 | 0.777015 | 0.777015 | 0.777015 | 0.777015 | 0.715266 | 0 | 0 | 0.212471 | 866 | 21 | 87 | 41.238095 | 0.854839 | 0 | 0 | 0.2 | 0 | 0 | 0.023669 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
320447eccb2cacfa63377525dfe40603d20662d7 | 118 | py | Python | src/yggscr/exceptions.py | architek/yggscr | a0130f9374c4e4e3e3f397a8e0588b3852fcba24 | [
"ISC"
] | 2 | 2019-02-09T03:36:03.000Z | 2020-09-29T17:04:39.000Z | src/yggscr/exceptions.py | architek/yggscr | a0130f9374c4e4e3e3f397a8e0588b3852fcba24 | [
"ISC"
] | 6 | 2018-08-05T21:59:22.000Z | 2019-02-20T20:45:07.000Z | src/yggscr/exceptions.py | architek/yggscr | a0130f9374c4e4e3e3f397a8e0588b3852fcba24 | [
"ISC"
] | 1 | 2019-04-15T19:24:39.000Z | 2019-04-15T19:24:39.000Z | class YggException(Exception): pass
class LoginFailed(Exception): pass
class TooManyFailedLogins(Exception): pass
| 14.75 | 42 | 0.813559 | 12 | 118 | 8 | 0.5 | 0.40625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 118 | 7 | 43 | 16.857143 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
5c584372008a55c56425e2e1241ebac016da0017 | 14,890 | py | Python | pvae/models/architectures.py | jacv050/capturing-implicit-hierarchical-structure | c461f069e058a338ead2520ea9ae0d0fa9ae4f0a | [
"MIT"
] | 4 | 2021-11-23T07:24:16.000Z | 2021-12-13T14:25:25.000Z | pvae/models/architectures.py | jacv050/capturing-implicit-hierarchical-structure | c461f069e058a338ead2520ea9ae0d0fa9ae4f0a | [
"MIT"
] | null | null | null | pvae/models/architectures.py | jacv050/capturing-implicit-hierarchical-structure | c461f069e058a338ead2520ea9ae0d0fa9ae4f0a | [
"MIT"
] | 2 | 2021-12-28T10:27:47.000Z | 2022-01-24T12:41:59.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from numpy import prod
from pvae.utils import Constants
from pvae.ops.manifold_layers import GeodesicLayer, MobiusLayer, LogZero, ExpZero, GyroplaneConvLayer
def extra_hidden_layer(hidden_dim, non_lin):
return nn.Sequential(nn.Linear(hidden_dim, h... | 45.396341 | 138 | 0.639154 | 2,057 | 14,890 | 4.406903 | 0.070977 | 0.084611 | 0.095974 | 0.050303 | 0.878213 | 0.861666 | 0.850634 | 0.847215 | 0.844126 | 0.839713 | 0 | 0.030178 | 0.216655 | 14,890 | 328 | 139 | 45.396341 | 0.746999 | 0.053794 | 0 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104651 | false | 0 | 0.023256 | 0.003876 | 0.232558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7a221d0a621296724c129a11629e14ae82a18639 | 4,426 | py | Python | ase.py | gillanggans7/DdosXerXez7 | e49054c8f3d49f6d869f3df94aac7ee4dfecd79d | [
"Apache-2.0"
] | null | null | null | ase.py | gillanggans7/DdosXerXez7 | e49054c8f3d49f6d869f3df94aac7ee4dfecd79d | [
"Apache-2.0"
] | null | null | null | ase.py | gillanggans7/DdosXerXez7 | e49054c8f3d49f6d869f3df94aac7ee4dfecd79d | [
"Apache-2.0"
] | 1 | 2019-05-07T11:47:28.000Z | 2019-05-07T11:47:28.000Z | #Compiled InYoyurXerXez7
#2e4hTeam
#Kiya
import marshal
exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s0\x02\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x02\x00l\x02\x00m\x03\x00Z\x03\x00\x01d\x03\x00Z\... | 737.666667 | 4,369 | 0.741301 | 944 | 4,426 | 3.470339 | 0.173729 | 0.267399 | 0.148352 | 0.076923 | 0.392857 | 0.289377 | 0.253358 | 0.185287 | 0.154762 | 0.154762 | 0 | 0.383048 | 0.024401 | 4,426 | 5 | 4,370 | 885.2 | 0.375637 | 0.007908 | 0 | 0 | 0 | 1 | 0.604376 | 0.560848 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
7a5874d6c182281450672b2b31fd35bdb010a7eb | 818 | py | Python | exercises/18_sinbucles.py | ChromeOwO/Curso-B-sico-de-Python-Platzi | d97d99f25b22d3ec2f4bcadbe4f53c87d3077587 | [
"MIT"
] | 3 | 2021-05-29T23:30:56.000Z | 2021-06-05T15:16:11.000Z | exercises/18_sinbucles.py | ChromeOwO/Curso-Basico-de-Python-Platzi | d97d99f25b22d3ec2f4bcadbe4f53c87d3077587 | [
"MIT"
] | null | null | null | exercises/18_sinbucles.py | ChromeOwO/Curso-Basico-de-Python-Platzi | d97d99f25b22d3ec2f4bcadbe4f53c87d3077587 | [
"MIT"
] | 3 | 2021-07-21T20:03:16.000Z | 2021-07-23T15:04:19.000Z | contador = 0
print("2 elevado a " + str(contador) + " es igual a: " + str(2 ** contador))
contador = 1
print("2 elevado a " + str(contador) + " es igual a: " + str(2 ** contador))
contador = 2
print("2 elevado a " + str(contador) + " es igual a: " + str(2 ** contador))
contador = 3
print("2 elevado a " + str(contado... | 30.296296 | 76 | 0.594132 | 126 | 818 | 3.857143 | 0.126984 | 0.148148 | 0.240741 | 0.259259 | 0.965021 | 0.965021 | 0.965021 | 0.965021 | 0.965021 | 0.965021 | 0 | 0.042254 | 0.218826 | 818 | 26 | 77 | 31.461538 | 0.71831 | 0 | 0 | 0.5 | 0 | 0 | 0.275061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 9 |
8f8d0d6c3d4a815e150314a56d2ce7c420a0c208 | 766 | py | Python | 2021/bsidesahmedabad/dlppp/dlppp/solve.py | HaroldHH/My-CTF-Solutions | 7baca0df1ca96a00de77a1a113a0011c43ad6ab8 | [
"MIT"
] | null | null | null | 2021/bsidesahmedabad/dlppp/dlppp/solve.py | HaroldHH/My-CTF-Solutions | 7baca0df1ca96a00de77a1a113a0011c43ad6ab8 | [
"MIT"
] | null | null | null | 2021/bsidesahmedabad/dlppp/dlppp/solve.py | HaroldHH/My-CTF-Solutions | 7baca0df1ca96a00de77a1a113a0011c43ad6ab8 | [
"MIT"
] | null | null | null | from math import ceil, sqrt
from Crypto.Util.number import long_to_bytes
# Reference : https://bomotodo.wordpress.com/2017/04/09/asis-quals-2017-dlp-158-points/
p = 0xa1c8e1e9b2301cb1f5d424ec6d959d7f275e11507b2177d55f3dc1268c9a3164b72832f362975023f09623814f80fe0ffad179d0e51c40b8a1f882d1f5f28e71
y = 0x6fa0fcc8c9c5f695... | 69.636364 | 389 | 0.891645 | 44 | 766 | 15.431818 | 0.75 | 0.017673 | 0.032401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46922 | 0.045692 | 766 | 10 | 390 | 76.6 | 0.459644 | 0.110966 | 0 | 0 | 0 | 0 | 0.0162 | 0 | 0 | 1 | 0.758468 | 0.1 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8907c4e3355ea5e8cb189f280fbb26162a96c422 | 10,337 | py | Python | z2/part2/interactive/jm/random_normal_1/151224417.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_normal_1/151224417.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_normal_1/151224417.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 151224417
"""
"""
random actions, total chaos
"""
board = gamma_new(8, 8, 6, 5)
assert board is... | 32.303125 | 46 | 0.641192 | 1,909 | 10,337 | 3.328444 | 0.034573 | 0.363551 | 0.396601 | 0.528801 | 0.846553 | 0.839314 | 0.754171 | 0.508499 | 0.455461 | 0.433743 | 0 | 0.140369 | 0.177808 | 10,337 | 319 | 47 | 32.404389 | 0.607248 | 0 | 0 | 0.345763 | 0 | 0 | 0.046834 | 0 | 0 | 0 | 0 | 0 | 0.755932 | 1 | 0 | false | 0 | 0.00339 | 0 | 0.00339 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
8f233fae9c9ead7b9772084976e5b2720f042e5a | 57,621 | py | Python | notebooks/py/dev_4_bayes_poisson.py | agalea91/nhl-goalie-pull-optimization | 7e57d50163c5f96a22dd5afd96c6e1ba5487c600 | [
"MIT"
] | null | null | null | notebooks/py/dev_4_bayes_poisson.py | agalea91/nhl-goalie-pull-optimization | 7e57d50163c5f96a22dd5afd96c6e1ba5487c600 | [
"MIT"
] | null | null | null | notebooks/py/dev_4_bayes_poisson.py | agalea91/nhl-goalie-pull-optimization | 7e57d50163c5f96a22dd5afd96c6e1ba5487c600 | [
"MIT"
] | 2 | 2019-06-06T10:37:48.000Z | 2021-03-31T18:28:43.000Z |
# coding: utf-8
# %load jupyter_default.py
import pandas as pd
import numpy as np
import os
import re
import datetime
import time
import glob
from tqdm import tqdm_notebook
from colorama import Fore, Style
get_ipython().run_line_magic('matplotlib', 'inline')
import matplotlib.pyplot as plt
import matplotlib.colors
i... | 28.868236 | 412 | 0.66356 | 8,990 | 57,621 | 4.018354 | 0.07564 | 0.062394 | 0.023917 | 0.023917 | 0.776111 | 0.749398 | 0.734478 | 0.721522 | 0.713661 | 0.704526 | 0 | 0.025408 | 0.187189 | 57,621 | 1,995 | 413 | 28.882707 | 0.745917 | 0.257215 | 0 | 0.734104 | 0 | 0.001927 | 0.172625 | 0.032823 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031792 | null | null | 0.014451 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
56f4bfc4cc61d78dd2c0a590d62107f1f27e2d54 | 33 | py | Python | src/error_analysis.py | exue026/spam-detection-model | 1a8afc4b4403ef49d8ebbdb5fbcb56c643996b1d | [
"MIT"
] | null | null | null | src/error_analysis.py | exue026/spam-detection-model | 1a8afc4b4403ef49d8ebbdb5fbcb56c643996b1d | [
"MIT"
] | null | null | null | src/error_analysis.py | exue026/spam-detection-model | 1a8afc4b4403ef49d8ebbdb5fbcb56c643996b1d | [
"MIT"
] | null | null | null | def analyze_error():
return 0 | 16.5 | 20 | 0.69697 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.212121 | 33 | 2 | 21 | 16.5 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
712c62ad55677b24a65bfa64e5786ad4b35a9859 | 2,070 | py | Python | tests/test_spending_rules.py | davidjohnoliver/IncomeForecast | f638a16a3bccb576f7977f9ea3fc08047c96ecce | [
"MIT"
] | null | null | null | tests/test_spending_rules.py | davidjohnoliver/IncomeForecast | f638a16a3bccb576f7977f9ea3fc08047c96ecce | [
"MIT"
] | null | null | null | tests/test_spending_rules.py | davidjohnoliver/IncomeForecast | f638a16a3bccb576f7977f9ea3fc08047c96ecce | [
"MIT"
] | null | null | null | import spending_rules
import model
import math
def standard_previous_deltas():
return model.deltas_state.from_year(1999)
def standard_previous_funds():
return model.funds_state(0, 0, 1999)
def test_get_luxury_over_basic():
rule = spending_rules.get_luxury_over_basic(20000, 0.05)
new_delta = model.get... | 51.75 | 149 | 0.786957 | 333 | 2,070 | 4.441441 | 0.162162 | 0.017579 | 0.108181 | 0.086545 | 0.855308 | 0.821501 | 0.774172 | 0.721433 | 0.699121 | 0.699121 | 0 | 0.055373 | 0.118841 | 2,070 | 40 | 150 | 51.75 | 0.755482 | 0 | 0 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 1 | 0.242424 | false | 0 | 0.090909 | 0.121212 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 7 |
71388b3a756ae644ef76b02ab16b59d8cb0ce9bb | 40,172 | py | Python | observers.py | Data-Science-in-Mechanical-Engineering/joint_state_dynamics_estimation_HGOs_GPs | 5980ad4ec1e94c4a2eeb5829b27effee5e069370 | [
"MIT"
] | null | null | null | observers.py | Data-Science-in-Mechanical-Engineering/joint_state_dynamics_estimation_HGOs_GPs | 5980ad4ec1e94c4a2eeb5829b27effee5e069370 | [
"MIT"
] | null | null | null | observers.py | Data-Science-in-Mechanical-Engineering/joint_state_dynamics_estimation_HGOs_GPs | 5980ad4ec1e94c4a2eeb5829b27effee5e069370 | [
"MIT"
] | 4 | 2021-02-17T05:14:11.000Z | 2021-03-08T14:00:18.000Z | import logging
import numpy as np
from scipy.integrate import solve_ivp
from utils import reshape_pt1, reshape_pt1_tonormal, reshape_dim1
# Possible observers (dynamics functions f(x_estim, u)) and functions to
# produce measured data from true data
# Input x, u, version and parameters, output x at the next step (... | 46.441618 | 80 | 0.564 | 5,394 | 40,172 | 4.05914 | 0.050983 | 0.114181 | 0.035168 | 0.05024 | 0.93647 | 0.934049 | 0.932816 | 0.928431 | 0.922083 | 0.913953 | 0 | 0.031445 | 0.304142 | 40,172 | 864 | 81 | 46.49537 | 0.751807 | 0.154063 | 0 | 0.882526 | 0 | 0 | 0.145482 | 0.00062 | 0 | 0 | 0 | 0.001157 | 0.014684 | 1 | 0.0279 | false | 0 | 0.005874 | 0.001468 | 0.061674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
854cee6eea04177eadb880318bb1ef5c5cb7d5c9 | 185,407 | py | Python | bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/fb.py | RazorKenway/All-Downloader | e1c6d9ee277166faff8876e967b521fd752f0e7f | [
"MIT"
] | 44 | 2021-06-28T15:57:18.000Z | 2022-03-22T07:36:13.000Z | bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/fb.py | RazorKenway/All-Downloader | e1c6d9ee277166faff8876e967b521fd752f0e7f | [
"MIT"
] | 1 | 2021-11-26T13:28:10.000Z | 2022-01-10T21:23:41.000Z | bin/temp/var/usd/cd/tmp/usd/data/data/data/data/data/temp/fb.py | RazorKenway/All-Downloader | e1c6d9ee277166faff8876e967b521fd752f0e7f | [
"MIT"
] | 5 | 2021-08-23T17:34:56.000Z | 2022-02-25T19:23:59.000Z | #ENCODE BY CRYPTO
#YOU CAN TRY THIS DECODE GOD BLESS
import gzip,marshal,zlib,base64,binascii,lzma
try:
exec(gzip.decompress(marshal.loads(b's\x8a\xfc\x00\x00\x1f\x8b\x08\x00\x83\x83\x98a\x02\xff|]\xd9Z\x14M\xb0\xbc?O!(\xa8\x80\xd05\xbd\x8b\x1b .\x80\x88\x8a\xca2"\xdd\xd5\xdd\x8a\xec\x8b\n*>\xfb\x99\x88\x8cr\xfe\x8b... | 16,855.181818 | 185,248 | 0.735501 | 42,523 | 185,407 | 3.200927 | 0.169297 | 0.000309 | 0.000132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231871 | 0.001386 | 185,407 | 11 | 185,249 | 16,855.181818 | 0.503278 | 0.000264 | 0 | 0 | 0 | 31 | 0.635687 | 0.633588 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
85583f8d3f70dfee06f91638026473b22639ed20 | 51,626 | py | Python | Rover_Source_Code/Post_Generate/post_generate_single_methods.py | StavromularBeta/Rover | 3030f1521e5a6bc2c6722983ca59a008b3a11400 | [
"MIT"
] | null | null | null | Rover_Source_Code/Post_Generate/post_generate_single_methods.py | StavromularBeta/Rover | 3030f1521e5a6bc2c6722983ca59a008b3a11400 | [
"MIT"
] | null | null | null | Rover_Source_Code/Post_Generate/post_generate_single_methods.py | StavromularBeta/Rover | 3030f1521e5a6bc2c6722983ca59a008b3a11400 | [
"MIT"
] | null | null | null | class SingleMethods:
def __init__(self,
finished_reports_dictionary,
single_reports_dictionary,
sample_data,
latex_header_and_sample_list_dictionary,
loq_dictionary
):
self.finished_reports_dictionary = fi... | 61.386445 | 203 | 0.539864 | 5,934 | 51,626 | 4.346983 | 0.04213 | 0.064896 | 0.11793 | 0.053034 | 0.924792 | 0.881256 | 0.866214 | 0.830393 | 0.822252 | 0.753828 | 0 | 0.037324 | 0.32534 | 51,626 | 840 | 204 | 61.459524 | 0.703273 | 0.004688 | 0 | 0.700614 | 0 | 0.022086 | 0.1822 | 0.040547 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02454 | false | 0 | 0 | 0 | 0.046626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
857c388eec003a840321502b9c2f63819c6e92f3 | 117 | py | Python | hfnet/settings.py | CaiYingFeng/hfnet | b430d0fb192fccbd42e6a19e06eeda5b805e2d1c | [
"MIT"
] | null | null | null | hfnet/settings.py | CaiYingFeng/hfnet | b430d0fb192fccbd42e6a19e06eeda5b805e2d1c | [
"MIT"
] | null | null | null | hfnet/settings.py | CaiYingFeng/hfnet | b430d0fb192fccbd42e6a19e06eeda5b805e2d1c | [
"MIT"
] | null | null | null | DATA_PATH = '/media/autolab/disk_4T/cyf/localization/data'
EXPER_PATH ='/media/autolab/disk_4T/cyf/localization/out'
| 39 | 58 | 0.803419 | 18 | 117 | 5 | 0.555556 | 0.2 | 0.355556 | 0.444444 | 0.822222 | 0.822222 | 0.822222 | 0 | 0 | 0 | 0 | 0.017857 | 0.042735 | 117 | 2 | 59 | 58.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.74359 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
857c646d18b551c8368c06a8d35a42922cfbf94a | 532 | py | Python | python/phonenumbers/data/alt_format_381.py | rodgar-nvkz/python-phonenumbers | 4c7c4892211dbc9bc328bc3356b03853eaf993dc | [
"Apache-2.0"
] | 2,424 | 2015-01-05T05:34:45.000Z | 2022-03-28T22:37:53.000Z | python/phonenumbers/data/alt_format_381.py | rodgar-nvkz/python-phonenumbers | 4c7c4892211dbc9bc328bc3356b03853eaf993dc | [
"Apache-2.0"
] | 166 | 2015-01-30T23:59:18.000Z | 2022-03-14T21:08:42.000Z | Lib/site-packages/phonenumbers/data/alt_format_381.py | PsychedVic/Portafolio | 4bd59d19de41fbea5317d4f2b9e6219ea0359945 | [
"bzip2-1.0.6"
] | 345 | 2015-01-02T00:33:27.000Z | 2022-03-26T13:06:57.000Z | """Auto-generated file, do not edit by hand. 381 metadata"""
from ..phonemetadata import NumberFormat
PHONE_ALT_FORMAT_381 = [NumberFormat(pattern='(\\d{2})(\\d{3})(\\d{3})', format='\\1 \\2 \\3', leading_digits_pattern=['[16]|2[0-24-7]|3[0-8]|(?:2[389]|39)[2-9]']), NumberFormat(pattern='(\\d{2})(\\d{2})(\\d{2})(\\d{3... | 106.4 | 428 | 0.578947 | 96 | 532 | 3.114583 | 0.354167 | 0.046823 | 0.060201 | 0.210702 | 0.591973 | 0.58194 | 0.541806 | 0.45485 | 0.254181 | 0.254181 | 0 | 0.128257 | 0.06203 | 532 | 4 | 429 | 133 | 0.470942 | 0.101504 | 0 | 0 | 1 | 1 | 0.438559 | 0.349576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
858bc09426cf6ef21f9aca0841b4f653a02e3b56 | 44,049 | py | Python | src/utils/database.py | AmemachiF/Hairpin | 82040ab45f062787da759cddfa4a24913ee49f07 | [
"MIT"
] | 2 | 2021-10-21T00:01:16.000Z | 2021-12-16T14:13:55.000Z | src/utils/database.py | AmemachiF/Hairpin | 82040ab45f062787da759cddfa4a24913ee49f07 | [
"MIT"
] | null | null | null | src/utils/database.py | AmemachiF/Hairpin | 82040ab45f062787da759cddfa4a24913ee49f07 | [
"MIT"
] | 1 | 2021-12-09T14:49:28.000Z | 2021-12-09T14:49:28.000Z | # @Author: South
# @Date: 2021-08-14 10:56
from datetime import datetime
import nonebot
from sqlalchemy import Column, Integer, String, BLOB, DATETIME, select, distinct, func, Boolean, Text
from sqlalchemy.exc import NoResultFound, MultipleResultsFound
from sqlalchemy.ext.asyncio import create_async_engine, AsyncSessi... | 49.326988 | 116 | 0.573543 | 4,584 | 44,049 | 5.363656 | 0.040794 | 0.103469 | 0.093952 | 0.116322 | 0.916013 | 0.914345 | 0.9104 | 0.905763 | 0.89889 | 0.89889 | 0 | 0.005765 | 0.330564 | 44,049 | 892 | 117 | 49.382287 | 0.828032 | 0.003383 | 0 | 0.84901 | 0 | 0 | 0.045521 | 0.021325 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013614 | false | 0 | 0.012376 | 0.001238 | 0.149752 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a4225d0e5cb735bfbe5bad23ad24224dd047f552 | 119 | py | Python | darkopt/optimize/__init__.py | iwiwi/darkopt | 071ecaa422441909d7f077b8097320bb304178d4 | [
"MIT"
] | 2 | 2018-08-02T04:52:53.000Z | 2019-09-11T10:02:24.000Z | darkopt/optimize/__init__.py | iwiwi/darkopt | 071ecaa422441909d7f077b8097320bb304178d4 | [
"MIT"
] | null | null | null | darkopt/optimize/__init__.py | iwiwi/darkopt | 071ecaa422441909d7f077b8097320bb304178d4 | [
"MIT"
] | 1 | 2019-02-12T05:57:17.000Z | 2019-02-12T05:57:17.000Z | from darkopt.optimize.optimizer import Optimizer # NOQA
from darkopt.optimize.trial_result import TrialResult # NOQA
| 39.666667 | 61 | 0.831933 | 15 | 119 | 6.533333 | 0.6 | 0.22449 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 2 | 62 | 59.5 | 0.933333 | 0.07563 | 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 | 1 | 0 | 0 | 7 |
a4580444880f100c51d1ed1435d4b78ea5e0caf9 | 20,224 | py | Python | src/tests/test_database.py | chris2013/pydupe | be8fd2dd2a905899e376be4e0b3d2fc8482e89e6 | [
"MIT"
] | null | null | null | src/tests/test_database.py | chris2013/pydupe | be8fd2dd2a905899e376be4e0b3d2fc8482e89e6 | [
"MIT"
] | 3 | 2022-01-28T15:54:54.000Z | 2022-01-28T15:58:23.000Z | src/tests/test_database.py | chris2013/pydupe | be8fd2dd2a905899e376be4e0b3d2fc8482e89e6 | [
"MIT"
] | null | null | null | import os
import tempfile
import pytest
from pydupe.data import fparms
from pydupe.db import PydupeDB
import pathlib as pl
import typing as tp
@pytest.fixture
def setup_database() -> tp.Generator[None,None,None]:
""" Fixture to se-t up PydupeDB in tmporary Directory"""
with tempfile.TemporaryDirectory() as newp... | 42.487395 | 117 | 0.571648 | 1,649 | 20,224 | 6.843542 | 0.067314 | 0.059371 | 0.089322 | 0.074967 | 0.932388 | 0.914222 | 0.887993 | 0.886043 | 0.885335 | 0.879663 | 0 | 0.244186 | 0.311116 | 20,224 | 475 | 118 | 42.576842 | 0.56582 | 0.018938 | 0 | 0.866511 | 0 | 0 | 0.362755 | 0.269945 | 0 | 0 | 0 | 0 | 0.037471 | 1 | 0.025761 | false | 0 | 0.016393 | 0 | 0.044496 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 8 |
f17b39bd411ab6e9d97543967fdaddd5fecacc2d | 20,041 | py | Python | word2vec.py | houshengyuan/Word2vec | 8861dce1e9f7043f366ad94146a535d726f72d7c | [
"MIT"
] | null | null | null | word2vec.py | houshengyuan/Word2vec | 8861dce1e9f7043f366ad94146a535d726f72d7c | [
"MIT"
] | null | null | null | word2vec.py | houshengyuan/Word2vec | 8861dce1e9f7043f366ad94146a535d726f72d7c | [
"MIT"
] | null | null | null | import os
import pickle
import time
from os.path import join
from typing import List
import numpy as np
from utils.dataset import Dataset
from utils.vocab import Vocab
from utils.hierarchical_softmax import Huffman_tree
from utils.negative_sampling import NEG
def one_hot(dim: int, idx: int):
""" Get one-hot vect... | 49.977556 | 188 | 0.60486 | 2,621 | 20,041 | 4.435712 | 0.075544 | 0.031739 | 0.021676 | 0.024772 | 0.853604 | 0.824531 | 0.808791 | 0.805866 | 0.777482 | 0.755978 | 0 | 0.019502 | 0.270795 | 20,041 | 401 | 189 | 49.977556 | 0.776037 | 0.08757 | 0 | 0.711864 | 0 | 0.00678 | 0.0342 | 0 | 0 | 0 | 0 | 0 | 0.027119 | 1 | 0.064407 | false | 0 | 0.033898 | 0 | 0.149153 | 0.027119 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
74b9d8ce2df4d8b8b944d3e7197504e0339b9aec | 292 | py | Python | concepts/_example.py | plpedrofeitosa/concepts | df1c4e139fef0f7ccff466f9c27024f6b7b4d1ef | [
"MIT"
] | 90 | 2015-03-24T20:09:14.000Z | 2022-03-18T07:37:01.000Z | concepts/_example.py | plpedrofeitosa/concepts | df1c4e139fef0f7ccff466f9c27024f6b7b4d1ef | [
"MIT"
] | 18 | 2017-11-03T18:08:13.000Z | 2022-02-05T10:10:24.000Z | concepts/_example.py | plpedrofeitosa/concepts | df1c4e139fef0f7ccff466f9c27024f6b7b4d1ef | [
"MIT"
] | 27 | 2015-01-23T13:00:57.000Z | 2022-03-08T15:48:41.000Z | EXAMPLE = '''\
|+1|-1|+2|-2|+3|-3|+sg|+pl|-sg|-pl|
1sg| X| | | X| | X| X| | | X|
1pl| X| | | X| | X| | X| X| |
2sg| | X| X| | | X| X| | | X|
2pl| | X| X| | | X| | X| X| |
3sg| | X| | X| X| | X| | | X|
3pl| | X| | X| X| | | X| X| |
'''
| 29.2 | 38 | 0.236301 | 47 | 292 | 1.468085 | 0.276596 | 0.695652 | 0.782609 | 0.695652 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.438356 | 292 | 9 | 39 | 32.444444 | 0.347561 | 0 | 0 | 0 | 0 | 0.111111 | 0.941781 | 0.119863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d082f2b740d66d6a84e06f463e5ebb540865fec | 29,655 | py | Python | src/275. H-Index II.py | xiaonanln/myleetcode-python | 95d282f21a257f937cd22ef20c3590a69919e307 | [
"Apache-2.0"
] | null | null | null | src/275. H-Index II.py | xiaonanln/myleetcode-python | 95d282f21a257f937cd22ef20c3590a69919e307 | [
"Apache-2.0"
] | null | null | null | src/275. H-Index II.py | xiaonanln/myleetcode-python | 95d282f21a257f937cd22ef20c3590a69919e307 | [
"Apache-2.0"
] | null | null | null | class Solution(object):
def hIndex(self, citations):
"""
:type citations: List[int]
:rtype: int
"""
L = len(citations)
if not L or citations[-1] == 0: return 0
i, j = 1, L
while i < j:
m = (i + j) // 2
if citations[L-m] == m or (citations[L-m] > m and citations[L-m-1] <= m):
return m
elif... | 1,022.586207 | 29,130 | 0.654527 | 10,094 | 29,655 | 1.922925 | 0.012582 | 0.025554 | 0.038022 | 0.050283 | 0.985162 | 0.985162 | 0.985162 | 0.985162 | 0.985162 | 0.985162 | 0 | 0.648562 | 0.004788 | 29,655 | 28 | 29,131 | 1,059.107143 | 0.009115 | 0.001888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
7421084799af7776dd51f8d48d87f131b42144ae | 31 | py | Python | __init__.py | oursky/forgot_password | 9afde8b9d39a2837676628f12c9b6f2c45da592a | [
"Apache-2.0"
] | 1 | 2017-02-09T10:17:50.000Z | 2017-02-09T10:17:50.000Z | __init__.py | oursky/forgot_password | 9afde8b9d39a2837676628f12c9b6f2c45da592a | [
"Apache-2.0"
] | 54 | 2016-09-07T11:01:32.000Z | 2020-02-12T06:15:43.000Z | __init__.py | oursky/forgot_password | 9afde8b9d39a2837676628f12c9b6f2c45da592a | [
"Apache-2.0"
] | 14 | 2016-09-20T05:36:49.000Z | 2019-04-02T15:42:37.000Z | from .forgot_password import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
747c20c5bce0bc557449aa2375e4bb15c178cdc8 | 3,849 | py | Python | tests/api/api_v1/test_user_roles.py | tsatsujnr139/fastapi-role-based-access-control-auth-service | 6c6addb04edad80e167424e39574697008eb0e64 | [
"MIT"
] | 47 | 2021-03-06T14:49:43.000Z | 2022-03-05T12:18:59.000Z | tests/api/api_v1/test_user_roles.py | tsatsujnr139/fastapi-role-based-access-control-auth-service | 6c6addb04edad80e167424e39574697008eb0e64 | [
"MIT"
] | 5 | 2021-09-19T15:16:49.000Z | 2022-01-26T15:47:48.000Z | tests/api/api_v1/test_user_roles.py | tsatsujnr139/fastapi-role-based-access-control-auth-service | 6c6addb04edad80e167424e39574697008eb0e64 | [
"MIT"
] | 15 | 2021-03-08T07:54:32.000Z | 2022-03-09T13:57:23.000Z | from app import crud
from app.constants.role import Role
from app.core.config import settings
from app.schemas.user import UserCreate
from app.schemas.user_role import UserRoleCreate
from fastapi.testclient import TestClient
from sqlalchemy.orm import Session
from tests.utils.utils import random_email, random_lower_str... | 36.657143 | 73 | 0.706677 | 570 | 3,849 | 4.461404 | 0.122807 | 0.078647 | 0.060165 | 0.030672 | 0.83956 | 0.829335 | 0.788439 | 0.772316 | 0.772316 | 0.772316 | 0 | 0.007909 | 0.178748 | 3,849 | 104 | 74 | 37.009615 | 0.796583 | 0 | 0 | 0.739583 | 0 | 0 | 0.061055 | 0.038452 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.041667 | false | 0.083333 | 0.083333 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
748cab60059c9ef8d41b20df40b1703a9ee9ccde | 760 | py | Python | psynlp/helpers/builtins.py | Demfier/PsyNLP | e16952ce1bbbe9724071a009743654d11ae386d5 | [
"MIT"
] | 5 | 2019-11-23T05:33:01.000Z | 2021-12-30T22:37:43.000Z | psynlp/helpers/builtins.py | Demfier/PsyNLP | e16952ce1bbbe9724071a009743654d11ae386d5 | [
"MIT"
] | 5 | 2018-04-10T10:31:22.000Z | 2018-04-14T06:31:03.000Z | psynlp/helpers/builtins.py | Demfier/PsyNLP | e16952ce1bbbe9724071a009743654d11ae386d5 | [
"MIT"
] | 1 | 2021-08-14T17:46:42.000Z | 2021-08-14T17:46:42.000Z | import builtins as __builtin__
def init_verbose(verbose=False):
if not verbose:
__builtin__.verbose_print_1 = lambda *a, **k: None
__builtin__.verbose_print_2 = lambda *a, **k: None
__builtin__.verbose_print_3 = lambda *a, **k: None
elif verbose == 1:
__builtin__.verbose_print_... | 36.190476 | 58 | 0.668421 | 97 | 760 | 4.443299 | 0.206186 | 0.389791 | 0.529002 | 0.167053 | 0.786543 | 0.786543 | 0.786543 | 0.758701 | 0.730858 | 0.672854 | 0 | 0.02439 | 0.244737 | 760 | 20 | 59 | 38 | 0.726481 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 9 |
77774ed700d7b2fcedafb2264a485bfb746a552c | 91 | py | Python | polls/views.py | r00m/flask-blueprint-quickstart | 7c9dbeae20e4882eb887e1c88854c5f83e890f52 | [
"MIT"
] | null | null | null | polls/views.py | r00m/flask-blueprint-quickstart | 7c9dbeae20e4882eb887e1c88854c5f83e890f52 | [
"MIT"
] | null | null | null | polls/views.py | r00m/flask-blueprint-quickstart | 7c9dbeae20e4882eb887e1c88854c5f83e890f52 | [
"MIT"
] | null | null | null | from polls import blueprint
@blueprint.route('/')
def index():
return "Hello World!"
| 13 | 27 | 0.681319 | 11 | 91 | 5.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 6 | 28 | 15.166667 | 0.826667 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 7 |
777cd98be4af74d61907b5f29ca27ee92b1266f4 | 221 | py | Python | africanus/rime/cuda/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 13 | 2018-04-06T09:36:13.000Z | 2021-04-13T13:11:00.000Z | africanus/rime/cuda/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 153 | 2018-03-28T14:13:48.000Z | 2022-02-03T07:49:17.000Z | africanus/rime/cuda/__init__.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 14 | 2018-03-29T13:30:52.000Z | 2021-06-12T02:56:55.000Z | # flake8: noqa
from africanus.rime.cuda.beam import beam_cube_dde
from africanus.rime.cuda.feeds import feed_rotation
from africanus.rime.cuda.phase import phase_delay
from africanus.rime.cuda.predict import predict_vis
| 31.571429 | 51 | 0.846154 | 35 | 221 | 5.2 | 0.485714 | 0.285714 | 0.373626 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.090498 | 221 | 6 | 52 | 36.833333 | 0.900498 | 0.054299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
777d1729b6a670fc439712aae7df957bda909ea3 | 3,773 | py | Python | climdex/temperature.py | weilin2018/pyclimdex | ccaf1ad3eda2d52b586dd4a3755be5eb9ba9a15b | [
"MIT"
] | 6 | 2021-01-11T14:52:23.000Z | 2022-03-05T12:53:54.000Z | climdex/temperature.py | dawran/pyclimdex | c526e876016f61ee2fc1a659e68b6ef0f2e9cb24 | [
"MIT"
] | null | null | null | climdex/temperature.py | dawran/pyclimdex | c526e876016f61ee2fc1a659e68b6ef0f2e9cb24 | [
"MIT"
] | 2 | 2020-03-14T00:44:45.000Z | 2020-04-09T09:03:32.000Z | import xarray as xr
import numpy as np
import climdex.utils as utils
from typing import Union
def indices(time_dim='time', convert_units_fn=lambda x: x):
return TemperatureIndices(time_dim=time_dim, convert_units_fn=convert_units_fn)
class TemperatureIndices:
def __init__(self, time_dim='time', convert_units_... | 56.313433 | 111 | 0.675855 | 599 | 3,773 | 3.96828 | 0.1202 | 0.100126 | 0.092554 | 0.083298 | 0.805217 | 0.784182 | 0.760623 | 0.736222 | 0.720656 | 0.691207 | 0 | 0.00722 | 0.19242 | 3,773 | 67 | 112 | 56.313433 | 0.772891 | 0 | 0 | 0.407407 | 0 | 0 | 0.033121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0.018519 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
77906d2463d7c579d380ef329f49798605124508 | 11,091 | py | Python | packages/divprop/tests/test_sboxes.py | CryptoExperts/AC21-divprop-convexity | ed4fb715c484b12413a5c59e4f189bcc37889449 | [
"MIT"
] | 4 | 2021-11-13T03:31:00.000Z | 2022-02-25T02:02:58.000Z | packages/divprop/tests/test_sboxes.py | CryptoExperts/AC21-divprop-convexity | ed4fb715c484b12413a5c59e4f189bcc37889449 | [
"MIT"
] | null | null | null | packages/divprop/tests/test_sboxes.py | CryptoExperts/AC21-divprop-convexity | ed4fb715c484b12413a5c59e4f189bcc37889449 | [
"MIT"
] | null | null | null | from random import shuffle, randrange
def get_sboxes():
ret = []
name = 'ASCON'
n = m = 5
sbox = [4, 11, 31, 20, 26, 21, 9, 2, 27, 5, 8, 18, 29, 3, 6, 28, 30, 19, 7, 14, 0, 13, 17, 24, 16, 12, 1, 25, 22, 10, 15, 23]
dppt = ([0], [1, 2, 4, 8, 16], [1, 2, 4, 8, 16], [3, 4, 9, 10, 17, 18, 24], [2, 4... | 246.466667 | 7,795 | 0.435218 | 2,714 | 11,091 | 1.778187 | 0.107959 | 0.10775 | 0.157273 | 0.20058 | 0.728139 | 0.714671 | 0.699959 | 0.67385 | 0.635723 | 0.623912 | 0 | 0.536824 | 0.263006 | 11,091 | 44 | 7,796 | 252.068182 | 0.053585 | 0.000992 | 0 | 0.176471 | 0 | 0 | 0.004604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.088235 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
77f92727d6ce9133123fa4078b0d5d5ec32b8d5b | 22,613 | py | Python | python/productDataApi.py | tunchunairarko/mern-btzapp | d8526525cfd69e2884464c30706a43977bafb22b | [
"MIT"
] | null | null | null | python/productDataApi.py | tunchunairarko/mern-btzapp | d8526525cfd69e2884464c30706a43977bafb22b | [
"MIT"
] | null | null | null | python/productDataApi.py | tunchunairarko/mern-btzapp | d8526525cfd69e2884464c30706a43977bafb22b | [
"MIT"
] | null | null | null | import requests
import dpath # https://github.com/akesterson/dpath-python
from pprint import pprint # Needed for printing responses, can be deleted.
import re
import AzProductInformation
class ProductDataUPC(object):
def __init__(self,query):
self.keys={
'primary':'aed3a12f05464b8abb54c24d275... | 41.721402 | 135 | 0.411489 | 1,939 | 22,613 | 4.71738 | 0.080454 | 0.106264 | 0.046463 | 0.049196 | 0.889472 | 0.881929 | 0.870559 | 0.866186 | 0.851099 | 0.84596 | 0 | 0.029898 | 0.440897 | 22,613 | 542 | 136 | 41.721402 | 0.693585 | 0.088356 | 0 | 0.891949 | 0 | 0 | 0.166521 | 0.012454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019068 | false | 0.050847 | 0.010593 | 0 | 0.065678 | 0.065678 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
77f93961df00cd63e5db98ca11469933e2c1b639 | 124 | py | Python | py/src/datacentric/types/time/__init__.py | datacentricorg/datacentric | b9e2dedfac35759ea09bb5653095daba5861512e | [
"Apache-2.0"
] | 1 | 2019-08-08T01:27:47.000Z | 2019-08-08T01:27:47.000Z | py/src/datacentric/types/time/__init__.py | datacentricorg/datacentric | b9e2dedfac35759ea09bb5653095daba5861512e | [
"Apache-2.0"
] | null | null | null | py/src/datacentric/types/time/__init__.py | datacentricorg/datacentric | b9e2dedfac35759ea09bb5653095daba5861512e | [
"Apache-2.0"
] | null | null | null | from datacentric.types.time.iso_day_of_week import IsoDayOfWeek
from datacentric.types.time.local_minute import LocalMinute
| 41.333333 | 63 | 0.887097 | 18 | 124 | 5.888889 | 0.722222 | 0.283019 | 0.377358 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 124 | 2 | 64 | 62 | 0.913793 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7af14fd96cfb76681c30796807edc66ed015682c | 46 | py | Python | frarch/utils/logging/__init__.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | 1 | 2021-12-21T11:00:28.000Z | 2021-12-21T11:00:28.000Z | frarch/utils/logging/__init__.py | vbadenas/frarch | 3ce8cfad90b09153cbd22dee975731cae13e3ba7 | [
"Apache-2.0"
] | 5 | 2021-11-23T11:08:28.000Z | 2021-12-21T14:02:14.000Z | frarch/utils/logging/__init__.py | vbadenas/frarch | 3ce8cfad90b09153cbd22dee975731cae13e3ba7 | [
"Apache-2.0"
] | 1 | 2022-03-20T23:47:16.000Z | 2022-03-20T23:47:16.000Z | from .create_logger import create_logger_file
| 23 | 45 | 0.891304 | 7 | 46 | 5.428571 | 0.714286 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 7 |
bb2aaa2685641d5ed14dc44f506d92e20ddfe00b | 865 | py | Python | nurbsvisualizer/__init__.py | FernandezErbes/nurbsvisualizer | d69e214448fa274ac6cd30b614e161e8bc22bbe6 | [
"MIT"
] | null | null | null | nurbsvisualizer/__init__.py | FernandezErbes/nurbsvisualizer | d69e214448fa274ac6cd30b614e161e8bc22bbe6 | [
"MIT"
] | null | null | null | nurbsvisualizer/__init__.py | FernandezErbes/nurbsvisualizer | d69e214448fa274ac6cd30b614e161e8bc22bbe6 | [
"MIT"
] | null | null | null | import nurbsvisualizer.bsplinegeometry
import nurbsvisualizer.nurbsgeometry
import nurbsvisualizer.utilities
import nurbsvisualizer.visualizer
import sys
sys.path.append('..')
print(" \n")
print(" _ __ __ _ ___ ... | 54.0625 | 85 | 0.42659 | 37 | 865 | 6.810811 | 0.540541 | 0.198413 | 0.238095 | 0.238095 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 865 | 15 | 86 | 57.666667 | 0.485549 | 0 | 0 | 0 | 0 | 0.285714 | 0.705202 | 0.03237 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.357143 | 0 | 0.357143 | 0.571429 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
248b72f8b6d7d19ce9c4cd65f7163713f784ccee | 92,017 | py | Python | src/ebay_rest/api/sell_marketing/api/ad_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | src/ebay_rest/api/sell_marketing/api/ad_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | src/ebay_rest/api/sell_marketing/api/ad_api.py | craiga/ebay_rest | a0be2677c65a787e9566df848ffa3ad0c309a9d9 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Marketing API
<p>The <i>Marketing API </i> offers two platforms that sellers can use to promote and advertise their products:</p> <ul><li><b>Promoted Listings</b> is an eBay ad service that lets sellers set up <i>ad campaigns </i> for the products they want to promote. eBay displays the ad... | 60.22055 | 2,092 | 0.681396 | 12,291 | 92,017 | 4.91091 | 0.033358 | 0.044069 | 0.024188 | 0.023244 | 0.963999 | 0.960752 | 0.95999 | 0.955368 | 0.953612 | 0.951243 | 0 | 0.011803 | 0.248661 | 92,017 | 1,527 | 2,093 | 60.259987 | 0.861259 | 0.522175 | 0 | 0.806954 | 0 | 0 | 0.223073 | 0.077491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034772 | false | 0 | 0.004796 | 0 | 0.091127 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.