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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5911b5021ea648e7b1a370ffaee7a4c50c026c8 | 107 | py | Python | src/pytest_is_running/__init__.py | adamchainz/pytest-is-running | 4c2d67b52b98510e751020e122de8b50531272ff | [
"MIT"
] | 19 | 2021-12-06T12:15:01.000Z | 2022-01-22T21:28:36.000Z | src/pytest_is_running/__init__.py | adamchainz/pytest-is-running | 4c2d67b52b98510e751020e122de8b50531272ff | [
"MIT"
] | 1 | 2021-12-06T16:21:38.000Z | 2021-12-06T16:21:38.000Z | src/pytest_is_running/__init__.py | adamchainz/pytest-is-running | 4c2d67b52b98510e751020e122de8b50531272ff | [
"MIT"
] | 1 | 2021-12-17T22:00:00.000Z | 2021-12-17T22:00:00.000Z | from __future__ import annotations
_is_running = False
def is_running() -> bool:
return _is_running
| 13.375 | 34 | 0.757009 | 14 | 107 | 5.142857 | 0.714286 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 107 | 7 | 35 | 15.285714 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
c5b7db8ce7189a1c382fc66242d2e93ade747446 | 2,732 | py | Python | tests/operator_test.py | manifest/flax-extra | e19de992c7acefefca9ed4c9f7ce3e092943363a | [
"Apache-2.0"
] | null | null | null | tests/operator_test.py | manifest/flax-extra | e19de992c7acefefca9ed4c9f7ce3e092943363a | [
"Apache-2.0"
] | 3 | 2021-08-10T04:59:35.000Z | 2021-10-07T21:10:37.000Z | tests/operator_test.py | manifest/flax-extra | e19de992c7acefefca9ed4c9f7ce3e092943363a | [
"Apache-2.0"
] | null | null | null | import unittest
from jax import numpy as jnp
import numpy as np
from flax_extra import operator as op
class ShiftRightTest(unittest.TestCase):
def test_default(self):
value = jnp.array([1, 2, 3])
expect = jnp.array([0, 1, 2])
shift = op.ShiftRight()
np.testing.assert_array_equal(s... | 24.836364 | 59 | 0.326501 | 258 | 2,732 | 3.356589 | 0.166667 | 0.036952 | 0.04157 | 0.032333 | 0.769053 | 0.742494 | 0.709007 | 0.709007 | 0.703233 | 0.65358 | 0 | 0.087205 | 0.550878 | 2,732 | 109 | 60 | 25.06422 | 0.618582 | 0 | 0 | 0.544554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 1 | 0.059406 | false | 0 | 0.039604 | 0 | 0.108911 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5e517b86ab063a446a34187872452e1461bf7a8 | 22 | py | Python | datasets/__init__.py | camilaodsouza/Masters | bbf043222ff77fce760f2be42321307f308e5451 | [
"BSD-2-Clause"
] | null | null | null | datasets/__init__.py | camilaodsouza/Masters | bbf043222ff77fce760f2be42321307f308e5451 | [
"BSD-2-Clause"
] | null | null | null | datasets/__init__.py | camilaodsouza/Masters | bbf043222ff77fce760f2be42321307f308e5451 | [
"BSD-2-Clause"
] | null | null | null | from .folder import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a84e5a7561aa7f8d8f7236bf714ab21e18e6f4c6 | 10,662 | py | Python | config_updates.py | JetRunner/PaSST-EE | 2ff8f4fd0e9c1868856d08147e6e3cf1c1bed68c | [
"Apache-2.0"
] | 1 | 2022-03-19T13:26:09.000Z | 2022-03-19T13:26:09.000Z | config_updates.py | JetRunner/PaSST-EE | 2ff8f4fd0e9c1868856d08147e6e3cf1c1bed68c | [
"Apache-2.0"
] | null | null | null | config_updates.py | JetRunner/PaSST-EE | 2ff8f4fd0e9c1868856d08147e6e3cf1c1bed68c | [
"Apache-2.0"
] | null | null | null | from sacred.config_helpers import DynamicIngredient, CMD
def add_configs(ex):
'''
This functions add generic configuration for the experiments, such as mix-up, architectures, etc...
@param ex: Ba3l Experiment
@return:
'''
@ex.named_config
def nomixup():
'Don\'t apply mix-up (spect... | 46.763158 | 112 | 0.529638 | 1,211 | 10,662 | 4.348472 | 0.14038 | 0.056969 | 0.049563 | 0.066084 | 0.845803 | 0.83422 | 0.791872 | 0.749525 | 0.68439 | 0.614888 | 0 | 0.104224 | 0.387169 | 10,662 | 227 | 113 | 46.969163 | 0.701714 | 0.25952 | 0 | 0.5 | 0 | 0 | 0.280205 | 0.131297 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116667 | false | 0.35 | 0.011111 | 0 | 0.127778 | 0.033333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a89c22d0cfa06f32c4292e77be9cc6416cc93971 | 98 | py | Python | erudition/__init__.py | papsebestyen/erudition | 35aa502a96189131baff714a6212eb56de2b1272 | [
"MIT"
] | null | null | null | erudition/__init__.py | papsebestyen/erudition | 35aa502a96189131baff714a6212eb56de2b1272 | [
"MIT"
] | null | null | null | erudition/__init__.py | papsebestyen/erudition | 35aa502a96189131baff714a6212eb56de2b1272 | [
"MIT"
] | 1 | 2022-02-21T21:17:17.000Z | 2022-02-21T21:17:17.000Z | from ._version import __version__ # noqa: F401
from .data_challenge import data_ns # noqa: F401
| 32.666667 | 49 | 0.77551 | 14 | 98 | 4.928571 | 0.571429 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 98 | 2 | 50 | 49 | 0.768293 | 0.214286 | 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 |
a8be5581e5053852ddf1c4446019eae6912dabab | 7,574 | py | Python | thor/utils/tests/test_linkages.py | moeyensj/thor | ec1150e23ec69944e45f6beddf57cfb46e9e44dc | [
"BSD-3-Clause"
] | 11 | 2019-08-22T18:37:09.000Z | 2022-02-28T22:49:25.000Z | thor/utils/tests/test_linkages.py | moeyensj/thor | ec1150e23ec69944e45f6beddf57cfb46e9e44dc | [
"BSD-3-Clause"
] | 57 | 2019-08-20T19:57:14.000Z | 2021-09-16T20:54:59.000Z | thor/utils/tests/test_linkages.py | moeyensj/thor | ec1150e23ec69944e45f6beddf57cfb46e9e44dc | [
"BSD-3-Clause"
] | 7 | 2021-02-09T21:28:43.000Z | 2022-02-01T08:55:29.000Z | import pytest
import numpy as np
import pandas as pd
from ..linkages import sortLinkages
from ..linkages import calcDeltas
from ..linkages import identifySubsetLinkages
### Create test data set
linkage_ids = ["a", "b", "c"]
linkage_lengths = [4, 5, 6]
linkage_members_ids = []
for i, lid in enumerate(linkage_ids):
... | 35.392523 | 127 | 0.701479 | 1,020 | 7,574 | 4.952941 | 0.138235 | 0.133017 | 0.078979 | 0.054632 | 0.803642 | 0.763064 | 0.738519 | 0.730998 | 0.701702 | 0.689034 | 0 | 0.007676 | 0.191576 | 7,574 | 214 | 128 | 35.392523 | 0.81741 | 0.177449 | 0 | 0.591837 | 0 | 0 | 0.096904 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.054422 | false | 0 | 0.040816 | 0 | 0.115646 | 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 |
76415086616aeb38431d89fad7321f7705a90de2 | 574 | py | Python | sdk/python/pulumi_azure_native/datadog/v20210301/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/datadog/v20210301/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/datadog/v20210301/__init__.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .get_monitor import *
from .get_monitor... | 31.888889 | 80 | 0.770035 | 85 | 574 | 4.988235 | 0.576471 | 0.212264 | 0.132075 | 0.198113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002049 | 0.149826 | 574 | 17 | 81 | 33.764706 | 0.866803 | 0.353659 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7665918b2c800d5332e8f380d6dfdebb3b36bc39 | 54 | py | Python | tests/test_path.py | alex-700/nr-deprecated | f9f8b89ea1b084841a8ab65784eaf68852686b2a | [
"MIT"
] | null | null | null | tests/test_path.py | alex-700/nr-deprecated | f9f8b89ea1b084841a8ab65784eaf68852686b2a | [
"MIT"
] | 2 | 2016-12-09T16:43:31.000Z | 2018-01-09T00:15:31.000Z | tests/test_path.py | alex-700/nr-deprecated | f9f8b89ea1b084841a8ab65784eaf68852686b2a | [
"MIT"
] | 3 | 2018-08-20T14:47:58.000Z | 2020-10-13T13:42:35.000Z |
from nose.tools import *
from nr import path
# TODO
| 9 | 24 | 0.722222 | 9 | 54 | 4.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 54 | 5 | 25 | 10.8 | 0.928571 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76909882b6c4a0a363b1e4c6d966ccac05ac7385 | 34 | py | Python | pydbticket/__init__.py | em0lar/pydbticket | 51906beaa5ddfded642ec52e93cb12cb9cfdec1c | [
"MIT"
] | 2 | 2020-06-29T08:15:29.000Z | 2020-06-29T12:08:31.000Z | pydbticket/__init__.py | em0lar/pydbticket | 51906beaa5ddfded642ec52e93cb12cb9cfdec1c | [
"MIT"
] | null | null | null | pydbticket/__init__.py | em0lar/pydbticket | 51906beaa5ddfded642ec52e93cb12cb9cfdec1c | [
"MIT"
] | null | null | null | from pydbticket import kci, order
| 17 | 33 | 0.823529 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 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 |
4f55066444aa1ed6a85d64dc7df6a0e82139abdb | 51 | py | Python | gfsopt/__init__.py | tsoernes/dlib-optimize | 6c4f5f1c22a80dbeffd04330b22ed91c132e17a0 | [
"MIT"
] | 16 | 2018-06-18T19:18:05.000Z | 2019-04-23T22:15:08.000Z | gfsopt/__init__.py | tsoernes/dlib-optimize | 6c4f5f1c22a80dbeffd04330b22ed91c132e17a0 | [
"MIT"
] | 2 | 2018-06-24T08:35:21.000Z | 2019-04-27T09:57:06.000Z | gfsopt/__init__.py | tsoernes/gfsopt | 6c4f5f1c22a80dbeffd04330b22ed91c132e17a0 | [
"MIT"
] | null | null | null | from gfsopt.gfsopt import GFSOptimizer, print_best
| 25.5 | 50 | 0.862745 | 7 | 51 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 1 | 51 | 51 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 1 | 0 | 6 |
4f93649e03ec8781d934ef921cf4902d3ce60134 | 22 | py | Python | Client/App/Core/Engine/Util/__init__.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | Client/App/Core/Engine/Util/__init__.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | Client/App/Core/Engine/Util/__init__.py | Dragon-KK/ComputerProject2021 | 669431f3f2d41bda822931e6fffe661c99736dfe | [
"MIT"
] | null | null | null | from .Time import Time | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f990e40da5a8710d2e9ca01c050d634a3cf0488 | 92 | py | Python | experiment_scripts/utils.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | 1 | 2021-12-02T21:47:46.000Z | 2021-12-02T21:47:46.000Z | experiment_scripts/utils.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | null | null | null | experiment_scripts/utils.py | jacqueschen1/adam_sgd_heavy_tails | d4ecab6d460fb44ac3fd2b865641b8e47f3848ee | [
"Apache-2.0"
] | null | null | null | def merge_grids(*grids):
return sorted(list(set.union(*[set(grid) for grid in grids])))
| 30.666667 | 66 | 0.695652 | 15 | 92 | 4.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 2 | 67 | 46 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
4fa956fd72b108493b1764442d17ed99c1206446 | 204 | py | Python | jetbrains-academy/Tic-Tac-Toe/Problems/Preprocessing/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | null | null | null | jetbrains-academy/Tic-Tac-Toe/Problems/Preprocessing/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | null | null | null | jetbrains-academy/Tic-Tac-Toe/Problems/Preprocessing/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | null | null | null | word = input()
new_word = word.lower()
new_word = new_word.replace(",", "")
new_word = new_word.replace(".", "")
new_word = new_word.replace("!", "")
new_word = new_word.replace("?", "")
print(new_word)
| 22.666667 | 36 | 0.642157 | 29 | 204 | 4.172414 | 0.206897 | 0.578512 | 0.330579 | 0.46281 | 0.694215 | 0.694215 | 0.694215 | 0.694215 | 0.694215 | 0.694215 | 0 | 0 | 0.117647 | 204 | 8 | 37 | 25.5 | 0.672222 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 6 |
96d19ed4d5ff557855c0a36cf2bda336ab8bcf7b | 139 | py | Python | src/modules/pooling.py | Mleader2/simple_effective_text_matching_Chinese | 84dc11ea1f6ef51bbdb3379991cb2e446118f70e | [
"Apache-2.0"
] | 17 | 2020-04-02T02:06:01.000Z | 2021-12-16T12:17:27.000Z | src/modules/pooling.py | Mleader2/simple_effective_text_matching_Chinese | 84dc11ea1f6ef51bbdb3379991cb2e446118f70e | [
"Apache-2.0"
] | 5 | 2020-09-26T01:00:20.000Z | 2022-02-10T01:38:27.000Z | src/modules/pooling.py | Mleader2/simple_effective_text_matching_Chinese | 84dc11ea1f6ef51bbdb3379991cb2e446118f70e | [
"Apache-2.0"
] | 3 | 2020-06-17T06:16:11.000Z | 2021-04-16T11:09:04.000Z | # coding=utf-8
import tensorflow as tf
def pooling(x, mask):
return tf.reduce_max(mask * x + (1. - mask) * tf.float32.min, axis=1)
| 15.444444 | 73 | 0.647482 | 24 | 139 | 3.708333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045045 | 0.201439 | 139 | 8 | 74 | 17.375 | 0.756757 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8c1404419d821e47f358c3132d643ebc5243789d | 32 | py | Python | paraffin/SU2Puffin/__init__.py | UKFELs/Paraffin | 9e4243bf4910fa7b1aa42a0b1ab001fc21add2d6 | [
"BSD-3-Clause"
] | null | null | null | paraffin/SU2Puffin/__init__.py | UKFELs/Paraffin | 9e4243bf4910fa7b1aa42a0b1ab001fc21add2d6 | [
"BSD-3-Clause"
] | 1 | 2018-12-15T07:51:54.000Z | 2018-12-17T11:44:49.000Z | paraffin/SU2Puffin/__init__.py | UKFELs/Paraffin | 9e4243bf4910fa7b1aa42a0b1ab001fc21add2d6 | [
"BSD-3-Clause"
] | 1 | 2018-10-04T12:06:25.000Z | 2018-10-04T12:06:25.000Z | from SU2Puffin import SU2Puffin
| 16 | 31 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.125 | 32 | 1 | 32 | 32 | 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 |
8c40ab800ece0387a37a789c2e3fa44baa953787 | 48 | py | Python | blobcity/__init__.py | sanketsarang/autoai | 12ec8420d478b118e73a01c0f2b2e210544a3257 | [
"Apache-2.0"
] | 1 | 2021-09-10T19:07:56.000Z | 2021-09-10T19:07:56.000Z | blobcity/__init__.py | sanketsarang/autoai | 12ec8420d478b118e73a01c0f2b2e210544a3257 | [
"Apache-2.0"
] | null | null | null | blobcity/__init__.py | sanketsarang/autoai | 12ec8420d478b118e73a01c0f2b2e210544a3257 | [
"Apache-2.0"
] | null | null | null | from .main import train
from .store import Model | 24 | 24 | 0.8125 | 8 | 48 | 4.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 24 | 24 | 0.95122 | 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 |
8c634911863457c2928ff0e16d517824527379bd | 1,099 | py | Python | src/document_json.py | jina-ai/benchmark | d9ade6464c1508c057299d9c6391872a7a70ba4b | [
"Apache-2.0"
] | 11 | 2021-08-06T07:33:44.000Z | 2022-03-15T02:24:37.000Z | src/document_json.py | jina-ai/benchmarking | d9ade6464c1508c057299d9c6391872a7a70ba4b | [
"Apache-2.0"
] | 23 | 2021-08-01T20:43:40.000Z | 2021-11-22T20:46:54.000Z | src/document_json.py | jina-ai/benchmarking | d9ade6464c1508c057299d9c6391872a7a70ba4b | [
"Apache-2.0"
] | 3 | 2021-09-12T07:14:41.000Z | 2022-03-21T19:47:23.000Z | import numpy as np
import pytest
from jina import Document
from .pages import Pages
from .utils.benchmark import benchmark_time
@pytest.mark.parametrize('num_docs', [1, 100, 10_000])
def test_document_json_with_text(num_docs, json_writer):
def _input_docs():
return (), dict(docs=[Document(text='doc') for... | 25.55814 | 88 | 0.66242 | 155 | 1,099 | 4.419355 | 0.290323 | 0.10219 | 0.061314 | 0.070073 | 0.80292 | 0.80292 | 0.80292 | 0.80292 | 0.80292 | 0.80292 | 0 | 0.023337 | 0.2202 | 1,099 | 42 | 89 | 26.166667 | 0.775963 | 0 | 0 | 0.645161 | 0 | 0 | 0.017288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.16129 | 0.064516 | 0.419355 | 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 |
4fd9faa110872821f5c4dd91d998025cc077a4fb | 95 | py | Python | quapy/tests/test_base.py | valgur/QuaPy | 6b1ba4886a1d64b086829306cbba689cdcfd60e8 | [
"BSD-3-Clause"
] | 34 | 2021-01-06T14:01:06.000Z | 2022-03-08T06:59:04.000Z | quapy/tests/test_base.py | valgur/QuaPy | 6b1ba4886a1d64b086829306cbba689cdcfd60e8 | [
"BSD-3-Clause"
] | 4 | 2021-06-07T07:45:57.000Z | 2021-06-21T11:16:10.000Z | quapy/tests/test_base.py | valgur/QuaPy | 6b1ba4886a1d64b086829306cbba689cdcfd60e8 | [
"BSD-3-Clause"
] | 6 | 2021-06-07T10:08:17.000Z | 2022-03-07T13:42:15.000Z | import pytest
def test_import():
import quapy as qp
assert qp.__version__ is not None
| 15.833333 | 37 | 0.726316 | 15 | 95 | 4.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 95 | 5 | 38 | 19 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.75 | 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 |
4fdf7f82aca4b42ff07ad17f07088cdaffe97107 | 1,390 | py | Python | test/test_func.py | ericmjl/lettersmith_py | 96ddaf1268ac53062b2e7b1d05d06dc092865666 | [
"MIT"
] | 103 | 2018-02-19T00:10:57.000Z | 2022-02-18T00:14:55.000Z | test/test_func.py | ericmjl/lettersmith_py | 96ddaf1268ac53062b2e7b1d05d06dc092865666 | [
"MIT"
] | 8 | 2018-09-01T10:29:01.000Z | 2021-10-01T21:37:10.000Z | test/test_func.py | ericmjl/lettersmith_py | 96ddaf1268ac53062b2e7b1d05d06dc092865666 | [
"MIT"
] | 12 | 2018-08-31T16:53:14.000Z | 2022-03-14T00:44:08.000Z | import unittest
from lettersmith.func import compose, thrush, pipe, rest, composable
class test_compose(unittest.TestCase):
def test_1(self):
def a(s):
return s + "a"
def b(s):
return s + "b"
def c(s):
return s + "c"
abc = compose(c, b, a)
... | 18.783784 | 68 | 0.466906 | 192 | 1,390 | 3.255208 | 0.161458 | 0.1008 | 0.1152 | 0.184 | 0.7088 | 0.7088 | 0.6192 | 0.5744 | 0.472 | 0.472 | 0 | 0.020071 | 0.390647 | 1,390 | 74 | 69 | 18.783784 | 0.717828 | 0 | 0 | 0.705882 | 0 | 0 | 0.023005 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 1 | 0.313725 | false | 0 | 0.039216 | 0.215686 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4ff9a6c7165511a5ea29ea3050e882bb8186432e | 49 | py | Python | PyByteReader/__init__.py | ventralnet/PyByteReader | e4e9c8fda4a45aad5401c66aa350ad069d3d0bf8 | [
"MIT"
] | null | null | null | PyByteReader/__init__.py | ventralnet/PyByteReader | e4e9c8fda4a45aad5401c66aa350ad069d3d0bf8 | [
"MIT"
] | null | null | null | PyByteReader/__init__.py | ventralnet/PyByteReader | e4e9c8fda4a45aad5401c66aa350ad069d3d0bf8 | [
"MIT"
] | null | null | null | from PyByteReader.byte_reader import ByteReader
| 16.333333 | 47 | 0.877551 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 2 | 48 | 24.5 | 0.954545 | 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 |
8b0da978784473f738624c28ece1a74432f5b9b1 | 42 | py | Python | OpenHowNet/pack/submit_user/__init__.py | blmoistawinde/OpenHowNet | b93a322b4fc000087eccdc7e5ec600626b91d5d5 | [
"MIT"
] | 10 | 2021-05-31T07:18:08.000Z | 2022-03-19T09:20:11.000Z | OpenHowNet/pack/submit_user/__init__.py | EthanSystem/OpenHowNet | c20e88c0dcf18e2e36158a73bdaf8a4939367d23 | [
"MIT"
] | 1 | 2021-08-03T12:23:01.000Z | 2021-08-10T08:35:22.000Z | OpenHowNet/pack/submit_user/__init__.py | EthanSystem/OpenHowNet | c20e88c0dcf18e2e36158a73bdaf8a4939367d23 | [
"MIT"
] | 2 | 2021-12-09T07:23:21.000Z | 2022-03-31T06:13:10.000Z | from OpenHowNet.pack.submit_user import *
| 21 | 41 | 0.833333 | 6 | 42 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 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 |
8b2deae39c38c936c478ce5fdcf7a4f229c3a367 | 111 | py | Python | src/__init__.py | ashleylst/DSDmodel | 4276c832e0335539aef2ae2b33e23719957a3f08 | [
"MIT"
] | 1 | 2021-07-26T17:30:16.000Z | 2021-07-26T17:30:16.000Z | src/__init__.py | ashleylst/DSDmodel | 4276c832e0335539aef2ae2b33e23719957a3f08 | [
"MIT"
] | null | null | null | src/__init__.py | ashleylst/DSDmodel | 4276c832e0335539aef2ae2b33e23719957a3f08 | [
"MIT"
] | 2 | 2020-06-29T15:43:22.000Z | 2021-05-12T08:25:03.000Z | from .basics import *
from .reaction import *
from .strand import *
from .util import *
from .species import *
| 18.5 | 23 | 0.72973 | 15 | 111 | 5.4 | 0.466667 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 111 | 5 | 24 | 22.2 | 0.89011 | 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 |
8c6e7940f26a5a5f19fc9bd48a5348ade68a5a52 | 4,147 | py | Python | snooper/numberhandler.py | tehreem09/web-snooper | bd02ef0aa38881321da8dc76b28560a7381b3841 | [
"MIT"
] | null | null | null | snooper/numberhandler.py | tehreem09/web-snooper | bd02ef0aa38881321da8dc76b28560a7381b3841 | [
"MIT"
] | null | null | null | snooper/numberhandler.py | tehreem09/web-snooper | bd02ef0aa38881321da8dc76b28560a7381b3841 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import phonenumbers
from phonenumbers import geocoder
from phonenumbers import carrier
from phonenumbers import timezone
from _collections import defaultdict
class NumberRecon:
def __init__(self, **kwargs):
self.numbers = kwargs['numbers']
self.countries = kwargs['countries'... | 39.495238 | 118 | 0.66313 | 482 | 4,147 | 5.439834 | 0.151452 | 0.10984 | 0.097635 | 0.048055 | 0.8791 | 0.853547 | 0.833715 | 0.790236 | 0.790236 | 0.756674 | 0 | 0.000951 | 0.239691 | 4,147 | 104 | 119 | 39.875 | 0.830637 | 0.448035 | 0 | 0 | 0 | 0 | 0.083037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145833 | false | 0 | 0.104167 | 0.020833 | 0.395833 | 0.125 | 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 |
50cfd0cbb9c36903c542d15d6ce0715de4d43405 | 37 | py | Python | X1.py | sebastian-zieba/playground | 6ef997b19de631ff9f78e9c11f8a6161907a6765 | [
"MIT"
] | null | null | null | X1.py | sebastian-zieba/playground | 6ef997b19de631ff9f78e9c11f8a6161907a6765 | [
"MIT"
] | null | null | null | X1.py | sebastian-zieba/playground | 6ef997b19de631ff9f78e9c11f8a6161907a6765 | [
"MIT"
] | null | null | null | #test
print('thats a new test file')
| 12.333333 | 30 | 0.702703 | 7 | 37 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 2 | 31 | 18.5 | 0.83871 | 0.108108 | 0 | 0 | 0 | 0 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0fc7b770ba1acdfd4df44cbd172ae9daf574aa6e | 4,280 | py | Python | tests/pytests/test_rotation.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | null | null | null | tests/pytests/test_rotation.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | null | null | null | tests/pytests/test_rotation.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | null | null | null | import pytest
import numpy as np
from ale.rotation import ConstantRotation, TimeDependentRotation
def test_constant_constant_composition():
# Two 90 degree rotation about the X-axis
rot1_2 = ConstantRotation([1.0/np.sqrt(2), 0, 0, 1.0/np.sqrt(2)], 1, 2)
rot2_3 = ConstantRotation([1.0/np.sqrt(2), 0, 0, 1.0... | 46.521739 | 101 | 0.67243 | 776 | 4,280 | 3.559278 | 0.076031 | 0.02824 | 0.043447 | 0.086894 | 0.835264 | 0.800869 | 0.775887 | 0.761767 | 0.724475 | 0.700579 | 0 | 0.109812 | 0.180841 | 4,280 | 91 | 102 | 47.032967 | 0.677981 | 0.175935 | 0 | 0.597222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 1 | 0.097222 | false | 0 | 0.041667 | 0 | 0.138889 | 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 |
0fce6405e2053c4d6a23a3fc2b0aeea87e69740b | 140 | py | Python | flask_site/controllers/legacy.py | wcpr740/wcpr.org | 6a9120122d45a9721a7140fcc594ba5634b91f90 | [
"Apache-2.0"
] | 2 | 2019-09-10T15:53:20.000Z | 2020-10-06T20:51:06.000Z | flask_site/controllers/legacy.py | wcpr740/wcpr.org | 6a9120122d45a9721a7140fcc594ba5634b91f90 | [
"Apache-2.0"
] | 8 | 2020-12-18T22:13:17.000Z | 2022-03-11T23:14:13.000Z | flask_site/controllers/legacy.py | wcpr740/wcpr.org | 6a9120122d45a9721a7140fcc594ba5634b91f90 | [
"Apache-2.0"
] | 1 | 2018-09-19T22:58:19.000Z | 2018-09-19T22:58:19.000Z | from flask import render_template
from flask_site import app
@app.route('/logos/')
def logos():
return render_template('logos.html')
| 15.555556 | 40 | 0.742857 | 20 | 140 | 5.05 | 0.6 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 140 | 8 | 41 | 17.5 | 0.841667 | 0 | 0 | 0 | 0 | 0 | 0.121429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ba09711cdcea6f3bfc502b301910b7b850320ada | 5,472 | py | Python | finetune/tools/data_aug.py | chaowang1994/ali-tianchi | 27575ce01efcb4d0e816fa681cb8b996d941f17b | [
"BSD-2-Clause"
] | 1 | 2018-10-10T14:14:56.000Z | 2018-10-10T14:14:56.000Z | finetune/tools/data_aug.py | chaowang1994/ali-tianchi | 27575ce01efcb4d0e816fa681cb8b996d941f17b | [
"BSD-2-Clause"
] | null | null | null | finetune/tools/data_aug.py | chaowang1994/ali-tianchi | 27575ce01efcb4d0e816fa681cb8b996d941f17b | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
import os
import Augmentor
dir_all = set()
for root, dirs, files in os.walk("./guangdong_round1_train1_20180903/", topdown=False):
for name in files:
#if "output" in os.path.join(root, name):
... | 37.737931 | 99 | 0.664474 | 855 | 5,472 | 4.184795 | 0.11462 | 0.0654 | 0.064282 | 0.067077 | 0.810509 | 0.795416 | 0.78256 | 0.766909 | 0.738401 | 0.738401 | 0 | 0.042195 | 0.20742 | 5,472 | 144 | 100 | 38 | 0.782799 | 0.03527 | 0 | 0 | 0 | 0 | 0.09018 | 0.07014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.230769 | 0.153846 | 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 |
ba20b317855ed0654635200cc63f5bdf39008eb5 | 5,387 | py | Python | Ryven/packages/auto_generated/bisect/nodes.py | tfroehlich82/Ryven | cb57c91d13949712844a4410a9302c4a90d28dcd | [
"MIT"
] | 2,872 | 2020-07-01T09:06:34.000Z | 2022-03-31T05:52:32.000Z | Ryven/packages/auto_generated/bisect/nodes.py | dhf327/Ryven | a11e361528d982a9dd3c489dd536f8b05ffd56e1 | [
"MIT"
] | 59 | 2020-06-28T12:50:50.000Z | 2022-03-27T19:07:54.000Z | Ryven/packages/auto_generated/bisect/nodes.py | dhf327/Ryven | a11e361528d982a9dd3c489dd536f8b05ffd56e1 | [
"MIT"
] | 339 | 2020-07-05T04:36:20.000Z | 2022-03-24T07:25:18.000Z |
from NENV import *
import bisect
class NodeBase(Node):
pass
class Bisect_Node(NodeBase):
"""
Return the index where to insert item x in list a, assuming a is sorted.
The return value i is such that all e in a[:i] have e <= x, and all e in
a[i:] have e > x. So if x already appears in the list, i poin... | 29.598901 | 111 | 0.629293 | 810 | 5,387 | 4.097531 | 0.108642 | 0.115698 | 0.054233 | 0.079542 | 0.940042 | 0.940042 | 0.940042 | 0.940042 | 0.940042 | 0.940042 | 0 | 0.017488 | 0.235753 | 5,387 | 181 | 112 | 29.762431 | 0.788681 | 0.319473 | 0 | 0.588235 | 0 | 0 | 0.057395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.009804 | 0.019608 | 0 | 0.441176 | 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 |
fa089d69ec03c68cbe18b82d06a6effb64ee3b17 | 105 | py | Python | lambdata_apathyhill/__init__.py | apathyhill/Lambdata | 40c875883cc44a8fc6302a179ee7d558a39cdb93 | [
"MIT"
] | null | null | null | lambdata_apathyhill/__init__.py | apathyhill/Lambdata | 40c875883cc44a8fc6302a179ee7d558a39cdb93 | [
"MIT"
] | 4 | 2020-03-24T17:52:54.000Z | 2021-06-02T00:51:20.000Z | lambdata_apathyhill/__init__.py | apathyhill/Lambdata | 40c875883cc44a8fc6302a179ee7d558a39cdb93 | [
"MIT"
] | null | null | null | """This is the Lambdata Package"""
import numpy
import pandas
def test():
print("This module worked!") | 15 | 34 | 0.714286 | 15 | 105 | 5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 7 | 35 | 15 | 0.842697 | 0.266667 | 0 | 0 | 0 | 0 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 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 |
fa19744072de4fcc4d2b0520ebd049e6582628ee | 171 | py | Python | Project1-MinNE-python/src/layer/__init__.py | MrCaiDev/uestc-CNTProject | ea22325f749b48179a294e73390608491618683a | [
"MIT"
] | 1 | 2022-03-06T04:21:26.000Z | 2022-03-06T04:21:26.000Z | Project1-MinNE-python/src/layer/__init__.py | MrCaiDev/cnt | ea22325f749b48179a294e73390608491618683a | [
"MIT"
] | null | null | null | Project1-MinNE-python/src/layer/__init__.py | MrCaiDev/cnt | ea22325f749b48179a294e73390608491618683a | [
"MIT"
] | 1 | 2022-03-22T01:00:17.000Z | 2022-03-22T01:00:17.000Z | from layer.app import AppLayer
from layer.cmd import CommandLayer
from layer.net import NetLayer
from layer.router import RouterLayer
from layer.switch import SwitchLayer
| 28.5 | 36 | 0.853801 | 25 | 171 | 5.84 | 0.52 | 0.308219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 171 | 5 | 37 | 34.2 | 0.966887 | 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 |
d7418b83605aeb95d25a04d66666c084d481dd9e | 108 | py | Python | ivy/functional/backends/numpy/array_api/elementwise_functions.py | Cher-B/ivy | 95273172201071ebf7b83d56bb314450ebe41071 | [
"Apache-2.0"
] | 1 | 2022-02-24T02:51:10.000Z | 2022-02-24T02:51:10.000Z | ivy/functional/backends/numpy/array_api/elementwise_functions.py | Cher-B/ivy | 95273172201071ebf7b83d56bb314450ebe41071 | [
"Apache-2.0"
] | null | null | null | ivy/functional/backends/numpy/array_api/elementwise_functions.py | Cher-B/ivy | 95273172201071ebf7b83d56bb314450ebe41071 | [
"Apache-2.0"
] | null | null | null | # global
import numpy as np
def isfinite(x: np.ndarray)\
-> np.ndarray:
return np.isfinite(x)
| 13.5 | 28 | 0.62963 | 16 | 108 | 4.25 | 0.625 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 108 | 7 | 29 | 15.428571 | 0.839506 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 |
d7840d7ccb987f242c26600f842b50e71945817e | 4,239 | py | Python | tests/unit/lib/package/test_local_files_utils.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 2,959 | 2018-05-08T21:48:56.000Z | 2020-08-24T14:35:39.000Z | tests/unit/lib/package/test_local_files_utils.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1,469 | 2018-05-08T22:44:28.000Z | 2020-08-24T20:19:24.000Z | tests/unit/lib/package/test_local_files_utils.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 642 | 2018-05-08T22:09:19.000Z | 2020-08-17T09:04:37.000Z | import unittest
from unittest.mock import MagicMock, patch
from samcli.lib.package.local_files_utils import get_uploaded_s3_object_name
class GetUploadedS3ObjectNameUtils(unittest.TestCase):
def setUp(self):
self.file_hash_value = "123456789"
self.extension = "template"
self.pre_calculate... | 53.658228 | 116 | 0.779193 | 576 | 4,239 | 5.253472 | 0.09375 | 0.111038 | 0.111038 | 0.104098 | 0.875744 | 0.853602 | 0.843358 | 0.843358 | 0.828486 | 0.828486 | 0 | 0.011475 | 0.136589 | 4,239 | 78 | 117 | 54.346154 | 0.815301 | 0 | 0 | 0.573529 | 0 | 0 | 0.196273 | 0.188724 | 0 | 0 | 0 | 0 | 0.308824 | 1 | 0.117647 | false | 0 | 0.044118 | 0 | 0.176471 | 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 |
ad1066dbcf82ff3d89ba09c1267da877d97ea5b9 | 12,378 | py | Python | heat_integrationtests/functional/test_conditions.py | cwolferh/heat-scratch | 09042cce6bae863bdac3d43db0d95dbb54d5bc24 | [
"Apache-2.0"
] | null | null | null | heat_integrationtests/functional/test_conditions.py | cwolferh/heat-scratch | 09042cce6bae863bdac3d43db0d95dbb54d5bc24 | [
"Apache-2.0"
] | null | null | null | heat_integrationtests/functional/test_conditions.py | cwolferh/heat-scratch | 09042cce6bae863bdac3d43db0d95dbb54d5bc24 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 33.819672 | 78 | 0.631685 | 1,442 | 12,378 | 5.10957 | 0.100555 | 0.085505 | 0.031759 | 0.053203 | 0.823833 | 0.802389 | 0.764658 | 0.741178 | 0.735749 | 0.690961 | 0 | 0.004078 | 0.266925 | 12,378 | 365 | 79 | 33.912329 | 0.807913 | 0.044111 | 0 | 0.68932 | 0 | 0 | 0.336211 | 0.022595 | 0 | 0 | 0 | 0 | 0.187702 | 1 | 0.029126 | false | 0 | 0.003236 | 0 | 0.035599 | 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 |
ad203ba37fc02ea9d3540f7708b70387a81acbf0 | 2,711 | py | Python | tests/modules/projects/resources/utils.py | karenc/houston | 4eaaaf11d61394035e34b55bb847ea7eb4099c61 | [
"Apache-2.0"
] | 6 | 2021-04-06T19:50:52.000Z | 2022-01-19T17:42:33.000Z | tests/modules/projects/resources/utils.py | WildMeOrg/houston | 8102229421388e44234c07ee6cb73bf705b6fba0 | [
"Apache-2.0"
] | 491 | 2021-01-20T01:10:00.000Z | 2022-03-31T19:30:48.000Z | tests/modules/projects/resources/utils.py | karenc/houston | 4eaaaf11d61394035e34b55bb847ea7eb4099c61 | [
"Apache-2.0"
] | 2 | 2021-03-12T02:33:55.000Z | 2021-03-16T20:18:43.000Z | # -*- coding: utf-8 -*-
"""
Project resources utils
-------------
"""
import json
from tests import utils as test_utils
PATH = '/api/v1/projects/'
def create_project(flask_app_client, user, title, expected_status_code=200):
with flask_app_client.login(user, auth_scopes=('projects:write',)):
response = fl... | 33.469136 | 88 | 0.670232 | 329 | 2,711 | 5.194529 | 0.167173 | 0.093622 | 0.122879 | 0.098303 | 0.80866 | 0.784084 | 0.784084 | 0.738444 | 0.715038 | 0.657109 | 0 | 0.021891 | 0.208041 | 2,711 | 80 | 89 | 33.8875 | 0.774103 | 0.022132 | 0 | 0.508475 | 0 | 0 | 0.087779 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 1 | 0.084746 | false | 0 | 0.033898 | 0 | 0.186441 | 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 |
ad2f3f13f1d7076c4a4c651a098372203035dc95 | 27 | py | Python | GPU_Computer/catkin_ws/devel/lib/python2.7/dist-packages/dji_pkg/msg/__init__.py | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | null | null | null | GPU_Computer/catkin_ws/devel/lib/python2.7/dist-packages/dji_pkg/msg/__init__.py | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | null | null | null | GPU_Computer/catkin_ws/devel/lib/python2.7/dist-packages/dji_pkg/msg/__init__.py | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | 2 | 2021-05-18T07:04:23.000Z | 2021-05-23T13:22:13.000Z | from ._Pos_XYZ_th import *
| 13.5 | 26 | 0.777778 | 5 | 27 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.782609 | 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 |
ad54e89e9896fde6796fbd67dabd7f2cd904a21b | 7,936 | py | Python | session4/complete/4.py | robbaltzer/pb-exercises | 4aebe998adf94dd008662dcfddadabbde68131ec | [
"BSD-2-Clause"
] | null | null | null | session4/complete/4.py | robbaltzer/pb-exercises | 4aebe998adf94dd008662dcfddadabbde68131ec | [
"BSD-2-Clause"
] | null | null | null | session4/complete/4.py | robbaltzer/pb-exercises | 4aebe998adf94dd008662dcfddadabbde68131ec | [
"BSD-2-Clause"
] | null | null | null | from io import BytesIO
from unittest import TestCase
from helper import hash256
from script import Script
from tx import Tx, TxIn
class Session4Test(TestCase):
def test_example_1(self):
z = 0x7c076ff316692a3d7eb3c3bb0f8b1488cf72e1afcd929e29307032997a838a3d
sec = bytes.fromhex('04887387e452b8eacc... | 83.536842 | 1,351 | 0.85068 | 433 | 7,936 | 15.321016 | 0.198614 | 0.034368 | 0.018089 | 0.023515 | 0.244197 | 0.235002 | 0.128882 | 0.113958 | 0.113958 | 0.113958 | 0 | 0.459498 | 0.107107 | 7,936 | 94 | 1,352 | 84.425532 | 0.476715 | 0 | 0 | 0.268293 | 0 | 0 | 0.574345 | 0.567288 | 0 | 1 | 0.019153 | 0 | 0.121951 | 1 | 0.109756 | false | 0 | 0.060976 | 0 | 0.182927 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad5bbe9416ca84f7594dfff4cd6dc21fd15f7006 | 98 | py | Python | micstream/__init__.py | lars-frogner/micstream | 451bd55ff48d85136bfc61b2e4f6db2fc47b2133 | [
"MIT"
] | 7 | 2020-11-12T20:48:07.000Z | 2021-12-05T23:57:12.000Z | micstream/__init__.py | lars-frogner/micstream | 451bd55ff48d85136bfc61b2e4f6db2fc47b2133 | [
"MIT"
] | null | null | null | micstream/__init__.py | lars-frogner/micstream | 451bd55ff48d85136bfc61b2e4f6db2fc47b2133 | [
"MIT"
] | 4 | 2020-12-24T00:02:04.000Z | 2021-09-07T07:46:30.000Z | from micstream.audio import AudioSource
from micstream.server import Server
# vim:sw=4:ts=4:et:
| 16.333333 | 39 | 0.785714 | 16 | 98 | 4.8125 | 0.6875 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.122449 | 98 | 5 | 40 | 19.6 | 0.872093 | 0.173469 | 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 |
ad5c317311f260549bf42d944c25eeeb0d3d666b | 74 | bzl | Python | py/defs.bzl | xaircore/selenium | c453b53e9e0b0e25e2326918a28424b886f5df56 | [
"Apache-2.0"
] | 2 | 2021-06-28T15:02:22.000Z | 2021-07-06T11:57:51.000Z | py/defs.bzl | xaircore/selenium | c453b53e9e0b0e25e2326918a28424b886f5df56 | [
"Apache-2.0"
] | 4 | 2020-07-18T17:55:24.000Z | 2021-05-10T18:57:07.000Z | py/defs.bzl | orlking/python-selenium | e179131f7519c1052688fd2a3ed581541403fa5f | [
"Apache-2.0"
] | 1 | 2019-09-15T11:54:10.000Z | 2019-09-15T11:54:10.000Z | load("//py:import.bzl", _py_import = "py_import")
py_import = _py_import
| 18.5 | 49 | 0.716216 | 12 | 74 | 3.916667 | 0.333333 | 0.851064 | 0.638298 | 1.021277 | 0.680851 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 50 | 24.666667 | 0.712121 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ad6ddb707f4437a02419eb741ef7fc9ccb697941 | 238 | py | Python | tests/test_gocd.py | rasmunk/gocd-tools | 2567756d993d1b323bde2b2903457df598f19dc6 | [
"MIT"
] | null | null | null | tests/test_gocd.py | rasmunk/gocd-tools | 2567756d993d1b323bde2b2903457df598f19dc6 | [
"MIT"
] | null | null | null | tests/test_gocd.py | rasmunk/gocd-tools | 2567756d993d1b323bde2b2903457df598f19dc6 | [
"MIT"
] | null | null | null | import unittest
class DummyTest(unittest.TestCase):
def setUp(self) -> None:
return super().setUp()
def tearDown(self) -> None:
return super().tearDown()
def test_hello(self):
self.assertTrue(True)
| 18.307692 | 35 | 0.62605 | 27 | 238 | 5.481481 | 0.592593 | 0.108108 | 0.189189 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247899 | 238 | 12 | 36 | 19.833333 | 0.826816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a8df2b8b65d97ca34b117ecdf0f42f246b356bc9 | 4,813 | py | Python | test/test_dipolarbackground.py | laenan8466/DeerLab | 94f1942da1b506e0661a8e7e4901bb5ba6d69143 | [
"MIT"
] | null | null | null | test/test_dipolarbackground.py | laenan8466/DeerLab | 94f1942da1b506e0661a8e7e4901bb5ba6d69143 | [
"MIT"
] | null | null | null | test/test_dipolarbackground.py | laenan8466/DeerLab | 94f1942da1b506e0661a8e7e4901bb5ba6d69143 | [
"MIT"
] | null | null | null |
import numpy as np
from deerlab.bg_models import bg_hom3d, bg_exp
from deerlab.dipolarbackground import dipolarbackground
def test_basic():
#==================================================================================
"Basic functionality test on dipolarbackground"
t = np.linspace(0,5,150)
... | 27.66092 | 86 | 0.423021 | 534 | 4,813 | 3.76779 | 0.170412 | 0.04175 | 0.039761 | 0.04175 | 0.793738 | 0.790258 | 0.780318 | 0.780318 | 0.694831 | 0.694831 | 0 | 0.046261 | 0.227509 | 4,813 | 174 | 87 | 27.66092 | 0.49489 | 0.359235 | 0 | 0.764151 | 0 | 0 | 0.139112 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 1 | 0.066038 | false | 0 | 0.028302 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 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 |
a8e9e02a072a7b68d1f0bdf8f7fc982906115e00 | 203 | py | Python | OpenGLCffi/GL/EXT/ARB/shader_storage_buffer_object.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/shader_storage_buffer_object.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GL/EXT/ARB/shader_storage_buffer_object.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GL import params
@params(api='gl', prms=['program', 'storageBlockIndex', 'storageBlockBinding'])
def glShaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding):
pass
| 29 | 81 | 0.802956 | 18 | 203 | 9.055556 | 0.722222 | 0.294479 | 0.527607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078818 | 203 | 6 | 82 | 33.833333 | 0.871658 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d11b6233f25fd9922d27df6cd054d803d43dfc09 | 36 | py | Python | monstermash/__init__.py | mitchelllisle/monstermash | 724907514a9727a2970b3ddffe4d6fb2a490da48 | [
"MIT"
] | null | null | null | monstermash/__init__.py | mitchelllisle/monstermash | 724907514a9727a2970b3ddffe4d6fb2a490da48 | [
"MIT"
] | null | null | null | monstermash/__init__.py | mitchelllisle/monstermash | 724907514a9727a2970b3ddffe4d6fb2a490da48 | [
"MIT"
] | null | null | null | from monstermash.crypt import Crypt
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 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 |
d127805f989feb8b777b1076578af53b13da97da | 161 | py | Python | src/controller/controller.py | cloostefis/quong | df3b7991f46dd6459dc9cfe3ba495f5a71141b50 | [
"MIT"
] | null | null | null | src/controller/controller.py | cloostefis/quong | df3b7991f46dd6459dc9cfe3ba495f5a71141b50 | [
"MIT"
] | null | null | null | src/controller/controller.py | cloostefis/quong | df3b7991f46dd6459dc9cfe3ba495f5a71141b50 | [
"MIT"
] | null | null | null |
class Controller:
def __init__(self, scene):
self._scene = scene
def update(self, delta):
pass
@property
def scene(self):
return self._scene
| 8.944444 | 27 | 0.670807 | 21 | 161 | 4.857143 | 0.52381 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229814 | 161 | 18 | 28 | 8.944444 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
d1372529640c2baff7dd48a10b47ac2ec0d3614c | 82,474 | py | Python | tasks/R2R-pano/agents/pano_agent.py | zhangyuejoslin/selfmonitoring-agent | 9401ceb492f6c4576d62404b62e815d184136b24 | [
"MIT"
] | null | null | null | tasks/R2R-pano/agents/pano_agent.py | zhangyuejoslin/selfmonitoring-agent | 9401ceb492f6c4576d62404b62e815d184136b24 | [
"MIT"
] | null | null | null | tasks/R2R-pano/agents/pano_agent.py | zhangyuejoslin/selfmonitoring-agent | 9401ceb492f6c4576d62404b62e815d184136b24 | [
"MIT"
] | null | null | null | import json
import random
import numpy as np
import copy
import math
import os
import torch
import torch.nn as nn
import torch.distributions as D
import torch.nn.functional as F
from utils import padding_idx, pad_list_tensors
class PanoBaseAgent(object):
""" Base class for an R2R agent with panoramic view and ac... | 50.909877 | 182 | 0.599268 | 10,808 | 82,474 | 4.255736 | 0.050426 | 0.017741 | 0.014088 | 0.012066 | 0.801548 | 0.783873 | 0.767502 | 0.747 | 0.733803 | 0.721258 | 0 | 0.009358 | 0.300301 | 82,474 | 1,620 | 183 | 50.909877 | 0.787703 | 0.118656 | 0 | 0.650794 | 0 | 0 | 0.035705 | 0.00207 | 0 | 0 | 0 | 0 | 0.003735 | 1 | 0.02521 | false | 0 | 0.010271 | 0 | 0.062558 | 0.000934 | 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 |
0f0ac1238f6a9d5a9dcc898f8a9f510aea7bb3d5 | 3,318 | py | Python | DynamicKey/AgoraDynamicKey/python3/test/RtcTokenBuilder2Test.py | yokohermanto/Tools | 1cc6a9b302027673195754509e6a1fd0fb53217e | [
"MIT"
] | null | null | null | DynamicKey/AgoraDynamicKey/python3/test/RtcTokenBuilder2Test.py | yokohermanto/Tools | 1cc6a9b302027673195754509e6a1fd0fb53217e | [
"MIT"
] | null | null | null | DynamicKey/AgoraDynamicKey/python3/test/RtcTokenBuilder2Test.py | yokohermanto/Tools | 1cc6a9b302027673195754509e6a1fd0fb53217e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__copyright__ = "Copyright (c) 2014-2017 Agora.io, Inc."
import os
import sys
import unittest
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from src.AccessToken2 import *
from src.RtcTokenBuilder2 import *
class RtcTokenBuilder2Test(unittest.TestCase):
... | 51.84375 | 117 | 0.746534 | 339 | 3,318 | 6.79056 | 0.221239 | 0.090356 | 0.091225 | 0.130321 | 0.774978 | 0.774978 | 0.741964 | 0.741964 | 0.741964 | 0.741964 | 0 | 0.034148 | 0.161543 | 3,318 | 63 | 118 | 52.666667 | 0.793314 | 0.006329 | 0 | 0.510638 | 0 | 0 | 0.060109 | 0.038859 | 0 | 0 | 0 | 0 | 0.425532 | 1 | 0.06383 | false | 0 | 0.106383 | 0 | 0.191489 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0f0c60436736dd2e237a09fb89f4e9699f382968 | 16,045 | py | Python | pybind/slxos/v16r_1_00b/routing_system/ipv6/router/ospf/redistribute/redistribute_static/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/routing_system/ipv6/router/ospf/redistribute/redistribute_static/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/routing_system/ipv6/router/ospf/redistribute/redistribute_static/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 77.512077 | 697 | 0.725335 | 2,150 | 16,045 | 5.169767 | 0.099535 | 0.093927 | 0.103644 | 0.060459 | 0.82969 | 0.781646 | 0.760954 | 0.735403 | 0.724876 | 0.703284 | 0 | 0.013957 | 0.138174 | 16,045 | 206 | 698 | 77.88835 | 0.789847 | 0.201122 | 0 | 0.390625 | 0 | 0.046875 | 0.362543 | 0.174068 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.289063 | 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 |
7e66c4175eafec3ba7135888e11b24d9f65e5d91 | 99 | py | Python | encoding/functions/__init__.py | Shun14/PyTorch-Encoding | 4c77910282481b6ec40c3c5e5b5d2ef83a55c0a4 | [
"MIT"
] | null | null | null | encoding/functions/__init__.py | Shun14/PyTorch-Encoding | 4c77910282481b6ec40c3c5e5b5d2ef83a55c0a4 | [
"MIT"
] | null | null | null | encoding/functions/__init__.py | Shun14/PyTorch-Encoding | 4c77910282481b6ec40c3c5e5b5d2ef83a55c0a4 | [
"MIT"
] | null | null | null | """Encoding Autograd Fuctions"""
from .syncbn import *
from .dist_syncbn import dist_syncbatchnorm
| 24.75 | 43 | 0.79798 | 12 | 99 | 6.416667 | 0.666667 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 44 | 33 | 0.875 | 0.262626 | 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 |
7e9aa46fd7477875d22fa74f86ea950e9a440bc7 | 2,720 | py | Python | Zhangjiashan_eemd/projects/generate_samples.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | 2 | 2020-09-24T13:31:06.000Z | 2020-11-11T09:08:16.000Z | Zhangjiashan_eemd/projects/generate_samples.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | null | null | null | Zhangjiashan_eemd/projects/generate_samples.py | UnIcOrn7618/MonthlyRunoffForecastByAutoReg | 2d66c628141f001e4ffb3dc3b7520a0f0f0ff239 | [
"MIT"
] | 1 | 2020-12-16T07:29:32.000Z | 2020-12-16T07:29:32.000Z | import sys
from variables import variables
import os
root_path = os.path.dirname(os.path.abspath("__file__"))
sys.path.append(root_path)
from tools.samples_generator import gen_one_step_forecast_samples_triandev_test
from tools.samples_generator import gen_multi_step_forecast_samples
from tools.samples_generator import... | 28.333333 | 79 | 0.601838 | 329 | 2,720 | 4.683891 | 0.206687 | 0.067489 | 0.110967 | 0.081765 | 0.835821 | 0.804023 | 0.78196 | 0.733939 | 0.733939 | 0.733939 | 0 | 0.059339 | 0.244118 | 2,720 | 95 | 80 | 28.631579 | 0.690175 | 0 | 0 | 0.689655 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 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 |
0e1c5125692fa37dedd9f302eb5ffc060fb294ad | 104 | py | Python | pytest-qt-app/tests/integration/test_q_application.py | RaiVaibhav/pytest-plugins | b21eef7fb2d876b3910f4a476875f9f157275b49 | [
"MIT"
] | 282 | 2015-12-01T12:40:31.000Z | 2019-10-30T23:30:54.000Z | pytest-qt-app/tests/integration/test_q_application.py | RaiVaibhav/pytest-plugins | b21eef7fb2d876b3910f4a476875f9f157275b49 | [
"MIT"
] | 126 | 2015-09-02T14:31:02.000Z | 2019-10-21T20:32:18.000Z | pytest-qt-app/tests/integration/test_q_application.py | RaiVaibhav/pytest-plugins | b21eef7fb2d876b3910f4a476875f9f157275b49 | [
"MIT"
] | 55 | 2015-09-21T09:11:05.000Z | 2019-10-27T00:44:32.000Z |
def test_q_application(q_application):
from PyQt4 import QtGui
assert QtGui.QX11Info.display()
| 20.8 | 38 | 0.769231 | 14 | 104 | 5.5 | 0.785714 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.163462 | 104 | 4 | 39 | 26 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d3dc6d91e38b4da40bb99dcb1b27a562c6674da | 29 | py | Python | nhl/raw/__init__.py | devinsba/py-nhl | d6f560d9a43cd2b7183ba465e03ee7871365814c | [
"Apache-2.0"
] | null | null | null | nhl/raw/__init__.py | devinsba/py-nhl | d6f560d9a43cd2b7183ba465e03ee7871365814c | [
"Apache-2.0"
] | null | null | null | nhl/raw/__init__.py | devinsba/py-nhl | d6f560d9a43cd2b7183ba465e03ee7871365814c | [
"Apache-2.0"
] | null | null | null | from . import stats, suggest
| 14.5 | 28 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 1 | 29 | 29 | 0.916667 | 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 |
adf291c14cc8ebe3632f11f7978df2e9422c0c48 | 122 | py | Python | psltdsim/data/getTimestr.py | thadhaines/PSLTDSim | 1bc598f3733c1369c164f54249e5f7757e6bf466 | [
"MIT"
] | null | null | null | psltdsim/data/getTimestr.py | thadhaines/PSLTDSim | 1bc598f3733c1369c164f54249e5f7757e6bf466 | [
"MIT"
] | null | null | null | psltdsim/data/getTimestr.py | thadhaines/PSLTDSim | 1bc598f3733c1369c164f54249e5f7757e6bf466 | [
"MIT"
] | null | null | null | import datetime
def getTimeStr():
"""Return Time String"""
return datetime.datetime.now().strftime('%H:%M:%S.%f') | 24.4 | 58 | 0.655738 | 16 | 122 | 5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 5 | 58 | 24.4 | 0.761905 | 0.147541 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 |
bc0f2381d7a4d9f2770bee6f231243d230853014 | 123 | py | Python | gliomagrowth/data/toy/__init__.py | MIC-DKFZ/image-time-series | 0480d5cb6936c7d9e839b6741f18c10893d78d8a | [
"MIT"
] | 1 | 2021-11-29T17:46:58.000Z | 2021-11-29T17:46:58.000Z | gliomagrowth/data/toy/__init__.py | MIC-DKFZ/image-time-series | 0480d5cb6936c7d9e839b6741f18c10893d78d8a | [
"MIT"
] | null | null | null | gliomagrowth/data/toy/__init__.py | MIC-DKFZ/image-time-series | 0480d5cb6936c7d9e839b6741f18c10893d78d8a | [
"MIT"
] | null | null | null | from . import trajectory, shape, trajectory_generator
from .trajectory_generator import RandomTrajectoryModule as ToyModule | 61.5 | 69 | 0.878049 | 13 | 123 | 8.153846 | 0.615385 | 0.358491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089431 | 123 | 2 | 69 | 61.5 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
bc1450a9e5703df33e878c29b4ebff70e3eceffb | 120 | py | Python | congregation/__init__.py | multiparty/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 3 | 2021-08-09T02:09:15.000Z | 2021-12-17T02:03:46.000Z | congregation/__init__.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | null | null | null | congregation/__init__.py | CCD-HRI/congregation | a552856b03a64a4295792184107c4e529ca3f4ae | [
"MIT"
] | 1 | 2021-02-19T12:40:57.000Z | 2021-02-19T12:40:57.000Z | from congregation.lang import *
from congregation.assemble import Assemble
from congregation.utils import create_column
| 30 | 44 | 0.866667 | 15 | 120 | 6.866667 | 0.533333 | 0.466019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 3 | 45 | 40 | 0.953704 | 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 |
bc29f839de9cc31017577e7db5e05589451d28a9 | 46 | py | Python | tinytl/tinytl/model/__init__.py | Lyken17/tinyml | 0c00e1cd7e2c05c6308c037b63d3d89e5d2a1182 | [
"MIT"
] | 306 | 2021-01-15T07:49:40.000Z | 2022-03-31T03:13:20.000Z | tinytl/tinytl/model/__init__.py | scott-mao/tinyml | 5dcd5b1ebc37e37376414832810a9733b7a3ee2b | [
"MIT"
] | 9 | 2021-02-04T00:58:33.000Z | 2022-03-29T06:19:55.000Z | tinytl/tinytl/model/__init__.py | scott-mao/tinyml | 5dcd5b1ebc37e37376414832810a9733b7a3ee2b | [
"MIT"
] | 65 | 2021-01-18T06:06:09.000Z | 2022-03-25T01:42:15.000Z | from .modules import *
from .network import *
| 15.333333 | 22 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 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 |
cb67c5d958fb5f0a2d257d34f0543e67a2def8f5 | 30 | py | Python | testsuite/modulegraph-dir/package/aliasing_relative.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 9 | 2020-03-22T14:48:01.000Z | 2021-05-30T12:18:12.000Z | testsuite/modulegraph-dir/package/aliasing_relative.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 15 | 2020-01-06T10:02:32.000Z | 2021-05-28T12:22:44.000Z | testsuite/modulegraph-dir/package/aliasing_relative.py | ronaldoussoren/modulegraph2 | b6ab1766b0098651b51083235ff8a18a5639128b | [
"MIT"
] | 4 | 2020-05-10T18:51:41.000Z | 2021-04-07T14:03:12.000Z | from . import submod as other
| 15 | 29 | 0.766667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 1 | 30 | 30 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb7da13b671d401cc410dd1ded6734ff621d3b3e | 198 | py | Python | tests/CallablePatchTestModule.py | nint8835/CallableModules | 674e2d832ac2bd20a5ef839148b551d5ef85bf82 | [
"MIT"
] | 1 | 2018-03-29T14:30:11.000Z | 2018-03-29T14:30:11.000Z | tests/CallablePatchTestModule.py | nint8835/CallableModules | 674e2d832ac2bd20a5ef839148b551d5ef85bf82 | [
"MIT"
] | 1 | 2018-02-01T00:08:32.000Z | 2018-03-28T20:34:42.000Z | tests/CallablePatchTestModule.py | nint8835/CallableModules | 674e2d832ac2bd20a5ef839148b551d5ef85bf82 | [
"MIT"
] | null | null | null | import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..")))
import CallableModules
def __call__(*args, **kwargs):
return True
CallableModules() | 18 | 85 | 0.712121 | 26 | 198 | 5.115385 | 0.576923 | 0.135338 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 198 | 11 | 86 | 18 | 0.755682 | 0 | 0 | 0 | 0 | 0 | 0.020101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cba18f68adde02bcc74b6bb0679d4e62f239c060 | 85 | py | Python | tests/resources/identity_model/src/func_main.py | BulbaWarrior/hydro-serving-sdk | 154ab37034c22c13ef6bded56039f4f23404723d | [
"Apache-2.0"
] | 5 | 2020-02-20T08:53:43.000Z | 2021-02-19T12:00:23.000Z | tests/resources/identity_model/src/func_main.py | Hydrospheredata/hydro-serving-sdk | 94bc4d8335ffe0bf4c90af336656d3e5473952c4 | [
"Apache-2.0"
] | 43 | 2019-09-30T15:23:48.000Z | 2021-05-13T08:06:45.000Z | tests/resources/identity_model/src/func_main.py | BulbaWarrior/hydro-serving-sdk | 154ab37034c22c13ef6bded56039f4f23404723d | [
"Apache-2.0"
] | 6 | 2019-08-27T17:15:45.000Z | 2021-08-10T13:09:21.000Z | import hydro_serving_grpc as hs_grpc
def infer(input):
return {"output": input} | 17 | 36 | 0.741176 | 13 | 85 | 4.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 5 | 37 | 17 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 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 |
cba7ccbc6c67fe3a5088326810e21572e8353964 | 1,331 | py | Python | tests/test_components/test_transpose.py | piveloper/pyopencl-extension | 0f9fede4cfbb1c3f6d99c5e0aa94feddb23a5d4c | [
"MIT"
] | null | null | null | tests/test_components/test_transpose.py | piveloper/pyopencl-extension | 0f9fede4cfbb1c3f6d99c5e0aa94feddb23a5d4c | [
"MIT"
] | null | null | null | tests/test_components/test_transpose.py | piveloper/pyopencl-extension | 0f9fede4cfbb1c3f6d99c5e0aa94feddb23a5d4c | [
"MIT"
] | null | null | null | import numpy as np
from pyopencl_extension import Transpose, to_device, Types
def test_transpose_single_dimension():
ary_np = np.array([[1, 2, 3]], dtype=Types.int).T
in_cl = to_device(ary_np)
transpose_on_input_buffer = Transpose(in_cl, (1, 0))
out_cl = transpose_on_input_buffer()
assert np.all(... | 35.026316 | 73 | 0.639369 | 238 | 1,331 | 3.281513 | 0.168067 | 0.134443 | 0.06274 | 0.080666 | 0.805378 | 0.805378 | 0.805378 | 0.752881 | 0.752881 | 0.708067 | 0 | 0.043358 | 0.185575 | 1,331 | 38 | 74 | 35.026316 | 0.677122 | 0.066867 | 0 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.137931 | false | 0 | 0.068966 | 0 | 0.206897 | 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 |
6984b5b521499c932dd1d192e63b749cf5675235 | 25 | py | Python | improutils/filtration/__init__.py | ImprolabFIT/improutils | 84666f88db594dd5d24cf946c635df37643ed309 | [
"MIT"
] | null | null | null | improutils/filtration/__init__.py | ImprolabFIT/improutils | 84666f88db594dd5d24cf946c635df37643ed309 | [
"MIT"
] | null | null | null | improutils/filtration/__init__.py | ImprolabFIT/improutils | 84666f88db594dd5d24cf946c635df37643ed309 | [
"MIT"
] | null | null | null | from .filtration import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6987ba24ab308efc03fd61ce9d1696b6827862f9 | 107 | py | Python | frappe/query_builder/__init__.py | jtarun4625/frappe | c322f4d0654080853d0882a68900620e1becb7df | [
"MIT"
] | 1 | 2021-09-27T13:31:44.000Z | 2021-09-27T13:31:44.000Z | frappe/query_builder/__init__.py | jtarun4625/frappe | c322f4d0654080853d0882a68900620e1becb7df | [
"MIT"
] | null | null | null | frappe/query_builder/__init__.py | jtarun4625/frappe | c322f4d0654080853d0882a68900620e1becb7df | [
"MIT"
] | 1 | 2021-09-27T13:31:48.000Z | 2021-09-27T13:31:48.000Z | from pypika import *
from frappe.query_builder.utils import Column, get_query_builder, patch_query_execute
| 35.666667 | 85 | 0.859813 | 16 | 107 | 5.4375 | 0.6875 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 2 | 86 | 53.5 | 0.896907 | 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 |
69a3cec1c8df3e092f0feebba975e320020486f4 | 5,064 | py | Python | tests/st/ops/gpu/test_gather_op.py | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/ops/gpu/test_gather_op.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/ops/gpu/test_gather_op.py | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2019-2020 Huawei Technologies Co., Ltd
#
# 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 agre... | 36.695652 | 78 | 0.648104 | 796 | 5,064 | 4.022613 | 0.163317 | 0.052467 | 0.064959 | 0.054966 | 0.765771 | 0.765771 | 0.765771 | 0.765771 | 0.765771 | 0.765771 | 0 | 0.099785 | 0.174763 | 5,064 | 137 | 79 | 36.963504 | 0.666427 | 0.126975 | 0 | 0.8 | 0 | 0 | 0.005447 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 1 | 0.090909 | false | 0 | 0.063636 | 0.009091 | 0.172727 | 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 |
69b97808db7fbc2b660b52af7db7e8f20de22f66 | 1,722 | py | Python | indico/modules/events/papers/models/user_contributions.py | UNOG-Indico/UNOG-Indico-v2 | 4fa4393cc1f3b453a69f5e0ea3b52c18337831a5 | [
"MIT"
] | null | null | null | indico/modules/events/papers/models/user_contributions.py | UNOG-Indico/UNOG-Indico-v2 | 4fa4393cc1f3b453a69f5e0ea3b52c18337831a5 | [
"MIT"
] | null | null | null | indico/modules/events/papers/models/user_contributions.py | UNOG-Indico/UNOG-Indico-v2 | 4fa4393cc1f3b453a69f5e0ea3b52c18337831a5 | [
"MIT"
] | null | null | null | # This file is part of Indico.
# Copyright (C) 2002 - 2021 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.
from __future__ import unicode_literals
from indico.core.db import db
_paper_judges = db.Table(
'ju... | 21.525 | 57 | 0.602787 | 193 | 1,722 | 5.207254 | 0.316062 | 0.047761 | 0.065672 | 0.077612 | 0.708458 | 0.708458 | 0.708458 | 0.708458 | 0.708458 | 0.708458 | 0 | 0.006547 | 0.29036 | 1,722 | 79 | 58 | 21.797468 | 0.815876 | 0.116144 | 0 | 0.830769 | 0 | 0 | 0.184158 | 0.087129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.030769 | 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 |
69edfd6242de3c6f2a1f4da3837ccb37abed4685 | 382 | py | Python | ReadLine-tst/.py | md-akhi/Contest-ProblemSet | 33770641ac3bae4a1d59dd7a1fcbebd56fafb61d | [
"MIT"
] | null | null | null | ReadLine-tst/.py | md-akhi/Contest-ProblemSet | 33770641ac3bae4a1d59dd7a1fcbebd56fafb61d | [
"MIT"
] | null | null | null | ReadLine-tst/.py | md-akhi/Contest-ProblemSet | 33770641ac3bae4a1d59dd7a1fcbebd56fafb61d | [
"MIT"
] | null | null | null | # Python2
# 1
s = raw_input()
a, b = s.split(" ")
print int(a) + int(b)
# 2
ans = 0
n = int(raw_input())
str = raw_input().split(" ")
for i in range(n) :
ans = ans + int(str[i])
print ans
# Python3
# 1
s = input()
a, b = s.split(" ")
print(int(a) + int(b))
# 2
ans = 0
n = int(input())
str = input().split("... | 11.575758 | 28 | 0.528796 | 71 | 382 | 2.802817 | 0.28169 | 0.120603 | 0.070352 | 0.080402 | 0.78392 | 0.78392 | 0.78392 | 0.78392 | 0.78392 | 0.78392 | 0 | 0.027778 | 0.246073 | 382 | 33 | 29 | 11.575758 | 0.663194 | 0.060209 | 0 | 0.444444 | 0 | 0 | 0.011331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.222222 | 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 |
385b47bb4a14f077d7b423618015f42a9758f423 | 2,969 | py | Python | tests/test_datafiles_paths.py | timkpaine/jupyter-packaging | 8746af42fb0bbda11839cf5ea80b9605a15f07e6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_datafiles_paths.py | timkpaine/jupyter-packaging | 8746af42fb0bbda11839cf5ea80b9605a15f07e6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_datafiles_paths.py | timkpaine/jupyter-packaging | 8746af42fb0bbda11839cf5ea80b9605a15f07e6 | [
"BSD-3-Clause"
] | null | null | null | from jupyter_packaging.setupbase import get_data_files
def test_empty_relative_path(tmpdir):
tmpdir.mkdir("sub1").join("a.json").write("")
tmpdir.mkdir("sub2").join("b.json").write("")
spec = [("my/target", "", "**/*.json")]
res = get_data_files(spec, top=str(tmpdir))
assert sorted(res) == [
... | 32.988889 | 65 | 0.574604 | 396 | 2,969 | 4.199495 | 0.106061 | 0.101022 | 0.064943 | 0.067348 | 0.930848 | 0.930848 | 0.924835 | 0.870716 | 0.870716 | 0.870716 | 0 | 0.017073 | 0.171438 | 2,969 | 89 | 66 | 33.359551 | 0.658943 | 0 | 0 | 0.589041 | 0 | 0 | 0.230717 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 1 | 0.109589 | false | 0 | 0.013699 | 0 | 0.123288 | 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 |
3868fa1ed6393f4d3e8e294c5e7594b5a3ac9077 | 98 | py | Python | hyperion/importers/__init__.py | bluescarni/hyperion | 4a0d33fcbd3943b5bcfbd318f11e199d2498956d | [
"BSD-2-Clause"
] | null | null | null | hyperion/importers/__init__.py | bluescarni/hyperion | 4a0d33fcbd3943b5bcfbd318f11e199d2498956d | [
"BSD-2-Clause"
] | null | null | null | hyperion/importers/__init__.py | bluescarni/hyperion | 4a0d33fcbd3943b5bcfbd318f11e199d2498956d | [
"BSD-2-Clause"
] | null | null | null | from .orion import parse_orion
from ._discretize_sph import _discretize_sph_func as discretize_sph | 49 | 67 | 0.887755 | 15 | 98 | 5.333333 | 0.533333 | 0.4875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 2 | 67 | 49 | 0.898876 | 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 |
38904da37cb89a7ece3265df5b7c48875c252ef7 | 173 | py | Python | stella_nav_handler/src/stella_nav_handler/__init__.py | ymd-stella/stella_nav | b92f2dcaf52d0bb03c9ea4228124dc3444af2681 | [
"MIT"
] | null | null | null | stella_nav_handler/src/stella_nav_handler/__init__.py | ymd-stella/stella_nav | b92f2dcaf52d0bb03c9ea4228124dc3444af2681 | [
"MIT"
] | null | null | null | stella_nav_handler/src/stella_nav_handler/__init__.py | ymd-stella/stella_nav | b92f2dcaf52d0bb03c9ea4228124dc3444af2681 | [
"MIT"
] | 1 | 2022-01-14T07:55:22.000Z | 2022-01-14T07:55:22.000Z | from .plan_handler import PlanHandler
from .gridmap2d_handler import GridMap2DHandler
from .goal_handler import GoalHandler
from .common_msg_handler import CommonMsgHandler
| 34.6 | 48 | 0.884393 | 21 | 173 | 7.047619 | 0.571429 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.092486 | 173 | 4 | 49 | 43.25 | 0.929936 | 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 |
3896c5727c10d53be5bc9d64670125adc02bfe1a | 10,503 | py | Python | code/tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-serverless-spycloud-employee-ato-prevention | 087d18215eaea15c95be58cfe34ecc02381a1654 | [
"MIT"
] | 4 | 2020-08-13T19:25:58.000Z | 2022-03-02T05:29:24.000Z | code/tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-serverless-spycloud-employee-ato-prevention | 087d18215eaea15c95be58cfe34ecc02381a1654 | [
"MIT"
] | 2 | 2020-06-12T15:59:58.000Z | 2020-10-30T09:29:15.000Z | code/tests/unit/api/test_enrich.py | CiscoSecurity/tr-05-serverless-spycloud-employee-ato-prevention | 087d18215eaea15c95be58cfe34ecc02381a1654 | [
"MIT"
] | null | null | null | from unittest import mock
from .utils import headers
from pytest import fixture
from http import HTTPStatus
from requests.exceptions import SSLError
from tests.unit.mock_for_tests import (
BREACH_EMAIL_RESPONSE_MOCK,
EXPECTED_SUCCESS_RESPONSE,
EXPECTED_RESPONSE_401_ERROR,
EXPECTED_RESPONSE_403_ERROR,
... | 33.663462 | 78 | 0.69085 | 1,209 | 10,503 | 5.596361 | 0.095947 | 0.063405 | 0.109518 | 0.126811 | 0.814514 | 0.742832 | 0.721992 | 0.70337 | 0.70337 | 0.696128 | 0 | 0.017218 | 0.214796 | 10,503 | 311 | 79 | 33.771704 | 0.803201 | 0 | 0 | 0.489451 | 0 | 0 | 0.048082 | 0 | 0 | 0 | 0 | 0 | 0.156118 | 1 | 0.075949 | false | 0.008439 | 0.033755 | 0.016878 | 0.126582 | 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 |
38b5a25553c9561159b91ba1318c184f6cfdbf63 | 33,341 | py | Python | modules/android_basic_apps/usagestats_pb/protobuf/usagestatsservice_pb2.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | 56 | 2019-02-07T06:21:45.000Z | 2022-03-21T08:19:24.000Z | modules/android_basic_apps/usagestats_pb/protobuf/usagestatsservice_pb2.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | 5 | 2020-05-25T17:29:00.000Z | 2021-12-13T20:49:08.000Z | modules/android_basic_apps/usagestats_pb/protobuf/usagestatsservice_pb2.py | naaya17/carpe | fa2e3cfebe20f8839c985e5b9b78b538800172a1 | [
"Apache-2.0"
] | 31 | 2019-03-13T10:23:49.000Z | 2021-11-04T12:14:58.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: usagestatsservice.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection... | 51.058193 | 3,280 | 0.765784 | 4,189 | 33,341 | 5.816424 | 0.064932 | 0.051878 | 0.057624 | 0.066366 | 0.792284 | 0.752801 | 0.730474 | 0.717628 | 0.652699 | 0.622573 | 0 | 0.037883 | 0.117213 | 33,341 | 652 | 3,281 | 51.136503 | 0.78993 | 0.028074 | 0 | 0.678105 | 1 | 0.001634 | 0.254446 | 0.225117 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011438 | 0 | 0.011438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
38c06ddc842113ca7eb79f312ea3f6a6a5c3b223 | 103 | py | Python | venv/lib/python3.7/site-packages/zope/site/next.py | leanhvu86/matrix-server | 6e16fc53dfebaeaf222ff5a371ccffcc65de3818 | [
"Apache-2.0"
] | 3 | 2018-10-09T14:20:30.000Z | 2021-03-09T22:23:50.000Z | venv/lib/python3.7/site-packages/zope/site/next.py | leanhvu86/matrix-server | 6e16fc53dfebaeaf222ff5a371ccffcc65de3818 | [
"Apache-2.0"
] | 15 | 2015-03-20T09:14:08.000Z | 2021-03-05T16:39:27.000Z | venv/lib/python3.7/site-packages/zope/site/next.py | leanhvu86/matrix-server | 6e16fc53dfebaeaf222ff5a371ccffcc65de3818 | [
"Apache-2.0"
] | 1 | 2015-04-03T09:43:40.000Z | 2015-04-03T09:43:40.000Z | # BBB. Remove in Version 5.0
from zope.deprecation import moved
moved('zope.component', 'Version 5.0')
| 25.75 | 38 | 0.747573 | 17 | 103 | 4.529412 | 0.705882 | 0.207792 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.126214 | 103 | 3 | 39 | 34.333333 | 0.811111 | 0.252427 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
38c2f6879087eff109488a82044315ba87202430 | 33 | py | Python | src/script.py | yayoifw/mynewrepo | f103d365983d100f997e961770a5408b9dae56f6 | [
"MIT"
] | null | null | null | src/script.py | yayoifw/mynewrepo | f103d365983d100f997e961770a5408b9dae56f6 | [
"MIT"
] | null | null | null | src/script.py | yayoifw/mynewrepo | f103d365983d100f997e961770a5408b9dae56f6 | [
"MIT"
] | null | null | null | import random
print("Hi There")
| 8.25 | 17 | 0.727273 | 5 | 33 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 3 | 18 | 11 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 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 |
2a25e2866fcd69807fbbf9b239b1b3de3a14199f | 375 | py | Python | dnd/models/classes.py | John-Nagle-IV/Python-DND-5e-Scraper | d4e7a550bd2dcc2e92013c0942119417cd479eaa | [
"MIT"
] | null | null | null | dnd/models/classes.py | John-Nagle-IV/Python-DND-5e-Scraper | d4e7a550bd2dcc2e92013c0942119417cd479eaa | [
"MIT"
] | null | null | null | dnd/models/classes.py | John-Nagle-IV/Python-DND-5e-Scraper | d4e7a550bd2dcc2e92013c0942119417cd479eaa | [
"MIT"
] | null | null | null | class GameClass(object):
def __init__(self):
self._class_name = ''
self._class_level = 1
self._class_abilities = []
@property
def class_name(self):
return self._class_name
@property
def class_level(self):
return self._class_level
@property
def class... | 20.833333 | 36 | 0.632 | 43 | 375 | 5.069767 | 0.27907 | 0.247706 | 0.220183 | 0.261468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.285333 | 375 | 17 | 37 | 22.058824 | 0.809701 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.214286 | 0.571429 | 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 |
2a4781c0ce881b0da629f82981573761c8688c48 | 112 | py | Python | dglearn/__init__.py | syanga/dcglearn | c3faaed7e04431c86649512813c17968de6803eb | [
"MIT"
] | 5 | 2020-07-19T00:11:20.000Z | 2021-11-23T16:28:49.000Z | dglearn/__init__.py | syanga/dcglearn | c3faaed7e04431c86649512813c17968de6803eb | [
"MIT"
] | null | null | null | dglearn/__init__.py | syanga/dcglearn | c3faaed7e04431c86649512813c17968de6803eb | [
"MIT"
] | null | null | null | from .dg import *
from .plotter import *
from .utils import *
from .learning import *
from .evaluation import *
| 18.666667 | 25 | 0.732143 | 15 | 112 | 5.466667 | 0.466667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 5 | 26 | 22.4 | 0.891304 | 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 |
2a4c72f248782d78d99881f50aa60db0af785b17 | 271 | py | Python | src/ui_exception.py | LYshiying/ui_bot | be583052073a7384f0ce3a1a3d7d834bf447094b | [
"MIT"
] | 26 | 2021-06-16T14:16:29.000Z | 2022-03-21T06:42:16.000Z | src/ui_exception.py | lunhui11/ui_bot | be583052073a7384f0ce3a1a3d7d834bf447094b | [
"MIT"
] | 4 | 2021-11-07T07:20:20.000Z | 2022-03-03T06:17:54.000Z | src/ui_exception.py | lunhui11/ui_bot | be583052073a7384f0ce3a1a3d7d834bf447094b | [
"MIT"
] | 3 | 2021-11-21T07:47:55.000Z | 2022-03-18T08:41:30.000Z | from loguru import logger
class Plugin_Change_Error(Exception):
pass
class Pixiv_api_Connect_Error(Exception):
pass
class Pixiv_not_found_Error(Exception):
pass
class baidu_ocr_get_Error(Exception):
pass
class Shut_Up_Error(Exception):
pass
| 12.318182 | 41 | 0.763838 | 37 | 271 | 5.243243 | 0.540541 | 0.360825 | 0.463918 | 0.474227 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180812 | 271 | 21 | 42 | 12.904762 | 0.873874 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.454545 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
aa800b2233d45e8aa09689db6109ed1442e7bfac | 300 | py | Python | app/web/main.py | abcd567/fisher | 179a03bd43d5556357a6951286d644e027e22fd5 | [
"MIT"
] | null | null | null | app/web/main.py | abcd567/fisher | 179a03bd43d5556357a6951286d644e027e22fd5 | [
"MIT"
] | null | null | null | app/web/main.py | abcd567/fisher | 179a03bd43d5556357a6951286d644e027e22fd5 | [
"MIT"
] | null | null | null |
from . import web
# def __current_user_status_change():
# r = request
@web.route('/')
# @cache.cached(timeout=100, unless=__current_user_status_change)
# @cache.cached(timeout=100)
def index():
return '首页'
@web.route('/personal')
# @login_required
def personal_center():
pass
| 12 | 65 | 0.68 | 38 | 300 | 5.052632 | 0.631579 | 0.114583 | 0.177083 | 0.239583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.17 | 300 | 24 | 66 | 12.5 | 0.746988 | 0.526667 | 0 | 0 | 0 | 0 | 0.090226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.142857 | 0.142857 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
aac1f68e7a065dc791cb9736c9fa063b56296f8a | 353 | py | Python | common/math/digits_test.py | bkaid/project-euler | d3d91086ff109e2737237a8ecf32cfbef58949ca | [
"MIT"
] | null | null | null | common/math/digits_test.py | bkaid/project-euler | d3d91086ff109e2737237a8ecf32cfbef58949ca | [
"MIT"
] | null | null | null | common/math/digits_test.py | bkaid/project-euler | d3d91086ff109e2737237a8ecf32cfbef58949ca | [
"MIT"
] | null | null | null | from digits import to_digits, same_digits
def test_to_digits():
assert to_digits(1234) == [1, 2, 3, 4]
assert to_digits(4321) == [4, 3, 2, 1]
assert to_digits(1) == [1]
assert to_digits(36028797018963968) == [3, 6, 0, 2, 8, 7, 9, 7, 0, 1, 8, 9, 6, 3, 9, 6, 8]
def test_same_digits():
assert same_di... | 32.090909 | 94 | 0.592068 | 68 | 353 | 2.911765 | 0.294118 | 0.242424 | 0.282828 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 0.220963 | 353 | 10 | 95 | 35.3 | 0.501818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.625 | 1 | 0.25 | true | 0 | 0.125 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
aad931d4f5bde162610d8feb1a573bf82432a5f3 | 29 | py | Python | bupt_ncov_report/program_utils/__init__.py | liuwilliamBUPT/bupt-ncov-report | 6b8f025676a4b39890f81171f457505bcfcf750b | [
"MIT"
] | 8 | 2020-09-01T12:45:33.000Z | 2020-11-02T01:37:01.000Z | bupt_ncov_report/program_utils/__init__.py | liuwilliamBUPT/bupt-ncov-report | 6b8f025676a4b39890f81171f457505bcfcf750b | [
"MIT"
] | null | null | null | bupt_ncov_report/program_utils/__init__.py | liuwilliamBUPT/bupt-ncov-report | 6b8f025676a4b39890f81171f457505bcfcf750b | [
"MIT"
] | 2 | 2020-09-03T02:02:42.000Z | 2021-12-11T09:11:21.000Z | from .program_utils import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
2ace2fe54dcd4f4316f4ce12992dfd1a09d9530c | 101 | py | Python | easter_egg.py | fulcrum101/klases_avize | b7e605bdc721705eda8752614d33d81d73bfbe1d | [
"MIT"
] | null | null | null | easter_egg.py | fulcrum101/klases_avize | b7e605bdc721705eda8752614d33d81d73bfbe1d | [
"MIT"
] | null | null | null | easter_egg.py | fulcrum101/klases_avize | b7e605bdc721705eda8752614d33d81d73bfbe1d | [
"MIT"
] | null | null | null | import streamlit as st
def rickroll():
st.markdown('[click here](https://youtu.be/dQw4w9WgXcQ)') | 25.25 | 61 | 0.712871 | 14 | 101 | 5.142857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.118812 | 101 | 4 | 61 | 25.25 | 0.786517 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 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 |
2adced0b5f9bf03dcbf40ece07cd0189a9546908 | 59 | py | Python | boa3_test/test_sc/built_in_methods_test/ScriptHashMismatchedType.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/built_in_methods_test/ScriptHashMismatchedType.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/built_in_methods_test/ScriptHashMismatchedType.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | def Main() -> bytes:
return [1, 2, 3].to_script_hash()
| 19.666667 | 37 | 0.59322 | 10 | 59 | 3.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.20339 | 59 | 2 | 38 | 29.5 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
2d4cb9a74bc0f732f21447497f808afa209906b9 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/matrixlib/tests/test_regression.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/matrixlib/tests/test_regression.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/matrixlib/tests/test_regression.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f2/c1/c3/b4ef198bca776b57902845b1b4298aad7987a03deac65228920d802005 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2da6a7ad4dea99afc053d3fffe7058f28ede2fae | 85 | py | Python | devbio_napari/_tests/test_nothing.py | lazigu/devbio-napari | 8a68f58a99cbcde50a9a0d0d14b4abddcbf9921e | [
"BSD-3-Clause"
] | null | null | null | devbio_napari/_tests/test_nothing.py | lazigu/devbio-napari | 8a68f58a99cbcde50a9a0d0d14b4abddcbf9921e | [
"BSD-3-Clause"
] | null | null | null | devbio_napari/_tests/test_nothing.py | lazigu/devbio-napari | 8a68f58a99cbcde50a9a0d0d14b4abddcbf9921e | [
"BSD-3-Clause"
] | null | null | null | def test_nothing():
from devbio_napari import __version__
print(__version__)
| 21.25 | 41 | 0.764706 | 10 | 85 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 3 | 42 | 28.333333 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2de8a0e88f4b0ac8e7d165e3808bd58e1d188347 | 44 | py | Python | python/test_agent/reporters/__init__.py | RickyChien/js-test-agent | 45d78a8231cad1a261d2401435d5b1e1eeff8083 | [
"Apache-2.0"
] | null | null | null | python/test_agent/reporters/__init__.py | RickyChien/js-test-agent | 45d78a8231cad1a261d2401435d5b1e1eeff8083 | [
"Apache-2.0"
] | null | null | null | python/test_agent/reporters/__init__.py | RickyChien/js-test-agent | 45d78a8231cad1a261d2401435d5b1e1eeff8083 | [
"Apache-2.0"
] | null | null | null | from base import Base
from spec import Spec
| 14.666667 | 21 | 0.818182 | 8 | 44 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 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 |
930525c78e07a007f4e6c2b388996e9c893b8b5d | 264 | py | Python | api/definitions/user.py | Sergey19940808/fast_user | 41f6b113aff7a52bf016a427890ad4e3c026bc14 | [
"MIT"
] | null | null | null | api/definitions/user.py | Sergey19940808/fast_user | 41f6b113aff7a52bf016a427890ad4e3c026bc14 | [
"MIT"
] | null | null | null | api/definitions/user.py | Sergey19940808/fast_user | 41f6b113aff7a52bf016a427890ad4e3c026bc14 | [
"MIT"
] | null | null | null | from sanic_openapi import doc
class UserDefinition:
name: doc.String = doc.String(description="Name of user models")
email: doc.String = doc.String(description="Email of user models")
phone: doc.String = doc.String(description="Phone of user models") | 37.714286 | 70 | 0.742424 | 37 | 264 | 5.27027 | 0.405405 | 0.276923 | 0.184615 | 0.276923 | 0.446154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 264 | 7 | 71 | 37.714286 | 0.870536 | 0 | 0 | 0 | 0 | 0 | 0.222642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
93103f1aa276bf17f4e9abe8b8cb2e80da786386 | 15,828 | py | Python | tests/test_script.py | Maarten0110/snakemake | ccddf98521774bb7a6662c3a0b0b8dcf6e8a31de | [
"MIT"
] | 1,326 | 2019-10-04T15:11:20.000Z | 2022-03-31T18:39:40.000Z | tests/test_script.py | Maarten0110/snakemake | ccddf98521774bb7a6662c3a0b0b8dcf6e8a31de | [
"MIT"
] | 1,496 | 2019-10-04T15:15:12.000Z | 2022-03-31T23:14:33.000Z | tests/test_script.py | Maarten0110/snakemake | ccddf98521774bb7a6662c3a0b0b8dcf6e8a31de | [
"MIT"
] | 375 | 2019-10-08T21:28:51.000Z | 2022-03-28T18:44:36.000Z | from textwrap import dedent
from snakemake.script import RustScript
class TestRustScriptExtractManifest:
def test_single_line_manifest_with_shebang_and_second_manifest(self):
source = dedent(
"""#!/usr/bin/env rust-script
// cargo-deps: time="0.1.25", serde="*"
// You can also leave off the v... | 28.314848 | 88 | 0.618335 | 2,096 | 15,828 | 4.555344 | 0.055821 | 0.075408 | 0.025765 | 0.034353 | 0.955698 | 0.954231 | 0.948995 | 0.945015 | 0.941349 | 0.941349 | 0 | 0.023434 | 0.226245 | 15,828 | 558 | 89 | 28.365591 | 0.756185 | 0.004423 | 0 | 0.630435 | 0 | 0 | 0.035082 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.108696 | false | 0 | 0.014493 | 0 | 0.130435 | 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 |
936d416fc5d1af188b772901191acff9ed239d0d | 107 | py | Python | novelsave/client/bots/discord/session/session_helper.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | null | null | null | novelsave/client/bots/discord/session/session_helper.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | null | null | null | novelsave/client/bots/discord/session/session_helper.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | null | null | null | from nextcord import Interaction
def session_key(intr: Interaction) -> str:
return str(intr.user.id)
| 17.833333 | 42 | 0.747664 | 15 | 107 | 5.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 107 | 5 | 43 | 21.4 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
93825b62f4fe04c0c8abade82c602c6cf2927143 | 10,860 | py | Python | code/models/vggskip.py | ArvindSubramaniam/Pruning-Networks-using-Neuron2Neuron-Skip-Connections | bbe402bbf4c5afb4ae712354e8fca5ce320501b8 | [
"Apache-2.0"
] | 1 | 2021-11-16T03:36:51.000Z | 2021-11-16T03:36:51.000Z | code/models/vggskip.py | ArvindSubramaniam/Pruning-Networks-using-Neuron2Neuron-Skip-Connections | bbe402bbf4c5afb4ae712354e8fca5ce320501b8 | [
"Apache-2.0"
] | null | null | null | code/models/vggskip.py | ArvindSubramaniam/Pruning-Networks-using-Neuron2Neuron-Skip-Connections | bbe402bbf4c5afb4ae712354e8fca5ce320501b8 | [
"Apache-2.0"
] | 3 | 2020-12-29T01:52:01.000Z | 2021-11-16T03:36:52.000Z | import math
import torch
import torch.nn as nn
import torch.nn.init as init
from models.layers.expandergraphlayer import ExpanderConv2d, ExpanderLinear
def conv3x3(inplanes,outplanes,sparsity):
return ExpanderConv2d(inplanes,outplanes,expandSize = int(inplanes*sparsity/100),kernel_size=3, padding=1)
class vggskip1... | 43.095238 | 132 | 0.601381 | 1,591 | 10,860 | 4.067882 | 0.07731 | 0.103832 | 0.148331 | 0.07911 | 0.850278 | 0.832664 | 0.798208 | 0.7483 | 0.734085 | 0.730068 | 0 | 0.117605 | 0.232689 | 10,860 | 251 | 133 | 43.266932 | 0.659066 | 0 | 0 | 0.661765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0 | 0.02451 | 0.004902 | 0.112745 | 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 |
fa92b078b450d36568486b00712785cc7d409243 | 18,169 | py | Python | bot.py | SofT1ch/MeteoControl | cc4c1ad64893dbc91ceecf84b36f47e8a34d8268 | [
"Apache-2.0"
] | null | null | null | bot.py | SofT1ch/MeteoControl | cc4c1ad64893dbc91ceecf84b36f47e8a34d8268 | [
"Apache-2.0"
] | null | null | null | bot.py | SofT1ch/MeteoControl | cc4c1ad64893dbc91ceecf84b36f47e8a34d8268 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from vk_api.bot_longpoll import VkBotLongPoll, VkBotEventType
import vk_api
import random
import time
import requests
import datetime
from vk_api import VkUpload
from bs4 import BeautifulSoup
from t import token, group
from check import check
from weather import *
vk = vk_api.VkApi(token=token(... | 96.643617 | 794 | 0.593869 | 2,073 | 18,169 | 5.09069 | 0.116739 | 0.116744 | 0.048991 | 0.075713 | 0.861461 | 0.849711 | 0.845731 | 0.845163 | 0.845163 | 0.845163 | 0 | 0.069482 | 0.25461 | 18,169 | 187 | 795 | 97.160428 | 0.708927 | 0.008421 | 0 | 0.579545 | 0 | 0.034091 | 0.285897 | 0.002998 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011364 | false | 0 | 0.0625 | 0 | 0.079545 | 0.005682 | 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 |
fafd41e0441da5e05eb44419d9fee8a3e3b68fdf | 331 | py | Python | flaskps/helpers/auth.py | ramirezlp/proyecto2019 | 99a550d59db766a82be723b3fc308358c93da793 | [
"bzip2-1.0.6"
] | null | null | null | flaskps/helpers/auth.py | ramirezlp/proyecto2019 | 99a550d59db766a82be723b3fc308358c93da793 | [
"bzip2-1.0.6"
] | null | null | null | flaskps/helpers/auth.py | ramirezlp/proyecto2019 | 99a550d59db766a82be723b3fc308358c93da793 | [
"bzip2-1.0.6"
] | null | null | null | from flaskps.resources import auth
def authenticated(session):
return session.get('user')
def admin(session):
return auth.is_admin(session.get("user"))
def es_docente(session):
return auth.is_admin(session.get("user"),'docente')
def es_preceptor(session):
return auth.is_admin(session.get('user'),'prec... | 22.066667 | 57 | 0.731118 | 46 | 331 | 5.152174 | 0.347826 | 0.219409 | 0.236287 | 0.240506 | 0.481013 | 0.481013 | 0.481013 | 0.481013 | 0 | 0 | 0 | 0 | 0.123867 | 331 | 14 | 58 | 23.642857 | 0.817241 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 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 |
87bbd9ddb73f1c73e39774996c8fab96255dc40b | 692 | py | Python | src/process/models/base/integration/__init__.py | jedicontributors/pythondataintegrator | 3e877b367ab9b20185476128ec053db41087879f | [
"MIT"
] | 14 | 2020-12-19T15:06:13.000Z | 2022-01-12T19:52:17.000Z | src/process/models/base/integration/__init__.py | jedicontributors/pythondataintegrator | 3e877b367ab9b20185476128ec053db41087879f | [
"MIT"
] | 43 | 2021-01-06T22:05:22.000Z | 2022-03-10T10:30:30.000Z | src/process/models/base/integration/__init__.py | jedicontributors/pythondataintegrator | 3e877b367ab9b20185476128ec053db41087879f | [
"MIT"
] | 4 | 2020-12-18T23:10:09.000Z | 2021-04-02T13:03:12.000Z | from models.base.integration.DataIntegrationBase import DataIntegrationBase
from models.base.integration.DataIntegrationConnectionBase import DataIntegrationConnectionBase
from models.base.integration.DataIntegrationConnectionDatabaseBase import DataIntegrationConnectionDatabaseBase
from models.base.integration.DataInt... | 86.5 | 111 | 0.929191 | 49 | 692 | 13.122449 | 0.244898 | 0.108865 | 0.152411 | 0.272162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040462 | 692 | 7 | 112 | 98.857143 | 0.968373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87df2e34ecf24425a8868e4628ff126c49493f76 | 72 | py | Python | mcfly/__init__.py | ishouldbedany/mcfly | d0bc550ac17d48a14041205664f3eb508255e04d | [
"Apache-2.0"
] | null | null | null | mcfly/__init__.py | ishouldbedany/mcfly | d0bc550ac17d48a14041205664f3eb508255e04d | [
"Apache-2.0"
] | null | null | null | mcfly/__init__.py | ishouldbedany/mcfly | d0bc550ac17d48a14041205664f3eb508255e04d | [
"Apache-2.0"
] | null | null | null | from .modelgen import generate_models
from ._version import __version__
| 24 | 37 | 0.861111 | 9 | 72 | 6.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 38 | 36 | 0.875 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87e180095dc1327abf626adb3d2128e4e66ce5e1 | 11,855 | py | Python | figuregen/util/templates.py | Mira-13/figure-gen | fd1b8814423dd34973a3fafe68ff5c0f95c08590 | [
"MIT"
] | 75 | 2020-09-17T17:17:17.000Z | 2022-01-21T14:28:14.000Z | figuregen/util/templates.py | neshume/figure-gen | e4cb1d9ea1841980b4dc90953325e1a8c6dfb510 | [
"MIT"
] | 3 | 2020-09-29T11:51:35.000Z | 2020-10-22T15:27:40.000Z | figuregen/util/templates.py | neshume/figure-gen | e4cb1d9ea1841980b4dc90953325e1a8c6dfb510 | [
"MIT"
] | 2 | 2020-10-24T05:57:49.000Z | 2022-03-14T17:06:02.000Z | from typing import Tuple, List
import numpy as np
from . import image
from .. import figuregen
class CropComparison:
""" Matrix of cropped and zoomed images next to a reference image.
Derived classes can change some behaviour, like the choice of error metric, by overriding the
corresponding methods.
... | 43.266423 | 116 | 0.624547 | 1,655 | 11,855 | 4.301511 | 0.129909 | 0.032589 | 0.042141 | 0.012361 | 0.835511 | 0.818514 | 0.779042 | 0.742239 | 0.711476 | 0.702627 | 0 | 0.012507 | 0.278364 | 11,855 | 274 | 117 | 43.266423 | 0.819638 | 0.341291 | 0 | 0.567742 | 0 | 0.012903 | 0.059854 | 0.041521 | 0 | 0 | 0 | 0.00365 | 0 | 1 | 0.103226 | false | 0.006452 | 0.025806 | 0.058065 | 0.264516 | 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 |
87e5fae038011fc09ec852c46f972f88dc2c91a6 | 22 | py | Python | swift/common/ring/__init__.py | sun3shines/swift-1.7.4 | 980d2cd98b6cad82d3e182a26f608292ba51c37a | [
"Apache-2.0"
] | null | null | null | swift/common/ring/__init__.py | sun3shines/swift-1.7.4 | 980d2cd98b6cad82d3e182a26f608292ba51c37a | [
"Apache-2.0"
] | null | null | null | swift/common/ring/__init__.py | sun3shines/swift-1.7.4 | 980d2cd98b6cad82d3e182a26f608292ba51c37a | [
"Apache-2.0"
] | null | null | null | from ring import Ring
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
87eb5ba865f9f6164ffa6b3f8d2ed0f866c7cb55 | 46 | py | Python | cargo_phone_number/__init__.py | jaredLunde/cargo-phone-number-field | 4359901db8e133b6aa393a956ff89c79e239acea | [
"MIT"
] | null | null | null | cargo_phone_number/__init__.py | jaredLunde/cargo-phone-number-field | 4359901db8e133b6aa393a956ff89c79e239acea | [
"MIT"
] | null | null | null | cargo_phone_number/__init__.py | jaredLunde/cargo-phone-number-field | 4359901db8e133b6aa393a956ff89c79e239acea | [
"MIT"
] | null | null | null | from .field import *
from .validator import *
| 15.333333 | 24 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 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 |
e202939d7c814265caa55136addbbdfeed9e28e3 | 106 | py | Python | irida_staramr_results/api/__init__.py | phac-nml/irida-staramr-results | 7574b6eead97929605bdaf226cb34062b20c1dac | [
"Apache-2.0"
] | 2 | 2021-04-19T16:07:45.000Z | 2021-07-05T15:09:04.000Z | irida_staramr_results/api/__init__.py | phac-nml/irida-staramr-results | 7574b6eead97929605bdaf226cb34062b20c1dac | [
"Apache-2.0"
] | 16 | 2021-02-05T19:25:13.000Z | 2021-11-30T18:01:16.000Z | irida_staramr_results/api/__init__.py | phac-nml/irida-staramr-results | 7574b6eead97929605bdaf226cb34062b20c1dac | [
"Apache-2.0"
] | 3 | 2021-03-08T14:01:15.000Z | 2021-07-20T16:39:21.000Z | from irida_staramr_results.api import exceptions
from irida_staramr_results.api.irida_api import IridaAPI
| 35.333333 | 56 | 0.896226 | 16 | 106 | 5.625 | 0.5 | 0.2 | 0.355556 | 0.511111 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 57 | 53 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
35557eb4214d931fac11dc527258eec44d916ec8 | 32 | py | Python | devel/lib/python2.7/dist-packages/wheeled_robot_kinematics/msg/__init__.py | anurag-b/project_2_cmsc498F | 736626e0144cf45ebeddd341cfcb4fcdac679c3f | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/wheeled_robot_kinematics/msg/__init__.py | anurag-b/project_2_cmsc498F | 736626e0144cf45ebeddd341cfcb4fcdac679c3f | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/wheeled_robot_kinematics/msg/__init__.py | anurag-b/project_2_cmsc498F | 736626e0144cf45ebeddd341cfcb4fcdac679c3f | [
"MIT"
] | null | null | null | from ._DiffDriveAction import *
| 16 | 31 | 0.8125 | 3 | 32 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
355d127a1df6f458fb50b1d2d7772904de83db29 | 19,876 | py | Python | pycle/bicycle-scrapes/epey-scrape/downLink7.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink7.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null | pycle/bicycle-scrapes/epey-scrape/downLink7.py | fusuyfusuy/School-Projects | 8e38f19da90f63ac9c9ec91e550fc5aaab3d0234 | [
"MIT"
] | null | null | null |
from bs4 import BeautifulSoup
import os
import wget
from urllib.request import Request, urlopen
bicycles=[{'name': 'Corelli Boolva RC 100 Bisiklet', 'link': 'https://www.epey.com/bisiklet/corelli-boolva-rc-100.html'}, {'name': 'Kron TX100 HD Bisiklet', 'link': 'https://www.epey.com/bisiklet/kron-tx100-hd.html'}, {'na... | 903.454545 | 19,296 | 0.687965 | 3,073 | 19,876 | 4.449723 | 0.115197 | 0.158842 | 0.225026 | 0.264736 | 0.660597 | 0.599971 | 0.586222 | 0.566915 | 0.343864 | 0.136975 | 0 | 0.060591 | 0.079141 | 19,876 | 21 | 19,297 | 946.47619 | 0.686445 | 0 | 0 | 0 | 0 | 2.166667 | 0.815044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35c8073bec89f741f8ff62adb68c1851d395ff0c | 45 | py | Python | python/1.py | w-ks/dashuju | cbfa61438bc15afd3113ff7d22fd0bada5fc1af6 | [
"MulanPSL-1.0"
] | null | null | null | python/1.py | w-ks/dashuju | cbfa61438bc15afd3113ff7d22fd0bada5fc1af6 | [
"MulanPSL-1.0"
] | null | null | null | python/1.py | w-ks/dashuju | cbfa61438bc15afd3113ff7d22fd0bada5fc1af6 | [
"MulanPSL-1.0"
] | null | null | null | def new_func():
print("aaaa")
new_func() | 11.25 | 17 | 0.622222 | 7 | 45 | 3.714286 | 0.714286 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 4 | 18 | 11.25 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ea6fa3a1a2609450eeceadf518711ba3b2867a42 | 24,029 | py | Python | mailslurp_client/api/expired_controller_api.py | mailslurp/mailslurp-client-python | a1e9fdc6eb06e192909fd57a64813beb32419594 | [
"MIT"
] | 6 | 2020-04-30T07:47:42.000Z | 2022-03-24T20:58:58.000Z | mailslurp_client/api/expired_controller_api.py | mailslurp/mailslurp-client-python | a1e9fdc6eb06e192909fd57a64813beb32419594 | [
"MIT"
] | 1 | 2020-09-20T19:58:21.000Z | 2020-11-29T16:49:19.000Z | mailslurp_client/api/expired_controller_api.py | mailslurp/mailslurp-client-python | a1e9fdc6eb06e192909fd57a64813beb32419594 | [
"MIT"
] | 1 | 2019-08-09T14:55:50.000Z | 2019-08-09T14:55:50.000Z | # coding: utf-8
"""
MailSlurp API
MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://ww... | 47.962076 | 487 | 0.617213 | 2,816 | 24,029 | 5.049361 | 0.096591 | 0.035446 | 0.054153 | 0.025318 | 0.901189 | 0.895 | 0.885787 | 0.873057 | 0.84155 | 0.836275 | 0 | 0.013085 | 0.316201 | 24,029 | 500 | 488 | 48.058 | 0.852291 | 0.520995 | 0 | 0.646552 | 0 | 0 | 0.158661 | 0.044865 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038793 | false | 0 | 0.021552 | 0 | 0.099138 | 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 |
ea8bdd69fdf9b55a4ac05e6cc1fb2a8a243f2b44 | 197 | py | Python | sparse/__init__.py | nimroha/sparse | 975a202fb68452dc3cc4421c18f415bc7d5033e8 | [
"BSD-3-Clause"
] | null | null | null | sparse/__init__.py | nimroha/sparse | 975a202fb68452dc3cc4421c18f415bc7d5033e8 | [
"BSD-3-Clause"
] | null | null | null | sparse/__init__.py | nimroha/sparse | 975a202fb68452dc3cc4421c18f415bc7d5033e8 | [
"BSD-3-Clause"
] | null | null | null | from .coo import *
from .dok import DOK
from .sparse_array import SparseArray
from .utils import random
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 21.888889 | 39 | 0.80203 | 28 | 197 | 5.321429 | 0.464286 | 0.221477 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13198 | 197 | 8 | 40 | 24.625 | 0.871345 | 0 | 0 | 0 | 0 | 0 | 0.035533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5766b45e780404a685a6906492dfdf95bb4c6bcc | 7,069 | py | Python | holoviews/tests/plotting/bokeh/test_errorbarplot.py | kgullikson88/holoviews | 942c5ac7db46d1bc04b21a1fcf837285bbc9bde8 | [
"BSD-3-Clause"
] | null | null | null | holoviews/tests/plotting/bokeh/test_errorbarplot.py | kgullikson88/holoviews | 942c5ac7db46d1bc04b21a1fcf837285bbc9bde8 | [
"BSD-3-Clause"
] | null | null | null | holoviews/tests/plotting/bokeh/test_errorbarplot.py | kgullikson88/holoviews | 942c5ac7db46d1bc04b21a1fcf837285bbc9bde8 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from bokeh.models import CategoricalColorMapper, LinearColorMapper
from holoviews.element import ErrorBars
from .test_plot import TestBokehPlot, bokeh_renderer
class TestErrorBarsPlot(TestBokehPlot):
def test_errorbars_padding_square(self):
errorbars = ErrorBars([(1, 1, 0.5), (2, 2,... | 50.856115 | 120 | 0.59768 | 1,005 | 7,069 | 4.059701 | 0.083582 | 0.150735 | 0.015441 | 0.013725 | 0.818382 | 0.804657 | 0.778431 | 0.760539 | 0.760539 | 0.760539 | 0 | 0.078562 | 0.216721 | 7,069 | 138 | 121 | 51.224638 | 0.658299 | 0.002122 | 0 | 0.517241 | 0 | 0 | 0.075701 | 0 | 0 | 0 | 0 | 0 | 0.37069 | 1 | 0.112069 | false | 0 | 0.034483 | 0 | 0.155172 | 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 |
57670a6a0453dac6277d21bb12389188156b7ca4 | 457 | py | Python | calamari_ocr/ocr/__init__.py | Nesbi/calamari | 25eb872118d15d0740f702ef42ef6f785e1a5858 | [
"Apache-2.0"
] | 5 | 2021-02-12T16:22:46.000Z | 2021-03-08T13:04:15.000Z | calamari_ocr/ocr/__init__.py | Nesbi/calamari | 25eb872118d15d0740f702ef42ef6f785e1a5858 | [
"Apache-2.0"
] | 1 | 2020-05-06T15:03:17.000Z | 2020-05-07T15:22:01.000Z | calamari_ocr/ocr/__init__.py | Nesbi/calamari | 25eb872118d15d0740f702ef42ef6f785e1a5858 | [
"Apache-2.0"
] | null | null | null | from calamari_ocr.ocr.checkpoint import Checkpoint
from calamari_ocr.ocr.codec import Codec
from calamari_ocr.ocr.datasets import *
from calamari_ocr.ocr.evaluator import Evaluator
from calamari_ocr.ocr.predictor import Predictor, MultiPredictor, PredictionResult
from calamari_ocr.ocr.trainer import Trainer
from calama... | 45.7 | 82 | 0.875274 | 65 | 457 | 5.969231 | 0.261538 | 0.255155 | 0.324742 | 0.371134 | 0.139175 | 0.139175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078775 | 457 | 9 | 83 | 50.777778 | 0.921615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.