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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
deaac779860688359de12a6c954d1c5c707b8a6f | 12,985 | py | Python | tests/augmentation/test_transforms.py | techthiyanes/textacy | c7a5e1f881a3df63a89991accefcbd375ede5353 | [
"Apache-2.0"
] | null | null | null | tests/augmentation/test_transforms.py | techthiyanes/textacy | c7a5e1f881a3df63a89991accefcbd375ede5353 | [
"Apache-2.0"
] | null | null | null | tests/augmentation/test_transforms.py | techthiyanes/textacy | c7a5e1f881a3df63a89991accefcbd375ede5353 | [
"Apache-2.0"
] | null | null | null | from textacy.augmentation import transforms
from textacy.augmentation import utils as aug_utils
from textacy.types import AugTok
import pytest
@pytest.fixture(scope="module")
def aug_toks(doc_en):
return aug_utils.to_aug_toks(doc_en)
@pytest.mark.skipif(
aug_utils.concept_net.filepath is None,
reason="... | 40.451713 | 88 | 0.605853 | 1,877 | 12,985 | 3.907299 | 0.059137 | 0.169894 | 0.1009 | 0.064903 | 0.94396 | 0.939733 | 0.934551 | 0.934551 | 0.932642 | 0.931279 | 0 | 0.011774 | 0.29357 | 12,985 | 320 | 89 | 40.578125 | 0.787747 | 0.017482 | 0 | 0.825279 | 0 | 0 | 0.033247 | 0 | 0 | 0 | 0 | 0 | 0.200743 | 1 | 0.137546 | false | 0 | 0.01487 | 0.003717 | 0.185874 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ded0a4e990941c37d93014c7049360fcdac56d95 | 202 | py | Python | 18 Spring/4511W Intro to Artifical Intelligence/Homework/hw3/test_nq_csp.py | oway13/Schoolwork | 294f407c288ef532f8f187a6ee0bd9fd0e7559ab | [
"MIT"
] | null | null | null | 18 Spring/4511W Intro to Artifical Intelligence/Homework/hw3/test_nq_csp.py | oway13/Schoolwork | 294f407c288ef532f8f187a6ee0bd9fd0e7559ab | [
"MIT"
] | null | null | null | 18 Spring/4511W Intro to Artifical Intelligence/Homework/hw3/test_nq_csp.py | oway13/Schoolwork | 294f407c288ef532f8f187a6ee0bd9fd0e7559ab | [
"MIT"
] | null | null | null | from csp import *
import pytest
#backtracking_search(NQueensCSP(11))
#backtracking_search(NQueensCSP(20))
#min_conflicts(NQueensCSP(11))
min_conflicts(NQueensCSP(2000))
#min_conflicts(NQueensCSP(40))
| 20.2 | 36 | 0.811881 | 25 | 202 | 6.36 | 0.52 | 0.226415 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.064356 | 202 | 9 | 37 | 22.444444 | 0.777778 | 0.633663 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a0e923c22ef3a1e8b360428bc7cb37dbe236aeba | 7 | py | Python | package-test/spam-p2/spam/package1.py | plant99/import-system-talk-resources | a48620ee8e6eda5c3a1c09a708804770781d4bea | [
"MIT"
] | 1 | 2020-08-20T16:37:49.000Z | 2020-08-20T16:37:49.000Z | package-test/spam1/package1.py | plant99/import-system-talk-resources | a48620ee8e6eda5c3a1c09a708804770781d4bea | [
"MIT"
] | null | null | null | package-test/spam1/package1.py | plant99/import-system-talk-resources | a48620ee8e6eda5c3a1c09a708804770781d4bea | [
"MIT"
] | 1 | 2020-08-20T16:38:22.000Z | 2020-08-20T16:38:22.000Z | x = 3
| 2.333333 | 5 | 0.285714 | 2 | 7 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.571429 | 7 | 2 | 6 | 3.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9d0ca67cc2295067864bc6db0b57286043265732 | 16,356 | py | Python | hchztests/tests/test_website_tool_session.py | codedsk/hubcheck-hubzero-tests | 89dd7164fed9161a5bf80e0a5635cec3da5be31d | [
"MIT"
] | 1 | 2016-01-02T01:36:14.000Z | 2016-01-02T01:36:14.000Z | hchztests/tests/test_website_tool_session.py | codedsk/hubcheck-hubzero-tests | 89dd7164fed9161a5bf80e0a5635cec3da5be31d | [
"MIT"
] | null | null | null | hchztests/tests/test_website_tool_session.py | codedsk/hubcheck-hubzero-tests | 89dd7164fed9161a5bf80e0a5635cec3da5be31d | [
"MIT"
] | null | null | null | import pytest
import hubcheck
from hubcheck.testcase import TestCase2
from hubcheck.shell import ContainerManager
pytestmark = [ pytest.mark.website,
pytest.mark.tool_session,
pytest.mark.weekly,
pytest.mark.upgrade,
pytest.mark.prod_safe_upgrade,
... | 33.516393 | 81 | 0.617082 | 2,043 | 16,356 | 4.713656 | 0.103279 | 0.102804 | 0.047975 | 0.024714 | 0.818276 | 0.797092 | 0.77892 | 0.774974 | 0.744548 | 0.732814 | 0 | 0.017613 | 0.281426 | 16,356 | 487 | 82 | 33.585216 | 0.801753 | 0.326119 | 0 | 0.708995 | 0 | 0 | 0.171787 | 0.00245 | 0 | 0 | 0 | 0 | 0.10582 | 1 | 0.074074 | false | 0.031746 | 0.021164 | 0 | 0.10582 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9d3ac23cc6d282b9fc72d6e8931713f96a1a7cd4 | 167 | py | Python | caldera/models/__init__.py | jvrana/pyro-graphnets | 1c9809253e47414ecf3f6604c2147d5676ff76c0 | [
"MIT"
] | null | null | null | caldera/models/__init__.py | jvrana/pyro-graphnets | 1c9809253e47414ecf3f6604c2147d5676ff76c0 | [
"MIT"
] | null | null | null | caldera/models/__init__.py | jvrana/pyro-graphnets | 1c9809253e47414ecf3f6604c2147d5676ff76c0 | [
"MIT"
] | null | null | null | from caldera.models.encoder_core_decoder import EncodeCoreDecode
from caldera.models.graph_core import GraphCore
from caldera.models.graph_encoder import GraphEncoder
| 41.75 | 64 | 0.892216 | 22 | 167 | 6.590909 | 0.5 | 0.227586 | 0.351724 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071856 | 167 | 3 | 65 | 55.666667 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 8 |
c227f05fdd0bf14adfcd1a5af14f61aa3cfdeafc | 20,814 | py | Python | models/vgg_rep.py | transmuteAI/Rescaling-CNN-through-Learnable-Repetition-of-Network-Parameters | d097d52e7c4d4bb3548da0b56dd61fc6b33282ad | [
"MIT"
] | 5 | 2021-01-14T16:39:30.000Z | 2021-01-20T11:58:17.000Z | models/vgg_rep.py | transmuteAI/Rescaling-CNN-through-Learnable-Repetition-of-Network-Parameters | d097d52e7c4d4bb3548da0b56dd61fc6b33282ad | [
"MIT"
] | null | null | null | models/vgg_rep.py | transmuteAI/Rescaling-CNN-through-Learnable-Repetition-of-Network-Parameters | d097d52e7c4d4bb3548da0b56dd61fc6b33282ad | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.functional import conv2d
from .conv2d_repeat import Conv2dRepeat
cfg = {
'VGG11' : [64, 64, 'M', 128, 128, 'M', 256, 256, 'M', 512, 512, 'M', 512, 512, 'M'],
'VGG10' : [64, 64, 'M', 128, 128, 'M', 256, 256, 'M', 512, 512, 'M', 512... | 37.035587 | 122 | 0.537859 | 3,292 | 20,814 | 3.291312 | 0.03068 | 0.043932 | 0.085279 | 0.045224 | 0.938256 | 0.933549 | 0.924873 | 0.916844 | 0.915182 | 0.913429 | 0 | 0.132905 | 0.304843 | 20,814 | 561 | 123 | 37.101604 | 0.615938 | 0 | 0 | 0.82874 | 0 | 0 | 0.010906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033465 | false | 0 | 0.009843 | 0 | 0.076772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c229be0c695d4dc2a3a76bd7d2faedecb344f937 | 14,911 | py | Python | contrastiveFC/models.py | yewon-lee/transfuser | f749e1446238cda04131037e2fdea463a3d04802 | [
"MIT"
] | 1 | 2021-07-23T02:06:39.000Z | 2021-07-23T02:06:39.000Z | contrastiveFC/models.py | yewon-lee/transfuser | f749e1446238cda04131037e2fdea463a3d04802 | [
"MIT"
] | null | null | null | contrastiveFC/models.py | yewon-lee/transfuser | f749e1446238cda04131037e2fdea463a3d04802 | [
"MIT"
] | null | null | null | from collections import deque
import numpy as np
import torch
from torch import nn
import torch.nn.functional as F
from torchvision import models
def normalize_imagenet(x):
""" Normalize input images according to ImageNet standards.
Args:
x (tensor): input images
"""
x = x.clone()
x[:, 0]... | 37.845178 | 100 | 0.604185 | 1,726 | 14,911 | 4.987833 | 0.071842 | 0.058543 | 0.035777 | 0.022651 | 0.856313 | 0.829829 | 0.821117 | 0.793937 | 0.788361 | 0.763271 | 0 | 0.024102 | 0.290457 | 14,911 | 393 | 101 | 37.941476 | 0.789603 | 0.101335 | 0 | 0.752381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092063 | false | 0 | 0.019048 | 0 | 0.203175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c247f457e88cf1ec1307404051be483ee6125cc2 | 41,702 | py | Python | logistic-regression/distrib_algs.py | sands-lab/rethinking-sparsification | 0687b1b360f5c95068261c81a9de1bc967f75e50 | [
"MIT"
] | null | null | null | logistic-regression/distrib_algs.py | sands-lab/rethinking-sparsification | 0687b1b360f5c95068261c81a9de1bc967f75e50 | [
"MIT"
] | null | null | null | logistic-regression/distrib_algs.py | sands-lab/rethinking-sparsification | 0687b1b360f5c95068261c81a9de1bc967f75e50 | [
"MIT"
] | null | null | null | import numpy as np
import random
import time
import pickle
from numpy.linalg import norm
from scipy.sparse import csr_matrix
from scipy.optimize import minimize
from scipy.stats import norm as norm_d
from scipy.stats import randint
from scipy.stats import bernoulli
from functions import *
import scipy
from copy import ... | 45.427015 | 209 | 0.62738 | 6,568 | 41,702 | 3.63916 | 0.03106 | 0.043929 | 0.053217 | 0.028115 | 0.974856 | 0.970086 | 0.968413 | 0.964815 | 0.960464 | 0.960464 | 0 | 0.017246 | 0.257518 | 41,702 | 917 | 210 | 45.476554 | 0.754707 | 0.071028 | 0 | 0.943495 | 0 | 0 | 0.036438 | 0.002922 | 0 | 0 | 0 | 0 | 0.027595 | 1 | 0.009198 | false | 0.057819 | 0.017083 | 0 | 0.03548 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
c249f1be2239d24930e4e689ed054cde45fda95b | 199 | py | Python | python/test.py | SuperJerry/Swift | 53b1c5e78e766424b9210092757c11d977ef8791 | [
"MIT"
] | 1 | 2015-07-29T09:24:07.000Z | 2015-07-29T09:24:07.000Z | python/test.py | SuperJerry/Swift | 53b1c5e78e766424b9210092757c11d977ef8791 | [
"MIT"
] | null | null | null | python/test.py | SuperJerry/Swift | 53b1c5e78e766424b9210092757c11d977ef8791 | [
"MIT"
] | null | null | null |
print "hahahahahaah!"
print "hahahahahaah!"
print "hahahahahaah!"
print "hahahahahaah!"
print "hahahahahaah!"
print "hahahahahaah!"
print "hahahahahaah!"
print "hahahahahaah!"
print "hahahahahaah!"
| 18.090909 | 21 | 0.768844 | 18 | 199 | 8.5 | 0.111111 | 1 | 1.150327 | 1.777778 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.095477 | 199 | 10 | 22 | 19.9 | 0.85 | 0 | 0 | 1 | 0 | 0 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 13 |
dff22d08efb1945443507e61010a14292914bcce | 21,316 | py | Python | python/test/testLocationResult.py | blijewski/earthquake-processing-formats | defa1ce69e247ddc4ea8b9570bea0420c133fbec | [
"CC0-1.0"
] | null | null | null | python/test/testLocationResult.py | blijewski/earthquake-processing-formats | defa1ce69e247ddc4ea8b9570bea0420c133fbec | [
"CC0-1.0"
] | null | null | null | python/test/testLocationResult.py | blijewski/earthquake-processing-formats | defa1ce69e247ddc4ea8b9570bea0420c133fbec | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#package imports
import processingformats.hypocenter
import processingformats.errorEllipse
#stdlib imports
import unittest
import datetime
class TestLocationResult(unittest.TestCase):
ID = '12345678'
#HYPOCENTER INCLUDES: lat, long, depth, time, latError, ... | 82.941634 | 1,322 | 0.753565 | 1,903 | 21,316 | 8.433526 | 0.085654 | 0.100006 | 0.193345 | 0.091968 | 0.871581 | 0.716244 | 0.700729 | 0.699981 | 0.698486 | 0.698486 | 0 | 0.037196 | 0.127228 | 21,316 | 257 | 1,323 | 82.941634 | 0.825468 | 0.013699 | 0 | 0.506787 | 0 | 0.00905 | 0.156144 | 0.024597 | 0 | 0 | 0 | 0 | 0.809955 | 1 | 0.027149 | false | 0 | 0.076923 | 0 | 0.19457 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a074cdbb38b86decd68c256289da7361f9dc6a8a | 32,853 | py | Python | plugins/admin.py | BWBellairs/Andromeda | e01f5cfef1e14e4f1f7e94d333c1dee5f44716d7 | [
"MIT"
] | null | null | null | plugins/admin.py | BWBellairs/Andromeda | e01f5cfef1e14e4f1f7e94d333c1dee5f44716d7 | [
"MIT"
] | null | null | null | plugins/admin.py | BWBellairs/Andromeda | e01f5cfef1e14e4f1f7e94d333c1dee5f44716d7 | [
"MIT"
] | null | null | null | from fnmatch import fnmatch
from time import sleep
import subprocess
import random as rand
from utils import *
import utils
name = "admin"
cmds = ["join", "part", "nick", "quit", "raw", ">>", ">", "op", "deop",
"voice", "devoice", "ban", "kban", "unban", "sop", "sdeop",
"svoice", "sdevoice", "squiet",... | 34.009317 | 138 | 0.491888 | 3,648 | 32,853 | 4.367873 | 0.060855 | 0.019455 | 0.035396 | 0.024601 | 0.832497 | 0.811096 | 0.789883 | 0.789883 | 0.75932 | 0.745513 | 0 | 0.007078 | 0.38931 | 32,853 | 965 | 139 | 34.04456 | 0.787121 | 0.123489 | 0 | 0.826772 | 0 | 0 | 0.030709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035433 | false | 0.007874 | 0.007874 | 0 | 0.06168 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2622ce1ff16b823a3027c9619a2b3abba4ed4214 | 137 | py | Python | data_loader/__init__.py | yuanlinping/deep_colormap_extraction | 46ed2673d561ac91349bd47c6559df64b16e6131 | [
"MIT"
] | 1 | 2022-03-16T11:07:41.000Z | 2022-03-16T11:07:41.000Z | data_loader/__init__.py | yuanlinping/deep_colormap_extraction | 46ed2673d561ac91349bd47c6559df64b16e6131 | [
"MIT"
] | 1 | 2021-06-16T03:38:35.000Z | 2021-06-16T03:38:35.000Z | data_loader/__init__.py | yuanlinping/deep_colormap_extraction | 46ed2673d561ac91349bd47c6559df64b16e6131 | [
"MIT"
] | 1 | 2022-03-16T11:12:49.000Z | 2022-03-16T11:12:49.000Z | from .CSV_PNG_Dataset import CSV_PNG_Dataset
from .CSV_PNG_Dataset import CSV_PNG_Dataset_2D
from .PNG_PNG_Dataset import PNG_PNG_Dataset | 45.666667 | 47 | 0.89781 | 25 | 137 | 4.4 | 0.24 | 0.545455 | 0.472727 | 0.309091 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0 | 0 | 0 | 0.007937 | 0.080292 | 137 | 3 | 48 | 45.666667 | 0.865079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
26587be026734a2e5e6152b867bd59e1accc2de9 | 24,296 | py | Python | aspose_barcode_cloud/api/file_api.py | aspose-barcode-cloud/aspose-barcode-cloud-python | f57e27be63104533d9cfd4d835e67ed22f808a3e | [
"MIT"
] | 4 | 2020-06-29T07:21:00.000Z | 2022-03-23T09:46:30.000Z | aspose_barcode_cloud/api/file_api.py | aspose-barcode-cloud/aspose-barcode-cloud-python | f57e27be63104533d9cfd4d835e67ed22f808a3e | [
"MIT"
] | null | null | null | aspose_barcode_cloud/api/file_api.py | aspose-barcode-cloud/aspose-barcode-cloud-python | f57e27be63104533d9cfd4d835e67ed22f808a3e | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Copyright (c) 2021 Aspose.BarCode for Cloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy,... | 38.998395 | 277 | 0.619155 | 2,945 | 24,296 | 4.863497 | 0.085908 | 0.05376 | 0.019968 | 0.025134 | 0.890526 | 0.882846 | 0.88117 | 0.871954 | 0.868603 | 0.868603 | 0 | 0.005391 | 0.289924 | 24,296 | 622 | 278 | 39.061093 | 0.824832 | 0.312068 | 0 | 0.816619 | 0 | 0 | 0.18752 | 0.030977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031519 | false | 0 | 0.011461 | 0 | 0.088825 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
268674dcd08ab99216ccb4bf1e8d0e76dbdef2c4 | 2,461 | py | Python | km_api/know_me/profile/tests/filters/test_profile_filter_backend.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 4 | 2017-08-03T00:46:31.000Z | 2018-11-06T03:32:32.000Z | km_api/know_me/profile/tests/filters/test_profile_filter_backend.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 526 | 2017-06-27T18:13:59.000Z | 2021-06-10T18:00:21.000Z | km_api/know_me/profile/tests/filters/test_profile_filter_backend.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 1 | 2017-07-10T19:46:27.000Z | 2017-07-10T19:46:27.000Z | from unittest import mock
from know_me.profile import filters, models
def test_filter_queryset_owner(api_rf, km_user_factory, profile_factory):
"""
All profiles should be included for requests by the owner.
"""
km_user = km_user_factory()
profile_factory(is_private=False, km_user=km_user)
pro... | 27.344444 | 73 | 0.702966 | 340 | 2,461 | 4.797059 | 0.188235 | 0.132434 | 0.073574 | 0.080932 | 0.823421 | 0.775598 | 0.775598 | 0.775598 | 0.775598 | 0.772532 | 0 | 0 | 0.195043 | 2,461 | 89 | 74 | 27.651685 | 0.823322 | 0.09874 | 0 | 0.740741 | 0 | 0 | 0.016636 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.037037 | 0 | 0.092593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cd1f573b247de22326a258791022ed41cce64b84 | 61,678 | py | Python | RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient.py | ralfjon/IxNetwork | c0c834fbc465af69c12fd6b7cee4628baba7fff1 | [
"MIT"
] | null | null | null | RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient.py | ralfjon/IxNetwork | c0c834fbc465af69c12fd6b7cee4628baba7fff1 | [
"MIT"
] | null | null | null | RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pppoxclient.py | ralfjon/IxNetwork | c0c834fbc465af69c12fd6b7cee4628baba7fff1 | [
"MIT"
] | null | null | null |
# Copyright 1997 - 2018 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, p... | 35.901048 | 1,187 | 0.749392 | 7,956 | 61,678 | 5.720588 | 0.078054 | 0.027882 | 0.038407 | 0.050535 | 0.784347 | 0.763298 | 0.757234 | 0.742293 | 0.735175 | 0.693274 | 0 | 0.009022 | 0.171504 | 61,678 | 1,717 | 1,188 | 35.921957 | 0.881644 | 0.709556 | 0 | 0.387446 | 0 | 0 | 0.093925 | 0.017269 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0.004329 | 0.051948 | 0 | 0.679654 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
26c512fdbb0b4d15fe8aa1267d2ef097a60a7aef | 21,888 | py | Python | Tracklete_Analysis_nogui.py | PaulHofma/tracklete-analysis | 46ee50d9aba11992d321e33cd23a5a44b044a3cb | [
"BSD-3-Clause"
] | 1 | 2019-01-14T09:46:21.000Z | 2019-01-14T09:46:21.000Z | Tracklete_Analysis_nogui.py | PaulHofma/tracklete-analysis | 46ee50d9aba11992d321e33cd23a5a44b044a3cb | [
"BSD-3-Clause"
] | 3 | 2018-12-20T11:35:31.000Z | 2019-01-28T11:12:06.000Z | Tracklete_Analysis_nogui.py | PaulHofma/tracklete-analysis | 46ee50d9aba11992d321e33cd23a5a44b044a3cb | [
"BSD-3-Clause"
] | null | null | null | <<<<<<< HEAD:Tracklete_Analysis_nogui.py
'''
Created on 19 Nov 2018
@author: Paul Hofma
@version: 1.0.1 (GUILESS VERSION)
@disclaimer:
You're advised to take any and all trends it reproduces with a good dose of salt and
common sense. These are simply the trends visible in the data, and while the graph extrapolates f... | 38 | 168 | 0.568713 | 2,987 | 21,888 | 4.06997 | 0.117509 | 0.056099 | 0.064161 | 0.037509 | 0.987744 | 0.987744 | 0.987744 | 0.987744 | 0.987744 | 0.987744 | 0 | 0.025465 | 0.260828 | 21,888 | 575 | 169 | 38.066087 | 0.725941 | 0.045687 | 0 | 0.97931 | 0 | 0 | 0.149473 | 0.002992 | 0 | 0 | 0 | 0 | 0.027586 | 0 | null | null | 0 | 0.034483 | null | null | 0.058621 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
26c826ee61f3bb213c6fe05fa5daef80974b2455 | 84 | py | Python | lang/Python/file-size.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/Python/file-size.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/file-size.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | import os
size = os.path.getsize('input.txt')
size = os.path.getsize('/input.txt')
| 16.8 | 36 | 0.690476 | 14 | 84 | 4.142857 | 0.5 | 0.206897 | 0.344828 | 0.586207 | 0.862069 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 4 | 37 | 21 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.22619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
26c9b3d132890b23fadacc7a62aa67fc4fc5d57c | 8,383 | py | Python | app.py | MedCabinet/medicalcabinet_api | a3d72e426bfe9eeda166eada964ff84c6bf86484 | [
"MIT"
] | 1 | 2020-02-01T17:06:01.000Z | 2020-02-01T17:06:01.000Z | app.py | skredenmathias/medicalcabinet_api | a3d72e426bfe9eeda166eada964ff84c6bf86484 | [
"MIT"
] | 4 | 2021-06-02T01:15:11.000Z | 2022-01-13T02:07:15.000Z | app.py | skredenmathias/medicalcabinet_api | a3d72e426bfe9eeda166eada964ff84c6bf86484 | [
"MIT"
] | 4 | 2020-01-07T16:51:21.000Z | 2020-02-01T13:18:59.000Z | """Code for our api app"""
from flask import Flask, jsonify, request
import basilica
import numpy as np
import pandas as pd
from scipy import spatial
app = Flask(__name__)
@app.route('/')
def root():
return "We have the best API!"
@app.route('/strains', methods=['Post'])
def strains():
""" a route, expects j... | 29.517606 | 122 | 0.695932 | 1,174 | 8,383 | 4.754685 | 0.153322 | 0.082229 | 0.087066 | 0.023647 | 0.909531 | 0.903798 | 0.874597 | 0.868506 | 0.868506 | 0.846113 | 0 | 0.020756 | 0.22987 | 8,383 | 284 | 123 | 29.517606 | 0.843866 | 0.337349 | 0 | 0.715686 | 0 | 0 | 0.104839 | 0.040139 | 0 | 0 | 0 | 0 | 0.029412 | 1 | 0.127451 | false | 0 | 0.04902 | 0.009804 | 0.303922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
26caa8066973f299cf03ef4be179bcc48f93f33b | 13,417 | py | Python | complaintdatabase/tests.py | cfpb/complaint | f643ba3b23d497d7c26b9e6f5af0353db65f914b | [
"CC0-1.0"
] | 6 | 2017-02-28T20:02:18.000Z | 2019-04-21T12:07:14.000Z | complaintdatabase/tests.py | DalavanCloud/complaint | b8344f73351af49c38eebfeb7e15a5c0ed9c4635 | [
"CC0-1.0"
] | 18 | 2016-07-01T16:16:00.000Z | 2018-07-02T22:10:29.000Z | complaintdatabase/tests.py | DalavanCloud/complaint | b8344f73351af49c38eebfeb7e15a5c0ed9c4635 | [
"CC0-1.0"
] | 14 | 2016-08-26T00:26:41.000Z | 2021-02-20T10:37:03.000Z | import collections
from datetime import datetime
from StringIO import StringIO
from unittest import skipIf
from mock import patch, Mock, MagicMock, mock_open
from django.conf import settings
from django.core.urlresolvers import reverse
from django.test import RequestFactory, TestCase
from django.test import Client
f... | 46.586806 | 78 | 0.667959 | 1,685 | 13,417 | 4.986944 | 0.084866 | 0.0407 | 0.064977 | 0.038082 | 0.857551 | 0.85172 | 0.846126 | 0.817089 | 0.801142 | 0.792455 | 0 | 0.066609 | 0.218976 | 13,417 | 287 | 79 | 46.749129 | 0.73528 | 0.015205 | 0 | 0.714286 | 0 | 0 | 0.164747 | 0.09321 | 0 | 0 | 0 | 0 | 0.243697 | 1 | 0.12605 | false | 0 | 0.046218 | 0 | 0.193277 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
26f8d590cfc72ab299e7a3d646cbd7877a96a730 | 18,449 | py | Python | cloudmersive_validate_api_client/api/domain_api.py | doc22940/cloudmersive.apiclient.python | 8646291f45ebd7c6572a296e30f693693a6782c4 | [
"Apache-2.0"
] | null | null | null | cloudmersive_validate_api_client/api/domain_api.py | doc22940/cloudmersive.apiclient.python | 8646291f45ebd7c6572a296e30f693693a6782c4 | [
"Apache-2.0"
] | null | null | null | cloudmersive_validate_api_client/api/domain_api.py | doc22940/cloudmersive.apiclient.python | 8646291f45ebd7c6572a296e30f693693a6782c4 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
validateapi
The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API. # noqa: E501
OpenAPI spec version: v1
Ge... | 42.805104 | 261 | 0.628869 | 2,202 | 18,449 | 5.071753 | 0.101726 | 0.043696 | 0.020057 | 0.025788 | 0.933381 | 0.93168 | 0.931322 | 0.923621 | 0.921472 | 0.921472 | 0 | 0.014359 | 0.28278 | 18,449 | 430 | 262 | 42.904651 | 0.829655 | 0.386688 | 0 | 0.8 | 0 | 0 | 0.206279 | 0.056954 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.017778 | 0 | 0.115556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
26fb98b48dfb1f097b48d4f89b5c33143c4900ad | 3,650 | py | Python | envio1/discreta.py | leonheld/INE5118 | 356ac119275237f6291efd2e8d5df0cc9cb69c52 | [
"WTFPL"
] | null | null | null | envio1/discreta.py | leonheld/INE5118 | 356ac119275237f6291efd2e8d5df0cc9cb69c52 | [
"WTFPL"
] | null | null | null | envio1/discreta.py | leonheld/INE5118 | 356ac119275237f6291efd2e8d5df0cc9cb69c52 | [
"WTFPL"
] | null | null | null | #Distribuição discreta da geração de um dado Pokemon. Range: 1, 2 ... n
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import collections
from collections import Counter
#configurações pra usar LaTeX nas legendas
plt.rc('text', usetex=True)
plt.rc('font', family='serif')
sns.set(style = "dar... | 101.388889 | 2,406 | 0.467397 | 1,006 | 3,650 | 1.67495 | 0.114314 | 0.195846 | 0.291988 | 0.386944 | 0.511573 | 0.511573 | 0.474777 | 0.474777 | 0.474777 | 0.474777 | 0 | 0.307549 | 0.266849 | 3,650 | 36 | 2,407 | 101.388889 | 0.322123 | 0.175068 | 0 | 0 | 0 | 0 | 0.011018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.277778 | 0 | 0.277778 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f80a727fff1370f402314f76478efe7dcb215acc | 98 | py | Python | abeja/train/__init__.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 2 | 2020-10-20T18:38:16.000Z | 2020-10-20T20:12:35.000Z | abeja/train/__init__.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | 30 | 2020-04-07T01:15:47.000Z | 2020-11-18T03:25:19.000Z | abeja/train/__init__.py | abeja-inc/abeja-platform-sdk | 97cfc99b11ffc1fccb3f527435277bc89e18b8c3 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from abeja.train.client import Client
from abeja.train.api.client import APIClient
| 24.5 | 44 | 0.816327 | 15 | 98 | 5.333333 | 0.6 | 0.225 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.112245 | 98 | 3 | 45 | 32.666667 | 0.908046 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f8396bfde6041f9cc017ab4da665e40f244e437c | 60,259 | py | Python | tests/test_responses.py | livebungalow/certn-python-public | aa411626a2918e37c3bbe26023b1b97014860414 | [
"MIT"
] | null | null | null | tests/test_responses.py | livebungalow/certn-python-public | aa411626a2918e37c3bbe26023b1b97014860414 | [
"MIT"
] | null | null | null | tests/test_responses.py | livebungalow/certn-python-public | aa411626a2918e37c3bbe26023b1b97014860414 | [
"MIT"
] | 1 | 2019-07-04T00:19:15.000Z | 2019-07-04T00:19:15.000Z | APPLICATION_GOOD_BODY = {
'information': {
'first_name': 'Andrew James',
'last_name': 'McLeod',
'date_of_birth': '1987-03-04',
'addresses': [
{
'address': '3023 BODEGA ROAD',
'city': 'VICTORIA',
'province_state': 'BC',
... | 44.603257 | 91 | 0.565459 | 6,094 | 60,259 | 5.218576 | 0.095504 | 0.012829 | 0.018112 | 0.027168 | 0.94296 | 0.926325 | 0.911326 | 0.908559 | 0.905446 | 0.900855 | 0 | 0.062914 | 0.320782 | 60,259 | 1,350 | 92 | 44.636296 | 0.71409 | 0 | 0 | 0.843797 | 0 | 0 | 0.553444 | 0.279261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000747 | 0.001495 | 0 | 0.001495 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f8546bf16ef4e9ed18a8ac759a2b0347da72b267 | 1,938 | py | Python | tests/test_ccsa_pspnet.py | xingyizhou/mseg-semantic | f93f2b21397aa6296a0f33775ae2f9712aa32858 | [
"MIT"
] | 1 | 2021-01-13T08:39:25.000Z | 2021-01-13T08:39:25.000Z | tests/test_ccsa_pspnet.py | xingyizhou/mseg-semantic | f93f2b21397aa6296a0f33775ae2f9712aa32858 | [
"MIT"
] | null | null | null | tests/test_ccsa_pspnet.py | xingyizhou/mseg-semantic | f93f2b21397aa6296a0f33775ae2f9712aa32858 | [
"MIT"
] | null | null | null |
import torch
import torch.nn as nn
from domain_generalization.ccsa_pspnet import CCSA_PSPNet
def test_CCSA_PSPNet_dims():
""" """
layers = 50
classes = 183
network_name = None
zoom_factor = 8 # zoom factor for final prediction during training, be in [1, 2, 4, 8]
ignore_label = 255
crit... | 27.685714 | 91 | 0.667183 | 262 | 1,938 | 4.709924 | 0.251908 | 0.06483 | 0.072934 | 0.058347 | 0.865478 | 0.810373 | 0.810373 | 0.810373 | 0.76175 | 0.76175 | 0 | 0.05305 | 0.221878 | 1,938 | 69 | 92 | 28.086957 | 0.765252 | 0.124355 | 0 | 0.76 | 0 | 0 | 0.004802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.06 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e427f5bf2e3963a6d4e1eb88be0713af2ae831e5 | 5,380 | py | Python | tests/test_unit_sql_fetch.py | IBM/python-itoolk | 36054a7ebdd8f5556c548d4c315e00e3c8d04904 | [
"MIT"
] | 11 | 2019-01-09T12:31:04.000Z | 2021-08-29T05:26:35.000Z | tests/test_unit_sql_fetch.py | IBM/python-itoolk | 36054a7ebdd8f5556c548d4c315e00e3c8d04904 | [
"MIT"
] | 50 | 2018-12-21T18:52:25.000Z | 2021-05-25T13:38:15.000Z | tests/test_unit_sql_fetch.py | IBM/python-itoolk | 36054a7ebdd8f5556c548d4c315e00e3c8d04904 | [
"MIT"
] | 9 | 2018-12-25T00:02:19.000Z | 2022-02-22T00:58:13.000Z | import xml.etree.ElementTree as ET
from itoolkit import iSqlFetch
def test_sql_fetch():
key = 'mulblnxo'
element = ET.fromstring(iSqlFetch(key).xml_in())
assert(element.tag == 'sql')
assert(len(element.attrib) == 1)
assert('var' in element.attrib)
assert(element.attrib['var'] == key)
... | 21.869919 | 72 | 0.621747 | 671 | 5,380 | 4.928465 | 0.077496 | 0.25945 | 0.113396 | 0.158754 | 0.907469 | 0.888721 | 0.845177 | 0.845177 | 0.845177 | 0.816752 | 0 | 0.008401 | 0.203532 | 5,380 | 245 | 73 | 21.959184 | 0.763361 | 0 | 0 | 0.768707 | 0 | 0 | 0.070818 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.054422 | false | 0 | 0.013605 | 0 | 0.068027 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e46c6d69d21fc9d469f6e9bdd5201385cdb22ed5 | 13,577 | py | Python | highlevel/robot/controller/motion/motion_test.py | outech-robotic/code | b57acba3faae606f4d0c3cf210bc0716d7fef4e7 | [
"MIT"
] | 7 | 2020-04-15T16:42:56.000Z | 2021-12-25T10:12:13.000Z | highlevel/robot/controller/motion/motion_test.py | outech-robotic/code | b57acba3faae606f4d0c3cf210bc0716d7fef4e7 | [
"MIT"
] | 37 | 2020-04-15T15:49:31.000Z | 2022-02-27T03:53:48.000Z | highlevel/robot/controller/motion/motion_test.py | outech-robotic/code | b57acba3faae606f4d0c3cf210bc0716d7fef4e7 | [
"MIT"
] | null | null | null | """
Tests for the motion controller module.
"""
import asyncio
import dataclasses
import math
import pytest
from pytest import fixture
from highlevel.robot.controller.motion.motion import MotionController, MotionResult
from highlevel.robot.entity.configuration import Configuration
from highlevel.util.type import Mill... | 39.126801 | 96 | 0.639243 | 1,488 | 13,577 | 5.552419 | 0.112903 | 0.100218 | 0.119826 | 0.050593 | 0.802348 | 0.789034 | 0.777415 | 0.769426 | 0.757444 | 0.736262 | 0 | 0.020025 | 0.297488 | 13,577 | 346 | 97 | 39.239884 | 0.846194 | 0.068498 | 0 | 0.714286 | 0 | 0 | 0.002614 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 1 | 0.012605 | false | 0 | 0.042017 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e490ec4bd1224a4eb162f3a82a93da027252c334 | 4,538 | py | Python | tests/test_docker.py | kfirz/deployster | b95fdb9cf150eee765f7ef3dbdee3666119e76f9 | [
"Apache-2.0"
] | null | null | null | tests/test_docker.py | kfirz/deployster | b95fdb9cf150eee765f7ef3dbdee3666119e76f9 | [
"Apache-2.0"
] | 19 | 2017-12-28T19:39:37.000Z | 2018-04-18T23:24:45.000Z | tests/test_docker.py | kfirz/deployster | b95fdb9cf150eee765f7ef3dbdee3666119e76f9 | [
"Apache-2.0"
] | 1 | 2018-04-06T16:50:49.000Z | 2018-04-06T16:50:49.000Z | import json
from pathlib import Path
import pytest
from mock_external_services import MockDockerInvoker
from util import UserError, Logger
def test_docker_invoker_run_json():
with pytest.raises(UserError, match='Docker command terminated with exit code #-1'):
MockDockerInvoker(return_code=-1,
... | 61.324324 | 108 | 0.309828 | 257 | 4,538 | 5.291829 | 0.225681 | 0.061765 | 0.119118 | 0.092647 | 0.817647 | 0.817647 | 0.817647 | 0.751471 | 0.751471 | 0.751471 | 0 | 0.005869 | 0.624504 | 4,538 | 73 | 109 | 62.164384 | 0.792254 | 0 | 0 | 0.734375 | 0 | 0 | 0.074703 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 1 | 0.015625 | true | 0 | 0.078125 | 0 | 0.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e4e3be51c583563a5ea9749bc733f9afd9b2cf7c | 73 | py | Python | src/poq/__init__.py | dzhg/poq | c45f591450ff999518073e56012c544531e11326 | [
"MIT"
] | null | null | null | src/poq/__init__.py | dzhg/poq | c45f591450ff999518073e56012c544531e11326 | [
"MIT"
] | null | null | null | src/poq/__init__.py | dzhg/poq | c45f591450ff999518073e56012c544531e11326 | [
"MIT"
] | null | null | null | from .poq import _query
def query(path, o):
return _query(path, o)
| 12.166667 | 26 | 0.671233 | 12 | 73 | 3.916667 | 0.666667 | 0.382979 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 73 | 5 | 27 | 14.6 | 0.824561 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
900b6125e653ba354c04555b81e86b3a4c60b777 | 198 | py | Python | cupy/binary/packing.py | umitanuki/chainer | 225c56b233e684ff4855451d2af4c2fb66915f21 | [
"MIT"
] | null | null | null | cupy/binary/packing.py | umitanuki/chainer | 225c56b233e684ff4855451d2af4c2fb66915f21 | [
"MIT"
] | null | null | null | cupy/binary/packing.py | umitanuki/chainer | 225c56b233e684ff4855451d2af4c2fb66915f21 | [
"MIT"
] | 1 | 2018-11-18T00:36:51.000Z | 2018-11-18T00:36:51.000Z | def packbits(myarray, axis=None):
# TODO(beam2d): Implement it
raise NotImplementedError
def unpackbits(myarray, axis=None):
# TODO(beam2d): Implement it
raise NotImplementedError
| 22 | 35 | 0.727273 | 22 | 198 | 6.545455 | 0.545455 | 0.152778 | 0.208333 | 0.263889 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0 | 0 | 0.012346 | 0.181818 | 198 | 8 | 36 | 24.75 | 0.876543 | 0.267677 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
90265e73210fbcff83c15d0ec1572fde09ff4374 | 2,015 | py | Python | clist/migrations/0068_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 166 | 2019-05-16T23:46:08.000Z | 2022-03-31T05:20:23.000Z | clist/migrations/0068_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 92 | 2020-01-18T22:51:53.000Z | 2022-03-12T01:23:57.000Z | clist/migrations/0068_auto_20210703_2308.py | horacexd/clist | 9759dfea97b86514bec9825d2430abc36decacf0 | [
"Apache-2.0"
] | 23 | 2020-02-09T17:38:43.000Z | 2021-12-09T14:39:07.000Z | # Generated by Django 3.1.12 on 2021-07-03 23:08
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('clist', '0067_auto_20210320_0559'),
]
operations = [
migrations.AlterField(
model_name='banner',
name='created',
... | 31.484375 | 73 | 0.573201 | 194 | 2,015 | 5.757732 | 0.216495 | 0.179051 | 0.223814 | 0.259624 | 0.866607 | 0.866607 | 0.829902 | 0.829902 | 0.829902 | 0.829902 | 0 | 0.023172 | 0.31464 | 2,015 | 63 | 74 | 31.984127 | 0.785663 | 0.022829 | 0 | 0.877193 | 1 | 0 | 0.097102 | 0.011693 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
90491834dd9c5b09c9b2191163a7d57f37a0e3a0 | 15,055 | py | Python | python/set_up_Im_matrix.py | KGHustad/emi-book-2020-splitting-code | 4cd8acb47a29212d8c06a18f0f6ff2dde5911904 | [
"MIT"
] | 1 | 2020-03-12T11:48:26.000Z | 2020-03-12T11:48:26.000Z | python/set_up_Im_matrix.py | KGHustad/emi-book-2020-splitting-code | 4cd8acb47a29212d8c06a18f0f6ff2dde5911904 | [
"MIT"
] | null | null | null | python/set_up_Im_matrix.py | KGHustad/emi-book-2020-splitting-code | 4cd8acb47a29212d8c06a18f0f6ff2dde5911904 | [
"MIT"
] | null | null | null | import numpy as np
import scipy.sparse
def set_up_Im_matrix(G, mesh):
"Set up matrix used to extract the membrane current I_m from the intracellular potential"
# TODO: Rewrite this to reuse the arrays better, like how it's done in set_up_symmetric_extracellular_matrix
# Load parameters
N = G.N
Nx ... | 38.113924 | 112 | 0.64178 | 3,120 | 15,055 | 2.86891 | 0.045192 | 0.107251 | 0.0715 | 0.116188 | 0.888057 | 0.857334 | 0.814769 | 0.789297 | 0.789297 | 0.789297 | 0 | 0.037712 | 0.209166 | 15,055 | 394 | 113 | 38.21066 | 0.714094 | 0.103288 | 0 | 0.748387 | 0 | 0 | 0.006418 | 0 | 0 | 0 | 0 | 0.002538 | 0 | 1 | 0.003226 | false | 0 | 0.006452 | 0 | 0.012903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5fa5e8bc5e9a45bd6dedc79f5385c47a008c3958 | 4,279 | py | Python | eerie/bsplines/utils.py | RomeroGuDw/wavelet_networks | 0fd6871ff9f03a3cb26f1c414728aed89a33b99c | [
"MIT"
] | 59 | 2020-06-12T09:16:52.000Z | 2022-03-10T09:30:58.000Z | eerie/bsplines/utils.py | RomeroGuDw/wavelet_networks | 0fd6871ff9f03a3cb26f1c414728aed89a33b99c | [
"MIT"
] | 1 | 2020-09-13T01:43:44.000Z | 2022-02-16T14:33:18.000Z | eerie/bsplines/utils.py | RomeroGuDw/wavelet_networks | 0fd6871ff9f03a3cb26f1c414728aed89a33b99c | [
"MIT"
] | 1 | 2020-07-31T14:23:43.000Z | 2020-07-31T14:23:43.000Z | import torch
import numpy as np
## Returns the support of the 1D cardinal B-spline in terms of a min-max range
def B_supp(n, s=1, dx=0, intsupp=False):
""" Returns a min and max value of the domain on which the 1D cardinal B-spline of order n is non-zero.
INPUT:
- degree n, an integer
... | 49.183908 | 142 | 0.606216 | 693 | 4,279 | 3.7114 | 0.177489 | 0.042768 | 0.027994 | 0.039658 | 0.828149 | 0.797045 | 0.797045 | 0.787714 | 0.787714 | 0.787714 | 0 | 0.024777 | 0.292592 | 4,279 | 86 | 143 | 49.755814 | 0.824909 | 0.681935 | 0 | 0 | 0 | 0 | 0.01469 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0.115385 | false | 0 | 0.115385 | 0 | 0.346154 | 0.115385 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3958d59b573d52b08441d446901d936f0649bc70 | 3,234 | py | Python | src/odyssey_tests/cli_parser_tests/argument_tests.py | GodwinneLorayne/odyssey | b5576818d70bea011772b944a4dd947777a5ac2f | [
"MIT"
] | 1 | 2020-06-01T20:52:37.000Z | 2020-06-01T20:52:37.000Z | src/odyssey_tests/cli_parser_tests/argument_tests.py | GodwinneLorayne/odyssey | b5576818d70bea011772b944a4dd947777a5ac2f | [
"MIT"
] | 4 | 2020-06-06T04:50:24.000Z | 2021-02-03T07:14:49.000Z | src/odyssey_tests/cli_parser_tests/argument_tests.py | python-odyssey/odyssey | b5576818d70bea011772b944a4dd947777a5ac2f | [
"MIT"
] | 1 | 2020-05-30T21:59:11.000Z | 2020-05-30T21:59:11.000Z | import odyssey.cli_parser.pattern as pattern
import odyssey.cli_parser.argument as argument
def test_parse():
arguments = [
"dragons",
"and",
"things",
"--first-flag",
"--second-flag",
"value",
"--first-assignment=first",
"--second-assignment=second"... | 40.425 | 71 | 0.707174 | 359 | 3,234 | 6.208914 | 0.133705 | 0.25572 | 0.339166 | 0.122028 | 0.893674 | 0.893674 | 0.893674 | 0.893674 | 0.893674 | 0.893674 | 0 | 0.013483 | 0.174397 | 3,234 | 79 | 72 | 40.936709 | 0.821348 | 0 | 0 | 0.704225 | 0 | 0 | 0.111317 | 0.030303 | 0 | 0 | 0 | 0 | 0.507042 | 1 | 0.028169 | false | 0 | 0.028169 | 0 | 0.056338 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
398ec91ae7a9e1bd86d3680808ffd7cd09acb3ff | 6,820 | py | Python | nyc_data/ppe/migrations/0005_auto_20200410_1635.py | nyccto-rapicastillo/nyc-ppe | e6d5ba45cf2815f7659298103d3b5bc7210ed8cf | [
"MIT"
] | 3 | 2020-04-16T03:24:17.000Z | 2020-09-11T22:12:31.000Z | nyc_data/ppe/migrations/0005_auto_20200410_1635.py | nyccto-rapicastillo/nyc-ppe | e6d5ba45cf2815f7659298103d3b5bc7210ed8cf | [
"MIT"
] | 47 | 2020-04-10T20:02:09.000Z | 2021-09-08T02:05:09.000Z | nyc_data/ppe/migrations/0005_auto_20200410_1635.py | nyccto-rapicastillo/nyc-ppe | e6d5ba45cf2815f7659298103d3b5bc7210ed8cf | [
"MIT"
] | 1 | 2020-04-22T19:10:24.000Z | 2020-04-22T19:10:24.000Z | # Generated by Django 3.0.5 on 2020-04-10 16:35
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
dependencies = [
("ppe", "0004_auto_20200409_2232"),
]
operations = [
migrations.CreateModel(
... | 38.531073 | 87 | 0.399853 | 451 | 6,820 | 5.713969 | 0.21286 | 0.032596 | 0.034924 | 0.041909 | 0.817229 | 0.770664 | 0.753201 | 0.753201 | 0.753201 | 0.753201 | 0 | 0.019048 | 0.47654 | 6,820 | 176 | 88 | 38.75 | 0.702801 | 0.006598 | 0 | 0.805882 | 1 | 0 | 0.263694 | 0.068064 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017647 | 0 | 0.035294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
39d50d638a10383644d2ecf7a968445b8518baa0 | 2,977 | py | Python | tests/configuration/configuration_test.py | martvanrijthoven/creationism | 510040dc4f3cd622c48006318e3d291a66f5335f | [
"MIT"
] | null | null | null | tests/configuration/configuration_test.py | martvanrijthoven/creationism | 510040dc4f3cd622c48006318e3d291a66f5335f | [
"MIT"
] | null | null | null | tests/configuration/configuration_test.py | martvanrijthoven/creationism | 510040dc4f3cd622c48006318e3d291a66f5335f | [
"MIT"
] | null | null | null | from creationism.configuration.config import ConfigDict
from pathlib import Path
class TestConfig:
def test_create_config_dict(self):
config = {"a": 1, "b": "b", "c": [1, 2, 3]}
config_dict = ConfigDict(config_value=config)
assert isinstance(config_dict, ConfigDict)
def test_create_co... | 42.528571 | 83 | 0.625462 | 413 | 2,977 | 4.205811 | 0.121065 | 0.184226 | 0.020725 | 0.027634 | 0.839378 | 0.800806 | 0.779505 | 0.770294 | 0.715602 | 0.652274 | 0 | 0.013948 | 0.20524 | 2,977 | 69 | 84 | 43.144928 | 0.720203 | 0.234128 | 0 | 0.384615 | 0 | 0 | 0.071492 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.205128 | false | 0 | 0.051282 | 0 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ffda0bea4144681eb4a425d705de86aca24d17e8 | 21,928 | py | Python | sdk/python/pulumi_azuredevops/service_endpoint_artifactory.py | pulumi/pulumi-azuredevops | e6d73d1501335037fb944ae627091a7afc7f0048 | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2020-06-28T11:39:32.000Z | 2022-03-05T13:34:16.000Z | sdk/python/pulumi_azuredevops/service_endpoint_artifactory.py | pulumi/pulumi-azuredevops | e6d73d1501335037fb944ae627091a7afc7f0048 | [
"ECL-2.0",
"Apache-2.0"
] | 58 | 2020-06-20T14:00:28.000Z | 2022-03-31T15:20:51.000Z | sdk/python/pulumi_azuredevops/service_endpoint_artifactory.py | pulumi/pulumi-azuredevops | e6d73d1501335037fb944ae627091a7afc7f0048 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-10-21T03:22:01.000Z | 2021-12-10T18:26:59.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 44.569106 | 186 | 0.673021 | 2,156 | 21,928 | 6.616883 | 0.09462 | 0.070938 | 0.061825 | 0.041637 | 0.852096 | 0.832889 | 0.810178 | 0.799033 | 0.787957 | 0.750876 | 0 | 0.01708 | 0.228384 | 21,928 | 491 | 187 | 44.659878 | 0.826064 | 0.283792 | 0 | 0.716981 | 1 | 0 | 0.172304 | 0.093401 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158491 | false | 0.003774 | 0.026415 | 0.033962 | 0.279245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ffff0a9dbfdd0d43378288ab2594adf4d9de24fb | 31,794 | py | Python | tests/test_driver.py | michelepagot/pysds011 | 8a0e8cd401fda302b65d69dede224dd4b984e763 | [
"MIT"
] | null | null | null | tests/test_driver.py | michelepagot/pysds011 | 8a0e8cd401fda302b65d69dede224dd4b984e763 | [
"MIT"
] | null | null | null | tests/test_driver.py | michelepagot/pysds011 | 8a0e8cd401fda302b65d69dede224dd4b984e763 | [
"MIT"
] | 1 | 2021-07-10T02:17:09.000Z | 2021-07-10T02:17:09.000Z | from pysds011.driver import SDS011
import logging
class SerialMock(object):
def __init__(self):
self.__write_reg = list()
self.__read_reg = list()
self.timeout = 0
def write(self, data):
self.__write_reg.append(data)
def read(self, size):
if self.__read_reg:
... | 28.412869 | 94 | 0.610115 | 4,281 | 31,794 | 4.247372 | 0.056295 | 0.098004 | 0.126217 | 0.144531 | 0.888467 | 0.867679 | 0.847055 | 0.8393 | 0.830886 | 0.821482 | 0 | 0.055761 | 0.208624 | 31,794 | 1,118 | 95 | 28.438283 | 0.666905 | 0.152922 | 0 | 0.761538 | 0 | 0.051923 | 0.110385 | 0.058565 | 0 | 0 | 0 | 0 | 0.213462 | 1 | 0.080769 | false | 0 | 0.003846 | 0.001923 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
081bffefe9c4d982a8e31bc5ea7e5154078d9350 | 463 | py | Python | test_script.py | aronchick/pipenv-multiple-env-in-a-directory-example | d089196779d7e3851beeb3a07ce702264ab175bf | [
"MIT"
] | null | null | null | test_script.py | aronchick/pipenv-multiple-env-in-a-directory-example | d089196779d7e3851beeb3a07ce702264ab175bf | [
"MIT"
] | null | null | null | test_script.py | aronchick/pipenv-multiple-env-in-a-directory-example | d089196779d7e3851beeb3a07ce702264ab175bf | [
"MIT"
] | null | null | null | import sklearn
print(f"SKLearn version: {sklearn.__version__} \n")
if sklearn.__version__ == "0.21.3":
print(f"We're executing this code because sklearn version is < 0.22.")
else:
print(f"We're NOT executing this code because sklearn version is < 0.22.")
if sklearn.__version__ == "0.23.1":
print(f"We're ... | 35.615385 | 79 | 0.704104 | 77 | 463 | 4.077922 | 0.285714 | 0.356688 | 0.101911 | 0.127389 | 0.719745 | 0.719745 | 0.719745 | 0.719745 | 0.719745 | 0.719745 | 0 | 0.05168 | 0.164147 | 463 | 13 | 79 | 35.615385 | 0.75969 | 0 | 0 | 0.2 | 0 | 0 | 0.653017 | 0.045259 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.1 | 0 | 0.1 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
f24fe976513959fc5d4b7dedea8517e9f15ac753 | 25,313 | py | Python | models/classifiers.py | caotians1/OD-test-master | e272421294a3614bdcdb3a4e4b530f613dad1a1c | [
"MIT"
] | 3 | 2020-10-07T18:35:50.000Z | 2021-02-23T06:36:21.000Z | models/classifiers.py | caotians1/OD-test-master | e272421294a3614bdcdb3a4e4b530f613dad1a1c | [
"MIT"
] | null | null | null | models/classifiers.py | caotians1/OD-test-master | e272421294a3614bdcdb3a4e4b530f613dad1a1c | [
"MIT"
] | 3 | 2020-10-08T14:38:15.000Z | 2021-11-08T11:51:48.000Z | import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import torchvision.models.vgg as VGG
import torchvision.models.resnet as Resnet
import torchvision.models.densenet as Densenet
class PartialForwardable(object):
def partial_forward(self, x):
if hasattr(self, 'de... | 38.121988 | 151 | 0.611306 | 3,198 | 25,313 | 4.716698 | 0.062539 | 0.033413 | 0.022275 | 0.026518 | 0.911628 | 0.904269 | 0.89638 | 0.879475 | 0.873111 | 0.86436 | 0 | 0.059307 | 0.264607 | 25,313 | 664 | 152 | 38.121988 | 0.751007 | 0.137637 | 0 | 0.767857 | 0 | 0 | 0.036308 | 0 | 0 | 0 | 0 | 0.001506 | 0 | 1 | 0.147321 | false | 0 | 0.015625 | 0.035714 | 0.325893 | 0.002232 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f2708640ab24df89f56c4a5a3c28d19ec3d902bc | 64 | py | Python | app/utilities/constants.py | futuresimple/triggear | d6b8511ba8550225e7c34bd52232327b2b89d972 | [
"MIT"
] | 14 | 2017-08-17T16:48:26.000Z | 2019-07-10T12:11:49.000Z | app/utilities/constants.py | futuresimple/triggear | d6b8511ba8550225e7c34bd52232327b2b89d972 | [
"MIT"
] | null | null | null | app/utilities/constants.py | futuresimple/triggear | d6b8511ba8550225e7c34bd52232327b2b89d972 | [
"MIT"
] | null | null | null | BRANCH_DELETED_SHA = '0000000000000000000000000000000000000000'
| 32 | 63 | 0.90625 | 4 | 64 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.655738 | 0.046875 | 64 | 1 | 64 | 64 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f28a491c8db7fc7ac790a79605aab7a3a9551f2e | 241 | py | Python | src/process/models/base/common/__init__.py | jedicontributors/pythondataintegrator | 3e877b367ab9b20185476128ec053db41087879f | [
"MIT"
] | 14 | 2020-12-19T15:06:13.000Z | 2022-01-12T19:52:17.000Z | src/process/models/base/common/__init__.py | jedicontributors/pythondataintegrator | 3e877b367ab9b20185476128ec053db41087879f | [
"MIT"
] | 43 | 2021-01-06T22:05:22.000Z | 2022-03-10T10:30:30.000Z | src/process/models/base/common/__init__.py | jedicontributors/pythondataintegrator | 3e877b367ab9b20185476128ec053db41087879f | [
"MIT"
] | 4 | 2020-12-18T23:10:09.000Z | 2021-04-02T13:03:12.000Z | from models.base.common.OperationEventBase import OperationEventBase
from models.base.common.LogBase import LogBase
from models.base.common.StatusBase import StatusBase
from models.base.common.ConfigParameterBase import ConfigParameterBase
| 40.166667 | 70 | 0.879668 | 28 | 241 | 7.571429 | 0.321429 | 0.188679 | 0.264151 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070539 | 241 | 5 | 71 | 48.2 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f2996a8fd9443f858cc28ba1cdfea6954ed2fabf | 8,683 | py | Python | tests/kong/test_consumers.py | tammoippen/kongcli | b25686d77378de987ab5c4df41ae9b038d7c4953 | [
"MIT"
] | 3 | 2019-10-14T18:38:31.000Z | 2020-08-13T11:53:43.000Z | tests/kong/test_consumers.py | tammoippen/kongcli | b25686d77378de987ab5c4df41ae9b038d7c4953 | [
"MIT"
] | 1 | 2019-10-23T08:04:13.000Z | 2019-10-23T08:04:13.000Z | tests/kong/test_consumers.py | tammoippen/kongcli | b25686d77378de987ab5c4df41ae9b038d7c4953 | [
"MIT"
] | null | null | null | from uuid import uuid4
import pytest
from kongcli.kong import consumers
from kongcli.kong.general import add
def test_no_acl_for_new_consumer(session, clean_kong):
consumer = add("consumers", session, username="test-user", custom_id="1234")
assert [] == consumers.groups(session, consumer["id"])
def test_a... | 43.415 | 271 | 0.681907 | 1,157 | 8,683 | 4.946413 | 0.099395 | 0.106587 | 0.133671 | 0.099074 | 0.867203 | 0.846759 | 0.815831 | 0.792941 | 0.734405 | 0.67517 | 0 | 0.02502 | 0.148451 | 8,683 | 199 | 272 | 43.633166 | 0.748986 | 0.014166 | 0 | 0.546053 | 0 | 0.006579 | 0.187588 | 0.011571 | 0 | 0 | 0 | 0 | 0.282895 | 1 | 0.138158 | false | 0.098684 | 0.026316 | 0 | 0.164474 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
f2a76e09b5f0c60433adbe0107d015d3bfe608f5 | 162 | py | Python | azmessaging/readers/__init__.py | ali-zahedi/az-messaging | ecc626e6be3f58a9ec166923623c144c86d2734e | [
"MIT"
] | null | null | null | azmessaging/readers/__init__.py | ali-zahedi/az-messaging | ecc626e6be3f58a9ec166923623c144c86d2734e | [
"MIT"
] | null | null | null | azmessaging/readers/__init__.py | ali-zahedi/az-messaging | ecc626e6be3f58a9ec166923623c144c86d2734e | [
"MIT"
] | null | null | null | from .bases import Reader
from .defaults import DefaultReader
from .sms import * # noqa
from .telegram import * # noqa
from .pushnotifications import * # noqa
| 27 | 40 | 0.753086 | 20 | 162 | 6.1 | 0.5 | 0.245902 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179012 | 162 | 5 | 41 | 32.4 | 0.917293 | 0.08642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4b8139f884ffbbdb779a632bc5bbe3cdca31b992 | 8,731 | py | Python | dgm4nlp/tf/logit.py | uva-slpl/dgm4nlp | 9c5b3a4bc3f5e9b4f971d5b9bbad70e19bb12f8c | [
"MIT"
] | null | null | null | dgm4nlp/tf/logit.py | uva-slpl/dgm4nlp | 9c5b3a4bc3f5e9b4f971d5b9bbad70e19bb12f8c | [
"MIT"
] | null | null | null | dgm4nlp/tf/logit.py | uva-slpl/dgm4nlp | 9c5b3a4bc3f5e9b4f971d5b9bbad70e19bb12f8c | [
"MIT"
] | null | null | null | import tensorflow as tf
import logging
from dgm4nlp.tf.ssoftmax import botev_sampled_softmax_layer
from dgm4nlp.tf.ssoftmax import jean_sampled_softmax_layer
from dgm4nlp.tf.ssoftmax import botev_batch_sampled_softmax_layer
def logit_layer_for_text(
nb_classes, # V
inputs, # [B, T, dim]
labe... | 41.77512 | 123 | 0.560188 | 1,022 | 8,731 | 4.670254 | 0.130137 | 0.010476 | 0.033522 | 0.009428 | 0.869055 | 0.849151 | 0.823801 | 0.784412 | 0.749214 | 0.73392 | 0 | 0.00544 | 0.347268 | 8,731 | 208 | 124 | 41.975962 | 0.832076 | 0.343603 | 0 | 0.737705 | 0 | 0 | 0.067889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0.106557 | 0 | 0.139344 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4bb41302a42110ecdd92b78613bae6cba85b58dc | 7,356 | py | Python | sample/tohbase.py | DingPengfei/sync-ecg | 7617b130b97936f4bd059f55b902fef631c41f4e | [
"BSD-2-Clause"
] | null | null | null | sample/tohbase.py | DingPengfei/sync-ecg | 7617b130b97936f4bd059f55b902fef631c41f4e | [
"BSD-2-Clause"
] | null | null | null | sample/tohbase.py | DingPengfei/sync-ecg | 7617b130b97936f4bd059f55b902fef631c41f4e | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf8 -*-
from thrift.transport import TSocket, TTransport
from thrift.protocol import TBinaryProtocol
from hbase import Hbase
from hbase.ttypes import Mutation
from configparser import ConfigParser
import hashlib
class HbaseOperation:
def __init__(self):
cfg = ConfigParser()
cfg.re... | 46.556962 | 88 | 0.650218 | 921 | 7,356 | 5.076004 | 0.094463 | 0.170695 | 0.182888 | 0.207273 | 0.861818 | 0.850909 | 0.850909 | 0.850909 | 0.850909 | 0.850909 | 0 | 0.001872 | 0.201332 | 7,356 | 157 | 89 | 46.853503 | 0.793872 | 0.007477 | 0 | 0.811189 | 0 | 0 | 0.139901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020979 | false | 0 | 0.041958 | 0 | 0.06993 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
29e3cc5ca820e5d7f67b700623e579b096e5e831 | 277 | py | Python | analyzer/expression/prefix_unary_expression_syntax.py | vbondarevsky/ones_analyzer | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 12 | 2017-11-23T07:04:13.000Z | 2022-03-01T21:06:56.000Z | analyzer/expression/prefix_unary_expression_syntax.py | vbondarevsky/analyzer_test | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 2 | 2017-06-25T21:32:32.000Z | 2017-11-19T19:05:40.000Z | analyzer/expression/prefix_unary_expression_syntax.py | vbondarevsky/analyzer_test | ab8bff875192db238ed17c20d61c9fa5b55c3fa8 | [
"MIT"
] | 5 | 2017-11-21T08:24:56.000Z | 2021-08-17T23:21:18.000Z | class PrefixUnaryExpressionSyntax(object):
def __init__(self, kind, operator_token, operand):
self.kind = kind
self.operator_token = operator_token
self.operand = operand
def __str__(self):
return f"{self.operator_token}{self.operand}"
| 30.777778 | 54 | 0.685921 | 31 | 277 | 5.741935 | 0.419355 | 0.292135 | 0.191011 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220217 | 277 | 8 | 55 | 34.625 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0.126354 | 0.126354 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
d9e53f5c3f339a11d4e93393cdac88a146407e61 | 39,760 | py | Python | unittest/test_sinh.py | m1griffin/arrayfunc | df57097699c25d3e949e1ade307ed61eaa5728c2 | [
"Apache-2.0"
] | 2 | 2017-08-28T08:41:16.000Z | 2018-05-29T03:49:36.000Z | unittest/test_sinh.py | m1griffin/arrayfunc | df57097699c25d3e949e1ade307ed61eaa5728c2 | [
"Apache-2.0"
] | null | null | null | unittest/test_sinh.py | m1griffin/arrayfunc | df57097699c25d3e949e1ade307ed61eaa5728c2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
##############################################################################
# Project: arrayfunc
# Module: test_sinh.py
# Purpose: arrayfunc unit test.
# Language: Python 3.4
# Date: 09-Dec-2017.
# Ver: 06-Mar-2020.
#
###############################################################... | 34.483955 | 117 | 0.606464 | 4,582 | 39,760 | 5.19402 | 0.064164 | 0.039329 | 0.045716 | 0.018824 | 0.953822 | 0.950502 | 0.950334 | 0.947351 | 0.943065 | 0.942897 | 0 | 0.008887 | 0.136796 | 39,760 | 1,152 | 118 | 34.513889 | 0.684537 | 0.342153 | 0 | 0.90932 | 0 | 0 | 0.011388 | 0 | 0 | 0 | 0 | 0 | 0.186398 | 1 | 0.191436 | false | 0.020151 | 0.02267 | 0 | 0.239295 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a186eae1d53e7961c6c0754194611f908b16f26 | 12,007 | py | Python | tests/test_ion_balance.py | chummels/trident_test | 259339b1d46f96565d862ad8f11d6d7970a2f73d | [
"BSD-3-Clause-Clear"
] | 14 | 2017-09-14T20:29:38.000Z | 2022-03-12T11:26:48.000Z | tests/test_ion_balance.py | chummels/trident_test | 259339b1d46f96565d862ad8f11d6d7970a2f73d | [
"BSD-3-Clause-Clear"
] | 129 | 2017-09-20T22:06:36.000Z | 2022-02-23T20:21:32.000Z | tests/test_ion_balance.py | chummels/trident_test | 259339b1d46f96565d862ad8f11d6d7970a2f73d | [
"BSD-3-Clause-Clear"
] | 21 | 2017-09-14T22:22:35.000Z | 2022-03-12T11:26:57.000Z | """
Tests for ion balance code
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2016, Trident Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
#-----------------... | 35.949102 | 86 | 0.593237 | 1,631 | 12,007 | 4.106683 | 0.090129 | 0.016124 | 0.017916 | 0.021499 | 0.868618 | 0.858167 | 0.853688 | 0.81487 | 0.805912 | 0.803822 | 0 | 0.011076 | 0.255601 | 12,007 | 333 | 87 | 36.057057 | 0.738308 | 0.11993 | 0 | 0.726496 | 0 | 0 | 0.168918 | 0.006706 | 0 | 0 | 0 | 0 | 0.141026 | 1 | 0.07265 | false | 0 | 0.034188 | 0 | 0.106838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a54f9beebcceeec131c8c899850a5c39b0eb9ef | 42,261 | py | Python | compiler/dfg.py | omareddash/dnnweaverclone | a803ffb1f52e23595cedb8a6dc095c881d2c62ff | [
"Apache-2.0"
] | 7 | 2019-04-06T06:33:11.000Z | 2021-10-02T08:17:35.000Z | compiler/dfg.py | omareddash/dnnweaverclone | a803ffb1f52e23595cedb8a6dc095c881d2c62ff | [
"Apache-2.0"
] | 1 | 2020-01-07T17:09:16.000Z | 2020-01-07T17:09:16.000Z | compiler/dfg.py | omareddash/dnnweaverclone | a803ffb1f52e23595cedb8a6dc095c881d2c62ff | [
"Apache-2.0"
] | 4 | 2019-04-06T06:33:12.000Z | 2021-04-05T19:17:27.000Z | # from network import LayerNode, Convolution
import sys
from math import ceil, log, floor
from collections import deque
INPUT_SHARING = False
class DFG:
def __init__(self, conv, hardware):
self.hardware = hardware
total_bram_capacity = self.hardware["resources"]["num_bram"] * self.hardware["reso... | 40.990301 | 140 | 0.551288 | 5,301 | 42,261 | 4.136955 | 0.035842 | 0.033516 | 0.044186 | 0.034473 | 0.866667 | 0.846831 | 0.816188 | 0.799134 | 0.782034 | 0.763976 | 0 | 0.01892 | 0.337143 | 42,261 | 1,030 | 141 | 41.030097 | 0.763931 | 0.369277 | 0 | 0.714286 | 0 | 0 | 0.132071 | 0 | 0 | 0 | 0 | 0.000971 | 0.006696 | 0 | null | null | 0 | 0.022321 | null | null | 0.272321 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8a57906c8d390e3f1b73d26436d91781fc59e7f2 | 5,112 | py | Python | Lib/test/test_hexoct.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | 1 | 2020-11-26T18:53:46.000Z | 2020-11-26T18:53:46.000Z | Lib/test/test_hexoct.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | null | null | null | Lib/test/test_hexoct.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | 1 | 2019-04-11T11:27:01.000Z | 2019-04-11T11:27:01.000Z | """Test correct treatment of hex/oct constants.
This is complex because of changes due to PEP 237.
Some of these tests will have to change in Python 2.4!
"""
import sys
platform_long_is_32_bits = sys.maxint == 2147483647
import unittest
from test import test_support
import warnings
warnings.filterwarnings("ignore"... | 40.896 | 78 | 0.644953 | 547 | 5,112 | 5.923218 | 0.179159 | 0.222222 | 0.037037 | 0.055556 | 0.877778 | 0.871605 | 0.856173 | 0.856173 | 0.779012 | 0.779012 | 0 | 0.237877 | 0.273865 | 5,112 | 124 | 79 | 41.225806 | 0.634968 | 0.060446 | 0 | 0.36 | 0 | 0 | 0.54822 | 0.220065 | 0 | 0 | 0.0589 | 0 | 0.48 | 0 | null | null | 0 | 0.04 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8a9668afbbc83a72e07931da09f46f1f87ac7058 | 35,282 | py | Python | src/repli1d/development.py | amir-zeraati/repli1D | 2795b4cc997614f2724b682469ccc1406dec9fac | [
"MIT"
] | null | null | null | src/repli1d/development.py | amir-zeraati/repli1D | 2795b4cc997614f2724b682469ccc1406dec9fac | [
"MIT"
] | null | null | null | src/repli1d/development.py | amir-zeraati/repli1D | 2795b4cc997614f2724b682469ccc1406dec9fac | [
"MIT"
] | null | null | null | import argparse
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import tensorflow as tf
from sklearn.ensemble import RandomForestRegressor
from sklearn.metrics import mean_squared_error
from sklearn.model_selection import GridSearchCV
from sklearn.utils import shuffle
from skle... | 52.424963 | 95 | 0.540304 | 4,246 | 35,282 | 4.290391 | 0.073245 | 0.037218 | 0.024592 | 0.042158 | 0.904759 | 0.901027 | 0.892079 | 0.888072 | 0.882253 | 0.878849 | 0 | 0.026178 | 0.314636 | 35,282 | 672 | 96 | 52.502976 | 0.727183 | 0.055807 | 0 | 0.850891 | 0 | 0 | 0.127975 | 0.026088 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025932 | 0 | 0.025932 | 0.0859 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a9c3de7a05f847818653ccc05d0560b4ddaa1fc | 37,503 | py | Python | src/ebay_rest/api/sell_marketing/api/promotion_api.py | gbm001/ebay_rest | 077d3478423ccd80ff35e0361821d6a11180bc54 | [
"MIT"
] | null | null | null | src/ebay_rest/api/sell_marketing/api/promotion_api.py | gbm001/ebay_rest | 077d3478423ccd80ff35e0361821d6a11180bc54 | [
"MIT"
] | null | null | null | src/ebay_rest/api/sell_marketing/api/promotion_api.py | gbm001/ebay_rest | 077d3478423ccd80ff35e0361821d6a11180bc54 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Marketing API
<p>The <i>Marketing API </i> offers two platforms that sellers can use to promote and advertise their products:</p> <ul><li><b>Promoted Listings</b> is an eBay ad service that lets sellers set up <i>ad campaigns </i> for the products they want to promote. eBay displays the ad... | 84.087444 | 2,092 | 0.687918 | 5,412 | 37,503 | 4.66796 | 0.084257 | 0.020583 | 0.0095 | 0.010133 | 0.908206 | 0.904366 | 0.897597 | 0.893401 | 0.892333 | 0.886474 | 0 | 0.01091 | 0.205664 | 37,503 | 445 | 2,093 | 84.276404 | 0.837127 | 0.690451 | 0 | 0.759657 | 0 | 0 | 0.192293 | 0.037393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038627 | false | 0 | 0.017167 | 0 | 0.111588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
76d8cbf800338c9da42a6c927dff877e2e0ea9fe | 5,319 | py | Python | src/python/turicreate/meta/decompiler/tests/test_comprehensions.py | pappasG/turicreate | 494e313957a6c01333628b182a7d5bc6efea18f8 | [
"BSD-3-Clause"
] | 2 | 2019-02-08T08:45:27.000Z | 2020-09-07T05:55:18.000Z | src/python/turicreate/meta/decompiler/tests/test_comprehensions.py | pappasG/turicreate | 494e313957a6c01333628b182a7d5bc6efea18f8 | [
"BSD-3-Clause"
] | 3 | 2022-02-15T04:42:24.000Z | 2022-03-12T01:05:15.000Z | src/python/turicreate/meta/decompiler/tests/test_comprehensions.py | pappasG/turicreate | 494e313957a6c01333628b182a7d5bc6efea18f8 | [
"BSD-3-Clause"
] | 1 | 2019-11-23T09:47:24.000Z | 2019-11-23T09:47:24.000Z | # -*- coding: utf-8 -*-
# Copyright © 2017 Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can
# be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
'''
Created on Nov 6, 2011
@author: sean
'''
from __future__ import print_function ... | 27.848168 | 85 | 0.595789 | 834 | 5,319 | 3.684652 | 0.111511 | 0.082005 | 0.07029 | 0.082005 | 0.858119 | 0.858119 | 0.858119 | 0.85454 | 0.85454 | 0.849658 | 0 | 0.018967 | 0.286332 | 5,319 | 190 | 86 | 27.994737 | 0.790306 | 0.057718 | 0 | 0.661765 | 0 | 0.022059 | 0.244649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0.036765 | 0 | 0.323529 | 0.007353 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
76fd94b9430ed0128ef8ba0ca29f558d0b0a1311 | 423 | py | Python | CCC/ccc01j1.py | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | CCC/ccc01j1.py | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | CCC/ccc01j1.py | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | n = int(input())
for i in range(1, n+1, 2):
for j in range(i):
print("*", end="")
for j in range(n+n-i-i):
print(" ", end="")
for j in range(i):
print("*", end="")
print()
for i in range(n-2, 0, -2):
for j in range(i):
print("*", end="")
for j in range... | 24.882353 | 29 | 0.413712 | 69 | 423 | 2.536232 | 0.188406 | 0.32 | 0.205714 | 0.377143 | 0.788571 | 0.788571 | 0.788571 | 0.788571 | 0.788571 | 0.788571 | 0 | 0.021978 | 0.35461 | 423 | 17 | 30 | 24.882353 | 0.619048 | 0 | 0 | 0.823529 | 0 | 0 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
0a0330d9ae37f832164caf3efc632b4ffb9d8af7 | 59 | py | Python | src/python/some_file.py | davidjstevenson/cpp-embedded-python | 798e99bde8bb969fda18335f36e286e2dfcbf9e2 | [
"MIT"
] | null | null | null | src/python/some_file.py | davidjstevenson/cpp-embedded-python | 798e99bde8bb969fda18335f36e286e2dfcbf9e2 | [
"MIT"
] | null | null | null | src/python/some_file.py | davidjstevenson/cpp-embedded-python | 798e99bde8bb969fda18335f36e286e2dfcbf9e2 | [
"MIT"
] | null | null | null |
def some_file():
print("some_file.py:some_file()")
| 14.75 | 38 | 0.627119 | 9 | 59 | 3.777778 | 0.555556 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186441 | 59 | 3 | 39 | 19.666667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.436364 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
0a2ee86ecd7e85c1e9bb767099c6638e0aa65e4b | 9,345 | py | Python | src/genie/libs/parser/iosxr/tests/ShowRouteIpv6/cli/equal/golden_outpu_4_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowRouteIpv6/cli/equal/golden_outpu_4_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowRouteIpv6/cli/equal/golden_outpu_4_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
'vrf': {
'default': {
'address_family': {
'ipv6': {
'routes': {
'2001:0:10:204:0:30:0:2/128': {
'active': True,
'next_hop': {
... | 44.080189 | 79 | 0.243018 | 531 | 9,345 | 4.105461 | 0.146893 | 0.154128 | 0.104587 | 0.143119 | 0.907798 | 0.898165 | 0.855046 | 0.796789 | 0.777523 | 0.709633 | 0 | 0.147372 | 0.647833 | 9,345 | 211 | 80 | 44.2891 | 0.515041 | 0 | 0 | 0.54067 | 0 | 0 | 0.258589 | 0.063684 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a602ac85f69e9daef9f41df0dd1311b88d2e305 | 4,523 | py | Python | misc/data_loader.py | minfanzhang/noisy-K-FAC | 5c7dd24d09ec13bce0f427f38324d6d684f0e998 | [
"Apache-2.0"
] | null | null | null | misc/data_loader.py | minfanzhang/noisy-K-FAC | 5c7dd24d09ec13bce0f427f38324d6d684f0e998 | [
"Apache-2.0"
] | null | null | null | misc/data_loader.py | minfanzhang/noisy-K-FAC | 5c7dd24d09ec13bce0f427f38324d6d684f0e998 | [
"Apache-2.0"
] | null | null | null | import torch
import torchvision
import torchvision.transforms as transforms
class Flatten(object):
def __call__(self, tensor):
return tensor.view(-1)
def __repr__(self):
return self.__class__.__name__
class Transpose(object):
def __call__(self, tensor):
return tensor.permute(1, ... | 43.490385 | 124 | 0.563343 | 430 | 4,523 | 5.755814 | 0.193023 | 0.036364 | 0.08404 | 0.116364 | 0.854949 | 0.845253 | 0.845253 | 0.792727 | 0.758788 | 0.664242 | 0 | 0.067397 | 0.33407 | 4,523 | 103 | 125 | 43.912621 | 0.754316 | 0 | 0 | 0.731183 | 0 | 0 | 0.01017 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053763 | false | 0 | 0.032258 | 0.043011 | 0.16129 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ab0c1109fc2e04eead391dc4bb1e7056cf708c3 | 165 | py | Python | Utils/__init__.py | whkwls2653/Pytorch_Face_Recognition- | 60f3849def589957d9080457a1a9833112a71f6c | [
"MIT"
] | 62 | 2020-08-26T05:42:39.000Z | 2022-03-31T04:25:50.000Z | Utils/__init__.py | whkwls2653/Pytorch_Face_Recognition- | 60f3849def589957d9080457a1a9833112a71f6c | [
"MIT"
] | 10 | 2020-08-27T06:46:10.000Z | 2021-09-29T03:36:07.000Z | Utils/__init__.py | whkwls2653/Pytorch_Face_Recognition- | 60f3849def589957d9080457a1a9833112a71f6c | [
"MIT"
] | 13 | 2020-08-30T00:27:37.000Z | 2021-12-09T02:56:07.000Z | from Utils.Other_Utils.ChangeTimeFormat import ChangeTimeFormat
from Utils.Other_Utils.Logging import init_logger
from Utils.Other_Utils.Visualizer import Visualizer | 55 | 63 | 0.89697 | 22 | 165 | 6.545455 | 0.409091 | 0.1875 | 0.291667 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 165 | 3 | 64 | 55 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6acc1cb544307572f81b72c04516b2bd92e9cf19 | 374,355 | py | Python | sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_generated/models/_models.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 44.491918 | 635 | 0.675786 | 40,969 | 374,355 | 5.964754 | 0.01899 | 0.026812 | 0.034374 | 0.044195 | 0.869231 | 0.852756 | 0.844883 | 0.834669 | 0.825883 | 0.816696 | 0 | 0.001865 | 0.194893 | 374,355 | 8,413 | 636 | 44.497207 | 0.808896 | 0.481978 | 0 | 0.736539 | 0 | 0 | 0.38552 | 0.101136 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041035 | false | 0.003136 | 0.000523 | 0 | 0.16022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a871e02f56928dcc293dcadcec21c3acb9f66f8 | 1,971 | py | Python | Books/GodOfPython/P00_OriginalSource/ch11/House.py | Tim232/Python-Things | 05f0f373a4cf298e70d9668c88a6e3a9d1cd8146 | [
"MIT"
] | 2 | 2020-12-05T07:42:55.000Z | 2021-01-06T23:23:18.000Z | Books/GodOfPython/P00_OriginalSource/ch11/House.py | Tim232/Python-Things | 05f0f373a4cf298e70d9668c88a6e3a9d1cd8146 | [
"MIT"
] | null | null | null | Books/GodOfPython/P00_OriginalSource/ch11/House.py | Tim232/Python-Things | 05f0f373a4cf298e70d9668c88a6e3a9d1cd8146 | [
"MIT"
] | null | null | null | # C:\gop\ch11\House.py
class House(object): # House 클래스 정의
def __init__(self, year, acreages, address, price):
self.year = year
self.acreages = acreages
self.address = address
self.price = price
def change_price(self, rate):
self.price = self.price * rate
def show... | 28.985294 | 98 | 0.568239 | 228 | 1,971 | 4.684211 | 0.214912 | 0.101124 | 0.11236 | 0.042135 | 0.840824 | 0.814607 | 0.814607 | 0.814607 | 0.777154 | 0.689139 | 0 | 0.019188 | 0.312532 | 1,971 | 67 | 99 | 29.41791 | 0.769004 | 0.052258 | 0 | 0.666667 | 0 | 0 | 0.022055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.215686 | false | 0 | 0 | 0 | 0.313725 | 0.098039 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0adf2eb19a335c35c74d4f6c552ccd0ad4181a00 | 9,890 | py | Python | shexer/local_code/test_shexer.py | white-gecko/shexerp3 | afa24192c0c8375f5c6446fbb57bfc533707e97f | [
"Apache-2.0"
] | null | null | null | shexer/local_code/test_shexer.py | white-gecko/shexerp3 | afa24192c0c8375f5c6446fbb57bfc533707e97f | [
"Apache-2.0"
] | null | null | null | shexer/local_code/test_shexer.py | white-gecko/shexerp3 | afa24192c0c8375f5c6446fbb57bfc533707e97f | [
"Apache-2.0"
] | null | null | null | from shexer.shaper import Shaper
from shexer.consts import TURTLE
a_graph = """
@base <http://library.edu/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bf: <http://id.loc.gov/ontologies/bibframe.rdf/> .
<Instance_1> a bf:Instance ;... | 29.789157 | 222 | 0.638827 | 1,125 | 9,890 | 5.32 | 0.131556 | 0.072515 | 0.035088 | 0.070175 | 0.895572 | 0.890226 | 0.874185 | 0.85447 | 0.826065 | 0.826065 | 0 | 0.020901 | 0.225986 | 9,890 | 331 | 223 | 29.879154 | 0.760941 | 0.039737 | 0 | 0.859813 | 0 | 0.018692 | 0.272639 | 0.025627 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023364 | 0 | 0.023364 | 0.126168 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0aed366f9287dce958ca77ed4ab3f432e66d58d2 | 110 | py | Python | app/back/mongo/data/collect/graticules/__init__.py | jgphilpott/polyplot | c46861174ee5881dadffbfb2278d555462523547 | [
"MIT"
] | 5 | 2021-05-17T14:17:14.000Z | 2021-12-14T12:54:32.000Z | app/back/mongo/data/collect/graticules/__init__.py | jgphilpott/iGraph | 2a91ba57e4950856a83d3a109753f8f2badee829 | [
"MIT"
] | 8 | 2020-02-09T02:48:41.000Z | 2021-05-16T04:57:02.000Z | app/back/mongo/data/collect/graticules/__init__.py | jgphilpott/iGraph | 2a91ba57e4950856a83d3a109753f8f2badee829 | [
"MIT"
] | 2 | 2016-09-12T03:48:16.000Z | 2019-05-04T14:15:19.000Z | from back.mongo.data.collect.graticules.model import *
from back.mongo.data.collect.graticules.mongo import *
| 36.666667 | 54 | 0.818182 | 16 | 110 | 5.625 | 0.5 | 0.177778 | 0.288889 | 0.377778 | 0.755556 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 2 | 55 | 55 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 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 | 8 |
e4047a599de7714fc262eabc490c88c6499a2ca9 | 72,721 | py | Python | calico/felix/test/test_endpoint.py | ozdanborne/felix | 5eff313e6498b3a7d775aa16cb09fd4578331701 | [
"Apache-2.0"
] | 6 | 2016-10-18T04:04:25.000Z | 2016-10-18T04:06:49.000Z | calico/felix/test/test_endpoint.py | ozdanborne/felix | 5eff313e6498b3a7d775aa16cb09fd4578331701 | [
"Apache-2.0"
] | 1 | 2021-06-01T21:45:37.000Z | 2021-06-01T21:45:37.000Z | calico/felix/test/test_endpoint.py | ozdanborne/felix | 5eff313e6498b3a7d775aa16cb09fd4578331701 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2014-2016 Tigera, Inc. All rights reserved.
# Copyright (c) 2015 Cisco Systems. 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
#... | 46.378189 | 96 | 0.575638 | 8,498 | 72,721 | 4.618263 | 0.06225 | 0.02943 | 0.027162 | 0.040259 | 0.827702 | 0.804286 | 0.777226 | 0.757275 | 0.721679 | 0.700428 | 0 | 0.014114 | 0.326756 | 72,721 | 1,567 | 97 | 46.407786 | 0.787496 | 0.087733 | 0 | 0.681423 | 0 | 0 | 0.109817 | 0.045411 | 0 | 0 | 0 | 0 | 0.146245 | 0 | null | null | 0.000791 | 0.016601 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e40b23c232aef9ab18727b17036490e8faa476e2 | 12,592 | py | Python | cogs/servmanager.py | thekevinlab/saturn-discord-bot | 416fa70ebfa10f7e0dd86315f139bb02d7fdfabc | [
"BSD-3-Clause"
] | 1 | 2021-02-05T15:42:20.000Z | 2021-02-05T15:42:20.000Z | cogs/servmanager.py | thekevinlab/saturn-discord-bot | 416fa70ebfa10f7e0dd86315f139bb02d7fdfabc | [
"BSD-3-Clause"
] | 6 | 2021-04-29T17:22:00.000Z | 2021-05-13T13:44:50.000Z | cogs/servmanager.py | thekevinlab/saturn-discord-bot | 416fa70ebfa10f7e0dd86315f139bb02d7fdfabc | [
"BSD-3-Clause"
] | null | null | null | import typing as t
from assets import *
from discord.ext import commands
import discord
# noinspection SpellCheckingInspection
class Management(commands.Cog, name='Server Management'):
"""
The Server Management module. Useful for quickly doing things like adding roles and deleting channels and such.
Esse... | 41.285246 | 117 | 0.593472 | 1,384 | 12,592 | 5.286127 | 0.138728 | 0.026244 | 0.062329 | 0.075178 | 0.803171 | 0.77556 | 0.763942 | 0.723073 | 0.704757 | 0.677693 | 0 | 0.001251 | 0.301938 | 12,592 | 305 | 118 | 41.285246 | 0.831058 | 0.020251 | 0 | 0.701493 | 0 | 0 | 0.139877 | 0.001786 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007463 | false | 0.007463 | 0.014925 | 0 | 0.037313 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c2d28979e9664ec285f09790b654e3bfd3d9e8a | 1,305 | py | Python | ClassFiles/Python201/IntermediateIterable/Enumeration.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | ClassFiles/Python201/IntermediateIterable/Enumeration.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | ClassFiles/Python201/IntermediateIterable/Enumeration.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | # animals = ["Gully", "Rhubarb", "Zephyr", "Henry"]
# for animal in enumerate(animals): # creates a list of Tuples
# print(animal) # (0, 'Gully')
# # (1, 'Rhubarb')
# # (2, 'Zephyr')
# # (3, 'Henry')
# animals = ["Gully", "Rhubarb", "Zephyr", "Henry"... | 30.348837 | 64 | 0.42069 | 116 | 1,305 | 4.732759 | 0.206897 | 0.131148 | 0.196721 | 0.251366 | 0.810565 | 0.810565 | 0.750455 | 0.750455 | 0.750455 | 0.690346 | 0 | 0.02449 | 0.436782 | 1,305 | 42 | 65 | 31.071429 | 0.722449 | 0.747893 | 0 | 0 | 0 | 0 | 0.14841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7cc16b04ec9aafaa69c2b8f529f9515a17cf8cda | 46,549 | py | Python | sdk/python/pulumi_aws/appsync/graph_ql_api.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/appsync/graph_ql_api.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/appsync/graph_ql_api.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 47.019192 | 258 | 0.663731 | 4,789 | 46,549 | 6.226561 | 0.06494 | 0.07009 | 0.063081 | 0.022938 | 0.927764 | 0.921225 | 0.907307 | 0.903048 | 0.890942 | 0.879976 | 0 | 0.002502 | 0.23573 | 46,549 | 989 | 259 | 47.066734 | 0.835676 | 0.439172 | 0 | 0.783042 | 1 | 0 | 0.169127 | 0.11681 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164589 | false | 0.002494 | 0.017456 | 0 | 0.281796 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7ccd076cb370c8596406e8d20894c76ac7c0bbe3 | 22,886 | py | Python | UI/Gpio.py | attify/attify-badge | 2a1448172409cc719b7ff3ccfd8cf51519fc1ad3 | [
"MIT"
] | 64 | 2017-02-22T09:40:03.000Z | 2022-02-20T02:53:42.000Z | UI/Gpio.py | attify/attify-badge | 2a1448172409cc719b7ff3ccfd8cf51519fc1ad3 | [
"MIT"
] | 7 | 2018-06-04T10:48:41.000Z | 2022-03-31T05:25:01.000Z | UI/Gpio.py | attify/attify-badge | 2a1448172409cc719b7ff3ccfd8cf51519fc1ad3 | [
"MIT"
] | 19 | 2017-02-22T18:14:25.000Z | 2021-12-04T05:38:18.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Gpio-input.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s)... | 56.930348 | 86 | 0.689242 | 2,784 | 22,886 | 5.614943 | 0.059626 | 0.151356 | 0.092119 | 0.120906 | 0.827917 | 0.803864 | 0.773669 | 0.773669 | 0.749616 | 0.749616 | 0 | 0.05183 | 0.182251 | 22,886 | 401 | 87 | 57.072319 | 0.783436 | 0.00804 | 0 | 0.722078 | 1 | 0 | 0.021107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | false | 0 | 0.005195 | 0.007792 | 0.028571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6b3856bc49d3efcc0145e3ff21557270310bf2f3 | 13,651 | py | Python | kale/embed/video_se_res3d.py | 19valentin99/pykale | 4bfc7d49b255d00dbcba39dd9aaf787a8ae0b4ad | [
"MIT"
] | null | null | null | kale/embed/video_se_res3d.py | 19valentin99/pykale | 4bfc7d49b255d00dbcba39dd9aaf787a8ae0b4ad | [
"MIT"
] | null | null | null | kale/embed/video_se_res3d.py | 19valentin99/pykale | 4bfc7d49b255d00dbcba39dd9aaf787a8ae0b4ad | [
"MIT"
] | null | null | null | # =============================================================================
# Author: Xianyuan Liu, xianyuan.liu@sheffield.ac.uk or xianyuan.liu@outlook.com
# =============================================================================
"""Add SELayers to MC3_18, R3D_18, R2plus1D_18"""
from torch.hub import load_... | 44.611111 | 118 | 0.662223 | 1,684 | 13,651 | 5.147862 | 0.089074 | 0.080978 | 0.161956 | 0.076479 | 0.885223 | 0.863191 | 0.852463 | 0.831468 | 0.828008 | 0.828008 | 0 | 0.049009 | 0.186873 | 13,651 | 305 | 119 | 44.757377 | 0.731982 | 0.133836 | 0 | 0.730942 | 0 | 0 | 0.050816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049327 | false | 0 | 0.013453 | 0.026906 | 0.112108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
863685e215b7e235a0bfad1a90884617b0f9bbb6 | 12,762 | py | Python | machine/qemu/sources/u-boot/test/py/tests/test_efi_secboot/test_signed.py | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | 1 | 2021-11-21T19:56:29.000Z | 2021-11-21T19:56:29.000Z | machine/qemu/sources/u-boot/test/py/tests/test_efi_secboot/test_signed.py | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | null | null | null | machine/qemu/sources/u-boot/test/py/tests/test_efi_secboot/test_signed.py | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | null | null | null | # SPDX-License-Identifier: GPL-2.0+
# Copyright (c) 2019, Linaro Limited
# Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
#
# U-Boot UEFI: Signed Image Authentication Test
"""
This test verifies image authentication for signed images.
"""
import pytest
@pytest.mark.boardspec('sandbox')
@pytest.mark.build... | 49.084615 | 85 | 0.56872 | 1,660 | 12,762 | 4.210241 | 0.090964 | 0.039348 | 0.092717 | 0.072113 | 0.843898 | 0.834168 | 0.833739 | 0.833739 | 0.830877 | 0.801688 | 0 | 0.056794 | 0.325341 | 12,762 | 259 | 86 | 49.274131 | 0.754936 | 0.106331 | 0 | 0.807107 | 0 | 0 | 0.365136 | 0.014177 | 0 | 0 | 0 | 0 | 0.187817 | 1 | 0.030457 | false | 0 | 0.005076 | 0 | 0.040609 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8645021e159c520c4506daa7f0358ac68d313405 | 199 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/NamespacePackageNameDoesntMatchFileName/a.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/NamespacePackageNameDoesntMatchFileName/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/NamespacePackageNameDoesntMatchFileName/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from google.protobuf import service
from <error descr="Unresolved reference 'foo'">foo</error>.bar import <error descr="Unresolved reference 'baz'">baz</error>
print(service.Service)
print(baz.Baz)
| 33.166667 | 123 | 0.773869 | 28 | 199 | 5.5 | 0.464286 | 0.12987 | 0.25974 | 0.376623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085427 | 199 | 5 | 124 | 39.8 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.261307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
8645cf916a3a7c936c056dce9ca699f0a99d84ad | 19 | py | Python | Alterstep/AS_BIoT_CircuitPyton/BOKRA_4RO/bokra_4ro.py | alsor62/Adafruit_CircuitPython_Bundle | c40f8ec11215cebc23cf36d4eb4432086c8a764d | [
"MIT"
] | null | null | null | Alterstep/AS_BIoT_CircuitPyton/BOKRA_4RO/bokra_4ro.py | alsor62/Adafruit_CircuitPython_Bundle | c40f8ec11215cebc23cf36d4eb4432086c8a764d | [
"MIT"
] | null | null | null | Alterstep/AS_BIoT_CircuitPyton/BOKRA_4RO/bokra_4ro.py | alsor62/Adafruit_CircuitPython_Bundle | c40f8ec11215cebc23cf36d4eb4432086c8a764d | [
"MIT"
] | null | null | null | import mcp23008
| 3.8 | 15 | 0.736842 | 2 | 19 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0.263158 | 19 | 4 | 16 | 4.75 | 0.642857 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8672293c0262633037750b8e4e078b79dc3eb880 | 10,642 | py | Python | ivy_tests/test_core/test_reductions.py | djl11/ivy | 209f74b5a1a82ca69ad712788ae0469c3f8614d9 | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_core/test_reductions.py | djl11/ivy | 209f74b5a1a82ca69ad712788ae0469c3f8614d9 | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_core/test_reductions.py | djl11/ivy | 209f74b5a1a82ca69ad712788ae0469c3f8614d9 | [
"Apache-2.0"
] | null | null | null | """
Collection of tests for unified reduction functions
"""
# global
import pytest
import numpy as np
# local
import ivy
import ivy.backends.numpy
import ivy_tests.helpers as helpers
# reduce_sum
@pytest.mark.parametrize(
"x", [[1., 2., 3.], [[1., 2., 3.]]])
@pytest.mark.parametrize(
"axis", [None, 0, -1, (... | 35.006579 | 112 | 0.627608 | 1,544 | 10,642 | 4.177461 | 0.069301 | 0.126977 | 0.123721 | 0.021705 | 0.902636 | 0.873488 | 0.864651 | 0.860155 | 0.842326 | 0.835814 | 0 | 0.015183 | 0.226367 | 10,642 | 303 | 113 | 35.122112 | 0.76825 | 0.078087 | 0 | 0.808696 | 0 | 0 | 0.024713 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 1 | 0.034783 | false | 0 | 0.021739 | 0 | 0.065217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86b1b73b108437075eca6748f0dbc842664aa051 | 2,709 | py | Python | QBG/AutoFormula/operations/two_num.py | GYMS-PKU/Daily-Frequency-Quant | 808eda9930efecff04ecf98abf617404cadd0003 | [
"MIT"
] | 3 | 2021-11-21T04:35:04.000Z | 2022-03-04T09:19:53.000Z | QBG/AutoFormula/operations/two_num.py | GYMS-PKU/Daily-Frequency-Quant | 808eda9930efecff04ecf98abf617404cadd0003 | [
"MIT"
] | null | null | null | QBG/AutoFormula/operations/two_num.py | GYMS-PKU/Daily-Frequency-Quant | 808eda9930efecff04ecf98abf617404cadd0003 | [
"MIT"
] | 5 | 2021-10-03T00:00:22.000Z | 2022-03-07T09:02:00.000Z | # Copyright (c) 2021 Dai HBG
"""
该代码定义2_num_num型运算符
"""
import numpy as np
def tsregres(a, b, num): # 回溯num天时序回归残差
if len(a.shape) == 2:
s = np.zeros(a.shape)
tmp_a = np.zeros((num, a.shape[0], a.shape[1]))
tmp_a[0] = a.copy()
tmp_b = np.zeros((num, b.shape[0], b.shape[1]))
... | 37.625 | 108 | 0.483942 | 470 | 2,709 | 2.661702 | 0.091489 | 0.095923 | 0.095923 | 0.071942 | 0.919265 | 0.919265 | 0.919265 | 0.919265 | 0.919265 | 0.919265 | 0 | 0.039374 | 0.315615 | 2,709 | 71 | 109 | 38.15493 | 0.635383 | 0.075305 | 0 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.016949 | 0 | 0.118644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86d343cec36a84e2e355610b15bfd467ec1af699 | 8,182 | py | Python | MOHSIN.py | MohSinTheLegend/Dark-Pak | 2ecd0492fa71ec56bcfb730897e48c08223edc8d | [
"Apache-2.0"
] | 2 | 2021-04-01T10:20:32.000Z | 2021-12-22T01:20:23.000Z | MOHSIN.py | MohSinTheLegend/Dark-Pak | 2ecd0492fa71ec56bcfb730897e48c08223edc8d | [
"Apache-2.0"
] | null | null | null | MOHSIN.py | MohSinTheLegend/Dark-Pak | 2ecd0492fa71ec56bcfb730897e48c08223edc8d | [
"Apache-2.0"
] | null | null | null | import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJztPE1zG0d2DYCfkChRki1an27ZK5mSJXyDH5K5WpAERUYUwBqSogUVizXENMkhMTPQzMAiFTFRxa5dO6dVSvZuvHZ5K4etTfILUnvb3HJIcsgttRftIZWcfHDtMUm/NzMABhh8cRWXIxkEBz398fq91++9ft3Tb/LE/nTz/x/xf+M/AoRI/OsjBUJy5bSP5HxO2k9yficdILmAk+4iuS4n3U1y3U66h+R6nHQvyfU66T6S... | 2,727.333333 | 8,154 | 0.965656 | 259 | 8,182 | 30.505792 | 0.980695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156743 | 0.000367 | 8,182 | 2 | 8,155 | 4,091 | 0.809268 | 0 | 0 | 0 | 0 | 0.5 | 0.989489 | 0.989489 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
810a69d41ab269103b60a3142958a2f8f7506c08 | 12,857 | py | Python | wallee/api/user_account_role_service_api.py | bluedynamics/wallee-python-sdk | 7f20df96d2c3dba3b1ca5236e8deca578819eea2 | [
"Apache-2.0"
] | 2 | 2020-01-16T13:24:06.000Z | 2020-11-21T17:40:17.000Z | wallee/api/user_account_role_service_api.py | bluedynamics/wallee-python-sdk | 7f20df96d2c3dba3b1ca5236e8deca578819eea2 | [
"Apache-2.0"
] | 4 | 2019-10-14T17:33:23.000Z | 2021-10-01T14:49:11.000Z | wallee/api/user_account_role_service_api.py | bluedynamics/wallee-python-sdk | 7f20df96d2c3dba3b1ca5236e8deca578819eea2 | [
"Apache-2.0"
] | 2 | 2019-10-15T14:17:10.000Z | 2021-09-17T13:07:09.000Z | # coding: utf-8
from __future__ import absolute_import
import six
from wallee.api_client import ApiClient
class UserAccountRoleServiceApi:
def __init__(self, configuration):
self.api_client = ApiClient(configuration=configuration)
def add_role(self, user_id, account_id, role_id, **kwargs):
... | 38.725904 | 99 | 0.613518 | 1,564 | 12,857 | 4.804987 | 0.092072 | 0.023952 | 0.024218 | 0.027944 | 0.943846 | 0.924817 | 0.909647 | 0.909647 | 0.889953 | 0.871324 | 0 | 0.000444 | 0.299603 | 12,857 | 331 | 100 | 38.8429 | 0.834092 | 0.319048 | 0 | 0.726257 | 0 | 0 | 0.200764 | 0.05546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039106 | false | 0 | 0.01676 | 0 | 0.111732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8125081e40d1e9cec18fc39b03ee9207029a4f40 | 6,097 | py | Python | runtime/components/Basic/test_smaller.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 41 | 2020-11-18T10:12:29.000Z | 2022-03-28T21:46:41.000Z | runtime/components/Basic/test_smaller.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 4 | 2020-12-08T15:28:15.000Z | 2022-02-01T11:40:17.000Z | runtime/components/Basic/test_smaller.py | ulise/hetida-designer | a6be8eb45abf950d5498e3ca756ea1d2e46b5c00 | [
"MIT"
] | 14 | 2020-11-18T11:39:17.000Z | 2022-03-21T15:05:11.000Z | import pandas as pd
from .smaller import main
def test_int_int():
assert main(left=5, right=6)["result"] == True
def test_series_int():
assert main(
left=pd.Series(
{
"2019-08-01T15:20:12": 1.2,
"2019-08-01T15:44:12": None,
"2019-08-03T16:2... | 29.597087 | 81 | 0.380843 | 714 | 6,097 | 3.229692 | 0.07563 | 0.210755 | 0.200347 | 0.133565 | 0.888985 | 0.857762 | 0.857762 | 0.830442 | 0.824805 | 0.814397 | 0 | 0.405082 | 0.45137 | 6,097 | 205 | 82 | 29.741463 | 0.284305 | 0 | 0 | 0.638743 | 0 | 0 | 0.291783 | 0 | 0 | 0 | 0 | 0 | 0.036649 | 1 | 0.036649 | true | 0 | 0.010471 | 0 | 0.04712 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
812d334ea605f34617255c9b71ae5c7690c978a2 | 146 | py | Python | easyrobust/easyrobust/models/__init__.py | thu-ml/realsafe | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 107 | 2020-06-15T09:55:11.000Z | 2020-12-20T11:27:11.000Z | easyrobust/easyrobust/models/__init__.py | haichen-ber/ares | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 7 | 2020-06-14T03:00:18.000Z | 2020-12-07T07:10:10.000Z | easyrobust/easyrobust/models/__init__.py | haichen-ber/ares | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 19 | 2020-06-14T08:35:33.000Z | 2020-12-19T13:43:41.000Z | from .rvt import *
from .cnsn_resnet import *
from .wave_resnet import *
from .frelu_resnet import *
from .gp_resnet import *
from .DrViT import * | 24.333333 | 27 | 0.760274 | 22 | 146 | 4.863636 | 0.409091 | 0.46729 | 0.598131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157534 | 146 | 6 | 28 | 24.333333 | 0.869919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
07c6b195e394070e2cb23474b8b394c5f4e59013 | 8,938 | py | Python | script/tuck.py | HKUST-RML/Shallow_Depth_Insertion | c2559479285d69a514e81467c5582f6384fc5dc1 | [
"MIT"
] | 3 | 2021-08-19T12:41:16.000Z | 2021-09-09T09:51:50.000Z | script/tuck.py | HKUST-RML/Shallow_Depth_Insertion | c2559479285d69a514e81467c5582f6384fc5dc1 | [
"MIT"
] | null | null | null | script/tuck.py | HKUST-RML/Shallow_Depth_Insertion | c2559479285d69a514e81467c5582f6384fc5dc1 | [
"MIT"
] | 1 | 2022-01-13T08:24:18.000Z | 2022-01-13T08:24:18.000Z | #!/usr/bin/env python
import sys
import math
import rospy
import copy
import numpy as np
import tf
import moveit_commander
import helper
import motion_primitives
import tilt
import yaml
import actionlib
import dynamixel
from robotiq_2f_gripper_msgs.msg import CommandRobotiqGripperFeedback, CommandRobotiqGripperResult, ... | 43.6 | 154 | 0.728463 | 1,150 | 8,938 | 5.413913 | 0.16087 | 0.051397 | 0.053967 | 0.015259 | 0.860424 | 0.856087 | 0.841632 | 0.841632 | 0.831674 | 0.831674 | 0 | 0.015205 | 0.168494 | 8,938 | 204 | 155 | 43.813725 | 0.822524 | 0.288208 | 0 | 0.647059 | 0 | 0 | 0.109276 | 0.060223 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.039216 | false | 0.009804 | 0.147059 | 0 | 0.186275 | 0.039216 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6af5f8626b0b34bda3ec6543c1dea3c5ae5f25f6 | 408,376 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_profile.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_profile.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/fortinet/fortios/plugins/modules/fortios_antivirus_profile.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #!/usr/bin/python
from __future__ import (absolute_import, division, print_function)
# Copyright 2019-2020 Fortinet, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of th... | 39.686686 | 144 | 0.202505 | 27,020 | 408,376 | 3.039822 | 0.020207 | 0.259326 | 0.14045 | 0.051232 | 0.881051 | 0.867196 | 0.853499 | 0.849067 | 0.84634 | 0.845038 | 0 | 0.125961 | 0.691385 | 408,376 | 10,289 | 145 | 39.690543 | 0.525752 | 0.001621 | 0 | 0.782243 | 0 | 0.000196 | 0.256142 | 0.002276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000782 | false | 0 | 0.000782 | 0.000098 | 0.002347 | 0.000098 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ed455e7eb0000793f0e261604c944bf879719a0f | 74,960 | py | Python | nipyapi/nifi/apis/versions_api.py | Riduidel/nipyapi | 6f1c0cc12b712ce2b23b94d3df17fde4c2cc63c1 | [
"Apache-2.0"
] | 3 | 2019-10-11T02:58:04.000Z | 2022-02-26T06:48:24.000Z | nipyapi/nifi/apis/versions_api.py | Riduidel/nipyapi | 6f1c0cc12b712ce2b23b94d3df17fde4c2cc63c1 | [
"Apache-2.0"
] | 2 | 2021-03-09T19:35:35.000Z | 2021-05-10T16:46:23.000Z | nipyapi/nifi/apis/versions_api.py | Riduidel/nipyapi | 6f1c0cc12b712ce2b23b94d3df17fde4c2cc63c1 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
NiFi Rest Api
The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ... | 50.682894 | 963 | 0.610085 | 8,305 | 74,960 | 5.333654 | 0.042023 | 0.046957 | 0.016435 | 0.021131 | 0.977289 | 0.9716 | 0.966498 | 0.961554 | 0.959206 | 0.951057 | 0 | 0.000117 | 0.318477 | 74,960 | 1,478 | 964 | 50.717185 | 0.866952 | 0.434498 | 0 | 0.816298 | 0 | 0 | 0.175463 | 0.07146 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037293 | false | 0 | 0.009669 | 0 | 0.10221 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed745c59217b0a83a0edf1a081b10e4c27af4ea4 | 11,786 | py | Python | tests/unit/more/centos/database/test_mysql.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 15 | 2015-01-28T15:49:28.000Z | 2021-09-02T18:49:46.000Z | tests/unit/more/centos/database/test_mysql.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | null | null | null | tests/unit/more/centos/database/test_mysql.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 3 | 2016-12-05T07:08:11.000Z | 2021-12-26T04:31:05.000Z | from mock import call, patch
from nose.tools import istest
from .fixtures import (
FOO_DB_WITH_JOHN_GRANTS,
FOO_DB_WITHOUT_JOHN_GRANTS,
FOO_DB_WITH_JOHN_GRANTS_AND_GRANT_OPTION,
HOSTS_FOR_USER,
DATABASES,
)
from provy.more.centos import YumRole, MySQLRole
from tests.unit.tools.helpers import ProvyT... | 42.548736 | 157 | 0.641354 | 1,479 | 11,786 | 4.841109 | 0.098715 | 0.04581 | 0.048184 | 0.054609 | 0.867598 | 0.844972 | 0.835056 | 0.809497 | 0.787011 | 0.729469 | 0 | 0.004261 | 0.243255 | 11,786 | 276 | 158 | 42.702899 | 0.79852 | 0 | 0 | 0.657143 | 0 | 0.02381 | 0.168166 | 0.009079 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.12381 | false | 0.057143 | 0.02381 | 0 | 0.152381 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ed7e29341e99eedfcc00beabbeb5f196e8115d38 | 38 | py | Python | simpleui/__init__.py | a371057600/simpleui | cb0261c66254d211b3103e68075c607320af7d50 | [
"MIT"
] | 1 | 2019-06-17T05:13:13.000Z | 2019-06-17T05:13:13.000Z | simpleui/__init__.py | a371057600/simpleui | cb0261c66254d211b3103e68075c607320af7d50 | [
"MIT"
] | null | null | null | simpleui/__init__.py | a371057600/simpleui | cb0261c66254d211b3103e68075c607320af7d50 | [
"MIT"
] | null | null | null | def get_version():
return '2.1.3'
| 12.666667 | 18 | 0.605263 | 7 | 38 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.210526 | 38 | 2 | 19 | 19 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9c1f6b3983fba166b4978449ec6b12ac933fc0d7 | 142 | py | Python | addons/legrand/models/models.py | csokt/odoo8 | 8994f53bf4ee4ad778d76015b8457d4a1224c7a4 | [
"MIT"
] | null | null | null | addons/legrand/models/models.py | csokt/odoo8 | 8994f53bf4ee4ad778d76015b8457d4a1224c7a4 | [
"MIT"
] | null | null | null | addons/legrand/models/models.py | csokt/odoo8 | 8994f53bf4ee4ad778d76015b8457d4a1224c7a4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# from odoo import tools, models, fields, api, exceptions
from openerp import tools, models, fields, api, exceptions
| 28.4 | 58 | 0.711268 | 19 | 142 | 5.315789 | 0.631579 | 0.217822 | 0.336634 | 0.455446 | 0.712871 | 0.712871 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.161972 | 142 | 4 | 59 | 35.5 | 0.840336 | 0.542254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 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 | 9 |
9c2a266756fa4a0ab63e8aa2732786e83f364edf | 206 | py | Python | Day-6/Reeborg_World/square.py | MihirMore/100daysofcode-Python | 947d91842639c04ee7d23cc82bf04053d3982a85 | [
"MIT"
] | 4 | 2021-04-09T20:01:22.000Z | 2022-03-18T20:49:58.000Z | Day-6/Reeborg_World/square.py | MihirMore/100daysofcode-Python | 947d91842639c04ee7d23cc82bf04053d3982a85 | [
"MIT"
] | null | null | null | Day-6/Reeborg_World/square.py | MihirMore/100daysofcode-Python | 947d91842639c04ee7d23cc82bf04053d3982a85 | [
"MIT"
] | null | null | null | #
# def turn_right():
# turn_left()
# turn_left()
# turn_left()
# turn_left()
# move()
# move()
# turn_right()
# move()
# move()
# turn_right()
# move()
# move()
# turn_right()
# move()
# move() | 12.117647 | 19 | 0.538835 | 25 | 206 | 4.12 | 0.2 | 0.349515 | 0.349515 | 0.466019 | 0.883495 | 0.883495 | 0.572816 | 0.572816 | 0.572816 | 0.572816 | 0 | 0 | 0.218447 | 206 | 17 | 20 | 12.117647 | 0.639752 | 0.834951 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9c5f880d0a2a3713736e8469f1b732efc4da512b | 6,475 | py | Python | regexlib/2021-5-15/python_re_test_file/regexlib_3833.py | yetingli/ReDoS-Benchmarks | f5b5094d835649e957bf3fec6b8bd4f6efdb35fc | [
"MIT"
] | 1 | 2022-01-24T14:43:23.000Z | 2022-01-24T14:43:23.000Z | regexlib/2021-5-15/python_re_test_file/regexlib_3833.py | yetingli/ReDoS-Benchmarks | f5b5094d835649e957bf3fec6b8bd4f6efdb35fc | [
"MIT"
] | null | null | null | regexlib/2021-5-15/python_re_test_file/regexlib_3833.py | yetingli/ReDoS-Benchmarks | f5b5094d835649e957bf3fec6b8bd4f6efdb35fc | [
"MIT"
] | null | null | null | # 3833
# ^(?<address1>(?>\d{1,6}(?>\ 1\/[234])?( (N(orth)?|S(outh)?)? ?(E(ast)?|W(est)?))?((?> \d+ ?(th|rd|st|nd))|(?> [A-Z](?>[a-z])+)+) (?>(?i)THROUGHWAY|TRAFFICWAY|CROSSROADS|EXPRESSWAY|BOULEVARD|CROSSROAD|EXTENSION|JUNCTIONS|MOUNTAINS|STRAVENUE|UNDERPASS|CAUSEWAY|CRESCENT|CROSSING|JUNCTION|MOTORWAY|MOUNTAIN|OVERPAS... | 340.789474 | 3,026 | 0.781467 | 1,133 | 6,475 | 4.459841 | 0.487202 | 0.003958 | 0.00475 | 0.007916 | 0.946368 | 0.946368 | 0.946368 | 0.946368 | 0.946368 | 0.946368 | 0 | 0.007073 | 0.017452 | 6,475 | 19 | 3,027 | 340.789474 | 0.787174 | 0.481081 | 0 | 0 | 0 | 0.090909 | 0.913834 | 0.868217 | 0.090909 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.090909 | 0.181818 | 0 | 0.181818 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
92d1fe0cdc4ca52a22572cf572dbf27f65bf14ee | 71,251 | py | Python | resources/dot_PyCharm/system/python_stubs/cache/785ba7abdea3a54ceb589848c5c4548f205d175823f06e1b8323fe911316e613/pandas/_libs/tslibs/parsing.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/785ba7abdea3a54ceb589848c5c4548f205d175823f06e1b8323fe911316e613/pandas/_libs/tslibs/parsing.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/785ba7abdea3a54ceb589848c5c4548f205d175823f06e1b8323fe911316e613/pandas/_libs/tslibs/parsing.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module pandas._libs.tslibs.parsing
# from C:\Python27\lib\site-packages\pandas\_libs\tslibs\parsing.pyd
# by generator 1.147
""" Parsing functions for datetime and datetime-like strings. """
# imports
import six as six # C:\Program Files (x86)\JetBrains\PyCharm 2019.3\plugins\python\helpers\six.py
... | 40.186689 | 5,250 | 0.613142 | 8,892 | 71,251 | 4.727958 | 0.104701 | 0.066483 | 0.102281 | 0.084584 | 0.751623 | 0.724935 | 0.702195 | 0.678171 | 0.655027 | 0.61735 | 0 | 0.021904 | 0.29455 | 71,251 | 1,772 | 5,251 | 40.209368 | 0.814499 | 0.685338 | 0 | 0.787149 | 0 | 0 | 0.003856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.433735 | false | 0.281125 | 0.02008 | 0 | 0.674699 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
130502a152f90be77a8c9800cf95de6a1be4fcf5 | 58 | py | Python | notifications/views.py | kbilak/Talker | ff1ed19d080e913da6852f4955602c920ac7411c | [
"MIT"
] | null | null | null | notifications/views.py | kbilak/Talker | ff1ed19d080e913da6852f4955602c920ac7411c | [
"MIT"
] | null | null | null | notifications/views.py | kbilak/Talker | ff1ed19d080e913da6852f4955602c920ac7411c | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index():
pass | 14.5 | 35 | 0.741379 | 8 | 58 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 4 | 36 | 14.5 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
1332153cb8531c616a954b2d851ad75f33e4cd58 | 63 | py | Python | courses/examples/Beginners_python/loops.py | Chris35Wills/Chris35Wills.github.io | eb3990caae6c8bde16a609a60f8a7860859f2095 | [
"MIT"
] | 1 | 2021-09-15T17:19:03.000Z | 2021-09-15T17:19:03.000Z | courses/examples/Beginners_python/loops.py | Chris35Wills/Chris35Wills.github.io | eb3990caae6c8bde16a609a60f8a7860859f2095 | [
"MIT"
] | null | null | null | courses/examples/Beginners_python/loops.py | Chris35Wills/Chris35Wills.github.io | eb3990caae6c8bde16a609a60f8a7860859f2095 | [
"MIT"
] | 2 | 2020-05-06T21:04:26.000Z | 2021-09-15T17:19:05.000Z | # prints: 1,2,3,4,5,6,7,8,9
for i in range(1,10, 2):
print i
| 12.6 | 27 | 0.571429 | 19 | 63 | 1.894737 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254902 | 0.190476 | 63 | 4 | 28 | 15.75 | 0.45098 | 0.396825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
13f76b553ab99ee559c82401d04bed3ae9c6ee2d | 76,961 | py | Python | pair_fast_forecast_distributed/pairwise_fusion_kd/compare/model_compare.py | Chezacar/CollaborationWithLatency | da06abea16f1ffcafc35d27cb69ae3116a345965 | [
"MIT"
] | null | null | null | pair_fast_forecast_distributed/pairwise_fusion_kd/compare/model_compare.py | Chezacar/CollaborationWithLatency | da06abea16f1ffcafc35d27cb69ae3116a345965 | [
"MIT"
] | null | null | null | pair_fast_forecast_distributed/pairwise_fusion_kd/compare/model_compare.py | Chezacar/CollaborationWithLatency | da06abea16f1ffcafc35d27cb69ae3116a345965 | [
"MIT"
] | null | null | null | from os import cpu_count
from numpy.core.fromnumeric import shape
import torch.nn.functional as F
import torch.nn as nn
import torch
from data.config_com import Config
from utils.model import STPN, STPN_KD, MapExtractor, MotionNet, forecast_lstm, lidar_encoder, lidar_decoder, lidar_decoder_kd, conv2DBatchNormRelu, Spar... | 45.191427 | 284 | 0.581372 | 10,952 | 76,961 | 3.807706 | 0.029949 | 0.029735 | 0.017673 | 0.010551 | 0.896096 | 0.873555 | 0.859167 | 0.83972 | 0.831903 | 0.818186 | 0 | 0.044734 | 0.296202 | 76,961 | 1,703 | 285 | 45.191427 | 0.725173 | 0.162355 | 0 | 0.777877 | 0 | 0.006244 | 0.050799 | 0.011599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039251 | false | 0.000892 | 0.009813 | 0 | 0.087422 | 0.002676 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b93bfb512de9ce86d7838288b27bae14a6a11280 | 208 | py | Python | heyroom/views.py | shaojintian/heyroom | 52df4cfcd7c3ef3f2f308535107b541a75feaa92 | [
"MIT"
] | 3 | 2019-11-13T12:18:35.000Z | 2019-11-23T13:30:29.000Z | heyroom/views.py | shaojintian/heyroom | 52df4cfcd7c3ef3f2f308535107b541a75feaa92 | [
"MIT"
] | null | null | null | heyroom/views.py | shaojintian/heyroom | 52df4cfcd7c3ef3f2f308535107b541a75feaa92 | [
"MIT"
] | null | null | null |
from django.shortcuts import render_to_response
def show_index(request):
return render_to_response('heyroom/index.html')
def get_double11(request):
return render_to_response('heyroom/demo.html')
| 20.8 | 51 | 0.788462 | 29 | 208 | 5.37931 | 0.586207 | 0.153846 | 0.307692 | 0.269231 | 0.461538 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0.010929 | 0.120192 | 208 | 9 | 52 | 23.111111 | 0.84153 | 0 | 0 | 0 | 0 | 0 | 0.169903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b941a780da10304defcc2161dad3ad0e422a5335 | 65,921 | py | Python | ub/modules/group.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 15 | 2020-12-13T17:37:05.000Z | 2021-06-23T00:00:49.000Z | ub/modules/group.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 2 | 2021-01-11T16:39:31.000Z | 2021-01-25T22:35:28.000Z | ub/modules/group.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 78 | 2020-12-13T17:52:51.000Z | 2022-03-24T03:43:09.000Z | from asyncio import sleep
from os import remove
from ub.modules.sql_helper.mute_sql import is_muted, mute, unmute
from asyncio import sleep
from telethon.tl.functions.contacts import BlockRequest, UnblockRequest
import asyncio
from telethon import events
from datetime import datetime, timedelta
from telethon.utils impo... | 40.717109 | 206 | 0.629314 | 8,536 | 65,921 | 4.696579 | 0.065253 | 0.012123 | 0.018384 | 0.00898 | 0.902619 | 0.882539 | 0.858793 | 0.833325 | 0.815415 | 0.798503 | 0 | 0.005518 | 0.255002 | 65,921 | 1,618 | 207 | 40.742274 | 0.810796 | 0.025424 | 0 | 0.810912 | 0 | 0.007474 | 0.169598 | 0.034671 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003737 | 0.076233 | 0 | 0.116592 | 0.004484 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b96a8a196b187dbc1a6b882152fb105a7a5fe697 | 4,476 | py | Python | tests/test_connection.py | dated/python-client | ae966885b38cbdd25eadd27426c02cf9753cd42d | [
"MIT"
] | null | null | null | tests/test_connection.py | dated/python-client | ae966885b38cbdd25eadd27426c02cf9753cd42d | [
"MIT"
] | null | null | null | tests/test_connection.py | dated/python-client | ae966885b38cbdd25eadd27426c02cf9753cd42d | [
"MIT"
] | null | null | null | import pytest
import requests
import responses
from client.connection import Connection
from client.exceptions import ArkHTTPException
def test_connection_creation_sets_default_session_headers_and_variables():
connection = Connection('http://127.0.0.1:4003')
assert connection.hostname == 'http://127.0.0.1:... | 31.083333 | 98 | 0.66555 | 561 | 4,476 | 5.181818 | 0.146168 | 0.0602 | 0.068799 | 0.077399 | 0.810114 | 0.788442 | 0.775026 | 0.739938 | 0.716546 | 0.657723 | 0 | 0.075956 | 0.182306 | 4,476 | 143 | 99 | 31.300699 | 0.718306 | 0 | 0 | 0.716814 | 0 | 0 | 0.216265 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 1 | 0.070796 | false | 0 | 0.044248 | 0 | 0.115044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9d703baf96fe46be2da658a01a5dbfb70efb500 | 88,507 | py | Python | python/openlattice/api/collections_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | null | null | null | python/openlattice/api/collections_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | 1 | 2021-01-20T00:20:01.000Z | 2021-01-20T00:20:01.000Z | python/openlattice/api/collections_api.py | openlattice/api-clients | 1d5be9861785b295089b732f37464e31bf80c8ca | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OpenLattice API
OpenLattice API # noqa: E501
The version of the OpenAPI document: 0.0.1
Contact: support@openlattice.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility l... | 47.228922 | 171 | 0.616358 | 9,753 | 88,507 | 5.276633 | 0.021224 | 0.03451 | 0.052776 | 0.02938 | 0.987408 | 0.985096 | 0.981132 | 0.977537 | 0.973612 | 0.968463 | 0 | 0.010305 | 0.317997 | 88,507 | 1,873 | 172 | 47.254138 | 0.842268 | 0.470098 | 0 | 0.756458 | 1 | 0 | 0.22519 | 0.121717 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03567 | false | 0 | 0.00615 | 0 | 0.077491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b9ef6566f098bff6f1a9cf0cff6b3aac79e798e1 | 3,134 | py | Python | exercises/code/GSkernel_source/gs_kernel/unit_test.py | aldro61/microbiome-summer-school-2017 | 5f7fa384b66ea776db0d6e9c397f3d143254389b | [
"MIT"
] | 8 | 2017-07-26T17:53:24.000Z | 2021-08-21T09:02:49.000Z | exercises/code/GSkernel_source/gs_kernel/unit_test.py | aldro61/microbiome-summer-school-2017 | 5f7fa384b66ea776db0d6e9c397f3d143254389b | [
"MIT"
] | 2 | 2017-06-20T02:48:08.000Z | 2017-06-22T15:05:25.000Z | exercises/code/GSkernel_source/gs_kernel/unit_test.py | aldro61/microbiome-summer-school-2017 | 5f7fa384b66ea776db0d6e9c397f3d143254389b | [
"MIT"
] | 4 | 2018-02-26T18:24:37.000Z | 2019-04-27T23:46:42.000Z | import numpy as np
from GSkernel_fast import GS_gram_matrix_fast
from GSkernel import GS_gram_matrix
def load_matrix(file_name):
f = open(file_name)
lines = f.readlines()
f.close()
M = []
for l in lines:
M.append([float(x) for x in l.split()])
return np.array(M)
def test():
amino_acid_property_file = '... | 28.490909 | 64 | 0.732929 | 422 | 3,134 | 5.063981 | 0.149289 | 0.143191 | 0.135236 | 0.167057 | 0.849789 | 0.814226 | 0.814226 | 0.80861 | 0.80861 | 0.80861 | 0 | 0.012946 | 0.186662 | 3,134 | 110 | 65 | 28.490909 | 0.825422 | 0 | 0 | 0.732558 | 0 | 0 | 0.081659 | 0.033812 | 0 | 0 | 0 | 0 | 0.046512 | 0 | null | null | 0 | 0.034884 | null | null | 0.046512 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6a1a625dd7096419383a6dc0af1cb28722abf73b | 70 | py | Python | first-homework.py | neal03shah/astr-119 | fae42b9c41c329b5e6cc6ba967597cef18742956 | [
"MIT"
] | null | null | null | first-homework.py | neal03shah/astr-119 | fae42b9c41c329b5e6cc6ba967597cef18742956 | [
"MIT"
] | 7 | 2021-09-23T23:17:57.000Z | 2021-12-11T00:04:53.000Z | first-homework.py | neal03shah/astr-119 | fae42b9c41c329b5e6cc6ba967597cef18742956 | [
"MIT"
] | null | null | null | print("Neal K Shah, He/Him/His") # print out Neal K Shah, He/Him/His
| 35 | 69 | 0.671429 | 15 | 70 | 3.133333 | 0.533333 | 0.212766 | 0.382979 | 0.468085 | 0.723404 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 1 | 70 | 70 | 0.810345 | 0.471429 | 0 | 0 | 0 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
6a4ad8d1bf0e152719e04f731539e2151bf9a41a | 16,233 | py | Python | mask.py | Robbie1977/AlignmentPipe | f7979cbf67a40619fd36ae1873c460439d7ecd64 | [
"MIT"
] | null | null | null | mask.py | Robbie1977/AlignmentPipe | f7979cbf67a40619fd36ae1873c460439d7ecd64 | [
"MIT"
] | 18 | 2015-03-03T15:55:37.000Z | 2016-07-15T13:53:52.000Z | mask.py | Robbie1977/AlignmentPipe | f7979cbf67a40619fd36ae1873c460439d7ecd64 | [
"MIT"
] | null | null | null | import os, sys, nrrd, cmtk, gc, stat, shutil
import numpy as np
import warpScoring.slicescore as slicescore
import warpScoring.CheckImages as ci
from cmtk import cur, tempfolder, active, run_stage, cmtkdir, template, checkDir, host, templatedir
from NRRDtools.labelObjects import labelObj, cutObj, cropObj
if __name__ ... | 59.461538 | 711 | 0.678802 | 2,200 | 16,233 | 4.831818 | 0.074091 | 0.046096 | 0.06096 | 0.03556 | 0.95588 | 0.951552 | 0.921825 | 0.906209 | 0.888617 | 0.886171 | 0 | 0.010479 | 0.194604 | 16,233 | 272 | 712 | 59.680147 | 0.802585 | 0 | 0 | 0.871212 | 0 | 0.045455 | 0.43276 | 0.149633 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022727 | 0.022727 | null | null | 0.159091 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e017cf0494d677f67769d1778f982378213c9b9b | 140 | py | Python | dedomena/apis/twitter.py | abhijithneilabraham/dedomena | 26422e0ad8c7e9fd1ec6fdfab49c8943d89fda50 | [
"MIT"
] | 3 | 2018-08-26T12:32:01.000Z | 2019-07-15T06:34:23.000Z | dedomena/apis/twitter.py | abhijithneilabraham/dedomena | 26422e0ad8c7e9fd1ec6fdfab49c8943d89fda50 | [
"MIT"
] | 10 | 2022-01-27T20:45:16.000Z | 2022-01-30T14:40:59.000Z | dedomena/apis/twitter.py | abhijithneilabraham/dedomena | 26422e0ad8c7e9fd1ec6fdfab49c8943d89fda50 | [
"MIT"
] | 1 | 2022-01-27T18:41:02.000Z | 2022-01-27T18:41:02.000Z | def twitter(search_string, n):
"""Search Twitter API for keywords"""
import twintel as tw
return tw.search(search_string, n)
| 17.5 | 41 | 0.685714 | 20 | 140 | 4.7 | 0.65 | 0.255319 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 140 | 7 | 42 | 20 | 0.854545 | 0.221429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e03d64184201acf92b0fa7d0b974ac58cd30ba62 | 87,514 | py | Python | examples/railways/grid_railway/railway_5vsc.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | 1 | 2020-12-20T03:45:26.000Z | 2020-12-20T03:45:26.000Z | examples/railways/grid_railway/railway_5vsc.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | examples/railways/grid_railway/railway_5vsc.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | import numpy as np
import numba
import scipy.optimize as sopt
import json
sin = np.sin
cos = np.cos
atan2 = np.arctan2
sqrt = np.sqrt
sign = np.sign
exp = np.exp
class railway_5vsc_class:
def __init__(self):
self.t_end = 10.000000
self.Dt = 0.0010000
self.decimation = 10.000000
... | 36.103135 | 693 | 0.521014 | 17,051 | 87,514 | 2.43235 | 0.022403 | 0.251314 | 0.105681 | 0.070888 | 0.849231 | 0.812075 | 0.718354 | 0.675387 | 0.655929 | 0.632758 | 0 | 0.204855 | 0.299632 | 87,514 | 2,424 | 694 | 36.103135 | 0.471807 | 0.026659 | 0 | 0.628628 | 0 | 0 | 0.021399 | 0.002122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02361 | false | 0 | 0.001968 | 0.000984 | 0.040334 | 0.003935 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e06240a4f1be8493b22a993237277f93ea5d533b | 249 | py | Python | src/qtt/measurements/acquisition/__init__.py | codecrap/qtt | 39a8bf21f7bcab94940a66f4d553a14bf34f82b0 | [
"MIT"
] | 39 | 2018-09-13T14:14:56.000Z | 2022-03-28T22:02:29.000Z | src/qtt/measurements/acquisition/__init__.py | codecrap/qtt | 39a8bf21f7bcab94940a66f4d553a14bf34f82b0 | [
"MIT"
] | 136 | 2018-08-30T19:38:22.000Z | 2022-03-31T13:05:29.000Z | src/qtt/measurements/acquisition/__init__.py | codecrap/qtt | 39a8bf21f7bcab94940a66f4d553a14bf34f82b0 | [
"MIT"
] | 21 | 2018-11-04T09:00:02.000Z | 2022-01-20T01:40:08.000Z | from qtt.measurements.acquisition.uhfli_scope_reader import UHFLIScopeReader
from qtt.measurements.acquisition.configuration_storage import load_configuration, save_configuration
from qtt.measurements.acquisition.uhfli_stimulus import UHFLIStimulus
| 62.25 | 101 | 0.907631 | 28 | 249 | 7.857143 | 0.535714 | 0.095455 | 0.259091 | 0.409091 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052209 | 249 | 3 | 102 | 83 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e072c0407eeed356bd3fa55107d2d087f6ef4a6a | 4,472 | py | Python | playgroud.py | BrancoLab/FC_analysis | 7124a7d998275bce6f7a18c264399c7dabfd430b | [
"MIT"
] | 1 | 2018-08-20T14:47:09.000Z | 2018-08-20T14:47:09.000Z | playgroud.py | BrancoLab/FC_analysis | 7124a7d998275bce6f7a18c264399c7dabfd430b | [
"MIT"
] | null | null | null | playgroud.py | BrancoLab/FC_analysis | 7124a7d998275bce6f7a18c264399c7dabfd430b | [
"MIT"
] | 1 | 2018-09-24T15:58:57.000Z | 2018-09-24T15:58:57.000Z | # %%
import os
import pandas as pd
import numpy as np
from fcutils.plotting.colors import colorMap
from analysis.misc.paths import cellfinder_cells_folder, cellfinder_out_dir, injections_folder
from analysis.anatomy.utils import *
# %%
import matplotlib.pyplot as plt
for i in range(100):
color = colorMap(i, ... | 25.849711 | 95 | 0.61695 | 672 | 4,472 | 3.897321 | 0.184524 | 0.054983 | 0.041237 | 0.051546 | 0.829706 | 0.827797 | 0.827797 | 0.823979 | 0.797251 | 0.797251 | 0 | 0.03533 | 0.189848 | 4,472 | 172 | 96 | 26 | 0.687552 | 0.185823 | 0 | 0.722892 | 0 | 0 | 0.094287 | 0.023295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.048193 | 0.096386 | 0 | 0.096386 | 0.012048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.