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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e6d9a5cea1d904efba5aba12767ba1e5edfa15c6 | 72 | py | Python | perf/vendor/shaded_pyflakes/__init__.py | RDIL/Perf | a1cbd1ea4f93b311557a6349fc5d731fcfc36810 | [
"MIT"
] | 1 | 2020-01-17T13:50:40.000Z | 2020-01-17T13:50:40.000Z | perf/vendor/shaded_pyflakes/__init__.py | RDIL/PyPerf | a1cbd1ea4f93b311557a6349fc5d731fcfc36810 | [
"MIT"
] | 1 | 2020-02-05T16:13:51.000Z | 2020-02-07T17:04:21.000Z | perf/vendor/shaded_pyflakes/__init__.py | RDIL/Perf | a1cbd1ea4f93b311557a6349fc5d731fcfc36810 | [
"MIT"
] | null | null | null | __version__ = "snapshot-2.1.1-be88036019005b769596ca82fb7b82dfdffdca0f"
| 36 | 71 | 0.861111 | 6 | 72 | 9.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.376812 | 0.041667 | 72 | 1 | 72 | 72 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0.763889 | 0.763889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6e22ebb352b06dc0b48a04aa4a2f7a1db4b1766 | 37 | py | Python | Python/.examination/BIN/BINARY.DAT.py | Smith-Br/BackEnd | 710e54866b3d73cfa3ebd1c22ac661f00770ce88 | [
"MIT"
] | 1 | 2021-12-22T08:58:49.000Z | 2021-12-22T08:58:49.000Z | Python/.examination/BIN/BINARY.DAT.py | Smith-Br/Python | 710e54866b3d73cfa3ebd1c22ac661f00770ce88 | [
"MIT"
] | null | null | null | Python/.examination/BIN/BINARY.DAT.py | Smith-Br/Python | 710e54866b3d73cfa3ebd1c22ac661f00770ce88 | [
"MIT"
] | null | null | null | binary_data = 101011111100000011111
| 12.333333 | 35 | 0.864865 | 3 | 37 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 0.108108 | 37 | 2 | 36 | 18.5 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc0a67a9f21dc9b72cf10089ee2e4899639f2b78 | 95 | py | Python | boa3_test/test_sc/built_in_methods_test/IsInstanceBoolLiteral.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/built_in_methods_test/IsInstanceBoolLiteral.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/built_in_methods_test/IsInstanceBoolLiteral.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
@public
def Main() -> bool:
return isinstance(123, bool)
| 13.571429 | 32 | 0.705263 | 13 | 95 | 5.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.189474 | 95 | 6 | 33 | 15.833333 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fc308d44ba35b0cfe7f705d58dd365193de052b0 | 81,914 | py | Python | graphql_compiler/tests/snapshot_tests/test_query_pagination.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 521 | 2017-07-18T23:56:25.000Z | 2022-03-25T16:39:06.000Z | graphql_compiler/tests/snapshot_tests/test_query_pagination.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 740 | 2017-07-19T01:52:42.000Z | 2021-09-30T11:15:00.000Z | graphql_compiler/tests/snapshot_tests/test_query_pagination.py | kensho-technologies/graphql-compiler | 4318443b7b2512a059f3616112bfc40bbf8eec06 | [
"Apache-2.0"
] | 56 | 2017-07-18T23:56:14.000Z | 2021-10-30T08:08:56.000Z | # Copyright 2019-present Kensho Technologies, LLC.
import datetime
from typing import Tuple
import unittest
from graphql import print_ast
import pytest
from .. import test_input_data
from ...cost_estimation.analysis import analyze_query_string
from ...cost_estimation.statistics import LocalStatistics
from ...exceptio... | 41.601828 | 100 | 0.62081 | 8,147 | 81,914 | 5.866454 | 0.046397 | 0.066975 | 0.045194 | 0.025966 | 0.914069 | 0.906767 | 0.900029 | 0.894882 | 0.888542 | 0.880403 | 0 | 0.027472 | 0.291208 | 81,914 | 1,968 | 101 | 41.622967 | 0.795711 | 0.052421 | 0 | 0.675316 | 0 | 0 | 0.075917 | 0.027704 | 0 | 0 | 0 | 0.001016 | 0.051231 | 1 | 0.024617 | false | 0 | 0.011976 | 0 | 0.037259 | 0.005323 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc5343d0db36742ffe4755464b9e3772a0c6042a | 170 | py | Python | src/hist/axis/transform.py | chrisburr/hist | d10132ab8d03f41152f0b934a18291ce699453b2 | [
"BSD-3-Clause"
] | null | null | null | src/hist/axis/transform.py | chrisburr/hist | d10132ab8d03f41152f0b934a18291ce699453b2 | [
"BSD-3-Clause"
] | null | null | null | src/hist/axis/transform.py | chrisburr/hist | d10132ab8d03f41152f0b934a18291ce699453b2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from boost_histogram.axis.transform import AxisTransform, Pow, Function, sqrt, log
__all__ = ("AxisTransform", "Pow", "Function", "sqrt", "log")
| 34 | 82 | 0.688235 | 20 | 170 | 5.6 | 0.75 | 0.285714 | 0.428571 | 0.5 | 0.553571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.123529 | 170 | 4 | 83 | 42.5 | 0.744966 | 0.123529 | 0 | 0 | 0 | 0 | 0.210884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fc7d9e8e172dec7aec454484b6b72503542fcb1d | 176 | py | Python | PySpace/re_1.py | dralee/LearningRepository | 4324d3c5ac1a12dde17ae70c1eb7f3d36a047ba4 | [
"Apache-2.0"
] | null | null | null | PySpace/re_1.py | dralee/LearningRepository | 4324d3c5ac1a12dde17ae70c1eb7f3d36a047ba4 | [
"Apache-2.0"
] | null | null | null | PySpace/re_1.py | dralee/LearningRepository | 4324d3c5ac1a12dde17ae70c1eb7f3d36a047ba4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -*- coding: UTF-8 -*-
# 文件名:re_1.py
import re
print(re.match('www','www.runoob.com').span()) # 在起始位置匹配
print(re.match('com','www.runoob.com')) # 不在起始位置匹配
| 22 | 56 | 0.642045 | 29 | 176 | 3.862069 | 0.655172 | 0.125 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.096591 | 176 | 7 | 57 | 25.142857 | 0.685535 | 0.386364 | 0 | 0 | 0 | 0 | 0.330097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
fca0e8cb52068d02ffc35a1e8775aaae609faa31 | 28 | py | Python | weldx/asdf/tags/weldx/unit/__init__.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | 13 | 2020-02-20T07:45:02.000Z | 2021-12-10T13:15:47.000Z | weldx/asdf/tags/weldx/unit/__init__.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | 675 | 2020-02-20T07:47:00.000Z | 2022-03-31T15:17:19.000Z | weldx/asdf/tags/weldx/unit/__init__.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | 5 | 2020-09-02T07:19:17.000Z | 2021-12-05T08:57:50.000Z | from . import pint_quantity
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fca3c35367aafccf267ccffe86c3b8c90e1bf21f | 29 | py | Python | project_tw/output/martian_plot.py | terranandes/crawler | ed0ca2315f8e0bea3cccd9a74416f371afc02b22 | [
"Apache-2.0"
] | 7 | 2021-03-15T10:27:42.000Z | 2022-02-28T07:25:56.000Z | project_tw/output/martian_plot.py | terranandes/crawler | ed0ca2315f8e0bea3cccd9a74416f371afc02b22 | [
"Apache-2.0"
] | null | null | null | project_tw/output/martian_plot.py | terranandes/crawler | ed0ca2315f8e0bea3cccd9a74416f371afc02b22 | [
"Apache-2.0"
] | 2 | 2021-03-30T08:38:19.000Z | 2021-04-06T12:06:03.000Z | import bar_chart_race as bcr
| 14.5 | 28 | 0.862069 | 6 | 29 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d9d64fd4e5e5732abbe45c2912b99ff9f22137a | 2,274 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_40_13_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_13_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_13_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_40_13_9 = {0: {'A': 0.294, 'C': -0.152, 'E': 0.064, 'D': -0.054, 'G': 0.217, 'F': -0.489, 'I': 0.242, 'H': -0.381, 'K': -0.374, 'M': 0.53, 'L': 0.413, 'N': -0.044, 'Q': 0.172, 'P': 0.003, 'S': -0.112, 'R': -0.322, 'T': -0.018, 'W': -0.43, 'V': 0.217, 'Y': 0.224}, 1: {'A': 0.119, 'C': -0.01, 'E': 0.002, 'D': 0.045, 'G... | 2,274 | 2,274 | 0.387423 | 557 | 2,274 | 1.576302 | 0.217235 | 0.127563 | 0.017084 | 0.020501 | 0.249431 | 0.121868 | 0.121868 | 0.121868 | 0.075171 | 0.075171 | 0 | 0.365071 | 0.164028 | 2,274 | 1 | 2,274 | 2,274 | 0.096791 | 0 | 0 | 0 | 0 | 0 | 0.08044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5da95843c397ef3076ed187cd900723658a522d5 | 356 | py | Python | snips_nlu/dataset/__init__.py | CharlyBlavier/snips-nlu-Copy | 829d513ac464e0421a264fd64d8b94f59a09875e | [
"Apache-2.0"
] | 3,764 | 2018-02-27T08:25:52.000Z | 2022-03-30T17:59:22.000Z | snips_nlu/dataset/__init__.py | unicorns18/snips-nlu | 74b2893c91fc0bafc919a7e088ecb0b2bd611acf | [
"Apache-2.0"
] | 305 | 2018-02-28T13:45:23.000Z | 2022-03-10T15:33:35.000Z | snips_nlu/dataset/__init__.py | unicorns18/snips-nlu | 74b2893c91fc0bafc919a7e088ecb0b2bd611acf | [
"Apache-2.0"
] | 559 | 2018-03-04T15:44:15.000Z | 2022-03-21T17:00:21.000Z | from snips_nlu.dataset.dataset import Dataset
from snips_nlu.dataset.entity import Entity
from snips_nlu.dataset.intent import Intent
from snips_nlu.dataset.utils import (
extract_intent_entities, extract_utterance_entities,
get_dataset_gazetteer_entities, get_text_from_chunks)
from snips_nlu.dataset.validation... | 44.5 | 68 | 0.867978 | 51 | 356 | 5.705882 | 0.372549 | 0.154639 | 0.206186 | 0.32646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 356 | 7 | 69 | 50.857143 | 0.898148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5db22e0ef48431fd0568b3008330713069706db0 | 101 | py | Python | terrascript/azurerm/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/azurerm/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/azurerm/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/azurerm/__init__.py
import terrascript
class azurerm(terrascript.Provider):
pass
| 14.428571 | 36 | 0.792079 | 11 | 101 | 6.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 101 | 6 | 37 | 16.833333 | 0.863636 | 0.306931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5d4282ec26713564e7e4edbc3eff8c76ee845196 | 285 | py | Python | meracanapi/apitelemac/telemac/exceptions.py | meracan/meracan-api | aff04f3d9d0dce46fe0b8ce89394ec22823a0ea4 | [
"MIT"
] | null | null | null | meracanapi/apitelemac/telemac/exceptions.py | meracan/meracan-api | aff04f3d9d0dce46fe0b8ce89394ec22823a0ea4 | [
"MIT"
] | null | null | null | meracanapi/apitelemac/telemac/exceptions.py | meracan/meracan-api | aff04f3d9d0dce46fe0b8ce89394ec22823a0ea4 | [
"MIT"
] | null | null | null | """
Telemac-Mascaret exceptions
"""
class TelemacException(Exception):
""" Generic exception class for all of Telemac-Mascaret Exceptions """
pass
class MascaretException(TelemacException):
""" Generic exception class for all of Telemac-Mascaret Exceptions """
pass
| 21.923077 | 74 | 0.733333 | 29 | 285 | 7.206897 | 0.413793 | 0.215311 | 0.358852 | 0.229665 | 0.555024 | 0.555024 | 0.555024 | 0.555024 | 0.555024 | 0.555024 | 0 | 0 | 0.17193 | 285 | 12 | 75 | 23.75 | 0.885593 | 0.54386 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5d5be4202288e9e45b788058d3104ddc1aee63b2 | 2,818 | py | Python | scripts/modules/functions/restraints.py | andrrizzi/tfep-revisited-2021 | 9a9aff61286be3111c4e70136620d0e3aac31318 | [
"MIT"
] | 7 | 2021-07-22T00:53:37.000Z | 2022-03-11T07:29:36.000Z | scripts/modules/functions/restraints.py | andrrizzi/tfep-revisited-2021 | 9a9aff61286be3111c4e70136620d0e3aac31318 | [
"MIT"
] | 2 | 2021-08-24T07:54:55.000Z | 2021-09-14T08:51:55.000Z | scripts/modules/functions/restraints.py | andrrizzi/tfep-revisited-2021 | 9a9aff61286be3111c4e70136620d0e3aac31318 | [
"MIT"
] | 1 | 2021-07-22T00:53:56.000Z | 2021-07-22T00:53:56.000Z | #!/usr/bin/env python
# =============================================================================
# MODULE DOCSTRING
# =============================================================================
"""
Function to compute restraint potentials with PyTorch.
"""
# =================================================... | 29.978723 | 81 | 0.533712 | 327 | 2,818 | 4.556575 | 0.275229 | 0.088591 | 0.085906 | 0.07651 | 0.781208 | 0.781208 | 0.781208 | 0.736913 | 0.736913 | 0.736913 | 0 | 0.006404 | 0.224273 | 2,818 | 93 | 82 | 30.301075 | 0.675206 | 0.744145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53731b2b693939beca72720c89488d1d8cb2b1d1 | 28,274 | py | Python | tests/samplers_tests/tpe_tests/test_multi_objective_sampler.py | ik9999/optuna | c2e528a3f2b8d67075cec117ecc964601f609cc3 | [
"MIT"
] | null | null | null | tests/samplers_tests/tpe_tests/test_multi_objective_sampler.py | ik9999/optuna | c2e528a3f2b8d67075cec117ecc964601f609cc3 | [
"MIT"
] | null | null | null | tests/samplers_tests/tpe_tests/test_multi_objective_sampler.py | ik9999/optuna | c2e528a3f2b8d67075cec117ecc964601f609cc3 | [
"MIT"
] | null | null | null | import itertools
import random
from typing import Callable
from typing import Dict
from typing import List
from typing import Optional
from typing import Tuple
from typing import Union
from unittest.mock import patch
from unittest.mock import PropertyMock
import numpy as np
import pytest
import optuna
from optuna.sam... | 42.453453 | 99 | 0.685895 | 3,631 | 28,274 | 5.096943 | 0.064996 | 0.051116 | 0.054466 | 0.078295 | 0.836278 | 0.824337 | 0.809694 | 0.791484 | 0.775274 | 0.75874 | 0 | 0.026529 | 0.190741 | 28,274 | 665 | 100 | 42.517293 | 0.782308 | 0.030735 | 0 | 0.676259 | 0 | 0 | 0.10117 | 0.068311 | 0 | 0 | 0 | 0 | 0.07554 | 1 | 0.043165 | false | 0 | 0.026978 | 0.007194 | 0.084532 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53c2e6915f90d0d58dcf6981fb4e48aac65a2029 | 113 | py | Python | xbee/tornado/ieee.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 65 | 2015-12-06T02:38:28.000Z | 2017-09-05T16:46:07.000Z | xbee/tornado/ieee.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 44 | 2015-10-23T15:33:54.000Z | 2017-09-01T06:39:50.000Z | xbee/tornado/ieee.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 43 | 2015-12-15T02:52:21.000Z | 2017-06-24T17:14:53.000Z | from xbee.tornado.base import XBeeBase
import xbee.backend as _xbee
class XBee(_xbee.XBee, XBeeBase):
pass
| 16.142857 | 38 | 0.769912 | 17 | 113 | 5 | 0.588235 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 6 | 39 | 18.833333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
53cb68c5ace8dc97c23abeaf69c885638d283f98 | 63,242 | py | Python | ModelUncertainty-NYCData/Integer_Order_Models_I1-I2-I3-T1/Model7_Prediction_All.py | ehsankharazmi/PINN-COVID | b831de387b25a69f95ace8afff1e59967be41e71 | [
"MIT"
] | 8 | 2021-09-20T16:20:14.000Z | 2022-03-29T00:32:36.000Z | ModelUncertainty-NYCData/Integer_Order_Models_I1-I2-I3-T1/Model7_Prediction_All.py | ehsankharazmi/PINN-COVID | b831de387b25a69f95ace8afff1e59967be41e71 | [
"MIT"
] | null | null | null | ModelUncertainty-NYCData/Integer_Order_Models_I1-I2-I3-T1/Model7_Prediction_All.py | ehsankharazmi/PINN-COVID | b831de387b25a69f95ace8afff1e59967be41e71 | [
"MIT"
] | 1 | 2021-11-30T17:20:10.000Z | 2021-11-30T17:20:10.000Z | # -*- coding: utf-8 -*-
"""
Created on Thu Jan 28 20:46:24 2021
@author: Administrator
"""
import sys
sys.path.insert(0, '../../Utilities/')
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import pandas
import math
from math import gamma
from scipy.integrate import odeint
import matplot... | 49.177294 | 112 | 0.633914 | 10,792 | 63,242 | 3.365827 | 0.035119 | 0.044048 | 0.036147 | 0.023786 | 0.905627 | 0.876638 | 0.858964 | 0.853238 | 0.847346 | 0.833691 | 0 | 0.061234 | 0.193811 | 63,242 | 1,285 | 113 | 49.215564 | 0.651211 | 0.124901 | 0 | 0.548857 | 0 | 0 | 0.089276 | 0.0321 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004158 | false | 0 | 0.022869 | 0 | 0.035343 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53cc51a93ef82b14a7ec16ec867df498664a7acf | 7,468 | py | Python | AP_SS16/504/python/plot_helpers.py | DimensionalScoop/kautschuk | 90403f97cd60b9716cb6a06668196891d5d96578 | [
"MIT"
] | 3 | 2016-04-27T17:07:00.000Z | 2022-02-02T15:43:15.000Z | AP_SS16/504/python/plot_helpers.py | DimensionalScoop/kautschuk | 90403f97cd60b9716cb6a06668196891d5d96578 | [
"MIT"
] | 5 | 2016-04-27T17:10:03.000Z | 2017-06-20T14:54:20.000Z | AP_SS16/504/python/plot_helpers.py | DimensionalScoop/kautschuk | 90403f97cd60b9716cb6a06668196891d5d96578 | [
"MIT"
] | null | null | null | import sys
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import uncertainties
import uncertainties.unumpy as unp
from scipy.constants import C2K, K2C
from scipy.optimize import curve_fit
from uncertainties import ufloat
from uncertainties.unumpy import uarray
def extract_error(data):
... | 26.960289 | 93 | 0.647161 | 1,058 | 7,468 | 4.386578 | 0.10397 | 0.084465 | 0.096962 | 0.082741 | 0.868563 | 0.862745 | 0.862745 | 0.862745 | 0.855419 | 0.855419 | 0 | 0.013458 | 0.223889 | 7,468 | 276 | 94 | 27.057971 | 0.787267 | 0.330209 | 0 | 0.661017 | 0 | 0 | 0.037006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067797 | false | 0 | 0.084746 | 0 | 0.169492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53d0b94c773f39a17acc3303f5a33b0271b90900 | 15,439 | py | Python | ckanext/notify/actions.py | andela/ckanext-notify | 1ce3c136c933850133a3c1715bb8c8a8ec81019e | [
"MIT"
] | null | null | null | ckanext/notify/actions.py | andela/ckanext-notify | 1ce3c136c933850133a3c1715bb8c8a8ec81019e | [
"MIT"
] | 2 | 2017-10-17T09:07:21.000Z | 2017-10-27T08:34:52.000Z | ckanext/notify/actions.py | andela/ckanext-notify | 1ce3c136c933850133a3c1715bb8c8a8ec81019e | [
"MIT"
] | 2 | 2017-11-07T12:22:25.000Z | 2017-11-10T07:22:06.000Z | import ckan.plugins as plugins
import ckan.logic as logic
import constants
import validator
import db
toolkit = plugins.toolkit
c = toolkit.c
ValidationError = logic.ValidationError
def _dictize_slack_details(slack_details):
# Convert the slack details into a dict
data_dict = {
'id': slack_details.... | 32.989316 | 100 | 0.716303 | 2,140 | 15,439 | 5.013551 | 0.070561 | 0.057414 | 0.033554 | 0.014913 | 0.877342 | 0.845745 | 0.831485 | 0.805294 | 0.763724 | 0.74033 | 0 | 0.000991 | 0.215299 | 15,439 | 467 | 101 | 33.059957 | 0.884606 | 0.476002 | 0 | 0.613095 | 0 | 0 | 0.103514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.029762 | 0 | 0.172619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9905ff6c7182f40a93d2f7f1d27ce2968636f617 | 965 | py | Python | alpa/collective/__init__.py | alpa-projects/alpa | 2c54de2a8fa8a48c77069f4bad802f4e8fa6d126 | [
"Apache-2.0"
] | 114 | 2022-03-02T20:38:16.000Z | 2022-03-31T20:41:50.000Z | alpa/collective/__init__.py | alpa-projects/alpa | 2c54de2a8fa8a48c77069f4bad802f4e8fa6d126 | [
"Apache-2.0"
] | 6 | 2022-03-09T22:04:50.000Z | 2022-03-30T17:53:15.000Z | alpa/collective/__init__.py | alpa-projects/alpa | 2c54de2a8fa8a48c77069f4bad802f4e8fa6d126 | [
"Apache-2.0"
] | 5 | 2022-03-05T12:04:31.000Z | 2022-03-31T03:55:42.000Z | from alpa.collective.collective import (
nccl_available, gloo_available, is_group_initialized, init_collective_group,
destroy_collective_group, create_collective_group, get_rank,
get_collective_group_size, allreduce, allreduce_multigpu, barrier, reduce,
reduce_multigpu, broadcast, broadcast_partialgpu, ... | 53.611111 | 84 | 0.780311 | 104 | 965 | 6.730769 | 0.278846 | 0.171429 | 0.048571 | 0.074286 | 0.932857 | 0.932857 | 0.932857 | 0.932857 | 0.932857 | 0.932857 | 0 | 0 | 0.11399 | 965 | 17 | 85 | 56.764706 | 0.818713 | 0 | 0 | 0 | 0 | 0 | 0.358549 | 0.119171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54e41b146aef92a9f935343ae7509ac96e08e701 | 107 | py | Python | src/pipedown/nodes/filters/__init__.py | brendanhasz/drainpype | a183acec7cae1ef9fde260868e2b021516a8cd7f | [
"MIT"
] | 2 | 2021-03-03T12:11:24.000Z | 2021-03-18T15:09:52.000Z | src/pipedown/nodes/filters/__init__.py | brendanhasz/pipedown | a183acec7cae1ef9fde260868e2b021516a8cd7f | [
"MIT"
] | null | null | null | src/pipedown/nodes/filters/__init__.py | brendanhasz/pipedown | a183acec7cae1ef9fde260868e2b021516a8cd7f | [
"MIT"
] | null | null | null | from .collate import Collate
from .feature_filter import FeatureFilter
from .item_filter import ItemFilter
| 26.75 | 41 | 0.859813 | 14 | 107 | 6.428571 | 0.571429 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 42 | 35.666667 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54e6ae2d3d0305bb0098fdd116a6cf65079cb120 | 8,729 | py | Python | tests/data/azure/compute.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | null | null | null | tests/data/azure/compute.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | 11 | 2020-12-21T02:51:11.000Z | 2022-03-15T14:30:43.000Z | tests/data/azure/compute.py | Cloudanix/cartography | 653d3cccbb9318e876fd558d386593e3612f4f78 | [
"Apache-2.0"
] | 1 | 2021-02-05T08:08:47.000Z | 2021-02-05T08:08:47.000Z | DESCRIBE_VMS = [
{
"id": "/subscriptions/00-00-00-00/resourceGroups/TestRG/providers/Microsoft.Compute/virtualMachines/TestVM",
"type": "Microsoft.Compute/virtualMachines",
"location": "West US",
"resource_group": "TestRG",
"name": "TestVM",
"plan": {
"pro... | 28.249191 | 117 | 0.531447 | 708 | 8,729 | 6.399718 | 0.158192 | 0.052968 | 0.052968 | 0.083867 | 0.912823 | 0.912823 | 0.912823 | 0.912823 | 0.88369 | 0.820128 | 0 | 0.044258 | 0.316646 | 8,729 | 308 | 118 | 28.340909 | 0.715339 | 0 | 0 | 0.686667 | 0 | 0.066667 | 0.432237 | 0.218467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54efb69123c9bd7cf2adce5a5b991ca4b28bc374 | 211 | py | Python | traceback_with_variables/activate_in_ipython_by_import.py | dominicj-nylas/traceback_with_variables | 899565d52f89587a29f14745ef5820b05bda8187 | [
"MIT"
] | null | null | null | traceback_with_variables/activate_in_ipython_by_import.py | dominicj-nylas/traceback_with_variables | 899565d52f89587a29f14745ef5820b05bda8187 | [
"MIT"
] | null | null | null | traceback_with_variables/activate_in_ipython_by_import.py | dominicj-nylas/traceback_with_variables | 899565d52f89587a29f14745ef5820b05bda8187 | [
"MIT"
] | null | null | null | """
For the simplest usage possible. Just import it
"""
from traceback_with_variables.override import override_print_tb, ColorSchemes
override_print_tb(ipython=True, color_scheme=ColorSchemes.common)
| 23.444444 | 78 | 0.796209 | 27 | 211 | 5.962963 | 0.777778 | 0.161491 | 0.186335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132701 | 211 | 8 | 79 | 26.375 | 0.879781 | 0.222749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
54f67f48877b302d5e82bbda6fee3630712d997f | 36 | py | Python | boa3_test/test_sc/list_test/StrList.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/list_test/StrList.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/list_test/StrList.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | def Main():
a = ['1', '2', '3']
| 12 | 23 | 0.305556 | 6 | 36 | 1.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.305556 | 36 | 2 | 24 | 18 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54fcd5815cc89227d0ee1d7ba779b7d58def1e39 | 322 | py | Python | src/python/WMComponent/DBS3Buffer/Oracle/DBSBufferFiles/LoadBulkFilesByID.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMComponent/DBS3Buffer/Oracle/DBSBufferFiles/LoadBulkFilesByID.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMComponent/DBS3Buffer/Oracle/DBSBufferFiles/LoadBulkFilesByID.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
_LoadBulkFilesByID_
Oracle implementation of DBSBufferFiles.LoadBulkFilesByID
"""
from WMComponent.DBS3Buffer.MySQL.DBSBufferFiles.LoadBulkFilesByID import LoadBulkFilesByID as MySQLLoadBulkFilesByID
class LoadBulkFilesByID(MySQLLoadBulkFilesByID):
"""
Same as MySQL
"""
pas... | 20.125 | 117 | 0.78882 | 27 | 322 | 9.333333 | 0.703704 | 0.246032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003584 | 0.13354 | 322 | 15 | 118 | 21.466667 | 0.899642 | 0.350932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0714d9eabb009b0b37899ca80e1f97cd28c4b79c | 44 | py | Python | falcon_casbin/__init__.py | alexferl/falcon-casbin | 9bebee7ab31c3d274c5466d14d3db9ab786d5b85 | [
"MIT"
] | null | null | null | falcon_casbin/__init__.py | alexferl/falcon-casbin | 9bebee7ab31c3d274c5466d14d3db9ab786d5b85 | [
"MIT"
] | null | null | null | falcon_casbin/__init__.py | alexferl/falcon-casbin | 9bebee7ab31c3d274c5466d14d3db9ab786d5b85 | [
"MIT"
] | null | null | null | from .falcon_casbin import CasbinMiddleware
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
071eb267263df64cc6626036f3ea3a55a3ab317a | 1,962 | py | Python | metadata-ingestion/tests/unit/test_snowflake_source.py | LucaBassanesecuebiq/datahub | f659cc89388cc6322795c7ba7758d65775a7dedf | [
"Apache-2.0"
] | null | null | null | metadata-ingestion/tests/unit/test_snowflake_source.py | LucaBassanesecuebiq/datahub | f659cc89388cc6322795c7ba7758d65775a7dedf | [
"Apache-2.0"
] | 1 | 2022-02-02T17:26:16.000Z | 2022-02-02T17:26:16.000Z | metadata-ingestion/tests/unit/test_snowflake_source.py | liftoffio/datahub | ff163059587a137a22fa0c655f568a40eda44236 | [
"Apache-2.0"
] | 1 | 2022-01-27T04:44:22.000Z | 2022-01-27T04:44:22.000Z | def test_snowflake_uri_default_authentication():
from datahub.ingestion.source.sql.snowflake import SnowflakeConfig
config = SnowflakeConfig.parse_obj(
{
"username": "user",
"password": "password",
"host_port": "acctname",
"database": "demo",
... | 30.65625 | 98 | 0.611621 | 175 | 1,962 | 6.565714 | 0.268571 | 0.083551 | 0.093995 | 0.114883 | 0.795474 | 0.795474 | 0.795474 | 0.795474 | 0.713664 | 0.713664 | 0 | 0 | 0.268603 | 1,962 | 63 | 99 | 31.142857 | 0.800697 | 0 | 0 | 0.566038 | 0 | 0 | 0.377676 | 0.205912 | 0 | 0 | 0 | 0 | 0.056604 | 1 | 0.056604 | false | 0.056604 | 0.056604 | 0 | 0.113208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
075406a75fe60cbd2a03752f032a68031cbface8 | 23,346 | py | Python | venv/lib/python3.8/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_redfish_event_subscription.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_redfish_event_subscription.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_redfish_event_subscription.py | saeedya/docker-ansible | 6fb0cfc6bc4a5925b21380952a5a4502ec02119a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Dell EMC OpenManage Ansible Modules
# Version 4.1.0
# Copyright (C) 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import (absolute_import, division, print_function)
_... | 51.536424 | 151 | 0.628545 | 2,223 | 23,346 | 6.316689 | 0.098965 | 0.072782 | 0.093576 | 0.085458 | 0.865475 | 0.831007 | 0.793049 | 0.772967 | 0.746973 | 0.736006 | 0 | 0.04666 | 0.249079 | 23,346 | 452 | 152 | 51.650442 | 0.754321 | 0.00998 | 0 | 0.687042 | 0 | 0.00489 | 0.357845 | 0.13153 | 0 | 0 | 0 | 0 | 0.04401 | 1 | 0.03423 | false | 0 | 0.00978 | 0 | 0.051345 | 0.00978 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
075b1948aa6cf3300e55cd06ba2dcc855543dcbe | 18,578 | py | Python | chaosoci/core/compute/actions.py | LaudateCorpus1/chaostoolkit-oci | 36da01a47dd1b0881ec21cb70775fde5011b38ed | [
"Apache-2.0"
] | 15 | 2018-11-20T15:36:52.000Z | 2021-12-16T21:46:56.000Z | chaosoci/core/compute/actions.py | LaudateCorpus1/chaostoolkit-oci | 36da01a47dd1b0881ec21cb70775fde5011b38ed | [
"Apache-2.0"
] | 21 | 2018-11-26T19:11:52.000Z | 2021-12-15T19:38:37.000Z | chaosoci/core/compute/actions.py | LaudateCorpus1/chaostoolkit-oci | 36da01a47dd1b0881ec21cb70775fde5011b38ed | [
"Apache-2.0"
] | 8 | 2018-11-20T15:37:09.000Z | 2021-07-28T20:27:19.000Z | # -*- coding: utf-8 -*-
from collections import defaultdict
from random import choice
from typing import Any, Dict, List
import oci
from chaoslib.exceptions import ActivityFailed, FailedActivity
from chaoslib.types import Configuration, Secrets
from oci.retry import DEFAULT_RETRY_STRATEGY
from chaosoci import oci_cli... | 44.338902 | 167 | 0.655991 | 2,059 | 18,578 | 5.70374 | 0.074794 | 0.110354 | 0.038317 | 0.026056 | 0.856437 | 0.833447 | 0.763028 | 0.747275 | 0.738249 | 0.701379 | 0 | 0.000297 | 0.275649 | 18,578 | 418 | 168 | 44.444976 | 0.872408 | 0.182689 | 0 | 0.694118 | 0 | 0 | 0.147896 | 0.01847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05098 | false | 0 | 0.05098 | 0 | 0.152941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ad651047c08a560c093e713ff4bac283fe4b28d | 24 | py | Python | lib/rpn/__init__.py | brijml/Object-Detection-Faster-RCNN | 86e115575767584584ab4e5572bc4abed8180eb5 | [
"MIT"
] | null | null | null | lib/rpn/__init__.py | brijml/Object-Detection-Faster-RCNN | 86e115575767584584ab4e5572bc4abed8180eb5 | [
"MIT"
] | null | null | null | lib/rpn/__init__.py | brijml/Object-Detection-Faster-RCNN | 86e115575767584584ab4e5572bc4abed8180eb5 | [
"MIT"
] | null | null | null | from train_rpn import *
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4aea9800cc4c41124456eba9678e1f1f4020bd93 | 36,231 | py | Python | packages/pegasus-python/src/Pegasus/service/monitoring/views.py | ahnitz/pegasus | e269b460f4d87eb3f3a7e91cd82e2c28fdb55573 | [
"Apache-2.0"
] | 127 | 2015-01-28T19:19:13.000Z | 2022-03-31T05:57:40.000Z | packages/pegasus-python/src/Pegasus/service/monitoring/views.py | ahnitz/pegasus | e269b460f4d87eb3f3a7e91cd82e2c28fdb55573 | [
"Apache-2.0"
] | 14 | 2015-04-15T17:44:20.000Z | 2022-02-22T22:48:49.000Z | packages/pegasus-python/src/Pegasus/service/monitoring/views.py | ahnitz/pegasus | e269b460f4d87eb3f3a7e91cd82e2c28fdb55573 | [
"Apache-2.0"
] | 70 | 2015-01-22T15:20:32.000Z | 2022-02-21T22:50:23.000Z | import hashlib
import logging
from flask import g, make_response, request
from Pegasus.service import cache
from Pegasus.service._serialize import jsonify
from Pegasus.service.base import OrderedDict
from Pegasus.service.monitoring import monitoring as blueprint
from Pegasus.service.monitoring.queries import (
Ma... | 29.28941 | 117 | 0.670062 | 4,548 | 36,231 | 5.134125 | 0.058267 | 0.026039 | 0.015632 | 0.008394 | 0.829165 | 0.815717 | 0.798801 | 0.775332 | 0.763854 | 0.744968 | 0 | 0.021308 | 0.230576 | 36,231 | 1,236 | 118 | 29.313107 | 0.8163 | 0.345478 | 0 | 0.472222 | 0 | 0.012346 | 0.17482 | 0.096065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101852 | false | 0 | 0.024691 | 0.006173 | 0.277778 | 0.095679 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab0b6dc773684d4f3bd83820371c20c62a35f06b | 100 | py | Python | tests/test_elliptic_moab.py | padmec-reservoir/elliptic_moab | a3b15f29a621c35a8279fd163326a0895aa67f30 | [
"MIT"
] | null | null | null | tests/test_elliptic_moab.py | padmec-reservoir/elliptic_moab | a3b15f29a621c35a8279fd163326a0895aa67f30 | [
"MIT"
] | null | null | null | tests/test_elliptic_moab.py | padmec-reservoir/elliptic_moab | a3b15f29a621c35a8279fd163326a0895aa67f30 | [
"MIT"
] | null | null | null | """Tests for `elliptic_moab` package."""
import pytest
from elliptic_moab import elliptic_moab
| 11.111111 | 40 | 0.76 | 13 | 100 | 5.615385 | 0.615385 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 8 | 41 | 12.5 | 0.858824 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab40272165d81a1f866b3a624c48985c6ede0962 | 63 | py | Python | club_poker/www/design.py | bobzz-zone/Rico | 9b97ea80d25e42e3c4dd55485d6f05172ec9ebac | [
"MIT"
] | null | null | null | club_poker/www/design.py | bobzz-zone/Rico | 9b97ea80d25e42e3c4dd55485d6f05172ec9ebac | [
"MIT"
] | null | null | null | club_poker/www/design.py | bobzz-zone/Rico | 9b97ea80d25e42e3c4dd55485d6f05172ec9ebac | [
"MIT"
] | null | null | null | import frappe
def get_context(context):
context.test="Hello" | 12.6 | 25 | 0.777778 | 9 | 63 | 5.333333 | 0.777778 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 5 | 26 | 12.6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab4f5a5c21ca21f3c5b799e2e069bb8573b00484 | 1,175 | py | Python | tests/base/dataloaders.py | Kshitij09/pytorch-lightning | 63bd0582e35ad865c1f07f61975456f65de0f41f | [
"Apache-2.0"
] | null | null | null | tests/base/dataloaders.py | Kshitij09/pytorch-lightning | 63bd0582e35ad865c1f07f61975456f65de0f41f | [
"Apache-2.0"
] | null | null | null | tests/base/dataloaders.py | Kshitij09/pytorch-lightning | 63bd0582e35ad865c1f07f61975456f65de0f41f | [
"Apache-2.0"
] | null | null | null | """Custom dataloaders for testing"""
class CustomInfDataloader:
def __init__(self, dataloader):
self.dataloader = dataloader
self.iter = iter(dataloader)
self.count = 0
def __iter__(self):
self.count = 0
return self
def __next__(self):
if self.count >= 50... | 23.5 | 45 | 0.581277 | 119 | 1,175 | 5.504202 | 0.210084 | 0.137405 | 0.073282 | 0.109924 | 0.777099 | 0.777099 | 0.777099 | 0.777099 | 0.777099 | 0.777099 | 0 | 0.012788 | 0.334468 | 1,175 | 49 | 46 | 23.979592 | 0.824808 | 0.04766 | 0 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.194444 | false | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbb61931b15daf7123c15864f807ddfb9c69bdcb | 5,213 | py | Python | player-statistics/tests/test_update_player_statistics.py | OpenMatchmaking/microservice-player-statistics | 2f265df73a93483c5ac6ee8ef06a8611ecfba415 | [
"BSD-3-Clause"
] | 4 | 2018-09-04T07:09:53.000Z | 2021-08-13T10:04:20.000Z | player-statistics/tests/test_update_player_statistics.py | OpenMatchmaking/microservice-player-statistics | 2f265df73a93483c5ac6ee8ef06a8611ecfba415 | [
"BSD-3-Clause"
] | 1 | 2019-01-01T09:40:42.000Z | 2019-01-01T09:40:42.000Z | player-statistics/tests/test_update_player_statistics.py | OpenMatchmaking/microservice-player-statistics | 2f265df73a93483c5ac6ee8ef06a8611ecfba415 | [
"BSD-3-Clause"
] | null | null | null | from copy import deepcopy
import pytest
from bson import ObjectId
from sage_utils.amqp.clients import RpcAmqpClient
from sage_utils.constants import VALIDATION_ERROR, NOT_FOUND_ERROR
from sage_utils.wrappers import Response
from app.statistics.documents import PlayerStatistic
from app.workers.update_player_statistics... | 31.403614 | 95 | 0.689814 | 590 | 5,213 | 5.827119 | 0.161017 | 0.052356 | 0.078534 | 0.062827 | 0.755963 | 0.742874 | 0.742874 | 0.742874 | 0.730657 | 0.730657 | 0 | 0.01193 | 0.196048 | 5,213 | 165 | 96 | 31.593939 | 0.808399 | 0 | 0 | 0.736842 | 0 | 0 | 0.094955 | 0 | 0 | 0 | 0 | 0 | 0.218045 | 1 | 0 | false | 0 | 0.06015 | 0 | 0.06015 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbcf41f91aa0e8cab2f46acb91b2e2ac3678818f | 59,442 | py | Python | mmtbx/regression/tst_angle.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/regression/tst_angle.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | mmtbx/regression/tst_angle.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | from __future__ import division
from libtbx import easy_run
from libtbx.test_utils import approx_equal
import time
# angle = 90
pdb_str_1 = """\
CRYST1 15.000 15.000 15.000 80.00 70.00 100.00 P 1
HETATM 1 O HOH X 1 0.000 1.000 0.000 1.00 20.00 O
HETATM 1 O HOH X 1 0.0... | 72.845588 | 103 | 0.453131 | 12,752 | 59,442 | 2.106023 | 0.08877 | 0.081211 | 0.118595 | 0.166034 | 0.456248 | 0.425007 | 0.192881 | 0.128091 | 0.124441 | 0.123362 | 0 | 0.59417 | 0.457538 | 59,442 | 815 | 104 | 72.934969 | 0.238704 | 0.000555 | 0 | 0.095597 | 0 | 0.927044 | 0.981756 | 0 | 0 | 0 | 0 | 0 | 0.002516 | 0 | null | null | 0 | 0.005031 | null | null | 0.005031 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
917c71e603b4b6bca0569eed2b41ea4fc703d376 | 37 | py | Python | protocols/protocol_1_2_0-opencb/opencb.py | Lucioric2000/GelReportModels | 1704cdea3242d5b46c8b81ef46553ccae2799435 | [
"Apache-2.0"
] | null | null | null | protocols/protocol_1_2_0-opencb/opencb.py | Lucioric2000/GelReportModels | 1704cdea3242d5b46c8b81ef46553ccae2799435 | [
"Apache-2.0"
] | null | null | null | protocols/protocol_1_2_0-opencb/opencb.py | Lucioric2000/GelReportModels | 1704cdea3242d5b46c8b81ef46553ccae2799435 | [
"Apache-2.0"
] | null | null | null | from protocols.opencb_1_2_0 import *
| 18.5 | 36 | 0.837838 | 7 | 37 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.108108 | 37 | 1 | 37 | 37 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91b965470f79912f4f1272ab46874449dcd1e677 | 3,791 | py | Python | flask_assistant/utils.py | voxally/flask-assistant | cd203d351108a911bce3010fe4e14846ef0cb02f | [
"Apache-2.0"
] | null | null | null | flask_assistant/utils.py | voxally/flask-assistant | cd203d351108a911bce3010fe4e14846ef0cb02f | [
"Apache-2.0"
] | null | null | null | flask_assistant/utils.py | voxally/flask-assistant | cd203d351108a911bce3010fe4e14846ef0cb02f | [
"Apache-2.0"
] | 1 | 2019-11-08T20:42:09.000Z | 2019-11-08T20:42:09.000Z | from __future__ import absolute_import
from typing import Dict, Any
import requests
import os
import sys
import logging
from google.auth import jwt
from flask_assistant.core import Assistant
from . import logger
logger.setLevel(logging.INFO)
GOOGLE_PUBLIC_KEY = {
"8a63fe71e53067524cbbc6a3a58463b3864c0787": "----... | 67.696429 | 1,221 | 0.86125 | 297 | 3,791 | 10.848485 | 0.585859 | 0.012415 | 0.017381 | 0.013966 | 0.021726 | 0.021726 | 0.021726 | 0.021726 | 0 | 0 | 0 | 0.095682 | 0.065418 | 3,791 | 55 | 1,222 | 68.927273 | 0.813717 | 0.02163 | 0 | 0 | 0 | 0.054054 | 0.664866 | 0.637321 | 0 | 1 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.486486 | 0 | 0.702703 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
91ba770106aec76e30afa5083b47f2e5a048161f | 3,130 | py | Python | saleor/graphql/checkout/tests/deprecated/test_checkout_language_code_update.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/checkout/tests/deprecated/test_checkout_language_code_update.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/checkout/tests/deprecated/test_checkout_language_code_update.py | DevPoke/saleor | ced3a2249a18031f9f593e71d1d18aa787ec1060 | [
"CC-BY-4.0"
] | null | null | null | import graphene
from .....checkout.error_codes import CheckoutErrorCode
from ....tests.utils import get_graphql_content
MUTATION_CHECKOUT_UPDATE_LANGUAGE_CODE = """
mutation checkoutLanguageCodeUpdate(
$checkoutId: ID, $token: UUID, $languageCode: LanguageCodeEnum!
){
checkoutLanguageCodeUpdate(
checkoutI... | 28.198198 | 76 | 0.723003 | 345 | 3,130 | 6.182609 | 0.165217 | 0.129395 | 0.092827 | 0.109705 | 0.841069 | 0.825129 | 0.809658 | 0.792311 | 0.792311 | 0.792311 | 0 | 0.001555 | 0.178275 | 3,130 | 110 | 77 | 28.454545 | 0.827761 | 0 | 0 | 0.595506 | 0 | 0 | 0.207348 | 0.050479 | 0 | 0 | 0 | 0 | 0.134831 | 1 | 0.044944 | false | 0 | 0.033708 | 0 | 0.078652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91c5f57ca4de22837ca8a350712f86d9e6643066 | 8,235 | py | Python | src/tests/test_profiler.py | SpookyWoogin/robot2018 | a8ddf6a64b883904b15031e0ae13b2056faed4f5 | [
"MIT"
] | 1 | 2018-10-24T21:43:00.000Z | 2018-10-24T21:43:00.000Z | src/tests/test_profiler.py | SpookyWoogin/robot2018 | a8ddf6a64b883904b15031e0ae13b2056faed4f5 | [
"MIT"
] | 1 | 2018-03-10T01:25:47.000Z | 2018-03-10T03:33:36.000Z | src/tests/test_profiler.py | SpookyWoogin/robot2018 | a8ddf6a64b883904b15031e0ae13b2056faed4f5 | [
"MIT"
] | 6 | 2018-01-13T17:54:31.000Z | 2018-02-13T23:46:50.000Z | import pytest
from data_logger import DataLogger
from profiler import TrapezoidalProfile
def test_cruise_velocity_positive1():
"""
cruise velocity must always be positive
"""
with pytest.raises(AssertionError):
profiler = TrapezoidalProfile(cruise_v=-10, a=20, target_pos=0, tolerance=.5)
de... | 29.202128 | 114 | 0.60085 | 1,109 | 8,235 | 4.317403 | 0.107304 | 0.112782 | 0.105263 | 0.082707 | 0.861111 | 0.820175 | 0.792189 | 0.739348 | 0.722849 | 0.713033 | 0 | 0.057913 | 0.27031 | 8,235 | 281 | 115 | 29.30605 | 0.738892 | 0.077231 | 0 | 0.674157 | 0 | 0 | 0.040786 | 0 | 0 | 0 | 0 | 0 | 0.207865 | 1 | 0.061798 | false | 0 | 0.016854 | 0 | 0.078652 | 0.005618 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91e24c67f9a253d6c6e6b22bdba3cb5c2e3f9835 | 131 | py | Python | Ch_4_Py Crust_Code Structure/4_8.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | 1 | 2020-07-21T08:34:08.000Z | 2020-07-21T08:34:08.000Z | Ch_4_Py Crust_Code Structure/4_8.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | null | null | null | Ch_4_Py Crust_Code Structure/4_8.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | null | null | null |
def good():
return ['Harry', 'Ron', 'Hermione']
# expected output:
'''
['Harry', 'Ron', 'Hermione']
'''
print( good() ) | 11.909091 | 39 | 0.519084 | 13 | 131 | 5.230769 | 0.692308 | 0.235294 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21374 | 131 | 11 | 40 | 11.909091 | 0.660194 | 0.122137 | 0 | 0 | 0 | 0 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
91e27a08167c3670f08ab963218a27e3bde0b72a | 241 | py | Python | janus/qmmm/__init__.py | zhenglz/janus | f3f1ed3f2b6e377c51e958cae2d919069d221eda | [
"BSD-3-Clause"
] | 16 | 2019-04-18T15:45:02.000Z | 2021-12-17T17:51:18.000Z | janus/qmmm/__init__.py | zhenglz/janus | f3f1ed3f2b6e377c51e958cae2d919069d221eda | [
"BSD-3-Clause"
] | 2 | 2019-06-20T16:56:08.000Z | 2020-08-28T16:09:16.000Z | janus/qmmm/__init__.py | zhenglz/janus | f3f1ed3f2b6e377c51e958cae2d919069d221eda | [
"BSD-3-Clause"
] | 8 | 2018-11-16T17:00:58.000Z | 2022-01-11T05:36:50.000Z | from janus.qmmm.qmmm import QMMM
from janus.qmmm.aqmmm import AQMMM
from janus.qmmm.oniom_xs import OniomXS
from janus.qmmm.hot_spot import HotSpot
from janus.qmmm.pap import PAP
from janus.qmmm.sap import SAP
from janus.qmmm.das import DAS
| 30.125 | 39 | 0.825726 | 44 | 241 | 4.477273 | 0.318182 | 0.319797 | 0.461929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116183 | 241 | 7 | 40 | 34.428571 | 0.924883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37e675f0cc9dce80acdaa323ed6b97d341da0e60 | 39 | py | Python | src/masonite/broadcasting/drivers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | src/masonite/broadcasting/drivers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | src/masonite/broadcasting/drivers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from .PusherDriver import PusherDriver
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
530594499bbcc826b011d45e78cefc4f58b371f2 | 157 | py | Python | import_library_depressive.py | suriya-1403/Depression-Prediction | 1f45918a97874ac88bc5fd918e1ce664cb9f8876 | [
"MIT"
] | 1 | 2021-04-10T19:10:19.000Z | 2021-04-10T19:10:19.000Z | import_library_depressive.py | suriya-1403/Depression-Prediction | 1f45918a97874ac88bc5fd918e1ce664cb9f8876 | [
"MIT"
] | null | null | null | import_library_depressive.py | suriya-1403/Depression-Prediction | 1f45918a97874ac88bc5fd918e1ce664cb9f8876 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import re
from keras.models import Sequential
from keras.layers import Dense
from keras.preprocessing import sequence
| 22.428571 | 40 | 0.840764 | 25 | 157 | 5.28 | 0.6 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140127 | 157 | 6 | 41 | 26.166667 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5310312c558a95be49568d99f2eb796d703546c0 | 3,355 | py | Python | Factories/CreateSignatureMatrices.py | dnzprmksz/Movie-Recommender | 7543ee938b830cc7c74e75c02ffc2a1c7ce366f0 | [
"MIT"
] | 1 | 2017-07-28T09:26:37.000Z | 2017-07-28T09:26:37.000Z | Factories/CreateSignatureMatrices.py | dnzprmksz/movie-recommender | 7543ee938b830cc7c74e75c02ffc2a1c7ce366f0 | [
"MIT"
] | 2 | 2017-11-19T00:06:38.000Z | 2017-11-19T00:06:41.000Z | Factories/CreateSignatureMatrices.py | dnzprmksz/movie-recommender | 7543ee938b830cc7c74e75c02ffc2a1c7ce366f0 | [
"MIT"
] | null | null | null | import numpy as np
from numpy import load
from scipy.sparse import csr_matrix, csc_matrix
# Min-hashing with random vectors. More vectors produce better approximation.
def generate_user_signature(num_vectors=120):
# Using normalized utility matrix, since similarity in normalized matrix is more important than vanilla... | 40.421687 | 107 | 0.742772 | 497 | 3,355 | 4.937626 | 0.239437 | 0.0326 | 0.02771 | 0.02934 | 0.798696 | 0.767726 | 0.713121 | 0.713121 | 0.713121 | 0.674817 | 0 | 0.021119 | 0.153204 | 3,355 | 82 | 108 | 40.914634 | 0.842661 | 0.419076 | 0 | 0.380952 | 1 | 0 | 0.086708 | 0.063863 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.071429 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72a53f01e24766d4c5b73f60f7e8cedfa5a52937 | 33,955 | py | Python | nova/tests/unit/network/test_rpcapi.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/network/test_rpcapi.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/network/test_rpcapi.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2013 Red Hat, Inc.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'
co... | 13.222352 | 88 | 0.620233 | 5,083 | 33,955 | 3.968719 | 0.052922 | 0.121648 | 0.073365 | 0.041937 | 0.876766 | 0.832102 | 0.770535 | 0.713478 | 0.644376 | 0.59649 | 0 | 0.003259 | 0.096451 | 33,955 | 2,567 | 89 | 13.227503 | 0.65427 | 0 | 0 | 0.929879 | 0 | 0 | 0.390664 | 0.064998 | 0 | 0 | 0 | 0 | 0.005843 | 0 | null | null | 0.000779 | 0.003896 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72ac0e29779b09b736990cedf9cec62695d16e21 | 21 | py | Python | marketing_attribution_models/__init__.py | andretocci/Marketing-Attribution-Models | 01e1b2de609515720a554b213070c1bc8ed24198 | [
"Apache-2.0"
] | 126 | 2020-01-27T14:02:46.000Z | 2022-03-30T20:50:47.000Z | marketing_attribution_models/__init__.py | andretocci/Marketing-Attribution-Models | 01e1b2de609515720a554b213070c1bc8ed24198 | [
"Apache-2.0"
] | 24 | 2020-05-23T12:11:55.000Z | 2022-03-14T11:46:26.000Z | marketing_attribution_models/__init__.py | iago/Marketing-Attribution-Models | 6d5e8ba879f0c4157a6c7795df991a1d5964cdc2 | [
"Apache-2.0"
] | 40 | 2020-02-03T17:44:27.000Z | 2022-03-15T16:20:43.000Z | from .MAM import MAM
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72dac89d8eee5f20f8ddb5c0bbea07080ecca3b7 | 26,172 | py | Python | src/module_particle_systems.py | faycalki/medieval-conquests | 113e13e2b166b79517c14f2c13f7561307a89f75 | [
"MIT"
] | 7 | 2019-08-11T14:20:20.000Z | 2021-11-21T06:48:24.000Z | src/module_particle_systems.py | faycalki/medieval-conquests | 113e13e2b166b79517c14f2c13f7561307a89f75 | [
"MIT"
] | null | null | null | src/module_particle_systems.py | faycalki/medieval-conquests | 113e13e2b166b79517c14f2c13f7561307a89f75 | [
"MIT"
] | null | null | null | from header_particle_systems import *
#psf_always_emit = 0x0000000002
#psf_global_emit_dir = 0x0000000010
#psf_emit_at_water_level = 0x0000000020
#psf_billboard_2d = 0x0000000100 # up_vec = dir, front rotated towards camera
#psf_billboard_3d = 0x0000000200 # front_vec point to camera.
#psf_tur... | 25.785222 | 145 | 0.504585 | 6,238 | 26,172 | 1.982206 | 0.046489 | 0.197655 | 0.154792 | 0.128751 | 0.779458 | 0.747675 | 0.719612 | 0.684432 | 0.650142 | 0.635423 | 0 | 0.25879 | 0.206709 | 26,172 | 1,015 | 146 | 25.785222 | 0.336769 | 0.11134 | 0 | 0.693878 | 0 | 0 | 0.087108 | 0.00776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001134 | 0 | 0.001134 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72e38590b6794b0ddefd12326ef038fd6d9d1170 | 326 | py | Python | owslib/owscontext/__init__.py | jannefleischer/OWSLib | e0f82ce01c4f3d18c2e25938987af3e9bcc6ecad | [
"BSD-3-Clause"
] | 218 | 2015-01-09T12:55:09.000Z | 2022-03-29T12:22:54.000Z | owslib/owscontext/__init__.py | jannefleischer/OWSLib | e0f82ce01c4f3d18c2e25938987af3e9bcc6ecad | [
"BSD-3-Clause"
] | 512 | 2015-01-01T09:52:58.000Z | 2022-03-30T11:57:07.000Z | owslib/owscontext/__init__.py | jannefleischer/OWSLib | e0f82ce01c4f3d18c2e25938987af3e9bcc6ecad | [
"BSD-3-Clause"
] | 218 | 2015-01-01T09:44:06.000Z | 2022-03-31T14:09:13.000Z | # -*- coding: utf-8 -*-
# =============================================================================
# Authors : Alexander Kmoch <allixender@gmail.com>
#
# =============================================================================
"""
place for some constants to avoid circular imports
"""
from owslib.util impor... | 27.166667 | 79 | 0.352761 | 22 | 326 | 5.227273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003401 | 0.09816 | 326 | 11 | 80 | 29.636364 | 0.387755 | 0.852761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be34605855aeb148c267eb97b3355f0266cc9873 | 1,466 | py | Python | euler/0/08.py | PandaDrunkard/proex | c303f051721d9f271d8187957a4458dc5f4558b1 | [
"MIT"
] | null | null | null | euler/0/08.py | PandaDrunkard/proex | c303f051721d9f271d8187957a4458dc5f4558b1 | [
"MIT"
] | null | null | null | euler/0/08.py | PandaDrunkard/proex | c303f051721d9f271d8187957a4458dc5f4558b1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def calculate(n, d):
s = str(n)
m = -1
for i in range(0, len(s) - d + 1):
p = 1
for j in range(0, d):
p *= int(s[i+j])
if p > m:
m = p
return m
# https://stackoverflow.com/questions/12385040/python-defining-a... | 36.65 | 102 | 0.843111 | 90 | 1,466 | 13.733333 | 0.7 | 0.006472 | 0.012945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.767547 | 0.09618 | 1,466 | 39 | 103 | 37.589744 | 0.165283 | 0.097544 | 0 | 0 | 0 | 0 | 0.774242 | 0.757576 | 0 | 1 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0 | 0 | 0.060606 | 0.060606 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be4d92c5dba9162c586a5064616b4801aa28c4d9 | 7,772 | py | Python | pygcdm/protogen/gcdm_server_pb2_grpc.py | rmcsqrd/pygcdm | 0cef2d8220c3fdd9112510f6040a0c9c5e248a25 | [
"BSD-3-Clause"
] | 2 | 2021-08-31T16:32:08.000Z | 2021-09-03T22:13:27.000Z | pygcdm/protogen/gcdm_server_pb2_grpc.py | rmcsqrd/netcdf-grpc | 0cef2d8220c3fdd9112510f6040a0c9c5e248a25 | [
"BSD-3-Clause"
] | 4 | 2021-09-07T15:26:07.000Z | 2021-09-13T21:06:15.000Z | pygcdm/protogen/gcdm_server_pb2_grpc.py | rmcsqrd/netcdf-grpc | 0cef2d8220c3fdd9112510f6040a0c9c5e248a25 | [
"BSD-3-Clause"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from pygcdm.protogen import gcdm_grid_pb2 as pygcdm_dot_protogen_dot_gcdm__grid__pb2
from pygcdm.protogen import gcdm_netcdf_pb2 as pygcdm_dot_protogen_dot_gcdm_... | 46.538922 | 118 | 0.687983 | 754 | 7,772 | 6.679045 | 0.14191 | 0.046465 | 0.087768 | 0.103257 | 0.821882 | 0.810763 | 0.787331 | 0.742057 | 0.707903 | 0.486696 | 0 | 0.004752 | 0.241894 | 7,772 | 166 | 119 | 46.819277 | 0.849966 | 0.080932 | 0 | 0.481203 | 1 | 0 | 0.06859 | 0.033093 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075188 | false | 0 | 0.022556 | 0.030075 | 0.150376 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 | 6 |
be617153ffe2e46622204ad779f10f5b090b00e3 | 71 | py | Python | string-1/make_tags.py | ibLeDy/codingbat-python | 246df68940f1bb3b25bdc070906ad2ba42b0c447 | [
"MIT"
] | null | null | null | string-1/make_tags.py | ibLeDy/codingbat-python | 246df68940f1bb3b25bdc070906ad2ba42b0c447 | [
"MIT"
] | null | null | null | string-1/make_tags.py | ibLeDy/codingbat-python | 246df68940f1bb3b25bdc070906ad2ba42b0c447 | [
"MIT"
] | null | null | null | def make_tags(tag, word):
return '<{}>{}</{}>'.format(tag, word, tag) | 35.5 | 45 | 0.577465 | 10 | 71 | 4 | 0.7 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 45 | 35.5 | 0.634921 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
beb0dedc7af2a70ce107637542c88ce70d22f02d | 85 | py | Python | code/answer_2-1-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/answer_2-1-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/answer_2-1-10.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | H, W = map(int, input().split())
h, w = map(int, input().split())
print((H-h)*(W-w))
| 21.25 | 32 | 0.529412 | 17 | 85 | 2.647059 | 0.411765 | 0.133333 | 0.222222 | 0.355556 | 0.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 3 | 33 | 28.333333 | 0.608108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe29d1fec3c88c28389083f62dc75c364804f676 | 82,139 | py | Python | tests/core/featurizers/test_tracker_featurizer.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 9,701 | 2019-04-16T15:46:27.000Z | 2022-03-31T11:52:18.000Z | tests/core/featurizers/test_tracker_featurizer.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 6,420 | 2019-04-16T15:58:22.000Z | 2022-03-31T17:54:35.000Z | tests/core/featurizers/test_tracker_featurizer.py | fintzd/rasa | 6359be5509c7d87cd29c2ab5149bc45e843fea85 | [
"Apache-2.0"
] | 3,063 | 2019-04-16T15:23:52.000Z | 2022-03-31T00:01:12.000Z | from typing import Text, Dict, List, Optional
import numpy as np
import pytest
from rasa.core.featurizers.single_state_featurizer import SingleStateFeaturizer
from rasa.core.featurizers.single_state_featurizer import (
IntentTokenizerSingleStateFeaturizer,
)
from rasa.core.featurizers.tracker_featurizers import (... | 35.162243 | 88 | 0.630017 | 7,801 | 82,139 | 6.265351 | 0.028971 | 0.075497 | 0.054669 | 0.073656 | 0.937679 | 0.932114 | 0.92929 | 0.918222 | 0.91327 | 0.910938 | 0 | 0.002659 | 0.2674 | 82,139 | 2,335 | 89 | 35.177302 | 0.809572 | 0.012065 | 0 | 0.690819 | 0 | 0 | 0.075869 | 0.009752 | 0 | 0 | 0 | 0 | 0.078412 | 1 | 0.019355 | false | 0 | 0.008933 | 0 | 0.031762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe39c3d4413962982ebda1a16a90246a5fdf2ec2 | 12,136 | py | Python | pandas/tests/plotting/frame/test_hist_box_by.py | luftwurzel/pandas | 8980af7ce9d98713b0f8792e38f0fe43088e8780 | [
"BSD-3-Clause"
] | 1 | 2022-03-29T01:38:03.000Z | 2022-03-29T01:38:03.000Z | pandas/tests/plotting/frame/test_hist_box_by.py | luftwurzel/pandas | 8980af7ce9d98713b0f8792e38f0fe43088e8780 | [
"BSD-3-Clause"
] | 1 | 2022-03-08T02:15:07.000Z | 2022-03-08T02:15:07.000Z | pandas/tests/plotting/frame/test_hist_box_by.py | luftwurzel/pandas | 8980af7ce9d98713b0f8792e38f0fe43088e8780 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T11:50:25.000Z | 2022-03-22T11:50:25.000Z | import re
import numpy as np
import pytest
import pandas.util._test_decorators as td
from pandas import DataFrame
import pandas._testing as tm
from pandas.tests.plotting.common import (
TestPlotBase,
_check_plot_works,
)
@pytest.fixture
def hist_df():
np.random.seed(0)
df = DataFrame(np.random.rand... | 32.276596 | 87 | 0.409278 | 1,402 | 12,136 | 3.381598 | 0.101284 | 0.020671 | 0.009492 | 0.038389 | 0.87471 | 0.853828 | 0.82683 | 0.777684 | 0.744147 | 0.618857 | 0 | 0.033319 | 0.413893 | 12,136 | 375 | 88 | 32.362667 | 0.633207 | 0.027769 | 0 | 0.55418 | 0 | 0 | 0.089744 | 0 | 0 | 0 | 0 | 0 | 0.077399 | 1 | 0.04644 | false | 0.006192 | 0.021672 | 0 | 0.077399 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe4037c4dd48feaccb9c70bf626144a4f178a4e4 | 46 | py | Python | gym_panda/envs/__init__.py | a-nooj/gym-panda | 92c769fcd4d910b5913f99f96aa7cb1231a9d069 | [
"MIT"
] | 53 | 2020-05-29T18:47:25.000Z | 2022-02-16T16:00:29.000Z | gym_panda/envs/__init__.py | borninfreedom/gym-panda | 92c769fcd4d910b5913f99f96aa7cb1231a9d069 | [
"MIT"
] | 4 | 2020-06-15T18:24:03.000Z | 2021-08-08T16:44:30.000Z | gym_panda/envs/__init__.py | borninfreedom/gym-panda | 92c769fcd4d910b5913f99f96aa7cb1231a9d069 | [
"MIT"
] | 18 | 2020-05-08T09:57:48.000Z | 2022-01-15T16:20:11.000Z | from gym_panda.envs.panda_env import PandaEnv
| 23 | 45 | 0.869565 | 8 | 46 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe77f6830b185d45af18d65abb0fc08976d27e2c | 11,264 | py | Python | tests/test_lpqpydist.py | StongeEtienne/lpq-nanoflann | 5e4df9c86729323ba69faff81defa657c1c9c941 | [
"BSD-2-Clause"
] | 2 | 2021-12-16T21:24:06.000Z | 2022-03-29T15:34:29.000Z | tests/test_lpqpydist.py | StongeEtienne/lpq-nanoflann | 5e4df9c86729323ba69faff81defa657c1c9c941 | [
"BSD-2-Clause"
] | 1 | 2021-12-17T15:04:40.000Z | 2021-12-17T21:05:37.000Z | tests/test_lpqpydist.py | StongeEtienne/lpq-nanoflann | 5e4df9c86729323ba69faff81defa657c1c9c941 | [
"BSD-2-Clause"
] | 1 | 2021-12-16T21:48:08.000Z | 2021-12-16T21:48:08.000Z | import pytest
import numpy as np
import lpqtree.lpqpydist as lpqdist
# testing values
a = np.array([[[2.0, 2.0, -2.0, 2.0],
[0.0, 0.0, 0.0, 0.0],
[1.0, 0.0, 0.0, 0.0]],
[[-4.0, 0.0, 0.0, 0.0],
[0.0, -1.0, 1.0, 0.0],
[1.0, -2.0, 2.0, 4.0]]])
l1... | 52.635514 | 116 | 0.645685 | 2,068 | 11,264 | 3.445841 | 0.030464 | 0.115633 | 0.231266 | 0.332445 | 0.910328 | 0.856301 | 0.793292 | 0.612826 | 0.526944 | 0.427168 | 0 | 0.062817 | 0.176048 | 11,264 | 213 | 117 | 52.882629 | 0.704989 | 0.002575 | 0 | 0.086957 | 0 | 0 | 0.19489 | 0 | 0 | 0 | 0 | 0 | 0.639752 | 1 | 0.10559 | false | 0 | 0.018634 | 0 | 0.124224 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
229f10bb331d6890360919536677501b81f65dba | 39 | py | Python | Password_Protect.py | Alitma5094/Password-Protect | 8278163051146b6b8f3dcb017867d954899e5209 | [
"MIT"
] | null | null | null | Password_Protect.py | Alitma5094/Password-Protect | 8278163051146b6b8f3dcb017867d954899e5209 | [
"MIT"
] | null | null | null | Password_Protect.py | Alitma5094/Password-Protect | 8278163051146b6b8f3dcb017867d954899e5209 | [
"MIT"
] | null | null | null | from cli import start_cli
start_cli()
| 9.75 | 25 | 0.794872 | 7 | 39 | 4.142857 | 0.571429 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 3 | 26 | 13 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
22ae407a1a844a391053cf26f9ce2822d17d6b5c | 161,952 | py | Python | libcloud/test/compute/test_dimensiondata_v2_4.py | dupontz/libcloud | 419c69441ea10e7bbf37319e5e8d02e82e7e6b40 | [
"Apache-2.0"
] | null | null | null | libcloud/test/compute/test_dimensiondata_v2_4.py | dupontz/libcloud | 419c69441ea10e7bbf37319e5e8d02e82e7e6b40 | [
"Apache-2.0"
] | null | null | null | libcloud/test/compute/test_dimensiondata_v2_4.py | dupontz/libcloud | 419c69441ea10e7bbf37319e5e8d02e82e7e6b40 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | 48.2 | 159 | 0.649476 | 19,065 | 161,952 | 5.214896 | 0.044637 | 0.044658 | 0.035727 | 0.031381 | 0.889723 | 0.859759 | 0.834564 | 0.801664 | 0.769478 | 0.726871 | 0 | 0.068303 | 0.250661 | 161,952 | 3,359 | 160 | 48.21435 | 0.75095 | 0.007515 | 0 | 0.613906 | 0 | 0 | 0.138402 | 0.081329 | 0 | 0 | 0 | 0 | 0.152341 | 1 | 0.125437 | false | 0.015374 | 0.010133 | 0.000349 | 0.187631 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22df3396563e93fdf6625a94e86d9045e55e3195 | 30 | py | Python | rss2sql/__init__.py | alexandre-mbm/rss2sql | e5eab86fdb3013d025ed6a1e288c5a25513d0ebd | [
"MIT"
] | null | null | null | rss2sql/__init__.py | alexandre-mbm/rss2sql | e5eab86fdb3013d025ed6a1e288c5a25513d0ebd | [
"MIT"
] | 1 | 2020-09-20T21:42:31.000Z | 2020-09-20T21:42:31.000Z | rss2sql/__init__.py | alexandre-mbm/rss2sql | e5eab86fdb3013d025ed6a1e288c5a25513d0ebd | [
"MIT"
] | 1 | 2020-09-20T19:04:52.000Z | 2020-09-20T19:04:52.000Z | from .rss2sql import SQL, RSS
| 15 | 29 | 0.766667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.166667 | 30 | 1 | 30 | 30 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22f02698265235978ab242dc0d64d1a6cbcdc38f | 34 | py | Python | aoc/d17/__init__.py | klittlepage/aoc2020 | 7135ac08263480a8cc9d6536d7caeb26bf85ae4f | [
"MIT"
] | null | null | null | aoc/d17/__init__.py | klittlepage/aoc2020 | 7135ac08263480a8cc9d6536d7caeb26bf85ae4f | [
"MIT"
] | null | null | null | aoc/d17/__init__.py | klittlepage/aoc2020 | 7135ac08263480a8cc9d6536d7caeb26bf85ae4f | [
"MIT"
] | null | null | null | from aoc.d17.main import p_1, p_2
| 17 | 33 | 0.764706 | 9 | 34 | 2.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.147059 | 34 | 1 | 34 | 34 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3bad4667037c2152beffb0d6b3aecc038860f5c | 13,220 | py | Python | pandapower/test/api/test_std_types.py | mathildebadoual/pandapower | 9ba4bcb78e84b644d2ba6df0c08e285c54af8ddc | [
"BSD-3-Clause"
] | 1 | 2020-10-19T06:39:15.000Z | 2020-10-19T06:39:15.000Z | pandapower/test/api/test_std_types.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | pandapower/test/api/test_std_types.py | miek770/pandapower | de004efc1b7432a633792af4f551f7635a02db47 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2016-2018 by University of Kassel and Fraunhofer Institute for Energy Economics
# and Energy System Technology (IEE), Kassel. All rights reserved.
import pytest
import pandapower as pp
def test_create_and_load_std_type_line():
net = pp.create_empty_network()
c = 40
... | 41.442006 | 125 | 0.659682 | 2,178 | 13,220 | 3.620753 | 0.069789 | 0.051737 | 0.02739 | 0.030434 | 0.890058 | 0.88562 | 0.85823 | 0.791402 | 0.780878 | 0.741187 | 0 | 0.034844 | 0.205446 | 13,220 | 318 | 126 | 41.572327 | 0.715918 | 0.026475 | 0 | 0.627451 | 0 | 0 | 0.154654 | 0 | 0 | 0 | 0 | 0 | 0.12549 | 1 | 0.039216 | false | 0 | 0.007843 | 0 | 0.047059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3cee3718a23abecdb9711855e2ea4b4e7f4e0a4 | 46 | py | Python | src/Set/lengthSet.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | src/Set/lengthSet.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | src/Set/lengthSet.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | x = set([71, 12, 3, 18, 2, 21])
print(len(x)) | 15.333333 | 31 | 0.5 | 11 | 46 | 2.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 0.195652 | 46 | 3 | 32 | 15.333333 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
430ec54573caadc5c6e31645edd0b588a87a55aa | 72 | py | Python | elliot/evaluation/metrics/bias/pop_reo/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/evaluation/metrics/bias/pop_reo/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/evaluation/metrics/bias/pop_reo/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .pop_reo import PopREO
from .extended_pop_reo import ExtendedPopREO | 36 | 44 | 0.875 | 11 | 72 | 5.454545 | 0.636364 | 0.2 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 44 | 36 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
433227d118a5111e80dd004d3af2da62940eeb3d | 36,677 | py | Python | disturbance/components/proposals/email.py | preranaandure/disturbance | 533b83537df6dbd7ccbb0701fd5b89d5ef11f9aa | [
"Apache-2.0"
] | null | null | null | disturbance/components/proposals/email.py | preranaandure/disturbance | 533b83537df6dbd7ccbb0701fd5b89d5ef11f9aa | [
"Apache-2.0"
] | null | null | null | disturbance/components/proposals/email.py | preranaandure/disturbance | 533b83537df6dbd7ccbb0701fd5b89d5ef11f9aa | [
"Apache-2.0"
] | null | null | null | import logging
from django.core.mail import EmailMultiAlternatives, EmailMessage
from django.utils.encoding import smart_text
from django.core.urlresolvers import reverse
from django.conf import settings
from disturbance.components.emails.emails import TemplateEmailBase
from ledger.accounts.models import EmailUser
l... | 42.846963 | 144 | 0.722196 | 4,127 | 36,677 | 6.193118 | 0.057427 | 0.038499 | 0.048906 | 0.066513 | 0.842404 | 0.815251 | 0.791932 | 0.779138 | 0.742478 | 0.689581 | 0 | 0.000268 | 0.185239 | 36,677 | 855 | 145 | 42.897076 | 0.855035 | 0.237015 | 0 | 0.605839 | 0 | 0 | 0.20298 | 0.133988 | 0 | 0 | 0 | 0.00117 | 0 | 1 | 0.036496 | false | 0.001825 | 0.020073 | 0 | 0.25365 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a47816ce1e78b0a28f7ac92b298f277db8335f0 | 11,334 | py | Python | tests/unit/utils/test_cache.py | flowluap/OpenSlides | e0069f734adacd5a42183915230f17fc52336f22 | [
"MIT"
] | null | null | null | tests/unit/utils/test_cache.py | flowluap/OpenSlides | e0069f734adacd5a42183915230f17fc52336f22 | [
"MIT"
] | null | null | null | tests/unit/utils/test_cache.py | flowluap/OpenSlides | e0069f734adacd5a42183915230f17fc52336f22 | [
"MIT"
] | null | null | null | import json
from typing import Any, Dict, List
import pytest
from openslides.utils.cache import ChangeIdTooLowError, ElementCache
from .cache_provider import TTestCacheProvider, example_data, get_cachable_provider
def decode_dict(encoded_dict: Dict[str, str]) -> Dict[str, Any]:
"""
Helper function that loa... | 33.532544 | 88 | 0.618405 | 1,424 | 11,334 | 4.673455 | 0.077949 | 0.115402 | 0.016829 | 0.06281 | 0.872427 | 0.853644 | 0.830654 | 0.815177 | 0.780316 | 0.746657 | 0 | 0.034367 | 0.214399 | 11,334 | 337 | 89 | 33.632047 | 0.71305 | 0.031939 | 0 | 0.58 | 0 | 0 | 0.287909 | 0.031462 | 0 | 0 | 0 | 0 | 0.092 | 1 | 0.012 | false | 0 | 0.02 | 0 | 0.044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a5b920087ea7dda4c9be14ec1449dd543d12274 | 16,230 | py | Python | tests/TestReconciliationManager.py | jbhayback/reconciliation-manager | 5de10a0ec89e397a4937d1764976c94cde06beee | [
"MIT"
] | null | null | null | tests/TestReconciliationManager.py | jbhayback/reconciliation-manager | 5de10a0ec89e397a4937d1764976c94cde06beee | [
"MIT"
] | null | null | null | tests/TestReconciliationManager.py | jbhayback/reconciliation-manager | 5de10a0ec89e397a4937d1764976c94cde06beee | [
"MIT"
] | null | null | null | """
Test class for testing ReconciliationManager.
"""
import os
from collections import defaultdict
from unittest.mock import MagicMock
from ReconciliationManager import ReconciliationManager
from .TestLogger import Logger
from .TestBase import TestBase
CWD = os.path.abspath(os.path.dirname(__file__))
TEST_DATAPAT... | 35.592105 | 116 | 0.585952 | 1,618 | 16,230 | 5.429543 | 0.090853 | 0.055549 | 0.065566 | 0.05646 | 0.850541 | 0.838702 | 0.802049 | 0.766648 | 0.73136 | 0.686625 | 0 | 0.021673 | 0.312015 | 16,230 | 455 | 117 | 35.67033 | 0.76509 | 0.044054 | 0 | 0.595506 | 0 | 0 | 0.206637 | 0.082733 | 0 | 0 | 0 | 0 | 0.073034 | 1 | 0.039326 | false | 0 | 0.016854 | 0 | 0.070225 | 0.002809 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a725658d2ae09f32f9d44ef6a52a9c783b8c5ba | 11,107 | py | Python | main_scripts/main_qm9_experiment.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | main_scripts/main_qm9_experiment.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | main_scripts/main_qm9_experiment.py | JiaHe-yogurt/GNN | 6b6dbc362591b4521e0b437d17ab09c1c879aa75 | [
"Apache-2.0"
] | null | null | null | import os
import sys
import copy
"""
How To:
Example for running from command line:
python <path_to>/ProvablyPowerfulGraphNetworks/main_scripts/main_qm9_experiment.py --config=configs/qm9_config.json
"""
# Change working directory to project's main directory, and add it to path - for library and config usages
proj... | 49.364444 | 170 | 0.664176 | 1,496 | 11,107 | 4.716578 | 0.141043 | 0.028061 | 0.038549 | 0.034014 | 0.775652 | 0.767715 | 0.767715 | 0.766582 | 0.759354 | 0.759354 | 0 | 0.029736 | 0.224903 | 11,107 | 224 | 171 | 49.584821 | 0.789871 | 0 | 0 | 0.647799 | 0 | 0 | 0.08451 | 0.035468 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.132075 | null | null | 0.062893 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a94c09e124da89a904f6996b6fbee33bd7c8639 | 193 | py | Python | pycparserext/c_generator.py | t11230/pycparserext | 667781d692eb69ad4906eb107e168d4384bf006d | [
"MIT"
] | 51 | 2015-01-30T20:57:55.000Z | 2022-03-31T05:32:36.000Z | pycparserext/c_generator.py | t11230/pycparserext | 667781d692eb69ad4906eb107e168d4384bf006d | [
"MIT"
] | 54 | 2015-01-17T14:11:18.000Z | 2022-03-05T15:09:40.000Z | pycparserext/c_generator.py | t11230/pycparserext | 667781d692eb69ad4906eb107e168d4384bf006d | [
"MIT"
] | 19 | 2015-05-16T09:32:16.000Z | 2022-03-31T05:32:37.000Z | from warnings import warn
warn("pycparserext.c_generator is deprecated. Please use pycparser.c_generator "
"directly.", DeprecationWarning)
from pycparser.c_generator import * # noqa
| 32.166667 | 80 | 0.777202 | 23 | 193 | 6.391304 | 0.652174 | 0.204082 | 0.258503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150259 | 193 | 5 | 81 | 38.6 | 0.896341 | 0.020725 | 0 | 0 | 0 | 0 | 0.438503 | 0.240642 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
43bac08e0072e30e7d3385666f0a4ddc9d0bf360 | 106 | py | Python | Projeto Django/contato/views.py | yurimses/tp-cruzi-db | 201c114b70c7dc3b7eaf549d1778689567499e22 | [
"MIT"
] | 1 | 2021-03-26T18:21:59.000Z | 2021-03-26T18:21:59.000Z | Projeto Django/contato/views.py | yurimses/tp-cruzi-db | 201c114b70c7dc3b7eaf549d1778689567499e22 | [
"MIT"
] | 14 | 2021-03-26T20:54:22.000Z | 2021-04-06T17:18:53.000Z | Projeto Django/contato/views.py | yurimses/tp-cruzi-db | 201c114b70c7dc3b7eaf549d1778689567499e22 | [
"MIT"
] | 2 | 2021-04-01T23:43:20.000Z | 2021-04-27T13:35:28.000Z | from django.shortcuts import render
def index(request):
return render(request, 'contato/index.html')
| 21.2 | 48 | 0.764151 | 14 | 106 | 5.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 106 | 4 | 49 | 26.5 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
43bcb1f9ac98959200ff683426846a0d3049c978 | 997 | py | Python | Antiplagiat/Antiplagiat/bin/Debug/25335.py | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | 1 | 2015-07-04T14:45:32.000Z | 2015-07-04T14:45:32.000Z | Antiplagiat/Antiplagiat/bin/Debug/25335.py | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | null | null | null | Antiplagiat/Antiplagiat/bin/Debug/25335.py | DmitryTheFirst/AntiplagiatVkCup | 556d3fe2e5a630d06a7aa49f2af5dcb28667275a | [
"Apache-2.0"
] | null | null | null | s=raw_input()
n=len(s)
f=[0]*n
g=[0]*n
'''
AB->BA
No Other AB
'''
# 0=A
f[0]=1
for i in xrange(0,n-1):
if (s[i]=='A') and (s[i+1]=='A'):
f[i+1]+=g[i]
f[i+1]+=f[i]
if (s[i]=='A') and (s[i+1]=='B'):
f[i+1]+=f[i]
f[i+1]+=g[i]
g[i+1]+=g[i]
if (s[i]=='B') and (s[i+1]=='A')... | 19.173077 | 37 | 0.335005 | 251 | 997 | 1.326693 | 0.099602 | 0.156156 | 0.108108 | 0.144144 | 0.777778 | 0.705706 | 0.66967 | 0.66967 | 0.66967 | 0.66967 | 0 | 0.070028 | 0.283852 | 997 | 52 | 38 | 19.173077 | 0.396359 | 0.007021 | 0 | 0.73913 | 0 | 0 | 0.02079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.021739 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 6 |
43cbda7be2fb312c8b8f5ed72a4d0c5fba998db0 | 41 | py | Python | my_package/analysis/__init__.py | priydarshiroopak/Python_DS_20CS30042 | e45a539610bb3aa990e80bbc4dfb318b7ed7b4d8 | [
"MIT"
] | null | null | null | my_package/analysis/__init__.py | priydarshiroopak/Python_DS_20CS30042 | e45a539610bb3aa990e80bbc4dfb318b7ed7b4d8 | [
"MIT"
] | null | null | null | my_package/analysis/__init__.py | priydarshiroopak/Python_DS_20CS30042 | e45a539610bb3aa990e80bbc4dfb318b7ed7b4d8 | [
"MIT"
] | null | null | null | from .visualize import plot_visualization | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43e1c90ac8714572338cd1b33c9b1a37ec31a303 | 22,750 | py | Python | objectModel/Python/tests/cdm/projection/test_projection_add_type.py | rt112000/CDM | 34bd34f9260140a8f8aa02bd87c23033f3daad4c | [
"CC-BY-4.0",
"MIT"
] | 884 | 2019-05-10T02:09:10.000Z | 2022-03-31T14:02:00.000Z | objectModel/Python/tests/cdm/projection/test_projection_add_type.py | rt112000/CDM | 34bd34f9260140a8f8aa02bd87c23033f3daad4c | [
"CC-BY-4.0",
"MIT"
] | 171 | 2019-06-10T11:34:37.000Z | 2022-03-31T22:50:12.000Z | objectModel/Python/tests/cdm/projection/test_projection_add_type.py | rt112000/CDM | 34bd34f9260140a8f8aa02bd87c23033f3daad4c | [
"CC-BY-4.0",
"MIT"
] | 340 | 2019-05-07T18:00:16.000Z | 2022-03-31T12:00:15.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
import os
import unittest
from cdm.enums import CdmObjectType
from cdm.storage import LocalAdapter
from cdm.utilities import ResolveOptions, AttributeResolutionDir... | 60.828877 | 162 | 0.736396 | 2,636 | 22,750 | 6.098634 | 0.075493 | 0.104504 | 0.125404 | 0.017417 | 0.877706 | 0.85581 | 0.843431 | 0.807664 | 0.801132 | 0.766049 | 0 | 0.0055 | 0.160835 | 22,750 | 373 | 163 | 60.991957 | 0.836572 | 0.156176 | 0 | 0.697095 | 0 | 0 | 0.097576 | 0.032961 | 0 | 0 | 0 | 0 | 0.39834 | 1 | 0 | false | 0 | 0.029046 | 0 | 0.041494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78fe3932c1c93c8d105d7b2ed775d4eb25005e95 | 164 | py | Python | tests/examples/unit_test.py | specipy/specipy | 56daa95a57fa7425b7943c5a1a4d4978e75417ec | [
"Apache-2.0"
] | null | null | null | tests/examples/unit_test.py | specipy/specipy | 56daa95a57fa7425b7943c5a1a4d4978e75417ec | [
"Apache-2.0"
] | null | null | null | tests/examples/unit_test.py | specipy/specipy | 56daa95a57fa7425b7943c5a1a4d4978e75417ec | [
"Apache-2.0"
] | null | null | null | # unit_test.py
from _specipy.framework import *
@test
def a_passing_test():
assert_true(1 + 2 == 3)
@test
def z_failing_test():
assert_true(1 + 2 == 5)
| 12.615385 | 32 | 0.658537 | 27 | 164 | 3.703704 | 0.666667 | 0.14 | 0.28 | 0.3 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.207317 | 164 | 12 | 33 | 13.666667 | 0.723077 | 0.073171 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | true | 0.142857 | 0.142857 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
603dce064624c363e37081814a5438ca29a7eb39 | 23,644 | py | Python | budgetportal/tests/test_prov_infra_chart.py | d3ft0uch/datamanager | 60f2f9d5278d20ae553bb063dcedaf206bb3ab29 | [
"MIT"
] | null | null | null | budgetportal/tests/test_prov_infra_chart.py | d3ft0uch/datamanager | 60f2f9d5278d20ae553bb063dcedaf206bb3ab29 | [
"MIT"
] | null | null | null | budgetportal/tests/test_prov_infra_chart.py | d3ft0uch/datamanager | 60f2f9d5278d20ae553bb063dcedaf206bb3ab29 | [
"MIT"
] | null | null | null | import json
from budgetportal.json_encoder import JSONEncoder
from budgetportal.models import (
FinancialYear,
IRMSnapshot,
ProvInfraProject,
ProvInfraProjectSnapshot,
Quarter,
)
from budgetportal.prov_infra_project.charts import time_series_data
from django.test import TestCase
class DateQuarter... | 43.067395 | 111 | 0.681272 | 2,891 | 23,644 | 5.288827 | 0.066067 | 0.123283 | 0.100458 | 0.117201 | 0.854022 | 0.818378 | 0.793918 | 0.760039 | 0.710268 | 0.68862 | 0 | 0.048144 | 0.217264 | 23,644 | 548 | 112 | 43.145985 | 0.77803 | 0.093766 | 0 | 0.621027 | 0 | 0 | 0.079547 | 0.008844 | 0 | 0 | 0 | 0 | 0.229829 | 1 | 0.085575 | false | 0 | 0.012225 | 0 | 0.134474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6040462034a03c9897798ce8a7e74037487ca12c | 3,225 | py | Python | src/example7-arguments.py | efe3535/pythonexamples | 676aeb5d730dc0fc364083fccbd8c241de5bdc0a | [
"CC0-1.0"
] | 1 | 2020-11-30T06:53:06.000Z | 2020-11-30T06:53:06.000Z | src/example7-arguments.py | efeduino/pythonexamples | 676aeb5d730dc0fc364083fccbd8c241de5bdc0a | [
"CC0-1.0"
] | 2 | 2021-05-16T06:34:36.000Z | 2021-06-05T16:44:15.000Z | src/example7-arguments.py | efeduino/pythonexamples | 676aeb5d730dc0fc364083fccbd8c241de5bdc0a | [
"CC0-1.0"
] | 1 | 2021-06-04T12:17:31.000Z | 2021-06-04T12:17:31.000Z | import sys
from colorama import Fore
helpfile = """
======================
| COMMANDS |
======================
--help : Lists commands.
--color : Requires one argument, prints 'Hello World' in color selected.
--allcolors : prints 'Hello World' with all colors.
Colors:
BLACK, RED, GREEN, YELLOW, BLUE, MAG... | 40.822785 | 77 | 0.52 | 349 | 3,225 | 4.805158 | 0.12894 | 0.155039 | 0.200358 | 0.271914 | 0.782946 | 0.782946 | 0.782946 | 0.692904 | 0.692904 | 0.673226 | 0 | 0.004182 | 0.332713 | 3,225 | 78 | 78 | 41.346154 | 0.775093 | 0.008062 | 0 | 0.476923 | 0 | 0 | 0.197373 | 0.013763 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030769 | 0 | 0.030769 | 0.446154 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
60446f4edb1c084088444d8183d82507c690a285 | 8,143 | py | Python | linux/keyman-config/tests/test_install_kmp.py | ermshiperete/keyman | 0eeef1b5794fd698447584e531e2a6c1ef4c05aa | [
"MIT"
] | 1 | 2021-03-08T09:31:47.000Z | 2021-03-08T09:31:47.000Z | linux/keyman-config/tests/test_install_kmp.py | ermshiperete/keyman | 0eeef1b5794fd698447584e531e2a6c1ef4c05aa | [
"MIT"
] | null | null | null | linux/keyman-config/tests/test_install_kmp.py | ermshiperete/keyman | 0eeef1b5794fd698447584e531e2a6c1ef4c05aa | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import unittest
from unittest.mock import patch, ANY
from keyman_config.install_kmp import install_keyboards_to_ibus, install_keyboards_to_gnome
class InstallKmpTests(unittest.TestCase):
def setUp(self):
patcher1 = patch('keyman_config.install_kmp.install_to_ibus')
self.mockIn... | 45.238889 | 91 | 0.679602 | 784 | 8,143 | 6.767857 | 0.09949 | 0.058801 | 0.069355 | 0.044855 | 0.838862 | 0.812288 | 0.80833 | 0.789107 | 0.779118 | 0.764229 | 0 | 0.006753 | 0.199804 | 8,143 | 179 | 92 | 45.49162 | 0.807551 | 0.062508 | 0 | 0.581197 | 0 | 0 | 0.103148 | 0.021209 | 0 | 0 | 0 | 0 | 0.299145 | 1 | 0.119658 | false | 0 | 0.025641 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
604c0beee54cd72b8932533923ae2b68c32e45a7 | 179,880 | py | Python | pynos/versions/base/interface.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/base/interface.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/base/interface.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | """
Copyright 2015 Brocade Communications Systems, 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 t... | 43.04379 | 108 | 0.530576 | 19,201 | 179,880 | 4.803864 | 0.033071 | 0.036124 | 0.029857 | 0.007893 | 0.838745 | 0.80453 | 0.764438 | 0.733529 | 0.708952 | 0.680623 | 0 | 0.022842 | 0.35601 | 179,880 | 4,178 | 109 | 43.054093 | 0.773414 | 0.429898 | 0 | 0.638534 | 0 | 0.002221 | 0.187771 | 0.050063 | 0 | 0 | 0 | 0.00383 | 0 | 1 | 0.039423 | false | 0.002776 | 0.005552 | 0 | 0.107163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
606d5c0ca79f0623754450da821409afa65a7bcf | 191 | py | Python | problems/shortest_word.py | stereoabuse/codewars | d6437afaef38c3601903891b8b9cb0f84c108c54 | [
"MIT"
] | null | null | null | problems/shortest_word.py | stereoabuse/codewars | d6437afaef38c3601903891b8b9cb0f84c108c54 | [
"MIT"
] | null | null | null | problems/shortest_word.py | stereoabuse/codewars | d6437afaef38c3601903891b8b9cb0f84c108c54 | [
"MIT"
] | null | null | null | ## Shortest Word
## 7 kyu
## https://www.codewars.com/kata/57cebe1dc6fdc20c57000ac9
def find_short(s):
# your code here
return sorted([len(word) for word in s.split()])[0] | 23.875 | 59 | 0.649215 | 27 | 191 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0.204188 | 191 | 8 | 60 | 23.875 | 0.717105 | 0.47644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
60747afcf4cf8ea5cfe57874b36343c3bbdf66b1 | 103 | py | Python | 6 kyu/English beggars.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/English beggars.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/English beggars.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def beggars(values, n):
return [sum(values[j] for j in range(i, len(values), n)) for i in range(n)] | 51.5 | 79 | 0.650485 | 21 | 103 | 3.190476 | 0.571429 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 103 | 2 | 79 | 51.5 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
60a7a0c81eab3e2e8fbfe7f9a34ec211d4ed0f28 | 10,059 | py | Python | tests/test_classifier_archive.py | tsalvia/karton-classifier | 84c642c666334db3df66b98752784c2044aa3c2d | [
"BSD-3-Clause"
] | 5 | 2021-01-04T10:18:36.000Z | 2021-11-08T10:29:17.000Z | tests/test_classifier_archive.py | tsalvia/karton-classifier | 84c642c666334db3df66b98752784c2044aa3c2d | [
"BSD-3-Clause"
] | 12 | 2021-02-15T12:18:13.000Z | 2022-01-11T20:12:41.000Z | tests/test_classifier_archive.py | tsalvia/karton-classifier | 84c642c666334db3df66b98752784c2044aa3c2d | [
"BSD-3-Clause"
] | 9 | 2021-02-01T14:06:57.000Z | 2022-02-24T09:44:37.000Z | import pytest
from karton.core import Task
from karton.core.test import ConfigMock, KartonBackendMock, KartonTestCase
from .mock_helper import mock_resource, mock_task
@pytest.mark.usefixtures("karton_classifier")
class TestClassifier(KartonTestCase):
def setUp(self):
self.config = ConfigMock()
s... | 32.659091 | 81 | 0.474202 | 817 | 10,059 | 5.70257 | 0.088127 | 0.050225 | 0.039064 | 0.058596 | 0.879588 | 0.730844 | 0.707448 | 0.707448 | 0.707448 | 0.707448 | 0 | 0.002943 | 0.391888 | 10,059 | 307 | 82 | 32.765472 | 0.758705 | 0 | 0 | 0.625899 | 0 | 0 | 0.18819 | 0.017 | 0 | 0 | 0 | 0 | 0.046763 | 1 | 0.05036 | false | 0 | 0.014388 | 0 | 0.068345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60ab0deb85ecb497c28fbd8bebf809ee2ba99280 | 49,402 | py | Python | utils/add_mendelian_annotations_refactor.py | jianxinwang/GenEsysV | 444b4685b603c3da5ac9d9265817cac98c33c97e | [
"BSD-3-Clause"
] | 14 | 2019-02-27T13:57:36.000Z | 2021-10-01T14:29:38.000Z | utils/add_mendelian_annotations_refactor.py | jianxinwang/GenEsysV | 444b4685b603c3da5ac9d9265817cac98c33c97e | [
"BSD-3-Clause"
] | 11 | 2019-06-13T06:38:43.000Z | 2021-06-15T13:51:39.000Z | utils/add_mendelian_annotations_refactor.py | jianxinwang/GenEsysV | 444b4685b603c3da5ac9d9265817cac98c33c97e | [
"BSD-3-Clause"
] | 5 | 2019-02-27T13:57:40.000Z | 2020-02-09T13:15:06.000Z | import elasticsearch
autosomal_recessive_vep_query_body_template = """{
"_source": ["sample", "CHROM", "ID", "POS", "REF", "Variant"
],
"query": {
"bool": {
"filter": [
{"nested": {
"path": "sample",
"query": {
"bool": {
... | 35.772629 | 211 | 0.467977 | 4,617 | 49,402 | 4.709335 | 0.047433 | 0.02525 | 0.044152 | 0.026491 | 0.883917 | 0.861611 | 0.838017 | 0.829232 | 0.808214 | 0.782459 | 0 | 0.020529 | 0.398526 | 49,402 | 1,380 | 212 | 35.798551 | 0.711214 | 0.011153 | 0 | 0.675087 | 0 | 0.021777 | 0.421131 | 0.052286 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016551 | false | 0 | 0.006098 | 0 | 0.045296 | 0.026132 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60ade96cc4d598a5845e7805f15603b8aacbcd4d | 48 | py | Python | tello/__init__.py | gengliangyu2008/Intelligent-Navigation-Systems | b978ea48d8e8f5fe61a272c74741a9693eb1a997 | [
"MIT"
] | null | null | null | tello/__init__.py | gengliangyu2008/Intelligent-Navigation-Systems | b978ea48d8e8f5fe61a272c74741a9693eb1a997 | [
"MIT"
] | null | null | null | tello/__init__.py | gengliangyu2008/Intelligent-Navigation-Systems | b978ea48d8e8f5fe61a272c74741a9693eb1a997 | [
"MIT"
] | null | null | null | from .utils import *
from .TelloClient import *
| 16 | 26 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 27 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7162605fcea12712e24d3836a72b505726184800 | 24 | py | Python | videos/082_avoiding_import_loops_in_python/example3-subpackage-init/fix2/mypkg/subpkg_b/__init__.py | matthewstidham/VideosSampleCode | 122edfbf5a805930bb031dad584e79a6c487ba7a | [
"MIT"
] | 1 | 2022-02-16T05:24:12.000Z | 2022-02-16T05:24:12.000Z | videos/082_avoiding_import_loops_in_python/example3-subpackage-init/broken/mypkg/subpkg_b/__init__.py | bandirevanth/VideosSampleCode | 9eec145ac6fffb11d2a51356fb65d74ecd721d50 | [
"MIT"
] | null | null | null | videos/082_avoiding_import_loops_in_python/example3-subpackage-init/broken/mypkg/subpkg_b/__init__.py | bandirevanth/VideosSampleCode | 9eec145ac6fffb11d2a51356fb65d74ecd721d50 | [
"MIT"
] | null | null | null | from .module_b import B
| 12 | 23 | 0.791667 | 5 | 24 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
718213a1e19f1c828f3dd016c2d86381f08c66db | 2,714 | py | Python | backend/app/controllers/news_feed_controller.py | 2110521-2563-1-Software-Architecture/TBD-Project | 7854c951a631b6f3667af7c50e017a3652fd15a9 | [
"MIT"
] | 1 | 2020-10-26T15:38:58.000Z | 2020-10-26T15:38:58.000Z | backend/app/controllers/news_feed_controller.py | 2110521-2563-1-Software-Architecture/TBD-Project | 7854c951a631b6f3667af7c50e017a3652fd15a9 | [
"MIT"
] | null | null | null | backend/app/controllers/news_feed_controller.py | 2110521-2563-1-Software-Architecture/TBD-Project | 7854c951a631b6f3667af7c50e017a3652fd15a9 | [
"MIT"
] | null | null | null | from app.controllers.base import Controller
from app.models.news_feed import NewsFeed
from app.models.user import User
import json
class NewsFeedController(Controller):
async def get(self, request):
try:
current_user = await User(request.app).get_user(request.headers.get('User'))
r... | 48.464286 | 88 | 0.638909 | 307 | 2,714 | 5.543974 | 0.127036 | 0.06463 | 0.082256 | 0.123384 | 0.816686 | 0.798472 | 0.798472 | 0.798472 | 0.798472 | 0.798472 | 0 | 0 | 0.240236 | 2,714 | 56 | 89 | 48.464286 | 0.825412 | 0 | 0 | 0.66 | 0 | 0 | 0.092081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.08 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71d34f5cbc5b2d0dd14b66843949ec2bcf950aa6 | 8,023 | py | Python | dfirtrack_config/tests/system/test_system_exporter_spreadsheet_xls_config_forms.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 273 | 2018-04-18T22:09:15.000Z | 2021-06-04T09:15:48.000Z | dfirtrack_config/tests/system/test_system_exporter_spreadsheet_xls_config_forms.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 75 | 2018-08-31T11:05:37.000Z | 2021-06-08T14:15:07.000Z | dfirtrack_config/tests/system/test_system_exporter_spreadsheet_xls_config_forms.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 61 | 2018-11-12T22:55:48.000Z | 2021-06-06T15:16:16.000Z | from django.test import TestCase
from dfirtrack_config.forms import SystemExporterSpreadsheetXlsConfigForm
class SystemExporterSpreadsheetXlsConfigFormTestCase(TestCase):
"""system exporter spreadsheet XLS config form tests"""
def test_system_exporter_spreadsheet_xls_config_spread_xls_system_id_form_label(
... | 31.964143 | 99 | 0.670447 | 770 | 8,023 | 6.605195 | 0.074026 | 0.077861 | 0.117971 | 0.132127 | 0.844278 | 0.809477 | 0.801219 | 0.801219 | 0.791978 | 0.693669 | 0 | 0 | 0.251278 | 8,023 | 250 | 100 | 32.092 | 0.846679 | 0.109435 | 0 | 0.473282 | 0 | 0 | 0.137556 | 0.047571 | 0 | 0 | 0 | 0 | 0.175573 | 1 | 0.175573 | false | 0 | 0.015267 | 0 | 0.198473 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71d7ddd3675caca3cd45a34b9a83fc5a5ecb32f3 | 59,956 | py | Python | pytamil/தமிழ்/codegen/வெண்பாLexer.py | srix/pytamil | cfcaee618bb947242f3a9a4432c9e9a9b9a5bab0 | [
"MIT"
] | 45 | 2019-09-08T14:11:21.000Z | 2021-09-21T16:18:26.000Z | pytamil/தமிழ்/codegen/வெண்பாLexer.py | srix/pytamil | cfcaee618bb947242f3a9a4432c9e9a9b9a5bab0 | [
"MIT"
] | 2 | 2019-12-07T13:51:41.000Z | 2021-05-14T06:08:34.000Z | pytamil/தமிழ்/codegen/வெண்பாLexer.py | srix/pytamil | cfcaee618bb947242f3a9a4432c9e9a9b9a5bab0 | [
"MIT"
] | 9 | 2019-09-08T15:41:30.000Z | 2021-02-13T07:09:24.000Z | # Generated from /home/srix/workspace/pytamil/pytamil/தமிழ்/resources/வெண்பா.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u00fa")
bu... | 60.076152 | 103 | 0.581243 | 12,603 | 59,956 | 2.685789 | 0.13227 | 0.121481 | 0.075866 | 0.075748 | 0.222843 | 0.150787 | 0.048894 | 0.023457 | 0.020503 | 0.020001 | 0 | 0.373141 | 0.157966 | 59,956 | 997 | 104 | 60.136409 | 0.297118 | 0.001501 | 0 | 0 | 1 | 0.307457 | 0.636531 | 0.556296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002043 | false | 0 | 0.004086 | 0 | 0.269663 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71e20ef0f9953479ef0a028ff6d682594d6da0d3 | 1,797 | py | Python | anaf/core/migrations/0002_default_timezone_now_fix.py | tovmeod/anaf | 80e4a00532ce6f4ce76c5ffc858ff90c759a9879 | [
"BSD-3-Clause"
] | 2 | 2016-03-15T13:17:26.000Z | 2017-03-22T15:39:01.000Z | anaf/core/migrations/0002_default_timezone_now_fix.py | tovmeod/anaf | 80e4a00532ce6f4ce76c5ffc858ff90c759a9879 | [
"BSD-3-Clause"
] | 4 | 2021-03-19T21:42:58.000Z | 2022-03-11T23:13:07.000Z | anaf/core/migrations/0002_default_timezone_now_fix.py | tovmeod/anaf | 80e4a00532ce6f4ce76c5ffc858ff90c759a9879 | [
"BSD-3-Clause"
] | 4 | 2016-08-31T16:55:41.000Z | 2020-04-22T18:48:54.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='comment... | 30.982759 | 74 | 0.588759 | 160 | 1,797 | 6.44375 | 0.25625 | 0.085354 | 0.14743 | 0.196896 | 0.744908 | 0.744908 | 0.744908 | 0.744908 | 0.744908 | 0.744908 | 0 | 0.004 | 0.304396 | 1,797 | 57 | 75 | 31.526316 | 0.8208 | 0.011686 | 0 | 0.666667 | 0 | 0 | 0.083991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0805a2b3b02514561f5dcd8f05a0cbdd1a18c5e | 133 | py | Python | src/pybel/struct/mutation/inference/__init__.py | tehw0lf/pybel | 6f67f8cce15052cc3c42ef87374e3b9ee45e6519 | [
"Apache-2.0"
] | null | null | null | src/pybel/struct/mutation/inference/__init__.py | tehw0lf/pybel | 6f67f8cce15052cc3c42ef87374e3b9ee45e6519 | [
"Apache-2.0"
] | null | null | null | src/pybel/struct/mutation/inference/__init__.py | tehw0lf/pybel | 6f67f8cce15052cc3c42ef87374e3b9ee45e6519 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from . import protein_rna_origins
from .protein_rna_origins import *
__all__ = protein_rna_origins.__all__
| 19 | 37 | 0.759398 | 18 | 133 | 4.833333 | 0.5 | 0.344828 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.135338 | 133 | 6 | 38 | 22.166667 | 0.747826 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0f09678aab214dd66684b39329d7d8ade31bc6d | 25 | py | Python | tapispy/__init__.py | tapis-project/tapispy | fc7d5e79f8b5a73fa0517e6129f737dd753c2561 | [
"Python-2.0",
"OLDAP-2.3"
] | null | null | null | tapispy/__init__.py | tapis-project/tapispy | fc7d5e79f8b5a73fa0517e6129f737dd753c2561 | [
"Python-2.0",
"OLDAP-2.3"
] | null | null | null | tapispy/__init__.py | tapis-project/tapispy | fc7d5e79f8b5a73fa0517e6129f737dd753c2561 | [
"Python-2.0",
"OLDAP-2.3"
] | null | null | null | from .tapis import Tapis
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cc8556a0dcb1d9ba1d6910dccb228c2c970b4f0 | 6,940 | py | Python | tormysql/helpers.py | naujoh/TorMySQL | 09123c58f52d015ef59b490c346b20e72bcd5e30 | [
"MIT"
] | 340 | 2015-02-02T22:21:22.000Z | 2022-02-24T06:52:23.000Z | tormysql/helpers.py | naujoh/TorMySQL | 09123c58f52d015ef59b490c346b20e72bcd5e30 | [
"MIT"
] | 42 | 2015-02-12T15:01:44.000Z | 2020-11-18T02:03:22.000Z | tormysql/helpers.py | naujoh/TorMySQL | 09123c58f52d015ef59b490c346b20e72bcd5e30 | [
"MIT"
] | 78 | 2015-02-12T11:53:15.000Z | 2022-02-03T07:30:18.000Z | # -*- coding: utf-8 -*-
# 16/3/25
# create by: snower
import sys
from . import platform
try:
from tornado.util import raise_exc_info
except ImportError:
def raise_exc_info(exc_info):
try:
raise exc_info[1].with_traceback(exc_info[2])
finally:
exc_info = None
from .pool ... | 30.844444 | 102 | 0.581988 | 725 | 6,940 | 5.347586 | 0.124138 | 0.06861 | 0.034047 | 0.034821 | 0.766056 | 0.761156 | 0.761156 | 0.75316 | 0.71447 | 0.71447 | 0 | 0.00238 | 0.33415 | 6,940 | 225 | 103 | 30.844444 | 0.836615 | 0.006772 | 0 | 0.764103 | 0 | 0 | 0.314224 | 0.065022 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071795 | false | 0.010256 | 0.046154 | 0.005128 | 0.169231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cc959fa7cc8310098bab0e97416519c8240c566 | 216 | py | Python | src/middlewares/__init__.py | DmitryKovtun/text-splitter | a1d97d2d7f74eeb86b185f2356cabb718f010310 | [
"MIT"
] | 1 | 2020-06-21T02:23:31.000Z | 2020-06-21T02:23:31.000Z | src/middlewares/__init__.py | DmitryKovtun/text-splitter | a1d97d2d7f74eeb86b185f2356cabb718f010310 | [
"MIT"
] | null | null | null | src/middlewares/__init__.py | DmitryKovtun/text-splitter | a1d97d2d7f74eeb86b185f2356cabb718f010310 | [
"MIT"
] | 1 | 2020-06-21T02:23:32.000Z | 2020-06-21T02:23:32.000Z | # -*- coding: utf-8 -*-
from .add_rmq_object_to_request_middleware import AddRMQObjectToRequestMiddleware
from .http_proxy_middleware import HttpProxyMiddleware
from .log_errors_middleware import LogErrorsMiddleware
| 43.2 | 81 | 0.865741 | 24 | 216 | 7.416667 | 0.75 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.078704 | 216 | 4 | 82 | 54 | 0.889447 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8087b00d5edf28aebfffc6d1860e32437af15d7 | 180 | py | Python | fabfile.py | alan-turing-institute/Turing-Fabric-Scaffold | cf3fb34ca0cfd29124904cc4f0e3b26f27ae2287 | [
"MIT"
] | null | null | null | fabfile.py | alan-turing-institute/Turing-Fabric-Scaffold | cf3fb34ca0cfd29124904cc4f0e3b26f27ae2287 | [
"MIT"
] | null | null | null | fabfile.py | alan-turing-institute/Turing-Fabric-Scaffold | cf3fb34ca0cfd29124904cc4f0e3b26f27ae2287 | [
"MIT"
] | null | null | null | from deploy.intel.intel import intel
from deploy.jade.jade import jade
from deploy.cirrus.cirrus import cirrus
from deploy.builder.build import *
from deploy.queue.queue import *
| 25.714286 | 39 | 0.816667 | 28 | 180 | 5.25 | 0.321429 | 0.340136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 180 | 6 | 40 | 30 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8162f5db979c86f506fb75ca585a040644e49a2 | 18,531 | py | Python | example/rcnn/rcnn/symbol.py | Abusnina/mxnet | 7f8d94a24bf64fe0f24712a7952a09725c2df9bd | [
"Apache-2.0"
] | 6 | 2017-06-09T02:32:10.000Z | 2020-03-18T03:17:00.000Z | example/rcnn/rcnn/symbol.py | Abusnina/mxnet | 7f8d94a24bf64fe0f24712a7952a09725c2df9bd | [
"Apache-2.0"
] | 1 | 2020-01-26T19:53:49.000Z | 2020-01-26T19:53:49.000Z | example/rcnn/rcnn/symbol.py | Abusnina/mxnet | 7f8d94a24bf64fe0f24712a7952a09725c2df9bd | [
"Apache-2.0"
] | 14 | 2016-11-18T07:21:41.000Z | 2019-09-30T08:48:22.000Z | import mxnet as mx
import rpn.proposal, rpn.proposal_target
from config import config
def get_vgg_conv(data):
"""
shared convolutional layers
:param data: Symbol
:return: Symbol
"""
# group 1
conv1_1 = mx.symbol.Convolution(
data=data, kernel=(3, 3), pad=(1, 1), num_filter=64, name... | 47.883721 | 140 | 0.680104 | 2,829 | 18,531 | 4.218452 | 0.056911 | 0.103234 | 0.039802 | 0.048182 | 0.895341 | 0.801911 | 0.786995 | 0.782386 | 0.770153 | 0.757248 | 0 | 0.04519 | 0.176029 | 18,531 | 387 | 141 | 47.883721 | 0.736394 | 0.089634 | 0 | 0.607438 | 0 | 0 | 0.097728 | 0.008234 | 0 | 0 | 0 | 0.002584 | 0 | 1 | 0.028926 | false | 0 | 0.012397 | 0 | 0.070248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e81a08f3340fbc962a95ea79cfc1753dcd7baa14 | 4,208 | py | Python | botWhatsapp.py | bigpedrolucas/BotWhatsapp-Python | d7aab4891ee9580a86d60d3d939755635f7d3b01 | [
"MIT"
] | null | null | null | botWhatsapp.py | bigpedrolucas/BotWhatsapp-Python | d7aab4891ee9580a86d60d3d939755635f7d3b01 | [
"MIT"
] | null | null | null | botWhatsapp.py | bigpedrolucas/BotWhatsapp-Python | d7aab4891ee9580a86d60d3d939755635f7d3b01 | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
import time
contatos = open("./contatos.txt", 'r', encoding='UTF-8')
contatos = contatos.read()
contatos = contatos.split('\n')
print('\n--- ... | 37.571429 | 122 | 0.576046 | 502 | 4,208 | 4.721116 | 0.213147 | 0.106329 | 0.076793 | 0.11519 | 0.728692 | 0.721941 | 0.721941 | 0.721941 | 0.721941 | 0.721941 | 0 | 0.018899 | 0.28327 | 4,208 | 112 | 123 | 37.571429 | 0.76691 | 0 | 0 | 0.730769 | 0 | 0 | 0.163459 | 0.086481 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.048077 | 0 | 0.096154 | 0.019231 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c1ccdf87fce069d2f9e9911d7264f8abe0d55d0 | 705 | py | Python | Curso_Gustavo_Guanabara/Exercicio028_melhorado.py | Nathan120/Arq_Python_CursoEmVideo | d6269eeaa8db57d1ffa8ed66e1936a061803f37e | [
"MIT"
] | null | null | null | Curso_Gustavo_Guanabara/Exercicio028_melhorado.py | Nathan120/Arq_Python_CursoEmVideo | d6269eeaa8db57d1ffa8ed66e1936a061803f37e | [
"MIT"
] | null | null | null | Curso_Gustavo_Guanabara/Exercicio028_melhorado.py | Nathan120/Arq_Python_CursoEmVideo | d6269eeaa8db57d1ffa8ed66e1936a061803f37e | [
"MIT"
] | null | null | null | import random
n = random.randrange(0,5)
n2 = int(input('Digite um número = '))
c = 1
if n2 == n:
print('Você acertou o número que o pc escolheu ')
print('Seu numero foi {} o que do pc {} '.format(n2, n))
print('Foi necessario apenas {} tentativa para acertar'.format(c))
while n != n2:
print('Você errou... | 35.25 | 70 | 0.604255 | 114 | 705 | 3.736842 | 0.307018 | 0.028169 | 0.056338 | 0.077465 | 0.762911 | 0.762911 | 0.762911 | 0.762911 | 0.762911 | 0.762911 | 0 | 0.026415 | 0.248227 | 705 | 20 | 71 | 35.25 | 0.777358 | 0 | 0 | 0.5 | 0 | 0 | 0.485836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1c6001a93ff50185eb1e9d77bbc9eda6f12df0df | 7,395 | py | Python | tests/contracts/KT1TTDdZqEcVQoPciqLWX5aT9GmfCiW1WDGV/test_michelson_coding_KT1TTD.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2021-05-20T16:52:08.000Z | 2021-05-20T16:52:08.000Z | tests/contracts/KT1TTDdZqEcVQoPciqLWX5aT9GmfCiW1WDGV/test_michelson_coding_KT1TTD.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1TTDdZqEcVQoPciqLWX5aT9GmfCiW1WDGV/test_michelson_coding_KT1TTD.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1TTD(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.509434 | 90 | 0.734145 | 692 | 7,395 | 7.534682 | 0.060694 | 0.048331 | 0.07384 | 0.134254 | 0.953203 | 0.953203 | 0.953203 | 0.953203 | 0.937476 | 0.937476 | 0 | 0.032943 | 0.191346 | 7,395 | 158 | 91 | 46.803797 | 0.838963 | 0 | 0 | 0.631579 | 0 | 0 | 0.31332 | 0.31332 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.165414 | false | 0 | 0.030075 | 0 | 0.203008 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c8b69038e81f2ece7527dc2d825ecb2e09895fc | 277 | py | Python | nlpatl/sampling/uncertainty/__init__.py | dumpmemory/nlpatl | 59209242d1ac26714b11b86261070ac50cc90432 | [
"MIT"
] | 18 | 2021-11-29T06:43:46.000Z | 2022-03-29T09:58:32.000Z | nlpatl/sampling/uncertainty/__init__.py | dumpmemory/nlpatl | 59209242d1ac26714b11b86261070ac50cc90432 | [
"MIT"
] | null | null | null | nlpatl/sampling/uncertainty/__init__.py | dumpmemory/nlpatl | 59209242d1ac26714b11b86261070ac50cc90432 | [
"MIT"
] | 1 | 2021-11-29T06:43:47.000Z | 2021-11-29T06:43:47.000Z | from nlpatl.sampling.uncertainty.entropy import EntropySampling
from nlpatl.sampling.uncertainty.least_confidence import LeastConfidenceSampling
from nlpatl.sampling.uncertainty.margin import MarginSampling
from nlpatl.sampling.uncertainty.mismatch import MismatchSampling
| 55.4 | 81 | 0.884477 | 29 | 277 | 8.413793 | 0.482759 | 0.163934 | 0.295082 | 0.47541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072202 | 277 | 4 | 82 | 69.25 | 0.949416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
98fad854692537b76eb3eb3ab2f8aa9f208356e4 | 279 | py | Python | Ska/engarchive/tests/test_units_reversed.py | jmodelcxc/eng_archive | 04017f062ef1ab023a58b6d9e5bde19992c8398c | [
"BSD-3-Clause"
] | null | null | null | Ska/engarchive/tests/test_units_reversed.py | jmodelcxc/eng_archive | 04017f062ef1ab023a58b6d9e5bde19992c8398c | [
"BSD-3-Clause"
] | 64 | 2015-02-25T20:25:41.000Z | 2022-03-26T23:39:03.000Z | Ska/engarchive/tests/test_units_reversed.py | jmodelcxc/eng_archive | 04017f062ef1ab023a58b6d9e5bde19992c8398c | [
"BSD-3-Clause"
] | 4 | 2016-01-28T19:48:53.000Z | 2021-02-04T16:38:03.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# Import in reverse order from test_units.py
from .. import fetch as fetch_cxc # noqa
from .. import fetch_eng as fetch_eng # noqa
from .. import fetch_sci as fetch_sci # noqa
from .test_units import * # noqa
| 31 | 63 | 0.741935 | 47 | 279 | 4.255319 | 0.510638 | 0.15 | 0.225 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.193548 | 279 | 8 | 64 | 34.875 | 0.884444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
98fbc3788bec13e62b4ea138f900e10a1735af72 | 13,382 | py | Python | tests/test_androidtv_async.py | tungmeister/python-androidtv | 7d496ced19ffe630962c4b210113db4b6b567fcc | [
"MIT"
] | 1 | 2022-03-13T16:13:13.000Z | 2022-03-13T16:13:13.000Z | tests/test_androidtv_async.py | tungmeister/python-androidtv | 7d496ced19ffe630962c4b210113db4b6b567fcc | [
"MIT"
] | null | null | null | tests/test_androidtv_async.py | tungmeister/python-androidtv | 7d496ced19ffe630962c4b210113db4b6b567fcc | [
"MIT"
] | null | null | null | import asyncio
import sys
import unittest
from unittest.mock import patch
sys.path.insert(0, "..")
from androidtv import constants
from androidtv.androidtv.androidtv_async import AndroidTVAsync
from . import async_patchers
from .async_wrapper import awaiter
from .patchers import patch_calls
STREAM_MUSIC_EMPTY = "... | 44.019737 | 120 | 0.654536 | 1,754 | 13,382 | 4.688712 | 0.080388 | 0.089373 | 0.057879 | 0.053745 | 0.849587 | 0.787695 | 0.779183 | 0.76909 | 0.754134 | 0.732369 | 0 | 0.023376 | 0.248767 | 13,382 | 303 | 121 | 44.165017 | 0.794688 | 0 | 0 | 0.645161 | 0 | 0 | 0.101539 | 0.002042 | 0 | 0 | 0 | 0 | 0.233871 | 1 | 0 | false | 0 | 0.03629 | 0 | 0.060484 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7100a7c22c6e5a0ee4f81b7e0373e6940019ec1 | 264 | py | Python | api/models.py | hemantpy/Flask-Okta | 6f96ce4b90224aba72f8b853ce43e907c75e1360 | [
"Apache-2.0"
] | null | null | null | api/models.py | hemantpy/Flask-Okta | 6f96ce4b90224aba72f8b853ce43e907c75e1360 | [
"Apache-2.0"
] | null | null | null | api/models.py | hemantpy/Flask-Okta | 6f96ce4b90224aba72f8b853ce43e907c75e1360 | [
"Apache-2.0"
] | null | null | null |
class Model:
def to_dict(self):
return NotImplementedError
class User(Model):
def to_dict(self):
return {}
class UserID(Model):
def to_dict(self):
return {}
class UserAuth(Model):
def to_dict(self):
return {}
| 13.2 | 34 | 0.594697 | 32 | 264 | 4.78125 | 0.34375 | 0.20915 | 0.261438 | 0.366013 | 0.69281 | 0.69281 | 0.379085 | 0 | 0 | 0 | 0 | 0 | 0.299242 | 264 | 19 | 35 | 13.894737 | 0.827027 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.