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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ef23a48948cf4e59d9a3ba6ae6aa377b374de99b | 35,965 | py | Python | py_hawkesn_sir/py_hawkesn_sir/hawkesn_seir_parallelizable.py | yogabonito/seir_hawkes | c632d7faabea396a91c80e2941d5b93232b64b3b | [
"BSD-3-Clause"
] | 4 | 2019-11-14T03:06:12.000Z | 2021-01-05T23:37:11.000Z | py_hawkesn_sir/py_hawkesn_sir/hawkesn_seir_parallelizable.py | yogabonito/seir_hawkes | c632d7faabea396a91c80e2941d5b93232b64b3b | [
"BSD-3-Clause"
] | null | null | null | py_hawkesn_sir/py_hawkesn_sir/hawkesn_seir_parallelizable.py | yogabonito/seir_hawkes | c632d7faabea396a91c80e2941d5b93232b64b3b | [
"BSD-3-Clause"
] | null | null | null | import numbers
from scipy.optimize import fmin_l_bfgs_b
import numpy as np
import matplotlib.pyplot as plt
llf_factor = 10**6 # factor for avoiding a too flat likelihood function
def exp_intensity(beta, sigma, gamma, n, history, sum_less_equal=True):
"""
Calculate the (exponential) intensity of a HawkesN pr... | 36.21853 | 217 | 0.575393 | 4,585 | 35,965 | 4.328462 | 0.07241 | 0.042931 | 0.032651 | 0.069435 | 0.826464 | 0.80263 | 0.774211 | 0.754913 | 0.740351 | 0.72861 | 0 | 0.012439 | 0.313749 | 35,965 | 992 | 218 | 36.25504 | 0.791662 | 0.436118 | 0 | 0.51049 | 0 | 0 | 0.014731 | 0 | 0 | 0 | 0 | 0.002016 | 0 | 1 | 0.055944 | false | 0 | 0.009324 | 0.002331 | 0.125874 | 0.009324 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef37673e90804422703b3fc457e621c0e505a2d1 | 24,876 | py | Python | test/message_test.py | Watchful1/RedditSubsBot | a65733f6a4a5a50b46463887ed38f6a0fb1d89b5 | [
"MIT"
] | 20 | 2017-02-06T21:06:55.000Z | 2019-09-15T19:24:38.000Z | test/message_test.py | Watchful1/RedditSubsBot | a65733f6a4a5a50b46463887ed38f6a0fb1d89b5 | [
"MIT"
] | 108 | 2016-07-18T03:17:25.000Z | 2019-03-05T18:44:27.000Z | test/message_test.py | Watchful1/RedditSubsBot | a65733f6a4a5a50b46463887ed38f6a0fb1d89b5 | [
"MIT"
] | 4 | 2017-02-06T21:07:00.000Z | 2019-07-24T01:21:16.000Z | import discord_logging
log = discord_logging.get_logger(init=True)
import messages
import utils
from praw_wrapper import reddit_test
import static
from classes.submission import Submission
from classes.subscription import Subscription
from classes.comment import DbComment
from classes.notification import Notification... | 30.262774 | 103 | 0.781436 | 3,086 | 24,876 | 6.021711 | 0.052171 | 0.070656 | 0.055266 | 0.068019 | 0.883119 | 0.859603 | 0.831297 | 0.806597 | 0.784911 | 0.762848 | 0 | 0.006345 | 0.113 | 24,876 | 821 | 104 | 30.299635 | 0.835849 | 0 | 0 | 0.67147 | 0 | 0 | 0.117824 | 0.006311 | 0 | 0 | 0 | 0 | 0.131124 | 1 | 0.04611 | false | 0 | 0.012968 | 0 | 0.059078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef3f8fe20f6e0d7a4aa9aa6759cb4ac45cce87d5 | 2,786 | py | Python | tests/test_command_load.py | imolloy/kestrel-lang | 2844168253d92e6607013e873d862f365e2a1913 | [
"Apache-2.0"
] | 119 | 2021-06-04T15:40:10.000Z | 2022-03-24T09:56:53.000Z | tests/test_command_load.py | imolloy/kestrel-lang | 2844168253d92e6607013e873d862f365e2a1913 | [
"Apache-2.0"
] | 76 | 2021-06-04T15:06:10.000Z | 2022-03-20T21:03:13.000Z | tests/test_command_load.py | imolloy/kestrel-lang | 2844168253d92e6607013e873d862f365e2a1913 | [
"Apache-2.0"
] | 28 | 2021-06-05T07:27:15.000Z | 2022-01-20T18:43:47.000Z | import pytest
import os
from kestrel.session import Session
from kestrel.exceptions import MissingEntityType
def test_load_full_csv():
data_file_path = os.path.join(
os.path.dirname(__file__), "test_input_data_procs.csv"
)
with Session() as s:
stmt = f"newvar = LOAD {data_file_path}"
... | 30.282609 | 87 | 0.606604 | 402 | 2,786 | 3.912935 | 0.141791 | 0.071202 | 0.106802 | 0.062301 | 0.863319 | 0.837889 | 0.837889 | 0.837889 | 0.837889 | 0.818182 | 0 | 0.007201 | 0.252333 | 2,786 | 91 | 88 | 30.615385 | 0.74796 | 0 | 0 | 0.684211 | 0 | 0 | 0.227566 | 0.076454 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.092105 | false | 0 | 0.052632 | 0 | 0.144737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32af58ea3217bb4024f4bd1edc4d932218ff085f | 2,494 | py | Python | json_templates/ItemBP.py | TristanPrisemut/mcpybox | a6d1ee1e284c76588fb7fb214e006f02348181d6 | [
"MIT"
] | null | null | null | json_templates/ItemBP.py | TristanPrisemut/mcpybox | a6d1ee1e284c76588fb7fb214e006f02348181d6 | [
"MIT"
] | 1 | 2022-03-10T23:05:38.000Z | 2022-03-10T23:05:38.000Z | json_templates/ItemBP.py | TristanPrisemut/mcpybox | a6d1ee1e284c76588fb7fb214e006f02348181d6 | [
"MIT"
] | null | null | null | import json
#! Non-Eatable
#? @identifier - the identifier of the item
#? @use_duration - the use_duration of the item in game
#* return json data from v[1.16.0]
def non_eatable(identifier, use_duration, max_stack_size):
data = {
"format_version": "1.16.0",
"minecraft:item": {
"descript... | 33.702703 | 95 | 0.538492 | 254 | 2,494 | 5.082677 | 0.188976 | 0.127808 | 0.083656 | 0.058095 | 0.850503 | 0.831139 | 0.831139 | 0.831139 | 0.831139 | 0.831139 | 0 | 0.014625 | 0.342021 | 2,494 | 73 | 96 | 34.164384 | 0.77209 | 0.180032 | 0 | 0.603448 | 0 | 0 | 0.280512 | 0.114173 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.017241 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32c23b44faa9f7c50e58f9cb1be6ec7b2b6068a0 | 5,516 | py | Python | tests/conftest.py | item4/ugoira | 3d5a1f8f82cf351b2c35349227bf5eb1129d2ae9 | [
"MIT"
] | 11 | 2018-04-21T08:04:11.000Z | 2021-02-14T17:09:33.000Z | tests/conftest.py | item4/ugoira | 3d5a1f8f82cf351b2c35349227bf5eb1129d2ae9 | [
"MIT"
] | 16 | 2018-09-18T11:10:12.000Z | 2021-02-14T16:47:29.000Z | tests/conftest.py | item4/ugoira | 3d5a1f8f82cf351b2c35349227bf5eb1129d2ae9 | [
"MIT"
] | 3 | 2018-09-18T10:50:45.000Z | 2021-01-31T18:01:33.000Z | import pathlib
import zipfile
from PIL import Image, ImageColor
import pytest
@pytest.fixture()
def fx_tmpdir(tmpdir):
"""Make :class:`pathlib.Path` instance of ```tmpdir```."""
return pathlib.Path(str(tmpdir))
@pytest.fixture(scope='session')
def ugoira_id():
return 74442143
@pytest.fixture(scope=... | 44.845528 | 2,856 | 0.607868 | 776 | 5,516 | 4.279639 | 0.240979 | 0.185486 | 0.231858 | 0.320385 | 0.384824 | 0.336043 | 0.319181 | 0.319181 | 0.319181 | 0.319181 | 0 | 0.181054 | 0.115845 | 5,516 | 122 | 2,857 | 45.213115 | 0.499897 | 0.049311 | 0 | 0.538462 | 0 | 0.025641 | 0.646026 | 0.596451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128205 | false | 0 | 0.051282 | 0.051282 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0869e0376f370c40ad50cd1103f55ff7bc8cbadf | 659 | py | Python | model_factory/layers/__init__.py | yinochaos/model_factory | d8ff8b049cef9b2c19d6dc303874aee6401dc5ef | [
"Apache-2.0"
] | null | null | null | model_factory/layers/__init__.py | yinochaos/model_factory | d8ff8b049cef9b2c19d6dc303874aee6401dc5ef | [
"Apache-2.0"
] | null | null | null | model_factory/layers/__init__.py | yinochaos/model_factory | d8ff8b049cef9b2c19d6dc303874aee6401dc5ef | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, division, print_function
#__all__ = ['seq2seq_cross_entropy_loss']
from model_factory.layers.attentions.multihead_attention import MultiHeadAttention, RelativeMultiHeadAttention
from model_factory.layers.embeddings.pos_embedding import TransformerEmbedding, RelativePositionalEmbe... | 65.9 | 110 | 0.890744 | 75 | 659 | 7.52 | 0.466667 | 0.111702 | 0.198582 | 0.27305 | 0.280142 | 0.159574 | 0 | 0 | 0 | 0 | 0 | 0.001616 | 0.060698 | 659 | 9 | 111 | 73.222222 | 0.909532 | 0.060698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
088408813b0a97cfb6ba548e4257bb2a767d5d3a | 623 | py | Python | Visualization/FourierSquareWaveVisualization.py | SymmetricChaos/FiniteFields | 65258e06b7f04ce15223c1bc0c2384ef5e9cec1a | [
"MIT"
] | 1 | 2021-08-22T15:03:59.000Z | 2021-08-22T15:03:59.000Z | Visualization/FourierSquareWaveVisualization.py | SymmetricChaos/NumberTheory | 65258e06b7f04ce15223c1bc0c2384ef5e9cec1a | [
"MIT"
] | null | null | null | Visualization/FourierSquareWaveVisualization.py | SymmetricChaos/NumberTheory | 65258e06b7f04ce15223c1bc0c2384ef5e9cec1a | [
"MIT"
] | null | null | null | from Fourier import Fourier, evaluate_series
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
x = np.linspace(-5,5,150)
pi = np.pi
S = Fourier([0],[0],[0])
for i in [1,3,5]:
A = Fourier([4/(pi*i)],[i])
plt.plot(x,evaluate_series(A,x),color='gray',linestyle=":")
S += A
yS = evaluate_se... | 21.482759 | 63 | 0.614767 | 119 | 623 | 3.176471 | 0.285714 | 0.185185 | 0.084656 | 0.068783 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0 | 0.045541 | 0.154093 | 623 | 29 | 64 | 21.482759 | 0.671727 | 0 | 0 | 0.782609 | 0 | 0 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
089710754fb7ed7774e8fedc1025c6640e6d9081 | 256 | py | Python | replikate_lib/terminal/colors.py | rloic/replikate | 1503d2c77aef4103f3a930664d0e2a2267c93f34 | [
"MIT"
] | null | null | null | replikate_lib/terminal/colors.py | rloic/replikate | 1503d2c77aef4103f3a930664d0e2a2267c93f34 | [
"MIT"
] | null | null | null | replikate_lib/terminal/colors.py | rloic/replikate | 1503d2c77aef4103f3a930664d0e2a2267c93f34 | [
"MIT"
] | null | null | null | def info(s: str) -> str:
return '\033[34m' + s + '\033[0m'
def log(s: str) -> str:
return '\033[32m' + s + '\033[0m'
def warn(s: str) -> str:
return '\033[33m' + s + '\033[0m'
def err(s: str) -> str:
return '\033[31m' + s + '\033[0m'
| 17.066667 | 37 | 0.492188 | 44 | 256 | 2.863636 | 0.318182 | 0.126984 | 0.222222 | 0.412698 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 0.257813 | 256 | 14 | 38 | 18.285714 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
08b79e1077b46c3c9746815ef84806a8346ad9ad | 219 | py | Python | python/high-scores/high_scores.py | willdjames/exercism-praticas | 8de2fc82459c3f9e5eaff20bad4ce7a760ba786e | [
"MIT"
] | null | null | null | python/high-scores/high_scores.py | willdjames/exercism-praticas | 8de2fc82459c3f9e5eaff20bad4ce7a760ba786e | [
"MIT"
] | null | null | null | python/high-scores/high_scores.py | willdjames/exercism-praticas | 8de2fc82459c3f9e5eaff20bad4ce7a760ba786e | [
"MIT"
] | null | null | null | def latest(scores):
return personal_top_three(scores)[-1]
def personal_best(scores):
return personal_top_three(scores)[0]
def personal_top_three(scores):
scores.sort(reverse=True)
return scores[0:3]
| 18.25 | 41 | 0.73516 | 32 | 219 | 4.8125 | 0.4375 | 0.214286 | 0.311688 | 0.428571 | 0.441558 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.150685 | 219 | 11 | 42 | 19.909091 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3efa76b899ac3ced05baffaec5dad84313fe0247 | 28 | py | Python | djmease/__init__.py | florianpaquet/django-mease | f1512ad5a337f457854c11c0606fd3331e6f4ccb | [
"MIT"
] | 4 | 2015-07-09T21:06:50.000Z | 2018-04-02T21:54:10.000Z | djmease/__init__.py | florianpaquet/django-mease | f1512ad5a337f457854c11c0606fd3331e6f4ccb | [
"MIT"
] | null | null | null | djmease/__init__.py | florianpaquet/django-mease | f1512ad5a337f457854c11c0606fd3331e6f4ccb | [
"MIT"
] | null | null | null | from .registry import mease
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41094a8fef5daa3e76f7967d3503d412c955d553 | 12,996 | py | Python | tests/test_data_version_handler.py | JohannesBrand/ecl_ekf_analysis | 9d0f3875767f94c5a37a676161e42b2e14589e8f | [
"BSD-3-Clause"
] | null | null | null | tests/test_data_version_handler.py | JohannesBrand/ecl_ekf_analysis | 9d0f3875767f94c5a37a676161e42b2e14589e8f | [
"BSD-3-Clause"
] | null | null | null | tests/test_data_version_handler.py | JohannesBrand/ecl_ekf_analysis | 9d0f3875767f94c5a37a676161e42b2e14589e8f | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python3
"""
Testing the data version handler.
"""
import os
import pytest
from pyulog import ULog
import ecl_ekf_analysis.log_processing.data_version_handler as dvh
@pytest.fixture(scope="module")
def testing_args():
"""
arguments for testing.
:return: test arguments
"""
flight_log... | 58.278027 | 99 | 0.720914 | 1,693 | 12,996 | 5.004135 | 0.064973 | 0.183782 | 0.319169 | 0.217186 | 0.897781 | 0.890227 | 0.877715 | 0.750118 | 0.300637 | 0.116737 | 0 | 0.015558 | 0.124577 | 12,996 | 222 | 100 | 58.540541 | 0.729103 | 0.028393 | 0 | 0.052632 | 0 | 0 | 0.558117 | 0.104268 | 0 | 0 | 0 | 0 | 0.047368 | 1 | 0.021053 | false | 0 | 0.021053 | 0 | 0.047368 | 0.005263 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
411ddf25efd589974ec09e1e07b096a864eeffd8 | 3,288 | py | Python | deep_utils/vision/face_detection/mtcnn/tf/src/get_nets.py | dornasabet/deep_utils | be61b36ea5b3219831e9f2a364fbd4a63858abed | [
"MIT"
] | 36 | 2021-11-10T05:17:18.000Z | 2022-03-27T18:25:10.000Z | deep_utils/vision/face_detection/mtcnn/tf/src/get_nets.py | MenuaB/deep_utils | b1b936f4780ea7dc52224f53f5116288c5b0a804 | [
"MIT"
] | 15 | 2021-07-24T06:23:04.000Z | 2021-09-18T05:30:20.000Z | deep_utils/vision/face_detection/mtcnn/tf/src/get_nets.py | MenuaB/deep_utils | b1b936f4780ea7dc52224f53f5116288c5b0a804 | [
"MIT"
] | 4 | 2021-11-28T07:39:57.000Z | 2022-03-30T05:46:10.000Z | def ONet(weight_path='onet.h5'):
from tensorflow.keras.layers import Conv2D, Input, MaxPool2D, Flatten, Dense, Permute, PReLU
from tensorflow.keras.models import Model
input = Input(shape=[48, 48, 3])
x = Conv2D(32, (3, 3), strides=1, padding='valid', name='conv1')(input)
x = PReLU(shared_axes=[1, 2... | 46.309859 | 106 | 0.631083 | 513 | 3,288 | 3.974659 | 0.1423 | 0.027464 | 0.073565 | 0.098087 | 0.833252 | 0.822952 | 0.822952 | 0.731241 | 0.719961 | 0.702795 | 0 | 0.066863 | 0.172141 | 3,288 | 70 | 107 | 46.971429 | 0.682219 | 0.020073 | 0 | 0.483871 | 0 | 0 | 0.087267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0 | 0.096774 | 0 | 0.193548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f5aafa35e68a765d8013610d33f512215aba2b2a | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/util/ssltransport.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/util/ssltransport.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/util/ssltransport.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/17/f5/27/70e5c671cf8c81e5854c0d47e100adfd144d41745b17aa278dedd2c876 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eb1873892d4386ce08ec973bae5ddaf10dfd0822 | 32,075 | py | Python | migrations/versions/2020-08-30_postgres_indexes_de48fc5206e4.py | onecrayon/api.ashes.live | 72709fb4e53220aa9b48749a51f5b834ebb2ca42 | [
"0BSD"
] | 11 | 2020-09-13T16:49:21.000Z | 2021-07-29T06:17:58.000Z | migrations/versions/2020-08-30_postgres_indexes_de48fc5206e4.py | onecrayon/api.ashes.live | 72709fb4e53220aa9b48749a51f5b834ebb2ca42 | [
"0BSD"
] | 49 | 2020-09-11T05:23:02.000Z | 2022-03-02T18:31:00.000Z | migrations/versions/2020-08-30_postgres_indexes_de48fc5206e4.py | onecrayon/api.ashes.live | 72709fb4e53220aa9b48749a51f5b834ebb2ca42 | [
"0BSD"
] | 1 | 2022-03-27T22:11:29.000Z | 2022-03-27T22:11:29.000Z | """postgres_indexes
Revision ID: de48fc5206e4
Revises: c58a815a71a0
Create Date: 2020-08-30 17:13:43.204983+00:00
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = "de48fc5206e4"
down_revision = "c58a815a71a0"
branch_labe... | 38.367225 | 88 | 0.654653 | 4,315 | 32,075 | 4.413905 | 0.042178 | 0.065526 | 0.076447 | 0.052504 | 0.945395 | 0.924551 | 0.88596 | 0.833666 | 0.724929 | 0.644282 | 0 | 0.036095 | 0.193266 | 32,075 | 835 | 89 | 38.413174 | 0.699954 | 0.011473 | 0 | 0.456654 | 0 | 0 | 0.393835 | 0.185102 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002442 | false | 0 | 0.003663 | 0 | 0.006105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de8f12d11c5e2b1e75e9e47669f2a8569398e899 | 279 | py | Python | PythonScript/models.py | Arsennnic/OpenVHead | 27d3b890f04c1be321c8d56e79554cae7206ae0a | [
"MIT"
] | null | null | null | PythonScript/models.py | Arsennnic/OpenVHead | 27d3b890f04c1be321c8d56e79554cae7206ae0a | [
"MIT"
] | null | null | null | PythonScript/models.py | Arsennnic/OpenVHead | 27d3b890f04c1be321c8d56e79554cae7206ae0a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 26 16:19:20 2020
@author: Hawk Shaw
"""
class Model():
def __init__(self, feature_points):
self.feature_points = feature_points
def foo(self):
# TODO: do something...
pass
| 15.5 | 44 | 0.598566 | 38 | 279 | 4.210526 | 0.815789 | 0.24375 | 0.2125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067308 | 0.25448 | 279 | 17 | 45 | 16.411765 | 0.701923 | 0.433692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a0e29f5baa59261ba7ca245a1bf2e4159b22f5b8 | 71 | py | Python | notebooks/lib/activation_functions/sigmoid.py | claclacla/Analyze-text-sentiment-The-machine-learning-approach | 6638b6f3d330d7618cee5980bc38abc6e84a43db | [
"MIT"
] | null | null | null | notebooks/lib/activation_functions/sigmoid.py | claclacla/Analyze-text-sentiment-The-machine-learning-approach | 6638b6f3d330d7618cee5980bc38abc6e84a43db | [
"MIT"
] | null | null | null | notebooks/lib/activation_functions/sigmoid.py | claclacla/Analyze-text-sentiment-The-machine-learning-approach | 6638b6f3d330d7618cee5980bc38abc6e84a43db | [
"MIT"
] | null | null | null | import numpy as np
def sigmoid(num):
return 1 / (1 + np.exp(-num)) | 17.75 | 33 | 0.619718 | 13 | 71 | 3.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.225352 | 71 | 4 | 33 | 17.75 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9d158eb4fe42822fee73a92f313022676038901b | 164 | py | Python | tests/basic/with.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | 124 | 2017-08-19T05:37:16.000Z | 2022-03-08T18:24:18.000Z | tests/basic/with.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | 15 | 2017-12-16T05:59:31.000Z | 2022-02-08T02:51:17.000Z | tests/basic/with.py | MoonStarCZW/py2rb | 89b247717d33d780fbf143e1583bfe9252984da4 | [
"MIT"
] | 18 | 2017-09-25T11:57:04.000Z | 2022-02-19T17:33:48.000Z | with open("hello.txt", 'w') as f:
f.write("Hello, world!")
with open("hello.txt", 'r') as f:
print(f.read())
with open("hello.txt", 'r'):
print('ok')
| 18.222222 | 33 | 0.54878 | 28 | 164 | 3.214286 | 0.464286 | 0.266667 | 0.433333 | 0.533333 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189024 | 164 | 8 | 34 | 20.5 | 0.676692 | 0 | 0 | 0 | 0 | 0 | 0.27439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
9d2aa63e47154382cafdd20eab87bb534ccd872b | 43 | py | Python | LiBis/test/test.py | biobai/LiBis | e334cd14de2d365943c2f4edbc36505901f01df1 | [
"MIT"
] | null | null | null | LiBis/test/test.py | biobai/LiBis | e334cd14de2d365943c2f4edbc36505901f01df1 | [
"MIT"
] | null | null | null | LiBis/test/test.py | biobai/LiBis | e334cd14de2d365943c2f4edbc36505901f01df1 | [
"MIT"
] | null | null | null | import os
print(os.path.abspath(__file__))
| 14.333333 | 32 | 0.790698 | 7 | 43 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 2 | 33 | 21.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9d3cfe2670fc3179c5b4900ed52840d18d720514 | 187 | py | Python | django/contrib/gis/gdal/base.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | django/contrib/gis/gdal/base.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | django/contrib/gis/gdal/base.py | Yoann-Vie/esgi-hearthstone | 115d03426c7e8e80d89883b78ac72114c29bed12 | [
"PSF-2.0",
"BSD-3-Clause"
] | null | null | null | from django.contrib.gis.gdal.error import GDALException
from django.contrib.gis.ptr import CPointerBase
class GDALBase(CPointerBase):
null_ptr_exception_class = GDALException
| 26.714286 | 56 | 0.807487 | 23 | 187 | 6.434783 | 0.608696 | 0.135135 | 0.22973 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13369 | 187 | 6 | 57 | 31.166667 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d5c09b937ea55139c86036d46503fa566b557d9 | 16,396 | py | Python | src/models.py | javierAraluce/ARAGAN | 5954cb8f5975b16b506ed33aaf842fc1cd715044 | [
"MIT"
] | 1 | 2022-02-02T20:06:15.000Z | 2022-02-02T20:06:15.000Z | src/models.py | javierAraluce/ARAGAN | 5954cb8f5975b16b506ed33aaf842fc1cd715044 | [
"MIT"
] | null | null | null | src/models.py | javierAraluce/ARAGAN | 5954cb8f5975b16b506ed33aaf842fc1cd715044 | [
"MIT"
] | null | null | null | import tensorflow as tf
from modules import Modules
from typing import Tuple
class Models(object):
def __init__(self,
img_height: int,
img_width: int,
output_channels: int,
batch_size: int):
self.blocks = Modules()
self.IMG_HEIG... | 38.669811 | 80 | 0.425714 | 1,443 | 16,396 | 4.686071 | 0.101178 | 0.053239 | 0.044218 | 0.070985 | 0.795031 | 0.743123 | 0.732919 | 0.732919 | 0.710145 | 0.699201 | 0 | 0.053138 | 0.492681 | 16,396 | 423 | 81 | 38.761229 | 0.759798 | 0.054038 | 0 | 0.758523 | 0 | 0 | 0.011769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019886 | false | 0 | 0.008523 | 0 | 0.048295 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c233e169a05d81a7a845d67c95ccd6b1fb89721b | 3,892 | py | Python | src/problems/3dknapsack/src/knapsack.py | samuelpsouza/Computer-Science | 55bb15de7927141b49d9f535e18cf552454e9ea8 | [
"Apache-2.0"
] | null | null | null | src/problems/3dknapsack/src/knapsack.py | samuelpsouza/Computer-Science | 55bb15de7927141b49d9f535e18cf552454e9ea8 | [
"Apache-2.0"
] | null | null | null | src/problems/3dknapsack/src/knapsack.py | samuelpsouza/Computer-Science | 55bb15de7927141b49d9f535e18cf552454e9ea8 | [
"Apache-2.0"
] | null | null | null | def knapsack_0_1(W, v, w):
p = MixedIntegerLinearProgram()
x = p.new_variable(integer=True, nonnegative=True)
p.set_objective(p.sum(x[i] * v[i] for i in range(len(v))))
p.add_constraint(p.sum(x[i] * w[i] for i in range(len(v))) <= W)
for i in range(len(v)):
p.add_constraint(x[i] <= 1)
... | 26.657534 | 70 | 0.562436 | 727 | 3,892 | 2.917469 | 0.093535 | 0.054691 | 0.082037 | 0.150401 | 0.855728 | 0.842527 | 0.818953 | 0.814239 | 0.789722 | 0.761433 | 0 | 0.0241 | 0.243063 | 3,892 | 146 | 71 | 26.657534 | 0.695859 | 0.008479 | 0 | 0.66 | 0 | 0 | 0.001037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09 | false | 0 | 0 | 0 | 0.12 | 0.08 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dfa8589eabb9c8bdbd49cafd213c738e54bcfac7 | 221 | py | Python | tccli/services/faceid/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/faceid/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/faceid/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.faceid.faceid_client import register_arg
from tccli.services.faceid.faceid_client import get_actions_info
from tccli.services.faceid.faceid_client import AVAILABLE_VERSION_LIST
| 44.2 | 70 | 0.841629 | 32 | 221 | 5.5625 | 0.53125 | 0.151685 | 0.286517 | 0.38764 | 0.691011 | 0.691011 | 0.691011 | 0 | 0 | 0 | 0 | 0.004902 | 0.076923 | 221 | 4 | 71 | 55.25 | 0.867647 | 0.095023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dfd762e474c88b37001500803f28ee7114768e9f | 92 | py | Python | dsaa/rsa.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | dsaa/rsa.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | dsaa/rsa.py | ntdgy/python_study | c3511846a89ea72418937de4cc3edf1595a46ec5 | [
"MIT"
] | null | null | null | # for i in range(1000):
# if 7 * i % 48 == 1:
# print(i)
print(pow(57, 7) % 65)
| 18.4 | 25 | 0.445652 | 17 | 92 | 2.411765 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 0.347826 | 92 | 4 | 26 | 23 | 0.466667 | 0.673913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a03c4bd55bc1ff5be909c4e186b3bf1ff9bfe018 | 46 | py | Python | VirginEurope/api/conf.py | fpeterek/VirginEuropeApp | 79418e5f6db0fd717001fff7fd89620c1e7cffc8 | [
"MIT"
] | null | null | null | VirginEurope/api/conf.py | fpeterek/VirginEuropeApp | 79418e5f6db0fd717001fff7fd89620c1e7cffc8 | [
"MIT"
] | null | null | null | VirginEurope/api/conf.py | fpeterek/VirginEuropeApp | 79418e5f6db0fd717001fff7fd89620c1e7cffc8 | [
"MIT"
] | null | null | null | class Conf:
url = 'http://127.0.0.1:8080'
| 15.333333 | 33 | 0.565217 | 9 | 46 | 2.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 0.195652 | 46 | 2 | 34 | 23 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a049c560a10df0b77b864102a6ff411e9aaab1c7 | 1,783 | py | Python | model_v3.py | vitorglemos/sentiment-analysis | 7ca3c7e3f97e503f573c35a49b3149fca67d1840 | [
"MIT"
] | 1 | 2021-05-07T16:22:18.000Z | 2021-05-07T16:22:18.000Z | model_v3.py | vitorglemos/sentiment-analysis | 7ca3c7e3f97e503f573c35a49b3149fca67d1840 | [
"MIT"
] | null | null | null | model_v3.py | vitorglemos/sentiment-analysis | 7ca3c7e3f97e503f573c35a49b3149fca67d1840 | [
"MIT"
] | null | null | null | num_features = 64
num_labels = 7
batch_size = 64
epochs = 100
width, height = 48, 48
model = Sequential()
model.add(Conv2D(num_features, kernel_size=(3, 3), activation='relu', input_shape=(width, height, 1), data_format='channels_last', kernel_regularizer=l2(0.01)))
model.add(Conv2D(num_features, kernel_size=(3, 3), ... | 37.145833 | 160 | 0.734717 | 280 | 1,783 | 4.567857 | 0.160714 | 0.193901 | 0.084441 | 0.131353 | 0.852228 | 0.841282 | 0.841282 | 0.834246 | 0.834246 | 0.802189 | 0 | 0.055689 | 0.063376 | 1,783 | 47 | 161 | 37.93617 | 0.71018 | 0 | 0 | 0.631579 | 0 | 0 | 0.051598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a06f95448803d86e62372ce7de9a80bb25060e9b | 78 | py | Python | cartoview/apps_handler/__init__.py | mofath/cartoview | 53f3891172686aaf4de296c3b1e2356aeba29d73 | [
"BSD-2-Clause"
] | 2 | 2021-12-29T02:18:01.000Z | 2021-12-29T02:18:02.000Z | cartoview/apps_handler/__init__.py | mofath/cartoview | 53f3891172686aaf4de296c3b1e2356aeba29d73 | [
"BSD-2-Clause"
] | null | null | null | cartoview/apps_handler/__init__.py | mofath/cartoview | 53f3891172686aaf4de296c3b1e2356aeba29d73 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from .utils import create_apps_dir
create_apps_dir()
| 15.6 | 34 | 0.705128 | 12 | 78 | 4.25 | 0.75 | 0.392157 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.141026 | 78 | 4 | 35 | 19.5 | 0.746269 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
263bc955cadae8558bbf13e70bdb08b31abe0a3e | 41 | py | Python | problems/biclique/__init__.py | Benezivas/algobattle-problems | b00b85413893bd1618001a4cdaa0dd7442f4e481 | [
"MIT"
] | null | null | null | problems/biclique/__init__.py | Benezivas/algobattle-problems | b00b85413893bd1618001a4cdaa0dd7442f4e481 | [
"MIT"
] | null | null | null | problems/biclique/__init__.py | Benezivas/algobattle-problems | b00b85413893bd1618001a4cdaa0dd7442f4e481 | [
"MIT"
] | null | null | null | from .problem import Biclique as Problem
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd638e9d5cc2ced2368475f472d34e3fcbd242f9 | 899 | py | Python | trim_model.py | kobewangSky/CenterNet | c7f001b1534064a1932b81df0c28c6197bec8375 | [
"MIT"
] | null | null | null | trim_model.py | kobewangSky/CenterNet | c7f001b1534064a1932b81df0c28c6197bec8375 | [
"MIT"
] | null | null | null | trim_model.py | kobewangSky/CenterNet | c7f001b1534064a1932b81df0c28c6197bec8375 | [
"MIT"
] | null | null | null | import os
import torch
os.environ["CUDA_VISIBLE_DEVICE"] = "1"
model = torch.load("./exp/ctdet/ctdet_coco_hg.pth")
del model['iteration']
del model['scheduler']
del model['optimizer']
del model['model']['module.roi_heads.box.predictor.cls_score.weight']
del model['model']['module.roi_heads.box.predictor.cls_score.bia... | 44.95 | 76 | 0.769744 | 142 | 899 | 4.690141 | 0.28169 | 0.156156 | 0.195195 | 0.285285 | 0.717718 | 0.717718 | 0.717718 | 0.678679 | 0.459459 | 0.441441 | 0 | 0.011628 | 0.043382 | 899 | 20 | 77 | 44.95 | 0.762791 | 0 | 0 | 0 | 0 | 0 | 0.653333 | 0.545556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
269cb65feabb699098d8c4ed019933e7998f85a5 | 2,275 | py | Python | openomics/genomics.py | muluayele999/OpenOmics | 29e3bbc586489c3929ac54d9886627f907aa38b1 | [
"MIT"
] | null | null | null | openomics/genomics.py | muluayele999/OpenOmics | 29e3bbc586489c3929ac54d9886627f907aa38b1 | [
"MIT"
] | 1 | 2021-12-13T20:51:32.000Z | 2021-12-13T20:51:32.000Z | openomics/genomics.py | muluayele999/OpenOmics | 29e3bbc586489c3929ac54d9886627f907aa38b1 | [
"MIT"
] | 1 | 2021-02-18T10:39:00.000Z | 2021-02-18T10:39:00.000Z | from openomics.database.annotation import Annotatable
from openomics.transcriptomics import ExpressionData
class SingleNucleotideVariants(ExpressionData, Annotatable):
pass
class SomaticMutation(ExpressionData, Annotatable):
def __init__(self, cohort_name, file_path, columns, genes_col_name, gene_index, samp... | 49.456522 | 118 | 0.634725 | 217 | 2,275 | 6.211982 | 0.179724 | 0.097923 | 0.080119 | 0.080119 | 0.810831 | 0.810831 | 0.810831 | 0.810831 | 0.810831 | 0.810831 | 0 | 0.007524 | 0.298901 | 2,275 | 45 | 119 | 50.555556 | 0.837618 | 0 | 0 | 0.611111 | 0 | 0 | 0.018462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.027778 | 0.055556 | 0.083333 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
26bf4b70079fb49c077099a6252b1ae85bcabc3f | 187 | py | Python | Lesson 3/task1.py | arechesk/PythonHW | e05e8c36ac208153c3cab0c512c803723760ed2d | [
"MIT"
] | null | null | null | Lesson 3/task1.py | arechesk/PythonHW | e05e8c36ac208153c3cab0c512c803723760ed2d | [
"MIT"
] | null | null | null | Lesson 3/task1.py | arechesk/PythonHW | e05e8c36ac208153c3cab0c512c803723760ed2d | [
"MIT"
] | null | null | null | def squares(*args):
return [i**2 for i in args]
def even_items(*args):
return args[::2]
def cubes(*args):
return [i**3 for i in filter(lambda x: x % 2 == 0, args[1::2])]
| 15.583333 | 67 | 0.57754 | 35 | 187 | 3.057143 | 0.485714 | 0.280374 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048951 | 0.235294 | 187 | 11 | 68 | 17 | 0.699301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
26d04e030b2173d3fa7d624da9a74c4c82a04ba9 | 4,884 | py | Python | tests/network/test_ipfilter.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 12 | 2020-08-27T19:56:02.000Z | 2022-03-08T03:23:43.000Z | tests/network/test_ipfilter.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 101 | 2020-07-24T08:23:00.000Z | 2021-11-17T13:37:45.000Z | tests/network/test_ipfilter.py | Degget1986/neo-mamba | da7312d5027f3e9b0e5421495d5c00915bdfd786 | [
"MIT"
] | 11 | 2021-02-11T22:24:13.000Z | 2021-11-18T06:45:03.000Z | import unittest
from neo3.network.ipfilter import IPFilter
class IPFilteringTestCase(unittest.TestCase):
def test_nobody_allowed(self):
filter = IPFilter()
filter.load_config({
'blacklist': [
'0.0.0.0/0'
],
'whitelist': [
]
})... | 29.96319 | 71 | 0.54484 | 578 | 4,884 | 4.472318 | 0.112457 | 0.044101 | 0.179884 | 0.044101 | 0.829014 | 0.825919 | 0.788781 | 0.784139 | 0.767892 | 0.731528 | 0 | 0.094395 | 0.305897 | 4,884 | 162 | 72 | 30.148148 | 0.668142 | 0.029894 | 0 | 0.671756 | 0 | 0 | 0.148954 | 0 | 0 | 0 | 0 | 0 | 0.282443 | 1 | 0.068702 | false | 0 | 0.015267 | 0 | 0.091603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f80d622b73f648482d12831fd72291cfc98ee57b | 26 | py | Python | sampling_free/modeling/generalized_rcnn/rpn/paa/__init__.py | ChenJoya/sampling-free | 01dfd40cf794ee5afea4f052216483f3901ecd20 | [
"MIT"
] | 266 | 2019-09-26T07:03:48.000Z | 2022-02-23T13:26:16.000Z | sampling_free/modeling/generalized_rcnn/rpn/paa/__init__.py | chenjoya/sampling-free | 01dfd40cf794ee5afea4f052216483f3901ecd20 | [
"MIT"
] | 9 | 2019-10-24T00:41:49.000Z | 2021-12-31T01:26:08.000Z | sampling_free/modeling/generalized_rcnn/rpn/paa/__init__.py | chenjoya/sampling-free | 01dfd40cf794ee5afea4f052216483f3901ecd20 | [
"MIT"
] | 20 | 2019-11-07T10:03:18.000Z | 2021-11-13T14:03:31.000Z | from .paa import build_paa | 26 | 26 | 0.846154 | 5 | 26 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e072ff03a5fdcdb3278080f6b44ac147e1cf612 | 347 | py | Python | sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/__init__.py | gautam714/azure-sdk-for-python | 1741c199c42e8c85a2e14bc78195fd992837ef92 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/__init__.py | gautam714/azure-sdk-for-python | 1741c199c42e8c85a2e14bc78195fd992837ef92 | [
"MIT"
] | null | null | null | sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/__init__.py | gautam714/azure-sdk-for-python | 1741c199c42e8c85a2e14bc78195fd992837ef92 | [
"MIT"
] | null | null | null | # ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# -------------------------------------
from .client import KeyClient
from .enums import JsonWebKeyCurveName, JsonWebKeyOperation, JsonWebKeyType
__all__ = ["JsonWebKeyCurveName", "JsonWebKeyOperation", "Jso... | 38.555556 | 87 | 0.622478 | 24 | 347 | 8.833333 | 0.75 | 0.358491 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092219 | 347 | 8 | 88 | 43.375 | 0.673016 | 0.412104 | 0 | 0 | 0 | 0 | 0.306533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e4c2ea5d22398954563b0c55718d5daab1aa317 | 31 | py | Python | mopet/__init__.py | caglorithm/mopet | f0b8a6f163ec5160b5d5e335f09eac0aae83bcba | [
"MIT"
] | 15 | 2020-03-13T03:43:51.000Z | 2021-02-25T14:58:35.000Z | mopet/__init__.py | caglorithm/mopet | f0b8a6f163ec5160b5d5e335f09eac0aae83bcba | [
"MIT"
] | 28 | 2020-04-20T19:48:12.000Z | 2021-02-16T11:31:12.000Z | mopet/__init__.py | caglorithm/mopet | f0b8a6f163ec5160b5d5e335f09eac0aae83bcba | [
"MIT"
] | 2 | 2020-05-06T19:48:41.000Z | 2020-05-28T07:00:10.000Z | from .mopet import Exploration
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4b6af73cc746f4479c6bc40a829a5ec17e679b3 | 146 | py | Python | upgrade.py | brighthive/data-resource-api | a012fc0743f1ce2b72ddacf348c57adf44245cfa | [
"MIT"
] | 4 | 2019-02-14T01:07:54.000Z | 2019-11-04T17:28:35.000Z | upgrade.py | brighthive/data-resource-api | a012fc0743f1ce2b72ddacf348c57adf44245cfa | [
"MIT"
] | 39 | 2019-05-30T22:08:46.000Z | 2022-02-17T02:47:00.000Z | upgrade.py | brighthive/data-resource-api | a012fc0743f1ce2b72ddacf348c57adf44245cfa | [
"MIT"
] | 1 | 2020-04-29T18:16:20.000Z | 2020-04-29T18:16:20.000Z | import sys
if "--upgrade-104-to-110" in sys.argv:
from data_resource_api.backwards_compatibility.upgrade_104_to_110 import main
main()
| 18.25 | 81 | 0.760274 | 23 | 146 | 4.565217 | 0.695652 | 0.190476 | 0.228571 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.150685 | 146 | 7 | 82 | 20.857143 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
904418936dc36010514bb2d1610f7d9c55a1110f | 202 | py | Python | lcp/__init__.py | thomaspingel/lcpy | 6bf2893010d1dad5ad783d7c4f0351166425a1a7 | [
"MIT"
] | null | null | null | lcp/__init__.py | thomaspingel/lcpy | 6bf2893010d1dad5ad783d7c4f0351166425a1a7 | [
"MIT"
] | null | null | null | lcp/__init__.py | thomaspingel/lcpy | 6bf2893010d1dad5ad783d7c4f0351166425a1a7 | [
"MIT"
] | null | null | null | from .lcp import get_linear_routes, get_areal_routes, cost_tobler_hiking_function, cost_rademaker, cost_pingel_exponential, direct_routes, create_raster_network, get_lists, lcp_coordinate_conversion, ve | 202 | 202 | 0.891089 | 29 | 202 | 5.655172 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 202 | 1 | 202 | 202 | 0.863158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f90f9c88e4d7dda72dd917f7a622a0bfacf1cec | 25 | py | Python | tests/__init__.py | edwar64896/pycmx | 566e6257f460a62f2838e6159a75979a2e642d78 | [
"MIT"
] | 10 | 2019-11-18T08:31:40.000Z | 2021-09-21T22:47:29.000Z | tests/__init__.py | edwar64896/pycmx | 566e6257f460a62f2838e6159a75979a2e642d78 | [
"MIT"
] | 4 | 2018-12-01T22:00:19.000Z | 2018-12-29T22:08:44.000Z | tests/__init__.py | edwar64896/pycmx | 566e6257f460a62f2838e6159a75979a2e642d78 | [
"MIT"
] | 3 | 2019-12-07T06:28:29.000Z | 2021-06-24T15:00:53.000Z | from . import test_parse
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5fafaaeb2a1c44205fb94ee799def6777517f744 | 8,752 | py | Python | main.py | avara1986/pogona-api | 3d99083a94e50e9a8cc86ef07971ffde586c7b4d | [
"MIT"
] | null | null | null | main.py | avara1986/pogona-api | 3d99083a94e50e9a8cc86ef07971ffde586c7b4d | [
"MIT"
] | null | null | null | main.py | avara1986/pogona-api | 3d99083a94e50e9a8cc86ef07971ffde586c7b4d | [
"MIT"
] | null | null | null | from google.appengine.api import mail
from google.appengine.ext import db
from webapp2_extras import json
import os
import jinja2
import webapp2
JINJA_ENVIRONMENT = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
extensions=['jinja2.ext.autoescape'],
autoescape=True)
class... | 32.414815 | 98 | 0.497715 | 874 | 8,752 | 4.924485 | 0.136156 | 0.078067 | 0.075046 | 0.069703 | 0.797862 | 0.797862 | 0.758829 | 0.740706 | 0.721654 | 0.707714 | 0 | 0.006453 | 0.380256 | 8,752 | 269 | 99 | 32.535316 | 0.787058 | 0 | 0 | 0.731915 | 0 | 0 | 0.180187 | 0.063643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.025532 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
396be05b7f8cebf952d282e3c3765232e1718e9f | 218 | py | Python | modules/ranking/models/annotations_ranking.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | modules/ranking/models/annotations_ranking.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | 11 | 2019-11-12T23:26:45.000Z | 2021-06-10T17:37:23.000Z | modules/ranking/models/annotations_ranking.py | heolin123/funcrowd | 20167783de208394c09ed0429a5f02ec6dd79c42 | [
"MIT"
] | null | null | null | from modules.ranking.models.ranking import Ranking
from modules.ranking.query.base import ANNOTATIONS_COUNT_RANKING_BASE_QUERY
class AnnotationsRanking(Ranking):
BASE_QUERY = ANNOTATIONS_COUNT_RANKING_BASE_QUERY
| 31.142857 | 75 | 0.866972 | 28 | 218 | 6.428571 | 0.392857 | 0.183333 | 0.266667 | 0.3 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087156 | 218 | 6 | 76 | 36.333333 | 0.904523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39c7cc08c26ff4f0eabac39ed15941f62acbc26a | 35 | py | Python | airesources/ML-StarterBot-Python/tsmlstarterbot/__init__.py | xinnosuke/Halite-II | 99646c186bd6939460d451ef78d7af89fec6b1e1 | [
"MIT"
] | 232 | 2017-09-11T14:28:41.000Z | 2022-01-19T10:26:07.000Z | airesources/ML-StarterBot-Python/tsmlstarterbot/__init__.py | xinnosuke/Halite-II | 99646c186bd6939460d451ef78d7af89fec6b1e1 | [
"MIT"
] | 302 | 2017-09-13T04:46:25.000Z | 2018-09-06T22:14:06.000Z | airesources/ML-StarterBot-Python/tsmlstarterbot/__init__.py | xinnosuke/Halite-II | 99646c186bd6939460d451ef78d7af89fec6b1e1 | [
"MIT"
] | 151 | 2017-09-11T21:03:07.000Z | 2020-11-28T04:58:55.000Z | from tsmlstarterbot.bot import Bot
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39eca4e5e6002f3be43814fdc46adb6ddc285c0b | 116 | py | Python | blog/views/api.py | zzlhr/django-blog | 5f85116c1be7eeeb85291ab882e1284ca5abe724 | [
"MIT"
] | 2 | 2018-11-02T01:37:46.000Z | 2019-04-20T02:35:28.000Z | blog/views/api.py | zzlhr/django-blog | 5f85116c1be7eeeb85291ab882e1284ca5abe724 | [
"MIT"
] | 1 | 2018-11-02T05:19:50.000Z | 2018-11-02T05:19:50.000Z | blog/views/api.py | zzlhr/django-blog | 5f85116c1be7eeeb85291ab882e1284ca5abe724 | [
"MIT"
] | null | null | null | from django.http import JsonResponse
def index(request):
return JsonResponse({"name": "lhr", "sex": "nan"})
| 14.5 | 54 | 0.672414 | 14 | 116 | 5.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 7 | 55 | 16.571429 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f2ccf256d84da42a5a1b65a78da94f658fb6ea3d | 2,453 | py | Python | crfill/util/gradient_norm.py | node21challenge/rank2_node21_generation | 6c1708468b4ba48383c55bc8473ebcc5a83b8995 | [
"Apache-2.0"
] | null | null | null | crfill/util/gradient_norm.py | node21challenge/rank2_node21_generation | 6c1708468b4ba48383c55bc8473ebcc5a83b8995 | [
"Apache-2.0"
] | null | null | null | crfill/util/gradient_norm.py | node21challenge/rank2_node21_generation | 6c1708468b4ba48383c55bc8473ebcc5a83b8995 | [
"Apache-2.0"
] | 1 | 2022-02-11T12:42:21.000Z | 2022-02-11T12:42:21.000Z | from __future__ import annotations
import math
import torch
def weight_norm(parameters: Union[Iterable[torch.Tensor], torch.Tensor],
norm_type: Optional[Union[float, int]] = 2) -> float:
"""Compute global norm of an iterable of parameters.
The norm is computed over all tensors together, as if ... | 40.213115 | 111 | 0.643294 | 344 | 2,453 | 4.462209 | 0.223837 | 0.087948 | 0.019544 | 0.052117 | 0.816938 | 0.788274 | 0.788274 | 0.754397 | 0.754397 | 0.754397 | 0 | 0.005006 | 0.26702 | 2,453 | 61 | 112 | 40.213115 | 0.848721 | 0.405218 | 0 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.090909 | 0 | 0.242424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
842fcb4c0329d27ded6aaa565e0125e108d18c8c | 45 | py | Python | ipchange/moxa/__init__.py | cowanml/ipchange | 622bdfb456de1b02a604ab71c5a6c66e5a840679 | [
"BSD-3-Clause"
] | null | null | null | ipchange/moxa/__init__.py | cowanml/ipchange | 622bdfb456de1b02a604ab71c5a6c66e5a840679 | [
"BSD-3-Clause"
] | 2 | 2020-10-08T16:53:27.000Z | 2021-01-07T15:31:47.000Z | ipchange/moxa/__init__.py | cowanml/ipchange | 622bdfb456de1b02a604ab71c5a6c66e5a840679 | [
"BSD-3-Clause"
] | 2 | 2021-01-05T14:29:17.000Z | 2021-02-08T17:05:30.000Z | # flake8: noqa
from .moxa import MoxaHTTP_2_2 | 22.5 | 30 | 0.8 | 8 | 45 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.133333 | 45 | 2 | 30 | 22.5 | 0.794872 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8436993eff57bb66969ae7696ee4288195dad665 | 4,672 | py | Python | PyBank/main.py | myanaga87/python-challenge | 11575b534c4c3c9cc25225dd79bc9c8c81e7c9ff | [
"MIT"
] | null | null | null | PyBank/main.py | myanaga87/python-challenge | 11575b534c4c3c9cc25225dd79bc9c8c81e7c9ff | [
"MIT"
] | null | null | null | PyBank/main.py | myanaga87/python-challenge | 11575b534c4c3c9cc25225dd79bc9c8c81e7c9ff | [
"MIT"
] | null | null | null | #import module
import os
import csv
csvpath = os.path.join("C:/", "Users", "Yanagam", "Desktop", "DataScience", "NUCHI201801DATA4-Class-Repository-DATA", "MWS", "Homework", "03-Python", "Instructions", "PyBank", "raw_data", "budget_data_1.csv")
#set empty lists
months = []
revenue = []
#read the csv
with ... | 33.855072 | 209 | 0.637414 | 557 | 4,672 | 5.321364 | 0.179533 | 0.054656 | 0.035088 | 0.051282 | 0.869096 | 0.869096 | 0.807692 | 0.765857 | 0.735493 | 0.735493 | 0 | 0.012534 | 0.214469 | 4,672 | 138 | 210 | 33.855072 | 0.795095 | 0.187928 | 0 | 0.631579 | 0 | 0 | 0.298955 | 0.062981 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 0.184211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ffcba10ca518a9ce53b2c30788893e3abafbf97a | 98 | py | Python | ABC_A/ABC196_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ABC_A/ABC196_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ABC_A/ABC196_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | a, b = map(int, input().split())
c, d = map(int, input().split())
print(max(a-c, a-d, b-c, b-d))
| 19.6 | 32 | 0.530612 | 22 | 98 | 2.363636 | 0.454545 | 0.230769 | 0.423077 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 4 | 33 | 24.5 | 0.626506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
ffdfca759f766aa951263cb79117736cf943e00c | 90 | py | Python | src/main/anovos/__main__.py | ziedbouf/anovos | 4cd149fe803f8cec7d49cf1d2ebff5abf6b362ce | [
"Apache-2.0"
] | 60 | 2021-11-15T22:30:57.000Z | 2022-03-31T08:13:27.000Z | src/main/anovos/__main__.py | ziedbouf/anovos | 4cd149fe803f8cec7d49cf1d2ebff5abf6b362ce | [
"Apache-2.0"
] | 62 | 2021-11-15T17:27:56.000Z | 2022-03-28T20:12:56.000Z | src/main/anovos/__main__.py | ziedbouf/anovos | 4cd149fe803f8cec7d49cf1d2ebff5abf6b362ce | [
"Apache-2.0"
] | 15 | 2021-11-17T19:39:47.000Z | 2022-03-30T18:20:33.000Z | import sys
from .workflow import run
run(config_path=sys.argv[1], run_type=sys.argv[2])
| 15 | 50 | 0.755556 | 17 | 90 | 3.882353 | 0.647059 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.111111 | 90 | 5 | 51 | 18 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f23cb6958125b355748fe0a1905cb9bfc48bc7af | 50 | py | Python | msp430/bsl/target/__main__.py | pvrs12/python-msp430-tools | bd9b1d55b43f884368eaef9dc537330882058fd9 | [
"BSD-3-Clause"
] | 15 | 2017-10-18T01:56:40.000Z | 2022-02-28T04:33:01.000Z | msp430/bsl/target/__main__.py | pvrs12/python-msp430-tools | bd9b1d55b43f884368eaef9dc537330882058fd9 | [
"BSD-3-Clause"
] | 3 | 2017-07-24T13:41:04.000Z | 2019-11-08T19:13:54.000Z | msp430/bsl/target/__main__.py | pvrs12/python-msp430-tools | bd9b1d55b43f884368eaef9dc537330882058fd9 | [
"BSD-3-Clause"
] | 8 | 2017-10-11T14:05:29.000Z | 2022-03-22T02:13:01.000Z | import msp430.bsl.target
msp430.bsl.target.main()
| 16.666667 | 24 | 0.8 | 8 | 50 | 5 | 0.625 | 0.45 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 0.06 | 50 | 2 | 25 | 25 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4bba45a4c64d5014576bd2e5dce5a74f95a31a3b | 262 | py | Python | backend/code/iep/grid/routing.py | socek/iep | 793e35ca5304eef7b7dacb5dd8d486622f497759 | [
"Apache-2.0"
] | null | null | null | backend/code/iep/grid/routing.py | socek/iep | 793e35ca5304eef7b7dacb5dd8d486622f497759 | [
"Apache-2.0"
] | null | null | null | backend/code/iep/grid/routing.py | socek/iep | 793e35ca5304eef7b7dacb5dd8d486622f497759 | [
"Apache-2.0"
] | null | null | null | def panel_times_routing(routing):
routing.add("iep.grid.views.PanelTimesView", "panel_times", "/conventions/{convention_uid}/panel_times")
routing.add("iep.grid.views.PanelTimeView", "panel_time", "/conventions/{convention_uid}/panel_times/{panel_uid}")
| 65.5 | 118 | 0.770992 | 33 | 262 | 5.848485 | 0.424242 | 0.207254 | 0.176166 | 0.176166 | 0.580311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 262 | 3 | 119 | 87.333333 | 0.784553 | 0 | 0 | 0 | 0 | 0 | 0.656489 | 0.576336 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bbc213e96db7d4448ba2a68ba04317ae706be10 | 55,862 | py | Python | 053_BlazePose/01_float32/02_pose_landmark_upper_body_tflite2h5_weight_int_fullint_float16_quant.py | komori556/PINTO_model_zoo | 47652dfc0b066e9a835a3d7c3555c25cb4dd6004 | [
"MIT"
] | 1 | 2021-03-07T06:31:11.000Z | 2021-03-07T06:31:11.000Z | 053_BlazePose/01_float32/02_pose_landmark_upper_body_tflite2h5_weight_int_fullint_float16_quant.py | mejimaru/PINTO_model_zoo | 0703bf1837d0d0e39f1d0dc9d523b6d8fa8145bd | [
"MIT"
] | null | null | null | 053_BlazePose/01_float32/02_pose_landmark_upper_body_tflite2h5_weight_int_fullint_float16_quant.py | mejimaru/PINTO_model_zoo | 0703bf1837d0d0e39f1d0dc9d523b6d8fa8145bd | [
"MIT"
] | null | null | null | ### tensorflow==2.3.0
### https://ai.googleblog.com/2020/08/on-device-real-time-body-pose-tracking.html
### https://google.github.io/mediapipe/solutions/pose
### https://www.tensorflow.org/api_docs/python/tf/keras/Model
### https://www.tensorflow.org/lite/guide/ops_compatibility
### https://www.tensorflow.org/api_do... | 67.222623 | 127 | 0.70821 | 7,819 | 55,862 | 4.77107 | 0.070725 | 0.018228 | 0.109208 | 0.169253 | 0.781933 | 0.77893 | 0.773489 | 0.760193 | 0.747889 | 0.625975 | 0 | 0.098626 | 0.137661 | 55,862 | 830 | 128 | 67.303614 | 0.675787 | 0.037807 | 0 | 0.031797 | 0 | 0 | 0.188214 | 0.170033 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00159 | false | 0 | 0.012719 | 0 | 0.014308 | 0.009539 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29d9c7e131b115d2fbfad30e830ab74096c8f7e3 | 30 | py | Python | models/__init__.py | Wangxy2180/Spike-FlowNet | 1531c2422fcc9286b07dee11c7fd7995e6696800 | [
"MIT"
] | 53 | 2020-07-21T01:13:08.000Z | 2022-02-22T08:55:41.000Z | models/__init__.py | Wangxy2180/Spike-FlowNet | 1531c2422fcc9286b07dee11c7fd7995e6696800 | [
"MIT"
] | 7 | 2020-08-12T15:36:36.000Z | 2022-02-22T21:21:34.000Z | models/__init__.py | Wangxy2180/Spike-FlowNet | 1531c2422fcc9286b07dee11c7fd7995e6696800 | [
"MIT"
] | 16 | 2020-09-18T06:30:41.000Z | 2022-02-15T18:07:18.000Z | from .FlowNetS_spike import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29e2c407cc9a0daed73d24bcadff9e6e8746a60d | 108 | py | Python | main.py | KooTQ/TitanicKaggle | 09cb13547498a90d1607d851291a9edbfe91633c | [
"MIT"
] | null | null | null | main.py | KooTQ/TitanicKaggle | 09cb13547498a90d1607d851291a9edbfe91633c | [
"MIT"
] | null | null | null | main.py | KooTQ/TitanicKaggle | 09cb13547498a90d1607d851291a9edbfe91633c | [
"MIT"
] | null | null | null |
def titanic_data_present():
print('Lets go!')
if __name__ == '__main__':
titanic_data_present()
| 12 | 27 | 0.666667 | 13 | 108 | 4.615385 | 0.769231 | 0.366667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 108 | 8 | 28 | 13.5 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a6890ab027c49e84e9f8f457fa80fcd79e8cf19 | 3,546 | py | Python | custom_components/ble_monitor/test/test_xiaogui_parser.py | avidit/home-assistant-config | c4ea82e7ea75f93ebfb1700b39df5ff9787843b7 | [
"MIT"
] | 383 | 2019-11-25T17:13:04.000Z | 2020-11-12T08:47:35.000Z | custom_components/ble_monitor/test/test_xiaogui_parser.py | scrambledleek/ha_hacs_ble_monitor | abafc7a34312e695667325dbe97c309f20dd1527 | [
"MIT"
] | 142 | 2019-11-25T21:29:27.000Z | 2020-11-12T16:58:01.000Z | custom_components/ble_monitor/test/test_xiaogui_parser.py | scrambledleek/ha_hacs_ble_monitor | abafc7a34312e695667325dbe97c309f20dd1527 | [
"MIT"
] | 65 | 2019-11-26T11:53:44.000Z | 2020-11-11T16:37:52.000Z | """The tests for the Xiaogui ble_parser."""
from ble_monitor.ble_parser import BleParser
class TestXiaogui:
"""Tests for the Xiaogui parser"""
def test_xiaogui_tzc4_stab(self):
"""Test Xiaogui parser for Xiaogui TZC4 (stabilized weight)."""
data_string = "043e1d0201030094e0e5295a5f1110ffc0a302... | 41.717647 | 88 | 0.656514 | 399 | 3,546 | 5.619048 | 0.165414 | 0.172614 | 0.234166 | 0.067797 | 0.788136 | 0.746209 | 0.713649 | 0.710972 | 0.676182 | 0.676182 | 0 | 0.103372 | 0.230682 | 3,546 | 84 | 89 | 42.214286 | 0.718475 | 0.12493 | 0 | 0.639344 | 0 | 0 | 0.208211 | 0.083415 | 0 | 0 | 0 | 0 | 0.639344 | 1 | 0.065574 | false | 0 | 0.016393 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8aaede5b971cb26479ca586d8b03c6568449e36e | 16 | py | Python | webrepl_cfg.py | HaBaLeS/MqttPixel | 26a6245a5ff787a3165b04d8bde89c39043de25d | [
"Beerware"
] | null | null | null | webrepl_cfg.py | HaBaLeS/MqttPixel | 26a6245a5ff787a3165b04d8bde89c39043de25d | [
"Beerware"
] | null | null | null | webrepl_cfg.py | HaBaLeS/MqttPixel | 26a6245a5ff787a3165b04d8bde89c39043de25d | [
"Beerware"
] | null | null | null | PASS = '1234'
| 5.333333 | 14 | 0.5 | 2 | 16 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0.3125 | 16 | 2 | 15 | 8 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8ac67d99c7103d403eb5726c83136772892d56ad | 34 | py | Python | UponorJnap/__init__.py | asev/py-uponor-jnap | a3fbc842bcfc4833bb4eb13945f3088d9d470317 | [
"MIT"
] | 1 | 2020-11-26T16:12:16.000Z | 2020-11-26T16:12:16.000Z | UponorJnap/__init__.py | asev/py-uponor-jnap | a3fbc842bcfc4833bb4eb13945f3088d9d470317 | [
"MIT"
] | 1 | 2021-09-17T17:50:15.000Z | 2021-09-17T17:50:15.000Z | UponorJnap/__init__.py | asev/py-uponor-jnap | a3fbc842bcfc4833bb4eb13945f3088d9d470317 | [
"MIT"
] | 2 | 2020-12-12T20:21:54.000Z | 2021-02-07T20:54:24.000Z | from .UponorJnap import UponorJnap | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76d8d833feb92392f5ccd140d930e2e075df0a8c | 5,105 | py | Python | oxyrhopus/datasets.py | bhoeckendorf/oxyrhopus | 0abc383fd2b3fcbe38a797e28198696178a19f8e | [
"Apache-2.0"
] | null | null | null | oxyrhopus/datasets.py | bhoeckendorf/oxyrhopus | 0abc383fd2b3fcbe38a797e28198696178a19f8e | [
"Apache-2.0"
] | null | null | null | oxyrhopus/datasets.py | bhoeckendorf/oxyrhopus | 0abc383fd2b3fcbe38a797e28198696178a19f8e | [
"Apache-2.0"
] | null | null | null | import os
from typing import Tuple, Optional
from dataclasses import dataclass
import torchvision
import torchvision.transforms as transforms
class CIFAR10:
def __init__(
self,
name: str = "CIFAR-10",
normalize_mean: Tuple[float,float,float] = (0.49139968, 0.48215841, 0.44... | 38.969466 | 120 | 0.635651 | 595 | 5,105 | 5.315966 | 0.141176 | 0.060702 | 0.037939 | 0.050585 | 0.888713 | 0.885236 | 0.87828 | 0.865634 | 0.865634 | 0.865634 | 0 | 0.078247 | 0.248972 | 5,105 | 130 | 121 | 39.269231 | 0.74674 | 0 | 0 | 0.588785 | 0 | 0 | 0.053869 | 0.025269 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037383 | false | 0 | 0.046729 | 0.009346 | 0.345794 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76e8ea51a1dbbc617498f000fe93e0bd04dcb2ac | 17,483 | py | Python | oauth2_provider/tests/test_scopes.py | sfx/django-oauth-toolkit | 08ce1d63bfad16905a7d9f758591c0e8c65706ec | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2016-10-17T15:52:39.000Z | 2016-10-17T15:52:39.000Z | oauth2_provider/tests/test_scopes.py | sfx/django-oauth-toolkit | 08ce1d63bfad16905a7d9f758591c0e8c65706ec | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | oauth2_provider/tests/test_scopes.py | sfx/django-oauth-toolkit | 08ce1d63bfad16905a7d9f758591c0e8c65706ec | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2016-01-20T18:11:05.000Z | 2016-01-20T18:11:05.000Z | from __future__ import unicode_literals
import json
from django.test import TestCase, RequestFactory
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import reverse
from .test_utils import TestCaseUtils
from ..compat import urlparse, parse_qs, get_user_model, urlencode
from ..mod... | 38.089325 | 110 | 0.642224 | 1,880 | 17,483 | 5.755319 | 0.08883 | 0.058133 | 0.040758 | 0.031885 | 0.82098 | 0.80647 | 0.800277 | 0.789926 | 0.786784 | 0.760628 | 0 | 0.010466 | 0.245782 | 17,483 | 458 | 111 | 38.172489 | 0.810102 | 0.085054 | 0 | 0.685358 | 0 | 0 | 0.178979 | 0.022238 | 0 | 0 | 0 | 0 | 0.056075 | 1 | 0.068536 | false | 0.028037 | 0.031153 | 0.012461 | 0.146417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76ede8e9b9b3456ead3fc1339497c5a668428c20 | 1,266 | py | Python | aetcd/__init__.py | mk-fg/aetcd | ad133dba914ed12e1c35ce4318de80b13626f4f6 | [
"Apache-2.0"
] | 2 | 2022-02-02T15:18:04.000Z | 2022-03-16T06:39:26.000Z | aetcd/__init__.py | mk-fg/aetcd | ad133dba914ed12e1c35ce4318de80b13626f4f6 | [
"Apache-2.0"
] | 6 | 2022-01-12T05:29:15.000Z | 2022-01-18T00:29:57.000Z | aetcd/__init__.py | mk-fg/aetcd | ad133dba914ed12e1c35ce4318de80b13626f4f6 | [
"Apache-2.0"
] | 2 | 2022-01-11T14:34:18.000Z | 2022-01-28T15:53:20.000Z | from .client import Alarm # noqa: F401
from .client import Client # noqa: F401
from .client import Status # noqa: F401
from .client import Transactions # noqa: F401
from .exceptions import ClientError # noqa: F401
from .exceptions import ConnectionFailedError # noqa: F401
from .exceptions import ConnectionTimeout... | 45.214286 | 61 | 0.765403 | 162 | 1,266 | 5.981481 | 0.222222 | 0.22291 | 0.321981 | 0.185759 | 0.604747 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077143 | 0.170616 | 1,266 | 27 | 62 | 46.888889 | 0.845714 | 0.233807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a0695db7309eb82a535c64861a8ef0618fc3eaf | 166 | py | Python | quark_core_api/context/__init__.py | arcticle/Quark | 17aa5b5869a9e9c7a04c1a371fef5998f33dc319 | [
"MIT"
] | null | null | null | quark_core_api/context/__init__.py | arcticle/Quark | 17aa5b5869a9e9c7a04c1a371fef5998f33dc319 | [
"MIT"
] | null | null | null | quark_core_api/context/__init__.py | arcticle/Quark | 17aa5b5869a9e9c7a04c1a371fef5998f33dc319 | [
"MIT"
] | null | null | null | from quark_core_api.context.core_context import CoreContext
from quark_core_api.context.context_objects import ApplicationContext, WorkspaceContext, ExperimentContext | 83 | 106 | 0.909639 | 20 | 166 | 7.25 | 0.55 | 0.124138 | 0.17931 | 0.22069 | 0.317241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054217 | 166 | 2 | 106 | 83 | 0.923567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a6ec33364afbd7b43ebbd59066cc66c75b66ab2 | 5,885 | py | Python | tests/test_e2e_ac.py | brennerm/uptimerobot-operator | 25cdca5ec06e15d05ddd5ed4b13b20082fbb8889 | [
"MIT"
] | 47 | 2021-02-03T06:59:17.000Z | 2022-03-30T03:44:43.000Z | tests/test_e2e_ac.py | brennerm/uptimerobot-operator | 25cdca5ec06e15d05ddd5ed4b13b20082fbb8889 | [
"MIT"
] | 19 | 2021-02-02T23:26:56.000Z | 2021-11-09T12:13:42.000Z | tests/test_e2e_ac.py | brennerm/uptimerobot-operator | 25cdca5ec06e15d05ddd5ed4b13b20082fbb8889 | [
"MIT"
] | 2 | 2021-06-09T02:24:46.000Z | 2021-08-15T06:45:20.000Z | import pytest
import kubernetes.client as k8s_client
import kubernetes.config as k8s_config
import sys
from .utils import namespace_handling, kopf_runner, NAMESPACE, DEFAULT_WAIT_TIME
import os
import time
sys.path.insert(0, os.path.abspath(os.path.join(
os.path.dirname(__file__), '../ur_operator')))
import ur_... | 34.617647 | 101 | 0.673917 | 791 | 5,885 | 4.707965 | 0.115044 | 0.038668 | 0.059076 | 0.064447 | 0.802632 | 0.795381 | 0.755102 | 0.73174 | 0.723684 | 0.723684 | 0 | 0.015702 | 0.210025 | 5,885 | 169 | 102 | 34.822485 | 0.78533 | 0 | 0 | 0.617886 | 0 | 0 | 0.095497 | 0 | 0 | 0 | 0 | 0 | 0.276423 | 1 | 0.089431 | false | 0 | 0.081301 | 0 | 0.178862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a646b7e3688fcf78e09d90b399a145cac2b7e13 | 14,471 | py | Python | tests/unit/game_pkchess/controller/damage.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | tests/unit/game_pkchess/controller/damage.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | tests/unit/game_pkchess/controller/damage.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from game.pkchess.character import Character, CharacterTemplate
from game.pkchess.controller import Damage, DamageCalculator
from game.pkchess.exception import (
DamageFalseNegativeError, DamageFalsePositiveError, DamageTypeInvalidError, DamageValueNegativeError,
SkillPowerNegativeError
)
from game.pkchess.flag... | 41.823699 | 116 | 0.617165 | 1,881 | 14,471 | 4.547049 | 0.062733 | 0.045598 | 0.041389 | 0.049106 | 0.888928 | 0.879574 | 0.833392 | 0.802058 | 0.763241 | 0.7443 | 0 | 0.069316 | 0.266257 | 14,471 | 345 | 117 | 41.944928 | 0.736203 | 0 | 0 | 0.641577 | 0 | 0 | 0.059291 | 0.014926 | 0 | 0 | 0 | 0 | 0.240143 | 1 | 0.064516 | false | 0 | 0.017921 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6aaef19251b14d55a35df97cb5761da962093167 | 377 | py | Python | jesse/strategies/Test09/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 3,999 | 2018-11-09T10:38:51.000Z | 2022-03-31T12:29:12.000Z | jesse/strategies/Test09/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 172 | 2020-04-16T16:19:08.000Z | 2022-03-28T13:28:55.000Z | jesse/strategies/Test09/__init__.py | noenfugler/jesse | 217a3168620a755c1a9576d9deb27105db7dccf8 | [
"MIT"
] | 495 | 2019-03-01T21:48:53.000Z | 2022-03-30T15:35:19.000Z | from jesse.strategies import Strategy
# test_stats_for_a_strategy_without_any_trades
class Test09(Strategy):
def should_long(self):
return False
def should_short(self):
return False
def go_long(self):
pass
def go_short(self):
pass
def should_cancel(self):
... | 16.391304 | 46 | 0.644562 | 48 | 377 | 4.8125 | 0.520833 | 0.17316 | 0.194805 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.289125 | 377 | 22 | 47 | 17.136364 | 0.854478 | 0.116711 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0.071429 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
6ada15f31aaaec9a9459464ce7bda154511fee1b | 11,540 | py | Python | colour/appearance/tests/test_hke.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 1,380 | 2015-01-10T12:30:33.000Z | 2022-03-30T10:19:57.000Z | colour/appearance/tests/test_hke.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 638 | 2015-01-02T10:49:05.000Z | 2022-03-29T10:16:22.000Z | colour/appearance/tests/test_hke.py | rift-labs-developer/colour | 15112dbe824aab0f21447e0db4a046a28a06f43a | [
"BSD-3-Clause"
] | 250 | 2015-01-21T15:27:19.000Z | 2022-03-30T10:23:58.000Z | # !/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Defines the unit tests for the :mod:`colour.appearance.hke` module.
"""
import numpy as np
import unittest
from itertools import permutations
from colour.appearance.hke import (
HelmholtzKohlrausch_effect_object_Nayatani1997,
HelmholtzKohlrausch_effect_lumino... | 32.507042 | 79 | 0.625997 | 1,285 | 11,540 | 5.320623 | 0.101946 | 0.010531 | 0.041685 | 0.106918 | 0.826386 | 0.819804 | 0.789966 | 0.755887 | 0.702209 | 0.648238 | 0 | 0.118581 | 0.27435 | 11,540 | 354 | 80 | 32.59887 | 0.697874 | 0.1513 | 0 | 0.674312 | 0 | 0 | 0.04168 | 0.02084 | 0 | 0 | 0 | 0 | 0.119266 | 1 | 0.055046 | false | 0 | 0.022936 | 0 | 0.09633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a7ff0d295413f771fd632178656b07d5f5bdabf | 35 | py | Python | framework/avalanche/benchmarks/generators/__init__.py | Mattdl/RehearsalRevealed | f9cd2548f6c6d3ff119b40fecdb0df6fcd1525f6 | [
"MIT"
] | 12 | 2021-04-16T15:49:59.000Z | 2022-02-27T18:04:58.000Z | framework/avalanche/benchmarks/generators/__init__.py | Mattdl/RehearsalRevealed | f9cd2548f6c6d3ff119b40fecdb0df6fcd1525f6 | [
"MIT"
] | null | null | null | framework/avalanche/benchmarks/generators/__init__.py | Mattdl/RehearsalRevealed | f9cd2548f6c6d3ff119b40fecdb0df6fcd1525f6 | [
"MIT"
] | 2 | 2021-06-22T04:11:52.000Z | 2021-11-12T03:27:18.000Z | from .scenario_generators import *
| 17.5 | 34 | 0.828571 | 4 | 35 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0aad40c7017a7691e592697f7d68a1e8a4a32f56 | 26,981 | py | Python | network/base_networks.py | aioz-ai/LDR_ALDK | 717f365e5d8ed36e4801ae66277c64501c48224b | [
"MIT"
] | 7 | 2021-04-18T16:11:28.000Z | 2022-03-07T10:19:51.000Z | network/base_networks.py | aioz-ai/LDR_ALDK | 717f365e5d8ed36e4801ae66277c64501c48224b | [
"MIT"
] | null | null | null | network/base_networks.py | aioz-ai/LDR_ALDK | 717f365e5d8ed36e4801ae66277c64501c48224b | [
"MIT"
] | 1 | 2022-03-31T15:54:27.000Z | 2022-03-31T15:54:27.000Z | """
Based networks for predicting displacements
Modified from
https://github.com/microsoft/Recursive-Cascaded-Networks/blob/master/network/base_networks.py
"""
import tensorflow as tf
import tflearn
from tensorflow.python.keras.layers.convolutional import UpSampling3D
from tflearn.initializations import normal
fro... | 41.766254 | 93 | 0.515474 | 3,641 | 26,981 | 3.713815 | 0.075254 | 0.007839 | 0.006656 | 0.0071 | 0.835305 | 0.820958 | 0.80321 | 0.772223 | 0.768747 | 0.748188 | 0 | 0.105748 | 0.327416 | 26,981 | 645 | 94 | 41.831008 | 0.639389 | 0.087951 | 0 | 0.694949 | 0 | 0 | 0.048831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.010101 | 0.012121 | 0.119192 | 0.00404 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ab3ef8e45dd8d9b73c8b2434a6938a03df6b23b | 17,438 | py | Python | tests/components/homekit/test_type_lights.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 1 | 2017-05-30T22:21:05.000Z | 2017-05-30T22:21:05.000Z | tests/components/homekit/test_type_lights.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 58 | 2020-08-03T07:33:02.000Z | 2022-03-31T06:02:05.000Z | tests/components/homekit/test_type_lights.py | tbarbette/core | 8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c | [
"Apache-2.0"
] | 1 | 2021-08-16T02:53:15.000Z | 2021-08-16T02:53:15.000Z | """Test different accessory types: Lights."""
from pyhap.const import HAP_REPR_AID, HAP_REPR_CHARS, HAP_REPR_IID, HAP_REPR_VALUE
from homeassistant.components.homekit.const import ATTR_VALUE
from homeassistant.components.homekit.type_lights import Light
from homeassistant.components.light import (
ATTR_BRIGHTNESS... | 32.964083 | 88 | 0.64801 | 2,420 | 17,438 | 4.315289 | 0.070661 | 0.053624 | 0.058987 | 0.076415 | 0.87743 | 0.853778 | 0.84085 | 0.815379 | 0.802739 | 0.772671 | 0 | 0.023589 | 0.256107 | 17,438 | 528 | 89 | 33.026515 | 0.781452 | 0.042379 | 0 | 0.578824 | 0 | 0 | 0.044206 | 0.001349 | 0 | 0 | 0 | 0 | 0.207059 | 1 | 0 | false | 0 | 0.018824 | 0 | 0.018824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0af5aa25aff9efb52be6a8079359b554f7f1bf07 | 1,012 | py | Python | tests/models/FNN_test.py | PandasCute/DeepCTR | bd5dc215e1c21bf12e6b5297d10f293c45e16c77 | [
"MIT"
] | 2 | 2019-08-09T16:57:57.000Z | 2019-08-10T02:21:17.000Z | tests/models/FNN_test.py | Gearchen/DeepCTR | bd5dc215e1c21bf12e6b5297d10f293c45e16c77 | [
"MIT"
] | null | null | null | tests/models/FNN_test.py | Gearchen/DeepCTR | bd5dc215e1c21bf12e6b5297d10f293c45e16c77 | [
"MIT"
] | 1 | 2019-08-09T16:33:27.000Z | 2019-08-09T16:33:27.000Z | import pytest
from deepctr.models import FNN
from ..utils import check_model, get_test_data
@pytest.mark.parametrize(
'sparse_feature_num,dense_feature_num',
[(1, 1), (3, 3)
]
)
def test_FNN(sparse_feature_num, dense_feature_num):
model_name = "FNN"
sample_size = 64
x, y, feature_dim_dict =... | 24.682927 | 80 | 0.698617 | 154 | 1,012 | 4.155844 | 0.266234 | 0.1875 | 0.15 | 0.196875 | 0.771875 | 0.771875 | 0.771875 | 0.771875 | 0.771875 | 0.609375 | 0 | 0.031592 | 0.186759 | 1,012 | 40 | 81 | 25.3 | 0.746051 | 0 | 0 | 0.482759 | 0 | 0 | 0.08498 | 0.071146 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.103448 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c3dfa87c7dbc621788e11355742e5e74e166890 | 9,443 | py | Python | tests/contracts/KT19VKNKqKDDunvwi4y2r6ugDhCcdhT2zG3c/test_michelson_coding_KT19VK.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2021-05-20T16:52:08.000Z | 2021-05-20T16:52:08.000Z | tests/contracts/KT19VKNKqKDDunvwi4y2r6ugDhCcdhT2zG3c/test_michelson_coding_KT19VK.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT19VKNKqKDDunvwi4y2r6ugDhCcdhT2zG3c/test_michelson_coding_KT19VK.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT19VK(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.9801 | 90 | 0.733983 | 880 | 9,443 | 7.563636 | 0.05 | 0.048377 | 0.074369 | 0.135216 | 0.963341 | 0.963341 | 0.963341 | 0.963341 | 0.947416 | 0.947416 | 0 | 0.053038 | 0.191359 | 9,443 | 200 | 91 | 47.215 | 0.818622 | 0 | 0 | 0.639053 | 0 | 0 | 0.316531 | 0.316531 | 0 | 0 | 0 | 0 | 0.159763 | 1 | 0.16568 | false | 0 | 0.023669 | 0 | 0.195266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c5ea02bea814d4da7c693ea4e65455ed295e22d | 76 | py | Python | bilgecode/apps/passage_planner/tests/__init__.py | BilgeCode/bilgecode.com | cbec5f60841d479d0b3b170936d0eb8aec2541da | [
"MIT"
] | null | null | null | bilgecode/apps/passage_planner/tests/__init__.py | BilgeCode/bilgecode.com | cbec5f60841d479d0b3b170936d0eb8aec2541da | [
"MIT"
] | null | null | null | bilgecode/apps/passage_planner/tests/__init__.py | BilgeCode/bilgecode.com | cbec5f60841d479d0b3b170936d0eb8aec2541da | [
"MIT"
] | null | null | null | from test_print import PrintTestCase
from test_200s import PageResponseTests | 38 | 39 | 0.907895 | 10 | 76 | 6.7 | 0.7 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.092105 | 76 | 2 | 39 | 38 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7ca05197fe3e5baae5ddc7cd51dd118582eaf33b | 2,615 | py | Python | users-backend/users/internal_api/tests/queries/test_search_users.py | pauloxnet/pycon | 82b6eff76dcc785865ea3ffd97a45e931c0add26 | [
"MIT"
] | 2 | 2017-07-18T21:51:25.000Z | 2017-12-23T11:08:39.000Z | users-backend/users/internal_api/tests/queries/test_search_users.py | pauloxnet/pycon | 82b6eff76dcc785865ea3ffd97a45e931c0add26 | [
"MIT"
] | 23 | 2017-07-18T20:22:38.000Z | 2018-01-05T05:45:15.000Z | users-backend/users/internal_api/tests/queries/test_search_users.py | pauloxnet/pycon | 82b6eff76dcc785865ea3ffd97a45e931c0add26 | [
"MIT"
] | 2 | 2017-07-18T21:27:33.000Z | 2017-07-18T22:07:03.000Z | from ward import test
from users.tests.api import internalapi_graphql_client
from users.tests.factories import user_factory
from users.tests.session import db
@test("search users")
async def _(
internalapi_graphql_client=internalapi_graphql_client,
db=db,
user_factory=user_factory,
):
internalapi_gra... | 30.764706 | 85 | 0.681836 | 318 | 2,615 | 5.418239 | 0.191824 | 0.102147 | 0.16715 | 0.109692 | 0.806152 | 0.774811 | 0.774811 | 0.774811 | 0.774811 | 0.774811 | 0 | 0.006121 | 0.187763 | 2,615 | 84 | 86 | 31.130952 | 0.805085 | 0 | 0 | 0.637681 | 0 | 0 | 0.258509 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0 | false | 0 | 0.057971 | 0 | 0.057971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ca36e374db567493a96c125e29fcd1e7c4f6824 | 817 | py | Python | Fourier Transform/ftpack/correlation.py | evgenyzhurko/DSP | 9a129da102ce0407ead77096abaa081462686f12 | [
"MIT"
] | null | null | null | Fourier Transform/ftpack/correlation.py | evgenyzhurko/DSP | 9a129da102ce0407ead77096abaa081462686f12 | [
"MIT"
] | null | null | null | Fourier Transform/ftpack/correlation.py | evgenyzhurko/DSP | 9a129da102ce0407ead77096abaa081462686f12 | [
"MIT"
] | null | null | null | from fft import fft, ifft
import numpy as np
def conv(y, z, n):
result = np.zeros(n)
for i in range(n):
k = i
for j in range(n):
result[i] += y[j] * z[k]
k -= 1
result[i] /= n
return result
def corr(y, z, n):
result = np.zeros(n)
for i in range(n)... | 17.382979 | 68 | 0.493268 | 148 | 817 | 2.655405 | 0.182432 | 0.030534 | 0.091603 | 0.071247 | 0.849873 | 0.849873 | 0.849873 | 0.849873 | 0.849873 | 0.70229 | 0 | 0.003817 | 0.358629 | 817 | 46 | 69 | 17.76087 | 0.746183 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cc83026fb969df03c3196710884a01d08986de7 | 64 | py | Python | src/startServer.py | ChrisChV/Binance-Manager | 840e83e5e5586022ed2b9a181342d32e1e973ab7 | [
"MIT"
] | null | null | null | src/startServer.py | ChrisChV/Binance-Manager | 840e83e5e5586022ed2b9a181342d32e1e973ab7 | [
"MIT"
] | null | null | null | src/startServer.py | ChrisChV/Binance-Manager | 840e83e5e5586022ed2b9a181342d32e1e973ab7 | [
"MIT"
] | null | null | null | import server.bm_server as bm_server
bm_server.initServer()
| 9.142857 | 36 | 0.796875 | 10 | 64 | 4.8 | 0.5 | 0.5 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 6 | 37 | 10.666667 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7cea4eaf81854678c42103c0ef875d122b8088d5 | 22,915 | py | Python | attacks/pgd_attack.py | wutong16/Adversarial_Long-Tail | ab2f3a792aede2bd2a3e57657c787ec542165be1 | [
"FSFAP"
] | 78 | 2021-04-05T15:58:03.000Z | 2022-03-30T02:42:42.000Z | attacks/pgd_attack.py | wutong16/Adversarial_Long-Tail | ab2f3a792aede2bd2a3e57657c787ec542165be1 | [
"FSFAP"
] | 1 | 2022-03-08T04:11:02.000Z | 2022-03-18T04:11:17.000Z | attacks/pgd_attack.py | wutong16/Adversarial_Long-Tail | ab2f3a792aede2bd2a3e57657c787ec542165be1 | [
"FSFAP"
] | 9 | 2021-04-13T09:51:51.000Z | 2022-03-09T02:45:20.000Z | from __future__ import print_function
from tqdm import tqdm
import numpy as np
from torch.autograd import Variable
import torch.optim as optim
from sklearn.metrics import recall_score
from models.backbones.resnet import *
from utils.data_utils import save_csv, CountMeter
from sklearn.metrics import classification_repor... | 39.372852 | 132 | 0.579577 | 2,979 | 22,915 | 4.24572 | 0.085935 | 0.019924 | 0.030361 | 0.012334 | 0.816967 | 0.78716 | 0.746047 | 0.726755 | 0.690544 | 0.683903 | 0 | 0.012606 | 0.279948 | 22,915 | 581 | 133 | 39.44062 | 0.753939 | 0.039974 | 0 | 0.714286 | 0 | 0.008658 | 0.0551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017316 | false | 0.002165 | 0.02381 | 0 | 0.062771 | 0.034632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cf65431b69b056e5179c10b7de515ca7e2c62a3 | 245 | py | Python | tests/test_postprocessors/test_plugins.py | kanderso-nrel/pytest-notebook | 40381be0963a8866d1a46994595844bbfb4e66c1 | [
"BSD-3-Clause"
] | 37 | 2019-08-10T20:09:38.000Z | 2022-03-01T22:17:59.000Z | tests/test_postprocessors/test_plugins.py | kanderso-nrel/pytest-notebook | 40381be0963a8866d1a46994595844bbfb4e66c1 | [
"BSD-3-Clause"
] | 15 | 2019-12-09T14:34:14.000Z | 2022-01-18T13:32:50.000Z | tests/test_postprocessors/test_plugins.py | kanderso-nrel/pytest-notebook | 40381be0963a8866d1a46994595844bbfb4e66c1 | [
"BSD-3-Clause"
] | 7 | 2020-04-14T10:57:15.000Z | 2022-02-10T09:18:30.000Z | from pytest_notebook.post_processors import document_processors
def test_documentation(file_regression):
"""Test all the plugins are loading, by generating combined documentation."""
file_regression.check(document_processors() + "\n")
| 35 | 81 | 0.795918 | 29 | 245 | 6.482759 | 0.758621 | 0.191489 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118367 | 245 | 6 | 82 | 40.833333 | 0.87037 | 0.289796 | 0 | 0 | 0 | 0 | 0.011905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6b491988f4573f40ec70d957e47975bfda5a91dc | 41 | py | Python | samples/src/main/resources/datasets/python/132.py | sritchie/kotlingrad | 8165ed1cd77220a5347c58cded4c6f2bcf22ee30 | [
"Apache-2.0"
] | 11 | 2020-12-19T01:19:44.000Z | 2021-12-25T20:43:33.000Z | src/main/resources/datasets/python/132.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | null | null | null | src/main/resources/datasets/python/132.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | 2 | 2021-01-25T07:59:20.000Z | 2021-08-07T07:13:49.000Z | def unaryOp6(a, b):
return ~a and -b
| 13.666667 | 20 | 0.585366 | 8 | 41 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.268293 | 41 | 2 | 21 | 20.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8656d92688d7f81e3845d9dd6345010db10ceede | 47,944 | py | Python | augur/metrics/issue/routes.py | computationalmystic/sengfs19-group8 | ef0c2c052aef5b936eba4eb83aeff36d6bf81db5 | [
"MIT"
] | 3 | 2019-10-31T19:07:48.000Z | 2019-11-20T23:14:15.000Z | augur/metrics/issue/routes.py | computationalmystic/sengfs19-group8 | ef0c2c052aef5b936eba4eb83aeff36d6bf81db5 | [
"MIT"
] | null | null | null | augur/metrics/issue/routes.py | computationalmystic/sengfs19-group8 | ef0c2c052aef5b936eba4eb83aeff36d6bf81db5 | [
"MIT"
] | null | null | null | from flask import Response
def create_issue_routes(server):
metrics = server._augur.metrics
"""
@api {get} /repo-groups/:repo_group_id/repos/:repo_id/issues_top_ten_number_of_assignees Issues New (Repo Group)
@apiName issues-top-ten-number-of-assignees
@apiGroup Evolution
@apiDescription Coun... | 48.47725 | 156 | 0.502461 | 4,695 | 47,944 | 5.015761 | 0.078807 | 0.032103 | 0.033632 | 0.02446 | 0.890441 | 0.866661 | 0.819525 | 0.806786 | 0.780585 | 0.766869 | 0 | 0.092898 | 0.385033 | 47,944 | 988 | 157 | 48.526316 | 0.705807 | 0 | 0 | 0.340426 | 0 | 0 | 0.216541 | 0.111278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0.021277 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
866f1900cd52c78a6a905ce527c504438bfefb0e | 36 | py | Python | lang/py/rfc/08/Graphics/Primitive/fill.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/rfc/08/Graphics/Primitive/fill.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/rfc/08/Graphics/Primitive/fill.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null |
def draw():
print('Fill draw')
| 9 | 22 | 0.555556 | 5 | 36 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 36 | 3 | 23 | 12 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
86d948b91fad29005cc6563a7e4f9a43bbbd3efc | 36,804 | py | Python | tests/v2/test_0118-numba-cpointers.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | null | null | null | tests/v2/test_0118-numba-cpointers.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | null | null | null | tests/v2/test_0118-numba-cpointers.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
import sys
import operator
import pytest # noqa: F401
import numpy as np # noqa: F401
import awkward as ak # noqa: F401
numba = pytest.importorskip("numba")
ak_numba_arrayview = pytest.importorskip("awkward._v2._connect.numba... | 26.120653 | 88 | 0.505326 | 5,587 | 36,804 | 3.219617 | 0.041883 | 0.03936 | 0.103513 | 0.15527 | 0.840727 | 0.793084 | 0.766177 | 0.726373 | 0.701968 | 0.654492 | 0 | 0.098611 | 0.301516 | 36,804 | 1,408 | 89 | 26.139205 | 0.60112 | 0.007526 | 0 | 0.559353 | 0 | 0 | 0.019059 | 0.000986 | 0 | 0 | 0 | 0 | 0.178058 | 1 | 0.123201 | false | 0 | 0.006295 | 0.076439 | 0.220324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8111d6fc3141fbccfa787685b995048a1b649a5b | 224 | py | Python | venv/lib/python3.6/site-packages/imutils/face_utils/__init__.py | Seifar/ChitAnalysis | 0580802c78b11766ba21e3929b8fa96f8f6a17f0 | [
"MIT"
] | 5 | 2017-11-15T10:33:42.000Z | 2021-11-16T02:21:31.000Z | venv/lib/python3.6/site-packages/imutils/face_utils/__init__.py | Seifar/ChitAnalysis | 0580802c78b11766ba21e3929b8fa96f8f6a17f0 | [
"MIT"
] | 13 | 2020-01-28T22:20:14.000Z | 2022-03-11T23:20:14.000Z | venv/lib/python3.6/site-packages/imutils/face_utils/__init__.py | Seifar/ChitAnalysis | 0580802c78b11766ba21e3929b8fa96f8f6a17f0 | [
"MIT"
] | 6 | 2017-11-30T00:34:20.000Z | 2021-05-20T02:58:02.000Z | # import the necessary packages
from .helpers import FACIAL_LANDMARKS_IDXS
from .helpers import rect_to_bb
from .helpers import shape_to_np
from .helpers import visualize_facial_landmarks
from .facealigner import FaceAligner | 37.333333 | 47 | 0.866071 | 32 | 224 | 5.8125 | 0.5 | 0.236559 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 224 | 6 | 48 | 37.333333 | 0.93 | 0.129464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4be6382ef486ae9fbcc3263e3233876122d70a7 | 151 | py | Python | microsim/risk_model_repository.py | jburke5/microsim | 4a484b9fe4fd0a4faf05150238fd79be4d8827f6 | [
"MIT"
] | null | null | null | microsim/risk_model_repository.py | jburke5/microsim | 4a484b9fe4fd0a4faf05150238fd79be4d8827f6 | [
"MIT"
] | 2 | 2021-05-17T21:19:09.000Z | 2021-06-02T20:20:13.000Z | microsim/risk_model_repository.py | jburke5/microsim | 4a484b9fe4fd0a4faf05150238fd79be4d8827f6 | [
"MIT"
] | 1 | 2020-05-18T02:12:58.000Z | 2020-05-18T02:12:58.000Z | class RiskModelRepository:
def __init__(self):
self._repository = {}
def get_model(self, name):
return self._repository[name]
| 21.571429 | 37 | 0.655629 | 16 | 151 | 5.75 | 0.625 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 151 | 6 | 38 | 25.166667 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d4c2444a1328f386f063242d74bdd95a98f73f88 | 3,207 | py | Python | lemur/tests/test_destinations.py | bunjiboys/lemur | b5fd8020055d8af07bd6f82f4dd38246dca8d0c5 | [
"Apache-2.0"
] | null | null | null | lemur/tests/test_destinations.py | bunjiboys/lemur | b5fd8020055d8af07bd6f82f4dd38246dca8d0c5 | [
"Apache-2.0"
] | 2 | 2020-04-03T09:28:20.000Z | 2020-04-04T04:56:35.000Z | lemur/tests/test_destinations.py | scriptsrc/lemur | 914de78576baf66d8f4c0365d8cedb27c6f70663 | [
"Apache-2.0"
] | null | null | null | import pytest
from lemur.destinations.views import * # noqa
from .vectors import VALID_ADMIN_HEADER_TOKEN, VALID_USER_HEADER_TOKEN
def test_destination_input_schema(client, destination_plugin, destination):
from lemur.destinations.schemas import DestinationInputSchema
input_data = {
'label': 'des... | 30.254717 | 114 | 0.714687 | 396 | 3,207 | 5.502525 | 0.146465 | 0.136301 | 0.073428 | 0.096374 | 0.800826 | 0.783846 | 0.783846 | 0.783846 | 0.783846 | 0.728316 | 0 | 0.031775 | 0.146243 | 3,207 | 105 | 115 | 30.542857 | 0.764061 | 0.001247 | 0 | 0.531646 | 0 | 0 | 0.059044 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 1 | 0.126582 | false | 0 | 0.050633 | 0 | 0.177215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4f7c84aadfb497f6816378c9d09b431d603b388 | 147 | py | Python | puzzle/main.py | bozzzzo/bedlam-solver | 148fc43f818818831c27a9e736ab0107bdbe595d | [
"Apache-2.0"
] | null | null | null | puzzle/main.py | bozzzzo/bedlam-solver | 148fc43f818818831c27a9e736ab0107bdbe595d | [
"Apache-2.0"
] | null | null | null | puzzle/main.py | bozzzzo/bedlam-solver | 148fc43f818818831c27a9e736ab0107bdbe595d | [
"Apache-2.0"
] | null | null | null | import box
from ipdb import launch_ipdb_on_exception
def main():
with launch_ipdb_on_exception():
b = box.Box()
box.find(b)
| 14.7 | 41 | 0.659864 | 22 | 147 | 4.136364 | 0.545455 | 0.21978 | 0.263736 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251701 | 147 | 9 | 42 | 16.333333 | 0.827273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
be00baa4788f4faddbdbbcbbe3de0a18cba4a17b | 2,019 | py | Python | ec2_compare/internal/instance_type/g3s.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/instance_type/g3s.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/instance_type/g3s.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Automatically generated
# pylint: disable=all
get = [{'SupportedArchitectures': ['x86_64'], 'SustainedClockSpeedInGhz': 2.7, 'DefaultVCpus': 4, 'DefaultCores': 2, 'DefaultThreadsPerCore': 2, 'ValidCores': [1, 2], 'ValidThreadsPerCore': [1, 2], 'SizeInMiB': 31232, 'EbsOptimizedSupport': 'default', 'EncryptionSupport... | 168.25 | 1,828 | 0.71471 | 169 | 2,019 | 8.514793 | 0.508876 | 0.005559 | 0.022238 | 0.070883 | 0.500347 | 0.500347 | 0.426685 | 0.426685 | 0.426685 | 0.426685 | 0 | 0.045777 | 0.091134 | 2,019 | 11 | 1,829 | 183.545455 | 0.73842 | 0.063398 | 0 | 0 | 1 | 0 | 0.64168 | 0.225412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
be0cc2abdf74c73e6851ec47b274cb5fd1624a8c | 38,357 | py | Python | pyscf/symm/test/test_geom.py | januseriksen/pyscf | d40f5b728b6e26766343388b2240ef023b71766d | [
"Apache-2.0"
] | 1 | 2021-01-07T15:26:49.000Z | 2021-01-07T15:26:49.000Z | pyscf/symm/test/test_geom.py | ghb24/pyscf | 5cd81a47fb67cdf81ad2837a1a857effd48c472f | [
"Apache-2.0"
] | null | null | null | pyscf/symm/test/test_geom.py | ghb24/pyscf | 5cd81a47fb67cdf81ad2837a1a857effd48c472f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2014-2020 The PySCF Developers. All Rights Reserved.
#
# 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
#
# U... | 38.980691 | 92 | 0.4863 | 5,350 | 38,357 | 3.41514 | 0.066168 | 0.021017 | 0.014778 | 0.05911 | 0.815062 | 0.791582 | 0.772372 | 0.741612 | 0.716326 | 0.696842 | 0 | 0.097906 | 0.315379 | 38,357 | 983 | 93 | 39.020346 | 0.597867 | 0.016868 | 0 | 0.568925 | 0 | 0 | 0.025337 | 0 | 0 | 0 | 0 | 0 | 0.204439 | 1 | 0.077103 | false | 0 | 0.008178 | 0.001168 | 0.100467 | 0.001168 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be22c5715e59d9f5dd514b4c19a398197efc9641 | 74 | py | Python | cyphercat/datadefs/__init__.py | arafin-lab/model_inversion_experiments | 8e491f22ae847d8d0f2f31caed6ad0078c9b6a49 | [
"Apache-2.0"
] | 101 | 2018-10-26T14:39:19.000Z | 2022-03-28T11:38:45.000Z | cyphercat/datadefs/__init__.py | zhampel/cyphercat | 4029ae8683b9056013e6424d8931afe79afa618e | [
"Apache-2.0"
] | 32 | 2018-10-10T23:02:04.000Z | 2019-11-11T21:30:57.000Z | cyphercat/datadefs/__init__.py | zhampel/cyphercat | 4029ae8683b9056013e6424d8931afe79afa618e | [
"Apache-2.0"
] | 49 | 2018-10-05T17:54:49.000Z | 2022-02-10T07:47:25.000Z | from .cyphercat_dataset import CCATDataset
from .voices_dataset import *
| 18.5 | 42 | 0.837838 | 9 | 74 | 6.666667 | 0.666667 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 3 | 43 | 24.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07b20eac0a9d7ee9730f45b0eb7f2ccb49f89b5f | 198 | py | Python | crm/admin.py | S0Imyr/projet12 | d71151fa9f960ff5e5b95074bacbde83d2d219c9 | [
"MIT"
] | 1 | 2021-09-03T10:37:06.000Z | 2021-09-03T10:37:06.000Z | crm/admin.py | S0Imyr/projet12 | d71151fa9f960ff5e5b95074bacbde83d2d219c9 | [
"MIT"
] | null | null | null | crm/admin.py | S0Imyr/projet12 | d71151fa9f960ff5e5b95074bacbde83d2d219c9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Client, Contract, Event, Status
admin.site.register(Client)
admin.site.register(Contract)
admin.site.register(Event)
admin.site.register(Status) | 28.285714 | 51 | 0.818182 | 28 | 198 | 5.785714 | 0.428571 | 0.222222 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075758 | 198 | 7 | 52 | 28.285714 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
07b5fe65c72d174245951119fd6e9e01266e209a | 31 | py | Python | noaa/__init__.py | exTerEX/noaa | d17364b7c500129e97ee4943e2bad9baf492df32 | [
"MIT"
] | null | null | null | noaa/__init__.py | exTerEX/noaa | d17364b7c500129e97ee4943e2bad9baf492df32 | [
"MIT"
] | 6 | 2022-02-07T16:09:42.000Z | 2022-03-21T19:56:44.000Z | noaa/__init__.py | exTerEX/noaa | d17364b7c500129e97ee4943e2bad9baf492df32 | [
"MIT"
] | null | null | null | import noaa.climate as climate
| 15.5 | 30 | 0.83871 | 5 | 31 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07c44ebbd1936a2609f524c563bc2ae806683ed9 | 22 | py | Python | spatial_autocorrelation/__init__.py | yatshunlee/spatial_autocorrelation | 88fec61637fe0da18e3e12390ab63e34b3cebb78 | [
"MIT"
] | null | null | null | spatial_autocorrelation/__init__.py | yatshunlee/spatial_autocorrelation | 88fec61637fe0da18e3e12390ab63e34b3cebb78 | [
"MIT"
] | 1 | 2021-11-26T06:47:43.000Z | 2021-11-26T06:47:43.000Z | spatial_autocorrelation/__init__.py | yatshunlee/spatial_autocorrelation | 88fec61637fe0da18e3e12390ab63e34b3cebb78 | [
"MIT"
] | null | null | null | from .moransI import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07c51a4af2b5c56bee579e2dd8e797e730b87dcb | 26 | py | Python | illuminate/__init__.py | sci-microscopy/illuminate_controller | 58e209691f60e0fdb1f04f8654f58bb27eaa72f6 | [
"BSD-3-Clause"
] | 2 | 2021-05-06T15:56:57.000Z | 2021-05-19T01:56:29.000Z | illuminate/__init__.py | sci-microscopy/illuminate_controller | 58e209691f60e0fdb1f04f8654f58bb27eaa72f6 | [
"BSD-3-Clause"
] | 1 | 2019-07-16T16:09:45.000Z | 2019-07-16T16:09:45.000Z | illuminate/__init__.py | zfphil/illuminate_controller | 58e209691f60e0fdb1f04f8654f58bb27eaa72f6 | [
"BSD-3-Clause"
] | null | null | null | from .illuminate import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07e162f6fff6f1c27307b26f57cc47c9efdba639 | 22 | py | Python | __init__.py | toni-heittola/pelican-bdates | 9b8ce3c8e02bb5e46b624597cd9b4dc49d3de946 | [
"MIT"
] | null | null | null | __init__.py | toni-heittola/pelican-bdates | 9b8ce3c8e02bb5e46b624597cd9b4dc49d3de946 | [
"MIT"
] | null | null | null | __init__.py | toni-heittola/pelican-bdates | 9b8ce3c8e02bb5e46b624597cd9b4dc49d3de946 | [
"MIT"
] | null | null | null | from .bdates import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
580237a1a39f240571350f964044c6755bdf5198 | 120 | py | Python | flask-skeleton/views/second_bp/second.py | x1ah/python-snippets | a7b9e10401bd9007d259bd418c0639a3607254e0 | [
"MIT"
] | null | null | null | flask-skeleton/views/second_bp/second.py | x1ah/python-snippets | a7b9e10401bd9007d259bd418c0639a3607254e0 | [
"MIT"
] | null | null | null | flask-skeleton/views/second_bp/second.py | x1ah/python-snippets | a7b9e10401bd9007d259bd418c0639a3607254e0 | [
"MIT"
] | null | null | null | # coding: utf-8
from flask_skeleton.views import second_bp
@second_bp.route('/test')
def test_s():
return 'test'
| 13.333333 | 42 | 0.708333 | 19 | 120 | 4.263158 | 0.789474 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.158333 | 120 | 8 | 43 | 15 | 0.792079 | 0.108333 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5806442cfbe53423fba65e091345627971617fb5 | 42 | py | Python | je_auto_control/utils/image/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | 9 | 2020-10-12T06:33:36.000Z | 2021-09-13T07:07:36.000Z | je_auto_control/utils/image/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | je_auto_control/utils/image/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | from je_auto_control.utils.image import *
| 21 | 41 | 0.833333 | 7 | 42 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58069f82f08936b5107b85617db38c980b5ddcee | 241,840 | py | Python | breathe/parser/compoundsuper.py | arwedus/breathe | 26844b77d805a93bd0df3e14a289d23adcf8ab19 | [
"BSD-3-Clause"
] | null | null | null | breathe/parser/compoundsuper.py | arwedus/breathe | 26844b77d805a93bd0df3e14a289d23adcf8ab19 | [
"BSD-3-Clause"
] | 1 | 2020-12-14T11:49:22.000Z | 2020-12-14T14:14:12.000Z | breathe/parser/compoundsuper.py | arwedus/breathe | 26844b77d805a93bd0df3e14a289d23adcf8ab19 | [
"BSD-3-Clause"
] | null | null | null | #
# Generated Thu Jun 11 18:44:25 2009 by generateDS.py.
#
import sys
import getopt
from xml.dom import minidom
from xml.dom import Node
#
# User methods
#
# Calls to the methods in these classes are generated by generateDS.py.
# You can replace these methods by re-implementing the following class
# in a module nam... | 41.00373 | 668 | 0.618467 | 25,252 | 241,840 | 5.689926 | 0.018098 | 0.03411 | 0.025236 | 0.038975 | 0.762469 | 0.718998 | 0.701173 | 0.673209 | 0.637519 | 0.631819 | 0 | 0.002552 | 0.270737 | 241,840 | 5,897 | 669 | 41.010683 | 0.812134 | 0.012281 | 0 | 0.712623 | 1 | 0 | 0.036512 | 0.000536 | 0 | 0 | 0 | 0 | 0 | 1 | 0.229006 | false | 0.01128 | 0.001253 | 0.047449 | 0.349508 | 0.000179 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed10f5bcd678411d0a79924195ba1e017c109d31 | 5,502 | py | Python | prodev-api/studioapp/urls.py | g90tony/pro-dev-project | fae815c21a43a23edfed8e016f044f814b7e67a6 | [
"MIT"
] | null | null | null | prodev-api/studioapp/urls.py | g90tony/pro-dev-project | fae815c21a43a23edfed8e016f044f814b7e67a6 | [
"MIT"
] | 1 | 2021-06-24T17:41:57.000Z | 2021-06-24T17:41:57.000Z | prodev-api/studioapp/urls.py | g90tony/pro-dev-project | fae815c21a43a23edfed8e016f044f814b7e67a6 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
#path('hello/', views.HelloView.as_view(), name='hello'),
path('api/manyusers/', views.ManyCreativeUsers.as_view(), name='manyusers'),
path('api/singleusers/', views... | 53.417476 | 107 | 0.70847 | 718 | 5,502 | 5.32312 | 0.115599 | 0.084772 | 0.065411 | 0.068027 | 0.863422 | 0.856358 | 0.835688 | 0.835688 | 0.835688 | 0.835688 | 0 | 0.012903 | 0.09851 | 5,502 | 102 | 108 | 53.941176 | 0.757661 | 0.125954 | 0 | 0 | 0 | 0 | 0.335702 | 0.228052 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065574 | 0 | 0.065574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed116ea448b24818c5f7c1d5b0f0b7efc1ea9742 | 43 | py | Python | waterbutler/providers/weko/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | null | null | null | waterbutler/providers/weko/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | 9 | 2018-04-13T04:57:46.000Z | 2019-08-20T13:58:02.000Z | waterbutler/providers/weko/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | 6 | 2018-09-29T13:49:26.000Z | 2022-01-27T04:35:12.000Z | from .provider import WEKOProvider # noqa
| 21.5 | 42 | 0.790698 | 5 | 43 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 1 | 43 | 43 | 0.944444 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed12e487ceb798d9200e94e28b6303d365cd20f3 | 195 | py | Python | tonic/explorations/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 350 | 2020-08-06T13:49:11.000Z | 2022-03-24T08:53:59.000Z | tonic/explorations/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 12 | 2020-08-07T02:21:58.000Z | 2021-05-20T11:50:44.000Z | tonic/explorations/__init__.py | Eyalcohenx/tonic | afc15c6fa23fed4f696f68f0acf961964b0172dc | [
"MIT"
] | 35 | 2020-08-06T16:53:40.000Z | 2021-12-17T06:01:09.000Z | from .noisy import NoActionNoise
from .noisy import NormalActionNoise
from .noisy import OrnsteinUhlenbeckActionNoise
__all__ = [NoActionNoise, NormalActionNoise, OrnsteinUhlenbeckActionNoise]
| 27.857143 | 74 | 0.861538 | 16 | 195 | 10.25 | 0.4375 | 0.164634 | 0.27439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097436 | 195 | 6 | 75 | 32.5 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed4689be0c01d21787cfa3eab459a50edb5c6817 | 168 | py | Python | benchmarking/benchmark_01_timeit.py | h-mayorquin/attractor_sequences | 885271f30d73a58a7aad83b55949e4e32ba0b45a | [
"MIT"
] | 1 | 2016-08-19T18:58:51.000Z | 2016-08-19T18:58:51.000Z | benchmarking/benchmark_01_timeit.py | h-mayorquin/attractor_sequences | 885271f30d73a58a7aad83b55949e4e32ba0b45a | [
"MIT"
] | null | null | null | benchmarking/benchmark_01_timeit.py | h-mayorquin/attractor_sequences | 885271f30d73a58a7aad83b55949e4e32ba0b45a | [
"MIT"
] | null | null | null | import pprint
import timeit
result = timeit.repeat('benchmark_running()', setup='from benchmark_01 import benchmark_running', number=1, repeat=1)
pprint.pprint(result) | 33.6 | 117 | 0.803571 | 23 | 168 | 5.73913 | 0.521739 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.083333 | 168 | 5 | 118 | 33.6 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.360947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
ed61af285c57fd7f82281d2d17b30870101420b1 | 5,756 | py | Python | scripts/commit_validation/commit_validation/tests/validators/test_copyright_header_validator.py | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | scripts/commit_validation/commit_validation/tests/validators/test_copyright_header_validator.py | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | scripts/commit_validation/commit_validation/tests/validators/test_copyright_header_validator.py | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | #
# Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
#
# SPDX-License-Identifier: Apache-2.0 OR MIT#
#
import unittest
from unittest.mock import patch, mock_open
from commit_validation.tests.mocks.mock_commit im... | 55.346154 | 228 | 0.6713 | 669 | 5,756 | 5.650224 | 0.177877 | 0.083333 | 0.068783 | 0.066138 | 0.76164 | 0.753439 | 0.742328 | 0.720106 | 0.720106 | 0.707937 | 0 | 0.006904 | 0.219944 | 5,756 | 103 | 229 | 55.883495 | 0.834967 | 0.034399 | 0 | 0.5375 | 0 | 0.0375 | 0.339459 | 0.035676 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0.1125 | 0.05 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ed71084b2fc2a2381b606e2562eaa740bff9f061 | 187 | py | Python | src/sage/rings/finite_rings/constructor.py | fredstro/sage | c936d2cda81ec7ec3552a3bdb29c994b40d1bb24 | [
"BSL-1.0"
] | null | null | null | src/sage/rings/finite_rings/constructor.py | fredstro/sage | c936d2cda81ec7ec3552a3bdb29c994b40d1bb24 | [
"BSL-1.0"
] | null | null | null | src/sage/rings/finite_rings/constructor.py | fredstro/sage | c936d2cda81ec7ec3552a3bdb29c994b40d1bb24 | [
"BSL-1.0"
] | null | null | null | from sage.misc.superseded import deprecation
deprecation(19941,"This module has been renamed to sage.rings.finite_rings.finite_field_constructor")
from finite_field_constructor import *
| 37.4 | 101 | 0.855615 | 26 | 187 | 5.961538 | 0.653846 | 0.141935 | 0.283871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02924 | 0.085562 | 187 | 4 | 102 | 46.75 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0.427807 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
71f51b2121bba21479fcfd7ba691bd55a3729e60 | 27 | py | Python | flTile/test/printRank.py | rpwagner/tiled-display | 52d135bc163360fe55ce5521784b0ef48a8c82c9 | [
"Apache-2.0"
] | 1 | 2020-12-11T17:11:45.000Z | 2020-12-11T17:11:45.000Z | flTile/test/printRank.py | rpwagner/tiled-display | 52d135bc163360fe55ce5521784b0ef48a8c82c9 | [
"Apache-2.0"
] | null | null | null | flTile/test/printRank.py | rpwagner/tiled-display | 52d135bc163360fe55ce5521784b0ef48a8c82c9 | [
"Apache-2.0"
] | null | null | null | import mpi
print mpi.rank
| 6.75 | 14 | 0.777778 | 5 | 27 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 3 | 15 | 9 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9c697d099b31d53468ae6e5a604cd05b1f15f7e9 | 53 | py | Python | tests/test_adls_feedexporter_storage.py | hanbei/scrapy-feedexporter-azure | 66046b76c87ee98f9477fe75063e7cf5763d6ff3 | [
"Apache-2.0"
] | null | null | null | tests/test_adls_feedexporter_storage.py | hanbei/scrapy-feedexporter-azure | 66046b76c87ee98f9477fe75063e7cf5763d6ff3 | [
"Apache-2.0"
] | null | null | null | tests/test_adls_feedexporter_storage.py | hanbei/scrapy-feedexporter-azure | 66046b76c87ee98f9477fe75063e7cf5763d6ff3 | [
"Apache-2.0"
] | 2 | 2021-10-07T07:18:28.000Z | 2021-10-13T12:07:46.000Z | import pytest
def test_answer():
assert 3 == 3
| 8.833333 | 18 | 0.641509 | 8 | 53 | 4.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.264151 | 53 | 5 | 19 | 10.6 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.