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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fde07276dc8d5a4e2f87e0b84d2ef4a372939094 | 1,014 | py | Python | tests/test_rng_seq.py | lkhphuc/treex | e7e280c609f9a2e6143a70045fde7dddaa60e56a | [
"MIT"
] | null | null | null | tests/test_rng_seq.py | lkhphuc/treex | e7e280c609f9a2e6143a70045fde7dddaa60e56a | [
"MIT"
] | null | null | null | tests/test_rng_seq.py | lkhphuc/treex | e7e280c609f9a2e6143a70045fde7dddaa60e56a | [
"MIT"
] | null | null | null | import jax
import jax.numpy as jnp
import numpy as np
import treex as tx
class TestRNGSeq:
def test_next(self):
rng = tx.RngSeq().init(42)
internal_key = rng.key
next_key = rng.next()
next_internal_key = rng.key
assert isinstance(internal_key, jnp.ndarray)
assert... | 28.166667 | 80 | 0.653846 | 143 | 1,014 | 4.454545 | 0.216783 | 0.241758 | 0.141287 | 0.10675 | 0.762951 | 0.762951 | 0.762951 | 0.762951 | 0.762951 | 0.762951 | 0 | 0.010444 | 0.244576 | 1,014 | 35 | 81 | 28.971429 | 0.821149 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.115385 | false | 0 | 0.153846 | 0.038462 | 0.346154 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fde326584e62e7ba47586c1e6385ae1393bdce32 | 162 | py | Python | tests/conftest.py | Netnod/openvpn-status | 30a6eaa9aac247d9516705a16e99bc7961dce59f | [
"MIT"
] | 2 | 2021-07-12T16:11:02.000Z | 2021-09-27T14:31:40.000Z | tests/conftest.py | Netnod/openvpn-status | 30a6eaa9aac247d9516705a16e99bc7961dce59f | [
"MIT"
] | null | null | null | tests/conftest.py | Netnod/openvpn-status | 30a6eaa9aac247d9516705a16e99bc7961dce59f | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from pytest import fixture
from py.path import local
@fixture
def datadir():
return local(__file__).dirpath('data')
| 16.2 | 42 | 0.777778 | 22 | 162 | 5.318182 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 9 | 43 | 18 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e314d1f106a199592735a5421e87be86e18bd7d0 | 3,088 | py | Python | Scripts/GameClient/CameraShake.py | ubuntunux/Landseair | c8bafaf5f710c90bfbe14a543afa1f9e3ea06454 | [
"BSD-2-Clause"
] | null | null | null | Scripts/GameClient/CameraShake.py | ubuntunux/Landseair | c8bafaf5f710c90bfbe14a543afa1f9e3ea06454 | [
"BSD-2-Clause"
] | null | null | null | Scripts/GameClient/CameraShake.py | ubuntunux/Landseair | c8bafaf5f710c90bfbe14a543afa1f9e3ea06454 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
from PyEngine3D.Utilities import *
class CameraShake:
MIN_CAMERA_SHAKE_TERM = 0.0
MAX_CAMERA_SHAKE_TERM = 0.05
def __init__(self):
self.elapsed_time = 0.0
self.prev_camera_shake_time = 0.0
self.next_camera_shake_time = 0.0
self.total_camera_shake_time =... | 53.241379 | 156 | 0.673251 | 457 | 3,088 | 4.146608 | 0.094092 | 0.359894 | 0.182058 | 0.190501 | 0.835356 | 0.793668 | 0.745646 | 0.698153 | 0.588918 | 0.45066 | 0 | 0.037489 | 0.231218 | 3,088 | 57 | 157 | 54.175439 | 0.760741 | 0 | 0 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081633 | false | 0 | 0.040816 | 0.020408 | 0.204082 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e32564ce3a5752b0702812ed0248cd5cd72660e2 | 326 | py | Python | penguins/tests/test_Paper_HATNA3.py | cnickle/penquins | 3d09eeaa887f8ec56e65b7b6b87a51da824d3edf | [
"Apache-2.0"
] | null | null | null | penguins/tests/test_Paper_HATNA3.py | cnickle/penquins | 3d09eeaa887f8ec56e65b7b6b87a51da824d3edf | [
"Apache-2.0"
] | 3 | 2021-07-06T00:23:39.000Z | 2021-11-20T14:59:33.000Z | penguins/tests/test_Paper_HATNA3.py | cnickle/penquins | 3d09eeaa887f8ec56e65b7b6b87a51da824d3edf | [
"Apache-2.0"
] | null | null | null | """
This is a placeholder test for when the next paper is published
"""
def test_SR():
assert False
def test_RH():
assert False
def test_AandB():
assert False
def test_AsymNeg():
assert False
def test_AsymPos():
assert False
def test_AsymPos2():
assert False
def test_Sym():
assert Fal... | 11.642857 | 63 | 0.671779 | 47 | 326 | 4.510638 | 0.446809 | 0.231132 | 0.396226 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.245399 | 326 | 27 | 64 | 12.074074 | 0.857724 | 0.193252 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e34c397c17d24d593ddce35b22f82060986fbf38 | 42 | py | Python | knapsack/__init__.py | gcinbax/HyperHeuristicKnapsack | e38296366face6aba83b5ccd98e1288f24720e2e | [
"MIT"
] | 2 | 2021-04-20T06:55:59.000Z | 2021-08-31T03:04:58.000Z | knapsack/__init__.py | gcinbax/HyperHeuristicKnapsack | e38296366face6aba83b5ccd98e1288f24720e2e | [
"MIT"
] | null | null | null | knapsack/__init__.py | gcinbax/HyperHeuristicKnapsack | e38296366face6aba83b5ccd98e1288f24720e2e | [
"MIT"
] | null | null | null | from knapsack.hyper.single import problem
| 21 | 41 | 0.857143 | 6 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3548b0b0c835345f9d9169ba6ba407ed44f5d2d | 4,571 | py | Python | chomskIE/preprocess/tokenize.py | aashishyadavally/chomskIE | 9159bd0f442acb50549c2fe67c429158174cd8f1 | [
"MIT"
] | null | null | null | chomskIE/preprocess/tokenize.py | aashishyadavally/chomskIE | 9159bd0f442acb50549c2fe67c429158174cd8f1 | [
"MIT"
] | null | null | null | chomskIE/preprocess/tokenize.py | aashishyadavally/chomskIE | 9159bd0f442acb50549c2fe67c429158174cd8f1 | [
"MIT"
] | null | null | null | from chomskIE.utils import PipelineError
from chomskIE.preprocess.base import Preprocessor
class SentenceRecognizer(Preprocessor):
"""Pipeline component for sentence segmentation.
Parameters:
model (spacy.lang):
Trained SpaCy language pipeline.
Properties:
name (str):
... | 27.371257 | 76 | 0.576242 | 465 | 4,571 | 5.539785 | 0.187097 | 0.049689 | 0.07337 | 0.048913 | 0.813276 | 0.805124 | 0.795419 | 0.772127 | 0.772127 | 0.772127 | 0 | 0 | 0.339094 | 4,571 | 166 | 77 | 27.536145 | 0.852698 | 0.385692 | 0 | 0.693548 | 0 | 0 | 0.058922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145161 | false | 0 | 0.032258 | 0.048387 | 0.322581 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b5d828a44f0143745439ff8a8b7a4d7bcfcdc73 | 274 | py | Python | tests/setup_user.py | Sagar133/alpha-homora-v2-public-contract | 1e8bb6eda6da27b24a15b99eca049bb6f8406d08 | [
"MIT"
] | 58 | 2020-12-03T04:08:52.000Z | 2021-07-16T18:56:48.000Z | tests/setup_user.py | Sagar133/alpha-homora-v2-public-contract | 1e8bb6eda6da27b24a15b99eca049bb6f8406d08 | [
"MIT"
] | 7 | 2021-01-23T22:04:58.000Z | 2021-02-25T08:41:41.000Z | tests/setup_user.py | Sagar133/alpha-homora-v2-public-contract | 1e8bb6eda6da27b24a15b99eca049bb6f8406d08 | [
"MIT"
] | 28 | 2020-12-18T10:50:26.000Z | 2021-07-02T18:11:15.000Z | import pytest
@pytest.fixture(scope='function')
def admin(a):
return a[0]
@pytest.fixture(scope='function')
def alice(a):
return a[1]
@pytest.fixture(scope='function')
def bob(a):
return a[2]
@pytest.fixture(scope='function')
def eve(a):
return a[3]
| 12.454545 | 33 | 0.656934 | 42 | 274 | 4.285714 | 0.380952 | 0.288889 | 0.4 | 0.577778 | 0.644444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.167883 | 274 | 21 | 34 | 13.047619 | 0.77193 | 0 | 0 | 0.307692 | 0 | 0 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0.307692 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
474022bcf82660db8d7f1868eb686a189b0950af | 213 | py | Python | tests/test_package.py | gahjelle/pycloud | 944c4e78ce5858fc5075ae544f5a661f7d9c1f90 | [
"MIT"
] | null | null | null | tests/test_package.py | gahjelle/pycloud | 944c4e78ce5858fc5075ae544f5a661f7d9c1f90 | [
"MIT"
] | null | null | null | tests/test_package.py | gahjelle/pycloud | 944c4e78ce5858fc5075ae544f5a661f7d9c1f90 | [
"MIT"
] | null | null | null | """Basic smoke tests of the pycloud package"""
# PyCloud imports
import pycloud
def test_pycloud_can_be_imported():
"""Test that pycloud is properly installed and can be accessed"""
pycloud.__version__
| 21.3 | 69 | 0.751174 | 29 | 213 | 5.241379 | 0.724138 | 0.065789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 213 | 9 | 70 | 23.666667 | 0.858757 | 0.549296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47bc8688479a123342f051719ce0b2d97411f594 | 38 | py | Python | Analyze/src/__init__.py | Chaboddunamis/Analyze | 8fb8dda97d0ac8c7b628ca81bbf185d49e32ba30 | [
"MIT"
] | null | null | null | Analyze/src/__init__.py | Chaboddunamis/Analyze | 8fb8dda97d0ac8c7b628ca81bbf185d49e32ba30 | [
"MIT"
] | null | null | null | Analyze/src/__init__.py | Chaboddunamis/Analyze | 8fb8dda97d0ac8c7b628ca81bbf185d49e32ba30 | [
"MIT"
] | null | null | null | from analyze import analyze, get_dist
| 19 | 37 | 0.842105 | 6 | 38 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47fe485adcda49a89a4eab6bb1814b25fbc4f070 | 24 | py | Python | packages/diana/diana/distrib/__init__.py | derekmerck/diana-star | 78aa7badb27677a1f5c83d744852f659e2541567 | [
"MIT"
] | null | null | null | packages/diana/diana/distrib/__init__.py | derekmerck/diana-star | 78aa7badb27677a1f5c83d744852f659e2541567 | [
"MIT"
] | null | null | null | packages/diana/diana/distrib/__init__.py | derekmerck/diana-star | 78aa7badb27677a1f5c83d744852f659e2541567 | [
"MIT"
] | null | null | null | from .dcelery import app | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a5a4100a224de3fe2c58d41bd216b347160bdc9 | 49 | py | Python | src/pyencoder/utils/__init__.py | RESPULTE/PyEncoder | d6739254c1d5b4bc413a90ef92f603fa1edda9b2 | [
"MIT"
] | null | null | null | src/pyencoder/utils/__init__.py | RESPULTE/PyEncoder | d6739254c1d5b4bc413a90ef92f603fa1edda9b2 | [
"MIT"
] | null | null | null | src/pyencoder/utils/__init__.py | RESPULTE/PyEncoder | d6739254c1d5b4bc413a90ef92f603fa1edda9b2 | [
"MIT"
] | null | null | null | from .arrangement import *
from .binary import *
| 16.333333 | 26 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7bd62bfc7ddd9fa05174fbf98fce2e6dd9bdfaad | 604 | py | Python | essmc2/hooks/hook.py | jiangzeyinzi/EssentialMC2 | 190b22cbfff1c27286bcc3dd87b2df6318ed2511 | [
"MIT"
] | 69 | 2021-11-01T11:18:13.000Z | 2022-03-28T04:27:17.000Z | essmc2/hooks/hook.py | hrb518/EssentialMC2 | cfb49fa51a13373e4afc74f8800ec8284c41b8d2 | [
"MIT"
] | 6 | 2021-11-01T09:28:13.000Z | 2022-02-11T09:49:58.000Z | essmc2/hooks/hook.py | hrb518/EssentialMC2 | cfb49fa51a13373e4afc74f8800ec8284c41b8d2 | [
"MIT"
] | 16 | 2021-11-11T06:26:18.000Z | 2022-03-20T13:32:15.000Z | # Copyright 2021 Alibaba Group Holding Limited. All Rights Reserved.
from abc import ABCMeta
class Hook(object, metaclass=ABCMeta):
def __init__(self, priority=0):
self.priority = priority
def before_solve(self, solver):
pass
def after_solve(self, solver):
pass
def before_e... | 18.30303 | 68 | 0.634106 | 76 | 604 | 4.855263 | 0.381579 | 0.216802 | 0.303523 | 0.322493 | 0.577236 | 0.140921 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.288079 | 604 | 32 | 69 | 18.875 | 0.846512 | 0.109272 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.45 | false | 0.4 | 0.05 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d007094350aa0a7f18bb1963026c7f06aa177205 | 9,850 | py | Python | tests/unit/asn/conftest.py | ivcmartello/registrobrepp | dece39a451bcdb964d337df6aa7bd418a60c1a85 | [
"MIT"
] | null | null | null | tests/unit/asn/conftest.py | ivcmartello/registrobrepp | dece39a451bcdb964d337df6aa7bd418a60c1a85 | [
"MIT"
] | null | null | null | tests/unit/asn/conftest.py | ivcmartello/registrobrepp | dece39a451bcdb964d337df6aa7bd418a60c1a85 | [
"MIT"
] | null | null | null | import pytest
from decouple import config
@pytest.fixture
def asnxmlschema():
from lxml import etree
schema = config('EPPSCHEMAPATH', '../../../schemas') + '/asn-1.0.xsd'
xmlschema_doc = etree.parse(schema)
return etree.XMLSchema(xmlschema_doc)
@pytest.fixture
def asnreservexmlschema():
from lx... | 26.058201 | 83 | 0.624365 | 1,243 | 9,850 | 4.94288 | 0.131134 | 0.011393 | 0.069824 | 0.085938 | 0.717936 | 0.717936 | 0.708659 | 0.704915 | 0.671387 | 0.633952 | 0 | 0.065359 | 0.192284 | 9,850 | 378 | 84 | 26.058201 | 0.706888 | 0 | 0 | 0.702381 | 0 | 0.074405 | 0.817988 | 0.395696 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059524 | false | 0 | 0.011905 | 0.053571 | 0.130952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d03096be2f59de4dbe268d3332b28ca06fb6b395 | 70 | py | Python | pydnsbl/__init__.py | riaano/pydnsbl | cf32082d8777cfa188132caf894021d10854aac7 | [
"MIT"
] | 29 | 2017-07-20T12:36:13.000Z | 2022-03-24T07:42:32.000Z | pydnsbl/__init__.py | riaano/pydnsbl | cf32082d8777cfa188132caf894021d10854aac7 | [
"MIT"
] | 18 | 2018-05-30T08:47:43.000Z | 2022-03-22T16:22:51.000Z | pydnsbl/__init__.py | riaano/pydnsbl | cf32082d8777cfa188132caf894021d10854aac7 | [
"MIT"
] | 13 | 2019-05-07T07:30:10.000Z | 2022-03-26T11:26:58.000Z | from .checker import DNSBLChecker, DNSBLDomainChecker, DNSBLIpChecker
| 35 | 69 | 0.871429 | 6 | 70 | 10.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 1 | 70 | 70 | 0.953125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d07d4e680777da325b1f73c638814bc471bd1f0c | 177 | py | Python | pytest/05_fixtures/test_request_smtp_03.py | dramasamy/training | af7b9352b56c10aaa957062f24f1302a7a4c5797 | [
"Apache-2.0"
] | 1 | 2022-03-22T22:31:32.000Z | 2022-03-22T22:31:32.000Z | pytest/05_fixtures/test_request_smtp_03.py | dramasamy/training | af7b9352b56c10aaa957062f24f1302a7a4c5797 | [
"Apache-2.0"
] | null | null | null | pytest/05_fixtures/test_request_smtp_03.py | dramasamy/training | af7b9352b56c10aaa957062f24f1302a7a4c5797 | [
"Apache-2.0"
] | null | null | null | smtpserver = "mail.python.org" # will be read by smtp fixture
def test_showhelo1(smtp_connection_read_data_from_test):
assert 0, smtp_connection_read_data_from_test.helo() | 44.25 | 62 | 0.813559 | 28 | 177 | 4.75 | 0.678571 | 0.210526 | 0.270677 | 0.330827 | 0.451128 | 0.451128 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.112994 | 177 | 4 | 63 | 44.25 | 0.834395 | 0.158192 | 0 | 0 | 0 | 0 | 0.101351 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d0a15b16fa019e0d38648e58228cb83f008d0139 | 39 | py | Python | everyday/cal/__init__.py | yngtodd/everyday | 9bde4c250cf42ebf458c8606e870ab3dec8e7216 | [
"MIT"
] | 1 | 2018-12-26T01:39:54.000Z | 2018-12-26T01:39:54.000Z | everyday/cal/__init__.py | yngtodd/everyday | 9bde4c250cf42ebf458c8606e870ab3dec8e7216 | [
"MIT"
] | null | null | null | everyday/cal/__init__.py | yngtodd/everyday | 9bde4c250cf42ebf458c8606e870ab3dec8e7216 | [
"MIT"
] | null | null | null | from .calendar import EverydayCalendar
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0c51ff4398a039cf08b0a850f93d73da68e65ed | 24 | py | Python | dataset/transform/__init__.py | ztt0810/general_img_cls_template | 2ae164d14e1abca1cdcf327acf306dd0415fd3ac | [
"MIT"
] | 1 | 2021-03-02T15:05:24.000Z | 2021-03-02T15:05:24.000Z | dataset/transform/__init__.py | ztt0810/general_img_cls_template | 2ae164d14e1abca1cdcf327acf306dd0415fd3ac | [
"MIT"
] | null | null | null | dataset/transform/__init__.py | ztt0810/general_img_cls_template | 2ae164d14e1abca1cdcf327acf306dd0415fd3ac | [
"MIT"
] | null | null | null | from .pipline import *
| 12 | 23 | 0.708333 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 1 | 24 | 24 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef89f0dcb60076dacff71d59497f2ab8a95b9c51 | 47 | py | Python | ByteSpinner/__init__.py | jarrodsinclair/byte-spinner | 4a3392ffcd8816c7a5fe76a2593d60fac89e853e | [
"MIT"
] | null | null | null | ByteSpinner/__init__.py | jarrodsinclair/byte-spinner | 4a3392ffcd8816c7a5fe76a2593d60fac89e853e | [
"MIT"
] | null | null | null | ByteSpinner/__init__.py | jarrodsinclair/byte-spinner | 4a3392ffcd8816c7a5fe76a2593d60fac89e853e | [
"MIT"
] | null | null | null | from .spinner import Spinner, SpinnerException
| 23.5 | 46 | 0.851064 | 5 | 47 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eff6c7a4f381b8881dfd47c11cbdccdf85f8dac4 | 2,962 | py | Python | desktop/core/ext-py/nose-1.3.7/functional_tests/test_plugins.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/nose-1.3.7/functional_tests/test_plugins.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/nose-1.3.7/functional_tests/test_plugins.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | import os
import sys
import unittest
from nose.config import Config
from nose.core import TestProgram
here = os.path.abspath(os.path.dirname(__file__))
support = os.path.join(here, 'support')
units = os.path.normpath(os.path.join(here, '..', 'unit_tests'))
if units not in sys.path:
sys.path.insert(0, units)
from ... | 41.138889 | 78 | 0.625253 | 242 | 2,962 | 7.545455 | 0.417355 | 0.023001 | 0.021906 | 0.050383 | 0.780942 | 0.752464 | 0.752464 | 0.752464 | 0.752464 | 0.649507 | 0 | 0.003118 | 0.242066 | 2,962 | 71 | 79 | 41.71831 | 0.810245 | 0 | 0 | 0.586207 | 0 | 0 | 0.366124 | 0.0478 | 0 | 0 | 0 | 0 | 0.068966 | 0 | null | null | 0 | 0.172414 | null | null | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
effa0df0c280e6eca8961db41f1fc519ba56ff68 | 18 | py | Python | ephypype/interfaces/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/interfaces/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/interfaces/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | from . import mne
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4be9afe8b3283ad1950732c0fed5baaba599a120 | 8,212 | py | Python | mysite/store_mgmt/models.py | Neil0406/store_mgmt | df6a70b5960b26414df7dbcad2a5011ac2a51740 | [
"MIT"
] | 1 | 2021-06-25T15:12:37.000Z | 2021-06-25T15:12:37.000Z | mysite/store_mgmt/models.py | Neil0406/store_mgmt | df6a70b5960b26414df7dbcad2a5011ac2a51740 | [
"MIT"
] | null | null | null | mysite/store_mgmt/models.py | Neil0406/store_mgmt | df6a70b5960b26414df7dbcad2a5011ac2a51740 | [
"MIT"
] | null | null | null | from django.db import models
from .utils.storage import ImageStorage
#使用者
class MgmtUser(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(blank=True ,max_length=20)
auth = models.CharField(blank=True ,max_length=10)
email= models.... | 58.241135 | 106 | 0.674988 | 969 | 8,212 | 5.550052 | 0.141383 | 0.112123 | 0.14987 | 0.195984 | 0.87672 | 0.868167 | 0.830606 | 0.709372 | 0.532726 | 0.403682 | 0 | 0.00855 | 0.216634 | 8,212 | 140 | 107 | 58.657143 | 0.827452 | 0.030078 | 0 | 0.409836 | 0 | 0 | 0.023344 | 0.017413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04918 | false | 0 | 0.016393 | 0.04918 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3269655dba0b69488724bb5870b458efdf70a0e2 | 33 | py | Python | sources/classic/components/__init__.py | variasov/classic_components | 61054d37b8354cca47fbd6ede04a8da3c7a9a181 | [
"MIT"
] | 2 | 2021-10-12T09:02:38.000Z | 2021-11-12T08:20:01.000Z | sources/classic/components/__init__.py | variasov/classic_components | 61054d37b8354cca47fbd6ede04a8da3c7a9a181 | [
"MIT"
] | null | null | null | sources/classic/components/__init__.py | variasov/classic_components | 61054d37b8354cca47fbd6ede04a8da3c7a9a181 | [
"MIT"
] | null | null | null | from .component import component
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32a366eb97e70ae01cd465b818729fe9556d8bf8 | 69 | py | Python | tests/encryption_testing/test_2.py | tlmolane/Volt | 094a4ad337ccb7656d147256f15c6e80e8a989db | [
"MIT"
] | null | null | null | tests/encryption_testing/test_2.py | tlmolane/Volt | 094a4ad337ccb7656d147256f15c6e80e8a989db | [
"MIT"
] | null | null | null | tests/encryption_testing/test_2.py | tlmolane/Volt | 094a4ad337ccb7656d147256f15c6e80e8a989db | [
"MIT"
] | null | null | null | import os
def test(one, two):
return one, two
print(test(1,2))
| 9.857143 | 19 | 0.637681 | 13 | 69 | 3.384615 | 0.769231 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.217391 | 69 | 6 | 20 | 11.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
086c2591e7857799b7648461663a4c576d694d11 | 282 | py | Python | pack.py | KJook/KJSerial | b362d2a968b60732241214acffb846d93edc3d3f | [
"MIT"
] | 1 | 2022-03-18T05:46:54.000Z | 2022-03-18T05:46:54.000Z | pack.py | MitryOpen/KJSerial | 4cc245156c0eaa97058876ece6df7f07ea6e616b | [
"MIT"
] | null | null | null | pack.py | MitryOpen/KJSerial | 4cc245156c0eaa97058876ece6df7f07ea6e616b | [
"MIT"
] | 1 | 2022-03-22T02:46:48.000Z | 2022-03-22T02:46:48.000Z | import os
import shutil
if os.path.exists("./dist/KJserial.exe"):
os.remove("./dist/KJserial.exe")
os.system(r"E:\Development\Environment\anaconda3\envs\qtserial\Scripts\pyinstaller.exe -F -w -i ./img/icon.ico run.py --clean")
os.rename("./dist/run.exe", "./dist/KJserial.exe") | 40.285714 | 127 | 0.716312 | 45 | 282 | 4.488889 | 0.666667 | 0.178218 | 0.222772 | 0.168317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.070922 | 282 | 7 | 128 | 40.285714 | 0.767176 | 0 | 0 | 0 | 0 | 0.166667 | 0.650177 | 0.261484 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
087d0a8866e7b8822d56af3f2fad79e72f6fadd4 | 87 | py | Python | data/demos/scene_tree_layers/scripts/python/foreground_cube_rotate.py | Jean-LouisH/Omnia | e637746839801eb73707d10e3243d4a430dfea78 | [
"MIT"
] | null | null | null | data/demos/scene_tree_layers/scripts/python/foreground_cube_rotate.py | Jean-LouisH/Omnia | e637746839801eb73707d10e3243d4a430dfea78 | [
"MIT"
] | null | null | null | data/demos/scene_tree_layers/scripts/python/foreground_cube_rotate.py | Jean-LouisH/Omnia | e637746839801eb73707d10e3243d4a430dfea78 | [
"MIT"
] | null | null | null | import omnia
def on_logic_frame():
omnia.get_component("Transform").rotate_y(1.0)
| 17.4 | 50 | 0.747126 | 14 | 87 | 4.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.114943 | 87 | 4 | 51 | 21.75 | 0.766234 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ec6ea3a3c99b6d908df38764d06a667130eabe4 | 82 | py | Python | randydata/__init__.py | JohannesRanderath/randydata | 4f67224019959fda0b02bf5baac7f2440c36ba1e | [
"MIT"
] | null | null | null | randydata/__init__.py | JohannesRanderath/randydata | 4f67224019959fda0b02bf5baac7f2440c36ba1e | [
"MIT"
] | 2 | 2022-03-29T10:44:48.000Z | 2022-03-30T16:51:10.000Z | randydata/__init__.py | JohannesRanderath/randydata | 4f67224019959fda0b02bf5baac7f2440c36ba1e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import randydata.data_layout
import randydata.welcome_data
| 20.5 | 29 | 0.841463 | 12 | 82 | 5.583333 | 0.75 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.073171 | 82 | 3 | 30 | 27.333333 | 0.868421 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ec86931bea8c2701f9c37c48ebcbb7e9ab78b6b | 21 | py | Python | dashboard/conll/__init__.py | zacateras/udstats | 097adde874fa33e92f1b2f6eadda6236a752233a | [
"Apache-2.0"
] | null | null | null | dashboard/conll/__init__.py | zacateras/udstats | 097adde874fa33e92f1b2f6eadda6236a752233a | [
"Apache-2.0"
] | null | null | null | dashboard/conll/__init__.py | zacateras/udstats | 097adde874fa33e92f1b2f6eadda6236a752233a | [
"Apache-2.0"
] | null | null | null | from . import process | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5b03fd7481283e76869616212a52ec9c3aecdb0 | 40 | py | Python | pynars/NARS/InferenceEngine/GeneralEngine/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/GeneralEngine/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/GeneralEngine/__init__.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | from .GeneralEngine import GeneralEngine | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb19773341902b1f5b52a3ae3d0eed9cc12121a9 | 161 | py | Python | sail/random/__init__.py | sail-ml/sail | e261ef22661aa267bcf32d1552be95d8b7255220 | [
"BSD-3-Clause"
] | 1 | 2021-04-28T16:29:02.000Z | 2021-04-28T16:29:02.000Z | sail/random/__init__.py | sail-ml/sail | e261ef22661aa267bcf32d1552be95d8b7255220 | [
"BSD-3-Clause"
] | 56 | 2021-04-28T16:39:05.000Z | 2021-07-29T01:13:25.000Z | sail/random/__init__.py | sail-ml/sail | e261ef22661aa267bcf32d1552be95d8b7255220 | [
"BSD-3-Clause"
] | null | null | null | from libsail.random import uniform, normal
from libsail.random import uniform_like, normal_like
__all__ = ["uniform", "normal", "uniform_like", "normal_like"]
| 26.833333 | 62 | 0.776398 | 21 | 161 | 5.571429 | 0.380952 | 0.188034 | 0.290598 | 0.393162 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 161 | 5 | 63 | 32.2 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de3f5205d5af60396e85fa013104b40ea2396f2d | 84 | py | Python | twpy/utilities.py | SerhatTeker/twpy | adc30d19a84d40bc205e752b602f180f432b6edd | [
"BSD-3-Clause"
] | null | null | null | twpy/utilities.py | SerhatTeker/twpy | adc30d19a84d40bc205e752b602f180f432b6edd | [
"BSD-3-Clause"
] | null | null | null | twpy/utilities.py | SerhatTeker/twpy | adc30d19a84d40bc205e752b602f180f432b6edd | [
"BSD-3-Clause"
] | null | null | null | import os
def get_token(key='API_TOKEN'):
return os.getenv(key, default=None)
| 14 | 39 | 0.714286 | 14 | 84 | 4.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 5 | 40 | 16.8 | 0.816901 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
de7a57f00a058e05f1b40f13d49bbed110dde921 | 346 | py | Python | echecs_hall/app/controller/mj_hall_controller/income_support_controller.py | obespoir/echecs | e4bb8be1d360b6c568725aee4dfe4c037a855a49 | [
"AFL-3.0"
] | 14 | 2020-03-22T14:03:51.000Z | 2022-02-21T09:28:39.000Z | echecs_hall/app/controller/mj_hall_controller/income_support_controller.py | obespoir/echecs | e4bb8be1d360b6c568725aee4dfe4c037a855a49 | [
"AFL-3.0"
] | null | null | null | echecs_hall/app/controller/mj_hall_controller/income_support_controller.py | obespoir/echecs | e4bb8be1d360b6c568725aee4dfe4c037a855a49 | [
"AFL-3.0"
] | 7 | 2020-03-22T13:57:43.000Z | 2022-02-21T09:30:17.000Z | # coding=utf-8
from app.data_bridge import mj_hall_bridge
def get_income_support_by_uid(uid):
return mj_hall_bridge.get_income_support_by_uid(uid)
def save_income_support(data):
return mj_hall_bridge.save_income_support(data)
def update_income_support_by_id(id, data):
return mj_hall_bridge.update_inco... | 24.714286 | 63 | 0.823699 | 60 | 346 | 4.266667 | 0.333333 | 0.304688 | 0.1875 | 0.210938 | 0.570313 | 0.414063 | 0.226563 | 0 | 0 | 0 | 0 | 0.003236 | 0.106936 | 346 | 14 | 63 | 24.714286 | 0.825243 | 0.034682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
de7eb8402def2a3e87d54a81b94e9360d908a6ee | 131 | py | Python | tests/test_canary.py | kthy/wren | 62e9439ea82a1d984f07fa8cd00421e0e640196f | [
"MIT"
] | 1 | 2021-06-04T07:15:02.000Z | 2021-06-04T07:15:02.000Z | tests/test_canary.py | kthy/wren | 62e9439ea82a1d984f07fa8cd00421e0e640196f | [
"MIT"
] | 9 | 2021-02-20T22:33:05.000Z | 2021-04-12T17:35:48.000Z | tests/test_canary.py | pyxy-dk/wren | 62e9439ea82a1d984f07fa8cd00421e0e640196f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test canary."""
def test_tautology():
"""This test canary always passes."""
assert 2 + 2 == 4
| 16.375 | 41 | 0.549618 | 17 | 131 | 4.176471 | 0.764706 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.229008 | 131 | 7 | 42 | 18.714286 | 0.663366 | 0.51145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de89fe46070d7502e20de64de4026bc4c36ae53d | 103 | py | Python | test_fixtures/general_repo/file_with_exit_functions.py | SerejkaSJ/fiasko_bro | dfb8c30109f317c1e5b6d211e002fd148695809e | [
"MIT"
] | 25 | 2018-01-24T10:45:35.000Z | 2020-12-05T21:47:20.000Z | test_fixtures/general_repo/file_with_exit_functions.py | SerejkaSJ/fiasko_bro | dfb8c30109f317c1e5b6d211e002fd148695809e | [
"MIT"
] | 110 | 2018-01-21T12:25:13.000Z | 2021-06-10T19:27:22.000Z | test_fixtures/general_repo/file_with_exit_functions.py | SerejkaSJ/fiasko_bro | dfb8c30109f317c1e5b6d211e002fd148695809e | [
"MIT"
] | 13 | 2017-12-12T22:19:01.000Z | 2019-01-29T18:08:05.000Z | import sys
def function_without_exit_call():
pass
def function_with_exit_call():
sys.exit()
| 11.444444 | 33 | 0.728155 | 15 | 103 | 4.6 | 0.6 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 103 | 8 | 34 | 12.875 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
720b9b1ddd4480a699cdb01fb12074ef4fdda856 | 13,601 | py | Python | wolf/flows/glow.py | TRUMANCFY/wolf | 1a21479256e4f51885e2d2fdd449b1faa61277a6 | [
"Apache-2.0"
] | null | null | null | wolf/flows/glow.py | TRUMANCFY/wolf | 1a21479256e4f51885e2d2fdd449b1faa61277a6 | [
"Apache-2.0"
] | null | null | null | wolf/flows/glow.py | TRUMANCFY/wolf | 1a21479256e4f51885e2d2fdd449b1faa61277a6 | [
"Apache-2.0"
] | null | null | null | __author__ = 'max'
from overrides import overrides
from typing import Dict, Tuple, List
import torch
from wolf.flows.flow import Flow
from wolf.flows.normalization import ActNorm2dFlow
from wolf.flows.permutation import Conv1x1Flow, CondConv1x1Flow
from wolf.flows.couplings import NICE2d
from wolf.flows.multiscale_ar... | 43.592949 | 147 | 0.590104 | 1,534 | 13,601 | 5.014993 | 0.083442 | 0.11582 | 0.132588 | 0.085792 | 0.818406 | 0.795398 | 0.761341 | 0.743793 | 0.738204 | 0.703497 | 0 | 0.01671 | 0.26079 | 13,601 | 311 | 148 | 43.733119 | 0.748458 | 0.083229 | 0 | 0.56 | 0 | 0 | 0.021446 | 0 | 0 | 0 | 0 | 0 | 0.005 | 1 | 0.075 | false | 0 | 0.04 | 0.005 | 0.19 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a0fb74efcb2591d43f54ea75a82b16b8c9b5a726 | 840 | py | Python | sorts/merge_sort/test_merge_sort.py | JCode1986/python-data-structures-and-algorithms | 50ab60ce80519b0169307ea3c714edd9e18ff97f | [
"MIT"
] | null | null | null | sorts/merge_sort/test_merge_sort.py | JCode1986/python-data-structures-and-algorithms | 50ab60ce80519b0169307ea3c714edd9e18ff97f | [
"MIT"
] | null | null | null | sorts/merge_sort/test_merge_sort.py | JCode1986/python-data-structures-and-algorithms | 50ab60ce80519b0169307ea3c714edd9e18ff97f | [
"MIT"
] | null | null | null | from merge_sort import merge_sort, merge_sort
import pytest
def test_merge_sort_list_unique():
"""Can sort list utilizing insertion sort method"""
nums = [23, 1, 5, 69, 808, 420, 33, 1986]
actual = merge_sort(nums)
expected = [1, 5, 23, 33, 69, 420, 808, 1986]
assert actual == expected
def test_... | 30 | 60 | 0.641667 | 128 | 840 | 4.070313 | 0.210938 | 0.15547 | 0.069098 | 0.092131 | 0.81382 | 0.723608 | 0.723608 | 0.723608 | 0.723608 | 0.723608 | 0 | 0.180428 | 0.221429 | 840 | 27 | 61 | 31.111111 | 0.616208 | 0.163095 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.176471 | false | 0 | 0.117647 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d2cd60320963ab6f85086d9148b2bda59d4dcdc | 225 | py | Python | feats/django/views/__init__.py | roverdotcom/feats.py | 382f13e2f616b874d181ab9279a4a1a1652f8b83 | [
"MIT"
] | 3 | 2019-12-11T21:56:21.000Z | 2021-02-17T00:17:01.000Z | feats/django/views/__init__.py | roverdotcom/feats.py | 382f13e2f616b874d181ab9279a4a1a1652f8b83 | [
"MIT"
] | 1 | 2020-02-12T00:29:58.000Z | 2020-02-12T00:30:15.000Z | feats/django/views/__init__.py | roverdotcom/feats.py | 382f13e2f616b874d181ab9279a4a1a1652f8b83 | [
"MIT"
] | null | null | null | # flake8: noqa
from .detail import Detail
from .index import Index
from .segmentation import ChangeMapping
from .segmentation import ChangeSegmentation
from .selectors import ChangeSelector
from .selectors import AddSelector
| 28.125 | 44 | 0.844444 | 26 | 225 | 7.307692 | 0.461538 | 0.168421 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.12 | 225 | 7 | 45 | 32.142857 | 0.954545 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d30cade233fd510cfcce9f17fef55bbe0544901 | 32 | py | Python | classifiers/__init__.py | zklgame/CatEyeNets | b5cdd9fa6b84f6ebaaf56d03d5beca4a63af6932 | [
"MIT"
] | 2 | 2017-05-11T13:04:58.000Z | 2021-10-31T12:51:26.000Z | classifiers/__init__.py | zklgame/CatEyeNets | b5cdd9fa6b84f6ebaaf56d03d5beca4a63af6932 | [
"MIT"
] | null | null | null | classifiers/__init__.py | zklgame/CatEyeNets | b5cdd9fa6b84f6ebaaf56d03d5beca4a63af6932 | [
"MIT"
] | null | null | null | from k_nearest_neighbor import * | 32 | 32 | 0.875 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19b50ad0163301c04bcf5143bd15ddc458dd474d | 188 | py | Python | whatsapp/models/message.py | ValerianThomas/WhatsappAuto | 606ece1056c2eea8ecea4d9b166c812e2f35714d | [
"MIT"
] | null | null | null | whatsapp/models/message.py | ValerianThomas/WhatsappAuto | 606ece1056c2eea8ecea4d9b166c812e2f35714d | [
"MIT"
] | null | null | null | whatsapp/models/message.py | ValerianThomas/WhatsappAuto | 606ece1056c2eea8ecea4d9b166c812e2f35714d | [
"MIT"
] | null | null | null | from datetime import datetime
from pymodm import MongoModel, fields
class Message(MongoModel):
contact = fields.CharField(required=True)
message = fields.CharField(required=True)
| 26.857143 | 45 | 0.787234 | 22 | 188 | 6.727273 | 0.545455 | 0.202703 | 0.310811 | 0.364865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 188 | 6 | 46 | 31.333333 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
19c882c903bc4d4cc83e8bba2c3b0d1c5d6a2b80 | 6,909 | py | Python | RaDeCC_Reader_Python_Scripts_120720/xs_calculator.py | zscr/RaDeCC_Reader | 2184c73e7e4680c36114be1afe50328015571cfa | [
"MIT"
] | null | null | null | RaDeCC_Reader_Python_Scripts_120720/xs_calculator.py | zscr/RaDeCC_Reader | 2184c73e7e4680c36114be1afe50328015571cfa | [
"MIT"
] | null | null | null | RaDeCC_Reader_Python_Scripts_120720/xs_calculator.py | zscr/RaDeCC_Reader | 2184c73e7e4680c36114be1afe50328015571cfa | [
"MIT"
] | 1 | 2021-06-08T15:05:48.000Z | 2021-06-08T15:05:48.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue May 5 14:04:37 2020
@author: seanselzer
"""
read_a = 2
read_b = 4
isotope_column_string = 'vdpm223 (dpm/m^3)'
import numpy as np
def xs_calculator (lvl2_main_df, sample_variable, sub_sample_variable, row_sample_variable, row_sub_sample_variable,
... | 60.605263 | 139 | 0.590534 | 858 | 6,909 | 4.29021 | 0.121212 | 0.121706 | 0.078783 | 0.083673 | 0.828579 | 0.810921 | 0.787558 | 0.764195 | 0.739201 | 0.739201 | 0 | 0.020697 | 0.272688 | 6,909 | 113 | 140 | 61.141593 | 0.711841 | 0.025764 | 0 | 0.516854 | 0 | 0 | 0.039431 | 0.00433 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011236 | false | 0 | 0.011236 | 0 | 0.022472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19f24c9dd3966eb82ddfe87836dd27d07b42f30d | 388 | py | Python | src/lobber/tracker/urls.py | SUNET/lobber | 2ba707ebd8a6513bff7236262930a24f5e0e9492 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2015-11-10T17:08:57.000Z | 2015-11-10T17:08:57.000Z | src/lobber/tracker/urls.py | SUNET/lobber | 2ba707ebd8a6513bff7236262930a24f5e0e9492 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/lobber/tracker/urls.py | SUNET/lobber | 2ba707ebd8a6513bff7236262930a24f5e0e9492 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from django.conf.urls.defaults import patterns
urlpatterns = patterns('',
(r'^announce\??(?P<info_hash>.+)$',"lobber.tracker.views.announce"),
(r'^announce$', "lobber.tracker.views.announce"),
(r'^uannounce$', "lobber.tracker.views.user_announce"),
(r'^scrape$', "lobber.tracker.views.scrape"),
(r'^... | 38.8 | 72 | 0.654639 | 45 | 388 | 5.6 | 0.444444 | 0.257937 | 0.357143 | 0.206349 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 388 | 9 | 73 | 43.111111 | 0.728324 | 0 | 0 | 0 | 0 | 0 | 0.600515 | 0.525773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c24d2fb791434daa7b1911cf0a132a59e7e0bc5c | 1,780 | py | Python | tagger/admin.py | acidjunk/django-tagger | 1cb6017c89d1c0dc6bdbea328160c257ae2f5fb9 | [
"BSD-3-Clause"
] | 3 | 2015-05-18T13:50:56.000Z | 2015-05-18T14:47:28.000Z | tagger/admin.py | acidjunk/django-tagger | 1cb6017c89d1c0dc6bdbea328160c257ae2f5fb9 | [
"BSD-3-Clause"
] | null | null | null | tagger/admin.py | acidjunk/django-tagger | 1cb6017c89d1c0dc6bdbea328160c257ae2f5fb9 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Tag, TaggedItem
class TagAdmin(admin.ModelAdmin):
list_display = ('tag', 'created_on', 'modified_on', 'created_by')
exclude = ('created_by',)
def has_change_permission(self, request, obj=None):
has_class_permission = super(TagAdmin, self).has_c... | 34.230769 | 102 | 0.671348 | 228 | 1,780 | 5.074561 | 0.20614 | 0.077787 | 0.065687 | 0.076059 | 0.791703 | 0.791703 | 0.791703 | 0.791703 | 0.791703 | 0.791703 | 0 | 0 | 0.232584 | 1,780 | 52 | 103 | 34.230769 | 0.846999 | 0 | 0 | 0.7 | 0 | 0 | 0.04941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.05 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a06026fd8ef3a4406143864cec142fbaa22f3723 | 193 | py | Python | mudstring/util.py | volundmush/mudstring-python | 020a73cc50db5c0e3321f25def3fb0684e1dc324 | [
"MIT"
] | 1 | 2022-02-26T22:21:24.000Z | 2022-02-26T22:21:24.000Z | mudstring/util.py | volundmush/mudstring-python | 020a73cc50db5c0e3321f25def3fb0684e1dc324 | [
"MIT"
] | null | null | null | mudstring/util.py | volundmush/mudstring-python | 020a73cc50db5c0e3321f25def3fb0684e1dc324 | [
"MIT"
] | 1 | 2021-05-21T01:23:09.000Z | 2021-05-21T01:23:09.000Z | class OutBuffer:
def __init__(self, buffer: bytearray):
self.buffer = buffer
def write(self, b: str):
self.buffer.extend(b.encode())
def flush(self):
pass
| 19.3 | 42 | 0.595855 | 24 | 193 | 4.625 | 0.583333 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284974 | 193 | 9 | 43 | 21.444444 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a0635efd3615049e36e4db841a40d566d9077f1b | 29 | py | Python | mobile/routes/__init__.py | TRIP-Lab/itinerum-mobile-api | a3b31b411d9d46434c54be1d21415024dec86ae7 | [
"MIT"
] | 4 | 2019-02-04T15:34:49.000Z | 2021-04-30T17:33:05.000Z | mobile/routes/__init__.py | TRIP-Lab/itinerum-mobile-api | a3b31b411d9d46434c54be1d21415024dec86ae7 | [
"MIT"
] | 1 | 2021-03-19T22:26:11.000Z | 2021-03-19T22:26:11.000Z | mobile/routes/__init__.py | TRIP-Lab/itinerum-mobile-api | a3b31b411d9d46434c54be1d21415024dec86ae7 | [
"MIT"
] | 5 | 2018-03-13T20:24:55.000Z | 2021-01-18T14:44:35.000Z | from mobile.routes import v1
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0844ab6e050c7470b59c568873376e20d0d164b | 11,380 | py | Python | code/cross_subject_analysis.py | berkeley-stat159/project-zeta-2 | 7c35423fbc1407751e1aea6aac99d5d02a82dfdc | [
"BSD-3-Clause"
] | null | null | null | code/cross_subject_analysis.py | berkeley-stat159/project-zeta-2 | 7c35423fbc1407751e1aea6aac99d5d02a82dfdc | [
"BSD-3-Clause"
] | null | null | null | code/cross_subject_analysis.py | berkeley-stat159/project-zeta-2 | 7c35423fbc1407751e1aea6aac99d5d02a82dfdc | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import os
import matplotlib.pyplot as plt
from matplotlib import colors
import copy
# from matplotlib import rcParams
# rcParams.update({'figure.autolayout': True})
# maximally responsed area, percentile setting:
percent = 80
# object_list
object_list = ["bottle", "cat", "chair", "face", "house", "... | 39.513889 | 170 | 0.696924 | 1,821 | 11,380 | 4.15486 | 0.114223 | 0.034893 | 0.023262 | 0.033307 | 0.89466 | 0.872588 | 0.845493 | 0.814169 | 0.77346 | 0.751256 | 0 | 0.045948 | 0.126011 | 11,380 | 288 | 171 | 39.513889 | 0.71476 | 0.069684 | 0 | 0.646512 | 0 | 0 | 0.161496 | 0.038661 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.023256 | 0.116279 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a0abe5d5331e41c3e576a408026db8ef96bfc4fa | 9,992 | py | Python | tests/data/pm25in_sh_201607130254_201607130454.py | hrbonz/openkongqi | fb06c0d2dbe73aa2f50aa8a8516c8226de11cc4e | [
"Apache-2.0"
] | 4 | 2016-09-23T20:04:55.000Z | 2017-07-22T12:26:45.000Z | tests/data/pm25in_sh_201607130254_201607130454.py | hrbonz/openkongqi | fb06c0d2dbe73aa2f50aa8a8516c8226de11cc4e | [
"Apache-2.0"
] | 100 | 2016-02-22T04:12:18.000Z | 2022-01-06T07:14:51.000Z | tests/data/pm25in_sh_201607130254_201607130454.py | hrbonz/openkongqi | fb06c0d2dbe73aa2f50aa8a8516c8226de11cc4e | [
"Apache-2.0"
] | 7 | 2016-02-22T04:20:04.000Z | 2020-10-11T03:34:15.000Z | # -*- coding: utf-8 -*-
import datetime
import pytz
MODNAME = 'pm25in'
DATA = {
u'cn:shanghai:hongkou': [
{'fields': {u'co': None,
u'no2': None,
u'o3_1h': None,
u'o3_8h': None,
u'pm10': None,
u'pm25': None... | 37.007407 | 71 | 0.335068 | 1,280 | 9,992 | 2.56875 | 0.110938 | 0.077251 | 0.065693 | 0.20073 | 0.789842 | 0.789842 | 0.745134 | 0.650547 | 0.633516 | 0.633516 | 0 | 0.223837 | 0.490292 | 9,992 | 269 | 72 | 37.144981 | 0.421755 | 0.002102 | 0 | 0.607547 | 0 | 0 | 0.127997 | 0.021467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007547 | 0 | 0.007547 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 | 6 |
a0b1850cc80c9ef7578f660e76964482091c63f0 | 30,319 | py | Python | xyzspaces/iml/apis/data_interactive_api.py | fangkun202303x/heremapsn | 67c0b670ef337d236761932a6fc4da4129d999ad | [
"Apache-2.0"
] | 28 | 2020-07-23T12:02:53.000Z | 2021-01-09T18:26:32.000Z | xyzspaces/iml/apis/data_interactive_api.py | fangkun202303x/heremapsn | 67c0b670ef337d236761932a6fc4da4129d999ad | [
"Apache-2.0"
] | 93 | 2020-07-24T10:45:40.000Z | 2021-08-18T16:14:10.000Z | xyzspaces/iml/apis/data_interactive_api.py | fangkun202303x/heremapsn | 67c0b670ef337d236761932a6fc4da4129d999ad | [
"Apache-2.0"
] | 9 | 2020-07-23T12:27:51.000Z | 2021-08-15T20:09:50.000Z | # Copyright (C) 2019-2021 HERE Europe B.V.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 42.642757 | 139 | 0.603681 | 3,908 | 30,319 | 4.606448 | 0.105169 | 0.019442 | 0.034996 | 0.042773 | 0.760138 | 0.739418 | 0.735474 | 0.720087 | 0.711199 | 0.704311 | 0 | 0.014884 | 0.288664 | 30,319 | 710 | 140 | 42.702817 | 0.819817 | 0.511132 | 0 | 0.722714 | 0 | 0 | 0.107678 | 0.061096 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050147 | false | 0 | 0.014749 | 0 | 0.120944 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a0c54527c5ff86865ce999442ad6d082698eace3 | 84 | py | Python | hospitalSystem/models/__init__.py | lht142934/hospitalSystem-new | 2037b1b1aeeb5e2f4495238957c79f7bc3f076cd | [
"BSD-2-Clause"
] | null | null | null | hospitalSystem/models/__init__.py | lht142934/hospitalSystem-new | 2037b1b1aeeb5e2f4495238957c79f7bc3f076cd | [
"BSD-2-Clause"
] | null | null | null | hospitalSystem/models/__init__.py | lht142934/hospitalSystem-new | 2037b1b1aeeb5e2f4495238957c79f7bc3f076cd | [
"BSD-2-Clause"
] | null | null | null | from .base import db
from .user import User, Role, Permission, user_role, role_perm
| 28 | 62 | 0.785714 | 14 | 84 | 4.571429 | 0.571429 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 2 | 63 | 42 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
260370be1862c4a11490367144a26721e70dd465 | 207 | py | Python | Python/output_redirect.py | mzlogin/snippets | 5302142d1b6591a513b7cbcd0400f0d3caeac0d1 | [
"MIT"
] | 4 | 2016-06-22T05:58:18.000Z | 2021-05-23T23:11:18.000Z | Python/output_redirect.py | mzlogin/snippets | 5302142d1b6591a513b7cbcd0400f0d3caeac0d1 | [
"MIT"
] | 1 | 2017-11-30T02:01:36.000Z | 2017-11-30T02:01:36.000Z | Python/output_redirect.py | mzlogin/snippets | 5302142d1b6591a513b7cbcd0400f0d3caeac0d1 | [
"MIT"
] | null | null | null | import sys
class OutputRedirect:
def __init__(self, filename):
self.old_stdout = sys.stdout
sys.stdout = open(filename, 'w')
def __del__(self):
sys.stdout = self.old_stdout
| 20.7 | 40 | 0.642512 | 26 | 207 | 4.730769 | 0.5 | 0.219512 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256039 | 207 | 9 | 41 | 23 | 0.798701 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
2609a014362778a7500a2694f5e178518e8ae581 | 182 | py | Python | landlab/components/overland_flow/__init__.py | SiccarPoint/landlab | 4150db083a0426b3647e31ffa80dfefb5faa5a60 | [
"MIT"
] | null | null | null | landlab/components/overland_flow/__init__.py | SiccarPoint/landlab | 4150db083a0426b3647e31ffa80dfefb5faa5a60 | [
"MIT"
] | 1 | 2016-03-02T01:24:41.000Z | 2016-03-02T01:24:41.000Z | landlab/components/overland_flow/__init__.py | SiccarPoint/landlab | 4150db083a0426b3647e31ffa80dfefb5faa5a60 | [
"MIT"
] | null | null | null | from .generate_overland_flow_Bates import OverlandFlowBates
from .generate_overland_flow_deAlmeida import OverlandFlow
__all__ = ['OverlandFlowBates',
'OverlandFlow', ]
| 26 | 59 | 0.796703 | 17 | 182 | 7.941176 | 0.588235 | 0.177778 | 0.296296 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 182 | 6 | 60 | 30.333333 | 0.865385 | 0 | 0 | 0 | 1 | 0 | 0.159341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
268bbf6fb26abdaf0404a8c3273b300b374f31a5 | 147 | py | Python | 05/00/pop.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 05/00/pop.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 05/00/pop.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | s = set([1,2,3])
print(s.pop())
print(s)
print(s.pop())
print(s)
print(s.pop())
print(s)
print(s.pop())#KeyError: 'pop from an empty set'
print(s)
| 14.7 | 48 | 0.62585 | 31 | 147 | 2.967742 | 0.354839 | 0.521739 | 0.391304 | 0.456522 | 0.586957 | 0.586957 | 0.586957 | 0.586957 | 0.586957 | 0.586957 | 0 | 0.022901 | 0.108844 | 147 | 9 | 49 | 16.333333 | 0.679389 | 0.22449 | 0 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.888889 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
cd1475015bd8b415f8ff48d4f0e7cd788c4673c6 | 23 | py | Python | python/testData/psi/FStringPlainInsideRawFString.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/FStringPlainInsideRawFString.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/psi/FStringPlainInsideRawFString.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = rf'foo{f"\n"}bar\n' | 23 | 23 | 0.521739 | 7 | 23 | 1.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd727ce7c8e8146b468db4dbcca8fc8a18095869 | 2,241 | py | Python | djangoBackend/user_module/migrations/0002_auto_20210924_0005.py | muhanzi/Django-REST-API | 08b8b2bbd08a74589cca7b5fd4e1d604d9a6d7eb | [
"Apache-2.0"
] | null | null | null | djangoBackend/user_module/migrations/0002_auto_20210924_0005.py | muhanzi/Django-REST-API | 08b8b2bbd08a74589cca7b5fd4e1d604d9a6d7eb | [
"Apache-2.0"
] | null | null | null | djangoBackend/user_module/migrations/0002_auto_20210924_0005.py | muhanzi/Django-REST-API | 08b8b2bbd08a74589cca7b5fd4e1d604d9a6d7eb | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.2 on 2021-09-23 21:05
import datetime
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('user_module', '0001_initial'),
]
operations = [
migrations.AddField(
model_name... | 33.954545 | 138 | 0.57519 | 222 | 2,241 | 5.743243 | 0.243243 | 0.141176 | 0.180392 | 0.211765 | 0.769412 | 0.769412 | 0.642353 | 0.642353 | 0.642353 | 0.642353 | 0 | 0.077021 | 0.298974 | 2,241 | 65 | 139 | 34.476923 | 0.734564 | 0.02008 | 0 | 0.813559 | 1 | 0 | 0.101641 | 0.012306 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050847 | 0 | 0.101695 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 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 | 6 |
2694c0039974bc28cbc2bba27719eec9f8aaae0f | 9,165 | py | Python | tests/test_marshallers_requiring_modules.py | frejanordsiek/hdf5storage | ec2e1e34789ad27713b860eb4de5da99817fa315 | [
"BSD-2-Clause"
] | 68 | 2015-02-06T02:30:55.000Z | 2021-11-30T16:25:36.000Z | tests/test_marshallers_requiring_modules.py | frejanordsiek/hdf5storage | ec2e1e34789ad27713b860eb4de5da99817fa315 | [
"BSD-2-Clause"
] | 108 | 2015-02-03T03:15:14.000Z | 2022-02-02T21:59:08.000Z | tests/test_marshallers_requiring_modules.py | frejanordsiek/hdf5storage | ec2e1e34789ad27713b860eb4de5da99817fa315 | [
"BSD-2-Clause"
] | 25 | 2015-05-13T06:13:04.000Z | 2021-02-09T10:19:44.000Z | # Copyright (c) 2016-2021, Freja Nordsiek
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions ... | 38.34728 | 72 | 0.685434 | 1,160 | 9,165 | 5.208621 | 0.168966 | 0.09434 | 0.063555 | 0.050645 | 0.783515 | 0.775571 | 0.746442 | 0.746442 | 0.735518 | 0.735518 | 0 | 0.011695 | 0.225641 | 9,165 | 238 | 73 | 38.508403 | 0.839651 | 0.150464 | 0 | 0.82967 | 0 | 0 | 0.054524 | 0 | 0 | 0 | 0 | 0 | 0.258242 | 1 | 0.054945 | false | 0 | 0.115385 | 0.010989 | 0.186813 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
26c247f41b99ec28d7cc932da5aecc5cd3b1bb5b | 30 | py | Python | tf_lesson/testedata.py | abchello/ML_Learning | 5fcf3b45e93e7a6bbe2aeeb6e58546742ba5d4ff | [
"Apache-2.0"
] | null | null | null | tf_lesson/testedata.py | abchello/ML_Learning | 5fcf3b45e93e7a6bbe2aeeb6e58546742ba5d4ff | [
"Apache-2.0"
] | null | null | null | tf_lesson/testedata.py | abchello/ML_Learning | 5fcf3b45e93e7a6bbe2aeeb6e58546742ba5d4ff | [
"Apache-2.0"
] | null | null | null | print('{:.20f}'.format(1e-30)) | 30 | 30 | 0.6 | 5 | 30 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 30 | 1 | 30 | 30 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
26fa60a17c930e57ae664de222b555914d182eef | 156 | py | Python | codetalker/pgm/__init__.py | JulienCriss/codetalker | e94c694ab1969bedea976799727d8757a060ba4c | [
"MIT"
] | 26 | 2015-01-05T02:58:25.000Z | 2021-08-23T14:42:22.000Z | codetalker/pgm/__init__.py | JulienCriss/codetalker | e94c694ab1969bedea976799727d8757a060ba4c | [
"MIT"
] | 5 | 2015-10-14T22:29:02.000Z | 2019-07-15T16:21:10.000Z | codetalker/pgm/__init__.py | JulienCriss/codetalker | e94c694ab1969bedea976799727d8757a060ba4c | [
"MIT"
] | 13 | 2015-02-16T20:24:33.000Z | 2019-07-15T06:20:35.000Z | #!/usr/bin/env python
import token
from grammar import Grammar
from translator import Translator
import special
from tokens import *
# vim: et sw=4 sts=4
| 15.6 | 33 | 0.775641 | 25 | 156 | 4.84 | 0.64 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.160256 | 156 | 9 | 34 | 17.333333 | 0.908397 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f819ffb03024e8eb116b5bb5e33b1ad5e8a06d1d | 84 | py | Python | fbchat/_threads/__init__.py | JabLuszko/fbchat | b1e438dae167ec4325f7c10efc69c86b05116c9e | [
"BSD-3-Clause"
] | 1,042 | 2015-04-19T22:15:26.000Z | 2020-09-30T09:04:11.000Z | fbchat/_threads/__init__.py | JabLuszko/fbchat | b1e438dae167ec4325f7c10efc69c86b05116c9e | [
"BSD-3-Clause"
] | 521 | 2015-05-07T09:54:53.000Z | 2020-09-29T08:12:24.000Z | fbchat/_threads/__init__.py | JabLuszko/fbchat | b1e438dae167ec4325f7c10efc69c86b05116c9e | [
"BSD-3-Clause"
] | 412 | 2015-05-10T05:17:38.000Z | 2020-09-28T20:49:55.000Z | from ._abc import *
from ._group import *
from ._user import *
from ._page import *
| 16.8 | 21 | 0.714286 | 12 | 84 | 4.666667 | 0.5 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 84 | 4 | 22 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f84be16f3610d31035bb89970272458d6be73076 | 3,602 | py | Python | practical-8/classification.py | deep56parmar/gtu-computer-vision | c7c188d2645a2c2a2b3df9a047c28d6562feaae1 | [
"MIT"
] | null | null | null | practical-8/classification.py | deep56parmar/gtu-computer-vision | c7c188d2645a2c2a2b3df9a047c28d6562feaae1 | [
"MIT"
] | null | null | null | practical-8/classification.py | deep56parmar/gtu-computer-vision | c7c188d2645a2c2a2b3df9a047c28d6562feaae1 | [
"MIT"
] | null | null | null | '''Classification '''
import matplotlib.pyplot as plt
from sklearn import datasets, svm, metrics, naive_bayes
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import train_test_split
digits = datasets.load_digits()
_, axes = plt.subp... | 42.880952 | 77 | 0.755969 | 516 | 3,602 | 5.071705 | 0.168605 | 0.091708 | 0.061139 | 0.036301 | 0.773405 | 0.773405 | 0.773405 | 0.773405 | 0.773405 | 0.773405 | 0 | 0.00806 | 0.104386 | 3,602 | 83 | 78 | 43.39759 | 0.803162 | 0.003887 | 0 | 0.75 | 0 | 0 | 0.125942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.069444 | 0 | 0.069444 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f84e96a2b950f648a1e3c74674b66050413278f5 | 89 | py | Python | kpp/graph/__init__.py | fairbrot/kpp | 13113b25f628e2b575a112041b1ff7e90f397532 | [
"MIT"
] | 5 | 2019-05-03T06:39:49.000Z | 2019-05-27T21:21:37.000Z | kpp/graph/__init__.py | fairbrot/kpp | 13113b25f628e2b575a112041b1ff7e90f397532 | [
"MIT"
] | null | null | null | kpp/graph/__init__.py | fairbrot/kpp | 13113b25f628e2b575a112041b1ff7e90f397532 | [
"MIT"
] | 1 | 2019-06-12T04:49:53.000Z | 2019-06-12T04:49:53.000Z | from .graph_decomposition import *
from .graph_generation import disk_graph, nbrs_of_nbr
| 29.666667 | 53 | 0.853933 | 13 | 89 | 5.461538 | 0.692308 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 89 | 2 | 54 | 44.5 | 0.8875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e2936fdfffaec1900f6822d926c4186cdbae9b1 | 42 | py | Python | jinahub/indexers/searcher/AnnoySearcher/__init__.py | Taekyoon/executors | 567f12c4193bb7be814f84540ea31585cd35b344 | [
"Apache-2.0"
] | null | null | null | jinahub/indexers/searcher/AnnoySearcher/__init__.py | Taekyoon/executors | 567f12c4193bb7be814f84540ea31585cd35b344 | [
"Apache-2.0"
] | null | null | null | jinahub/indexers/searcher/AnnoySearcher/__init__.py | Taekyoon/executors | 567f12c4193bb7be814f84540ea31585cd35b344 | [
"Apache-2.0"
] | null | null | null | from .annoy_searcher import AnnoySearcher
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e3aab60bccbacd0272e2418477478df9dd8bba0 | 10,101 | py | Python | arxiv/marxdown/tests/test_serve.py | arXiv/arxiv-markdown | e653204d93f10417e9bd4cd8001e5bfe97762bc2 | [
"MIT"
] | 3 | 2019-05-26T22:49:26.000Z | 2021-11-05T12:30:29.000Z | arxiv/marxdown/tests/test_serve.py | arXiv/arxiv-markdown | e653204d93f10417e9bd4cd8001e5bfe97762bc2 | [
"MIT"
] | 6 | 2019-01-29T14:55:17.000Z | 2019-02-12T16:01:33.000Z | arxiv/marxdown/tests/test_serve.py | arXiv/arxiv-markdown | e653204d93f10417e9bd4cd8001e5bfe97762bc2 | [
"MIT"
] | 4 | 2019-05-26T22:49:08.000Z | 2021-11-05T12:30:21.000Z | """Test serving the built site."""
from unittest import TestCase, mock
import os
import shutil
import tempfile
from datetime import datetime
from pytz import UTC
import time
import git
import copy
from arxiv import status
from .. import factory
BUILD_DIR = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'da... | 41.567901 | 79 | 0.584398 | 1,194 | 10,101 | 4.770519 | 0.11139 | 0.063202 | 0.068469 | 0.122191 | 0.863413 | 0.847086 | 0.831285 | 0.816538 | 0.803546 | 0.781074 | 0 | 0.014047 | 0.288189 | 10,101 | 242 | 80 | 41.739669 | 0.778164 | 0.037422 | 0 | 0.618557 | 0 | 0.005155 | 0.191998 | 0.063172 | 0 | 0 | 0 | 0 | 0.304124 | 1 | 0.041237 | false | 0 | 0.056701 | 0 | 0.103093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e72db8cf87512d359b62495489f21532ba66ae9 | 2,616 | py | Python | ssu-formal-languages/lexer/data/float_data.py | Imperat/SSU-Information-Security-Course | 24c04cb8b4da0231d65d587e981e15b1fefc19eb | [
"Apache-2.0"
] | null | null | null | ssu-formal-languages/lexer/data/float_data.py | Imperat/SSU-Information-Security-Course | 24c04cb8b4da0231d65d587e981e15b1fefc19eb | [
"Apache-2.0"
] | null | null | null | ssu-formal-languages/lexer/data/float_data.py | Imperat/SSU-Information-Security-Course | 24c04cb8b4da0231d65d587e981e15b1fefc19eb | [
"Apache-2.0"
] | null | null | null | input_alphabet = set("0123456789.+-e")
states = {'s1', 's15', 's2', 's3', 's4', 's5', 's6'}
rules = {
's1': {'+': 's15',
'-': 's15',
'0': 's2',
'1': 's2',
'2': 's2',
'3': 's2',
'4': 's2',
'5': 's2',
'6': 's2',
'7': ... | 20.4375 | 52 | 0.157875 | 227 | 2,616 | 1.806167 | 0.127753 | 0.029268 | 0.04878 | 0.043902 | 0.695122 | 0.695122 | 0.695122 | 0.695122 | 0.695122 | 0.695122 | 0 | 0.204263 | 0.569572 | 2,616 | 127 | 53 | 20.598425 | 0.159858 | 0 | 0 | 0.75 | 0 | 0 | 0.140291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4f251c067c99f58a7487b9a32e68d0b35a0d4c5 | 50 | py | Python | tests/test_all.py | Tygs/sublimepost | b8c751aa0b1fdc1453fd2a0a22516ea6fe6f0fb1 | [
"WTFPL"
] | 1 | 2015-12-08T20:02:32.000Z | 2015-12-08T20:02:32.000Z | tests/test_all.py | Tygs/sublimepost | b8c751aa0b1fdc1453fd2a0a22516ea6fe6f0fb1 | [
"WTFPL"
] | null | null | null | tests/test_all.py | Tygs/sublimepost | b8c751aa0b1fdc1453fd2a0a22516ea6fe6f0fb1 | [
"WTFPL"
] | null | null | null | def test_import():
import sublimepost # noqa
| 16.666667 | 30 | 0.7 | 6 | 50 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 50 | 2 | 31 | 25 | 0.871795 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
902dac98b76ef9629e8be54785c7fe08780410a7 | 38 | py | Python | signals.py | setivolkylany/DjangoAppTemplate | d26a63116d9f01e321374e3560b84836a1bea4c7 | [
"MIT"
] | null | null | null | signals.py | setivolkylany/DjangoAppTemplate | d26a63116d9f01e321374e3560b84836a1bea4c7 | [
"MIT"
] | null | null | null | signals.py | setivolkylany/DjangoAppTemplate | d26a63116d9f01e321374e3560b84836a1bea4c7 | [
"MIT"
] | null | null | null |
from django.dispatch import receiver
| 12.666667 | 36 | 0.842105 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 2 | 37 | 19 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f6fb0235c7732d222b59ca237e413969e92b859 | 36 | py | Python | mdm_inventory/products/tests/factories/__init__.py | TeamWalls/mdm-backend-django | 4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d | [
"MIT"
] | null | null | null | mdm_inventory/products/tests/factories/__init__.py | TeamWalls/mdm-backend-django | 4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d | [
"MIT"
] | null | null | null | mdm_inventory/products/tests/factories/__init__.py | TeamWalls/mdm-backend-django | 4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d | [
"MIT"
] | null | null | null | from .products import ProductFactory | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5fa23ebcbb330aea226e2c3dc5162103f079adc4 | 85 | py | Python | htsohm/__init__.py | mas828/htsohm | 2c491073fd81baf52e4051aa809db49658311172 | [
"MIT"
] | 2 | 2020-08-27T16:46:41.000Z | 2022-02-23T14:32:58.000Z | htsohm/__init__.py | mas828/htsohm | 2c491073fd81baf52e4051aa809db49658311172 | [
"MIT"
] | 22 | 2016-06-13T20:37:56.000Z | 2019-01-16T22:15:32.000Z | htsohm/__init__.py | mas828/htsohm | 2c491073fd81baf52e4051aa809db49658311172 | [
"MIT"
] | 1 | 2020-09-05T15:26:17.000Z | 2020-09-05T15:26:17.000Z |
from htsohm.config import load_config_file
from htsohm.htsohm_run import htsohm_run
| 21.25 | 42 | 0.870588 | 14 | 85 | 5 | 0.5 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 3 | 43 | 28.333333 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3957ef85b31f1d131e47b84892998f277151f39e | 4,431 | py | Python | tests/test_api_landingzone.py | bihealth/sodar-cli | 5fe56513565222eef125752119e634d36b3c8772 | [
"MIT"
] | null | null | null | tests/test_api_landingzone.py | bihealth/sodar-cli | 5fe56513565222eef125752119e634d36b3c8772 | [
"MIT"
] | 5 | 2021-04-29T12:54:39.000Z | 2021-08-16T15:05:33.000Z | tests/test_api_landingzone.py | bihealth/sodar-cli | 5fe56513565222eef125752119e634d36b3c8772 | [
"MIT"
] | null | null | null | """Tests for ``sodar_cli.api.landingzone``."""
import cattr
from sodar_cli.api import landingzone
from . import factories
def test_landingzone_retrieve(requests_mock):
args = {
"sodar_url": "https://sodar.example.com/",
"landingzone_uuid": "46f4d0d7-b446-4a04-99c4-53cbffe952a3",
"sodar_a... | 34.084615 | 83 | 0.654705 | 521 | 4,431 | 5.28215 | 0.122841 | 0.056686 | 0.06141 | 0.06686 | 0.822674 | 0.783067 | 0.75436 | 0.723837 | 0.723837 | 0.708212 | 0 | 0.028466 | 0.207177 | 4,431 | 129 | 84 | 34.348837 | 0.75491 | 0.039043 | 0 | 0.609091 | 0 | 0 | 0.321168 | 0.154933 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.027273 | 0 | 0.072727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39835e51c60a9594a71c688bebc157a5a409e2a3 | 9,360 | py | Python | tools/distribution/tests/dogfood/test_package_resolved.py | AvdLee/dd-sdk-ios | 671e1edc4a04fb0a5f63eb9cb1d33a3b1fb50c5c | [
"Apache-2.0"
] | null | null | null | tools/distribution/tests/dogfood/test_package_resolved.py | AvdLee/dd-sdk-ios | 671e1edc4a04fb0a5f63eb9cb1d33a3b1fb50c5c | [
"Apache-2.0"
] | null | null | null | tools/distribution/tests/dogfood/test_package_resolved.py | AvdLee/dd-sdk-ios | 671e1edc4a04fb0a5f63eb9cb1d33a3b1fb50c5c | [
"Apache-2.0"
] | null | null | null | # -----------------------------------------------------------
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-2020 Datadog, Inc.
# -------------------... | 35.05618 | 117 | 0.518162 | 940 | 9,360 | 5.001064 | 0.111702 | 0.07977 | 0.065518 | 0.089343 | 0.890236 | 0.875133 | 0.829823 | 0.828334 | 0.77792 | 0.737928 | 0 | 0.015645 | 0.317094 | 9,360 | 266 | 118 | 35.18797 | 0.719806 | 0.037393 | 0 | 0.489796 | 0 | 0 | 0.426588 | 0.02088 | 0 | 0 | 0 | 0 | 0.073469 | 1 | 0.020408 | false | 0 | 0.012245 | 0 | 0.044898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
399fc432c8346cae842687366c1659659fe29c81 | 64 | py | Python | caproto/sync/__init__.py | mrakitin/caproto | ad49ffbe1a69ddc63cac9ec7f1a3468a4965e465 | [
"BSD-3-Clause"
] | 12 | 2019-05-25T14:26:25.000Z | 2022-01-24T09:10:18.000Z | caproto/sync/__init__.py | mrakitin/caproto | ad49ffbe1a69ddc63cac9ec7f1a3468a4965e465 | [
"BSD-3-Clause"
] | 333 | 2017-06-22T03:10:15.000Z | 2019-05-07T16:37:20.000Z | caproto/sync/__init__.py | mrakitin/caproto | ad49ffbe1a69ddc63cac9ec7f1a3468a4965e465 | [
"BSD-3-Clause"
] | 17 | 2019-07-03T18:17:22.000Z | 2022-03-22T00:24:20.000Z | # flake8: noqa F403
from . import repeater
from . import client
| 16 | 22 | 0.75 | 9 | 64 | 5.333333 | 0.777778 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.1875 | 64 | 3 | 23 | 21.333333 | 0.846154 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39a3fb7d2e584eefbe579318261dd30367fe387c | 34 | py | Python | gyg_reader/__init__.py | sknzl/gyg_reader | 86a625d2a7abbc8a986a7cb4e9a22c61ac738c9b | [
"MIT"
] | null | null | null | gyg_reader/__init__.py | sknzl/gyg_reader | 86a625d2a7abbc8a986a7cb4e9a22c61ac738c9b | [
"MIT"
] | null | null | null | gyg_reader/__init__.py | sknzl/gyg_reader | 86a625d2a7abbc8a986a7cb4e9a22c61ac738c9b | [
"MIT"
] | null | null | null | from .gyg_reader import GygReader
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39d63d0951d7c965bf32c127c07aea099ad13265 | 65 | py | Python | radio_sim/__init__.py | tyler-a-cox/radio_sim | e54891905597578e2be6a9e6a9a201ba1cbd603c | [
"BSD-2-Clause"
] | null | null | null | radio_sim/__init__.py | tyler-a-cox/radio_sim | e54891905597578e2be6a9e6a9a201ba1cbd603c | [
"BSD-2-Clause"
] | 2 | 2021-06-22T19:31:52.000Z | 2021-07-14T21:33:01.000Z | radio_sim/__init__.py | tyler-a-cox/radio_sim | e54891905597578e2be6a9e6a9a201ba1cbd603c | [
"BSD-2-Clause"
] | null | null | null | from .beams import *
from .sky import *
from .radio_sim import *
| 16.25 | 24 | 0.723077 | 10 | 65 | 4.6 | 0.6 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 25 | 21.666667 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39d72b63f38b03f30fe07279cbc6f2f2699fbbd4 | 75 | py | Python | hello_world/cat_string.py | abhispra/python | 01744eb959700ab9b1acc1b8bdd7e11dfad09658 | [
"Apache-2.0"
] | null | null | null | hello_world/cat_string.py | abhispra/python | 01744eb959700ab9b1acc1b8bdd7e11dfad09658 | [
"Apache-2.0"
] | null | null | null | hello_world/cat_string.py | abhispra/python | 01744eb959700ab9b1acc1b8bdd7e11dfad09658 | [
"Apache-2.0"
] | null | null | null | def cat_str(str_val, n):
print str(str_val * n)
cat_str("Spam", 7) | 18.75 | 26 | 0.613333 | 15 | 75 | 2.8 | 0.533333 | 0.285714 | 0.428571 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.226667 | 75 | 4 | 27 | 18.75 | 0.706897 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2ce4eb2c64f24e3d76637ac9ad7ea7e8356f84b | 238 | py | Python | archer_tools/credential_schema.py | kylecribbs/archer_tools | f819035f4c87d14a40725fd42d1aa942676e291f | [
"MIT"
] | null | null | null | archer_tools/credential_schema.py | kylecribbs/archer_tools | f819035f4c87d14a40725fd42d1aa942676e291f | [
"MIT"
] | 186 | 2020-09-16T09:42:50.000Z | 2022-03-31T10:45:26.000Z | archer_tools/credential_schema.py | kylecribbs/archer_tools | f819035f4c87d14a40725fd42d1aa942676e291f | [
"MIT"
] | null | null | null | """Default Credentials Schema"""
from marshmallow import Schema, fields
class DefaultCredentialSchema(Schema):
"""Default Credentials Schema"""
name = fields.Str(required=True)
hostname = fields.Str(required=True)
| 23.8 | 41 | 0.710084 | 24 | 238 | 7.041667 | 0.583333 | 0.213018 | 0.284024 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180672 | 238 | 9 | 42 | 26.444444 | 0.866667 | 0.222689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ffcb2bf3362c6ab1fc4dbe65a12564197c41a098 | 25 | py | Python | deep_networks/data/dicom/__init__.py | 2PacIsAlive/deepnet.works | 6b91a6cbac39ea23df1fb81ec348168cbf9b5d4d | [
"MIT"
] | null | null | null | deep_networks/data/dicom/__init__.py | 2PacIsAlive/deepnet.works | 6b91a6cbac39ea23df1fb81ec348168cbf9b5d4d | [
"MIT"
] | null | null | null | deep_networks/data/dicom/__init__.py | 2PacIsAlive/deepnet.works | 6b91a6cbac39ea23df1fb81ec348168cbf9b5d4d | [
"MIT"
] | 2 | 2017-02-20T09:49:07.000Z | 2017-02-21T03:12:47.000Z | import load
import plot
| 6.25 | 11 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 3 | 12 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
080f09c85f0354c62d249ea3d5b7e2aac8e58941 | 2,807 | py | Python | tests/parsers/c_parser/exprs/binary_ops/bit_shr_op_expr_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | tests/parsers/c_parser/exprs/binary_ops/bit_shr_op_expr_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | tests/parsers/c_parser/exprs/binary_ops/bit_shr_op_expr_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
Tests for the
:module`regression_tests.parsers.c_parser.exprs.binary_ops.bit_shr_op_expr`
module.
"""
from tests.parsers.c_parser import WithModuleTests
class BitShrOpExprTests(WithModuleTests):
"""Tests for `BitShrOpExpr`."""
def test_bit_shr_op_expr_is_bit_shr_op(self):
bit_shr_op_... | 46.016393 | 79 | 0.723905 | 455 | 2,807 | 3.936264 | 0.156044 | 0.154104 | 0.205472 | 0.294807 | 0.777219 | 0.777219 | 0.777219 | 0.731435 | 0.462312 | 0.132887 | 0 | 0.005109 | 0.163164 | 2,807 | 60 | 80 | 46.783333 | 0.757344 | 0.043819 | 0 | 0.085106 | 0 | 0 | 0.025574 | 0 | 0 | 0 | 0 | 0 | 0.787234 | 1 | 0.085106 | false | 0 | 0.021277 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08224fb97f67376213423911c0eb478a0d4dd4f2 | 20 | py | Python | binapy/compression/__init__.py | guillp/binapy | f14207048282c46e59608c8695bfd6bd4379f5fd | [
"MIT"
] | null | null | null | binapy/compression/__init__.py | guillp/binapy | f14207048282c46e59608c8695bfd6bd4379f5fd | [
"MIT"
] | null | null | null | binapy/compression/__init__.py | guillp/binapy | f14207048282c46e59608c8695bfd6bd4379f5fd | [
"MIT"
] | null | null | null | from .gzip import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2989c52485fac581bde96ffe1abb9b444e2d8f9 | 154 | py | Python | test.py | kamino-space/CnAreaNum | ca125a3732b10369dc1ac4c60e2488e48b48f094 | [
"MIT"
] | null | null | null | test.py | kamino-space/CnAreaNum | ca125a3732b10369dc1ac4c60e2488e48b48f094 | [
"MIT"
] | null | null | null | test.py | kamino-space/CnAreaNum | ca125a3732b10369dc1ac4c60e2488e48b48f094 | [
"MIT"
] | null | null | null | import address
ad = address.AddressCode()
print(ad.code_to_address(370102))
print(ad.address_to_list('山东省济南市历下区'))
print(ad.address_to_code('山东省历下区')) | 17.111111 | 38 | 0.779221 | 23 | 154 | 4.956522 | 0.478261 | 0.236842 | 0.245614 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 0.071429 | 154 | 9 | 39 | 17.111111 | 0.755245 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4b68ae99617f7e620e3180e95ab834dcbd04d9af | 29 | py | Python | xestore/client/__init__.py | jmosbacher/xestore | ad5451b54ec44a86a1371e5253fab3aaa8e5a111 | [
"MIT"
] | null | null | null | xestore/client/__init__.py | jmosbacher/xestore | ad5451b54ec44a86a1371e5253fab3aaa8e5a111 | [
"MIT"
] | null | null | null | xestore/client/__init__.py | jmosbacher/xestore | ad5451b54ec44a86a1371e5253fab3aaa8e5a111 | [
"MIT"
] | null | null | null | from .frontend import XeStore | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b850f70f6ba77a324a933f157b25d570ad3f4b1 | 2,633 | py | Python | data-detective-airflow/tests_data/operators/sinks/pg_scd1_dataset.py | dmitriy-e/metadata-governance | 018a879951dee3f3c2c05ac8e05b8360dd7f4ab3 | [
"Apache-2.0"
] | 5 | 2021-12-01T09:55:23.000Z | 2021-12-21T16:23:33.000Z | data-detective-airflow/tests_data/operators/sinks/pg_scd1_dataset.py | dmitriy-e/metadata-governance | 018a879951dee3f3c2c05ac8e05b8360dd7f4ab3 | [
"Apache-2.0"
] | 1 | 2022-03-14T16:50:41.000Z | 2022-03-14T16:50:41.000Z | data-detective-airflow/tests_data/operators/sinks/pg_scd1_dataset.py | dmitriy-e/metadata-governance | 018a879951dee3f3c2c05ac8e05b8360dd7f4ab3 | [
"Apache-2.0"
] | 2 | 2021-11-03T09:43:09.000Z | 2021-11-17T10:16:29.000Z | from pandas import DataFrame
dataset = {
'target': DataFrame([
[1, 'foo', 'oof'],
[2, 'bar', 'rab'],
[3, 'baz', 'zab'],
[4, 'goo', 'oog']],
columns=['id', 'c1', 'c2']
),
'empty_source': DataFrame([],
columns=['id', 'c1', 'c2']
).astype(dtype={'id':'int64'... | 27.427083 | 67 | 0.382074 | 280 | 2,633 | 3.496429 | 0.167857 | 0.11951 | 0.146067 | 0.172625 | 0.772217 | 0.749745 | 0.729316 | 0.729316 | 0.697651 | 0.697651 | 0 | 0.049544 | 0.33308 | 2,633 | 95 | 68 | 27.715789 | 0.507973 | 0 | 0 | 0.755319 | 0 | 0 | 0.265097 | 0.071401 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010638 | 0 | 0.010638 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ba4c5764c7f97379821da494bbe2b45fb4fe228 | 173 | py | Python | tests/fixtures/data_sets/service/dummy_adapter/dummy_adapter_adapter.py | Agi-dev/pylaas_core | c44866b5e57eb6f05f5b2b8d731f22d62a8c01c2 | [
"MIT"
] | null | null | null | tests/fixtures/data_sets/service/dummy_adapter/dummy_adapter_adapter.py | Agi-dev/pylaas_core | c44866b5e57eb6f05f5b2b8d731f22d62a8c01c2 | [
"MIT"
] | 2 | 2021-03-25T21:30:41.000Z | 2021-06-01T21:25:37.000Z | tests/fixtures/data_sets/service/dummy_adapter/dummy_adapter_adapter.py | Agi-dev/pylaas_core | c44866b5e57eb6f05f5b2b8d731f22d62a8c01c2 | [
"MIT"
] | null | null | null | class DummyAdapterAdapter:
def __init__(self) -> None:
self._identity = "I'm the adapter to DummyAdapter"
def who_i_am(self):
return self._identity
| 24.714286 | 58 | 0.67052 | 22 | 173 | 4.909091 | 0.727273 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242775 | 173 | 6 | 59 | 28.833333 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.179191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
29cf9b0ee0f9def1d05c38c71edbf69bb22dcf0d | 37 | py | Python | ast_monitor/send_data.py | alenrajsp/AST-Monitor | 56b7dc64852bec27de9c18a676a6020fa2e92322 | [
"MIT"
] | 2 | 2022-01-25T10:42:41.000Z | 2022-01-27T11:20:45.000Z | ast_monitor/send_data.py | alenrajsp/AST-Monitor | 56b7dc64852bec27de9c18a676a6020fa2e92322 | [
"MIT"
] | 3 | 2022-01-25T15:31:50.000Z | 2022-03-31T10:39:42.000Z | ast_monitor/send_data.py | alenrajsp/AST-Monitor | 56b7dc64852bec27de9c18a676a6020fa2e92322 | [
"MIT"
] | 2 | 2022-03-01T22:31:20.000Z | 2022-03-31T10:34:50.000Z | # TODO: connect with AST-Monitor-api
| 18.5 | 36 | 0.756757 | 6 | 37 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.875 | 0.918919 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9c256e5f7d1443a7357e5bfb9ee57698cc7fc61 | 220 | py | Python | base/base_data_loader.py | guyeshet/Keras-Project-Template | 4b324aea4a923ca0ceb1610487bf7139706fae33 | [
"Apache-2.0"
] | 834 | 2018-04-09T23:29:45.000Z | 2022-02-24T21:57:26.000Z | base/base_data_loader.py | guyeshet/Keras-Project-Template | 4b324aea4a923ca0ceb1610487bf7139706fae33 | [
"Apache-2.0"
] | 12 | 2020-01-28T22:39:33.000Z | 2022-03-11T23:43:24.000Z | base/base_data_loader.py | guyeshet/Keras-Project-Template | 4b324aea4a923ca0ceb1610487bf7139706fae33 | [
"Apache-2.0"
] | 227 | 2018-04-10T03:41:36.000Z | 2022-02-16T22:20:56.000Z | class BaseDataLoader(object):
def __init__(self, config):
self.config = config
def get_train_data(self):
raise NotImplementedError
def get_test_data(self):
raise NotImplementedError
| 22 | 33 | 0.686364 | 24 | 220 | 5.958333 | 0.541667 | 0.13986 | 0.181818 | 0.447552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245455 | 220 | 9 | 34 | 24.444444 | 0.861446 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
8a21d8fe7e066388777fa9fa6d0c043ac88e6be7 | 431 | py | Python | tests/decode-too-many-layers/ethmpls.py | mtremer/suricata-verify | 48621db880a4254d4f7182307f4fe3b49d059a37 | [
"MIT"
] | 58 | 2018-05-04T06:55:15.000Z | 2022-03-18T17:34:04.000Z | tests/decode-too-many-layers/ethmpls.py | mtremer/suricata-verify | 48621db880a4254d4f7182307f4fe3b49d059a37 | [
"MIT"
] | 577 | 2018-12-06T08:57:33.000Z | 2022-03-29T10:49:18.000Z | tests/decode-too-many-layers/ethmpls.py | mtremer/suricata-verify | 48621db880a4254d4f7182307f4fe3b49d059a37 | [
"MIT"
] | 64 | 2018-05-01T16:52:58.000Z | 2021-12-16T21:01:01.000Z | import sys
# write header
sys.stdout.buffer.write(b"FPC\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00")
for i in range(32):
# ethernet layer with mpls following
sys.stdout.buffer.write(b"\x01\x02\x03\x04\x05\x06\x01\x02\x03\x04\x05\x07\x88\x47")
# mpls layer with ethernet following
... | 35.916667 | 99 | 0.723898 | 82 | 431 | 3.804878 | 0.365854 | 0.365385 | 0.490385 | 0.576923 | 0.644231 | 0.413462 | 0.153846 | 0.153846 | 0.153846 | 0.153846 | 0 | 0.209845 | 0.104408 | 431 | 11 | 100 | 39.181818 | 0.598446 | 0.220418 | 0 | 0 | 0 | 0.333333 | 0.492447 | 0.480363 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a79dd143efb634c0c1500ecd3514cfb11582c57 | 19,548 | py | Python | tests/models/programdb/fmea/fmea_integration_test.py | weibullguy/ramstk | 3ec41d7e2933045a7a8028aed6c6b04365495095 | [
"BSD-3-Clause"
] | 4 | 2018-08-26T09:11:36.000Z | 2019-05-24T12:01:02.000Z | tests/models/programdb/fmea/fmea_integration_test.py | weibullguy/ramstk | 3ec41d7e2933045a7a8028aed6c6b04365495095 | [
"BSD-3-Clause"
] | 52 | 2018-08-24T12:51:22.000Z | 2020-12-28T04:59:42.000Z | tests/models/programdb/fmea/fmea_integration_test.py | weibullguy/ramstk | 3ec41d7e2933045a7a8028aed6c6b04365495095 | [
"BSD-3-Clause"
] | 1 | 2018-10-11T07:57:55.000Z | 2018-10-11T07:57:55.000Z | # pylint: skip-file
# type: ignore
# -*- coding: utf-8 -*-
#
# tests.models.programdb.fmea.fmea_integration_test.py is part of The RAMSTK
# Project
#
# All rights reserved.
# Copyright since 2007 Doyle "weibullguy" Rowland doyle.rowland <AT> reliaqual <DOT> com
"""Class for testing FMEA integrations."""
# ... | 35.413043 | 88 | 0.630653 | 2,358 | 19,548 | 4.921968 | 0.06531 | 0.056522 | 0.091849 | 0.09228 | 0.904274 | 0.880321 | 0.838963 | 0.800879 | 0.708771 | 0.68792 | 0 | 0.016606 | 0.26064 | 19,548 | 551 | 89 | 35.477314 | 0.786411 | 0.085328 | 0 | 0.586047 | 0 | 0 | 0.184105 | 0.076372 | 0 | 0 | 0 | 0 | 0.244186 | 1 | 0.055814 | false | 0 | 0.011628 | 0 | 0.074419 | 0.025581 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a882d4c1f2cdbec15d4eb8f8ee91fe9a032e395 | 184 | py | Python | stubs/flask/__init__.py | waltermoreira/adama-app | 96a795992f64e21a48762fe6902ef22775d086a9 | [
"MIT"
] | null | null | null | stubs/flask/__init__.py | waltermoreira/adama-app | 96a795992f64e21a48762fe6902ef22775d086a9 | [
"MIT"
] | 1 | 2021-06-01T21:43:58.000Z | 2021-06-01T21:43:58.000Z | stubs/flask/__init__.py | waltermoreira/adama-app | 96a795992f64e21a48762fe6902ef22775d086a9 | [
"MIT"
] | null | null | null | from typing import Undefined, Any
Flask = Undefined(Any)
def url_for(s: str, **kwargs: Any) -> str: pass
def Response(*args: Any, **kwargs: Any) -> Any: pass
request = Undefined(Any) | 26.285714 | 52 | 0.695652 | 28 | 184 | 4.535714 | 0.571429 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 184 | 7 | 53 | 26.285714 | 0.814103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8ab4d064be83fcb5613491ea2fda30b0472d5a27 | 140 | py | Python | tests/test_schemes.py | MrNaif2018/bitcart | 19191d21765a03292526e57d3bace23261c0d100 | [
"MIT"
] | 48 | 2019-03-06T09:40:44.000Z | 2020-09-08T23:30:07.000Z | tests/test_schemes.py | MrNaif2018/bitcart | 19191d21765a03292526e57d3bace23261c0d100 | [
"MIT"
] | 68 | 2019-05-09T13:16:23.000Z | 2020-09-07T14:28:32.000Z | tests/test_schemes.py | MrNaif2018/bitcart | 19191d21765a03292526e57d3bace23261c0d100 | [
"MIT"
] | 19 | 2019-03-07T09:19:40.000Z | 2020-08-09T18:03:43.000Z | from api import schemes
def test_http_create_token_validator():
assert schemes.HTTPCreateLoginToken(permissions="").permissions == []
| 23.333333 | 73 | 0.785714 | 15 | 140 | 7.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 5 | 74 | 28 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a068bd90c4d58a60bcf661e814e4526be810e47 | 75 | py | Python | py_tdlib/constructors/reset_network_statistics.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/reset_network_statistics.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/reset_network_statistics.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Method
class resetNetworkStatistics(Method):
pass
| 12.5 | 37 | 0.8 | 8 | 75 | 7.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 5 | 38 | 15 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6a6a1df4f8bf66d37037e1c9ff601a11c5a25914 | 38 | py | Python | src/sage/rings/function_field/all.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 5 | 2015-01-04T07:15:06.000Z | 2022-03-04T15:15:18.000Z | src/sage/rings/function_field/all.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/rings/function_field/all.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 10 | 2016-09-28T13:12:40.000Z | 2022-02-12T09:28:34.000Z | from constructor import FunctionField
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a9067db7db308f654d795277e50a2379a3382bc | 10,689 | py | Python | src/directions.py | TrustedMercury/rubiks-cube-solver | a70bce152a5adb02720e29219344a3fb24ed511a | [
"MIT"
] | 3 | 2020-10-17T15:47:34.000Z | 2020-10-25T21:15:26.000Z | src/directions.py | TrustedMercury/rubiks-cube-solver | a70bce152a5adb02720e29219344a3fb24ed511a | [
"MIT"
] | null | null | null | src/directions.py | TrustedMercury/rubiks-cube-solver | a70bce152a5adb02720e29219344a3fb24ed511a | [
"MIT"
] | null | null | null | import copy
# Clockwise Rotations
def u(cube: list):
temp_cube = copy.deepcopy(cube)
# Changing same color
temp_cube[1][0] = cube[2][0]
temp_cube[2][0] = cube[3][0]
temp_cube[3][0] = cube[4][0]
temp_cube[4][0] = cube[1][0]
# Changing around
temp_cube[0][2][0] = cube[0][2][2]
temp... | 24.293182 | 38 | 0.524839 | 2,220 | 10,689 | 2.397748 | 0.014414 | 0.408792 | 0.143716 | 0.054481 | 0.990607 | 0.980274 | 0.91114 | 0.837122 | 0.365583 | 0.322562 | 0 | 0.145728 | 0.203948 | 10,689 | 439 | 39 | 24.348519 | 0.479845 | 0.045842 | 0 | 0.157706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.003584 | 0 | 0.132616 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 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 | 6 |
6a974084f3a06dfd9b69f0ed8e0a2a857432b6ec | 48 | py | Python | graph/save_cases.py | StephenGrey/covid_data | 8651460734a9aa21b5106896ab98c47491eadb3c | [
"MIT"
] | null | null | null | graph/save_cases.py | StephenGrey/covid_data | 8651460734a9aa21b5106896ab98c47491eadb3c | [
"MIT"
] | null | null | null | graph/save_cases.py | StephenGrey/covid_data | 8651460734a9aa21b5106896ab98c47491eadb3c | [
"MIT"
] | null | null | null | from graph import phe_fetch
print('hello')
| 6 | 27 | 0.708333 | 7 | 48 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 7 | 28 | 6.857143 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6aa003ed83aa88319ce9f25f3bb37a036e98f81a | 76 | py | Python | ntc_rosetta/parsers/ntc/junos/__init__.py | steinzi/ntc-rosetta | fac7086c460a2c68c769879930b74c05ed89b1f4 | [
"Apache-2.0"
] | 95 | 2019-05-29T13:04:12.000Z | 2022-03-11T20:38:13.000Z | ntc_rosetta/parsers/ntc/junos/__init__.py | tbotnz/ntc-rosetta | fac7086c460a2c68c769879930b74c05ed89b1f4 | [
"Apache-2.0"
] | 35 | 2019-05-30T03:58:34.000Z | 2021-03-03T15:30:05.000Z | ntc_rosetta/parsers/ntc/junos/__init__.py | tbotnz/ntc-rosetta | fac7086c460a2c68c769879930b74c05ed89b1f4 | [
"Apache-2.0"
] | 28 | 2019-05-29T19:32:26.000Z | 2021-04-05T09:49:30.000Z | from yangify import parser
class JunosParser(parser.RootParser):
pass
| 12.666667 | 37 | 0.776316 | 9 | 76 | 6.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 5 | 38 | 15.2 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6aaa8d4f57513489c2f8899db2a940524208268b | 1,887 | py | Python | satellite/tests/test_flows.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | null | null | null | satellite/tests/test_flows.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | null | null | null | satellite/tests/test_flows.py | aslepakurov/vgs-satellite | 9865a51a88987a32ea0ef89e7c39d2acea5f039a | [
"Apache-2.0"
] | null | null | null | from satellite.flows import copy_flow, get_flow_state, load_flow_from_state
from .factories import load_flow
def test_copy_flow():
flow = load_flow('http_raw')
flow.request_raw = flow.request.copy()
flow.request_raw.text = 'raw request'
flow.request.match_details = {'request': 'match_details'}
fl... | 38.510204 | 77 | 0.736619 | 273 | 1,887 | 4.750916 | 0.095238 | 0.097147 | 0.110254 | 0.097147 | 0.798766 | 0.766384 | 0.766384 | 0.724749 | 0.724749 | 0.724749 | 0 | 0 | 0.151563 | 1,887 | 48 | 78 | 39.3125 | 0.810119 | 0 | 0 | 0.717949 | 0 | 0 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.051282 | false | 0 | 0.051282 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ab23811f7f8c2566f1f1eec1828b32546979b66 | 65 | py | Python | benchmcmc/__init__.py | pgdr/benchmcmc | 03d997eac7fd69b41ddfa74fc06e647a2a3c3c48 | [
"MIT"
] | 1 | 2020-12-07T06:48:18.000Z | 2020-12-07T06:48:18.000Z | benchmcmc/__init__.py | pgdr/benchmcmc | 03d997eac7fd69b41ddfa74fc06e647a2a3c3c48 | [
"MIT"
] | null | null | null | benchmcmc/__init__.py | pgdr/benchmcmc | 03d997eac7fd69b41ddfa74fc06e647a2a3c3c48 | [
"MIT"
] | null | null | null | from .benchmark import main
from .mkbench import main as benchmk
| 21.666667 | 36 | 0.815385 | 10 | 65 | 5.3 | 0.7 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 2 | 37 | 32.5 | 0.963636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ae57b12e99dea9eecbef279b9c1784490e493e2 | 110 | py | Python | test/resources/inspectors/python_ast/one_bool_expression.py | nihalshetty-boop/hyperstyle | 9a6d53cd1ca220d97d296c0087056b5885b26281 | [
"Apache-2.0"
] | 18 | 2020-10-05T16:48:11.000Z | 2022-03-22T04:15:38.000Z | test/resources/inspectors/python_ast/one_bool_expression.py | nihalshetty-boop/hyperstyle | 9a6d53cd1ca220d97d296c0087056b5885b26281 | [
"Apache-2.0"
] | 60 | 2020-10-05T17:01:05.000Z | 2022-01-27T12:46:14.000Z | test/resources/inspectors/python_ast/one_bool_expression.py | nihalshetty-boop/hyperstyle | 9a6d53cd1ca220d97d296c0087056b5885b26281 | [
"Apache-2.0"
] | 6 | 2021-02-09T09:31:19.000Z | 2021-08-13T07:45:51.000Z | a, b, c, d, e, f = True, True, True, True, True, True
if a or b and c or not d and e or f:
print('Hello')
| 27.5 | 53 | 0.572727 | 27 | 110 | 2.333333 | 0.481481 | 0.634921 | 0.761905 | 0.761905 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281818 | 110 | 3 | 54 | 36.666667 | 0.797468 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6aea51309cb070b7bb7e1c66ac57c5c1c7743da8 | 369 | py | Python | gym_socks/algorithms/control/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | gym_socks/algorithms/control/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | 1 | 2021-11-09T21:15:26.000Z | 2021-11-09T21:15:26.000Z | gym_socks/algorithms/control/__init__.py | ajthor/socks | 77063064ceb5a5da3f01733bef0885b00d4b2bed | [
"MIT"
] | null | null | null | __all__ = ["kernel_control_bwd", "kernel_control_fwd"]
from gym_socks.algorithms.control.kernel_control_bwd import KernelControlBwd
from gym_socks.algorithms.control.kernel_control_bwd import kernel_control_bwd
from gym_socks.algorithms.control.kernel_control_fwd import KernelControlFwd
from gym_socks.algorithms.cont... | 46.125 | 78 | 0.886179 | 51 | 369 | 5.941176 | 0.235294 | 0.343234 | 0.211221 | 0.290429 | 0.673267 | 0.673267 | 0.673267 | 0.673267 | 0.673267 | 0 | 0 | 0 | 0.059621 | 369 | 7 | 79 | 52.714286 | 0.873199 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a734061ba9832ee1d943fa8c1eaf6b2787a6aac | 27,279 | py | Python | bin/bin_onePT/extra/mvir-3-joint_fit.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 4 | 2017-11-07T02:15:46.000Z | 2022-03-03T01:35:53.000Z | bin/bin_onePT/extra/mvir-3-joint_fit.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | null | null | null | bin/bin_onePT/extra/mvir-3-joint_fit.py | JohanComparat/nbody-npt-functions | a034db4e5a9b2f87dc42eeb6059c4dd280589e4a | [
"CC0-1.0"
] | 2 | 2020-08-12T14:26:38.000Z | 2021-09-14T06:08:58.000Z | import glob
from os.path import join
import numpy as n
import astropy.io.fits as fits
import lib_functions_1pt as lib
import os
import sys
# data modules
import glob
import sys
import astropy.io.fits as fits
import os
from os.path import join
import cPickle
# numerical modules
import numpy as n
from scipy.interpolate... | 41.269289 | 197 | 0.641996 | 4,789 | 27,279 | 3.481311 | 0.082481 | 0.034429 | 0.028191 | 0.03239 | 0.799964 | 0.774352 | 0.759477 | 0.748141 | 0.738004 | 0.736864 | 0 | 0.088368 | 0.117233 | 27,279 | 660 | 198 | 41.331818 | 0.603962 | 0.047949 | 0 | 0.636364 | 0 | 0 | 0.138451 | 0.055311 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.052224 | null | null | 0.237911 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c1cc14658538c654ba9ca0a1d293b3dbeb454a9 | 33 | py | Python | belqis/__init__.py | ahmedkhorsi/pybelqis | 3fa9f9fa731d64181bd5593e0ee2130a266af248 | [
"MIT"
] | 32 | 2021-01-13T08:03:33.000Z | 2021-12-25T07:58:01.000Z | build/lib/belqis/__init__.py | ahmedkhorsi/pybelqis | 3fa9f9fa731d64181bd5593e0ee2130a266af248 | [
"MIT"
] | null | null | null | build/lib/belqis/__init__.py | ahmedkhorsi/pybelqis | 3fa9f9fa731d64181bd5593e0ee2130a266af248 | [
"MIT"
] | 4 | 2021-01-13T11:29:24.000Z | 2021-06-09T18:06:50.000Z | from belqis.clients import Belqis | 33 | 33 | 0.878788 | 5 | 33 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c2b3627f2706febf409c1a5d3f7f2b8b71e06ee | 823 | py | Python | atom/nucleus/python/test/test_roundup.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/test/test_roundup.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | atom/nucleus/python/test/test_roundup.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Hydrogen Atom API
The Hydrogen Atom API # noqa: E501
OpenAPI spec version: 1.7.0
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import nucleus_api
from nucleus_... | 20.073171 | 79 | 0.680437 | 101 | 823 | 5.376238 | 0.584158 | 0.073665 | 0.055249 | 0.084715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02044 | 0.227218 | 823 | 40 | 80 | 20.575 | 0.833333 | 0.454435 | 0 | 0.214286 | 1 | 0 | 0.019656 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7c3365e7f91196b9d14739e105ad9dfd6b8bd65d | 38,486 | py | Python | riskfolio/RiskFunctions.py | Keitakann/Riskfolio-Lib | 9ca84baafd8c0b0861bb747d5fe15a8b724c4b2c | [
"BSD-3-Clause"
] | 1 | 2021-06-07T06:38:31.000Z | 2021-06-07T06:38:31.000Z | riskfolio/RiskFunctions.py | Keitakann/Riskfolio-Lib | 9ca84baafd8c0b0861bb747d5fe15a8b724c4b2c | [
"BSD-3-Clause"
] | null | null | null | riskfolio/RiskFunctions.py | Keitakann/Riskfolio-Lib | 9ca84baafd8c0b0861bb747d5fe15a8b724c4b2c | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from scipy.optimize import minimize
from scipy.optimize import Bounds
__all__ = [
"MAD",
"SemiDeviation",
"VaR_Hist",
"CVaR_Hist",
"WR",
"LPM",
"Entropic_RM",
"EVaR_Hist",
"MDD_Abs",
"ADD_Abs",
"DaR_Abs",
"CDaR_Abs",
"EDaR_Abs",
"UCI_Abs",
... | 26.894479 | 88 | 0.543626 | 5,630 | 38,486 | 3.634103 | 0.044405 | 0.024633 | 0.017107 | 0.02346 | 0.875024 | 0.852102 | 0.823021 | 0.793011 | 0.768328 | 0.761779 | 0 | 0.031084 | 0.305358 | 38,486 | 1,430 | 89 | 26.913287 | 0.734234 | 0.473575 | 0 | 0.669565 | 0 | 0 | 0.06611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041739 | false | 0 | 0.005217 | 0 | 0.088696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c4a5d14345b007c2750917b564b45cfef03481f | 27,239 | py | Python | utils/MotionCorrection/customLoss.py | thomaskuestner/CNNArt | c2fc639dd2ce035f6ca90113290682a0ccd26fb8 | [
"Apache-2.0"
] | 22 | 2018-04-27T21:28:46.000Z | 2021-12-24T06:44:55.000Z | utils/MotionCorrection/customLoss.py | thomaskuestner/CNNArt | c2fc639dd2ce035f6ca90113290682a0ccd26fb8 | [
"Apache-2.0"
] | 81 | 2017-11-09T17:23:15.000Z | 2020-01-28T22:54:13.000Z | utils/MotionCorrection/customLoss.py | thomaskuestner/CNNArt | c2fc639dd2ce035f6ca90113290682a0ccd26fb8 | [
"Apache-2.0"
] | 18 | 2017-11-13T16:12:17.000Z | 2020-08-27T10:17:34.000Z | import sys
from keras.layers import concatenate, Lambda, Input
from keras.metrics import mse
from keras import backend as K
from keras.applications.vgg19 import VGG19
from keras.models import Model, load_model
import numpy as np
def preprocessing(inputs):
output = Lambda(lambda x: (x - K.min(x)) * 255 /... | 56.866388 | 129 | 0.583355 | 3,924 | 27,239 | 3.826453 | 0.042304 | 0.077656 | 0.08658 | 0.06327 | 0.890842 | 0.87639 | 0.847552 | 0.84016 | 0.834898 | 0.823177 | 0 | 0.05764 | 0.246522 | 27,239 | 478 | 130 | 56.985356 | 0.673943 | 0.148757 | 0 | 0.62623 | 0 | 0 | 0.021765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029508 | false | 0 | 0.022951 | 0.003279 | 0.081967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c5064fdf7f025a983a8481c0b483dba8f5ae90d | 76,259 | bzl | Python | other_usecases/bazel/resolved-repos/resolved_repos.bzl | salesforce/bazel-demo | 3797507134935b1834607cb14265f082fb2adcf7 | [
"BSD-3-Clause"
] | 5 | 2020-08-26T11:57:41.000Z | 2022-02-24T06:23:59.000Z | other_usecases/bazel/resolved-repos/resolved_repos.bzl | salesforce/bazel-demo | 3797507134935b1834607cb14265f082fb2adcf7 | [
"BSD-3-Clause"
] | 1 | 2021-08-11T03:31:16.000Z | 2021-08-11T03:31:16.000Z | other_usecases/bazel/resolved-repos/resolved_repos.bzl | salesforce/bazel-demo | 3797507134935b1834607cb14265f082fb2adcf7 | [
"BSD-3-Clause"
] | 1 | 2020-04-28T19:12:51.000Z | 2020-04-28T19:12:51.000Z | resolved = [
{
"original_rule_class": "bind",
"original_attributes": {
"name": "android/crosstool",
"actual": "@bazel_tools//tools/cpp:toolchain",
},
"native": "bind(name = \"android/crosstool\", actual = \"@bazel_tools//tools/cpp:toolchain\")",
},
{
... | 52.303841 | 456 | 0.546414 | 6,657 | 76,259 | 6.004206 | 0.05528 | 0.035026 | 0.051038 | 0.051038 | 0.883413 | 0.854216 | 0.823017 | 0.801351 | 0.781661 | 0.764924 | 0 | 0.124072 | 0.312593 | 76,259 | 1,457 | 457 | 52.339739 | 0.638408 | 0 | 0 | 0.678106 | 0 | 0.057653 | 0.586069 | 0.300188 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002745 | 0 | 0.002745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.