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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8fc2e806f4e11e74d86c32e8d4d642aed237e8c4 | 12,845 | py | Python | hlib/tests/test_math.py | pasqoc/heterocl | bdb87b01cbdf613fe746d25dd949e18cd4942ecf | [
"Apache-2.0"
] | 236 | 2019-05-19T01:48:11.000Z | 2022-03-31T09:03:54.000Z | hlib/tests/test_math.py | pasqoc/heterocl | bdb87b01cbdf613fe746d25dd949e18cd4942ecf | [
"Apache-2.0"
] | 248 | 2019-05-17T19:18:36.000Z | 2022-03-30T21:25:47.000Z | hlib/tests/test_math.py | AlgaPeng/heterocl-2 | b5197907d1fe07485466a63671a2a906a861c939 | [
"Apache-2.0"
] | 85 | 2019-05-17T20:09:27.000Z | 2022-02-28T20:19:00.000Z | import heterocl as hcl
import heterocl.tvm as tvm
import numpy as np
import numpy.testing as tst
import hlib
dtype = hcl.Float(64)
_sum = hcl.reducer(0, lambda x, y: x + y, dtype)
_max = hcl.reducer(-100000, lambda x, y: tvm.make.Max(x, y), dtype)
_min = hcl.reducer(100000, lambda x, y: tvm.make.Min(x, y), dtype)
_pr... | 34.34492 | 68 | 0.523628 | 2,030 | 12,845 | 3.148276 | 0.043842 | 0.045063 | 0.067595 | 0.078861 | 0.918636 | 0.916132 | 0.908309 | 0.903614 | 0.893913 | 0.893913 | 0 | 0.070992 | 0.287193 | 12,845 | 373 | 69 | 34.436997 | 0.627021 | 0 | 0 | 0.839879 | 0 | 0 | 0.00327 | 0 | 0 | 0 | 0 | 0 | 0.030211 | 1 | 0.093656 | false | 0 | 0.015106 | 0.033233 | 0.141994 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8ff0dfe2df72ba06d30d95e9edf6ea1fe4478958 | 123 | py | Python | sms_connector/lib/message_util.py | larksystems/nook-open-infrastructure | ed40edaebf59bf668a6e8c45012e833f3a767e1c | [
"MIT"
] | 1 | 2021-01-12T10:01:03.000Z | 2021-01-12T10:01:03.000Z | sms_connector/lib/message_util.py | larksystems/nook-open-infrastructure | ed40edaebf59bf668a6e8c45012e833f3a767e1c | [
"MIT"
] | 9 | 2020-09-26T13:42:09.000Z | 2021-05-11T11:45:53.000Z | sms_connector/lib/message_util.py | larksystems/nook-open-infrastructure | ed40edaebf59bf668a6e8c45012e833f3a767e1c | [
"MIT"
] | null | null | null | import uuid
# Return a new message identifier
def generate_new_message_uuid():
return f"nook-message-{uuid.uuid4()}"
| 17.571429 | 41 | 0.747967 | 18 | 123 | 4.944444 | 0.666667 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.146341 | 123 | 6 | 42 | 20.5 | 0.838095 | 0.252033 | 0 | 0 | 1 | 0 | 0.3 | 0.3 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
64fdc153227e53939d63cba1487ed5a6dd2c8df4 | 20,617 | py | Python | text_game_map_maker/object_builders.py | eriknyquist/text_map_builder_gui | 256fb2024e62986dfe0b1fdfc012d405eae13df5 | [
"Apache-2.0"
] | null | null | null | text_game_map_maker/object_builders.py | eriknyquist/text_map_builder_gui | 256fb2024e62986dfe0b1fdfc012d405eae13df5 | [
"Apache-2.0"
] | null | null | null | text_game_map_maker/object_builders.py | eriknyquist/text_map_builder_gui | 256fb2024e62986dfe0b1fdfc012d405eae13df5 | [
"Apache-2.0"
] | null | null | null | from collections import OrderedDict
from PyQt5 import QtWidgets, QtCore, QtGui
from text_game_map_maker.constants import available_item_sizes
from text_game_maker.materials import materials
from text_game_maker.game_objects.items import (
Item, Food, ItemSize, Flashlight, Battery, Coins, PaperBag, SmallBag, Bag... | 43.865957 | 94 | 0.471504 | 1,982 | 20,617 | 4.860747 | 0.092331 | 0.035603 | 0.071206 | 0.053145 | 0.828732 | 0.825721 | 0.818663 | 0.818663 | 0.814823 | 0.814823 | 0 | 0.000079 | 0.382306 | 20,617 | 469 | 95 | 43.959488 | 0.756419 | 0.004705 | 0 | 0.801205 | 0 | 0.018072 | 0.419945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012048 | false | 0.003012 | 0.01506 | 0 | 0.207831 | 0.009036 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8f2b891dadc148dc77a1dab8defd31c48644d746 | 239 | py | Python | survol/sources_types/Azure/__init__.py | rchateauneu/survol | ba66d3ec453b2d9dd3a8dabc6d53f71aa9ba8c78 | [
"BSD-3-Clause"
] | 9 | 2017-10-05T23:36:23.000Z | 2021-08-09T15:40:03.000Z | survol/sources_types/Azure/__init__.py | rchateauneu/survol | ba66d3ec453b2d9dd3a8dabc6d53f71aa9ba8c78 | [
"BSD-3-Clause"
] | 21 | 2018-01-02T09:33:03.000Z | 2018-08-27T11:09:52.000Z | survol/sources_types/Azure/__init__.py | rchateauneu/survol | ba66d3ec453b2d9dd3a8dabc6d53f71aa9ba8c78 | [
"BSD-3-Clause"
] | 4 | 2018-06-23T09:05:45.000Z | 2021-01-22T15:36:50.000Z | """
Azure concepts
"""
def Graphic_shape():
return "egg"
def Graphic_colorfill():
return "#CCCC33"
def Graphic_colorbg():
return "#CCCC33"
def Graphic_border():
return 0
def Graphic_is_rounded():
return True
| 9.56 | 25 | 0.648536 | 28 | 239 | 5.321429 | 0.535714 | 0.33557 | 0.201342 | 0.295302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027174 | 0.230126 | 239 | 24 | 26 | 9.958333 | 0.782609 | 0.058577 | 0 | 0.2 | 0 | 0 | 0.078704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
56bd039f226f49ae044db8060ebf7fb4d8cf199a | 10,487 | py | Python | main/tests/test_pages.py | alecstein/mataroa-personal | 4c1b88dc9a113e3de392dd0ce676a6e2dd8589d0 | [
"MIT"
] | null | null | null | main/tests/test_pages.py | alecstein/mataroa-personal | 4c1b88dc9a113e3de392dd0ce676a6e2dd8589d0 | [
"MIT"
] | null | null | null | main/tests/test_pages.py | alecstein/mataroa-personal | 4c1b88dc9a113e3de392dd0ce676a6e2dd8589d0 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.test import TestCase
from django.urls import reverse
from main import models
class PageCreateTestCase(TestCase):
def setUp(self):
self.user = models.User.objects.create(username="alice")
self.user.set_password("abcdef123456")
self.user.save()
... | 35.429054 | 88 | 0.588061 | 1,152 | 10,487 | 5.253472 | 0.077257 | 0.048909 | 0.053371 | 0.045605 | 0.900694 | 0.884666 | 0.875083 | 0.858063 | 0.829313 | 0.81312 | 0 | 0.014429 | 0.266425 | 10,487 | 295 | 89 | 35.549153 | 0.772261 | 0.016401 | 0 | 0.714286 | 0 | 0 | 0.130076 | 0 | 0 | 0 | 0 | 0 | 0.123016 | 1 | 0.083333 | false | 0.063492 | 0.015873 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
858140e6a75300244ab9b7d1959389f07a696b52 | 144 | py | Python | src/poliastro/earth/atmosphere/__init__.py | bryanwweber/poliastro | 09bf683c62cc2a3454622bb8c0eb071966953a92 | [
"MIT"
] | 634 | 2015-05-11T08:50:42.000Z | 2022-03-28T10:13:13.000Z | src/poliastro/earth/atmosphere/__init__.py | bryanwweber/poliastro | 09bf683c62cc2a3454622bb8c0eb071966953a92 | [
"MIT"
] | 1,386 | 2015-04-29T20:54:36.000Z | 2022-03-30T13:06:34.000Z | src/poliastro/earth/atmosphere/__init__.py | bryanwweber/poliastro | 09bf683c62cc2a3454622bb8c0eb071966953a92 | [
"MIT"
] | 324 | 2015-04-29T20:52:43.000Z | 2022-03-06T23:19:15.000Z | from poliastro.earth.atmosphere.coesa62 import COESA62
from poliastro.earth.atmosphere.coesa76 import COESA76
__all__ = ["COESA62", "COESA76"]
| 28.8 | 54 | 0.8125 | 17 | 144 | 6.647059 | 0.470588 | 0.230089 | 0.318584 | 0.495575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 0.090278 | 144 | 4 | 55 | 36 | 0.770992 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 7 |
a4395842861e50822aafebb8ff46b9ef8f27aebf | 15,737 | py | Python | polynomials_on_simplices/calculus/polynomial/monomial_integrals_unit_simplex_cache.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | 1 | 2021-03-17T11:41:21.000Z | 2021-03-17T11:41:21.000Z | polynomials_on_simplices/calculus/polynomial/monomial_integrals_unit_simplex_cache.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | null | null | null | polynomials_on_simplices/calculus/polynomial/monomial_integrals_unit_simplex_cache.py | FAndersson/polynomials_on_simplices | f015a4772c817bfa99b0d6b726667a38a174b064 | [
"MIT"
] | null | null | null | """Cached evaluation of integrals of monomials over the unit simplex.
"""
# Integrals of all monomial basis polynomials for the space P_r(R^n) over the n-dimensional unit simplex,
# given as a list.
monomial_integrals_unit_simplex_all_cache = {
# (n, r) = (1, 1)
(1, 1): [
1,
1 / 2
],
# ... | 20.706579 | 105 | 0.240389 | 2,372 | 15,737 | 1.589798 | 0.027403 | 0.08698 | 0.055688 | 0.014585 | 0.860514 | 0.780695 | 0.780695 | 0.708831 | 0.638027 | 0.545479 | 0 | 0.473736 | 0.551185 | 15,737 | 759 | 106 | 20.73386 | 0.060173 | 0.05827 | 0 | 0.815126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a44b22a980e8ffa2fe3644e6346b6c4921cf8ee2 | 73 | py | Python | src/showcase/__init__.py | th-koeln-intia/ip-sprachassistent-team1 | 69fbc06a326da91fd3d84f222eba6cd2b1a79975 | [
"MIT"
] | 1 | 2021-04-28T09:45:34.000Z | 2021-04-28T09:45:34.000Z | src/showcase/__init__.py | th-koeln-intia/ip-sprachassistent-team1 | 69fbc06a326da91fd3d84f222eba6cd2b1a79975 | [
"MIT"
] | 1 | 2020-09-24T07:20:16.000Z | 2020-09-24T07:20:16.000Z | src/showcase/__init__.py | th-koeln-intia/ip-sprachassistent-team1 | 69fbc06a326da91fd3d84f222eba6cd2b1a79975 | [
"MIT"
] | 1 | 2020-12-04T13:38:33.000Z | 2020-12-04T13:38:33.000Z | from showcase import showcase
def setup():
return showcase.setup()
| 12.166667 | 29 | 0.726027 | 9 | 73 | 5.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 73 | 5 | 30 | 14.6 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a4683f62d48ccf5a94abd53328b686f921f5edb8 | 215 | py | Python | signal/segment/__init__.py | ansvver/pylufia | 0076b4baef1de5371476910c12c1829d694fa2f3 | [
"MIT"
] | null | null | null | signal/segment/__init__.py | ansvver/pylufia | 0076b4baef1de5371476910c12c1829d694fa2f3 | [
"MIT"
] | null | null | null | signal/segment/__init__.py | ansvver/pylufia | 0076b4baef1de5371476910c12c1829d694fa2f3 | [
"MIT"
] | 1 | 2021-04-08T03:15:08.000Z | 2021-04-08T03:15:08.000Z | # -*- coding: utf-8 -*-
"""
====================================================================
segment __init__.py
====================================================================
"""
from .segment import *
| 21.5 | 68 | 0.204651 | 9 | 215 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.07907 | 215 | 9 | 69 | 23.888889 | 0.19697 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a47f1ac37908a32390e62990e1bc2d02bc018d20 | 30,787 | py | Python | gmosfc/build/lib/gmosfc/fc_gaia.py | astroquackers/gmosfc | 6ab965a4040ef5f9fd68232d848606575f80f712 | [
"MIT"
] | 2 | 2020-07-08T21:46:29.000Z | 2020-07-13T17:41:28.000Z | gmosfc/build/lib/gmosfc/fc_gaia.py | astroquackers/gmosfc | 6ab965a4040ef5f9fd68232d848606575f80f712 | [
"MIT"
] | null | null | null | gmosfc/build/lib/gmosfc/fc_gaia.py | astroquackers/gmosfc | 6ab965a4040ef5f9fd68232d848606575f80f712 | [
"MIT"
] | null | null | null | from .fcutils import make_gaia
from .fcutils import writeregion
import matplotlib.pyplot as plt
import numpy as np
import os
from astroquery.skyview import SkyView
import wget
from astropy.coordinates import SkyCoord
from astropy.coordinates import ICRS, Galactic, FK4, FK5
from astropy.coordinates import Angle, Latitud... | 42.058743 | 367 | 0.684152 | 4,553 | 30,787 | 4.541841 | 0.082583 | 0.01354 | 0.014894 | 0.010639 | 0.949901 | 0.943953 | 0.937086 | 0.935393 | 0.933943 | 0.92872 | 0 | 0.033022 | 0.187514 | 30,787 | 731 | 368 | 42.116279 | 0.793676 | 0.332673 | 0 | 0.87931 | 0 | 0.008621 | 0.15588 | 0.005174 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.063218 | 0 | 0.074713 | 0.054598 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a48c15984fc8e8982a1d46640e2f1443903e3ef2 | 142 | py | Python | sliced/datasets/__init__.py | joshloyal/reduce-learn | 243bde236d8c615f9563279a0a2095e2fa2f4650 | [
"MIT"
] | 10 | 2018-07-31T09:14:01.000Z | 2022-03-31T20:38:27.000Z | sliced/datasets/__init__.py | joshloyal/reduce-learn | 243bde236d8c615f9563279a0a2095e2fa2f4650 | [
"MIT"
] | 9 | 2018-01-20T20:35:59.000Z | 2018-06-18T17:04:25.000Z | sliced/datasets/__init__.py | joshloyal/reduce-learn | 243bde236d8c615f9563279a0a2095e2fa2f4650 | [
"MIT"
] | 4 | 2019-04-29T13:36:51.000Z | 2022-01-25T13:31:42.000Z | from sliced.datasets.synthetic import *
from sliced.datasets.banknote import load_banknote
from sliced.datasets.athletes import load_athletes
| 35.5 | 50 | 0.866197 | 19 | 142 | 6.368421 | 0.421053 | 0.247934 | 0.446281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 142 | 3 | 51 | 47.333333 | 0.930769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f10294109aa598d5f78debb4ed006954d874b959 | 84 | py | Python | 05/00/datetime.time.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 05/00/datetime.time.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 05/00/datetime.time.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | import datetime
print(datetime.time(1, 2, 3, 4))
print(datetime.time(25, 2, 3, 4))
| 16.8 | 33 | 0.678571 | 16 | 84 | 3.5625 | 0.5625 | 0.45614 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 0.130952 | 84 | 4 | 34 | 21 | 0.657534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
f114c36ad8473298643161e3f8b9db8670cdadcb | 885 | py | Python | tests/test_provider_hashicorp_time.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_hashicorp_time.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_hashicorp_time.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_hashicorp_time.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:43 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.time
def test_resource_import():
from terrascript.resource.hashicorp.time import time_offset
from terrascript.resource.hash... | 28.548387 | 80 | 0.758192 | 119 | 885 | 5.521008 | 0.504202 | 0.158295 | 0.127854 | 0.194825 | 0.395738 | 0.280061 | 0.280061 | 0 | 0 | 0 | 0 | 0.020027 | 0.153672 | 885 | 30 | 81 | 29.5 | 0.857143 | 0.551412 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.285714 | true | 0 | 1 | 0 | 1.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f12f822dd7f5e17b6ca12838734e6feeeebfcf43 | 9,286 | py | Python | meiduo_mall/meiduo_mall/apps/oauth/views.py | hgztlmb/meiduo_project | 5eb3b875faa06db844c8ba842cc299eccd976311 | [
"MIT"
] | 2 | 2019-05-27T12:41:53.000Z | 2019-06-11T02:58:00.000Z | meiduo_mall/meiduo_mall/apps/oauth/views.py | hgztlmb/meiduo_project | 5eb3b875faa06db844c8ba842cc299eccd976311 | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/apps/oauth/views.py | hgztlmb/meiduo_project | 5eb3b875faa06db844c8ba842cc299eccd976311 | [
"MIT"
] | null | null | null | import re
from django.shortcuts import render, redirect
from django.views import View
from QQLoginTool.QQtool import OAuthQQ
from django.conf import settings
from django_redis import get_redis_connection
from carts.utils import merge_cart_cookie_to_redis
from meiduo_mall.utils.response_code import RETCODE
from django ... | 34.779026 | 95 | 0.587013 | 969 | 9,286 | 5.437565 | 0.178535 | 0.023913 | 0.041754 | 0.019359 | 0.772443 | 0.766369 | 0.740938 | 0.740938 | 0.740938 | 0.740938 | 0 | 0.006122 | 0.314021 | 9,286 | 266 | 96 | 34.909774 | 0.821036 | 0.064075 | 0 | 0.73224 | 0 | 0 | 0.079772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0.054645 | 0.081967 | 0 | 0.26776 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
f18e9957da67c63998db18ccc11f93c6eee27228 | 14,855 | py | Python | ppocr/modeling/heads/multiheadAttention.py | Topdu/PaddleOCR | ee3424359b56a75af7750b0242d7db5b6c8b6545 | [
"Apache-2.0"
] | null | null | null | ppocr/modeling/heads/multiheadAttention.py | Topdu/PaddleOCR | ee3424359b56a75af7750b0242d7db5b6c8b6545 | [
"Apache-2.0"
] | null | null | null | ppocr/modeling/heads/multiheadAttention.py | Topdu/PaddleOCR | ee3424359b56a75af7750b0242d7db5b6c8b6545 | [
"Apache-2.0"
] | null | null | null | import paddle
from paddle import nn
import paddle.nn.functional as F
from paddle.nn import Linear
from paddle.nn.initializer import XavierUniform as xavier_uniform_
from paddle.nn.initializer import Constant as constant_
from paddle.nn.initializer import XavierNormal as xavier_normal_
zeros_ = constant_(value=0.)
ones... | 40.69863 | 123 | 0.626725 | 2,107 | 14,855 | 4.178453 | 0.083056 | 0.074966 | 0.092685 | 0.02726 | 0.914925 | 0.894593 | 0.885507 | 0.871081 | 0.871081 | 0.871081 | 0 | 0.020011 | 0.263278 | 14,855 | 365 | 124 | 40.69863 | 0.784448 | 0.15584 | 0 | 0.746781 | 0 | 0 | 0.011619 | 0 | 0 | 0 | 0 | 0 | 0.077253 | 1 | 0.060086 | false | 0 | 0.030043 | 0 | 0.141631 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
74ccb318fc82435b21d8866ace18c64870932973 | 184 | py | Python | powderday/front_ends/__init__.py | smlower/powderday | 99e7cec28bfbcba40ec1cff367fa564f51d9b62c | [
"BSD-3-Clause"
] | 18 | 2019-09-04T09:48:54.000Z | 2022-02-08T20:45:19.000Z | powderday/front_ends/__init__.py | smlower/powderday | 99e7cec28bfbcba40ec1cff367fa564f51d9b62c | [
"BSD-3-Clause"
] | 79 | 2019-09-05T15:09:02.000Z | 2022-02-25T13:29:51.000Z | powderday/front_ends/__init__.py | smlower/powderday | 99e7cec28bfbcba40ec1cff367fa564f51d9b62c | [
"BSD-3-Clause"
] | 14 | 2019-08-30T18:24:52.000Z | 2021-08-05T15:33:13.000Z | from . import benopp_gadget2pd
from . import CSgadget2pd
from . import enzo2pd
from . import front_end_controller
from . import gadget2pd
from . import tipsy2pd
from . import arepo2pd
| 23 | 34 | 0.809783 | 24 | 184 | 6.083333 | 0.458333 | 0.479452 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.152174 | 184 | 7 | 35 | 26.285714 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2d2cbc2420c272401f9daf018b637ef9ddc06186 | 11,894 | py | Python | src/tests/managers/test_auth_manager.py | QuTech-Delft/qne-adk | a125b2d27f1e5fef2822329cf824b18e22e9d00e | [
"MIT"
] | 1 | 2022-03-16T07:56:10.000Z | 2022-03-16T07:56:10.000Z | src/tests/managers/test_auth_manager.py | QuTech-Delft/qne-adk | a125b2d27f1e5fef2822329cf824b18e22e9d00e | [
"MIT"
] | 3 | 2022-01-21T13:01:15.000Z | 2022-03-22T09:36:56.000Z | src/tests/managers/test_auth_manager.py | QuTech-Delft/qne-adk | a125b2d27f1e5fef2822329cf824b18e22e9d00e | [
"MIT"
] | null | null | null | from pathlib import Path
from unittest.mock import Mock, patch
import unittest
from adk.managers.auth_manager import AuthManager, QNE_URL
class TestAuthManager(unittest.TestCase):
def setUp(self):
self.login_function = Mock()
self.logout_function = Mock()
self.fallback_function = Mock()
... | 59.768844 | 118 | 0.663107 | 1,415 | 11,894 | 5.209894 | 0.04947 | 0.092512 | 0.079354 | 0.116386 | 0.852415 | 0.843055 | 0.838171 | 0.833017 | 0.782284 | 0.751628 | 0 | 0 | 0.229527 | 11,894 | 198 | 119 | 60.070707 | 0.804452 | 0 | 0 | 0.621118 | 0 | 0 | 0.212292 | 0.15924 | 0 | 0 | 0 | 0 | 0.124224 | 1 | 0.062112 | false | 0.130435 | 0.024845 | 0 | 0.093168 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
2d30db64caf65e603033a19c2fbf362d21c7c5f1 | 109 | py | Python | wxwork_attendance/wizard/__init__.py | rainbow-studio-solution/wxwork | 344a0a8f8f0ac364101a1bb4a98c132588118839 | [
"MulanPSL-1.0"
] | 9 | 2021-01-02T15:42:21.000Z | 2021-08-13T08:09:16.000Z | wxwork_attendance/wizard/__init__.py | rainbow-studio-solution/wxwork | 344a0a8f8f0ac364101a1bb4a98c132588118839 | [
"MulanPSL-1.0"
] | null | null | null | wxwork_attendance/wizard/__init__.py | rainbow-studio-solution/wxwork | 344a0a8f8f0ac364101a1bb4a98c132588118839 | [
"MulanPSL-1.0"
] | 4 | 2021-01-11T04:57:07.000Z | 2021-05-21T06:01:55.000Z | # -*- coding: utf-8 -*-
from . import wizard_attendance_rule_pull
from . import wizard_attendance_rule_data
| 21.8 | 41 | 0.770642 | 15 | 109 | 5.2 | 0.666667 | 0.25641 | 0.410256 | 0.666667 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.12844 | 109 | 4 | 42 | 27.25 | 0.810526 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
741b1e4463c7f7dd82c7324aaa34090c12be23a8 | 23,742 | py | Python | train.py | alinstein/X_RAY | 35a39761d3b11ce9e47509025054f25e5f26aab9 | [
"MIT"
] | 4 | 2021-04-08T05:27:29.000Z | 2022-02-24T14:52:19.000Z | train.py | alinstein/X_RAY | 35a39761d3b11ce9e47509025054f25e5f26aab9 | [
"MIT"
] | 1 | 2021-03-12T13:08:13.000Z | 2021-04-22T21:32:33.000Z | train.py | alinstein/X_RAY | 35a39761d3b11ce9e47509025054f25e5f26aab9 | [
"MIT"
] | 1 | 2021-11-30T15:23:44.000Z | 2021-11-30T15:23:44.000Z | import torch
import torch.nn.functional as F
from tensorboardX import SummaryWriter
from sklearn.metrics import roc_auc_score
import numpy as np
import time
from tqdm import tqdm
import os
from utlis.utils import model_name, select_model
from utlis.utils import get_optimizer, make_dataLoader, LoadModel, lr_schedule, ... | 40.864028 | 136 | 0.531168 | 2,735 | 23,742 | 4.3883 | 0.091042 | 0.027995 | 0.024996 | 0.01733 | 0.86019 | 0.846192 | 0.831778 | 0.813364 | 0.789035 | 0.780703 | 0 | 0.013836 | 0.360711 | 23,742 | 580 | 137 | 40.934483 | 0.776914 | 0.076868 | 0 | 0.824645 | 0 | 0 | 0.082358 | 0.005428 | 0 | 0 | 0 | 0 | 0.00237 | 1 | 0.007109 | false | 0.014218 | 0.026066 | 0 | 0.040284 | 0.137441 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
744a74d847100bcb6e6b038c469f78c5aebf50f7 | 537 | py | Python | nemesys/utils/exceptions.py | suflaj/nemesys | 669fd4fd2e27d1923930643b9b2bed9e1ed600f3 | [
"Apache-2.0"
] | null | null | null | nemesys/utils/exceptions.py | suflaj/nemesys | 669fd4fd2e27d1923930643b9b2bed9e1ed600f3 | [
"Apache-2.0"
] | 23 | 2021-10-21T00:46:22.000Z | 2022-01-04T00:11:44.000Z | nemesys/utils/exceptions.py | Yalfoosh/nemesys | 669fd4fd2e27d1923930643b9b2bed9e1ed600f3 | [
"Apache-2.0"
] | null | null | null | class ModeException(Exception):
def __init__(self, message: str):
super().__init__(message)
class SizeException(Exception):
def __init__(self, message: str):
super().__init__(message)
class PaddingException(Exception):
def __init__(self, message: str):
super().__init__(message)
... | 21.48 | 37 | 0.685289 | 55 | 537 | 5.963636 | 0.236364 | 0.182927 | 0.243902 | 0.304878 | 0.762195 | 0.762195 | 0.762195 | 0.762195 | 0.762195 | 0.621951 | 0 | 0 | 0.193669 | 537 | 24 | 38 | 22.375 | 0.757506 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
748f74cd8214a1a56ee8df67d18b0396008e71d7 | 92 | py | Python | platform/core/polyaxon/administration/register/owners.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/administration/register/owners.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/administration/register/owners.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | from db.models.owner import Owner
def register(admin_register):
admin_register(Owner)
| 15.333333 | 33 | 0.782609 | 13 | 92 | 5.384615 | 0.615385 | 0.371429 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 34 | 18.4 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
749e35143538d3e872119d9a77ee791cd6d50bec | 35,479 | py | Python | tests/test_db_mysql.py | flzara/shaystack | 6bf815f25f3a5d64494ec1c4a34a7b23ea0ad4ce | [
"BSD-2-Clause"
] | 9 | 2021-04-30T13:04:31.000Z | 2022-01-11T14:11:53.000Z | tests/test_db_mysql.py | flzara/shaystack | 6bf815f25f3a5d64494ec1c4a34a7b23ea0ad4ce | [
"BSD-2-Clause"
] | 7 | 2021-03-19T07:31:22.000Z | 2021-03-26T12:31:45.000Z | tests/test_db_mysql.py | flzara/shaystack | 6bf815f25f3a5d64494ec1c4a34a7b23ea0ad4ce | [
"BSD-2-Clause"
] | 5 | 2021-04-29T11:51:04.000Z | 2022-02-22T21:10:19.000Z | # --------------------------------------------------------------------------------------
# Test generated sql request for Postgres
import datetime
import logging
import os
import textwrap
from typing import cast
import pytz
from shaystack.providers import get_provider
# noinspection PyProtectedMember
from shaystack.p... | 32.942433 | 88 | 0.589842 | 4,656 | 35,479 | 4.306271 | 0.037586 | 0.039152 | 0.059651 | 0.088329 | 0.910923 | 0.875212 | 0.856658 | 0.8402 | 0.823142 | 0.810424 | 0 | 0.041158 | 0.274782 | 35,479 | 1,076 | 89 | 32.973048 | 0.737699 | 0.006511 | 0 | 0.627066 | 1 | 0.002066 | 0.715717 | 0.154187 | 0 | 0 | 0 | 0 | 0.05062 | 1 | 0.051653 | false | 0 | 0.009298 | 0 | 0.06095 | 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 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7ae46e436c9e6cbe209120cb3546acda13d2d78f | 1,956 | py | Python | tests/Grpc_test/Fields_test/FixedField_test.py | shuttl-io/simple-grpc | 03649b25742591d17cdf6982045fc81c61f8adfb | [
"MIT"
] | null | null | null | tests/Grpc_test/Fields_test/FixedField_test.py | shuttl-io/simple-grpc | 03649b25742591d17cdf6982045fc81c61f8adfb | [
"MIT"
] | null | null | null | tests/Grpc_test/Fields_test/FixedField_test.py | shuttl-io/simple-grpc | 03649b25742591d17cdf6982045fc81c61f8adfb | [
"MIT"
] | null | null | null | from simple.gRPC.Fields import Fixed
import unittest
class TestFixedField(unittest.TestCase):
def test_unmarshalls(self):
##Parses 32 bit correctly
b = b'\x02\x00\x00\x00'
f = Fixed(2)
f.unmarshall(b)
self.assertEquals(1, f.data)
b = b'\x01\x00\x00\x00'
... | 29.19403 | 88 | 0.53681 | 281 | 1,956 | 3.729537 | 0.160142 | 0.183206 | 0.206107 | 0.183206 | 0.844466 | 0.844466 | 0.813931 | 0.813931 | 0.775763 | 0.642176 | 0 | 0.165939 | 0.297546 | 1,956 | 67 | 88 | 29.19403 | 0.596798 | 0.033231 | 0 | 0.666667 | 0 | 0 | 0.101803 | 0.067869 | 0 | 0 | 0.050901 | 0 | 0.352941 | 1 | 0.039216 | false | 0 | 0.039216 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
7ae7d6eabb64fc24fa410d3c490a52cc76c6ad49 | 45,314 | py | Python | tests/unit/integration/mockservice.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 110 | 2020-01-15T22:58:46.000Z | 2022-03-27T20:47:33.000Z | tests/unit/integration/mockservice.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 89 | 2020-01-15T23:18:34.000Z | 2022-03-31T21:56:05.000Z | tests/unit/integration/mockservice.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 50 | 2020-01-15T22:58:53.000Z | 2022-02-11T17:39:28.000Z | # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | 107.634204 | 25,369 | 0.644392 | 5,976 | 45,314 | 4.873327 | 0.075469 | 0.101981 | 0.130824 | 0.126361 | 0.815987 | 0.78268 | 0.775607 | 0.746249 | 0.715345 | 0.699172 | 0 | 0.109187 | 0.212363 | 45,314 | 421 | 25,370 | 107.634204 | 0.706789 | 0.017831 | 0 | 0.360795 | 0 | 0.008523 | 0.648523 | 0.066389 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056818 | false | 0.005682 | 0.011364 | 0.028409 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bb0b91990291d24caa50ace080ecfa185282822c | 93 | py | Python | test/run/t143.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t143.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t143.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print repr((1,2,3))
print repr([1,2,3])
print repr({1:'ok', 2:'stuff'})
print repr("weewaa")
| 18.6 | 31 | 0.612903 | 19 | 93 | 3 | 0.421053 | 0.631579 | 0.526316 | 0.385965 | 0.596491 | 0.596491 | 0.596491 | 0.596491 | 0 | 0 | 0 | 0.095238 | 0.096774 | 93 | 4 | 32 | 23.25 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
bb107b78c054658dde964c6bef7c6221400a2ebd | 15,185 | py | Python | rlkit/samplers/rollout_functions.py | vincentlui/unsupervised-goal-conditioned-rl | 4f2e6938e072cb52f8ee779a939fe7bf6a980d45 | [
"MIT"
] | null | null | null | rlkit/samplers/rollout_functions.py | vincentlui/unsupervised-goal-conditioned-rl | 4f2e6938e072cb52f8ee779a939fe7bf6a980d45 | [
"MIT"
] | null | null | null | rlkit/samplers/rollout_functions.py | vincentlui/unsupervised-goal-conditioned-rl | 4f2e6938e072cb52f8ee779a939fe7bf6a980d45 | [
"MIT"
] | null | null | null | import numpy as np
def multitask_rollout(
env,
agent,
max_path_length=np.inf,
render=False,
render_kwargs=None,
observation_key=None,
desired_goal_key=None,
get_action_kwargs=None,
return_dict_obs=False,
):
if render_kwargs is None:
r... | 35.313953 | 118 | 0.623378 | 1,831 | 15,185 | 4.858001 | 0.055707 | 0.059359 | 0.046993 | 0.042721 | 0.905115 | 0.892524 | 0.870152 | 0.861158 | 0.85059 | 0.844295 | 0 | 0.010865 | 0.284755 | 15,185 | 430 | 119 | 35.313953 | 0.808121 | 0.125848 | 0 | 0.848138 | 0 | 0 | 0.000383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011461 | false | 0 | 0.002865 | 0 | 0.025788 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
bb16c23746d8e4331b30354b2c65c9009cf22fc7 | 39 | py | Python | rangev2/__init__.py | CO18326/rangev2 | a5f458c3f3ca6f55cfade029e3e64b59089e1462 | [
"MIT"
] | 1 | 2019-11-03T11:46:39.000Z | 2019-11-03T11:46:39.000Z | rangev2/__init__.py | CO18326/rangev2 | a5f458c3f3ca6f55cfade029e3e64b59089e1462 | [
"MIT"
] | null | null | null | rangev2/__init__.py | CO18326/rangev2 | a5f458c3f3ca6f55cfade029e3e64b59089e1462 | [
"MIT"
] | null | null | null | from rangev2.new_range import new_range | 39 | 39 | 0.897436 | 7 | 39 | 4.714286 | 0.714286 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.076923 | 39 | 1 | 39 | 39 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 7 |
bb59601f69236332c42d2b25fa26b8ee59d0aea7 | 15,453 | py | Python | sdk/python/pulumi_gcp/logging/billing_account_exclusion.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/logging/billing_account_exclusion.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/logging/billing_account_exclusion.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 41.652291 | 156 | 0.640329 | 1,738 | 15,453 | 5.520138 | 0.09954 | 0.079112 | 0.078799 | 0.068793 | 0.801543 | 0.779341 | 0.759746 | 0.733688 | 0.72045 | 0.718783 | 0 | 0.000088 | 0.261632 | 15,453 | 370 | 157 | 41.764865 | 0.840754 | 0.338575 | 0 | 0.70098 | 1 | 0 | 0.086517 | 0.014204 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156863 | false | 0.004902 | 0.02451 | 0 | 0.27451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
247d538428378867d5523a7885de21633a1fb6f5 | 40,187 | py | Python | tests/conftest.py | tim-oh/slum_detector | 4d37cfd41224c4381e634bf4247fd6749ceddb95 | [
"MIT"
] | null | null | null | tests/conftest.py | tim-oh/slum_detector | 4d37cfd41224c4381e634bf4247fd6749ceddb95 | [
"MIT"
] | null | null | null | tests/conftest.py | tim-oh/slum_detector | 4d37cfd41224c4381e634bf4247fd6749ceddb95 | [
"MIT"
] | null | null | null | import pytest
import numpy as np
import numpy.ma as ma
import imageio
########################################################################################################################
# Evaluation #
######... | 33.517098 | 120 | 0.546296 | 6,588 | 40,187 | 3.169399 | 0.025046 | 0.044157 | 0.057615 | 0.068008 | 0.914655 | 0.896839 | 0.873755 | 0.84842 | 0.827826 | 0.786494 | 0 | 0.098341 | 0.245701 | 40,187 | 1,198 | 121 | 33.545075 | 0.590473 | 0.013586 | 0 | 0.766962 | 0 | 0 | 0.047178 | 0.014764 | 0 | 0 | 0 | 0.000835 | 0 | 1 | 0.084562 | false | 0 | 0.003933 | 0 | 0.173058 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
248aebd968148e8450bd128dd1d1328336ee05e1 | 9,274 | py | Python | test/unit_tests/cpp/incl_deps/include_resolver_util_test.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 2 | 2019-07-15T14:59:59.000Z | 2022-01-18T14:23:54.000Z | test/unit_tests/cpp/incl_deps/include_resolver_util_test.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 10 | 2018-05-03T13:25:07.000Z | 2021-06-25T15:14:55.000Z | test/unit_tests/cpp/incl_deps/include_resolver_util_test.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 1 | 2018-05-02T13:59:27.000Z | 2018-05-02T13:59:27.000Z | '''
Created on 18.02.2012
@author: SIGIESEC
'''
from base.project_default import DefaultProjectFile
from cpp.incl_deps.include_resolver_util import (
DefaultIncludePathCanonicalizerFactory, IncludeDirectiveNormalizer,
FuzzyResolverInternal)
from test.unit_tests.commons.os_util_test import MockOsPath
import po... | 61.013158 | 172 | 0.603731 | 883 | 9,274 | 6.061155 | 0.150623 | 0.008969 | 0.067265 | 0.077354 | 0.834081 | 0.808857 | 0.794283 | 0.773729 | 0.735613 | 0.704596 | 0 | 0.004479 | 0.277766 | 9,274 | 151 | 173 | 61.417219 | 0.794566 | 0.013263 | 0 | 0.613445 | 0 | 0 | 0.131919 | 0.009407 | 0 | 0 | 0 | 0.006623 | 0.294118 | 1 | 0.201681 | false | 0 | 0.042017 | 0.008403 | 0.268908 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24c3fa9e66011a537755598e1909d661d05c81b5 | 8,848 | py | Python | test/testcase/test_snapshot.py | stevenswong/tera | 488cea75536287386d52cca411a6a9ee366b73c3 | [
"BSD-3-Clause"
] | 1 | 2019-05-02T00:28:06.000Z | 2019-05-02T00:28:06.000Z | test/testcase/test_snapshot.py | stevenswong/tera | 488cea75536287386d52cca411a6a9ee366b73c3 | [
"BSD-3-Clause"
] | null | null | null | test/testcase/test_snapshot.py | stevenswong/tera | 488cea75536287386d52cca411a6a9ee366b73c3 | [
"BSD-3-Clause"
] | null | null | null | """
Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
"""
import nose
import time
import common
from conf import const
@nose.tools.with_setup(common.create_singleversion_table, common.cleanup)
def test_table_writ... | 46.324607 | 113 | 0.713042 | 1,340 | 8,848 | 4.439552 | 0.091045 | 0.101362 | 0.061187 | 0.078669 | 0.927383 | 0.926542 | 0.900824 | 0.890234 | 0.875105 | 0.844175 | 0 | 0.043126 | 0.163992 | 8,848 | 190 | 114 | 46.568421 | 0.761119 | 0.125791 | 0 | 0.77193 | 0 | 0 | 0.058611 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 1 | 0.061404 | false | 0 | 0.035088 | 0 | 0.096491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
24c63791a82b318aaf16fb24ff8198a35b44f038 | 9,531 | py | Python | auto_derby/single_mode/context_test.py | gentle-knight-13/auto-derby | 70593fea2c3d803487e6e0d2ce0c40d60bc6304d | [
"MIT"
] | null | null | null | auto_derby/single_mode/context_test.py | gentle-knight-13/auto-derby | 70593fea2c3d803487e6e0d2ce0c40d60bc6304d | [
"MIT"
] | null | null | null | auto_derby/single_mode/context_test.py | gentle-knight-13/auto-derby | 70593fea2c3d803487e6e0d2ce0c40d60bc6304d | [
"MIT"
] | null | null | null | from .. import _test
from .context import Context
def test_update_by_class_detail():
img, _ = _test.use_screenshot("single_mode/class_detail.png")
ctx = Context.new()
ctx.update_by_class_detail(img)
_test.snapshot_match(ctx)
assert ctx.fan_count == 1, ctx.fan_count
assert ctx.is_after_winning ... | 34.532609 | 77 | 0.714091 | 1,483 | 9,531 | 4.295347 | 0.056642 | 0.159655 | 0.061224 | 0.079592 | 0.952276 | 0.949294 | 0.938462 | 0.912245 | 0.768289 | 0.736578 | 0 | 0.011647 | 0.171231 | 9,531 | 275 | 78 | 34.658182 | 0.794784 | 0 | 0 | 0.621359 | 0 | 0 | 0.066939 | 0.066939 | 0 | 0 | 0 | 0 | 0.548544 | 1 | 0.092233 | false | 0 | 0.009709 | 0 | 0.101942 | 0.043689 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7066fc4982afe46c2f7d02abe075661a597e66f3 | 68 | py | Python | latex/slides/resources/04_modules_and_packages/incdec.py | Bizarious/python-lessons | 24144f03d70d9ed52b0430d4cc2aca9dcded14a3 | [
"CC-BY-4.0"
] | 10 | 2015-06-22T21:47:21.000Z | 2021-11-11T23:47:36.000Z | latex/slides/resources/04_modules_and_packages/incdec.py | Bizarious/python-lessons | 24144f03d70d9ed52b0430d4cc2aca9dcded14a3 | [
"CC-BY-4.0"
] | 14 | 2015-06-12T07:44:54.000Z | 2021-11-02T19:38:52.000Z | latex/slides/resources/04_modules_and_packages/incdec.py | Bizarious/python-lessons | 24144f03d70d9ed52b0430d4cc2aca9dcded14a3 | [
"CC-BY-4.0"
] | 14 | 2015-06-18T13:51:38.000Z | 2021-10-29T21:12:19.000Z | def increment(a):
return a+1
def decrement(a):
return a-1
| 9.714286 | 17 | 0.617647 | 12 | 68 | 3.5 | 0.5 | 0.333333 | 0.380952 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.264706 | 68 | 6 | 18 | 11.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
7067b082954097e7ae34d3c312a193bd47d11828 | 103 | py | Python | plate_generator/__init__.py | Swarchal/plate_generator | b5f2d3d26b9609c809fc2814ec4aea8c533b9d92 | [
"MIT"
] | null | null | null | plate_generator/__init__.py | Swarchal/plate_generator | b5f2d3d26b9609c809fc2814ec4aea8c533b9d92 | [
"MIT"
] | null | null | null | plate_generator/__init__.py | Swarchal/plate_generator | b5f2d3d26b9609c809fc2814ec4aea8c533b9d92 | [
"MIT"
] | null | null | null | from plate_generator.core import *
from plate_generator.generator import generator, generator_combined
| 34.333333 | 67 | 0.873786 | 13 | 103 | 6.692308 | 0.461538 | 0.206897 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 103 | 2 | 68 | 51.5 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
708644f8676e37517d7ee5d90249ea264dd57adf | 54,440 | py | Python | spark_fhir_schemas/r4/resources/contract.py | imranq2/SparkFhirSchemas | 24debae6980fb520fe55aa199bdfd43c0092eb9c | [
"Apache-2.0"
] | 2 | 2020-10-31T23:25:01.000Z | 2021-06-09T14:12:42.000Z | spark_fhir_schemas/r4/resources/contract.py | imranq2/SparkFhirSchemas | 24debae6980fb520fe55aa199bdfd43c0092eb9c | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/resources/contract.py | imranq2/SparkFhirSchemas | 24debae6980fb520fe55aa199bdfd43c0092eb9c | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit it manually
# noinspection PyPep8Naming
class ContractSchema:
"""
Legally enforceable, formally recorded unilateral o... | 53.216031 | 107 | 0.558082 | 4,920 | 54,440 | 5.953252 | 0.103455 | 0.064322 | 0.040457 | 0.062274 | 0.892216 | 0.885695 | 0.882281 | 0.865142 | 0.856538 | 0.850358 | 0 | 0.00262 | 0.403968 | 54,440 | 1,022 | 108 | 53.268102 | 0.900055 | 0.317157 | 0 | 0.774101 | 1 | 0 | 0.017526 | 0.001892 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001439 | false | 0 | 0.030216 | 0 | 0.035971 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5664d44906732fa8beadc4de393669547d866be9 | 72 | py | Python | general_conf/__init__.py | olibraga/MySQL-AutoXtraBackup | 51afdd437fd67bede9719d46c5d5b0c94a6304dc | [
"MIT"
] | null | null | null | general_conf/__init__.py | olibraga/MySQL-AutoXtraBackup | 51afdd437fd67bede9719d46c5d5b0c94a6304dc | [
"MIT"
] | 1 | 2021-06-25T15:42:54.000Z | 2021-06-25T15:42:54.000Z | general_conf/__init__.py | olibraga/MySQL-AutoXtraBackup | 51afdd437fd67bede9719d46c5d5b0c94a6304dc | [
"MIT"
] | 1 | 2019-12-05T02:42:27.000Z | 2019-12-05T02:42:27.000Z | #from general_conf import generalops
#from general_conf import check_env | 36 | 36 | 0.875 | 11 | 72 | 5.454545 | 0.636364 | 0.366667 | 0.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 37 | 36 | 0.923077 | 0.958333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
568115249d1f68b35fa54e71ac3383dfad09984e | 215 | py | Python | biography/admin/__init__.py | The-Politico/politico-civic-biography | 1b4b9dfdb64cfaeee9536c72f8bdfc6882194625 | [
"MIT"
] | null | null | null | biography/admin/__init__.py | The-Politico/politico-civic-biography | 1b4b9dfdb64cfaeee9536c72f8bdfc6882194625 | [
"MIT"
] | 3 | 2020-02-11T23:33:36.000Z | 2021-06-10T21:06:50.000Z | biography/admin/__init__.py | The-Politico/politico-civic-biography | 1b4b9dfdb64cfaeee9536c72f8bdfc6882194625 | [
"MIT"
] | null | null | null | from django.contrib import admin
from biography.models import Biography, IdeologyCategory
from .biography import BiographyAdmin
admin.site.register(Biography, BiographyAdmin)
admin.site.register(IdeologyCategory)
| 26.875 | 56 | 0.855814 | 24 | 215 | 7.666667 | 0.458333 | 0.141304 | 0.25 | 0.336957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 215 | 7 | 57 | 30.714286 | 0.93401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 | 7 |
568a30e66f88a463bcedd12dee0053fb29acb78e | 6,230 | py | Python | blog/tests.py | IreneG5/spss_online | 760abcdd3304a141396ab982ca17cb992afbcecd | [
"CNRI-Python",
"blessing"
] | 14 | 2017-09-28T12:15:42.000Z | 2022-01-27T20:27:01.000Z | blog/tests.py | IreneG5/spss_online | 760abcdd3304a141396ab982ca17cb992afbcecd | [
"CNRI-Python",
"blessing"
] | null | null | null | blog/tests.py | IreneG5/spss_online | 760abcdd3304a141396ab982ca17cb992afbcecd | [
"CNRI-Python",
"blessing"
] | 9 | 2017-10-25T16:49:02.000Z | 2022-01-22T10:48:18.000Z | from django.test import TestCase
from blog.models import Post, Category
from accounts.models import User
class BlogPageTest(TestCase):
""" Test blog page """
def test_blog_menu_item_has_class_active(self):
blog_page = self.client.get('/blog/')
self.assertIn('id="nav-blog" class="active"', blo... | 43.566434 | 78 | 0.521027 | 632 | 6,230 | 4.958861 | 0.134494 | 0.076579 | 0.061264 | 0.054244 | 0.869496 | 0.840779 | 0.840779 | 0.820357 | 0.803765 | 0.758137 | 0 | 0.026329 | 0.365971 | 6,230 | 142 | 79 | 43.873239 | 0.767089 | 0 | 0 | 0.72807 | 0 | 0 | 0.108006 | 0.010357 | 0 | 0 | 0 | 0 | 0.105263 | 0 | null | null | 0.04386 | 0.026316 | null | null | 0.008772 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3b1a7ae2662e9d9e4a654c938b8a54d8dd5f487a | 71 | py | Python | ggplot/scales/scale_x_discrete.py | themiwi/ggplot | b6d23c22d52557b983da8ce7a3a6992501dadcd6 | [
"BSD-2-Clause"
] | 1,133 | 2017-01-10T16:58:15.000Z | 2022-03-31T14:40:29.000Z | ggplot/scales/scale_x_discrete.py | themiwi/ggplot | b6d23c22d52557b983da8ce7a3a6992501dadcd6 | [
"BSD-2-Clause"
] | 287 | 2015-01-02T18:54:17.000Z | 2017-01-10T14:48:14.000Z | ggplot/scales/scale_x_discrete.py | themiwi/ggplot | b6d23c22d52557b983da8ce7a3a6992501dadcd6 | [
"BSD-2-Clause"
] | 295 | 2017-01-16T19:16:49.000Z | 2022-02-18T14:10:58.000Z | from .scale_x_continuous import scale_x_continuous as scale_x_discrete
| 35.5 | 70 | 0.901408 | 12 | 71 | 4.833333 | 0.583333 | 0.310345 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 1 | 71 | 71 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3b2f5fdbc197b8e79c1cdf8f489d2d13295480f0 | 9,077 | py | Python | test/test_SM/test_ploshadki/test_ploshadka_tatneft.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null | test/test_SM/test_ploshadki/test_ploshadka_tatneft.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null | test/test_SM/test_ploshadki/test_ploshadka_tatneft.py | IrinaSlobodchikova/marker | 72f981134fb025a94348cd2bc829fa8430a01372 | [
"Apache-2.0"
] | null | null | null |
def test_sm_tatneft_include_eic_yestoday(app):
app.testhelpersm.refresh_page()
app.session.open_SM_page(app.smPurchases)
app.session.ensure_login_sm(app.username, app.password)
app.session.ensure_login_sm(app.username, app.password)
app.session.open_SM_page(app.smPurchases)
app.testHelperSMSe... | 48.281915 | 111 | 0.774044 | 1,187 | 9,077 | 5.658804 | 0.062342 | 0.240732 | 0.093047 | 0.04764 | 0.997767 | 0.997767 | 0.989132 | 0.985708 | 0.985708 | 0.985708 | 0 | 0.018987 | 0.129668 | 9,077 | 188 | 112 | 48.281915 | 0.831266 | 0.154126 | 0 | 0.931034 | 0 | 0 | 0.011757 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.068966 | false | 0.137931 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
8e700af069b9c425a84dec2c7df3e89b2ab697e4 | 131 | py | Python | pyefun/encoding/compress/ezlib.py | nuo010/pyefun | c1c4dfcfd382a67df005a66958da95aa13c30686 | [
"Apache-2.0"
] | 94 | 2021-05-19T04:09:29.000Z | 2022-03-27T04:02:30.000Z | pyefun/encoding/compress/ezlib.py | 1431241631/pyefun | ac2290d4bcc8de16c195d2782f3eacd26e5e6ed4 | [
"Apache-2.0"
] | 11 | 2021-05-22T06:44:19.000Z | 2021-12-27T11:16:06.000Z | pyefun/encoding/compress/ezlib.py | 1431241631/pyefun | ac2290d4bcc8de16c195d2782f3eacd26e5e6ed4 | [
"Apache-2.0"
] | 21 | 2021-05-22T21:08:09.000Z | 2022-02-24T02:39:06.000Z | import zlib
import binascii
def zlib压缩(data):
return zlib.compress(data)
def zlib解压(data):
return zlib.decompress(data)
| 13.1 | 32 | 0.732824 | 18 | 131 | 5.333333 | 0.555556 | 0.208333 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 9 | 33 | 14.555556 | 0.888889 | 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 | 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 | 1 | 1 | 0 | 0 | 0 | 7 |
8e94b0d46cb775433b7ab31e65fb94787f9f6c7a | 191 | py | Python | phonebook/admin.py | JulienDrecq/django-phonebook | 73220709fde0be335ec120c4d75fb23f89cb923e | [
"BSD-3-Clause"
] | 13 | 2015-03-02T20:57:23.000Z | 2021-06-11T21:50:11.000Z | phonebook/admin.py | JulienDrecq/django-phonebook | 73220709fde0be335ec120c4d75fb23f89cb923e | [
"BSD-3-Clause"
] | 1 | 2015-06-19T21:25:53.000Z | 2015-06-20T12:57:23.000Z | phonebook/admin.py | JulienDrecq/django-phonebook | 73220709fde0be335ec120c4d75fb23f89cb923e | [
"BSD-3-Clause"
] | 6 | 2015-02-06T11:56:19.000Z | 2020-12-13T16:11:07.000Z | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
from phonebook.models import Contact
admin.site.register(Contact) | 31.833333 | 47 | 0.848168 | 28 | 191 | 5.785714 | 0.464286 | 0.185185 | 0.314815 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089005 | 191 | 6 | 48 | 31.833333 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8e98b92393b5e754ae5ee0555c0ebcd31086d607 | 279 | py | Python | extensions/.stubs/clrclasses/System/Runtime/ExceptionServices/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/System/Runtime/ExceptionServices/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/System/Runtime/ExceptionServices/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | from __clrclasses__.System.Runtime.ExceptionServices import ExceptionDispatchInfo
from __clrclasses__.System.Runtime.ExceptionServices import FirstChanceExceptionEventArgs
from __clrclasses__.System.Runtime.ExceptionServices import HandleProcessCorruptedStateExceptionsAttribute
| 69.75 | 106 | 0.924731 | 21 | 279 | 11.714286 | 0.428571 | 0.170732 | 0.243902 | 0.329268 | 0.609756 | 0.609756 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 279 | 3 | 107 | 93 | 0.921348 | 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 | 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 | 8 |
79583fd58863286e21be1ebfa699f1b821ef0629 | 2,041 | py | Python | tests/data/program_analysis/arrays/arrays-basic-06_lambdas.py | mikiec84/delphi | 2e517f21e76e334c7dfb14325d25879ddf26d10d | [
"Apache-2.0"
] | 25 | 2018-03-03T11:57:57.000Z | 2022-01-16T21:19:54.000Z | tests/data/program_analysis/arrays/arrays-basic-06_lambdas.py | mikiec84/delphi | 2e517f21e76e334c7dfb14325d25879ddf26d10d | [
"Apache-2.0"
] | 385 | 2018-02-21T16:52:06.000Z | 2022-02-17T07:44:56.000Z | tests/data/program_analysis/arrays/arrays-basic-06_lambdas.py | mikiec84/delphi | 2e517f21e76e334c7dfb14325d25879ddf26d10d | [
"Apache-2.0"
] | 19 | 2018-03-20T01:08:11.000Z | 2021-09-29T01:04:49.000Z | from numbers import Real
from random import random
from delphi.translators.for2py.strings import *
import numpy as np
import delphi.translators.for2py.math_ext as math
def arrays_basic_06__main__assign__a__0():
a = [[0] * (1 - -(3)), [0] * (5 - 0), [0] * (14 - 10)]
return a
def arrays_basic_06__main__loop_0__... | 27.213333 | 95 | 0.790789 | 407 | 2,041 | 3.083538 | 0.103194 | 0.157769 | 0.245418 | 0.280478 | 0.805578 | 0.789641 | 0.789641 | 0.771315 | 0.771315 | 0.730677 | 0 | 0.093857 | 0.138658 | 2,041 | 74 | 96 | 27.581081 | 0.620023 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.431373 | false | 0 | 0.098039 | 0.392157 | 0.960784 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
799ef0e172fe36f96865cfd8df8048fcba707eed | 23,618 | py | Python | data/loot.py | Neb2/Text-RPG | 9ebca8d72ee9f0b54649e2168fb09309d7406153 | [
"MIT"
] | 9 | 2020-09-23T17:53:48.000Z | 2022-03-11T13:49:56.000Z | data/loot.py | Neb2/Text-RPG | 9ebca8d72ee9f0b54649e2168fb09309d7406153 | [
"MIT"
] | null | null | null | data/loot.py | Neb2/Text-RPG | 9ebca8d72ee9f0b54649e2168fb09309d7406153 | [
"MIT"
] | 1 | 2020-09-23T20:15:33.000Z | 2020-09-23T20:15:33.000Z | import random
import os
from data.art import Colours
from data.item_rarity import Item_Rarity
class Loot:
def __init__(self, gold, item):
self.forest_mob_drops = {}
self.gold = gold
self.item = item
# loot1
Loot.forest_mob_drops = {"[Wooden Sword] + (10 ATK)": 50,
... | 52.368071 | 148 | 0.533068 | 2,820 | 23,618 | 4.385461 | 0.061702 | 0.018921 | 0.104795 | 0.12032 | 0.906768 | 0.905636 | 0.89003 | 0.882752 | 0.877739 | 0.876203 | 0 | 0.014675 | 0.342154 | 23,618 | 450 | 149 | 52.484444 | 0.781296 | 0.002202 | 0 | 0.832474 | 0 | 0.002577 | 0.143203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020619 | false | 0 | 0.012887 | 0 | 0.036082 | 0.231959 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8db4dd0869949d762ede961234e51c14fac57f3d | 281 | py | Python | stem/classifiers/__init__.py | NasLabBgu/STEM | 7994b0782a58712ae1c3e869d0360b1465ac0319 | [
"MIT"
] | null | null | null | stem/classifiers/__init__.py | NasLabBgu/STEM | 7994b0782a58712ae1c3e869d0360b1465ac0319 | [
"MIT"
] | null | null | null | stem/classifiers/__init__.py | NasLabBgu/STEM | 7994b0782a58712ae1c3e869d0360b1465ac0319 | [
"MIT"
] | 1 | 2022-01-16T03:34:38.000Z | 2022-01-16T03:34:38.000Z | from classifiers.base_stance_classifier import BaseStanceClassifier
from classifiers.random_stance_classifier import RandomStanceClassifier
from classifiers.greedy_stance_classifier import MSTStanceClassifier
from classifiers.maxcut_stance_classifier import MaxcutStanceClassifier
| 56.2 | 71 | 0.928826 | 28 | 281 | 9.035714 | 0.464286 | 0.237154 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05694 | 281 | 4 | 72 | 70.25 | 0.954717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
30a2d696106729514c61aef9eb474918670fcbfe | 29,742 | py | Python | ifconfigparser/tests/raw_console_outputs.py | KnightWhoSayNi/ifconfig-parser | 4921ac9d6be6244b062d082c164f5a5e69522478 | [
"MIT"
] | 17 | 2018-10-06T15:19:27.000Z | 2022-02-25T05:05:22.000Z | ifconfigparser/tests/raw_console_outputs.py | KnightWhoSayNi/ifconfig-parser | 4921ac9d6be6244b062d082c164f5a5e69522478 | [
"MIT"
] | 3 | 2019-11-22T23:40:58.000Z | 2019-12-06T02:26:59.000Z | ifconfigparser/tests/raw_console_outputs.py | KnightWhoSayNi/ifconfig-parser | 4921ac9d6be6244b062d082c164f5a5e69522478 | [
"MIT"
] | 2 | 2019-05-10T15:36:46.000Z | 2020-11-18T11:56:33.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# ======================================================
#
# File name: test_console_outputs
# Author: threeheadedknight@protonmail.com
# Date created: 30.06.2018 17:36
# Python Version: 3.7
#
# ======================================================
# https://www.c... | 43.932053 | 94 | 0.704895 | 4,908 | 29,742 | 4.251426 | 0.141402 | 0.012556 | 0.00992 | 0.052142 | 0.82656 | 0.764545 | 0.750647 | 0.720982 | 0.700326 | 0.661267 | 0 | 0.198688 | 0.189933 | 29,742 | 676 | 95 | 43.997041 | 0.667372 | 0.056217 | 0 | 0.60626 | 0 | 0.046129 | 0.971756 | 0.221497 | 0 | 0 | 0.011341 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eb7678d03cb5ac6897bb7cf061e0dc571b4f4aa6 | 2,619 | py | Python | Memes_And_Jokes/memes.py | Coder-Boiiiiiii/memes-Jokes | a699c89dafe101a6bdde2f71560ca62f599538c0 | [
"MIT"
] | null | null | null | Memes_And_Jokes/memes.py | Coder-Boiiiiiii/memes-Jokes | a699c89dafe101a6bdde2f71560ca62f599538c0 | [
"MIT"
] | null | null | null | Memes_And_Jokes/memes.py | Coder-Boiiiiiii/memes-Jokes | a699c89dafe101a6bdde2f71560ca62f599538c0 | [
"MIT"
] | null | null | null | import praw
import random
def text(num_of_memes : int, username : str, password : str, client_secret : str, client_ID : str):
reddit = praw.Reddit(client_id = client_ID,
client_secret = client_secret,
username = username,
password = ... | 34.92 | 103 | 0.591065 | 280 | 2,619 | 5.271429 | 0.132143 | 0.097561 | 0.054201 | 0.03523 | 0.880759 | 0.880759 | 0.880759 | 0.880759 | 0.880759 | 0.880759 | 0 | 0 | 0.331042 | 2,619 | 75 | 104 | 34.92 | 0.842466 | 0 | 0 | 0.758621 | 0 | 0 | 0.023566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0.137931 | 0.034483 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
eb90aafd20049c1c6ed9ae69e6a32dee621c3814 | 7,430 | py | Python | notecoin/huobi/history/utils.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/history/utils.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | null | null | null | notecoin/huobi/history/utils.py | notechats/notecoin | 57e1ed71567ce8864158f24c00ed47addbd9851f | [
"Apache-2.0"
] | 1 | 2022-03-26T11:42:18.000Z | 2022-03-26T11:42:18.000Z | """
"""
import os
from datetime import timedelta
import requests
def http_download(url: str, just_show=False) -> tuple:
try:
if url is None:
return False, 'url is null'
data = requests.get(url, allow_redirects=True)
file_name = os.path.basename(url)
if just_show:
... | 35.04717 | 104 | 0.567295 | 969 | 7,430 | 4.162023 | 0.133127 | 0.035705 | 0.022564 | 0.031242 | 0.826432 | 0.801884 | 0.794446 | 0.764691 | 0.758244 | 0.758244 | 0 | 0.006903 | 0.298116 | 7,430 | 211 | 105 | 35.21327 | 0.766443 | 0.003634 | 0 | 0.76087 | 0 | 0.005435 | 0.186418 | 0.025703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048913 | false | 0 | 0.016304 | 0 | 0.228261 | 0.032609 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
eb9fcc83800a757db3d9678977549caec38b1f66 | 62 | py | Python | ctseg/models/__init__.py | Mahmood-Hoseini/COVID19-CT-Scan-Segmentation | 25680167ef5c5a905f9107f2919980b1c49c3b65 | [
"MIT"
] | 7 | 2020-08-05T20:56:53.000Z | 2021-07-10T19:41:20.000Z | ctseg/models/__init__.py | Mahmood-Hoseini/COVID19-CT-Scan-Segmentation | 25680167ef5c5a905f9107f2919980b1c49c3b65 | [
"MIT"
] | 12 | 2020-08-31T14:22:16.000Z | 2022-03-12T00:46:14.000Z | ctseg/models/__init__.py | Mahmood-Hoseini/COVID19-CT-Scan-Segmentation | 25680167ef5c5a905f9107f2919980b1c49c3b65 | [
"MIT"
] | null | null | null | from .convnet import lung_seg
from .convnet import infect_seg
| 20.666667 | 31 | 0.83871 | 10 | 62 | 5 | 0.6 | 0.44 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 32 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ebb18810edc72665cd2b5dbaf35f108cb611e5e0 | 5,757 | py | Python | Experiments/STMeta/deprecated/Runner_trainLength_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | 3 | 2021-06-29T06:18:18.000Z | 2021-09-07T03:11:35.000Z | Experiments/STMeta/deprecated/Runner_trainLength_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | Experiments/STMeta/deprecated/Runner_trainLength_60.py | TempAnonymous/Context_Analysis | bbeba1ed7ea7001c22a12721fc4f390d4cc01a6e | [
"MIT"
] | null | null | null | import os
import warnings
warnings.filterwarnings("ignore")
#############################################
# BenchMark Bike
#############################################
### DC ###
# os.system('python STMeta_Obj.py -m STMeta_v1.model.yml -d bike_dc.data.yml '
# '-p data_range:0.25,train_data_length:7,perio... | 60.6 | 165 | 0.737363 | 945 | 5,757 | 4.257143 | 0.057143 | 0.038777 | 0.08352 | 0.119314 | 0.975889 | 0.975889 | 0.975889 | 0.975889 | 0.975889 | 0.975889 | 0 | 0.042742 | 0.097794 | 5,757 | 94 | 166 | 61.244681 | 0.731806 | 0.932604 | 0 | 0 | 0 | 0 | 0.039735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
690fa6eff9228dd7f24d573f9f25c7501c3802c0 | 191,405 | py | Python | feasability_study/wodson_pb2.py | totonga/wodson | 9c8cf8b54ce5c2bebebe46fecac36e1a2ad9af02 | [
"Apache-2.0"
] | 1 | 2016-01-06T13:13:00.000Z | 2016-01-06T13:13:00.000Z | feasability_study/wodson_pb2.py | totonga/wodson | 9c8cf8b54ce5c2bebebe46fecac36e1a2ad9af02 | [
"Apache-2.0"
] | 5 | 2016-02-16T08:11:49.000Z | 2016-03-06T19:33:43.000Z | feasability_study/wodson_pb2.py | totonga/wodson | 9c8cf8b54ce5c2bebebe46fecac36e1a2ad9af02 | [
"Apache-2.0"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: wodson.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _me... | 41.983988 | 17,501 | 0.757812 | 22,897 | 191,405 | 6.011443 | 0.030004 | 0.044811 | 0.028683 | 0.032766 | 0.855613 | 0.807569 | 0.756357 | 0.715512 | 0.672539 | 0.634252 | 0 | 0.038172 | 0.122944 | 191,405 | 4,558 | 17,502 | 41.993199 | 0.781758 | 0.028907 | 0 | 0.700627 | 1 | 0.008123 | 0.146327 | 0.098614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001857 | 0 | 0.001857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
15c9568ea4d37a9b71affe78db73cf9388868f88 | 391 | py | Python | tests/internal/usage_classes/test_usage_classes_on_demand_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/usage_classes/test_usage_classes_on_demand_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/usage_classes/test_usage_classes_on_demand_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module usage_classes.on_demand
import pytest
import ec2_compare.internal.usage_classes.on_demand
def test_get_internal_data_usage_classes_on_demand_get_instances_list():
assert len(ec2_compare.internal.usage_classes.on_demand.get_instances_list()) > 0
def test_get_internal_data_usage_classes_on_demand_get... | 39.1 | 83 | 0.86445 | 62 | 391 | 4.951613 | 0.322581 | 0.234528 | 0.273616 | 0.390879 | 0.827362 | 0.827362 | 0.827362 | 0.618893 | 0.618893 | 0.618893 | 0 | 0.013699 | 0.066496 | 391 | 9 | 84 | 43.444444 | 0.827397 | 0.097187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
c60e9a2986b434b98186212586132aa6e3acc606 | 283 | py | Python | src/pack_and_doc/submodule/__init__.py | chryswoods/python_pack_and_doc | 6d63d4e91dd93abf8f618d75c161ab65f943dadd | [
"Apache-2.0"
] | 5 | 2020-09-23T14:04:39.000Z | 2020-10-02T14:01:16.000Z | src/pack_and_doc/submodule/__init__.py | chryswoods/python_pack_and_doc | 6d63d4e91dd93abf8f618d75c161ab65f943dadd | [
"Apache-2.0"
] | null | null | null | src/pack_and_doc/submodule/__init__.py | chryswoods/python_pack_and_doc | 6d63d4e91dd93abf8f618d75c161ab65f943dadd | [
"Apache-2.0"
] | 1 | 2020-09-25T16:25:24.000Z | 2020-09-25T16:25:24.000Z | """
.. currentmodule:: pack_and_doc.submodule
Classes
=======
.. autosummary::
:toctree: generated/
AnotherClass
FastClass
Functions
=========
.. autosummary::
:toctree: generated/
fast_function
"""
from ._anotherclass import *
from ._fastclass import *
| 10.884615 | 41 | 0.639576 | 23 | 283 | 7.652174 | 0.695652 | 0.204545 | 0.306818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201413 | 283 | 25 | 42 | 11.32 | 0.778761 | 0.763251 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d6850e3b9dcdfd3c42c0bd9161d797dc68e277a4 | 7,226 | py | Python | pynars/NARS/InferenceEngine/GeneralEngine/Rules/NAL2.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/GeneralEngine/Rules/NAL2.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | pynars/NARS/InferenceEngine/GeneralEngine/Rules/NAL2.py | AIxer/PyNARS | 443b6a5e1c9779a1b861df1ca51ce5a190998d2e | [
"MIT"
] | null | null | null | from collections import OrderedDict
from pynars.NARS.DataStructures import LinkType, TaskLink, TermLink
from pynars.utils.SparseLUT import SparseLUT
from pynars import Global
from ....RuleMap.add_rule import *
def add_rules__NAL2(sparse_lut: SparseLUT, structure: OrderedDict):
''''''
'''comparison'''
add_... | 35.950249 | 72 | 0.639496 | 697 | 7,226 | 6.229555 | 0.070301 | 0.117918 | 0.184247 | 0.058959 | 0.941041 | 0.941041 | 0.941041 | 0.941041 | 0.941041 | 0.941041 | 0 | 0.024623 | 0.274979 | 7,226 | 201 | 73 | 35.950249 | 0.804161 | 0.017575 | 0 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005495 | false | 0 | 0.027473 | 0 | 0.032967 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 | 8 |
ba35e95b0c406fd9b3b922d64b5a05b4c20b1b10 | 316 | py | Python | tests/messaging/test_response_protocol.py | spaceone/httoop | 99f5f51a6ebab4bfdfd02d3705a0bffb5379b4a9 | [
"MIT"
] | 13 | 2015-01-07T19:39:02.000Z | 2021-07-12T21:09:28.000Z | tests/messaging/test_response_protocol.py | spaceone/httoop | 99f5f51a6ebab4bfdfd02d3705a0bffb5379b4a9 | [
"MIT"
] | 9 | 2015-06-14T11:37:26.000Z | 2020-12-11T09:12:30.000Z | tests/messaging/test_response_protocol.py | spaceone/httoop | 99f5f51a6ebab4bfdfd02d3705a0bffb5379b4a9 | [
"MIT"
] | 10 | 2015-05-28T05:51:46.000Z | 2021-12-29T20:36:15.000Z | def test_response_protocol_with_http1_0_request_():
pass
def test_response_protocol_with_http1_1_request_():
pass
def test_response_protocol_with_http1_1_request_and_http1_0_server():
pass
def test_response_protocol_with_http0_9_request_():
pass
def test_response_protocol_with_http2_0_request_():
pass
| 16.631579 | 69 | 0.863924 | 49 | 316 | 4.795918 | 0.306122 | 0.148936 | 0.319149 | 0.489362 | 0.834043 | 0.834043 | 0.565957 | 0.404255 | 0.404255 | 0.404255 | 0 | 0.041667 | 0.088608 | 316 | 18 | 70 | 17.555556 | 0.774306 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
ba6c574623763305f043a65197e6773f234b4ffb | 133 | py | Python | FoxySheep/scoping/__init__.py | rocky/FoxySheep2 | 94400a7e135035dadb63d703740859a69fbf9c97 | [
"BSD-2-Clause"
] | 7 | 2020-07-15T16:43:12.000Z | 2021-09-04T14:40:28.000Z | FoxySheep/scoping/__init__.py | rocky/FoxySheep2 | 94400a7e135035dadb63d703740859a69fbf9c97 | [
"BSD-2-Clause"
] | 3 | 2020-08-05T18:56:46.000Z | 2020-08-11T04:48:16.000Z | FoxySheep/scoping/__init__.py | rocky/FoxySheep2 | 94400a7e135035dadb63d703740859a69fbf9c97 | [
"BSD-2-Clause"
] | null | null | null | from FoxySheep.scoping.Scope import GlobalScope, ScopeStack, ScopeType
from FoxySheep.scoping.Symbol import Symbol, SymbolAttributes
| 44.333333 | 70 | 0.864662 | 15 | 133 | 7.666667 | 0.666667 | 0.226087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 133 | 2 | 71 | 66.5 | 0.942623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bae8d18b477fc23d2ced723faefe3e8464e877f5 | 545 | py | Python | mmdetection_pipeline/tests/project/modules/datasets.py | KonstantinSviridov/mmdetection_pipeline | 7e17c4bb48af28713d018e087907f7295ef68d7e | [
"MIT"
] | null | null | null | mmdetection_pipeline/tests/project/modules/datasets.py | KonstantinSviridov/mmdetection_pipeline | 7e17c4bb48af28713d018e087907f7295ef68d7e | [
"MIT"
] | 2 | 2019-12-13T04:40:34.000Z | 2019-12-13T04:41:19.000Z | mmdetection_pipeline/tests/project/modules/datasets.py | musket-ml/instance_segmentation_pipeline | 7e17c4bb48af28713d018e087907f7295ef68d7e | [
"MIT"
] | null | null | null | from musket_core import datasets,image_datasets
@datasets.dataset_provider(origin="train.csv",kind="MultiClassInstanceSegmentationDataSet")
def getTrain():
return image_datasets.InstanceSegmentationDataSet(["train"],"train.csv","ImageId","EncodedPixels","ClassId", classes=["0", "1", "10", "11", "12", "13", "14", "... | 109 | 388 | 0.566972 | 74 | 545 | 4.121622 | 0.905405 | 0.085246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168724 | 0.108257 | 545 | 5 | 388 | 109 | 0.458848 | 0 | 0 | 0 | 0 | 0 | 0.309524 | 0.067766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
241ebec7d7b6fa511c699e34ec970cb3a0a2da69 | 4,856 | py | Python | snapshots/filesystems/test/test_zfssa_fs_snaps.py | aldenso/zfssa-scripts | 560efb28d01e872787d336d06d308fbb423bd9d4 | [
"BSD-2-Clause"
] | 1 | 2017-06-18T06:09:15.000Z | 2017-06-18T06:09:15.000Z | snapshots/filesystems/test/test_zfssa_fs_snaps.py | aldenso/zfssa-scripts | 560efb28d01e872787d336d06d308fbb423bd9d4 | [
"BSD-2-Clause"
] | 1 | 2021-06-01T21:51:41.000Z | 2021-06-01T21:51:41.000Z | snapshots/filesystems/test/test_zfssa_fs_snaps.py | aldenso/zfssa-scripts | 560efb28d01e872787d336d06d308fbb423bd9d4 | [
"BSD-2-Clause"
] | null | null | null | import unittest
import sys
import os
from snapshots.filesystems.zfssa_fs_snaps import create_parser, main
HERE = os.path.abspath(os.path.dirname(__file__))
CREATEOUTPUT = """###############################################################################
Creating snapshots
#############################################... | 44.962963 | 97 | 0.57084 | 561 | 4,856 | 4.823529 | 0.172906 | 0.031042 | 0.044346 | 0.062084 | 0.902439 | 0.902439 | 0.878788 | 0.878788 | 0.878788 | 0.859571 | 0 | 0.014088 | 0.196046 | 4,856 | 107 | 98 | 45.383178 | 0.679047 | 0.115733 | 0 | 0.795181 | 0 | 0 | 0.274482 | 0.111582 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.072289 | false | 0 | 0.048193 | 0 | 0.144578 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
242ae9511a7700109f1e713964d0c52144da0aa7 | 2,464 | py | Python | fuzzyjoin-hadoop/src/test/scripts/util/license.py | ceperez/recordlinkage-java-vs-pipes-hadoop | 4fd4b1a443048c79b7a686250b4d28f602b7e277 | [
"Apache-2.0"
] | null | null | null | fuzzyjoin-hadoop/src/test/scripts/util/license.py | ceperez/recordlinkage-java-vs-pipes-hadoop | 4fd4b1a443048c79b7a686250b4d28f602b7e277 | [
"Apache-2.0"
] | null | null | null | fuzzyjoin-hadoop/src/test/scripts/util/license.py | ceperez/recordlinkage-java-vs-pipes-hadoop | 4fd4b1a443048c79b7a686250b4d28f602b7e277 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2010-2011 The Regents of the University of California
#
# 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
#... | 31.589744 | 69 | 0.699269 | 369 | 2,464 | 4.661247 | 0.262873 | 0.104651 | 0.045349 | 0.055814 | 0.880233 | 0.880233 | 0.880233 | 0.880233 | 0.880233 | 0.880233 | 0 | 0.020492 | 0.207792 | 2,464 | 77 | 70 | 32 | 0.860656 | 0.310471 | 0 | 0.041667 | 0 | 0 | 0.815632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020833 | 0 | 0.020833 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
24613f4f70f31a031aa6470104e54a23638c5b0c | 201 | py | Python | nhps/distance/__init__.py | Anirudh-Murali/neural-hawkes-particle-smoothing | 96b258838bdab33b781008daeedfa61dec0d553c | [
"BSD-3-Clause"
] | 37 | 2019-05-14T04:42:40.000Z | 2021-09-10T11:51:11.000Z | nhps/distance/__init__.py | wangjingbo1219/neural-hawkes-particle-smoothing | 8f33c75038e739a2a0b61db854dd97d918ce2d19 | [
"BSD-3-Clause"
] | 5 | 2019-08-18T12:06:36.000Z | 2021-09-21T22:00:29.000Z | nhps/distance/__init__.py | wangjingbo1219/neural-hawkes-particle-smoothing | 8f33c75038e739a2a0b61db854dd97d918ce2d19 | [
"BSD-3-Clause"
] | 12 | 2019-08-11T22:41:55.000Z | 2020-11-24T18:11:34.000Z | from nhps.distance.naive import *
from nhps.distance.consensus import *
from nhps.distance.recorder import DistanceRecorder, LogProbRecorder
from nhps.distance.remove_base import remove_bases_for_test
| 40.2 | 68 | 0.860697 | 27 | 201 | 6.259259 | 0.518519 | 0.189349 | 0.378698 | 0.260355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084577 | 201 | 4 | 69 | 50.25 | 0.918478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
79edee31103c6c272a1396cdf11e1b391100e392 | 236 | py | Python | float_chat/GUI/helper.py | dheena2k2/BigBlueButton-float_chat | 42211b4063ca043a54a89c61b196adcabf96e436 | [
"MIT"
] | 2 | 2021-09-14T11:05:17.000Z | 2022-03-04T19:40:18.000Z | float_chat/GUI/helper.py | dheena2k2/BigBlueButton-float_chat | 42211b4063ca043a54a89c61b196adcabf96e436 | [
"MIT"
] | null | null | null | float_chat/GUI/helper.py | dheena2k2/BigBlueButton-float_chat | 42211b4063ca043a54a89c61b196adcabf96e436 | [
"MIT"
] | null | null | null | from tkinter.messagebox import askyesno
def quit_popup():
"""
Quit action confirmation
:return: Boolean representing confirmation
"""
return askyesno(title='Confirm exit', message='Are you sure you want to exit?')
| 23.6 | 83 | 0.707627 | 28 | 236 | 5.928571 | 0.785714 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199153 | 236 | 9 | 84 | 26.222222 | 0.878307 | 0.283898 | 0 | 0 | 0 | 0 | 0.281879 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
034b1bc964070b768d9cca206ba5fda8877b6d41 | 110 | py | Python | apps/equipment/filters/__init__.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | apps/equipment/filters/__init__.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | apps/equipment/filters/__init__.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | from apps.equipment.filters.basicinfor_filters import *
from apps.equipment.filters.recording_filters import * | 55 | 55 | 0.863636 | 14 | 110 | 6.642857 | 0.5 | 0.172043 | 0.365591 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 110 | 2 | 56 | 55 | 0.902913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0362074f9897fa033268ac74f297475efef6677c | 91,747 | py | Python | src/tests/unit/test_live_response_api.py | fslds/carbon-black-cloud-sdk-python | 248a3c63d6b36d6fcdbcb3f51fb7751f062ed372 | [
"MIT"
] | 24 | 2020-10-16T22:07:38.000Z | 2022-03-24T14:58:03.000Z | src/tests/unit/test_live_response_api.py | fslds/carbon-black-cloud-sdk-python | 248a3c63d6b36d6fcdbcb3f51fb7751f062ed372 | [
"MIT"
] | 63 | 2020-10-26T18:26:15.000Z | 2022-03-31T17:31:02.000Z | src/tests/unit/test_live_response_api.py | fslds/carbon-black-cloud-sdk-python | 248a3c63d6b36d6fcdbcb3f51fb7751f062ed372 | [
"MIT"
] | 10 | 2020-11-09T11:54:23.000Z | 2022-03-24T20:44:00.000Z | # *******************************************************
# Copyright (c) VMware, Inc. 2020-2021. All Rights Reserved.
# SPDX-License-Identifier: MIT
# *******************************************************
# *
# * DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT
# * WARRANTIES OR CONDITIONS OF ANY KIND, WH... | 56.494458 | 120 | 0.685385 | 11,300 | 91,747 | 5.322301 | 0.038584 | 0.083968 | 0.103738 | 0.128147 | 0.904227 | 0.889428 | 0.877623 | 0.863639 | 0.85654 | 0.844451 | 0 | 0.036471 | 0.191309 | 91,747 | 1,623 | 121 | 56.529267 | 0.774122 | 0.048612 | 0 | 0.756677 | 0 | 0 | 0.289899 | 0.235726 | 0 | 0 | 0 | 0 | 0.152077 | 1 | 0.074926 | false | 0 | 0.011869 | 0 | 0.114243 | 0.000742 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
30068b1923f51d055fefeb64eb6dedf5e8a9988f | 1,895 | py | Python | grizzly-quine.py | Shaedil/Grizzly-Quines | 99eac22de0ea4c47444f64d3b291a3b982640a0c | [
"MIT"
] | null | null | null | grizzly-quine.py | Shaedil/Grizzly-Quines | 99eac22de0ea4c47444f64d3b291a3b982640a0c | [
"MIT"
] | null | null | null | grizzly-quine.py | Shaedil/Grizzly-Quines | 99eac22de0ea4c47444f64d3b291a3b982640a0c | [
"MIT"
] | null | null | null | # encoding: utf-8
_='_=%r print(""" \'\033[38;2;210;105;30m\' \n#██████████████████████████████████████████████████████████████████████████████ \n#███████████▒▒▒▒▒▒░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒████████ \n#█████████▒▒░░░░░▒▒▒▒▒▒▒▒░░░░▒▒▒█▒████▒▒░░░░░░▒▒▒▒▒▒█▒▒▒▒░░▒▒▒▒▒▒███▒░░▒▒▒█████ \n#███████▒▒... | 473.75 | 1,865 | 0.037467 | 78 | 1,895 | 22.141026 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008283 | 0.044327 | 1,895 | 3 | 1,866 | 631.666667 | 0.027609 | 0.007916 | 0 | 0 | 0 | 0.5 | 0.978168 | 0.895101 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
3078cc274c5372feaf8d6071dfd74f695e43ae41 | 20,712 | py | Python | tests/test_analysis.py | tillbiskup/trepr | 4d24cb9ce5b89bfd3f9ee2016c8c493c4d76ea7f | [
"BSD-2-Clause"
] | null | null | null | tests/test_analysis.py | tillbiskup/trepr | 4d24cb9ce5b89bfd3f9ee2016c8c493c4d76ea7f | [
"BSD-2-Clause"
] | null | null | null | tests/test_analysis.py | tillbiskup/trepr | 4d24cb9ce5b89bfd3f9ee2016c8c493c4d76ea7f | [
"BSD-2-Clause"
] | null | null | null | import datetime
import os
import unittest
import aspecd.dataset
import aspecd.exceptions
import numpy as np
import trepr.analysis
import trepr.dataset
ROOTPATH = os.path.split(os.path.abspath(__file__))[0]
class TestMWFrequencyDrift(unittest.TestCase):
def setUp(self):
self.analysis = trepr.analysis.MW... | 47.395881 | 78 | 0.623358 | 2,426 | 20,712 | 5.184666 | 0.067601 | 0.095405 | 0.092702 | 0.07855 | 0.917475 | 0.891795 | 0.876212 | 0.843695 | 0.826045 | 0.809191 | 0 | 0.043977 | 0.251255 | 20,712 | 436 | 79 | 47.504587 | 0.767088 | 0 | 0 | 0.761905 | 0 | 0 | 0.092652 | 0 | 0 | 0 | 0 | 0 | 0.137566 | 1 | 0.126984 | false | 0.005291 | 0.031746 | 0 | 0.169312 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0644fa6f52f56f3563de48445a2d8fba1fb93756 | 83 | py | Python | src/c3tools/lib/stdin.py | conao3/python-c3tools | 2ad0259d2036ef37a67ae6774efb47e3ab0fface | [
"Apache-2.0"
] | null | null | null | src/c3tools/lib/stdin.py | conao3/python-c3tools | 2ad0259d2036ef37a67ae6774efb47e3ab0fface | [
"Apache-2.0"
] | null | null | null | src/c3tools/lib/stdin.py | conao3/python-c3tools | 2ad0259d2036ef37a67ae6774efb47e3ab0fface | [
"Apache-2.0"
] | null | null | null | import sys
def readlines() -> list[str]:
return sys.stdin.read().split("\n")
| 13.833333 | 39 | 0.626506 | 12 | 83 | 4.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 5 | 40 | 16.6 | 0.753623 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ebebdb31f4f799902d4528d9572e429766cda3bb | 44,198 | py | Python | python_modules/dagster/dagster_tests/core_tests/snap_tests/snapshots/snap_test_pipeline_snap.py | zzztimbo/dagster | 5cf8f159183a80d2364e05bb30362e2798a7af37 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster_tests/core_tests/snap_tests/snapshots/snap_test_pipeline_snap.py | zzztimbo/dagster | 5cf8f159183a80d2364e05bb30362e2798a7af37 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster_tests/core_tests/snap_tests/snapshots/snap_test_pipeline_snap.py | zzztimbo/dagster | 5cf8f159183a80d2364e05bb30362e2798a7af37 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots['test_empty_pipeline_snap_props 1'] = '{"__class__": "PipelineSnapshot", "config_schema_snapshot": {"__class__": "ConfigSchemaSnapshot", "all_c... | 3,683.166667 | 22,021 | 0.748971 | 3,988 | 44,198 | 7.805416 | 0.038365 | 0.081438 | 0.050244 | 0.073888 | 0.993832 | 0.993832 | 0.993832 | 0.993832 | 0.993832 | 0.993832 | 0 | 0.132423 | 0.064211 | 44,198 | 11 | 22,022 | 4,018 | 0.620189 | 0.001403 | 0 | 0 | 0 | 0.4 | 0.996805 | 0.353114 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
2360c5ed80d26c9d39db471538863c712107db39 | 87 | py | Python | util.py | ibaykoc/linear_regression_viz | 0ab7e90300d11aa35b5714b7dd9390a75ea032fd | [
"BSD-3-Clause"
] | null | null | null | util.py | ibaykoc/linear_regression_viz | 0ab7e90300d11aa35b5714b7dd9390a75ea032fd | [
"BSD-3-Clause"
] | null | null | null | util.py | ibaykoc/linear_regression_viz | 0ab7e90300d11aa35b5714b7dd9390a75ea032fd | [
"BSD-3-Clause"
] | null | null | null | def normalize(val, min_val, max_val):
return (val - min_val) / (max_val - min_val)
| 29 | 48 | 0.678161 | 15 | 87 | 3.6 | 0.4 | 0.333333 | 0.5 | 0.444444 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 87 | 2 | 49 | 43.5 | 0.760563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
2366ae56b57ae16cfc7094bd6e77989d365f678d | 2,769 | py | Python | models/image_classification/model_complexity.py | kotomiDu/openvino_training_extensions | 54545bd0f6457bf58e269384b147ca04e4f451b0 | [
"Apache-2.0"
] | null | null | null | models/image_classification/model_complexity.py | kotomiDu/openvino_training_extensions | 54545bd0f6457bf58e269384b147ca04e4f451b0 | [
"Apache-2.0"
] | null | null | null | models/image_classification/model_complexity.py | kotomiDu/openvino_training_extensions | 54545bd0f6457bf58e269384b147ca04e4f451b0 | [
"Apache-2.0"
] | 1 | 2022-03-29T05:55:12.000Z | 2022-03-29T05:55:12.000Z | from torchreid import models, utils
model = models.build_model(name='mobilenetv3_small', num_classes=10, dropout_cls={"p":0.1,"dist":'gaussian',"mu":0.5,"sigma":0.3})
num_params, flops = utils.compute_model_complexity(model, (1, 3, 48, 48), verbose=True)
'''
-------------------------------------------------------
... | 44.66129 | 130 | 0.547129 | 329 | 2,769 | 4.559271 | 0.25228 | 0.096 | 0.144 | 0.156 | 0.836667 | 0.821333 | 0.821333 | 0.821333 | 0.821333 | 0.821333 | 0 | 0.098039 | 0.097508 | 2,769 | 61 | 131 | 45.393443 | 0.502201 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 7 |
0050f19710dc259166ff4cdb0b09883c3a0f3f7f | 129 | py | Python | pymeasure/instruments/keysight/__init__.py | svdpuranik/pymeasure | 4e49da8d1cb7a80aeecacc9688e76035ef10114c | [
"MIT"
] | null | null | null | pymeasure/instruments/keysight/__init__.py | svdpuranik/pymeasure | 4e49da8d1cb7a80aeecacc9688e76035ef10114c | [
"MIT"
] | null | null | null | pymeasure/instruments/keysight/__init__.py | svdpuranik/pymeasure | 4e49da8d1cb7a80aeecacc9688e76035ef10114c | [
"MIT"
] | null | null | null | from .keysightN5767A import KeysightN5767A
from .keysight344x6A import Keysight344x6A
from .keysightN5767A import KeysightN5767A
| 32.25 | 42 | 0.883721 | 12 | 129 | 9.5 | 0.333333 | 0.315789 | 0.421053 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0.093023 | 129 | 3 | 43 | 43 | 0.769231 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
cc4178e17f613e0439dc5872c77171c2c433a6ab | 393,666 | py | Python | app/main.py | mirkomancin/pba_fishroom | 8bf9cdf7376895d5c674939270d654b5a667296d | [
"MIT"
] | 1 | 2022-01-19T15:51:10.000Z | 2022-01-19T15:51:10.000Z | app/main.py | mirkomancin/pba_fishroom | 8bf9cdf7376895d5c674939270d654b5a667296d | [
"MIT"
] | null | null | null | app/main.py | mirkomancin/pba_fishroom | 8bf9cdf7376895d5c674939270d654b5a667296d | [
"MIT"
] | null | null | null | from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
import time
import logging
import threading
import serial
from datetime import datetime
import requests
hostName = "0.0.0.0"
serverPort = 8000
lastStr = ""
taskEnd = False
consumo = "0"
produzione = "0"
consumo_reale = "0"
guadagno = "0"
temp_esterna = "... | 706.761221 | 80,519 | 0.952208 | 13,155 | 393,666 | 28.488788 | 0.277993 | 0.007541 | 0.01173 | 0.003415 | 0.867196 | 0.866505 | 0.865718 | 0.865445 | 0.865101 | 0.864914 | 0 | 0.144335 | 0.00776 | 393,666 | 556 | 80,520 | 708.032374 | 0.81511 | 0.099483 | 0 | 0.593117 | 0 | 0 | 0.018971 | 0.002178 | 0 | 1 | 0.000034 | 0 | 0 | 1 | 0.006073 | false | 0.002024 | 0.01417 | 0 | 0.030364 | 0.034413 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
cc4e0de93695c04d41f8b2b94387607692b35272 | 14,877 | py | Python | test_task_7_1.py | piersto/Selenium_Webdriver_Training | 4cb6aa0d1aa6fd6de6cbae9947269a0e18299285 | [
"Apache-2.0"
] | null | null | null | test_task_7_1.py | piersto/Selenium_Webdriver_Training | 4cb6aa0d1aa6fd6de6cbae9947269a0e18299285 | [
"Apache-2.0"
] | null | null | null | test_task_7_1.py | piersto/Selenium_Webdriver_Training | 4cb6aa0d1aa6fd6de6cbae9947269a0e18299285 | [
"Apache-2.0"
] | null | null | null | import pytest
from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
@pytest.fixture
def driver(request):
wd = webdriver.Chrome()
request.addfinalizer(wd.quit)
ret... | 45.356707 | 106 | 0.71298 | 1,981 | 14,877 | 5.102474 | 0.058556 | 0.08607 | 0.14632 | 0.163534 | 0.893253 | 0.893253 | 0.874258 | 0.852196 | 0.841512 | 0.841512 | 0 | 0.01289 | 0.113464 | 14,877 | 327 | 107 | 45.495413 | 0.753507 | 0.025744 | 0 | 0.584034 | 0 | 0 | 0.248144 | 0.042815 | 0 | 0 | 0 | 0 | 0.02521 | 1 | 0.058824 | false | 0.054622 | 0.029412 | 0 | 0.092437 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
cc8daa8ae0d3f8678bba5db480ad886222a318ac | 5,286 | py | Python | test_server/Event.py | faryabimm/webelopers-2018-tests | ef22ada2cf104f41566f84e558ad7a56387b933b | [
"MIT"
] | 1 | 2019-01-19T16:05:36.000Z | 2019-01-19T16:05:36.000Z | test_server/Event.py | faryabimm/webelopers-2018-tests | ef22ada2cf104f41566f84e558ad7a56387b933b | [
"MIT"
] | null | null | null | test_server/Event.py | faryabimm/webelopers-2018-tests | ef22ada2cf104f41566f84e558ad7a56387b933b | [
"MIT"
] | null | null | null | import utils as ut
import random
import time
class Event:
def __init__(self, user):
self.user = user
self.date = time.strftime('%Y-%m-%d', ut.random_date_time())
btime = ut.random_date_time()
self.begin_time = time.strftime('%H:%M:%S', btime)
self.end_time = time.strftime('... | 37.225352 | 142 | 0.592509 | 747 | 5,286 | 3.93842 | 0.096386 | 0.040789 | 0.079538 | 0.091774 | 0.834126 | 0.789939 | 0.765806 | 0.738953 | 0.738953 | 0.695445 | 0 | 0.002206 | 0.313848 | 5,286 | 141 | 143 | 37.489362 | 0.808933 | 0.027998 | 0 | 0.754098 | 0 | 0 | 0.051862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040984 | false | 0 | 0.02459 | 0 | 0.221311 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
cc97095cd4476352c76f23383df08d8496592bd9 | 18,939 | py | Python | pypy/bin/victor.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | 1 | 2019-05-27T00:58:46.000Z | 2019-05-27T00:58:46.000Z | pypy/bin/victor.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | pypy/bin/victor.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | import inspect, sys
import copy
def trace(f,e,a):
if e == 'return':
output = "RETURN " + str(a) + "(" + f.f_code.co_name
co = f.f_code
if len(co.co_filename) > 75:
fname = co.co_filename[80:]
else:
fname = co.co_filename
output += " " + fname + " " + c... | 42.086667 | 264 | 0.502033 | 2,527 | 18,939 | 3.597942 | 0.072022 | 0.074791 | 0.016168 | 0.022437 | 0.818522 | 0.787396 | 0.775187 | 0.745821 | 0.743181 | 0.720854 | 0 | 0.012105 | 0.341359 | 18,939 | 449 | 265 | 42.180401 | 0.716771 | 0.014679 | 0 | 0.736842 | 0 | 0 | 0.122869 | 0.023695 | 0 | 0 | 0 | 0 | 0.014354 | 0 | null | null | 0.007177 | 0.007177 | null | null | 0.047847 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ccbf34f6277669c68b1569462d6b8956c45e666d | 143,489 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/opaque_lsa/traffic_engineering/tlvs/tlv/link/sub_tlvs/sub_tlv/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/opaque_lsa/traffic_engineering/tlvs/tlv/link/sub_tlvs/sub_tlv/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/ospfv2/areas/area/lsdb/lsa_types/lsa_type/lsas/lsa/opaque_lsa/traffic_engineering/tlvs/tlv/link/sub_tlvs/sub_tlv/state/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 51.337746 | 3,962 | 0.539637 | 14,762 | 143,489 | 5.031026 | 0.019306 | 0.061076 | 0.091668 | 0.103625 | 0.994951 | 0.992029 | 0.992029 | 0.992029 | 0.992029 | 0.992029 | 0 | 0.015272 | 0.336465 | 143,489 | 2,794 | 3,963 | 51.35612 | 0.764773 | 0.159685 | 0 | 0.847938 | 0 | 0.016323 | 0.377597 | 0.1715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027491 | false | 0 | 0.006443 | 0 | 0.057131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4e21af524e4650a8254ce39559241ecdf2537344 | 19,371 | py | Python | mafipy/replication/tests/test__quanto_cms_forward_fx.py | i05nagai/mafipy | ea7312065b8abea4c7054203176269637ff346ca | [
"MIT"
] | 6 | 2017-01-15T05:05:09.000Z | 2020-12-29T20:03:37.000Z | mafipy/replication/tests/test__quanto_cms_forward_fx.py | i05nagai/mafipy | ea7312065b8abea4c7054203176269637ff346ca | [
"MIT"
] | 77 | 2016-12-03T12:54:42.000Z | 2018-06-15T14:44:14.000Z | mafipy/replication/tests/test__quanto_cms_forward_fx.py | i05nagai/mafipy | ea7312065b8abea4c7054203176269637ff346ca | [
"MIT"
] | 3 | 2016-12-17T11:09:38.000Z | 2017-11-05T09:15:02.000Z | #!/bin/python
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import
from pytest import approx
import math
import pytest
import scipy.stats
from . import util
import mafipy.function as function
from mafipy.replication import _quanto_cms_forward_fx as target
class Test_QuantoCmsForw... | 34.839928 | 78 | 0.453668 | 2,076 | 19,371 | 3.945087 | 0.047206 | 0.186569 | 0.09939 | 0.068498 | 0.901343 | 0.873871 | 0.858608 | 0.849451 | 0.815873 | 0.805617 | 0 | 0.032417 | 0.464922 | 19,371 | 555 | 79 | 34.902703 | 0.757742 | 0.064788 | 0 | 0.835681 | 0 | 0 | 0.011632 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 1 | 0.110329 | false | 0.016432 | 0.018779 | 0.06338 | 0.201878 | 0.002347 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d1c01ed4df9d7c3f0057276134e7b4bbbe4f32aa | 4,122 | py | Python | src/leetcode_1930_unique_length_3_palindromic_subsequences.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | src/leetcode_1930_unique_length_3_palindromic_subsequences.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | src/leetcode_1930_unique_length_3_palindromic_subsequences.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | # @l2g 1930 python3
# [1930] Unique Length-3 Palindromic Subsequences
# Difficulty: Medium
# https://leetcode.com/problems/unique-length-3-palindromic-subsequences
#
# Given a string s,
# return the number of unique palindromes of length three that are a subsequence of s.
# Note that even if there are multiple ways to ... | 28.427586 | 186 | 0.621058 | 570 | 4,122 | 4.459649 | 0.236842 | 0.102282 | 0.062943 | 0.073171 | 0.834382 | 0.830055 | 0.778127 | 0.778127 | 0.778127 | 0.778127 | 0 | 0.025033 | 0.25376 | 4,122 | 144 | 187 | 28.625 | 0.801365 | 0.818535 | 0 | 0 | 0 | 0 | 0.039809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.230769 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ae80387e128f04c002486a13eb8f01c6a1344c38 | 97,101 | py | Python | danmu/danmaku/kugou_pb2.py | simplecelery/zhibo | f1b69dabfde6cd2fc8a8a7fc4112da99feaf778f | [
"Apache-2.0"
] | 4 | 2021-11-21T15:30:32.000Z | 2022-03-11T02:49:30.000Z | danmu/danmaku/kugou_pb2.py | simplecelery/zhibo | f1b69dabfde6cd2fc8a8a7fc4112da99feaf778f | [
"Apache-2.0"
] | 1 | 2021-11-11T15:44:44.000Z | 2021-11-11T15:44:44.000Z | danmu/danmaku/kugou_pb2.py | simplecelery/zhibo | f1b69dabfde6cd2fc8a8a7fc4112da99feaf778f | [
"Apache-2.0"
] | 9 | 2021-09-24T03:26:21.000Z | 2022-03-23T01:32:15.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: kugou.proto
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
fro... | 47.412598 | 7,419 | 0.744184 | 12,736 | 97,101 | 5.373351 | 0.041222 | 0.061957 | 0.09634 | 0.078512 | 0.77887 | 0.731336 | 0.727771 | 0.712486 | 0.710733 | 0.692219 | 0 | 0.042545 | 0.130503 | 97,101 | 2,047 | 7,420 | 47.43576 | 0.768018 | 0.01588 | 0 | 0.737223 | 1 | 0.001549 | 0.145012 | 0.108029 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002581 | 0 | 0.002581 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ae976a63dd18e01c83ef7eeb6ee2cd443f3ebba8 | 160 | py | Python | pybigo/__init__.py | endremborza/pybigo | 8524316c8f757c4910319fe7f5cc807388a4254e | [
"MIT"
] | null | null | null | pybigo/__init__.py | endremborza/pybigo | 8524316c8f757c4910319fe7f5cc807388a4254e | [
"MIT"
] | null | null | null | pybigo/__init__.py | endremborza/pybigo | 8524316c8f757c4910319fe7f5cc807388a4254e | [
"MIT"
] | null | null | null | from ._version import __version__ # noqa: F401
from .core.estimator import BigOEstimator # noqa: F401
from .core.comparison import compare_time # noqa: F401
| 40 | 55 | 0.78125 | 21 | 160 | 5.666667 | 0.52381 | 0.201681 | 0.201681 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 0.15 | 160 | 3 | 56 | 53.333333 | 0.808824 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
ae9e57f2bcc25673094ee14d520672f0eeac967c | 148,429 | py | Python | pyemto/system.py | hitliaomq/pyemto | 334903fbe626fa8b9f7e1f7a089b7c0e30edba46 | [
"MIT"
] | 11 | 2018-04-10T02:01:12.000Z | 2021-12-10T06:44:54.000Z | pyemto/system.py | hitliaomq/pyemto | 334903fbe626fa8b9f7e1f7a089b7c0e30edba46 | [
"MIT"
] | null | null | null | pyemto/system.py | hitliaomq/pyemto | 334903fbe626fa8b9f7e1f7a089b7c0e30edba46 | [
"MIT"
] | 2 | 2020-02-01T19:59:50.000Z | 2020-04-07T20:53:40.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Dec 3 14:25:06 2014
@author: Matti Ropo
@author: Henrik Levämäki
"""
from __future__ import print_function
import time
import os
import sys
import numpy as np
import pyemto.common.common as common
class System:
"""The main class which provides the basis for the pyEMTO... | 41.070559 | 138 | 0.517776 | 17,662 | 148,429 | 4.244593 | 0.056619 | 0.027345 | 0.027105 | 0.007096 | 0.801449 | 0.773583 | 0.753468 | 0.734167 | 0.720267 | 0.697191 | 0 | 0.02674 | 0.368102 | 148,429 | 3,613 | 139 | 41.081926 | 0.772561 | 0.232569 | 0 | 0.739008 | 0 | 0.019645 | 0.094537 | 0.016645 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014967 | false | 0.001871 | 0.01029 | 0 | 0.046773 | 0.122544 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8872a0474e86499edf7528c116f0ce3a36a01174 | 2,457 | py | Python | VSCode_work/chapter3/chapter3_3_2.py | yangyahu-1994/Python-Crash-Course | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | [
"MIT"
] | 12 | 2020-10-22T14:03:27.000Z | 2022-03-28T08:14:22.000Z | VSCode_work/chapter3/chapter3_3_2.py | yangyahu-1994/Python-Crash-Course | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | [
"MIT"
] | null | null | null | VSCode_work/chapter3/chapter3_3_2.py | yangyahu-1994/Python-Crash-Course | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | [
"MIT"
] | 9 | 2020-12-22T10:22:12.000Z | 2022-03-28T08:14:53.000Z | # 将一些姓名存储在列表中
names = ["Yang yahu","Gao tong","Hu jin","LI liusheng"]
# 创建消息
message_0 = names[0] + "!" + "Youth is not a time of life; it is a state of mind; it is not a matter of rosy cheeks, red lips and supple knees; it is a matter of the will, a quality of the imagination, a vigor of the emotions; it is the fresh... | 98.28 | 277 | 0.730159 | 498 | 2,457 | 3.570281 | 0.094378 | 0.071991 | 0.053993 | 0.049494 | 0.957255 | 0.957255 | 0.957255 | 0.957255 | 0.957255 | 0.957255 | 0 | 0.012214 | 0.200244 | 2,457 | 24 | 278 | 102.375 | 0.892621 | 0.019129 | 0 | 0.470588 | 0 | 0.470588 | 0.852745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
88a9a343dbc9b644f65fb4d611d90bdfd6ecc95b | 12,057 | py | Python | tests/test_screenshot.py | dougPhilips/python-seleniumpm | 4ddff760cd4486bfd48efdb77e33fb4574dc0e5d | [
"Apache-2.0"
] | 2 | 2020-01-13T14:41:08.000Z | 2020-01-29T10:21:04.000Z | tests/test_screenshot.py | dougPhilips/python-seleniumpm | 4ddff760cd4486bfd48efdb77e33fb4574dc0e5d | [
"Apache-2.0"
] | 1 | 2018-05-29T14:47:55.000Z | 2018-05-29T14:47:55.000Z | tests/test_screenshot.py | dougPhilips/python-seleniumpm | 4ddff760cd4486bfd48efdb77e33fb4574dc0e5d | [
"Apache-2.0"
] | null | null | null | from tests.uitestwrapper import UiTestWrapper
from selenium.common.exceptions import TimeoutException
from selenium.common.exceptions import NoSuchElementException
from seleniumpm.locator import Locator
from seleniumpm.examples.google_page import GooglePage
from seleniumpm.webelements.element import Element
import sele... | 44.988806 | 152 | 0.692544 | 1,463 | 12,057 | 5.467532 | 0.102529 | 0.050006 | 0.097887 | 0.084011 | 0.872609 | 0.853607 | 0.853607 | 0.833104 | 0.833104 | 0.833104 | 0 | 0.006305 | 0.210666 | 12,057 | 267 | 153 | 45.157303 | 0.834191 | 0.025131 | 0 | 0.739535 | 0 | 0.009302 | 0.136282 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 1 | 0.083721 | false | 0.065116 | 0.051163 | 0 | 0.144186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ee17c9bba2b76422437f1d97eecf771b096f46b5 | 164 | py | Python | formatic/harnesses/__init__.py | welchbj/formatic | 524aed11c33627eba51cff169d8210f01660a250 | [
"MIT"
] | 2 | 2019-09-24T16:55:57.000Z | 2021-06-26T03:14:40.000Z | formatic/harnesses/__init__.py | welchbj/formatic | 524aed11c33627eba51cff169d8210f01660a250 | [
"MIT"
] | null | null | null | formatic/harnesses/__init__.py | welchbj/formatic | 524aed11c33627eba51cff169d8210f01660a250 | [
"MIT"
] | 1 | 2022-02-27T17:59:36.000Z | 2022-02-27T17:59:36.000Z | from .abstract_injection_harness import ( # noqa
AbstractInjectionHarness)
from .subprocess_injection_harness import ( # noqa
SubprocessInjectionHarness)
| 32.8 | 51 | 0.804878 | 14 | 164 | 9.142857 | 0.642857 | 0.25 | 0.34375 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 164 | 4 | 52 | 41 | 0.914286 | 0.054878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
ee630b165904686933137e4e09bfea3b2349ae4a | 198 | py | Python | polls/admin.py | nathan-schubkegel/DjangoLearning | 12e775edfaf312f69ea3d2ad31d78bf4e237821f | [
"Unlicense"
] | null | null | null | polls/admin.py | nathan-schubkegel/DjangoLearning | 12e775edfaf312f69ea3d2ad31d78bf4e237821f | [
"Unlicense"
] | null | null | null | polls/admin.py | nathan-schubkegel/DjangoLearning | 12e775edfaf312f69ea3d2ad31d78bf4e237821f | [
"Unlicense"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Question, Choice
admin.site.register(Question)
# TODO: why not also register Choice?
admin.site.register(Choice)
| 19.8 | 37 | 0.787879 | 28 | 198 | 5.571429 | 0.571429 | 0.141026 | 0.192308 | 0.294872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 198 | 9 | 38 | 22 | 0.906977 | 0.313131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
ee7507599a034f62c3fd6cd00ad5a164b35faa7f | 485 | py | Python | calculator/views.py | b9067280/Carbon-Tracer-main | e82e2511695adfcbfdace3f4137fbdba938f7c5a | [
"MIT"
] | null | null | null | calculator/views.py | b9067280/Carbon-Tracer-main | e82e2511695adfcbfdace3f4137fbdba938f7c5a | [
"MIT"
] | null | null | null | calculator/views.py | b9067280/Carbon-Tracer-main | e82e2511695adfcbfdace3f4137fbdba938f7c5a | [
"MIT"
] | null | null | null | # Imports
from flask import Blueprint, render_template
# Config
calculator_blueprint = Blueprint('calculator', __name__, template_folder='templates')
@calculator_blueprint.route('/calculator')
def calculator():
return render_template('calculator.html')
@calculator_blueprint.route('/<int:id>/update', methods=(... | 21.086957 | 85 | 0.74433 | 55 | 485 | 6.345455 | 0.418182 | 0.217765 | 0.206304 | 0.160458 | 0.189112 | 0.189112 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107216 | 485 | 22 | 86 | 22.045455 | 0.806005 | 0.028866 | 0 | 0 | 0 | 0 | 0.202991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0.454545 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 7 |
c9bd365a40993b42766b65a0605a45a75cfe360b | 27,593 | py | Python | acremscope_packages/members/sessions.py | bernie-skipole/acremscope | 6fb0fe5e8fd87df9d3a63297af184ca9635f7e5b | [
"MIT"
] | null | null | null | acremscope_packages/members/sessions.py | bernie-skipole/acremscope | 6fb0fe5e8fd87df9d3a63297af184ca9635f7e5b | [
"MIT"
] | null | null | null | acremscope_packages/members/sessions.py | bernie-skipole/acremscope | 6fb0fe5e8fd87df9d3a63297af184ca9635f7e5b | [
"MIT"
] | null | null | null | ##################################
#
# These functions populate the members sessions page
#
##################################
from datetime import date, timedelta, datetime
from functools import wraps
from skipole import FailPage, GoTo, ValidateError, ServerError
from .. import sun, database_ops, redis_ops
def ... | 40.757755 | 125 | 0.598086 | 3,488 | 27,593 | 4.55906 | 0.085722 | 0.065904 | 0.05232 | 0.035845 | 0.816124 | 0.792793 | 0.77921 | 0.763552 | 0.751981 | 0.742674 | 0 | 0.025676 | 0.305549 | 27,593 | 676 | 126 | 40.818047 | 0.804196 | 0.193129 | 0 | 0.783908 | 0 | 0 | 0.20225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027586 | false | 0.004598 | 0.009195 | 0 | 0.055172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c9f7e904c92660c4b22832a84fb3533a2e90895c | 1,174 | py | Python | src/testcase/GN_Y201H/input_case/GN_Y201H_Normal_Timer.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 28 | 2017-11-10T00:19:16.000Z | 2022-02-19T16:42:05.000Z | src/testcase/GN_Y201H/input_case/GN_Y201H_Normal_Timer.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | null | null | null | src/testcase/GN_Y201H/input_case/GN_Y201H_Normal_Timer.py | maiyajj/AutoTest_script-Appium_Connect | f9c2c42c281a9e2f984acb4a72dda0694b053f22 | [
"Apache-2.0"
] | 23 | 2017-08-22T06:12:19.000Z | 2021-09-18T05:45:41.000Z | # coding=utf-8
try:
from src.testcase.GN_Y201H.case.GN_Y201H_NORMAL_TIMER.GN_Y201H_NORMAL_TIMER_001 import *
from src.testcase.GN_Y201H.case.GN_Y201H_NORMAL_TIMER.GN_Y201H_NORMAL_TIMER_002 import *
from src.testcase.GN_Y201H.case.GN_Y201H_NORMAL_TIMER.GN_Y201H_NORMAL_TIMER_003 import *
from src.testcase... | 69.058824 | 92 | 0.840716 | 202 | 1,174 | 4.410891 | 0.148515 | 0.282828 | 0.350168 | 0.484848 | 0.909091 | 0.909091 | 0.909091 | 0.909091 | 0.909091 | 0.909091 | 0 | 0.136023 | 0.091993 | 1,174 | 16 | 93 | 73.375 | 0.699812 | 0.010221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.866667 | 0 | 0.866667 | 0.066667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
a019e5356b820114c764ec40e7decb0c10a40695 | 45,710 | py | Python | sumo/tools/projects/vehicles2d/unittest_ada_star_bugs_on_the_way.py | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | null | null | null | sumo/tools/projects/vehicles2d/unittest_ada_star_bugs_on_the_way.py | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | null | null | null | sumo/tools/projects/vehicles2d/unittest_ada_star_bugs_on_the_way.py | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | 2 | 2017-12-14T16:41:59.000Z | 2020-10-16T17:51:27.000Z | # -*- coding: utf-8 -*-
"""
@file unittest_ada_star_bugs_on_the_way.py
@author Marek Heinrich
@date 2015-11-17
@version $Id$
Unittests for keeping records of bugs. Not for beauties.
SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
Copyright (C) 2014-2017 DLR (http://www.dlr.de/) and contributors
Th... | 36.451356 | 121 | 0.527281 | 5,691 | 45,710 | 4.086277 | 0.069056 | 0.015825 | 0.014449 | 0.048248 | 0.934982 | 0.929822 | 0.927241 | 0.923801 | 0.917867 | 0.916448 | 0 | 0.087328 | 0.336382 | 45,710 | 1,253 | 122 | 36.480447 | 0.679304 | 0.209276 | 0 | 0.883234 | 0 | 0 | 0.031504 | 0.014495 | 0 | 0 | 0 | 0 | 0.019461 | 0 | null | null | 0 | 0.008982 | null | null | 0.032934 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4e464b94afd5c953e8b69a42b2a245588ed8d889 | 2,717 | py | Python | Advance_Python/Regular Expression/special_sequence_characters.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | Advance_Python/Regular Expression/special_sequence_characters.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | Advance_Python/Regular Expression/special_sequence_characters.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | # special sequence characters :
# 1.
import re
txt = 'The rain in Spain '
# Check if the string starts with 'The' :
x = re.findall('\AThe', txt)
print(x)
if x :
print('Yes, there is a match')
else :
print('No match')
# 2[a].
txt = 'The rain in Spain '
# Check if 'ain' is present at the beginning of a WOR... | 18.609589 | 113 | 0.611336 | 487 | 2,717 | 3.404517 | 0.166324 | 0.065139 | 0.078408 | 0.086248 | 0.831725 | 0.808203 | 0.785283 | 0.785283 | 0.78468 | 0.73462 | 0 | 0.016827 | 0.23445 | 2,717 | 145 | 114 | 18.737931 | 0.780288 | 0.318734 | 0 | 0.815217 | 0 | 0 | 0.360395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.01087 | 0.423913 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 8 |
4e6aeeaa3ac9fe714efd00ec9c1a6ae29cb5038b | 3,761 | py | Python | test_fena/v1_13/test_blocks.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 2 | 2017-07-04T02:27:11.000Z | 2017-07-08T10:39:54.000Z | test_fena/v1_13/test_blocks.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 6 | 2018-07-07T11:58:15.000Z | 2018-07-07T13:01:49.000Z | test_fena/v1_13/test_blocks.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 1 | 2017-07-24T23:52:43.000Z | 2017-07-24T23:52:43.000Z | from test_fena.test_common import test_block
def test_blocks():
# block states as simple values
test_block("stone_brick[0]", expect_error=True)
test_block("stone_brick[1]", expect_error=True)
test_block("stone_brick[-1]", expect_error=True)
test_block("stone_brick[*]", expect_error=True)
tes... | 63.745763 | 133 | 0.735177 | 530 | 3,761 | 4.9 | 0.077358 | 0.19638 | 0.184829 | 0.219484 | 0.953408 | 0.947247 | 0.924913 | 0.893724 | 0.8402 | 0.752792 | 0 | 0.006655 | 0.120978 | 3,761 | 58 | 134 | 64.844828 | 0.778887 | 0.017283 | 0 | 0.166667 | 0 | 0 | 0.53075 | 0.440802 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | true | 0 | 0.020833 | 0 | 0.041667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
4ea02563afa090a54ccab6bb039753d82ceb04d9 | 196 | py | Python | ensemble/handler/symuvia/__init__.py | licit-lab/ensemble | 7a78ef0d69610d4fcfc5e008f931ade15e35acbf | [
"Linux-OpenIB"
] | null | null | null | ensemble/handler/symuvia/__init__.py | licit-lab/ensemble | 7a78ef0d69610d4fcfc5e008f931ade15e35acbf | [
"Linux-OpenIB"
] | null | null | null | ensemble/handler/symuvia/__init__.py | licit-lab/ensemble | 7a78ef0d69610d4fcfc5e008f931ade15e35acbf | [
"Linux-OpenIB"
] | null | null | null | from ensemble.handler.symuvia.configurator import SymuviaConfigurator
from ensemble.handler.symuvia.connector import SymuviaConnector
from ensemble.handler.symuvia.scenario import SymuviaScenario
| 49 | 69 | 0.892857 | 21 | 196 | 8.333333 | 0.52381 | 0.205714 | 0.325714 | 0.445714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 196 | 3 | 70 | 65.333333 | 0.951087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
1180ae5c7cea2db6e0b0972d04904601a42348bc | 156 | py | Python | model/GCN/__init__.py | chenzhicun/ai-individual | 76393b390f2a2bebe0488232669b3c1bbe30964b | [
"MIT"
] | null | null | null | model/GCN/__init__.py | chenzhicun/ai-individual | 76393b390f2a2bebe0488232669b3c1bbe30964b | [
"MIT"
] | null | null | null | model/GCN/__init__.py | chenzhicun/ai-individual | 76393b390f2a2bebe0488232669b3c1bbe30964b | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import division
from .layers import *
from .model import *
from .utils import *
from .config import * | 22.285714 | 37 | 0.794872 | 21 | 156 | 5.47619 | 0.47619 | 0.26087 | 0.278261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 156 | 7 | 38 | 22.285714 | 0.871212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
11d6ba5593e4206ead21708b86143f39ad3d6f77 | 1,815 | py | Python | cfg.py | CentralLT/Sales_Forecast_Stores | 94c1ac308a62b513a06a9d2baa49fb90e4297f20 | [
"MIT"
] | null | null | null | cfg.py | CentralLT/Sales_Forecast_Stores | 94c1ac308a62b513a06a9d2baa49fb90e4297f20 | [
"MIT"
] | null | null | null | cfg.py | CentralLT/Sales_Forecast_Stores | 94c1ac308a62b513a06a9d2baa49fb90e4297f20 | [
"MIT"
] | null | null | null |
# Variable Selection Linear Model
Baseline = ['price_lag_1', 'price3_lag_1',
'target_lag_1', 'target3_lag_1',
'tstd_lag_1']
Lags = ['item_id_price_lag_1', 'item_id_price3_lag_1',
'item_id_target_lag_1', 'item_id_target3_lag_1',
'item_id_tstd_lag_1', 'price_lag_1', 'price3_lag_1'... | 43.214286 | 69 | 0.696419 | 304 | 1,815 | 3.444079 | 0.082237 | 0.248329 | 0.152818 | 0.191022 | 0.825215 | 0.825215 | 0.810888 | 0.810888 | 0.810888 | 0.810888 | 0 | 0.060305 | 0.168595 | 1,815 | 41 | 70 | 44.268293 | 0.633532 | 0.01708 | 0 | 0.666667 | 0 | 0 | 0.680337 | 0.094382 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
11eb666b52164351780f2b9d466379de43f62192 | 2,447 | py | Python | server/processes/migrations/0108_auto_20200423_0612.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | server/processes/migrations/0108_auto_20200423_0612.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | 6 | 2021-11-01T01:35:40.000Z | 2022-02-11T03:33:06.000Z | server/processes/migrations/0108_auto_20200423_0612.py | CloudReactor/task_manager | 464ca74371064fabb9a21b1f5bacba30360932ab | [
"Fair"
] | null | null | null | # Generated by Django 2.2.12 on 2020-04-23 06:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('processes', '0107_processexecution_embedded_mode'),
]
operations = [
migrations.AlterField(
model_name='processexe... | 35.463768 | 79 | 0.579076 | 224 | 2,447 | 6.151786 | 0.25 | 0.159652 | 0.199565 | 0.231495 | 0.814949 | 0.764877 | 0.729318 | 0.708273 | 0.708273 | 0.656749 | 0 | 0.038118 | 0.313854 | 2,447 | 68 | 80 | 35.985294 | 0.782609 | 0.018799 | 0 | 0.645161 | 1 | 0 | 0.165165 | 0.02574 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
11efd4daf9e1401a1c0ae7bbc5b6187820345fd0 | 9,567 | py | Python | NLU/SlotFilling/model/model.py | 594zyc/CMCC_DialogSystem | 9d85f4c319677bf5e682a562041b908fc3135a17 | [
"Apache-2.0"
] | 1 | 2019-11-20T16:36:30.000Z | 2019-11-20T16:36:30.000Z | NLU/SlotFilling/model/model.py | 594zyc/CMCC_DialogSystem | 9d85f4c319677bf5e682a562041b908fc3135a17 | [
"Apache-2.0"
] | null | null | null | NLU/SlotFilling/model/model.py | 594zyc/CMCC_DialogSystem | 9d85f4c319677bf5e682a562041b908fc3135a17 | [
"Apache-2.0"
] | null | null | null | """
informable slots 文字性描述的槽值对
requestabe slots
"""
import tensorflow as tf
tf.set_random_seed(1234)
class InformableSlotDector:
"""
一个简单的 CNN
文字描述,输出为 高、中、低、无
功能费、流量、通话
"""
def __init__(self, name,
max_sent_length=40,
max_word_length=6, # 没用到,因为我 charCNN 取得是均值... | 46.217391 | 106 | 0.514999 | 1,034 | 9,567 | 4.524178 | 0.152805 | 0.025652 | 0.057717 | 0.064985 | 0.900812 | 0.900812 | 0.897392 | 0.897392 | 0.87174 | 0.87174 | 0 | 0.026664 | 0.384551 | 9,567 | 207 | 107 | 46.217391 | 0.767833 | 0.079649 | 0 | 0.860927 | 0 | 0 | 0.024267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039735 | false | 0 | 0.006623 | 0 | 0.086093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
11f915c6e5588d1b6714c5aee4de711bd35115a6 | 7,560 | py | Python | locan/tests/data/test_cluster.py | super-resolution/Locan | 94ed7759f7d7ceddee7c7feaabff80010cfedf30 | [
"BSD-3-Clause"
] | 8 | 2021-11-25T20:05:49.000Z | 2022-03-27T17:45:00.000Z | locan/tests/data/test_cluster.py | super-resolution/Locan | 94ed7759f7d7ceddee7c7feaabff80010cfedf30 | [
"BSD-3-Clause"
] | 4 | 2021-12-15T22:39:20.000Z | 2022-03-11T17:35:34.000Z | locan/tests/data/test_cluster.py | super-resolution/Locan | 94ed7759f7d7ceddee7c7feaabff80010cfedf30 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T19:53:13.000Z | 2022-03-22T19:53:13.000Z | from copy import deepcopy
import numpy as np
import pytest
from locan.data.cluster.clustering import cluster_dbscan, cluster_hdbscan
from locan.data.cluster.utils import serial_clustering
from locan.dependencies import HAS_DEPENDENCY
# tests hdbscan
@pytest.mark.skipif(not HAS_DEPENDENCY["hdbscan"], reason="Test re... | 37.425743 | 88 | 0.730159 | 1,074 | 7,560 | 4.835196 | 0.074488 | 0.078952 | 0.134219 | 0.097054 | 0.918159 | 0.904487 | 0.896399 | 0.896399 | 0.854227 | 0.846524 | 0 | 0.027571 | 0.165212 | 7,560 | 201 | 89 | 37.61194 | 0.795278 | 0.006614 | 0 | 0.686747 | 0 | 0 | 0.034644 | 0.007195 | 0 | 0 | 0 | 0 | 0.463855 | 1 | 0.054217 | false | 0 | 0.036145 | 0 | 0.090361 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eed47b0ba5090dcc2f477930fef1c0d38a13c720 | 5,256 | py | Python | third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results_unittest.py | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results_unittest.py | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results_unittest.py | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest
from webkitpy.layout_tests.models import testharness_results
class TestHarnessResultCheckerTest(unittest.TestCase):
def test_is_testh... | 78.447761 | 171 | 0.643075 | 719 | 5,256 | 4.648122 | 0.132128 | 0.055655 | 0.108917 | 0.147816 | 0.861759 | 0.850389 | 0.829443 | 0.807301 | 0.77319 | 0.723818 | 0 | 0.000971 | 0.216514 | 5,256 | 66 | 172 | 79.636364 | 0.810588 | 0.02949 | 0 | 0.188679 | 0 | 0.358491 | 0.616833 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 1 | 0.056604 | false | 0.169811 | 0.037736 | 0 | 0.113208 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
eed941d344a12ce80e7478a5c7bfcb77999d4905 | 237,356 | py | Python | pyLMS8001/LMS8001_REGDESC.py | myriadrf/pyLMS8001 | 7d50b6078c1028ecc2be4bf123063190c028b337 | [
"Apache-2.0"
] | null | null | null | pyLMS8001/LMS8001_REGDESC.py | myriadrf/pyLMS8001 | 7d50b6078c1028ecc2be4bf123063190c028b337 | [
"Apache-2.0"
] | null | null | null | pyLMS8001/LMS8001_REGDESC.py | myriadrf/pyLMS8001 | 7d50b6078c1028ecc2be4bf123063190c028b337 | [
"Apache-2.0"
] | 1 | 2018-10-26T03:54:24.000Z | 2018-10-26T03:54:24.000Z |
LMS8001_REGDESC="""
REGBANK ChipConfig 0x000X
REGBANK BiasLDOConfig 0x001X
REGBANK Channel_A 0b00010000000XXXXX
REGBANK Channel_B 0b00010000001XXXXX
REGBANK Channel_C 0b00010000010XXXXX
REGBANK Channel_D 0b00010000011XXXXX
REGBANK HLMIXA 0x200X
REGBANK HLMIXB 0x201X
REGBANK HLMIXC 0x202X
REGBANK HLMIXD 0x203X
REGBANK... | 26.511337 | 134 | 0.568871 | 29,299 | 237,356 | 4.467524 | 0.031366 | 0.050377 | 0.028878 | 0.027389 | 0.917475 | 0.909492 | 0.896252 | 0.880674 | 0.871125 | 0.861078 | 0 | 0.085297 | 0.368409 | 237,356 | 8,952 | 135 | 26.514298 | 0.787842 | 0 | 0 | 0.805652 | 0 | 0.001042 | 0.999903 | 0.039949 | 0 | 0 | 0.007963 | 0 | 0 | 1 | 0 | false | 0.012509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e1068dc6692d8ce99f861d623e7b7539169cb622 | 6,218 | py | Python | rotate3d_test.py | Mickydtron/rotate3d | 02a6fb7f7f1afa2d176bef25563862081fd49d0a | [
"MIT"
] | null | null | null | rotate3d_test.py | Mickydtron/rotate3d | 02a6fb7f7f1afa2d176bef25563862081fd49d0a | [
"MIT"
] | null | null | null | rotate3d_test.py | Mickydtron/rotate3d | 02a6fb7f7f1afa2d176bef25563862081fd49d0a | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import math
import rotate3d
class TestRotate3dMisc(unittest.TestCase):
"""A basic test suite for rotate3d helper functions"""
def test_normalize_x(self):
(x,y,z) = rotate3d.normalize(5,0,0)
np.testing.assert_almost_equal(x, 1)
np.testing.assert_almost_equal(y, 0)
np.testi... | 45.720588 | 133 | 0.748955 | 1,149 | 6,218 | 3.813751 | 0.073107 | 0.069375 | 0.112962 | 0.112734 | 0.899133 | 0.894797 | 0.892287 | 0.869466 | 0.821314 | 0.739845 | 0 | 0.071602 | 0.074622 | 6,218 | 135 | 134 | 46.059259 | 0.689955 | 0.014313 | 0 | 0.40566 | 0 | 0 | 0.005557 | 0 | 0 | 0 | 0 | 0 | 0.311321 | 1 | 0.207547 | false | 0 | 0.037736 | 0 | 0.264151 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.