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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b5d73e8b2fd500369e7c438d10107d29ca53b597 | 162 | py | Python | test/tests/test_app/views/__init__.py | maigfrga/flask-philo | f46d766c0f2607a5df193d532abb7b9cb576f909 | [
"Apache-2.0"
] | null | null | null | test/tests/test_app/views/__init__.py | maigfrga/flask-philo | f46d766c0f2607a5df193d532abb7b9cb576f909 | [
"Apache-2.0"
] | null | null | null | test/tests/test_app/views/__init__.py | maigfrga/flask-philo | f46d766c0f2607a5df193d532abb7b9cb576f909 | [
"Apache-2.0"
] | null | null | null | from .basic_views import BasicHTMLView, UserResourceView # noqa
from .auth_views import RequiresBasicAuthView # noqa
from .redis_views import RedisView # noqa
| 40.5 | 64 | 0.820988 | 19 | 162 | 6.842105 | 0.578947 | 0.253846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 162 | 3 | 65 | 54 | 0.928571 | 0.08642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
bd1da4c0a2a33048d926f313d3663491bf452545 | 121 | py | Python | ktrain/text/ner/__init__.py | rubensmau/ktrain | de32b87b9d3996f35882e7ca18273356c72d342c | [
"Apache-2.0"
] | null | null | null | ktrain/text/ner/__init__.py | rubensmau/ktrain | de32b87b9d3996f35882e7ca18273356c72d342c | [
"Apache-2.0"
] | null | null | null | ktrain/text/ner/__init__.py | rubensmau/ktrain | de32b87b9d3996f35882e7ca18273356c72d342c | [
"Apache-2.0"
] | null | null | null | from .data import entities_from_gmb, entities_from_conll2003
from .models import sequence_tagger, print_sequence_taggers
| 40.333333 | 60 | 0.884298 | 17 | 121 | 5.882353 | 0.647059 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.082645 | 121 | 2 | 61 | 60.5 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
bd234d94291be08dfcb7055f750a7374745e4841 | 613 | py | Python | tikzpy/__init__.py | ltrujello/Tikz-Python | 2fddcbde5f94074cb9c492f0f721c99a7fc6c2a4 | [
"MIT"
] | 4 | 2021-04-19T09:00:02.000Z | 2022-03-20T09:39:04.000Z | tikzpy/__init__.py | ltrujello/Tikz-Python | 2fddcbde5f94074cb9c492f0f721c99a7fc6c2a4 | [
"MIT"
] | null | null | null | tikzpy/__init__.py | ltrujello/Tikz-Python | 2fddcbde5f94074cb9c492f0f721c99a7fc6c2a4 | [
"MIT"
] | null | null | null | from tikzpy.tikz_environments.tikz_picture import TikzPicture
from tikzpy.tikz_environments.scope import Scope
from tikzpy.tikz_environments.clip import Clip
from tikzpy.drawing_objects.line import Line
from tikzpy.drawing_objects.plotcoordinates import PlotCoordinates
from tikzpy.drawing_objects.circle import Circle
f... | 47.153846 | 66 | 0.882545 | 87 | 613 | 6.045977 | 0.264368 | 0.228137 | 0.290875 | 0.410646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00177 | 0.078303 | 613 | 12 | 67 | 51.083333 | 0.929204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
bd33da07dd44cb534d9a1b736c92cf4520f6e7bc | 36 | py | Python | qcodes/instrument_drivers/__init__.py | LGruenhaupt/Qcodes | ffb74dae53c13c4885e61b5a2df3f833d524de04 | [
"MIT"
] | 5 | 2017-02-14T09:14:18.000Z | 2021-11-09T11:40:51.000Z | qcodes/instrument_drivers/__init__.py | LGruenhaupt/Qcodes | ffb74dae53c13c4885e61b5a2df3f833d524de04 | [
"MIT"
] | 50 | 2017-04-12T04:03:15.000Z | 2022-03-09T00:41:43.000Z | qcodes/instrument_drivers/__init__.py | LGruenhaupt/Qcodes | ffb74dae53c13c4885e61b5a2df3f833d524de04 | [
"MIT"
] | 6 | 2017-03-31T21:01:08.000Z | 2019-08-20T09:25:22.000Z | from .devices import VoltageDivider
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9509964ab1831947aebf09ac4baf19b38570d1b2 | 9,877 | py | Python | cv_framework/diagnostics/advanced_diagnostics.py | gafergus/CV_scientist | 7feb42c72e91d677c317e97c916be3eef0d8e270 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2019-05-21T12:53:25.000Z | 2022-02-17T20:26:38.000Z | cv_framework/diagnostics/advanced_diagnostics.py | gafergus/CV_scientist | 7feb42c72e91d677c317e97c916be3eef0d8e270 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cv_framework/diagnostics/advanced_diagnostics.py | gafergus/CV_scientist | 7feb42c72e91d677c317e97c916be3eef0d8e270 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import keras
from vis.utils import utils
import vis.input_modifiers
import vis.visualization
from cv_framework.diagnostics.shap_save import shap_image_plot
import gin
import numpy as np
import matplotlib.pylab as plt
import matplotlib.cm as cm
import shap
@gin.configurable
def ActMax(model=None, layer_name... | 52.259259 | 133 | 0.668725 | 1,307 | 9,877 | 4.810252 | 0.130069 | 0.029267 | 0.035152 | 0.026722 | 0.844441 | 0.844441 | 0.841419 | 0.839033 | 0.839033 | 0.839033 | 0 | 0.010571 | 0.21464 | 9,877 | 188 | 134 | 52.537234 | 0.799923 | 0.148223 | 0 | 0.4375 | 0 | 0 | 0.042756 | 0.022722 | 0.023438 | 0 | 0 | 0 | 0 | 1 | 0.054688 | false | 0.007813 | 0.078125 | 0 | 0.132813 | 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 |
1f7fef0fe4d6d70936696d62b2bf0abc3a519a84 | 6,369 | py | Python | Utilities/dateHelper.py | Vickesh-Kant/Utilities | 787f90d1885adebad4020e503a2e502c5e10f932 | [
"MIT"
] | null | null | null | Utilities/dateHelper.py | Vickesh-Kant/Utilities | 787f90d1885adebad4020e503a2e502c5e10f932 | [
"MIT"
] | null | null | null | Utilities/dateHelper.py | Vickesh-Kant/Utilities | 787f90d1885adebad4020e503a2e502c5e10f932 | [
"MIT"
] | null | null | null | from datetime import date
import numpy as np
import pandas as pd
import pkgutil
# static file path
calendar = pkgutil.get_data(__name__, "Workbook/FY_Cal.xlsx")
def date_helper(date, return_value):
cal_workbook = (calendar)
df1 = pd.read_excel(cal_workbook)
df1['Date'] = pd.to_datetime(df1['Date'])
da... | 36.603448 | 108 | 0.680013 | 948 | 6,369 | 4.355485 | 0.107595 | 0.07193 | 0.037782 | 0.045774 | 0.840639 | 0.780819 | 0.774037 | 0.767983 | 0.767983 | 0.767983 | 0 | 0.01754 | 0.239127 | 6,369 | 174 | 109 | 36.603448 | 0.834503 | 0.284189 | 0 | 0.577982 | 0 | 0 | 0.066196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045872 | false | 0 | 0.036697 | 0 | 0.220183 | 0.009174 | 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 |
2f9785c8da6e44f615a81ab1acde2fd108fb546f | 111 | py | Python | autograd/__init__.py | mondrasovic/autograd | 4e2d02119d38b3f3d30c22492fb0765773173c00 | [
"MIT"
] | null | null | null | autograd/__init__.py | mondrasovic/autograd | 4e2d02119d38b3f3d30c22492fb0765773173c00 | [
"MIT"
] | null | null | null | autograd/__init__.py | mondrasovic/autograd | 4e2d02119d38b3f3d30c22492fb0765773173c00 | [
"MIT"
] | null | null | null | from autograd.module import Module
from autograd.tensor import Tensor
from autograd.parameter import Parameter
| 27.75 | 40 | 0.864865 | 15 | 111 | 6.4 | 0.4 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 3 | 41 | 37 | 0.969697 | 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 |
c808191bf891d895d2408f40ec40f6222fd7d737 | 154 | py | Python | mrpeace/commands/welcome.py | claudiolau/mrpeace | bb5d729ed8c4060b25ff42c612240503eda93d2c | [
"Apache-2.0"
] | null | null | null | mrpeace/commands/welcome.py | claudiolau/mrpeace | bb5d729ed8c4060b25ff42c612240503eda93d2c | [
"Apache-2.0"
] | 1 | 2021-05-15T19:14:40.000Z | 2021-05-15T19:14:40.000Z | mrpeace/commands/welcome.py | claudiolau/mrpeace | bb5d729ed8c4060b25ff42c612240503eda93d2c | [
"Apache-2.0"
] | null | null | null | class Welcome:
def __init__(self) -> None:
pass
def hello(self, help="Prompt Greeting"):
return "MrPeace the only cli to peace!"
| 22 | 47 | 0.616883 | 20 | 154 | 4.55 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279221 | 154 | 6 | 48 | 25.666667 | 0.81982 | 0 | 0 | 0 | 0 | 0 | 0.292208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
c83fdab75a73db80cee9ef9bde913df955924eb3 | 76 | py | Python | pptest/tests/test_complaint.py | JohnLockwood/getting-started-with-poetry | b2c159e8f33c9997ffde997ebfab9dbc92f72364 | [
"MIT"
] | null | null | null | pptest/tests/test_complaint.py | JohnLockwood/getting-started-with-poetry | b2c159e8f33c9997ffde997ebfab9dbc92f72364 | [
"MIT"
] | null | null | null | pptest/tests/test_complaint.py | JohnLockwood/getting-started-with-poetry | b2c159e8f33c9997ffde997ebfab9dbc92f72364 | [
"MIT"
] | null | null | null | import pptest
def test_complaint():
assert "brain" in pptest.complain() | 19 | 39 | 0.736842 | 10 | 76 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 4 | 39 | 19 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c08a796fd54dcd295fe26d4c9dd0fe7b04d3f57f | 2,047 | py | Python | demo_api_check.py | mediawiki-utilities/python-mwreverts | d379ac941e14e235ad82a48bd445a3dfa6cc022e | [
"MIT"
] | 4 | 2017-05-01T20:06:28.000Z | 2021-07-08T15:33:25.000Z | demo_api_check.py | mediawiki-utilities/python-mwreverts | d379ac941e14e235ad82a48bd445a3dfa6cc022e | [
"MIT"
] | 6 | 2015-12-15T18:00:38.000Z | 2020-05-22T20:03:58.000Z | demo_api_check.py | mediawiki-utilities/python-mwreverts | d379ac941e14e235ad82a48bd445a3dfa6cc022e | [
"MIT"
] | null | null | null | import mwapi
import mwapi.cli
import mwreverts.api
session = mwapi.Session("https://en.wikipedia.org")
def format_revert(revert):
if revert is None:
return ""
else:
return " ".join([str(revert.reverting['revid']),
str([r['revid'] for r in revert.reverteds]),
... | 32.492063 | 74 | 0.696141 | 234 | 2,047 | 5.901709 | 0.175214 | 0.152064 | 0.173787 | 0.117306 | 0.777697 | 0.777697 | 0.777697 | 0.777697 | 0.740768 | 0.698769 | 0 | 0.00989 | 0.110894 | 2,047 | 62 | 75 | 33.016129 | 0.748901 | 0 | 0 | 0.604167 | 0 | 0 | 0.189057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.0625 | 0 | 0.125 | 0.520833 | 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 |
c0a4cdb78fa96410ce920094fd264cd8d27a4f9d | 135 | py | Python | scripts/npc/autogen_NLC_HairVip.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_NLC_HairVip.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_NLC_HairVip.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # Character field ID when accessed: 600000001
# ObjectID: 1000003
# ParentID: 9201064
# Object Position Y: -7
# Object Position X: 156
| 22.5 | 45 | 0.748148 | 18 | 135 | 5.611111 | 0.888889 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241071 | 0.17037 | 135 | 5 | 46 | 27 | 0.660714 | 0.918519 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0b555245d7ff3103a00e3bbe5df969600fbc010 | 23 | py | Python | numerize/__init__.py | MaldackerM/numerize | 1845a03133badf31a4b488fccbf462ec793abf29 | [
"MIT"
] | 47 | 2018-04-17T06:33:27.000Z | 2022-03-10T07:07:01.000Z | numerize/__init__.py | MaldackerM/numerize | 1845a03133badf31a4b488fccbf462ec793abf29 | [
"MIT"
] | 4 | 2018-05-16T12:53:18.000Z | 2021-07-22T14:03:40.000Z | numerize/__init__.py | MaldackerM/numerize | 1845a03133badf31a4b488fccbf462ec793abf29 | [
"MIT"
] | 19 | 2018-05-16T10:03:22.000Z | 2021-07-22T20:12:08.000Z | from numerize import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
c0bd1d84c3d2212e12390b946a7d0bb2fd8a8e43 | 4,452 | py | Python | src/common.py | jamesjiang52/V2SV | 4b6109d16482131785b9dfec13fd66452078ae17 | [
"MIT"
] | 1 | 2021-07-26T18:13:56.000Z | 2021-07-26T18:13:56.000Z | src/common.py | jamesjiang52/V2SV | 4b6109d16482131785b9dfec13fd66452078ae17 | [
"MIT"
] | null | null | null | src/common.py | jamesjiang52/V2SV | 4b6109d16482131785b9dfec13fd66452078ae17 | [
"MIT"
] | 2 | 2020-10-06T04:41:53.000Z | 2020-10-13T02:39:55.000Z | # replaces end with end;
# so the subsequent line will be treated as a new statement
# kind of a hack, but oh well
def __replace_end(module_string, debug=False):
buffer = module_string[:module_string.index(");") + 2] + "\n"
body_string = module_string[module_string.index(");") + 2:]
idx = 0
while idx <... | 43.647059 | 117 | 0.52628 | 507 | 4,452 | 4.483235 | 0.169625 | 0.145183 | 0.16586 | 0.098548 | 0.840739 | 0.813022 | 0.777827 | 0.728993 | 0.728993 | 0.602288 | 0 | 0.011797 | 0.35265 | 4,452 | 101 | 118 | 44.079208 | 0.776891 | 0.131402 | 0 | 0.61039 | 0 | 0 | 0.130841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051948 | false | 0 | 0 | 0 | 0.103896 | 0.077922 | 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 |
c0c9d11b36d875c19f2de974e98829945e6255d4 | 65 | py | Python | __init__.py | PeakerBee/aioms | 51c7cd16394132a2999a4f1896d7ab8dc4d2f5b7 | [
"Apache-2.0"
] | 1 | 2021-08-06T03:57:09.000Z | 2021-08-06T03:57:09.000Z | __init__.py | PeakerBee/aioms | 51c7cd16394132a2999a4f1896d7ab8dc4d2f5b7 | [
"Apache-2.0"
] | 10 | 2021-08-20T10:17:02.000Z | 2021-08-20T10:27:53.000Z | __init__.py | PeakerBee/aioms | 51c7cd16394132a2999a4f1896d7ab8dc4d2f5b7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
"""
@Time : 2021/5/19 17:37
@Author : Peaker
"""
| 10.833333 | 24 | 0.569231 | 11 | 65 | 3.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 0.184615 | 65 | 5 | 25 | 13 | 0.471698 | 0.846154 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
23e08333de0d7a8fd653956fe339e5c6153b6ec3 | 145 | py | Python | app/api/__init__.py | briantsaunders/flask-example-app | 1378d0c6985af91f2cc89c86f5466381b7b19a86 | [
"MIT"
] | 1 | 2021-04-08T07:54:19.000Z | 2021-04-08T07:54:19.000Z | app/api/__init__.py | briantsaunders/flask-vrfs-api | 1378d0c6985af91f2cc89c86f5466381b7b19a86 | [
"MIT"
] | null | null | null | app/api/__init__.py | briantsaunders/flask-vrfs-api | 1378d0c6985af91f2cc89c86f5466381b7b19a86 | [
"MIT"
] | null | null | null | # import third party libs
from flask import Blueprint
api = Blueprint("api", __name__, url_prefix="/api")
from . import vrf
from . import vrfs
| 18.125 | 51 | 0.737931 | 21 | 145 | 4.857143 | 0.619048 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165517 | 145 | 7 | 52 | 20.714286 | 0.842975 | 0.158621 | 0 | 0 | 0 | 0 | 0.058333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
9b203ba0154bbac3a1391ad612c1724163aa1b83 | 29 | py | Python | metronome/models/__init__.py | tsukaby/dcos-metronome-python | ed23b4e7480f4e70ed7d2d74422ce3f4593629a4 | [
"MIT"
] | 6 | 2017-02-17T01:36:03.000Z | 2017-02-23T06:21:24.000Z | metronome/models/__init__.py | tsukaby/dcos-metronome-python | ed23b4e7480f4e70ed7d2d74422ce3f4593629a4 | [
"MIT"
] | null | null | null | metronome/models/__init__.py | tsukaby/dcos-metronome-python | ed23b4e7480f4e70ed7d2d74422ce3f4593629a4 | [
"MIT"
] | 3 | 2017-02-22T06:49:13.000Z | 2017-09-06T16:19:44.000Z | from .metronome_pb2 import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 29 | 1 | 29 | 29 | 0.84 | 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 |
f1c91bddb4ef5e8b820c54325a045c49760a48d8 | 84 | py | Python | looper/players.py | ffaristocrat/looper | ef08bf7b825f0ea1e0166f28a51b1a40a37658c8 | [
"MIT"
] | null | null | null | looper/players.py | ffaristocrat/looper | ef08bf7b825f0ea1e0166f28a51b1a40a37658c8 | [
"MIT"
] | null | null | null | looper/players.py | ffaristocrat/looper | ef08bf7b825f0ea1e0166f28a51b1a40a37658c8 | [
"MIT"
] | null | null | null | from looper.rewindobject import RewindObject
class Player(RewindObject):
pass
| 14 | 44 | 0.797619 | 9 | 84 | 7.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 5 | 45 | 16.8 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f1d4d997aabb3d57282bb987b89f2fc2a8fc7012 | 90 | py | Python | local_test/bus_schedule/app/widgets/__init__.py | NYUSHer/Widgets | b630d01331ca0101778fc7ca44fff7b65412f9ef | [
"MIT"
] | 1 | 2018-05-01T06:04:39.000Z | 2018-05-01T06:04:39.000Z | local_test/bus_schedule/app/widgets/__init__.py | NYUSHer/Widgets | b630d01331ca0101778fc7ca44fff7b65412f9ef | [
"MIT"
] | null | null | null | local_test/bus_schedule/app/widgets/__init__.py | NYUSHer/Widgets | b630d01331ca0101778fc7ca44fff7b65412f9ef | [
"MIT"
] | null | null | null | from flask import Blueprint
widgets = Blueprint('widgets', __name__)
from .bus import *
| 15 | 40 | 0.755556 | 11 | 90 | 5.818182 | 0.636364 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 90 | 5 | 41 | 18 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
9e273fcd8092bba96961c330fb011ea4507d2212 | 23,923 | py | Python | SuperSonic/utils/engine/config_search.py | HuantWang/SUPERSONIC | bea7090e8bc4a54ed52495dd910ef946c88bec67 | [
"CC-BY-4.0"
] | 78 | 2022-02-02T00:23:02.000Z | 2022-03-15T11:44:02.000Z | SuperSonic/utils/engine/config_search.py | HuantWang/SUPERSONIC | bea7090e8bc4a54ed52495dd910ef946c88bec67 | [
"CC-BY-4.0"
] | null | null | null | SuperSonic/utils/engine/config_search.py | HuantWang/SUPERSONIC | bea7090e8bc4a54ed52495dd910ef946c88bec67 | [
"CC-BY-4.0"
] | 3 | 2022-01-30T05:10:14.000Z | 2022-03-04T21:18:44.000Z | from ray.tune.schedulers import ASHAScheduler, MedianStoppingRule, PopulationBasedTraining
from ray.tune import CLIReporter
import ray
from ray.rllib.models.catalog import ModelCatalog
from ray import tune
import subprocess
import third_party.contrib.alpha_zero.models.custom_torch_models
from ray.rllib import _register... | 41.317789 | 143 | 0.583413 | 2,662 | 23,923 | 5.007513 | 0.095417 | 0.092273 | 0.05949 | 0.046887 | 0.812228 | 0.803151 | 0.8009 | 0.756489 | 0.756489 | 0.749137 | 0 | 0.013535 | 0.32057 | 23,923 | 578 | 144 | 41.389273 | 0.806571 | 0.193078 | 0 | 0.622829 | 0 | 0.029777 | 0.156531 | 0.061477 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034739 | false | 0.002481 | 0.022333 | 0 | 0.091811 | 0.004963 | 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 |
9e6c42e6696ae5f7e0a371039927bc4f8cd43e15 | 133 | py | Python | examples/meeting_room/__init__.py | billyrrr/onto | 72733d36a2583ae4758f7cf33a5229b79773702b | [
"MIT"
] | 1 | 2020-10-04T10:01:45.000Z | 2020-10-04T10:01:45.000Z | examples/meeting_room/__init__.py | billyrrr/onto | 72733d36a2583ae4758f7cf33a5229b79773702b | [
"MIT"
] | null | null | null | examples/meeting_room/__init__.py | billyrrr/onto | 72733d36a2583ae4758f7cf33a5229b79773702b | [
"MIT"
] | null | null | null | from onto.context import Context as CTX
if CTX.config is None:
CTX.load()
from . import view_models
from . import domain_models
| 19 | 39 | 0.759398 | 22 | 133 | 4.5 | 0.636364 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 133 | 6 | 40 | 22.166667 | 0.908257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ba46ce98e9d59fcd8eb601d49871453368af3fd | 41 | py | Python | Python/Tests/TestData/SysPath/Sub/module.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 404 | 2019-05-07T02:21:57.000Z | 2022-03-31T17:03:04.000Z | Python/Tests/TestData/SysPath/Sub/module.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/SysPath/Sub/module.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | import sys
print(sys.path)
print("DONE")
| 10.25 | 15 | 0.731707 | 7 | 41 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 3 | 16 | 13.666667 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7bc6faaca9d2b7fc57c2ae07a73931e9abb160b0 | 117 | py | Python | ACT_Test.py | amanb2000/Adaptive_Chirplet_Transform | 0e3b8a454deed0be38d964b38b6d811d4295dfc8 | [
"MIT"
] | 5 | 2020-10-26T02:24:53.000Z | 2021-11-23T08:41:16.000Z | ACT_Test.py | amanb2000/Adaptive_Chirplet_Transform | 0e3b8a454deed0be38d964b38b6d811d4295dfc8 | [
"MIT"
] | null | null | null | ACT_Test.py | amanb2000/Adaptive_Chirplet_Transform | 0e3b8a454deed0be38d964b38b6d811d4295dfc8 | [
"MIT"
] | null | null | null | import ACT as act_lib
# act = act_lib.ACT(force_regenerate=False, logDt_info=(-4, -1, 3))
act = act_lib.ACT()
| 10.636364 | 67 | 0.666667 | 21 | 117 | 3.47619 | 0.571429 | 0.246575 | 0.369863 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.179487 | 117 | 10 | 68 | 11.7 | 0.729167 | 0.555556 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c8ac0b58f396cf0000d86f65273ce47f543729f8 | 23 | py | Python | omnisci_olio/cli/__init__.py | omnisci/omnisci-olio.py | e8b33d660b49bc7677d82845ed384e57582ef0f8 | [
"Apache-2.0"
] | 2 | 2022-03-16T20:46:26.000Z | 2022-03-16T20:46:28.000Z | omnisci_olio/cli/__init__.py | heavyai/heavyai-olio.py | e8b33d660b49bc7677d82845ed384e57582ef0f8 | [
"Apache-2.0"
] | 1 | 2022-02-05T12:16:09.000Z | 2022-02-05T12:16:09.000Z | omnisci_olio/cli/__init__.py | omnisci/omnisci-olio.py | e8b33d660b49bc7677d82845ed384e57582ef0f8 | [
"Apache-2.0"
] | null | null | null | from .omnisql import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8d86b64358df672e3b752b48a571e79fddcf1a1 | 5,404 | py | Python | tests/train/metrics_tests.py | leanhphuong201/microDL | 6ba9ec242d38a0ec32183cb4a9974b27a8722e30 | [
"MIT"
] | 21 | 2018-11-07T15:34:37.000Z | 2022-03-18T14:51:05.000Z | tests/train/metrics_tests.py | leanhphuong201/microDL | 6ba9ec242d38a0ec32183cb4a9974b27a8722e30 | [
"MIT"
] | 72 | 2018-10-01T21:58:47.000Z | 2022-03-28T20:26:38.000Z | tests/train/metrics_tests.py | leanhphuong201/microDL | 6ba9ec242d38a0ec32183cb4a9974b27a8722e30 | [
"MIT"
] | 7 | 2018-11-20T19:30:12.000Z | 2022-02-23T06:56:14.000Z | import keras.backend as K
import nose.tools
import numpy as np
import tensorflow as tf
import micro_dl.train.metrics as metrics
def test_coeff_determination():
y_true = np.zeros((5, 1, 25, 30), np.float32)
y_true[..., :10] = 1
y_pred = np.zeros_like(y_true)
y_pred[..., :20] = 1
y_true = tf.conver... | 35.090909 | 69 | 0.647298 | 999 | 5,404 | 3.259259 | 0.097097 | 0.109029 | 0.057125 | 0.055283 | 0.863943 | 0.83016 | 0.828931 | 0.788698 | 0.788698 | 0.774877 | 0 | 0.070118 | 0.202998 | 5,404 | 153 | 70 | 35.320261 | 0.68586 | 0.065322 | 0 | 0.565574 | 0 | 0 | 0.005553 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 1 | 0.090164 | false | 0 | 0.040984 | 0 | 0.131148 | 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 |
c8fcd39fbed89a7659fadccb4bf040f9aad28058 | 181 | py | Python | src/pysparkbundle/dataframe/DataFrameShowMethodInterface.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | null | null | null | src/pysparkbundle/dataframe/DataFrameShowMethodInterface.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | null | null | null | src/pysparkbundle/dataframe/DataFrameShowMethodInterface.py | daipe-ai/pyspark-bundle | ffbb0f8835b69646a235ae4d7d1f4eaa03a05ea0 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from pyspark.sql import DataFrame
class DataFrameShowMethodInterface(ABC):
@abstractmethod
def show(self, df: DataFrame):
pass
| 20.111111 | 40 | 0.745856 | 20 | 181 | 6.75 | 0.7 | 0.251852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19337 | 181 | 8 | 41 | 22.625 | 0.924658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cdaec1fc7d331b867c8b3b8c2291aeda3d1a22b3 | 47 | py | Python | python/fundamental/sample_package/tools/utils.py | tomothumb/sandbox | 0bca792ea1e97ee045accdc7cd6b4fa0c424785b | [
"MIT"
] | null | null | null | python/fundamental/sample_package/tools/utils.py | tomothumb/sandbox | 0bca792ea1e97ee045accdc7cd6b4fa0c424785b | [
"MIT"
] | 56 | 2020-07-17T09:43:34.000Z | 2022-03-08T22:51:02.000Z | python/fundamental/sample_package/tools/utils.py | tomothumb/sandbox | 0bca792ea1e97ee045accdc7cd6b4fa0c424785b | [
"MIT"
] | null | null | null | def say_twice(word):
return (word + '!') *2 | 23.5 | 26 | 0.574468 | 7 | 47 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.212766 | 47 | 2 | 26 | 23.5 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cdb8052ed48f04dd0e7ad454c6b8d6b827ef13fa | 72 | py | Python | sincnet_tensorflow/__init__.py | AryaAftab/sincnet-tensorflow | 460a8e222e0dadc39c121af50c6dff5e92b4de52 | [
"MIT"
] | 1 | 2021-08-31T15:51:44.000Z | 2021-08-31T15:51:44.000Z | sincnet_tensorflow/__init__.py | AryaAftab/sincnet-tensorflow | 460a8e222e0dadc39c121af50c6dff5e92b4de52 | [
"MIT"
] | null | null | null | sincnet_tensorflow/__init__.py | AryaAftab/sincnet-tensorflow | 460a8e222e0dadc39c121af50c6dff5e92b4de52 | [
"MIT"
] | null | null | null | from sincnet_tensorflow.sincnet_tensorflow import SincConv1D, LayerNorm
| 36 | 71 | 0.902778 | 8 | 72 | 7.875 | 0.75 | 0.539683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.069444 | 72 | 1 | 72 | 72 | 0.925373 | 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 |
cdd5b52f39a2c83da12749834e135a6fa523bc44 | 211 | py | Python | chibi/pipeline/xml.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | chibi/pipeline/xml.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | chibi/pipeline/xml.py | dem4ply/chibi | 1f13db8200e8e60bbb839436d4c995d6b6220957 | [
"WTFPL"
] | null | null | null | from chibi.pipeline import Pipeline
from chibi.snippet.dict import remove_xml_notatation
class Remove_xml_garage( Pipeline ):
def run( self, obj, *args, **kw ):
return remove_xml_notatation( obj )
| 26.375 | 52 | 0.744076 | 29 | 211 | 5.206897 | 0.62069 | 0.178808 | 0.251656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175355 | 211 | 7 | 53 | 30.142857 | 0.867816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cdfc4423f29f969e1dd8bb1d317917a73eda71b6 | 31 | py | Python | log/__init__.py | interactiveaudiolab/voogle | 9654d8602b97bbe5d161092edbe9e4abd9833eeb | [
"MIT"
] | 28 | 2019-07-25T08:23:45.000Z | 2022-03-27T06:14:32.000Z | log/__init__.py | interactiveaudiolab/voogle | 9654d8602b97bbe5d161092edbe9e4abd9833eeb | [
"MIT"
] | null | null | null | log/__init__.py | interactiveaudiolab/voogle | 9654d8602b97bbe5d161092edbe9e4abd9833eeb | [
"MIT"
] | 1 | 2021-09-21T08:26:28.000Z | 2021-09-21T08:26:28.000Z | from log.log import get_logger
| 15.5 | 30 | 0.83871 | 6 | 31 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 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 |
b568b83838767f18105f2fc038dc4e336ff28342 | 126 | py | Python | tests/nonci/__init__.py | chenlongzhen/bert-for-tf2 | bcbf85d682faba2326e77b021fd955f9e13d72c2 | [
"MIT"
] | 806 | 2019-05-25T08:37:21.000Z | 2022-03-25T11:16:13.000Z | tests/nonci/__init__.py | chenlongzhen/bert-for-tf2 | bcbf85d682faba2326e77b021fd955f9e13d72c2 | [
"MIT"
] | 89 | 2019-06-05T14:53:25.000Z | 2022-03-09T13:42:44.000Z | tests/nonci/__init__.py | chenlongzhen/bert-for-tf2 | bcbf85d682faba2326e77b021fd955f9e13d72c2 | [
"MIT"
] | 196 | 2019-06-10T23:53:46.000Z | 2022-03-14T02:49:46.000Z | # coding=utf-8
#
# created by kpe on 23.May.2019 at 16:05
#
from __future__ import absolute_import, division, print_function
| 18 | 64 | 0.761905 | 21 | 126 | 4.285714 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 0.150794 | 126 | 6 | 65 | 21 | 0.738318 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
b59c6832a32c881a167cee44109368e76e484cca | 53 | py | Python | dataloader/__init__.py | FanChiMao/SRMNet-thesis | 9541eb39006ac72d2e1a4875a36aece028c2168a | [
"Apache-2.0"
] | null | null | null | dataloader/__init__.py | FanChiMao/SRMNet-thesis | 9541eb39006ac72d2e1a4875a36aece028c2168a | [
"Apache-2.0"
] | 1 | 2022-03-20T14:13:13.000Z | 2022-03-21T16:19:37.000Z | dataloader/__init__.py | FanChiMao/SRMNet-thesis | 9541eb39006ac72d2e1a4875a36aece028c2168a | [
"Apache-2.0"
] | 1 | 2022-03-14T12:29:53.000Z | 2022-03-14T12:29:53.000Z | from .data_RGB import *
from .dataset_RGB import *
| 17.666667 | 27 | 0.735849 | 8 | 53 | 4.625 | 0.625 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 2 | 28 | 26.5 | 0.860465 | 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 |
a907f8b0c4b32f3e7184b2252ff545958ff2339f | 4,757 | py | Python | tests/end_to_end_test.py | ERA-URBAN/fm128_radar | 38225bafdb3c8a22248f2648f8e74c5c054aa134 | [
"Apache-2.0"
] | 3 | 2017-11-23T14:00:26.000Z | 2022-01-18T15:17:44.000Z | tests/end_to_end_test.py | ERA-URBAN/fm128_radar | 38225bafdb3c8a22248f2648f8e74c5c054aa134 | [
"Apache-2.0"
] | 2 | 2017-01-10T12:56:13.000Z | 2017-01-16T15:13:08.000Z | tests/end_to_end_test.py | ERA-URBAN/fm128_radar | 38225bafdb3c8a22248f2648f8e74c5c054aa134 | [
"Apache-2.0"
] | 2 | 2018-06-14T13:19:26.000Z | 2021-05-21T08:23:50.000Z | import os
from os.path import dirname, abspath
import unittest
from fm128_radar.write_fm128_radar import write_fm128_radar
from datetime import datetime
import numpy as np
import filecmp
class end2endtest(unittest.TestCase):
def setUp(self):
'''
setup test environment
'''
# define ... | 42.097345 | 75 | 0.541938 | 700 | 4,757 | 3.588571 | 0.128571 | 0.055732 | 0.059713 | 0.064092 | 0.809315 | 0.809315 | 0.806131 | 0.797373 | 0.759156 | 0.753185 | 0 | 0.087946 | 0.316376 | 4,757 | 112 | 76 | 42.473214 | 0.684502 | 0.104478 | 0 | 0.53012 | 0 | 0 | 0.029334 | 0.005049 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.048193 | false | 0 | 0.084337 | 0 | 0.144578 | 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 |
a922cdd333d46107d134592b5674ca9b26a5b2c6 | 106 | py | Python | writepy/__init__.py | python-compiler-tools/writepy | 0e516dba40cf91ad19679afd4481dd27fa785dc5 | [
"MIT"
] | 3 | 2020-04-18T07:56:19.000Z | 2020-07-25T18:26:18.000Z | writepy/__init__.py | python-compiler-tools/writepy | 0e516dba40cf91ad19679afd4481dd27fa785dc5 | [
"MIT"
] | null | null | null | writepy/__init__.py | python-compiler-tools/writepy | 0e516dba40cf91ad19679afd4481dd27fa785dc5 | [
"MIT"
] | null | null | null | from .dummy import Q, UNQ, CG
from .code import expr_from_repr, expr_as_is, Expr
from .meta import mk_cg | 35.333333 | 51 | 0.773585 | 21 | 106 | 3.666667 | 0.619048 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 3 | 52 | 35.333333 | 0.865169 | 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 |
8d52de04922034a7e0240c8e21d6fce0d6830823 | 270 | py | Python | api/utils.py | RashadAnsari/url-shortener.py | 989bd3289748f6ce0de4c91e9b5fbbcabd8bff01 | [
"MIT"
] | 2 | 2022-03-28T10:54:57.000Z | 2022-03-29T04:36:48.000Z | api/utils.py | RashadAnsari/url-shortener.py | 989bd3289748f6ce0de4c91e9b5fbbcabd8bff01 | [
"MIT"
] | null | null | null | api/utils.py | RashadAnsari/url-shortener.py | 989bd3289748f6ce0de4c91e9b5fbbcabd8bff01 | [
"MIT"
] | null | null | null | def short_url_cache_key(id):
return "short_url:%d" % (id)
def short_url_counter_cache_key(id):
return "short_url:counter:%d" % (id)
def short_url_lock_cache_key(id):
return "short_url:lock:%d" % (id)
ALL_SHORT_URLS_COUNTER_KEYS = "short_url:counter:*"
| 19.285714 | 51 | 0.714815 | 45 | 270 | 3.866667 | 0.288889 | 0.321839 | 0.189655 | 0.275862 | 0.574713 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 270 | 13 | 52 | 20.769231 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0.251852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.428571 | 0.857143 | 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 |
571254a6967ad686faef8673db280d6707ce3224 | 3,127 | py | Python | api_tests/test/views/test_throttling.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | 1 | 2015-10-02T18:35:53.000Z | 2015-10-02T18:35:53.000Z | api_tests/test/views/test_throttling.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | 4 | 2016-05-13T14:24:16.000Z | 2017-03-30T15:28:31.000Z | api_tests/test/views/test_throttling.py | alexschiller/osf.io | 4122d4be152c6189142c2ebb19cfdee09c77035d | [
"Apache-2.0"
] | null | null | null | import mock
from nose.tools import * # flake8: noqa
from api.base.settings.defaults import API_BASE
from tests.base import ApiTestCase
from osf_tests.factories import AuthUserFactory
class TestThrottling(ApiTestCase):
def setUp(self):
super(TestThrottling, self).setUp()
self.user = AuthUserFa... | 41.693333 | 94 | 0.693316 | 447 | 3,127 | 4.642058 | 0.129754 | 0.100723 | 0.081928 | 0.106506 | 0.825542 | 0.793253 | 0.782169 | 0.782169 | 0.782169 | 0.746024 | 0 | 0.021251 | 0.1874 | 3,127 | 74 | 95 | 42.256757 | 0.795356 | 0.003838 | 0 | 0.6 | 0 | 0 | 0.073562 | 0.034693 | 0 | 0 | 0 | 0 | 0.316667 | 1 | 0.15 | false | 0 | 0.083333 | 0 | 0.25 | 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 |
939812eba4e8e0bd367caea3da604367e586aa38 | 183 | py | Python | hello/views.py | Harsh-Sinha7/python-docs-hello-django | 5a57b414d53a085b1c0aecd2a0dc4db4b973dbf4 | [
"MIT"
] | null | null | null | hello/views.py | Harsh-Sinha7/python-docs-hello-django | 5a57b414d53a085b1c0aecd2a0dc4db4b973dbf4 | [
"MIT"
] | null | null | null | hello/views.py | Harsh-Sinha7/python-docs-hello-django | 5a57b414d53a085b1c0aecd2a0dc4db4b973dbf4 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
def hello(request):
return HttpResponse("Congratulations! You have successfully created your web apps!")
| 30.5 | 88 | 0.808743 | 23 | 183 | 6.434783 | 0.826087 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 183 | 5 | 89 | 36.6 | 0.930818 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
93a0ecaf71812398cfbd6d6c395bcd8926489985 | 1,423 | py | Python | scripts/find_close_loop.py | YXZhai97/Area-Coverage-Path-Planning | 3be475d703841432744c522b65f6d4d3dde647a3 | [
"BSD-3-Clause"
] | null | null | null | scripts/find_close_loop.py | YXZhai97/Area-Coverage-Path-Planning | 3be475d703841432744c522b65f6d4d3dde647a3 | [
"BSD-3-Clause"
] | null | null | null | scripts/find_close_loop.py | YXZhai97/Area-Coverage-Path-Planning | 3be475d703841432744c522b65f6d4d3dde647a3 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
grid_map=np.array([
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0,-1,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0],
[0,-1, 0, 0, 0, 0,-1, 0, 0, 0, 0, 0],
[0,-1, 0, 0, 0, 0,-1, 0, 0, 0, 0, 0],
... | 34.707317 | 97 | 0.314125 | 285 | 1,423 | 1.554386 | 0.108772 | 0.663657 | 0.893905 | 1.074492 | 0.406321 | 0.406321 | 0.406321 | 0.406321 | 0.406321 | 0.406321 | 0 | 0.252241 | 0.45116 | 1,423 | 41 | 98 | 34.707317 | 0.314981 | 0 | 0 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.108108 | 0.054054 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
93c135925077ed323319df85e8cdbb0670f8d8ce | 6,720 | py | Python | tests/integration_tests/test_anmeldung_maus.py | Hochfrequenz/mig_ahb_utility_stack | 85b97bc616508404c0178df3870cf4c0f06ccca1 | [
"MIT"
] | 5 | 2021-12-14T11:49:05.000Z | 2021-12-21T21:37:14.000Z | tests/integration_tests/test_anmeldung_maus.py | Hochfrequenz/mig_ahb_utility_stack | 85b97bc616508404c0178df3870cf4c0f06ccca1 | [
"MIT"
] | 11 | 2021-12-16T08:40:59.000Z | 2022-02-25T17:30:05.000Z | tests/integration_tests/test_anmeldung_maus.py | Hochfrequenz/mig_ahb_utility_stack | 85b97bc616508404c0178df3870cf4c0f06ccca1 | [
"MIT"
] | null | null | null | from pathlib import Path
import pytest # type:ignore[import]
from helpers import create_maus_and_assert, write_to_file_or_assert_equality # type:ignore[import]
class TestAnmeldungMaus:
"""
A unit test that ensures that the 11001/11002/11003 MAUS.json are created.
"""
@pytest.mark.datafi... | 51.29771 | 101 | 0.638393 | 718 | 6,720 | 5.78273 | 0.144847 | 0.096339 | 0.08237 | 0.075145 | 0.809008 | 0.77264 | 0.77264 | 0.77264 | 0.739162 | 0.724711 | 0 | 0.049655 | 0.244792 | 6,720 | 130 | 102 | 51.692308 | 0.768473 | 0.079613 | 0 | 0.394737 | 0 | 0 | 0.335931 | 0.230144 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.052632 | false | 0 | 0.026316 | 0 | 0.087719 | 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 |
93d71dfed77a8b3ade2a126fd32d93dabe57131e | 10,836 | py | Python | utils/note_db_utils.py | ThinkmanWang/NotesServer | 86a1f7f56b30f94aaccd3d70941e3873cc1713e2 | [
"Apache-2.0"
] | null | null | null | utils/note_db_utils.py | ThinkmanWang/NotesServer | 86a1f7f56b30f94aaccd3d70941e3873cc1713e2 | [
"Apache-2.0"
] | 1 | 2021-06-01T21:40:51.000Z | 2021-06-01T21:40:51.000Z | utils/note_db_utils.py | ThinkmanWang/NotesServer | 86a1f7f56b30f94aaccd3d70941e3873cc1713e2 | [
"Apache-2.0"
] | null | null | null |
import sys
import os
from dbutils import *
name = 'note_db_utils'
def insert_note(uid, note):
if (True == if_note_exists(note)):
return update_note_info(uid, note)
else:
if (is_note_deleted(note["id"])):
if (is_note_need_restore(note)):
restore_note... | 31.227666 | 221 | 0.525932 | 1,243 | 10,836 | 4.473049 | 0.08206 | 0.045504 | 0.010252 | 0.01223 | 0.780935 | 0.756295 | 0.742446 | 0.702698 | 0.690108 | 0.671583 | 0 | 0.003684 | 0.348653 | 10,836 | 346 | 222 | 31.317919 | 0.784075 | 0.017534 | 0 | 0.734043 | 0 | 0.014184 | 0.160548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010638 | null | null | 0.003546 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f53f8b764d52ed9be50a2dc99e1c78fc15ce9abc | 153 | py | Python | maze_solver/src/scripts/path_planner.py | pranavgo/Autonomous_maze_solving_assignment | 9ddd9d8480294e6575e95a8424b2512dc858ff2d | [
"MIT"
] | null | null | null | maze_solver/src/scripts/path_planner.py | pranavgo/Autonomous_maze_solving_assignment | 9ddd9d8480294e6575e95a8424b2512dc858ff2d | [
"MIT"
] | null | null | null | maze_solver/src/scripts/path_planner.py | pranavgo/Autonomous_maze_solving_assignment | 9ddd9d8480294e6575e95a8424b2512dc858ff2d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#Following is the import line for importing the obstacle detection methods i.e. isValidPoint()
import obstacle_detection as obsdet | 51 | 94 | 0.816993 | 23 | 153 | 5.391304 | 0.826087 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.117647 | 153 | 3 | 95 | 51 | 0.911111 | 0.745098 | 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 |
191ec2e4cbc9cdda77d6e239cc9bb2ea5e0be032 | 446 | py | Python | groupdocs_signature_cloud/apis/__init__.py | groupdocs-signature-cloud/groupdocs-signature-cloud-python | 2b7f03b3d70f191dc1292f6221ed9301811681cf | [
"MIT"
] | null | null | null | groupdocs_signature_cloud/apis/__init__.py | groupdocs-signature-cloud/groupdocs-signature-cloud-python | 2b7f03b3d70f191dc1292f6221ed9301811681cf | [
"MIT"
] | null | null | null | groupdocs_signature_cloud/apis/__init__.py | groupdocs-signature-cloud/groupdocs-signature-cloud-python | 2b7f03b3d70f191dc1292f6221ed9301811681cf | [
"MIT"
] | 1 | 2021-02-03T00:18:17.000Z | 2021-02-03T00:18:17.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis
from groupdocs_signature_cloud.apis.file_api import FileApi
from groupdocs_signature_cloud.apis.folder_api import FolderApi
from groupdocs_signature_cloud.apis.info_api import InfoApi
from groupdocs_signature_cloud.apis.preview_api import PreviewApi
... | 37.166667 | 65 | 0.88565 | 63 | 446 | 5.904762 | 0.365079 | 0.209677 | 0.354839 | 0.435484 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002439 | 0.080717 | 446 | 11 | 66 | 40.545455 | 0.904878 | 0.053812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
19406a336ebff69a912a8084c5a63a690f441e1a | 419 | py | Python | CTFe/views/__init__.py | nnonchev/CTFe | b4814e08593ec68b7befec8d07169a08a1ddec10 | [
"MIT"
] | null | null | null | CTFe/views/__init__.py | nnonchev/CTFe | b4814e08593ec68b7befec8d07169a08a1ddec10 | [
"MIT"
] | null | null | null | CTFe/views/__init__.py | nnonchev/CTFe | b4814e08593ec68b7befec8d07169a08a1ddec10 | [
"MIT"
] | null | null | null | from CTFe.views.auth_view import router as auth_router
from CTFe.views.user_view import router as user_router
from CTFe.views.team_view import router as team_router
from CTFe.views.challenge_view import router as challenge_router
from CTFe.views.attempt_view import router as attempt_router
from CTFe.views.player_view i... | 52.375 | 68 | 0.866348 | 70 | 419 | 4.985714 | 0.2 | 0.160458 | 0.260745 | 0.361032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100239 | 419 | 7 | 69 | 59.857143 | 0.925729 | 0 | 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 |
19861cbf6417792440678e553fa0eb1fc7d5c3f4 | 125 | py | Python | tests/test_core_wsgi.py | artifice-project/artifice-scraper | f224a0da22162fd479d6b9f9095ff5cae4723716 | [
"MIT"
] | null | null | null | tests/test_core_wsgi.py | artifice-project/artifice-scraper | f224a0da22162fd479d6b9f9095ff5cae4723716 | [
"MIT"
] | 5 | 2019-09-18T19:17:14.000Z | 2021-03-20T01:46:06.000Z | tests/test_core_wsgi.py | artifice-project/artifice-scraper | f224a0da22162fd479d6b9f9095ff5cae4723716 | [
"MIT"
] | null | null | null | import pytest
def test_core_wsgi_application():
import artifice.scraper.core.wsgi as wsgi
assert wsgi.application
| 15.625 | 45 | 0.776 | 17 | 125 | 5.529412 | 0.647059 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 125 | 7 | 46 | 17.857143 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1987195379e628e186b8b69b584926ef9eafdf80 | 56 | py | Python | falcon/app/resources/part_2.py | SkiftCreative/docker-gunicorn-examples | 4a0407a130e49f78bca23cde496069da4893f271 | [
"MIT"
] | 4 | 2017-01-05T07:03:17.000Z | 2018-06-13T16:55:57.000Z | falcon/app/resources/part_2.py | SkiftCreative/docker-gunicorn-examples | 4a0407a130e49f78bca23cde496069da4893f271 | [
"MIT"
] | 1 | 2017-01-05T08:01:08.000Z | 2017-01-06T19:03:23.000Z | falcon/app/resources/part_2.py | SkiftCreative/docker-gunicorn-examples | 4a0407a130e49f78bca23cde496069da4893f271 | [
"MIT"
] | 2 | 2018-01-08T13:07:36.000Z | 2019-04-04T12:28:46.000Z | import hug
@hug.get()
def part2():
return 'part2'
| 8 | 18 | 0.607143 | 8 | 56 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.232143 | 56 | 6 | 19 | 9.333333 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 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 |
19914f585c2ba279ea2095220fdaa30cfdb435c9 | 27 | py | Python | test/completion/import_tree/mod2.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 4,213 | 2015-01-02T15:43:22.000Z | 2022-03-31T16:15:01.000Z | test/completion/import_tree/mod2.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 1,392 | 2015-01-02T18:43:39.000Z | 2022-03-27T18:43:59.000Z | test/completion/import_tree/mod2.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 525 | 2015-01-02T19:07:31.000Z | 2022-03-13T02:03:20.000Z | from . import mod1 as fake
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.222222 | 27 | 1 | 27 | 27 | 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 |
5fd573e841a0d18e94b72c9080e9e91e0ba55567 | 68 | py | Python | tests/test_Chromosome.py | jonahcullen/LocusPocus | 26e59f6483f15858ad1cacb51a55a58cdcffcd78 | [
"MIT"
] | null | null | null | tests/test_Chromosome.py | jonahcullen/LocusPocus | 26e59f6483f15858ad1cacb51a55a58cdcffcd78 | [
"MIT"
] | null | null | null | tests/test_Chromosome.py | jonahcullen/LocusPocus | 26e59f6483f15858ad1cacb51a55a58cdcffcd78 | [
"MIT"
] | null | null | null | import pytest
import locuspocus as lp
def test_init():
pass
| 7.555556 | 23 | 0.705882 | 10 | 68 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 68 | 8 | 24 | 8.5 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
272fc3959f4b34278c3bfadb915e441816e3da4e | 42 | py | Python | app/staff/__init__.py | hack4impact-upenn/ronald-mcdonald-house | 90250284b16887d5f4f92427ee37d30f12234e1c | [
"MIT"
] | 5 | 2019-10-05T17:16:00.000Z | 2020-05-25T11:45:42.000Z | app/staff/__init__.py | hack4impact/ronald-mcdonald-house | 90250284b16887d5f4f92427ee37d30f12234e1c | [
"MIT"
] | 12 | 2019-10-19T16:02:07.000Z | 2020-02-26T02:50:26.000Z | app/staff/__init__.py | hack4impact-upenn/ronald-mcdonald-house | 90250284b16887d5f4f92427ee37d30f12234e1c | [
"MIT"
] | 2 | 2019-10-14T17:47:33.000Z | 2020-08-04T02:30:02.000Z | from app.staff.views import staff # noqa
| 21 | 41 | 0.761905 | 7 | 42 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 1 | 42 | 42 | 0.914286 | 0.095238 | 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 |
27605af70a7e76941bfe5915bc967372ae101ee8 | 3,146 | py | Python | tests/CaesarCipherTests/test_CaesarCipher.py | LudwikaMalinowska/TestowanieAutomatyczneProjekt1 | 8c0619ac24c89791a0957ff45a07eedeeaf9a0e5 | [
"MIT"
] | null | null | null | tests/CaesarCipherTests/test_CaesarCipher.py | LudwikaMalinowska/TestowanieAutomatyczneProjekt1 | 8c0619ac24c89791a0957ff45a07eedeeaf9a0e5 | [
"MIT"
] | null | null | null | tests/CaesarCipherTests/test_CaesarCipher.py | LudwikaMalinowska/TestowanieAutomatyczneProjekt1 | 8c0619ac24c89791a0957ff45a07eedeeaf9a0e5 | [
"MIT"
] | null | null | null | import unittest
from CaesarCipher.CaesarCipher import CaesarCipher
class CaesarTest(unittest.TestCase):
def setUp(self):
self.temp = CaesarCipher()
def test_a_cipher(self):
self.assertEqual(self.temp.caesar_cipher("a"), "d")
def test_w_cipher(self):
self.assertEqual(self.temp.c... | 32.770833 | 98 | 0.68595 | 416 | 3,146 | 4.966346 | 0.146635 | 0.108422 | 0.176186 | 0.222652 | 0.737657 | 0.719264 | 0.719264 | 0.719264 | 0.269119 | 0.052275 | 0 | 0.003141 | 0.190401 | 3,146 | 96 | 99 | 32.770833 | 0.808009 | 0 | 0 | 0 | 0 | 0 | 0.103591 | 0 | 0 | 0 | 0 | 0 | 0.412698 | 1 | 0.444444 | false | 0 | 0.031746 | 0 | 0.492063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27828ce4032beccb8ea4239af27df0f77cf9ff95 | 15,511 | py | Python | app/tests/test_views/test_read_book.py | OlegKlimenko/Plamber | a3536b864d05abb6b6bba0f2971ab4b7b9c60db6 | [
"Apache-2.0"
] | 13 | 2017-03-30T12:19:35.000Z | 2019-12-09T03:15:22.000Z | app/tests/test_views/test_read_book.py | OlegKlimenko/Plamber | a3536b864d05abb6b6bba0f2971ab4b7b9c60db6 | [
"Apache-2.0"
] | 213 | 2017-02-18T11:48:40.000Z | 2022-03-11T23:20:36.000Z | app/tests/test_views/test_read_book.py | OlegKlimenko/Plamber | a3536b864d05abb6b6bba0f2971ab4b7b9c60db6 | [
"Apache-2.0"
] | 3 | 2018-06-17T11:54:49.000Z | 2019-10-22T16:19:28.000Z | # -*- coding: utf-8 -*-
import os
from http.cookies import SimpleCookie
from django.contrib.auth.models import User
from django.core.files.uploadedfile import SimpleUploadedFile
from django.shortcuts import reverse
from django.test import TestCase, Client
from ...models import TheUser, Book, AddedBook, Category, Lan... | 52.938567 | 120 | 0.560892 | 1,623 | 15,511 | 5.080099 | 0.089957 | 0.109157 | 0.161795 | 0.090237 | 0.830443 | 0.812856 | 0.782292 | 0.782292 | 0.772468 | 0.763614 | 0 | 0.009585 | 0.172652 | 15,511 | 292 | 121 | 53.119863 | 0.6329 | 0.172136 | 0 | 0.599034 | 0 | 0 | 0.069366 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.10628 | false | 0.009662 | 0.038647 | 0 | 0.149758 | 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 |
279f8b460e09a8bdd8dbaba85af97f5bfbc5a19d | 4,902 | py | Python | task_manager/tasks/tests/test_apiviews.py | Aravind-Kannan/WD-202-Task-Manager | 6a4919abdbf0ab4578aad45948291a588cb937d9 | [
"MIT"
] | null | null | null | task_manager/tasks/tests/test_apiviews.py | Aravind-Kannan/WD-202-Task-Manager | 6a4919abdbf0ab4578aad45948291a588cb937d9 | [
"MIT"
] | null | null | null | task_manager/tasks/tests/test_apiviews.py | Aravind-Kannan/WD-202-Task-Manager | 6a4919abdbf0ab4578aad45948291a588cb937d9 | [
"MIT"
] | null | null | null | from django.test import TestCase
from rest_framework import status
from rest_framework.test import APIClient
from tasks.models import STATUS_CHOICES, TaskHistory, User, Task
from datetime import date
class APIReadTestCases(TestCase):
"""Test read operations on API"""
def setUp(self):
self.client = AP... | 35.521739 | 111 | 0.587107 | 572 | 4,902 | 4.888112 | 0.15035 | 0.060801 | 0.045064 | 0.054721 | 0.783262 | 0.783262 | 0.777539 | 0.744993 | 0.744993 | 0.710658 | 0 | 0.017639 | 0.282946 | 4,902 | 137 | 112 | 35.781022 | 0.777809 | 0.018156 | 0 | 0.6 | 0 | 0.008333 | 0.157434 | 0.049979 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.075 | false | 0.075 | 0.041667 | 0 | 0.133333 | 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 |
27a960fda089b8bc6de6c4f91806f2b08942eaa6 | 84,982 | py | Python | flair/datasets.py | azawalich/flair | f0101ab25381aefa586ecb688d4f412d5fab5de3 | [
"MIT"
] | null | null | null | flair/datasets.py | azawalich/flair | f0101ab25381aefa586ecb688d4f412d5fab5de3 | [
"MIT"
] | null | null | null | flair/datasets.py | azawalich/flair | f0101ab25381aefa586ecb688d4f412d5fab5de3 | [
"MIT"
] | null | null | null |
import os
import csv
from abc import abstractmethod
from torch.utils.data import Dataset, random_split
from typing import List, Dict, Union
import re
import logging
from pathlib import Path
import torch.utils.data.dataloader
from torch.utils.data.dataset import Subset, ConcatDataset
import flair
from flair.data import... | 48.616705 | 617 | 0.578228 | 9,935 | 84,982 | 4.582989 | 0.051736 | 0.063296 | 0.055499 | 0.059101 | 0.861614 | 0.841782 | 0.820807 | 0.80383 | 0.795111 | 0.74631 | 0 | 0.006331 | 0.288167 | 84,982 | 1,747 | 618 | 48.644533 | 0.746351 | 0.025417 | 0 | 0.657049 | 0 | 0.005246 | 0.147398 | 0.034114 | 0 | 0 | 0 | 0 | 0.002623 | 1 | 0.055738 | false | 0 | 0.01377 | 0.007213 | 0.125902 | 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 |
27c8bd217dfd6c6c669e708dd66bc1d424b1e932 | 37 | py | Python | xagents/td3/__init__.py | abstractguy/xagents | 35e216507c7cd4f0d71480e55d46fdcd16f2c940 | [
"MIT"
] | 37 | 2021-08-05T16:31:54.000Z | 2022-01-16T11:49:46.000Z | xagents/td3/__init__.py | abstractguy/xagents | 35e216507c7cd4f0d71480e55d46fdcd16f2c940 | [
"MIT"
] | 1 | 2022-01-08T17:22:53.000Z | 2022-01-08T17:22:53.000Z | xagents/td3/__init__.py | abstractguy/xagents | 35e216507c7cd4f0d71480e55d46fdcd16f2c940 | [
"MIT"
] | 3 | 2021-08-13T06:25:22.000Z | 2021-08-20T01:37:15.000Z | from xagents.td3.cli import cli_args
| 18.5 | 36 | 0.837838 | 7 | 37 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.108108 | 37 | 1 | 37 | 37 | 0.878788 | 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 |
27e02ba3e1f8308b14508b16f916bbe153abaad1 | 41 | py | Python | aiomatrix/dispatcher/observers/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 2 | 2021-10-29T18:07:08.000Z | 2021-11-19T00:25:43.000Z | aiomatrix/dispatcher/observers/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 1 | 2022-03-06T11:17:43.000Z | 2022-03-06T11:17:43.000Z | aiomatrix/dispatcher/observers/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | null | null | null | from .matrix import MatrixEventsObserver
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd6ca71f75a5b4b21bc20437f0092570796ed98c | 164 | py | Python | Office365_REST_Python_Client-2.1.0-py3.6.egg/office365/outlookservices/attachment_collection.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | Office365_REST_Python_Client-2.1.0-py3.6.egg/office365/outlookservices/attachment_collection.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | null | null | null | Office365_REST_Python_Client-2.1.0-py3.6.egg/office365/outlookservices/attachment_collection.py | EnjoyLifeFund/macHighSierra-py36-pkgs | 5668b5785296b314ea1321057420bcd077dba9ea | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 1 | 2018-03-23T14:49:04.000Z | 2018-03-23T14:49:04.000Z | from office365.runtime.client_object_collection import ClientObjectCollection
class AttachmentCollection(ClientObjectCollection):
"""Attachment collection"""
| 27.333333 | 77 | 0.847561 | 13 | 164 | 10.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.085366 | 164 | 5 | 78 | 32.8 | 0.893333 | 0.128049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd6d23cf1644745fdcdb47b5d9b03a610efaf8c3 | 119 | py | Python | peco/parser/read_inline_if_then.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | peco/parser/read_inline_if_then.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null | peco/parser/read_inline_if_then.py | Tikubonn/peco | c77fc163ad31d3c271d299747914ce4ef3386987 | [
"MIT"
] | null | null | null |
from .inline_if_then import InlineIfThen
def read_inline_if_then(preread, stream, parser):
raise InlineIfThen()
| 17 | 49 | 0.789916 | 16 | 119 | 5.5625 | 0.75 | 0.179775 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 119 | 6 | 50 | 19.833333 | 0.872549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd765279013b318a5c149404983066450269cd89 | 24 | py | Python | test/__init__.py | koo-ec/Reliability_Multirotor_Drones | 2a05561ef76d98016c82033ef66e53a3a69963c4 | [
"MIT"
] | 4 | 2021-06-28T12:40:41.000Z | 2022-01-14T15:12:44.000Z | test/__init__.py | koo-ec/Reliability_Multirotor_Drones | 2a05561ef76d98016c82033ef66e53a3a69963c4 | [
"MIT"
] | 1 | 2020-05-10T05:17:25.000Z | 2021-06-26T18:20:50.000Z | test/__init__.py | koo-ec/Reliability_Multirotor_Drones | 2a05561ef76d98016c82033ef66e53a3a69963c4 | [
"MIT"
] | null | null | null | from SafeDrones import * | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fda392fd95ff8fa08ccbe9cb9dfd72f1475cc937 | 466 | py | Python | utils/generator.py | JoonyoungYi/movielens-crawler | 0ac527417fafe3bde31381a3e252b3097a58f839 | [
"Apache-2.0"
] | 1 | 2020-10-07T13:55:59.000Z | 2020-10-07T13:55:59.000Z | utils/generator.py | JoonyoungYi/movielens-crawler | 0ac527417fafe3bde31381a3e252b3097a58f839 | [
"Apache-2.0"
] | null | null | null | utils/generator.py | JoonyoungYi/movielens-crawler | 0ac527417fafe3bde31381a3e252b3097a58f839 | [
"Apache-2.0"
] | 1 | 2019-10-14T12:19:39.000Z | 2019-10-14T12:19:39.000Z | import random
import string
from datetime import datetime
from datetime import timedelta
def generate_key(N=64):
letters = string.ascii_letters + string.digits
return ''.join((random.SystemRandom().choice(letters) for _ in range(N)))
def generate_10_key():
return generate_key(N=10)
def generate_16_key... | 17.923077 | 77 | 0.738197 | 69 | 466 | 4.768116 | 0.362319 | 0.167173 | 0.182371 | 0.243161 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051151 | 0.160944 | 466 | 25 | 78 | 18.64 | 0.790281 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.266667 | 0.266667 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fdb1c1557d20fe59ede00bdd8290f33dcf23183f | 42 | py | Python | backend/enrollment/mapper/__init__.py | Boomaa23/berkeleytime | f4c3f41025576056953fb944f5e978df43fa9cdc | [
"MIT"
] | 21 | 2021-03-01T00:31:23.000Z | 2022-03-12T06:11:46.000Z | backend/enrollment/mapper/__init__.py | Boomaa23/berkeleytime | f4c3f41025576056953fb944f5e978df43fa9cdc | [
"MIT"
] | 28 | 2021-04-07T19:02:37.000Z | 2022-03-27T19:11:21.000Z | backend/enrollment/mapper/__init__.py | Boomaa23/berkeleytime | f4c3f41025576056953fb944f5e978df43fa9cdc | [
"MIT"
] | 4 | 2021-04-19T00:42:00.000Z | 2021-11-30T06:29:59.000Z | from .enrollment import enrollment_mapper
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fdb20098e977b5892ce70e74c9cd1a13c2d86381 | 121 | py | Python | rocktype/rocktype.py | rocktype/rocktype | 687d6302b1e650d8453ef45fdba2bc3082bee9c9 | [
"Apache-2.0"
] | null | null | null | rocktype/rocktype.py | rocktype/rocktype | 687d6302b1e650d8453ef45fdba2bc3082bee9c9 | [
"Apache-2.0"
] | null | null | null | rocktype/rocktype.py | rocktype/rocktype | 687d6302b1e650d8453ef45fdba2bc3082bee9c9 | [
"Apache-2.0"
] | null | null | null | class Rocktype:
def __init__(self):
self.name = "Rocktype"
def __str__(self):
return self.name
| 15.125 | 30 | 0.595041 | 14 | 121 | 4.571429 | 0.571429 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305785 | 121 | 7 | 31 | 17.285714 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8bee261b6bbe0e1808d6617892de06bc6feda1ad | 109 | py | Python | backend/util/urls.py | CiscoDevNet/netACL | 526c0fa32aac1345c635292b68c54c100ab3841d | [
"Apache-2.0"
] | 10 | 2016-11-14T13:27:23.000Z | 2021-07-18T01:10:48.000Z | backend/util/urls.py | CiscoDevNet/netACL | 526c0fa32aac1345c635292b68c54c100ab3841d | [
"Apache-2.0"
] | 1 | 2021-08-10T08:57:31.000Z | 2021-08-10T19:35:37.000Z | backend/util/urls.py | CiscoDevNet/netACL | 526c0fa32aac1345c635292b68c54c100ab3841d | [
"Apache-2.0"
] | 7 | 2016-06-22T03:50:46.000Z | 2018-06-21T04:36:44.000Z | topology_url = '/restconf/operational/network-topology:network-topology/topology/example-linkstate-topology'
| 54.5 | 108 | 0.853211 | 12 | 109 | 7.666667 | 0.583333 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 109 | 1 | 109 | 109 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0.834862 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e317ba6c27027b8327009abb5f57ba30af4a9604 | 159 | py | Python | cocktaildb/__init__.py | clvrk/cocktail-wrapper | 34a0a5240baba2657c36f9c724d9162582b96a2b | [
"MIT"
] | 2 | 2021-04-06T15:38:46.000Z | 2022-03-27T22:14:35.000Z | cocktaildb/__init__.py | clvrk/cocktail-wrapper | 34a0a5240baba2657c36f9c724d9162582b96a2b | [
"MIT"
] | 1 | 2021-04-06T18:08:46.000Z | 2021-04-06T18:08:46.000Z | cocktaildb/__init__.py | clvrk/cocktail-wrapper | 34a0a5240baba2657c36f9c724d9162582b96a2b | [
"MIT"
] | null | null | null | from .reqs import Reqs
from .cocktaildb import search
from .cocktaildb import ingredients
from .cocktaildb import glasses
from .cocktaildb import categories
| 26.5 | 35 | 0.830189 | 20 | 159 | 6.6 | 0.4 | 0.424242 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138365 | 159 | 5 | 36 | 31.8 | 0.963504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e34d85d1e90ccef684879f14ad65f90619b813ad | 53 | py | Python | tests/test_import.py | isrobson/hiveplot | 2c4340b1f9ab5d18c7f6aa9663e3cad0bd9ac151 | [
"MIT"
] | null | null | null | tests/test_import.py | isrobson/hiveplot | 2c4340b1f9ab5d18c7f6aa9663e3cad0bd9ac151 | [
"MIT"
] | null | null | null | tests/test_import.py | isrobson/hiveplot | 2c4340b1f9ab5d18c7f6aa9663e3cad0bd9ac151 | [
"MIT"
] | null | null | null | def test_import():
from hiveplot import HivePlot
| 17.666667 | 33 | 0.754717 | 7 | 53 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 2 | 34 | 26.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e37dcae3fca2029d03fbcd498d825386aafd3710 | 24 | py | Python | sample.py | CoodingPenguin/algorithm-c-sharp | d30985f79b450e876eba6eae732a629cbe55accf | [
"MIT"
] | 1 | 2021-08-05T11:02:59.000Z | 2021-08-05T11:02:59.000Z | sample.py | CoodingPenguin/problem-solving | d30985f79b450e876eba6eae732a629cbe55accf | [
"MIT"
] | null | null | null | sample.py | CoodingPenguin/problem-solving | d30985f79b450e876eba6eae732a629cbe55accf | [
"MIT"
] | null | null | null | import this
print(this) | 8 | 11 | 0.791667 | 4 | 24 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 3 | 12 | 8 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8bd386eaf6954337ba80583f05ce8185db6abce7 | 137 | py | Python | pkgs/anaconda-client-1.4.0-py27_0/info/recipe/run_test.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | pkgs/anaconda-client-1.4.0-py27_0/info/recipe/run_test.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | pkgs/anaconda-client-1.4.0-py27_0/info/recipe/run_test.py | wangyum/anaconda | 6e5a0dbead3327661d73a61e85414cf92aa52be6 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | import binstar_client
print('binstar_client.__version__: %s' % binstar_client.__version__)
assert binstar_client.__version__ == '1.4.0'
| 27.4 | 68 | 0.80292 | 18 | 137 | 5.222222 | 0.555556 | 0.553191 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.080292 | 137 | 4 | 69 | 34.25 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.255474 | 0.19708 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
475fef5af083ce4650d20f30738f32bbf437c9fe | 140 | py | Python | blueprints/manager/scripts/configure.py | fastconnect/cloudify-azure-plugin | e3c60068108d6c22301e1780801b5f53f952987a | [
"Apache-2.0"
] | null | null | null | blueprints/manager/scripts/configure.py | fastconnect/cloudify-azure-plugin | e3c60068108d6c22301e1780801b5f53f952987a | [
"Apache-2.0"
] | null | null | null | blueprints/manager/scripts/configure.py | fastconnect/cloudify-azure-plugin | e3c60068108d6c22301e1780801b5f53f952987a | [
"Apache-2.0"
] | null | null | null | from cloudify import ctx
def configure(azure_config):
ctx.instance.runtime_properties['provider_context'] = {'azure_config': azure_config} | 35 | 85 | 0.814286 | 18 | 140 | 6.055556 | 0.722222 | 0.302752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078571 | 140 | 4 | 85 | 35 | 0.844961 | 0 | 0 | 0 | 0 | 0 | 0.198582 | 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 |
477daae9848c6defb162454e07eaed0c95eb7360 | 49 | py | Python | examples/python/gpu/tensors/ocean_sum_01.py | kant/ocean-tensor-package | fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d | [
"Apache-2.0"
] | 27 | 2018-08-16T21:32:49.000Z | 2021-11-30T10:31:08.000Z | examples/python/gpu/tensors/ocean_sum_01.py | kant/ocean-tensor-package | fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d | [
"Apache-2.0"
] | null | null | null | examples/python/gpu/tensors/ocean_sum_01.py | kant/ocean-tensor-package | fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d | [
"Apache-2.0"
] | 13 | 2018-08-17T17:33:16.000Z | 2021-11-30T10:31:09.000Z | import ocean
print(ocean.sum(ocean.gpu[0]([])))
| 12.25 | 34 | 0.673469 | 8 | 49 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.081633 | 49 | 3 | 35 | 16.333333 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
7bef3ad1cf273851302d62456952128fd9a7109c | 25 | py | Python | __init__.py | zjid/gjpy | a121e2d108939e1ac7b9562225a9bae64de5f1d0 | [
"MIT"
] | null | null | null | __init__.py | zjid/gjpy | a121e2d108939e1ac7b9562225a9bae64de5f1d0 | [
"MIT"
] | null | null | null | __init__.py | zjid/gjpy | a121e2d108939e1ac7b9562225a9bae64de5f1d0 | [
"MIT"
] | null | null | null | from .vision import timpa | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d06845919dc83cde08fdaec0d88de0fdcce08296 | 18,096 | py | Python | keystone/tests/test_scim.py | TampereTC/tre-smartcity-keystone | e2d0adc25165eef102c87d7991fb1a595680fda6 | [
"Apache-2.0"
] | null | null | null | keystone/tests/test_scim.py | TampereTC/tre-smartcity-keystone | e2d0adc25165eef102c87d7991fb1a595680fda6 | [
"Apache-2.0"
] | null | null | null | keystone/tests/test_scim.py | TampereTC/tre-smartcity-keystone | e2d0adc25165eef102c87d7991fb1a595680fda6 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U
#
# 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 unde... | 34.272727 | 109 | 0.560897 | 1,920 | 18,096 | 5.191146 | 0.135417 | 0.034113 | 0.026688 | 0.025283 | 0.788903 | 0.770543 | 0.759506 | 0.727802 | 0.70011 | 0.689576 | 0 | 0.011602 | 0.31891 | 18,096 | 528 | 110 | 34.272727 | 0.797079 | 0.048077 | 0 | 0.707143 | 0 | 0.004762 | 0.166938 | 0.057661 | 0 | 0 | 0 | 0 | 0.02619 | 1 | 0.102381 | false | 0.014286 | 0.016667 | 0.009524 | 0.240476 | 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 |
ef9cadd070b903a1edefc4d5a188a9cb7756010a | 25 | py | Python | loader/__init__.py | edreisMD/BRAX-labeler | 374f5111fa26e69f9fee6302856827c6f8497086 | [
"MIT"
] | 212 | 2019-01-24T01:21:57.000Z | 2022-03-30T02:58:51.000Z | loader/__init__.py | edreisMD/BRAX-labeler | 374f5111fa26e69f9fee6302856827c6f8497086 | [
"MIT"
] | 25 | 2019-01-24T19:49:51.000Z | 2022-03-30T21:21:35.000Z | loader/__init__.py | edreisMD/BRAX-labeler | 374f5111fa26e69f9fee6302856827c6f8497086 | [
"MIT"
] | 67 | 2019-01-24T12:54:27.000Z | 2022-03-15T21:53:59.000Z | from .load import Loader
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 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 |
efde8621f15c0a278513e5ca555325aa97b179bb | 5,609 | py | Python | app/resources/users.py | ernestomedina17/pequeno_cesar | 983b07f10e982c9f2af3ef7c0c795ce03b9e4da5 | [
"MIT"
] | null | null | null | app/resources/users.py | ernestomedina17/pequeno_cesar | 983b07f10e982c9f2af3ef7c0c795ce03b9e4da5 | [
"MIT"
] | null | null | null | app/resources/users.py | ernestomedina17/pequeno_cesar | 983b07f10e982c9f2af3ef7c0c795ce03b9e4da5 | [
"MIT"
] | null | null | null | from flask_jwt_extended import jwt_required, fresh_jwt_required
from flask_restful import Resource, reqparse
from security import admin_required
from werkzeug.security import safe_str_cmp
from models.users import User, Administrator
from metrics import metrics_req_latency, metrics_req_in_progress, metrics_req_count
imp... | 40.644928 | 100 | 0.597611 | 650 | 5,609 | 4.944615 | 0.178462 | 0.065339 | 0.060672 | 0.078407 | 0.749533 | 0.738332 | 0.735843 | 0.735843 | 0.735843 | 0.727131 | 0 | 0.019671 | 0.284008 | 5,609 | 137 | 101 | 40.941606 | 0.780627 | 0.002139 | 0 | 0.692982 | 0 | 0 | 0.134942 | 0.004826 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0.087719 | 0.078947 | 0 | 0.236842 | 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 |
efee3a065d183f4b8661a8aeceac03e5237e7420 | 19,524 | py | Python | sdss_catl_utils/models/tests/test_catl_models.py | vcalderon2009/sdss_catl_utils | 9bfa3ae062112535aca18967fb5896c29173e3b0 | [
"BSD-3-Clause"
] | null | null | null | sdss_catl_utils/models/tests/test_catl_models.py | vcalderon2009/sdss_catl_utils | 9bfa3ae062112535aca18967fb5896c29173e3b0 | [
"BSD-3-Clause"
] | null | null | null | sdss_catl_utils/models/tests/test_catl_models.py | vcalderon2009/sdss_catl_utils | 9bfa3ae062112535aca18967fb5896c29173e3b0 | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Victor Calderon
# Created : 2018-12-28
# Last Modified: 2018-12-28
# Vanderbilt University
from __future__ import absolute_import, division, print_function
__author__ = ['Victor Calderon']
__copyright__ = ["Copyright 2018 Victor Calderon, 2018"]
__email__ ... | 42.722101 | 129 | 0.589736 | 2,472 | 19,524 | 4.518608 | 0.104369 | 0.013429 | 0.0188 | 0.036526 | 0.867592 | 0.853626 | 0.853626 | 0.853626 | 0.848165 | 0.846822 | 0 | 0.025157 | 0.256863 | 19,524 | 457 | 130 | 42.722101 | 0.74471 | 0.586202 | 0 | 0.386364 | 0 | 0 | 0.178444 | 0.004283 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.045455 | false | 0 | 0.037879 | 0 | 0.083333 | 0.007576 | 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 |
ef03c344ccf3a2cc3997f5c2f30f0a380ccdd212 | 92 | py | Python | back/admin/__init__.py | Bash-Air/bashair | 76d07c0cca9323f5089d0c49450470bde887c4ea | [
"MIT"
] | null | null | null | back/admin/__init__.py | Bash-Air/bashair | 76d07c0cca9323f5089d0c49450470bde887c4ea | [
"MIT"
] | null | null | null | back/admin/__init__.py | Bash-Air/bashair | 76d07c0cca9323f5089d0c49450470bde887c4ea | [
"MIT"
] | 1 | 2022-02-14T11:27:50.000Z | 2022-02-14T11:27:50.000Z | from .sensor import *
from .signal import *
from .factory import *
from .community import *
| 18.4 | 24 | 0.73913 | 12 | 92 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 25 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
ef153592260a07911813780f26f795cbe92d1ce2 | 3,913 | py | Python | chainer_chemistry/dataset/graph_dataset/feature_converters.py | pfnet/chainerchem | efe323aa21f63a815130d673781e7cca1ccb72d2 | [
"MIT"
] | 184 | 2019-11-27T12:59:01.000Z | 2022-03-29T19:18:54.000Z | chainer_chemistry/dataset/graph_dataset/feature_converters.py | pfnet/chainerchem | efe323aa21f63a815130d673781e7cca1ccb72d2 | [
"MIT"
] | 21 | 2019-12-08T01:53:33.000Z | 2020-10-23T01:19:56.000Z | chainer_chemistry/dataset/graph_dataset/feature_converters.py | pfnet/chainerchem | efe323aa21f63a815130d673781e7cca1ccb72d2 | [
"MIT"
] | 45 | 2019-11-28T09:59:54.000Z | 2022-02-07T02:42:46.000Z | import numpy
from chainer.dataset.convert import _concat_arrays
def batch_with_padding(name, batch, device=None, pad=0):
"""Batch with padding (increase ndim by 1)
Args:
name (str): propaty name of graph data
batch (list[BaseGraphData]): list of base graph data
device (chainer.backen... | 33.444444 | 78 | 0.653207 | 512 | 3,913 | 4.916016 | 0.150391 | 0.042908 | 0.041716 | 0.045292 | 0.873659 | 0.83234 | 0.789829 | 0.783075 | 0.735399 | 0.735399 | 0 | 0.004764 | 0.248914 | 3,913 | 116 | 79 | 33.732759 | 0.85165 | 0.523384 | 0 | 0.382353 | 0 | 0 | 0.001225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.058824 | 0 | 0.411765 | 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 |
ef26874a9f25ba81b088b24d271db4c312be5586 | 140,200 | py | Python | phanterpwa/interface/graphic.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | 2 | 2019-06-06T10:37:01.000Z | 2021-10-16T03:36:28.000Z | phanterpwa/interface/graphic.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | null | null | null | phanterpwa/interface/graphic.py | PhanterJR/phanterpwa | 6daff40845b3a853cd08d319c4ce148f8deebed7 | [
"MIT"
] | null | null | null | import os
import glob
import json
import sys
import tkinter as tk
import webbrowser
import time
import shutil
import logging
import psutil
import subprocess
from tkinter import (
ttk,
filedialog,
END,
HORIZONTAL,
VERTICAL,
LEFT,
RIGHT,
Scrollbar,
Y,
DISABLED,
FALSE,
TRUE,... | 46.547145 | 134 | 0.56418 | 16,530 | 140,200 | 4.63539 | 0.034241 | 0.029104 | 0.012451 | 0.018089 | 0.877191 | 0.841236 | 0.795649 | 0.762095 | 0.724665 | 0.704084 | 0 | 0.023117 | 0.300835 | 140,200 | 3,011 | 135 | 46.562604 | 0.758567 | 0.215999 | 0 | 0.645463 | 0 | 0 | 0.096912 | 0.0042 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034144 | false | 0.009355 | 0.009355 | 0 | 0.049111 | 0.00608 | 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 |
ef4a72b1380303cc5331aa2d1488152d2cdaa6a7 | 228 | py | Python | src/pause_and_interruption/test_pause_and_interruption.py | 13375P34Ker/speech_analytics | 5c6b5df888546b7e1c37541e267259fa5be07eb2 | [
"MIT"
] | 17 | 2021-01-30T10:53:05.000Z | 2022-02-16T16:24:40.000Z | src/pause_and_interruption/test_pause_and_interruption.py | DinoTheDinosaur/speech_analytics | f9661fe7575121a9262859d3cba91879565eaf70 | [
"MIT"
] | 4 | 2021-02-03T08:35:17.000Z | 2021-02-05T08:39:26.000Z | src/pause_and_interruption/test_pause_and_interruption.py | JI411/speech_analytics | 5c6b5df888546b7e1c37541e267259fa5be07eb2 | [
"MIT"
] | 4 | 2021-01-31T04:08:43.000Z | 2021-08-22T03:09:25.000Z | # from interruption import interruption_detection
# from pause import pause_detection
#
#
#
# interruption_detection('mono.wav', vad_dictionary)
# #returns 4
# pause_detection(vad_dictionary)
# #returns 0.3545859374999 (in sec)
| 22.8 | 52 | 0.789474 | 27 | 228 | 6.444444 | 0.555556 | 0.241379 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074257 | 0.114035 | 228 | 9 | 53 | 25.333333 | 0.787129 | 0.907895 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef5e20bdc0f9322934e6395c6754955dfeb3e09d | 102 | py | Python | evaluate/previous_works/svsyn/supervision/__init__.py | Syniez/Joint_360depth | 4f28c3b5b7f648173480052e205e898c6c7a5151 | [
"MIT"
] | 92 | 2019-09-08T09:55:05.000Z | 2022-02-21T21:29:40.000Z | supervision/__init__.py | zjsprit/SphericalViewSynthesis | fcdec95bf3ad109767d27396434b51cf3aad2b4b | [
"BSD-2-Clause"
] | 4 | 2020-05-12T02:29:36.000Z | 2021-11-26T07:49:43.000Z | supervision/__init__.py | zjsprit/SphericalViewSynthesis | fcdec95bf3ad109767d27396434b51cf3aad2b4b | [
"BSD-2-Clause"
] | 26 | 2019-09-16T02:26:33.000Z | 2021-10-21T03:55:02.000Z | from .splatting import *
from .photometric import *
from .smoothness import *
from .direct import * | 25.5 | 27 | 0.745098 | 12 | 102 | 6.333333 | 0.5 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 4 | 28 | 25.5 | 0.904762 | 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 |
08a58d14f8db0af2785c8675d26348420626f38b | 218 | py | Python | tests/transactions/serializers/test_multi_payment.py | Core-Archive/python-crypto | e0db6e26e6d41de2a9b40bb9459b90ae20343d2f | [
"MIT"
] | 13 | 2018-06-15T06:12:09.000Z | 2021-11-25T04:40:48.000Z | tests/transactions/serializers/test_multi_payment.py | Core-Archive/python-crypto | e0db6e26e6d41de2a9b40bb9459b90ae20343d2f | [
"MIT"
] | 90 | 2018-06-17T14:35:04.000Z | 2021-06-02T16:42:39.000Z | tests/transactions/serializers/test_multi_payment.py | Core-Archive/python-crypto | e0db6e26e6d41de2a9b40bb9459b90ae20343d2f | [
"MIT"
] | 27 | 2018-06-14T17:47:16.000Z | 2022-03-01T12:37:51.000Z | from crypto.transactions.serializer import Serializer
def test_serializer(transaction_type_6):
result = Serializer(transaction_type_6).serialize(False, True)
assert result == transaction_type_6['serialized']
| 31.142857 | 66 | 0.807339 | 26 | 218 | 6.5 | 0.615385 | 0.266272 | 0.284024 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.110092 | 218 | 6 | 67 | 36.333333 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0.045872 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08d80fac080f58232499548503199a28ee1cfe56 | 16 | py | Python | .history/py/main_20201230141147.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/py/main_20201230141147.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/py/main_20201230141147.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | print(5 ** 3 )
| 5.333333 | 14 | 0.4375 | 3 | 16 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.3125 | 16 | 2 | 15 | 8 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
08f992626f6e23ddaa9284dafd3c3fe3f2a3c49c | 46 | py | Python | Exercicios/ex016/teste1.py | Carlos-Allison/Curso_de_HTML5_e_CCS3 | 20f2a639d792cd9e49ff9b54eeb69de44ba418e9 | [
"MIT"
] | null | null | null | Exercicios/ex016/teste1.py | Carlos-Allison/Curso_de_HTML5_e_CCS3 | 20f2a639d792cd9e49ff9b54eeb69de44ba418e9 | [
"MIT"
] | null | null | null | Exercicios/ex016/teste1.py | Carlos-Allison/Curso_de_HTML5_e_CCS3 | 20f2a639d792cd9e49ff9b54eeb69de44ba418e9 | [
"MIT"
] | null | null | null | def carro():
print('oi, mundo do caralho') | 23 | 33 | 0.630435 | 7 | 46 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 2 | 33 | 23 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3e95f23c08cc343315654655630247fc7ffbba3e | 19 | py | Python | shoes.py | silicWulf/shoes | 8d04a1eb974791cac406fc2435cd7d825248f999 | [
"MIT"
] | null | null | null | shoes.py | silicWulf/shoes | 8d04a1eb974791cac406fc2435cd7d825248f999 | [
"MIT"
] | null | null | null | shoes.py | silicWulf/shoes | 8d04a1eb974791cac406fc2435cd7d825248f999 | [
"MIT"
] | null | null | null | from . import shoes | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 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 |
3ed988c71e45226835a62bf999ce49c74070f9de | 7,802 | py | Python | tests/api_resources/test_phone_number.py | rjkboyle/telnyx-python | bee8bdef9efd43076e63693876f7a423f3853180 | [
"MIT"
] | 35 | 2019-07-22T20:44:09.000Z | 2022-02-15T05:52:15.000Z | tests/api_resources/test_phone_number.py | rjkboyle/telnyx-python | bee8bdef9efd43076e63693876f7a423f3853180 | [
"MIT"
] | 15 | 2019-08-05T21:16:41.000Z | 2022-01-14T00:14:35.000Z | tests/api_resources/test_phone_number.py | rjkboyle/telnyx-python | bee8bdef9efd43076e63693876f7a423f3853180 | [
"MIT"
] | 6 | 2019-08-19T17:27:39.000Z | 2022-03-15T18:36:23.000Z | from __future__ import absolute_import, division, print_function
import pytest
import telnyx
from telnyx import error
TEST_RESOURCE_ID = "1293384261075731499"
class TestPhoneNumber(object):
def test_is_listable(self, request_mock):
resources = telnyx.PhoneNumber.list()
request_mock.assert_reque... | 38.058537 | 87 | 0.691105 | 857 | 7,802 | 5.987165 | 0.089848 | 0.094329 | 0.084584 | 0.111479 | 0.836289 | 0.828688 | 0.777431 | 0.762035 | 0.759891 | 0.675112 | 0 | 0.009628 | 0.21456 | 7,802 | 204 | 88 | 38.245098 | 0.827676 | 0 | 0 | 0.54321 | 0 | 0 | 0.090746 | 0.061651 | 0 | 0 | 0 | 0 | 0.283951 | 1 | 0.148148 | false | 0 | 0.024691 | 0 | 0.191358 | 0.006173 | 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 |
3ef5b0fe6ec8101e38449967799f2bfbee06ddff | 3,446 | py | Python | backend/money/views.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/money/views.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/money/views.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | from rest_framework import mixins, generics
from money.models import CurrencyData, Denomination, VAT, AccountingGroup
from money.serializers import CurrencySerializer, DenominationSerializer, VATSerializer, AccountingGroupSerializer
from www.models import swipe_auth
from www.permissions import CURRENCY_LIST
from www.m... | 35.525773 | 114 | 0.675566 | 313 | 3,446 | 7.373802 | 0.185304 | 0.114385 | 0.176776 | 0.109185 | 0.752166 | 0.752166 | 0.752166 | 0.752166 | 0.590988 | 0.590988 | 0 | 0 | 0.224028 | 3,446 | 96 | 115 | 35.895833 | 0.863126 | 0 | 0 | 0.768116 | 0 | 0 | 0.016831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.086957 | 0.173913 | 0.73913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3efb291969bb340ab1249c364e1f3e2f5d190c98 | 5,571 | py | Python | 13/main.py | nate131/aoc-2021 | 52e9b751e5c2ca546a3c504aa89458debb335077 | [
"Apache-2.0"
] | null | null | null | 13/main.py | nate131/aoc-2021 | 52e9b751e5c2ca546a3c504aa89458debb335077 | [
"Apache-2.0"
] | null | null | null | 13/main.py | nate131/aoc-2021 | 52e9b751e5c2ca546a3c504aa89458debb335077 | [
"Apache-2.0"
] | null | null | null | import csv
import os
import time
from tqdm import tqdm
import tabulate
from art import tprint
from colorama import Fore, Style, Back
import copy
import re
def main():
startTime = time.time()
with open(os.path.dirname(os.path.realpath(__file__))+'/input.txt', 'r') as f:
content = f.read().s... | 32.578947 | 107 | 0.455753 | 697 | 5,571 | 3.484935 | 0.149211 | 0.037052 | 0.027172 | 0.059284 | 0.735282 | 0.730753 | 0.730753 | 0.705228 | 0.705228 | 0.699465 | 0 | 0.023873 | 0.398492 | 5,571 | 170 | 108 | 32.770588 | 0.700985 | 0.035721 | 0 | 0.781022 | 0 | 0 | 0.036203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021898 | false | 0 | 0.065693 | 0 | 0.109489 | 0.065693 | 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 |
411d2a22144a4e9bc55d7ad032bfdb81781b2458 | 42 | py | Python | dashboard/inventory/__init__.py | dreampuf/deliverman | 6190e6534646d71387b76ee4954333cbd2b04cf1 | [
"MIT"
] | null | null | null | dashboard/inventory/__init__.py | dreampuf/deliverman | 6190e6534646d71387b76ee4954333cbd2b04cf1 | [
"MIT"
] | null | null | null | dashboard/inventory/__init__.py | dreampuf/deliverman | 6190e6534646d71387b76ee4954333cbd2b04cf1 | [
"MIT"
] | null | null | null | from parser import serialize, deserialize
| 21 | 41 | 0.857143 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5c6d26a6092a2c90419eadd0a5e1ef3710d9880 | 139 | py | Python | rap/server/plugin/processor/limit/backend/__init__.py | so1n/rap | e4e3f4fab9df6190793ec97008bccb669546f207 | [
"Apache-2.0"
] | 3 | 2020-12-24T14:42:49.000Z | 2022-03-23T07:28:58.000Z | rap/server/plugin/processor/limit/backend/__init__.py | so1n/rap | e4e3f4fab9df6190793ec97008bccb669546f207 | [
"Apache-2.0"
] | 1 | 2021-01-20T10:24:49.000Z | 2021-01-30T07:52:47.000Z | rap/server/plugin/processor/limit/backend/__init__.py | so1n/rap | e4e3f4fab9df6190793ec97008bccb669546f207 | [
"Apache-2.0"
] | null | null | null | from .base import BaseLimitBackend
from .redis import BaseRedisBackend, RedisCellBackend, RedisFixedWindowBackend, RedisTokenBucketBackend
| 46.333333 | 103 | 0.884892 | 11 | 139 | 11.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 139 | 2 | 104 | 69.5 | 0.960938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5dd061382291834720ec9bd1e1f8b1342f601ac | 516 | py | Python | Data Structures/Stack/Python/stack.py | msdeibel/Algorithms-4-everyone | 2720cf7eccdaeb12e2698c7fac1a8e53cc054ea5 | [
"WTFPL"
] | null | null | null | Data Structures/Stack/Python/stack.py | msdeibel/Algorithms-4-everyone | 2720cf7eccdaeb12e2698c7fac1a8e53cc054ea5 | [
"WTFPL"
] | null | null | null | Data Structures/Stack/Python/stack.py | msdeibel/Algorithms-4-everyone | 2720cf7eccdaeb12e2698c7fac1a8e53cc054ea5 | [
"WTFPL"
] | 1 | 2019-01-06T22:13:53.000Z | 2019-01-06T22:13:53.000Z | class Stack(object):
def __init__(self):
self.stack_list = []
def __len__(self):
return len(self.stack_list)
def __str__(self):
return str(self.stack_list)
def push(self, item):
self.stack_list.append(item)
return item
def pop(self):
return self.st... | 19.846154 | 42 | 0.593023 | 70 | 516 | 4.085714 | 0.3 | 0.22028 | 0.318182 | 0.167832 | 0.160839 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005479 | 0.292636 | 516 | 25 | 43 | 20.64 | 0.778082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.333333 | 0.888889 | 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 |
eb3294497fcb812a0ab4287971024d177f057b2e | 2,824 | py | Python | fp_pred_group/util/eval_util.py | ndkgit339/filledpause_prediction_group | db511c081f155ec2c23afe82bc44c03c38618590 | [
"MIT"
] | 1 | 2022-02-25T01:03:40.000Z | 2022-02-25T01:03:40.000Z | fp_pred_group/util/eval_util.py | ndkgit339/filledpause_prediction_group | db511c081f155ec2c23afe82bc44c03c38618590 | [
"MIT"
] | null | null | null | fp_pred_group/util/eval_util.py | ndkgit339/filledpause_prediction_group | db511c081f155ec2c23afe82bc44c03c38618590 | [
"MIT"
] | null | null | null | import torch
def calc_score_all(output, target):
"""Calculate precision, recall, f-score, and specificity for fp position.
Params
------
output: torch.Tensor
Output of model, shape of (batch, max_text_len, tagset_size)
target: torch.Tensor
Target, shape of (batch, max_text_len)
... | 31.032967 | 92 | 0.588173 | 401 | 2,824 | 4.002494 | 0.129676 | 0.052336 | 0.074766 | 0.06729 | 0.92648 | 0.894081 | 0.882243 | 0.88162 | 0.809969 | 0.809969 | 0 | 0.011341 | 0.28187 | 2,824 | 90 | 93 | 31.377778 | 0.780079 | 0.355878 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.030303 | 0 | 0.151515 | 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 |
de2a9dc38b777d06fef3eb06b09cc62b14720e54 | 5,785 | py | Python | simulations/lab_edgeset.py | GiliardGodoi/steiner-problem-with-evol | 6b34f0342b791ae6c65b6d016c37a4d45ab5cdad | [
"MIT"
] | null | null | null | simulations/lab_edgeset.py | GiliardGodoi/steiner-problem-with-evol | 6b34f0342b791ae6c65b6d016c37a4d45ab5cdad | [
"MIT"
] | 5 | 2021-01-26T17:28:32.000Z | 2021-03-14T13:46:48.000Z | simulations/lab_edgeset.py | GiliardGodoi/steiner-problem-with-evol | 6b34f0342b791ae6c65b6d016c37a4d45ab5cdad | [
"MIT"
] | 1 | 2021-01-25T16:35:59.000Z | 2021-01-25T16:35:59.000Z | import os
from ga4stpg.edgeset.crossover import CrossoverPrimRST, CrossoverRandomWalkRST, CrossoverKruskalRST
from ga4stpg.edgeset.evaluation import EvaluateEdgeSet
from ga4stpg.edgeset.generate import gen_random_walk
from ga4stpg.edgeset.mutate import MutationReplaceByRandomEdge
from ga4stpg.condition import ... | 37.083333 | 100 | 0.649784 | 555 | 5,785 | 6.583784 | 0.2 | 0.036125 | 0.021346 | 0.047619 | 0.717296 | 0.717296 | 0.717296 | 0.717296 | 0.717296 | 0.700876 | 0 | 0.010748 | 0.24408 | 5,785 | 155 | 101 | 37.322581 | 0.824834 | 0.00484 | 0 | 0.663934 | 1 | 0 | 0.096429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02459 | false | 0 | 0.106557 | 0 | 0.131148 | 0.04918 | 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 |
de5a83cced41ff77d3ed0f15ca85bf28d9151727 | 1,472 | py | Python | doc/src/Chapter8-programs/python/spstatescc.py | cpmoca/LectureNotesPhysics | 8e9f8c5d7f163ea10b14002850f7c79acc4513df | [
"CC0-1.0"
] | 24 | 2016-11-22T09:42:49.000Z | 2022-03-11T01:33:46.000Z | doc/src/Chapter8-programs/python/spstatescc.py | cpmoca/LectureNotesPhysics | 8e9f8c5d7f163ea10b14002850f7c79acc4513df | [
"CC0-1.0"
] | null | null | null | doc/src/Chapter8-programs/python/spstatescc.py | cpmoca/LectureNotesPhysics | 8e9f8c5d7f163ea10b14002850f7c79acc4513df | [
"CC0-1.0"
] | 25 | 2016-05-24T22:54:07.000Z | 2022-02-20T00:08:19.000Z | from numpy import *
nmax =2
nshell = 3*nmax*nmax
count = 1
tzmin = 1
print "Symmetric nuclear matter:"
print "a, nx, ny, nz, sz, tz, nx^2 + ny^2 + nz^2"
for n in range(nshell):
for nx in range(-nmax,nmax+1):
for ny in range(-nmax,nmax+1):
for nz in range(-nmax, nmax+1):
... | 35.047619 | 103 | 0.335598 | 179 | 1,472 | 2.759777 | 0.156425 | 0.15587 | 0.133603 | 0.182186 | 0.834008 | 0.722672 | 0.722672 | 0.6417 | 0.6417 | 0.512146 | 0 | 0.046348 | 0.516304 | 1,472 | 41 | 104 | 35.902439 | 0.647472 | 0 | 0 | 0.648649 | 0 | 0.054054 | 0.141984 | 0.024457 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.027027 | null | null | 0.189189 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
de6b879816e67e5b18c9e46caa6dbf3d3a82c4f4 | 233 | py | Python | sedbot/plots/__init__.py | jonathansick/sedbot | 3114ebb36a8618800b3b556fe1a63372b4b5e054 | [
"BSD-3-Clause"
] | null | null | null | sedbot/plots/__init__.py | jonathansick/sedbot | 3114ebb36a8618800b3b556fe1a63372b4b5e054 | [
"BSD-3-Clause"
] | null | null | null | sedbot/plots/__init__.py | jonathansick/sedbot | 3114ebb36a8618800b3b556fe1a63372b4b5e054 | [
"BSD-3-Clause"
] | null | null | null | from .sedplot import plot_sed_points # NOQA
from .sedplot import plot_sed_error_band # NOQA
from .cornerplot import triangle_plot # NOQA
from .chain import chain_plot # NOQA
from .tools import prep_plot_dir, escape_latex # NOQA
| 38.833333 | 54 | 0.798283 | 36 | 233 | 4.888889 | 0.472222 | 0.181818 | 0.193182 | 0.238636 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154506 | 233 | 5 | 55 | 46.6 | 0.893401 | 0.103004 | 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 |
deb1538c1a0165d709a127b7d97138a4783b8ac5 | 5,478 | py | Python | B2G/gecko/testing/marionette/client/marionette/tests/unit/single_finger_functions.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/testing/marionette/client/marionette/tests/unit/single_finger_functions.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/testing/marionette/client/marionette/tests/unit/single_finger_functions.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | from marionette import Actions
def press_release(marionette, wait_for_condition, expected):
testAction = marionette.absolute_url("testAction.html")
marionette.navigate(testAction)
action = Actions(marionette)
button = marionette.find_element("id", "button1")
action.press(button).release().perform()
... | 53.184466 | 123 | 0.760314 | 638 | 5,478 | 6.34953 | 0.095611 | 0.046655 | 0.10664 | 0.086892 | 0.904221 | 0.897309 | 0.897309 | 0.874846 | 0.871637 | 0.871637 | 0 | 0.015258 | 0.11464 | 5,478 | 102 | 124 | 53.705882 | 0.82 | 0 | 0 | 0.648352 | 0 | 0 | 0.204089 | 0.132165 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120879 | false | 0 | 0.010989 | 0 | 0.131868 | 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 |
deda3ab6d2b704f2456de7b3f7bedc91b2a9a047 | 9,255 | py | Python | chillapi/swagger/schemas.py | andrescevp/chillapi | 1c5f07600748eb65f413ad19f5e67653cce8b787 | [
"Apache-2.0"
] | 2 | 2021-05-05T10:54:34.000Z | 2021-05-05T12:45:18.000Z | chillapi/swagger/schemas.py | andrescevp/chillapi | 1c5f07600748eb65f413ad19f5e67653cce8b787 | [
"Apache-2.0"
] | null | null | null | chillapi/swagger/schemas.py | andrescevp/chillapi | 1c5f07600748eb65f413ad19f5e67653cce8b787 | [
"Apache-2.0"
] | null | null | null | from typing import List
from ..app.swagger_schema import Schema
from ..swagger.utils import get_error_swagger_schema, get_not_found_swagger_schema, get_revisable_response_swagger_schema
revisable_response_swagger_schema = get_revisable_response_swagger_schema()
error_swagger_schema = get_error_swagger_schema()
not_fo... | 36.72619 | 149 | 0.594489 | 914 | 9,255 | 5.736324 | 0.079869 | 0.085829 | 0.13847 | 0.176235 | 0.833492 | 0.797826 | 0.787717 | 0.726302 | 0.695785 | 0.66317 | 0 | 0.011591 | 0.244949 | 9,255 | 251 | 150 | 36.87251 | 0.738695 | 0.082226 | 0 | 0.531646 | 0 | 0 | 0.352856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063291 | false | 0 | 0.018987 | 0 | 0.14557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d016a5bd574b52d228d6747af7772836fe8fb81 | 40 | py | Python | bfdc/__init__.py | aaristov/Bright-field-drift-correction-3D | caadeec7666ba5fa231812493d27209eec528b56 | [
"MIT"
] | 5 | 2018-10-16T13:29:06.000Z | 2019-12-17T16:41:57.000Z | bfdc/__init__.py | imodpasteur/Brightfield_Drift_Tracking_3D | d01dfa272a4e8326d4ac39a0f58bdd9190998836 | [
"MIT"
] | 2 | 2018-11-09T16:28:55.000Z | 2019-02-19T15:22:03.000Z | bfdc/__init__.py | imodpasteur/Brightfield_Drift_Tracking_3D | d01dfa272a4e8326d4ac39a0f58bdd9190998836 | [
"MIT"
] | null | null | null | #import bfdc.iotools
#import bfdc.Drift
| 13.333333 | 20 | 0.8 | 6 | 40 | 5.333333 | 0.666667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 2 | 21 | 20 | 0.888889 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d43a38a709bf793af866c7300588f3832b61a75 | 1,671 | py | Python | tests/test_settings.py | vyahello/alien-invasion | 5b337c32fe486750ebb03382cedbb658a3e9603f | [
"MIT"
] | null | null | null | tests/test_settings.py | vyahello/alien-invasion | 5b337c32fe486750ebb03382cedbb658a3e9603f | [
"MIT"
] | null | null | null | tests/test_settings.py | vyahello/alien-invasion | 5b337c32fe486750ebb03382cedbb658a3e9603f | [
"MIT"
] | 1 | 2020-05-25T20:46:24.000Z | 2020-05-25T20:46:24.000Z | import pytest
from alien_invasion.settings import GameSettings
@pytest.fixture(scope="module")
def setup_settings():
return GameSettings()
def test_screen_width(setup_settings):
assert setup_settings.screen_width == 1200
def test_screen_height(setup_settings):
assert setup_settings.screen_height == 60... | 21.986842 | 57 | 0.790545 | 235 | 1,671 | 5.217021 | 0.2 | 0.371126 | 0.263458 | 0.33279 | 0.56199 | 0.535889 | 0.10522 | 0 | 0 | 0 | 0 | 0.027663 | 0.13465 | 1,671 | 75 | 58 | 22.28 | 0.820194 | 0 | 0 | 0 | 0 | 0 | 0.003591 | 0 | 0 | 0 | 0 | 0 | 0.435897 | 1 | 0.461538 | false | 0 | 0.051282 | 0.025641 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9d4ea5d0cc7e5e6d3b091fca6aa31964b699f4b6 | 69 | py | Python | src/__init__.py | niteshb/common.python.vyAliasBatchScriptGenerator | 4acb2f6cb00418430ca1f227daecc4246b7f7900 | [
"MIT"
] | null | null | null | src/__init__.py | niteshb/common.python.vyAliasBatchScriptGenerator | 4acb2f6cb00418430ca1f227daecc4246b7f7900 | [
"MIT"
] | null | null | null | src/__init__.py | niteshb/common.python.vyAliasBatchScriptGenerator | 4acb2f6cb00418430ca1f227daecc4246b7f7900 | [
"MIT"
] | null | null | null | from .vyAliasBatchScriptGenerator import vyAliasBatchScriptGenerator
| 34.5 | 68 | 0.927536 | 4 | 69 | 16 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 69 | 1 | 69 | 69 | 0.984615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df98d4227b2b5fee7d8b7dc609b4bfdeb534e5c6 | 95 | py | Python | src/Python/Django-web-framework/HelloWorld/HelloWorld/views.py | emanuelporf/Hacktoberfest | acb6899b794712a87117aa55db8dc4b539aed383 | [
"MIT"
] | 1 | 2020-10-30T19:48:06.000Z | 2020-10-30T19:48:06.000Z | src/Python/Django-web-framework/HelloWorld/HelloWorld/views.py | santhoshkrishna770/Hacktoberfest-1 | c2f7b1e34aad0bceda7f3d411455beb3117d56b1 | [
"MIT"
] | null | null | null | src/Python/Django-web-framework/HelloWorld/HelloWorld/views.py | santhoshkrishna770/Hacktoberfest-1 | c2f7b1e34aad0bceda7f3d411455beb3117d56b1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def myname(request):
return render(request, "index.html")
| 23.75 | 37 | 0.789474 | 13 | 95 | 5.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 3 | 38 | 31.666667 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 |
dfbd1f41d599c4b42bb76cea6ce0daf44b5097da | 34,399 | py | Python | hello.py | dhvidalgonzalez/distributed_pi_computing | 7354393b39ac3749b660dd66aac8caf8c962a850 | [
"Apache-2.0"
] | null | null | null | hello.py | dhvidalgonzalez/distributed_pi_computing | 7354393b39ac3749b660dd66aac8caf8c962a850 | [
"Apache-2.0"
] | null | null | null | hello.py | dhvidalgonzalez/distributed_pi_computing | 7354393b39ac3749b660dd66aac8caf8c962a850 | [
"Apache-2.0"
] | null | null | null | from cloudant import Cloudant
from flask import Flask, render_template, request, jsonify
import atexit
import os
import json
from functions import *
from multiprocessing.pool import ThreadPool
import time
import dropbox
app = Flask(__name__, static_url_path='')
db_name = 'mydb'
client = None
db = None
if 'VCAP_SER... | 49.781476 | 277 | 0.678857 | 4,979 | 34,399 | 4.498293 | 0.052018 | 0.097558 | 0.102692 | 0.112962 | 0.887083 | 0.873733 | 0.862526 | 0.862526 | 0.862526 | 0.859222 | 0 | 0.079673 | 0.165528 | 34,399 | 690 | 278 | 49.853623 | 0.700575 | 0.105032 | 0 | 0.571429 | 0 | 0.027027 | 0.316913 | 0.021611 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048263 | false | 0.009653 | 0.017375 | 0.001931 | 0.11583 | 0.042471 | 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 |
dfe53c822ae5d7514e4a0c793f80640d77eb4854 | 439 | py | Python | overwatchpy/errors.py | devakira/overwatch.py | de95a1977ac3406d5474be122b9ad2803d9702e2 | [
"MIT"
] | 1 | 2017-07-28T14:32:46.000Z | 2017-07-28T14:32:46.000Z | overwatchpy/errors.py | devakira/overwatch.py | de95a1977ac3406d5474be122b9ad2803d9702e2 | [
"MIT"
] | 1 | 2021-06-01T21:20:15.000Z | 2021-06-01T21:20:15.000Z | overwatchpy/errors.py | devakira/overwatch.py | de95a1977ac3406d5474be122b9ad2803d9702e2 | [
"MIT"
] | 2 | 2017-07-28T14:32:28.000Z | 2017-09-21T20:17:47.000Z | class errors:
class ClientError:
def __init__(self, code, message):
super(errors.ServerError, self).__init__(message)
self.code = code
self.message = message
class ServerError:
def __init__(self, code, message):
super(errors.ServerError, self).__in... | 31.357143 | 61 | 0.596811 | 43 | 439 | 5.72093 | 0.27907 | 0.130081 | 0.089431 | 0.121951 | 0.764228 | 0.764228 | 0.764228 | 0.764228 | 0.764228 | 0.764228 | 0 | 0 | 0.321185 | 439 | 13 | 62 | 33.769231 | 0.825503 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.076923 | 0 | 0 | 0.461538 | 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 |
5f055b09e1a3eadd77c6a9a8923acc5fd87f68a8 | 1,011 | py | Python | netharn/data/__init__.py | angiemsu/netharn | 728cb40aad299baf62c689430d07b29c67d8cf21 | [
"Apache-2.0"
] | null | null | null | netharn/data/__init__.py | angiemsu/netharn | 728cb40aad299baf62c689430d07b29c67d8cf21 | [
"Apache-2.0"
] | null | null | null | netharn/data/__init__.py | angiemsu/netharn | 728cb40aad299baf62c689430d07b29c67d8cf21 | [
"Apache-2.0"
] | null | null | null | """
mkinit netharn.data
"""
# flake8: noqa
__DYNAMIC__ = False
if __DYNAMIC__:
from mkinit import dynamic_init
exec(dynamic_init(__name__))
else:
# <AUTOGEN_INIT>
from netharn.data import base
from netharn.data import coco_api
from netharn.data import collate
from netharn.data import toydat... | 33.7 | 78 | 0.671612 | 110 | 1,011 | 5.918182 | 0.290909 | 0.202765 | 0.253456 | 0.193548 | 0.116743 | 0.116743 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.228487 | 1,011 | 29 | 79 | 34.862069 | 0.828205 | 0.047478 | 0 | 0 | 1 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f1b1125158fe345518454201c29ac1a7cebf180 | 269 | py | Python | tests/common.py | codacy-badger/json-transform | 1a9b71d41125d7ef2afdef51e0c7b5ee016be2cc | [
"MIT"
] | null | null | null | tests/common.py | codacy-badger/json-transform | 1a9b71d41125d7ef2afdef51e0c7b5ee016be2cc | [
"MIT"
] | null | null | null | tests/common.py | codacy-badger/json-transform | 1a9b71d41125d7ef2afdef51e0c7b5ee016be2cc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from dateutil import tz
def get_new_york_utc_offset():
return datetime.datetime.now(tz.gettz("America/New_York")).strftime("%z")
def get_new_york_utc_offset_as_int():
return int(int(get_new_york_utc_offset()) / 100)
| 20.692308 | 77 | 0.732342 | 43 | 269 | 4.232558 | 0.534884 | 0.153846 | 0.164835 | 0.214286 | 0.346154 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0.017021 | 0.126394 | 269 | 12 | 78 | 22.416667 | 0.757447 | 0.078067 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 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.