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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7e531ed52b747cc6b76b2ae7e55a9d8857f606fc | 35 | py | Python | sepadd/__init__.py | CaptainConsternant/python-sepaxml | da33e3b8ccf02657f6bb351c4515f820d60eb847 | [
"MIT"
] | 53 | 2018-07-24T17:01:47.000Z | 2022-03-25T10:59:04.000Z | sepadd/__init__.py | CaptainConsternant/python-sepaxml | da33e3b8ccf02657f6bb351c4515f820d60eb847 | [
"MIT"
] | 30 | 2018-08-27T10:11:07.000Z | 2022-03-16T21:40:43.000Z | sepadd/__init__.py | CaptainConsternant/python-sepaxml | da33e3b8ccf02657f6bb351c4515f820d60eb847 | [
"MIT"
] | 29 | 2018-09-04T09:50:32.000Z | 2022-02-16T14:32:11.000Z | from sepaxml import SepaDD # noqa
| 17.5 | 34 | 0.771429 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.964286 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e1b0df56d7290e72e86a2975236ca4f76dbfdfc | 17,897 | py | Python | scripts/models.py | BeckResearchLab/USP-inhibition | 9ade0cf5f19e92a5e4d9579cd2b3012590c1a365 | [
"BSD-3-Clause"
] | 1 | 2017-02-20T20:13:13.000Z | 2017-02-20T20:13:13.000Z | scripts/models.py | BeckResearchLab/USP-inhibition | 9ade0cf5f19e92a5e4d9579cd2b3012590c1a365 | [
"BSD-3-Clause"
] | 1 | 2017-04-20T16:41:16.000Z | 2017-04-20T16:57:39.000Z | scripts/models.py | BeckResearchLab/USP-inhibition | 9ade0cf5f19e92a5e4d9579cd2b3012590c1a365 | [
"BSD-3-Clause"
] | 4 | 2017-04-04T16:38:24.000Z | 2019-07-02T11:27:46.000Z | #!/usr/bin/env python
"""
Construct a neural network model, support vector and decision trees regression models from the data
"""
import pickle
import lasagne
import numpy as np
import sklearn
from lasagne.layers import DenseLayer
from lasagne.layers import InputLayer
from nolearn.lasagne import NeuralNet
from scipy... | 44.409429 | 105 | 0.708443 | 2,419 | 17,897 | 4.990079 | 0.090947 | 0.027338 | 0.094441 | 0.132218 | 0.853533 | 0.843758 | 0.836633 | 0.836633 | 0.836633 | 0.829674 | 0 | 0.008131 | 0.2097 | 17,897 | 402 | 106 | 44.519901 | 0.845305 | 0.268872 | 0 | 0.591304 | 0 | 0 | 0.063154 | 0.023987 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03913 | false | 0 | 0.065217 | 0 | 0.143478 | 0.017391 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e6cc5c869f970643e4ed3e6d6db2a1c51acaa15 | 87 | py | Python | veros_bgc/setup/bgc_global_4deg/__init__.py | AkasDutta/veros-bgc | 47acef00e53516e2394313282e21d403526f5f8b | [
"MIT"
] | 2 | 2020-06-08T09:20:36.000Z | 2022-01-03T07:02:12.000Z | veros_bgc/setup/bgc_global_4deg/__init__.py | AkasDutta/veros-bgc | 47acef00e53516e2394313282e21d403526f5f8b | [
"MIT"
] | null | null | null | veros_bgc/setup/bgc_global_4deg/__init__.py | AkasDutta/veros-bgc | 47acef00e53516e2394313282e21d403526f5f8b | [
"MIT"
] | 1 | 2021-11-23T17:20:11.000Z | 2021-11-23T17:20:11.000Z | from veros_bgc.setup.bgc_global_4deg.bgc_global_four_degree import GlobalFourDegreeBGC
| 43.5 | 86 | 0.91954 | 13 | 87 | 5.692308 | 0.769231 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.045977 | 87 | 1 | 87 | 87 | 0.879518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7eda2ca41cb82478006efc88697e52f1165eeb08 | 110 | py | Python | peacemakr/exception/missing_persister.py | peacemakr-io/peacemakr-python-sdk | 180bbc2e480ea855dddf0e28c2f27e83a17bfb84 | [
"Apache-2.0"
] | 3 | 2020-01-27T10:07:29.000Z | 2021-05-17T16:45:59.000Z | peacemakr/exception/missing_persister.py | peacemakr-io/peacemakr-python-sdk | 180bbc2e480ea855dddf0e28c2f27e83a17bfb84 | [
"Apache-2.0"
] | 7 | 2020-06-24T03:55:36.000Z | 2021-03-30T00:43:51.000Z | peacemakr/exception/missing_persister.py | peacemakr-io/peacemakr-python-sdk | 180bbc2e480ea855dddf0e28c2f27e83a17bfb84 | [
"Apache-2.0"
] | 1 | 2021-04-27T04:12:30.000Z | 2021-04-27T04:12:30.000Z | from peacemakr.exception.peacemakr import PeacemakrError
class MissingPersisterError(PeacemakrError):
pass
| 22 | 56 | 0.863636 | 10 | 110 | 9.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 110 | 4 | 57 | 27.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7d3e18a86cb943302d2948e925215ea084b3bc78 | 43 | py | Python | TestPyqt/util/printHello.py | ppcrong/TestPyqt | b7294f88d99c0864abe7f9d2cb4a006c293a2ad7 | [
"Apache-2.0"
] | null | null | null | TestPyqt/util/printHello.py | ppcrong/TestPyqt | b7294f88d99c0864abe7f9d2cb4a006c293a2ad7 | [
"Apache-2.0"
] | null | null | null | TestPyqt/util/printHello.py | ppcrong/TestPyqt | b7294f88d99c0864abe7f9d2cb4a006c293a2ad7 | [
"Apache-2.0"
] | null | null | null | def runscript():
print('Hello World!')
| 14.333333 | 25 | 0.627907 | 5 | 43 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 26 | 21.5 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
adb41daf81408ccc93317c9ea7ba6360a0ef5677 | 85 | py | Python | Lib/test/lazyimports/deferred_resolve_failure/utilities/type_from_ast.py | mananpal1997/cinder | a8804cc6e3a5861463ff959abcd09ad60a0763e5 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/lazyimports/deferred_resolve_failure/utilities/type_from_ast.py | mananpal1997/cinder | a8804cc6e3a5861463ff959abcd09ad60a0763e5 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/lazyimports/deferred_resolve_failure/utilities/type_from_ast.py | mananpal1997/cinder | a8804cc6e3a5861463ff959abcd09ad60a0763e5 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | from ..type import GraphQLSchema
def type_from_ast(schema: GraphQLSchema):
pass
| 17 | 41 | 0.776471 | 11 | 85 | 5.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 4 | 42 | 21.25 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
70d0e9b1a4f8db891688801fad5c31465eea9476 | 33 | py | Python | player/__init__.py | TvSeriesFans/CineMonster | 036a3223618afd536932d21b0e86d18d0fba3b28 | [
"Apache-2.0"
] | 15 | 2017-09-17T17:52:43.000Z | 2020-08-31T15:41:12.000Z | player/__init__.py | TvSeriesFans/CineMonster | 036a3223618afd536932d21b0e86d18d0fba3b28 | [
"Apache-2.0"
] | 13 | 2017-03-14T13:24:14.000Z | 2021-08-20T13:52:54.000Z | player/__init__.py | TvSeriesFans/CineMonster | 036a3223618afd536932d21b0e86d18d0fba3b28 | [
"Apache-2.0"
] | 27 | 2017-07-01T18:33:49.000Z | 2021-08-05T09:13:18.000Z | from player.Player import Player
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb74690f8139b3ebd9e675d4ff5ac36b272ca8f6 | 1,026 | py | Python | unit_tests/core/cookies/test_views.py | code-review-doctor/lite-frontend-1 | cb3b885bb389ea33ef003c916bea7b03a36d86bb | [
"MIT"
] | 1 | 2021-08-16T09:19:32.000Z | 2021-08-16T09:19:32.000Z | unit_tests/core/cookies/test_views.py | code-review-doctor/lite-frontend-1 | cb3b885bb389ea33ef003c916bea7b03a36d86bb | [
"MIT"
] | 1 | 2021-09-24T10:58:08.000Z | 2021-09-24T13:32:30.000Z | export_support/cookies/tests/test_views.py | uktrade/export-support | 5f4f445ddb1836737484439f9f81f05d3fc1aaa9 | [
"MIT"
] | null | null | null | from django.urls import reverse
def test_prev_page_allowed_path(client):
url = reverse("cookies:cookies-preferences")
response = client.get(f"{url}?from=/next-url/")
assert response.status_code == 200
assert response.context["prev_page"] == "/next-url/"
url = reverse("cookies:cookies-preferences"... | 36.642857 | 73 | 0.706628 | 134 | 1,026 | 5.261194 | 0.268657 | 0.158865 | 0.096454 | 0.13617 | 0.808511 | 0.740426 | 0.740426 | 0.740426 | 0.740426 | 0.740426 | 0 | 0.013529 | 0.135478 | 1,026 | 27 | 74 | 38 | 0.781285 | 0 | 0 | 0.5 | 0 | 0 | 0.309942 | 0.125731 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.15 | false | 0 | 0.05 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb8686a1dde192080fd9d92d57ea8101e52e61bd | 4,319 | py | Python | nitorch/tests/test_fft.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/tests/test_fft.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/tests/test_fft.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | import pytest
import torch
from nitorch.core.optionals import try_import
from nitorch.core import fft as nifft
pyfft = try_import('torch.fft', _as=True)
_torch_has_old_fft = nifft._torch_has_old_fft
_torch_has_complex = nifft._torch_has_complex
_torch_has_fft_module = nifft._torch_has_fft_module
_torch_has_fftshift =... | 32.719697 | 78 | 0.631628 | 680 | 4,319 | 3.854412 | 0.092647 | 0.085464 | 0.079359 | 0.064861 | 0.888211 | 0.879054 | 0.853491 | 0.832507 | 0.808852 | 0.808852 | 0 | 0.050488 | 0.192869 | 4,319 | 131 | 79 | 32.969466 | 0.701377 | 0 | 0 | 0.660194 | 0 | 0 | 0.015516 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 1 | 0.038835 | false | 0 | 0.067961 | 0 | 0.145631 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb945213eb343aae33a206a4afc02487c8db444f | 176 | py | Python | emtf_nnet/keras/quantization/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | emtf_nnet/keras/quantization/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | emtf_nnet/keras/quantization/__init__.py | jiafulow/emtf-nnet | 70a6c747c221178f9db940197ea886bdb60bf3ba | [
"Apache-2.0"
] | null | null | null | from .quantize_model import quantize_annotate_model, quantize_model, quantize_scope
from tensorflow_model_optimization.python.core.quantization.keras import quantize_annotate
| 44 | 90 | 0.897727 | 22 | 176 | 6.818182 | 0.545455 | 0.173333 | 0.293333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 176 | 3 | 91 | 58.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cba7db3f25732397f118d3ec9c69484fd99af5aa | 35 | py | Python | src/CryptoPlus/Util/randpool.py | koujiandou-mhfg/python-cryptoplus | a5a1f8aecce4ddf476b2d80b586822d9e91eeb7d | [
"MIT"
] | 64 | 2015-01-15T10:41:41.000Z | 2022-01-10T23:51:42.000Z | src/CryptoPlus/Util/randpool.py | koujiandou-mhfg/python-cryptoplus | a5a1f8aecce4ddf476b2d80b586822d9e91eeb7d | [
"MIT"
] | 5 | 2016-01-05T17:48:22.000Z | 2018-02-22T04:32:17.000Z | src/CryptoPlus/Util/randpool.py | koujiandou-mhfg/python-cryptoplus | a5a1f8aecce4ddf476b2d80b586822d9e91eeb7d | [
"MIT"
] | 53 | 2015-04-14T00:17:02.000Z | 2022-03-12T05:32:05.000Z | from Crypto.Util.randpool import *
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cba7ec42248377443ecfec4c0c0072be2e6cb90d | 90 | py | Python | tests/spec_test_cases/test_containers.py | mkwiatkowski/pinocchio | 1281aa42a8f1f950c8987cde6df16570d353ee2f | [
"MIT"
] | 10 | 2015-01-23T18:53:23.000Z | 2022-03-26T06:09:27.000Z | tests/spec_test_cases/test_containers.py | mkwiatkowski/pinocchio | 1281aa42a8f1f950c8987cde6df16570d353ee2f | [
"MIT"
] | 7 | 2015-01-18T17:28:38.000Z | 2021-05-18T10:29:24.000Z | tests/spec_test_cases/test_containers.py | mkwiatkowski/pinocchio | 1281aa42a8f1f950c8987cde6df16570d353ee2f | [
"MIT"
] | 2 | 2015-01-23T18:58:54.000Z | 2015-09-14T10:09:51.000Z | def test_are_marked_as_deprecated():
pass
def test_doesnt_work_with_sets():
pass
| 15 | 36 | 0.766667 | 14 | 90 | 4.357143 | 0.785714 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 37 | 18 | 0.813333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cbe32f16c66a15823f2e6cbe36a5cfc2916c536f | 93 | py | Python | spring_cloud/gateway/pathpattern/__init__.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-06T09:48:23.000Z | 2020-10-07T13:19:46.000Z | spring_cloud/gateway/pathpattern/__init__.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-05T09:57:01.000Z | 2020-10-12T19:52:48.000Z | spring_cloud/gateway/pathpattern/__init__.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 8 | 2020-10-05T06:34:49.000Z | 2020-10-07T13:19:46.000Z | # -*- coding: utf-8 -*-
from .elements import *
from .parser import *
from .pattern import *
| 18.6 | 23 | 0.655914 | 12 | 93 | 5.083333 | 0.666667 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.182796 | 93 | 4 | 24 | 23.25 | 0.789474 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1db9fb3f09abf32caf22270167f9134d59878fb2 | 27 | py | Python | fastai/utils/__init__.py | bhoomit/fastai | 45c8e42bffd8d6cb4c9dc709136be566666f21b3 | [
"Apache-2.0"
] | 2 | 2019-03-06T23:19:16.000Z | 2020-08-12T23:44:31.000Z | fastai/utils/__init__.py | bhoomit/fastai | 45c8e42bffd8d6cb4c9dc709136be566666f21b3 | [
"Apache-2.0"
] | 3 | 2021-05-20T19:59:09.000Z | 2022-02-26T09:11:29.000Z | fastai/utils/__init__.py | bhoomit/fastai | 45c8e42bffd8d6cb4c9dc709136be566666f21b3 | [
"Apache-2.0"
] | 2 | 2018-09-19T09:35:09.000Z | 2018-10-03T09:08:12.000Z | from .collect_env import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3824889bf7f50fb993c7a301f9b378cd49cc8917 | 29 | py | Python | bin/test_mo519.py | maxozo/nf_example | c6746c075e88bcc09465bcfeb2c7cecae0e118ca | [
"MIT"
] | null | null | null | bin/test_mo519.py | maxozo/nf_example | c6746c075e88bcc09465bcfeb2c7cecae0e118ca | [
"MIT"
] | null | null | null | bin/test_mo519.py | maxozo/nf_example | c6746c075e88bcc09465bcfeb2c7cecae0e118ca | [
"MIT"
] | null | null | null |
print("Yes, I am running!") | 9.666667 | 27 | 0.62069 | 5 | 29 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 3 | 27 | 9.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6987066e8d1415b6ed66059b2dc92722e8d20a07 | 5,972 | py | Python | sdk/python/tests/integration/registration/test_cli_apply_duplicated_featureview_names.py | danilopeixoto/feast | 57d134355364654a2275b477b3b82b149f0779ca | [
"Apache-2.0"
] | 2,258 | 2020-05-17T02:41:07.000Z | 2022-03-31T22:30:57.000Z | sdk/python/tests/integration/registration/test_cli_apply_duplicated_featureview_names.py | danilopeixoto/feast | 57d134355364654a2275b477b3b82b149f0779ca | [
"Apache-2.0"
] | 1,768 | 2020-05-16T05:37:28.000Z | 2022-03-31T23:30:05.000Z | sdk/python/tests/integration/registration/test_cli_apply_duplicated_featureview_names.py | danilopeixoto/feast | 57d134355364654a2275b477b3b82b149f0779ca | [
"Apache-2.0"
] | 415 | 2020-05-16T18:21:27.000Z | 2022-03-31T09:59:10.000Z | import tempfile
from pathlib import Path
from textwrap import dedent
from tests.utils.cli_utils import CliRunner, get_example_repo
def test_cli_apply_duplicated_featureview_names() -> None:
"""
Test apply feature views with duplicated names and single py file in a feature repo using CLI
"""
with tem... | 33.363128 | 104 | 0.610348 | 711 | 5,972 | 4.841069 | 0.151899 | 0.041836 | 0.044451 | 0.030506 | 0.838466 | 0.838466 | 0.822487 | 0.798664 | 0.7638 | 0.734166 | 0 | 0.003853 | 0.304588 | 5,972 | 178 | 105 | 33.550562 | 0.824946 | 0.10432 | 0 | 0.664122 | 0 | 0 | 0.360901 | 0.092922 | 0 | 0 | 0 | 0 | 0.045802 | 1 | 0.030534 | false | 0 | 0.083969 | 0 | 0.114504 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
69d7fd0f4ebc6397446ca038d9fe8a7ba2f84d55 | 37 | py | Python | tests/unit/cli/test_evaluate.py | flickerfly/anchore-cli | bdfd0252db8d159191a39b9f7dd360fc8de3d20a | [
"Apache-2.0"
] | null | null | null | tests/unit/cli/test_evaluate.py | flickerfly/anchore-cli | bdfd0252db8d159191a39b9f7dd360fc8de3d20a | [
"Apache-2.0"
] | 1 | 2021-01-13T22:22:41.000Z | 2021-01-13T22:23:26.000Z | tests/unit/cli/test_evaluate.py | flickerfly/anchore-cli | bdfd0252db8d159191a39b9f7dd360fc8de3d20a | [
"Apache-2.0"
] | null | null | null | from anchorecli.cli import evaluate
| 12.333333 | 35 | 0.837838 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
385dabb70926ef3711b1127953c1117097608bd2 | 60 | py | Python | HW/import_monster/src/__init__.py | SaidMuratbekov/msai-python | fc694d9d6571af8dbdf162a35f98b6ffdd079396 | [
"MIT"
] | null | null | null | HW/import_monster/src/__init__.py | SaidMuratbekov/msai-python | fc694d9d6571af8dbdf162a35f98b6ffdd079396 | [
"MIT"
] | null | null | null | HW/import_monster/src/__init__.py | SaidMuratbekov/msai-python | fc694d9d6571af8dbdf162a35f98b6ffdd079396 | [
"MIT"
] | null | null | null | from . import methods_importer # noga
from . import * # noga | 30 | 37 | 0.733333 | 8 | 60 | 5.375 | 0.625 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 2 | 38 | 30 | 0.877551 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38806e810e77010e7bd4578fd89fddcb59951a4a | 102 | py | Python | app/handlers/homework/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | 1 | 2021-12-11T07:41:38.000Z | 2021-12-11T07:41:38.000Z | app/handlers/homework/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | 8 | 2021-05-08T21:48:34.000Z | 2022-01-20T15:42:00.000Z | app/handlers/homework/__init__.py | vitaliy-ukiru/math-bot | 72c116b4f5a4aa6a5f8eaae67ecbbf3df821f9e9 | [
"MIT"
] | null | null | null | __all__ = ("dp",)
from .commands import dp
from .callback_mode import dp
from .inline_mode import dp
| 17 | 29 | 0.754902 | 16 | 102 | 4.4375 | 0.5 | 0.253521 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 5 | 30 | 20.4 | 0.825581 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38884279b7f04430315f5cb3aa3ddb2510ef320a | 37 | py | Python | bolsa/urls.py | IgorAlmeeida/pet-site | 265c1d622548093c4b58679efe5f8b8f3c7ebb84 | [
"MIT"
] | null | null | null | bolsa/urls.py | IgorAlmeeida/pet-site | 265c1d622548093c4b58679efe5f8b8f3c7ebb84 | [
"MIT"
] | null | null | null | bolsa/urls.py | IgorAlmeeida/pet-site | 265c1d622548093c4b58679efe5f8b8f3c7ebb84 | [
"MIT"
] | null | null | null | from django.urls import path, include | 37 | 37 | 0.837838 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a06af3fc074cd117eaa9c0c366a5228436c4df4 | 167 | py | Python | backend/trips/admin.py | repeating/PoputchikiInno | 54b60cfd3c40a25357667c4044fd477f3b6b9152 | [
"CC-BY-4.0"
] | 20 | 2021-09-23T16:33:34.000Z | 2022-01-08T08:56:10.000Z | backend/trips/admin.py | repeating/PoputchikiInno | 54b60cfd3c40a25357667c4044fd477f3b6b9152 | [
"CC-BY-4.0"
] | null | null | null | backend/trips/admin.py | repeating/PoputchikiInno | 54b60cfd3c40a25357667c4044fd477f3b6b9152 | [
"CC-BY-4.0"
] | 2 | 2021-09-23T16:31:39.000Z | 2021-12-17T01:02:01.000Z | from django.contrib import admin
from .models import CarTrip, Relation
admin.site.register(CarTrip)
from django.contrib import admin
admin.site.register(Relation)
| 16.7 | 37 | 0.814371 | 23 | 167 | 5.913043 | 0.434783 | 0.147059 | 0.25 | 0.338235 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113772 | 167 | 9 | 38 | 18.555556 | 0.918919 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2a1d665db4aa7f8019dbeb2f16897614a25a48f2 | 8,167 | py | Python | pybargain_protocol/tests/test_bargaining_proposal.py | LaurentMT/pybargain_protocol | 3b4c6040ec3562ce6921f917c97a9931d5c6e5de | [
"MIT"
] | 1 | 2015-06-30T15:34:41.000Z | 2015-06-30T15:34:41.000Z | pybargain_protocol/tests/test_bargaining_proposal.py | LaurentMT/pybargain_protocol | 3b4c6040ec3562ce6921f917c97a9931d5c6e5de | [
"MIT"
] | null | null | null | pybargain_protocol/tests/test_bargaining_proposal.py | LaurentMT/pybargain_protocol | 3b4c6040ec3562ce6921f917c97a9931d5c6e5de | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Version: 0.0.1
Python library for the bargaining protocol
'''
import json
import unittest
from pybargain_protocol.constants import *
from pybargain_protocol.bargaining_message import BargainingMessage
from pybargain_protocol.tests.helpers import build_valid_single_tx, b... | 41.247475 | 143 | 0.681401 | 958 | 8,167 | 5.496868 | 0.123173 | 0.05469 | 0.082036 | 0.104823 | 0.817888 | 0.802317 | 0.767755 | 0.738891 | 0.68572 | 0.63046 | 0 | 0.014233 | 0.242929 | 8,167 | 198 | 144 | 41.247475 | 0.837458 | 0.154157 | 0 | 0.544554 | 0 | 0 | 0.027803 | 0.026594 | 0 | 0 | 0 | 0 | 0.425743 | 1 | 0.09901 | false | 0 | 0.059406 | 0 | 0.168317 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a5d2f166480069ad31b757653d2a473e58eda46 | 71 | py | Python | ss_generator/ca_tracing/__init__.py | xingjiepan/alpha_helix_generator | 2b35691b790e6363d5c4897a72c3efa8556d0143 | [
"BSD-3-Clause"
] | null | null | null | ss_generator/ca_tracing/__init__.py | xingjiepan/alpha_helix_generator | 2b35691b790e6363d5c4897a72c3efa8556d0143 | [
"BSD-3-Clause"
] | null | null | null | ss_generator/ca_tracing/__init__.py | xingjiepan/alpha_helix_generator | 2b35691b790e6363d5c4897a72c3efa8556d0143 | [
"BSD-3-Clause"
] | null | null | null | from . import alpha_helix
from . import beta_sheet
from . import basic
| 17.75 | 25 | 0.788732 | 11 | 71 | 4.909091 | 0.636364 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 26 | 23.666667 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a8d088e69e650c0af1093bde0cb6d68149eeefb | 7,530 | py | Python | utils/Category_Model.py | bamdart/Photo-Filter-Recommendation | 60032ebbc8891536b929e0aea17e98723ae346ad | [
"MIT"
] | null | null | null | utils/Category_Model.py | bamdart/Photo-Filter-Recommendation | 60032ebbc8891536b929e0aea17e98723ae346ad | [
"MIT"
] | null | null | null | utils/Category_Model.py | bamdart/Photo-Filter-Recommendation | 60032ebbc8891536b929e0aea17e98723ae346ad | [
"MIT"
] | null | null | null | import keras
from keras.models import Model
from keras.layers import *
from utils.shuffleNet_v2 import *
from utils.module import *
# output_filters = 128
def block(x, filters):
filters = filters // 4
x1 = Conv2D(filters = filters, kernel_size = (3, 3), strides = (1, 1), padding = 'same')(x)
x1 = BatchNor... | 39.424084 | 108 | 0.580744 | 1,079 | 7,530 | 3.967563 | 0.07785 | 0.03644 | 0.051857 | 0.112357 | 0.838122 | 0.836253 | 0.825742 | 0.786031 | 0.782527 | 0.782527 | 0 | 0.064866 | 0.228154 | 7,530 | 190 | 109 | 39.631579 | 0.671714 | 0.55166 | 0 | 0.435484 | 0 | 0 | 0.02288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.080645 | 0 | 0.145161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aaa4a9a620748cbcbd3827006950798c8fb88ae6 | 190 | py | Python | websearch/SearchApp/views.py | AdaFactor/OpenMarathon-Websearch | 505305cd2977f083b9685a7f81b489e0865f8bc3 | [
"MIT"
] | null | null | null | websearch/SearchApp/views.py | AdaFactor/OpenMarathon-Websearch | 505305cd2977f083b9685a7f81b489e0865f8bc3 | [
"MIT"
] | null | null | null | websearch/SearchApp/views.py | AdaFactor/OpenMarathon-Websearch | 505305cd2977f083b9685a7f81b489e0865f8bc3 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'SearchApp/index.html')
def yourimages(request):
return render(request, 'SearchApp/yourimages.html') | 23.75 | 55 | 0.763158 | 23 | 190 | 6.304348 | 0.521739 | 0.17931 | 0.262069 | 0.358621 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 190 | 8 | 55 | 23.75 | 0.873494 | 0 | 0 | 0 | 0 | 0 | 0.235602 | 0.13089 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
aaa8c5382aeef570dc3972361e76cee3240dbadc | 44 | py | Python | test/integration/test_test.py | Loopring/hummingbot-deprecated | 43be8574ed9efd405aeee13a34c7a87ee732c7aa | [
"Apache-2.0"
] | null | null | null | test/integration/test_test.py | Loopring/hummingbot-deprecated | 43be8574ed9efd405aeee13a34c7a87ee732c7aa | [
"Apache-2.0"
] | null | null | null | test/integration/test_test.py | Loopring/hummingbot-deprecated | 43be8574ed9efd405aeee13a34c7a87ee732c7aa | [
"Apache-2.0"
] | 1 | 2021-11-23T19:59:17.000Z | 2021-11-23T19:59:17.000Z | import conf
import hummingbot
print("Done") | 11 | 17 | 0.795455 | 6 | 44 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 4 | 18 | 11 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aab4bd4fe7d78c64db7bb43a282f19f125c54cc9 | 43 | py | Python | virtual/lib/python3.6/site-packages/pylint/test/functional/old_division_manually.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 69 | 2019-02-18T12:07:35.000Z | 2022-03-12T10:38:32.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/old_division_manually.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 32 | 2018-05-01T05:24:43.000Z | 2022-03-11T23:20:39.000Z | virtual/lib/python3.6/site-packages/pylint/test/functional/old_division_manually.py | drewheathens/The-Moringa-Tribune | 98ee4d63c9df6f1f7497fc6876960a822d914500 | [
"MIT"
] | 88 | 2016-11-27T02:16:11.000Z | 2020-02-28T05:10:26.000Z | from __future__ import division
print 1 / 3 | 21.5 | 31 | 0.813953 | 7 | 43 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.162791 | 43 | 2 | 32 | 21.5 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
2aa4fe58d568be23c63c7774f00a06cc50ed53c0 | 90 | py | Python | src/stk/molecular/molecules/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | src/stk/molecular/molecules/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | src/stk/molecular/molecules/__init__.py | fiszczyp/stk | 56e75c493a472d98ccbf3af14cc9ce7f12cbe3d7 | [
"MIT"
] | null | null | null | from .molecule import *
from .building_block import *
from .constructed_molecule import *
| 22.5 | 35 | 0.8 | 11 | 90 | 6.363636 | 0.545455 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 3 | 36 | 30 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2aea8ce6899cd446fd0ae8e44117bf8bc3dc1ca9 | 44 | py | Python | flask_api/app/__init__.py | brennanhfredericks/network-monitor-server | 7c811d7851aee5d069569306c46dff39d8d52400 | [
"MIT"
] | null | null | null | flask_api/app/__init__.py | brennanhfredericks/network-monitor-server | 7c811d7851aee5d069569306c46dff39d8d52400 | [
"MIT"
] | null | null | null | flask_api/app/__init__.py | brennanhfredericks/network-monitor-server | 7c811d7851aee5d069569306c46dff39d8d52400 | [
"MIT"
] | null | null | null | from .app import app
from .common import db
| 14.666667 | 22 | 0.772727 | 8 | 44 | 4.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 23 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
630271810c2da572d2ec4c4506dcd1ac0fc339d5 | 2,003 | py | Python | kvdroid/jclass/android/app.py | kvdroid/Kvdroid | 8df0712f93fd3908a90792186ca7ee351c3d654e | [
"MIT"
] | 21 | 2022-01-05T09:24:27.000Z | 2022-03-31T05:40:11.000Z | kvdroid/jclass/android/app.py | kengoon/PyAndroidKX | 53b72b51c7b9aec06bbc330e7bf0f2e3a89736e2 | [
"MIT"
] | 8 | 2021-12-28T14:20:26.000Z | 2022-03-28T08:05:13.000Z | kvdroid/jclass/android/app.py | kengoon/KvDroid | 7a4e2ab417ceeee909f820525bf48fa3b4404264 | [
"MIT"
] | 6 | 2021-12-31T07:05:32.000Z | 2022-02-23T02:29:36.000Z | from jnius import autoclass # NOQA
from kvdroid.jclass import _class_call
def NotificationManager(*args, instantiate: bool = False):
return _class_call(autoclass("android.app.NotificationManager"), args, instantiate)
def Notification(*args, instantiate: bool = False):
return _class_call(autoclass("android.a... | 35.767857 | 94 | 0.757863 | 220 | 2,003 | 6.768182 | 0.186364 | 0.261921 | 0.165883 | 0.209537 | 0.53996 | 0.53996 | 0.53996 | 0.53996 | 0.53996 | 0.53996 | 0 | 0.001138 | 0.122816 | 2,003 | 55 | 95 | 36.418182 | 0.846329 | 0.001997 | 0 | 0 | 0 | 0 | 0.206309 | 0.196294 | 0 | 0 | 0 | 0 | 0 | 1 | 0.448276 | true | 0 | 0.068966 | 0.448276 | 0.965517 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6328afd73fc129c7b655d6338f175bf4815de40b | 139 | py | Python | reactiondataextractor/models/__init__.py | dmw51/reactiondataextractor | f7d2ee9a2a7df17ffcf9b33efee2bcb49dfdcbae | [
"MIT"
] | 3 | 2021-09-29T01:33:35.000Z | 2022-03-19T09:04:23.000Z | reactiondataextractor/models/__init__.py | dmw51/reactiondataextractor | f7d2ee9a2a7df17ffcf9b33efee2bcb49dfdcbae | [
"MIT"
] | 4 | 2021-10-05T06:11:28.000Z | 2022-02-23T21:18:32.000Z | reactiondataextractor/models/__init__.py | dmw51/reactiondataextractor | f7d2ee9a2a7df17ffcf9b33efee2bcb49dfdcbae | [
"MIT"
] | null | null | null | from .base import *
from .exceptions import *
# from .output import *
from .reaction import *
from .segments import *
from .utils import *
| 19.857143 | 25 | 0.726619 | 18 | 139 | 5.611111 | 0.444444 | 0.49505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179856 | 139 | 6 | 26 | 23.166667 | 0.885965 | 0.151079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2dba3e250d2eedcf8ec125a3caf29dd38196c6b9 | 46 | py | Python | HW/HW5/CW5.5.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | HW/HW5/CW5.5.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | HW/HW5/CW5.5.py | kolyasalubov/Lv-639.pythonCore | 06f10669a188318884adb00723127465ebdf2907 | [
"MIT"
] | null | null | null | def count_sheeps(sheep):
return sum(sheep) | 23 | 24 | 0.73913 | 7 | 46 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 25 | 23 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2de21d932a32c9275b4186a6004f7110e185e537 | 11,368 | py | Python | mamonsu/plugins/system/linux/scripts.py | sgrinko/mamonsu | 03b8e1217b08e6580e08129fddd64dbc20265fd4 | [
"BSD-3-Clause"
] | 188 | 2016-01-31T09:05:59.000Z | 2022-03-22T16:49:12.000Z | mamonsu/plugins/system/linux/scripts.py | sgrinko/mamonsu | 03b8e1217b08e6580e08129fddd64dbc20265fd4 | [
"BSD-3-Clause"
] | 162 | 2016-02-02T13:49:14.000Z | 2022-02-22T08:45:42.000Z | mamonsu/plugins/system/linux/scripts.py | sgrinko/mamonsu | 03b8e1217b08e6580e08129fddd64dbc20265fd4 | [
"BSD-3-Clause"
] | 46 | 2016-01-31T21:23:37.000Z | 2022-02-07T10:59:54.000Z | class Scripts(object):
Bash = {
# name_of_script: 'script '
'disk_sizes':
"""#!/bin/bash
PATH=/usr/local/bin:${PATH}
IFS_DEFAULT="${IFS}"
contains() {
[[ $1 =~ (^|${2})"${3}"($|${2}) ]] && echo "1" || echo "0"
}
########################################################################... | 29.994723 | 117 | 0.369282 | 1,165 | 11,368 | 3.477253 | 0.112446 | 0.104419 | 0.112318 | 0.126389 | 0.84078 | 0.833374 | 0.826709 | 0.807208 | 0.807208 | 0.74747 | 0 | 0.034695 | 0.399103 | 11,368 | 378 | 118 | 30.074074 | 0.558337 | 0.002199 | 0 | 0 | 0 | 0 | 0.296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2dedcc161b0c6e738e573e0058c036574fbcf91b | 169 | py | Python | intake_postgres/__init__.py | ContinuumIO/intake-postgres | fda7f7b2b6255544ea7ffd365a4ac8b2655fd226 | [
"BSD-2-Clause"
] | 2 | 2018-11-26T00:14:10.000Z | 2018-12-21T01:52:44.000Z | intake_postgres/__init__.py | ContinuumIO/intake-postgres | fda7f7b2b6255544ea7ffd365a4ac8b2655fd226 | [
"BSD-2-Clause"
] | 1 | 2018-12-20T08:41:05.000Z | 2018-12-21T15:00:08.000Z | intake_postgres/__init__.py | ContinuumIO/intake-postgres | fda7f7b2b6255544ea7ffd365a4ac8b2655fd226 | [
"BSD-2-Clause"
] | 3 | 2018-12-19T08:34:14.000Z | 2019-01-24T07:58:32.000Z | from __future__ import absolute_import
from .intake_postgres import PostgresSource
from .intake_postgres import __version__
__all__ = ['PostgresSource', '__version__']
| 28.166667 | 43 | 0.840237 | 18 | 169 | 6.833333 | 0.5 | 0.162602 | 0.292683 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100592 | 169 | 5 | 44 | 33.8 | 0.809211 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
932d89fd7611518436db59af4160b2fb99512b1e | 37,763 | py | Python | tests/minimal/parent/test_parent.py | InscriptaLabs/BioCantor | e0b240480e229c28d3e12ba629d80ae2e397fa8f | [
"MIT"
] | 19 | 2021-04-20T04:11:30.000Z | 2021-10-11T14:48:57.000Z | tests/minimal/parent/test_parent.py | InscriptaLabs/BioCantor | e0b240480e229c28d3e12ba629d80ae2e397fa8f | [
"MIT"
] | 1 | 2021-08-10T23:13:38.000Z | 2021-08-11T18:45:45.000Z | tests/minimal/parent/test_parent.py | InscriptaLabs/BioCantor | e0b240480e229c28d3e12ba629d80ae2e397fa8f | [
"MIT"
] | 2 | 2021-08-02T08:14:35.000Z | 2021-09-15T19:30:38.000Z | import pytest
from inscripta.biocantor.exc import (
NoSuchAncestorException,
InvalidStrandException,
InvalidPositionException,
NullParentException,
MismatchedParentException,
ParentException,
LocationException,
)
from inscripta.biocantor.location.location_impl import (
SingleInterval,
... | 35.424953 | 119 | 0.425178 | 2,754 | 37,763 | 5.716412 | 0.051198 | 0.056406 | 0.056914 | 0.053992 | 0.853586 | 0.811027 | 0.757988 | 0.720828 | 0.666582 | 0.623388 | 0 | 0.023138 | 0.470116 | 37,763 | 1,065 | 120 | 35.458216 | 0.763618 | 0.01851 | 0 | 0.719298 | 0 | 0 | 0.068178 | 0.014062 | 0 | 0 | 0 | 0 | 0.018519 | 1 | 0.023392 | false | 0 | 0.006823 | 0 | 0.031189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
93619f4843dd6696861f6a30d232ae53cf55ca52 | 38 | py | Python | mef3_processor/mef3_processor/__init__.py | Pennsieve/timeseries-processor | 85766afa76182503fd66cec8382c22e757743f01 | [
"Apache-2.0"
] | null | null | null | mef3_processor/mef3_processor/__init__.py | Pennsieve/timeseries-processor | 85766afa76182503fd66cec8382c22e757743f01 | [
"Apache-2.0"
] | null | null | null | mef3_processor/mef3_processor/__init__.py | Pennsieve/timeseries-processor | 85766afa76182503fd66cec8382c22e757743f01 | [
"Apache-2.0"
] | null | null | null |
from .processor import MEF3Processor
| 12.666667 | 36 | 0.842105 | 4 | 38 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 38 | 2 | 37 | 19 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9372c97158fd3025dd4acfe48d94a4d22b7de300 | 19,223 | py | Python | buildserver/sil_snomed_server/migrations/versions/initialize_basic_snomed_components_and__2016_08_17_89efb2ad498e.py | poppingtonic/terminology-server | 788375e4f666b9344dc4f5faebee63fab58f1f57 | [
"MIT"
] | null | null | null | buildserver/sil_snomed_server/migrations/versions/initialize_basic_snomed_components_and__2016_08_17_89efb2ad498e.py | poppingtonic/terminology-server | 788375e4f666b9344dc4f5faebee63fab58f1f57 | [
"MIT"
] | null | null | null | buildserver/sil_snomed_server/migrations/versions/initialize_basic_snomed_components_and__2016_08_17_89efb2ad498e.py | poppingtonic/terminology-server | 788375e4f666b9344dc4f5faebee63fab58f1f57 | [
"MIT"
] | 1 | 2021-08-20T00:01:48.000Z | 2021-08-20T00:01:48.000Z | """initialize basic snomed components and refsets
Revision ID: 89efb2ad498e
Revises: None
Create Date: 2016-08-17 10:44:17.479387
"""
# revision identifiers, used by Alembic.
revision = '89efb2ad498e'
down_revision = None
from alembic import op
import sqlalchemy as sa
import sil_snomed_server
def upgrade():
... | 73.934615 | 182 | 0.755969 | 2,444 | 19,223 | 5.638298 | 0.050327 | 0.076052 | 0.123004 | 0.160015 | 0.904862 | 0.845791 | 0.830116 | 0.802322 | 0.664224 | 0.641582 | 0 | 0.001835 | 0.092597 | 19,223 | 259 | 183 | 74.220077 | 0.788167 | 0.016439 | 0 | 0.454167 | 0 | 0 | 0.332733 | 0.186182 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008333 | false | 0 | 0.0125 | 0 | 0.020833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fa7a71794cb0bc9a11be0bbedaf4e8205534a98b | 11,983 | py | Python | tests/test_wms.py | MelinaAb/geoengine-python | 838fa2fd5c2602284d8a3391f2e8cddeae07da33 | [
"Apache-2.0"
] | 3 | 2021-07-27T18:00:47.000Z | 2021-11-10T16:02:06.000Z | tests/test_wms.py | geo-engine/geoengine-python | f785e67b4a4ab2a39f93a7b875f41119d23a212f | [
"Apache-2.0"
] | 43 | 2021-06-09T10:34:27.000Z | 2022-03-29T09:05:11.000Z | tests/test_wms.py | MelinaAb/geoengine-python | 838fa2fd5c2602284d8a3391f2e8cddeae07da33 | [
"Apache-2.0"
] | 2 | 2021-08-13T13:16:11.000Z | 2022-03-29T08:03:37.000Z | '''Tests for WMS calls'''
from datetime import datetime
import unittest
import textwrap
from PIL import Image
import requests_mock
from geoengine.types import QueryRectangle
import geoengine as ge
class WmsTests(unittest.TestCase):
'''WMS test runner'''
def setUp(self) -> None:
ge.reset(False)
... | 41.898601 | 624 | 0.501127 | 1,233 | 11,983 | 4.797243 | 0.176805 | 0.02705 | 0.0541 | 0.050719 | 0.853593 | 0.838546 | 0.791547 | 0.778022 | 0.778022 | 0.767033 | 0 | 0.162693 | 0.362931 | 11,983 | 285 | 625 | 42.045614 | 0.61213 | 0.026538 | 0 | 0.602679 | 0 | 0.013393 | 0.380154 | 0.098076 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.022321 | false | 0 | 0.03125 | 0 | 0.058036 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
faa98b768c6bf100656d84faf3d05bd6e7ae3db5 | 6,682 | py | Python | tests/test_undos/test_coreutils/test_cp.py | joshmeranda/undo | f54581223c0c157702dda6124691bb40fa2e2b31 | [
"MIT"
] | null | null | null | tests/test_undos/test_coreutils/test_cp.py | joshmeranda/undo | f54581223c0c157702dda6124691bb40fa2e2b31 | [
"MIT"
] | null | null | null | tests/test_undos/test_coreutils/test_cp.py | joshmeranda/undo | f54581223c0c157702dda6124691bb40fa2e2b31 | [
"MIT"
] | null | null | null | import os
import shutil
import unittest
from undo import resolve, expand
from tests.test_undos.test_coreutils import common
class TestCp(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
if os.path.exists(common.COREUTILS_TEST_ENV_DIR):
shutil.rmtree(common.COREUTILS_TEST_ENV... | 34.443299 | 92 | 0.5654 | 745 | 6,682 | 4.903356 | 0.085906 | 0.098549 | 0.088694 | 0.108404 | 0.915138 | 0.898713 | 0.885574 | 0.836846 | 0.836846 | 0.820422 | 0 | 0 | 0.292876 | 6,682 | 193 | 93 | 34.621762 | 0.773122 | 0 | 0 | 0.666667 | 0 | 0 | 0.080066 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.096296 | false | 0 | 0.037037 | 0 | 0.140741 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fade17006e6552887b4af145cf38458f2635eaba | 22 | py | Python | src/vsql/__init__.py | GlobalMaksimum/ipython-vsql | 856f2640346572582e7ce72690f6c11247aa735b | [
"MIT"
] | 2 | 2019-12-19T06:22:06.000Z | 2021-05-29T16:19:46.000Z | src/vsql/__init__.py | GlobalMaksimum/ipython-vsql | 856f2640346572582e7ce72690f6c11247aa735b | [
"MIT"
] | null | null | null | src/vsql/__init__.py | GlobalMaksimum/ipython-vsql | 856f2640346572582e7ce72690f6c11247aa735b | [
"MIT"
] | null | null | null | from .vmagic import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fae8868e152d889375743c057d4728960aa93a21 | 123 | py | Python | agn_utils/batch_processing/__init__.py | avivajpeyi/agn_phenomenological_model | 94d2e39f43cb11986d0abcb33769ee1aa501ca85 | [
"MIT"
] | null | null | null | agn_utils/batch_processing/__init__.py | avivajpeyi/agn_phenomenological_model | 94d2e39f43cb11986d0abcb33769ee1aa501ca85 | [
"MIT"
] | null | null | null | agn_utils/batch_processing/__init__.py | avivajpeyi/agn_phenomenological_model | 94d2e39f43cb11986d0abcb33769ee1aa501ca85 | [
"MIT"
] | 1 | 2021-08-22T07:05:15.000Z | 2021-08-22T07:05:15.000Z | from .mutipool_jobs import run_function_with_multiprocess
from .python_script_dag_creator import create_python_script_jobs
| 41 | 64 | 0.918699 | 18 | 123 | 5.722222 | 0.722222 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 123 | 2 | 65 | 61.5 | 0.895652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f05fdfa7e5c7be00d1179c5fa51eb122d373027 | 59 | py | Python | carp_api/common/__init__.py | Drachenfels/carp-api | b7f280a645d5116d85dc7cd1d177b449704457de | [
"MIT"
] | null | null | null | carp_api/common/__init__.py | Drachenfels/carp-api | b7f280a645d5116d85dc7cd1d177b449704457de | [
"MIT"
] | null | null | null | carp_api/common/__init__.py | Drachenfels/carp-api | b7f280a645d5116d85dc7cd1d177b449704457de | [
"MIT"
] | null | null | null | from . import logic # NOQA
from . import endpoint # NOQA
| 19.666667 | 30 | 0.694915 | 8 | 59 | 5.125 | 0.625 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 59 | 2 | 31 | 29.5 | 0.911111 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f0d7a4a95078aff0e8ebfb00e2717ed7e6edf93 | 37,881 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/61.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/61.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/61.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3176
passenger_arriving = (
(3, 3, 8, 3, 5, 0, 12, 7, 7, 7, 1, 0), # 0
(2, 8, 6, 7, 2, 0, 8, 10, 8, 5, 1, 0), # 1
(2, 5, 4, 4, 4, 0, 4, 13, 5, 3, 3, 0), # 2
(3, 7, 5, 6, 4, 0, 3, 11, 6, 0, 2, 0), # 3
(5, 7, 6, 1, 3, 0, 9, 10, 7, 7, 1, 0), # 4
(3, 10, 3, 3, 3, 0, 8, 7, 5,... | 113.077612 | 212 | 0.729046 | 5,147 | 37,881 | 5.363513 | 0.230037 | 0.312975 | 0.247772 | 0.469463 | 0.328769 | 0.327972 | 0.327972 | 0.327972 | 0.327972 | 0.327972 | 0 | 0.818983 | 0.119163 | 37,881 | 334 | 213 | 113.416168 | 0.008362 | 0.031969 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87fc0cad1c70cb86e9d736cfb25933b8aa8167bb | 9,259 | py | Python | fbgemm_gpu/test/quantize_ops_test.py | stevenlysc/FBGEMM | e21f4d043bb5d8aea0b887bf71b28779edff48e4 | [
"BSD-3-Clause"
] | null | null | null | fbgemm_gpu/test/quantize_ops_test.py | stevenlysc/FBGEMM | e21f4d043bb5d8aea0b887bf71b28779edff48e4 | [
"BSD-3-Clause"
] | null | null | null | fbgemm_gpu/test/quantize_ops_test.py | stevenlysc/FBGEMM | e21f4d043bb5d8aea0b887bf71b28779edff48e4 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import unittest
import hypothesis.strategies as st
import numpy as np
import torch
from hypothesis import HealthC... | 39.4 | 93 | 0.64575 | 1,031 | 9,259 | 5.467507 | 0.150339 | 0.085329 | 0.032287 | 0.021288 | 0.804151 | 0.785524 | 0.73195 | 0.73195 | 0.700195 | 0.668263 | 0 | 0.020732 | 0.270656 | 9,259 | 234 | 94 | 39.568376 | 0.814009 | 0.086618 | 0 | 0.565217 | 0 | 0 | 0.01162 | 0.010671 | 0 | 0 | 0 | 0.004274 | 0.092391 | 1 | 0.027174 | false | 0 | 0.043478 | 0 | 0.097826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e20407c76f671882d2d198a22dfe6f22e7096dec | 428 | py | Python | naturalnets/environments/__init__.py | bjuergens/NaturalNets | fd67f1b3c443761270adaf9877ed2a6358d830f0 | [
"MIT"
] | null | null | null | naturalnets/environments/__init__.py | bjuergens/NaturalNets | fd67f1b3c443761270adaf9877ed2a6358d830f0 | [
"MIT"
] | 2 | 2021-04-13T11:47:01.000Z | 2021-04-30T11:44:46.000Z | naturalnets/environments/__init__.py | bjuergens/NaturalNets | fd67f1b3c443761270adaf9877ed2a6358d830f0 | [
"MIT"
] | 1 | 2021-11-03T09:36:40.000Z | 2021-11-03T09:36:40.000Z | from naturalnets.environments.collect_points import CollectPoints
from naturalnets.environments.collect_points_rays import CollectPointsRays
from naturalnets.environments.gym_mujoco import GymMujoco
from naturalnets.environments.reacher_memory import ReacherMemory
from naturalnets.environments.gym_environments import G... | 61.142857 | 86 | 0.915888 | 44 | 428 | 8.727273 | 0.454545 | 0.234375 | 0.421875 | 0.177083 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 428 | 6 | 87 | 71.333333 | 0.950495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e20b1be97e7d5d963a180af4fc8a9096fe2355c1 | 10,003 | py | Python | tests/test_api_objects.py | nomis/pymonzo | b5c8d4f46dcb3a2f475797a8b8ef1c15f6493fb9 | [
"MIT"
] | 25 | 2017-01-21T01:03:17.000Z | 2021-12-13T20:41:12.000Z | tests/test_api_objects.py | nomis/pymonzo | b5c8d4f46dcb3a2f475797a8b8ef1c15f6493fb9 | [
"MIT"
] | 25 | 2017-07-30T10:57:30.000Z | 2022-03-16T08:33:01.000Z | tests/test_api_objects.py | nomis/pymonzo | b5c8d4f46dcb3a2f475797a8b8ef1c15f6493fb9 | [
"MIT"
] | 14 | 2017-02-05T01:45:49.000Z | 2022-02-14T20:46:02.000Z | # -*- coding: utf-8 -*-
"""
Test 'pymonzo.api_objects' file
"""
from __future__ import unicode_literals
from datetime import datetime
import pytest
from dateutil.parser import parse as parse_date
from pymonzo import api_objects
from pymonzo.utils import CommonMixin
class TestMonzoObject:
"""
Test `api_obje... | 33.793919 | 78 | 0.669799 | 1,113 | 10,003 | 5.773585 | 0.09434 | 0.067227 | 0.044818 | 0.042484 | 0.795207 | 0.781046 | 0.779334 | 0.749767 | 0.749767 | 0.735294 | 0 | 0.000386 | 0.223533 | 10,003 | 295 | 79 | 33.908475 | 0.82696 | 0.170649 | 0 | 0.639053 | 0 | 0 | 0.052599 | 0 | 0 | 0 | 0 | 0 | 0.254438 | 1 | 0.207101 | false | 0 | 0.035503 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
355e92cfb405185b95ff722157702edac96710a7 | 145 | py | Python | backend/grant/utils/date.py | DSBUGAY2/zcash-grant-system | 729b9edda13bd1eeb3f445d889264230c6470d7e | [
"MIT"
] | 8 | 2019-06-03T16:29:49.000Z | 2021-05-11T20:38:36.000Z | backend/grant/utils/date.py | DSBUGAY2/zcash-grant-system | 729b9edda13bd1eeb3f445d889264230c6470d7e | [
"MIT"
] | 342 | 2019-01-15T19:13:58.000Z | 2020-03-24T16:38:13.000Z | backend/grant/utils/date.py | DSBUGAY2/zcash-grant-system | 729b9edda13bd1eeb3f445d889264230c6470d7e | [
"MIT"
] | 5 | 2019-02-15T09:06:47.000Z | 2022-01-24T21:38:41.000Z | import math
def get_quarter_formatted(date):
return "Q" + str(math.ceil(date.date_created.month / 3.)) + " " + str(date.date_created.year)
| 24.166667 | 97 | 0.696552 | 22 | 145 | 4.409091 | 0.681818 | 0.164948 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.144828 | 145 | 5 | 98 | 29 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
3574725e346f96f0dc3b3b6899847e6d31214437 | 26 | py | Python | molecular_columns/__init__.py | jpinedaf/molecular_columns | 756f0ca447cd92b51e71589b21307864f6ac2ee6 | [
"MIT"
] | null | null | null | molecular_columns/__init__.py | jpinedaf/molecular_columns | 756f0ca447cd92b51e71589b21307864f6ac2ee6 | [
"MIT"
] | null | null | null | molecular_columns/__init__.py | jpinedaf/molecular_columns | 756f0ca447cd92b51e71589b21307864f6ac2ee6 | [
"MIT"
] | null | null | null | #
from . import col_nh2d
| 6.5 | 22 | 0.692308 | 4 | 26 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.230769 | 26 | 3 | 23 | 8.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3578486d25007acc016e0c30d38823039696d049 | 481 | py | Python | Geometry/CaloEventSetup/python/CaloGeometryDBReader_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Geometry/CaloEventSetup/python/CaloGeometryDBReader_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Geometry/CaloEventSetup/python/CaloGeometryDBReader_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Geometry.CaloEventSetup.CaloGeometryBuilder_cfi import *
from Geometry.EcalAlgo.EcalGeometryDBReader_cfi import *
from Geometry.HcalEventSetup.HcalGeometryDBReader_cfi import *
from Geometry.HcalEventSetup.CaloTowerGeometryDBReader_cfi import *
from Geometry.HcalEventSetu... | 40.083333 | 67 | 0.879418 | 48 | 481 | 8.666667 | 0.416667 | 0.201923 | 0.1875 | 0.302885 | 0.336538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072765 | 481 | 11 | 68 | 43.727273 | 0.932735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35995995784e5bf9a00679457f6c00c1fb02da16 | 117 | py | Python | AMnet/__init__.py | THREDgroup/AMnet | 4f269c7a09d39051524e29e6e1f7a70169b7ff64 | [
"MIT"
] | 1 | 2019-03-24T10:49:23.000Z | 2019-03-24T10:49:23.000Z | AMnet/__init__.py | THREDgroup/AMnet | 4f269c7a09d39051524e29e6e1f7a70169b7ff64 | [
"MIT"
] | null | null | null | AMnet/__init__.py | THREDgroup/AMnet | 4f269c7a09d39051524e29e6e1f7a70169b7ff64 | [
"MIT"
] | null | null | null | import AMnet.training
import AMnet.showing
import AMnet.application
import AMnet.preprocessing
import AMnet.utilities | 23.4 | 26 | 0.880342 | 15 | 117 | 6.866667 | 0.466667 | 0.533981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 117 | 5 | 27 | 23.4 | 0.953704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35bfc99e479811aa7d3ac3f9705bc4aec9020f5b | 175 | py | Python | src/rbp/random/__init__.py | simecek/rbp | 6bae3d37c4800b89efbb16861c79bf5f6fcb40d9 | [
"MIT"
] | 2 | 2020-02-18T18:35:23.000Z | 2020-06-12T09:52:14.000Z | src/rbp/random/__init__.py | simecek/rbp | 6bae3d37c4800b89efbb16861c79bf5f6fcb40d9 | [
"MIT"
] | 13 | 2020-02-18T16:10:19.000Z | 2020-12-15T13:49:06.000Z | src/rbp/random/__init__.py | simecek/rbp | 6bae3d37c4800b89efbb16861c79bf5f6fcb40d9 | [
"MIT"
] | 2 | 2020-06-12T09:52:20.000Z | 2020-12-03T16:14:00.000Z | from .genomic_position import random_genomic_position, random_genomic_interval
from .seq_permutation import seq_permutation
from .random_intervals import gen_random_intervals
| 43.75 | 78 | 0.902857 | 23 | 175 | 6.434783 | 0.434783 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074286 | 175 | 3 | 79 | 58.333333 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea1ee2a3622a4fe32009c6b664aca077b7a040ef | 182 | py | Python | pyrunjvm/__init__.py | riag/pyrunjvm | cd5c588553b0fdea398fb775244c49b1b8231a3c | [
"Apache-2.0"
] | null | null | null | pyrunjvm/__init__.py | riag/pyrunjvm | cd5c588553b0fdea398fb775244c49b1b8231a3c | [
"Apache-2.0"
] | null | null | null | pyrunjvm/__init__.py | riag/pyrunjvm | cd5c588553b0fdea398fb775244c49b1b8231a3c | [
"Apache-2.0"
] | null | null | null |
import importlib.metadata as importlib_metadata
__version__ = importlib_metadata.version(__name__)
from .application import create_application
from .context import create_context
| 22.75 | 50 | 0.862637 | 21 | 182 | 6.904762 | 0.47619 | 0.351724 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 182 | 7 | 51 | 26 | 0.884146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea6ec78ae6c5dcd9bc77e77f1879be3c32ccb585 | 47 | py | Python | connectwise/time/__init__.py | punkrokk/connectwise-rest-api-python | f8b2b3c7668b407935e38b8af9d0b5d3b14d9fb2 | [
"Apache-2.0"
] | 7 | 2017-01-24T06:41:47.000Z | 2021-04-16T17:34:43.000Z | connectwise/time/__init__.py | punkrokk/connectwise-rest-api-python | f8b2b3c7668b407935e38b8af9d0b5d3b14d9fb2 | [
"Apache-2.0"
] | 2 | 2019-10-30T21:32:59.000Z | 2019-11-01T18:56:39.000Z | connectwise/time/__init__.py | punkrokk/connectwise-rest-api-python | f8b2b3c7668b407935e38b8af9d0b5d3b14d9fb2 | [
"Apache-2.0"
] | 7 | 2017-10-17T18:41:18.000Z | 2019-11-12T20:02:14.000Z | from connectwise.time import entries as entries | 47 | 47 | 0.87234 | 7 | 47 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ea6f20319ef94dd60742fc25f1faac029e862777 | 127 | py | Python | money_legos/util.py | gokhanbaydar/py-money-legos | 3d71885e2befeb3e6415177ea2220339c6082088 | [
"MIT"
] | 3 | 2021-02-21T03:15:54.000Z | 2021-06-19T10:01:54.000Z | money_legos/util.py | gokhanbaydar/py-money-legos | 3d71885e2befeb3e6415177ea2220339c6082088 | [
"MIT"
] | null | null | null | money_legos/util.py | gokhanbaydar/py-money-legos | 3d71885e2befeb3e6415177ea2220339c6082088 | [
"MIT"
] | null | null | null | import json
import pkgutil
def read_json(file_location):
return json.loads(pkgutil.get_data(__package__, file_location))
| 18.142857 | 67 | 0.80315 | 18 | 127 | 5.222222 | 0.666667 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 127 | 6 | 68 | 21.166667 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
ea783dbf00949bc6ba66ba7423f2274a29d05a07 | 3,562 | py | Python | tests/lists/tests/insert_tests.py | kimgea/django-ordered-field | c3a79cd93b013d90bbe0d6b9c9ede872d16af949 | [
"MIT"
] | null | null | null | tests/lists/tests/insert_tests.py | kimgea/django-ordered-field | c3a79cd93b013d90bbe0d6b9c9ede872d16af949 | [
"MIT"
] | 1 | 2018-05-10T09:11:49.000Z | 2018-05-10T09:11:49.000Z | tests/lists/tests/insert_tests.py | kimgea/django-ordered-field | c3a79cd93b013d90bbe0d6b9c9ede872d16af949 | [
"MIT"
] | null | null | null | from django.test import TestCase
from tests.lists.models import List, Item
from tests.lists.tests.helper import set_up_helper
class ListInsertTest(TestCase):
def setUp(self):
set_up_helper()
def test_insert_first(self):
list1 = List.objects.filter(pk=1).first()
item_1_1 = Item(name="... | 41.905882 | 121 | 0.444413 | 443 | 3,562 | 3.410835 | 0.115124 | 0.034414 | 0.025811 | 0.021178 | 0.842488 | 0.807412 | 0.807412 | 0.786896 | 0.786896 | 0.786896 | 0 | 0.077833 | 0.383212 | 3,562 | 84 | 122 | 42.404762 | 0.609923 | 0 | 0 | 0.591549 | 0 | 0 | 0.083099 | 0.006457 | 0 | 0 | 0 | 0 | 0.070423 | 1 | 0.084507 | false | 0 | 0.042254 | 0 | 0.140845 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
577ffa1557a679cf439d0b9fb8fc667e3367a4f1 | 1,404 | py | Python | torch_metrics/classification/pr.py | Joffreybvn/torch-metrics | 587a4995730a7ec7b0370d6dd523d2c84129b255 | [
"MIT"
] | 95 | 2020-11-04T06:02:20.000Z | 2022-03-17T16:27:04.000Z | torch_metrics/classification/pr.py | Joffreybvn/torch-metrics | 587a4995730a7ec7b0370d6dd523d2c84129b255 | [
"MIT"
] | 22 | 2020-11-04T06:09:29.000Z | 2022-03-28T16:58:36.000Z | torch_metrics/classification/pr.py | Joffreybvn/torch-metrics | 587a4995730a7ec7b0370d6dd523d2c84129b255 | [
"MIT"
] | 17 | 2020-11-04T05:56:35.000Z | 2021-08-28T15:38:14.000Z | import torch
class Precision:
"""
Computes precision of the predictions with respect to the true labels.
Args:
y_true: Tensor of Ground truth values.
y_pred: Tensor of Predicted values.
epsilon: Fuzz factor to avoid division by zero. default: `1e-10`
Returns:
Tensor o... | 29.25 | 82 | 0.652422 | 190 | 1,404 | 4.621053 | 0.242105 | 0.039863 | 0.027335 | 0.045558 | 0.740319 | 0.740319 | 0.740319 | 0.740319 | 0.698178 | 0.651481 | 0 | 0.019157 | 0.25641 | 1,404 | 47 | 83 | 29.87234 | 0.821839 | 0.37963 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5794b15b6d81f4780ee4f72c90291a727f69e7fe | 251 | py | Python | crawlino/__init__.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | 1 | 2018-11-11T21:07:54.000Z | 2018-11-11T21:07:54.000Z | crawlino/__init__.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | null | null | null | crawlino/__init__.py | BBVA/crawlino | 685f57e6b3e9356484ead2681bb178f651d2f371 | [
"Apache-2.0"
] | null | null | null | from .exceptions import *
from .crawlino_flow import *
from .decorators import *
from .helpers import *
from .mini_lang import *
from .modules import *
from .crawlino_managers import *
from .current_config import *
from .models.plugins_models import * | 27.888889 | 36 | 0.784861 | 33 | 251 | 5.818182 | 0.454545 | 0.416667 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139442 | 251 | 9 | 36 | 27.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
579fef3fcec93be8106e0313bc31f27786b37d37 | 43,841 | py | Python | tests/test_ping_s.py | shaikustin/jc | b59e38cfd2c8a7f5868e05d5562557b1c27e5e56 | [
"MIT"
] | null | null | null | tests/test_ping_s.py | shaikustin/jc | b59e38cfd2c8a7f5868e05d5562557b1c27e5e56 | [
"MIT"
] | null | null | null | tests/test_ping_s.py | shaikustin/jc | b59e38cfd2c8a7f5868e05d5562557b1c27e5e56 | [
"MIT"
] | null | null | null | import os
import unittest
import json
from jc.exceptions import ParseError
import jc.parsers.ping_s
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
# To create streaming output use:
# $ cat ping.out | jc --ping-s | jello -c > ping-streaming.json
class MyTests(unittest.TestCase):
def setUp(self):
... | 54.46087 | 191 | 0.677813 | 7,337 | 43,841 | 3.760801 | 0.01581 | 0.082448 | 0.032979 | 0.037691 | 0.973472 | 0.971913 | 0.95488 | 0.933606 | 0.901714 | 0.874062 | 0 | 0.048783 | 0.173787 | 43,841 | 804 | 192 | 54.528607 | 0.712992 | 0.069296 | 0 | 0.02267 | 0 | 0.093199 | 0.172936 | 0.152474 | 0 | 0 | 0 | 0 | 0.166247 | 1 | 0.168766 | false | 0 | 0.012594 | 0 | 0.183879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57ae1d68a3742ed229f7932289dddda9f5b54a83 | 47 | py | Python | hitbasic/translations/initialisation_clause.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | hitbasic/translations/initialisation_clause.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | hitbasic/translations/initialisation_clause.py | pvmm/hitbasic | f134a80d7e9ada5c7c7423a43001f543fa9ad896 | [
"BSD-2-Clause"
] | null | null | null | # don't delete this file
class Clause: pass
| 7.833333 | 24 | 0.702128 | 8 | 47 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 47 | 5 | 25 | 9.4 | 0.916667 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
57af28b5c3aa3e807bd5c799b6f1754a18da5498 | 47 | py | Python | test/python/LIM2Metrics/py3/base/common/Python003/Python003.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 20 | 2015-06-16T17:39:10.000Z | 2022-03-20T22:39:40.000Z | test/python/LIM2Metrics/py3/base/common/Python003/Python003.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 29 | 2015-12-29T19:07:22.000Z | 2022-03-22T10:39:02.000Z | test/python/LIM2Metrics/py3/base/common/Python003/Python003.py | sagodiz/SonarQube-plug-in | 4f8e111baecc4c9f9eaa5cd3d7ebeb1e365ace2c | [
"BSD-4-Clause"
] | 12 | 2015-08-28T01:22:18.000Z | 2021-09-25T08:17:31.000Z | def whats_on_the_telly():
print("Nothing")
| 15.666667 | 25 | 0.702128 | 7 | 47 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 26 | 23.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
57c28da004688b7f98b7adae3953c25d9821db0e | 2,067 | py | Python | countries_plus/migrations/0004_auto_20150616_1242.py | niSeRdiSeR/django-countries-plus | 0ec1fd32dabb2aa3cf7ad0701277313896060073 | [
"MIT"
] | 33 | 2015-06-16T09:26:11.000Z | 2022-02-05T20:14:41.000Z | countries_plus/migrations/0004_auto_20150616_1242.py | niSeRdiSeR/django-countries-plus | 0ec1fd32dabb2aa3cf7ad0701277313896060073 | [
"MIT"
] | 16 | 2015-01-24T12:36:30.000Z | 2022-03-30T10:36:59.000Z | countries_plus/migrations/0004_auto_20150616_1242.py | niSeRdiSeR/django-countries-plus | 0ec1fd32dabb2aa3cf7ad0701277313896060073 | [
"MIT"
] | 20 | 2015-05-15T08:49:37.000Z | 2022-01-31T13:27:29.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('countries_plus', '0003_auto_20150611_1446'),
]
operations = [
migrations.AlterField(
model_name='country',
... | 31.8 | 74 | 0.56894 | 200 | 2,067 | 5.705 | 0.23 | 0.175285 | 0.219106 | 0.254163 | 0.807187 | 0.807187 | 0.77213 | 0.69851 | 0.69851 | 0.69851 | 0 | 0.033029 | 0.311563 | 2,067 | 64 | 75 | 32.296875 | 0.768798 | 0.01016 | 0 | 0.672414 | 0 | 0 | 0.101761 | 0.011252 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.086207 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57da055f15c0fcc81564f076ba57b50c84c7d4b8 | 1,018 | py | Python | drivers/plot_XYZvtang.py | lgbouma/rudolf | 0f130f45fdbcce109a6750aa179dd26a12179619 | [
"MIT"
] | null | null | null | drivers/plot_XYZvtang.py | lgbouma/rudolf | 0f130f45fdbcce109a6750aa179dd26a12179619 | [
"MIT"
] | null | null | null | drivers/plot_XYZvtang.py | lgbouma/rudolf | 0f130f45fdbcce109a6750aa179dd26a12179619 | [
"MIT"
] | null | null | null | import os
import rudolf.plotting as rp
from rudolf.paths import RESULTSDIR
PLOTDIR = os.path.join(RESULTSDIR, 'XYZvtang')
if not os.path.exists(PLOTDIR):
os.mkdir(PLOTDIR)
rp.plot_XYZvtang(PLOTDIR, show_1627=1, show_comovers=0, show_sun=1,
show_7368=0, show_allknown=1, show_rsg5=1, orientation='s... | 39.153846 | 83 | 0.72888 | 161 | 1,018 | 4.36646 | 0.186335 | 0.113798 | 0.179232 | 0.268848 | 0.798009 | 0.756757 | 0.756757 | 0.756757 | 0.714083 | 0.714083 | 0 | 0.0927 | 0.152259 | 1,018 | 25 | 84 | 40.72 | 0.7219 | 0 | 0 | 0.25 | 0 | 0 | 0.037328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.15 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa24818ed1e5885f5e2ce40ff737a4c3284fe7a1 | 116 | py | Python | catalyst/contrib/models/cv/__init__.py | balakhonoff/catalyst | 82d904aee97045efbaef3963e36c2ce5173ddac4 | [
"Apache-2.0"
] | 46 | 2020-03-27T20:12:32.000Z | 2021-11-21T19:08:51.000Z | catalyst/contrib/models/cv/__init__.py | balakhonoff/catalyst | 82d904aee97045efbaef3963e36c2ce5173ddac4 | [
"Apache-2.0"
] | 2 | 2020-04-06T10:43:04.000Z | 2020-07-01T18:26:10.000Z | catalyst/contrib/models/cv/__init__.py | balakhonoff/catalyst | 82d904aee97045efbaef3963e36c2ce5173ddac4 | [
"Apache-2.0"
] | 5 | 2020-04-17T14:09:53.000Z | 2021-05-10T08:58:29.000Z | # flake8: noqa
# isort:skip_file
from .encoders import *
from .classification import *
from .segmentation import *
| 16.571429 | 29 | 0.758621 | 14 | 116 | 6.214286 | 0.714286 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.155172 | 116 | 6 | 30 | 19.333333 | 0.877551 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4f1c7963fa87d41a45b1fd70e7317322dfe9719 | 156 | py | Python | ocial/ocial_project/accounts/admin.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | 1 | 2019-09-29T12:54:58.000Z | 2019-09-29T12:54:58.000Z | ocial/ocial_project/accounts/admin.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | 55 | 2019-09-26T16:29:22.000Z | 2022-02-10T11:28:32.000Z | ocial/ocial_project/accounts/admin.py | kasimbozdag/swe_574 | a77fa29fd80c713cd202ccbb82cfcadfa52b81fa | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Learner)
admin.site.register(UserProfile)
admin.site.register(UserFollowing)
| 15.6 | 34 | 0.807692 | 20 | 156 | 6.3 | 0.55 | 0.214286 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 156 | 9 | 35 | 17.333333 | 0.893617 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3541d0eef483832fb1d4453062e220c5823ab5dd | 231 | py | Python | reactive/builder.py | juju-solutions/layer-binary-builder | 79a3b2d3098fba77b4ad2192b72846165d7463f7 | [
"Apache-2.0"
] | null | null | null | reactive/builder.py | juju-solutions/layer-binary-builder | 79a3b2d3098fba77b4ad2192b72846165d7463f7 | [
"Apache-2.0"
] | 2 | 2016-05-12T09:38:14.000Z | 2016-05-12T09:38:37.000Z | reactive/builder.py | juju-solutions/layer-binary-builder | 79a3b2d3098fba77b4ad2192b72846165d7463f7 | [
"Apache-2.0"
] | null | null | null | from charms.reactive import when_not
from charms.reactive import set_state
from charmhelpers.core import hookenv
@when_not('builder.ready')
def bootstrap():
hookenv.status_set('active', 'Ready')
set_state('builder.ready')
| 25.666667 | 41 | 0.774892 | 32 | 231 | 5.4375 | 0.53125 | 0.114943 | 0.206897 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 231 | 8 | 42 | 28.875 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.160173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1036b1bac2d8aa004f7e41d3bc89c6f4f0945b81 | 81 | py | Python | plugins/__init__.py | davinerd/gql_intruder | 624ad97d44650642497aa9c07f8d41a31d4c5521 | [
"MIT"
] | 11 | 2020-11-26T09:09:52.000Z | 2022-03-08T22:08:42.000Z | plugins/__init__.py | davinerd/gql_intruder | 624ad97d44650642497aa9c07f8d41a31d4c5521 | [
"MIT"
] | 3 | 2020-11-29T23:09:51.000Z | 2020-12-15T08:37:30.000Z | plugins/__init__.py | davinerd/gql_intruder | 624ad97d44650642497aa9c07f8d41a31d4c5521 | [
"MIT"
] | null | null | null | from plugins.intruder.intruder import Intruder
from plugins.dump.dump import Dump | 40.5 | 46 | 0.864198 | 12 | 81 | 5.833333 | 0.416667 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 2 | 47 | 40.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
104743848e0f121c13b1dd2d2ab96c0be429ec8d | 40 | py | Python | app/keyboards/default/__init__.py | AmaRocket/AmaRocket-MovieBuddyBot | 0dec956cefb054cb44d7f1139cd9aee54f7c154e | [
"MIT"
] | null | null | null | app/keyboards/default/__init__.py | AmaRocket/AmaRocket-MovieBuddyBot | 0dec956cefb054cb44d7f1139cd9aee54f7c154e | [
"MIT"
] | null | null | null | app/keyboards/default/__init__.py | AmaRocket/AmaRocket-MovieBuddyBot | 0dec956cefb054cb44d7f1139cd9aee54f7c154e | [
"MIT"
] | null | null | null | from .menu import totalkb, vote_average
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1082ce40e3878c93ab08c5f7d87cb7d3222005ca | 71 | py | Python | src/_user/_user.py | LeonardoCruzx/django-rest-starter | 05ec156f248980f4f3bbe8039fd360a687dbb5df | [
"MIT"
] | 7 | 2020-09-08T21:45:01.000Z | 2020-11-30T16:45:32.000Z | src/_user/_user.py | LeonardoCruzx/django-rest-starter | 05ec156f248980f4f3bbe8039fd360a687dbb5df | [
"MIT"
] | null | null | null | src/_user/_user.py | LeonardoCruzx/django-rest-starter | 05ec156f248980f4f3bbe8039fd360a687dbb5df | [
"MIT"
] | null | null | null | from _template.template import Template
class User(Template):
pass | 17.75 | 39 | 0.788732 | 9 | 71 | 6.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 4 | 40 | 17.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
10894d2edfb949748d1326c43e87cc533dfd602e | 5,051 | py | Python | gimmebio/stat_strains/tests/test_stat_strain.py | Chandrima-04/gimmebio | cb3e66380006d5c5c00ff70bfb87317dd252c312 | [
"MIT"
] | 3 | 2020-01-21T23:49:55.000Z | 2020-07-29T17:02:30.000Z | gimmebio/stat_strains/tests/test_stat_strain.py | Chandrima-04/gimmebio | cb3e66380006d5c5c00ff70bfb87317dd252c312 | [
"MIT"
] | null | null | null | gimmebio/stat_strains/tests/test_stat_strain.py | Chandrima-04/gimmebio | cb3e66380006d5c5c00ff70bfb87317dd252c312 | [
"MIT"
] | 4 | 2020-01-21T16:48:17.000Z | 2020-03-13T15:34:52.000Z | """Test suite for stat strain."""
from unittest import TestCase
import pandas as pd
from os.path import dirname, join, basename
from gimmebio.stat_strains import (
entropy_reduce_position_matrix,
entropy_reduce_postion_matrices,
parallel_entropy_reduce_postion_matrices,
fast_entropy_reduce_postion_ma... | 35.570423 | 96 | 0.667393 | 633 | 5,051 | 4.913112 | 0.151659 | 0.084887 | 0.072026 | 0.054662 | 0.801929 | 0.777492 | 0.758521 | 0.748232 | 0.733119 | 0.648232 | 0 | 0.038743 | 0.243714 | 5,051 | 141 | 97 | 35.822695 | 0.775393 | 0.035439 | 0 | 0.575221 | 0 | 0 | 0.047511 | 0.040488 | 0 | 0 | 0 | 0 | 0.123894 | 1 | 0.115044 | false | 0 | 0.044248 | 0.00885 | 0.19469 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10ab7483ea6383cb4d0963392e90e1d0e8cfb751 | 3,191 | py | Python | migrations/versions/48a922151dd4_correct_test_schemas.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | migrations/versions/48a922151dd4_correct_test_schemas.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | migrations/versions/48a922151dd4_correct_test_schemas.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | """Correct Test schemas
Revision ID: 48a922151dd4
Revises: 2b71d67ef04d
Create Date: 2013-11-07 13:12:14.375337
"""
# revision identifiers, used by Alembic.
revision = '48a922151dd4'
down_revision = '2b71d67ef04d'
from alembic import op
import sqlalchemy as sa
from sqlalchemy import text
from sqlalchemy.dialects im... | 35.455556 | 78 | 0.598872 | 340 | 3,191 | 5.458824 | 0.194118 | 0.067888 | 0.126078 | 0.118534 | 0.798491 | 0.786638 | 0.786638 | 0.78125 | 0.70528 | 0.696121 | 0 | 0.026235 | 0.283297 | 3,191 | 89 | 79 | 35.853933 | 0.785308 | 0.093388 | 0 | 0.828571 | 0 | 0 | 0.187762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.057143 | 0 | 0.085714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
529ff80e9a0efedce4ac5cdbd9fd617f7ef867cf | 152 | py | Python | mlpipe/utils.py | guanyilun/mlpipe | 7e739f6b4307db5350e9601a36f415ecf77a62c2 | [
"MIT"
] | 1 | 2020-10-27T09:48:47.000Z | 2020-10-27T09:48:47.000Z | mlpipe/utils.py | guanyilun/mlpipe | 7e739f6b4307db5350e9601a36f415ecf77a62c2 | [
"MIT"
] | 3 | 2018-12-01T02:20:18.000Z | 2021-11-15T17:48:01.000Z | mlpipe/utils.py | guanyilun/mlpipe | 7e739f6b4307db5350e9601a36f415ecf77a62c2 | [
"MIT"
] | 4 | 2018-11-27T22:11:04.000Z | 2019-10-01T16:15:34.000Z | import numpy as np
def to_categorical(y, num_classes):
""" 1-hot encodes a tensor """
return np.eye(num_classes, dtype='int')[y.astype('int')]
| 25.333333 | 60 | 0.671053 | 25 | 152 | 3.96 | 0.8 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.164474 | 152 | 5 | 61 | 30.4 | 0.771654 | 0.144737 | 0 | 0 | 0 | 0 | 0.04918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52e005d6d28382b2a4238c10d88cfe8e67258195 | 20,478 | py | Python | test/hummingbot/connector/exchange/binance/test_binance_api_order_book_data_source.py | joedomino874/hummingbot | cb3ee5a30a2feb0a55ceca9d200c59662d7e3057 | [
"Apache-2.0"
] | 3,027 | 2019-04-04T18:52:17.000Z | 2022-03-30T09:38:34.000Z | test/hummingbot/connector/exchange/binance/test_binance_api_order_book_data_source.py | joedomino874/hummingbot | cb3ee5a30a2feb0a55ceca9d200c59662d7e3057 | [
"Apache-2.0"
] | 4,080 | 2019-04-04T19:51:11.000Z | 2022-03-31T23:45:21.000Z | test/hummingbot/connector/exchange/binance/test_binance_api_order_book_data_source.py | joedomino874/hummingbot | cb3ee5a30a2feb0a55ceca9d200c59662d7e3057 | [
"Apache-2.0"
] | 1,342 | 2019-04-04T20:50:53.000Z | 2022-03-31T15:22:36.000Z | import asyncio
import re
import ujson
import unittest
import hummingbot.connector.exchange.binance.binance_constants as CONSTANTS
import hummingbot.connector.exchange.binance.binance_utils as utils
from aioresponses.core import aioresponses
from typing import (
Any,
Dict,
List,
)
from unittest.mock import... | 41.203219 | 135 | 0.662418 | 2,415 | 20,478 | 5.276605 | 0.101449 | 0.022601 | 0.036883 | 0.022444 | 0.810641 | 0.788119 | 0.774778 | 0.749353 | 0.730833 | 0.729734 | 0 | 0.01311 | 0.232689 | 20,478 | 496 | 136 | 41.28629 | 0.797874 | 0.016261 | 0 | 0.524173 | 0 | 0 | 0.105428 | 0.051448 | 0 | 0 | 0 | 0 | 0.083969 | 1 | 0.086514 | false | 0 | 0.035623 | 0.002545 | 0.139949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52fcc236ab1ec341a2c5ad81f2d559510db84e04 | 3,933 | py | Python | tests/test_hdr.py | knownboyofno/PySIPmath | 22521d0acaa74250fb7684b8eedbb3e6d044b4af | [
"MIT"
] | 2 | 2021-11-11T03:47:58.000Z | 2021-11-19T07:46:24.000Z | tests/test_hdr.py | knownboyofno/PySIPmath | 22521d0acaa74250fb7684b8eedbb3e6d044b4af | [
"MIT"
] | null | null | null | tests/test_hdr.py | knownboyofno/PySIPmath | 22521d0acaa74250fb7684b8eedbb3e6d044b4af | [
"MIT"
] | 3 | 2021-11-11T18:14:04.000Z | 2021-11-22T07:53:30.000Z | import unittest
from unittest.mock import ANY, patch
from pandas import DataFrame
import PySIP
from tests.fixtures.fit import fit_fixture
class HDRTestSuite(unittest.TestCase):
"""Basic test cases."""
@patch("metalog.metalog.fit")
@patch("json.dump")
@patch("builtins.open")
def test_Json_contains_... | 37.103774 | 109 | 0.59522 | 471 | 3,933 | 4.770701 | 0.235669 | 0.034268 | 0.042279 | 0.048954 | 0.784602 | 0.784602 | 0.784602 | 0.784602 | 0.773921 | 0.748999 | 0 | 0.179733 | 0.25731 | 3,933 | 105 | 110 | 37.457143 | 0.589524 | 0.004322 | 0 | 0.719101 | 0 | 0 | 0.151957 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 1 | 0.05618 | false | 0 | 0.05618 | 0 | 0.123596 | 0.033708 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eab163c4808338f3a52d44ece55b6a061c5a7e63 | 177 | py | Python | data_structures/tree_based/binary_search_tree/test.py | kwahome/data-structures-and-algos | 535b23c63bf384d63c1ebc08d1c32d3dd808297c | [
"Apache-2.0"
] | null | null | null | data_structures/tree_based/binary_search_tree/test.py | kwahome/data-structures-and-algos | 535b23c63bf384d63c1ebc08d1c32d3dd808297c | [
"Apache-2.0"
] | null | null | null | data_structures/tree_based/binary_search_tree/test.py | kwahome/data-structures-and-algos | 535b23c63bf384d63c1ebc08d1c32d3dd808297c | [
"Apache-2.0"
] | null | null | null | import unittest
class BinarySearchTreeTests(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_tree(self):
pass
| 13.615385 | 47 | 0.627119 | 19 | 177 | 5.789474 | 0.631579 | 0.218182 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299435 | 177 | 12 | 48 | 14.75 | 0.887097 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
dc4260cf8f20bea302a69e09b4b826fc26dd7426 | 49 | py | Python | mw2fcitx/utils/dedup.py | outloudvi/mw2fcitx | a4fbbcd5e8068ee1f08714f0e18b46c8b289a42c | [
"Unlicense"
] | 67 | 2020-08-13T13:58:03.000Z | 2022-03-29T11:33:51.000Z | mw2fcitx/utils/dedup.py | outloudvi/fcitx5-pinyin-moegirl | c62d3f7d049143a4d8726f408bdd345f53ff3347 | [
"Unlicense"
] | 5 | 2020-11-16T01:48:32.000Z | 2022-02-18T08:04:32.000Z | mw2fcitx/utils/dedup.py | outloudvi/fcitx5-pinyin-moegirl | c62d3f7d049143a4d8726f408bdd345f53ff3347 | [
"Unlicense"
] | 3 | 2020-10-08T15:44:30.000Z | 2022-03-23T12:40:11.000Z | def dedup(arr: [str]):
return list(set(arr))
| 16.333333 | 25 | 0.612245 | 8 | 49 | 3.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 26 | 24.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dc43ffaa60bfc3f0fb4727078290ad21f4802644 | 72 | py | Python | polaritymodel/__init__.py | tsmbland/Model | 40c66fa2f16821bd0e1eab2a1c09026782c1965d | [
"MIT"
] | null | null | null | polaritymodel/__init__.py | tsmbland/Model | 40c66fa2f16821bd0e1eab2a1c09026782c1965d | [
"MIT"
] | null | null | null | polaritymodel/__init__.py | tsmbland/Model | 40c66fa2f16821bd0e1eab2a1c09026782c1965d | [
"MIT"
] | null | null | null | from .interactive import *
from .paramspace import *
from .pde import *
| 18 | 26 | 0.75 | 9 | 72 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 27 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc6e3f770dec3610379cbe3d5b98d563d85e9c9a | 48 | py | Python | tools/debug/debug.py | DJNing/CenterPoint-KITTI | 44630bc7d60c469a192c7a29178d580196a7410d | [
"Apache-2.0"
] | null | null | null | tools/debug/debug.py | DJNing/CenterPoint-KITTI | 44630bc7d60c469a192c7a29178d580196a7410d | [
"Apache-2.0"
] | null | null | null | tools/debug/debug.py | DJNing/CenterPoint-KITTI | 44630bc7d60c469a192c7a29178d580196a7410d | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
ts = 164318121300 | 12 | 18 | 0.770833 | 8 | 48 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.208333 | 48 | 4 | 19 | 12 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4b1d82f7fc300b1885ed291152676977a923bc6 | 124 | py | Python | tests/conftest.py | davidolrik/python-swt | 8ab72861daaaa5abc85c239182822893d5f56e8d | [
"MIT"
] | 4 | 2020-05-28T11:32:57.000Z | 2020-10-01T05:51:16.000Z | tests/conftest.py | davidolrik/python-swt | 8ab72861daaaa5abc85c239182822893d5f56e8d | [
"MIT"
] | null | null | null | tests/conftest.py | davidolrik/python-swt | 8ab72861daaaa5abc85c239182822893d5f56e8d | [
"MIT"
] | null | null | null | import pytest
from swt import __version__
def pytest_report_header(config):
return f"project version: {__version__}"
| 15.5 | 44 | 0.782258 | 16 | 124 | 5.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 7 | 45 | 17.714286 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f4f6ec9622d19691911989330ec277037663d8e8 | 46 | py | Python | pyimapsync/__init__.py | pyscioffice/pyimapsync | c21bdf4002930756224171b6ee43cb40fc750262 | [
"BSD-3-Clause"
] | null | null | null | pyimapsync/__init__.py | pyscioffice/pyimapsync | c21bdf4002930756224171b6ee43cb40fc750262 | [
"BSD-3-Clause"
] | null | null | null | pyimapsync/__init__.py | pyscioffice/pyimapsync | c21bdf4002930756224171b6ee43cb40fc750262 | [
"BSD-3-Clause"
] | 1 | 2022-01-22T17:37:38.000Z | 2022-01-22T17:37:38.000Z | from pyimapsync.shared import transfer_emails
| 23 | 45 | 0.891304 | 6 | 46 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5215e51ac85d8b62ea480df4911bcd8cbb5f2da4 | 27 | py | Python | src/euler_python_package/euler_python/medium/p376.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p376.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p376.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem376():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
52278dca6f63d5db48275638b83cca3aa4ac4095 | 121 | py | Python | demes/convert/__init__.py | noscode/demes | 5d300a8f5b5e260b828ae2cc7a78ab9ebf3bebba | [
"0BSD"
] | null | null | null | demes/convert/__init__.py | noscode/demes | 5d300a8f5b5e260b828ae2cc7a78ab9ebf3bebba | [
"0BSD"
] | 33 | 2021-07-08T20:01:40.000Z | 2022-03-01T21:11:10.000Z | demes/convert/__init__.py | apragsdale/demes | c31ee9aca6cd8cfe84622a2f1b12b80c5887ae86 | [
"0BSD"
] | null | null | null | # flake8: noqa: F401
from .msprime_ import to_msprime, from_msprime
from .stdpopsim_ import to_stdpopsim, from_stdpopsim
| 30.25 | 52 | 0.826446 | 17 | 121 | 5.529412 | 0.470588 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.115702 | 121 | 3 | 53 | 40.333333 | 0.841122 | 0.14876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87151a37414c37bf72f1a358578325b2e5e187d1 | 5,635 | py | Python | pyteal/ast/for_test.py | CiottiGiorgio/pyteal | 9646a1aa479786c1e80d6a3821d5db1e6c4a16e2 | [
"MIT"
] | null | null | null | pyteal/ast/for_test.py | CiottiGiorgio/pyteal | 9646a1aa479786c1e80d6a3821d5db1e6c4a16e2 | [
"MIT"
] | 1 | 2022-03-04T14:57:57.000Z | 2022-03-04T14:57:57.000Z | pyteal/ast/for_test.py | CiottiGiorgio/pyteal | 9646a1aa479786c1e80d6a3821d5db1e6c4a16e2 | [
"MIT"
] | null | null | null | import pytest
import pyteal as pt
options = pt.CompileOptions()
def test_for_compiles():
i = pt.ScratchVar()
expr = pt.For(i.store(pt.Int(0)), pt.Int(1), i.store(i.load() + pt.Int(1))).Do(
pt.App.globalPut(pt.Itob(pt.Int(0)), pt.Itob(pt.Int(2)))
)
assert expr.type_of() == pt.TealType.none
... | 28.604061 | 88 | 0.60213 | 767 | 5,635 | 4.277705 | 0.092568 | 0.074672 | 0.040232 | 0.057909 | 0.877781 | 0.843036 | 0.838769 | 0.838769 | 0.807071 | 0.740933 | 0 | 0.018227 | 0.221118 | 5,635 | 196 | 89 | 28.75 | 0.729323 | 0 | 0 | 0.695946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 1 | 0.047297 | false | 0 | 0.013514 | 0 | 0.060811 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e84eb2abe4f10ad91f3f954aaff7582a97eab1a | 81 | py | Python | src/my_util/__init__.py | rokkish/unsupervised_trajectory_segmentation | 4875bdc532349670d63cbd86a78032cd9cda9631 | [
"MIT"
] | null | null | null | src/my_util/__init__.py | rokkish/unsupervised_trajectory_segmentation | 4875bdc532349670d63cbd86a78032cd9cda9631 | [
"MIT"
] | 2 | 2020-10-29T02:29:36.000Z | 2021-04-18T12:42:49.000Z | src/my_util/__init__.py | rokkish/unsupervised_trajectory_segmentation | 4875bdc532349670d63cbd86a78032cd9cda9631 | [
"MIT"
] | null | null | null | from my_util.models.segnet_model import MyNet
from my_util.trainer import Trainer | 40.5 | 45 | 0.876543 | 14 | 81 | 4.857143 | 0.642857 | 0.176471 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 2 | 46 | 40.5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ecfdd21138c7074e811149eeb76c5fab4ce835c | 307 | py | Python | altimeter/qj/db/base.py | elliotsegler/altimeter | c3924524938b4bae86b1acda2a4fc3f79ac523ff | [
"MIT"
] | 48 | 2019-11-06T03:20:53.000Z | 2022-02-22T21:10:45.000Z | altimeter/qj/db/base.py | elliotsegler/altimeter | c3924524938b4bae86b1acda2a4fc3f79ac523ff | [
"MIT"
] | 27 | 2020-01-07T23:48:30.000Z | 2022-02-26T00:24:04.000Z | altimeter/qj/db/base.py | elliotsegler/altimeter | c3924524938b4bae86b1acda2a4fc3f79ac523ff | [
"MIT"
] | 21 | 2019-12-20T03:06:35.000Z | 2021-12-15T23:26:00.000Z | """All modes are imported here such that Base has them before being used.
In general Base should be imported from here."""
# noqa # pylint: disable=unused-import
from altimeter.qj.db.base_class import BASE
from altimeter.qj.models.job import Job
from altimeter.qj.models.result_set import ResultSet, Result
| 43.857143 | 73 | 0.798046 | 50 | 307 | 4.86 | 0.64 | 0.160494 | 0.185185 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127036 | 307 | 6 | 74 | 51.166667 | 0.906716 | 0.498371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0dc844ed16ac3a1ecf31f210f5e9430fbb72da37 | 39 | py | Python | pylexitext/engines/__init__.py | vicotrbb/Pylexitext | 9b1ed2abf8f8a76204a7db5d1673f2e6ccf62bd2 | [
"MIT"
] | 4 | 2021-02-18T01:08:30.000Z | 2021-07-08T03:02:53.000Z | pylexitext/engines/__init__.py | vicotrbb/Pylexitext | 9b1ed2abf8f8a76204a7db5d1673f2e6ccf62bd2 | [
"MIT"
] | null | null | null | pylexitext/engines/__init__.py | vicotrbb/Pylexitext | 9b1ed2abf8f8a76204a7db5d1673f2e6ccf62bd2 | [
"MIT"
] | null | null | null | from .search_engine import SearchEngine | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21cfd9564be43465cce543f52615eecc379acbed | 175 | py | Python | src/include/__init__.py | adisve/MFH-GruppProject | 78463cbf730137ed3dbbdb472aa99b79bc4363cc | [
"MIT"
] | 1 | 2022-03-10T19:53:42.000Z | 2022-03-10T19:53:42.000Z | src/include/__init__.py | adisve/MFH-GruppProject | 78463cbf730137ed3dbbdb472aa99b79bc4363cc | [
"MIT"
] | 11 | 2022-03-05T00:00:51.000Z | 2022-03-08T18:14:25.000Z | src/include/__init__.py | adisve/Sustainable-Programming | 78463cbf730137ed3dbbdb472aa99b79bc4363cc | [
"MIT"
] | 1 | 2022-02-20T16:09:12.000Z | 2022-02-20T16:09:12.000Z | """Package that exports game.py module and core game functionality.
Modules exported by this package are:
game.py
Subpackages exported by this package are:
utils
player
"""
| 17.5 | 67 | 0.782857 | 26 | 175 | 5.269231 | 0.653846 | 0.087591 | 0.20438 | 0.306569 | 0.350365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154286 | 175 | 9 | 68 | 19.444444 | 0.925676 | 0.954286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21edf996e8c948cd87dc68a30f006ec0fee91c9d | 125 | py | Python | kata/python/kyu_6/replace_with_alphabet_position/solution.py | ckarakoc/codewars | 2b1fce935f59d73a6d8309b98ca2c3b310623fe4 | [
"MIT"
] | 1 | 2021-06-04T23:24:50.000Z | 2021-06-04T23:24:50.000Z | kata/python/kyu_6/replace_with_alphabet_position/solution.py | ckarakoc/codewars | 2b1fce935f59d73a6d8309b98ca2c3b310623fe4 | [
"MIT"
] | null | null | null | kata/python/kyu_6/replace_with_alphabet_position/solution.py | ckarakoc/codewars | 2b1fce935f59d73a6d8309b98ca2c3b310623fe4 | [
"MIT"
] | null | null | null | import re
def alphabet_position(text):
return ' '.join(str(ord(c) - 96) for c in re.sub('[^a-zA-Z]', '', text.lower())) | 41.666667 | 84 | 0.6 | 22 | 125 | 3.363636 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.16 | 125 | 3 | 84 | 41.666667 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
21f7b61d609cda79179324fbc453d0c5695e148f | 40,557 | py | Python | python_src/ianna.py | fjpena/sword-of-ianna-msx2 | f104f46a677e4b21f42fbed478307a0bb1d372f3 | [
"Apache-2.0"
] | 43 | 2017-10-21T23:01:25.000Z | 2022-02-21T17:45:11.000Z | python_src/ianna.py | fjpena/sword-of-ianna-msx2 | f104f46a677e4b21f42fbed478307a0bb1d372f3 | [
"Apache-2.0"
] | null | null | null | python_src/ianna.py | fjpena/sword-of-ianna-msx2 | f104f46a677e4b21f42fbed478307a0bb1d372f3 | [
"Apache-2.0"
] | 6 | 2017-10-23T05:48:50.000Z | 2022-01-06T03:11:49.000Z | #!/usr/bin/env python
import pygame
import pygame.locals
import tmxlib
import sys
import constants
import os
from tiled_map import *
from sev_sprite import *
from ianna_entity import *
from mapa import *
from timer import *
from ianna_score import *
import gc
class IannaGame():
def __init__ (self):
self.keyboard=[... | 43.845405 | 232 | 0.709964 | 6,315 | 40,557 | 4.441172 | 0.089311 | 0.035513 | 0.035442 | 0.048207 | 0.781324 | 0.758147 | 0.736683 | 0.7175 | 0.710048 | 0.679526 | 0 | 0.022024 | 0.165939 | 40,557 | 924 | 233 | 43.892857 | 0.807077 | 0.040881 | 0 | 0.654242 | 0 | 0.077121 | 0.369933 | 0.043472 | 0 | 0 | 0 | 0.001082 | 0 | 0 | null | null | 0.002571 | 0.01671 | null | null | 0.028278 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d01c50bed3e5afb7bc4a42f395c9759880c6fc4 | 105 | py | Python | model/components/base_component.py | MattJTrueblood/Allies_RL_Prototype | 1c7c4360156d0dc5ff53c49401d25026761862df | [
"Unlicense"
] | 1 | 2018-11-19T19:51:49.000Z | 2018-11-19T19:51:49.000Z | model/components/base_component.py | MattJTrueblood/Allies_RL_Prototype | 1c7c4360156d0dc5ff53c49401d25026761862df | [
"Unlicense"
] | null | null | null | model/components/base_component.py | MattJTrueblood/Allies_RL_Prototype | 1c7c4360156d0dc5ff53c49401d25026761862df | [
"Unlicense"
] | null | null | null |
class BaseComponent:
def __init__(self, parent_entity):
self.parent_entity = parent_entity
| 17.5 | 42 | 0.72381 | 12 | 105 | 5.75 | 0.583333 | 0.521739 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209524 | 105 | 5 | 43 | 21 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 6 |
1d03e155b68e1756123681e66fc0484988077bc2 | 8,510 | py | Python | mstrio/api/cubes.py | r3dunlop/mstrio-py | 7754c4c35d711093a902b502fb16c98b6e317f4c | [
"Apache-2.0"
] | null | null | null | mstrio/api/cubes.py | r3dunlop/mstrio-py | 7754c4c35d711093a902b502fb16c98b6e317f4c | [
"Apache-2.0"
] | null | null | null | mstrio/api/cubes.py | r3dunlop/mstrio-py | 7754c4c35d711093a902b502fb16c98b6e317f4c | [
"Apache-2.0"
] | null | null | null | import requests
def cube(connection, cube_id, verbose=False):
"""
Get the definition of a specific cube, including attributes and metrics. The cube can be either an Intelligent Cube
or a Direct Data Access (DDA)/MDX cube. The in-memory cube definition provides information about all available
objects w... | 45.752688 | 130 | 0.618684 | 998 | 8,510 | 5.211423 | 0.178357 | 0.02538 | 0.01692 | 0.019996 | 0.792732 | 0.774274 | 0.741396 | 0.716401 | 0.71294 | 0.702173 | 0 | 0.010847 | 0.306698 | 8,510 | 185 | 131 | 46 | 0.870678 | 0.491304 | 0 | 0.763889 | 0 | 0 | 0.089079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097222 | false | 0 | 0.013889 | 0 | 0.208333 | 0.097222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df1fb6d47b126aa92c2af55eb49af994323127f1 | 42 | py | Python | Ezalt/__main__.py | LucasValentimB/Ezalt | fb4f17f61eff83da42b05c4f3a02334e876e0ef6 | [
"MIT"
] | null | null | null | Ezalt/__main__.py | LucasValentimB/Ezalt | fb4f17f61eff83da42b05c4f3a02334e876e0ef6 | [
"MIT"
] | null | null | null | Ezalt/__main__.py | LucasValentimB/Ezalt | fb4f17f61eff83da42b05c4f3a02334e876e0ef6 | [
"MIT"
] | null | null | null | from Ezalt import Ezalt
Ezalt.Ezalt()
| 10.5 | 24 | 0.714286 | 6 | 42 | 5 | 0.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 42 | 3 | 25 | 14 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
df94a5e4878251a704754e7eccfac2c81e036202 | 32 | py | Python | main.py | zhiqiu1/reversi | 7e6cf9f19d24289d9b873f5b8b2e8d4e6c82fb3e | [
"MIT"
] | null | null | null | main.py | zhiqiu1/reversi | 7e6cf9f19d24289d9b873f5b8b2e8d4e6c82fb3e | [
"MIT"
] | 1 | 2021-01-28T08:40:55.000Z | 2021-01-28T08:41:04.000Z | main.py | zhiqiu1/reversi | 7e6cf9f19d24289d9b873f5b8b2e8d4e6c82fb3e | [
"MIT"
] | null | null | null | import game_ui
game_ui.UI()
| 8 | 15 | 0.6875 | 6 | 32 | 3.333333 | 0.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 3 | 16 | 10.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8000bbb503dcc0e30622761be7649f2f9bf18373 | 37 | py | Python | src/web/results/__init__.py | alex-dya/security_scanner | 7aeb6af863ccdbf6c066d52446318aaf898afe7b | [
"MIT"
] | null | null | null | src/web/results/__init__.py | alex-dya/security_scanner | 7aeb6af863ccdbf6c066d52446318aaf898afe7b | [
"MIT"
] | 7 | 2021-05-28T14:31:27.000Z | 2022-03-12T00:57:40.000Z | src/web/results/__init__.py | alex-dya/security_scanner | 7aeb6af863ccdbf6c066d52446318aaf898afe7b | [
"MIT"
] | 1 | 2021-05-15T12:18:49.000Z | 2021-05-15T12:18:49.000Z | from . import routes, exports, forms
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8013c521f04a4ab2ff5a0bf341dcb6f5338627c1 | 42 | py | Python | sagenet/DHH_data/__init__.py | MarioniLab/sagenet | d18b381764c23c6c617b6fd520b5e3f371186228 | [
"MIT"
] | 9 | 2021-12-20T14:28:10.000Z | 2022-03-18T06:44:07.000Z | sagenet/DHH_data/__init__.py | MarioniLab/sagenet | d18b381764c23c6c617b6fd520b5e3f371186228 | [
"MIT"
] | null | null | null | sagenet/DHH_data/__init__.py | MarioniLab/sagenet | d18b381764c23c6c617b6fd520b5e3f371186228 | [
"MIT"
] | 1 | 2022-01-29T04:38:54.000Z | 2022-01-29T04:38:54.000Z | from sagenet.DHH_data._DHH_data import *
| 21 | 41 | 0.809524 | 7 | 42 | 4.428571 | 0.714286 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
801476c435ab54ee6d034fd2cc66aad43cf542e8 | 16,429 | py | Python | models/tied_model_triple_encoder.py | rajat95/Deep-Deghosting-HDR | d56c213912083df0323f26e594ccc5ed7fa668ec | [
"MIT"
] | 33 | 2019-06-13T09:25:57.000Z | 2022-02-08T09:26:28.000Z | models/tied_model_triple_encoder.py | banananabear/Deep-Deghosting-HDR | d56c213912083df0323f26e594ccc5ed7fa668ec | [
"MIT"
] | 11 | 2019-11-01T08:31:24.000Z | 2021-12-23T03:05:09.000Z | models/tied_model_triple_encoder.py | banananabear/Deep-Deghosting-HDR | d56c213912083df0323f26e594ccc5ed7fa668ec | [
"MIT"
] | 10 | 2019-07-04T06:39:04.000Z | 2022-03-29T03:19:22.000Z | import numpy as np
import tensorflow as tf
layers = tf.layers
leaky_relu=tf.nn.leaky_relu
def deepfuse_triple_3encoder(inp1, inp2, inp3):
layers = tf.layers
leaky_relu=tf.nn.leaky_relu
with tf.variable_scope('DeepFuse'):
neg_prepooled_feats = [[],[]]
pos_prepooled_feats = [[],[]]
nu... | 77.131455 | 185 | 0.612149 | 1,978 | 16,429 | 4.83822 | 0.063195 | 0.04232 | 0.047126 | 0.077116 | 0.870428 | 0.846082 | 0.828109 | 0.822675 | 0.79906 | 0.779415 | 0 | 0.042698 | 0.267271 | 16,429 | 212 | 186 | 77.495283 | 0.752284 | 0.02386 | 0 | 0.43956 | 0 | 0 | 0.042912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010989 | false | 0 | 0.010989 | 0 | 0.032967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
338d51c0d7e8444d0e50902eaaf362b4183ae19a | 25 | py | Python | src/imdb/__init__.py | Jiang-Muyun/SqueezeSeg | d52f1149ed53038fc721a067e816e83a77fd29d3 | [
"BSD-2-Clause"
] | null | null | null | src/imdb/__init__.py | Jiang-Muyun/SqueezeSeg | d52f1149ed53038fc721a067e816e83a77fd29d3 | [
"BSD-2-Clause"
] | 10 | 2020-01-28T22:14:50.000Z | 2022-03-11T23:59:04.000Z | src/imdb/__init__.py | YaraAlnaggar/SqueezeSeg | 10343ca48ef384b27ddb8dd93551eeceb34962d6 | [
"BSD-2-Clause"
] | null | null | null | from .kitti import kitti
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33970c9324927872dbbb2ee18d05fd2fd8210691 | 3,660 | py | Python | evaluation_scripts/plotting_multiple_trajectories.py | julianxu/Rockets | af40b5fd17570bdd310eccffbb9fb6d8afbe8a3b | [
"MIT"
] | 275 | 2018-02-16T19:51:26.000Z | 2022-03-12T23:25:41.000Z | evaluation_scripts/plotting_multiple_trajectories.py | julianxu/Rockets | af40b5fd17570bdd310eccffbb9fb6d8afbe8a3b | [
"MIT"
] | 5 | 2018-02-14T20:55:36.000Z | 2021-04-20T08:17:59.000Z | evaluation_scripts/plotting_multiple_trajectories.py | julianxu/Rockets | af40b5fd17570bdd310eccffbb9fb6d8afbe8a3b | [
"MIT"
] | 49 | 2017-12-06T21:31:56.000Z | 2021-12-11T11:02:58.000Z | """
Author: Reuben Ferrante
Date: 10/05/2017
Description: General scripts for graphing instead of notebook.
"""
from evaluation_scripts.plotting_trajectory import *
def plot_pid_and_ddpg_trajectories(res):
# Low Disc
# state_history = np.load('C://Users//REUBS_LEN//PycharmProjects//RocketLanding//rl_and_con... | 46.923077 | 122 | 0.672951 | 502 | 3,660 | 4.641434 | 0.205179 | 0.103004 | 0.025751 | 0.04721 | 0.832618 | 0.813305 | 0.79485 | 0.79485 | 0.777682 | 0.777682 | 0 | 0.02032 | 0.179781 | 3,660 | 78 | 123 | 46.923077 | 0.755829 | 0.160383 | 0 | 0.565217 | 0 | 0 | 0.375409 | 0.233813 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065217 | false | 0 | 0.021739 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
339855d757cb9ab301e8ef41180bbf3b52548830 | 238 | py | Python | api/leaderboard/urls.py | firatbulut19/leaderboard | 6f37ed6d0b3fa9f63c955cfd5d6b5c94f481e6a9 | [
"MIT"
] | null | null | null | api/leaderboard/urls.py | firatbulut19/leaderboard | 6f37ed6d0b3fa9f63c955cfd5d6b5c94f481e6a9 | [
"MIT"
] | null | null | null | api/leaderboard/urls.py | firatbulut19/leaderboard | 6f37ed6d0b3fa9f63c955cfd5d6b5c94f481e6a9 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.global_leaderboard.as_view(), name="global_leaderboard"),
path('<str:country>/', views.country_leaderboard.as_view(), name="country_leaderboard"),
] | 29.75 | 92 | 0.731092 | 29 | 238 | 5.793103 | 0.482759 | 0.202381 | 0.202381 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113445 | 238 | 8 | 93 | 29.75 | 0.796209 | 0 | 0 | 0 | 0 | 0 | 0.213389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
33eddd9418211e82b60e6b3e819f96b20503c44a | 90 | py | Python | python2/string_concatenation.py | callmegibby/codecademy | f2b5507ca9382571cc044f44d6f857cbd4599121 | [
"MIT"
] | 1 | 2020-09-23T21:54:37.000Z | 2020-09-23T21:54:37.000Z | python2/string_concatenation.py | callmegibby/codecademy | f2b5507ca9382571cc044f44d6f857cbd4599121 | [
"MIT"
] | 2 | 2020-09-23T22:08:36.000Z | 2020-10-02T17:41:44.000Z | python2/string_concatenation.py | callmegibby/codecademy | f2b5507ca9382571cc044f44d6f857cbd4599121 | [
"MIT"
] | 1 | 2020-09-23T21:54:58.000Z | 2020-09-23T21:54:58.000Z | # Print the concatenation of "Spam and eggs" on line 3!
print ("Spam " + "and " + "eggs") | 30 | 55 | 0.633333 | 14 | 90 | 4.071429 | 0.714286 | 0.245614 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.211111 | 90 | 3 | 56 | 30 | 0.788732 | 0.588889 | 0 | 0 | 0 | 0 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
33fc6e018065d310de39be13c2da222c7376d10d | 120 | py | Python | main.py | evenharder/mandelbrot-set | b0b4449819dc0599df0572e9dd5eec07c9ed88c8 | [
"MIT"
] | null | null | null | main.py | evenharder/mandelbrot-set | b0b4449819dc0599df0572e9dd5eec07c9ed88c8 | [
"MIT"
] | null | null | null | main.py | evenharder/mandelbrot-set | b0b4449819dc0599df0572e9dd5eec07c9ed88c8 | [
"MIT"
] | null | null | null | from GUI import *
from tkinter import *
from tkinter.ttk import *
def main():
getcontext().prec=100
gui=GUI()
main() | 13.333333 | 25 | 0.7 | 18 | 120 | 4.666667 | 0.555556 | 0.238095 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0.166667 | 120 | 9 | 26 | 13.333333 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.