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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f6fe067666a65d05130d12c7b574511df13d077 | 14,748 | py | Python | gary/coordinates/tests/test_core.py | adrn/gary-old | 065b371534baa03deeb860893640068d90ba5881 | [
"MIT"
] | null | null | null | gary/coordinates/tests/test_core.py | adrn/gary-old | 065b371534baa03deeb860893640068d90ba5881 | [
"MIT"
] | null | null | null | gary/coordinates/tests/test_core.py | adrn/gary-old | 065b371534baa03deeb860893640068d90ba5881 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Test conversions in core.py
"""
from __future__ import absolute_import, division, print_function
__author__ = "adrn <adrn@astro.columbia.edu>"
# Standard library
import os
import pytest
import numpy as np
import tempfile
# Third-party
import astropy.coordinates as coord
import astropy.units ... | 40.295082 | 110 | 0.545566 | 2,360 | 14,748 | 3.317373 | 0.122881 | 0.025291 | 0.033721 | 0.042151 | 0.832162 | 0.799847 | 0.789117 | 0.783497 | 0.782986 | 0.749649 | 0 | 0.054309 | 0.28709 | 14,748 | 365 | 111 | 40.405479 | 0.690318 | 0.10042 | 0 | 0.621514 | 0 | 0.011952 | 0.048535 | 0.001893 | 0 | 0 | 0 | 0 | 0.12749 | 1 | 0.043825 | false | 0 | 0.035857 | 0 | 0.083665 | 0.003984 | 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 |
4fa3f7148a96125af127047c4cb38197b76a3f8a | 19,196 | py | Python | pods/problems/test_functions.py | louisXW/PODS | e73210112de950533c9e11aed3d90bbd0c83fbed | [
"MIT"
] | null | null | null | pods/problems/test_functions.py | louisXW/PODS | e73210112de950533c9e11aed3d90bbd0c83fbed | [
"MIT"
] | 1 | 2022-03-24T18:17:50.000Z | 2022-03-24T18:17:50.000Z | pods/problems/test_functions.py | louisXW/PODS | e73210112de950533c9e11aed3d90bbd0c83fbed | [
"MIT"
] | 1 | 2021-08-01T12:57:30.000Z | 2021-08-01T12:57:30.000Z | """
"""
import random
from time import time
import numpy as np
import math
class Rastrigin:
"""Rastrigin function
.. math::
f(x_1,\\ldots,x_n)=10n-\\sum_{i=1}^n (x_i^2 - 10 \\cos(2 \\pi x_i))
subject to
.. math::
-5.12 \\leq x_i \\leq 5.12
Global optimum: :math:`f(0,0,...,0)... | 27.699856 | 104 | 0.533653 | 2,560 | 19,196 | 3.955469 | 0.060938 | 0.049378 | 0.041477 | 0.02696 | 0.825005 | 0.80239 | 0.767628 | 0.756073 | 0.742741 | 0.738297 | 0 | 0.044496 | 0.301052 | 19,196 | 692 | 105 | 27.739884 | 0.710218 | 0.405397 | 0 | 0.53719 | 0 | 0 | 0.180296 | 0.050223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095041 | false | 0 | 0.016529 | 0.004132 | 0.206612 | 0.144628 | 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 |
4fadf8aa6d52d427e1b697f32bc88e5ffae4b722 | 28,411 | py | Python | test/test_dtypes.py | achilleas-k/odml-to-nix | e4f8727b4fa2524a7a3ac147bf065d9403efafcd | [
"BSD-3-Clause"
] | null | null | null | test/test_dtypes.py | achilleas-k/odml-to-nix | e4f8727b4fa2524a7a3ac147bf065d9403efafcd | [
"BSD-3-Clause"
] | 17 | 2018-07-24T11:34:23.000Z | 2021-06-21T14:57:53.000Z | test/test_dtypes.py | achilleas-k/odml-to-nix | e4f8727b4fa2524a7a3ac147bf065d9403efafcd | [
"BSD-3-Clause"
] | 5 | 2018-08-01T10:36:55.000Z | 2020-07-17T13:41:36.000Z | import datetime
import os
import shutil
import tempfile
import unittest
import numpy as np
import uuid
import nixio as nix
import odml
from nixodmlconverter import convert
class TestDtypes(unittest.TestCase):
def setUp(self):
self.test_dir = tempfile.mkdtemp("_odmlnix", "test_", tempfile.gettempdir())
... | 44.812303 | 95 | 0.63669 | 4,391 | 28,411 | 3.824869 | 0.033933 | 0.061268 | 0.035368 | 0.043346 | 0.920333 | 0.882584 | 0.861149 | 0.83513 | 0.781899 | 0.745698 | 0 | 0.053535 | 0.2209 | 28,411 | 633 | 96 | 44.883096 | 0.705218 | 0.012214 | 0 | 0.632035 | 0 | 0 | 0.075814 | 0 | 0 | 0 | 0 | 0 | 0.203463 | 1 | 0.04329 | false | 0 | 0.021645 | 0 | 0.0671 | 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 |
8c329e3e23af45841816c136124e5d525e8e9bde | 23 | py | Python | actstream/runtests/testapp_nested/models/__init__.py | tcdent/django-activity-stream | f8b4fb80683dcae54b9795ba7d43f6827328fe75 | [
"BSD-3-Clause"
] | null | null | null | actstream/runtests/testapp_nested/models/__init__.py | tcdent/django-activity-stream | f8b4fb80683dcae54b9795ba7d43f6827328fe75 | [
"BSD-3-Clause"
] | null | null | null | actstream/runtests/testapp_nested/models/__init__.py | tcdent/django-activity-stream | f8b4fb80683dcae54b9795ba7d43f6827328fe75 | [
"BSD-3-Clause"
] | null | null | null | from . import my_model
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c3945658076b76d7d6fcbc2d8841db3ba021c24 | 47 | py | Python | samples/field_attachments/__init__.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | samples/field_attachments/__init__.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | samples/field_attachments/__init__.py | zoho/zohocrm-python-sdk-2.1 | cde6fcd1c5c8f7a572154ebb2b947ec697c24209 | [
"Apache-2.0"
] | null | null | null | from .field_attachments import FieldAttachments | 47 | 47 | 0.914894 | 5 | 47 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fd1499b689757938db40a345415ff17cf678a7f | 340 | py | Python | vedadet/bridge/__init__.py | jie311/vedadet | aaf3b3bc3c7944aba1cc28138165d403023a9152 | [
"Apache-2.0"
] | 424 | 2020-10-19T03:56:49.000Z | 2022-03-28T02:47:39.000Z | vedadet/bridge/__init__.py | jie311/vedadet | aaf3b3bc3c7944aba1cc28138165d403023a9152 | [
"Apache-2.0"
] | 72 | 2020-11-27T17:10:00.000Z | 2022-03-17T02:40:53.000Z | vedadet/bridge/__init__.py | jie311/vedadet | aaf3b3bc3c7944aba1cc28138165d403023a9152 | [
"Apache-2.0"
] | 116 | 2020-11-03T02:31:17.000Z | 2022-03-08T08:20:48.000Z | from .converters import (BBoxAnchorConverter, PointAnchorConverter,
build_converter)
from .meshgrids import BBoxAnchorMeshGrid, PointAnchorMeshGrid, build_meshgrid
__all__ = [
'BBoxAnchorConverter', 'PointAnchorConverter', 'build_converter',
'BBoxAnchorMeshGrid', 'PointAnchorMeshGrid',... | 37.777778 | 78 | 0.752941 | 23 | 340 | 10.782609 | 0.521739 | 0.314516 | 0.354839 | 0.427419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 340 | 8 | 79 | 42.5 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fea880a4e0a295a220a82126f6f14eb464d5b83 | 40 | py | Python | xam/linear_model/__init__.py | topolphukhanh/xam | 3fa958ba8b0c8e8e266cac9997b7a7d0c309f55c | [
"MIT"
] | 357 | 2017-03-23T19:07:31.000Z | 2022-03-11T09:08:07.000Z | xam/linear_model/__init__.py | topolphukhanh/xam | 3fa958ba8b0c8e8e266cac9997b7a7d0c309f55c | [
"MIT"
] | 8 | 2018-07-05T09:18:36.000Z | 2022-03-04T05:10:09.000Z | xam/linear_model/__init__.py | topolphukhanh/xam | 3fa958ba8b0c8e8e266cac9997b7a7d0c309f55c | [
"MIT"
] | 89 | 2017-03-24T22:12:39.000Z | 2022-02-14T15:47:41.000Z | from .auc_regressor import AUCRegressor
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
8b18489858aa2ef22421ecfb04beca605bd0781c | 7,530 | py | Python | tests/integration/backward_compatible/proxy/transactional_map_test.py | tonytheonlypony/hazelcast-python-client | 3aafeaf2ebc05aee4f2386c62c079db496a7c81f | [
"Apache-2.0"
] | 98 | 2015-12-08T14:26:27.000Z | 2022-03-23T17:44:11.000Z | tests/integration/backward_compatible/proxy/transactional_map_test.py | tonytheonlypony/hazelcast-python-client | 3aafeaf2ebc05aee4f2386c62c079db496a7c81f | [
"Apache-2.0"
] | 396 | 2016-02-23T11:07:55.000Z | 2022-03-31T14:26:34.000Z | tests/integration/backward_compatible/proxy/transactional_map_test.py | tonytheonlypony/hazelcast-python-client | 3aafeaf2ebc05aee4f2386c62c079db496a7c81f | [
"Apache-2.0"
] | 62 | 2015-12-09T11:20:53.000Z | 2022-01-28T01:30:54.000Z | from hazelcast.predicate import sql
from tests.base import SingleMemberTestCase
from tests.util import random_string
class TransactionalMapTest(SingleMemberTestCase):
@classmethod
def configure_client(cls, config):
config["cluster_name"] = cls.cluster.id
return config
def setUp(self):
... | 35.023256 | 95 | 0.61421 | 1,077 | 7,530 | 4.091922 | 0.065924 | 0.109598 | 0.059224 | 0.079646 | 0.867937 | 0.836624 | 0.803721 | 0.779215 | 0.779215 | 0.776265 | 0 | 0.006074 | 0.234794 | 7,530 | 214 | 96 | 35.186916 | 0.758764 | 0 | 0 | 0.583333 | 0 | 0 | 0.088845 | 0 | 0 | 0 | 0 | 0 | 0.262821 | 1 | 0.179487 | false | 0 | 0.019231 | 0 | 0.211538 | 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 |
8c850b04b86cc34461c6efda8534130dc01f64a9 | 8,442 | py | Python | python/src/nnabla/backward_function/backward_function.py | daniel-falk/nnabla | 3fe132ea52dc10521cc029a5d6ba8f565cf65ccf | [
"Apache-2.0"
] | 2,792 | 2017-06-26T13:05:44.000Z | 2022-03-28T07:55:26.000Z | python/src/nnabla/backward_function/backward_function.py | daniel-falk/nnabla | 3fe132ea52dc10521cc029a5d6ba8f565cf65ccf | [
"Apache-2.0"
] | 138 | 2017-06-27T07:04:44.000Z | 2022-02-28T01:37:15.000Z | python/src/nnabla/backward_function/backward_function.py | daniel-falk/nnabla | 3fe132ea52dc10521cc029a5d6ba8f565cf65ccf | [
"Apache-2.0"
] | 380 | 2017-06-26T13:23:52.000Z | 2022-03-25T16:51:30.000Z | # Copyright 2019,2020,2021 Sony Corporation.
# Copyright 2021 Sony Group Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... | 27.861386 | 77 | 0.601161 | 1,091 | 8,442 | 4.432631 | 0.127406 | 0.072581 | 0.086022 | 0.102151 | 0.769644 | 0.75641 | 0.744003 | 0.723532 | 0.714847 | 0.707816 | 0 | 0.017162 | 0.30289 | 8,442 | 302 | 78 | 27.953642 | 0.804588 | 0.091921 | 0 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170507 | false | 0 | 0.009217 | 0.096774 | 0.308756 | 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 |
8ca36efe1c0d71480ad6f611b45d6656d6008b3f | 3,008 | py | Python | devilry/utils/management.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/utils/management.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/utils/management.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | import sys
from optparse import make_option
DEFAULT_ENCODING = 'utf-8'
def get_input_encoding():
""" Get the input encoding used for input to management commands.
:return: ``sys.stdin.encoding``
"""
return sys.stdin.encoding or sys.getdefaultencoding() or DEFAULT_ENCODING
def make_input_encoding_opt... | 37.135802 | 104 | 0.620346 | 347 | 3,008 | 5.262248 | 0.149856 | 0.099671 | 0.030668 | 0.052574 | 0.833516 | 0.765608 | 0.765608 | 0.765608 | 0.765608 | 0.765608 | 0 | 0.004043 | 0.259973 | 3,008 | 80 | 105 | 37.6 | 0.816262 | 0.256649 | 0 | 0.648649 | 0 | 0 | 0.379082 | 0.097492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162162 | false | 0 | 0.054054 | 0 | 0.378378 | 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 |
8cabc5f165a4cbd8f34096d81b912cc2d0db4227 | 46 | py | Python | testharness/__init__.py | kovarus/network-healthcheck | 640c5c4541a106d5de4321a3725dd4cddc16fd25 | [
"Apache-2.0"
] | null | null | null | testharness/__init__.py | kovarus/network-healthcheck | 640c5c4541a106d5de4321a3725dd4cddc16fd25 | [
"Apache-2.0"
] | null | null | null | testharness/__init__.py | kovarus/network-healthcheck | 640c5c4541a106d5de4321a3725dd4cddc16fd25 | [
"Apache-2.0"
] | 2 | 2018-05-16T02:08:27.000Z | 2020-02-09T22:41:09.000Z | #!/usr/bin/env python
from .devices import *
| 11.5 | 22 | 0.695652 | 7 | 46 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 3 | 23 | 15.333333 | 0.820513 | 0.434783 | 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 |
50c3944493262e5557258d6a3d5eda1c22a9b916 | 153 | py | Python | src/utils/repr.py | riccardomusmeci/easy_byol | 20099e0e55609b047f262539e7e2de4f00b988a4 | [
"MIT"
] | null | null | null | src/utils/repr.py | riccardomusmeci/easy_byol | 20099e0e55609b047f262539e7e2de4f00b988a4 | [
"MIT"
] | 1 | 2022-03-14T13:01:18.000Z | 2022-03-14T15:33:22.000Z | src/utils/repr.py | riccardomusmeci/easy_byol | 20099e0e55609b047f262539e7e2de4f00b988a4 | [
"MIT"
] | null | null | null | import torch
import random
import numpy as np
def reproducibility(seed=42):
torch.manual_seed(seed)
np.random.seed(seed)
random.seed(seed)
| 15.3 | 29 | 0.732026 | 23 | 153 | 4.826087 | 0.478261 | 0.216216 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.176471 | 153 | 9 | 30 | 17 | 0.865079 | 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 |
50c4af7bbeaf92e33734b02f7922d22a887d1685 | 48 | py | Python | deep_da/data/iterator/__init__.py | asahi417/DeepDomainAdaptation | e8e384d0aea2825a879c8f981bfc9f177b59b1b6 | [
"MIT"
] | 22 | 2019-01-31T16:36:44.000Z | 2021-08-24T11:09:04.000Z | deep_da/data/iterator/__init__.py | asahi417/DeepDomainAdaptation | e8e384d0aea2825a879c8f981bfc9f177b59b1b6 | [
"MIT"
] | null | null | null | deep_da/data/iterator/__init__.py | asahi417/DeepDomainAdaptation | e8e384d0aea2825a879c8f981bfc9f177b59b1b6 | [
"MIT"
] | 8 | 2019-02-10T03:52:25.000Z | 2021-02-11T22:44:54.000Z | from .mnist import MNIST
from .svhn import SVHN
| 16 | 24 | 0.791667 | 8 | 48 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fa99f96053fb2b136ce0e011104a7a18ac75297 | 126 | py | Python | chapter02_best_practices/first.py | shelly77/cookbook-2nd-code | 507744c13b7eb2eaec759345f78e6b8ae76ce58a | [
"MIT"
] | null | null | null | chapter02_best_practices/first.py | shelly77/cookbook-2nd-code | 507744c13b7eb2eaec759345f78e6b8ae76ce58a | [
"MIT"
] | null | null | null | chapter02_best_practices/first.py | shelly77/cookbook-2nd-code | 507744c13b7eb2eaec759345f78e6b8ae76ce58a | [
"MIT"
] | null | null | null | def first(l):
return l[0] if l else None
def test_first():
assert first([1, 2, 3]) == 1
assert first([]) is None
| 18 | 32 | 0.579365 | 23 | 126 | 3.130435 | 0.608696 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0.261905 | 126 | 6 | 33 | 21 | 0.72043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0fc3166afe97d1a0e4b3466877ac63a1cb29455f | 148 | py | Python | appengine_config.py | robertkohl125/MathQuizer | 5e489c1e5af4d3994fe597be8107e5b8caefe81a | [
"Apache-2.0"
] | null | null | null | appengine_config.py | robertkohl125/MathQuizer | 5e489c1e5af4d3994fe597be8107e5b8caefe81a | [
"Apache-2.0"
] | null | null | null | appengine_config.py | robertkohl125/MathQuizer | 5e489c1e5af4d3994fe597be8107e5b8caefe81a | [
"Apache-2.0"
] | null | null | null | def webapp_add_wsgi_middleware(app):
from google.appengine.ext.appstats import recording
app = recording.appstats_wsgi_middleware(app)
return app | 37 | 52 | 0.844595 | 21 | 148 | 5.714286 | 0.666667 | 0.233333 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087838 | 148 | 4 | 53 | 37 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ba1bc917ef378f42a92f74ad6775776db9a8e270 | 55 | py | Python | sonorus/experimental/modules/__init__.py | imbesat-rizvi/sonorus | 38698d55b00c67fb3bcff4e4349b6c214a29e6f5 | [
"MIT"
] | null | null | null | sonorus/experimental/modules/__init__.py | imbesat-rizvi/sonorus | 38698d55b00c67fb3bcff4e4349b6c214a29e6f5 | [
"MIT"
] | null | null | null | sonorus/experimental/modules/__init__.py | imbesat-rizvi/sonorus | 38698d55b00c67fb3bcff4e4349b6c214a29e6f5 | [
"MIT"
] | 2 | 2021-01-17T22:53:02.000Z | 2021-03-03T01:11:43.000Z | from .DataCollatorWav2Vec2 import DataCollatorWav2Vec2
| 27.5 | 54 | 0.909091 | 4 | 55 | 12.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0.072727 | 55 | 1 | 55 | 55 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba2a24a4e746ef7bb5d2b95adc82434eb738330b | 19,190 | py | Python | models/backbone_module_scale.py | zaiweizhang/H3DNet | e69f2855634807b37ae12e6db5963c924e64d3e7 | [
"MIT"
] | 212 | 2020-06-11T01:03:36.000Z | 2022-03-17T17:29:21.000Z | models/backbone_module_scale.py | zaiweizhang/H3DNet | e69f2855634807b37ae12e6db5963c924e64d3e7 | [
"MIT"
] | 25 | 2020-06-15T13:35:13.000Z | 2022-03-10T05:44:05.000Z | models/backbone_module_scale.py | zaiweizhang/H3DNet | e69f2855634807b37ae12e6db5963c924e64d3e7 | [
"MIT"
] | 24 | 2020-06-11T01:17:24.000Z | 2022-03-30T13:34:45.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
import sys
import os
BASE_DIR = os.path.dirname(os.pat... | 43.026906 | 269 | 0.58223 | 2,453 | 19,190 | 4.360783 | 0.09417 | 0.096756 | 0.044872 | 0.033654 | 0.814621 | 0.802842 | 0.783771 | 0.765448 | 0.70674 | 0.694307 | 0 | 0.0649 | 0.278166 | 19,190 | 445 | 270 | 43.123596 | 0.707335 | 0.246483 | 0 | 0.660448 | 0 | 0 | 0.062442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033582 | false | 0 | 0.026119 | 0 | 0.093284 | 0.007463 | 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 |
e86aa6e57c10c1eb1b665a58155e3c78c2685b6f | 535 | py | Python | senza/components/weighted_dns_elastic_load_balancer_v2.py | mschwitalla/senza | 301a43fde41db194cbb80c68271692d1fe2212db | [
"Apache-2.0"
] | 106 | 2015-03-30T14:15:15.000Z | 2021-07-26T07:30:11.000Z | senza/components/weighted_dns_elastic_load_balancer_v2.py | mschwitalla/senza | 301a43fde41db194cbb80c68271692d1fe2212db | [
"Apache-2.0"
] | 547 | 2015-04-13T09:58:50.000Z | 2021-01-26T11:20:35.000Z | senza/components/weighted_dns_elastic_load_balancer_v2.py | mschwitalla/senza | 301a43fde41db194cbb80c68271692d1fe2212db | [
"Apache-2.0"
] | 102 | 2015-04-01T08:09:53.000Z | 2020-11-05T09:05:28.000Z |
from senza.components.weighted_dns_elastic_load_balancer import component_weighted_dns_elastic_load_balancer
from senza.components.elastic_load_balancer_v2 import component_elastic_load_balancer_v2
def component_weighted_dns_elastic_load_balancer_v2(definition, configuration, args, info, force, account_info):
re... | 59.444444 | 115 | 0.8 | 64 | 535 | 6.15625 | 0.3125 | 0.195431 | 0.337563 | 0.22335 | 0.763959 | 0.535533 | 0.238579 | 0 | 0 | 0 | 0 | 0.008909 | 0.160748 | 535 | 8 | 116 | 66.875 | 0.868597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e89cafdde490cb1a0cb94bd31e995a45ddf87570 | 174 | py | Python | 104-maximum-depth-of-binary-tree/104-maximum-depth-of-binary-tree.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | 1 | 2021-10-10T20:21:18.000Z | 2021-10-10T20:21:18.000Z | 104-maximum-depth-of-binary-tree/104-maximum-depth-of-binary-tree.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | null | null | null | 104-maximum-depth-of-binary-tree/104-maximum-depth-of-binary-tree.py | Atri10/Leet-code---Atri_Patel | 49fc59b9147a44ab04a66128fbb2ef259b5f7b7c | [
"MIT"
] | null | null | null | class Solution:
def maxDepth(self, root: Optional[TreeNode]) -> int:
if not root:return 0
return max(self.maxDepth(root.left),self.maxDepth(root.right))+1 | 43.5 | 72 | 0.678161 | 25 | 174 | 4.72 | 0.68 | 0.20339 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.189655 | 174 | 4 | 72 | 43.5 | 0.822695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e8b23be50f8d37e0729eaf3cd7c41d8a5d82a02e | 20 | py | Python | likurai/layer/__init__.py | bglick13/likurai | 4cf22978bbe7bdb6b77a236cba8ced65f020b772 | [
"MIT"
] | null | null | null | likurai/layer/__init__.py | bglick13/likurai | 4cf22978bbe7bdb6b77a236cba8ced65f020b772 | [
"MIT"
] | 1 | 2019-03-14T13:12:51.000Z | 2019-03-14T13:12:51.000Z | likurai/layer/__init__.py | bglick13/likurai | 4cf22978bbe7bdb6b77a236cba8ced65f020b772 | [
"MIT"
] | null | null | null | from .layer import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 |
2cde0a8d2a62387744d5ffc9b88569ad1a0af139 | 41,090 | py | Python | bonk/tests.py | loofjj/bonk | e306ffbdef50dcdad7949d9b7c249ccf415887e6 | [
"Apache-2.0"
] | null | null | null | bonk/tests.py | loofjj/bonk | e306ffbdef50dcdad7949d9b7c249ccf415887e6 | [
"Apache-2.0"
] | null | null | null | bonk/tests.py | loofjj/bonk | e306ffbdef50dcdad7949d9b7c249ccf415887e6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Klarna Bank AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 53.782723 | 150 | 0.64074 | 5,248 | 41,090 | 4.810785 | 0.055831 | 0.062978 | 0.047689 | 0.070068 | 0.86644 | 0.836377 | 0.814513 | 0.79253 | 0.771814 | 0.754268 | 0 | 0.043 | 0.201971 | 41,090 | 763 | 151 | 53.853211 | 0.726937 | 0.013434 | 0 | 0.641256 | 0 | 0 | 0.14584 | 0.004516 | 0 | 0 | 0 | 0 | 0.186846 | 1 | 0.092676 | false | 0.007474 | 0.020927 | 0.005979 | 0.134529 | 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 |
fa1be6416ed633dc140dccc9ae9e76ea3bd49bb3 | 16,529 | py | Python | datasets.py | jklee-mit/maximal_correlation_weighting | 8d6ad762f69161c6ed6cddbb6ee2cccf36702662 | [
"MIT"
] | 4 | 2019-12-31T20:46:47.000Z | 2021-09-01T00:17:00.000Z | datasets.py | jklee-mit/maximal_correlation_weighting | 8d6ad762f69161c6ed6cddbb6ee2cccf36702662 | [
"MIT"
] | null | null | null | datasets.py | jklee-mit/maximal_correlation_weighting | 8d6ad762f69161c6ed6cddbb6ee2cccf36702662 | [
"MIT"
] | 3 | 2019-12-15T09:20:07.000Z | 2020-07-08T13:16:33.000Z | """
Datasets for testing
"""
import torch
import torchvision.transforms as transforms
import os
import numpy as np
import pickle
import random
from PIL import Image
dataset_path = os.path.join('datasets','cifar-10-batches-py')
class CifarBinaryDataset(torch.utils.data.Dataset):
"""Binary Cifar Dataset"""
... | 54.01634 | 226 | 0.603908 | 1,814 | 16,529 | 5.316428 | 0.139471 | 0.042306 | 0.041477 | 0.045832 | 0.822377 | 0.808275 | 0.786603 | 0.760473 | 0.753422 | 0.729054 | 0 | 0.064661 | 0.284228 | 16,529 | 306 | 227 | 54.01634 | 0.750486 | 0.079981 | 0 | 0.59901 | 0 | 0 | 0.090564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.034653 | 0.014851 | 0.143564 | 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 |
d7345ddbe44f9b76239f1e27199546a4a4162914 | 39 | py | Python | GiTils/__init__.py | gieseladev/GiTils | 88b2a0c3c808435c2df2f74ed354320e2fae5125 | [
"MIT"
] | 1 | 2018-04-13T15:59:04.000Z | 2018-04-13T15:59:04.000Z | GiTils/__init__.py | GieselaDev/GiTils | 88b2a0c3c808435c2df2f74ed354320e2fae5125 | [
"MIT"
] | 2 | 2018-05-04T10:52:18.000Z | 2018-07-30T15:05:10.000Z | GiTils/__init__.py | GieselaDev/GiTils | 88b2a0c3c808435c2df2f74ed354320e2fae5125 | [
"MIT"
] | null | null | null | # flake8: noqa
from .gitils import app
| 13 | 23 | 0.74359 | 6 | 39 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.179487 | 39 | 2 | 24 | 19.5 | 0.875 | 0.307692 | 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 |
d734906469c4619a1f23e5483d0f2ede753fcd60 | 27 | py | Python | packages/WelcomeScreen/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-06T14:38:37.000Z | 2021-11-06T14:38:37.000Z | packages/WelcomeScreen/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 5 | 2021-11-06T04:23:06.000Z | 2022-03-12T01:03:25.000Z | packages/WelcomeScreen/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-07T05:19:51.000Z | 2021-11-07T05:19:51.000Z | from . import WelcomeScreen | 27 | 27 | 0.851852 | 3 | 27 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
d76efe0fead2278df78b07e7fe007a8678933642 | 18,529 | py | Python | test/test_core/test_split_bytes.py | abravalheri/linesep | 1898267e6c6827364e21c37d2d88f483f1140c92 | [
"MIT"
] | null | null | null | test/test_core/test_split_bytes.py | abravalheri/linesep | 1898267e6c6827364e21c37d2d88f483f1140c92 | [
"MIT"
] | 1 | 2022-03-06T03:15:41.000Z | 2022-03-06T03:15:41.000Z | test/test_core/test_split_bytes.py | abravalheri/linesep | 1898267e6c6827364e21c37d2d88f483f1140c92 | [
"MIT"
] | 2 | 2017-01-20T19:39:23.000Z | 2022-03-06T02:19:07.000Z | from io import BytesIO
import re
import linesep
scenarios = [
(
"empty",
{
"text": b"",
"sep": b"\n",
"preceded": [],
"terminated": [],
"separated": [b""],
"preceded_retained": [],
"terminated_retained": [],
... | 44.973301 | 88 | 0.533812 | 2,235 | 18,529 | 4.37047 | 0.072036 | 0.013104 | 0.006143 | 0.015766 | 0.929566 | 0.88319 | 0.834152 | 0.748976 | 0.713554 | 0.667076 | 0 | 0.00536 | 0.345458 | 18,529 | 411 | 89 | 45.082725 | 0.800049 | 0 | 0 | 0.505181 | 0 | 0 | 0.527443 | 0 | 0 | 0 | 0 | 0 | 0.031088 | 1 | 0.031088 | false | 0 | 0.007772 | 0 | 0.03886 | 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 |
d7844b92e5e19bfeedce3b874ebf68fb44d26f73 | 27 | py | Python | n2kparser/__init__.py | iotfablab/n2kparser | 0453398034da5a11756d72f1b3c4459a13a5b39c | [
"MIT"
] | 6 | 2019-09-24T15:40:45.000Z | 2022-02-19T19:25:53.000Z | n2kparser/__init__.py | iotfablab/n2kparser | 0453398034da5a11756d72f1b3c4459a13a5b39c | [
"MIT"
] | 1 | 2020-03-03T12:41:57.000Z | 2020-03-03T16:45:39.000Z | n2kparser/__init__.py | iotfablab/n2kparser | 0453398034da5a11756d72f1b3c4459a13a5b39c | [
"MIT"
] | 1 | 2021-08-30T08:03:34.000Z | 2021-08-30T08:03:34.000Z | from .n2kparser import main | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ad1f2af9fbd1299945aed234e9920a0b4d038107 | 2,875 | py | Python | test/test_unit_connection.py | fhoehle/snowflake-connector-python | f4fe2277b82d98f2122478d5df712c59420ea0bd | [
"Apache-2.0"
] | 1 | 2021-02-05T03:55:35.000Z | 2021-02-05T03:55:35.000Z | test/test_unit_connection.py | fhoehle/snowflake-connector-python | f4fe2277b82d98f2122478d5df712c59420ea0bd | [
"Apache-2.0"
] | null | null | null | test/test_unit_connection.py | fhoehle/snowflake-connector-python | f4fe2277b82d98f2122478d5df712c59420ea0bd | [
"Apache-2.0"
] | 1 | 2021-02-09T17:52:35.000Z | 2021-02-09T17:52:35.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved.
#
import pytest
from mock import patch
import snowflake.connector
@patch(
'snowflake.connector.network.SnowflakeRestful._post_request'
)
def test_connect_with_service_name(mockSnowflakeRestfulPo... | 27.644231 | 112 | 0.545043 | 268 | 2,875 | 5.682836 | 0.38806 | 0.045962 | 0.039396 | 0.039396 | 0.720946 | 0.720946 | 0.720946 | 0.720946 | 0.720946 | 0.636901 | 0 | 0.012372 | 0.353391 | 2,875 | 103 | 113 | 27.912621 | 0.806885 | 0.117565 | 0 | 0.75641 | 0 | 0 | 0.19604 | 0.045941 | 0 | 0 | 0 | 0 | 0.012821 | 1 | 0.051282 | false | 0.025641 | 0.038462 | 0 | 0.115385 | 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 |
ad579b3a1843da61d0b67770526b81510016ec6e | 2,707 | py | Python | test/python/dijkstra.py | timvdm/Helium | 79db85da43f20606710263f800deac52534d437e | [
"BSD-3-Clause"
] | 13 | 2015-02-04T17:02:25.000Z | 2018-04-25T22:48:52.000Z | test/python/dijkstra.py | timvdm/Helium | 79db85da43f20606710263f800deac52534d437e | [
"BSD-3-Clause"
] | null | null | null | test/python/dijkstra.py | timvdm/Helium | 79db85da43f20606710263f800deac52534d437e | [
"BSD-3-Clause"
] | 4 | 2015-11-27T06:19:40.000Z | 2021-04-20T17:35:41.000Z | import helium
import unittest
SMILES = helium.Smiles()
class TestDijkstra(unittest.TestCase):
def test_dijkstra(self):
mol = helium.Molecule()
SMILES.read('C1CCCC2C1CCC2', mol)
d = helium.Dijkstra(mol, mol.atom(0))
self.assertEqual(0, d.distance(mol.atom(0)))
self.assert... | 33.012195 | 55 | 0.585519 | 373 | 2,707 | 4.225201 | 0.117962 | 0.418782 | 0.215736 | 0.091371 | 0.835025 | 0.78236 | 0.746827 | 0.584391 | 0.479695 | 0.479695 | 0 | 0.045717 | 0.232361 | 2,707 | 81 | 56 | 33.419753 | 0.712705 | 0.027337 | 0 | 0.492063 | 0 | 0 | 0.007985 | 0 | 0 | 0 | 0 | 0 | 0.698413 | 1 | 0.015873 | false | 0 | 0.031746 | 0 | 0.063492 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad5ef53b13733b1caa6d00d6bd2a79df6da2f64e | 978 | py | Python | tests/test_disable_enable.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 24 | 2021-06-09T16:12:45.000Z | 2022-03-08T17:50:47.000Z | tests/test_disable_enable.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 1 | 2021-11-19T09:17:30.000Z | 2021-11-19T09:17:30.000Z | tests/test_disable_enable.py | pengyan510/torchtest | f84e4a7f1c3e0cda2430ba09880af4a964b1d3ba | [
"MIT"
] | 1 | 2021-06-11T05:23:33.000Z | 2021-06-11T05:23:33.000Z | import pytest
import torcheck
def test_disable(
unchanging_model_optimizer, unchanging_model, dataloader, run_training
):
torcheck.register(unchanging_model_optimizer)
torcheck.add_module_changing_check(unchanging_model, module_name="NeuralNet")
torcheck.disable()
run_training(unchanging_model, da... | 32.6 | 81 | 0.757669 | 106 | 978 | 6.641509 | 0.301887 | 0.298295 | 0.238636 | 0.136364 | 0.764205 | 0.764205 | 0.764205 | 0.764205 | 0.678977 | 0.678977 | 0 | 0.002451 | 0.165644 | 978 | 29 | 82 | 33.724138 | 0.860294 | 0 | 0 | 0.56 | 0 | 0 | 0.092025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.08 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad640eac93f9dc4a2d6d1abfb65c4f4bc726a01d | 93 | py | Python | scheduler/api/views.py | NaskoVasilev/Scheduler | 02633e38e8bb803c04371ab3e1ee27e3d8997a53 | [
"MIT"
] | 1 | 2021-03-04T19:08:27.000Z | 2021-03-04T19:08:27.000Z | scheduler/api/views.py | NaskoVasilev/Scheduler | 02633e38e8bb803c04371ab3e1ee27e3d8997a53 | [
"MIT"
] | 23 | 2021-03-11T16:45:41.000Z | 2021-06-28T21:38:44.000Z | scheduler/api/views.py | NaskoVasilev/Scheduler | 02633e38e8bb803c04371ab3e1ee27e3d8997a53 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpRequest,HttpResponse
| 13.285714 | 48 | 0.795699 | 11 | 93 | 6.727273 | 0.727273 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 6 | 49 | 15.5 | 0.961039 | 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 |
ad7f0c72d663a8a9853d015782ddfa8c1914e1e6 | 4,845 | py | Python | tests/functional/test_day_9.py | JavierLuna/intcode | 9d44b1d7dbaa706724b6feaa64b3b41a719551f6 | [
"MIT"
] | null | null | null | tests/functional/test_day_9.py | JavierLuna/intcode | 9d44b1d7dbaa706724b6feaa64b3b41a719551f6 | [
"MIT"
] | null | null | null | tests/functional/test_day_9.py | JavierLuna/intcode | 9d44b1d7dbaa706724b6feaa64b3b41a719551f6 | [
"MIT"
] | null | null | null | from typing import List
import pytest
from intcode import IntCodeMachine
from intcode.handlers.io.stack import StackIOHandler
@pytest.fixture
def day_9_input() -> List[int]:
str_code = "1102,34463338,34463338,63,1007,63,34463338,63,1005,63,53,1102,1,3,1000,109,988,209,12,9,1000,209,6,209,3,203,0,1008,1000,1,63,... | 105.326087 | 3,432 | 0.700929 | 1,170 | 4,845 | 2.858974 | 0.223932 | 0.057399 | 0.066966 | 0.086099 | 0.36861 | 0.34559 | 0.203288 | 0.203288 | 0.191928 | 0.110314 | 0 | 0.550327 | 0.052632 | 4,845 | 45 | 3,433 | 107.666667 | 0.178431 | 0.002064 | 0 | 0.30303 | 0 | 0.060606 | 0.738879 | 0.727085 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.151515 | false | 0 | 0.121212 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ad8bdb64dfc9ce3def59c1e88e132508409d6c8c | 240 | py | Python | tests/emoji_names/test_emoji_names.py | myii/zulip-terminal | 63156539d7373fefe329f5afc9e2e5c484e467df | [
"Apache-2.0"
] | null | null | null | tests/emoji_names/test_emoji_names.py | myii/zulip-terminal | 63156539d7373fefe329f5afc9e2e5c484e467df | [
"Apache-2.0"
] | null | null | null | tests/emoji_names/test_emoji_names.py | myii/zulip-terminal | 63156539d7373fefe329f5afc9e2e5c484e467df | [
"Apache-2.0"
] | 1 | 2020-10-21T13:14:20.000Z | 2020-10-21T13:14:20.000Z | from zulipterminal.emoji_names import EMOJI_NAMES
def test_generated_emoji_list_sorted():
assert EMOJI_NAMES == sorted(EMOJI_NAMES)
def test_emojis_fixture_sorted(emojis_fixture):
assert emojis_fixture == sorted(emojis_fixture)
| 24 | 51 | 0.820833 | 32 | 240 | 5.71875 | 0.40625 | 0.218579 | 0.142077 | 0.185792 | 0.349727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 240 | 9 | 52 | 26.666667 | 0.863208 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d13f87c9e14fb4af7b94583cc537098d971f1e9b | 142 | py | Python | users/admin.py | JackShen1/movie-finder | 4cfb4836a0183678ceec0dce2e4fb95df28832aa | [
"MIT"
] | 1 | 2021-07-08T21:36:19.000Z | 2021-07-08T21:36:19.000Z | users/admin.py | JackShen1/movie-finder | 4cfb4836a0183678ceec0dce2e4fb95df28832aa | [
"MIT"
] | null | null | null | users/admin.py | JackShen1/movie-finder | 4cfb4836a0183678ceec0dce2e4fb95df28832aa | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Review, Watchlist
# Register your models here.
admin.site.register((Review, Watchlist))
| 23.666667 | 40 | 0.795775 | 19 | 142 | 5.947368 | 0.631579 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119718 | 142 | 5 | 41 | 28.4 | 0.904 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
d15f36a4007103384755a63064fdfaf5eb7250b3 | 63,209 | py | Python | src/tests/api/test_order_change.py | tixl/tixl | 9f515a4b4e17a14d1990b29385475195438969be | [
"Apache-2.0"
] | null | null | null | src/tests/api/test_order_change.py | tixl/tixl | 9f515a4b4e17a14d1990b29385475195438969be | [
"Apache-2.0"
] | 8 | 2015-01-06T10:50:27.000Z | 2015-01-18T18:38:18.000Z | src/tests/api/test_order_change.py | tixl/tixl | 9f515a4b4e17a14d1990b29385475195438969be | [
"Apache-2.0"
] | null | null | null | #
# This file is part of pretix (Community Edition).
#
# Copyright (C) 2014-2020 Raphael Michel and contributors
# Copyright (C) 2020-2021 rami.io GmbH and contributors
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General
# Public License as published by ... | 32.955683 | 122 | 0.585217 | 7,189 | 63,209 | 4.994019 | 0.068855 | 0.042588 | 0.033007 | 0.046209 | 0.827336 | 0.803047 | 0.780514 | 0.755585 | 0.718651 | 0.69517 | 0 | 0.024338 | 0.271306 | 63,209 | 1,917 | 123 | 32.972874 | 0.755124 | 0.018415 | 0 | 0.648138 | 0 | 0 | 0.165989 | 0.071716 | 0 | 0 | 0 | 0 | 0.143266 | 1 | 0.038395 | false | 0 | 0.008023 | 0.001719 | 0.051003 | 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 |
0f06e5693915cc019b199945f132170a6ccdfb3f | 3,808 | py | Python | authors/apps/article/tests/test_like_an_article.py | andela/-ah-orcas | 22aaff9eaf89504a79905042959bb23a6e71b421 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/article/tests/test_like_an_article.py | andela/-ah-orcas | 22aaff9eaf89504a79905042959bb23a6e71b421 | [
"BSD-3-Clause"
] | 48 | 2018-10-23T10:09:50.000Z | 2022-03-11T23:33:12.000Z | authors/apps/article/tests/test_like_an_article.py | andela/ah-orcas | 22aaff9eaf89504a79905042959bb23a6e71b421 | [
"BSD-3-Clause"
] | null | null | null | from .base_like_test import BaseLikeTest
import os
from rest_framework import status
class TestLikeArticle(BaseLikeTest):
"""Test like article class"""
def test_like_article_without_token(self):
"""
Test whether like request without token will fail
"""
response = self.client.p... | 40.946237 | 76 | 0.635242 | 470 | 3,808 | 4.980851 | 0.16383 | 0.064075 | 0.070483 | 0.065784 | 0.83255 | 0.821444 | 0.804357 | 0.804357 | 0.777018 | 0.777018 | 0 | 0.007923 | 0.237658 | 3,808 | 92 | 77 | 41.391304 | 0.798484 | 0.101628 | 0 | 0.642857 | 0 | 0 | 0.109606 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.053571 | 0 | 0.196429 | 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 |
0f4876f8b3ff7ddeaea950bf5dc73a1cdccc5b76 | 111,702 | py | Python | tests/test_plotting.py | WeilerP/cellrank | c8c2b9f6bd2448861fb414435aee7620ca5a0bad | [
"BSD-3-Clause"
] | 172 | 2020-03-19T19:50:53.000Z | 2022-03-28T09:36:04.000Z | tests/test_plotting.py | WeilerP/cellrank | c8c2b9f6bd2448861fb414435aee7620ca5a0bad | [
"BSD-3-Clause"
] | 702 | 2020-03-19T08:09:04.000Z | 2022-03-30T09:55:14.000Z | tests/test_plotting.py | WeilerP/cellrank | c8c2b9f6bd2448861fb414435aee7620ca5a0bad | [
"BSD-3-Clause"
] | 17 | 2020-04-07T03:11:02.000Z | 2022-02-02T20:39:16.000Z | from typing import Tuple, Union, Callable
import os
import pytest
from pathlib import Path
from _helpers import (
gamr_skip,
create_model,
create_failed_model,
resize_images_to_same_sizes,
)
from packaging import version
import scvelo as scv
import cellrank as cr
from anndata import AnnData
from cellr... | 29.081489 | 116 | 0.544968 | 12,993 | 111,702 | 4.466328 | 0.047025 | 0.041495 | 0.051869 | 0.077803 | 0.86633 | 0.844583 | 0.814892 | 0.79237 | 0.744188 | 0.682463 | 0 | 0.014388 | 0.337335 | 111,702 | 3,840 | 117 | 29.089063 | 0.769592 | 0.005076 | 0 | 0.663217 | 0 | 0.000591 | 0.051997 | 0.003951 | 0 | 0 | 0 | 0.00026 | 0.020402 | 1 | 0.105855 | false | 0 | 0.007688 | 0 | 0.123891 | 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 |
0f89ea520796c83160597e4b348525ed3d09942c | 226 | py | Python | mobile/exceptions/bad_request_api_exception.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 16 | 2016-05-20T09:03:32.000Z | 2020-09-13T14:23:06.000Z | mobile/exceptions/bad_request_api_exception.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 2 | 2016-05-24T01:44:14.000Z | 2016-06-17T22:19:45.000Z | mobile/exceptions/bad_request_api_exception.py | invinst/CPDB | c2d8ae8888b13d956cc1068742f18d45736d4121 | [
"Apache-2.0"
] | 2 | 2016-10-10T16:14:19.000Z | 2020-10-26T00:17:02.000Z | from rest_framework.exceptions import APIException
from rest_framework.status import HTTP_400_BAD_REQUEST
class BadRequestApiException(APIException):
status_code = HTTP_400_BAD_REQUEST
default_detail = 'Bad request'
| 28.25 | 54 | 0.840708 | 28 | 226 | 6.428571 | 0.571429 | 0.166667 | 0.188889 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030151 | 0.119469 | 226 | 7 | 55 | 32.285714 | 0.874372 | 0 | 0 | 0 | 0 | 0 | 0.048673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7e37615761b5e55b76a2cf288de705028fe0f395 | 78 | py | Python | ooobuild/star/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/star/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/star/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | from typing import TYPE_CHECKING
if not TYPE_CHECKING:
raise ImportError
| 15.6 | 32 | 0.807692 | 11 | 78 | 5.545455 | 0.818182 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 78 | 4 | 33 | 19.5 | 0.953125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
7e68309003f4de16b97eadbb53c9aa78808c23b4 | 10,538 | py | Python | lvreuse/analysis/combined/cost_breakdown_sweep.py | mvernacc/lvreuse | e2ac6aca334b49b0d4f5f881861cb42ce86dd130 | [
"MIT"
] | 7 | 2019-10-01T04:21:23.000Z | 2022-03-22T15:20:38.000Z | lvreuse/analysis/combined/cost_breakdown_sweep.py | mvernacc/lvreuse | e2ac6aca334b49b0d4f5f881861cb42ce86dd130 | [
"MIT"
] | null | null | null | lvreuse/analysis/combined/cost_breakdown_sweep.py | mvernacc/lvreuse | e2ac6aca334b49b0d4f5f881861cb42ce86dd130 | [
"MIT"
] | 6 | 2019-10-01T04:21:24.000Z | 2021-02-15T17:07:10.000Z | import os.path
from matplotlib import pyplot as plt
import matplotlib.ticker
import numpy as np
from lvreuse.analysis.combined import strategy_models
from lvreuse.analysis.cost.strategy_cost_models import wyr_conversion
from lvreuse.data.missions import LEO, LEO_smallsat
from num_reuse_sweep import get_mode_values
... | 43.726141 | 191 | 0.699089 | 1,563 | 10,538 | 4.458093 | 0.122201 | 0.039179 | 0.072761 | 0.058553 | 0.889638 | 0.869259 | 0.844862 | 0.829363 | 0.817595 | 0.798651 | 0 | 0.029982 | 0.177073 | 10,538 | 241 | 192 | 43.726141 | 0.773524 | 0.034067 | 0 | 0.65445 | 0 | 0.020942 | 0.153808 | 0.013974 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005236 | false | 0 | 0.041885 | 0 | 0.04712 | 0.020942 | 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 |
7e97590fb6d55ce185187bd95d2e17ccf5c439f1 | 13,521 | py | Python | test/test_pyrg.py | Nausx/pyrg3 | cd133779d4120cd57f49325cc3f05b2466b167f7 | [
"BSD-3-Clause"
] | null | null | null | test/test_pyrg.py | Nausx/pyrg3 | cd133779d4120cd57f49325cc3f05b2466b167f7 | [
"BSD-3-Clause"
] | null | null | null | test/test_pyrg.py | Nausx/pyrg3 | cd133779d4120cd57f49325cc3f05b2466b167f7 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import configparser
import sys
import os
from tempfile import NamedTemporaryFile
sys.path.insert(0, os.path.abspath("pyrg"))
import pyrg
class ColorFunctionTest(unittest.TestCase):
def test_coloring_method(self):
line = "get_gg (__main__.TestTest)"
self.assertEqual("[36mget_gg (_... | 33.972362 | 79 | 0.569337 | 1,555 | 13,521 | 4.742765 | 0.101608 | 0.105763 | 0.062915 | 0.058576 | 0.833356 | 0.780339 | 0.768271 | 0.746034 | 0.737627 | 0.711593 | 0 | 0.021694 | 0.181791 | 13,521 | 397 | 80 | 34.057935 | 0.639158 | 0 | 0 | 0.685015 | 0 | 0 | 0.357757 | 0.17302 | 0 | 0 | 0 | 0 | 0.183486 | 1 | 0.125382 | false | 0 | 0.018349 | 0 | 0.152905 | 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 |
7eb596f4b3ad3c7ef5fb61a109ac5ff34abec183 | 127 | py | Python | zones/helpers/__init__.py | jgrss/zones | cb6495ab18e49111f31f7c2951d3b1d4abe2bab4 | [
"MIT"
] | 1 | 2021-03-27T03:01:58.000Z | 2021-03-27T03:01:58.000Z | zones/helpers/__init__.py | Geospatial-Data-Science/zones | 87004580a3fe6a8e463582816988163669987f94 | [
"MIT"
] | 1 | 2020-01-08T01:21:19.000Z | 2020-01-16T00:21:42.000Z | zones/helpers/__init__.py | Geospatial-Data-Science/zones | 87004580a3fe6a8e463582816988163669987f94 | [
"MIT"
] | 3 | 2019-11-12T17:25:24.000Z | 2022-03-08T08:30:28.000Z | from ._dictionary import create_dictionary, merge_dictionary_keys
__all__ = ['create_dictionary', 'merge_dictionary_keys']
| 31.75 | 66 | 0.818898 | 14 | 127 | 6.642857 | 0.5 | 0.344086 | 0.451613 | 0.666667 | 0.752688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 3 | 67 | 42.333333 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.306452 | 0.169355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0e19c9dcd1228f96f6e579c6f94c905e01de202b | 24 | py | Python | haversine/__init__.py | ajepe/haversine | 7129baea7a27c740e5e1a73001a6c5350d329f9c | [
"MIT"
] | 2 | 2019-06-01T19:46:22.000Z | 2019-06-03T15:54:15.000Z | haversine/__init__.py | ajepe/haversine | 7129baea7a27c740e5e1a73001a6c5350d329f9c | [
"MIT"
] | null | null | null | haversine/__init__.py | ajepe/haversine | 7129baea7a27c740e5e1a73001a6c5350d329f9c | [
"MIT"
] | null | null | null | from . import haversine
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e30f706e4f3afa270cf41bad30b08ac230508bd | 29 | py | Python | cogs/calendar/__init__.py | Banzai99/ASTUSbot | ce9565a41e4b06bcd72d44d557aaf84c53cd8fad | [
"MIT"
] | 4 | 2020-06-28T02:30:55.000Z | 2021-03-22T10:44:26.000Z | cogs/calendar/__init__.py | Banzai99/ASTUSbot | ce9565a41e4b06bcd72d44d557aaf84c53cd8fad | [
"MIT"
] | 23 | 2020-06-28T01:24:56.000Z | 2021-09-22T14:13:30.000Z | cogs/calendar/__init__.py | Banzai99/ASTUSbot | ce9565a41e4b06bcd72d44d557aaf84c53cd8fad | [
"MIT"
] | 3 | 2020-11-09T12:55:27.000Z | 2020-12-03T12:00:39.000Z | from .cog import CogCalendar
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
0e47f93e70f0a9a4f92412a1b265f0bf1ecffa70 | 107 | py | Python | DegreesOfClimateChange/__init__.py | toddschultz/DegreesOfClimateChange | dee74dab8c12013a2ff826302156c7c178d536ba | [
"MIT"
] | null | null | null | DegreesOfClimateChange/__init__.py | toddschultz/DegreesOfClimateChange | dee74dab8c12013a2ff826302156c7c178d536ba | [
"MIT"
] | 24 | 2018-04-18T01:25:30.000Z | 2018-06-12T04:18:38.000Z | DegreesOfClimateChange/__init__.py | toddschultz/DegreesOfClimateChange | dee74dab8c12013a2ff826302156c7c178d536ba | [
"MIT"
] | null | null | null | from __future__ import absolute_import, division, print_function
#from .version import __version__ # noqa
| 35.666667 | 64 | 0.831776 | 13 | 107 | 6.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 2 | 65 | 53.5 | 0.840426 | 0.364486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
0e7ea862ad7178ae60275cb79ac32e13428ac41c | 83 | py | Python | oceanmonkey/utils/url.py | chipscoco/OceanMonkey | bffd0c9cd3fca7822466f721c2c5308a96a33d1d | [
"Apache-2.0"
] | 5 | 2022-01-03T15:04:41.000Z | 2022-01-27T02:42:31.000Z | oceanmonkey/utils/url.py | tantongxue1/OceanMonkey | 95f250a63ac692ddf2c67a6eb8f9bffb9243939c | [
"Apache-2.0"
] | null | null | null | oceanmonkey/utils/url.py | tantongxue1/OceanMonkey | 95f250a63ac692ddf2c67a6eb8f9bffb9243939c | [
"Apache-2.0"
] | 3 | 2022-01-03T15:04:44.000Z | 2022-01-09T08:42:29.000Z | from urllib.parse import urlparse
def domain(url):
return urlparse(url).netloc | 20.75 | 33 | 0.771084 | 12 | 83 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 4 | 34 | 20.75 | 0.901408 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0e95a758fd6308cf6ec7bcec82429f7544e80bc2 | 4,593 | py | Python | tests/integration/test_defxmlschema.py | gramm/xsdata | 082c780757c6d76a5c31a6757276ef6912901ed2 | [
"MIT"
] | null | null | null | tests/integration/test_defxmlschema.py | gramm/xsdata | 082c780757c6d76a5c31a6757276ef6912901ed2 | [
"MIT"
] | null | null | null | tests/integration/test_defxmlschema.py | gramm/xsdata | 082c780757c6d76a5c31a6757276ef6912901ed2 | [
"MIT"
] | null | null | null | import os
from pathlib import Path
from click.testing import CliRunner
from tests import root
from tests.conftest import validate_bindings
from xsdata.cli import cli
from xsdata.utils.testing import load_class
os.chdir(root)
def test_definitive_xml_schema_chapter_01():
schema = Path("tests/fixtures/defxmlschem... | 28.886792 | 69 | 0.707163 | 524 | 4,593 | 6.04771 | 0.129771 | 0.090249 | 0.173556 | 0.069423 | 0.896182 | 0.774692 | 0.764279 | 0.764279 | 0.764279 | 0.764279 | 0 | 0.011591 | 0.173525 | 4,593 | 158 | 70 | 29.06962 | 0.823235 | 0 | 0 | 0.684685 | 0 | 0 | 0.204877 | 0.162857 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099099 | false | 0 | 0.063063 | 0 | 0.162162 | 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 |
7ede244e4a60708c3ba10e06b8718fbe7e4cd5b7 | 2,779 | py | Python | project.py | mretolaza/software-renderer | b0d1d4e6cc0fb055b1df951604d7923eee36f3ab | [
"Apache-2.0"
] | null | null | null | project.py | mretolaza/software-renderer | b0d1d4e6cc0fb055b1df951604d7923eee36f3ab | [
"Apache-2.0"
] | null | null | null | project.py | mretolaza/software-renderer | b0d1d4e6cc0fb055b1df951604d7923eee36f3ab | [
"Apache-2.0"
] | null | null | null | from srLibs import Bitmap
from textureLoader import textureLoader
from utils import vertex3
GL = Bitmap('render.bmp')
def setUpRenderer():
GL.glInit()
GL.glCreateWindow(1920, 1080)
GL.glViewPort(0, 0, 1920, 1080)
GL.glClear(1, 1, 1)
GL.glColor(1, 1, 1)
def medShot():
obj = 'deer/deer.obj'
... | 26.980583 | 104 | 0.56783 | 356 | 2,779 | 4.432584 | 0.176966 | 0.026616 | 0.01711 | 0.035488 | 0.806084 | 0.791508 | 0.791508 | 0.791508 | 0.791508 | 0.791508 | 0 | 0.07045 | 0.264484 | 2,779 | 102 | 105 | 27.245098 | 0.701566 | 0.011155 | 0 | 0.686747 | 0 | 0 | 0.1949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060241 | false | 0 | 0.036145 | 0 | 0.096386 | 0.144578 | 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 |
7d3668bc20cc41c77a492037b38636ea05eaf9d5 | 16,861 | py | Python | idl2py/jd/date_conv.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/jd/date_conv.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | idl2py/jd/date_conv.py | RapidLzj/idl2py | 193051cd8d01db0d125b8975713b885ad521a992 | [
"MIT"
] | null | null | null | """
By Dr Jie Zheng -Q, NAOC
v1 2019-04-27
"""
import numpy as np
from..util import *
def date_conv():
pass
#function date_conv,date,type, BAD_DATE = bad_date
#;+
#; NAME:
#; DATE_CONV
#; PURPOSE:
#; Procedure to perform conversion of dates to one of three possible formats.
#;
#; EXPLA... | 36.338362 | 111 | 0.451397 | 1,958 | 16,861 | 3.853422 | 0.222165 | 0.015242 | 0.022531 | 0.013784 | 0.206759 | 0.183168 | 0.126176 | 0.119417 | 0.119417 | 0.100596 | 0 | 0.078359 | 0.418718 | 16,861 | 463 | 112 | 36.416847 | 0.69146 | 0.888797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
adfdb4ef56b0ad384fa37e3bbbb45ad3bcfd961b | 44 | py | Python | pypeit/par/__init__.py | rcooke-ast/PYPIT | 0cb9c4cb422736b855065a35aefc2bdba6d51dd0 | [
"BSD-3-Clause"
] | null | null | null | pypeit/par/__init__.py | rcooke-ast/PYPIT | 0cb9c4cb422736b855065a35aefc2bdba6d51dd0 | [
"BSD-3-Clause"
] | null | null | null | pypeit/par/__init__.py | rcooke-ast/PYPIT | 0cb9c4cb422736b855065a35aefc2bdba6d51dd0 | [
"BSD-3-Clause"
] | null | null | null |
from pypeit.par.pypeitpar import PypeItPar
| 14.666667 | 42 | 0.840909 | 6 | 44 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 43 | 22 | 0.948718 | 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 |
bc3bee6e41f1c99baf04aee1ba52be0dc3d60022 | 127 | py | Python | semester3/oop/lab3/parser/funcs/__init__.py | no1sebomb/University-Labs | 1da5e7486f0b8a6119c077945aba8c89cdfc2e50 | [
"WTFPL"
] | null | null | null | semester3/oop/lab3/parser/funcs/__init__.py | no1sebomb/University-Labs | 1da5e7486f0b8a6119c077945aba8c89cdfc2e50 | [
"WTFPL"
] | null | null | null | semester3/oop/lab3/parser/funcs/__init__.py | no1sebomb/University-Labs | 1da5e7486f0b8a6119c077945aba8c89cdfc2e50 | [
"WTFPL"
] | 1 | 2020-11-01T23:54:52.000Z | 2020-11-01T23:54:52.000Z | # coding=utf-8
from .login import init
from .search import search_article, search_brand
from .currency import search_currency
| 21.166667 | 48 | 0.818898 | 19 | 127 | 5.315789 | 0.578947 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.125984 | 127 | 5 | 49 | 25.4 | 0.900901 | 0.094488 | 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 |
70b156adee68fba175e7903973567756ce1a53dc | 67 | py | Python | homura/vision/__init__.py | nick1392/homura | 26545ee62d5181fda526b8401f441b4ef92edc03 | [
"Apache-2.0"
] | 2 | 2019-10-20T05:40:15.000Z | 2019-10-31T17:25:57.000Z | homura/vision/__init__.py | thanhkaist/homura | bd668f24cf76e4a5e138c07a30fee025b001d127 | [
"Apache-2.0"
] | null | null | null | homura/vision/__init__.py | thanhkaist/homura | bd668f24cf76e4a5e138c07a30fee025b001d127 | [
"Apache-2.0"
] | null | null | null | from .data import *
from .models import *
from .transforms import * | 22.333333 | 25 | 0.746269 | 9 | 67 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 25 | 22.333333 | 0.892857 | 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 |
70e9257c6d2ea272bcdafe15994783e752cd2efb | 113 | py | Python | py/elg2017b/simulate/__init__.py | gdhungana/elg2017b | 084c9195d43132558d77585e1a05376e342490f6 | [
"MIT"
] | null | null | null | py/elg2017b/simulate/__init__.py | gdhungana/elg2017b | 084c9195d43132558d77585e1a05376e342490f6 | [
"MIT"
] | null | null | null | py/elg2017b/simulate/__init__.py | gdhungana/elg2017b | 084c9195d43132558d77585e1a05376e342490f6 | [
"MIT"
] | null | null | null | """
elg2017b
=========
"""
from __future__ import absolute_import, division, print_function, unicode_literals
| 12.555556 | 82 | 0.716814 | 11 | 113 | 6.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.123894 | 113 | 8 | 83 | 14.125 | 0.707071 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
cb18a2a563ed753baac5727809e7a59923b90c05 | 57 | py | Python | config.py | Meghnalove/Telegram-bot-Google-Drive | 116de799632899643a7a3128505bba16441ed93c | [
"MIT"
] | null | null | null | config.py | Meghnalove/Telegram-bot-Google-Drive | 116de799632899643a7a3128505bba16441ed93c | [
"MIT"
] | null | null | null | config.py | Meghnalove/Telegram-bot-Google-Drive | 116de799632899643a7a3128505bba16441ed93c | [
"MIT"
] | null | null | null | TOKEN = "1795611796:AAG6cMQapsxInhZlZG7ohJaaPzveHgXgfgI"
| 28.5 | 56 | 0.877193 | 3 | 57 | 16.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.052632 | 57 | 1 | 57 | 57 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.807018 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cb300c0e92b14e8dbdff22fab28a9519174efe2b | 5,240 | py | Python | tests/test_models/test_forward/test_mot_forward.py | LJoson/mmtracking | af471f07d2d2e5b30862c39f4d576a0a0fb81e69 | [
"Apache-2.0"
] | null | null | null | tests/test_models/test_forward/test_mot_forward.py | LJoson/mmtracking | af471f07d2d2e5b30862c39f4d576a0a0fb81e69 | [
"Apache-2.0"
] | null | null | null | tests/test_models/test_forward/test_mot_forward.py | LJoson/mmtracking | af471f07d2d2e5b30862c39f4d576a0a0fb81e69 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
import copy
from collections import defaultdict
import pytest
import torch
from mmtrack.datasets.pipelines.processing import MatchInstances
from .utils import _demo_mm_inputs, _get_config_module
@pytest.mark.parametrize(
'cfg_file',
[
'mot/qdtrack/qdtr... | 36.137931 | 94 | 0.686641 | 767 | 5,240 | 4.263364 | 0.16558 | 0.09052 | 0.04893 | 0.031804 | 0.775535 | 0.766972 | 0.761468 | 0.744343 | 0.744343 | 0.738226 | 0 | 0.018872 | 0.21126 | 5,240 | 144 | 95 | 36.388889 | 0.77232 | 0.028244 | 0 | 0.709677 | 0 | 0 | 0.141172 | 0.091427 | 0 | 0 | 0 | 0 | 0.032258 | 1 | 0.016129 | false | 0 | 0.064516 | 0 | 0.080645 | 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 |
cb4da02d68dbaa1c1c3ddbf4a52b3302f3c6e17f | 95 | py | Python | mobilestereonet/__init__.py | ibaiGorordo/ONNX-MobileStereoNet | 5ae8ec5ad633f7ec2caab9399744cff3940232a4 | [
"MIT"
] | 15 | 2021-11-27T15:59:42.000Z | 2022-03-28T08:08:14.000Z | mobilestereonet/__init__.py | ibaiGorordo/TFLite-MobileStereoNet | c140cced4c821c5b91e194bdc5a41ab0f16e1c8b | [
"MIT"
] | 2 | 2021-11-29T04:26:56.000Z | 2021-12-24T09:51:30.000Z | mobilestereonet/__init__.py | ibaiGorordo/TFLite-MobileStereoNet | c140cced4c821c5b91e194bdc5a41ab0f16e1c8b | [
"MIT"
] | 2 | 2021-11-28T19:02:12.000Z | 2022-03-02T08:07:38.000Z | from mobilestereonet.mobilestereonet import MobileStereoNet
from mobilestereonet.utils import * | 47.5 | 59 | 0.894737 | 9 | 95 | 9.444444 | 0.444444 | 0.447059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 95 | 2 | 60 | 47.5 | 0.965909 | 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 |
38040e4400edee51aadc5b3a95bb4a413f24f049 | 21,130 | py | Python | Law-and-Order-Jeopardy-NE.py | athenian-ct-projects/Law-and-Order-Day | a8b034d3b6a7644b442e7cf4e012bba4ba227f34 | [
"Apache-2.0"
] | null | null | null | Law-and-Order-Jeopardy-NE.py | athenian-ct-projects/Law-and-Order-Day | a8b034d3b6a7644b442e7cf4e012bba4ba227f34 | [
"Apache-2.0"
] | null | null | null | Law-and-Order-Jeopardy-NE.py | athenian-ct-projects/Law-and-Order-Day | a8b034d3b6a7644b442e7cf4e012bba4ba227f34 | [
"Apache-2.0"
] | null | null | null | #Note to Participants
print ("Hello! Welcome to the Law & Order Focus Day Jeopardy Game!")
print ("There are three categories in this game: Trial Terms, Supreme Court and Other Facts and five levels in each")
print ("Draw on the board a chart with six rows and three coloums")
print ("Write in the three categories into ... | 42.860041 | 274 | 0.463843 | 2,628 | 21,130 | 3.563166 | 0.09551 | 0.09056 | 0.048056 | 0.064075 | 0.777552 | 0.7673 | 0.745728 | 0.721273 | 0.715506 | 0.715506 | 0 | 0.080507 | 0.436252 | 21,130 | 492 | 275 | 42.947154 | 0.705591 | 0.009513 | 0 | 0.849372 | 0 | 0.004184 | 0.20914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002092 | false | 0 | 0 | 0 | 0.002092 | 0.345188 | 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 |
69751ee04b2f8777365e6d5958123166252274a2 | 14,212 | py | Python | utils_BINGO/Json_file_related.py | IMBINGO95/FairMOT | c496e911a89870a9b6988d93f80e680d01ee8afc | [
"MIT"
] | null | null | null | utils_BINGO/Json_file_related.py | IMBINGO95/FairMOT | c496e911a89870a9b6988d93f80e680d01ee8afc | [
"MIT"
] | null | null | null | utils_BINGO/Json_file_related.py | IMBINGO95/FairMOT | c496e911a89870a9b6988d93f80e680d01ee8afc | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import json
import os
import shutil
import numpy as np
import cv2
from tqdm import tqdm
from utils_BINGO.xml_related import *
def expand_bbox(left, right, top, bottom, img_width, img_height,ratio = 0.1, expand_w_min = 10):
'''
以一定的ratio向左右外扩。 不向上向下扩展了。
'''
width = right ... | 42.297619 | 128 | 0.602871 | 2,028 | 14,212 | 3.985207 | 0.115878 | 0.037243 | 0.03712 | 0.022519 | 0.829993 | 0.79609 | 0.778644 | 0.73608 | 0.727914 | 0.709354 | 0 | 0.027393 | 0.247397 | 14,212 | 335 | 129 | 42.423881 | 0.728216 | 0.078455 | 0 | 0.64898 | 0 | 0 | 0.079196 | 0.02413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036735 | false | 0 | 0.032653 | 0 | 0.081633 | 0.057143 | 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 |
69c28ca2144e0dade2f902dce601a91261a20afb | 1,655 | py | Python | 10/10/failed_attempt.py | juancroldan/tuenti-challenge | 4b0b233f457366dd78e80c011ade138cd162e297 | [
"Unlicense"
] | null | null | null | 10/10/failed_attempt.py | juancroldan/tuenti-challenge | 4b0b233f457366dd78e80c011ade138cd162e297 | [
"Unlicense"
] | null | null | null | 10/10/failed_attempt.py | juancroldan/tuenti-challenge | 4b0b233f457366dd78e80c011ade138cd162e297 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
from paramiko import SSHClient, AutoAddPolicy
emojis = 'ℹ↔↕↖↗↘↙↩↪⊛⌚⌛⌨⏏⏩⏪⏫⏬⏭⏮⏯⏰⏱⏲⏳⏸⏹⏺Ⓜ▪▫▶◀◻◼◽◾☀☁☂☃☄☎☑☔☕☘☝☠☢☣☦☪☮☯☸☹☺♀♂♈♉♊♋♌♍♎♏♐♑♒♓♟♠♣♥♦♨♻♾♿⚒⚓⚔⚕⚖⚗⚙⚛⚜⚠⚡⚪⚫⚰⚱⚽⚾⛄⛅⛈⛎⛏⛑⛓⛔⛩⛪⛰⛱⛲⛳⛴⛵⛷⛸⛹⛺⛽✂✅✈✉✊✋✌✍✏✒✔✖✝✡✨✳✴❄❇❌❎❓❔❕❗❣❤➕➖➗➡➰➿⤴⤵⬅⬆⬇⬛⬜⭐⭕〰〽㊗㊙🀄🃏🅰🅱🅾🅿🆎🆑🆒🆓🆔🆕🆖🆗🆘🆙🆚🇦🇧🇨🇩🇪🇫🇬🇭🇮🇯🇰🇱🇲🇳🇴🇵🇶🇷🇸🇹... | 91.944444 | 1,240 | 0.172205 | 68 | 1,655 | 22.205882 | 0.720588 | 0.009272 | 0.011921 | 0.019868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009381 | 0.033837 | 1,655 | 18 | 1,241 | 91.944444 | 0.165729 | 0.012689 | 0 | 0 | 0 | 0 | 0.77526 | 0.752603 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.076923 | 0 | 0.153846 | 0.153846 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3850f8b56d9998f4d93bad69413363a8c20d5bde | 283 | py | Python | flask_squirrel/__init__.py | ClNo/flask-squirrel | af3659a477a4ebf50360643b02b33d2299ad7d0f | [
"MIT"
] | null | null | null | flask_squirrel/__init__.py | ClNo/flask-squirrel | af3659a477a4ebf50360643b02b33d2299ad7d0f | [
"MIT"
] | null | null | null | flask_squirrel/__init__.py | ClNo/flask-squirrel | af3659a477a4ebf50360643b02b33d2299ad7d0f | [
"MIT"
] | null | null | null | from flask_squirrel.table.dbtable import DbTable
from flask_squirrel.table.viewspec import ResourceViewSpec
from flask_squirrel.util.session_auth import LoginTokenApi
from flask_squirrel.util.dirmanager import DirManager
from flask_squirrel.startup.flask_app import main, create_app
| 47.166667 | 61 | 0.886926 | 39 | 283 | 6.230769 | 0.435897 | 0.185185 | 0.349794 | 0.18107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074205 | 283 | 5 | 62 | 56.6 | 0.927481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3859c9cef69cd6549abd8f2bb8f28fadb2fd9b80 | 38,002 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/46.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-int18e/46.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-int18e/46.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4008
passenger_arriving = (
(6, 11, 9, 2, 1, 0, 7, 11, 5, 5, 0, 0), # 0
(8, 16, 9, 0, 4, 0, 6, 10, 9, 7, 2, 0), # 1
(4, 10, 4, 6, 3, 0, 9, 14, 7, 6, 1, 0), # 2
(8, 10, 8, 6, 4, 0, 9, 12, 6, 5, 2, 0), # 3
(5, 7, 6, 5, 3, 0, 7, 5, 6, 4, 2, 0), # 4
(4, 11, 6, 2, 1, 0, 8, 9,... | 113.438806 | 213 | 0.729909 | 5,147 | 38,002 | 5.387022 | 0.238003 | 0.31161 | 0.246691 | 0.467414 | 0.327767 | 0.326613 | 0.326613 | 0.326613 | 0.326613 | 0.326613 | 0 | 0.819637 | 0.118783 | 38,002 | 334 | 214 | 113.778443 | 0.008331 | 0.031867 | 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 |
38a64b83886170174ec731ae22711357bdba13d4 | 11,596 | py | Python | hypercane/actions/score.py | ato/hypercane | 290ef402006ee8f8d98090e31da52819e26145a0 | [
"MIT"
] | 2 | 2020-06-11T18:42:02.000Z | 2020-10-06T21:17:15.000Z | hypercane/actions/score.py | ato/hypercane | 290ef402006ee8f8d98090e31da52819e26145a0 | [
"MIT"
] | 55 | 2020-06-01T00:23:00.000Z | 2022-02-21T20:52:29.000Z | hypercane/actions/score.py | ato/hypercane | 290ef402006ee8f8d98090e31da52819e26145a0 | [
"MIT"
] | 3 | 2021-02-07T05:36:24.000Z | 2021-12-17T05:45:14.000Z | import logging
module_logger = logging.getLogger("hypercane.actions.score")
def score_by_top_entities_and_bm25(args):
from hypercane.utils import get_web_session, save_resource_data
from hypercane.identify import discover_resource_data_by_input_type, \
discover_mementos_by_input_type
from hyper... | 35.353659 | 126 | 0.749914 | 1,499 | 11,596 | 5.454303 | 0.086057 | 0.068249 | 0.053816 | 0.053816 | 0.81727 | 0.808219 | 0.808219 | 0.808219 | 0.794643 | 0.7807 | 0 | 0.004056 | 0.170749 | 11,596 | 327 | 127 | 35.461774 | 0.846194 | 0.017247 | 0 | 0.584158 | 0 | 0 | 0.134592 | 0.00439 | 0 | 0 | 0 | 0.003058 | 0 | 1 | 0.049505 | false | 0 | 0.153465 | 0 | 0.20297 | 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 |
38bc59f1c5845ce7195e366a3cd0c6be524a9cee | 84 | py | Python | tests/test_int_op_int.py | mary3000/rubymine-is2018 | 674b6ea4cb0d050c39425f206cbe1b338c5f0190 | [
"Apache-2.0"
] | null | null | null | tests/test_int_op_int.py | mary3000/rubymine-is2018 | 674b6ea4cb0d050c39425f206cbe1b338c5f0190 | [
"Apache-2.0"
] | null | null | null | tests/test_int_op_int.py | mary3000/rubymine-is2018 | 674b6ea4cb0d050c39425f206cbe1b338c5f0190 | [
"Apache-2.0"
] | null | null | null | if 5 == 5:
pass
if 3 < 10:
pass
if 5 > -1:
pass
if 3 == 2:
pass
| 6.461538 | 10 | 0.392857 | 16 | 84 | 2.0625 | 0.4375 | 0.545455 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0.47619 | 84 | 12 | 11 | 7 | 0.545455 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
38d11a2eaa75baa4bbd579c56ffb92e1aed22565 | 81 | py | Python | tests/testapp/circular_import_new/models.py | dwx9/test | a74e38369de40b9e5f481f6ac9dda6d5eb161da0 | [
"BSD-3-Clause"
] | 1 | 2021-02-11T10:01:11.000Z | 2021-02-11T10:01:11.000Z | tests/testapp/circular_import_new/models.py | bmihelac/django-shop | 1bf58d013c8cb14090a8d0278878e279699c84aa | [
"BSD-3-Clause"
] | null | null | null | tests/testapp/circular_import_new/models.py | bmihelac/django-shop | 1bf58d013c8cb14090a8d0278878e279699c84aa | [
"BSD-3-Clause"
] | 1 | 2020-11-08T17:56:45.000Z | 2020-11-08T17:56:45.000Z | from shop.models_bases import BaseProduct
class MyProduct(BaseProduct):
pass
| 20.25 | 41 | 0.814815 | 10 | 81 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 42 | 27 | 0.928571 | 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 |
2a1b554fbd4659db0f48d40d077657b8b3336e9f | 4,240 | py | Python | parchments/test/test_period.py | idlelosthobo/parchment | 99cebb8bed439c04be3e7e4f6869a4e3f85f6047 | [
"MIT"
] | null | null | null | parchments/test/test_period.py | idlelosthobo/parchment | 99cebb8bed439c04be3e7e4f6869a4e3f85f6047 | [
"MIT"
] | 4 | 2021-02-16T15:35:39.000Z | 2021-04-09T19:19:35.000Z | parchments/test/test_period.py | idlelosthobo/parchments | 99cebb8bed439c04be3e7e4f6869a4e3f85f6047 | [
"MIT"
] | null | null | null | import unittest
import parchments
import datetime
import calendar
TEST_INDEX = (
('goats', 'int', 0),
('price', 'dollar', 2),
('value', 'percentage', 4),
('names', 'string', 0),
('animal', 'bool', 0),
)
PERIOD_DATA = [
200,
3000.00,
0.7500,
'goaty mc goaterson',
True,
]
OTHER_... | 41.980198 | 91 | 0.734906 | 573 | 4,240 | 5.061082 | 0.132635 | 0.124138 | 0.173793 | 0.095172 | 0.87069 | 0.848966 | 0.848966 | 0.838621 | 0.838621 | 0.837241 | 0 | 0.064939 | 0.153774 | 4,240 | 100 | 92 | 42.4 | 0.743311 | 0 | 0 | 0.345679 | 0 | 0 | 0.05992 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.148148 | false | 0 | 0.049383 | 0 | 0.209877 | 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 |
2a2151fc4e863868950b3057555bbfc5cb7a3c66 | 104 | py | Python | Backend/views.py | abahernest/ElectionResultsChecker | 4cf75b3f7fb735a8695e1e6505f3891750f2e527 | [
"Apache-2.0"
] | 1 | 2020-07-11T02:18:36.000Z | 2020-07-11T02:18:36.000Z | Backend/views.py | abahernest/ElectionResultsChecker | 4cf75b3f7fb735a8695e1e6505f3891750f2e527 | [
"Apache-2.0"
] | 5 | 2021-03-30T13:52:33.000Z | 2021-09-22T19:13:56.000Z | Backend/views.py | abahernest/ElectionResultsChecker | 4cf75b3f7fb735a8695e1e6505f3891750f2e527 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def HomeViews (request):
return render(request,'index.html')
| 14.857143 | 39 | 0.75 | 13 | 104 | 6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 6 | 40 | 17.333333 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 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 |
2a7018436bee71dd4512d637973ffde8739d644d | 32 | py | Python | module/gui/__init__.py | Appnet1337/OSINT-SAN | 8379c31eac598d0aff9d15ba74645800aa1352f4 | [
"BSD-2-Clause"
] | 313 | 2020-12-30T10:18:45.000Z | 2022-03-23T21:11:05.000Z | module/gui/__init__.py | ttt888ttt/OSINT-SAN | 6be6f859a3c689f1ab62807a171ee78a2dcc17af | [
"BSD-2-Clause"
] | 18 | 2020-12-18T18:19:09.000Z | 2022-03-30T11:44:57.000Z | module/gui/__init__.py | ttt888ttt/OSINT-SAN | 6be6f859a3c689f1ab62807a171ee78a2dcc17af | [
"BSD-2-Clause"
] | 65 | 2021-01-16T13:42:04.000Z | 2022-03-25T12:50:27.000Z | from .gui import main as run_gui | 32 | 32 | 0.8125 | 7 | 32 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa4f4f775b7b88df56c9149fb64726c4707ab501 | 120 | py | Python | resources/mgltools_x86_64Linux2_1.5.6/MGLToolsPckgs/opengltk/OpenGL/GL.py | J-E-J-S/aaRS-Pipeline | 43f59f28ab06e4b16328c3bc405cdddc6e69ac44 | [
"MIT"
] | 8 | 2021-12-14T21:30:01.000Z | 2022-02-14T11:30:03.000Z | resources/mgltools_x86_64Linux2_1.5.6/MGLToolsPckgs/opengltk/OpenGL/GL.py | J-E-J-S/aaRS-Pipeline | 43f59f28ab06e4b16328c3bc405cdddc6e69ac44 | [
"MIT"
] | null | null | null | resources/mgltools_x86_64Linux2_1.5.6/MGLToolsPckgs/opengltk/OpenGL/GL.py | J-E-J-S/aaRS-Pipeline | 43f59f28ab06e4b16328c3bc405cdddc6e69ac44 | [
"MIT"
] | null | null | null | #
# copyright_notice
#
"""GL module
"""
from opengltk.extent._gllib import *
from opengltk.wrapper.gl_wrapper import *
| 13.333333 | 41 | 0.741667 | 15 | 120 | 5.733333 | 0.666667 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 8 | 42 | 15 | 0.826923 | 0.225 | 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 |
aa88928bb93b50ba721ac333726d1b04d836641d | 78 | py | Python | slurmlint/__init__.py | appeltel/slurmlint | f135d5ff3af2932c387e899d3e8f4f307e0aebba | [
"MIT"
] | 1 | 2021-09-01T20:35:15.000Z | 2021-09-01T20:35:15.000Z | slurmlint/__init__.py | appeltel/slurmlint | f135d5ff3af2932c387e899d3e8f4f307e0aebba | [
"MIT"
] | null | null | null | slurmlint/__init__.py | appeltel/slurmlint | f135d5ff3af2932c387e899d3e8f4f307e0aebba | [
"MIT"
] | null | null | null | from slurmlint.linter import lint
from slurmlint.hosts import expand_hostlist
| 26 | 43 | 0.871795 | 11 | 78 | 6.090909 | 0.727273 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 44 | 39 | 0.957143 | 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 |
aa909019a67a442afcb9ad97c1c19301995dd73f | 33 | py | Python | src/boykovKolmogorov.py | anishLearnsToCode/image-segmentation | 988a82592b6dc4496d73e21d9c0b44aa128d76f7 | [
"MIT"
] | 1 | 2020-08-31T08:30:28.000Z | 2020-08-31T08:30:28.000Z | src/boykovKolmogorov.py | anishLearnsToCode/image-segmentation | 988a82592b6dc4496d73e21d9c0b44aa128d76f7 | [
"MIT"
] | null | null | null | src/boykovKolmogorov.py | anishLearnsToCode/image-segmentation | 988a82592b6dc4496d73e21d9c0b44aa128d76f7 | [
"MIT"
] | 1 | 2020-11-01T00:45:46.000Z | 2020-11-01T00:45:46.000Z | def boykovKolmogorov():
pass
| 11 | 23 | 0.69697 | 3 | 33 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 24 | 16.5 | 0.884615 | 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 |
aa9ce94ca90bdf240da2ecbd79c8f6408336d631 | 32 | py | Python | mk_2/app/src/interfaz/__init__.py | josemanuel179/practica3IA | d5a947fd9523100497e7bfb026c75c0792ba1149 | [
"Apache-2.0"
] | null | null | null | mk_2/app/src/interfaz/__init__.py | josemanuel179/practica3IA | d5a947fd9523100497e7bfb026c75c0792ba1149 | [
"Apache-2.0"
] | null | null | null | mk_2/app/src/interfaz/__init__.py | josemanuel179/practica3IA | d5a947fd9523100497e7bfb026c75c0792ba1149 | [
"Apache-2.0"
] | 1 | 2020-12-14T20:24:06.000Z | 2020-12-14T20:24:06.000Z | from .interfaz import Interfaz
| 10.666667 | 30 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.962963 | 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 |
aaaac9f5bb7651bd14e3980ef5c945ebccdffeb2 | 868 | py | Python | Graphers/GraphFuncs.py | SirCraftinator/Stock-Trading-Bot | 66156a3bac719d94bf9e917ebca9c127fed04994 | [
"MIT"
] | 1 | 2021-06-14T03:57:29.000Z | 2021-06-14T03:57:29.000Z | Graphers/GraphFuncs.py | SirCraftinator/Stock-Trading-Bot | 66156a3bac719d94bf9e917ebca9c127fed04994 | [
"MIT"
] | null | null | null | Graphers/GraphFuncs.py | SirCraftinator/Stock-Trading-Bot | 66156a3bac719d94bf9e917ebca9c127fed04994 | [
"MIT"
] | null | null | null | def average(lst):
total = 0
for l in lst:
total += l
return total/len(lst)
def CleanList(lst):
lst2 = []
for item in lst:
if item in lst2:
lst2.append(item)
lst = lst2
def isSupport(df,i,layers,stat):
lst = []
stat = df[stat]
'''
for x in range(1,layers+1):
lst.append(stat[i-(x-1... | 20.186047 | 41 | 0.548387 | 154 | 868 | 3.090909 | 0.168831 | 0.168067 | 0.151261 | 0.235294 | 0.701681 | 0.701681 | 0.701681 | 0.701681 | 0.701681 | 0.701681 | 0 | 0.028443 | 0.230415 | 868 | 42 | 42 | 20.666667 | 0.684132 | 0.013825 | 0 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0 | 0 | 0.28 | 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 |
2af36a8e8f34f681f712c84ee7650c50fdc3f6a0 | 109 | py | Python | segmentation_models_pytorch/utils/__init__.py | Olimon660/segmentation_models.pytorch | 28f9d56cc5bb61b33432b6fd038d13161da9ea6b | [
"MIT"
] | null | null | null | segmentation_models_pytorch/utils/__init__.py | Olimon660/segmentation_models.pytorch | 28f9d56cc5bb61b33432b6fd038d13161da9ea6b | [
"MIT"
] | null | null | null | segmentation_models_pytorch/utils/__init__.py | Olimon660/segmentation_models.pytorch | 28f9d56cc5bb61b33432b6fd038d13161da9ea6b | [
"MIT"
] | null | null | null | from . import train
from . import losses
from . import metrics
from . import adamw
from . import lr_scheduler | 21.8 | 26 | 0.779817 | 16 | 109 | 5.25 | 0.5 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 109 | 5 | 26 | 21.8 | 0.933333 | 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 |
63054d6d7289ac097b286cfb24ae7ea89afedbe6 | 103 | py | Python | terrafirma/planner/views.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | terrafirma/planner/views.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | terrafirma/planner/views.py | AlexandraAlter/django-terrafirma | afce5946f173aded2b4bfea78cf1b1034ec32272 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django import views
class PlannerView(views.View):
pass
| 14.714286 | 35 | 0.786408 | 14 | 103 | 5.785714 | 0.714286 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165049 | 103 | 6 | 36 | 17.166667 | 0.94186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
2d7acdf0f1261cd7ff03aa6b54cd7ca927203df5 | 111 | py | Python | crawlers/__init__.py | veken1199/CityLibraries | f1097c7b081acdd74f35c7aa04e2fed2ecb16e85 | [
"MIT"
] | null | null | null | crawlers/__init__.py | veken1199/CityLibraries | f1097c7b081acdd74f35c7aa04e2fed2ecb16e85 | [
"MIT"
] | 8 | 2019-02-13T03:42:19.000Z | 2022-02-17T19:18:49.000Z | crawlers/__init__.py | veken1199/CityLibraries | f1097c7b081acdd74f35c7aa04e2fed2ecb16e85 | [
"MIT"
] | null | null | null | from crawlers.MTL import concordia_crawler, udm_crawler, uqam_crawler
from crawlers.crawler_registery import *
| 37 | 69 | 0.864865 | 15 | 111 | 6.133333 | 0.6 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 2 | 70 | 55.5 | 0.910891 | 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 |
2dd88760d8a6697f9bb538e09ffda88a6e25412f | 16,093 | py | Python | chan/solid.py | danielliulihua/chan | fbb64f975c98888e4b55e7f32db0f10100a33845 | [
"MIT"
] | null | null | null | chan/solid.py | danielliulihua/chan | fbb64f975c98888e4b55e7f32db0f10100a33845 | [
"MIT"
] | null | null | null | chan/solid.py | danielliulihua/chan | fbb64f975c98888e4b55e7f32db0f10100a33845 | [
"MIT"
] | null | null | null | # coding: utf-8
import pandas as pd
import traceback
from .ta import macd
from .analyze import is_bei_chi, KlineAnalyze, down_zs_number, up_zs_number
def __in_tolerance(base_price, latest_price, tolerance=0.03):
"""判断 latest_price 是否在 base_price 的容差范围内"""
if (1 - tolerance) * base_price <= latest_price <= (1... | 28.788909 | 107 | 0.546014 | 2,171 | 16,093 | 3.928604 | 0.099954 | 0.026732 | 0.027084 | 0.017939 | 0.820495 | 0.790011 | 0.767265 | 0.732091 | 0.717552 | 0.703717 | 0 | 0.037603 | 0.292736 | 16,093 | 558 | 108 | 28.840502 | 0.711738 | 0.243336 | 0 | 0.607639 | 0 | 0 | 0.074463 | 0 | 0 | 0 | 0 | 0 | 0.017361 | 1 | 0.072917 | false | 0 | 0.013889 | 0 | 0.211806 | 0.003472 | 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 |
930cdce0be63684d67144d4dd45435ea67e1b5b8 | 30 | py | Python | transformations/synonym_substitution/__init__.py | ns-moosavi/NL-Augmenter | 1275179e3746e55cc1915f12de00eb140103f981 | [
"MIT"
] | 583 | 2021-06-12T02:30:26.000Z | 2022-03-28T05:57:45.000Z | transformations/synonym_substitution/__init__.py | ns-moosavi/NL-Augmenter | 1275179e3746e55cc1915f12de00eb140103f981 | [
"MIT"
] | 246 | 2021-06-11T15:49:36.000Z | 2022-02-02T12:17:41.000Z | transformations/synonym_substitution/__init__.py | ns-moosavi/NL-Augmenter | 1275179e3746e55cc1915f12de00eb140103f981 | [
"MIT"
] | 189 | 2021-06-15T14:14:15.000Z | 2022-03-15T22:10:46.000Z | from .transformation import *
| 15 | 29 | 0.8 | 3 | 30 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
93263e373eb3a4bc86bbd11b1ff0e10c4c8f4ea4 | 257,303 | py | Python | instances/passenger_demand/pas-20210422-1717-int8e-1/92.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/92.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int8e-1/92.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 15382
passenger_arriving = (
(2, 5, 2, 5, 2, 1, 2, 2, 1, 0, 1, 0, 0, 8, 2, 4, 1, 2, 1, 4, 3, 0, 1, 1, 0, 0), # 0
(5, 7, 2, 9, 1, 2, 2, 2, 2, 0, 3, 3, 0, 3, 6, 3, 2, 1, 2, 0, 2, 0, 3, 0, 0, 0), # 1
(5, 5, 3, 6, 5, 2, 3, 1, 1, 2, 2, 0, 0, 2, 4, 3, 2, 4, 3, 3, 1, 2, 1, 0, 0, 0), ... | 275.190374 | 493 | 0.768662 | 32,987 | 257,303 | 5.995331 | 0.212174 | 0.360422 | 0.34586 | 0.655313 | 0.380046 | 0.371764 | 0.367385 | 0.365964 | 0.365883 | 0.365883 | 0 | 0.849163 | 0.096128 | 257,303 | 934 | 494 | 275.485011 | 0.0012 | 0.015589 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 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 |
93752da0c0412b0cc45592a640a577b821e4d0bb | 48 | py | Python | annlite/core/codec/__init__.py | jina-ai/pqlite | 2ce1ec2283b381f5153ea60141a6bb474bbf0f0c | [
"Apache-2.0"
] | 45 | 2021-12-10T07:39:39.000Z | 2022-02-20T22:58:28.000Z | annlite/core/codec/__init__.py | jina-ai/pqlite | 2ce1ec2283b381f5153ea60141a6bb474bbf0f0c | [
"Apache-2.0"
] | 30 | 2021-12-10T07:46:28.000Z | 2022-02-18T09:27:48.000Z | annlite/core/codec/__init__.py | jina-ai/annlite | e4e706e313ba5cbfb7083a5dea9e75b8d2813394 | [
"Apache-2.0"
] | null | null | null | from .pq import PQCodec
from .vq import VQCodec
| 16 | 23 | 0.791667 | 8 | 48 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9377fac5add1d70ac3652956f4890d3d0ec2595b | 69 | py | Python | app/core/models/__init__.py | michaelscales88/mWreporting_final | b0399fb32fd594c2f5a20d47c2c0dceaecb6f326 | [
"MIT"
] | 2 | 2019-06-10T21:15:03.000Z | 2020-01-02T13:12:45.000Z | app/core/models/__init__.py | michaelscales88/python-reporting-app | b0399fb32fd594c2f5a20d47c2c0dceaecb6f326 | [
"MIT"
] | 14 | 2018-01-18T19:07:15.000Z | 2018-05-16T18:44:55.000Z | app/core/models/__init__.py | michaelscales88/mWreporting_final | b0399fb32fd594c2f5a20d47c2c0dceaecb6f326 | [
"MIT"
] | null | null | null | from .associations import *
from .user import *
from .roles import *
| 17.25 | 27 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 28 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fae7076b556212e9bc8917f4ce7ae04b0f219bad | 55 | py | Python | src/exceptionite/flask/__init__.py | MasoniteFramework/exceptions | ce15da5e9f763c563e9d687771fb0599b875b83f | [
"MIT"
] | 6 | 2019-12-13T05:22:49.000Z | 2020-01-02T20:50:24.000Z | src/exceptionite/flask/__init__.py | MasoniteFramework/exceptions | ce15da5e9f763c563e9d687771fb0599b875b83f | [
"MIT"
] | 7 | 2019-12-12T18:02:20.000Z | 2020-01-04T19:49:49.000Z | src/exceptionite/flask/__init__.py | MasoniteFramework/exceptions | ce15da5e9f763c563e9d687771fb0599b875b83f | [
"MIT"
] | 3 | 2020-08-11T22:07:46.000Z | 2022-02-21T05:22:59.000Z | from .ExceptioniteReporter import ExceptioniteReporter
| 27.5 | 54 | 0.909091 | 4 | 55 | 12.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.980392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8794497c04aa622324ac79f5dc8802a597a5178a | 28 | py | Python | ioc_fanger_gui/__init__.py | ioc-fang/ioc-fanger-gui | 76fa32cea2c7944601a79ddb0359fcc8cdf23ff4 | [
"MIT"
] | 1 | 2021-07-01T02:02:37.000Z | 2021-07-01T02:02:37.000Z | ioc_fanger_gui/__init__.py | ioc-fang/ioc-fanger-gui | 76fa32cea2c7944601a79ddb0359fcc8cdf23ff4 | [
"MIT"
] | null | null | null | ioc_fanger_gui/__init__.py | ioc-fang/ioc-fanger-gui | 76fa32cea2c7944601a79ddb0359fcc8cdf23ff4 | [
"MIT"
] | null | null | null | from . import ioc_fanger_gui | 28 | 28 | 0.857143 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87c029ac490ecc74290ea46ef5f4cc17843ffd25 | 460 | py | Python | src/swimport/tests/resources/__init__.py | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | 1 | 2019-03-07T20:43:42.000Z | 2019-03-07T20:43:42.000Z | src/swimport/tests/resources/__init__.py | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | null | null | null | src/swimport/tests/resources/__init__.py | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | null | null | null | from swimport.tests.resources.mem_check import check_memory_deg, MemoryTracker
from swimport.tests.resources.assert_err import AssertError
from swimport.tests.resources.assert_ import assert_eq, assert_ne, assert_ge, assert_le, assert_gt, assert_lt, \
assert_is, assert_is_not, assert_isinstance, assert_not_isinstan... | 76.666667 | 115 | 0.85 | 66 | 460 | 5.5 | 0.424242 | 0.099174 | 0.140496 | 0.214876 | 0.176309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 460 | 5 | 116 | 92 | 0.864286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
354ef85b92123fb716a9bbc3f0a6dda46eedac0f | 29 | py | Python | models/__init__.py | saic-vul/geometry-preserving-de | d39e6ea6cf01551d0638b4f771f455759451752d | [
"MIT"
] | 11 | 2021-02-25T12:42:17.000Z | 2022-01-28T06:37:23.000Z | models/__init__.py | saic-vul/geometry-preserving-de | d39e6ea6cf01551d0638b4f771f455759451752d | [
"MIT"
] | 1 | 2022-01-28T07:23:57.000Z | 2022-01-28T07:23:57.000Z | models/__init__.py | saic-vul/geometry-preserving-de | d39e6ea6cf01551d0638b4f771f455759451752d | [
"MIT"
] | null | null | null | from .architectures import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
356d5ab0a9ed7d6e26f8ca5a4f27ac48852ae394 | 637 | py | Python | Module01/ModulePackage/UseModuel_191.py | fenglihanxiao/Python | 872baf3a3a5ee42740161152605ca2b1ddf4cd30 | [
"MIT"
] | null | null | null | Module01/ModulePackage/UseModuel_191.py | fenglihanxiao/Python | 872baf3a3a5ee42740161152605ca2b1ddf4cd30 | [
"MIT"
] | null | null | null | Module01/ModulePackage/UseModuel_191.py | fenglihanxiao/Python | 872baf3a3a5ee42740161152605ca2b1ddf4cd30 | [
"MIT"
] | null | null | null | """
1. 191_XXX -> Use module partially
"""
###########################################
# 1. Partial import from module
# 2. from ModulePackage.Module_189 import *
# from ModulePackage.Module_189 import show
# from ModulePackage.Module_189 import age
# from ModulePackage.Module_189 import modules
# from ModulePack... | 23.592593 | 51 | 0.660911 | 77 | 637 | 5.350649 | 0.311688 | 0.322816 | 0.254854 | 0.407767 | 0.480583 | 0.169903 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 0.128728 | 637 | 26 | 52 | 24.5 | 0.679279 | 0.656201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
ea37dbf67a2a91a274e7e2be9f28ec0307c6b694 | 39 | py | Python | openabis_fingerjetfx/__init__.py | openabis/openabis-fingerjetfx | 869eadd23a21a34dad6da69e26e2993495ddc7ba | [
"Apache-2.0"
] | 2 | 2021-09-13T18:34:33.000Z | 2021-10-30T19:18:32.000Z | openabis_fingerjetfx/__init__.py | openabis/openabis-fingerjetfx | 869eadd23a21a34dad6da69e26e2993495ddc7ba | [
"Apache-2.0"
] | 2 | 2021-06-08T20:35:40.000Z | 2022-01-13T01:48:52.000Z | openabis_fingerjetfx/__init__.py | openabis/openabis-fingerjetfx | 869eadd23a21a34dad6da69e26e2993495ddc7ba | [
"Apache-2.0"
] | null | null | null | from .plugin import FingerjetExtractor
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57944824e4c7ece62af3a4746230cc1a56b71128 | 45,907 | py | Python | DEEP LEARNING/segmentation/Kaggle TGS Salt Identification Challenge/v2/common_blocks/unet_models.py | Diyago/ML-DL-scripts | 40718a9d4318d6d6531bcea5998c0a18afcd9cb3 | [
"Apache-2.0"
] | 142 | 2018-09-02T08:59:45.000Z | 2022-03-30T17:08:24.000Z | DEEP LEARNING/segmentation/Kaggle TGS Salt Identification Challenge/v2/common_blocks/unet_models.py | jerinka/ML-DL-scripts | eeb5c3c7c5841eb4cdb272690e14d6718f3685b2 | [
"Apache-2.0"
] | 4 | 2019-09-08T07:27:11.000Z | 2021-10-19T05:50:24.000Z | DEEP LEARNING/segmentation/Kaggle TGS Salt Identification Challenge/v2/common_blocks/unet_models.py | jerinka/ML-DL-scripts | eeb5c3c7c5841eb4cdb272690e14d6718f3685b2 | [
"Apache-2.0"
] | 75 | 2018-10-04T17:08:40.000Z | 2022-03-08T18:50:52.000Z | from torch import nn
# from torch.nn import functional as F
import torch
from torchvision import models
import torchvision
from collections import OrderedDict
import torch.nn.parallel
import torch.optim
import torch.utils.data
import torch.utils.data.distributed
import torch.utils.model_zoo as model_zoo
from .pnasnet ... | 32.697293 | 160 | 0.565905 | 5,435 | 45,907 | 4.600368 | 0.066053 | 0.08639 | 0.039595 | 0.017278 | 0.809223 | 0.792545 | 0.779027 | 0.755229 | 0.74651 | 0.734072 | 0 | 0.058752 | 0.320017 | 45,907 | 1,403 | 161 | 32.720599 | 0.742216 | 0.070556 | 0 | 0.688785 | 0 | 0 | 0.010041 | 0.001094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048598 | false | 0 | 0.013084 | 0.006542 | 0.111215 | 0.000935 | 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 |
57b9b5b148b026c23a02f8189882db715628e749 | 104 | py | Python | HelloDockerFlask/routes.py | anilvangari2005/hello-docker-flask | d83166fb9d189f9260729446f80ee2898a43ad9a | [
"MIT"
] | null | null | null | HelloDockerFlask/routes.py | anilvangari2005/hello-docker-flask | d83166fb9d189f9260729446f80ee2898a43ad9a | [
"MIT"
] | null | null | null | HelloDockerFlask/routes.py | anilvangari2005/hello-docker-flask | d83166fb9d189f9260729446f80ee2898a43ad9a | [
"MIT"
] | null | null | null | from flask import current_app as app
@app.route('/')
def hello_world():
return "Hello, Flask World!" | 20.8 | 36 | 0.711538 | 16 | 104 | 4.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 5 | 37 | 20.8 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
57fae4ed945188f8c481699c8c2c572515e6e7a7 | 74 | py | Python | test_code/boj/bronze5/2338.py | yjinheon/solve | f47cd19d3c81d0b16586159c754deb2ffcb31ca0 | [
"Apache-2.0"
] | null | null | null | test_code/boj/bronze5/2338.py | yjinheon/solve | f47cd19d3c81d0b16586159c754deb2ffcb31ca0 | [
"Apache-2.0"
] | null | null | null | test_code/boj/bronze5/2338.py | yjinheon/solve | f47cd19d3c81d0b16586159c754deb2ffcb31ca0 | [
"Apache-2.0"
] | null | null | null | # 맞왜틀
a , b = map(int,input().split())
print(a+b)
print(a-b)
print(a *b)
| 10.571429 | 32 | 0.567568 | 16 | 74 | 2.625 | 0.5 | 0.190476 | 0.5 | 0.571429 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 6 | 33 | 12.333333 | 0.677419 | 0.040541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
17a99b929602f512f49f60d9ad832bcd6c3254e0 | 35 | py | Python | plugins/better_code_samples/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/better_code_samples/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/better_code_samples/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .better_code_samples import *
| 17.5 | 34 | 0.828571 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 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 |
17ce97412abdde5fac50906554aebfcb2aca6fd3 | 13,642 | py | Python | otcextensions/tests/unit/osclient/dns/v2/test_recordset.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | 10 | 2018-03-03T17:59:59.000Z | 2020-01-08T10:03:00.000Z | otcextensions/tests/unit/osclient/dns/v2/test_recordset.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | 208 | 2020-02-10T08:27:46.000Z | 2022-03-29T15:24:21.000Z | otcextensions/tests/unit/osclient/dns/v2/test_recordset.py | zsoltn/python-otcextensions | 4c0fa22f095ebd5f9636ae72acbae5048096822c | [
"Apache-2.0"
] | 15 | 2020-04-01T20:45:54.000Z | 2022-03-23T12:45:43.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distrib... | 27.013861 | 78 | 0.545008 | 1,471 | 13,642 | 4.861999 | 0.10741 | 0.088087 | 0.058725 | 0.059424 | 0.826902 | 0.762164 | 0.739513 | 0.736298 | 0.722735 | 0.71854 | 0 | 0.004954 | 0.334189 | 13,642 | 504 | 79 | 27.06746 | 0.782451 | 0.094194 | 0 | 0.677871 | 0 | 0 | 0.065606 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.039216 | false | 0 | 0.008403 | 0 | 0.112045 | 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 |
aa038448a8dfcb16b6af694382fcd364dda8cbcb | 349 | py | Python | src/UQpy/StochasticProcess/supportive/__init__.py | marrov/UQpy | b04a267b3080e3d4d38e876547ba0d3b979734f3 | [
"MIT"
] | 132 | 2018-03-13T13:56:33.000Z | 2022-03-21T13:59:17.000Z | src/UQpy/StochasticProcess/supportive/__init__.py | marrov/UQpy | b04a267b3080e3d4d38e876547ba0d3b979734f3 | [
"MIT"
] | 140 | 2018-05-21T13:40:01.000Z | 2022-03-29T14:18:01.000Z | src/UQpy/StochasticProcess/supportive/__init__.py | marrov/UQpy | b04a267b3080e3d4d38e876547ba0d3b979734f3 | [
"MIT"
] | 61 | 2018-05-02T13:40:05.000Z | 2022-03-06T11:31:21.000Z | """Collection of baseclasses"""
from UQpy.StochasticProcess.supportive.inverse_wiener_khinchin_transform import inverse_wiener_khinchin_transform
from UQpy.StochasticProcess.supportive.wiener_khinchin_transform import wiener_khinchin_transform
from UQpy.StochasticProcess.supportive.scaling_correlation_function import s... | 58.166667 | 113 | 0.911175 | 38 | 349 | 8 | 0.394737 | 0.184211 | 0.302632 | 0.345395 | 0.381579 | 0.381579 | 0.381579 | 0 | 0 | 0 | 0 | 0 | 0.045845 | 349 | 5 | 114 | 69.8 | 0.912913 | 0.071633 | 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 |
aa207aa791c6468d5f0031a81c52055b6debdda2 | 342 | py | Python | airflow_kubernetes_job_operator/__init__.py | Fahadsaadullahkhan/KubernetesJobOperator | d96f9498667f937503d1e45142060904674f823f | [
"MIT"
] | 35 | 2020-02-10T16:55:41.000Z | 2022-03-18T01:25:00.000Z | airflow_kubernetes_job_operator/__init__.py | Fahadsaadullahkhan/KubernetesJobOperator | d96f9498667f937503d1e45142060904674f823f | [
"MIT"
] | 26 | 2020-02-10T05:36:44.000Z | 2022-03-02T18:44:47.000Z | airflow_kubernetes_job_operator/__init__.py | Fahadsaadullahkhan/KubernetesJobOperator | d96f9498667f937503d1e45142060904674f823f | [
"MIT"
] | 8 | 2020-02-28T23:24:07.000Z | 2021-11-29T21:35:46.000Z | from airflow_kubernetes_job_operator.kubernetes_job_operator import KubernetesJobOperator
from airflow_kubernetes_job_operator.kubernetes_legacy_job_operator import KubernetesLegacyJobOperator
from airflow_kubernetes_job_operator.utils import resolve_relative_path
from airflow_kubernetes_job_operator.job_runner import ... | 68.4 | 102 | 0.94152 | 40 | 342 | 7.55 | 0.375 | 0.218543 | 0.347682 | 0.317881 | 0.490066 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046784 | 342 | 4 | 103 | 85.5 | 0.92638 | 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 |
a4d48ad0248fe1af64ba1428f148209c1a0f2f99 | 39 | py | Python | schloader/__init__.py | mikehummell/schloader | ba6f279189924de241db1058975d8569b7208a22 | [
"MIT"
] | null | null | null | schloader/__init__.py | mikehummell/schloader | ba6f279189924de241db1058975d8569b7208a22 | [
"MIT"
] | null | null | null | schloader/__init__.py | mikehummell/schloader | ba6f279189924de241db1058975d8569b7208a22 | [
"MIT"
] | null | null | null | from schloader.DBObject import DBObject | 39 | 39 | 0.897436 | 5 | 39 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.972222 | 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 |
a4e924f0e277979ac2f91537feee510f67291e28 | 151 | py | Python | Django_React/music_controller/frontend/views.py | OtavioTavares/ProjectWeb | 167086ceaed193d7da14a1d7f3ec80b849d42071 | [
"Apache-2.0"
] | null | null | null | Django_React/music_controller/frontend/views.py | OtavioTavares/ProjectWeb | 167086ceaed193d7da14a1d7f3ec80b849d42071 | [
"Apache-2.0"
] | null | null | null | Django_React/music_controller/frontend/views.py | OtavioTavares/ProjectWeb | 167086ceaed193d7da14a1d7f3ec80b849d42071 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request, *args,**kwargs):
return render (request, 'frontend/index.html')
| 21.571429 | 50 | 0.735099 | 20 | 151 | 5.55 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 6 | 51 | 25.166667 | 0.860465 | 0.152318 | 0 | 0 | 0 | 0 | 0.150794 | 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 |
a4faafc7fa526206104827af32c06a306f18155f | 12 | py | Python | login.py | famousday/test417 | 5db526f4314529bc9b7f2a0ecb4f5f8eb0cb487b | [
"MIT"
] | null | null | null | login.py | famousday/test417 | 5db526f4314529bc9b7f2a0ecb4f5f8eb0cb487b | [
"MIT"
] | null | null | null | login.py | famousday/test417 | 5db526f4314529bc9b7f2a0ecb4f5f8eb0cb487b | [
"MIT"
] | null | null | null | a = 0
b = 1
| 4 | 5 | 0.333333 | 4 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 12 | 2 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
35097601448ff065e632e3f182081c6493931b6b | 103 | py | Python | itr1.py | Kantheesh/Learning-Python | d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f | [
"MIT"
] | null | null | null | itr1.py | Kantheesh/Learning-Python | d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f | [
"MIT"
] | null | null | null | itr1.py | Kantheesh/Learning-Python | d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f | [
"MIT"
] | null | null | null | inp = "40673"
for i in inp:
print(i)
input()
inp = "anc"
for i in inp:
print(i)
input() | 10.3 | 14 | 0.524272 | 18 | 103 | 3 | 0.444444 | 0.148148 | 0.222222 | 0.333333 | 0.740741 | 0.740741 | 0.740741 | 0 | 0 | 0 | 0 | 0.071429 | 0.320388 | 103 | 10 | 15 | 10.3 | 0.7 | 0 | 0 | 0.75 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
10482b8744b3d9e29dedd321caa9e2c123030dff | 119 | py | Python | tests/conftest.py | daylinmorgan/click-help-colors | 136ebb7380d9a317a8d93528755ef4396eda5712 | [
"MIT"
] | 59 | 2019-10-01T10:25:30.000Z | 2022-03-31T12:56:28.000Z | tests/conftest.py | daylinmorgan/click-help-colors | 136ebb7380d9a317a8d93528755ef4396eda5712 | [
"MIT"
] | 11 | 2019-11-12T10:53:55.000Z | 2021-11-08T19:14:45.000Z | tests/conftest.py | daylinmorgan/click-help-colors | 136ebb7380d9a317a8d93528755ef4396eda5712 | [
"MIT"
] | 8 | 2020-03-12T18:22:38.000Z | 2021-12-09T21:27:24.000Z | import pytest
import click
from click.testing import CliRunner
@pytest.fixture
def runner():
return CliRunner()
| 11.9 | 35 | 0.764706 | 15 | 119 | 6.066667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 9 | 36 | 13.222222 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
10595c00dd6d306be329a5f9afd759761d326fbb | 30,140 | py | Python | chatter/tests/test_chat.py | onstop4/Chatter | 75df9a019234069c476bc42035cbb04ef6a57df0 | [
"MIT"
] | null | null | null | chatter/tests/test_chat.py | onstop4/Chatter | 75df9a019234069c476bc42035cbb04ef6a57df0 | [
"MIT"
] | null | null | null | chatter/tests/test_chat.py | onstop4/Chatter | 75df9a019234069c476bc42035cbb04ef6a57df0 | [
"MIT"
] | null | null | null | # from unittest import skip
from channels.auth import AuthMiddlewareStack
from channels.routing import ProtocolTypeRouter, URLRouter
from channels.testing import WebsocketCommunicator
from django.test import TransactionTestCase
from chatter.models import Room, User
import chatter.routing
application = ProtocolTypeRo... | 37.118227 | 88 | 0.626642 | 3,039 | 30,140 | 6.058572 | 0.069102 | 0.030469 | 0.041549 | 0.060939 | 0.851021 | 0.818651 | 0.803661 | 0.746633 | 0.709537 | 0.668803 | 0 | 0.009612 | 0.285468 | 30,140 | 811 | 89 | 37.163995 | 0.845329 | 0.106636 | 0 | 0.620301 | 0 | 0 | 0.11838 | 0.031018 | 0 | 0 | 0 | 0 | 0.110902 | 1 | 0.003759 | false | 0 | 0.011278 | 0 | 0.018797 | 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 |
10656c179937ecd6f44530ea00b4c5a0743ab01b | 21,558 | py | Python | student/tests.py | daniel-mizrahi/Quick-Tutor | 04d27a82e34faa1aa8e1f7ee40f16b3d1474d019 | [
"Apache-2.0"
] | null | null | null | student/tests.py | daniel-mizrahi/Quick-Tutor | 04d27a82e34faa1aa8e1f7ee40f16b3d1474d019 | [
"Apache-2.0"
] | 5 | 2020-05-06T07:40:06.000Z | 2021-09-22T18:58:32.000Z | student/tests.py | daniel-mizrahi/Quick-Tutor | 04d27a82e34faa1aa8e1f7ee40f16b3d1474d019 | [
"Apache-2.0"
] | null | null | null | from quick_tutor.models import Course, Length, Student, Tutor, Request, Profile
from quick_tutor.forms import RequestForm
from .views import student_request_tutor, student_request_form, begin_timing, confirm_payment, cancel_request
from django.test import TestCase
from django.test.client import RequestFactory
from djan... | 58.901639 | 130 | 0.599174 | 2,235 | 21,558 | 5.672036 | 0.103356 | 0.107281 | 0.039757 | 0.048592 | 0.803266 | 0.793248 | 0.779838 | 0.754122 | 0.746864 | 0.729431 | 0 | 0.013936 | 0.287689 | 21,558 | 365 | 131 | 59.063014 | 0.811605 | 0.031543 | 0 | 0.691083 | 0 | 0 | 0.130495 | 0.03073 | 0 | 0 | 0 | 0 | 0.178344 | 1 | 0.082803 | false | 0.025478 | 0.047771 | 0 | 0.143312 | 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 |
10695e7679898bb2730b575a34c2e9d680ff7a37 | 70 | py | Python | api_keys.py | delran531/python-api-challenge | dfa69db0bd352de702dbdf2ad8ecb106e02c26eb | [
"ADSL"
] | null | null | null | api_keys.py | delran531/python-api-challenge | dfa69db0bd352de702dbdf2ad8ecb106e02c26eb | [
"ADSL"
] | null | null | null | api_keys.py | delran531/python-api-challenge | dfa69db0bd352de702dbdf2ad8ecb106e02c26eb | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "6b39ee4e8d260251590219a4fa63240f"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365079 | 0.1 | 70 | 2 | 45 | 35 | 0.555556 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.