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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5f7776b184cd279cad751b395354da54e4419f28 | 14,297 | py | Python | tests/test_py_ev.py | JBielan/py_ev | 0a2d48235b8ff2268254c151a179a2ece40cbd37 | [
"MIT"
] | 5 | 2020-03-31T17:06:29.000Z | 2020-07-01T22:43:42.000Z | tests/test_py_ev.py | JBielan/py_ev | 0a2d48235b8ff2268254c151a179a2ece40cbd37 | [
"MIT"
] | null | null | null | tests/test_py_ev.py | JBielan/py_ev | 0a2d48235b8ff2268254c151a179a2ece40cbd37 | [
"MIT"
] | null | null | null | from py_ev.py_ev import Evaluator
ev = Evaluator()
def test_reset():
ev.reset()
assert len(ev.deck) == 52
assert ev.board == []
def test_build_deck():
ev.reset()
assert len(ev.build_deck()) == 52
assert ev.new_deck == [(2, 1), (2, 2), (2, 3), (2, 4), (3, 1), (3, 2), (3, 3), (3, 4),
... | 45.531847 | 106 | 0.446527 | 2,028 | 14,297 | 3.074458 | 0.052268 | 0.218124 | 0.282919 | 0.172414 | 0.852767 | 0.828869 | 0.8085 | 0.796472 | 0.784924 | 0.753007 | 0 | 0.15957 | 0.336364 | 14,297 | 314 | 107 | 45.531847 | 0.497576 | 0.008883 | 0 | 0.49789 | 0 | 0 | 0.016729 | 0 | 0 | 0 | 0 | 0 | 0.257384 | 1 | 0.067511 | false | 0 | 0.004219 | 0 | 0.07173 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5f9f4594ecd3477b65068c7ab52c613673540387 | 164 | py | Python | server/apps/stream/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/stream/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/stream/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | from .test_helper import *
from .test_stream_id import *
from .test_stream_variable import *
from .test_system_variable import *
from .test_virtual_stream import *
| 27.333333 | 35 | 0.817073 | 24 | 164 | 5.208333 | 0.375 | 0.32 | 0.448 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 5 | 36 | 32.8 | 0.868056 | 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 |
5fad5878a3175ce61ecd211a99683fd9e0030602 | 36,680 | py | Python | app/tests/unit/test_conversion_parser.py | willsower/latex2speech | 36a69bb5ee74e1ca362968604b4a554034c5f408 | [
"MIT"
] | 3 | 2021-03-17T22:13:23.000Z | 2021-08-30T20:35:39.000Z | app/tests/unit/test_conversion_parser.py | willsower/latex2speech | 36a69bb5ee74e1ca362968604b4a554034c5f408 | [
"MIT"
] | 50 | 2021-03-15T23:03:43.000Z | 2021-07-14T14:22:45.000Z | app/tests/unit/test_conversion_parser.py | willsower/latex2speech | 36a69bb5ee74e1ca362968604b4a554034c5f408 | [
"MIT"
] | 3 | 2021-03-30T18:18:40.000Z | 2021-04-14T17:51:26.000Z | import unittest
from unittest.mock import patch, Mock
import xml.etree.ElementTree as ET
import TexSoup
from SSMLParsing.text_element import TextElement
from SSMLParsing.root_element import RootElement
from SSMLParsing.break_element import BreakElement
from SSMLParsing.arg_element import ArgElement
from SSM... | 49.972752 | 277 | 0.63615 | 3,688 | 36,680 | 6.312364 | 0.086768 | 0.216495 | 0.184021 | 0.231959 | 0.837715 | 0.81134 | 0.79884 | 0.785438 | 0.769588 | 0.763789 | 0 | 0.02523 | 0.231707 | 36,680 | 734 | 278 | 49.972752 | 0.800859 | 0.155643 | 0 | 0.715247 | 0 | 0.013453 | 0.042016 | 0.020152 | 0 | 0 | 0 | 0 | 0.46861 | 1 | 0.073991 | false | 0 | 0.029148 | 0.008969 | 0.20852 | 0.002242 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
3971fafbd8fda3a1a800ec7a93e6df0af7d4f9f8 | 246 | py | Python | superorm/orm.py | lyoshur/superorm | 16bd9492fe9b224e6798e1d2895121adf3fefdfb | [
"MIT"
] | null | null | null | superorm/orm.py | lyoshur/superorm | 16bd9492fe9b224e6798e1d2895121adf3fefdfb | [
"MIT"
] | null | null | null | superorm/orm.py | lyoshur/superorm | 16bd9492fe9b224e6798e1d2895121adf3fefdfb | [
"MIT"
] | null | null | null | # noinspection PyUnresolvedReferences
from superorm.factory import SQLSessionFactoryBuild as Builder
# noinspection PyUnresolvedReferences
from superorm.mapper import parse4file as parse_config_from_file, parse4string as parse_config_from_string
| 49.2 | 106 | 0.894309 | 27 | 246 | 7.925926 | 0.592593 | 0.317757 | 0.35514 | 0.429907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008889 | 0.085366 | 246 | 4 | 107 | 61.5 | 0.942222 | 0.288618 | 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 |
3982e3b831910ca16f6b4ba751cb93feada5f06e | 166 | py | Python | comet/validator/__init__.py | shinybrar/Comet | 4229092fca74c130a7d4ecd4dbd22ae85f7e6308 | [
"BSD-2-Clause"
] | 15 | 2015-11-29T18:53:58.000Z | 2022-03-09T15:47:30.000Z | comet/validator/__init__.py | shinybrar/Comet | 4229092fca74c130a7d4ecd4dbd22ae85f7e6308 | [
"BSD-2-Clause"
] | 29 | 2016-01-21T18:10:45.000Z | 2021-10-01T16:41:12.000Z | comet/validator/__init__.py | shinybrar/Comet | 4229092fca74c130a7d4ecd4dbd22ae85f7e6308 | [
"BSD-2-Clause"
] | 11 | 2016-01-22T14:05:51.000Z | 2022-03-09T17:49:56.000Z | # Comet VOEvent Broker.
# VOEvent validation.
from comet.validator.ivoid import *
from comet.validator.previously_seen import *
from comet.validator.schema import *
| 23.714286 | 45 | 0.801205 | 21 | 166 | 6.285714 | 0.52381 | 0.204545 | 0.409091 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 166 | 6 | 46 | 27.666667 | 0.90411 | 0.246988 | 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 |
3986e1c98d102a9f66e500a4896ee32721ae0bb8 | 3,118 | py | Python | pyaz/iot/dps/linked_hub/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/iot/dps/linked_hub/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/iot/dps/linked_hub/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from .... pyaz_utils import _call_az
def list(dps_name, resource_group):
'''
List all linked IoT hubs in an Azure IoT Hub device provisioning service.
Required Parameters:
- dps_name -- IoT Provisioning Service name
- resource_group -- Name of resource group. You can configure the default group us... | 41.573333 | 134 | 0.718409 | 441 | 3,118 | 4.945578 | 0.145125 | 0.049519 | 0.051353 | 0.02751 | 0.873453 | 0.873453 | 0.824392 | 0.824392 | 0.824392 | 0.824392 | 0 | 0 | 0.202373 | 3,118 | 74 | 135 | 42.135135 | 0.87696 | 0.6873 | 0 | 0 | 0 | 0 | 0.174807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
39923941601e1e7799f98273e93619aa0ccd91a4 | 1,718 | py | Python | retrieval/hybrid/hybrid.py | park-sungmoo/odqa_baseline_code | 45954be766e5f987bef18e5b8a2e47f1508742cd | [
"Apache-2.0"
] | 67 | 2021-05-12T15:54:28.000Z | 2022-03-12T15:55:35.000Z | retrieval/hybrid/hybrid.py | park-sungmoo/odqa_baseline_code | 45954be766e5f987bef18e5b8a2e47f1508742cd | [
"Apache-2.0"
] | 71 | 2021-05-01T06:07:37.000Z | 2022-01-28T16:54:46.000Z | retrieval/hybrid/hybrid.py | park-sungmoo/odqa_baseline_code | 45954be766e5f987bef18e5b8a2e47f1508742cd | [
"Apache-2.0"
] | 14 | 2021-05-24T10:57:27.000Z | 2022-02-18T06:34:11.000Z | from retrieval.dense import DprBert
from retrieval.hybrid import HybridRetrieval, HybridLogisticRetrieval
from retrieval.sparse import TfidfRetrieval, ATIREBM25Retrieval
class TfidfDprBert(HybridRetrieval):
def __init__(self, args):
super().__init__(args)
temp = args.model.retriever_name
... | 30.678571 | 69 | 0.700233 | 177 | 1,718 | 6.480226 | 0.152542 | 0.125545 | 0.25109 | 0.306888 | 0.789015 | 0.789015 | 0.789015 | 0.789015 | 0.789015 | 0.789015 | 0 | 0.011834 | 0.213038 | 1,718 | 55 | 70 | 31.236364 | 0.836538 | 0 | 0 | 0.794872 | 0 | 0 | 0.032596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.076923 | 0 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f2fc5649e7cfdac88de77d7b03a7838ce24467b1 | 9,177 | py | Python | forecasting/short_term_forecasting.py | Matrixeigs/energy_management_system | b2af6a3cfa71173f33d798e943f605d802aed19f | [
"MIT"
] | 68 | 2017-11-21T02:49:11.000Z | 2022-03-25T07:14:42.000Z | forecasting/short_term_forecasting.py | yifeili/energy_management_system | b2af6a3cfa71173f33d798e943f605d802aed19f | [
"MIT"
] | null | null | null | forecasting/short_term_forecasting.py | yifeili/energy_management_system | b2af6a3cfa71173f33d798e943f605d802aed19f | [
"MIT"
] | 34 | 2017-11-21T02:52:15.000Z | 2022-03-27T14:35:25.000Z | # Short_term forecasting for local energy management system
# Include the pv forecasting, wp forecasting,
# In this forecasting system, the tensor flow will be deployed and used.
# The training
from data_management.database_format import db_short_term_forecasting,one_minute_history_data
import random
from configuratio... | 33.25 | 106 | 0.708075 | 1,270 | 9,177 | 4.746457 | 0.066929 | 0.094061 | 0.209025 | 0.138686 | 0.868447 | 0.860153 | 0.85783 | 0.855508 | 0.846384 | 0.846384 | 0 | 0.006247 | 0.197668 | 9,177 | 276 | 107 | 33.25 | 0.812441 | 0.079002 | 0 | 0.75 | 0 | 0 | 0.01636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067708 | false | 0 | 0.03125 | 0 | 0.166667 | 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 |
84024d95fc49552c36c741ab96fc8ccf3b7eb6d7 | 162 | py | Python | test/test_cards_shuffle.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | 1 | 2017-03-25T17:40:57.000Z | 2017-03-25T17:40:57.000Z | test/test_cards_shuffle.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | null | null | null | test/test_cards_shuffle.py | erichaase/topcoder-python | de285d8092a94f2ec1b5c0c33eba55b5c27a5390 | [
"MIT"
] | null | null | null | from test.assert_json import assert_json
from topcoder.cards_shuffle import solution
def test_cards_shuffle ():
assert_json('cards_shuffle', solution)
| 27 | 46 | 0.790123 | 22 | 162 | 5.5 | 0.454545 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 5 | 47 | 32.4 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
840a7efa9c03752d0b4d50a2471082cf4199581e | 2,088 | py | Python | tests/test_defect_species.py | j-m-dean/pyscses | 6c2875cb87a8f91ae7aed382922c34b0e611ba85 | [
"MIT"
] | null | null | null | tests/test_defect_species.py | j-m-dean/pyscses | 6c2875cb87a8f91ae7aed382922c34b0e611ba85 | [
"MIT"
] | null | null | null | tests/test_defect_species.py | j-m-dean/pyscses | 6c2875cb87a8f91ae7aed382922c34b0e611ba85 | [
"MIT"
] | null | null | null | import unittest
from pyscses.defect_species import DefectSpecies
class TestDefectSpecies(unittest.TestCase):
def test_init(self):
defect_species = DefectSpecies(label='VO',
valence=+2.0,
mole_fraction=0.1,
... | 43.5 | 76 | 0.548851 | 204 | 2,088 | 5.328431 | 0.196078 | 0.191352 | 0.193192 | 0.25759 | 0.809568 | 0.773689 | 0.721251 | 0.712971 | 0.712971 | 0.712971 | 0 | 0.024316 | 0.369732 | 2,088 | 47 | 77 | 44.425532 | 0.801672 | 0 | 0 | 0.5 | 0 | 0 | 0.012452 | 0 | 0 | 0 | 0 | 0 | 0.325 | 1 | 0.125 | false | 0 | 0.05 | 0 | 0.2 | 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 |
842f0ca14bf93481d51627035a2494301ee56627 | 145 | py | Python | src/timer/model/__init__.py | jakob-bagterp/timer-for-python | a48b60c8782bbf6d368d6ca2be249054c3b66c21 | [
"MIT"
] | 2 | 2022-03-22T11:14:37.000Z | 2022-03-24T14:27:13.000Z | src/timer/model/__init__.py | jakob-bagterp/timer-for-python | a48b60c8782bbf6d368d6ca2be249054c3b66c21 | [
"MIT"
] | null | null | null | src/timer/model/__init__.py | jakob-bagterp/timer-for-python | a48b60c8782bbf6d368d6ca2be249054c3b66c21 | [
"MIT"
] | null | null | null | __all__ = ["elapsed_time_fractions", "thread_item", "timer", "timer_base"]
from . import elapsed_time_fractions, thread_item, timer, timer_base
| 36.25 | 74 | 0.77931 | 19 | 145 | 5.315789 | 0.526316 | 0.217822 | 0.39604 | 0.514851 | 0.871287 | 0.871287 | 0.871287 | 0.871287 | 0 | 0 | 0 | 0 | 0.096552 | 145 | 3 | 75 | 48.333333 | 0.770992 | 0 | 0 | 0 | 0 | 0 | 0.331034 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
845213d1bdfb6080582887b30e7cba96f7201a93 | 19,931 | py | Python | billforward/apis/metadata_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:32:37.000Z | 2022-02-24T05:13:20.000Z | billforward/apis/metadata_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | null | null | null | billforward/apis/metadata_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 1 | 2016-12-30T20:02:48.000Z | 2016-12-30T20:02:48.000Z | # coding: utf-8
"""
BillForward REST API
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
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... | 42.406383 | 172 | 0.59144 | 2,004 | 19,931 | 5.685629 | 0.111776 | 0.05617 | 0.047744 | 0.025276 | 0.919782 | 0.910743 | 0.907758 | 0.899509 | 0.894418 | 0.887748 | 0 | 0.000742 | 0.323817 | 19,931 | 469 | 173 | 42.496802 | 0.844698 | 0.404194 | 0 | 0.787736 | 1 | 0 | 0.146939 | 0.039266 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042453 | false | 0 | 0.033019 | 0 | 0.136792 | 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 |
082685a2d069cfadc36fb74db620cbb296fe71de | 50,718 | py | Python | nnunet/network_architecture/segnet.py | NabJa/nnUNet | f017003523f5619d5a4165575c8338bbb8733628 | [
"Apache-2.0"
] | null | null | null | nnunet/network_architecture/segnet.py | NabJa/nnUNet | f017003523f5619d5a4165575c8338bbb8733628 | [
"Apache-2.0"
] | null | null | null | nnunet/network_architecture/segnet.py | NabJa/nnUNet | f017003523f5619d5a4165575c8338bbb8733628 | [
"Apache-2.0"
] | null | null | null | from copy import deepcopy
from nnunet.utilities.nd_softmax import softmax_helper
from torch import nn
import torch
import numpy as np
from nnunet.network_architecture.initialization import InitWeights_He
from nnunet.network_architecture.neural_network import SegmentationNetwork
import torch.nn.functional
from nnunet.ne... | 38.248869 | 127 | 0.548444 | 5,644 | 50,718 | 4.599575 | 0.057938 | 0.04376 | 0.032357 | 0.039946 | 0.97396 | 0.971572 | 0.969453 | 0.969453 | 0.969453 | 0.968413 | 0 | 0.01705 | 0.36283 | 50,718 | 1,325 | 128 | 38.277736 | 0.786267 | 0.137328 | 0 | 0.912315 | 0 | 0 | 0.013153 | 0 | 0 | 0 | 0 | 0.000755 | 0 | 1 | 0.008867 | false | 0 | 0.008867 | 0 | 0.06798 | 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 |
08452be74610c423f3b1af37568b8140e1fb5c80 | 30,367 | py | Python | guessing number/package/ui.py | mahdigoodarzi123/gussingnumbergui | 5658674a3bea7a2432ecf48beb7080b9fc4fce26 | [
"MIT"
] | null | null | null | guessing number/package/ui.py | mahdigoodarzi123/gussingnumbergui | 5658674a3bea7a2432ecf48beb7080b9fc4fce26 | [
"MIT"
] | null | null | null | guessing number/package/ui.py | mahdigoodarzi123/gussingnumbergui | 5658674a3bea7a2432ecf48beb7080b9fc4fce26 | [
"MIT"
] | null | null | null | from abc import abstractclassmethod
from tkinter import *
from tkinter import font
from tkinter.messagebox import *
from .bl import *
def login_onclick(form , username_entry , password_entry):
username = username_entry.get()
password = password_entry.get()
res2 = get(username , password)
... | 19.912787 | 112 | 0.470906 | 3,521 | 30,367 | 4.04175 | 0.047998 | 0.053123 | 0.067458 | 0.089944 | 0.896423 | 0.875132 | 0.861429 | 0.846813 | 0.844635 | 0.823273 | 0 | 0.071745 | 0.368887 | 30,367 | 1,525 | 113 | 19.912787 | 0.670806 | 0.050548 | 0 | 0.801131 | 0 | 0 | 0.104925 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01508 | false | 0.021678 | 0.004713 | 0 | 0.019793 | 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 |
f2be656b86017d3734014b5017a58b9ce0b4076e | 12,888 | py | Python | simulate.py | apitsch/drl_mppo | 5c76e1f96ec2854c4d446fbad0affaaad3364d51 | [
"MIT"
] | 2 | 2019-01-11T05:01:45.000Z | 2021-03-03T13:55:54.000Z | simulate.py | apitsch/drl_mppo | 5c76e1f96ec2854c4d446fbad0affaaad3364d51 | [
"MIT"
] | null | null | null | simulate.py | apitsch/drl_mppo | 5c76e1f96ec2854c4d446fbad0affaaad3364d51 | [
"MIT"
] | 2 | 2019-05-24T06:38:38.000Z | 2020-11-22T00:56:33.000Z | import numpy as np
import math
import copy
from helpers import compute_trade, argmax_index, compute_opt_weight
def portfolio_safe(eval_episodes, environment):
"""
Simulates a no-risk portfolio strategy in a given environment.
Parameters
----------
:param eval_episodes : int
Number of ... | 30.468085 | 79 | 0.62306 | 1,625 | 12,888 | 4.809846 | 0.078154 | 0.032242 | 0.05911 | 0.034928 | 0.917861 | 0.898925 | 0.891249 | 0.891249 | 0.891249 | 0.891249 | 0 | 0.004713 | 0.292055 | 12,888 | 422 | 80 | 30.540284 | 0.851929 | 0.431021 | 0 | 0.818713 | 0 | 0 | 0.041012 | 0 | 0 | 0 | 0 | 0 | 0.040936 | 1 | 0.040936 | false | 0 | 0.023392 | 0 | 0.105263 | 0.040936 | 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 |
29895ce6aad172ba546898f66790665e99e24916 | 252 | py | Python | src/fsops/fso/__init__.py | nasgoncalves/fsops | 01ecf2d5fe1553efb387eb9a67d9ecf34649bddf | [
"Apache-2.0"
] | null | null | null | src/fsops/fso/__init__.py | nasgoncalves/fsops | 01ecf2d5fe1553efb387eb9a67d9ecf34649bddf | [
"Apache-2.0"
] | 1 | 2019-10-20T22:50:41.000Z | 2019-10-20T22:50:41.000Z | src/fsops/fso/__init__.py | nasgoncalves/fsops | 01ecf2d5fe1553efb387eb9a67d9ecf34649bddf | [
"Apache-2.0"
] | null | null | null | from .file_system_object import Object # NOQA
from .file_system_object import Type # NOQA
from .file_system_object import Time # NOQA
from .file_system_object import MetaType # NOQA
from .hash import Hash # NOQA
from .search import Search # NOQA
| 36 | 48 | 0.785714 | 38 | 252 | 5 | 0.289474 | 0.210526 | 0.294737 | 0.421053 | 0.610526 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 252 | 6 | 49 | 42 | 0.904762 | 0.115079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d9b21c8680df5cc3b675a53f65450572b7dbf519 | 87,381 | py | Python | venv/Lib/site-packages/baidubce/services/blb/app_blb_client.py | dlfming/dd_catl_demo | 6f6f3b502046f638150222c1eb3d68d2b65da04b | [
"MIT"
] | 22 | 2015-10-26T03:00:11.000Z | 2021-09-08T09:30:51.000Z | venv/Lib/site-packages/baidubce/services/blb/app_blb_client.py | dlfming/dd_catl_demo | 6f6f3b502046f638150222c1eb3d68d2b65da04b | [
"MIT"
] | 8 | 2018-07-18T02:47:09.000Z | 2020-12-10T02:30:37.000Z | venv/Lib/site-packages/baidubce/services/blb/app_blb_client.py | dlfming/dd_catl_demo | 6f6f3b502046f638150222c1eb3d68d2b65da04b | [
"MIT"
] | 14 | 2016-01-12T11:57:38.000Z | 2021-03-10T03:35:12.000Z | # Copyright (c) 2019 Baidu.com, Inc. 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 36.48476 | 85 | 0.580481 | 9,775 | 87,381 | 5.021074 | 0.045422 | 0.018337 | 0.019437 | 0.020395 | 0.933477 | 0.928445 | 0.919256 | 0.913164 | 0.903405 | 0.896457 | 0 | 0.005411 | 0.354986 | 87,381 | 2,394 | 86 | 36.5 | 0.865406 | 0.424989 | 0 | 0.831409 | 0 | 0 | 0.070373 | 0.006486 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047344 | false | 0 | 0.015012 | 0 | 0.112009 | 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 |
d9b57c49485840cca689cb6060c1e7555950bf51 | 104,290 | bzl | Python | rust/known_shas.bzl | meteorcloudy/rules_rust | 215a8decfb06525a3f13b23fac5b3124eedabd27 | [
"Apache-2.0"
] | null | null | null | rust/known_shas.bzl | meteorcloudy/rules_rust | 215a8decfb06525a3f13b23fac5b3124eedabd27 | [
"Apache-2.0"
] | null | null | null | rust/known_shas.bzl | meteorcloudy/rules_rust | 215a8decfb06525a3f13b23fac5b3124eedabd27 | [
"Apache-2.0"
] | 1 | 2021-06-21T20:35:33.000Z | 2021-06-21T20:35:33.000Z | """A module containing a mapping of Rust tools to checksums
This is a generated file -- see //util:fetch_shas
"""
FILE_KEY_TO_SHA = {
"2018-10-30/llvm-tools-beta-aarch64-unknown-linux-gnu": "9417a07c501e173fe3848c815b8536cf70c6518c8040d45b19260ca3ab720760",
"2018-10-30/llvm-tools-beta-x86_64-apple-darwin": "b... | 115.110375 | 130 | 0.833608 | 9,012 | 104,290 | 9.57368 | 0.108522 | 0.037959 | 0.024479 | 0.026519 | 0.320962 | 0.311076 | 0.273476 | 0.136072 | 0.017525 | 0 | 0 | 0.443996 | 0.051903 | 104,290 | 905 | 131 | 115.237569 | 0.428583 | 0.001026 | 0 | 0 | 1 | 0 | 0.896329 | 0.896329 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d9ea74428301d248b01bad9ff0096a5740710b96 | 29,237 | py | Python | tests/unit_tests/test_michelson/test_micheline.py | konchunas/pytezos | 65576d18bdf1956fae8ea21241b6c43a38921b83 | [
"MIT"
] | 98 | 2019-02-07T16:33:38.000Z | 2022-03-31T15:53:41.000Z | tests/unit_tests/test_michelson/test_micheline.py | konchunas/pytezos | 65576d18bdf1956fae8ea21241b6c43a38921b83 | [
"MIT"
] | 152 | 2019-05-20T16:38:56.000Z | 2022-03-30T14:24:38.000Z | tests/unit_tests/test_michelson/test_micheline.py | konchunas/pytezos | 65576d18bdf1956fae8ea21241b6c43a38921b83 | [
"MIT"
] | 34 | 2019-07-25T12:03:51.000Z | 2021-11-11T22:23:38.000Z | from unittest import TestCase
from parameterized import parameterized
from pytezos.michelson.micheline import blind_unpack
from pytezos.michelson.types.base import MichelsonType
from pytezos.michelson.forge import forge_script_expr, forge_micheline, unforge_micheline
from pytezos.operation.forge import forge_operation... | 230.212598 | 4,535 | 0.942949 | 288 | 29,237 | 95.604167 | 0.559028 | 0.001271 | 0.001017 | 0.000872 | 0.001598 | 0.001598 | 0 | 0 | 0 | 0 | 0 | 0.848631 | 0.036734 | 29,237 | 126 | 4,536 | 232.039683 | 0.129035 | 0 | 0 | 0.094017 | 0 | 0 | 0.914663 | 0.902145 | 0 | 1 | 0 | 0 | 0.034188 | 1 | 0.034188 | false | 0 | 0.051282 | 0 | 0.094017 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d9f34b9314fd8e3a689ab67f5b71e7ba87a6d47f | 102 | py | Python | tests/test_version.py | cariad/stackwhy | 5d5f0764ab86740fbbc3ae25170d149b388b949c | [
"MIT"
] | null | null | null | tests/test_version.py | cariad/stackwhy | 5d5f0764ab86740fbbc3ae25170d149b388b949c | [
"MIT"
] | 4 | 2021-10-31T15:52:31.000Z | 2021-11-01T13:06:27.000Z | tests/test_version.py | cariad/stackwhy | 5d5f0764ab86740fbbc3ae25170d149b388b949c | [
"MIT"
] | null | null | null | from stackwhy.version import get_version
def test() -> None:
assert get_version() == "-1.-1.-1"
| 17 | 40 | 0.656863 | 15 | 102 | 4.333333 | 0.666667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.176471 | 102 | 5 | 41 | 20.4 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8a1b8e369c389b5a34630895043adf43e528b743 | 45,947 | py | Python | plugin.video.rebirth/resources/lib/modules/cleangenre.py | TheWardoctor/wardoctors-repo | 893f646d9e27251ffc00ca5f918e4eb859a5c8f0 | [
"Apache-2.0"
] | 1 | 2019-03-05T09:38:10.000Z | 2019-03-05T09:38:10.000Z | plugin.video.rebirth/resources/lib/modules/cleangenre.py | TheWardoctor/wardoctors-repo | 893f646d9e27251ffc00ca5f918e4eb859a5c8f0 | [
"Apache-2.0"
] | null | null | null | plugin.video.rebirth/resources/lib/modules/cleangenre.py | TheWardoctor/wardoctors-repo | 893f646d9e27251ffc00ca5f918e4eb859a5c8f0 | [
"Apache-2.0"
] | 1 | 2021-11-05T20:48:09.000Z | 2021-11-05T20:48:09.000Z | # -*- coding: utf-8 -*-
################################################################################
# | #
# | ______________________________________________________________ #
# | :~8a.`~888a:::::::::::::::88......88:::::::::... | 65.17305 | 166 | 0.60276 | 6,640 | 45,947 | 4.161596 | 0.063404 | 0.042992 | 0.193464 | 0.024319 | 0.832845 | 0.764629 | 0.735642 | 0.70803 | 0.686209 | 0.667427 | 0 | 0.296775 | 0.184212 | 45,947 | 704 | 167 | 65.265625 | 0.44044 | 0.056543 | 0 | 0.443366 | 0 | 0.088997 | 0.558793 | 0.413187 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001618 | false | 0 | 0 | 0 | 0.003236 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8a378ec84e9121971164512e16ad4dcda31f608a | 11,933 | py | Python | tests/core/test_task_operators.py | jamestwebber/prefect | 410c4ac37d2595ab61007742883687f5e284821d | [
"Apache-2.0"
] | null | null | null | tests/core/test_task_operators.py | jamestwebber/prefect | 410c4ac37d2595ab61007742883687f5e284821d | [
"Apache-2.0"
] | null | null | null | tests/core/test_task_operators.py | jamestwebber/prefect | 410c4ac37d2595ab61007742883687f5e284821d | [
"Apache-2.0"
] | null | null | null | from prefect.core import Edge, Flow, Parameter, Task
class TestMagicInteractionMethods:
# -----------------------------------------
# getitem
def test_getitem_list(self):
with Flow(name="test") as f:
z = Parameter("x")[Parameter("y")]
state = f.run(parameters=dict(x=[1, 2, 3],... | 32.16442 | 86 | 0.521663 | 1,620 | 11,933 | 3.782099 | 0.054938 | 0.052881 | 0.079321 | 0.167456 | 0.88314 | 0.879223 | 0.866819 | 0.865024 | 0.849682 | 0.804798 | 0 | 0.021382 | 0.286684 | 11,933 | 370 | 87 | 32.251351 | 0.698426 | 0.062264 | 0 | 0.52963 | 0 | 0 | 0.023837 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.17037 | false | 0 | 0.003704 | 0 | 0.185185 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a4a087571b0887ecdc7dc345c82e277c9e1a3e0 | 95 | py | Python | src/phonebot/vis/viewer/_pyqtgraph/__init__.py | vi-robotics/pyphonebot-extra | 5db65d95fe1fafff2cbac7ca8dba66a71d363d6b | [
"MIT"
] | null | null | null | src/phonebot/vis/viewer/_pyqtgraph/__init__.py | vi-robotics/pyphonebot-extra | 5db65d95fe1fafff2cbac7ca8dba66a71d363d6b | [
"MIT"
] | null | null | null | src/phonebot/vis/viewer/_pyqtgraph/__init__.py | vi-robotics/pyphonebot-extra | 5db65d95fe1fafff2cbac7ca8dba66a71d363d6b | [
"MIT"
] | null | null | null | from .pyqtgraph_3d import *
from .pyqtgraph_backend import *
from .pyqtgraph_handlers import *
| 23.75 | 33 | 0.810526 | 12 | 95 | 6.166667 | 0.5 | 0.527027 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.126316 | 95 | 3 | 34 | 31.666667 | 0.879518 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
8a525552cc8ae2223489d522cfb0fb805182c2ec | 9,859 | py | Python | userbot/modules/file_summary.py | Danzo18/Man-Userbot | b8fdcae0951357406f670f67c9af4510b348f08b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/file_summary.py | Danzo18/Man-Userbot | b8fdcae0951357406f670f67c9af4510b348f08b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/file_summary.py | Danzo18/Man-Userbot | b8fdcae0951357406f670f67c9af4510b348f08b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2022-01-26T13:02:09.000Z | 2022-01-26T13:02:09.000Z | # Copyright (C) 2021 Catuserbot <https://github.com/sandy1709/catuserbot>
# Ported by @mrismanaziz
# FROM Man-Userbot <https://github.com/mrismanaziz/Man-Userbot>
# t.me/SharingUserbot & t.me/Lunatic0de
import time
from prettytable import PrettyTable
from userbot import CMD_HELP
from userbot.events import register
f... | 38.814961 | 239 | 0.567197 | 1,214 | 9,859 | 4.521417 | 0.171334 | 0.039351 | 0.030607 | 0.024777 | 0.847149 | 0.809619 | 0.809619 | 0.809619 | 0.771179 | 0.771179 | 0 | 0.008273 | 0.2766 | 9,859 | 253 | 240 | 38.968379 | 0.754767 | 0.02982 | 0 | 0.701299 | 0 | 0.034632 | 0.26622 | 0.112809 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004329 | false | 0 | 0.021645 | 0.004329 | 0.04329 | 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 |
8a76a764e4aa6e39061c52c6432b72fa4dce0929 | 6,814 | py | Python | regress/PORT_ME_TESTS/tests-qos.py | fp7-ofelia/VeRTIGO | 11f39f819196c8352611852435dea17bc6a2292f | [
"BSD-3-Clause"
] | 2 | 2016-10-12T08:20:00.000Z | 2017-05-09T13:13:18.000Z | regress/PORT_ME_TESTS/tests-qos.py | fp7-ofelia/VeRTIGO | 11f39f819196c8352611852435dea17bc6a2292f | [
"BSD-3-Clause"
] | null | null | null | regress/PORT_ME_TESTS/tests-qos.py | fp7-ofelia/VeRTIGO | 11f39f819196c8352611852435dea17bc6a2292f | [
"BSD-3-Clause"
] | 1 | 2020-10-01T07:57:34.000Z | 2020-10-01T07:57:34.000Z | #!/usr/bin/python
from fvregress import *
import string # really? you have to do this?
if len(sys.argv) > 1 :
wantPause = True
timeout=9999999
valgrindArgs= []
else:
wantPause = False
timeout=5
valgrindArgs= None
# start up a flowvisor with 1 switch (default) and two guests
# out of the flowvisor-co... | 45.125828 | 102 | 0.623569 | 1,448 | 6,814 | 2.883978 | 0.134669 | 0.250958 | 0.268678 | 0.262452 | 0.735393 | 0.704741 | 0.620929 | 0.58501 | 0.565374 | 0.533525 | 0 | 0.391024 | 0.270766 | 6,814 | 150 | 103 | 45.426667 | 0.449386 | 0.057382 | 0 | 0.354331 | 0 | 0.015748 | 0.671433 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015748 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8abe31de9e332aa83a5826923a5a0a710e39b6d7 | 68,389 | py | Python | test/python/test_operation.py | Wentong-DST/incubator-singa | 0d1eaaac549e574d75a496eee3037ba91fc8f6b9 | [
"Apache-2.0"
] | 1 | 2019-11-15T12:46:10.000Z | 2019-11-15T12:46:10.000Z | test/python/test_operation.py | laojizi/singa | 58e346eb1188faf78497ae2c8e129c99de3d743d | [
"Apache-2.0"
] | null | null | null | test/python/test_operation.py | laojizi/singa | 58e346eb1188faf78497ae2c8e129c99de3d743d | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 36.591225 | 112 | 0.598123 | 11,245 | 68,389 | 3.471054 | 0.028813 | 0.067381 | 0.069174 | 0.085058 | 0.933465 | 0.922807 | 0.909741 | 0.899826 | 0.894189 | 0.887708 | 0 | 0.062875 | 0.244879 | 68,389 | 1,868 | 113 | 36.610814 | 0.692944 | 0.024916 | 0 | 0.832122 | 0 | 0 | 0.001396 | 0 | 0 | 0 | 0 | 0 | 0.12282 | 1 | 0.075581 | false | 0 | 0.005814 | 0 | 0.085029 | 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 |
76e2340689e3f62ee6bee0f3bd19ecc30cdcf5e0 | 61,303 | py | Python | tb_rest_client/api/api_pe/entity_view_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 30 | 2020-06-19T06:42:50.000Z | 2021-08-23T21:16:36.000Z | tb_rest_client/api/api_pe/entity_view_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 25 | 2021-08-30T01:17:27.000Z | 2022-03-16T14:10:14.000Z | tb_rest_client/api/api_pe/entity_view_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 23 | 2020-07-06T13:41:54.000Z | 2021-08-23T21:04:50.000Z | # coding: utf-8
"""
ThingsBoard REST API
ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.3.3PAAS-RC1
Contact: info@thingsboard.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_impo... | 51.819949 | 720 | 0.655906 | 7,696 | 61,303 | 4.992204 | 0.04119 | 0.037689 | 0.016033 | 0.020614 | 0.98113 | 0.973477 | 0.965851 | 0.956793 | 0.953514 | 0.9462 | 0 | 0.016253 | 0.261309 | 61,303 | 1,182 | 721 | 51.86379 | 0.83217 | 0.45143 | 0 | 0.803459 | 0 | 0.001572 | 0.218066 | 0.068798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036164 | false | 0 | 0.006289 | 0 | 0.095912 | 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 |
6a5ad84559bccf6fa04a383a8bc1a51161c5ae64 | 9,293 | py | Python | auth-api/tests/unit/models/views/test_authorization.py | bsnopek-freshworks/sbc-auth | 871800922461239c7a09225a3d708c79173410f9 | [
"Apache-2.0"
] | null | null | null | auth-api/tests/unit/models/views/test_authorization.py | bsnopek-freshworks/sbc-auth | 871800922461239c7a09225a3d708c79173410f9 | [
"Apache-2.0"
] | null | null | null | auth-api/tests/unit/models/views/test_authorization.py | bsnopek-freshworks/sbc-auth | 871800922461239c7a09225a3d708c79173410f9 | [
"Apache-2.0"
] | null | null | null | # Copyright © 2019 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 46.934343 | 120 | 0.745723 | 1,170 | 9,293 | 5.611966 | 0.128205 | 0.029698 | 0.025586 | 0.070058 | 0.844959 | 0.830643 | 0.794243 | 0.788151 | 0.786476 | 0.786476 | 0 | 0.003438 | 0.186162 | 9,293 | 197 | 121 | 47.172589 | 0.864604 | 0.242441 | 0 | 0.783333 | 0 | 0 | 0.009984 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 1 | 0.1 | false | 0 | 0.033333 | 0 | 0.133333 | 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 |
6a7af97af6e8180b0f42b729f208f58cc06e4962 | 3,814 | py | Python | tesserakti/models.py | sainioan/extractiontool | 9908b7ff1915b00a5721405a48b13d941442e1dd | [
"MIT"
] | 2 | 2021-05-18T17:25:06.000Z | 2021-05-28T04:24:16.000Z | tesserakti/models.py | sainioan/extractiontool | 9908b7ff1915b00a5721405a48b13d941442e1dd | [
"MIT"
] | 38 | 2021-01-20T09:38:37.000Z | 2021-05-15T13:10:05.000Z | tesserakti/models.py | sainioan/extractiontool | 9908b7ff1915b00a5721405a48b13d941442e1dd | [
"MIT"
] | 3 | 2021-01-20T13:18:31.000Z | 2021-02-25T13:34:49.000Z | # This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior
# * Remove `managed =... | 38.918367 | 105 | 0.719455 | 508 | 3,814 | 5.202756 | 0.179134 | 0.111237 | 0.174801 | 0.387817 | 0.754067 | 0.735149 | 0.72342 | 0.712826 | 0.712826 | 0.696179 | 0 | 0.000954 | 0.175406 | 3,814 | 97 | 106 | 39.319588 | 0.839428 | 0.122968 | 0 | 0.72 | 1 | 0 | 0.067426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 9 |
6a9134622536fb13668a176be9026fcf7777a42a | 20,550 | py | Python | tests/milvus_python_test/test_get_vector_ids.py | youny626/milvus | 9e55802c5d515ceecc4cadab9f2fd1cb477d75d5 | [
"Apache-2.0"
] | null | null | null | tests/milvus_python_test/test_get_vector_ids.py | youny626/milvus | 9e55802c5d515ceecc4cadab9f2fd1cb477d75d5 | [
"Apache-2.0"
] | null | null | null | tests/milvus_python_test/test_get_vector_ids.py | youny626/milvus | 9e55802c5d515ceecc4cadab9f2fd1cb477d75d5 | [
"Apache-2.0"
] | 1 | 2021-07-08T07:22:59.000Z | 2021-07-08T07:22:59.000Z | import time
import random
import pdb
import threading
import logging
from multiprocessing import Pool, Process
import pytest
from milvus import IndexType, MetricType
from utils import *
dim = 128
index_file_size = 10
GET_TIMEOUT = 30
nprobe = 1
top_k = 1
epsilon = 0.001
tag = "1970-01-01"
nb = 6000
class TestGetVect... | 41.768293 | 117 | 0.644234 | 2,690 | 20,550 | 4.686245 | 0.05539 | 0.106378 | 0.07901 | 0.060289 | 0.944947 | 0.925115 | 0.912978 | 0.912899 | 0.909805 | 0.895129 | 0 | 0.010234 | 0.24871 | 20,550 | 492 | 118 | 41.768293 | 0.80627 | 0.188516 | 0 | 0.804805 | 0 | 0 | 0.018313 | 0.002689 | 0 | 0 | 0 | 0 | 0.297297 | 1 | 0.075075 | false | 0 | 0.027027 | 0 | 0.123123 | 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 |
0a74725d49b5d1cf081d9a4679cf1f13feebb585 | 6,581 | py | Python | src/genie/libs/parser/iosxr/tests/ShowIgmpGroupsDetails/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowIgmpGroupsDetails/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowIgmpGroupsDetails/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
"vrf": {
"VRF1": {
"interfaces": {
"Loopback300": {
"group": {
"224.0.0.2": {
"host_mode": "exclude",
"last_reporter": "10.16.2.2",
... | 42.185897 | 62 | 0.268804 | 444 | 6,581 | 3.779279 | 0.117117 | 0.039333 | 0.151967 | 0.134088 | 0.938021 | 0.916567 | 0.896305 | 0.892729 | 0.892729 | 0.892133 | 0 | 0.133696 | 0.609026 | 6,581 | 155 | 63 | 42.458065 | 0.518461 | 0 | 0 | 0.677632 | 0 | 0 | 0.285953 | 0.019763 | 0 | 0 | 0 | 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 | 1 | 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 | 7 |
0a882154a2908e4e95afec0f02c237ae262fd917 | 5,724 | py | Python | dojo/finding/queries.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 1,772 | 2018-01-22T23:32:15.000Z | 2022-03-31T14:49:33.000Z | dojo/finding/queries.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 3,461 | 2018-01-20T19:12:28.000Z | 2022-03-31T17:14:39.000Z | dojo/finding/queries.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 1,173 | 2018-01-23T07:10:23.000Z | 2022-03-31T14:40:43.000Z | from crum import get_current_user
from django.conf import settings
from django.db.models import Exists, OuterRef, Q
from dojo.models import Finding, Product_Member, Product_Type_Member, Stub_Finding, \
Product_Group, Product_Type_Group
from dojo.authorization.authorization import get_roles_for_permission, role_has_... | 45.070866 | 147 | 0.710517 | 672 | 5,724 | 5.49256 | 0.084821 | 0.106204 | 0.159306 | 0.094825 | 0.850718 | 0.824167 | 0.811162 | 0.802493 | 0.802493 | 0.782986 | 0 | 0.00045 | 0.222746 | 5,724 | 126 | 148 | 45.428571 | 0.829175 | 0 | 0 | 0.814815 | 0 | 0 | 0.054507 | 0.04682 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018519 | false | 0 | 0.046296 | 0 | 0.175926 | 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 |
0a8dd63f67d9920ffc57c5128e72020819dc6deb | 421 | py | Python | type.py | jeffb4real/scripts | 349bc3d3d819684261281a05db7a5b9389d664f1 | [
"MIT"
] | null | null | null | type.py | jeffb4real/scripts | 349bc3d3d819684261281a05db7a5b9389d664f1 | [
"MIT"
] | null | null | null | type.py | jeffb4real/scripts | 349bc3d3d819684261281a05db7a5b9389d664f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
a = 5
if type(a) is int:
print 'a = {} and it is an int'.format(a)
else:
print 'a = {} and it is not an int'.format(a)
a = '5'
if type(a) is int:
print 'a = {} and it is an int'.format(a)
else:
print 'a = {} and it is not an int'.format(a)
a = int(a) + 2
if type(a) is int:
p... | 17.541667 | 49 | 0.551069 | 87 | 421 | 2.666667 | 0.206897 | 0.155172 | 0.232759 | 0.284483 | 0.913793 | 0.913793 | 0.913793 | 0.913793 | 0.913793 | 0.913793 | 0 | 0.009836 | 0.275534 | 421 | 23 | 50 | 18.304348 | 0.75082 | 0.047506 | 0 | 0.8 | 0 | 0 | 0.381313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 10 |
0aacbe3ad25f7090d9596083c8df5263dd88b943 | 71,821 | py | Python | tst/schedulers/bayesopt/test_iss_model.py | hfurkanbozkurt/syne-tune | 05ee2668f0155b40c3ee3b61e4b3d58f3f9f3c4f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tst/schedulers/bayesopt/test_iss_model.py | hfurkanbozkurt/syne-tune | 05ee2668f0155b40c3ee3b61e4b3d58f3f9f3c4f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-02-25T15:56:36.000Z | 2022-02-25T17:53:10.000Z | tst/schedulers/bayesopt/test_iss_model.py | hfurkanbozkurt/syne-tune | 05ee2668f0155b40c3ee3b61e4b3d58f3f9f3c4f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2021 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://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... | 352.063725 | 7,405 | 0.727127 | 9,042 | 71,821 | 5.578744 | 0.068016 | 0.029737 | 0.017346 | 0.026644 | 0.926571 | 0.924509 | 0.915112 | 0.909522 | 0.906528 | 0.906528 | 0 | 0.521058 | 0.083235 | 71,821 | 203 | 7,406 | 353.79803 | 0.245053 | 0.02193 | 0 | 0.448819 | 0 | 0.15748 | 0.935735 | 0.142078 | 0 | 0 | 0 | 0 | 0.015748 | 1 | 0.031496 | false | 0 | 0.062992 | 0.007874 | 0.110236 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
0aba33fb0920a7ce97c01be6b53768918e904683 | 27,669 | py | Python | src/xr_events/migrations/0004_add_localgroup_references_and_adjust_event_fields.py | JulianAkkaya95/xr-web | f86bb8f00173c73350f7283fa22dcbdbf9660bd3 | [
"MIT"
] | 4 | 2019-03-28T20:49:59.000Z | 2019-08-11T19:31:35.000Z | src/xr_events/migrations/0004_add_localgroup_references_and_adjust_event_fields.py | JulianAkkaya95/xr-web | f86bb8f00173c73350f7283fa22dcbdbf9660bd3 | [
"MIT"
] | 4 | 2019-05-08T18:07:45.000Z | 2021-05-08T17:29:46.000Z | src/xr_events/migrations/0004_add_localgroup_references_and_adjust_event_fields.py | JulianAkkaya95/xr-web | f86bb8f00173c73350f7283fa22dcbdbf9660bd3 | [
"MIT"
] | 5 | 2019-03-28T20:50:15.000Z | 2020-01-17T21:16:57.000Z | # Generated by Django 2.1.7 on 2019-03-24 18:08
from django.db import migrations, models
import django.db.models.deletion
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.embeds.blocks
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
("xr_pages", "... | 56.352342 | 148 | 0.157505 | 772 | 27,669 | 5.569948 | 0.204663 | 0.120233 | 0.177907 | 0.091163 | 0.793953 | 0.771628 | 0.723721 | 0.723721 | 0.714884 | 0.693953 | 0 | 0.008172 | 0.79215 | 27,669 | 490 | 149 | 56.467347 | 0.739524 | 0.001626 | 0 | 0.700413 | 1 | 0.004132 | 0.067229 | 0.002317 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012397 | 0 | 0.018595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
e407511524e727ed91c2dc332076a28af6d183f8 | 16,694 | py | Python | python/test/types_tests/int32_type.py | Bhaskers-Blu-Org2/omi-script-provider | f2efe4434617d02887f1b99f7467e9d9203364a1 | [
"MIT"
] | 4 | 2019-06-16T02:29:23.000Z | 2021-04-20T16:09:19.000Z | python/test/types_tests/int32_type.py | microsoft/omi-script-provider | f2efe4434617d02887f1b99f7467e9d9203364a1 | [
"MIT"
] | null | null | null | python/test/types_tests/int32_type.py | microsoft/omi-script-provider | f2efe4434617d02887f1b99f7467e9d9203364a1 | [
"MIT"
] | 4 | 2019-11-03T11:52:56.000Z | 2020-08-05T14:54:06.000Z | from omi import *
try:
from utils import *
except ImportError:
import sys
sys.path.insert(0, '..')
from utils import *
def uint32_test():
be = BookEnd('uint32_test')
rval = True
# init (empty)
v0 = MI_Uint32()
if v0.getType() != MI_UINT32:
BookEndPrint('----- getType fai... | 25.643625 | 76 | 0.553193 | 1,878 | 16,694 | 4.848243 | 0.061235 | 0.076881 | 0.115321 | 0.083031 | 0.905327 | 0.865129 | 0.818561 | 0.765513 | 0.744865 | 0.737397 | 0 | 0.085355 | 0.338205 | 16,694 | 650 | 77 | 25.683077 | 0.738776 | 0.102971 | 0 | 0.802657 | 0 | 0 | 0.177772 | 0 | 0 | 0 | 0.040421 | 0 | 0 | 1 | 0.003795 | false | 0.079696 | 0.009488 | 0 | 0.017078 | 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 |
7c2cae6f7aa3e0309ea74cd1b2de9d0ff83a17da | 140,771 | py | Python | applications/multisite/intersite_test.py | richardstrnad/acitoolkit | 7e559dbb0b2d22ecf980733d6f8b7c894ecfdbde | [
"Apache-2.0"
] | 351 | 2015-01-15T14:44:36.000Z | 2022-03-27T17:06:52.000Z | applications/multisite/intersite_test.py | richardstrnad/acitoolkit | 7e559dbb0b2d22ecf980733d6f8b7c894ecfdbde | [
"Apache-2.0"
] | 215 | 2015-01-11T07:05:12.000Z | 2021-12-12T15:18:10.000Z | applications/multisite/intersite_test.py | richardstrnad/acitoolkit | 7e559dbb0b2d22ecf980733d6f8b7c894ecfdbde | [
"Apache-2.0"
] | 324 | 2015-01-07T10:03:18.000Z | 2022-02-23T21:48:13.000Z | """
Test suite for Intersite application
"""
import unittest
from acitoolkit import (AppProfile, EPG, Endpoint, Interface, L2Interface, Context, BridgeDomain, Session, Tenant,
IPEndpoint, OutsideL3, OutsideEPG, OutsideNetwork, Contract)
from intersite import execute_tool, IntersiteTag, CommandLi... | 38.430521 | 138 | 0.52422 | 14,003 | 140,771 | 5.085767 | 0.036992 | 0.113738 | 0.063988 | 0.057628 | 0.84825 | 0.831063 | 0.810281 | 0.798514 | 0.78106 | 0.763606 | 0 | 0.02532 | 0.373514 | 140,771 | 3,662 | 139 | 38.441016 | 0.7822 | 0.112353 | 0 | 0.728501 | 0 | 0.002048 | 0.161722 | 0.060317 | 0 | 0 | 0 | 0 | 0.107289 | 1 | 0.072072 | false | 0.03317 | 0.006143 | 0 | 0.110565 | 0.000819 | 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 |
7c37bdf6f75ec9ca42d9532bcd9052dbb3b16b40 | 803 | py | Python | tests/test_ping.py | libero/search | f13c7fe2aa5f3cd1e2f62234995788bed7147b91 | [
"MIT"
] | null | null | null | tests/test_ping.py | libero/search | f13c7fe2aa5f3cd1e2f62234995788bed7147b91 | [
"MIT"
] | 14 | 2019-01-31T08:34:30.000Z | 2019-11-21T10:06:13.000Z | tests/test_ping.py | giorgiosironi/search | 4a117c88c59627041c2058c9a41b69b01e2f3fcc | [
"MIT"
] | 3 | 2019-01-30T10:49:01.000Z | 2019-06-11T14:42:03.000Z |
def test_http_1_0_ping_response(client) -> None:
response = client.get('/ping', environ_overrides={'SERVER_PROTOCOL': 'HTTP/1.0'})
assert response.status_code == 200
assert response.content_type == 'text/plain; charset=utf-8'
assert response.data == b'pong'
assert response.headers['Cache-Control'... | 38.238095 | 85 | 0.704857 | 108 | 803 | 5.074074 | 0.342593 | 0.255474 | 0.153285 | 0.043796 | 0.905109 | 0.905109 | 0.905109 | 0.905109 | 0.905109 | 0.905109 | 0 | 0.024745 | 0.144458 | 803 | 20 | 86 | 40.15 | 0.772926 | 0 | 0 | 0.571429 | 0 | 0 | 0.25593 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
7c415a354fe892db7aeed45962a7bfcf91437986 | 31,191 | py | Python | closed/Lenovo/configs/3d-unet/Offline/__init__.py | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 12 | 2021-09-23T08:05:57.000Z | 2022-03-21T03:52:11.000Z | closed/Lenovo/configs/3d-unet/Offline/__init__.py | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 11 | 2021-09-23T20:34:06.000Z | 2022-01-22T07:58:02.000Z | closed/Lenovo/configs/3d-unet/Offline/__init__.py | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 16 | 2021-09-23T20:26:38.000Z | 2022-03-09T12:59:56.000Z | # Copyright (c) 2021, NVIDIA CORPORATION. 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 33.288154 | 102 | 0.791158 | 4,057 | 31,191 | 5.759428 | 0.07296 | 0.129932 | 0.194899 | 0.110845 | 0.871223 | 0.842421 | 0.817641 | 0.788967 | 0.762818 | 0.737824 | 0 | 0.091418 | 0.117277 | 31,191 | 936 | 103 | 33.323718 | 0.757237 | 0.022122 | 0 | 0.636364 | 0 | 0.010972 | 0.062818 | 0.038183 | 0 | 0 | 0 | 0.001068 | 0 | 1 | 0 | false | 0.10815 | 0.010972 | 0 | 0.619122 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 9 |
7c5d7308007377173b306ce693d2732486aec3e8 | 81 | py | Python | python/testData/copyPaste/SelectionReverse3.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/copyPaste/SelectionReverse3.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/SelectionReverse3.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z |
if True:
a = 1
b = 2
def f():
if True:
a = 1
b = 2
| 8.1 | 13 | 0.296296 | 14 | 81 | 1.714286 | 0.571429 | 0.5 | 0.583333 | 0.666667 | 0.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.592593 | 81 | 9 | 14 | 9 | 0.606061 | 0 | 0 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
7ca61dbbfbdc935dbff3557cc81726494f278882 | 68,606 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_heteroFair/cmp_cactusADM/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_heteroFair/cmp_cactusADM/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_heteroFair/cmp_cactusADM/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.061269 | 124 | 0.681835 | 8,098 | 68,606 | 5.770561 | 0.067424 | 0.123604 | 0.11299 | 0.093473 | 0.939675 | 0.932356 | 0.91896 | 0.886882 | 0.863642 | 0.844404 | 0 | 0.131298 | 0.224339 | 68,606 | 914 | 125 | 75.061269 | 0.746838 | 0 | 0 | 0.642232 | 0 | 0 | 0.65744 | 0.0481 | 0 | 0 | 0 | 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 |
7cb130c41763f05f26c638fca70585f0091b8c83 | 15,969 | py | Python | env3.10/lib/python3.10/site-packages/pyramid/tests/test_scripts/test_pshell.py | slmaankhaan/todo_app | 4e5a81a789e02be84525682f3ec5d0bfc3d91e8d | [
"MIT"
] | null | null | null | env3.10/lib/python3.10/site-packages/pyramid/tests/test_scripts/test_pshell.py | slmaankhaan/todo_app | 4e5a81a789e02be84525682f3ec5d0bfc3d91e8d | [
"MIT"
] | null | null | null | env3.10/lib/python3.10/site-packages/pyramid/tests/test_scripts/test_pshell.py | slmaankhaan/todo_app | 4e5a81a789e02be84525682f3ec5d0bfc3d91e8d | [
"MIT"
] | null | null | null | import unittest
from pyramid.tests.test_scripts import dummy
class TestPShellCommand(unittest.TestCase):
def _getTargetClass(self):
from pyramid.scripts.pshell import PShellCommand
return PShellCommand
def _makeOne(self, patch_bootstrap=True, patch_config=True,
patch_args=True... | 41.803665 | 79 | 0.630785 | 1,783 | 15,969 | 5.455973 | 0.060572 | 0.096217 | 0.050678 | 0.0331 | 0.86801 | 0.83491 | 0.811986 | 0.78197 | 0.729235 | 0.726357 | 0 | 0.009289 | 0.251738 | 15,969 | 381 | 80 | 41.913386 | 0.804837 | 0 | 0 | 0.701149 | 0 | 0 | 0.084544 | 0.018036 | 0 | 0 | 0 | 0 | 0.264368 | 1 | 0.071839 | false | 0.002874 | 0.011494 | 0 | 0.100575 | 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 |
7cbeec913b636e424574e9fa76ffadcb7faec830 | 5,964 | py | Python | main.py | YUND4/WebScarpingPUC | 08de5683cf86a6d073935662e1934c56491d56c9 | [
"MIT"
] | null | null | null | main.py | YUND4/WebScarpingPUC | 08de5683cf86a6d073935662e1934c56491d56c9 | [
"MIT"
] | null | null | null | main.py | YUND4/WebScarpingPUC | 08de5683cf86a6d073935662e1934c56491d56c9 | [
"MIT"
] | null | null | null | #Esta aplicacion nos permite consumir paginas web
#con web scarping
#Implementacion por SwankySniperGG
#MIT
#github.com/
from bs4 import BeautifulSoup
import json
from scrapscript import simple_get
class loadPUC:
result = {
'cuentas': [],
'total': 0
}
def merge(self, lis):
result ... | 40.571429 | 109 | 0.330651 | 486 | 5,964 | 3.979424 | 0.207819 | 0.043433 | 0.015512 | 0.023268 | 0.750776 | 0.742503 | 0.742503 | 0.724922 | 0.724922 | 0.724922 | 0 | 0.017306 | 0.554326 | 5,964 | 147 | 110 | 40.571429 | 0.710309 | 0.018612 | 0 | 0.703704 | 0 | 0 | 0.106343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.022222 | 0 | 0.074074 | 0.088889 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
7cc8e277f74b0866af0c18e9d2beb0b098ed68e0 | 14,455 | py | Python | tests/hdx/utilities/test_path.py | OCHA-DAP/hdx-python-utilities | 3ff2720bddf7b4ee107adbe3a2222c9e8fbd487f | [
"MIT"
] | 4 | 2019-01-04T10:44:18.000Z | 2020-01-23T14:06:38.000Z | tests/hdx/utilities/test_path.py | OCHA-DAP/hdx-python-utilities | 3ff2720bddf7b4ee107adbe3a2222c9e8fbd487f | [
"MIT"
] | 3 | 2017-11-01T08:57:02.000Z | 2021-10-17T20:51:15.000Z | tests/hdx/utilities/test_path.py | OCHA-DAP/hdx-python-utilities | 3ff2720bddf7b4ee107adbe3a2222c9e8fbd487f | [
"MIT"
] | 1 | 2018-09-12T18:02:22.000Z | 2018-09-12T18:02:22.000Z | """Path Utility Tests"""
import copy
from os.path import exists, join
from shutil import rmtree
from tempfile import gettempdir
import pytest
from hdx.utilities.loader import load_file_to_str
from hdx.utilities.path import (
get_filename_extension_from_url,
get_filename_from_url,
get_temp_dir,
multipl... | 35.868486 | 116 | 0.547008 | 1,395 | 14,455 | 5.490323 | 0.089606 | 0.060321 | 0.063194 | 0.075206 | 0.865779 | 0.815772 | 0.804805 | 0.784698 | 0.779606 | 0.760804 | 0 | 0.011897 | 0.354549 | 14,455 | 402 | 117 | 35.957711 | 0.809003 | 0.001245 | 0 | 0.795213 | 0 | 0.00266 | 0.088421 | 0 | 0 | 0 | 0 | 0 | 0.207447 | 1 | 0.018617 | false | 0.031915 | 0.018617 | 0.005319 | 0.045213 | 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 |
6b11e74e28410d1cd32e2afba7a83bd84cd5e120 | 50,879 | py | Python | tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py | tuvshuud/python-saml | 3bbc0a99659a7d71b70784a479c2aed3d14001f5 | [
"MIT"
] | 2 | 2018-12-05T12:45:59.000Z | 2019-06-27T12:01:47.000Z | tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py | sighttviewliu/python-saml | 3814b0fe98d6ab78cf92b39c15e1785b1cab22bb | [
"MIT"
] | null | null | null | tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py | sighttviewliu/python-saml | 3814b0fe98d6ab78cf92b39c15e1785b1cab22bb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2018 OneLogin, Inc.
# MIT License
from copy import deepcopy
import json
from os.path import dirname, join, exists
from lxml.etree import XMLSyntaxError
import unittest
from urllib2 import URLError
from onelogin.saml2.idp_metadata_parser import OneLogin_Saml2_IdPMetadataP... | 78.516975 | 1,811 | 0.778926 | 2,811 | 50,879 | 13.930274 | 0.144788 | 0.019255 | 0.032943 | 0.010726 | 0.822335 | 0.811048 | 0.800373 | 0.786021 | 0.771388 | 0.761454 | 0 | 0.079151 | 0.154484 | 50,879 | 647 | 1,812 | 78.638331 | 0.831098 | 0.046758 | 0 | 0.546845 | 0 | 0.10325 | 0.792281 | 0.591691 | 0 | 1 | 0 | 0 | 0.068834 | 1 | 0.024857 | false | 0 | 0.015296 | 0 | 0.051625 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
6b32df9f64c8c19fb4c9cf60f29c0e1a18804d26 | 6,341 | py | Python | functions/getter.py | mramirid/Whatsapp-Bot-Covid19 | 29472c9d9918f819296a07d1436b0988e5bbe73a | [
"MIT"
] | null | null | null | functions/getter.py | mramirid/Whatsapp-Bot-Covid19 | 29472c9d9918f819296a07d1436b0988e5bbe73a | [
"MIT"
] | null | null | null | functions/getter.py | mramirid/Whatsapp-Bot-Covid19 | 29472c9d9918f819296a07d1436b0988e5bbe73a | [
"MIT"
] | null | null | null | global mysql
def init_connection(new_mysql):
global mysql
mysql = new_mysql
################### Nasional ###################
def get_nasional():
today = get_today_nasional()
yesterday = get_yesterday_nasional()
# Memgambil index array agar saat pemanggilan variabel mudah, tidak today[0] dst
... | 35.824859 | 121 | 0.577985 | 620 | 6,341 | 5.767742 | 0.158065 | 0.035235 | 0.060403 | 0.021812 | 0.888143 | 0.87472 | 0.87472 | 0.87472 | 0.87472 | 0.862696 | 0 | 0.006211 | 0.289071 | 6,341 | 176 | 122 | 36.028409 | 0.787045 | 0.055669 | 0 | 0.80916 | 0 | 0 | 0.306108 | 0.058339 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053435 | false | 0 | 0 | 0 | 0.114504 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
860f893d646dbd52965b39832b915dbb5940b46c | 8,513 | py | Python | options/meta_options.py | Wanggcong/SolutionSimilarityLearning | 26279b61686b3c34745c369b2cc4175c71c55403 | [
"MIT"
] | 7 | 2019-12-23T02:37:27.000Z | 2020-09-05T08:08:22.000Z | options/meta_options.py | Wanggcong/SolutionSimilarityLearning | 26279b61686b3c34745c369b2cc4175c71c55403 | [
"MIT"
] | null | null | null | options/meta_options.py | Wanggcong/SolutionSimilarityLearning | 26279b61686b3c34745c369b2cc4175c71c55403 | [
"MIT"
] | null | null | null | import argparse
import os
class MetaOptions():
def __init__(self,parser,dataset_name):
"""Reset the class; indicates the class hasn't been initailized"""
self.parser = parser
self.dataset_name = dataset_name
def initialize(self):
self.parser.add_argument('--seed', t... | 74.026087 | 163 | 0.513685 | 903 | 8,513 | 4.765227 | 0.140642 | 0.11155 | 0.138973 | 0.224495 | 0.898211 | 0.893098 | 0.893098 | 0.893098 | 0.893098 | 0.884034 | 0 | 0.022649 | 0.351697 | 8,513 | 114 | 164 | 74.675439 | 0.757021 | 0.017033 | 0 | 0.82243 | 0 | 0 | 0.271746 | 0.028994 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028037 | false | 0 | 0.018692 | 0 | 0.056075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
862e76885428e343b1cd6f92a768d1a129846329 | 6,038 | py | Python | tests/utils/file_utils/test_safe_file_write.py | Purg/SMQTK | 705a2b2979935ed129aac7db578571c4ae1343e7 | [
"BSD-3-Clause"
] | 1 | 2021-04-25T16:53:50.000Z | 2021-04-25T16:53:50.000Z | tests/utils/file_utils/test_safe_file_write.py | Purg/SMQTK | 705a2b2979935ed129aac7db578571c4ae1343e7 | [
"BSD-3-Clause"
] | 3 | 2021-09-08T02:17:49.000Z | 2022-03-12T00:40:33.000Z | tests/utils/file_utils/test_safe_file_write.py | Purg/SMQTK | 705a2b2979935ed129aac7db578571c4ae1343e7 | [
"BSD-3-Clause"
] | null | null | null | import mock
import unittest
from smqtk.utils.file import safe_file_write
class TestSafeFileWrite (unittest.TestCase):
"""
Tests for the ``smqtk.utils.file.safe_file_write`` function.
Mocking out underlying function that would have filesystem side effects.
"""
@mock.patch('smqtk.utils.file.safe_... | 40.52349 | 77 | 0.662637 | 845 | 6,038 | 4.413018 | 0.126627 | 0.077233 | 0.102977 | 0.128721 | 0.828104 | 0.828104 | 0.819791 | 0.812014 | 0.812014 | 0.805042 | 0 | 0.001516 | 0.235343 | 6,038 | 148 | 78 | 40.797297 | 0.806151 | 0.137132 | 0 | 0.761905 | 0 | 0 | 0.179254 | 0.132702 | 0 | 0 | 0 | 0 | 0.304762 | 1 | 0.047619 | false | 0 | 0.028571 | 0 | 0.085714 | 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 |
86643ebec6d6dd6c7a0c2a878a60211ba8097fa4 | 3,820 | py | Python | Product Manager/style.py | Vatsalgarg2000/Product_Manager | c129461233d1a394a2cf3365186994ca414bd74e | [
"Apache-2.0"
] | null | null | null | Product Manager/style.py | Vatsalgarg2000/Product_Manager | c129461233d1a394a2cf3365186994ca414bd74e | [
"Apache-2.0"
] | null | null | null | Product Manager/style.py | Vatsalgarg2000/Product_Manager | c129461233d1a394a2cf3365186994ca414bd74e | [
"Apache-2.0"
] | null | null | null | def searchBoxStyle():
return """
QGroupBox{
background-color:#9bc9ff;
font:15pt Times Bold;
color:white;
border:2px solid gray;
border-radius:15px;
}
"""
def listBoxStyle():
return """
QGroupBox{
background-color:#fcc324;
font:15pt Aria... | 22.209302 | 46 | 0.393194 | 244 | 3,820 | 6.155738 | 0.20082 | 0.169774 | 0.175766 | 0.215712 | 0.73036 | 0.711052 | 0.711052 | 0.711052 | 0.711052 | 0.711052 | 0 | 0.045109 | 0.518325 | 3,820 | 172 | 47 | 22.209302 | 0.771196 | 0 | 0 | 0.75 | 0 | 0 | 0.792055 | 0.113151 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121429 | true | 0 | 0 | 0.121429 | 0.242857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 11 |
86d4c5029690fffd504ce9f5d345ba75609792f1 | 11,792 | py | Python | tests/pyformance_test.py | Starz-Github/signalfx-python | 2d07b0f0ffb91ccba7071eafab306673c3d71cb7 | [
"Apache-2.0"
] | 41 | 2015-06-17T16:44:25.000Z | 2021-08-16T15:12:44.000Z | tests/pyformance_test.py | Starz-Github/signalfx-python | 2d07b0f0ffb91ccba7071eafab306673c3d71cb7 | [
"Apache-2.0"
] | 74 | 2015-05-07T19:36:34.000Z | 2021-12-29T15:29:33.000Z | tests/pyformance_test.py | Starz-Github/signalfx-python | 2d07b0f0ffb91ccba7071eafab306673c3d71cb7 | [
"Apache-2.0"
] | 46 | 2015-05-07T23:23:07.000Z | 2022-02-28T20:55:14.000Z | #!/usr/bin/env python
# Copyright (C) 2018 SignalFx, Inc. All rights reserved.
from pyformance.registry import get_qualname
import os
import sys
import unittest
sys.path.insert(0, os.path.join(
os.path.dirname(os.path.abspath(__file__)), '..'))
# import the signalfx pyformance library
import signalfx.pyformance... | 34.991098 | 77 | 0.545794 | 1,273 | 11,792 | 4.718775 | 0.073841 | 0.063925 | 0.041951 | 0.043949 | 0.841685 | 0.805727 | 0.766939 | 0.750458 | 0.737473 | 0.737473 | 0 | 0.02511 | 0.324542 | 11,792 | 336 | 78 | 35.095238 | 0.729065 | 0.010092 | 0 | 0.713311 | 0 | 0 | 0.229326 | 0.088954 | 0 | 0 | 0 | 0 | 0.12628 | 1 | 0.078498 | false | 0.006826 | 0.017065 | 0.020478 | 0.119454 | 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 |
86d6f20744ccd21888ff3f18391753887eb5eb6e | 4,123 | py | Python | examples/jaqal/single_qubit_gst.py | haikusw/jaqalpaq | d507e894cb897756a1e51c99582b736254995b4e | [
"Apache-2.0"
] | 8 | 2021-02-19T23:25:28.000Z | 2021-09-24T20:11:13.000Z | examples/jaqal/single_qubit_gst.py | haikusw/jaqalpaq | d507e894cb897756a1e51c99582b736254995b4e | [
"Apache-2.0"
] | null | null | null | examples/jaqal/single_qubit_gst.py | haikusw/jaqalpaq | d507e894cb897756a1e51c99582b736254995b4e | [
"Apache-2.0"
] | null | null | null | (
"circuit",
("register", "q", 1),
("macro", "F0", "qubit", ("sequential_block",)),
("macro", "F1", "qubit", ("sequential_block", ("gate", "Sx", "qubit"))),
("macro", "F2", "qubit", ("sequential_block", ("gate", "Sy", "qubit"))),
(
"macro",
"F3",
"qubit",
("sequen... | 26.094937 | 79 | 0.360902 | 357 | 4,123 | 4.005602 | 0.103641 | 0.127273 | 0.237762 | 0.268531 | 0.895105 | 0.87972 | 0.876224 | 0.708392 | 0.703497 | 0.626573 | 0 | 0.017544 | 0.364055 | 4,123 | 157 | 80 | 26.261147 | 0.527841 | 0 | 0 | 0.694268 | 0 | 0 | 0.357264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
86f6aa7336abb75cd61c8b8fbecbbeee2a5dc4ba | 3,708 | py | Python | tests/test_process_collector.py | vmarkovtsev/client_python | dd93abe3b1d20bf8ac0ea07080e1c961dc8e44bd | [
"Apache-2.0"
] | 2,729 | 2015-02-12T13:13:24.000Z | 2022-03-30T10:33:12.000Z | tests/test_process_collector.py | vmarkovtsev/client_python | dd93abe3b1d20bf8ac0ea07080e1c961dc8e44bd | [
"Apache-2.0"
] | 668 | 2015-02-10T22:57:50.000Z | 2022-03-30T06:25:49.000Z | tests/test_process_collector.py | vmarkovtsev/client_python | dd93abe3b1d20bf8ac0ea07080e1c961dc8e44bd | [
"Apache-2.0"
] | 767 | 2015-02-10T22:51:46.000Z | 2022-03-26T01:11:58.000Z | from __future__ import unicode_literals
import os
import unittest
from prometheus_client import CollectorRegistry, ProcessCollector
class TestProcessCollector(unittest.TestCase):
def setUp(self):
self.registry = CollectorRegistry()
self.test_proc = os.path.join(os.path.dirname(os.path.realpath(_... | 54.529412 | 115 | 0.755933 | 471 | 3,708 | 5.592357 | 0.152866 | 0.145786 | 0.153759 | 0.215262 | 0.854594 | 0.854594 | 0.854594 | 0.853075 | 0.851936 | 0.809415 | 0 | 0.048095 | 0.136462 | 3,708 | 67 | 116 | 55.343284 | 0.774516 | 0 | 0 | 0.301887 | 0 | 0 | 0.176645 | 0.137271 | 0 | 0 | 0 | 0 | 0.509434 | 1 | 0.09434 | false | 0 | 0.075472 | 0 | 0.188679 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
86ff1581adfdbc6ba1c6c689e6a0d1e115b08d15 | 161 | py | Python | Lib/Scripts/glyphs/actions/copy & paste.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 11 | 2015-01-06T15:43:56.000Z | 2019-07-27T00:35:20.000Z | Lib/Scripts/glyphs/actions/copy & paste.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 2 | 2017-05-17T10:11:46.000Z | 2018-11-21T21:43:43.000Z | Lib/Scripts/glyphs/actions/copy & paste.py | gferreira/hTools2 | a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c | [
"BSD-3-Clause"
] | 4 | 2015-01-10T13:58:50.000Z | 2019-12-18T15:40:14.000Z | # [h] copy / paste
import hTools2.dialogs.glyphs.copy_paste
reload(hTools2.dialogs.glyphs.copy_paste)
hTools2.dialogs.glyphs.copy_paste.copyPasteGlyphDialog()
| 23 | 56 | 0.819876 | 21 | 161 | 6.142857 | 0.428571 | 0.27907 | 0.465116 | 0.55814 | 0.674419 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.068323 | 161 | 6 | 57 | 26.833333 | 0.84 | 0.099379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
810d025d92882a4f6972fa75975ddd07cb8d6801 | 2,460 | py | Python | beer-song/beer_song_test.py | mambocab/xpython | be4aacc18aafee449fa2ce0f515ee03b0c8ae4d9 | [
"MIT"
] | null | null | null | beer-song/beer_song_test.py | mambocab/xpython | be4aacc18aafee449fa2ce0f515ee03b0c8ae4d9 | [
"MIT"
] | null | null | null | beer-song/beer_song_test.py | mambocab/xpython | be4aacc18aafee449fa2ce0f515ee03b0c8ae4d9 | [
"MIT"
] | 1 | 2020-06-10T23:33:20.000Z | 2020-06-10T23:33:20.000Z | import unittest
from beer import song, verse
class BeerTest(unittest.TestCase):
def test_a_verse(self):
self.assertEqual(
verse(8),
"8 bottles of beer on the wall, 8 bottles of beer.\n"
"Take one down and pass it around, 7 bottles of beer on the wall.\n"
)
... | 36.176471 | 85 | 0.55813 | 389 | 2,460 | 3.462725 | 0.133676 | 0.146993 | 0.260579 | 0.179659 | 0.812918 | 0.769859 | 0.753526 | 0.717149 | 0.66147 | 0.647365 | 0 | 0.024809 | 0.360976 | 2,460 | 67 | 86 | 36.716418 | 0.832061 | 0 | 0 | 0.5 | 0 | 0 | 0.545122 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.103448 | false | 0.155172 | 0.034483 | 0 | 0.155172 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
d4b8cad13f3f663e5b8fa574dc0bfdd109f5614f | 136 | py | Python | scripts/create_db.py | abrookins/siren | 8e85d35e01e804ce962ea3ffe88885270b3bd573 | [
"MIT"
] | 2 | 2015-01-12T10:04:29.000Z | 2018-07-09T16:56:27.000Z | scripts/create_db.py | abrookins/siren | 8e85d35e01e804ce962ea3ffe88885270b3bd573 | [
"MIT"
] | null | null | null | scripts/create_db.py | abrookins/siren | 8e85d35e01e804ce962ea3ffe88885270b3bd573 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
import util
util.make_crimes_db()
| 15.111111 | 77 | 0.779412 | 23 | 136 | 4.347826 | 0.521739 | 0.18 | 0.26 | 0.3 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 136 | 8 | 78 | 17 | 0.8 | 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 |
d4bf4c78ad21229345e1f693919c458914f989b7 | 107 | py | Python | config.py | e-io/anticovirus | 893c3746e2e3471b75ff5e8f2fcdcddbfcdd834e | [
"Apache-2.0"
] | 1 | 2020-05-18T17:26:04.000Z | 2020-05-18T17:26:04.000Z | config.py | e-io/anticovirus | 893c3746e2e3471b75ff5e8f2fcdcddbfcdd834e | [
"Apache-2.0"
] | null | null | null | config.py | e-io/anticovirus | 893c3746e2e3471b75ff5e8f2fcdcddbfcdd834e | [
"Apache-2.0"
] | null | null | null | vk_token="7fc711c235c1904d191b6a80b7c440b66dc90e76919d7e006cad3922b599016a32226736c5bbcf91555c5"
lang="ru"
| 35.666667 | 96 | 0.925234 | 5 | 107 | 19.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.561905 | 0.018692 | 107 | 2 | 97 | 53.5 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0.813084 | 0.794393 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d4c0293a1d5cce797deb06ef44cce236502d021a | 5,958 | py | Python | tests/python/test_sparse_matrix.py | josephgalestian/taichiV2-master | 12a63a05fdccc824205b1ee6545e4706bf473405 | [
"MIT"
] | null | null | null | tests/python/test_sparse_matrix.py | josephgalestian/taichiV2-master | 12a63a05fdccc824205b1ee6545e4706bf473405 | [
"MIT"
] | null | null | null | tests/python/test_sparse_matrix.py | josephgalestian/taichiV2-master | 12a63a05fdccc824205b1ee6545e4706bf473405 | [
"MIT"
] | null | null | null | import taichi as ti
from tests import test_utils
@test_utils.test(arch=ti.cpu)
def test_sparse_matrix_builder():
n = 8
Abuilder = ti.linalg.SparseMatrixBuilder(n, n, max_num_triplets=100)
@ti.kernel
def fill(Abuilder: ti.linalg.sparse_matrix_builder()):
for i, j in ti.ndrange(n, n):
... | 27.583333 | 72 | 0.597684 | 904 | 5,958 | 3.813053 | 0.06969 | 0.029011 | 0.102118 | 0.019727 | 0.920511 | 0.89179 | 0.884537 | 0.884537 | 0.869452 | 0.862779 | 0 | 0.025086 | 0.264015 | 5,958 | 215 | 73 | 27.711628 | 0.761003 | 0 | 0 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081871 | 1 | 0.128655 | false | 0 | 0.011696 | 0 | 0.140351 | 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 |
d4d3eb3ecdc6bc63b9fb323f4f6cbb2ee4137d98 | 45,387 | py | Python | odoo-13.0/addons/sale_stock/tests/test_anglo_saxon_valuation.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 12 | 2021-03-26T08:39:40.000Z | 2022-03-16T02:20:10.000Z | odoo-13.0/addons/sale_stock/tests/test_anglo_saxon_valuation.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 13 | 2020-12-20T16:00:21.000Z | 2022-03-14T14:55:30.000Z | odoo-13.0/addons/sale_stock/tests/test_anglo_saxon_valuation.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 17 | 2020-08-31T11:18:49.000Z | 2022-02-09T05:57:31.000Z | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.tests import Form
from odoo.tests.common import SavepointCase
from odoo.exceptions import UserError
class TestAngloSaxonValuation(SavepointCase):
@classmethod
def setUpClass(cls):
super(TestAn... | 44.893175 | 136 | 0.644634 | 5,810 | 45,387 | 4.762823 | 0.039931 | 0.090525 | 0.038523 | 0.055399 | 0.923966 | 0.90597 | 0.89596 | 0.888154 | 0.878072 | 0.873374 | 0 | 0.020098 | 0.237006 | 45,387 | 1,010 | 137 | 44.937624 | 0.778978 | 0.140921 | 0 | 0.831944 | 0 | 0 | 0.073587 | 0.019173 | 0 | 0 | 0 | 0 | 0.236111 | 1 | 0.033333 | false | 0 | 0.004167 | 0 | 0.040278 | 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 |
d4d55b01e0778ee5f76e2fc56148b185058a54a8 | 118,842 | py | Python | ai2thor/tests/test_event.py | ekolve/ai2thor-lgtm | 0a8d5cf961134ee31f5410d4aa2f3f9f750d6911 | [
"Apache-2.0"
] | null | null | null | ai2thor/tests/test_event.py | ekolve/ai2thor-lgtm | 0a8d5cf961134ee31f5410d4aa2f3f9f750d6911 | [
"Apache-2.0"
] | 2 | 2021-04-26T16:29:22.000Z | 2021-04-26T16:34:39.000Z | ai2thor/tests/test_event.py | ekolve/ai2thor-lgtm | 0a8d5cf961134ee31f5410d4aa2f3f9f750d6911 | [
"Apache-2.0"
] | null | null | null | import os
from ai2thor.server import Event
import numpy as np
import pytest
from ai2thor.tests.constants import TESTS_DATA_DIR
metadata_complex = {
"agent": {
"bounds3D": [],
"cameraHorizon": 0.0,
"distance": 0.0,
"isopen": False,
"name": "agent",
"objectId": "",
... | 35.464637 | 87 | 0.430589 | 9,143 | 118,842 | 5.584053 | 0.102592 | 0.012261 | 0.029674 | 0.0455 | 0.856214 | 0.855822 | 0.853648 | 0.829086 | 0.827598 | 0.827598 | 0 | 0.334787 | 0.403898 | 118,842 | 3,350 | 88 | 35.475224 | 0.385901 | 0 | 0 | 0.801143 | 0 | 0 | 0.236743 | 0.046473 | 0 | 0 | 0 | 0 | 0.006619 | 1 | 0.002708 | false | 0 | 0.001504 | 0.000602 | 0.005114 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 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 |
be2670d8565e9eaf449d500cde28ee99708be4a1 | 8,533 | py | Python | prior_utils/prepare_prior_cgenie.py | frodre/LMR | 4c00d3f9db96447e69bd3f426d59524f7b5f3ef5 | [
"BSD-3-Clause"
] | 17 | 2018-08-27T18:50:36.000Z | 2021-03-17T22:48:55.000Z | prior_utils/prepare_prior_cgenie.py | mingsongli/LMR | 4c00d3f9db96447e69bd3f426d59524f7b5f3ef5 | [
"BSD-3-Clause"
] | 5 | 2018-10-15T22:13:27.000Z | 2019-04-26T11:45:58.000Z | prior_utils/prepare_prior_cgenie.py | mingsongli/LMR | 4c00d3f9db96447e69bd3f426d59524f7b5f3ef5 | [
"BSD-3-Clause"
] | 11 | 2018-10-11T19:35:34.000Z | 2021-08-17T12:08:11.000Z | """
Module: prepare_prior_cgenie.py
Purpose: Extract data from a set of variables from a cGENIE climate model
simulation to generate files formatted for input into the
LMR data assimilation system.
Originator: Robert Tardif - University of Washington : August 2017
"""
import os
# =============... | 37.924444 | 97 | 0.624517 | 1,182 | 8,533 | 4.352792 | 0.130288 | 0.066667 | 0.12517 | 0.187755 | 0.87036 | 0.838873 | 0.795335 | 0.789699 | 0.782313 | 0.782313 | 0 | 0.008487 | 0.171452 | 8,533 | 224 | 98 | 38.09375 | 0.719236 | 0.309153 | 0 | 0.745614 | 1 | 0.008772 | 0.34197 | 0.120796 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008772 | 0 | 0.008772 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 9 |
be28c6bcd0585c61f4d6f3ff8e3447dc5d801e96 | 15,379 | py | Python | ctpbee/record.py | yutiansut/ctpbee | 02ceb3d4456a54b1b4f8066a2662c4b8fac1027f | [
"MIT"
] | null | null | null | ctpbee/record.py | yutiansut/ctpbee | 02ceb3d4456a54b1b4f8066a2662c4b8fac1027f | [
"MIT"
] | null | null | null | ctpbee/record.py | yutiansut/ctpbee | 02ceb3d4456a54b1b4f8066a2662c4b8fac1027f | [
"MIT"
] | 3 | 2019-11-21T03:38:14.000Z | 2022-02-14T08:09:11.000Z | from copy import deepcopy
from datetime import datetime
from ctpbee.constant import EVENT_TICK, EVENT_ORDER, EVENT_TRADE, EVENT_POSITION, EVENT_ACCOUNT, \
EVENT_CONTRACT, EVENT_BAR, EVENT_LOG, EVENT_ERROR, EVENT_SHARED
from ctpbee.data_handle import generator
from ctpbee.data_handle.local_position import LocalPosi... | 33.360087 | 105 | 0.621367 | 1,903 | 15,379 | 4.820809 | 0.050447 | 0.045128 | 0.05799 | 0.050142 | 0.962612 | 0.962612 | 0.962612 | 0.962612 | 0.962612 | 0.962612 | 0 | 0.000177 | 0.266727 | 15,379 | 460 | 106 | 33.432609 | 0.813337 | 0.034202 | 0 | 0.905363 | 0 | 0 | 0.010383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170347 | false | 0 | 0.025237 | 0.07571 | 0.334385 | 0.012618 | 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 |
077ef5a456f4ef84d1fb90d05e9ac1302b4a87c9 | 5,722 | py | Python | ElectroWeakAnalysis/ZMuMu/python/zSelection_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | ElectroWeakAnalysis/ZMuMu/python/zSelection_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | ElectroWeakAnalysis/ZMuMu/python/zSelection_cfi.py | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | import FWCore.ParameterSet.Config as cms
zSelectionLoose = cms.PSet(
cut = cms.string("charge = 0 & daughter(0).pt > 15 & daughter(1).pt > 15 & abs(daughter(0).eta)<2.4 & abs(daughter(1).eta)<2.4 & mass > 0"),
isoCut = cms.double(1000.),
ptThreshold = cms.untracked.double(1.5),
etEcalThreshold = cms.un... | 39.462069 | 222 | 0.647326 | 805 | 5,722 | 4.6 | 0.103106 | 0.233324 | 0.349987 | 0.338644 | 0.891169 | 0.891169 | 0.891169 | 0.891169 | 0.890899 | 0.871186 | 0 | 0.071444 | 0.168298 | 5,722 | 144 | 223 | 39.736111 | 0.706661 | 0.237854 | 0 | 0.637363 | 0 | 0.065934 | 0.215727 | 0.095801 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010989 | 0 | 0.010989 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
07861f3ea99112ced4f3d202f67e445824038884 | 15,099 | py | Python | gluoncv/data/pascal_voc/detection.py | JiangongWang/mean-teacher-cross-domain-detection | c52b8b2e22e8ff30ead1bef82409d41f52883ccd | [
"Apache-2.0"
] | 36 | 2019-12-25T04:59:49.000Z | 2022-03-17T07:24:49.000Z | gluoncv/data/pascal_voc/detection.py | JiangongWang/mean-teacher-cross-domain-detection | c52b8b2e22e8ff30ead1bef82409d41f52883ccd | [
"Apache-2.0"
] | 1 | 2020-02-25T05:56:19.000Z | 2020-05-15T17:03:59.000Z | gluoncv/data/pascal_voc/detection.py | JiangongWang/mean-teacher-cross-domain-detection | c52b8b2e22e8ff30ead1bef82409d41f52883ccd | [
"Apache-2.0"
] | 9 | 2019-12-25T05:00:33.000Z | 2021-10-01T14:23:51.000Z | """Pascal VOC object detection dataset."""
from __future__ import absolute_import
from __future__ import division
import os
import logging
import numpy as np
try:
import xml.etree.cElementTree as ET
except ImportError:
import xml.etree.ElementTree as ET
import mxnet as mx
from ..base import VisionDataset
cla... | 43.892442 | 114 | 0.615074 | 1,952 | 15,099 | 4.588627 | 0.13627 | 0.028134 | 0.021882 | 0.020096 | 0.852629 | 0.848498 | 0.842916 | 0.840237 | 0.835659 | 0.835659 | 0 | 0.010608 | 0.263262 | 15,099 | 343 | 115 | 44.020408 | 0.794588 | 0.291675 | 0 | 0.726829 | 0 | 0 | 0.088995 | 0 | 0 | 0 | 0 | 0 | 0.063415 | 1 | 0.131707 | false | 0 | 0.04878 | 0.014634 | 0.326829 | 0.009756 | 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 |
078e788beb4e94e509d9cf9c9979a01ac4f4fffa | 359 | py | Python | pyaedt/edb_core/__init__.py | beliaev-maksim/pyaedt | c549de1d0c80f3598afc5475817a332bb6d6df57 | [
"MIT"
] | 12 | 2021-07-01T06:35:12.000Z | 2021-09-22T15:53:07.000Z | pyaedt/edb_core/__init__.py | beliaev-maksim/pyaedt | c549de1d0c80f3598afc5475817a332bb6d6df57 | [
"MIT"
] | 111 | 2021-07-01T16:02:36.000Z | 2021-09-29T12:36:44.000Z | pyaedt/edb_core/__init__.py | beliaev-maksim/pyaedt | c549de1d0c80f3598afc5475817a332bb6d6df57 | [
"MIT"
] | 5 | 2021-07-09T14:24:59.000Z | 2021-09-07T12:42:03.000Z | from __future__ import absolute_import
from pyaedt.edb_core.components import Components
from pyaedt.edb_core.hfss import EdbHfss
from pyaedt.edb_core.nets import EdbNets
from pyaedt.edb_core.padstack import EdbPadstacks
from pyaedt.edb_core.siwave import EdbSiwave
from pyaedt.edb_core.stackup import EdbStackup
from p... | 35.9 | 49 | 0.869081 | 54 | 359 | 5.555556 | 0.37037 | 0.233333 | 0.303333 | 0.396667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091922 | 359 | 9 | 50 | 39.888889 | 0.920245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
07b6c66d0922c5b856f358ab41ac7c95ea96458f | 74,170 | py | Python | azure/storage/blob/pageblobservice.py | RobertoPrevato/azure-storage-python | fae8ed9916095cc1fc17ada44e6406f96f7bd11d | [
"Apache-2.0"
] | 5 | 2018-03-21T12:59:53.000Z | 2020-11-30T12:24:18.000Z | azure/storage/blob/pageblobservice.py | RobertoPrevato/azure-storage-python | fae8ed9916095cc1fc17ada44e6406f96f7bd11d | [
"Apache-2.0"
] | null | null | null | azure/storage/blob/pageblobservice.py | RobertoPrevato/azure-storage-python | fae8ed9916095cc1fc17ada44e6406f96f7bd11d | [
"Apache-2.0"
] | 3 | 2018-10-09T18:35:19.000Z | 2019-03-13T09:43:02.000Z | # -------------------------------------------------------------------------
# Copyright (c) Microsoft. 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.
# You may obtain a copy of the License at
# http://www.ap... | 53.244795 | 118 | 0.65478 | 9,930 | 74,170 | 4.733031 | 0.055891 | 0.011702 | 0.011873 | 0.018383 | 0.833741 | 0.818443 | 0.810549 | 0.797825 | 0.785251 | 0.780485 | 0 | 0.004713 | 0.293447 | 74,170 | 1,392 | 119 | 53.283046 | 0.89211 | 0.01599 | 0 | 0.556017 | 0 | 0 | 0.061935 | 0.015011 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.03112 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
07c0b3a5dcad5bf45c1b4f7f05c6ebb3d468b438 | 191 | py | Python | platform/hwconf_data/efr32mg12p/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/efr32mg12p/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/efr32mg12p/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | """
Generated from a template
"""
import efr32mg12p.PythonSnippet.RuntimeModel as RuntimeModel
from efr32mg12p.modules.PIN.PIN_Defs import PORT_PINS
def activate_runtime():
pass
| 11.235294 | 60 | 0.769634 | 23 | 191 | 6.26087 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0.157068 | 191 | 16 | 61 | 11.9375 | 0.844721 | 0.13089 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
07c430d528140be09b3a3537f23179d26e201762 | 22,475 | py | Python | RecoJets/JetProducers/python/PileupJetIDParams_cfi.py | rmanzoni/cmssw | 53286dbc96455754b882e6668ed6a33a6186def2 | [
"Apache-2.0"
] | null | null | null | RecoJets/JetProducers/python/PileupJetIDParams_cfi.py | rmanzoni/cmssw | 53286dbc96455754b882e6668ed6a33a6186def2 | [
"Apache-2.0"
] | null | null | null | RecoJets/JetProducers/python/PileupJetIDParams_cfi.py | rmanzoni/cmssw | 53286dbc96455754b882e6668ed6a33a6186def2 | [
"Apache-2.0"
] | 1 | 2015-05-08T02:08:04.000Z | 2015-05-08T02:08:04.000Z | import FWCore.ParameterSet.Config as cms
from RecoJets.JetProducers.PileupJetIDCutParams_cfi import *
####################################################################################################################
full_81x_chs = cms.PSet(
impactParTkThreshold = cms.double(1.),
cutBased = cms.bool(... | 34.208524 | 141 | 0.427408 | 1,581 | 22,475 | 5.925996 | 0.075901 | 0.041306 | 0.074288 | 0.058918 | 0.916213 | 0.893158 | 0.876935 | 0.845875 | 0.746825 | 0.682143 | 0 | 0.050367 | 0.399288 | 22,475 | 656 | 142 | 34.260671 | 0.643582 | 0.005339 | 0 | 0.822504 | 0 | 0 | 0.216365 | 0.11377 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00317 | 0 | 0.00317 | 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 |
07d63f8a948065297bfdea497d199d76805779a1 | 165,434 | py | Python | sympy/integrals/rubi/rubi_tests/tests/test_sine.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/integrals/rubi/rubi_tests/tests/test_sine.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/integrals/rubi/rubi_tests/tests/test_sine.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | import sys
from sympy.external import import_module
matchpy = import_module("matchpy")
if not matchpy:
#bin/test will not execute any tests now
disabled = True
if sys.version_info[:2] < (3, 6):
disabled = True
from sympy.integrals.rubi.utility_function import (
sympy_op_factory, Int, ... | 240.107402 | 1,406 | 0.535374 | 39,656 | 165,434 | 2.178283 | 0.015382 | 0.063601 | 0.074703 | 0.068811 | 0.918038 | 0.914739 | 0.911556 | 0.90718 | 0.899643 | 0.889005 | 0 | 0.049768 | 0.112873 | 165,434 | 688 | 1,407 | 240.456395 | 0.538822 | 0.001819 | 0 | 0.008902 | 0 | 0.001484 | 0.000505 | 0 | 0 | 0 | 0 | 0 | 0.796736 | 1 | 0.001484 | false | 0 | 0.032641 | 0 | 0.034125 | 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 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ed560a4fccf0d8a26b6cf41e1e69866aa0233ac6 | 363 | py | Python | backup_codes/generated_xor_data.py | shridharmishra4/Artificial-neural-netowrks-in-C | 40f89aa3da9b2cc036df372e5bf5b6e7031d0d87 | [
"Apache-2.0"
] | null | null | null | backup_codes/generated_xor_data.py | shridharmishra4/Artificial-neural-netowrks-in-C | 40f89aa3da9b2cc036df372e5bf5b6e7031d0d87 | [
"Apache-2.0"
] | null | null | null | backup_codes/generated_xor_data.py | shridharmishra4/Artificial-neural-netowrks-in-C | 40f89aa3da9b2cc036df372e5bf5b6e7031d0d87 | [
"Apache-2.0"
] | null | null | null |
with open("validate.txt","w") as f:
for i in range(25):
f.writelines("{0} {1} {2}\n".format(0,0,0^0))
for i in range(25):
f.writelines("{0} {1} {2}\n".format(0, 1, 0 ^ 1))
for i in range(25):
f.writelines("{0} {1} {2}\n".format(1, 0, 1 ^ 0))
for i in range(25):
f.write... | 27.923077 | 57 | 0.482094 | 71 | 363 | 2.464789 | 0.253521 | 0.08 | 0.137143 | 0.251429 | 0.811429 | 0.811429 | 0.811429 | 0.811429 | 0.811429 | 0.811429 | 0 | 0.134328 | 0.261708 | 363 | 12 | 58 | 30.25 | 0.518657 | 0 | 0 | 0.444444 | 0 | 0 | 0.180055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c1dc3417d4b0cae09f5728d8a9a1215e29755db | 5,608 | py | Python | tests/test_syntax/inline/images.py | rossant/Python-Markdown | 8c0698b013edeb82586290e637df7c30ede81b5a | [
"BSD-3-Clause"
] | null | null | null | tests/test_syntax/inline/images.py | rossant/Python-Markdown | 8c0698b013edeb82586290e637df7c30ede81b5a | [
"BSD-3-Clause"
] | null | null | null | tests/test_syntax/inline/images.py | rossant/Python-Markdown | 8c0698b013edeb82586290e637df7c30ede81b5a | [
"BSD-3-Clause"
] | null | null | null | from markdown.test_tools import TestCase
class TestAdvancedImages(TestCase):
def test_nested_square_brackets(self):
self.assertMarkdownRenders(
"""![Text[[[[[[[]]]]]]][]](http://link.com/image.png) more text""",
"""<p><img alt="Text[[[[[[[]]]]]]][]" src="http://link.com/image.png"... | 40.057143 | 119 | 0.526034 | 647 | 5,608 | 4.457496 | 0.09119 | 0.07767 | 0.106796 | 0.116505 | 0.843967 | 0.837379 | 0.834951 | 0.834951 | 0.750347 | 0.722607 | 0 | 0.00264 | 0.256954 | 5,608 | 139 | 120 | 40.345324 | 0.689465 | 0 | 0 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.235294 | false | 0 | 0.011765 | 0 | 0.258824 | 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 |
9c2352932d298fc00d115f31134fdaff41eb9e22 | 101 | py | Python | Python/Tests/TestData/Grammar/ClassDef3x.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Grammar/ClassDef3x.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Grammar/ClassDef3x.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | class C(metaclass=1): pass
class C(object, metaclass=1): pass
class C(list, object, fob=1): pass
| 25.25 | 35 | 0.693069 | 19 | 101 | 3.736842 | 0.473684 | 0.253521 | 0.394366 | 0.535211 | 0.56338 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.148515 | 101 | 3 | 36 | 33.666667 | 0.77907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 1 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
9c7a54f24104737efcd8b6d83b4fad34015e1189 | 2,233 | py | Python | miniconda3-lnx/pkgs/cryptography-2.9.2-py37h1ba5d50_0/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | null | null | null | miniconda3-lnx/pkgs/cryptography-2.9.2-py37h1ba5d50_0/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | null | null | null | miniconda3-lnx/pkgs/cryptography-2.9.2-py37h1ba5d50_0/info/test/run_test.py | Thibaut-Kovaltchouk/MultiPyzo | a15ecf77e31ebeb195e70385f5ac132f6ab4504d | [
"CC0-1.0"
] | null | null | null | # tests for cryptography-2.9.2-py37h1ba5d50_0 (this is a generated file);
print('===== testing package: cryptography-2.9.2-py37h1ba5d50_0 =====');
print('running run_test.py');
# --- run_test.py (begin) ---
import subprocess
import time
from cryptography.hazmat.backends.openssl import backend
# the version that cryp... | 33.833333 | 94 | 0.788177 | 276 | 2,233 | 6.307971 | 0.344203 | 0.268811 | 0.275704 | 0.166571 | 0.431936 | 0.048248 | 0 | 0 | 0 | 0 | 0 | 0.019569 | 0.08464 | 2,233 | 65 | 95 | 34.353846 | 0.832192 | 0.202866 | 0 | 0 | 1 | 0 | 0.42275 | 0.280136 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0 | false | 0 | 0.763158 | 0 | 0.763158 | 0.473684 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
135585d421a2730371b73ae0165bf864988ddb30 | 415 | py | Python | star4.py | anmol1455/python | 8e3858bdebb21ec3c9e8147ceef17a82b4a36926 | [
"bzip2-1.0.6"
] | null | null | null | star4.py | anmol1455/python | 8e3858bdebb21ec3c9e8147ceef17a82b4a36926 | [
"bzip2-1.0.6"
] | null | null | null | star4.py | anmol1455/python | 8e3858bdebb21ec3c9e8147ceef17a82b4a36926 | [
"bzip2-1.0.6"
] | null | null | null | for i in range(1,4,1):
print()
for j in range(1,3):
print("*",end=" ")
for k in range(1,3):
print(" ",end=" ")
for j in range(1,3):
print("*",end=" ")
for i in range(1,3):
print()
for j in range(1,7):
print("*",end=" ")
for i in range(1,8,1):
print()
for j... | 21.842105 | 26 | 0.438554 | 71 | 415 | 2.56338 | 0.183099 | 0.346154 | 0.395604 | 0.296703 | 0.983516 | 0.912088 | 0.818681 | 0.659341 | 0.659341 | 0.527473 | 0 | 0.071942 | 0.33012 | 415 | 18 | 27 | 23.055556 | 0.582734 | 0 | 0 | 0.777778 | 0 | 0 | 0.028916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
b93e078ae56275ddb2657451a96fcc0471f0fadb | 57 | py | Python | src/compiler.py | Mikerah/py-circom | 5ea4c788342301a24b9245feb6421746876df630 | [
"MIT"
] | 2 | 2020-04-18T12:58:44.000Z | 2020-04-18T13:05:32.000Z | src/compiler.py | Mikerah/py-circom | 5ea4c788342301a24b9245feb6421746876df630 | [
"MIT"
] | null | null | null | src/compiler.py | Mikerah/py-circom | 5ea4c788342301a24b9245feb6421746876df630 | [
"MIT"
] | null | null | null | from Lark import Lark
def circom_compiler():
pass
| 8.142857 | 22 | 0.701754 | 8 | 57 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245614 | 57 | 6 | 23 | 9.5 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
b94dcc36e2d626e18ccbca2731d79a8cf25be612 | 85 | py | Python | src/stitch_m/scripts/commandline.py | iandobbie/StitchM | 73e6692562c22106bf48454876050d14a6d52213 | [
"BSD-3-Clause"
] | null | null | null | src/stitch_m/scripts/commandline.py | iandobbie/StitchM | 73e6692562c22106bf48454876050d14a6d52213 | [
"BSD-3-Clause"
] | 5 | 2021-02-01T20:49:13.000Z | 2021-09-09T21:20:35.000Z | src/stitch_m/scripts/commandline.py | iandobbie/StitchM | 73e6692562c22106bf48454876050d14a6d52213 | [
"BSD-3-Clause"
] | 1 | 2021-02-03T14:39:17.000Z | 2021-02-03T14:39:17.000Z |
from stitch_m import argparse_entrypoint
def main():
argparse_entrypoint.main() | 17 | 40 | 0.788235 | 11 | 85 | 5.818182 | 0.727273 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 5 | 41 | 17 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b95bc40a653e805035b33629732db365d61193cf | 26,566 | py | Python | txdav/caldav/datastore/test/test_sql_external.py | eventable/CalendarServer | 384444edb1966b530bc391789afbe3fb9cd6fd3e | [
"Apache-2.0"
] | 1 | 2017-02-18T19:22:19.000Z | 2017-02-18T19:22:19.000Z | txdav/caldav/datastore/test/test_sql_external.py | eventable/CalendarServer | 384444edb1966b530bc391789afbe3fb9cd6fd3e | [
"Apache-2.0"
] | null | null | null | txdav/caldav/datastore/test/test_sql_external.py | eventable/CalendarServer | 384444edb1966b530bc391789afbe3fb9cd6fd3e | [
"Apache-2.0"
] | null | null | null | ##
# Copyright (c) 2013-2015 Apple Inc. 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 38.896047 | 117 | 0.682414 | 2,578 | 26,566 | 6.993018 | 0.103569 | 0.066896 | 0.069226 | 0.077213 | 0.834813 | 0.821611 | 0.801309 | 0.780896 | 0.767417 | 0.756213 | 0 | 0.024622 | 0.214184 | 26,566 | 682 | 118 | 38.953079 | 0.838954 | 0.062335 | 0 | 0.763514 | 0 | 0 | 0.055339 | 0.004395 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.040541 | false | 0 | 0.011261 | 0.002252 | 0.063063 | 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 |
b97ac8897802026797a1a65c6bbac982555d92e9 | 11,393 | py | Python | api_1.3/containerd/services/images/v1/images_pb2_grpc.py | siemens/pycontainerd | 9b1184ecbcc91144ad6903403818b5b8989a32f3 | [
"Apache-2.0"
] | 24 | 2019-12-16T12:38:51.000Z | 2022-02-16T18:44:20.000Z | api_1.5/containerd/services/images/v1/images_pb2_grpc.py | siemens/pycontainerd | 9b1184ecbcc91144ad6903403818b5b8989a32f3 | [
"Apache-2.0"
] | 9 | 2020-03-03T07:42:40.000Z | 2021-09-01T10:11:18.000Z | api_1.4/containerd/services/images/v1/images_pb2_grpc.py | siemens/pycontainerd | 9b1184ecbcc91144ad6903403818b5b8989a32f3 | [
"Apache-2.0"
] | 10 | 2019-12-16T11:20:23.000Z | 2022-01-24T01:53:13.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from containerd.services.images.v1 import images_pb2 as containerd_dot_services_dot_images_dot_v1_dot_images__pb2
from google.protobuf import empty_pb2 as google... | 47.273859 | 136 | 0.698762 | 1,260 | 11,393 | 5.980952 | 0.119841 | 0.066879 | 0.078025 | 0.089172 | 0.857086 | 0.85284 | 0.842489 | 0.812898 | 0.770303 | 0.770303 | 0 | 0.008531 | 0.238655 | 11,393 | 240 | 137 | 47.470833 | 0.860272 | 0.178355 | 0 | 0.490798 | 1 | 0 | 0.078789 | 0.050923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07362 | false | 0 | 0.018405 | 0.030675 | 0.141104 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b987499f9b20405c786ea15f917a86bdeebc41e0 | 1,548 | py | Python | code/sm_matrices.py | naoufal51/orion | 0beb3020a3ca0fa7a4113db23ef4767ac3d63624 | [
"MIT"
] | 13 | 2017-04-15T16:46:34.000Z | 2019-05-07T06:33:23.000Z | code/sm_matrices.py | naoufal51/orion | 0beb3020a3ca0fa7a4113db23ef4767ac3d63624 | [
"MIT"
] | 3 | 2017-07-26T09:01:26.000Z | 2020-10-01T16:25:08.000Z | code/sm_matrices.py | naoufal51/orion | 0beb3020a3ca0fa7a4113db23ef4767ac3d63624 | [
"MIT"
] | 8 | 2017-08-08T21:15:35.000Z | 2021-08-07T09:12:54.000Z | """sm_matrices.py
sm matrices used by the intel 5300 agn
Naoufal Mahfoudi (c) 2016 mohamed-naoufal.mahfoudi@inria.fr
"""
import numpy as np
# sm_1 = 1
#
# sm_2_20 = np.matrix('1 1; 1 -1') / np.sqrt(2)
#
# sm_2_40 = np.matrix('1 1; 1j 1') / np.sqrt(2)
#
# sm_3_20 = np.matrix('-2*np.pi/16 -2*np.pi/(80/33) 2*np.pi/(80... | 36.857143 | 96 | 0.463824 | 322 | 1,548 | 2.121118 | 0.130435 | 0.158126 | 0.263543 | 0.163982 | 0.84041 | 0.84041 | 0.84041 | 0.84041 | 0.837482 | 0.781845 | 0 | 0.236234 | 0.27261 | 1,548 | 41 | 97 | 37.756098 | 0.370337 | 0.471576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b99aeec863c277d8b0ead15aec523a9ccb9ea599 | 17,685 | py | Python | tests/api/crud/test_trigger_tags.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/api/crud/test_trigger_tags.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | 43 | 2019-06-01T23:08:32.000Z | 2022-02-07T22:24:53.000Z | tests/api/crud/test_trigger_tags.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | from fastapi.encoders import jsonable_encoder
from freezegun import freeze_time
import pytest
from sqlalchemy.orm import Session
from ultron8.api import crud
from ultron8.api.db_models.trigger import TriggerDB
from ultron8.api.models.packs import PacksCreate
from ultron8.api.models.trigger import (
TriggerBaseDB,
... | 32.096189 | 82 | 0.715069 | 2,092 | 17,685 | 5.677342 | 0.059273 | 0.073167 | 0.113076 | 0.133367 | 0.86436 | 0.853498 | 0.8439 | 0.839017 | 0.839017 | 0.833291 | 0 | 0.022732 | 0.194063 | 17,685 | 550 | 83 | 32.154545 | 0.810566 | 0 | 0 | 0.772632 | 0 | 0 | 0.077693 | 0.026011 | 0 | 0 | 0 | 0 | 0.048421 | 1 | 0.016842 | false | 0 | 0.018947 | 0 | 0.035789 | 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 |
b9f227157f9ae198fc5fb6787602709419f32850 | 1,351 | py | Python | data/datasets/7b/voices.inc.py | CherokeeLanguage/Cherokee-TTS | de034392ba8934fd8468617ebd7fcd8dace91162 | [
"MIT"
] | 5 | 2020-10-12T16:07:53.000Z | 2022-01-12T17:52:43.000Z | data/datasets/5f/voices.inc.py | CherokeeLanguage/Cherokee-TTS | de034392ba8934fd8468617ebd7fcd8dace91162 | [
"MIT"
] | null | null | null | data/datasets/5f/voices.inc.py | CherokeeLanguage/Cherokee-TTS | de034392ba8934fd8468617ebd7fcd8dace91162 | [
"MIT"
] | 1 | 2020-10-30T06:53:18.000Z | 2020-10-30T06:53:18.000Z | voices: list[str] = ["03-chr", "10-chr", "02-ru", "01-m-ssw-chr", "04-fr", "05-ru", "360-en-m", "329-en-f", "361-en-f", "308-en-f", "311-en-m", "334-en-m", "362-en-f", "330-en-f", "339-en-f", "294-en-f", "310-en-f", "318-en-f", "333-en-f", "305-en-f", "297-en-f", "301-en-f", "27-de", "341-en-f", "299-en-f", "300-en-f",... | 675.5 | 1,350 | 0.486306 | 309 | 1,351 | 2.106796 | 0.281553 | 0.078341 | 0.043011 | 0.041475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229696 | 0.097705 | 1,351 | 1 | 1,351 | 1,351 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0.603997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9f4604b081f940cee670899b0f3a63167bc3e8c | 92 | py | Python | wildfirepy/net/__init__.py | ram-nad/wildfirepy | 7c449357ddbafa9ef9797b58fabf44d8a1f54137 | [
"MIT"
] | null | null | null | wildfirepy/net/__init__.py | ram-nad/wildfirepy | 7c449357ddbafa9ef9797b58fabf44d8a1f54137 | [
"MIT"
] | 4 | 2020-05-07T07:04:55.000Z | 2020-05-08T12:47:41.000Z | wildfirepy/net/__init__.py | ram-nad/wildfirepy | 7c449357ddbafa9ef9797b58fabf44d8a1f54137 | [
"MIT"
] | null | null | null | from wildfirepy.net import util
from wildfirepy.net import usgs
__all__ = ['usgs', 'util']
| 18.4 | 31 | 0.75 | 13 | 92 | 5 | 0.538462 | 0.430769 | 0.523077 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 4 | 32 | 23 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 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 |
e01793be5f44283b451c12c8958c07362787f353 | 4,174 | py | Python | tests/test_io.py | rahulbhadani/hcipy | b52726cb9502b5225ddff9d7b1ff417f2350cda8 | [
"MIT"
] | null | null | null | tests/test_io.py | rahulbhadani/hcipy | b52726cb9502b5225ddff9d7b1ff417f2350cda8 | [
"MIT"
] | null | null | null | tests/test_io.py | rahulbhadani/hcipy | b52726cb9502b5225ddff9d7b1ff417f2350cda8 | [
"MIT"
] | null | null | null | import numpy as np
import os
from hcipy import *
"""
def test_write_mode_basis():
# grid for the test mode basis
pupil_grid = make_pupil_grid(128)
# generating a test mode basis
test_mode_basis = make_zernike_basis(num_modes=20, D=1, grid=pupil_grid, starting_mode=1, ansi=False, radial_cutoff=True)
file_name =... | 35.675214 | 122 | 0.723527 | 704 | 4,174 | 4.015625 | 0.130682 | 0.200566 | 0.174744 | 0.072161 | 0.855677 | 0.831977 | 0.818182 | 0.818182 | 0.789883 | 0.789883 | 0 | 0.034157 | 0.137278 | 4,174 | 117 | 123 | 35.675214 | 0.750903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
e0297dda2f8aa945c1bdc99cb0ae6de51836f3a5 | 77 | py | Python | CodeUp/1534.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/1534.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/1534.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | # 함수로 실수(double) 3.1415926535897 리턴하기
def f():
print(3.1415926535897)
f() | 19.25 | 37 | 0.688312 | 12 | 77 | 4.416667 | 0.75 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.430769 | 0.155844 | 77 | 4 | 38 | 19.25 | 0.384615 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e0529bb59750569b4010e063ae86f405220f24ca | 90 | py | Python | principal.py | 7RogerIkeda/Travis_teste | 034d625f32f3487c4c4923ea2d868d37bf0677d2 | [
"Apache-2.0"
] | null | null | null | principal.py | 7RogerIkeda/Travis_teste | 034d625f32f3487c4c4923ea2d868d37bf0677d2 | [
"Apache-2.0"
] | null | null | null | principal.py | 7RogerIkeda/Travis_teste | 034d625f32f3487c4c4923ea2d868d37bf0677d2 | [
"Apache-2.0"
] | null | null | null | def somar(x,y):
return x+ y
def subtrair (x,y):
return x- y
def mult():
pass
| 11.25 | 19 | 0.555556 | 17 | 90 | 2.941176 | 0.470588 | 0.16 | 0.32 | 0.36 | 0.52 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 90 | 7 | 20 | 12.857143 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.166667 | 0 | 0.333333 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
e07216ae0a66acc75116aaf06810abd64420d527 | 18,981 | py | Python | pymove/tests/test_semantic.py | JoaoCarabetta/PyMove | 0b712a9b65e0a5666db4bfecee3cd038ed155f7d | [
"MIT"
] | 1 | 2022-01-25T19:57:23.000Z | 2022-01-25T19:57:23.000Z | pymove/tests/test_semantic.py | safarzadeh-reza/PyMove | c04f365499cc201c14d4fcf86e40e8fce43e2906 | [
"MIT"
] | null | null | null | pymove/tests/test_semantic.py | safarzadeh-reza/PyMove | c04f365499cc201c14d4fcf86e40e8fce43e2906 | [
"MIT"
] | null | null | null |
from numpy import nan
from pandas import DataFrame, Timestamp
from pandas.testing import assert_frame_equal
from pymove import MoveDataFrame, semantic
from pymove.utils.constants import (
BLOCK,
DATETIME,
LATITUDE,
LONGITUDE,
SEGMENT_STOP,
TRAJ_ID,
)
list_data = [
[39.984094, 116.319236, ... | 39.626305 | 86 | 0.552026 | 2,912 | 18,981 | 3.45261 | 0.056662 | 0.071613 | 0.095484 | 0.119355 | 0.905411 | 0.890591 | 0.889198 | 0.873085 | 0.865725 | 0.827432 | 0 | 0.334236 | 0.280122 | 18,981 | 478 | 87 | 39.709205 | 0.401566 | 0.000632 | 0 | 0.53202 | 0 | 0 | 0.152167 | 0 | 0 | 0 | 0 | 0 | 0.061576 | 1 | 0.027094 | false | 0 | 0.012315 | 0 | 0.041872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0ebf3ba7a7f17a15f702da54be665980146f4e40 | 262 | py | Python | Sources/Workflows/Command-Help/alp/__init__.py | yagosys/AlfredWorkflow.com | 9e5087e61fb89640a7a6ca89ba554303aec0b037 | [
"MIT"
] | 2,177 | 2015-01-02T09:56:51.000Z | 2022-03-27T01:48:37.000Z | Sources/Workflows/Command-Help/alp/__init__.py | yagosys/AlfredWorkflow.com | 9e5087e61fb89640a7a6ca89ba554303aec0b037 | [
"MIT"
] | 24 | 2015-01-02T19:11:51.000Z | 2021-01-27T07:20:33.000Z | Sources/Workflows/Command-Help/alp/__init__.py | yagosys/AlfredWorkflow.com | 9e5087e61fb89640a7a6ca89ba554303aec0b037 | [
"MIT"
] | 516 | 2015-01-02T18:48:29.000Z | 2022-01-26T07:12:35.000Z | from .core import *
try:
from .item import *
from .keychain import *
from .settings import *
from .mail import *
from alp.request.request import *
except ImportError:
pass
try:
from .notification import *
except ImportError:
pass
| 18.714286 | 37 | 0.667939 | 31 | 262 | 5.645161 | 0.451613 | 0.228571 | 0.262857 | 0.308571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259542 | 262 | 13 | 38 | 20.153846 | 0.902062 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.153846 | 0.692308 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
0ed0dd673451109629565023694e7e4eff651b32 | 452,672 | py | Python | tests/rsc/schemas/input_json_schemas_shopify.py | hotgluexyz/target-bigquery | 8b9f6f0ca652dd1ac408965a4e5af06cc1cd344f | [
"BSD-3-Clause"
] | 10 | 2020-09-28T15:12:17.000Z | 2021-12-03T12:39:23.000Z | tests/rsc/schemas/input_json_schemas_shopify.py | hotgluexyz/target-bigquery | 8b9f6f0ca652dd1ac408965a4e5af06cc1cd344f | [
"BSD-3-Clause"
] | 26 | 2021-01-04T14:01:07.000Z | 2022-03-27T22:53:34.000Z | tests/rsc/schemas/input_json_schemas_shopify.py | hotgluexyz/target-bigquery | 8b9f6f0ca652dd1ac408965a4e5af06cc1cd344f | [
"BSD-3-Clause"
] | 39 | 2020-10-01T18:16:20.000Z | 2022-03-11T16:14:41.000Z |
"""
shopify_orders_malformed:
this schema is from here: https://bitbucket.org/analyticspros/dt-singerio-shopify/commits/
it has three instances of this:
,
{
"properties": {},
"type": [
"null",
"object"
... | 28.565154 | 99 | 0.167704 | 13,005 | 452,672 | 5.713725 | 0.025221 | 0.209509 | 0.20706 | 0.119289 | 0.966033 | 0.955361 | 0.951741 | 0.936789 | 0.91445 | 0.90838 | 0 | 0.00256 | 0.73684 | 452,672 | 15,847 | 100 | 28.565154 | 0.621213 | 0.002136 | 0 | 0.675557 | 0 | 0 | 0.999151 | 0.012802 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 10 |
0ed51f28ba67a1d02a10a4fc54a5773f0a350f91 | 58,747 | py | Python | hs_core/tests/api/rest/test_resource_science_meta.py | kjlippold/hydroshare | a82c6a3ce2aee3f00d1a1022f7c328e6a610fc3f | [
"BSD-3-Clause"
] | null | null | null | hs_core/tests/api/rest/test_resource_science_meta.py | kjlippold/hydroshare | a82c6a3ce2aee3f00d1a1022f7c328e6a610fc3f | [
"BSD-3-Clause"
] | null | null | null | hs_core/tests/api/rest/test_resource_science_meta.py | kjlippold/hydroshare | a82c6a3ce2aee3f00d1a1022f7c328e6a610fc3f | [
"BSD-3-Clause"
] | null | null | null | from rest_framework import status
from hs_core.hydroshare import resource
from hs_core.hydroshare.utils import resource_post_create_actions
from .base import HSRESTTestCase
class TestResourceScienceMetadata(HSRESTTestCase):
def setUp(self):
super(TestResourceScienceMetadata, self).setUp()
self.... | 40.543133 | 100 | 0.477795 | 4,794 | 58,747 | 5.700459 | 0.09637 | 0.029859 | 0.01493 | 0.012295 | 0.948331 | 0.944379 | 0.936366 | 0.934133 | 0.925461 | 0.914447 | 0 | 0.047756 | 0.395476 | 58,747 | 1,448 | 101 | 40.571133 | 0.721744 | 0.04659 | 0 | 0.78518 | 0 | 0.001497 | 0.313112 | 0.040001 | 0 | 0 | 0 | 0 | 0.034431 | 1 | 0.018713 | false | 0 | 0.002994 | 0 | 0.022455 | 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 |
1623521771de97b8ec1428ee8e1cf9b7f82faa6f | 188 | py | Python | src/simplify/__init__.py | kratsg/simplify | 9b9245dce6ff433f10f9e471e94d321106fdfaba | [
"BSD-3-Clause"
] | 4 | 2020-11-25T16:02:07.000Z | 2021-11-13T13:05:09.000Z | src/simplify/__init__.py | kratsg/simplify | 9b9245dce6ff433f10f9e471e94d321106fdfaba | [
"BSD-3-Clause"
] | 19 | 2020-11-25T16:05:17.000Z | 2021-11-10T18:12:24.000Z | src/simplify/__init__.py | kratsg/simplify | 9b9245dce6ff433f10f9e471e94d321106fdfaba | [
"BSD-3-Clause"
] | 2 | 2020-11-25T16:10:48.000Z | 2021-11-08T15:20:59.000Z | from . import model_tools # NOQA
from . import plot # NOQA
from . import fitter # NOQA
from . import configuration # NOQA
from . import yields # NOQA
from . import simplified # NOQA
| 26.857143 | 35 | 0.712766 | 25 | 188 | 5.32 | 0.4 | 0.451128 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223404 | 188 | 6 | 36 | 31.333333 | 0.910959 | 0.154255 | 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 |
1646741defe104df90b88616f54259d3160f0c8a | 75,967 | py | Python | imageme.py | gimmeyoon/imageme | fdf83ecfc3ae28e5de32c315f95bd31f2b15cc3f | [
"MIT"
] | null | null | null | imageme.py | gimmeyoon/imageme | fdf83ecfc3ae28e5de32c315f95bd31f2b15cc3f | [
"MIT"
] | null | null | null | imageme.py | gimmeyoon/imageme | fdf83ecfc3ae28e5de32c315f95bd31f2b15cc3f | [
"MIT"
] | null | null | null | #!/usr/bin/python
"""
imageMe is a super simple image gallery server.
Run imageme.py from the top level of an image directory to generate gallery
index HTML and run a SimpleHTTPServer on the localhost.
Imported as a module, use imageme.serve_dir(your_path) to do the same for any
directory programmatically. When run a... | 155.351738 | 57,015 | 0.881778 | 5,217 | 75,967 | 12.772666 | 0.52674 | 0.007699 | 0.005358 | 0.002881 | 0.056652 | 0.049433 | 0.046972 | 0.046102 | 0.043761 | 0.042965 | 0 | 0.109361 | 0.064857 | 75,967 | 488 | 57,016 | 155.670082 | 0.828632 | 0.131715 | 0 | 0.189815 | 1 | 0 | 0.893846 | 0.873368 | 0 | 1 | 0.000061 | 0 | 0 | 1 | 0.074074 | false | 0.00463 | 0.018519 | 0 | 0.199074 | 0.074074 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
166b0e9fcf52d892b054f980b0113351603fa15c | 12,723 | py | Python | tests/resampler_batch_test.py | tdml13/NiftyNet | b35fa19ca307e81d229e2fe8269a417724833da2 | [
"Apache-2.0"
] | 1,403 | 2017-08-30T11:49:45.000Z | 2022-03-31T11:44:05.000Z | tests/resampler_batch_test.py | tdml13/NiftyNet | b35fa19ca307e81d229e2fe8269a417724833da2 | [
"Apache-2.0"
] | 360 | 2017-10-03T15:33:53.000Z | 2021-03-17T06:27:38.000Z | tests/resampler_batch_test.py | tdml13/NiftyNet | b35fa19ca307e81d229e2fe8269a417724833da2 | [
"Apache-2.0"
] | 464 | 2017-09-13T20:56:32.000Z | 2022-02-11T20:33:47.000Z | from __future__ import absolute_import, print_function, division
import numpy as np
import tensorflow as tf
from niftynet.layer.resampler import ResamplerLayer
from tests.niftynet_testcase import NiftyNetTestCase
class ResamplerTest(NiftyNetTestCase):
def test_shape_interface(self):
test_input = tf.zer... | 43.571918 | 76 | 0.516545 | 1,865 | 12,723 | 3.38445 | 0.04504 | 0.136882 | 0.080323 | 0.117395 | 0.944867 | 0.94455 | 0.94455 | 0.940906 | 0.940748 | 0.938371 | 0 | 0.081992 | 0.316513 | 12,723 | 291 | 77 | 43.721649 | 0.643859 | 0.008096 | 0 | 0.863454 | 0 | 0 | 0.008255 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 1 | 0.028112 | false | 0 | 0.02008 | 0 | 0.052209 | 0.004016 | 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 |
167b34c312d1a59bc27b2a2321cd692d9e8b7a5c | 214,271 | py | Python | msgraph-cli-extensions/v1_0/planner_v1_0/azext_planner_v1_0/generated/custom.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/v1_0/planner_v1_0/azext_planner_v1_0/generated/custom.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/v1_0/planner_v1_0/azext_planner_v1_0/generated/custom.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 53.972544 | 110 | 0.422288 | 16,306 | 214,271 | 5.066356 | 0.007114 | 0.096959 | 0.063732 | 0.068089 | 0.992967 | 0.98873 | 0.986382 | 0.984457 | 0.976468 | 0.972316 | 0 | 0.000352 | 0.523253 | 214,271 | 3,969 | 111 | 53.986143 | 0.808356 | 0.002193 | 0 | 0.920259 | 0 | 0 | 0.071194 | 0.025007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057763 | false | 0 | 0 | 0.036912 | 0.115526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
1682a7be2337c1b4eb7b2b00ef83ea6214262534 | 6,221 | py | Python | tensorflow-keras-mnist-demonstration.py | Xiaoyu-Xing/learning-machine-learning | 92fc86a3b18b34d7d91e24d3e1693f27611cb08e | [
"MIT"
] | 2 | 2019-02-16T21:41:30.000Z | 2019-02-17T17:43:42.000Z | tensorflow-keras-mnist-demonstration.py | Xiaoyu-Xing/learning-machine-learning | 92fc86a3b18b34d7d91e24d3e1693f27611cb08e | [
"MIT"
] | null | null | null | tensorflow-keras-mnist-demonstration.py | Xiaoyu-Xing/learning-machine-learning | 92fc86a3b18b34d7d91e24d3e1693f27611cb08e | [
"MIT"
] | null | null | null | import tensorflow as tf
import time
mnist = tf.keras.datasets.mnist
# Train 60000, test 10000
(x_train, y_train), (x_test, y_test) = mnist.load_data()
# Normalize
x_train, x_test = x_train / 255.0, x_test / 255.0
# Naive NN with 3 layers, SGD 0.01 lr, cross entropy loss
def test1():
start = time.time()
model... | 34.949438 | 81 | 0.618229 | 833 | 6,221 | 4.52461 | 0.120048 | 0.098435 | 0.110374 | 0.114619 | 0.885381 | 0.885381 | 0.877952 | 0.865216 | 0.865216 | 0.862563 | 0 | 0.039804 | 0.244816 | 6,221 | 177 | 82 | 35.146893 | 0.762452 | 0.05176 | 0 | 0.829932 | 0 | 0 | 0.052989 | 0.04212 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054422 | false | 0 | 0.013605 | 0 | 0.068027 | 0.061224 | 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 |
169f25a6eaf477c587eec04cd7cb0c755def08e1 | 15,920 | py | Python | alad/svhn_utilities.py | jzhao23/Adversarially-Learned-Anomaly-Detection | d01ce7fb15265d36de7550c92dbacbbb071fb9d2 | [
"MIT"
] | null | null | null | alad/svhn_utilities.py | jzhao23/Adversarially-Learned-Anomaly-Detection | d01ce7fb15265d36de7550c92dbacbbb071fb9d2 | [
"MIT"
] | null | null | null | alad/svhn_utilities.py | jzhao23/Adversarially-Learned-Anomaly-Detection | d01ce7fb15265d36de7550c92dbacbbb071fb9d2 | [
"MIT"
] | null | null | null | """
CIFAR10 ALAD architecture.
Generator (decoder), encoder and discriminator.
"""
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
from utils import sn
learning_rate = 0.0002
batch_size = 32
latent_dim = 100
init_kernel = tf.random_normal_initializer(mean=0.0, stddev=0.01)
def leakyReLu(x, alpha=0.2, na... | 37.370892 | 82 | 0.468467 | 1,564 | 15,920 | 4.588875 | 0.095269 | 0.04194 | 0.054619 | 0.074126 | 0.853421 | 0.838094 | 0.810227 | 0.794622 | 0.736937 | 0.725373 | 0 | 0.024794 | 0.450251 | 15,920 | 426 | 83 | 37.370892 | 0.795247 | 0.141834 | 0 | 0.72242 | 0 | 0 | 0.054665 | 0.009546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021352 | false | 0 | 0.007117 | 0 | 0.053381 | 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 |
16a6913c3581e2f794a3996d00e10562614169eb | 158 | py | Python | src/monitoring/notifications/__init__.py | gkovacs81/argus_server | 97ebf705ed3e61a69bd561faf495e2c19bda510d | [
"MIT"
] | null | null | null | src/monitoring/notifications/__init__.py | gkovacs81/argus_server | 97ebf705ed3e61a69bd561faf495e2c19bda510d | [
"MIT"
] | 3 | 2021-06-02T04:07:35.000Z | 2021-12-27T20:21:46.000Z | src/monitoring/notifications/__init__.py | gkovacs81/argus_server | 97ebf705ed3e61a69bd561faf495e2c19bda510d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: Gábor Kovács
# @Date: 2021-02-25 20:08:34
# @Last Modified by: Gábor Kovács
# @Last Modified time: 2021-02-25 20:08:35
| 26.333333 | 42 | 0.632911 | 27 | 158 | 3.703704 | 0.666667 | 0.22 | 0.16 | 0.2 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224806 | 0.183544 | 158 | 5 | 43 | 31.6 | 0.550388 | 0.93038 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bc56c2f2d9b6ad38f3a61ca4dd5ca6f490c4d6fd | 6,068 | py | Python | Whop.py | xliquid808/WhoopSongInfoGrabber | f7a6fa5c929182094e1a5433b88c956d99ff870e | [
"Apache-2.0"
] | null | null | null | Whop.py | xliquid808/WhoopSongInfoGrabber | f7a6fa5c929182094e1a5433b88c956d99ff870e | [
"Apache-2.0"
] | null | null | null | Whop.py | xliquid808/WhoopSongInfoGrabber | f7a6fa5c929182094e1a5433b88c956d99ff870e | [
"Apache-2.0"
] | null | null | null | import glob
import os
import time
from mp3_tagger import MP3File
def search_for_song(filename):
import mp3_tagger
from selenium import webdriver
webdriver = webdriver.Chrome()
webdriver.get("https://genius.com/search?q=" + file_query[0])
time.sleep(5)
webdriver.find_element_by_xpath('//*[@id=... | 45.62406 | 247 | 0.582564 | 815 | 6,068 | 4.202454 | 0.123926 | 0.056058 | 0.044964 | 0.122044 | 0.872701 | 0.872701 | 0.872117 | 0.852847 | 0.839124 | 0.839124 | 0 | 0.025193 | 0.254285 | 6,068 | 132 | 248 | 45.969697 | 0.731713 | 0 | 0 | 0.778947 | 0 | 0.147368 | 0.368326 | 0.312788 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010526 | false | 0 | 0.063158 | 0 | 0.073684 | 0.168421 | 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 |
bc6d333b2480b8c74cc013e8fb1025b883c44024 | 8,056 | py | Python | day22_pong/draw_number.py | frnkvsk/python100days | 70d607ca58a526f0d66544ed65405b2425718108 | [
"Unlicense"
] | null | null | null | day22_pong/draw_number.py | frnkvsk/python100days | 70d607ca58a526f0d66544ed65405b2425718108 | [
"Unlicense"
] | null | null | null | day22_pong/draw_number.py | frnkvsk/python100days | 70d607ca58a526f0d66544ed65405b2425718108 | [
"Unlicense"
] | null | null | null | from turtle import Turtle
class DrawScore:
def __init__(self, num, x, y):
self.segments = [[] for _ in range(5)]
self.create_segments(x, y)
self.draw_number(num)
def create_segments(self, x, y):
for i in range(0, 5):
for j in range(0, 3):
... | 36.618182 | 60 | 0.49007 | 1,004 | 8,056 | 3.921315 | 0.043825 | 0.463297 | 0.330709 | 0.519685 | 0.930404 | 0.923038 | 0.923038 | 0.923038 | 0.923038 | 0.923038 | 0 | 0.057859 | 0.311321 | 8,056 | 219 | 61 | 36.785388 | 0.651766 | 0 | 0 | 0.850575 | 0 | 0 | 0.096465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0 | 0.005747 | 0 | 0.028736 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 10 |
bc7ab283bc3faf06f35ab56f7c809e433a119308 | 48,192 | py | Python | Segmentation_UGSCNN/Projected_ResNet/MyDataLoader.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 2 | 2021-12-04T07:04:56.000Z | 2021-12-13T16:28:50.000Z | Segmentation_UGSCNN/Projected_ResNet/MyDataLoader.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 1 | 2021-12-21T09:36:11.000Z | 2022-01-25T10:26:43.000Z | Segmentation_UGSCNN/Projected_ResNet/MyDataLoader.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 1 | 2022-02-27T17:38:19.000Z | 2022-02-27T17:38:19.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Sep 15 17:29:27 2020
@author: fa19
"""
import nibabel as nb
import numpy as np
import torch
import random
import torch.nn.functional as F
means = np.load('../dHCP_mean_seg.npy')
std = np.load('../dHCP_std_seg.npy')
means = torch.from_numpy(means)
s... | 34.033898 | 182 | 0.530441 | 5,596 | 48,192 | 4.414939 | 0.061294 | 0.028495 | 0.038412 | 0.03234 | 0.940581 | 0.928641 | 0.923379 | 0.917146 | 0.915041 | 0.905043 | 0 | 0.016306 | 0.382823 | 48,192 | 1,415 | 183 | 34.057951 | 0.814343 | 0.248257 | 0 | 0.891228 | 0 | 0 | 0.077444 | 0.010651 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.047368 | false | 0 | 0.010526 | 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 |
bce0ed0aa53c5a99a6da90b880ed1dc0f5e37446 | 54,303 | py | Python | trankit/pipeline.py | wdhxek/trankit | 8d1ce9f1a00a86a3d4c87d2e9bfd17daba098bfc | [
"Apache-2.0"
] | 1 | 2021-04-07T04:35:47.000Z | 2021-04-07T04:35:47.000Z | trankit/pipeline.py | wdhxek/trankit | 8d1ce9f1a00a86a3d4c87d2e9bfd17daba098bfc | [
"Apache-2.0"
] | null | null | null | trankit/pipeline.py | wdhxek/trankit | 8d1ce9f1a00a86a3d4c87d2e9bfd17daba098bfc | [
"Apache-2.0"
] | null | null | null | from .config import config as master_config
from .models.base_models import Multilingual_Embedding
from .models.classifiers import TokenizerClassifier, PosDepClassifier, NERClassifier
from .models.mwt_model import MWTWrapper
from .models.lemma_model import LemmaWrapper
from .iterators.tokenizer_iterators import To... | 48.226465 | 166 | 0.565936 | 6,399 | 54,303 | 4.514455 | 0.058134 | 0.036693 | 0.017447 | 0.02077 | 0.825845 | 0.807844 | 0.788978 | 0.777209 | 0.768174 | 0.760454 | 0 | 0.007422 | 0.342449 | 54,303 | 1,125 | 167 | 48.269333 | 0.801608 | 0.04904 | 0 | 0.732584 | 0 | 0.010112 | 0.046035 | 0.000935 | 0 | 0 | 0 | 0 | 0.033708 | 1 | 0.030337 | false | 0 | 0.017978 | 0 | 0.088764 | 0.023596 | 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 |
4c196fa1c178a8046261245a00e427b5e1eecea2 | 3,490 | py | Python | flatland/database/population/drawing/closed_shape_fill_instances.py | erik-soederholm/flatland-model-diagram-editor | 088e27cded9eca2cacba2c6168c03caf4b43ef72 | [
"MIT"
] | 10 | 2021-01-03T16:47:34.000Z | 2022-03-30T18:47:07.000Z | flatland/database/population/drawing/closed_shape_fill_instances.py | modelint/flatland-model-diagram-editor | 088e27cded9eca2cacba2c6168c03caf4b43ef72 | [
"MIT"
] | 91 | 2021-01-09T02:14:13.000Z | 2022-02-24T10:24:10.000Z | flatland/database/population/drawing/closed_shape_fill_instances.py | erik-soederholm/flatland-model-diagram-editor | 088e27cded9eca2cacba2c6168c03caf4b43ef72 | [
"MIT"
] | 1 | 2021-01-13T22:13:19.000Z | 2021-01-13T22:13:19.000Z | """
closed_shape_fill_instances.py
"""
population = [
# Title block boxes
{'Asset': 'Block border', 'Presentation': 'default', 'Drawing type': 'OS Engineer large frame', 'Fill': 'white'},
{'Asset': 'Block border', 'Presentation': 'default', 'Drawing type': 'OS Engineer medium frame', 'Fill': 'white'},
... | 68.431373 | 128 | 0.646132 | 365 | 3,490 | 6.169863 | 0.128767 | 0.219361 | 0.300178 | 0.346359 | 0.923623 | 0.913854 | 0.909858 | 0.899201 | 0.886767 | 0.832593 | 0 | 0 | 0.153868 | 3,490 | 50 | 129 | 69.8 | 0.762614 | 0.032665 | 0 | 0.263158 | 0 | 0 | 0.678752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.