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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
65e20594a5bfdc8ba1fec49feca196d11fff2810 | 328 | py | Python | cla_backend/apps/call_centre/tests/api/test_notification_api.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 3 | 2019-10-02T15:31:03.000Z | 2022-01-13T10:15:53.000Z | cla_backend/apps/call_centre/tests/api/test_notification_api.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 206 | 2015-01-02T16:50:11.000Z | 2022-02-16T20:16:05.000Z | cla_backend/apps/call_centre/tests/api/test_notification_api.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 6 | 2015-03-23T23:08:42.000Z | 2022-02-15T17:04:44.000Z | # coding=utf-8
from rest_framework.test import APITestCase
from legalaid.tests.views.test_base import CLAOperatorAuthBaseApiTestMixin
from notifications.tests.views.mixins.notification_api import NotificationAPIMixin
class NotificationApiTestCase(CLAOperatorAuthBaseApiTestMixin, NotificationAPIMixin, APITestCase):
... | 32.8 | 98 | 0.871951 | 32 | 328 | 8.84375 | 0.6875 | 0.070671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003311 | 0.079268 | 328 | 9 | 99 | 36.444444 | 0.933775 | 0.036585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 0 | 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 | 5 |
65e89dd8d5d1f7ccb6c1fbd193e19a709cf38cbc | 165 | py | Python | cosima_cookbook/plots/__init__.py | ScottWales/cosima-cookbook | 0ed83e2165efe5badfca59e2dccf835ab7acecca | [
"Apache-2.0"
] | null | null | null | cosima_cookbook/plots/__init__.py | ScottWales/cosima-cookbook | 0ed83e2165efe5badfca59e2dccf835ab7acecca | [
"Apache-2.0"
] | null | null | null | cosima_cookbook/plots/__init__.py | ScottWales/cosima-cookbook | 0ed83e2165efe5badfca59e2dccf835ab7acecca | [
"Apache-2.0"
] | 1 | 2020-01-30T05:36:08.000Z | 2020-01-30T05:36:08.000Z | from . lineplots import *
from . overturning import *
from . maps import sea_surface_temperature, sea_surface_salinity, mixed_layer_depth
#__all__ = ['wind_stress'] | 33 | 83 | 0.8 | 21 | 165 | 5.761905 | 0.714286 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 165 | 5 | 84 | 33 | 0.834483 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
02af7e566f96e67743db502a0bced038519176be | 51 | py | Python | meld/plugins/move/__init__.py | dersal-dev/meld | bb746e8c5a2eec9f0aff5fbbfd698c6d43fa8e93 | [
"MIT"
] | null | null | null | meld/plugins/move/__init__.py | dersal-dev/meld | bb746e8c5a2eec9f0aff5fbbfd698c6d43fa8e93 | [
"MIT"
] | null | null | null | meld/plugins/move/__init__.py | dersal-dev/meld | bb746e8c5a2eec9f0aff5fbbfd698c6d43fa8e93 | [
"MIT"
] | null | null | null | from .main import main
from .cli import move as cli | 25.5 | 28 | 0.784314 | 10 | 51 | 4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 51 | 2 | 28 | 25.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
f30b1d8c9514d398e811061f1fd55e741cf3e7b4 | 55 | py | Python | brainframe_qt/ui/main_window/video_thumbnail_view/widgets/thumbnail_grid_layout/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 17 | 2021-02-11T18:19:22.000Z | 2022-02-08T06:12:50.000Z | brainframe_qt/ui/main_window/video_thumbnail_view/widgets/thumbnail_grid_layout/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 80 | 2021-02-11T08:27:31.000Z | 2021-10-13T21:33:22.000Z | brainframe_qt/ui/main_window/video_thumbnail_view/widgets/thumbnail_grid_layout/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 5 | 2021-02-12T09:51:34.000Z | 2022-02-08T09:25:15.000Z | from .thumbnail_grid_layout import ThumbnailGridLayout
| 27.5 | 54 | 0.909091 | 6 | 55 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
f3188cca70b2c9aa620ad2828381d5e896741209 | 165 | py | Python | tests/web_platform/css_grid_1/grid_model/test_grid_display_inline_grid.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_grid_1/grid_model/test_grid_display_inline_grid.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_grid_1/grid_model/test_grid_display_inline_grid.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestGridDisplayInlineGrid(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'grid-display-inline-grid-'))
| 27.5 | 80 | 0.8 | 18 | 165 | 7.055556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.084848 | 165 | 5 | 81 | 33 | 0.821192 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 0.152439 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b83770457231cb99d7834e03aa40df288cfe1ccf | 10,756 | py | Python | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/chardet/escsm.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 548 | 2020-09-20T10:31:50.000Z | 2022-03-31T06:18:04.000Z | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/chardet/escsm.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 55 | 2020-09-07T02:12:51.000Z | 2022-03-23T02:37:42.000Z | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/chardet/escsm.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 239 | 2021-01-28T02:59:53.000Z | 2022-03-29T08:02:17.000Z | ######################## BEGIN LICENSE BLOCK ########################
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998
# the Initial Developer. All Rights Reserved.
... | 43.546559 | 166 | 0.623931 | 2,143 | 10,756 | 3.080261 | 0.09706 | 0.131798 | 0.163157 | 0.171489 | 0.781245 | 0.770641 | 0.727617 | 0.711862 | 0.683987 | 0.666566 | 0 | 0.187365 | 0.180271 | 10,756 | 246 | 167 | 43.723577 | 0.561302 | 0.205188 | 0 | 0.636816 | 0 | 0 | 0.038768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004975 | 0 | 0.004975 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 | 5 |
b84b8be2aa9e57b7303382e8aa9533a2260e57d7 | 29 | py | Python | pipeline/dataLoader.py | esslushy/MachineLearningPipeline | 7e7f6aea741a01b80bcbd26b9581a00621d12778 | [
"MIT"
] | null | null | null | pipeline/dataLoader.py | esslushy/MachineLearningPipeline | 7e7f6aea741a01b80bcbd26b9581a00621d12778 | [
"MIT"
] | null | null | null | pipeline/dataLoader.py | esslushy/MachineLearningPipeline | 7e7f6aea741a01b80bcbd26b9581a00621d12778 | [
"MIT"
] | null | null | null |
class DataLoader():
pass | 9.666667 | 19 | 0.655172 | 3 | 29 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 3 | 20 | 9.666667 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b85b38a709e5d9181b30a56d3c645a1cfa22ff47 | 2,510 | py | Python | utilities/utilities.py | siddhi47/airflow_dag_template | c4b13fe76823d0790e16d03c24a2355a3ff00a66 | [
"Apache-2.0"
] | null | null | null | utilities/utilities.py | siddhi47/airflow_dag_template | c4b13fe76823d0790e16d03c24a2355a3ff00a66 | [
"Apache-2.0"
] | null | null | null | utilities/utilities.py | siddhi47/airflow_dag_template | c4b13fe76823d0790e16d03c24a2355a3ff00a66 | [
"Apache-2.0"
] | null | null | null | # importing default modules
import os
import shutil
# importing airflow modules
from airflow.utils.email import send_email
def get_log_location(contextDict):
'''
Getting the log location after archiving the logs.
Params:
contextDict : context dictionery from airflow
'''
log_folder = contextDict['t... | 25.612245 | 101 | 0.64741 | 318 | 2,510 | 4.981132 | 0.248428 | 0.045455 | 0.044192 | 0.078914 | 0.729167 | 0.729167 | 0.700758 | 0.700758 | 0.676768 | 0.676768 | 0 | 0.004569 | 0.215139 | 2,510 | 97 | 102 | 25.876289 | 0.799492 | 0.211155 | 0 | 0.724138 | 0 | 0 | 0.228398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0.017241 | 0.051724 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b86ffabbff6b6b9933e6939d9de4ae4f6b334042 | 10,450 | py | Python | forecasting/forecast.py | vbyravarasu/Real-Time-Stock-Market-Prediction-using-Ensemble-DL-and-Rainbow-DQN | 4ed7fc2a3995c33cf7b009810c73d01223ea85e4 | [
"MIT"
] | 68 | 2020-05-02T14:53:41.000Z | 2022-03-30T12:06:21.000Z | forecasting/forecast.py | webclinic017/Real-Time-Stock-Market-Prediction-using-Ensemble-DL-and-Rainbow-DQN | 4ed7fc2a3995c33cf7b009810c73d01223ea85e4 | [
"MIT"
] | 6 | 2020-05-03T18:02:32.000Z | 2022-02-10T01:27:22.000Z | forecasting/forecast.py | webclinic017/Real-Time-Stock-Market-Prediction-using-Ensemble-DL-and-Rainbow-DQN | 4ed7fc2a3995c33cf7b009810c73d01223ea85e4 | [
"MIT"
] | 19 | 2020-06-18T10:09:44.000Z | 2022-03-25T01:41:09.000Z | """
Model and Forecast function
The LSTM,GRU model and forecast function implementation.
Copyright (c) 2018 HUSEIN ZOLKEPLI(huseinzol05)
Licensed under the Apache License Version 2.0 (see LICENSE for details)
Written by HUSEIN ZOLKEPLI
"""
from sklearn.preprocessing import MinMaxScaler
import tensorflow as tf
import p... | 34.375 | 108 | 0.636651 | 1,433 | 10,450 | 4.407537 | 0.145848 | 0.035465 | 0.037999 | 0.028816 | 0.796865 | 0.785307 | 0.785307 | 0.785307 | 0.785307 | 0.785307 | 0 | 0.019918 | 0.226507 | 10,450 | 304 | 109 | 34.375 | 0.761475 | 0.047177 | 0 | 0.682927 | 0 | 0 | 0.004558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036585 | false | 0 | 0.02439 | 0.00813 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b87fb46bcdbf04f77ff3298f6080d8bb9217b09a | 387 | py | Python | stopwatch.py | Igloogloo/Stopwatch | 800b7f6d469dd8e0c32e7e095ab89ace3adc758e | [
"MIT"
] | null | null | null | stopwatch.py | Igloogloo/Stopwatch | 800b7f6d469dd8e0c32e7e095ab89ace3adc758e | [
"MIT"
] | null | null | null | stopwatch.py | Igloogloo/Stopwatch | 800b7f6d469dd8e0c32e7e095ab89ace3adc758e | [
"MIT"
] | null | null | null | import time
class Stopwatch():
def __init__(self):
self.start_time = None
def start(self):
self.start_time = time.time()
def duration(self):
if self.start_time is None:
print("Call start() before duration.")
return 0
return time.time() - self.start_... | 21.5 | 50 | 0.586563 | 49 | 387 | 4.44898 | 0.367347 | 0.206422 | 0.298165 | 0.233945 | 0.229358 | 0.229358 | 0 | 0 | 0 | 0 | 0 | 0.003731 | 0.307494 | 387 | 17 | 51 | 22.764706 | 0.809701 | 0 | 0 | 0.153846 | 0 | 0 | 0.074935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.615385 | 0.076923 | 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 | 0 | 1 | 0 | 0 | 5 |
b89a70933a173154f2830baf9e62f1cc08549787 | 400 | py | Python | ejercicios_varios/catalogo_peliculas/dominio/Pelicula.py | JuanDuran85/ejemplos_python | 47aa49c65384ab89654f362f3da6cd2b0ef386e5 | [
"Apache-2.0"
] | null | null | null | ejercicios_varios/catalogo_peliculas/dominio/Pelicula.py | JuanDuran85/ejemplos_python | 47aa49c65384ab89654f362f3da6cd2b0ef386e5 | [
"Apache-2.0"
] | null | null | null | ejercicios_varios/catalogo_peliculas/dominio/Pelicula.py | JuanDuran85/ejemplos_python | 47aa49c65384ab89654f362f3da6cd2b0ef386e5 | [
"Apache-2.0"
] | null | null | null | class Pelicula:
def __init__(self, nombre):
self.__nombre = nombre
@property
def nombre(self):
return self.__nombre
@nombre.setter
def nombre(self, nombre):
self.__nombre = nombre
def __str__(self):
return "Pelicula: {}".format(self.__nombre)
if __name... | 22.222222 | 51 | 0.61 | 45 | 400 | 4.888889 | 0.466667 | 0.272727 | 0.218182 | 0.181818 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 400 | 18 | 52 | 22.222222 | 0.763889 | 0 | 0 | 0.142857 | 0 | 0 | 0.107232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.5 | 0.071429 | 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 | 0 | 0 | 0 | 5 |
b21d8828113b7b99a5955225ef98a3a424280221 | 37 | py | Python | test.py | arhue/technofaq-example | 1c6ddc7c86df8731064aec42e70a23abc6ffae86 | [
"MIT"
] | null | null | null | test.py | arhue/technofaq-example | 1c6ddc7c86df8731064aec42e70a23abc6ffae86 | [
"MIT"
] | null | null | null | test.py | arhue/technofaq-example | 1c6ddc7c86df8731064aec42e70a23abc6ffae86 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
print("Test")
| 9.25 | 21 | 0.648649 | 6 | 37 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 3 | 22 | 12.333333 | 0.727273 | 0.540541 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b21ead567bfe45e6ac32a69630337401fda4a80d | 6,886 | py | Python | fuzzytrees/fdts.py | ZhaoqingLiu/FuzzyTrees | 6350987606588197b44847414a3d01fa460a1ed1 | [
"MIT"
] | 17 | 2021-07-01T12:38:21.000Z | 2022-02-03T08:56:09.000Z | fuzzytrees/fdts.py | ZhaoqingLiu/FuzzyTrees | 6350987606588197b44847414a3d01fa460a1ed1 | [
"MIT"
] | 1 | 2022-02-10T00:50:20.000Z | 2022-02-10T00:51:09.000Z | fuzzytrees/fdts.py | ZhaoqingLiu/FuzzyTrees | 6350987606588197b44847414a3d01fa460a1ed1 | [
"MIT"
] | 2 | 2021-07-01T22:21:33.000Z | 2022-01-24T05:13:07.000Z | """
@author : Zhaoqing Liu
@email : Zhaoqing.Liu-1@student.uts.edu.au
"""
from fuzzytrees.fdt_base import BaseFuzzyDecisionTree, DecisionTreeInterface, CRITERIA_FUNC_CLF, CRITERIA_FUNC_REG
from fuzzytrees.util_tree_criterion_funcs import calculate_impurity_gain, calculate_value_by_majority_vote, \
calculate_varian... | 52.166667 | 121 | 0.720593 | 853 | 6,886 | 5.488863 | 0.169988 | 0.030756 | 0.023067 | 0.056386 | 0.791969 | 0.774883 | 0.774883 | 0.774883 | 0.774883 | 0.774883 | 0 | 0.005792 | 0.197647 | 6,886 | 131 | 122 | 52.564886 | 0.841629 | 0.409527 | 0 | 0.659091 | 0 | 0 | 0.008512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.068182 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b23a09f1c96514e1cade28c98814643608e793c0 | 8,762 | py | Python | api/tests/opentrons/protocol_runner/smoke_tests/test_protocol_runner.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | api/tests/opentrons/protocol_runner/smoke_tests/test_protocol_runner.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | api/tests/opentrons/protocol_runner/smoke_tests/test_protocol_runner.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | """Smoke tests for the ProtocolRunner and ProtocolEngine classes.
These tests construct a ProtocolRunner with a real ProtocolEngine
hooked to a simulating HardwareAPI.
Minimal, but valid and complete, protocol files are then loaded from
disk into the runner, and the protocols are run to completion. From
there, the Pr... | 32.451852 | 86 | 0.705433 | 968 | 8,762 | 6.184917 | 0.169421 | 0.040421 | 0.038083 | 0.030733 | 0.799399 | 0.779856 | 0.779856 | 0.779856 | 0.779856 | 0.77234 | 0 | 0.014582 | 0.217302 | 8,762 | 269 | 87 | 32.572491 | 0.858414 | 0.114243 | 0 | 0.687805 | 0 | 0 | 0.047422 | 0.034102 | 0 | 0 | 0 | 0.003717 | 0.063415 | 1 | 0 | false | 0 | 0.034146 | 0 | 0.034146 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b25f2f767a54bc1827033f95b2f161153ffdb0d6 | 262 | py | Python | photoStore/Store/views.py | j-ahn94/JPhotoStore | 308c018b6e1163e7d00d1e5df9fc84d7157f85c1 | [
"MIT"
] | null | null | null | photoStore/Store/views.py | j-ahn94/JPhotoStore | 308c018b6e1163e7d00d1e5df9fc84d7157f85c1 | [
"MIT"
] | null | null | null | photoStore/Store/views.py | j-ahn94/JPhotoStore | 308c018b6e1163e7d00d1e5df9fc84d7157f85c1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from .models import photo
def store_view(request):
photos = {'Photos' : photo.objects.all()}
return render(request, 'Store\index.html', photos)
def cart_view(request):
return render(request, 'Store\cart.html') | 21.833333 | 54 | 0.721374 | 35 | 262 | 5.342857 | 0.514286 | 0.117647 | 0.203209 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 262 | 12 | 55 | 21.833333 | 0.842342 | 0 | 0 | 0 | 0 | 0 | 0.140684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b26eac556613cedd63fbccb0202018bf0aa40819 | 75 | py | Python | src/imgSpider/parse.py | supheart/python-spider | 97b259c1de5b9409d4f9cec8a224bd1f5f4b7dd2 | [
"MIT"
] | null | null | null | src/imgSpider/parse.py | supheart/python-spider | 97b259c1de5b9409d4f9cec8a224bd1f5f4b7dd2 | [
"MIT"
] | null | null | null | src/imgSpider/parse.py | supheart/python-spider | 97b259c1de5b9409d4f9cec8a224bd1f5f4b7dd2 | [
"MIT"
] | null | null | null | # coding: utf-8
class Parser(object):
def __init__(self):
pass | 15 | 23 | 0.613333 | 10 | 75 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.266667 | 75 | 5 | 24 | 15 | 0.745455 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a22a35d1b7d5ef3f89d1432eb18e85ec67991b5c | 560 | py | Python | tsengine/__init__.py | ccccxjin/TsEngine | 5f8deed436eb9756be40f78a7bf52be9e910b501 | [
"MIT"
] | 1 | 2020-07-10T09:11:38.000Z | 2020-07-10T09:11:38.000Z | tsengine/__init__.py | ccccxjin/tsengine | 5f8deed436eb9756be40f78a7bf52be9e910b501 | [
"MIT"
] | null | null | null | tsengine/__init__.py | ccccxjin/tsengine | 5f8deed436eb9756be40f78a7bf52be9e910b501 | [
"MIT"
] | null | null | null | from .engine import TsEngine
from .exc import InvalidOperationError
from .mapping import BigInt
from .mapping import Binary
from .mapping import Bool
from .mapping import Double
from .mapping import Field
from .mapping import Float
from .mapping import Int
from .mapping import Model
from .mapping import NChar
from .map... | 26.666667 | 38 | 0.821429 | 80 | 560 | 5.725 | 0.3375 | 0.28821 | 0.445415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 560 | 20 | 39 | 28 | 0.954167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
a2b33d0e7266d819d8ecdd2bfe249a58c8bd4501 | 29 | py | Python | python/testData/refactoring/changeSignature/multipleSingleStarredParameters.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/changeSignature/multipleSingleStarredParameters.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/changeSignature/multipleSingleStarredParameters.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(foo, *bar):
pass | 14.5 | 20 | 0.586207 | 5 | 29 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 21 | 14.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0c069f99697b8f3d281b7963c9ccd7ee2df583b1 | 14 | py | Python | python/testData/highlighting/stringBytesLiteralOK.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/highlighting/stringBytesLiteralOK.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/highlighting/stringBytesLiteralOK.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | print(b'foo')
| 7 | 13 | 0.642857 | 3 | 14 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 14 | 1 | 14 | 14 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0c0d638f02b0649470735d3cf10fc7a1853a348c | 248 | py | Python | wpy/shell/errors.py | wxnacy/wpy | 575def7e0653e92658df1aaeea71e381ac5de533 | [
"MIT"
] | null | null | null | wpy/shell/errors.py | wxnacy/wpy | 575def7e0653e92658df1aaeea71e381ac5de533 | [
"MIT"
] | null | null | null | wpy/shell/errors.py | wxnacy/wpy | 575def7e0653e92658df1aaeea71e381ac5de533 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author: wxnacy@gmail.com
"""
"""
class ContinueError(Exception):
pass
class BreakError(Exception):
pass
class ExitError(Exception):
pass
class CommnadNotFoundError(Exception):
pass
| 13.777778 | 38 | 0.681452 | 27 | 248 | 6.259259 | 0.666667 | 0.307692 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.173387 | 248 | 17 | 39 | 14.588235 | 0.819512 | 0.266129 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0c1212791e24bcab32490c7760e04aa450c3ded4 | 12,152 | py | Python | dynamic_scraper/south_migrations/0001_initial.py | Sonatrix/django-dynamic-scraper | e9837c5d5c2c3f8c7f6b05ed01dfaf20aca4f79a | [
"BSD-3-Clause"
] | 1 | 2020-05-09T22:39:56.000Z | 2020-05-09T22:39:56.000Z | dynamic_scraper/south_migrations/0001_initial.py | Sonatrix/django-dynamic-scraper | e9837c5d5c2c3f8c7f6b05ed01dfaf20aca4f79a | [
"BSD-3-Clause"
] | 8 | 2020-06-05T20:50:45.000Z | 2022-03-11T23:47:00.000Z | dynamic_scraper/south_migrations/0001_initial.py | Sonatrix/django-dynamic-scraper | e9837c5d5c2c3f8c7f6b05ed01dfaf20aca4f79a | [
"BSD-3-Clause"
] | 2 | 2021-03-25T09:57:04.000Z | 2021-03-26T04:48:40.000Z | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ScrapedObjClass'
db.create_table('dynamic_scraper_scrapedobjclass', (
('id', s... | 69.44 | 243 | 0.620227 | 1,384 | 12,152 | 5.262283 | 0.088873 | 0.099959 | 0.173006 | 0.247151 | 0.807085 | 0.758204 | 0.741865 | 0.702183 | 0.681175 | 0.588356 | 0 | 0.014963 | 0.175033 | 12,152 | 174 | 244 | 69.83908 | 0.711521 | 0.028884 | 0 | 0.197183 | 0 | 0.014085 | 0.536269 | 0.37482 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.028169 | 0 | 0.06338 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0c17d959397bd02b486cbfd61f976e7f392f56d0 | 234 | py | Python | jupyterlab2pymolpysnips/Programming/renumResi.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/Programming/renumResi.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/Programming/renumResi.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | """
cmd.do('alter ${1:3fa0}, resi=str(int(resi)+${2:100});sort;')
"""
cmd.do('alter 3fa0, resi=str(int(resi)+100);sort;')
# Description: Add or substract a residue number offset.
# Source: https://www.pymolwiki.org/index.php/Sync
| 26 | 61 | 0.662393 | 38 | 234 | 4.078947 | 0.710526 | 0.064516 | 0.129032 | 0.180645 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.102564 | 234 | 8 | 62 | 29.25 | 0.680952 | 0.717949 | 0 | 0 | 0 | 0 | 0.732143 | 0.517857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0c2cb859ca17d8cc44c8af68633b8c310dc987c7 | 160 | py | Python | Non-Trackable Content/Python/Exception Handling Basics/#1 - A big no-no/script.py | rhyep/Python_tutorials | f5c8a64b91802b005dfe7dd9035f8d8daae8c3e3 | [
"MIT"
] | 1 | 2017-05-23T08:39:58.000Z | 2017-05-23T08:39:58.000Z | Non-Trackable Content/Python/Exception Handling Basics/#1 - A big no-no/script.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | null | null | null | Non-Trackable Content/Python/Exception Handling Basics/#1 - A big no-no/script.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | null | null | null | numerator = 32
denominator = 1
print numerator / denominator #dividing by zero, big no-no
#all code below this won't get executed
print "won't get executed"
| 20 | 59 | 0.75 | 26 | 160 | 4.615385 | 0.692308 | 0.066667 | 0.116667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.18125 | 160 | 7 | 60 | 22.857143 | 0.89313 | 0.40625 | 0 | 0 | 0 | 0 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a74a3ef5232cbd9ee84d3de21dbb93a39f180f8b | 38 | py | Python | app/reset.py | daaguirr/Recycle-App | dc0a3a5c750dba8d1802884eb3fa10e217c33ec0 | [
"MIT"
] | null | null | null | app/reset.py | daaguirr/Recycle-App | dc0a3a5c750dba8d1802884eb3fa10e217c33ec0 | [
"MIT"
] | null | null | null | app/reset.py | daaguirr/Recycle-App | dc0a3a5c750dba8d1802884eb3fa10e217c33ec0 | [
"MIT"
] | null | null | null | from app.db_admin import reset
reset() | 19 | 30 | 0.815789 | 7 | 38 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 2 | 31 | 19 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 0 | 0 | 5 |
a773fe06738daa4d6c405cc47b985e8418303859 | 1,295 | py | Python | Ene-Jun-2020/bucio-montes-hector-daniel/PrimerParcial/Ejercicio4/1P_Ejercicio4.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ene-Jun-2020/bucio-montes-hector-daniel/PrimerParcial/Ejercicio4/1P_Ejercicio4.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ene-Jun-2020/bucio-montes-hector-daniel/PrimerParcial/Ejercicio4/1P_Ejercicio4.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | class Animal:
def __init__(self, nombre: str):
self.nombre = nombre
def get_nombre(self) -> str:
pass
def hacer_sonido(self):
pass
animales = {
Animal('león'),
Animal('ratón'),
Animal('Vaca')
}
class Leon(Animal):
def hacer_sonido(self):
return 'Roar'
... | 26.428571 | 121 | 0.699614 | 189 | 1,295 | 4.703704 | 0.47619 | 0.098988 | 0.062992 | 0.08099 | 0.101237 | 0.101237 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222394 | 1,295 | 49 | 122 | 26.428571 | 0.88282 | 0 | 0 | 0.24 | 0 | 0 | 0.045075 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 1 | 0.28 | false | 0.08 | 0 | 0.12 | 0.56 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
a77584fd4a75d4fe8c2971e0f891ce53926932f0 | 101 | py | Python | conf_testing/lib/HABAppTests/test_rule/test_case/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 44 | 2018-12-13T08:46:44.000Z | 2022-03-07T03:23:21.000Z | conf_testing/lib/HABAppTests/test_rule/test_case/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 156 | 2019-03-02T20:53:31.000Z | 2022-03-23T13:13:58.000Z | conf_testing/lib/HABAppTests/test_rule/test_case/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 18 | 2019-03-08T07:13:21.000Z | 2022-03-22T19:52:31.000Z | from .test_result import TestResultStatus, TestResult
# isort: split
from .test_case import TestCase
| 25.25 | 53 | 0.831683 | 13 | 101 | 6.307692 | 0.769231 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 54 | 33.666667 | 0.921348 | 0.118812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
a7a99fe46b781d16bbc3cc077445205bc40c2562 | 139 | py | Python | tests/proxy_model_inheritance/app1/models.py | shinshin86/django | 5cc81cd9eb69f5f7a711412c02039b435c393135 | [
"PSF-2.0",
"BSD-3-Clause"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | tests/proxy_model_inheritance/app1/models.py | Blaahborgh/django | c591bc3ccece1514d6b419826c7fa36ada9d9213 | [
"PSF-2.0",
"BSD-3-Clause"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | tests/proxy_model_inheritance/app1/models.py | Blaahborgh/django | c591bc3ccece1514d6b419826c7fa36ada9d9213 | [
"PSF-2.0",
"BSD-3-Clause"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | # TODO: why can't I make this ..app2
from app2.models import NiceModel
class ProxyModel(NiceModel):
class Meta:
proxy = True
| 17.375 | 36 | 0.683453 | 20 | 139 | 4.75 | 0.85 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.23741 | 139 | 7 | 37 | 19.857143 | 0.877358 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a7d98db7e54c8822d549d20a268bb605afc1e8c9 | 154 | py | Python | fileenc_openssl/__init__.py | mverleg/fileenc_openssl | e1fd0574760729d6c6678f720a554090261f1bdc | [
"BSD-3-Clause"
] | 2 | 2018-01-05T10:42:57.000Z | 2020-01-12T17:18:43.000Z | fileenc_openssl/__init__.py | mverleg/fileenc_openssl | e1fd0574760729d6c6678f720a554090261f1bdc | [
"BSD-3-Clause"
] | 4 | 2016-04-15T16:03:14.000Z | 2016-09-07T09:33:12.000Z | fileenc_openssl/__init__.py | mverleg/fileenc_openssl | e1fd0574760729d6c6678f720a554090261f1bdc | [
"BSD-3-Clause"
] | null | null | null |
from .enc_dec import stretch_key, encrypt_file, decrypt_file
from .misc import file_hash, shred_file, overwrite_file
from .commands import handle_cmds
| 22 | 60 | 0.831169 | 24 | 154 | 5 | 0.666667 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123377 | 154 | 6 | 61 | 25.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
38ebd9c131b845db6d3e41a854cdf6e29b6c701e | 4,480 | py | Python | kartverket_tide_api/tests/Testparsers.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/tests/Testparsers.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/tests/Testparsers.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | import unittest
from kartverket_tide_api.parsers import LocationDataParser
from kartverket_tide_api.tideobjects import WaterLevel
from kartverket_tide_api.exceptions import NoTideDataErrorException
from kartverket_tide_api.exceptions import CannotFindElementException
class TestParsers(unittest.TestCase):
location... | 50.909091 | 284 | 0.711607 | 678 | 4,480 | 4.603245 | 0.238938 | 0.115348 | 0.046139 | 0.076898 | 0.775713 | 0.768664 | 0.689843 | 0.654918 | 0.654918 | 0.624159 | 0 | 0.147134 | 0.127679 | 4,480 | 87 | 285 | 51.494253 | 0.651484 | 0.004464 | 0 | 0.56 | 0 | 0.373333 | 0.684836 | 0.195603 | 0 | 0 | 0 | 0.011494 | 0.066667 | 1 | 0.053333 | false | 0 | 0.066667 | 0 | 0.186667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
38efe8c94e3b5f924476b0b035a12911947b958c | 119 | py | Python | TDO/experiments/__init__.py | lgi2p/TDSelection | bd695d19e991cc852c00b73aa874406c9d37c391 | [
"MIT"
] | null | null | null | TDO/experiments/__init__.py | lgi2p/TDSelection | bd695d19e991cc852c00b73aa874406c9d37c391 | [
"MIT"
] | null | null | null | TDO/experiments/__init__.py | lgi2p/TDSelection | bd695d19e991cc852c00b73aa874406c9d37c391 | [
"MIT"
] | null | null | null | import os
import sys
cwd = os.getcwd()
index_tdo = cwd.index("TDO")
cwd = cwd[:index_tdo]
sys.path.append(cwd)
| 14.875 | 29 | 0.663866 | 20 | 119 | 3.85 | 0.45 | 0.311688 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 119 | 7 | 30 | 17 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ac1216478494016f8dd021e955b611315a28e9e3 | 426 | py | Python | src/dataToCode/languages/ToJava/fileNameToJava.py | CoffeeOverflow/drawtocode | 718ab54bb6a35eb471571e1d1b7990dc08e2ca35 | [
"MIT"
] | 9 | 2019-12-18T06:22:19.000Z | 2022-01-09T11:47:31.000Z | src/dataToCode/languages/ToJava/fileNameToJava.py | CoffeeOverflow/drawtocode | 718ab54bb6a35eb471571e1d1b7990dc08e2ca35 | [
"MIT"
] | 42 | 2019-11-06T17:46:36.000Z | 2019-12-18T04:08:48.000Z | src/dataToCode/languages/ToJava/fileNameToJava.py | CoffeeOverflow/drawtocode | 718ab54bb6a35eb471571e1d1b7990dc08e2ca35 | [
"MIT"
] | 1 | 2020-02-04T03:50:23.000Z | 2020-02-04T03:50:23.000Z | from src.dataToCode.languages.fileNameToCode import FileNameToCode
from src.dataToCode.dataClasses.classData import ClassData
from src.dataToCode.dataClasses.interface import Interface
from typing import Union
class FileNameToJava(FileNameToCode):
def __init__(self, object_data: Union[ClassData, Interface]):
... | 30.428571 | 66 | 0.779343 | 52 | 426 | 6.230769 | 0.480769 | 0.064815 | 0.157407 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 426 | 13 | 67 | 32.769231 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0.037559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0.111111 | 0.888889 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
ac3fd60954cb70a29c6aa0e4c73d228e6ac6e8d4 | 26 | py | Python | saau/sections/income/median-household.py | Mause/statistical_atlas_of_au | 9a1e46cdb1075f993086640827dabb0f4df4fd17 | [
"MIT"
] | null | null | null | saau/sections/income/median-household.py | Mause/statistical_atlas_of_au | 9a1e46cdb1075f993086640827dabb0f4df4fd17 | [
"MIT"
] | null | null | null | saau/sections/income/median-household.py | Mause/statistical_atlas_of_au | 9a1e46cdb1075f993086640827dabb0f4df4fd17 | [
"MIT"
] | null | null | null | # income-median-household
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.875 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ac51b7f11384e865fa77622b4eb68eba4de281b3 | 3,583 | py | Python | systembridge/objects/system.py | bdraco/system-bridge-connector-py | fba1c74217c706501fafe0185f05430e2240590a | [
"MIT"
] | null | null | null | systembridge/objects/system.py | bdraco/system-bridge-connector-py | fba1c74217c706501fafe0185f05430e2240590a | [
"MIT"
] | 10 | 2021-06-06T00:34:47.000Z | 2022-01-06T08:01:18.000Z | systembridge/objects/system.py | bdraco/system-bridge-connector-py | fba1c74217c706501fafe0185f05430e2240590a | [
"MIT"
] | 2 | 2021-04-13T21:10:40.000Z | 2021-11-04T16:27:29.000Z | """
Class object for System
Documentation: https://system-bridge.timmo.dev
"""
from __future__ import annotations
from .base import BridgeBase
class Baseboard(BridgeBase):
@property
def manufacturer(self) -> str | None:
return self.attributes.get("manufacturer")
@property
def model(self) -> ... | 23.572368 | 62 | 0.613732 | 404 | 3,583 | 5.433168 | 0.113861 | 0.165376 | 0.255581 | 0.232346 | 0.67426 | 0.661959 | 0.661959 | 0.490661 | 0.490661 | 0.490661 | 0 | 0 | 0.250628 | 3,583 | 151 | 63 | 23.728477 | 0.817505 | 0.019537 | 0 | 0.64486 | 0 | 0 | 0.061912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.308411 | false | 0 | 0.018692 | 0.308411 | 0.691589 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ac58863bfefd83bf4d35434e9e0a700b45ea790b | 178 | py | Python | aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/__init__.py | bhirschel/kalibr | e25b9728341fe85b55d46f850f657a55ed9000e6 | [
"BSD-4-Clause"
] | 64 | 2021-04-14T02:37:39.000Z | 2022-03-29T03:29:44.000Z | aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/__init__.py | bhirschel/kalibr | e25b9728341fe85b55d46f850f657a55ed9000e6 | [
"BSD-4-Clause"
] | null | null | null | aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/__init__.py | bhirschel/kalibr | e25b9728341fe85b55d46f850f657a55ed9000e6 | [
"BSD-4-Clause"
] | 28 | 2021-04-13T06:45:04.000Z | 2022-03-30T08:59:12.000Z | # Import the numpy to Eigen type conversion.
import numpy_eigen
from .CameraCalibrator import *
from .ObsDb import *
from .MulticamGraph import *
from .CameraIntializers import * | 29.666667 | 44 | 0.803371 | 22 | 178 | 6.454545 | 0.545455 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140449 | 178 | 6 | 45 | 29.666667 | 0.928105 | 0.235955 | 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 | 0 | 0 | 0 | 5 |
ac862dd956ea2244629c076b569df067979ba33b | 119 | py | Python | lambda.py | MatthewDaffern/redditbot | d416d6ec24a9f37975c0649e58b52fbba2dfbe27 | [
"Unlicense"
] | 4 | 2018-09-28T01:47:53.000Z | 2021-02-13T20:21:14.000Z | lambda.py | MatthewDaffern/redditbot | d416d6ec24a9f37975c0649e58b52fbba2dfbe27 | [
"Unlicense"
] | 4 | 2018-09-19T06:27:24.000Z | 2018-09-22T00:44:41.000Z | lambda.py | MatthewDaffern/redditbot | d416d6ec24a9f37975c0649e58b52fbba2dfbe27 | [
"Unlicense"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
from scripture_bot import main
def bot_invoker(event, context):
main()
| 14.875 | 32 | 0.663866 | 17 | 119 | 4.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.168067 | 119 | 7 | 33 | 17 | 0.767677 | 0.319328 | 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 | 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 | 5 |
3ba2c4b81bc4418896568e24f4a21245cb52230f | 138 | py | Python | confirmation_messages/error_messages.py | TheShubhendra/image-to-ascii | 0c0eff3763aa9b0e91051f34c1892e9970226269 | [
"MIT"
] | 2 | 2020-12-11T13:25:49.000Z | 2020-12-27T02:54:09.000Z | confirmation_messages/error_messages.py | TheShubhendra/image-to-ascii | 0c0eff3763aa9b0e91051f34c1892e9970226269 | [
"MIT"
] | 2 | 2020-12-06T15:48:27.000Z | 2020-12-27T13:25:44.000Z | confirmation_messages/error_messages.py | TheShubhendra/image-to-ascii | 0c0eff3763aa9b0e91051f34c1892e9970226269 | [
"MIT"
] | 1 | 2020-12-27T04:51:22.000Z | 2020-12-27T04:51:22.000Z | class ErrorMessages:
def show_error_message(self, code_part, message):
print(f'ERROR on {code_part} - {message.title()}') | 34.5 | 58 | 0.673913 | 18 | 138 | 4.944444 | 0.722222 | 0.179775 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 138 | 4 | 58 | 34.5 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 5 |
3bc49c7e71a9b705870402e1607e1816c9c09ae6 | 86 | py | Python | src/api/routes/__init__.py | gcywcsyxx/Platform_For_Synthetic_Biology | dee66c6d1b2809747074016df56927146f535964 | [
"Apache-2.0"
] | 2 | 2021-02-21T16:11:05.000Z | 2021-02-22T06:25:43.000Z | src/api/routes/__init__.py | gcywcsyxx/Platform_For_Synthetic_Biology | dee66c6d1b2809747074016df56927146f535964 | [
"Apache-2.0"
] | null | null | null | src/api/routes/__init__.py | gcywcsyxx/Platform_For_Synthetic_Biology | dee66c6d1b2809747074016df56927146f535964 | [
"Apache-2.0"
] | null | null | null | from .router import router
def init_app(app):
app.register_blueprint(router)
| 17.2 | 34 | 0.732558 | 12 | 86 | 5.083333 | 0.666667 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 5 | 35 | 17.2 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3be5ece04e5a85b8b235cc29f3fd6b343a645499 | 210 | py | Python | python/packages/isce3/core/Projection.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | python/packages/isce3/core/Projection.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | python/packages/isce3/core/Projection.py | piyushrpt/isce3 | 1741af321470cb5939693459765d11a19c5c6fc2 | [
"Apache-2.0"
] | null | null | null | #-*- coding: utf-8 -*-
#
# Heresh Fattahi
# Copyright 2019-
#
# The extension
from .. import isceextension
class Projection(isceextension.pyProjection):
"""
Wrapper for pyProjection.
"""
pass
| 14 | 45 | 0.652381 | 20 | 210 | 6.85 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.214286 | 210 | 14 | 46 | 15 | 0.8 | 0.438095 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
3bfbbb5e2038a20f5127cdeb83e77a3f3fdd0ef8 | 258 | py | Python | 2doElemento/polimorfismo/empleados.py | Antonio985/SeminarioDeProgramacion | a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465 | [
"Unlicense"
] | null | null | null | 2doElemento/polimorfismo/empleados.py | Antonio985/SeminarioDeProgramacion | a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465 | [
"Unlicense"
] | null | null | null | 2doElemento/polimorfismo/empleados.py | Antonio985/SeminarioDeProgramacion | a1bdd7fa6fa202a0a7a2e9a0f72def24d0f1c465 | [
"Unlicense"
] | null | null | null | #creamos clase
class Empleado:
def __init__(self, nombre, sueldo):
self.nombre = nombre
self.sueldo = sueldo
#enviamos a impresion
def __str__(self):
return "Nombre : "+ self.nombre + " "+ str(self.sueldo)
| 21.5 | 63 | 0.585271 | 28 | 258 | 5.107143 | 0.5 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310078 | 258 | 12 | 64 | 21.5 | 0.803371 | 0.127907 | 0 | 0 | 0 | 0 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ce1bfcd064963077a0191c3c45e7a5eb073414b4 | 65 | py | Python | file.py | karwinski/QA-and-Git | ec927de5dfb1de62cf46c112b45c751b64e3ccde | [
"MIT"
] | 1 | 2017-12-18T16:01:29.000Z | 2017-12-18T16:01:29.000Z | file.py | karwinski/QA-and-Git | ec927de5dfb1de62cf46c112b45c751b64e3ccde | [
"MIT"
] | null | null | null | file.py | karwinski/QA-and-Git | ec927de5dfb1de62cf46c112b45c751b64e3ccde | [
"MIT"
] | null | null | null | print("hello world");
print("hello sunday");
print("hi carlos");
| 16.25 | 22 | 0.676923 | 9 | 65 | 4.888889 | 0.666667 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 3 | 23 | 21.666667 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0.492308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
0200ec36de8f92afb3c2f0220b99111cbebeaff2 | 79 | py | Python | run.py | WeilonYing/html5-music-player | 8ea709988397de22631417d6556cdd57d7a84b7f | [
"Apache-2.0"
] | null | null | null | run.py | WeilonYing/html5-music-player | 8ea709988397de22631417d6556cdd57d7a84b7f | [
"Apache-2.0"
] | 1 | 2018-04-01T12:40:37.000Z | 2018-04-01T13:00:51.000Z | run.py | WeilonYing/html5-music-player | 8ea709988397de22631417d6556cdd57d7a84b7f | [
"Apache-2.0"
] | null | null | null | #!usr/bin/python
#!usr/bin/flask
from app import app
app.run(debug = True)
| 15.8 | 22 | 0.683544 | 14 | 79 | 3.857143 | 0.714286 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 4 | 23 | 19.75 | 0.818182 | 0.367089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
023b2e0b569bbab89b14d35fdf61700d0d288fbd | 64 | py | Python | __init__.py | simran11081998/outlier | 8b5053323878a8b0b5282c5b9cb873a95e9a8f26 | [
"MIT"
] | null | null | null | __init__.py | simran11081998/outlier | 8b5053323878a8b0b5282c5b9cb873a95e9a8f26 | [
"MIT"
] | null | null | null | __init__.py | simran11081998/outlier | 8b5053323878a8b0b5282c5b9cb873a95e9a8f26 | [
"MIT"
] | null | null | null | from simran_101703545_outlier.outlier import outlier_row_removal | 64 | 64 | 0.9375 | 9 | 64 | 6.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 0.046875 | 64 | 1 | 64 | 64 | 0.770492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
026cea71818381b4e1e79c6b12fcb6511feb50b2 | 20 | py | Python | by-session/class-921/week4/lib/__init__.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | 2 | 2015-04-29T20:59:35.000Z | 2018-09-26T13:33:43.000Z | by-session/class-921/week4/lib/__init__.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | null | null | null | by-session/class-921/week4/lib/__init__.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | null | null | null | print "i'm lib.init" | 20 | 20 | 0.7 | 5 | 20 | 2.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
02810d0f82f5ce349e7d4076ac234d425a2aef2b | 186 | py | Python | tests/unit/proposals/test_services.py | theSage21/junction | ac713edcf56c41eb3f066da776a0a5d24e55b46a | [
"MIT"
] | 192 | 2015-01-12T06:21:24.000Z | 2022-03-10T09:57:37.000Z | tests/unit/proposals/test_services.py | theSage21/junction | ac713edcf56c41eb3f066da776a0a5d24e55b46a | [
"MIT"
] | 621 | 2015-01-01T09:19:17.000Z | 2021-05-28T09:27:35.000Z | tests/unit/proposals/test_services.py | theSage21/junction | ac713edcf56c41eb3f066da776a0a5d24e55b46a | [
"MIT"
] | 207 | 2015-01-05T16:39:06.000Z | 2022-02-15T13:18:15.000Z | from junction.proposals.services import markdown_to_html
def test_markdown_to_html():
markdown = "#test"
html = markdown_to_html(markdown)
assert html == "<h1>test</h1>\n"
| 23.25 | 56 | 0.72043 | 26 | 186 | 4.884615 | 0.5 | 0.23622 | 0.330709 | 0.346457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.16129 | 186 | 7 | 57 | 26.571429 | 0.801282 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
65f636be9972ba6a58e7892e94d4ddfde5c2c6cb | 1,417 | py | Python | tools/leetcode.148.Sort List/leetcode.148.Sort List.submission1.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.148.Sort List/leetcode.148.Sort List.submission1.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.148.Sort List/leetcode.148.Sort List.submission1.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | # Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
# @param {ListNode} head
# @return {ListNode}
def sortList(self, head):
if not head or not head.next:
return head
if not head.nex... | 1,417 | 1,417 | 0.411433 | 152 | 1,417 | 3.809211 | 0.223684 | 0.124352 | 0.062176 | 0.044905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001458 | 0.515879 | 1,417 | 1 | 1,417 | 1,417 | 0.842566 | 0.987297 | 0 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5a197c6b304122c6d676ccf575583552dd737763 | 90 | py | Python | surugaya_parser/__init__.py | sawadyrr5/surugaya_parser | 559db62d47f06d4f463d09ec2d3cb950f1585413 | [
"MIT"
] | 2 | 2020-05-03T07:51:41.000Z | 2021-12-01T08:12:16.000Z | surugaya_parser/__init__.py | sawadyrr5/surugaya_parser | 559db62d47f06d4f463d09ec2d3cb950f1585413 | [
"MIT"
] | null | null | null | surugaya_parser/__init__.py | sawadyrr5/surugaya_parser | 559db62d47f06d4f463d09ec2d3cb950f1585413 | [
"MIT"
] | 1 | 2021-12-04T01:04:38.000Z | 2021-12-04T01:04:38.000Z | from surugaya_parser.page import Search, SearchDetail, KaitoriSearch, KaitoriSearchDetail
| 45 | 89 | 0.877778 | 9 | 90 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 90 | 1 | 90 | 90 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
5a4ef1536d64c1f681a112bf750287531da3a79a | 3,291 | py | Python | tests/cli/agent/search/search_test.py | ju-c/ostorlab | 92c6edc204f3a0c32d0f28a37010cbeddb1818db | [
"Apache-2.0"
] | null | null | null | tests/cli/agent/search/search_test.py | ju-c/ostorlab | 92c6edc204f3a0c32d0f28a37010cbeddb1818db | [
"Apache-2.0"
] | null | null | null | tests/cli/agent/search/search_test.py | ju-c/ostorlab | 92c6edc204f3a0c32d0f28a37010cbeddb1818db | [
"Apache-2.0"
] | null | null | null | """Tests for CLI agent search command."""
from unittest import mock
from click import testing
from ostorlab.apis.runners import public_runner, authenticated_runner
from ostorlab.cli import rootcli
def testAgentSearchCLI_WhenAuthenticatedRunner_listAgents(mocker, requests_mock):
"""Test ostorlab agent search CLI ... | 35.771739 | 107 | 0.461258 | 259 | 3,291 | 5.718147 | 0.285714 | 0.036462 | 0.052667 | 0.043214 | 0.744092 | 0.714382 | 0.714382 | 0.714382 | 0.714382 | 0.668467 | 0 | 0.010852 | 0.439988 | 3,291 | 91 | 108 | 36.164835 | 0.792729 | 0.063507 | 0 | 0.552632 | 0 | 0 | 0.198956 | 0.090672 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.026316 | false | 0 | 0.052632 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5a63f8c590c02dd8f14bde328de389e51927a920 | 210 | py | Python | osp-stibbons-master/property/admin.py | deepakavattotte2191/FISBO-Real-esate--website | 08390a69013e78673607d4243a4f9f2d91531905 | [
"Apache-2.0"
] | null | null | null | osp-stibbons-master/property/admin.py | deepakavattotte2191/FISBO-Real-esate--website | 08390a69013e78673607d4243a4f9f2d91531905 | [
"Apache-2.0"
] | null | null | null | osp-stibbons-master/property/admin.py | deepakavattotte2191/FISBO-Real-esate--website | 08390a69013e78673607d4243a4f9f2d91531905 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Property, SaleType, BuildingType
# Register your models here.
admin.site.register(Property)
admin.site.register(SaleType)
admin.site.register(BuildingType) | 26.25 | 52 | 0.82381 | 27 | 210 | 6.407407 | 0.481481 | 0.156069 | 0.294798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090476 | 210 | 8 | 53 | 26.25 | 0.905759 | 0.12381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ce451161adb9c25f9ec650276bba467fe58a9b32 | 3,070 | py | Python | product/scrapeData.py | SukhadaM/ShopStop | 9d6a26fbe94508dc36fae5716236f3a3a231c0dd | [
"MIT"
] | null | null | null | product/scrapeData.py | SukhadaM/ShopStop | 9d6a26fbe94508dc36fae5716236f3a3a231c0dd | [
"MIT"
] | null | null | null | product/scrapeData.py | SukhadaM/ShopStop | 9d6a26fbe94508dc36fae5716236f3a3a231c0dd | [
"MIT"
] | null | null | null | import requests
from bs4 import BeautifulSoup
def amazon_scrape(colors,tag):
# colors = colors[:2]
baseurl = "https://www.amazon.in/"
base = "https://www.amazon.in/"
gender = "women"
#if more than one color:
# color = 'red+blue+green'
color=[]
urls=[]
for i in colors:
... | 27.410714 | 297 | 0.529967 | 386 | 3,070 | 4.129534 | 0.26943 | 0.052698 | 0.069009 | 0.047051 | 0.760979 | 0.748432 | 0.722083 | 0.722083 | 0.722083 | 0.678795 | 0 | 0.024263 | 0.315309 | 3,070 | 111 | 298 | 27.657658 | 0.734063 | 0.047557 | 0 | 0.677419 | 0 | 0.032258 | 0.182973 | 0 | 0.016129 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.032258 | 0 | 0.096774 | 0.032258 | 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 | 0 | 0 | 5 |
ce48a53a05ad1bc2fc1894103375e1f1fe24ee9c | 11,535 | py | Python | tests/test_detectron2.py | L-Net-1992/sahi | 43f008948419ebff1e0c1861c3cee4ead23fcad1 | [
"MIT"
] | null | null | null | tests/test_detectron2.py | L-Net-1992/sahi | 43f008948419ebff1e0c1861c3cee4ead23fcad1 | [
"MIT"
] | null | null | null | tests/test_detectron2.py | L-Net-1992/sahi | 43f008948419ebff1e0c1861c3cee4ead23fcad1 | [
"MIT"
] | null | null | null | # OBSS SAHI Tool
# Code written by Fatih C Akyon, 2020.
import unittest
from sahi.model import Detectron2DetectionModel
from sahi.utils.cv import read_image
from sahi.utils.detectron2 import Detectron2TestConstants
from sahi.utils.import_utils import _torch_version
MODEL_DEVICE = "cpu"
CONFIDENCE_THRESHOLD = 0.5
IMA... | 44.026718 | 107 | 0.628349 | 1,167 | 11,535 | 5.874893 | 0.1491 | 0.098016 | 0.087515 | 0.059802 | 0.785298 | 0.765898 | 0.742124 | 0.734685 | 0.734685 | 0.734685 | 0 | 0.023607 | 0.305938 | 11,535 | 261 | 108 | 44.195402 | 0.83275 | 0.042739 | 0 | 0.643564 | 0 | 0 | 0.045562 | 0.014068 | 0 | 0 | 0 | 0 | 0.123762 | 1 | 0.029703 | false | 0 | 0.054455 | 0 | 0.089109 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ce74cf0fabd0d8ec8409d0a204d6c0c349d170ad | 88 | py | Python | antlr4_grun/__init__.py | charmoniumQ/antlr4-python-grun | 7bcf6cd79bee8d64a6727baf1ad67ce9d973de9c | [
"MIT"
] | 1 | 2021-12-02T10:53:54.000Z | 2021-12-02T10:53:54.000Z | antlr4_grun/__init__.py | charmoniumQ/antlr4-python-grun | 7bcf6cd79bee8d64a6727baf1ad67ce9d973de9c | [
"MIT"
] | null | null | null | antlr4_grun/__init__.py | charmoniumQ/antlr4-python-grun | 7bcf6cd79bee8d64a6727baf1ad67ce9d973de9c | [
"MIT"
] | null | null | null | from .lib import get_antlr_jar, compile, tokenize, get_lexer_parser, parse, format_tree
| 44 | 87 | 0.829545 | 14 | 88 | 4.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 88 | 1 | 88 | 88 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
cec113485afb3ece970731f348cbe9afd1b50b7c | 217 | py | Python | tests/fixtures/reports/custom_exception/entry__point/entrypoint.py | maxipavlovic/connect-cli | 73989c076c6fb5b4562c61a351448b1c77556676 | [
"Apache-2.0"
] | 12 | 2020-10-10T10:53:16.000Z | 2022-02-16T10:15:56.000Z | tests/fixtures/reports/custom_exception/entry__point/entrypoint.py | maxipavlovic/connect-cli | 73989c076c6fb5b4562c61a351448b1c77556676 | [
"Apache-2.0"
] | 37 | 2020-09-28T12:00:52.000Z | 2021-12-20T12:38:25.000Z | tests/fixtures/reports/custom_exception/entry__point/entrypoint.py | maxipavlovic/connect-cli | 73989c076c6fb5b4562c61a351448b1c77556676 | [
"Apache-2.0"
] | 11 | 2020-11-04T18:17:01.000Z | 2022-02-23T08:18:07.000Z | # -*- coding: utf-8 -*-
#
# Copyright (c) 2020, CloudBlue
# All rights reserved.
#
from connect.client import ClientError
def generate(client, parameters, progress_callback):
raise RuntimeError("Custom error")
| 18.083333 | 52 | 0.718894 | 25 | 217 | 6.2 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027322 | 0.156682 | 217 | 11 | 53 | 19.727273 | 0.819672 | 0.331797 | 0 | 0 | 1 | 0 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cece29f27939d9e7c849b96ddb67c8e42c01d2aa | 50 | py | Python | aim/storage/hashing/__init__.py | admariner/aim | 4c143ea40acf3531abfa69f66503428d73d9fedc | [
"Apache-2.0"
] | 2,195 | 2020-01-23T03:08:11.000Z | 2022-03-31T14:32:19.000Z | aim/storage/hashing/__init__.py | admariner/aim | 4c143ea40acf3531abfa69f66503428d73d9fedc | [
"Apache-2.0"
] | 696 | 2020-02-08T21:55:45.000Z | 2022-03-31T16:52:22.000Z | aim/storage/hashing/__init__.py | admariner/aim | 4c143ea40acf3531abfa69f66503428d73d9fedc | [
"Apache-2.0"
] | 150 | 2020-03-27T10:44:25.000Z | 2022-03-21T21:29:41.000Z | from aim.storage.hashing.hashing import hash_auto
| 25 | 49 | 0.86 | 8 | 50 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
ced0fd521eaadaa953ec8fe42f0702c893b8484f | 157 | py | Python | holobot/discord/sdk/actions/do_nothing_action.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/discord/sdk/actions/do_nothing_action.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/discord/sdk/actions/do_nothing_action.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .action_base import ActionBase
class DoNothingAction(ActionBase):
"""An action that does nothing. Use this when a request requires no response."""
| 31.4 | 84 | 0.770701 | 21 | 157 | 5.714286 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152866 | 157 | 4 | 85 | 39.25 | 0.902256 | 0.471338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cede219623cf62db9a32702bc914bd3699c8ea32 | 142 | py | Python | inventory/utils.py | Zadigo/restaurant | 10d2d64f1164de697eeccaa7cd500c71755bfb99 | [
"MIT"
] | null | null | null | inventory/utils.py | Zadigo/restaurant | 10d2d64f1164de697eeccaa7cd500c71755bfb99 | [
"MIT"
] | null | null | null | inventory/utils.py | Zadigo/restaurant | 10d2d64f1164de697eeccaa7cd500c71755bfb99 | [
"MIT"
] | null | null | null | def upload_to(instance, name):
return f'{instance.pk}/{name}'
def calculate_vat(price):
value = float(price)
return value * 1.2
| 17.75 | 34 | 0.661972 | 21 | 142 | 4.380952 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.197183 | 142 | 7 | 35 | 20.285714 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0c7dfaabd2ba8694e7cfbbef5120d9931d91960f | 219 | py | Python | backend/products/validators.py | saulhappy/drf | 5e62da54cdf0f0fead742c891d34e7eacd488a1b | [
"MIT"
] | null | null | null | backend/products/validators.py | saulhappy/drf | 5e62da54cdf0f0fead742c891d34e7eacd488a1b | [
"MIT"
] | null | null | null | backend/products/validators.py | saulhappy/drf | 5e62da54cdf0f0fead742c891d34e7eacd488a1b | [
"MIT"
] | null | null | null | from rest_framework import serializers
from rest_framework.validators import UniqueValidator
from products.models import Product
unique_product_title = UniqueValidator(queryset=Product.objects.all(), lookup="iexact")
| 31.285714 | 87 | 0.853881 | 26 | 219 | 7.038462 | 0.653846 | 0.087432 | 0.185792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 219 | 6 | 88 | 36.5 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 1 | 0 | 0 | 5 |
0ca80214050f537b9c39ca8aac99364407b03fa9 | 135 | py | Python | pyfermions/__init__.py | amsqi/pyfermions | 4a3cbaa30657ed45245c09975fcf142af650fc7d | [
"MIT"
] | 10 | 2019-02-25T11:18:11.000Z | 2021-08-17T15:40:50.000Z | pyfermions/__init__.py | catch22/pyfermions | 4a3cbaa30657ed45245c09975fcf142af650fc7d | [
"MIT"
] | null | null | null | pyfermions/__init__.py | catch22/pyfermions | 4a3cbaa30657ed45245c09975fcf142af650fc7d | [
"MIT"
] | 3 | 2019-05-28T07:58:49.000Z | 2021-03-19T22:46:00.000Z | __version__ = "1.4dev0"
from .utils import *
from .signal import *
from .wavelets import *
from .hilbert import *
from .mera import *
| 16.875 | 23 | 0.718519 | 18 | 135 | 5.166667 | 0.555556 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.177778 | 135 | 7 | 24 | 19.285714 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.051852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0cb499f6cc6c0743ebf58a891a23fde08471402c | 70 | py | Python | lms/Domain/Courses/__init__.py | bobrovskayaa/LMS | adac324977f5255d15c0ebfeef69995bd9dc8f26 | [
"MIT"
] | null | null | null | lms/Domain/Courses/__init__.py | bobrovskayaa/LMS | adac324977f5255d15c0ebfeef69995bd9dc8f26 | [
"MIT"
] | 1 | 2018-12-21T21:09:30.000Z | 2018-12-21T21:09:30.000Z | lms/Domain/Courses/__init__.py | bobrovskayaa/LMS | adac324977f5255d15c0ebfeef69995bd9dc8f26 | [
"MIT"
] | 3 | 2018-12-18T13:37:24.000Z | 2019-02-12T17:33:39.000Z | from .course_model import Course
from .schedule_model import Schedule
| 23.333333 | 36 | 0.857143 | 10 | 70 | 5.8 | 0.5 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 37 | 35 | 0.935484 | 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 | 0 | 0 | 0 | 5 |
0cf43f7488a95de00b069c664e1ca573fb1b3c61 | 89 | py | Python | py200_mylib.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | py200_mylib.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | py200_mylib.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | def add_txt(t1, t2):
return t1 + ":" + t2
def reverse(x, y, z):
return z, y, x
| 12.714286 | 24 | 0.516854 | 17 | 89 | 2.647059 | 0.588235 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.303371 | 89 | 6 | 25 | 14.833333 | 0.66129 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0b35abd320a45e6f236735c941c4065f1218c773 | 55 | py | Python | fsph/__init__.py | glotzerlab/fsph | 5896cffe2916763db57b801d2c9b092db232fc7a | [
"MIT"
] | 3 | 2019-02-09T12:50:28.000Z | 2019-07-30T15:49:49.000Z | fsph/__init__.py | glotzerlab/fsph | 5896cffe2916763db57b801d2c9b092db232fc7a | [
"MIT"
] | 3 | 2019-08-13T13:48:35.000Z | 2020-10-15T13:57:09.000Z | fsph/__init__.py | glotzerlab/fsph | 5896cffe2916763db57b801d2c9b092db232fc7a | [
"MIT"
] | null | null | null |
from .version import __version__
from ._fsph import *
| 13.75 | 32 | 0.781818 | 7 | 55 | 5.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 3 | 33 | 18.333333 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
0b9245886f39aec25ec3df222f15bd9a9d002033 | 169 | py | Python | pycache/cacheException.py | pycache-adaptor/pycache-adaptor | 62bf65a11999724424aff50c274b6fb9949cfa48 | [
"MIT"
] | 48 | 2016-06-20T18:12:02.000Z | 2018-12-11T05:59:20.000Z | pycache/cacheException.py | pycache-adaptor/pycache-adaptor | 62bf65a11999724424aff50c274b6fb9949cfa48 | [
"MIT"
] | 1 | 2016-06-21T21:36:23.000Z | 2016-06-22T16:03:35.000Z | pycache/cacheException.py | pycache-adaptor/pycache-adaptor | 62bf65a11999724424aff50c274b6fb9949cfa48 | [
"MIT"
] | 2 | 2016-06-21T11:42:02.000Z | 2018-07-20T14:17:53.000Z | # -*- coding: utf-8 -*-
"""CacheException.
Exception interface for all exceptions thrown by an Implementing Library.
"""
class CacheException(Exception):
pass
| 18.777778 | 77 | 0.704142 | 18 | 169 | 6.611111 | 0.888889 | 0.386555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.177515 | 169 | 8 | 78 | 21.125 | 0.848921 | 0.662722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0bc074e17a1e44ea01908b95a4fb33ccef36fd7c | 104 | py | Python | tests/__init__.py | rashidkalwar/s-tool | 5e66dd0caa39b29142b19d00dfd2c404a37a8043 | [
"MIT"
] | 5 | 2021-06-29T19:52:01.000Z | 2022-01-15T00:03:46.000Z | tests/__init__.py | rashidkalwar/s-tool | 5e66dd0caa39b29142b19d00dfd2c404a37a8043 | [
"MIT"
] | 45 | 2021-06-29T06:32:39.000Z | 2021-09-11T14:36:16.000Z | tests/__init__.py | rashidkalwar/s-tool | 5e66dd0caa39b29142b19d00dfd2c404a37a8043 | [
"MIT"
] | 9 | 2021-06-29T16:55:10.000Z | 2021-09-14T12:47:12.000Z | from os.path import abspath
index_file = "tests/index.html"
TEST_URL = f"file://{abspath(index_file)}"
| 20.8 | 42 | 0.740385 | 17 | 104 | 4.352941 | 0.705882 | 0.324324 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 4 | 43 | 26 | 0.795699 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b2da0993cc83c8a699b751d9b05c2e91365eed86 | 193 | py | Python | libraries/botbuilder-dialogs/botbuilder/dialogs/waterfall_step.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | 1 | 2019-05-31T10:55:15.000Z | 2019-05-31T10:55:15.000Z | libraries/botbuilder-dialogs/botbuilder/dialogs/waterfall_step.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | libraries/botbuilder-dialogs/botbuilder/dialogs/waterfall_step.py | awaemmanuel/botbuilder-python | bcc85a49f1426ccf682205566fd03937ee6d315c | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# TODO: Remove this file once we get some tests to verify waterfall_step
# unnecessary in Python. | 38.6 | 73 | 0.777202 | 28 | 193 | 5.321429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165803 | 193 | 5 | 74 | 38.6 | 0.925466 | 0.953368 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.2 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b2f215bf88135c648742a8fe56d41501859ee67b | 50 | py | Python | autolens/text/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | 39 | 2019-01-24T10:45:23.000Z | 2022-03-18T09:37:59.000Z | autolens/text/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | 260 | 2018-11-27T12:56:33.000Z | 2022-03-31T16:08:59.000Z | autolens/text/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | 13 | 2018-11-30T16:49:05.000Z | 2022-01-21T17:39:29.000Z | from autofit.text import samples_text as Samples
| 25 | 49 | 0.84 | 8 | 50 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
65486004bb57142f0d06f3ee2661a3e2ef6d7641 | 320 | py | Python | src/app/dependencies.py | Drakmord2/life | 9ed051d90d08148d8af26855a68763128b6d7826 | [
"Apache-2.0"
] | null | null | null | src/app/dependencies.py | Drakmord2/life | 9ed051d90d08148d8af26855a68763128b6d7826 | [
"Apache-2.0"
] | null | null | null | src/app/dependencies.py | Drakmord2/life | 9ed051d90d08148d8af26855a68763128b6d7826 | [
"Apache-2.0"
] | null | null | null |
# Dependency Injection
class DI(object):
def __init__(self):
self.container = {}
def get(self, dependency):
return self.container.get(dependency)
def set(self, dependency, value):
self.container[dependency] = value
def containers(self):
return self.container.keys()
| 18.823529 | 45 | 0.640625 | 35 | 320 | 5.742857 | 0.428571 | 0.258706 | 0.189055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 320 | 16 | 46 | 20 | 0.8375 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
654b8ed9485014a7c07fa204b98cb4ca0e652775 | 160 | py | Python | templates/python.flask/{{cookiecutter.project_safe_name}}/app/main/__init__.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | templates/python.flask/{{cookiecutter.project_safe_name}}/app/main/__init__.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | templates/python.flask/{{cookiecutter.project_safe_name}}/app/main/__init__.py | by46/recipe | 203abd2141a536b66b4e57d073169a49395be1f0 | [
"MIT"
] | null | null | null | from flask import Blueprint
url_prefix = '/{{cookiecutter.project_slug}}'
main = Blueprint('main', __name__, url_prefix=url_prefix)
from . import views
| 22.857143 | 58 | 0.7375 | 20 | 160 | 5.5 | 0.6 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 160 | 6 | 59 | 26.666667 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 1 | 0 | 5 |
e8da9248ce257cb4f6b487e1e8bf7f32b959fd80 | 30 | py | Python | src/__init__.py | Slayga/Hotel | db9486746e9107f9eab62b395aca4fe304fc3587 | [
"MIT"
] | null | null | null | src/__init__.py | Slayga/Hotel | db9486746e9107f9eab62b395aca4fe304fc3587 | [
"MIT"
] | null | null | null | src/__init__.py | Slayga/Hotel | db9486746e9107f9eab62b395aca4fe304fc3587 | [
"MIT"
] | null | null | null | from hotel import main
main() | 10 | 22 | 0.766667 | 5 | 30 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 3 | 23 | 10 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 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 | 0 | 0 | 5 |
e8dab76588c909b5abfe163a86e8ce508c6c469f | 7,000 | py | Python | tests/test_lexer.py | bgreenlee/pugsql | bff5f4c0828b7dea62e8fc734a6610320e404313 | [
"Apache-2.0"
] | null | null | null | tests/test_lexer.py | bgreenlee/pugsql | bff5f4c0828b7dea62e8fc734a6610320e404313 | [
"Apache-2.0"
] | null | null | null | tests/test_lexer.py | bgreenlee/pugsql | bff5f4c0828b7dea62e8fc734a6610320e404313 | [
"Apache-2.0"
] | null | null | null | from pugsql import lexer, context
from unittest import TestCase
ctx = context.Context('<literal>')
def at(l, c):
return context.Context(ctx.sqlfile, l, c)
class LexTest(TestCase):
def test_basic(self):
l1 = lexer.Token('C', '-- :name username_for_id :1', at(1, 1))
l2 = lexer.Token(
... | 36.26943 | 79 | 0.525857 | 931 | 7,000 | 3.842105 | 0.095596 | 0.145373 | 0.055354 | 0.080514 | 0.821638 | 0.803187 | 0.763769 | 0.758457 | 0.680458 | 0.664803 | 0 | 0.026839 | 0.281429 | 7,000 | 192 | 80 | 36.458333 | 0.684294 | 0 | 0 | 0.56129 | 0 | 0 | 0.181571 | 0 | 0 | 0 | 0 | 0 | 0.167742 | 1 | 0.193548 | false | 0 | 0.012903 | 0.025806 | 0.258065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e8dd32b3f1f379f60b064a78e5182cf6ebfd8cec | 54 | py | Python | src/alchemlyb/convergence/__init__.py | BranniganLab/alchemlyb | a8ac1a1472f124feec9b20b1afdbea352e2ac5a4 | [
"BSD-3-Clause"
] | 83 | 2017-01-09T19:29:09.000Z | 2022-03-17T09:35:08.000Z | src/alchemlyb/convergence/__init__.py | BranniganLab/alchemlyb | a8ac1a1472f124feec9b20b1afdbea352e2ac5a4 | [
"BSD-3-Clause"
] | 185 | 2016-11-17T18:09:40.000Z | 2022-03-29T00:38:59.000Z | src/alchemlyb/convergence/__init__.py | Becksteinlab/alchemlyb | 9153bbd00425bd02dfb11c6193aa5309d4681e4b | [
"BSD-3-Clause"
] | 37 | 2017-08-09T17:30:43.000Z | 2022-01-17T19:49:58.000Z | from .convergence import forward_backward_convergence
| 27 | 53 | 0.907407 | 6 | 54 | 7.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
e8e658e64bdfcfbb950452ae8eb91138397bf7f0 | 59 | py | Python | binary_fractions/__init__.py | Jonny-exe/binary-fractions | ec418e8b15092cf1bc4936bd24c439ae13d951a6 | [
"CNRI-Python"
] | 5 | 2021-06-18T15:36:06.000Z | 2021-12-24T15:25:45.000Z | binary_fractions/__init__.py | Jonny-exe/binary-fractions | ec418e8b15092cf1bc4936bd24c439ae13d951a6 | [
"CNRI-Python"
] | null | null | null | binary_fractions/__init__.py | Jonny-exe/binary-fractions | ec418e8b15092cf1bc4936bd24c439ae13d951a6 | [
"CNRI-Python"
] | 3 | 2021-06-20T20:11:51.000Z | 2021-08-02T03:13:47.000Z | from binary_fractions.binary import Binary, TwosComplement
| 29.5 | 58 | 0.881356 | 7 | 59 | 7.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 1 | 59 | 59 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
3350bb8cbe6ffcce96330d02cbacdc4dc18f4d42 | 36 | py | Python | ezyt/videoUploader/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | 1 | 2020-10-21T09:28:56.000Z | 2020-10-21T09:28:56.000Z | build/lib/src/videoUploader/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | null | null | null | build/lib/src/videoUploader/__init__.py | AlexBacho/ezyt | 5d9526d7901270ed5d97adf73ed0df9b21bf0387 | [
"MIT"
] | null | null | null | from .main import upload_to_youtube
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 | 0 | 0 | 0 | 5 |
6835514cf4986960c343be71a6d99475fee45fd5 | 152 | py | Python | bushel/bandwidth/__init__.py | irl/bushel | 999a7d94c609a0a2fb58f4cf898d5f8cd75215bd | [
"MIT"
] | 4 | 2019-04-13T04:19:40.000Z | 2019-12-12T05:49:33.000Z | bushel/bandwidth/__init__.py | irl/bushel | 999a7d94c609a0a2fb58f4cf898d5f8cd75215bd | [
"MIT"
] | 30 | 2018-11-12T00:29:38.000Z | 2019-05-21T15:22:06.000Z | bushel/bandwidth/__init__.py | irl/bushel | 999a7d94c609a0a2fb58f4cf898d5f8cd75215bd | [
"MIT"
] | null | null | null | """
This module contains stuff related to bandwidth scanners.
.. toctree::
:maxdepth: 2
bandwidth/file.rst
"""
# TODO: Write a better docstring
| 15.2 | 57 | 0.697368 | 19 | 152 | 5.578947 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.190789 | 152 | 9 | 58 | 16.888889 | 0.853659 | 0.934211 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.111111 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
68423ca7d35c9a2c91041cde3154c60d8bcfe09b | 165 | py | Python | openfl/utilities/fedcurv/torch/__init__.py | saransh09/openfl-1 | beba571929a56771f2fc1671154a3dbe60b38785 | [
"Apache-2.0"
] | null | null | null | openfl/utilities/fedcurv/torch/__init__.py | saransh09/openfl-1 | beba571929a56771f2fc1671154a3dbe60b38785 | [
"Apache-2.0"
] | 1 | 2022-03-02T18:07:11.000Z | 2022-03-10T02:43:12.000Z | openfl/utilities/fedcurv/torch/__init__.py | saransh09/openfl-1 | beba571929a56771f2fc1671154a3dbe60b38785 | [
"Apache-2.0"
] | 1 | 2022-03-03T00:50:15.000Z | 2022-03-03T00:50:15.000Z | # Copyright (C) 2020-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
"""openfl.utilities.fedcurv.torch package."""
from .fedcurv import FedCurv # NOQA
| 33 | 45 | 0.757576 | 22 | 165 | 5.681818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068027 | 0.109091 | 165 | 4 | 46 | 41.25 | 0.782313 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
6863b2f0aed3b531533b5e5f7a85ae180964fcd2 | 232 | py | Python | psmate/apps/resume/views.py | vgrivtsov/psmate | 10e0279b995d36518e0867e8c5d5125c355a2f00 | [
"MIT"
] | null | null | null | psmate/apps/resume/views.py | vgrivtsov/psmate | 10e0279b995d36518e0867e8c5d5125c355a2f00 | [
"MIT"
] | null | null | null | psmate/apps/resume/views.py | vgrivtsov/psmate | 10e0279b995d36518e0867e8c5d5125c355a2f00 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
def cv_index(request):
return render(request, 'resume/resume_index.html')
def cv_edit(request):
return render(request, 'resume/resume_edit.html')
| 19.333333 | 54 | 0.771552 | 32 | 232 | 5.46875 | 0.46875 | 0.114286 | 0.217143 | 0.297143 | 0.434286 | 0.434286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133621 | 232 | 11 | 55 | 21.090909 | 0.870647 | 0 | 0 | 0 | 0 | 0 | 0.202586 | 0.202586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
6878469223ad06bba8119b3e3da195dbf71e3755 | 28 | py | Python | test/tests/__init__.py | denmark/html2markdown | d50646eeabddc563c12c2d01fc5543c6d232329c | [
"MIT"
] | 4 | 2015-09-04T16:17:49.000Z | 2017-08-31T02:50:27.000Z | test/tests/__init__.py | denmark/html2markdown | d50646eeabddc563c12c2d01fc5543c6d232329c | [
"MIT"
] | null | null | null | test/tests/__init__.py | denmark/html2markdown | d50646eeabddc563c12c2d01fc5543c6d232329c | [
"MIT"
] | null | null | null | # Make this a module: tests
| 14 | 27 | 0.714286 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 1 | 28 | 28 | 0.909091 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d79c2d8702a82bfd60116368bb848d805c3b3731 | 183 | py | Python | tests/languages/features/dictionary/tests/test_util.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 49 | 2015-07-15T14:53:06.000Z | 2018-08-20T15:00:31.000Z | tests/languages/features/dictionary/tests/test_util.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 224 | 2015-06-14T23:22:43.000Z | 2018-08-08T22:52:46.000Z | tests/languages/features/dictionary/tests/test_util.py | kevinbazira/revscoring | 625f8b8048eb3c0c1c872ed9c15687c56f125747 | [
"MIT"
] | 36 | 2015-07-03T03:25:01.000Z | 2018-05-25T10:21:08.000Z |
from revscoring.languages.features.dictionary.util import utf16_cleanup
def test_utf16_cleanup():
assert (utf16_cleanup("Foobar" + chr(2 ** 16)) ==
"Foobar\uFFFD")
| 22.875 | 71 | 0.693989 | 22 | 183 | 5.590909 | 0.772727 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.180328 | 183 | 7 | 72 | 26.142857 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d7abb8e5a8cfd9f26eefe8b84df2b38364009029 | 176 | py | Python | openerp/addons/web/tests/__init__.py | ntiufalara/openerp7 | 903800da0644ec0dd9c1dcd34205541f84d45fe4 | [
"MIT"
] | 3 | 2016-01-29T14:39:49.000Z | 2018-12-29T22:42:00.000Z | openerp/addons/web/tests/__init__.py | ntiufalara/openerp7 | 903800da0644ec0dd9c1dcd34205541f84d45fe4 | [
"MIT"
] | 2 | 2016-03-23T14:29:41.000Z | 2017-02-20T17:11:30.000Z | openerp/addons/web/tests/__init__.py | ntiufalara/openerp7 | 903800da0644ec0dd9c1dcd34205541f84d45fe4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import test_dataset, test_menu, test_serving_base, test_js
fast_suite = []
checks = [
test_dataset,
test_menu,
test_serving_base,
]
| 17.6 | 65 | 0.676136 | 24 | 176 | 4.541667 | 0.583333 | 0.201835 | 0.275229 | 0.348624 | 0.623853 | 0.623853 | 0.623853 | 0 | 0 | 0 | 0 | 0.007092 | 0.198864 | 176 | 9 | 66 | 19.555556 | 0.765957 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d7bf8acafb13f04c45bd5486ea675aa4f86c71de | 224 | py | Python | src/airfly/_vendor/airflow/sensors/bash.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/sensors/bash.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/sensors/bash.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.sensors.base import BaseSensorOperator
class BashSensor(BaseSensorOperator):
bash_command: "_empty"
env: "_empty"
output_encoding: "_empty"
| 24.888889 | 66 | 0.767857 | 25 | 224 | 6.64 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 224 | 8 | 67 | 28 | 0.864583 | 0.174107 | 0 | 0 | 1 | 0 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
d7dd88cf8dbd1bbce6b367ecdf3858de017c9e6b | 45 | py | Python | tests/__init__.py | MatsNl/ha_google_maps | 69e6d9f250fcb032e78e7a436c95aec973f2918d | [
"MIT"
] | null | null | null | tests/__init__.py | MatsNl/ha_google_maps | 69e6d9f250fcb032e78e7a436c95aec973f2918d | [
"MIT"
] | null | null | null | tests/__init__.py | MatsNl/ha_google_maps | 69e6d9f250fcb032e78e7a436c95aec973f2918d | [
"MIT"
] | null | null | null | """Tests for the google_maps integration."""
| 22.5 | 44 | 0.733333 | 6 | 45 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.8 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d7f4fc85611bb88b852b2cf7995e451f453071c7 | 55 | py | Python | dibs/tests/contracts/all.py | emin63/dibs | 419b2fad041aee40647429d3c1faac52c92c25a3 | [
"MIT"
] | null | null | null | dibs/tests/contracts/all.py | emin63/dibs | 419b2fad041aee40647429d3c1faac52c92c25a3 | [
"MIT"
] | null | null | null | dibs/tests/contracts/all.py | emin63/dibs | 419b2fad041aee40647429d3c1faac52c92c25a3 | [
"MIT"
] | null | null | null |
import tests.contracts
tests.contracts.DoTest('all')
| 11 | 29 | 0.781818 | 7 | 55 | 6.142857 | 0.714286 | 0.651163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 4 | 30 | 13.75 | 0.86 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cc05af23ff9b0193c4527030b06f4fcf9afb2bdb | 100 | py | Python | deepscoop/__init__.py | ScoopML/DeepScoop | 6a1373cb06184c1e534f35bab41157b3b703bdc8 | [
"Apache-2.0"
] | 2 | 2020-12-25T08:00:06.000Z | 2021-01-14T03:00:16.000Z | deepscoop/__init__.py | ScoopML/DeepScoop | 6a1373cb06184c1e534f35bab41157b3b703bdc8 | [
"Apache-2.0"
] | null | null | null | deepscoop/__init__.py | ScoopML/DeepScoop | 6a1373cb06184c1e534f35bab41157b3b703bdc8 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from . import autograd
from . import nn
from . import optim
| 16.666667 | 38 | 0.8 | 14 | 100 | 5.357143 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 5 | 39 | 20 | 0.903614 | 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 | 0 | 0 | 0 | 5 |
cc1a9ce6a594293db24a6b09291bbf90505b0d0f | 376 | py | Python | Leetcode/804. Unique Morse Code Words/solution2.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | Leetcode/804. Unique Morse Code Words/solution2.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | null | null | null | Leetcode/804. Unique Morse Code Words/solution2.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | MORZE = [".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..", ".---", "-.-", ".-..", "--", "-.", "---",
".--.", "--.-", ".-.", "...", "-", "..-", "...-", ".--", "-..-", "-.--", "--.."]
class Solution:
def uniqueMorseRepresentations(self, words: List[str]) -> int:
return len(set([''.join... | 47 | 113 | 0.31117 | 26 | 376 | 4.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006557 | 0.18883 | 376 | 7 | 114 | 53.714286 | 0.377049 | 0 | 0 | 0 | 0 | 0 | 0.218085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0bc847d5457b92e1fbfbb2003b737de9b887bb66 | 7,737 | py | Python | tests/parsers/winreg_plugins/lfu.py | GalacticMaster/plaso | 0e3eed472e4ef67f619e89de9fcebba87d1923aa | [
"Apache-2.0"
] | null | null | null | tests/parsers/winreg_plugins/lfu.py | GalacticMaster/plaso | 0e3eed472e4ef67f619e89de9fcebba87d1923aa | [
"Apache-2.0"
] | null | null | null | tests/parsers/winreg_plugins/lfu.py | GalacticMaster/plaso | 0e3eed472e4ef67f619e89de9fcebba87d1923aa | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the Less Frequently Used (LFU) Windows Registry plugin."""
from __future__ import unicode_literals
import unittest
from dfdatetime import filetime as dfdatetime_filetime
from dfwinreg import definitions as dfwinreg_definitions
from dfwinreg import fake as df... | 35.168182 | 80 | 0.727672 | 880 | 7,737 | 6.131818 | 0.193182 | 0.044848 | 0.020385 | 0.024092 | 0.783173 | 0.771312 | 0.771312 | 0.73851 | 0.722387 | 0.690141 | 0 | 0.029311 | 0.170997 | 7,737 | 219 | 81 | 35.328767 | 0.811974 | 0.128603 | 0 | 0.580882 | 0 | 0 | 0.172139 | 0.09488 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.044118 | false | 0 | 0.058824 | 0 | 0.132353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0bee726fa70bf8347034c6bbd52733579d575252 | 49 | py | Python | ops_scripts/execute.py | Data-drone/s3_log_parse | 5dcb9e0081a110152874ea03216c011a81bad0ad | [
"Apache-2.0"
] | null | null | null | ops_scripts/execute.py | Data-drone/s3_log_parse | 5dcb9e0081a110152874ea03216c011a81bad0ad | [
"Apache-2.0"
] | null | null | null | ops_scripts/execute.py | Data-drone/s3_log_parse | 5dcb9e0081a110152874ea03216c011a81bad0ad | [
"Apache-2.0"
] | null | null | null | # Quick Script to execute spark-submit commands
| 16.333333 | 47 | 0.795918 | 7 | 49 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 48 | 24.5 | 0.95122 | 0.918367 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0441fa4276a856b98fe73c4c026f9874529a1783 | 104 | py | Python | msgraph_utility/api/__init__.py | hpnguyen123/msgraph-utility-cli | 742390da43b44611e8dc53b05f4acabb4c006743 | [
"MIT"
] | 1 | 2020-02-29T14:02:10.000Z | 2020-02-29T14:02:10.000Z | msgraph_utility/api/__init__.py | hpnguyen123/msgraph-utility-cli | 742390da43b44611e8dc53b05f4acabb4c006743 | [
"MIT"
] | null | null | null | msgraph_utility/api/__init__.py | hpnguyen123/msgraph-utility-cli | 742390da43b44611e8dc53b05f4acabb4c006743 | [
"MIT"
] | null | null | null | from .get import get_content, get_file, get
__all__ = [
'get_content',
'get_file',
'get',
] | 14.857143 | 43 | 0.615385 | 14 | 104 | 4 | 0.428571 | 0.357143 | 0.464286 | 0.607143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240385 | 104 | 7 | 44 | 14.857143 | 0.708861 | 0 | 0 | 0 | 0 | 0 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
044edadfea20e05693777ec496a0e3f5ca883e22 | 153 | py | Python | python/zp/primjer_09.01.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_09.01.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_09.01.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | def kaziZdravo():
print("Pozdrav svima!") #blok koji pripada funkciji
#kraj funkcije
kaziZdravo() #poziv funkcije
kaziZdravo() #opet poziv funkcije
| 21.857143 | 55 | 0.751634 | 18 | 153 | 6.388889 | 0.722222 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143791 | 153 | 6 | 56 | 25.5 | 0.877863 | 0.470588 | 0 | 0.5 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9bcc4bce66c3fdc1d8d0e2d256fc95ad9c62a3f8 | 158 | py | Python | locators/home.py | testsibirtsv/opncrt_taqc | f2f4264b8c52b0c6666dd6f3bd461973780f4b99 | [
"Apache-2.0"
] | null | null | null | locators/home.py | testsibirtsv/opncrt_taqc | f2f4264b8c52b0c6666dd6f3bd461973780f4b99 | [
"Apache-2.0"
] | null | null | null | locators/home.py | testsibirtsv/opncrt_taqc | f2f4264b8c52b0c6666dd6f3bd461973780f4b99 | [
"Apache-2.0"
] | null | null | null | """
TODO
"""
from .base import BasePageLocators
# pylint: disable=too-few-public-methods
class HomePageLocators(BasePageLocators):
"""
TODO
"""
| 13.166667 | 41 | 0.677215 | 15 | 158 | 7.133333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183544 | 158 | 11 | 42 | 14.363636 | 0.829457 | 0.310127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
50495adab7f24059f5e3d8e687e4e35c5ba2882f | 40 | py | Python | lib/hydroqc/__init__.py | KerberosMorphy/webtio-hydroqc-addon | 7db4fbb4e752ba9c340ab4bb96f30660da64b5f7 | [
"MIT"
] | null | null | null | lib/hydroqc/__init__.py | KerberosMorphy/webtio-hydroqc-addon | 7db4fbb4e752ba9c340ab4bb96f30660da64b5f7 | [
"MIT"
] | null | null | null | lib/hydroqc/__init__.py | KerberosMorphy/webtio-hydroqc-addon | 7db4fbb4e752ba9c340ab4bb96f30660da64b5f7 | [
"MIT"
] | null | null | null | """Hydro Quebec API wrapper library."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
acaf4273e00578e045008ddb654c0b6cde92e8f2 | 7,344 | py | Python | test/agent/memory/test_onpolicy_memory.py | jmribeiro/SLM-Lab | 7cf7a10e56c9558764544e7683023945c72a42a7 | [
"MIT"
] | 1,074 | 2017-11-10T02:20:09.000Z | 2022-03-31T18:14:02.000Z | test/agent/memory/test_onpolicy_memory.py | jmribeiro/SLM-Lab | 7cf7a10e56c9558764544e7683023945c72a42a7 | [
"MIT"
] | 98 | 2017-11-04T22:00:01.000Z | 2022-03-31T14:13:45.000Z | test/agent/memory/test_onpolicy_memory.py | jmribeiro/SLM-Lab | 7cf7a10e56c9558764544e7683023945c72a42a7 | [
"MIT"
] | 229 | 2018-01-07T22:39:09.000Z | 2022-03-20T12:04:31.000Z | from collections import Counter
from flaky import flaky
import numpy as np
import pytest
def memory_init_util(memory):
assert memory.size == 0
assert memory.seen_size == 0
return True
def memory_reset_util(memory, experiences):
memory.reset()
for i in range(2):
e = experiences[i]
... | 40.131148 | 111 | 0.656727 | 971 | 7,344 | 4.741504 | 0.113285 | 0.046916 | 0.093831 | 0.086881 | 0.896612 | 0.820156 | 0.76477 | 0.700261 | 0.6553 | 0.608601 | 0 | 0.015552 | 0.247004 | 7,344 | 182 | 112 | 40.351648 | 0.816998 | 0.177968 | 0 | 0.558824 | 0 | 0 | 0.027439 | 0 | 0 | 0 | 0 | 0 | 0.367647 | 1 | 0.095588 | false | 0 | 0.029412 | 0 | 0.154412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
acb90f8b90c833eb39e36aca447dee505a0d4183 | 22 | py | Python | hellorh.py | subrata-git/DO400-apps-external | 7717f3f7af133b1479720f18def68c941690865b | [
"Apache-2.0"
] | null | null | null | hellorh.py | subrata-git/DO400-apps-external | 7717f3f7af133b1479720f18def68c941690865b | [
"Apache-2.0"
] | null | null | null | hellorh.py | subrata-git/DO400-apps-external | 7717f3f7af133b1479720f18def68c941690865b | [
"Apache-2.0"
] | 1 | 2021-11-27T19:06:59.000Z | 2021-11-27T19:06:59.000Z | print("Hello RedHat")
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
acead76317b4e03412c7133db795f31c5c0f43d4 | 145 | py | Python | print_matrix.py | Guigui14460/functional-analysis-project | 6c3bb53a991d8290c7a592e85e4707ce210ad966 | [
"MIT"
] | null | null | null | print_matrix.py | Guigui14460/functional-analysis-project | 6c3bb53a991d8290c7a592e85e4707ce210ad966 | [
"MIT"
] | null | null | null | print_matrix.py | Guigui14460/functional-analysis-project | 6c3bb53a991d8290c7a592e85e4707ce210ad966 | [
"MIT"
] | null | null | null | def print_matrix(matrix, string_format="{:.2f}"):
for row in matrix:
print("\t".join([string_format.format(float(e)) for e in row]))
| 36.25 | 71 | 0.648276 | 23 | 145 | 3.956522 | 0.565217 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.165517 | 145 | 3 | 72 | 48.333333 | 0.743802 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4a15dcf88a36573dd6f48087bdfd8496255b8fc0 | 413 | py | Python | gquant/plugin_nodes/strategy/__init__.py | philtrade/gQuant | 08b2a82a257c234b92f097b925f25cab16fd0926 | [
"Apache-2.0"
] | 1 | 2021-07-09T14:49:08.000Z | 2021-07-09T14:49:08.000Z | gquant/plugin_nodes/strategy/__init__.py | philtrade/gQuant | 08b2a82a257c234b92f097b925f25cab16fd0926 | [
"Apache-2.0"
] | null | null | null | gquant/plugin_nodes/strategy/__init__.py | philtrade/gQuant | 08b2a82a257c234b92f097b925f25cab16fd0926 | [
"Apache-2.0"
] | 1 | 2021-03-22T19:54:38.000Z | 2021-03-22T19:54:38.000Z | from .movingAverageStrategyNode import MovingAverageStrategyNode
from .portExpMovingAverageStrategyNode import (
PortExpMovingAverageStrategyNode, CpuPortExpMovingAverageStrategyNode)
from .xgboostStrategyNode import XGBoostStrategyNode
__all__ = ["MovingAverageStrategyNode",
"PortExpMovingAverageStrate... | 41.3 | 74 | 0.811138 | 18 | 413 | 18.388889 | 0.388889 | 0.404834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140436 | 413 | 9 | 75 | 45.888889 | 0.932394 | 0 | 0 | 0 | 0 | 0 | 0.268765 | 0.22276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 5 |
4a1c319ba07dd615eabb6cadca5e28472498e35e | 97 | py | Python | WeatherPy/api_keys.py | i-kkwk/PythonAPI_challenge | bd2924e35a64e7f37327f4573abd3ac403d9a019 | [
"ADSL"
] | null | null | null | WeatherPy/api_keys.py | i-kkwk/PythonAPI_challenge | bd2924e35a64e7f37327f4573abd3ac403d9a019 | [
"ADSL"
] | null | null | null | WeatherPy/api_keys.py | i-kkwk/PythonAPI_challenge | bd2924e35a64e7f37327f4573abd3ac403d9a019 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "KEY HERE PLEASE"
# Google API Key
g_key = "KEY HERE PLEASE"
| 16.166667 | 27 | 0.721649 | 16 | 97 | 4.25 | 0.4375 | 0.264706 | 0.294118 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 97 | 5 | 28 | 19.4 | 0.871795 | 0.381443 | 0 | 0 | 0 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c5a2a4c443c93752a858356a292c452a541dc66c | 122 | py | Python | server/server/chat/views.py | Shadowsych/matchus | b66241a873ae6bf12b8b7380c42c9920de9c2110 | [
"AML"
] | 1 | 2021-01-10T04:46:12.000Z | 2021-01-10T04:46:12.000Z | server/server/chat/views.py | Shadowsych/matchus | b66241a873ae6bf12b8b7380c42c9920de9c2110 | [
"AML"
] | null | null | null | server/server/chat/views.py | Shadowsych/matchus | b66241a873ae6bf12b8b7380c42c9920de9c2110 | [
"AML"
] | null | null | null | from rest_framework.views import APIView
class IndexView(APIView):
def get(self, request):
return Response()
| 20.333333 | 40 | 0.721311 | 15 | 122 | 5.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 122 | 5 | 41 | 24.4 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
c5e90be67fcd5efcb19fa87f4a8c50eb7b4df7a7 | 161 | py | Python | app/__main__.py | 331leo/HyundaiOC_Backend | 71d525d2ac036a884555c38b8b9c80d42a0e49db | [
"MIT"
] | null | null | null | app/__main__.py | 331leo/HyundaiOC_Backend | 71d525d2ac036a884555c38b8b9c80d42a0e49db | [
"MIT"
] | null | null | null | app/__main__.py | 331leo/HyundaiOC_Backend | 71d525d2ac036a884555c38b8b9c80d42a0e49db | [
"MIT"
] | 1 | 2022-03-05T02:29:42.000Z | 2022-03-05T02:29:42.000Z | import uvicorn
from dotenv import load_dotenv
load_dotenv()
from os import getenv
uvicorn.run("app:app", host="0.0.0.0", port=int(getenv("PORT")), reload=True) | 23 | 77 | 0.745342 | 28 | 161 | 4.214286 | 0.535714 | 0.050847 | 0.050847 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.099379 | 161 | 7 | 77 | 23 | 0.786207 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a8b479aba16651bcef4efb5f6bfaa32727d61c60 | 12 | py | Python | testit_p002.py | SmirnovaAlina/VCS-P002 | cb9144086e42e3b53db9be0601a9213da7a2afde | [
"MIT"
] | null | null | null | testit_p002.py | SmirnovaAlina/VCS-P002 | cb9144086e42e3b53db9be0601a9213da7a2afde | [
"MIT"
] | null | null | null | testit_p002.py | SmirnovaAlina/VCS-P002 | cb9144086e42e3b53db9be0601a9213da7a2afde | [
"MIT"
] | null | null | null | print("ccc") | 12 | 12 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 | 1 | 12 | 12 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
766d6251541a8af4b0a13477070dd939f142e397 | 98 | py | Python | xcfp/__init__.py | gnutrino/xcfp | 54d5840d4dc4b7f5f9d304028f82e30f648cca3a | [
"MIT"
] | 3 | 2018-05-04T04:36:27.000Z | 2021-04-10T06:04:27.000Z | xcfp/__init__.py | gnutrino/xcfp | 54d5840d4dc4b7f5f9d304028f82e30f648cca3a | [
"MIT"
] | null | null | null | xcfp/__init__.py | gnutrino/xcfp | 54d5840d4dc4b7f5f9d304028f82e30f648cca3a | [
"MIT"
] | 3 | 2016-05-07T00:38:35.000Z | 2019-01-16T17:25:08.000Z | from .character import Character
from .properties import Property
from .pool import CharacterPool
| 24.5 | 32 | 0.846939 | 12 | 98 | 6.916667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 3 | 33 | 32.666667 | 0.965116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
768ac56745fe4733f4d6e7d3f9c4bd525ede052f | 82 | py | Python | python/reference/url/__init__.py | ICTU/document-as-code | e65fddb94513e7c2f54f248b4ce69e9e10ce42f5 | [
"Apache-2.0"
] | 2 | 2021-01-09T17:00:51.000Z | 2021-02-19T09:35:26.000Z | python/reference/url/__init__.py | ICTU/document-as-code | e65fddb94513e7c2f54f248b4ce69e9e10ce42f5 | [
"Apache-2.0"
] | null | null | null | python/reference/url/__init__.py | ICTU/document-as-code | e65fddb94513e7c2f54f248b4ce69e9e10ce42f5 | [
"Apache-2.0"
] | 1 | 2020-02-24T15:50:05.000Z | 2020-02-24T15:50:05.000Z | """
references through URLs
"""
from .confluence_url import ConfluenceUrl
| 16.4 | 42 | 0.707317 | 8 | 82 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 82 | 4 | 43 | 20.5 | 0.876923 | 0.280488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
76bd76bb08979de66bc9212fac3b65297412eaf9 | 156 | py | Python | videoanalyst/model/task_model/taskmodel_base.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | 1 | 2021-05-24T10:08:51.000Z | 2021-05-24T10:08:51.000Z | videoanalyst/model/task_model/taskmodel_base.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | videoanalyst/model/task_model/taskmodel_base.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*
from videoanalyst.utils import Registry
TRACK_TASKMODELS = Registry('TRACK_TASKMODELS')
VOS_TASKMODELS = Registry('VOS_TASKMODELS')
| 26 | 47 | 0.775641 | 18 | 156 | 6.5 | 0.611111 | 0.222222 | 0.393162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.102564 | 156 | 5 | 48 | 31.2 | 0.828571 | 0.128205 | 0 | 0 | 0 | 0 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f12118df585516c16a61ea702bb352c1369f5a2 | 23,338 | py | Python | tests/asp/cautious/graph.colouring.3.40.5_3.asp.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/cautious/graph.colouring.3.40.5_3.asp.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/cautious/graph.colouring.3.40.5_3.asp.cautious.asp.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
1 2 0 0
1 3 0 0
1 4 0 0
1 5 0 0
1 6 0 0
1 7 0 0
1 8 0 0
1 9 0 0
1 10 0 0
1 11 0 0
1 12 0 0
1 13 0 0
1 14 0 0
1 15 0 0
1 16 0 0
1 17 0 0
1 18 0 0
1 19 0 0
1 20 0 0
1 21 0 0
1 22 0 0
1 23 0 0
1 24 0 0
1 25 0 0
1 26 0 0
1 27 0 0
1 28 0 0
1 29 0 0
1 30 0 0
1 31 0 0
1 32 0 0
1 33 0 0
1 34 0 0
1 35 0 0
1 36 0 0
1... | 14.092995 | 17 | 0.627003 | 8,563 | 23,338 | 1.708864 | 0.086068 | 0.108385 | 0.137976 | 0.183694 | 0.459031 | 0.008201 | 0 | 0 | 0 | 0 | 0 | 0.94943 | 0.356886 | 23,338 | 1,655 | 18 | 14.101511 | 0.025518 | 0 | 0 | 0.001208 | 0 | 0 | 0.998672 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.