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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3374634092151a162ca5f82b9c757fbceca8074e | 966 | py | Python | qq/util.py | oeg-upm/tada-qq | ad8441093e21f4d598893cc2a263b128a7782e29 | [
"Apache-2.0"
] | 2 | 2022-01-26T08:48:34.000Z | 2022-01-26T08:48:37.000Z | qq/util.py | oeg-upm/tada-qq | ad8441093e21f4d598893cc2a263b128a7782e29 | [
"Apache-2.0"
] | null | null | null | qq/util.py | oeg-upm/tada-qq | ad8441093e21f4d598893cc2a263b128a7782e29 | [
"Apache-2.0"
] | null | null | null |
def errors_mean(y_pred, y_real):
"""
:param y_pred: list of predicted
:param y_real: list of real
:return:
"""
if len(y_pred) != len(y_real):
print("Error, unmatched number of ys")
return None
tot_err = 0.0
for i in range(len(y_pred)):
tot_err += abs(y_pred[i]-y_... | 26.833333 | 46 | 0.60352 | 161 | 966 | 3.354037 | 0.192547 | 0.155556 | 0.088889 | 0.037037 | 0.955556 | 0.955556 | 0.911111 | 0.911111 | 0.911111 | 0.911111 | 0 | 0.006974 | 0.257764 | 966 | 35 | 47 | 27.6 | 0.746165 | 0.302277 | 0 | 0.777778 | 0 | 0 | 0.093098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.333333 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
688b92d43b85b20d610155bffb1e7ed6ee5fb722 | 140 | py | Python | python/testData/inspections/AddCallSuperRepeatedOptionalParamsPassedToSuperConstructor_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/AddCallSuperRepeatedOptionalParamsPassedToSuperConstructor_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/AddCallSuperRepeatedOptionalParamsPassedToSuperConstructor_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def __init__(self, a, b=2, c=3):
self.a = a
class B(A):
def __init__(self, a, c):
A.__init__(self, a, c)
| 15.555556 | 36 | 0.507143 | 26 | 140 | 2.269231 | 0.346154 | 0.338983 | 0.457627 | 0.40678 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.321429 | 140 | 8 | 37 | 17.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
cc314f24ca7786bde21cb45c84f3c4cd940469a6 | 935 | py | Python | torchsparse/nn/functional/pooling.py | f-sky/torchsparse | 65466a10c6fa54bff17c6429706b7019a2a59409 | [
"MIT"
] | 1 | 2021-03-16T02:47:56.000Z | 2021-03-16T02:47:56.000Z | torchsparse/nn/functional/pooling.py | f-sky/torchsparse | 65466a10c6fa54bff17c6429706b7019a2a59409 | [
"MIT"
] | null | null | null | torchsparse/nn/functional/pooling.py | f-sky/torchsparse | 65466a10c6fa54bff17c6429706b7019a2a59409 | [
"MIT"
] | null | null | null | import torch
__all__ = ['global_avg_pool', 'global_max_pool']
def global_avg_pool(inputs):
batch_index = inputs.C[:, -1]
max_index = torch.max(batch_index).item()
outputs = []
for i in range(max_index + 1):
cur_inputs = torch.index_select(inputs.F, 0,
t... | 31.166667 | 73 | 0.60107 | 126 | 935 | 4.206349 | 0.230159 | 0.113208 | 0.049057 | 0.075472 | 0.864151 | 0.864151 | 0.864151 | 0.864151 | 0.864151 | 0.864151 | 0 | 0.022124 | 0.274866 | 935 | 29 | 74 | 32.241379 | 0.759587 | 0 | 0 | 0.75 | 0 | 0 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
04539ca74be12ef99bae96a07df51be6d2ca1d74 | 84 | py | Python | app/datasets/__init__.py | ahmedassal/GAN_SASS_TF | 5fda7e8ecf5c8ccc15eef47151bd2891d91737b4 | [
"MIT"
] | 3 | 2021-03-21T06:59:44.000Z | 2022-03-13T12:26:04.000Z | app/datasets/__init__.py | ahmedassal/GAN_SASS_TF | 5fda7e8ecf5c8ccc15eef47151bd2891d91737b4 | [
"MIT"
] | null | null | null | app/datasets/__init__.py | ahmedassal/GAN_SASS_TF | 5fda7e8ecf5c8ccc15eef47151bd2891d91737b4 | [
"MIT"
] | null | null | null | import app.hparams as hparams
import app.datasets.dataset
import app.datasets.timit
| 21 | 29 | 0.845238 | 13 | 84 | 5.461538 | 0.538462 | 0.380282 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 3 | 30 | 28 | 0.934211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f09d671aca8f25520f94a1429ea94c00340d4dba | 31 | py | Python | mlx90614/__init__.py | sbbean/mlx90614 | c700518023c62af66e0abe4a2ee0bfda94ef45d9 | [
"MIT"
] | 9 | 2020-10-10T03:39:29.000Z | 2021-12-09T08:54:56.000Z | mlx90614/__init__.py | sbbean/mlx90614 | c700518023c62af66e0abe4a2ee0bfda94ef45d9 | [
"MIT"
] | 3 | 2020-10-07T09:37:17.000Z | 2022-02-06T02:36:36.000Z | mlx90614/__init__.py | sbbean/mlx90614 | c700518023c62af66e0abe4a2ee0bfda94ef45d9 | [
"MIT"
] | 4 | 2020-09-08T17:02:14.000Z | 2021-04-27T09:59:37.000Z | from .mlx90614 import MLX90614
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0.129032 | 31 | 1 | 31 | 31 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f0a83f96a5084d479b7f8d583ddc2e985b047671 | 14,460 | py | Python | tests/test_sorting.py | No9005/tcheasy | 35dbf27ef00b4a6e17cd085eeda0868c83d354ef | [
"MIT"
] | null | null | null | tests/test_sorting.py | No9005/tcheasy | 35dbf27ef00b4a6e17cd085eeda0868c83d354ef | [
"MIT"
] | null | null | null | tests/test_sorting.py | No9005/tcheasy | 35dbf27ef00b4a6e17cd085eeda0868c83d354ef | [
"MIT"
] | null | null | null | """
Unittests for the parameter sorting function
"""
# imports
import unittest
from tcheasy.sort_parameters import sort_parameters
# create test class
class TestSortParameters(unittest.TestCase):
"""
methods:
--------
setUp
Setup method
tearDown
Teardown method
test_only... | 25.235602 | 123 | 0.474827 | 1,430 | 14,460 | 4.766434 | 0.085315 | 0.055018 | 0.035211 | 0.052817 | 0.852993 | 0.839349 | 0.787265 | 0.775088 | 0.752934 | 0.75 | 0 | 0.027891 | 0.372683 | 14,460 | 572 | 124 | 25.27972 | 0.723515 | 0.173167 | 0 | 0.752174 | 0 | 0 | 0.118091 | 0 | 0 | 0 | 0 | 0 | 0.117391 | 1 | 0.117391 | false | 0 | 0.008696 | 0.004348 | 0.243478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f0b62e7952fd955cca10bc9a7ef72fa22f33f246 | 97 | py | Python | purchasing/opportunities/__init__.py | hamhands/pittsburgh-purchasing-suite | a79aa77c00c95da8f0b3e2f5f7f7143d5857de35 | [
"BSD-3-Clause"
] | 22 | 2015-05-08T15:30:42.000Z | 2021-04-24T20:26:32.000Z | purchasing/opportunities/__init__.py | hamhands/pittsburgh-purchasing-suite | a79aa77c00c95da8f0b3e2f5f7f7143d5857de35 | [
"BSD-3-Clause"
] | 516 | 2015-04-23T18:14:40.000Z | 2017-11-08T19:27:41.000Z | purchasing/opportunities/__init__.py | CityofPittsburgh/pittsburgh-purchasing-suite | d676ed9c137e5aaa100992a798acd60ac464a2c1 | [
"BSD-3-Clause"
] | 10 | 2015-07-08T19:00:10.000Z | 2021-03-15T18:56:54.000Z | # -*- coding: utf-8 -*-
from .admin import blueprint as abp
from .front import blueprint as fbp
| 19.4 | 35 | 0.701031 | 15 | 97 | 4.533333 | 0.733333 | 0.441176 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.185567 | 97 | 4 | 36 | 24.25 | 0.848101 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
f0e89aa011733e051b2538631b551027de312528 | 11,202 | py | Python | tests/test_mp7.py | iscc/iscc-sdk | 329bf7611979cbb064d95902f5b29fb9b8dfc15b | [
"Apache-2.0"
] | 1 | 2022-03-21T19:34:10.000Z | 2022-03-21T19:34:10.000Z | tests/test_mp7.py | iscc/iscc-sdk | 329bf7611979cbb064d95902f5b29fb9b8dfc15b | [
"Apache-2.0"
] | 23 | 2022-01-24T16:05:33.000Z | 2022-03-29T10:48:04.000Z | tests/test_mp7.py | iscc/iscc-sdk | 329bf7611979cbb064d95902f5b29fb9b8dfc15b | [
"Apache-2.0"
] | null | null | null | from fractions import Fraction
from bitarray import bitarray
from iscc_sdk import mp7
import iscc_sdk as idk
def test_calc_byte_to_bit3():
assert mp7.calc_byte_to_bit3().tolist() == [
[0, 0, 0, 0, 0],
[0, 0, 0, 0, 1],
[0, 0, 0, 0, 2],
[0, 0, 0, 1, 0],
[0, 0, 0, 1, 1],
... | 16.895928 | 48 | 0.187199 | 1,749 | 11,202 | 1.186964 | 0.026301 | 0.202312 | 0.118497 | 0.061657 | 0.799615 | 0.799615 | 0.794798 | 0.738439 | 0.543353 | 0.128131 | 0 | 0.392297 | 0.612926 | 11,202 | 662 | 49 | 16.92145 | 0.086485 | 0 | 0 | 0.619847 | 0 | 0 | 0.001428 | 0 | 0 | 0 | 0 | 0 | 0.00916 | 1 | 0.00458 | false | 0 | 0.006107 | 0 | 0.010687 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0b198aee591de64501f627df00dca996caa4cf2e | 175 | py | Python | alfworld/agents/eval/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | 6 | 2021-05-22T15:33:42.000Z | 2022-01-12T03:34:39.000Z | alfworld/agents/eval/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | 1 | 2021-06-19T10:04:13.000Z | 2021-06-20T03:37:23.000Z | alfworld/agents/eval/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | null | null | null | from agents.eval.evaluate_dagger import evaluate_dagger
from agents.eval.evaluate_vision_dagger import evaluate_vision_dagger
from agents.eval.evaluate_dqn import evaluate_dqn | 58.333333 | 69 | 0.902857 | 26 | 175 | 5.769231 | 0.307692 | 0.2 | 0.28 | 0.44 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062857 | 175 | 3 | 70 | 58.333333 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0b1cc392777e46ad5986d71666bdb67b89dc9d58 | 3,252 | py | Python | ckanext/datapusher/tests/test_default_views.py | ziveo/ckan | f4cfe5e28789df58b2bf7e73e5989ffda00e5c5c | [
"Apache-2.0"
] | 2,805 | 2015-01-02T18:13:15.000Z | 2022-03-31T03:35:01.000Z | ckanext/datapusher/tests/test_default_views.py | ziveo/ckan | f4cfe5e28789df58b2bf7e73e5989ffda00e5c5c | [
"Apache-2.0"
] | 3,801 | 2015-01-02T11:05:36.000Z | 2022-03-31T19:24:37.000Z | ckanext/datapusher/tests/test_default_views.py | ziveo/ckan | f4cfe5e28789df58b2bf7e73e5989ffda00e5c5c | [
"Apache-2.0"
] | 1,689 | 2015-01-02T19:46:43.000Z | 2022-03-28T14:59:43.000Z | # encoding: utf-8
import datetime
import pytest
from ckan.tests import helpers, factories
@pytest.mark.ckan_config("ckan.views.default_views", "recline_grid_view")
@pytest.mark.ckan_config(
"ckan.plugins", "datapusher datastore recline_grid_view"
)
@pytest.mark.usefixtures("clean_db", "with_plugins")
def test_... | 32.52 | 79 | 0.637454 | 399 | 3,252 | 4.977444 | 0.220551 | 0.060423 | 0.048338 | 0.05287 | 0.91289 | 0.91289 | 0.91289 | 0.91289 | 0.905337 | 0.905337 | 0 | 0.003066 | 0.197724 | 3,252 | 99 | 80 | 32.848485 | 0.758145 | 0.162669 | 0 | 0.707692 | 0 | 0 | 0.307267 | 0.017706 | 0 | 0 | 0 | 0 | 0.046154 | 1 | 0.030769 | false | 0 | 0.046154 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
505f109474b1e15582f870886c4933191025b501 | 6,120 | py | Python | tests/causal_refuters/test_bootstrap_refuter.py | ErikHambardzumyan/dowhy | 685f64723e2a37334164dbb8da7d55f4e45975de | [
"MIT"
] | 1 | 2020-05-30T21:04:27.000Z | 2020-05-30T21:04:27.000Z | tests/causal_refuters/test_bootstrap_refuter.py | ErikHambardzumyan/dowhy | 685f64723e2a37334164dbb8da7d55f4e45975de | [
"MIT"
] | null | null | null | tests/causal_refuters/test_bootstrap_refuter.py | ErikHambardzumyan/dowhy | 685f64723e2a37334164dbb8da7d55f4e45975de | [
"MIT"
] | 1 | 2020-07-30T12:32:46.000Z | 2020-07-30T12:32:46.000Z | import pytest
import numpy as np
from .base import TestRefuter
@pytest.mark.usefixtures("fixed_seed")
class TestDataSubsetRefuter(object):
'''
The first two tests are for the default behavior, in which we just bootstrap the data
and obtain the estimate.
'''
@pytest.mark.parame... | 75.555556 | 187 | 0.668301 | 626 | 6,120 | 6.110224 | 0.126198 | 0.08366 | 0.144314 | 0.181961 | 0.931242 | 0.924967 | 0.906928 | 0.842353 | 0.842353 | 0.818824 | 0 | 0.014709 | 0.244608 | 6,120 | 81 | 188 | 75.555556 | 0.812676 | 0.033824 | 0 | 0.609375 | 0 | 0 | 0.191658 | 0.068942 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.046875 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
acbcf6725dc0ba1da9d97fa878fdf8260be21451 | 1,832 | py | Python | tests/_validation/test_size_validation.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 16 | 2021-04-16T02:01:29.000Z | 2022-01-01T08:53:49.000Z | tests/_validation/test_size_validation.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 613 | 2021-03-24T03:37:38.000Z | 2022-03-26T10:58:37.000Z | tests/_validation/test_size_validation.py | simon-ritchie/apyscript | c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279 | [
"MIT"
] | 2 | 2021-06-20T07:32:58.000Z | 2021-12-26T08:22:11.000Z | from apysc._validation import size_validation
from tests import testing_helper
def test_validate_size_is_int() -> None:
size_validation.validate_size_is_int(
size=100, err_msg='Specified width is not integer value.')
testing_helper.assert_raises(
expected_error_class=ValueError,
... | 34.566038 | 74 | 0.690502 | 236 | 1,832 | 4.915254 | 0.182203 | 0.072414 | 0.156897 | 0.224138 | 0.909483 | 0.850862 | 0.82069 | 0.777586 | 0.710345 | 0.710345 | 0 | 0.012694 | 0.225983 | 1,832 | 52 | 75 | 35.230769 | 0.80536 | 0 | 0 | 0.5 | 0 | 0 | 0.133146 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.075 | true | 0 | 0.05 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
acd08af32f9f9595b90a741db2d815eaa313f2ec | 19,312 | py | Python | multicurrency/rupee.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | 2 | 2021-03-26T18:19:57.000Z | 2021-07-27T01:15:50.000Z | multicurrency/rupee.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | null | null | null | multicurrency/rupee.py | fscm/multicurrency | 5eabdcbfbf427dcafe08d4d05cfce8c9348aeb91 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
#
# copyright: 2020-2022, Frederico Martins
# author: Frederico Martins <http://github.com/fscm>
# license: SPDX-License-Identifier: MIT
"""Rupee currency representation(s)."""
from decimal import Decimal
from typing import Optional, Union
from .currency import Currency
class IndianRupee(Cur... | 36.300752 | 77 | 0.595795 | 1,914 | 19,312 | 5.855799 | 0.0721 | 0.049964 | 0.034261 | 0.027123 | 0.870004 | 0.868754 | 0.860457 | 0.860457 | 0.849215 | 0.812812 | 0 | 0.01695 | 0.3096 | 19,312 | 531 | 78 | 36.369115 | 0.820971 | 0.502019 | 0 | 0.837004 | 0 | 0 | 0.027988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035242 | false | 0 | 0.013216 | 0 | 0.154185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c5e5b88e1ce1523a785665937a25b4744cedc2da | 199 | py | Python | tp/ui/__init__.py | chinapnr/agbot | 9739ce1c2198e50111629db2d1de785edd06876e | [
"MIT"
] | 2 | 2018-06-23T06:48:46.000Z | 2018-06-23T10:11:50.000Z | tp/ui/__init__.py | chinapnr/agbot | 9739ce1c2198e50111629db2d1de785edd06876e | [
"MIT"
] | 5 | 2020-01-03T09:33:02.000Z | 2021-06-02T00:49:52.000Z | tp/ui/__init__.py | chinapnr/agbot | 9739ce1c2198e50111629db2d1de785edd06876e | [
"MIT"
] | 1 | 2021-07-07T07:17:27.000Z | 2021-07-07T07:17:27.000Z | from agbot.core.model.context import VerticalContext
from .tp_ui import UiTestPoint
def run(tp_conf_dict, vertical_context: VerticalContext):
return UiTestPoint(tp_conf_dict, vertical_context)
| 28.428571 | 57 | 0.834171 | 27 | 199 | 5.888889 | 0.592593 | 0.075472 | 0.125786 | 0.226415 | 0.314465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105528 | 199 | 6 | 58 | 33.166667 | 0.893258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a8bc33b7fe19af62c72d2b01e82f7b230434cd26 | 37 | py | Python | src/lib/sunau.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/sunau.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/sunau.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("sunau")
| 18.5 | 36 | 0.756757 | 6 | 37 | 3.833333 | 0.666667 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7663ceebbed78990198de735e13f9f7add130be4 | 20,843 | py | Python | archi/net.py | victor-estrade/SystGradDescent | 822e7094290301ec47a99433381a8d6406798aff | [
"MIT"
] | 2 | 2019-03-20T09:05:02.000Z | 2019-03-20T15:23:44.000Z | archi/net.py | victor-estrade/SystGradDescent | 822e7094290301ec47a99433381a8d6406798aff | [
"MIT"
] | null | null | null | archi/net.py | victor-estrade/SystGradDescent | 822e7094290301ec47a99433381a8d6406798aff | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import division
from __future__ import print_function
from __future__ import absolute_import
from __future__ import unicode_literals
import torch
import torch.nn as nn
from . import layers
from .blocks import ResidualAverageBlock
from .blocks import ResidualBlock
from .blocks import so... | 32.165123 | 69 | 0.587919 | 3,091 | 20,843 | 3.714979 | 0.040764 | 0.101454 | 0.198554 | 0.075764 | 0.943569 | 0.935818 | 0.933902 | 0.922755 | 0.918749 | 0.907428 | 0 | 0.032269 | 0.284844 | 20,843 | 647 | 70 | 32.214838 | 0.738092 | 0.004462 | 0 | 0.896226 | 0 | 0 | 0.000341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092453 | false | 0 | 0.018868 | 0 | 0.173585 | 0.001887 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4f3947cf1c8fb52e14e89525535201fe31cac395 | 13,847 | py | Python | memsource_cli/api/translation_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | 1 | 2020-07-24T16:29:32.000Z | 2020-07-24T16:29:32.000Z | memsource_cli/api/translation_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | null | null | null | memsource_cli/api/translation_api.py | zerodayz/memsource-cli-client | c2574f1467539a49e6637c874e88d75c7ef789b3 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Memsource REST API
Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis... | 39.338068 | 421 | 0.620568 | 1,572 | 13,847 | 5.221374 | 0.124046 | 0.049708 | 0.019006 | 0.024854 | 0.887305 | 0.880239 | 0.873538 | 0.859527 | 0.85173 | 0.845517 | 0 | 0.017549 | 0.288077 | 13,847 | 351 | 422 | 39.450142 | 0.815074 | 0.339713 | 0 | 0.78022 | 0 | 0 | 0.202828 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.021978 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4f93be45d400a92a989c773a2cae0f4e98838035 | 165 | py | Python | src/auction_api/models/__init__.py | 4heck/auction_backend | c9568d45f5f4873f71ae71ced72b8e5a0a02d273 | [
"MIT"
] | null | null | null | src/auction_api/models/__init__.py | 4heck/auction_backend | c9568d45f5f4873f71ae71ced72b8e5a0a02d273 | [
"MIT"
] | null | null | null | src/auction_api/models/__init__.py | 4heck/auction_backend | c9568d45f5f4873f71ae71ced72b8e5a0a02d273 | [
"MIT"
] | null | null | null | from auction_api.models.user import User
from auction_api.models.auction import Auction
from auction_api.models.bid import Bid
__all__ = ["User", "Auction", "Bid"]
| 27.5 | 46 | 0.787879 | 25 | 165 | 4.92 | 0.32 | 0.268293 | 0.341463 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 5 | 47 | 33 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.084848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 7 |
96ce068c86f6f860bcc65a2d6132941a759a8f00 | 7,331 | py | Python | model_scripts/pickled_app.py | beilmanmich/cap_june_2017 | 7bd4bc56e3d610e5919e8259d0d0cb6f2af06d9d | [
"CC-BY-3.0"
] | null | null | null | model_scripts/pickled_app.py | beilmanmich/cap_june_2017 | 7bd4bc56e3d610e5919e8259d0d0cb6f2af06d9d | [
"CC-BY-3.0"
] | null | null | null | model_scripts/pickled_app.py | beilmanmich/cap_june_2017 | 7bd4bc56e3d610e5919e8259d0d0cb6f2af06d9d | [
"CC-BY-3.0"
] | null | null | null | import flask
import numpy as np
import pandas as pd
import pickle
from sklearn.tree import DecisionTreeClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.neighbors import KDTree
import os
#---------- MODEL IN MEMORY ----------------#
df = pd.DataFrame(pickle.load(open('static/dummied_recent_d... | 32.438053 | 97 | 0.790615 | 910 | 7,331 | 5.876923 | 0.216484 | 0.188482 | 0.298429 | 0.030292 | 0.810583 | 0.810583 | 0.810583 | 0.798242 | 0.798242 | 0.798242 | 0 | 0.004667 | 0.093848 | 7,331 | 225 | 98 | 32.582222 | 0.800391 | 0.023053 | 0 | 0.813397 | 0 | 0 | 0.705044 | 0.447953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014354 | false | 0 | 0.038278 | 0 | 0.066986 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
96dfa8bbf7d2627d47fe30d7eba05510fc81666f | 128,679 | py | Python | msgraph-cli-extensions/beta/sites_beta/azext_sites_beta/vendored_sdks/sites/operations/_sites_operations.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/sites_beta/azext_sites_beta/vendored_sdks/sites/operations/_sites_operations.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/sites_beta/azext_sites_beta/vendored_sdks/sites/operations/_sites_operations.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 44.835889 | 214 | 0.633196 | 14,081 | 128,679 | 5.605781 | 0.021305 | 0.020751 | 0.013555 | 0.0188 | 0.946602 | 0.943523 | 0.929904 | 0.921302 | 0.903376 | 0.897675 | 0 | 0.007825 | 0.255185 | 128,679 | 2,869 | 215 | 44.851516 | 0.81577 | 0.270565 | 0 | 0.850296 | 0 | 0 | 0.092658 | 0.021655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036095 | false | 0 | 0.005325 | 0 | 0.089941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8c5ef186939dc52a723f26a4f2acb470a4beb51c | 159 | py | Python | cashaccount/__init__.py | YumenoG/pycashaccount | f2a22eec729cc7b608241e1632d2ccde5fcc3bbc | [
"MIT"
] | 2 | 2019-02-20T12:28:19.000Z | 2019-02-20T12:28:22.000Z | cashaccount/__init__.py | YumenoG/pycashaccount | f2a22eec729cc7b608241e1632d2ccde5fcc3bbc | [
"MIT"
] | 5 | 2019-01-03T19:35:17.000Z | 2019-02-20T12:34:11.000Z | cashaccount/__init__.py | YumenoG/pycashaccount | f2a22eec729cc7b608241e1632d2ccde5fcc3bbc | [
"MIT"
] | 1 | 2019-10-16T11:30:33.000Z | 2019-10-16T11:30:33.000Z | from .payment import KeyHashInfo, ScriptHashInfo, PaymentCodeInfo
from .registration import Registration
from .registration import electron_markdown, opreturn
| 39.75 | 65 | 0.867925 | 16 | 159 | 8.5625 | 0.625 | 0.233577 | 0.321168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 159 | 3 | 66 | 53 | 0.951389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8b04120fbbfb9dd238177f79cf95478afc695b61 | 44,106 | py | Python | venv/lib/python3.8/site-packages/azureml/_restclient/operations/run_operations.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_restclient/operations/run_operations.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/azureml/_restclient/operations/run_operations.py | amcclead7336/Enterprise_Data_Science_Final | ccdc0aa08d4726bf82d71c11a1cc0c63eb301a28 | [
"Unlicense",
"MIT"
] | 2 | 2021-05-23T16:46:31.000Z | 2021-05-26T23:51:09.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator 2.3.3... | 46.039666 | 239 | 0.657121 | 4,502 | 44,106 | 6.217903 | 0.043314 | 0.036688 | 0.039474 | 0.012074 | 0.94788 | 0.945736 | 0.943486 | 0.942057 | 0.92716 | 0.92716 | 0 | 0.003722 | 0.25076 | 44,106 | 957 | 240 | 46.087774 | 0.84337 | 0.305174 | 0 | 0.801453 | 0 | 0.031477 | 0.202779 | 0.098963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033898 | false | 0 | 0.004843 | 0 | 0.106538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8b193a7cb99a37671658cdc6e43a0663925262d0 | 113 | py | Python | LnkParse3/target/printers.py | ernix/LnkParse3 | ab8b2c796a501b103eb74142762e7fe9f4f1960a | [
"MIT"
] | null | null | null | LnkParse3/target/printers.py | ernix/LnkParse3 | ab8b2c796a501b103eb74142762e7fe9f4f1960a | [
"MIT"
] | null | null | null | LnkParse3/target/printers.py | ernix/LnkParse3 | ab8b2c796a501b103eb74142762e7fe9f4f1960a | [
"MIT"
] | null | null | null | from LnkParse3.target.lnk_target_base import LnkTargetBase
class Printers(LnkTargetBase):
# TODO:
pass
| 16.142857 | 58 | 0.769912 | 13 | 113 | 6.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.168142 | 113 | 6 | 59 | 18.833333 | 0.893617 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
8b2d02959ac26136a5b5ef98911ad974c5416e52 | 112 | py | Python | snapx/snapx/algorithms/shortest_paths/__init__.py | ruth-ann/snap-python | fe98de7b5697b3d60eb3497893e24801ae1916f9 | [
"BSD-3-Clause"
] | 242 | 2015-01-01T08:40:28.000Z | 2022-03-18T05:22:09.000Z | snapx/snapx/algorithms/shortest_paths/__init__.py | ruth-ann/snap-python | fe98de7b5697b3d60eb3497893e24801ae1916f9 | [
"BSD-3-Clause"
] | 99 | 2015-01-24T07:55:27.000Z | 2021-10-30T18:20:13.000Z | snapx/snapx/algorithms/shortest_paths/__init__.py | ruth-ann/snap-python | fe98de7b5697b3d60eb3497893e24801ae1916f9 | [
"BSD-3-Clause"
] | 105 | 2015-03-03T06:45:17.000Z | 2022-02-24T15:52:40.000Z | from snapx.algorithms.shortest_paths.weighted import *
from snapx.algorithms.shortest_paths.unweighted import *
| 37.333333 | 56 | 0.857143 | 14 | 112 | 6.714286 | 0.571429 | 0.191489 | 0.404255 | 0.574468 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 57 | 56 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8c7560f03dbb3526ccb30d3de812d6405f5d7597 | 173,875 | py | Python | CEDA/macroecon/eu.py | TerenceLiu98/CEDApy | 14f21f6a8e83bd62afbf9be1465000db3c6b6dce | [
"MIT"
] | null | null | null | CEDA/macroecon/eu.py | TerenceLiu98/CEDApy | 14f21f6a8e83bd62afbf9be1465000db3c6b6dce | [
"MIT"
] | null | null | null | CEDA/macroecon/eu.py | TerenceLiu98/CEDApy | 14f21f6a8e83bd62afbf9be1465000db3c6b6dce | [
"MIT"
] | null | null | null | import io
import os
import demjson
import requests
import numpy as np
import pandas as pd
from fake_useragent import UserAgent
from pandas.core.frame import DataFrame
from pandas.core.reshape.merge import merge
# Main Economic Indicators: https://alfred.stlouisfed.org/release?rid=205
url = {
"fred_econ": "https://... | 83.997585 | 2,337 | 0.703592 | 28,768 | 173,875 | 4.135393 | 0.036534 | 0.016711 | 0.032143 | 0.040347 | 0.873873 | 0.853581 | 0.833055 | 0.819126 | 0.801315 | 0.779502 | 0 | 0.145143 | 0.12873 | 173,875 | 2,069 | 2,338 | 84.038183 | 0.640159 | 0.13692 | 0 | 0.419762 | 0 | 0.106984 | 0.623224 | 0.402027 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105498 | false | 0.011144 | 0.022288 | 0.001486 | 0.232541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8ca800964c0b72d33b3fef6ca83789794c0ea2b4 | 3,731 | py | Python | reveal_graph_embedding/quality/conductance.py | MKLab-ITI/reveal-graph-embedding | 72d4af794536f97b8ede06c0f27f261ea85d8c4b | [
"Apache-2.0"
] | 31 | 2015-07-14T16:21:25.000Z | 2021-06-30T14:10:44.000Z | reveal_graph_embedding/quality/conductance.py | MKLab-ITI/reveal-graph-embedding | 72d4af794536f97b8ede06c0f27f261ea85d8c4b | [
"Apache-2.0"
] | null | null | null | reveal_graph_embedding/quality/conductance.py | MKLab-ITI/reveal-graph-embedding | 72d4af794536f97b8ede06c0f27f261ea85d8c4b | [
"Apache-2.0"
] | 11 | 2016-08-21T03:07:20.000Z | 2020-03-07T03:17:05.000Z | __author__ = 'Georgios Rizos (georgerizos@iti.gr)'
import numpy as np
def conductance(adjacency_matrix, node_array):
number_of_nodes = adjacency_matrix.shape[0]
node_array_bar = np.setdiff1d(np.arange(number_of_nodes), node_array)
submatrix = adjacency_matrix[np.ix_(node_array, node_array)]
submatr... | 34.869159 | 112 | 0.755562 | 479 | 3,731 | 5.496868 | 0.127349 | 0.09229 | 0.082036 | 0.069882 | 0.809343 | 0.809343 | 0.79681 | 0.79681 | 0.79681 | 0.79681 | 0 | 0.004847 | 0.170464 | 3,731 | 106 | 113 | 35.198113 | 0.84588 | 0.039936 | 0 | 0.73913 | 0 | 0 | 0.00979 | 0 | 0 | 0 | 0 | 0.009434 | 0 | 1 | 0.072464 | false | 0 | 0.014493 | 0 | 0.15942 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ced7434cb879444a7aa7c69a5a7671e68b30702 | 36 | py | Python | simpleui/__init__.py | skyformat99/simpleui-1 | 84e68ffe27f261ed1fbc889430e61fdd9add7657 | [
"MIT"
] | null | null | null | simpleui/__init__.py | skyformat99/simpleui-1 | 84e68ffe27f261ed1fbc889430e61fdd9add7657 | [
"MIT"
] | null | null | null | simpleui/__init__.py | skyformat99/simpleui-1 | 84e68ffe27f261ed1fbc889430e61fdd9add7657 | [
"MIT"
] | 1 | 2019-08-27T18:05:36.000Z | 2019-08-27T18:05:36.000Z | def get_version():
return '2.8'
| 12 | 18 | 0.611111 | 6 | 36 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.222222 | 36 | 2 | 19 | 18 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
0fe72a6430b726017aba6aca0045eab7c5759123 | 142 | py | Python | pylogger/utils/idgenerator.py | agSant01/pylogger | 99a5d08b0f486c43dc4936cd89474e21a86f377a | [
"MIT"
] | null | null | null | pylogger/utils/idgenerator.py | agSant01/pylogger | 99a5d08b0f486c43dc4936cd89474e21a86f377a | [
"MIT"
] | null | null | null | pylogger/utils/idgenerator.py | agSant01/pylogger | 99a5d08b0f486c43dc4936cd89474e21a86f377a | [
"MIT"
] | null | null | null | import string
import random
def id_generator():
return ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(6))
| 20.285714 | 91 | 0.746479 | 20 | 142 | 5.15 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.140845 | 142 | 6 | 92 | 23.666667 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 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 | 1 | 1 | 0 | 0 | 7 |
ba0a080b0cf1de1be674bf37d6678cbbececade9 | 2,653 | py | Python | mahjonggscoring/rules/test/test_melded_kong.py | kajiki/py-mahjongg-scoring | b23202de018a8206a4be5594247faa0754e7e54e | [
"MIT"
] | null | null | null | mahjonggscoring/rules/test/test_melded_kong.py | kajiki/py-mahjongg-scoring | b23202de018a8206a4be5594247faa0754e7e54e | [
"MIT"
] | null | null | null | mahjonggscoring/rules/test/test_melded_kong.py | kajiki/py-mahjongg-scoring | b23202de018a8206a4be5594247faa0754e7e54e | [
"MIT"
] | null | null | null | import unittest2
from mahjonggscoring.rules import MeldedKong
from mahjonggscoring import Hand
class TestMeldedKongPartial(unittest2.TestCase):
def setUp(self):
data = [["6/", "6/", "6/", "6/"], ["2/", "3/", "4/"], ["F", "F", "F"], ["2/", "3/", "4/"], ["8/", "8/"]]
hand = Hand(data, {"concealed": [False, True, Fa... | 35.851351 | 111 | 0.588767 | 346 | 2,653 | 4.450867 | 0.130058 | 0.023377 | 0.023377 | 0.131818 | 0.82013 | 0.814935 | 0.814935 | 0.814935 | 0.814935 | 0.814935 | 0 | 0.041264 | 0.141349 | 2,653 | 74 | 112 | 35.851351 | 0.634767 | 0 | 0 | 0.666667 | 0 | 0 | 0.087792 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.216667 | false | 0.283333 | 0.05 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ba0b71fea3955a06b0fb30ee870bffb2695154ef | 5,223 | py | Python | picture/tests.py | ENAIKA/picture | 4a5f81a6fc3f56b0322ed753af0e601cc0ec8149 | [
"Unlicense"
] | null | null | null | picture/tests.py | ENAIKA/picture | 4a5f81a6fc3f56b0322ed753af0e601cc0ec8149 | [
"Unlicense"
] | 8 | 2021-03-19T04:10:34.000Z | 2021-09-22T19:06:00.000Z | picture/tests.py | ENAIKA/picture | 4a5f81a6fc3f56b0322ed753af0e601cc0ec8149 | [
"Unlicense"
] | null | null | null | from django.test import TestCase
from .models import PhotoImage,Category,Location
import pyperclip
# Create your tests here.
class LocationTestClass(TestCase):
# Set up method
def setUp(self):
#creating a new location and saving it
self.new_location=Location(location_name="Mozambique")
... | 32.64375 | 119 | 0.66054 | 616 | 5,223 | 5.456169 | 0.103896 | 0.052068 | 0.053555 | 0.078548 | 0.80601 | 0.773282 | 0.770902 | 0.75662 | 0.727165 | 0.707528 | 0 | 0.003755 | 0.235114 | 5,223 | 159 | 120 | 32.849057 | 0.837547 | 0.140149 | 0 | 0.65625 | 0 | 0 | 0.042143 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.25 | false | 0 | 0.03125 | 0 | 0.322917 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ba0c1b6262ce1cb0869cfc7cde679c3191f17e85 | 5,024 | py | Python | rodnet/utils/visualization/demo.py | zhengzangw/RODNet | eca5f2bd1f3051c2b823d279532ddafa71b009c1 | [
"MIT"
] | 109 | 2020-11-13T11:58:41.000Z | 2022-03-29T06:46:09.000Z | rodnet/utils/visualization/demo.py | yh-luo/RODNet | 969cad6f08b8957b26bc16f86ac4e835d1294050 | [
"MIT"
] | 46 | 2021-01-13T08:53:12.000Z | 2022-03-31T02:51:16.000Z | rodnet/utils/visualization/demo.py | yh-luo/RODNet | 969cad6f08b8957b26bc16f86ac4e835d1294050 | [
"MIT"
] | 43 | 2021-01-07T05:09:36.000Z | 2022-03-20T11:13:58.000Z | import numpy as np
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
from rodnet.core.object_class import get_class_name
from .fig_configs import fig, fp, symbols
def visualize_train_img_old(fig_name, input_radar, output_confmap, confmap_gt):
fig = plt.figure(figsize=(8, 4))
img = input_radar
... | 33.052632 | 112 | 0.621616 | 798 | 5,024 | 3.716792 | 0.145363 | 0.059339 | 0.061362 | 0.077883 | 0.833109 | 0.833109 | 0.794673 | 0.763655 | 0.736682 | 0.712407 | 0 | 0.039532 | 0.234674 | 5,024 | 151 | 113 | 33.271523 | 0.73186 | 0 | 0 | 0.761905 | 0 | 0 | 0.048766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031746 | false | 0 | 0.039683 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e8ac38cbeb3fcd5576ff820f4b114c8e541ed403 | 128,507 | py | Python | librespot/proto/Metadata_pb2.py | forslund/librespot-python | 7a340b1b20889e1afae47aa0f433a0893f4290f1 | [
"Apache-2.0"
] | 64 | 2021-02-24T06:46:34.000Z | 2022-03-29T11:33:46.000Z | librespot/proto/Metadata_pb2.py | forslund/librespot-python | 7a340b1b20889e1afae47aa0f433a0893f4290f1 | [
"Apache-2.0"
] | 16 | 2021-04-24T12:25:30.000Z | 2022-02-19T00:02:44.000Z | librespot/proto/Metadata_pb2.py | forslund/librespot-python | 7a340b1b20889e1afae47aa0f433a0893f4290f1 | [
"Apache-2.0"
] | 22 | 2021-04-05T23:57:14.000Z | 2022-03-10T04:45:08.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: metadata.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protob... | 34.741011 | 10,162 | 0.593345 | 13,243 | 128,507 | 5.444159 | 0.038813 | 0.053594 | 0.093291 | 0.077895 | 0.835472 | 0.810131 | 0.769214 | 0.726105 | 0.699252 | 0.683759 | 0 | 0.042617 | 0.307968 | 128,507 | 3,698 | 10,163 | 34.750406 | 0.76809 | 0.013065 | 0 | 0.817754 | 1 | 0.000277 | 0.161431 | 0.131352 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001106 | 0 | 0.001106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e8c10c4f512a8859ad0d6347eb53b0188b0c7e0b | 123 | py | Python | src/omlt/neuralnet/layers/__init__.py | fracek/OMLT | b0ccafda34d1ea2b1187186081ed50f17c10ba7f | [
"BSD-3-Clause"
] | 115 | 2021-11-04T03:15:35.000Z | 2022-03-28T19:05:55.000Z | src/omlt/neuralnet/layers/__init__.py | fracek/OMLT | b0ccafda34d1ea2b1187186081ed50f17c10ba7f | [
"BSD-3-Clause"
] | 56 | 2021-11-03T13:59:41.000Z | 2022-03-21T14:01:52.000Z | src/omlt/neuralnet/layers/__init__.py | fracek/OMLT | b0ccafda34d1ea2b1187186081ed50f17c10ba7f | [
"BSD-3-Clause"
] | 17 | 2021-11-04T03:15:23.000Z | 2022-03-24T02:24:15.000Z | from .full_space import full_space_dense_layer, full_space_conv_layer
from .reduced_space import reduced_space_dense_layer
| 41 | 69 | 0.902439 | 20 | 123 | 5 | 0.4 | 0.27 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 123 | 2 | 70 | 61.5 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fa71eeac3d674093c4c774373dd96dc7070f8a46 | 22,469 | py | Python | python/powermeter_api/api/recent_api.py | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | python/powermeter_api/api/recent_api.py | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | python/powermeter_api/api/recent_api.py | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
PowerMeter API
API # noqa: E501
The version of the OpenAPI document: 2021.4.1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from powermeter_api.api_clie... | 39.909414 | 96 | 0.580044 | 2,398 | 22,469 | 5.173478 | 0.071726 | 0.036112 | 0.045139 | 0.036273 | 0.933661 | 0.933661 | 0.925601 | 0.925601 | 0.925601 | 0.903434 | 0 | 0.013205 | 0.349504 | 22,469 | 562 | 97 | 39.980427 | 0.835591 | 0.480573 | 0 | 0.731225 | 1 | 0 | 0.146612 | 0.039083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.019763 | 0 | 0.106719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d744d61c248f582a0e3f83b3d3b43d79fb1c17ac | 223 | py | Python | nmigen/vendor/xilinx.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/vendor/xilinx.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/vendor/xilinx.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth.vendor.xilinx import *
from amaranth.vendor.xilinx import __all__
import warnings
warnings.warn("instead of nmigen.vendor.xilinx, use amaranth.vendor.xilinx",
DeprecationWarning, stacklevel=2)
| 27.875 | 76 | 0.7713 | 27 | 223 | 6.222222 | 0.555556 | 0.285714 | 0.357143 | 0.285714 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.147982 | 223 | 7 | 77 | 31.857143 | 0.878947 | 0 | 0 | 0 | 0 | 0 | 0.264574 | 0.192825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d7584cfd8836d2082bc285338a1155104c8d7013 | 35,879 | py | Python | backends/tests/integration/core/models_tests.py | sltk/crmint | bc8417bc4ed225faa5caa88daca48f1f12f2ac94 | [
"Apache-2.0"
] | null | null | null | backends/tests/integration/core/models_tests.py | sltk/crmint | bc8417bc4ed225faa5caa88daca48f1f12f2ac94 | [
"Apache-2.0"
] | null | null | null | backends/tests/integration/core/models_tests.py | sltk/crmint | bc8417bc4ed225faa5caa88daca48f1f12f2ac94 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google Inc
#
# 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, ... | 41.24023 | 92 | 0.738092 | 4,582 | 35,879 | 5.625491 | 0.053907 | 0.072975 | 0.07216 | 0.101024 | 0.895019 | 0.869219 | 0.823208 | 0.802995 | 0.77933 | 0.759505 | 0 | 0.012509 | 0.13997 | 35,879 | 869 | 93 | 41.287687 | 0.822828 | 0.036205 | 0 | 0.761194 | 0 | 0 | 0.010623 | 0.001939 | 0 | 0 | 0 | 0 | 0.305292 | 1 | 0.096337 | false | 0 | 0.014925 | 0 | 0.12483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d784168dac88b85eacedf7bc81a50fb3bf6ae2ca | 196 | py | Python | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/decoders/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | null | null | null | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/decoders/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Official/nlp/Transformer_for_TensorFlow/noahnmt/decoders/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright Huawei Noah's Ark Lab.
from noahnmt.decoders import attention_decoder
from noahnmt.decoders import beam_search_decoder
from noahnmt.decoders import transformer_decoder
| 28 | 48 | 0.846939 | 28 | 196 | 5.785714 | 0.642857 | 0.203704 | 0.351852 | 0.462963 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.107143 | 196 | 6 | 49 | 32.666667 | 0.92 | 0.229592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ad06a083b65ff952a6f645b56ae1d8a2a566a546 | 42 | py | Python | tests/test_psdm_qs_cli.py | teddyrendahl/psdm_qs_cli | 3b693932f64daa948319f24441a326920a7a7f08 | [
"MIT"
] | null | null | null | tests/test_psdm_qs_cli.py | teddyrendahl/psdm_qs_cli | 3b693932f64daa948319f24441a326920a7a7f08 | [
"MIT"
] | null | null | null | tests/test_psdm_qs_cli.py | teddyrendahl/psdm_qs_cli | 3b693932f64daa948319f24441a326920a7a7f08 | [
"MIT"
] | null | null | null | def test_import():
import psdm_qs_cli
| 14 | 22 | 0.738095 | 7 | 42 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 23 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ad1562186d9b68e5f46211db9be82f2787739647 | 17,161 | py | Python | src/scripts/data_processing/combine_ts_fresh_features.py | arnabbiswas1/k_tab_aug_muticlass_rmse_logloss_weightedf1_stratified_tsfresh_cesium | 13db3cb9d0b2f25181ccf4b1316e12425abfc276 | [
"Apache-2.0"
] | null | null | null | src/scripts/data_processing/combine_ts_fresh_features.py | arnabbiswas1/k_tab_aug_muticlass_rmse_logloss_weightedf1_stratified_tsfresh_cesium | 13db3cb9d0b2f25181ccf4b1316e12425abfc276 | [
"Apache-2.0"
] | null | null | null | src/scripts/data_processing/combine_ts_fresh_features.py | arnabbiswas1/k_tab_aug_muticlass_rmse_logloss_weightedf1_stratified_tsfresh_cesium | 13db3cb9d0b2f25181ccf4b1316e12425abfc276 | [
"Apache-2.0"
] | null | null | null | """
Script to combine the features generated for tsfresh and write the
combined DF back to disk
"""
from src import common
import pandas as pd
import src.config.constants as constants
def select_features(logger, df, features_to_drop):
logger.info(f"Shape of the features {df.shape}")
df = df.drop(features_t... | 44.924084 | 102 | 0.757823 | 2,290 | 17,161 | 4.611354 | 0.0869 | 0.131913 | 0.339205 | 0.414583 | 0.858239 | 0.795644 | 0.110227 | 0.101231 | 0.074811 | 0.044318 | 0 | 0.055182 | 0.177379 | 17,161 | 381 | 103 | 45.041995 | 0.692853 | 0.006993 | 0 | 0.037249 | 1 | 0 | 0.669113 | 0.640463 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008596 | false | 0 | 0.008596 | 0 | 0.025788 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ad5e794854817e95b07ec1b47f801079caf75efc | 36 | py | Python | tests/sample.py | VoshVolk/public_python | 8480f8220531534268f42449c66ebbfd3011bf6e | [
"Apache-2.0"
] | 1 | 2021-11-08T08:09:29.000Z | 2021-11-08T08:09:29.000Z | tests/sample.py | VoshVolk/public_python | 8480f8220531534268f42449c66ebbfd3011bf6e | [
"Apache-2.0"
] | null | null | null | tests/sample.py | VoshVolk/public_python | 8480f8220531534268f42449c66ebbfd3011bf6e | [
"Apache-2.0"
] | null | null | null |
def first_entry():
return "a" | 7.2 | 18 | 0.583333 | 5 | 36 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 36 | 5 | 19 | 7.2 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
ad73b98e5937ee7641afdacd13e0f2d6675bd2e5 | 2,291 | py | Python | pynncml/metrics/regression.py | haihabi/PyNNcml | 808892da798913928fbc219cbb5f9e41156d9d49 | [
"MIT"
] | 4 | 2020-06-28T22:52:19.000Z | 2021-10-31T10:19:51.000Z | pynncml/metrics/regression.py | haihabi/PyNNcml | 808892da798913928fbc219cbb5f9e41156d9d49 | [
"MIT"
] | null | null | null | pynncml/metrics/regression.py | haihabi/PyNNcml | 808892da798913928fbc219cbb5f9e41156d9d49 | [
"MIT"
] | 4 | 2020-06-28T22:52:24.000Z | 2021-11-04T00:28:42.000Z | import numpy as np
def mse(input_array: np.ndarray, reference_array: np.ndarray) -> float:
r"""
The mse function compute the mean square error of predication array.
.. math::
mse=\frac{1}{N}\sum_i^N (p_i-r_i)^2
where mse is the mean square error measurement, p is the predication array... | 44.057692 | 116 | 0.709734 | 362 | 2,291 | 4.411602 | 0.165746 | 0.140263 | 0.084534 | 0.067627 | 0.872887 | 0.834064 | 0.812774 | 0.789606 | 0.733876 | 0.710081 | 0 | 0.009377 | 0.208643 | 2,291 | 51 | 117 | 44.921569 | 0.871484 | 0.700131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
d159bb5b3249c9ecab80c7d7f8d8e48ce50482d4 | 28,733 | py | Python | sdk/python/pulumi_github/repository_pull_request.py | pulumi/pulumi-github | 303ed7a28cbfe6ba1db75b3b365dcfa0b00e6e91 | [
"ECL-2.0",
"Apache-2.0"
] | 20 | 2020-04-27T15:05:01.000Z | 2022-02-08T00:28:32.000Z | sdk/python/pulumi_github/repository_pull_request.py | pulumi/pulumi-github | 303ed7a28cbfe6ba1db75b3b365dcfa0b00e6e91 | [
"ECL-2.0",
"Apache-2.0"
] | 103 | 2020-05-01T17:36:32.000Z | 2022-03-31T15:26:35.000Z | sdk/python/pulumi_github/repository_pull_request.py | pulumi/pulumi-github | 303ed7a28cbfe6ba1db75b3b365dcfa0b00e6e91 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2020-06-24T19:15:02.000Z | 2021-11-26T08:05:46.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 40.242297 | 150 | 0.628789 | 3,474 | 28,733 | 4.986471 | 0.059298 | 0.098424 | 0.088899 | 0.073659 | 0.852855 | 0.822952 | 0.786873 | 0.752352 | 0.736882 | 0.702419 | 0 | 0.000047 | 0.263913 | 28,733 | 713 | 151 | 40.298738 | 0.819007 | 0.288727 | 0 | 0.611511 | 1 | 0 | 0.087051 | 0.016591 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165468 | false | 0.002398 | 0.01199 | 0 | 0.280576 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0f671ec5ae5d7110499cfacf5a341c8c1013e3ad | 26,956 | py | Python | ats/tests/tests_views.py | dictoss/active-task-summary | 1febb3b9e9e2a4e83a555cecfab374eb5eeaa816 | [
"BSD-2-Clause"
] | 2 | 2016-11-11T00:07:42.000Z | 2017-04-23T10:58:43.000Z | ats/tests/tests_views.py | dictoss/active-task-summary | 1febb3b9e9e2a4e83a555cecfab374eb5eeaa816 | [
"BSD-2-Clause"
] | 43 | 2015-04-02T13:06:37.000Z | 2022-02-19T14:30:57.000Z | ats/tests/tests_views.py | dictoss/active-task-summary | 1febb3b9e9e2a4e83a555cecfab374eb5eeaa816 | [
"BSD-2-Clause"
] | null | null | null | from django.test import TestCase, Client, RequestFactory
from django.urls import reverse
from django.contrib.auth.models import User
from django.db import IntegrityError
import datetime
from datetime import timedelta
import pytz
from ..views import (
format_totaltime,
format_hours_float,
get_projects_in_... | 30.458757 | 73 | 0.549414 | 2,681 | 26,956 | 5.293174 | 0.075345 | 0.052146 | 0.054542 | 0.071524 | 0.866394 | 0.847368 | 0.825382 | 0.820943 | 0.8115 | 0.803256 | 0 | 0.041585 | 0.33896 | 26,956 | 884 | 74 | 30.493213 | 0.754812 | 0.012242 | 0 | 0.77554 | 0 | 0 | 0.111491 | 0.009473 | 0 | 0 | 0 | 0 | 0.099281 | 1 | 0.077698 | false | 0.115108 | 0.01295 | 0 | 0.184173 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
0f6b71be95be7ce75420c4b6a729f4804369a4e7 | 949 | py | Python | UrsinaShaderBuilder/ExtraData/extra_models.py | Werxzy/UrsinaShaderBuilder | 1ee13e36d3787a73e84f6b4bf9b51c51ba75c79b | [
"MIT"
] | 3 | 2022-03-01T00:01:30.000Z | 2022-03-13T16:05:06.000Z | UrsinaShaderBuilder/ExtraData/extra_models.py | Werxzy/UrsinaShaderBuilder | 1ee13e36d3787a73e84f6b4bf9b51c51ba75c79b | [
"MIT"
] | null | null | null | UrsinaShaderBuilder/ExtraData/extra_models.py | Werxzy/UrsinaShaderBuilder | 1ee13e36d3787a73e84f6b4bf9b51c51ba75c79b | [
"MIT"
] | null | null | null | from ursina import Vec3
# mode = 'ngon'
x_vert = [Vec3(0,1,0), Vec3(-1,2,0), Vec3(-2,1,0), Vec3(-1,0,0), Vec3(-2,-1,0), Vec3(-1,-2,0), Vec3(0,-1,0), Vec3(1,-2,0), Vec3(2,-1,0), Vec3(1,0,0), Vec3(2,1,0), Vec3(1,2,0)]
check_vert = [Vec3(-0.5,0,0), Vec3(-1.5,1,0), Vec3(-2.5,0,0), Vec3(-0.5,-2,0), Vec3(2.5,1,0), Vec3(1.5,2... | 67.785714 | 175 | 0.542677 | 249 | 949 | 2.02008 | 0.080321 | 0.467197 | 0.262425 | 0.139165 | 0.739563 | 0.739563 | 0.739563 | 0.739563 | 0.739563 | 0.739563 | 0 | 0.262045 | 0.103267 | 949 | 14 | 176 | 67.785714 | 0.329025 | 0.032666 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0f6e4a410cf57c465a5c2b2cb63e53b5f1a4f640 | 31,494 | py | Python | read_xml_all/calcul_matrix_je_le_qui_dans_de_192_matrix_good_compare_1.py | daniel20162016/my-first | f9554dd476302b26e8a296393025f150922f349c | [
"MIT"
] | null | null | null | read_xml_all/calcul_matrix_je_le_qui_dans_de_192_matrix_good_compare_1.py | daniel20162016/my-first | f9554dd476302b26e8a296393025f150922f349c | [
"MIT"
] | null | null | null | read_xml_all/calcul_matrix_je_le_qui_dans_de_192_matrix_good_compare_1.py | daniel20162016/my-first | f9554dd476302b26e8a296393025f150922f349c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Oct 31 15:45:22 2016
@author: wang
"""
#from matplotlib import pylab as plt
#from numpy import fft, fromstring, int16, linspace
#import wave
from read_wav_xml_good_1 import*
from matrix_24_2 import*
from max_matrix_norm import*
import numpy as np
# open a wave file
filename... | 45.25 | 392 | 0.498539 | 5,029 | 31,494 | 2.679061 | 0.019885 | 0.034513 | 0.042678 | 0.124694 | 0.949826 | 0.945001 | 0.942181 | 0.901432 | 0.899577 | 0.899577 | 0 | 0.065017 | 0.122404 | 31,494 | 696 | 392 | 45.25 | 0.422447 | 0.392773 | 0 | 0.905077 | 0 | 0 | 0.006154 | 0.004775 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00883 | null | null | 0.002208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0f885f32400bdb20dc67b77fc5021d99ed6b859f | 84 | py | Python | frameworks/NODE/__init__.py | termit209/automlbenchmark | 07046564a5fac762a9beae8e77a9a672170873c7 | [
"MIT"
] | null | null | null | frameworks/NODE/__init__.py | termit209/automlbenchmark | 07046564a5fac762a9beae8e77a9a672170873c7 | [
"MIT"
] | 1 | 2021-02-04T11:57:14.000Z | 2021-02-04T11:59:54.000Z | frameworks/NODE/__init__.py | termit209/automlbenchmark | 07046564a5fac762a9beae8e77a9a672170873c7 | [
"MIT"
] | 2 | 2021-02-04T12:00:49.000Z | 2021-02-04T12:26:23.000Z |
def run(*args, **kwargs):
from .exec import run
return run(*args, **kwargs) | 21 | 31 | 0.619048 | 12 | 84 | 4.333333 | 0.666667 | 0.269231 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 84 | 4 | 31 | 21 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
0e291545e3b5c24d932d94c62743c850a5df89f3 | 1,927 | py | Python | recipes-python_st/imx6sx-webserver/addwebserver/Flask_orion/app/xml_parser.py | Stefan12321/meta-python_st | 8ff187963bfd15dbfd6a6c74ae913935be3e6cce | [
"MIT"
] | null | null | null | recipes-python_st/imx6sx-webserver/addwebserver/Flask_orion/app/xml_parser.py | Stefan12321/meta-python_st | 8ff187963bfd15dbfd6a6c74ae913935be3e6cce | [
"MIT"
] | null | null | null | recipes-python_st/imx6sx-webserver/addwebserver/Flask_orion/app/xml_parser.py | Stefan12321/meta-python_st | 8ff187963bfd15dbfd6a6c74ae913935be3e6cce | [
"MIT"
] | 1 | 2022-02-08T08:35:31.000Z | 2022-02-08T08:35:31.000Z | import xml.etree.cElementTree as ET
def xml_parser_read(path='/files_61850/KALINA.CID'):
tree = ET.parse(path)
root = tree.getroot()
pref = '{http://www.iec.ch/61850/2003/SCL}'
ip = root.findall(
'{pref}Communication/{pref}SubNetwork/{pref}ConnectedAP/{pref}Address/{pref}P[@type="IP"]'.format(... | 53.527778 | 146 | 0.679813 | 279 | 1,927 | 4.637993 | 0.200717 | 0.085008 | 0.11592 | 0.173107 | 0.814529 | 0.814529 | 0.814529 | 0.76507 | 0.76507 | 0.723338 | 0 | 0.034058 | 0.116243 | 1,927 | 36 | 147 | 53.527778 | 0.725778 | 0.037883 | 0 | 0.206897 | 0 | 0.206897 | 0.443305 | 0.384449 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0e41c7c27bf635315f4fb9ff9b27bbf64aeaed81 | 4,951 | py | Python | usaspending_api/disaster/tests/integration/test_disaster_award_amount.py | jbuendiallc/usaspending-api | f827870cbca4b6a6e16f1c5272bb2ff73a113d76 | [
"CC0-1.0"
] | 1 | 2020-08-14T04:14:32.000Z | 2020-08-14T04:14:32.000Z | usaspending_api/disaster/tests/integration/test_disaster_award_amount.py | jbuendiallc/usaspending-api | f827870cbca4b6a6e16f1c5272bb2ff73a113d76 | [
"CC0-1.0"
] | null | null | null | usaspending_api/disaster/tests/integration/test_disaster_award_amount.py | jbuendiallc/usaspending-api | f827870cbca4b6a6e16f1c5272bb2ff73a113d76 | [
"CC0-1.0"
] | null | null | null | import pytest
from rest_framework import status
url = "/api/v2/disaster/award/amount/"
@pytest.mark.django_db
def test_award_amount_success(client, monkeypatch, generic_account_data, unlinked_faba_account_data, helpers):
helpers.patch_datetime_now(monkeypatch, 2022, 12, 31)
helpers.reset_dabs_cache()
r... | 39.608 | 120 | 0.722278 | 715 | 4,951 | 4.699301 | 0.160839 | 0.130952 | 0.129167 | 0.069643 | 0.827679 | 0.802381 | 0.795238 | 0.78631 | 0.741964 | 0.63869 | 0 | 0.047081 | 0.141992 | 4,951 | 124 | 121 | 39.927419 | 0.743879 | 0 | 0 | 0.5 | 0 | 0.010638 | 0.095536 | 0.006059 | 0 | 0 | 0 | 0 | 0.468085 | 1 | 0.095745 | false | 0 | 0.021277 | 0 | 0.117021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0e43b04c38d9bdc7a00d6636f52199eb19ef6669 | 2,592 | py | Python | src/utils/batch_cpu_insert.py | Metroynome/robo | 78c389decce98d0d1e4e4e02ccbfcba7b465209c | [
"MIT"
] | null | null | null | src/utils/batch_cpu_insert.py | Metroynome/robo | 78c389decce98d0d1e4e4e02ccbfcba7b465209c | [
"MIT"
] | null | null | null | src/utils/batch_cpu_insert.py | Metroynome/robo | 78c389decce98d0d1e4e4e02ccbfcba7b465209c | [
"MIT"
] | null | null | null | import sqlite3
import random
n_cpus = 999
db_file = "../../logs/database.db"
db_file = "file:" + db_file + "?mode=" + "rwc"
print("Using DB: {}".format(db_file))
# This will raise an error if it can't connect
conn = sqlite3.connect(db_file, uri=True, check_same_thread=False)
default_stats = '00C0A84400C... | 66.461538 | 829 | 0.824846 | 162 | 2,592 | 12.944444 | 0.493827 | 0.042918 | 0.024797 | 0.010491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.570871 | 0.109954 | 2,592 | 38 | 830 | 68.210526 | 0.338101 | 0.016975 | 0 | 0 | 0 | 0 | 0.641946 | 0.540271 | 0.035714 | 1 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.107143 | 0.071429 | 0 | 0.178571 | 0.071429 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
7ef0ddd65f9d900e2aa0d797937d9c580d6ad255 | 33 | py | Python | server/blueprints/admin_home/__init__.py | prakashsellathurai/fashion-Image-Recommender | e0f481133f19e3b8f7f45bf6fc97e39ea866d050 | [
"MIT"
] | 2 | 2021-07-31T14:01:01.000Z | 2021-08-01T11:09:57.000Z | server/blueprints/admin_home/__init__.py | prakashsellathurai/fashion-Image-Recommender | e0f481133f19e3b8f7f45bf6fc97e39ea866d050 | [
"MIT"
] | 4 | 2021-04-30T21:36:10.000Z | 2021-11-10T19:58:49.000Z | server/blueprints/admin_home/__init__.py | prakashsellathurai/fashion-Image-Recommender | e0f481133f19e3b8f7f45bf6fc97e39ea866d050 | [
"MIT"
] | null | null | null | from .blueprint import admin_home | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
7efdb5e041e5ac7a51dad9560ec80c85ac2503ba | 190 | py | Python | test/integration/samples_in/two_liner.py | Inveracity/flynt | b975b6f61893d5db1114d68fbb5d212c4e11aeb8 | [
"MIT"
] | 487 | 2019-06-10T17:44:56.000Z | 2022-03-26T01:28:19.000Z | test/integration/samples_in/two_liner.py | Inveracity/flynt | b975b6f61893d5db1114d68fbb5d212c4e11aeb8 | [
"MIT"
] | 118 | 2019-07-03T12:26:39.000Z | 2022-03-06T22:40:17.000Z | test/integration/samples_in/two_liner.py | Inveracity/flynt | b975b6f61893d5db1114d68fbb5d212c4e11aeb8 | [
"MIT"
] | 25 | 2019-07-10T08:39:58.000Z | 2022-03-03T14:44:15.000Z | x, y = 1, 2
a = ('line 1 {}'
' line 2 {}'.format(x, y))
b = ('line 1234567890 1234567890 1234567890 1234567890 {}'
' 1234567890 1234567890 1234567890 1234567890 {}'.format(x, y)) | 31.666667 | 69 | 0.610526 | 25 | 190 | 4.64 | 0.36 | 1.206897 | 1.551724 | 1.724138 | 0.689655 | 0.689655 | 0.689655 | 0 | 0 | 0 | 0 | 0.563758 | 0.215789 | 190 | 6 | 69 | 31.666667 | 0.214765 | 0 | 0 | 0 | 0 | 0 | 0.617801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7d441d1b467697a91e698e563ebd6b0769e7f99f | 26,551 | py | Python | tests/test_packages/test_connections/test_http_server/test_http_server.py | lrahmani/agents-aea | 9bd1d51530fc21bf41b5adea031cda19a94b048b | [
"Apache-2.0"
] | null | null | null | tests/test_packages/test_connections/test_http_server/test_http_server.py | lrahmani/agents-aea | 9bd1d51530fc21bf41b5adea031cda19a94b048b | [
"Apache-2.0"
] | null | null | null | tests/test_packages/test_connections/test_http_server/test_http_server.py | lrahmani/agents-aea | 9bd1d51530fc21bf41b5adea031cda19a94b048b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2018-2019 Fetch.AI Limited
#
# 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 ... | 37.134266 | 89 | 0.616851 | 3,006 | 26,551 | 5.234531 | 0.087824 | 0.069399 | 0.047537 | 0.014236 | 0.902574 | 0.89749 | 0.886432 | 0.875818 | 0.859422 | 0.859422 | 0 | 0.008531 | 0.280366 | 26,551 | 714 | 90 | 37.186275 | 0.814989 | 0.078528 | 0 | 0.820652 | 0 | 0 | 0.034268 | 0 | 0 | 0 | 0 | 0 | 0.077899 | 1 | 0.038043 | false | 0 | 0.027174 | 0 | 0.108696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cb2e8dd584901034c7921a00bc577f21dedc3f4d | 1,461 | py | Python | align_rudder/envs/utils.py | ml-jku/align-rudder | 26cf4b62a713e180063cefc2921981484ebb9165 | [
"MIT"
] | 12 | 2020-09-30T08:15:44.000Z | 2021-12-22T03:36:33.000Z | align_rudder/envs/utils.py | ml-jku/align-rudder | 26cf4b62a713e180063cefc2921981484ebb9165 | [
"MIT"
] | null | null | null | align_rudder/envs/utils.py | ml-jku/align-rudder | 26cf4b62a713e180063cefc2921981484ebb9165 | [
"MIT"
] | 1 | 2020-12-09T21:33:28.000Z | 2020-12-09T21:33:28.000Z | import numpy as np
class Utils:
@staticmethod
def to_one_hot(a, len_):
b = np.zeros((a.size, len_))
b[np.arange(a.size), a] = 1
return b
@staticmethod
def to_one_hot_obs(obs, len_):
return np.array([Utils.to_one_hot(np.array(x), len_) for x in obs]).reshape(-1, len_ * ... | 26.089286 | 97 | 0.57974 | 239 | 1,461 | 3.280335 | 0.154812 | 0.076531 | 0.122449 | 0.204082 | 0.73852 | 0.73852 | 0.727041 | 0.658163 | 0.658163 | 0.658163 | 0 | 0.023697 | 0.277892 | 1,461 | 55 | 98 | 26.563636 | 0.719431 | 0 | 0 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243902 | false | 0 | 0.02439 | 0.146341 | 0.560976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
cbb2b26da682b7d50be415dbdc32907ea48f0164 | 8,021 | py | Python | knrm.py | YuanyuanQi/CGTR | 363d96842a23016aaad5254074b10ecea91bf475 | [
"MIT"
] | null | null | null | knrm.py | YuanyuanQi/CGTR | 363d96842a23016aaad5254074b10ecea91bf475 | [
"MIT"
] | null | null | null | knrm.py | YuanyuanQi/CGTR | 363d96842a23016aaad5254074b10ecea91bf475 | [
"MIT"
] | null | null | null | import os
'''os.environ["CUDA_VISIBLE_DEVICES"] = "1,0"
for item in [1,2,3,4,5]:
os.system("python train.py --model bert_knrm --datafiles data/robust/queries.tsv data/robust/documents.stem.sw.tsv --qrels data/robust/qrels --train_pairs data/robust/f{0}.train.pairs --valid_run data/robust/f{1}.valid.run --mod... | 104.168831 | 412 | 0.734322 | 1,333 | 8,021 | 4.327832 | 0.070518 | 0.164673 | 0.072456 | 0.08563 | 0.943491 | 0.934651 | 0.920784 | 0.91281 | 0.899289 | 0.892529 | 0 | 0.070664 | 0.091385 | 8,021 | 76 | 413 | 105.539474 | 0.720911 | 0.158584 | 0 | 0 | 0 | 0.2 | 0.719758 | 0.368952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cbb8dc80c2308a98f5d5197aadea80711edf32b6 | 338 | py | Python | linear_algebra_by_j_borwnlee/ch_07/vector_arithmetic.py | pavelexpertov/scribbles | 50ebcd6a686fd32be20d401563db7cc87781a428 | [
"MIT"
] | null | null | null | linear_algebra_by_j_borwnlee/ch_07/vector_arithmetic.py | pavelexpertov/scribbles | 50ebcd6a686fd32be20d401563db7cc87781a428 | [
"MIT"
] | null | null | null | linear_algebra_by_j_borwnlee/ch_07/vector_arithmetic.py | pavelexpertov/scribbles | 50ebcd6a686fd32be20d401563db7cc87781a428 | [
"MIT"
] | null | null | null |
def add(l1, l2):
return [x + y for x, y in zip(l1, l2)]
def minus(l1, l2):
return [x - y for x, y in zip(l1, l2)]
def multiply(l1, l2):
return [x * y for x, y in zip(l1, l2)]
def divide(l1, l2):
return [x / y for x, y in zip(l1, l2)]
def dot_product(l1, l2):
products = multiply(l1, l2)
ret... | 18.777778 | 42 | 0.571006 | 68 | 338 | 2.823529 | 0.25 | 0.208333 | 0.260417 | 0.229167 | 0.604167 | 0.604167 | 0.604167 | 0.604167 | 0.604167 | 0.604167 | 0 | 0.080972 | 0.269231 | 338 | 17 | 43 | 19.882353 | 0.696356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.363636 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
1dff73c3014c6d29cac64be101db79118171969a | 915 | py | Python | colour_hdri/tonemapping/global_operators/__init__.py | colour-science/colour-hdri | 3a97c4ad8bc328e2fffabf84ac8b56d795dbeb82 | [
"BSD-3-Clause"
] | 92 | 2015-09-19T22:11:15.000Z | 2022-03-13T06:37:53.000Z | colour_hdri/tonemapping/global_operators/__init__.py | colour-science/colour-hdri | 3a97c4ad8bc328e2fffabf84ac8b56d795dbeb82 | [
"BSD-3-Clause"
] | 24 | 2017-05-25T08:55:10.000Z | 2022-03-30T18:26:43.000Z | colour_hdri/tonemapping/global_operators/__init__.py | colour-science/colour-hdri | 3a97c4ad8bc328e2fffabf84ac8b56d795dbeb82 | [
"BSD-3-Clause"
] | 9 | 2016-01-18T17:29:51.000Z | 2020-11-12T12:54:18.000Z | # -*- coding: utf-8 -*-
from .operators import (
tonemapping_operator_simple, tonemapping_operator_normalisation,
tonemapping_operator_gamma, tonemapping_operator_logarithmic,
tonemapping_operator_exponential, tonemapping_operator_logarithmic_mapping,
tonemapping_operator_exponentiation_mapping,
to... | 38.125 | 79 | 0.821858 | 77 | 915 | 9.090909 | 0.25974 | 0.597143 | 0.171429 | 0.102857 | 0.954286 | 0.954286 | 0.954286 | 0.954286 | 0.954286 | 0.954286 | 0 | 0.030864 | 0.114754 | 915 | 23 | 80 | 39.782609 | 0.833333 | 0.022951 | 0 | 0 | 0 | 0 | 0.401345 | 0.401345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3804a5675d3a303137a1b9189e165facab2709ca | 34,388 | py | Python | genomics_data_index/test/integration/storage/io/mutation/test_VariationFile.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | 12 | 2021-05-03T20:56:05.000Z | 2022-01-04T14:52:19.000Z | genomics_data_index/test/integration/storage/io/mutation/test_VariationFile.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | 30 | 2021-04-26T23:03:40.000Z | 2022-02-25T18:41:14.000Z | genomics_data_index/test/integration/storage/io/mutation/test_VariationFile.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | null | null | null | import tempfile
from pathlib import Path
import pytest
from genomics_data_index.storage.MaskedGenomicRegions import MaskedGenomicRegions
from genomics_data_index.storage.io.mutation.SequenceFile import SequenceFile
from genomics_data_index.storage.io.mutation.VariationFile import VariationFile
from genomics_data_inde... | 52.340944 | 120 | 0.656043 | 4,821 | 34,388 | 4.411948 | 0.064924 | 0.056276 | 0.053597 | 0.041467 | 0.874048 | 0.844429 | 0.81166 | 0.766902 | 0.741514 | 0.728209 | 0 | 0.077937 | 0.168315 | 34,388 | 656 | 121 | 52.420732 | 0.665769 | 0.018495 | 0 | 0.597586 | 0 | 0 | 0.262654 | 0.083262 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.04829 | false | 0 | 0.024145 | 0.002012 | 0.074447 | 0.008048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
380877c8ff4a71bf178da3cd1d696808024ca34b | 128 | py | Python | anvil/sub_rig_templates/biped_leg.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 3 | 2019-11-22T04:38:06.000Z | 2022-01-19T08:27:18.000Z | anvil/sub_rig_templates/biped_leg.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 28 | 2018-02-01T20:39:42.000Z | 2018-04-26T17:25:23.000Z | anvil/sub_rig_templates/biped_leg.py | AndresMWeber/Anvil | 9cd202183ac998983c2bf6e55cc46bbc0ca1a78e | [
"Apache-2.0"
] | 1 | 2018-03-11T06:47:26.000Z | 2018-03-11T06:47:26.000Z | from limb import Limb
class BipedLeg(Limb):
BUILT_IN_META_DATA = Limb.BUILT_IN_META_DATA.merge({'name': 'leg'}, new=True)
| 21.333333 | 81 | 0.734375 | 21 | 128 | 4.190476 | 0.666667 | 0.204545 | 0.25 | 0.340909 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 128 | 5 | 82 | 25.6 | 0.792793 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 7 |
380e954db5d10829faf1e4c91d126ec2e099c3b3 | 40,282 | py | Python | sdk/python/pulumi_aws_native/dynamodb/_inputs.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/dynamodb/_inputs.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/dynamodb/_inputs.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # 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! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__a... | 39.453477 | 156 | 0.709175 | 4,361 | 40,282 | 6.208209 | 0.03967 | 0.110106 | 0.069144 | 0.050528 | 0.828618 | 0.775356 | 0.748541 | 0.70311 | 0.672342 | 0.62536 | 0 | 0.00003 | 0.18013 | 40,282 | 1,020 | 157 | 39.492157 | 0.819748 | 0.003997 | 0 | 0.668317 | 1 | 0 | 0.194516 | 0.121625 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216584 | false | 0 | 0.006188 | 0.089109 | 0.350248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
384a9e349e88c305a8a8ae1fc6d200c52d5864b0 | 1,395 | py | Python | nautobot_ssot/migrations/0002_performance_metrics.py | smk4664/nautobot-plugin-ssot | 7020d0d1910a09c408885bae9f9324fb91977928 | [
"Apache-2.0"
] | 9 | 2021-07-28T19:21:22.000Z | 2022-02-16T10:00:36.000Z | nautobot_ssot/migrations/0002_performance_metrics.py | smk4664/nautobot-plugin-ssot | 7020d0d1910a09c408885bae9f9324fb91977928 | [
"Apache-2.0"
] | 15 | 2021-11-10T07:18:59.000Z | 2022-03-28T05:39:55.000Z | nautobot_ssot/migrations/0002_performance_metrics.py | smk4664/nautobot-plugin-ssot | 7020d0d1910a09c408885bae9f9324fb91977928 | [
"Apache-2.0"
] | 6 | 2021-09-22T15:38:11.000Z | 2022-03-15T14:46:14.000Z | # Generated by Django 3.1.13 on 2021-12-13 14:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("nautobot_ssot", "0001_initial"),
]
operations = [
migrations.AddField(
model_name="sync",
name="diff_time",
... | 28.469388 | 62 | 0.551254 | 135 | 1,395 | 5.562963 | 0.318519 | 0.08522 | 0.214381 | 0.251664 | 0.76032 | 0.76032 | 0.713715 | 0.713715 | 0.648469 | 0.648469 | 0 | 0.02139 | 0.329749 | 1,395 | 48 | 63 | 29.0625 | 0.781818 | 0.032975 | 0 | 0.666667 | 1 | 0 | 0.101708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
698eaa6bca50ad74cb6cd234f3e80d030358b056 | 88 | py | Python | 03_Estrutura_de_Repeticao/06_imprime_vinte_numeros.py | gabrieldcpadilha/ListaDeExercicios-PythonBrasil | a92d477468bde5eac8987a26ea79af2ffeb6ad81 | [
"MIT"
] | null | null | null | 03_Estrutura_de_Repeticao/06_imprime_vinte_numeros.py | gabrieldcpadilha/ListaDeExercicios-PythonBrasil | a92d477468bde5eac8987a26ea79af2ffeb6ad81 | [
"MIT"
] | 10 | 2020-08-19T04:31:52.000Z | 2020-09-21T22:48:29.000Z | 03_Estrutura_de_Repeticao/06_imprime_vinte_numeros.py | gabrieldcpadilha/ListaDeExercicios-PythonBrasil | a92d477468bde5eac8987a26ea79af2ffeb6ad81 | [
"MIT"
] | null | null | null | for n in range(1, 21):
print(n)
for n in range(1, 21):
print(f"{n}", end=', ')
| 14.666667 | 27 | 0.5 | 18 | 88 | 2.444444 | 0.5 | 0.181818 | 0.272727 | 0.5 | 0.863636 | 0.863636 | 0.863636 | 0 | 0 | 0 | 0 | 0.092308 | 0.261364 | 88 | 5 | 28 | 17.6 | 0.584615 | 0 | 0 | 0.5 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
69bf2c35ee78c064112da892785606d9cec29fd2 | 146 | py | Python | panoptes/analysis/axes/all.py | oberlin/panoptes | 67d451ea4ffc58c23b5f347bfa5609fa7f853b45 | [
"BSD-3-Clause"
] | 2 | 2017-07-24T05:11:59.000Z | 2017-08-27T19:17:42.000Z | panoptes/analysis/axes/all.py | oberlin/panoptes | 67d451ea4ffc58c23b5f347bfa5609fa7f853b45 | [
"BSD-3-Clause"
] | null | null | null | panoptes/analysis/axes/all.py | oberlin/panoptes | 67d451ea4ffc58c23b5f347bfa5609fa7f853b45 | [
"BSD-3-Clause"
] | null | null | null |
from panoptes.analysis.axes.x import applications, days, hours, workstations
from panoptes.analysis.axes.y import app_use, avg_session, sessions
| 36.5 | 76 | 0.828767 | 21 | 146 | 5.666667 | 0.761905 | 0.201681 | 0.336134 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 146 | 3 | 77 | 48.666667 | 0.901515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
69c5e31059156644a6fde78ba8bc910362beb4de | 41 | py | Python | to_classification.py | SkirOwen/aie | 22c64983d53f193e70b045003cc872970ab56804 | [
"MIT"
] | 2 | 2021-03-24T04:02:32.000Z | 2021-03-25T16:29:37.000Z | to_classification.py | SkirOwen/aie | 22c64983d53f193e70b045003cc872970ab56804 | [
"MIT"
] | 2 | 2021-03-25T16:00:12.000Z | 2021-04-01T00:40:26.000Z | to_classification.py | SkirOwen/aie | 22c64983d53f193e70b045003cc872970ab56804 | [
"MIT"
] | null | null | null | import numpy as np
def n2a():
pass
| 6.833333 | 18 | 0.609756 | 7 | 41 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.317073 | 41 | 5 | 19 | 8.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
385e6bb9993041b8a045764572d82b7438e2b123 | 130 | py | Python | src/test/test_todolist.py | eu-snehagupta/todolist | c476f35930cb58c182b8e771a347883a8623910f | [
"MIT"
] | null | null | null | src/test/test_todolist.py | eu-snehagupta/todolist | c476f35930cb58c182b8e771a347883a8623910f | [
"MIT"
] | 7 | 2021-06-07T14:24:19.000Z | 2021-06-14T14:05:13.000Z | src/test/test_todolist.py | eu-snehagupta/todolist | c476f35930cb58c182b8e771a347883a8623910f | [
"MIT"
] | null | null | null | import pytest
from src.main import todolist
def get_list_when_empty():
# tasklist = todolist.Todolist.get_list()
pass
| 13 | 45 | 0.730769 | 18 | 130 | 5.055556 | 0.722222 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 130 | 9 | 46 | 14.444444 | 0.866667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
387a3d7f19c4aa2fd99e4f3c0db420c386b34b01 | 30,622 | py | Python | faceplate_emulator/host/vwradio/tests/test_radios.py | mullets/vwradio | ac5e95579ac16389e59e8c1a45b41b5e0933cad4 | [
"BSD-3-Clause"
] | 45 | 2018-06-16T07:52:05.000Z | 2022-03-08T15:55:02.000Z | faceplate_emulator/host/vwradio/tests/test_radios.py | matt2005/vwradio | ac5e95579ac16389e59e8c1a45b41b5e0933cad4 | [
"BSD-3-Clause"
] | 1 | 2018-03-28T17:13:53.000Z | 2019-03-02T19:06:34.000Z | faceplate_emulator/host/vwradio/tests/test_radios.py | matt2005/vwradio | ac5e95579ac16389e59e8c1a45b41b5e0933cad4 | [
"BSD-3-Clause"
] | 8 | 2018-06-15T09:22:44.000Z | 2021-09-23T20:16:54.000Z | import unittest
from vwradio.radios import Radio
from vwradio.constants import OperationModes, DisplayModes, TunerBands
class TestRadio(unittest.TestCase):
def test_safe_mode(self):
values = (
# Premium 4
(b" 0000 ", 0, 0, OperationModes.SAFE_ENTRY),
(b"1 1234... | 38.087065 | 71 | 0.582555 | 3,430 | 30,622 | 5.014869 | 0.063557 | 0.143887 | 0.191849 | 0.139527 | 0.833789 | 0.807221 | 0.773153 | 0.740945 | 0.735015 | 0.730946 | 0 | 0.041449 | 0.326367 | 30,622 | 803 | 72 | 38.134496 | 0.792418 | 0.049605 | 0 | 0.577381 | 0 | 0 | 0.056088 | 0 | 0 | 0 | 0.001655 | 0 | 0.245536 | 1 | 0.068452 | false | 0 | 0.004464 | 0 | 0.074405 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3882604e53e6064936b2cdae0370ecfe7ea5fcbe | 21,333 | py | Python | util/data/gen/GameAssembly.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/GameAssembly.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/GameAssembly.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'CloseZStream', 'address': '0x7ffaa6a3f0f0'}, {'type': 'function', 'name': 'CreateZStream', 'address': '0x7ffaa6a3f1a0'}, {'type': 'function', 'name': 'DllCanUnloadNow', 'address': '0x7ffaa6a1f2d0'}, {'type': 'function', 'name': 'DllGetActivationFactory', 'address': ... | 10,666.5 | 21,320 | 0.707074 | 2,198 | 21,333 | 6.518653 | 0.199727 | 0.201005 | 0.268007 | 0.351619 | 0.528197 | 0.399777 | 0.130025 | 0.054299 | 0.007677 | 0 | 0 | 0.100608 | 0.067689 | 21,333 | 2 | 21,320 | 10,666.5 | 0.61979 | 0 | 0 | 0 | 0 | 0 | 0.706384 | 0.254992 | 0 | 0 | 0.157495 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
38b9b3560a1c59e5b6130170892ca5f275d8f483 | 29,150 | py | Python | seqgra/learner/tensorflow/keraslearner.py | gifford-lab/seqgra | 3c7547878ecda4c00572746b8a07e0d614c9dbef | [
"MIT"
] | null | null | null | seqgra/learner/tensorflow/keraslearner.py | gifford-lab/seqgra | 3c7547878ecda4c00572746b8a07e0d614c9dbef | [
"MIT"
] | null | null | null | seqgra/learner/tensorflow/keraslearner.py | gifford-lab/seqgra | 3c7547878ecda4c00572746b8a07e0d614c9dbef | [
"MIT"
] | 2 | 2021-06-14T20:27:40.000Z | 2021-06-14T20:29:29.000Z | """MIT - CSAIL - Gifford Lab - seqgra
TensorFlow Keras learners
@author: Konstantin Krismer
"""
from distutils.util import strtobool
from typing import Any, List, Optional
import numpy as np
import tensorflow as tf
from seqgra import ModelSize
from seqgra.learner import DNAMultiClassClassificationLearner
from seqgr... | 43.121302 | 81 | 0.591973 | 3,393 | 29,150 | 4.841733 | 0.04863 | 0.046749 | 0.024105 | 0.038958 | 0.949172 | 0.949172 | 0.949172 | 0.949172 | 0.949172 | 0.949172 | 0 | 0.003184 | 0.310429 | 29,150 | 675 | 82 | 43.185185 | 0.814089 | 0.01163 | 0 | 0.961326 | 0 | 0 | 0.063444 | 0.007223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139963 | false | 0 | 0.020258 | 0.036832 | 0.255985 | 0.014733 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c7f9549e95823f0cbe72ff61ca903d6a0d6c6820 | 162 | py | Python | src/utils/general_validation.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | src/utils/general_validation.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | src/utils/general_validation.py | BoaVaga/boavaga_server | 7d25a68832d3b9f4f5666d0a3d55c99025498511 | [
"MIT"
] | null | null | null | import re
_REGEX_VALIDATE_TEL = re.compile(r'^\+?[0-9]{1,19}$')
def validate_telefone(tel: str) -> bool:
return _REGEX_VALIDATE_TEL.match(tel) is not None
| 20.25 | 53 | 0.703704 | 27 | 162 | 3.962963 | 0.740741 | 0.242991 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.135802 | 162 | 7 | 54 | 23.142857 | 0.728571 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
2a009883358ef4f7b8a269b3e2fa367f463e7834 | 77 | py | Python | themata/__init__.py | Thecarisma/themata | 09a8ce670479ea4e9b5a26457f5cb290728f604a | [
"CC0-1.0"
] | 2 | 2020-04-27T10:14:54.000Z | 2020-04-28T01:24:59.000Z | themata/__init__.py | Thecarisma/themata | 09a8ce670479ea4e9b5a26457f5cb290728f604a | [
"CC0-1.0"
] | 28 | 2020-05-16T19:50:54.000Z | 2021-12-02T07:38:03.000Z | themata/__init__.py | Thecarisma/themata | 09a8ce670479ea4e9b5a26457f5cb290728f604a | [
"CC0-1.0"
] | null | null | null | import os
def get_html_theme_path():
return os.path.dirname(__file__) | 19.25 | 36 | 0.74026 | 12 | 77 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 4 | 36 | 19.25 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
aa7bd4f0e5ded6bb26301c1f01d5a48f4f082f1f | 137 | py | Python | database/seed/users.py | eddycheong/skeleton-flask-sqlalchemy | 117e4cac0bf4d912f9546e2aeac77bccc2b7e3c0 | [
"MIT"
] | null | null | null | database/seed/users.py | eddycheong/skeleton-flask-sqlalchemy | 117e4cac0bf4d912f9546e2aeac77bccc2b7e3c0 | [
"MIT"
] | null | null | null | database/seed/users.py | eddycheong/skeleton-flask-sqlalchemy | 117e4cac0bf4d912f9546e2aeac77bccc2b7e3c0 | [
"MIT"
] | null | null | null | from database.model import User
def seed_users():
return [
User(name="seed_user_1"),
User(name="seed_user_2"),
] | 19.571429 | 33 | 0.613139 | 19 | 137 | 4.157895 | 0.631579 | 0.202532 | 0.303797 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.255474 | 137 | 7 | 34 | 19.571429 | 0.754902 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
aab9141ed7548918316b11d21e1c62648a531143 | 9,349 | py | Python | tasks/LM/configs.py | omri123/rotational-unit-of-memory | e796c841e1e837df09497ba77c3bc285db47d02d | [
"MIT"
] | 82 | 2019-04-18T19:32:03.000Z | 2022-03-19T00:50:56.000Z | tasks/LM/configs.py | omri123/rotational-unit-of-memory | e796c841e1e837df09497ba77c3bc285db47d02d | [
"MIT"
] | 4 | 2019-04-22T11:58:43.000Z | 2020-05-31T01:43:03.000Z | tasks/LM/configs.py | omri123/rotational-unit-of-memory | e796c841e1e837df09497ba77c3bc285db47d02d | [
"MIT"
] | 26 | 2019-04-22T11:21:42.000Z | 2021-11-29T06:01:10.000Z | def get_config(model):
if model == 'ptb_fs_rum_test':
return ptb_fs_rum_test_config()
if model == 'ptb_fs_rum':
return ptb_fs_rum_config()
elif model == 'ptb_fs_goru':
return ptb_fs_goru_config()
elif model == 'ptb_fs_eunn':
return ptb_fs_eunn_config()
elif model == '... | 21.247727 | 52 | 0.61536 | 1,436 | 9,349 | 3.671309 | 0.066852 | 0.072838 | 0.02959 | 0.036419 | 0.902124 | 0.853945 | 0.802731 | 0.786229 | 0.786229 | 0.761191 | 0 | 0.098826 | 0.298642 | 9,349 | 439 | 53 | 21.296128 | 0.705201 | 0.021072 | 0 | 0.840731 | 0 | 0 | 0.040679 | 0.004961 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002611 | false | 0 | 0 | 0 | 0.958225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2ab221161d835a6c1e55713f418809ebec49b5c5 | 78,437 | py | Python | pysit/modeling/frequency_modeling.py | zfang-slim/PysitForPython3 | dc60537b26018e28d92b7a956a2cf96775f0bdf9 | [
"BSD-3-Clause"
] | null | null | null | pysit/modeling/frequency_modeling.py | zfang-slim/PysitForPython3 | dc60537b26018e28d92b7a956a2cf96775f0bdf9 | [
"BSD-3-Clause"
] | null | null | null | pysit/modeling/frequency_modeling.py | zfang-slim/PysitForPython3 | dc60537b26018e28d92b7a956a2cf96775f0bdf9 | [
"BSD-3-Clause"
] | 1 | 2020-06-13T07:13:07.000Z | 2020-06-13T07:13:07.000Z |
import itertools
from pysit.util.derivatives import build_derivative_matrix, build_permutation_matrix, build_heterogenous_matrices
from pysit.solvers.model_parameter import *
import sys
import copy
import numpy as np
from numpy.random import uniform
__all__ = ['FrequencyModeling']
__docformat__ = "restructuredtext ... | 37.81919 | 210 | 0.595255 | 9,600 | 78,437 | 4.740104 | 0.063333 | 0.049929 | 0.038765 | 0.01635 | 0.903219 | 0.891419 | 0.87753 | 0.853994 | 0.84538 | 0.834568 | 0 | 0.019243 | 0.306348 | 78,437 | 2,073 | 211 | 37.837434 | 0.817122 | 0.320843 | 0 | 0.762048 | 0 | 0.002008 | 0.066614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019076 | false | 0 | 0.031125 | 0.002008 | 0.063253 | 0.022088 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6331a05f39c0de1583407780f0d9ac4609563f18 | 11,735 | py | Python | wolf/flows/macow.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 75 | 2020-03-31T22:21:04.000Z | 2022-03-20T10:58:17.000Z | wolf/flows/macow.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 3 | 2021-02-03T07:07:14.000Z | 2022-03-08T20:58:43.000Z | wolf/flows/macow.py | andrecianflone/wolf | 826bbedc58d4d29871110349356868066a3108e6 | [
"Apache-2.0"
] | 10 | 2020-04-27T05:31:44.000Z | 2021-11-21T14:11:16.000Z | __author__ = 'max'
from overrides import overrides
from typing import Dict, Tuple
import torch
import torch.nn as nn
from wolf.flows.flow import Flow
from wolf.flows.normalization import ActNorm2dFlow
from wolf.flows.permutation import Conv1x1Flow
from wolf.flows.couplings import NICE2d, MaskedConvFlow
from wolf.flow... | 46.752988 | 108 | 0.625735 | 1,413 | 11,735 | 4.985846 | 0.094126 | 0.140525 | 0.188219 | 0.121789 | 0.817459 | 0.782967 | 0.77885 | 0.733428 | 0.707026 | 0.692122 | 0 | 0.016304 | 0.278739 | 11,735 | 250 | 109 | 46.94 | 0.816044 | 0.027269 | 0 | 0.535135 | 0 | 0 | 0.012259 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 1 | 0.059459 | false | 0 | 0.048649 | 0.005405 | 0.162162 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d6b232504f384dc58e0fde159c4c49dd8bd23d1 | 30,667 | py | Python | unopartylib/test/utxolocks_test.py | terhnt/unoparty-lib | f23bcfc91ac109dc8c248210229c253be7d405ed | [
"MIT"
] | null | null | null | unopartylib/test/utxolocks_test.py | terhnt/unoparty-lib | f23bcfc91ac109dc8c248210229c253be7d405ed | [
"MIT"
] | null | null | null | unopartylib/test/utxolocks_test.py | terhnt/unoparty-lib | f23bcfc91ac109dc8c248210229c253be7d405ed | [
"MIT"
] | null | null | null | #! /usr/bin/python3
import pytest
import binascii
from io import BytesIO
import bitcoin
import tempfile
from unopartylib.test import conftest # this is require near the top to do setup of the test suite
from unopartylib.test.util_test import CURR_DIR
from unopartylib.lib import (transaction)
from unopartylib.lib.mes... | 369.481928 | 27,318 | 0.973848 | 384 | 30,667 | 77.598958 | 0.273438 | 0.001611 | 0.00443 | 0.003826 | 0.052655 | 0.052655 | 0.051715 | 0.04799 | 0.042922 | 0.042922 | 0 | 0.599993 | 0.014185 | 30,667 | 82 | 27,319 | 373.987805 | 0.385651 | 0.004174 | 0 | 0.320755 | 0 | 0 | 0.921779 | 0.920003 | 0 | 1 | 0 | 0 | 0.056604 | 1 | 0.075472 | false | 0 | 0.169811 | 0 | 0.264151 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2dba028f15a26355a03fde0270efee77b963fbf2 | 739 | py | Python | chap3/3-6.py | StewedChickenwithStats/Answers-to-Python-Crash-Course | 9ffbe02abba5d111f702d920db7932303daf59d4 | [
"MIT"
] | 1 | 2022-02-21T07:05:48.000Z | 2022-02-21T07:05:48.000Z | chap3/3-6.py | StewedChickenwithStats/Answers-to-Python-Crash-Course | 9ffbe02abba5d111f702d920db7932303daf59d4 | [
"MIT"
] | null | null | null | chap3/3-6.py | StewedChickenwithStats/Answers-to-Python-Crash-Course | 9ffbe02abba5d111f702d920db7932303daf59d4 | [
"MIT"
] | null | null | null | people=['mom','dad','sister']
print("Now there will be a larger dining-table.")
people.insert(0,'brother')
people.insert(2,'friend')
people.append('teacher')
print("Dear "+people[0]+", I'd like to invite you to have dinner with me on Friday at my home.")
print("Dear "+people[1]+", I'd like to invite you to have dinner ... | 67.181818 | 96 | 0.696888 | 144 | 739 | 3.576389 | 0.277778 | 0.104854 | 0.174757 | 0.093204 | 0.739806 | 0.739806 | 0.739806 | 0.739806 | 0.739806 | 0.739806 | 0 | 0.012759 | 0.151556 | 739 | 11 | 97 | 67.181818 | 0.808612 | 0 | 0 | 0 | 0 | 0 | 0.697297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.636364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
931d107109b34c70d04ad0ab51c5390610f0e179 | 153 | py | Python | llvm/utils/lit/lit/LitFormats.py | clairechingching/ScaffCC | 737ae90f85d9fe79819d66219747d27efa4fa5b9 | [
"BSD-2-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | llvm/utils/lit/lit/LitFormats.py | clairechingching/ScaffCC | 737ae90f85d9fe79819d66219747d27efa4fa5b9 | [
"BSD-2-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | llvm/utils/lit/lit/LitFormats.py | clairechingching/ScaffCC | 737ae90f85d9fe79819d66219747d27efa4fa5b9 | [
"BSD-2-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | from TestFormats import FileBasedTest
from TestFormats import GoogleTest, ShTest, TclTest
from TestFormats import SyntaxCheckTest, OneCommandPerFileTest
| 38.25 | 62 | 0.882353 | 15 | 153 | 9 | 0.6 | 0.333333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 153 | 3 | 63 | 51 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
93245be5d708a2647fdae572c9b153da1c48df99 | 4,783 | py | Python | tests/python/test_ringbuf.py | yzhao1012/bcc | 15340c44b98d8ee97a6dce775de614fd268cee13 | [
"Apache-2.0"
] | 7 | 2020-08-24T01:56:06.000Z | 2022-02-26T15:49:44.000Z | tests/python/test_ringbuf.py | yzhao1012/bcc | 15340c44b98d8ee97a6dce775de614fd268cee13 | [
"Apache-2.0"
] | 9 | 2021-07-29T21:15:28.000Z | 2022-02-16T18:17:49.000Z | tests/python/test_ringbuf.py | yzhao1012/bcc | 15340c44b98d8ee97a6dce775de614fd268cee13 | [
"Apache-2.0"
] | 8 | 2019-01-25T21:48:34.000Z | 2022-03-15T16:21:50.000Z | #!/usr/bin/env python
# Copyright (c) PLUMgrid, Inc.
# Licensed under the Apache License, Version 2.0 (the "License")
from bcc import BPF
import os
import ctypes as ct
import random
import time
import subprocess
from unittest import main, TestCase, skipUnless
from utils import kernel_version_ge
class TestRingbuf(Test... | 30.081761 | 72 | 0.602133 | 627 | 4,783 | 4.354067 | 0.151515 | 0.048352 | 0.061538 | 0.052747 | 0.88022 | 0.872894 | 0.872894 | 0.872894 | 0.872894 | 0.872894 | 0 | 0.017041 | 0.263851 | 4,783 | 158 | 73 | 30.272152 | 0.758307 | 0.023416 | 0 | 0.832117 | 0 | 0 | 0.297129 | 0.088475 | 0 | 0 | 0 | 0 | 0.058394 | 1 | 0.058394 | false | 0 | 0.058394 | 0 | 0.19708 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
93453eddb88a7ed666a9350a363bc531cfe4670a | 69,932 | py | Python | infoblox_netmri/api/broker/v3_8_0/device_environment_monitor_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/broker/v3_8_0/device_environment_monitor_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/broker/v3_8_0/device_environment_monitor_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..broker import Broker
class DeviceEnvironmentMonitorBroker(Broker):
controller = "device_environment_monitors"
def index(self, **kwargs):
"""Lists the available device environment monitors. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ... | 55.194949 | 773 | 0.62598 | 8,124 | 69,932 | 5.337765 | 0.037543 | 0.068259 | 0.044369 | 0.073056 | 0.95148 | 0.950604 | 0.918412 | 0.906143 | 0.896573 | 0.893921 | 0 | 0.004155 | 0.294457 | 69,932 | 1,266 | 774 | 55.238547 | 0.874726 | 0.829177 | 0 | 0 | 0 | 0 | 0.074899 | 0.027328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.058824 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
fa79e9dcf40af0a83a9acd7897863e5ff55fe079 | 1,169 | py | Python | python/hetu/gpu_links/SamMaxLink.py | codecaution/Hetu | e278732c2fe3554c8d576585f5bcbf79ade31b68 | [
"Apache-2.0"
] | null | null | null | python/hetu/gpu_links/SamMaxLink.py | codecaution/Hetu | e278732c2fe3554c8d576585f5bcbf79ade31b68 | [
"Apache-2.0"
] | null | null | null | python/hetu/gpu_links/SamMaxLink.py | codecaution/Hetu | e278732c2fe3554c8d576585f5bcbf79ade31b68 | [
"Apache-2.0"
] | 3 | 2021-11-29T13:47:48.000Z | 2022-03-03T02:00:43.000Z | from __future__ import absolute_import
import ctypes
from .._base import _LIB
from .. import ndarray as _nd
def sammax_link(in_mat, top1_group, topk_indice, out_mat, num_local_gpus, stream=None):
assert isinstance(in_mat, _nd.NDArray)
assert isinstance(top1_group, _nd.NDArray)
assert isinstance(topk_indic... | 46.76 | 162 | 0.71343 | 160 | 1,169 | 4.84375 | 0.225 | 0.185806 | 0.135484 | 0.225806 | 0.766452 | 0.766452 | 0.766452 | 0.766452 | 0.766452 | 0.766452 | 0 | 0.006472 | 0.207015 | 1,169 | 24 | 163 | 48.708333 | 0.829558 | 0 | 0 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 1 | 0.105263 | false | 0 | 0.210526 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
35707622aa43bdf303238809cc191637a145ceca | 4,056 | py | Python | chord_rec/models/seq2seq/Seq2Seq.py | TianxueHu/ChordSymbolRec | d64a5be4f4914e6f682cb6d4079d7ba8a6fc2eac | [
"Unlicense",
"MIT"
] | null | null | null | chord_rec/models/seq2seq/Seq2Seq.py | TianxueHu/ChordSymbolRec | d64a5be4f4914e6f682cb6d4079d7ba8a6fc2eac | [
"Unlicense",
"MIT"
] | null | null | null | chord_rec/models/seq2seq/Seq2Seq.py | TianxueHu/ChordSymbolRec | d64a5be4f4914e6f682cb6d4079d7ba8a6fc2eac | [
"Unlicense",
"MIT"
] | null | null | null | import random
import torch
import torch.nn as nn
import torch.optim as optim
class BaseSeq2Seq(nn.Module):
""" The Sequence to Sequence model. """
def __init__(self, encoder, decoder, device):
super().__init__()
self.device = device
self.encoder = encoder.to(device)
self.deco... | 36.872727 | 138 | 0.605523 | 517 | 4,056 | 4.597679 | 0.162476 | 0.040387 | 0.022718 | 0.037863 | 0.93395 | 0.93395 | 0.93395 | 0.93395 | 0.93395 | 0.93395 | 0 | 0.01115 | 0.292406 | 4,056 | 109 | 139 | 37.211009 | 0.817073 | 0.251479 | 0 | 0.862069 | 0 | 0 | 0.074227 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.068966 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
358a5d02775541f8be8951352bd6bbea60ce714e | 121 | py | Python | ktrain/text/ner/__init__.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | ktrain/text/ner/__init__.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | ktrain/text/ner/__init__.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | from .data import entities_from_conll2003, entities_from_gmb
from .models import print_sequence_taggers, sequence_tagger
| 40.333333 | 60 | 0.884298 | 17 | 121 | 5.882353 | 0.647059 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.082645 | 121 | 2 | 61 | 60.5 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
35bf17164497091c3ba52580d494ce85ce0fef06 | 3,486 | py | Python | crossword/tests/test_grid_undo_redo.py | philhanna/crossword | db05c8301bba8b1b5f31e059d2bba2c734b0d0c0 | [
"MIT"
] | 1 | 2020-06-30T06:22:31.000Z | 2020-06-30T06:22:31.000Z | crossword/tests/test_grid_undo_redo.py | philhanna/crossword | db05c8301bba8b1b5f31e059d2bba2c734b0d0c0 | [
"MIT"
] | 145 | 2020-06-02T17:33:18.000Z | 2020-08-25T03:25:40.000Z | crossword/tests/test_grid_undo_redo.py | philhanna/crossword | db05c8301bba8b1b5f31e059d2bba2c734b0d0c0 | [
"MIT"
] | null | null | null | from unittest import TestCase
from crossword import Grid
class TestGridUndoRedo(TestCase):
def test_undo_with_empty_stack(self):
grid = Grid(5)
grid.undo()
self.assertListEqual([], grid.undo_stack)
self.assertListEqual([], grid.redo_stack)
pass
def test_redo_with_emp... | 38.733333 | 59 | 0.631096 | 497 | 3,486 | 4.209256 | 0.062374 | 0.329828 | 0.147228 | 0.200765 | 0.92782 | 0.919694 | 0.90392 | 0.876195 | 0.846558 | 0.846558 | 0 | 0.037394 | 0.225186 | 3,486 | 89 | 60 | 39.168539 | 0.737134 | 0 | 0 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.649351 | 1 | 0.064935 | false | 0.025974 | 0.025974 | 0 | 0.103896 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ea34631c3060db2ad16aa2888d898da8e44a3078 | 3,601 | py | Python | jangl_webleads_inbound/verticals/health_insurance.py | jangl-platform/jangl-webleads-inbound | 7ba7734c0614c946f52af23829b7c61ba4fa9460 | [
"MIT"
] | 1 | 2021-01-14T21:55:27.000Z | 2021-01-14T21:55:27.000Z | jangl_webleads_inbound/verticals/health_insurance.py | jangl-platform/jangl-webleads-inbound | 7ba7734c0614c946f52af23829b7c61ba4fa9460 | [
"MIT"
] | 1 | 2021-06-10T21:22:36.000Z | 2021-06-10T21:22:36.000Z | jangl_webleads_inbound/verticals/health_insurance.py | jangl-platform/jangl-webleads-inbound | 7ba7734c0614c946f52af23829b7c61ba4fa9460 | [
"MIT"
] | null | null | null | from rest_framework import serializers
allow_blank = {'default': '', 'initial': '', 'allow_blank': True}
allow_null = {'default': None, 'initial': None, 'allow_null': True}
empty_list = {'default': [], 'initial': [], 'many': True}
class RelativeSerializer(serializers.Serializer):
height = serializers.IntegerFiel... | 51.442857 | 84 | 0.783394 | 357 | 3,601 | 7.666667 | 0.196078 | 0.07563 | 0.204604 | 0.233833 | 0.863719 | 0.833394 | 0.833394 | 0.833394 | 0.833394 | 0.812203 | 0 | 0.010028 | 0.113857 | 3,601 | 69 | 85 | 52.188406 | 0.847697 | 0 | 0 | 0.793103 | 0 | 0 | 0.018606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017241 | 0 | 0.948276 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ea7fa36bd4b3d1d04f92039a39c92c6c8c915a72 | 18,584 | py | Python | hovercraft/tests/test_position.py | royaso/hovercraft | 2ca3e8cfd00f5e28077d37bf142e1efd55a63df3 | [
"MIT"
] | null | null | null | hovercraft/tests/test_position.py | royaso/hovercraft | 2ca3e8cfd00f5e28077d37bf142e1efd55a63df3 | [
"MIT"
] | null | null | null | hovercraft/tests/test_position.py | royaso/hovercraft | 2ca3e8cfd00f5e28077d37bf142e1efd55a63df3 | [
"MIT"
] | null | null | null | import os
import unittest
from pkg_resources import resource_string
from lxml import etree
from hovercraft.parse import rst2xml, SlideMaker
from hovercraft.position import gather_positions, calculate_positions, position_slides
TEST_DATA = os.path.join(os.path.split(__file__)[0], 'test_data')
def make_tree(file_name... | 46.693467 | 99 | 0.455822 | 2,567 | 18,584 | 3.271134 | 0.082587 | 0.167917 | 0.226629 | 0.084316 | 0.781589 | 0.779802 | 0.76051 | 0.754674 | 0.743956 | 0.742408 | 0 | 0.08777 | 0.312742 | 18,584 | 397 | 100 | 46.811083 | 0.569684 | 0.078024 | 0 | 0.75 | 0 | 0 | 0.364993 | 0 | 0 | 0 | 0 | 0 | 0.021341 | 1 | 0.02439 | false | 0 | 0.018293 | 0 | 0.054878 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
576265c72506f0b10ca6c1c578362d47e884e43d | 1,418 | py | Python | rest/service/restapi.py | estuaryoss/estuary-agent | b8b4264a616be21c86458da75cf29d13a8fb263d | [
"Apache-2.0"
] | null | null | null | rest/service/restapi.py | estuaryoss/estuary-agent | b8b4264a616be21c86458da75cf29d13a8fb263d | [
"Apache-2.0"
] | null | null | null | rest/service/restapi.py | estuaryoss/estuary-agent | b8b4264a616be21c86458da75cf29d13a8fb263d | [
"Apache-2.0"
] | null | null | null | import requests
class RestApi:
def __init__(self, connection):
""" REST API Service usually used for self calls """
self.conn = connection
self.__timeout = 5 if not self.conn.get('timeout') else self.conn.get('timeout')
def post(self, data, headers):
url_format = f"{self.conn... | 50.642857 | 126 | 0.635402 | 191 | 1,418 | 4.602094 | 0.193717 | 0.209329 | 0.275313 | 0.077361 | 0.779295 | 0.779295 | 0.779295 | 0.779295 | 0.779295 | 0.775882 | 0 | 0.000855 | 0.174894 | 1,418 | 27 | 127 | 52.518519 | 0.750427 | 0.03103 | 0 | 0.315789 | 0 | 0.210526 | 0.320644 | 0.298682 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
aa2e9a7bae656c1aadea77715a5fbfdfe3c7a26f | 18,797 | py | Python | components/plots.py | koukyo1994/streamlit-audio | f9dd8e86b332e4425d964b59642e0b5eaf8e0c0a | [
"MIT"
] | 5 | 2020-09-18T05:35:52.000Z | 2022-02-28T02:29:15.000Z | components/plots.py | koukyo1994/streamlit-audio | f9dd8e86b332e4425d964b59642e0b5eaf8e0c0a | [
"MIT"
] | null | null | null | components/plots.py | koukyo1994/streamlit-audio | f9dd8e86b332e4425d964b59642e0b5eaf8e0c0a | [
"MIT"
] | 1 | 2021-01-15T01:49:35.000Z | 2021-01-15T01:49:35.000Z | import librosa
import librosa.display as display
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import numpy as np
import pandas as pd
import streamlit as st
def waveplot(y: np.ndarray, sr: int, processed=None, tp: pd.DataFrame=None, fp: pd.DataFrame=None):
plot_wave = st.checkbox("Waveplot"... | 37.973737 | 107 | 0.419854 | 1,809 | 18,797 | 4.180763 | 0.098397 | 0.04284 | 0.0357 | 0.0476 | 0.933756 | 0.924104 | 0.916171 | 0.902155 | 0.884437 | 0.884437 | 0 | 0.028651 | 0.483801 | 18,797 | 494 | 108 | 38.050607 | 0.750799 | 0.002022 | 0 | 0.910088 | 0 | 0 | 0.070221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | false | 0 | 0.015351 | 0 | 0.032895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
104e4c1bac71e2a3cfbdadaf2cd745ca07fae398 | 1,800 | py | Python | traversal_tests.py | Sorrop/py-graph-algorithms | e688fba3dd8aa44bcd3a608625fdf71649b83920 | [
"MIT"
] | 5 | 2017-01-31T11:09:55.000Z | 2022-03-16T15:38:54.000Z | traversal_tests.py | Sorrop/py-graph-algorithms | e688fba3dd8aa44bcd3a608625fdf71649b83920 | [
"MIT"
] | null | null | null | traversal_tests.py | Sorrop/py-graph-algorithms | e688fba3dd8aa44bcd3a608625fdf71649b83920 | [
"MIT"
] | 6 | 2020-09-09T23:58:57.000Z | 2021-10-16T18:49:02.000Z | import graph
from depth_first_search import depth_first_search
from breadth_first_search import breadth_first_search
edges = [(0, 1), (0, 2), (0, 3), (1, 4), (1, 5), (2, 6),
(2, 7), (3, 8), (3, 9), (4, 10), (4, 11)]
G, _ = graph.create_graph(edges)
start_vertex = G.get_vertex(0)
breadth = breadth_fi... | 33.333333 | 74 | 0.535 | 217 | 1,800 | 4.290323 | 0.193548 | 0.09667 | 0.068743 | 0.07304 | 0.807734 | 0.71536 | 0.71536 | 0.71536 | 0.71536 | 0.71536 | 0 | 0.022822 | 0.196667 | 1,800 | 53 | 75 | 33.962264 | 0.621024 | 0 | 0 | 0.711111 | 0 | 0 | 0.255867 | 0.103034 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.488889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
10a4806044f0d753cfe47dd7983b3682eff504b2 | 97,171 | py | Python | functions.py | FatinaBasmadji/space-robot-planar-case | c1cacba7ef2c2509a282577147cd90421f471360 | [
"MIT"
] | null | null | null | functions.py | FatinaBasmadji/space-robot-planar-case | c1cacba7ef2c2509a282577147cd90421f471360 | [
"MIT"
] | null | null | null | functions.py | FatinaBasmadji/space-robot-planar-case | c1cacba7ef2c2509a282577147cd90421f471360 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
import numpy as np
from math import cos, sin
# In[ ]:
# Space robot parameters
pi = 3.14159
p1 = 0.3696 # manipulator mounting point in x axis
p2 = 0.001279 # manipulator mounting point in y axis
a1 = 0.1805 # center of mass of the first link
a2 = 0.2000 #... | 506.098958 | 25,146 | 0.562297 | 19,182 | 97,171 | 2.84548 | 0.009749 | 0.251292 | 0.378476 | 0.411784 | 0.962039 | 0.956213 | 0.953519 | 0.953116 | 0.950203 | 0.948958 | 0 | 0.120065 | 0.132416 | 97,171 | 191 | 25,147 | 508.748691 | 0.527377 | 0.007615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027211 | false | 0 | 0.013605 | 0 | 0.068027 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
52b2893d801640e5dcf82ab0cfc28d541ace2709 | 128 | py | Python | scCloud/scCloud/annotate_cluster/__init__.py | broadinstitute/scRNA-Seq | 03aafb92274a97f4d634ac9e42f0e0feca91ed98 | [
"BSD-3-Clause"
] | 12 | 2019-04-08T11:39:33.000Z | 2022-02-22T02:50:27.000Z | scCloud/scCloud/annotate_cluster/__init__.py | broadinstitute/scRNA-Seq | 03aafb92274a97f4d634ac9e42f0e0feca91ed98 | [
"BSD-3-Clause"
] | null | null | null | scCloud/scCloud/annotate_cluster/__init__.py | broadinstitute/scRNA-Seq | 03aafb92274a97f4d634ac9e42f0e0feca91ed98 | [
"BSD-3-Clause"
] | 3 | 2019-03-06T20:44:33.000Z | 2020-02-17T13:43:46.000Z | from .annotate_cluster import annotate_clusters
from .run_annotate_cluster import run_annotate_cluster, annotate_anndata_object
| 42.666667 | 79 | 0.90625 | 17 | 128 | 6.352941 | 0.470588 | 0.416667 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 128 | 2 | 80 | 64 | 0.907563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
52b2f348984654cc44d1955932c22bfab70fad0f | 20,091 | py | Python | menu/functions.py | WillRazorFace/InstaMax | 4ebb5ee5ad88c2e2a2283bcd13e264cc99513627 | [
"Apache-2.0"
] | null | null | null | menu/functions.py | WillRazorFace/InstaMax | 4ebb5ee5ad88c2e2a2283bcd13e264cc99513627 | [
"Apache-2.0"
] | null | null | null | menu/functions.py | WillRazorFace/InstaMax | 4ebb5ee5ad88c2e2a2283bcd13e264cc99513627 | [
"Apache-2.0"
] | null | null | null | from core.instabot import Bot
from os import system, path
from .constants import CLEAR_CONSOLE_COMMAND, OPTIONS_FILE, DRIVER_MENU
from time import sleep
def configure() -> tuple:
driver_options = {'1': 'chrome', '2': 'firefox', '3': 'safari'}
system(CLEAR_CONSOLE_COMMAND)
print('Enter your Instagram accou... | 35.309315 | 207 | 0.498034 | 2,016 | 20,091 | 4.843254 | 0.078373 | 0.079885 | 0.126485 | 0.163867 | 0.834904 | 0.807251 | 0.799775 | 0.782978 | 0.769562 | 0.731872 | 0 | 0.00127 | 0.412075 | 20,091 | 568 | 208 | 35.371479 | 0.825347 | 0 | 0 | 0.818386 | 0 | 0.024664 | 0.222488 | 0.006819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024664 | false | 0.008969 | 0.008969 | 0 | 0.035874 | 0.210762 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
52e2c41544b3b3fc6a8b85c1092c82b5d2630833 | 11,234 | py | Python | test/trace_processor/python/api_unittest.py | jumeder/perfetto | df3ae5e6f975204d2f35aeed61cbbd0746151d8e | [
"Apache-2.0"
] | 1 | 2021-01-18T09:36:54.000Z | 2021-01-18T09:36:54.000Z | test/trace_processor/python/api_unittest.py | jumeder/perfetto | df3ae5e6f975204d2f35aeed61cbbd0746151d8e | [
"Apache-2.0"
] | 8 | 2020-12-04T22:03:54.000Z | 2021-11-08T01:29:31.000Z | test/trace_processor/python/api_unittest.py | jumeder/perfetto | df3ae5e6f975204d2f35aeed61cbbd0746151d8e | [
"Apache-2.0"
] | 3 | 2019-02-10T12:40:29.000Z | 2022-01-24T09:16:29.000Z | #!/usr/bin/env python3
# Copyright (C) 2020 The Android Open Source Project
#
# 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 requ... | 38.341297 | 80 | 0.692273 | 1,370 | 11,234 | 5.462774 | 0.140876 | 0.144308 | 0.097007 | 0.119722 | 0.876136 | 0.863709 | 0.863041 | 0.855024 | 0.849412 | 0.844869 | 0 | 0.015492 | 0.212836 | 11,234 | 292 | 81 | 38.472603 | 0.830827 | 0.205092 | 0 | 0.883838 | 0 | 0 | 0.032733 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 1 | 0.070707 | false | 0.020202 | 0.015152 | 0 | 0.106061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eac51a0c4c0cf25512b41069a1a81d7bc1a8b83f | 23,105 | py | Python | sdk/python/pulumi_vault/aws/auth_backend_client.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-10-07T17:44:18.000Z | 2022-03-30T20:46:33.000Z | sdk/python/pulumi_vault/aws/auth_backend_client.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 79 | 2019-10-11T18:13:07.000Z | 2022-03-31T21:09:41.000Z | sdk/python/pulumi_vault/aws/auth_backend_client.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-28T10:08:40.000Z | 2020-03-17T14:20:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 41.856884 | 134 | 0.634235 | 2,830 | 23,105 | 4.944523 | 0.061484 | 0.0849 | 0.106053 | 0.113199 | 0.880798 | 0.870864 | 0.865576 | 0.858501 | 0.851997 | 0.836204 | 0 | 0.002485 | 0.268513 | 23,105 | 551 | 135 | 41.932849 | 0.825454 | 0.320147 | 0 | 0.83391 | 1 | 0 | 0.098579 | 0.025882 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16263 | false | 0.00346 | 0.017301 | 0 | 0.276817 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
eac974d88a94a374d3a16673bf0be5690fccfc38 | 1,050 | py | Python | dt_stripe/managers.py | itsnamgyu/api-demo | ddf726928bd7f1021143c4dbb530e3017a3edda9 | [
"MIT"
] | 1 | 2019-06-02T08:20:38.000Z | 2019-06-02T08:20:38.000Z | dt_stripe/managers.py | itsnamgyu/api-demo | ddf726928bd7f1021143c4dbb530e3017a3edda9 | [
"MIT"
] | 12 | 2019-07-21T18:40:35.000Z | 2019-10-05T19:57:49.000Z | dt_stripe/managers.py | itsnamgyu/django-template | 20f64974e0dda69cf8dcf0dac9e0a309f200fb61 | [
"MIT"
] | null | null | null | from django.apps import apps
from django.db import models
class ServiceManager(models.Manager):
def get_queryset(self):
return super().get_queryset().filter(product_type="service")
class GoodManager(models.Manager):
def get_queryset(self):
return super().get_queryset().filter(product_type="g... | 30.882353 | 74 | 0.67619 | 111 | 1,050 | 6.189189 | 0.324324 | 0.128093 | 0.069869 | 0.082969 | 0.80786 | 0.80786 | 0.80786 | 0.80786 | 0.80786 | 0.80786 | 0 | 0 | 0.222857 | 1,050 | 33 | 75 | 31.818182 | 0.841912 | 0 | 0 | 0.36 | 0 | 0 | 0.050476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.08 | 0.12 | 0.6 | 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 | 1 | 1 | 0 | 0 | 8 |
d8134620d1d4e2ae84dd1fde2b57220b82314f3a | 120 | py | Python | discord/state.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/state.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/state.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | from disnake.state import *
from disnake.state import __dict__ as __original_dict__
locals().update(__original_dict__)
| 24 | 55 | 0.833333 | 16 | 120 | 5.375 | 0.5625 | 0.255814 | 0.372093 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 4 | 56 | 30 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
dc5c8d18d6f732ec5d82ba0578235665dd684ccd | 25,337 | py | Python | util/data/gen/CRYPT32.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/CRYPT32.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/CRYPT32.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'CertAddCRLContextToStore', 'address': '0x7ffb3be3ff70'}, {'type': 'function', 'name': 'CertAddCRLLinkToStore', 'address': '0x7ffb3be3fff0'}, {'type': 'function', 'name': 'CertAddCTLContextToStore', 'address': '0x7ffb3be3ff70'}, {'type': 'function', 'name': 'CertAddC... | 12,668.5 | 25,324 | 0.700004 | 1,804 | 25,337 | 9.803769 | 0.316519 | 0.198123 | 0.264164 | 0.048061 | 0.065136 | 0.010743 | 0 | 0 | 0 | 0 | 0 | 0.080997 | 0.069306 | 25,337 | 2 | 25,324 | 12,668.5 | 0.669013 | 0 | 0 | 0 | 0 | 0 | 0.699424 | 0.202542 | 0 | 0 | 0.161339 | 0 | 0 | 1 | 0 | false | 0.5 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
f4a1080d5af6bc7222a6f5cdd899b208f6afdf45 | 3,434 | py | Python | python/tests/test_cg.py | Dareen/pubnub-python | 713e98b53f6623a8abca2cee8a47fd92ceb7a75b | [
"MIT"
] | null | null | null | python/tests/test_cg.py | Dareen/pubnub-python | 713e98b53f6623a8abca2cee8a47fd92ceb7a75b | [
"MIT"
] | null | null | null | python/tests/test_cg.py | Dareen/pubnub-python | 713e98b53f6623a8abca2cee8a47fd92ceb7a75b | [
"MIT"
] | 1 | 2019-09-10T04:07:35.000Z | 2019-09-10T04:07:35.000Z | from pubnub import Pubnub
import time
import random
pubnub = Pubnub("demo","demo")
pubnub.set_u(True)
def rand_str(s):
return str(s) + '-' + str(random.randint(1, 100000000000))
def test_1():
channel = rand_str('channel')
channel2 = rand_str('channel')
channel_group = rand_str('group')
channel_group2 = ... | 31.796296 | 109 | 0.717822 | 436 | 3,434 | 5.463303 | 0.100917 | 0.176322 | 0.11419 | 0.147775 | 0.857263 | 0.845508 | 0.832914 | 0.832914 | 0.782116 | 0.754828 | 0 | 0.019765 | 0.130751 | 3,434 | 107 | 110 | 32.093458 | 0.778224 | 0 | 0 | 0.657895 | 0 | 0 | 0.132653 | 0 | 0 | 0 | 0 | 0 | 0.539474 | 0 | null | null | 0 | 0.039474 | null | null | 0.078947 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f4a68715c22c7dd76533253c3f022db9360c134f | 107 | py | Python | car_core/scripts/car_core/common/__init__.py | vstucar/vstucar | 46ba2aebed1d9bd76a66db06af2bd8a4384b403d | [
"MIT"
] | null | null | null | car_core/scripts/car_core/common/__init__.py | vstucar/vstucar | 46ba2aebed1d9bd76a66db06af2bd8a4384b403d | [
"MIT"
] | null | null | null | car_core/scripts/car_core/common/__init__.py | vstucar/vstucar | 46ba2aebed1d9bd76a66db06af2bd8a4384b403d | [
"MIT"
] | null | null | null | from . import geom_helpers, msgs_helpers, rviz_helpers
__all__ = [geom_helpers, msgs_helpers, rviz_helpers] | 53.5 | 54 | 0.831776 | 15 | 107 | 5.266667 | 0.466667 | 0.278481 | 0.379747 | 0.556962 | 0.835443 | 0.835443 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 2 | 55 | 53.5 | 0.814433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
f4c73420df0ffa6198882fd80815c6501c2d5a11 | 104 | py | Python | serializers/templates/__init__.py | d0cd/vectre-x86-disasm | 098a2a67c8d588d9960150a6eda538f42694548b | [
"MIT"
] | null | null | null | serializers/templates/__init__.py | d0cd/vectre-x86-disasm | 098a2a67c8d588d9960150a6eda538f42694548b | [
"MIT"
] | null | null | null | serializers/templates/__init__.py | d0cd/vectre-x86-disasm | 098a2a67c8d588d9960150a6eda538f42694548b | [
"MIT"
] | null | null | null | from .prog_def_template import *
from .platform_def_template import *
from .inst_def_template import *
| 20.8 | 36 | 0.817308 | 15 | 104 | 5.266667 | 0.466667 | 0.417722 | 0.64557 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 37 | 26 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f4f1f45161e522773f69331441d95190bb58bd7c | 2,893 | py | Python | pyaz/afd/secret/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/afd/secret/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/afd/secret/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage secrets within the specified profile.
'''
from ... pyaz_utils import _call_az
def show(profile_name, resource_group, secret_name):
'''
Required Parameters:
- profile_name -- Name of the CDN profile which is unique within the resource group.
- resource_group -- Name of resource group. Y... | 37.571429 | 128 | 0.711718 | 393 | 2,893 | 5.094148 | 0.16285 | 0.12987 | 0.044955 | 0.058442 | 0.865634 | 0.865634 | 0.797203 | 0.76024 | 0.714286 | 0.671329 | 0 | 0 | 0.204978 | 2,893 | 76 | 129 | 38.065789 | 0.870435 | 0.675769 | 0 | 0 | 0 | 0 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
7625226fe17a880b6f098a1fe26757979e4659cb | 1,975 | py | Python | tests/test_pykdebugparser.py | matan1008/pykdebugparser | e219c2434d012b935ee25f75571647aaed1a4dda | [
"MIT"
] | 10 | 2021-06-17T14:07:38.000Z | 2021-12-09T18:33:48.000Z | tests/test_pykdebugparser.py | matan1008/pykdebugparser | e219c2434d012b935ee25f75571647aaed1a4dda | [
"MIT"
] | null | null | null | tests/test_pykdebugparser.py | matan1008/pykdebugparser | e219c2434d012b935ee25f75571647aaed1a4dda | [
"MIT"
] | 3 | 2021-06-22T13:01:59.000Z | 2021-06-27T03:35:04.000Z | from io import BytesIO
from pykdebugparser.kd_buf_parser import RAW_VERSION2_BYTES
from pykdebugparser.kevent import Kevent
from pykdebugparser.pykdebugparser import PyKdebugParser
def test_kevents():
events_buf = RAW_VERSION2_BYTES + b'\x00' * 0x11c
events_buf += (b'\xa50\x147_\x06\x00\x00\x00\x00\x00\x00\x... | 49.375 | 109 | 0.652152 | 318 | 1,975 | 3.971698 | 0.154088 | 0.655582 | 0.869359 | 1.007126 | 0.81631 | 0.81631 | 0.81631 | 0.81631 | 0.81631 | 0.77593 | 0 | 0.284295 | 0.184304 | 1,975 | 39 | 110 | 50.641026 | 0.49969 | 0 | 0 | 0.676471 | 0 | 0.294118 | 0.375696 | 0.371646 | 0 | 0 | 0.005063 | 0 | 0.088235 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.