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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e22ce0744b5992da29b3bb2c5f852c9d7b69cb4e | 210 | py | Python | iris_sdk/models/data/ord/city_search_order.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | iris_sdk/models/data/ord/city_search_order.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | iris_sdk/models/data/ord/city_search_order.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
from iris_sdk.models.base_resource import BaseData
from iris_sdk.models.maps.ord.city_search_order import CitySearchOrderMap
class CitySearchOrder(CitySearchOrderMap, BaseData):
pass | 30 | 73 | 0.838095 | 28 | 210 | 6.107143 | 0.75 | 0.093567 | 0.128655 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090476 | 210 | 7 | 74 | 30 | 0.895288 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e268687fa1c123ed2c84de4abe445ff07847470e | 16,999 | py | Python | tests/ut/python/fallback/syntax/test_isinstance.py | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-03-30T03:43:29.000Z | 2022-03-30T03:43:29.000Z | tests/ut/python/fallback/syntax/test_isinstance.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | tests/ut/python/fallback/syntax/test_isinstance.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 24.353868 | 110 | 0.651862 | 2,171 | 16,999 | 4.957623 | 0.077384 | 0.117068 | 0.066338 | 0.128775 | 0.878008 | 0.869832 | 0.858404 | 0.833504 | 0.807396 | 0.784725 | 0 | 0.012944 | 0.241014 | 16,999 | 697 | 111 | 24.388809 | 0.821268 | 0.345197 | 0 | 0.644518 | 0 | 0 | 0.038439 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.299003 | false | 0 | 0.026578 | 0.126246 | 0.495017 | 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 | 1 | 0 | 0 | 0 | 8 |
e27bcb77e6176e1a8fc47192a0c1968674e1f99a | 196 | py | Python | python_iugu/request/__init__.py | guiflemes/python_iugu | e7efca84e76ebd5b99773f4e57a14f991fbcb520 | [
"MIT"
] | 2 | 2021-01-07T14:31:16.000Z | 2021-07-16T11:49:18.000Z | python_iugu/request/__init__.py | guiflemes/python_iugu | e7efca84e76ebd5b99773f4e57a14f991fbcb520 | [
"MIT"
] | 1 | 2021-08-05T00:51:40.000Z | 2021-08-06T17:14:42.000Z | python_iugu/request/__init__.py | guiflemes/python_iugu | e7efca84e76ebd5b99773f4e57a14f991fbcb520 | [
"MIT"
] | 1 | 2021-08-24T23:49:08.000Z | 2021-08-24T23:49:08.000Z | from python_iugu.request import subscription_request
from python_iugu.request import customer_request
from python_iugu.request import invoice_request
from python_iugu.request import utils_request
| 39.2 | 52 | 0.897959 | 28 | 196 | 6 | 0.321429 | 0.238095 | 0.333333 | 0.5 | 0.767857 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 196 | 4 | 53 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
e29dad435564d2828da36adfc12de58704504d87 | 1,231 | py | Python | wsgi/iportalen_django/speaker_list/utils.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 4 | 2016-09-21T17:06:01.000Z | 2018-02-06T16:36:44.000Z | wsgi/iportalen_django/speaker_list/utils.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 149 | 2016-03-07T23:50:47.000Z | 2022-03-11T23:16:33.000Z | wsgi/iportalen_django/speaker_list/utils.py | I-sektionen/i-portalen | 1713e5814d40c0da1bf3278d60a561e7d3df3550 | [
"MIT"
] | 1 | 2016-03-07T23:02:06.000Z | 2016-03-07T23:02:06.000Z | from django.http import JsonResponse
from .models import SpeakerList
from .exceptions import SpeakerListException
from django.utils.translation import ugettext as _
def add_to_speakerlist(event, speech_nr):
try:
user = event.entryasparticipant_set.get(speech_nr=speech_nr).user
SpeakerList.objects.... | 34.194444 | 83 | 0.701868 | 140 | 1,231 | 6.057143 | 0.285714 | 0.169811 | 0.226415 | 0.091981 | 0.73467 | 0.73467 | 0.73467 | 0.73467 | 0.73467 | 0.73467 | 0 | 0 | 0.186028 | 1,231 | 35 | 84 | 35.171429 | 0.846307 | 0 | 0 | 0.642857 | 0 | 0 | 0.104065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.142857 | 0 | 0.535714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
2ca5cb37e2db615334da65a6d7b9c96ef1817571 | 89 | py | Python | tests/utils/test_helper.py | rafaelsdellama/nnga | 9c04fd0c5f68644345d197db44b1bc6f6c780a30 | [
"MIT"
] | 1 | 2021-12-28T23:40:41.000Z | 2021-12-28T23:40:41.000Z | tests/utils/test_helper.py | rafaelsdellama/nnga | 9c04fd0c5f68644345d197db44b1bc6f6c780a30 | [
"MIT"
] | null | null | null | tests/utils/test_helper.py | rafaelsdellama/nnga | 9c04fd0c5f68644345d197db44b1bc6f6c780a30 | [
"MIT"
] | null | null | null | from nnga.utils.helper import dump_tensors
def test_dump_tensors():
dump_tensors()
| 14.833333 | 42 | 0.775281 | 13 | 89 | 5 | 0.692308 | 0.507692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 43 | 17.8 | 0.855263 | 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 |
2cc0a85a7a1e42f83e49c6a6c1eeadbcb3ea34b6 | 302 | py | Python | peek_plugin_base/agent/PeekAgentPlatformHookABC.py | Synerty/peek_plugin_base | aa8a09a52bd5e1f95e4b61907f5de3b661fc9780 | [
"MIT"
] | null | null | null | peek_plugin_base/agent/PeekAgentPlatformHookABC.py | Synerty/peek_plugin_base | aa8a09a52bd5e1f95e4b61907f5de3b661fc9780 | [
"MIT"
] | null | null | null | peek_plugin_base/agent/PeekAgentPlatformHookABC.py | Synerty/peek_plugin_base | aa8a09a52bd5e1f95e4b61907f5de3b661fc9780 | [
"MIT"
] | 1 | 2016-12-12T15:05:18.000Z | 2016-12-12T15:05:18.000Z | from peek_plugin_base.PeekPlatformCommonHookABC import PeekPlatformCommonHookABC
from peek_plugin_base.PeekPlatformServerInfoHookABC import PeekPlatformServerInfoHookABC
class PeekAgentPlatformHookABC(PeekPlatformCommonHookABC,
PeekPlatformServerInfoHookABC):
pass
| 37.75 | 88 | 0.817881 | 19 | 302 | 12.789474 | 0.526316 | 0.065844 | 0.115226 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162252 | 302 | 7 | 89 | 43.142857 | 0.960474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e2c3ef687c80c154eda06d7c0a59c2cb28e1b79d | 5,232 | py | Python | pysdrc/tests/test_decoder.py | Flameeyes/pysdrc | ae8b8a7214c3844cdfb5b9ca6ffe7ae0abc7d845 | [
"MIT-0",
"MIT"
] | 1 | 2021-04-03T12:17:28.000Z | 2021-04-03T12:17:28.000Z | pysdrc/tests/test_decoder.py | Flameeyes/pysirc | ae8b8a7214c3844cdfb5b9ca6ffe7ae0abc7d845 | [
"MIT-0",
"MIT"
] | null | null | null | pysdrc/tests/test_decoder.py | Flameeyes/pysirc | ae8b8a7214c3844cdfb5b9ca6ffe7ae0abc7d845 | [
"MIT-0",
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: MIT
import unittest
from pysdrc import decoder
class SIRCDecoderTest(unittest.TestCase):
def test_simple(self):
pulses = [
2442,
560,
623,
575,
1221,
577... | 18.229965 | 62 | 0.285933 | 355 | 5,232 | 4.169014 | 0.284507 | 0.202703 | 0.218919 | 0.194595 | 0.720946 | 0.711486 | 0.711486 | 0.665541 | 0.665541 | 0.665541 | 0 | 0.416216 | 0.646407 | 5,232 | 286 | 63 | 18.293706 | 0.383784 | 0.014526 | 0 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025926 | 1 | 0.025926 | false | 0 | 0.007407 | 0 | 0.040741 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
391b14e9e7188190e26e5213c69211d3981c08a0 | 13,639 | py | Python | src/tests/test_resolver.py | go-tk/jroh | b91d69c2348b74cf5b6894040b9b2a451b7c72df | [
"MIT"
] | 15 | 2021-08-09T04:24:03.000Z | 2022-01-22T06:23:41.000Z | src/tests/test_resolver.py | go-tk/jroh | b91d69c2348b74cf5b6894040b9b2a451b7c72df | [
"MIT"
] | null | null | null | src/tests/test_resolver.py | go-tk/jroh | b91d69c2348b74cf5b6894040b9b2a451b7c72df | [
"MIT"
] | null | null | null | import unittest
from ..jroh.resolver import InvalidSpecError
from . import common
class TestResolver(unittest.TestCase):
def test_duplicate_id(self):
test_data_list = [
common.TestData(
in_file_path_2_file_data={
"foo.yaml": """
services:
Foo:
version... | 22.581126 | 198 | 0.505682 | 1,417 | 13,639 | 4.622442 | 0.066337 | 0.014351 | 0.068397 | 0.085496 | 0.875725 | 0.822137 | 0.788244 | 0.76855 | 0.74916 | 0.726107 | 0 | 0.032375 | 0.372681 | 13,639 | 603 | 199 | 22.618574 | 0.73317 | 0 | 0 | 0.846284 | 0 | 0.025338 | 0.485446 | 0.087103 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011824 | false | 0 | 0.005068 | 0 | 0.018581 | 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 |
3924481fb30cc0ec841ff9cd2bc1d8457f971ab8 | 1,035 | py | Python | tests/test_classroom.py | thiagosalvatore/poo-exercise | ab897d9b17b3aa63252c4fa7334f624f6d380d9a | [
"Apache-2.0"
] | null | null | null | tests/test_classroom.py | thiagosalvatore/poo-exercise | ab897d9b17b3aa63252c4fa7334f624f6d380d9a | [
"Apache-2.0"
] | null | null | null | tests/test_classroom.py | thiagosalvatore/poo-exercise | ab897d9b17b3aa63252c4fa7334f624f6d380d9a | [
"Apache-2.0"
] | null | null | null | from poo_exercise.models import Classroom, Student
def test_create_classroom(tst):
cr = Classroom(tst.teacher, 2018, 1)
assert len(cr.students) == 0
assert cr.teacher.name == tst.teacher.name
assert cr.semester == 1
assert cr.year == 2018
def test_add_student_to_classroom(tst):
cr = Classroo... | 26.538462 | 50 | 0.679227 | 151 | 1,035 | 4.556291 | 0.178808 | 0.127907 | 0.079942 | 0.138081 | 0.911337 | 0.911337 | 0.843023 | 0.843023 | 0.774709 | 0.774709 | 0 | 0.044686 | 0.2 | 1,035 | 38 | 51 | 27.236842 | 0.786232 | 0 | 0 | 0.857143 | 0 | 0 | 0.021256 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.107143 | false | 0 | 0.035714 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1a2fdcd2a8cab6de6db5933a0757a8beb063ac74 | 147,063 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/pinpoint_email/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/pinpoint_email/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/pinpoint_email/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from datetime import datetime
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str ... | 65.129761 | 585 | 0.617558 | 17,414 | 147,063 | 5.194958 | 0.054554 | 0.02832 | 0.009153 | 0.007473 | 0.820074 | 0.779031 | 0.746941 | 0.719737 | 0.698812 | 0.685923 | 0 | 0.008898 | 0.307657 | 147,063 | 2,257 | 586 | 65.158618 | 0.879285 | 0.847059 | 0 | 0.453608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.453608 | false | 0.453608 | 0.082474 | 0 | 0.546392 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
1a880a76392cf5b92896589675433ee884c6d98c | 62,734 | py | Python | tests/system/test_v3.py | epenet/simplisafe-python | 1ac074788e3560ca2ba568e12b411537c23275d4 | [
"MIT"
] | null | null | null | tests/system/test_v3.py | epenet/simplisafe-python | 1ac074788e3560ca2ba568e12b411537c23275d4 | [
"MIT"
] | null | null | null | tests/system/test_v3.py | epenet/simplisafe-python | 1ac074788e3560ca2ba568e12b411537c23275d4 | [
"MIT"
] | null | null | null | """Define tests for v3 System objects."""
# pylint: disable=protected-access,too-many-arguments,unused-argument
from datetime import datetime, timedelta
import logging
import aiohttp
import pytest
import pytz
from simplipy import API
from simplipy.errors import (
EndpointUnavailableError,
InvalidCredentialsEr... | 38.416412 | 88 | 0.475803 | 4,967 | 62,734 | 5.80753 | 0.111133 | 0.016363 | 0.023088 | 0.016016 | 0.849546 | 0.834119 | 0.819143 | 0.798759 | 0.7773 | 0.771303 | 0 | 0.039222 | 0.423295 | 62,734 | 1,632 | 89 | 38.439951 | 0.758092 | 0.006583 | 0 | 0.722793 | 0 | 0 | 0.206495 | 0.05274 | 0 | 0 | 0 | 0 | 0.063655 | 1 | 0 | false | 0 | 0.006845 | 0 | 0.006845 | 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 |
1aa7f08f84df240963f83c90b6e911567668ce7c | 15,388 | py | Python | quimb/tensor/geometry.py | mattorourke17/quimb | 81f553da3c26e7dcf2d3d9f6816806dd6b78db9b | [
"Apache-2.0"
] | 264 | 2018-01-30T10:06:09.000Z | 2022-03-28T01:39:40.000Z | quimb/tensor/geometry.py | adamcallison/quimb | a06fb9fc58976936bf7d631179ece0f832bf96a9 | [
"Apache-2.0"
] | 114 | 2017-10-24T22:37:15.000Z | 2022-03-31T18:58:55.000Z | quimb/tensor/geometry.py | adamcallison/quimb | a06fb9fc58976936bf7d631179ece0f832bf96a9 | [
"Apache-2.0"
] | 60 | 2017-10-24T22:28:43.000Z | 2022-02-28T13:54:20.000Z | import itertools
def sort_unique(edges):
"""Make sure there are no duplicate edges and that for each
``coo_a < coo_b``.
"""
return tuple(sorted(
tuple(sorted(edge))
for edge in set(map(frozenset, edges))
))
# ----------------------------------- 2D --------------------------------... | 29.996101 | 79 | 0.475565 | 2,144 | 15,388 | 3.386194 | 0.054571 | 0.026171 | 0.020248 | 0.056198 | 0.922452 | 0.915427 | 0.897796 | 0.884435 | 0.87562 | 0.844077 | 0 | 0.011245 | 0.358526 | 15,388 | 512 | 80 | 30.054688 | 0.724243 | 0.38608 | 0 | 0.780392 | 0 | 0 | 0.010092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047059 | false | 0 | 0.003922 | 0 | 0.098039 | 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 |
1ab10b4ef315606af33faf5902ab6259b6d5c906 | 156,500 | py | Python | searchpubchem/searchpubchem/xsd_schema/pug_view.py | coreymhudson/searchpubchem | b70272dc3d402a288ceb12acea7d41abddf43989 | [
"BSD-2-Clause"
] | 1 | 2021-04-05T23:41:32.000Z | 2021-04-05T23:41:32.000Z | searchpubchem/searchpubchem/xsd_schema/pug_view.py | coreymhudson/searchpubchem | b70272dc3d402a288ceb12acea7d41abddf43989 | [
"BSD-2-Clause"
] | null | null | null | searchpubchem/searchpubchem/xsd_schema/pug_view.py | coreymhudson/searchpubchem | b70272dc3d402a288ceb12acea7d41abddf43989 | [
"BSD-2-Clause"
] | 1 | 2019-03-20T22:14:47.000Z | 2019-03-20T22:14:47.000Z | # ./pug_view.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:ab0c9708514235065268b3a38971dc1c51967c4a
# Generated 2016-02-27 01:23:31.783845 by PyXB version 1.2.4 using Python 2.7.5.final.0
# Namespace http://pubchem.ncbi.nlm.nih.gov/pug_view
from __future__ import unicode_literals
import pyxb
import pyxb.binding
im... | 57.368035 | 405 | 0.750518 | 19,784 | 156,500 | 5.671199 | 0.024717 | 0.023271 | 0.065776 | 0.098664 | 0.900035 | 0.892281 | 0.883421 | 0.882637 | 0.849116 | 0.842877 | 0 | 0.021736 | 0.123073 | 156,500 | 2,727 | 406 | 57.389072 | 0.795809 | 0.079668 | 0 | 0.724311 | 1 | 0 | 0.169685 | 0.147012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009023 | false | 0 | 0.013033 | 0 | 0.174937 | 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 |
2043e2b971ae583a802696636bc273ed34f55a70 | 2,419 | py | Python | staff/migrations/0003_auto_20200310_2228.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | null | null | null | staff/migrations/0003_auto_20200310_2228.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | null | null | null | staff/migrations/0003_auto_20200310_2228.py | mamalmaleki/maktab-community | 8ce25053ea0f6f0a6c082617c9ff306d1ada9707 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.3 on 2020-03-10 22:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('staff', '0002_auto_20200310_2151'),
]
operations = [
migrations.RemoveField(
model_name='instructor',
name='created_by',
... | 25.734043 | 47 | 0.504754 | 184 | 2,419 | 6.423913 | 0.233696 | 0.35533 | 0.439932 | 0.507614 | 0.86802 | 0.86802 | 0.677665 | 0 | 0 | 0 | 0 | 0.020861 | 0.385697 | 2,419 | 93 | 48 | 26.010753 | 0.774563 | 0.018603 | 0 | 0.91954 | 1 | 0 | 0.17032 | 0.009696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011494 | 0 | 0.045977 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 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 | 7 |
64cfa91aa88f4ce083a251bb333cab82872c5280 | 3,010 | py | Python | model/aster/builders/bidirectional_rnn_builder_test.py | yyttmonster/text-flask | 2a63c3bf6859bd2feac87d619650dae4b6b8af6e | [
"MIT"
] | 7 | 2019-05-13T17:59:53.000Z | 2022-03-05T11:49:50.000Z | model/aster/builders/bidirectional_rnn_builder_test.py | yyttmonster/text-flask | 2a63c3bf6859bd2feac87d619650dae4b6b8af6e | [
"MIT"
] | null | null | null | model/aster/builders/bidirectional_rnn_builder_test.py | yyttmonster/text-flask | 2a63c3bf6859bd2feac87d619650dae4b6b8af6e | [
"MIT"
] | 1 | 2020-04-03T19:23:41.000Z | 2020-04-03T19:23:41.000Z | import tensorflow as tf
from google.protobuf import text_format
from model.aster.builders import bidirectional_rnn_builder
from model.aster.protos import bidirectional_rnn_pb2
class BidirectionalRnnBuilderTest(tf.test.TestCase):
def test_bidirectional_rnn(self):
text_proto = """
static: true
fw_bw_rnn... | 30.714286 | 68 | 0.678738 | 367 | 3,010 | 5.247956 | 0.226158 | 0.091381 | 0.062305 | 0.077882 | 0.866563 | 0.866563 | 0.840083 | 0.840083 | 0.840083 | 0.840083 | 0 | 0.027589 | 0.217276 | 3,010 | 97 | 69 | 31.030928 | 0.789898 | 0 | 0 | 0.761905 | 0 | 0 | 0.375083 | 0.040532 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.035714 | false | 0 | 0.047619 | 0 | 0.095238 | 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 |
b3b649c417156b7c9b50aade8ad4fe0120ea01bf | 3,681 | py | Python | tests/unit/test_translate_data_structure_service.py | harvard-lts/drs-translation-service | 8b448422c460c735860d3a64cf2ddc01f6e16eb3 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_translate_data_structure_service.py | harvard-lts/drs-translation-service | 8b448422c460c735860d3a64cf2ddc01f6e16eb3 | [
"Apache-2.0"
] | 3 | 2022-03-21T23:40:33.000Z | 2022-03-28T01:35:01.000Z | tests/unit/test_translate_data_structure_service.py | harvard-lts/drs-translation-service | 8b448422c460c735860d3a64cf2ddc01f6e16eb3 | [
"Apache-2.0"
] | null | null | null | import pytest, sys, os.path, shutil
sys.path.append('app')
import translation_service.translate_data_structure_service as translate_data_structure_service
def test_translate_data_structure():
'''Formats the directory and verifies that all files ended up where they should be'''
loc = "/home/appuser/tests/data/... | 56.630769 | 115 | 0.718283 | 563 | 3,681 | 4.534636 | 0.16341 | 0.143361 | 0.113592 | 0.148061 | 0.841363 | 0.81982 | 0.81982 | 0.81982 | 0.81982 | 0.80611 | 0 | 0.002818 | 0.132301 | 3,681 | 65 | 116 | 56.630769 | 0.796493 | 0.083673 | 0 | 0.612245 | 0 | 0 | 0.208222 | 0.061662 | 0 | 0 | 0 | 0 | 0.489796 | 1 | 0.061224 | false | 0 | 0.040816 | 0 | 0.102041 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37ca8d06497ce272b1b2366db988bc69db913411 | 16 | py | Python | examples/list.py | LayneInNL/py2flows | 5ecb555c64350cb13c3885a78fe89a40994e9d0e | [
"Apache-2.0"
] | 3 | 2022-03-21T12:10:37.000Z | 2022-03-24T13:31:19.000Z | examples/list.py | Robin199412/py2flows | 52e5e5bdbd83ede4a994f2e429dac770a7926032 | [
"Apache-2.0"
] | 1 | 2022-03-17T02:09:37.000Z | 2022-03-17T10:08:14.000Z | examples/list.py | Robin199412/py2flows | 52e5e5bdbd83ede4a994f2e429dac770a7926032 | [
"Apache-2.0"
] | 1 | 2022-03-23T01:12:56.000Z | 2022-03-23T01:12:56.000Z | [1, 2, (x + 1)]
| 8 | 15 | 0.25 | 4 | 16 | 1 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.3125 | 16 | 1 | 16 | 16 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
807b18db7dc469ac00a1bf9f95588d5cb2cbb01c | 47 | py | Python | fibonacci.py | sonmezbaris/python-exercises | 949934bde2a78a718fbac76906e888ca24ae4103 | [
"Apache-2.0"
] | null | null | null | fibonacci.py | sonmezbaris/python-exercises | 949934bde2a78a718fbac76906e888ca24ae4103 | [
"Apache-2.0"
] | null | null | null | fibonacci.py | sonmezbaris/python-exercises | 949934bde2a78a718fbac76906e888ca24ae4103 | [
"Apache-2.0"
] | null | null | null | a,b=0,1
while b<10:
print(b)
a,b=b,a+b
| 9.4 | 13 | 0.489362 | 14 | 47 | 1.642857 | 0.5 | 0.26087 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.276596 | 47 | 4 | 14 | 11.75 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
807f396af25b0c34325934c511059dc76848cb04 | 31,625 | py | Python | sdk/python/pulumi_gcp/compute/target_ssl_proxy.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/compute/target_ssl_proxy.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/compute/target_ssl_proxy.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.542254 | 139 | 0.644617 | 3,725 | 31,625 | 5.309799 | 0.071678 | 0.070074 | 0.074321 | 0.065625 | 0.898933 | 0.874109 | 0.86334 | 0.852571 | 0.841448 | 0.817584 | 0 | 0.004561 | 0.26517 | 31,625 | 709 | 140 | 44.605078 | 0.846551 | 0.45034 | 0 | 0.71246 | 1 | 0 | 0.095727 | 0.00275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162939 | false | 0.003195 | 0.015974 | 0 | 0.277955 | 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 |
80842c35c42b1ba24fd39100a11e2209e740b458 | 216 | py | Python | salesforce/tests/__init__.py | Catchoom/django-salesforce | 1c2f24a5d27a2d46549835bada7d0525bf7511a9 | [
"MIT"
] | 1 | 2017-07-05T10:29:36.000Z | 2017-07-05T10:29:36.000Z | salesforce/tests/__init__.py | Catchoom/django-salesforce | 1c2f24a5d27a2d46549835bada7d0525bf7511a9 | [
"MIT"
] | null | null | null | salesforce/tests/__init__.py | Catchoom/django-salesforce | 1c2f24a5d27a2d46549835bada7d0525bf7511a9 | [
"MIT"
] | null | null | null | from salesforce.tests.test_auth import *
from salesforce.tests.test_integration import *
from salesforce.tests.test_browser import *
from salesforce.tests.test_unit import *
from salesforce.tests.test_utils import *
| 36 | 47 | 0.837963 | 30 | 216 | 5.866667 | 0.333333 | 0.397727 | 0.539773 | 0.653409 | 0.659091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 216 | 5 | 48 | 43.2 | 0.897959 | 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 |
03b3f7a7224e076180d8e21ea1c876bc56a19d99 | 3,715 | py | Python | web/pipeline/migrations/0048_auto_20200804_2138.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 10 | 2020-11-12T15:13:40.000Z | 2022-03-05T22:33:08.000Z | web/pipeline/migrations/0048_auto_20200804_2138.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 28 | 2020-07-17T16:33:55.000Z | 2022-03-21T16:24:25.000Z | web/pipeline/migrations/0048_auto_20200804_2138.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 5 | 2020-11-02T23:39:53.000Z | 2022-03-01T19:09:45.000Z | # Generated by Django 2.2.13 on 2020-08-04 21:38
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pipeline', '0047_auto_20200726_2207'),
]
operations = [
migrations.AddField(
model_name='censussubdivision',
name='... | 31.218487 | 48 | 0.554509 | 343 | 3,715 | 5.755102 | 0.221574 | 0.191489 | 0.244681 | 0.287234 | 0.882979 | 0.868288 | 0.868288 | 0.868288 | 0.840932 | 0.840932 | 0 | 0.045049 | 0.336743 | 3,715 | 118 | 49 | 31.483051 | 0.756088 | 0.012382 | 0 | 0.75 | 1 | 0 | 0.17862 | 0.006272 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008929 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 10 |
03de56027780c953e68c6504cc7b0fe104ab53c9 | 44,985 | py | Python | test/kb_blast_server_test.py | kbaseapps/kb_blast | dd1fb01a9d1448514cd047e4fce1e8fb6b43ff0d | [
"MIT"
] | null | null | null | test/kb_blast_server_test.py | kbaseapps/kb_blast | dd1fb01a9d1448514cd047e4fce1e8fb6b43ff0d | [
"MIT"
] | 25 | 2017-03-21T22:11:49.000Z | 2021-08-05T18:09:58.000Z | test/kb_blast_server_test.py | kbaseapps/kb_blast | dd1fb01a9d1448514cd047e4fce1e8fb6b43ff0d | [
"MIT"
] | 8 | 2017-03-18T22:00:42.000Z | 2020-03-18T17:25:00.000Z | # -*- coding: utf-8 -*-
import json # noqa: F401
import os # noqa: F401
import time
import shutil
from pprint import pprint
import unittest
from configparser import ConfigParser # py3
from os import environ
from installed_clients.WorkspaceClient import Workspace as workspaceService
from installed_clients.GenomeFile... | 55.743494 | 1,430 | 0.605357 | 4,132 | 44,985 | 6.232575 | 0.086157 | 0.012503 | 0.025162 | 0.023221 | 0.859473 | 0.845766 | 0.82802 | 0.81241 | 0.811129 | 0.809226 | 0 | 0.024989 | 0.294565 | 44,985 | 806 | 1,431 | 55.812655 | 0.786538 | 0.091164 | 0 | 0.606838 | 0 | 0 | 0.302859 | 0.189645 | 0 | 1 | 0 | 0 | 0.075214 | 1 | 0.032479 | false | 0.015385 | 0.022222 | 0.005128 | 0.078632 | 0.011966 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
03fb14a6200bdfc732a8d9a7967ad531cc3c55ea | 41,154 | py | Python | src/genie/libs/parser/iosxe/show_l2route.py | eneiford-forks/genieparser | 0914dd5dd3a977913688d5083a3e88e22c1fdd05 | [
"Apache-2.0"
] | 1 | 2021-10-01T05:41:06.000Z | 2021-10-01T05:41:06.000Z | src/genie/libs/parser/iosxe/show_l2route.py | eneiford-forks/genieparser | 0914dd5dd3a977913688d5083a3e88e22c1fdd05 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/show_l2route.py | eneiford-forks/genieparser | 0914dd5dd3a977913688d5083a3e88e22c1fdd05 | [
"Apache-2.0"
] | null | null | null | ''' show_l2route.py
IOS parsers for the following show commands:
* show l2route evpn mac ip detail
* show l2route evpn mac ip host-ip <ip> detail
* show l2route evpn mac ip host-ip <ip> esi <esi> detail
* show l2route evpn mac ip host-ip <ip> mac-address <mac_addr> detail
* show l2route evpn mac i... | 52.159696 | 139 | 0.537323 | 5,186 | 41,154 | 4.180486 | 0.034323 | 0.134963 | 0.183349 | 0.177675 | 0.861301 | 0.847371 | 0.829889 | 0.82191 | 0.812869 | 0.787316 | 0 | 0.022179 | 0.344851 | 41,154 | 788 | 140 | 52.225888 | 0.781915 | 0.426447 | 0 | 0.504739 | 0 | 0.075829 | 0.326773 | 0.037706 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007109 | false | 0 | 0.007109 | 0 | 0.052133 | 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 |
ff0df382fa8fc76915882ce92745036004b6cefe | 268 | py | Python | moha/system/basis_set/__init__.py | ZhaoYilin/moha | d701fd921839474380982db1478e66f0dc8cbd98 | [
"MIT"
] | 12 | 2019-12-07T18:37:34.000Z | 2022-03-30T14:23:38.000Z | moha/system/basis_set/__init__.py | ZhaoYilin/moha | d701fd921839474380982db1478e66f0dc8cbd98 | [
"MIT"
] | null | null | null | moha/system/basis_set/__init__.py | ZhaoYilin/moha | d701fd921839474380982db1478e66f0dc8cbd98 | [
"MIT"
] | 2 | 2019-12-08T05:48:47.000Z | 2021-10-31T21:40:21.000Z | from __future__ import division, print_function
from __future__ import absolute_import
from moha.system.basis_set.abc import *
from moha.system.basis_set.base import *
from moha.system.basis_set.hf_basis_set import *
#from moha.system.basis_set.ci_basis_set import *
| 33.5 | 49 | 0.835821 | 43 | 268 | 4.790698 | 0.348837 | 0.23301 | 0.271845 | 0.38835 | 0.543689 | 0.543689 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 268 | 7 | 50 | 38.285714 | 0.85124 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 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 |
2095c16dbddcae70da48f1f992d369f9acb25a82 | 200 | py | Python | HMQ/datasets/__init__.py | UniSerj/ai-research | 79f0093c93408cc5dd7d3f56aafd7dc1f901421c | [
"Apache-2.0"
] | 46 | 2020-07-15T08:55:31.000Z | 2022-03-29T08:34:30.000Z | HMQ/datasets/__init__.py | UniSerj/ai-research | 79f0093c93408cc5dd7d3f56aafd7dc1f901421c | [
"Apache-2.0"
] | 2 | 2021-02-09T06:53:50.000Z | 2021-09-12T09:28:22.000Z | HMQ/datasets/__init__.py | UniSerj/ai-research | 79f0093c93408cc5dd7d3f56aafd7dc1f901421c | [
"Apache-2.0"
] | 13 | 2020-07-14T07:43:17.000Z | 2022-01-17T14:44:47.000Z | from datasets.dataset_loader import get_dataset, Dataset
from datasets.data_augmentation import get_augmentation, Augmentation
from datasets.data_preprocessing import get_preprocessing, PreProcessing
| 50 | 72 | 0.895 | 24 | 200 | 7.208333 | 0.375 | 0.208092 | 0.184971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 200 | 3 | 73 | 66.666667 | 0.935135 | 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 |
20c91cf45c4c72fec9d713dc556b61e89a67308c | 711 | py | Python | deeppavlov_agent/state_formatters/output_formatters.py | deepmipt/dp-agent | 74b5b993a451ac54efd9a5086ff507a9520ad0c6 | [
"Apache-2.0"
] | 54 | 2019-05-16T12:58:54.000Z | 2022-01-09T06:09:01.000Z | deeppavlov_agent/state_formatters/output_formatters.py | deepmipt/dp-agent | 74b5b993a451ac54efd9a5086ff507a9520ad0c6 | [
"Apache-2.0"
] | 27 | 2019-06-13T12:31:42.000Z | 2021-09-10T16:37:59.000Z | deeppavlov_agent/state_formatters/output_formatters.py | deepmipt/dp-agent | 74b5b993a451ac54efd9a5086ff507a9520ad0c6 | [
"Apache-2.0"
] | 25 | 2019-06-08T03:30:48.000Z | 2022-03-17T15:47:27.000Z | from typing import Dict
def http_api_output_formatter(payload: Dict):
return {
'dialog_id': payload['dialog_id'],
'utt_id': payload['utterances'][-1]['utt_id'],
'user_id': payload['human']['user_external_id'],
'response': payload['utterances'][-1]['text'],
}
def http_debug_ou... | 32.318182 | 66 | 0.610408 | 81 | 711 | 5.074074 | 0.320988 | 0.131387 | 0.218978 | 0.126521 | 0.705596 | 0.705596 | 0.705596 | 0.705596 | 0.705596 | 0.705596 | 0 | 0.010435 | 0.19128 | 711 | 21 | 67 | 33.857143 | 0.704348 | 0 | 0 | 0.588235 | 0 | 0 | 0.345992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0.117647 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
455d34c973e3d796d24b8d0000011d5380fc9c7c | 937 | py | Python | private_storage/permissions.py | zang3tsu/django-private-storage | f2a968b515e4bfe401e149d264ba802359a9452a | [
"Apache-2.0"
] | 322 | 2016-10-06T19:10:41.000Z | 2022-03-28T19:52:30.000Z | private_storage/permissions.py | zang3tsu/django-private-storage | f2a968b515e4bfe401e149d264ba802359a9452a | [
"Apache-2.0"
] | 72 | 2017-01-08T00:14:12.000Z | 2022-01-31T12:15:44.000Z | private_storage/permissions.py | zang3tsu/django-private-storage | f2a968b515e4bfe401e149d264ba802359a9452a | [
"Apache-2.0"
] | 61 | 2017-01-07T19:36:03.000Z | 2022-02-07T10:49:08.000Z | """
Possible functions for the ``PRIVATE_STORAGE_AUTH_FUNCTION`` setting.
"""
import django
if django.VERSION >= (1, 10):
def allow_authenticated(private_file):
return private_file.request.user.is_authenticated
def allow_staff(private_file):
request = private_file.request
return reques... | 33.464286 | 76 | 0.741729 | 117 | 937 | 5.675214 | 0.230769 | 0.198795 | 0.271084 | 0.23494 | 0.864458 | 0.864458 | 0.864458 | 0.864458 | 0.864458 | 0.864458 | 0 | 0.003906 | 0.180363 | 937 | 27 | 77 | 34.703704 | 0.860677 | 0.073639 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.052632 | 0.105263 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 10 |
4582ab75a03d0bed5195bd2c8bcf3a15c0a98063 | 16,118 | py | Python | downunder/test/python/run_MT_app.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | downunder/test/python/run_MT_app.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | downunder/test/python/run_MT_app.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | __copyright__ = "Copyright (c) 2020 by University of Queensland http://www.uq.edu.au"
__license__ = "Licensed under the Apache License, version 2.0 http://www.apache.org/licenses/LICENSE-2.0"
__credits__ = "Lutz Gross"
# import unittest
import sys
import numpy as np
from esys.escript import *
from esys.escript.pde... | 44.648199 | 143 | 0.657526 | 1,864 | 16,118 | 5.634657 | 0.100858 | 0.044749 | 0.027135 | 0.043416 | 0.875464 | 0.865657 | 0.850233 | 0.843949 | 0.828049 | 0.802533 | 0 | 0.026466 | 0.22875 | 16,118 | 360 | 144 | 44.772222 | 0.818438 | 0.113289 | 0 | 0.767635 | 0 | 0.004149 | 0.036467 | 0 | 0 | 0 | 0 | 0 | 0.161826 | 1 | 0.116183 | false | 0 | 0.033195 | 0 | 0.278008 | 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 |
459eddec905c4b7010f3c4f2c523ed3a49d9d142 | 5,595 | py | Python | dtech_instagram/InstagramAPI/src/Constants.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 126 | 2016-05-18T19:20:32.000Z | 2022-02-12T10:30:50.000Z | dtech_instagram/InstagramAPI/src/Constants.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 41 | 2016-08-07T17:32:37.000Z | 2022-01-13T00:25:31.000Z | dtech_instagram/InstagramAPI/src/Constants.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 61 | 2016-07-07T14:18:38.000Z | 2021-03-28T12:48:26.000Z | class Constants(object):
"""
Constant declarations.
"""
API_URL = 'https://i.instagram.com/api/v1/'
VERSION = '9.2.0'
IG_SIG_KEY = '012a54f51c49aa8c5c322416ab1410909add32c966bbaa0fe3dc58ac43fd7ede'
EXPERIMENTS = 'ig_android_ad_holdout_16m5_universe,ig_android_progressive_jpeg,ig_creation_gro... | 399.642857 | 4,726 | 0.950849 | 888 | 5,595 | 5.20045 | 0.372748 | 0.274794 | 0.132525 | 0.024686 | 0.110871 | 0.022954 | 0.022954 | 0.022954 | 0.022954 | 0.022954 | 0 | 0.011957 | 0.013405 | 5,595 | 13 | 4,727 | 430.384615 | 0.824638 | 0.003932 | 0 | 0 | 0 | 0.222222 | 0.96257 | 0.955372 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
b30d3f30306b25e9a716b8a7f3ca863762e54218 | 3,216 | py | Python | sms_sdk_renderer_python/lib/helpers.py | SymphonyPlatformSolutions/sms_sdk_renderer_python | 17743486a7482d04f3acf876cf88606c3eb60393 | [
"MIT"
] | null | null | null | sms_sdk_renderer_python/lib/helpers.py | SymphonyPlatformSolutions/sms_sdk_renderer_python | 17743486a7482d04f3acf876cf88606c3eb60393 | [
"MIT"
] | null | null | null | sms_sdk_renderer_python/lib/helpers.py | SymphonyPlatformSolutions/sms_sdk_renderer_python | 17743486a7482d04f3acf876cf88606c3eb60393 | [
"MIT"
] | null | null | null | import pybars
def _header(this, options, items):
result = [u'<tr>']
if items['select']['position'] == 'left':
if items['select']['type'] == 'button':
result.append(u'<td>Select</td>')
else:
result.append(u'<td><input type="checkbox" name="tablesel-header" /></td>')
... | 38.285714 | 107 | 0.497201 | 368 | 3,216 | 4.320652 | 0.086957 | 0.316981 | 0.277987 | 0.264151 | 0.964151 | 0.94717 | 0.94717 | 0.94717 | 0.94717 | 0.906918 | 0 | 0 | 0.317475 | 3,216 | 83 | 108 | 38.746988 | 0.724374 | 0 | 0 | 0.9375 | 0 | 0.025 | 0.273632 | 0.070274 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0375 | false | 0 | 0.0125 | 0 | 0.0875 | 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 |
b32485e7ad2992489ddc4119b290c2af6342d4d1 | 2,092 | py | Python | test/src/Syntax/Statements/if/nested-conditionals.py | milliburn/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | 1 | 2019-01-22T02:58:04.000Z | 2019-01-22T02:58:04.000Z | test/src/Syntax/Statements/if/nested-conditionals.py | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | test/src/Syntax/Statements/if/nested-conditionals.py | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | # RUN: test-parser.sh %s
# RUN: test-output.sh %s
x = 1 # PARSER-LABEL:x = 1i
y = 2 # PARSER-NEXT:y = 2i
print("Start") # PARSER-NEXT:print("Start")
# OUTPUT-LABEL: Start
if x == 1: # PARSER-NEXT:if (x == 1i):
if y == 3: # PARSER-NEXT: if ... | 36.701754 | 61 | 0.404398 | 251 | 2,092 | 3.370518 | 0.099602 | 0.401891 | 0.301418 | 0.148936 | 0.807329 | 0.807329 | 0.781324 | 0.781324 | 0.781324 | 0.781324 | 0 | 0.018122 | 0.419694 | 2,092 | 56 | 62 | 37.357143 | 0.678748 | 0.549235 | 0 | 0.828571 | 0 | 0 | 0.023438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.485714 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 10 |
2fbb38b0238badaf624ebda4cde9b6e737dfba64 | 163 | py | Python | app/tests/accounts/test_models.py | aalmazan/circleci-hello | 8b4d92f12ccdab5cd6de9c7a7f4bdc824f2efc23 | [
"MIT"
] | null | null | null | app/tests/accounts/test_models.py | aalmazan/circleci-hello | 8b4d92f12ccdab5cd6de9c7a7f4bdc824f2efc23 | [
"MIT"
] | 3 | 2020-02-12T03:02:05.000Z | 2021-06-10T21:41:33.000Z | app/tests/accounts/test_models.py | aalmazan/circleci-hello | 8b4d92f12ccdab5cd6de9c7a7f4bdc824f2efc23 | [
"MIT"
] | null | null | null | import pytest
from django.conf import settings
def test_ensure_correct_settings():
"""Test if TEST_SETTING exists."""
assert settings.TEST_SETTING == 1
| 18.111111 | 38 | 0.748466 | 22 | 163 | 5.318182 | 0.681818 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.165644 | 163 | 8 | 39 | 20.375 | 0.852941 | 0.171779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
44073d61870b2effe1cc976ce510ba9fa81005c7 | 159 | py | Python | app/exceptions.py | Anupam02/tic-tac-toe | 8fac66a5b0cd119f02193fdd92240171f52f0992 | [
"MIT"
] | null | null | null | app/exceptions.py | Anupam02/tic-tac-toe | 8fac66a5b0cd119f02193fdd92240171f52f0992 | [
"MIT"
] | null | null | null | app/exceptions.py | Anupam02/tic-tac-toe | 8fac66a5b0cd119f02193fdd92240171f52f0992 | [
"MIT"
] | null | null | null | class InvalidSymbolException(Exception):
pass
class InvalidMoveException(Exception):
pass
class InvalidCoordinateInputException(Exception):
pass
| 17.666667 | 49 | 0.798742 | 12 | 159 | 10.583333 | 0.5 | 0.307087 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 159 | 8 | 50 | 19.875 | 0.933824 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
441d94f2ec636bc737a8679984a704cf6eb5704c | 5,423 | py | Python | robocorp-code/tests/robocorp_code_tests/test_compute_launch.py | avaissi/robotframework-lsp | 0e7de8368a09cba08f97975b5d491cf044957d93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | robocorp-code/tests/robocorp_code_tests/test_compute_launch.py | avaissi/robotframework-lsp | 0e7de8368a09cba08f97975b5d491cf044957d93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | robocorp-code/tests/robocorp_code_tests/test_compute_launch.py | avaissi/robotframework-lsp | 0e7de8368a09cba08f97975b5d491cf044957d93 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | def test_compute_launch_01(tmpdir):
import os
from robocorp_code import compute_launch
robot_yaml = tmpdir.join("robot.yaml")
tmpdir.join("task.py").write("foo")
robot_yaml.write(
"""
tasks:
Default:
command:
- python
- task.py
condaConfigFile: conda.yaml
artifactsDir: ou... | 20.777778 | 84 | 0.550065 | 510 | 5,423 | 5.643137 | 0.154902 | 0.062543 | 0.055594 | 0.059416 | 0.9246 | 0.9246 | 0.9246 | 0.911049 | 0.887074 | 0.887074 | 0 | 0.004893 | 0.321593 | 5,423 | 260 | 85 | 20.857692 | 0.777385 | 0.011433 | 0 | 0.817568 | 0 | 0 | 0.204933 | 0.029046 | 0 | 0 | 0 | 0 | 0.040541 | 1 | 0.033784 | false | 0 | 0.060811 | 0 | 0.094595 | 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 |
2bdf0038bab92af38e7990c3307a4412f0359b3b | 78,679 | py | Python | src/training_modules/unused_modules/train_waymo_model.py | petergroth/trajectory_forecasting | 35bcf1e60d818cc1aaff746c3818ff56c574e854 | [
"MIT"
] | 1 | 2022-01-26T11:54:46.000Z | 2022-01-26T11:54:46.000Z | src/training_modules/unused_modules/train_waymo_model.py | petergroth/trajectory_forecasting | 35bcf1e60d818cc1aaff746c3818ff56c574e854 | [
"MIT"
] | null | null | null | src/training_modules/unused_modules/train_waymo_model.py | petergroth/trajectory_forecasting | 35bcf1e60d818cc1aaff746c3818ff56c574e854 | [
"MIT"
] | 1 | 2022-03-18T03:13:01.000Z | 2022-03-18T03:13:01.000Z | import argparse
import math
import os
import random
from typing import Union
import hydra
import pytorch_lightning as pl
import torch
import torch_geometric.nn
import torchmetrics
from omegaconf import DictConfig, OmegaConf
from pytorch_lightning.callbacks import RichProgressBar
from pytorch_lightning.loggers import W... | 36.765888 | 111 | 0.498685 | 9,133 | 78,679 | 4.065258 | 0.042812 | 0.028927 | 0.029089 | 0.013898 | 0.881841 | 0.865438 | 0.845777 | 0.838262 | 0.827327 | 0.815907 | 0 | 0.020858 | 0.370544 | 78,679 | 2,139 | 112 | 36.783076 | 0.728824 | 0.147625 | 0 | 0.752899 | 0 | 0 | 0.016652 | 0.002531 | 0 | 0 | 0 | 0 | 0.007246 | 1 | 0.011594 | false | 0.000725 | 0.012319 | 0.002174 | 0.034058 | 0.000725 | 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 |
ecff1cd6cf37a0cc34207f72b05693043936a8ab | 12,154 | py | Python | quanttrader/gui/ui_risk_menu.py | qalpha/quanttrader | e5c407f76c9d0beeccaa8735052a7e7717f0bed6 | [
"Apache-2.0"
] | 135 | 2020-09-07T01:07:18.000Z | 2022-03-31T23:04:40.000Z | quanttrader/gui/ui_risk_menu.py | qalpha/quanttrader | e5c407f76c9d0beeccaa8735052a7e7717f0bed6 | [
"Apache-2.0"
] | 4 | 2021-04-09T22:13:48.000Z | 2021-12-23T02:10:37.000Z | quanttrader/gui/ui_risk_menu.py | qalpha/quanttrader | e5c407f76c9d0beeccaa8735052a7e7717f0bed6 | [
"Apache-2.0"
] | 51 | 2020-09-08T00:18:45.000Z | 2022-03-28T19:42:44.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from PyQt5 import QtCore, QtWidgets, QtGui
import logging
_logger = logging.getLogger(__name__)
class RiskMenu(QtWidgets.QWidget):
def __init__(self, strategy_manager):
super(RiskMenu, self).__init__()
self.strategy_manager = strategy_manager
... | 56.794393 | 169 | 0.660523 | 1,430 | 12,154 | 5.241259 | 0.068531 | 0.156905 | 0.235757 | 0.183456 | 0.82028 | 0.790794 | 0.738492 | 0.723549 | 0.723549 | 0.688726 | 0 | 0.001589 | 0.223548 | 12,154 | 214 | 170 | 56.794393 | 0.792625 | 0.003456 | 0 | 0.4 | 0 | 0 | 0.112707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.011111 | 0 | 0.038889 | 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 |
a65e664d42c9621863aad77ff9252683c6eec881 | 92 | py | Python | augustine_text/__init__.py | kajuberdut/augustine-text | 3ac2e307d1ecc3c80218ebf24dce1189fe889fbf | [
"MIT"
] | null | null | null | augustine_text/__init__.py | kajuberdut/augustine-text | 3ac2e307d1ecc3c80218ebf24dce1189fe889fbf | [
"MIT"
] | null | null | null | augustine_text/__init__.py | kajuberdut/augustine-text | 3ac2e307d1ecc3c80218ebf24dce1189fe889fbf | [
"MIT"
] | null | null | null | from augustine_text.__version__ import __version__
from augustine_text.markov import Markov
| 30.666667 | 50 | 0.891304 | 12 | 92 | 6 | 0.5 | 0.361111 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 51 | 46 | 0.857143 | 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 |
a680a5fd039061a056aeb1ecba35301fbb784fc1 | 3,603 | py | Python | PEtab_problems/Code/Liver/Liver_PEtab.py | EmadAlamoudi/FMC_paper | fc318407dfee11f373f766222dd37879500d90ce | [
"MIT"
] | null | null | null | PEtab_problems/Code/Liver/Liver_PEtab.py | EmadAlamoudi/FMC_paper | fc318407dfee11f373f766222dd37879500d90ce | [
"MIT"
] | null | null | null | PEtab_problems/Code/Liver/Liver_PEtab.py | EmadAlamoudi/FMC_paper | fc318407dfee11f373f766222dd37879500d90ce | [
"MIT"
] | null | null | null | import petab_MS
from fitmulticell.PEtab.base import PetabImporter
from fitmulticell.model import MorpheusModel as morpheus_model
from fitmulticell.model import MorpheusModels as morpheus_models
from pyabc.sampler import RedisEvalParallelSampler
from pyabc.sampler import MulticoreEvalParallelSampler
from pyabc import Qu... | 45.607595 | 205 | 0.780738 | 481 | 3,603 | 5.513514 | 0.253638 | 0.085973 | 0.036199 | 0.043364 | 0.756787 | 0.756787 | 0.756787 | 0.756787 | 0.726621 | 0.726621 | 0 | 0.009474 | 0.091868 | 3,603 | 78 | 206 | 46.192308 | 0.801039 | 0.466833 | 0 | 0 | 0 | 0.055556 | 0.188628 | 0.132313 | 0.055556 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.694444 | 0 | 0.694444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a68e3afb357fc90603845f43b1107f1d5a1ab656 | 31,277 | py | Python | tests/connection/provider/test_server.py | workfloworchestrator/SuPA | 75c34a446e7133ac3f9378810db749a7df2c21a3 | [
"Apache-2.0"
] | null | null | null | tests/connection/provider/test_server.py | workfloworchestrator/SuPA | 75c34a446e7133ac3f9378810db749a7df2c21a3 | [
"Apache-2.0"
] | 6 | 2021-12-01T13:05:28.000Z | 2022-03-07T12:40:10.000Z | tests/connection/provider/test_server.py | workfloworchestrator/SuPA | 75c34a446e7133ac3f9378810db749a7df2c21a3 | [
"Apache-2.0"
] | null | null | null | import unittest.mock
from datetime import datetime, timedelta, timezone
from json import dumps
from typing import Any
from uuid import uuid4
import pytest
from google.protobuf.json_format import Parse
from grpc import ServicerContext
from sqlalchemy import Column
from supa import const
from supa.connection.provider.s... | 58.243948 | 120 | 0.802219 | 3,790 | 31,277 | 6.327441 | 0.059103 | 0.088737 | 0.093074 | 0.081189 | 0.851591 | 0.833285 | 0.804429 | 0.764939 | 0.723823 | 0.696009 | 0 | 0.007531 | 0.121207 | 31,277 | 536 | 121 | 58.352612 | 0.864949 | 0.103367 | 0 | 0.586124 | 0 | 0 | 0.075664 | 0.008973 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.083732 | false | 0.009569 | 0.043062 | 0 | 0.155502 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a6d9eb02fa54616d7a7a592a14d492e3f1cf4247 | 856 | py | Python | apiConDjango/administrador/models.py | fernandopacco71/PROYECT-API-DJANGO | fdf95c381ca9dc3e503b19d30c716100a0714018 | [
"MIT"
] | null | null | null | apiConDjango/administrador/models.py | fernandopacco71/PROYECT-API-DJANGO | fdf95c381ca9dc3e503b19d30c716100a0714018 | [
"MIT"
] | null | null | null | apiConDjango/administrador/models.py | fernandopacco71/PROYECT-API-DJANGO | fdf95c381ca9dc3e503b19d30c716100a0714018 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
#class Personal(models.Model):
# Nombres = models.CharField(max_length=30, null=False)
# Apellidos = models.CharField(max_length=30)
# DNI = models.IntegerField()
# Direccion = models.CharField(max_length=100)
# Sexo = models.CharField(max_length=4... | 38.909091 | 58 | 0.731308 | 111 | 856 | 5.513514 | 0.279279 | 0.343137 | 0.411765 | 0.54902 | 0.826797 | 0.826797 | 0.722222 | 0.722222 | 0.722222 | 0.722222 | 0 | 0.038462 | 0.149533 | 856 | 22 | 59 | 38.909091 | 0.802198 | 0.457944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 1 | 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 | 1 | 0 | 0 | 10 |
4702887a2015ec3abf015e4cfd513a623891ceb7 | 2,381 | py | Python | notebooks/autoencoders/CIFAR10/classifier.py | tayden/NoveltyDetection | 797de85b7543e4d0f118295b31a36ec17126d459 | [
"MIT"
] | null | null | null | notebooks/autoencoders/CIFAR10/classifier.py | tayden/NoveltyDetection | 797de85b7543e4d0f118295b31a36ec17126d459 | [
"MIT"
] | null | null | null | notebooks/autoencoders/CIFAR10/classifier.py | tayden/NoveltyDetection | 797de85b7543e4d0f118295b31a36ec17126d459 | [
"MIT"
] | null | null | null | from keras.layers import Input, Conv2D, MaxPool2D, Dense
from keras.layers import Activation, Flatten, Dropout, BatchNormalization
from keras import regularizers
from keras.models import Model
def create_model():
image = Input(shape=(32, 32, 3))
x = Conv2D(64, 3, padding='same', kernel_regularizer=regularizer... | 31.328947 | 86 | 0.631667 | 333 | 2,381 | 4.483483 | 0.129129 | 0.06296 | 0.026122 | 0.1286 | 0.8071 | 0.8071 | 0.8071 | 0.8071 | 0.8071 | 0.8071 | 0 | 0.058763 | 0.185216 | 2,381 | 75 | 87 | 31.746667 | 0.710825 | 0 | 0 | 0.754386 | 0 | 0 | 0.048299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0.070175 | 0 | 0.105263 | 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 |
47091f9d2c4224d5220caaf70b7aaceebb001d41 | 8,931 | py | Python | api/services/v1/dataset_object_service_pb2_grpc.py | cpfaff/py.nfdi.core.storage | 306cff52c32517df3747533bd4a2850d15ad0956 | [
"Apache-2.0"
] | null | null | null | api/services/v1/dataset_object_service_pb2_grpc.py | cpfaff/py.nfdi.core.storage | 306cff52c32517df3747533bd4a2850d15ad0956 | [
"Apache-2.0"
] | null | null | null | api/services/v1/dataset_object_service_pb2_grpc.py | cpfaff/py.nfdi.core.storage | 306cff52c32517df3747533bd4a2850d15ad0956 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from api.services.v1 import dataset_object_service_models_pb2 as api_dot_services_dot_v1_dot_dataset__object__service__models__pb2
class DatasetObjectsServiceS... | 52.846154 | 151 | 0.725563 | 853 | 8,931 | 7.065651 | 0.134818 | 0.056081 | 0.086278 | 0.112162 | 0.80521 | 0.778497 | 0.778497 | 0.711465 | 0.702505 | 0.683591 | 0 | 0.00868 | 0.213078 | 8,931 | 168 | 152 | 53.160714 | 0.84889 | 0.072668 | 0 | 0.484848 | 1 | 0 | 0.089038 | 0.058587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075758 | false | 0 | 0.015152 | 0.030303 | 0.143939 | 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 |
5b2a9472870dacb18ed71dc4b6d97e11785a1fdc | 1,613 | py | Python | windows/crypto/dpapi.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 479 | 2016-01-08T00:53:34.000Z | 2022-03-22T10:28:19.000Z | windows/crypto/dpapi.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 38 | 2017-12-29T17:09:04.000Z | 2022-01-31T08:27:47.000Z | windows/crypto/dpapi.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 103 | 2016-01-10T01:32:17.000Z | 2021-12-24T17:21:06.000Z | from windows import winproxy
import windows.generated_def as gdef
__all__ = ["protect", "unprotect"]
def protect(data, entropy=None, flags=gdef.CRYPTPROTECT_UI_FORBIDDEN):
in_blob = gdef.DATA_BLOB.from_string(data)
out_blob = gdef.DATA_BLOB()
if entropy is not None:
entropy = gdef.DATA_BLOB.from_... | 47.441176 | 117 | 0.761314 | 227 | 1,613 | 5.229075 | 0.286344 | 0.067397 | 0.060657 | 0.053917 | 0.85257 | 0.85257 | 0.85257 | 0.85257 | 0.85257 | 0.758214 | 0 | 0.002943 | 0.157471 | 1,613 | 34 | 118 | 47.441176 | 0.870493 | 0.344079 | 0 | 0.521739 | 1 | 0 | 0.015209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.26087 | 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 |
5b691188e643f57bf3d54cd77835b3db4e5ca2f8 | 238 | py | Python | provisioner/__init__.py | lander2k2/silenus-provisioner | 3c0c722ac553be53964e0ffb3530d8ae18ab7f1c | [
"Apache-2.0"
] | null | null | null | provisioner/__init__.py | lander2k2/silenus-provisioner | 3c0c722ac553be53964e0ffb3530d8ae18ab7f1c | [
"Apache-2.0"
] | null | null | null | provisioner/__init__.py | lander2k2/silenus-provisioner | 3c0c722ac553be53964e0ffb3530d8ae18ab7f1c | [
"Apache-2.0"
] | null | null | null | import os
from provisioner.database import Database
db = Database(os.environ.get('DB_HOST'),
os.environ.get('POSTGRES_DB'),
os.environ.get('POSTGRES_USER'),
os.environ.get('POSTGRES_PASSWORD'))
| 26.444444 | 50 | 0.634454 | 29 | 238 | 5.068966 | 0.413793 | 0.244898 | 0.326531 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 238 | 8 | 51 | 29.75 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
5bcdc59a05a6f007039422aec645504c7467e82b | 4,682 | py | Python | year_2017/day_02.py | Alex-Diez/python-advent-of-code | d53f13a1b960559da64a2e87746000c78775d584 | [
"MIT"
] | null | null | null | year_2017/day_02.py | Alex-Diez/python-advent-of-code | d53f13a1b960559da64a2e87746000c78775d584 | [
"MIT"
] | null | null | null | year_2017/day_02.py | Alex-Diez/python-advent-of-code | d53f13a1b960559da64a2e87746000c78775d584 | [
"MIT"
] | null | null | null | import unittest
def checksum(spreed_sheet):
check_sum = 0
for row in spreed_sheet.split('\n'):
numbers = row.split('\t')
max_num = int(numbers[0])
min_num = int(numbers[0])
for index in range(1, len(numbers)):
num = int(numbers[index])
if max_num < num:
... | 45.456311 | 108 | 0.724904 | 775 | 4,682 | 4.322581 | 0.390968 | 0.019104 | 0.020896 | 0.007164 | 0.768657 | 0.744179 | 0.719403 | 0.719403 | 0.719403 | 0.719403 | 0 | 0.430407 | 0.11918 | 4,682 | 102 | 109 | 45.901961 | 0.381911 | 0 | 0 | 0.511628 | 0 | 0.372093 | 0.605938 | 0.583084 | 0 | 0 | 0 | 0 | 0.069767 | 1 | 0.127907 | false | 0 | 0.011628 | 0 | 0.209302 | 0.023256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f334e935c233a5f2d07953818712b0c79c94c877 | 14,500 | py | Python | src/third_party/beaengine/tests/0f01.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | 1 | 2022-01-17T17:40:29.000Z | 2022-01-17T17:40:29.000Z | src/third_party/beaengine/tests/0f01.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | src/third_party/beaengine/tests/0f01.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This progra... | 39.944904 | 95 | 0.675379 | 1,641 | 14,500 | 5.837904 | 0.146862 | 0.164196 | 0.283612 | 0.308142 | 0.794363 | 0.775992 | 0.762004 | 0.709916 | 0.698643 | 0.698643 | 0 | 0.034171 | 0.220966 | 14,500 | 362 | 96 | 40.055249 | 0.813916 | 0.090759 | 0 | 0.635983 | 0 | 0 | 0.032541 | 0 | 0 | 0 | 0.009526 | 0 | 0.598326 | 1 | 0.008368 | false | 0 | 0.008368 | 0 | 0.020921 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f3a95db6dcbb9e277a0f851e3f04ae7a342899a2 | 7,168 | py | Python | gen_data.py | monolive/hive-examples | 07b4e168142856129abbaf4334c581464fcfc001 | [
"Apache-2.0"
] | 1 | 2015-07-10T13:17:24.000Z | 2015-07-10T13:17:24.000Z | gen_data.py | monolive/hive-examples | 07b4e168142856129abbaf4334c581464fcfc001 | [
"Apache-2.0"
] | null | null | null | gen_data.py | monolive/hive-examples | 07b4e168142856129abbaf4334c581464fcfc001 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import logging
import argparse
import random
import sys
def main():
output = open('dataset_1.txt', 'w')
for i in xrange(1, 3000000000):
toto = '{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12},{13},{14},{15},{16},{17},{18},{19},{20},{21},{22},{23},{24},{25},{26},{27},{28},{29},{30},{31},... | 70.970297 | 183 | 0.635324 | 1,126 | 7,168 | 4.021314 | 0.131439 | 0.147085 | 0.29417 | 0.326855 | 0.874337 | 0.84894 | 0.840989 | 0.840989 | 0.840989 | 0.840989 | 0 | 0.189981 | 0.061523 | 7,168 | 101 | 184 | 70.970297 | 0.483128 | 0.009487 | 0 | 0.706522 | 0 | 0.043478 | 0.132131 | 0.085364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.043478 | 0 | 0.065217 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 10 |
345039ae6f06b33ecd9fb5ae94fe90e6947b1a9b | 116,233 | py | Python | epa/tri/lookup_table.py | MAPC/epa_python | 6ee7ed562a70071dbed845bf04494c7fef0ab840 | [
"BSD-3-Clause"
] | 3 | 2015-10-12T18:05:14.000Z | 2021-03-07T22:58:03.000Z | epa/tri/lookup_table.py | MAPC/epa_python | 6ee7ed562a70071dbed845bf04494c7fef0ab840 | [
"BSD-3-Clause"
] | 1 | 2017-05-12T15:57:14.000Z | 2019-02-03T13:49:09.000Z | epa/tri/lookup_table.py | MAPC/epa_python | 6ee7ed562a70071dbed845bf04494c7fef0ab840 | [
"BSD-3-Clause"
] | 3 | 2019-02-02T21:08:10.000Z | 2021-04-17T15:05:10.000Z | lookup_table = {
"TRI_FACILITY_NPDES": {
"ASGN_NPDES_IND": "Indicates that the associated NPDES_NUM represents the principal NPDES permit number as assigned to the facility by TRI from Form R or Form A submissions. Values: 1 = 'Yes', 0 = 'No'.",
"TRI_FACILITY_ID": "The unique number assigned to each facilit... | 271.57243 | 1,079 | 0.773722 | 18,292 | 116,233 | 4.864367 | 0.058988 | 0.014891 | 0.02949 | 0.023062 | 0.853224 | 0.835658 | 0.823689 | 0.814113 | 0.805595 | 0.797739 | 0 | 0.011685 | 0.170184 | 116,233 | 427 | 1,080 | 272.208431 | 0.910836 | 0 | 0 | 0.327869 | 0 | 0.721311 | 0.955262 | 0.02988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002342 | 0.007026 | 0 | 0.007026 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3452de38a50313c8a2953faa40954c90ad14c915 | 1,129 | py | Python | temboo/core/Library/LastFm/Album/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/LastFm/Album/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/LastFm/Album/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.LastFm.Album.AddTags import AddTags, AddTagsInputSet, AddTagsResultSet, AddTagsChoreographyExecution
from temboo.Library.LastFm.Album.GetBuyLinks import GetBuyLinks, GetBuyLinksInputSet, GetBuyLinksResultSet, GetBuyLinksChoreographyExecution
from temboo.Library.LastFm.Album.GetInfo import GetInfo, G... | 112.9 | 140 | 0.888397 | 99 | 1,129 | 10.131313 | 0.424242 | 0.089731 | 0.152542 | 0.206381 | 0.251246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055802 | 1,129 | 9 | 141 | 125.444444 | 0.940901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
345788758edf74716928f3967880b9505f28ed02 | 4,993 | py | Python | src/rest.py | huangbop/tko | 62339d51349d4c03e9e3261bca367eb0ce3f74ff | [
"MIT"
] | null | null | null | src/rest.py | huangbop/tko | 62339d51349d4c03e9e3261bca367eb0ce3f74ff | [
"MIT"
] | null | null | null | src/rest.py | huangbop/tko | 62339d51349d4c03e9e3261bca367eb0ce3f74ff | [
"MIT"
] | null | null | null | """*
"""
import requests
import json
RAW_HEADERS = {
"X-Bmob-Application-Id": "e9c72808f8555c8d7846a13a50e907a6",
"X-Bmob-REST-API-Key": "9632a84d440c4faa818f033355cb9bf3",
}
JSON_HEADERS = {
"X-Bmob-Application-Id": "e9c72808f8555c8d7846a13a50e907a6",
"X-Bmob-REST-API-Key": "9632a84d440c4faa818f03335... | 32.212903 | 77 | 0.565191 | 554 | 4,993 | 4.947653 | 0.142599 | 0.04378 | 0.056184 | 0.04378 | 0.919372 | 0.907698 | 0.871945 | 0.844217 | 0.821598 | 0.821598 | 0 | 0.057478 | 0.282195 | 4,993 | 154 | 78 | 32.422078 | 0.70731 | 0.032445 | 0 | 0.707965 | 0 | 0 | 0.215793 | 0.071026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053097 | false | 0 | 0.061947 | 0 | 0.132743 | 0.097345 | 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 |
ca9e06e4f2ed1b2f9e2beceb41bb40aa08909d83 | 77 | py | Python | forum/tests/__init__.py | kraft99/forum | 59b35bd102da3bdeb0d6bc104de77572158992b3 | [
"MIT"
] | 8 | 2015-12-25T06:33:20.000Z | 2021-01-04T22:37:56.000Z | forum/tests/__init__.py | insin/forum | 59b35bd102da3bdeb0d6bc104de77572158992b3 | [
"MIT"
] | null | null | null | forum/tests/__init__.py | insin/forum | 59b35bd102da3bdeb0d6bc104de77572158992b3 | [
"MIT"
] | 7 | 2015-07-18T17:52:52.000Z | 2020-04-09T10:46:47.000Z | import forum
from forum.tests.auth import *
from forum.tests.models import * | 19.25 | 32 | 0.792208 | 12 | 77 | 5.083333 | 0.5 | 0.295082 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 4 | 32 | 19.25 | 0.910448 | 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 |
caabfff293660db0ea0850f1e34afaf2bd2e2b57 | 140 | py | Python | packages/Python/lldbsuite/test/repl/array/TestREPLArray.py | xiaobai/swift-lldb | 9238527ce430e6837108a16d2a91b147551fb83c | [
"Apache-2.0"
] | 765 | 2015-12-03T16:44:59.000Z | 2022-03-07T12:41:10.000Z | packages/Python/lldbsuite/test/repl/array/TestREPLArray.py | xiaobai/swift-lldb | 9238527ce430e6837108a16d2a91b147551fb83c | [
"Apache-2.0"
] | 1,815 | 2015-12-11T23:56:05.000Z | 2020-01-10T19:28:43.000Z | packages/Python/lldbsuite/test/repl/array/TestREPLArray.py | xiaobai/swift-lldb | 9238527ce430e6837108a16d2a91b147551fb83c | [
"Apache-2.0"
] | 284 | 2015-12-03T16:47:25.000Z | 2022-03-12T05:39:48.000Z | import lldbsuite.test.lldbinrepl as lldbinrepl
import lldbsuite.test.lldbtest as lldbtest
lldbinrepl.MakeREPLTest(__file__, globals(), [])
| 28 | 48 | 0.821429 | 16 | 140 | 6.9375 | 0.5625 | 0.27027 | 0.342342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 140 | 4 | 49 | 35 | 0.867188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
cac1508c2be7a6948fdef7cd52e79cf9f2fdc45f | 42,397 | py | Python | pria_lifechem/analysis/all_models_loader.py | chao1224/pria_lifechem | 1fd892505a45695c6197f8d711a8a37589cd7097 | [
"MIT"
] | 5 | 2018-05-14T10:15:13.000Z | 2021-03-15T17:18:10.000Z | pria_lifechem/analysis/all_models_loader.py | chao1224/pria_lifechem | 1fd892505a45695c6197f8d711a8a37589cd7097 | [
"MIT"
] | 5 | 2018-05-05T21:04:11.000Z | 2019-06-24T22:05:35.000Z | pria_lifechem/analysis/all_models_loader.py | chao1224/pria_lifechem | 1fd892505a45695c6197f8d711a8a37589cd7097 | [
"MIT"
] | 2 | 2019-10-18T23:42:27.000Z | 2020-07-08T19:46:14.000Z | from evaluation import *
import argparse
import pandas as pd
import csv
import numpy as np
import json
import sys
sys.path.insert(0, '..') # Add path from parent folder
sys.path.insert(0, '.') # Add path from current folder
from function import *
import os, glob
import deepchem as dc
from sklearn.externals import job... | 52.148831 | 173 | 0.528953 | 5,041 | 42,397 | 4.05733 | 0.050585 | 0.065516 | 0.065712 | 0.040874 | 0.932724 | 0.904464 | 0.883147 | 0.870679 | 0.862074 | 0.858407 | 0 | 0.011244 | 0.372809 | 42,397 | 812 | 174 | 52.213054 | 0.757926 | 0.019483 | 0 | 0.828904 | 0 | 0 | 0.058254 | 0.01071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018272 | false | 0 | 0.031561 | 0 | 0.081395 | 0.033223 | 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 |
1b079141f7d5b13e30ae3d40d16d57ee78c4f772 | 10,569 | py | Python | tests/vns3ms/test_vns3_management_api.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | tests/vns3ms/test_vns3_management_api.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | tests/vns3ms/test_vns3_management_api.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
VNS3:ms API
Cohesive networks VNS3 API providing complete control of your network's addresses, routes, rules and edge # noqa: E501
Contact: solutions@cohesive.net
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import pytest
import cohe... | 35.347826 | 123 | 0.639323 | 1,186 | 10,569 | 5.188027 | 0.084317 | 0.125142 | 0.065009 | 0.084512 | 0.817812 | 0.778157 | 0.744352 | 0.715423 | 0.715423 | 0.698033 | 0 | 0.017497 | 0.286214 | 10,569 | 298 | 124 | 35.466443 | 0.798118 | 0.10228 | 0 | 0.716667 | 0 | 0 | 0.102372 | 0.07149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.016667 | 0.029167 | 0 | 0.116667 | 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 |
1b1eefb801007320ffbceeb312b0625dc7363971 | 61,120 | py | Python | tests/unit/test_type_inferencer.py | paulross/typin | 113224d868c95e93b9ae724b0a9d9cfe3e3c78f8 | [
"MIT"
] | 7 | 2017-11-12T21:29:18.000Z | 2019-01-30T01:50:47.000Z | tests/unit/test_type_inferencer.py | paulross/typin | 113224d868c95e93b9ae724b0a9d9cfe3e3c78f8 | [
"MIT"
] | null | null | null | tests/unit/test_type_inferencer.py | paulross/typin | 113224d868c95e93b9ae724b0a9d9cfe3e3c78f8 | [
"MIT"
] | null | null | null | '''
Created on 22 Jun 2017
@author: paulross
WARNING: Declaring multiple classes of the same name in different functions
might mess up the finding of bases due the garbage collector not releasing
previous definitions.
Earlier multiple class A definitions ware causing a
subtle problem in this regard. See test_class_mu... | 33.767956 | 112 | 0.57662 | 7,384 | 61,120 | 4.447996 | 0.056744 | 0.02521 | 0.040434 | 0.042199 | 0.860127 | 0.835343 | 0.800664 | 0.763884 | 0.742875 | 0.722628 | 0 | 0.007102 | 0.281201 | 61,120 | 1,809 | 113 | 33.786622 | 0.740491 | 0.19501 | 0 | 0.728736 | 0 | 0.001533 | 0.233426 | 0.034953 | 0 | 0 | 0 | 0 | 0.082759 | 1 | 0.144828 | false | 0.025287 | 0.006897 | 0.048276 | 0.236782 | 0.00613 | 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 |
84a082fce59fb7052d07e827422a778d0c638d8d | 17,083 | py | Python | varsom_avalanche_client/api/avalanche_warning_by_region_api.py | NVE/python-varsom-avalanche-client | c7787bf070d8ea91efd3a2a9e7782eedd4961528 | [
"MIT"
] | null | null | null | varsom_avalanche_client/api/avalanche_warning_by_region_api.py | NVE/python-varsom-avalanche-client | c7787bf070d8ea91efd3a2a9e7782eedd4961528 | [
"MIT"
] | null | null | null | varsom_avalanche_client/api/avalanche_warning_by_region_api.py | NVE/python-varsom-avalanche-client | c7787bf070d8ea91efd3a2a9e7782eedd4961528 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Snøskredvarsel API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: v5.0.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
im... | 44.371429 | 138 | 0.633729 | 1,905 | 17,083 | 5.453543 | 0.085039 | 0.042352 | 0.067571 | 0.090095 | 0.950043 | 0.947156 | 0.943113 | 0.93214 | 0.930696 | 0.929252 | 0 | 0.014013 | 0.273137 | 17,083 | 384 | 139 | 44.486979 | 0.822662 | 0.306504 | 0 | 0.785714 | 1 | 0 | 0.259008 | 0.090942 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.019048 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ca29b560779c36ea5e3c04e66627d1cf22dfbd7c | 16,684 | py | Python | exoctk/contam_visibility/f_visibilityPeriods.py | bourque/exoctk | 1d2f8e7b9c00e74033626d81593b1f879b7df6ad | [
"BSD-3-Clause"
] | null | null | null | exoctk/contam_visibility/f_visibilityPeriods.py | bourque/exoctk | 1d2f8e7b9c00e74033626d81593b1f879b7df6ad | [
"BSD-3-Clause"
] | null | null | null | exoctk/contam_visibility/f_visibilityPeriods.py | bourque/exoctk | 1d2f8e7b9c00e74033626d81593b1f879b7df6ad | [
"BSD-3-Clause"
] | 1 | 2021-10-05T17:07:46.000Z | 2021-10-05T17:07:46.000Z | """
Series of functions to compute the visibility periods for a given (RA,DEC)
with in some cases the possibility to select a PA value.
Functions derived from the code of Wayne Kinzel provided by Jeff Valenti
Extract from the e-mail of Wayne Kinzel:
As before, the code is not officially tested, nor is it an offi... | 38.354023 | 79 | 0.582234 | 1,887 | 16,684 | 5.126656 | 0.133015 | 0.05644 | 0.050961 | 0.037317 | 0.82944 | 0.806905 | 0.793777 | 0.793777 | 0.783233 | 0.756564 | 0 | 0.008153 | 0.323663 | 16,684 | 434 | 80 | 38.442396 | 0.849167 | 0.415668 | 0 | 0.707071 | 0 | 0 | 0.247172 | 0.03948 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015152 | false | 0 | 0.005051 | 0 | 0.035354 | 0.131313 | 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 |
ca34b897b49303eb78529e3433d4049bbd251815 | 108 | py | Python | metagym/metamaze/envs/__init__.py | WorldEditors/MetaGym | ad7263fcc80abd6831965ab6b556d54f75e17315 | [
"Apache-2.0"
] | null | null | null | metagym/metamaze/envs/__init__.py | WorldEditors/MetaGym | ad7263fcc80abd6831965ab6b556d54f75e17315 | [
"Apache-2.0"
] | null | null | null | metagym/metamaze/envs/__init__.py | WorldEditors/MetaGym | ad7263fcc80abd6831965ab6b556d54f75e17315 | [
"Apache-2.0"
] | null | null | null | from metagym.metamaze.envs.maze_env import MetaMaze3D
from metagym.metamaze.envs.maze_env import MetaMaze2D
| 36 | 53 | 0.87037 | 16 | 108 | 5.75 | 0.5625 | 0.23913 | 0.413043 | 0.5 | 0.782609 | 0.782609 | 0.782609 | 0 | 0 | 0 | 0 | 0.02 | 0.074074 | 108 | 2 | 54 | 54 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 10 |
ca6ae7cf69f01afed5d35751edc4734c14b224b7 | 1,354 | py | Python | ProjectEuler/08_largest_product_in_a_series.py | lucianofg/Exercises | fd408d18e23fda33e24c529d666cda208f1139f3 | [
"MIT"
] | null | null | null | ProjectEuler/08_largest_product_in_a_series.py | lucianofg/Exercises | fd408d18e23fda33e24c529d666cda208f1139f3 | [
"MIT"
] | null | null | null | ProjectEuler/08_largest_product_in_a_series.py | lucianofg/Exercises | fd408d18e23fda33e24c529d666cda208f1139f3 | [
"MIT"
] | null | null | null | # Find the thirteen adjacent digits in the 1000-digit number that have the
# greatest product. What is the value of this product?
# Problem taken from https://projecteuler.net/problem=8
number = "73167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294949545... | 84.625 | 1,011 | 0.912851 | 59 | 1,354 | 20.949153 | 0.677966 | 0.004854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.790916 | 0.056869 | 1,354 | 15 | 1,012 | 90.266667 | 0.176977 | 0.132201 | 0 | 0 | 0 | 0 | 0.854701 | 0.854701 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
04af0b097b7d940c9b7b40d9d4b658cff482b9be | 2,114 | py | Python | project/editorial/migrations/0008_auto_20160319_2059.py | cojennin/facet | 230e65316134b3399a35d40034728e61ba63cb2a | [
"MIT"
] | 25 | 2015-07-13T22:16:36.000Z | 2021-11-11T02:45:32.000Z | project/editorial/migrations/0008_auto_20160319_2059.py | cojennin/facet | 230e65316134b3399a35d40034728e61ba63cb2a | [
"MIT"
] | 74 | 2015-12-01T18:57:47.000Z | 2022-03-11T23:25:47.000Z | project/editorial/migrations/0008_auto_20160319_2059.py | cojennin/facet | 230e65316134b3399a35d40034728e61ba63cb2a | [
"MIT"
] | 6 | 2016-01-08T21:12:43.000Z | 2019-05-20T16:07:56.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('editorial', '0007_auto_20160319_2007'),
]
operations = [
migrations.AddField(
model_name='audiofacet',
... | 35.233333 | 97 | 0.60123 | 211 | 2,114 | 5.872038 | 0.232227 | 0.130751 | 0.16707 | 0.196126 | 0.823245 | 0.823245 | 0.785311 | 0.785311 | 0.753027 | 0.753027 | 0 | 0.011326 | 0.289972 | 2,114 | 59 | 98 | 35.830508 | 0.814124 | 0.009934 | 0 | 0.792453 | 0 | 0 | 0.259206 | 0.043998 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.09434 | 0.056604 | 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 |
04b5e4a7899a1724827ca6a4c12f986495827227 | 3,117 | py | Python | stubs/micropython-v1_18-rp2/uasyncio/stream.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_18-rp2/uasyncio/stream.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_18-rp2/uasyncio/stream.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'uasyncio.stream' on micropython-v1.18-rp2
"""
# MCU: {'family': 'micropython', 'sysname': 'rp2', 'version': '1.18.0', 'build': '', 'mpy': 5637, 'port': 'rp2', 'platform': 'rp2', 'name': 'micropython', 'arch': 'armv7m', 'machine': 'Arduino Nano RP2040 Connect with RP2040', 'nodename': 'rp2', 'ver': 'v1.18',... | 33.516129 | 282 | 0.559833 | 312 | 3,117 | 5.5 | 0.217949 | 0.149184 | 0.30711 | 0.469697 | 0.805944 | 0.769231 | 0.769231 | 0.769231 | 0.769231 | 0.769231 | 0 | 0.014793 | 0.240937 | 3,117 | 92 | 283 | 33.880435 | 0.710482 | 0.449471 | 0 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.194444 | false | 0 | 0.013889 | 0 | 0.652778 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
04ce66bf9e5f1bdaa2a8d7c4ab32230df5ff18a4 | 2,005 | py | Python | apps/preferences/views.py | godetaph/uresearch | fb23cb0fe07f8b434b9c46f80b5b43030a3d5323 | [
"MIT"
] | null | null | null | apps/preferences/views.py | godetaph/uresearch | fb23cb0fe07f8b434b9c46f80b5b43030a3d5323 | [
"MIT"
] | null | null | null | apps/preferences/views.py | godetaph/uresearch | fb23cb0fe07f8b434b9c46f80b5b43030a3d5323 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from rest_framework import status
from rest_framework.response import Response
from rest_framework import viewsets, permissions
# from rest_framework.generics import ListCreateAPIView, RetrieveUpdateDestroyAPIView
from .serializers import UnitSerializer, Unit1Serializer, Unit2Seri... | 34.568966 | 90 | 0.784539 | 179 | 2,005 | 8.659218 | 0.240223 | 0.087097 | 0.191613 | 0.171613 | 0.70129 | 0.70129 | 0.70129 | 0.637419 | 0.637419 | 0.637419 | 0 | 0.009238 | 0.13616 | 2,005 | 57 | 91 | 35.175439 | 0.885681 | 0.230424 | 0 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.176471 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
b6c95e613e639c309923be9bada31c2615a075ab | 130 | py | Python | swig-2.0.4/Examples/python/docstrings/runme.py | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | swig-2.0.4/Examples/python/docstrings/runme.py | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | swig-2.0.4/Examples/python/docstrings/runme.py | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | # file: runme.py
import example
print "example.Foo.bar.__doc__ =", repr(example.Foo.bar.__doc__), "(Should be 'No comment')"
| 18.571429 | 93 | 0.692308 | 19 | 130 | 4.315789 | 0.736842 | 0.243902 | 0.317073 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 6 | 94 | 21.666667 | 0.732143 | 0.107692 | 0 | 0 | 0 | 0 | 0.442478 | 0.20354 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
f3d0600c7706101cae58c457979fa66602a8202e | 667 | py | Python | regseq/deprecated/do_many.py | RPGroup-PBoC/RegSeq | d1df8727f27bd3a48f297974a4f9c5f170a34de4 | [
"MIT"
] | 3 | 2020-04-01T21:17:38.000Z | 2022-03-08T00:54:42.000Z | regseq/deprecated/do_many.py | RPGroup-PBoC/RegSeq | d1df8727f27bd3a48f297974a4f9c5f170a34de4 | [
"MIT"
] | 19 | 2020-03-30T21:02:28.000Z | 2020-06-23T18:32:39.000Z | regseq/deprecated/do_many.py | RPGroup-PBoC/RegSeq | d1df8727f27bd3a48f297974a4f9c5f170a34de4 | [
"MIT"
] | 2 | 2020-06-25T02:00:59.000Z | 2020-10-05T06:58:06.000Z | import os
import glob
ournames = ['tarphoPdataset_alldone_with_large']
os.system('/home/ubuntu/anaconda2/bin/mpathic learn_model -i /home/ubuntu/tarphoPdataset_alldone_with_large -o /home/ubuntu/results/tarphoPdataset_alldone_with_largeMCMC194 -lm IM --iteration 300000 --thin 60 -db /home/ubuntu/results/tarphoPdataset_... | 111.166667 | 297 | 0.838081 | 91 | 667 | 5.868132 | 0.340659 | 0.149813 | 0.327715 | 0.23221 | 0.838951 | 0.838951 | 0.838951 | 0.749064 | 0.749064 | 0.749064 | 0 | 0.051118 | 0.061469 | 667 | 5 | 298 | 133.4 | 0.801917 | 0 | 0 | 0 | 0 | 0.4 | 0.898051 | 0.661169 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 14 |
eddba2bb61a799edb2fc7d35aed4632ed54168d9 | 6,876 | py | Python | ilpyt/nets/net2d.py | mitre/ilpyt | 6aecbe414f0032514ffb4206200596b8c3860b58 | [
"Apache-2.0"
] | 6 | 2021-09-20T20:25:11.000Z | 2022-01-05T16:04:04.000Z | ilpyt/nets/net2d.py | mitre/ilpyt | 6aecbe414f0032514ffb4206200596b8c3860b58 | [
"Apache-2.0"
] | null | null | null | ilpyt/nets/net2d.py | mitre/ilpyt | 6aecbe414f0032514ffb4206200596b8c3860b58 | [
"Apache-2.0"
] | null | null | null | """
These 2D networks are suited for 3D inputs (h,w,c).
"""
from typing import Tuple, Union
import torch
import torch.autograd as autograd
import torch.nn as nn
import torch.nn.functional as F
from torch.distributions import Categorical, Distribution, Normal
from ilpyt.nets.base_net import BaseNetwork, get_activati... | 27.504 | 79 | 0.539703 | 784 | 6,876 | 4.623724 | 0.178571 | 0.055172 | 0.053793 | 0.03669 | 0.847172 | 0.844414 | 0.816828 | 0.816828 | 0.816828 | 0.816828 | 0 | 0.024807 | 0.360966 | 6,876 | 249 | 80 | 27.614458 | 0.800182 | 0.284468 | 0 | 0.721311 | 0 | 0 | 0.001893 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 1 | 0.065574 | false | 0 | 0.057377 | 0.016393 | 0.204918 | 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 |
edf0ba50d3243fc6a279484bb1ad8f1637d8696a | 12,864 | py | Python | examples/images.py | slightlynybbled/stringify | fa8b14a084fa269cc43a01fbbce609ac57fcea9f | [
"MIT"
] | 5 | 2019-01-05T03:35:45.000Z | 2022-03-01T10:08:20.000Z | examples/images.py | slightlynybbled/stringify | fa8b14a084fa269cc43a01fbbce609ac57fcea9f | [
"MIT"
] | null | null | null | examples/images.py | slightlynybbled/stringify | fa8b14a084fa269cc43a01fbbce609ac57fcea9f | [
"MIT"
] | null | null | null | # flake8: noqa
yellow_dot = b'iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QkZDx8KFx64XgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAgAElEQVR42u2d228byZ3vv9283y8STTnjUTTyeG4ej86OckY4gHGw2EV29zzlKQ8B8jx/lIF927c87XOQxS6ye4DkrLObIJPFJhNbHtvw2BrJEi... | 4,288 | 12,848 | 0.970616 | 350 | 12,864 | 35.671429 | 0.991429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154456 | 0.000466 | 12,864 | 2 | 12,849 | 6,432 | 0.816534 | 0.000933 | 0 | 0 | 0 | 1 | 0.998599 | 0.998599 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b6165dae0128dfff8d0eb68f24b50c84259e930d | 632 | py | Python | tests/parse_host_string_doctest.py | lincheney/ssh-forward-proxy | cf8e0dda4448c3ba16b509570ee0920380aa9c1c | [
"MIT"
] | 7 | 2016-08-04T15:25:21.000Z | 2021-08-25T00:02:48.000Z | tests/parse_host_string_doctest.py | lincheney/ssh-forward-proxy | cf8e0dda4448c3ba16b509570ee0920380aa9c1c | [
"MIT"
] | 1 | 2016-02-16T13:14:26.000Z | 2016-02-16T13:14:26.000Z | tests/parse_host_string_doctest.py | lincheney/ssh-forward-proxy | cf8e0dda4448c3ba16b509570ee0920380aa9c1c | [
"MIT"
] | 2 | 2015-05-15T10:38:39.000Z | 2020-01-14T01:47:16.000Z | """
Tests for ssh_forward_proxy.parse_host_string
No user or port
>>> parse_host_string('host')
(None, 'host', 22)
With a user
>>> parse_host_string('user@host')
('user', 'host', 22)
>>> parse_host_string('@host')
(None, 'host', 22)
With a port
>>> parse_host_string('host:1234')
(None... | 21.793103 | 47 | 0.628165 | 90 | 632 | 4.166667 | 0.266667 | 0.216 | 0.36 | 0.253333 | 0.530667 | 0.346667 | 0.28 | 0.28 | 0.181333 | 0 | 0 | 0.051181 | 0.196203 | 632 | 29 | 47 | 21.793103 | 0.687008 | 0.90981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fcd0fc12dbd19d3f44fdd900412a13e4b62cb2f1 | 13 | py | Python | revision/ch-02.py | victortheleon/python_classes | 3435948a4c989b7de4e4d7f05eb8aed8a5420592 | [
"MIT"
] | null | null | null | revision/ch-02.py | victortheleon/python_classes | 3435948a4c989b7de4e4d7f05eb8aed8a5420592 | [
"MIT"
] | null | null | null | revision/ch-02.py | victortheleon/python_classes | 3435948a4c989b7de4e4d7f05eb8aed8a5420592 | [
"MIT"
] | null | null | null | 5
x = 5
x + 1 | 4.333333 | 5 | 0.384615 | 5 | 13 | 1 | 0.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0.461538 | 13 | 3 | 6 | 4.333333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fcef80e423a1daf9d69b63e71ec7937da68229ac | 193 | py | Python | illud/exceptions/unexpected_input_exception.py | AustinScola/illud | a6aca1de38bbe9d5a795aaa084bcbd6731767d18 | [
"MIT"
] | 1 | 2020-12-05T00:59:15.000Z | 2020-12-05T00:59:15.000Z | illud/exceptions/unexpected_input_exception.py | AustinScola/illud | a6aca1de38bbe9d5a795aaa084bcbd6731767d18 | [
"MIT"
] | 112 | 2021-01-15T21:42:27.000Z | 2021-04-17T19:11:21.000Z | illud/exceptions/unexpected_input_exception.py | AustinScola/illud | a6aca1de38bbe9d5a795aaa084bcbd6731767d18 | [
"MIT"
] | null | null | null | """Raised when there is an unexpected input."""
from illud.exception import IlludException
class UnexpectedInputException(IlludException):
"""Raised when there is an unexpected input."""
| 27.571429 | 51 | 0.772021 | 22 | 193 | 6.772727 | 0.636364 | 0.134228 | 0.201342 | 0.228188 | 0.456376 | 0.456376 | 0.456376 | 0 | 0 | 0 | 0 | 0 | 0.134715 | 193 | 6 | 52 | 32.166667 | 0.892216 | 0.430052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
1e8f913fe5f0ceb6d5c01c391921ecf9e08fc36c | 153 | py | Python | ApisCore/views.py | HaruHuey/HaruHueyApis | 3223ded277bb7012d4d81624feaa6a72c2c36245 | [
"Apache-2.0"
] | 1 | 2019-04-22T09:29:14.000Z | 2019-04-22T09:29:14.000Z | ApisCore/views.py | HaruHuey/HaruHueyApis | 3223ded277bb7012d4d81624feaa6a72c2c36245 | [
"Apache-2.0"
] | 7 | 2019-10-21T19:39:22.000Z | 2021-06-10T21:22:35.000Z | ApisCore/views.py | HaruHuey/HaruHueyApis | 3223ded277bb7012d4d81624feaa6a72c2c36245 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
# Create your views here.
# 변경
def test():
return HttpResponse("ApisCore") | 19.125 | 36 | 0.764706 | 20 | 153 | 5.85 | 0.8 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 8 | 37 | 19.125 | 0.906977 | 0.169935 | 0 | 0 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
94ac64bb0e1bbf2af73eb8ba772af55398cc8297 | 3,249 | py | Python | tests/test_logical_names.py | rackerlabs/tuvok | 8c5d2171f156f35fd6570b2a199ab75ff9dc286f | [
"Apache-2.0"
] | 19 | 2018-10-26T18:42:30.000Z | 2020-05-24T10:44:55.000Z | tests/test_logical_names.py | rackerlabs/tuvok | 8c5d2171f156f35fd6570b2a199ab75ff9dc286f | [
"Apache-2.0"
] | 11 | 2018-10-26T17:06:54.000Z | 2020-01-04T02:46:06.000Z | tests/test_logical_names.py | rackerlabs/tuvok | 8c5d2171f156f35fd6570b2a199ab75ff9dc286f | [
"Apache-2.0"
] | 3 | 2018-12-29T06:58:06.000Z | 2020-04-24T19:48:19.000Z | from tuvok import cli
from helpers.wrap import Wrap
class TestOutput(object):
def setup(self):
self.main = cli.main
def teardown(self):
self.main = None
def test_fails_if_variable_not_using_snake_case(self, caplog):
file = 'tests/test_logical_names/bad/variables.tf'
with... | 55.067797 | 169 | 0.701139 | 460 | 3,249 | 4.704348 | 0.143478 | 0.141405 | 0.084104 | 0.12939 | 0.884011 | 0.881701 | 0.877079 | 0.871072 | 0.868299 | 0.851201 | 0 | 0 | 0.183749 | 3,249 | 58 | 170 | 56.017241 | 0.815988 | 0 | 0 | 0.302326 | 0 | 0 | 0.419514 | 0.295783 | 0 | 0 | 0 | 0 | 0.372093 | 1 | 0.186047 | false | 0.162791 | 0.046512 | 0 | 0.255814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
94d91139178389299aa6efe9ac6ab267e5a7043f | 1,582 | py | Python | python/linked-list-insertions/tests/test_linked-list-insertions.py | mohmmadnoorjebreen/data-structures-and-algorithms | ab69cd9dc48e8508947a6f3f316cb44a96c99c42 | [
"MIT"
] | null | null | null | python/linked-list-insertions/tests/test_linked-list-insertions.py | mohmmadnoorjebreen/data-structures-and-algorithms | ab69cd9dc48e8508947a6f3f316cb44a96c99c42 | [
"MIT"
] | 18 | 2021-07-29T19:52:28.000Z | 2021-09-11T11:22:43.000Z | python/linked-list-insertions/tests/test_linked-list-insertions.py | mohmmadnoorjebreen/data-structures-and-algorithms | ab69cd9dc48e8508947a6f3f316cb44a96c99c42 | [
"MIT"
] | null | null | null | from linked_list_insertions.linked_list_insertions import Node , LinkedList
def test_add_node_to_end():
node = LinkedList()
node.insert(2)
node.insert(5)
node.append(10)
excepted = '5->2->10->NULL'
actual = str(node)
assert actual == excepted
def test_add_multiple_node_to_end():
nod... | 23.264706 | 76 | 0.644753 | 231 | 1,582 | 4.238095 | 0.147186 | 0.163432 | 0.110317 | 0.147089 | 0.846782 | 0.824311 | 0.824311 | 0.786517 | 0.786517 | 0.741573 | 0 | 0.06747 | 0.213021 | 1,582 | 67 | 77 | 23.61194 | 0.718876 | 0 | 0 | 0.706897 | 0 | 0 | 0.074004 | 0.053763 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.103448 | false | 0 | 0.017241 | 0 | 0.12069 | 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 |
94f54409394dfc8e2839e6f3610c68f9d2099c3a | 6,786 | py | Python | tests/scripts/orders_codegen_test.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 986 | 2020-04-14T21:50:03.000Z | 2022-03-29T19:09:31.000Z | tests/scripts/orders_codegen_test.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 243 | 2020-04-26T14:05:34.000Z | 2022-03-12T13:02:51.000Z | tests/scripts/orders_codegen_test.py | zhangted/tda-api | 1169c87129b80c120217d420e4996a439c5903dc | [
"MIT"
] | 286 | 2020-04-14T22:17:04.000Z | 2022-03-27T07:30:15.000Z | import unittest
from unittest.mock import call, MagicMock, patch
from ..utils import AnyStringWith, no_duplicates
from tda.scripts.orders_codegen import latest_order_main
class LatestOrderTest(unittest.TestCase):
def setUp(self):
self.args = []
def add_arg(self, arg):
self.args.append(arg)
... | 32.941748 | 79 | 0.649131 | 831 | 6,786 | 4.883273 | 0.090253 | 0.045835 | 0.073928 | 0.107689 | 0.927551 | 0.927551 | 0.927551 | 0.927551 | 0.927551 | 0.927551 | 0 | 0.010946 | 0.246095 | 6,786 | 205 | 80 | 33.102439 | 0.782252 | 0 | 0 | 0.884848 | 0 | 0 | 0.211023 | 0.124668 | 0 | 0 | 0 | 0 | 0.109091 | 1 | 0.054545 | false | 0 | 0.024242 | 0.006061 | 0.090909 | 0.109091 | 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 |
94fdab2444952ea4ac9a0fd39c516376339d7676 | 203 | py | Python | torchero/models/text/nn/__init__.py | juancruzsosa/torchero | d1440b7a9c3ab2c1d3abbb282abb9ee1ea240797 | [
"MIT"
] | 10 | 2020-07-06T13:35:26.000Z | 2021-08-10T09:46:53.000Z | torchero/models/text/nn/__init__.py | juancruzsosa/torchero | d1440b7a9c3ab2c1d3abbb282abb9ee1ea240797 | [
"MIT"
] | 6 | 2020-07-07T20:52:16.000Z | 2020-07-14T04:05:02.000Z | torchero/models/text/nn/__init__.py | juancruzsosa/torchero | d1440b7a9c3ab2c1d3abbb282abb9ee1ea240797 | [
"MIT"
] | 1 | 2021-06-28T17:56:11.000Z | 2021-06-28T17:56:11.000Z | from torchero.models.text.nn.linear import LinearModel
from torchero.models.text.nn.lstm import LSTMForTextClassification
from torchero.models.text.nn.transformer import TransformerForTextClassification
| 50.75 | 80 | 0.881773 | 24 | 203 | 7.458333 | 0.5 | 0.201117 | 0.301676 | 0.368715 | 0.402235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059113 | 203 | 3 | 81 | 67.666667 | 0.937173 | 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 |
bf7466a770cf59fc0d947412af0514de406b6a29 | 33,052 | py | Python | applications/MultiScaleApplication/python_scripts/TK_Rve_V2_MT.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 2 | 2020-04-30T19:13:08.000Z | 2021-04-14T19:40:47.000Z | applications/MultiScaleApplication/python_scripts/TK_Rve_V2_MT.py | Jacklwln/Kratos | 12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de | [
"BSD-4-Clause"
] | 1 | 2020-04-30T19:19:09.000Z | 2020-05-02T14:22:36.000Z | applications/MultiScaleApplication/python_scripts/TK_Rve_V2_MT.py | Jacklwln/Kratos | 12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | ## @package Rve
# This module contains classes (Rve Modelers) that are used
# to handle the generation, assignment and tracking of
# RveConstitutiveLaws.
#
# More details
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
... | 34.074227 | 189 | 0.695026 | 3,414 | 33,052 | 6.565612 | 0.125952 | 0.032791 | 0.036137 | 0.011778 | 0.85532 | 0.838055 | 0.821102 | 0.813429 | 0.803391 | 0.798483 | 0 | 0.004756 | 0.198384 | 33,052 | 970 | 190 | 34.074227 | 0.841253 | 0.262495 | 0 | 0.816467 | 0 | 0 | 0.041115 | 0.024514 | 0 | 0 | 0 | 0.001031 | 0 | 1 | 0.070326 | false | 0.005146 | 0.017153 | 0.017153 | 0.133791 | 0.070326 | 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 |
bfa64eef07e190189683725f80f3f45e233f6176 | 418 | py | Python | remove_old_files.py | rahulporuri/trains | 54572af1ea39a58c1761929d585d7b67f0949a6c | [
"MIT"
] | null | null | null | remove_old_files.py | rahulporuri/trains | 54572af1ea39a58c1761929d585d7b67f0949a6c | [
"MIT"
] | null | null | null | remove_old_files.py | rahulporuri/trains | 54572af1ea39a58c1761929d585d7b67f0949a6c | [
"MIT"
] | null | null | null | import glob
import os
list_of_files = glob.glob('del/*-10-*')
for filename in list_of_files:
os.remove(filename)
list_of_files = glob.glob('del/*-9-*')
for filename in list_of_files:
os.remove(filename)
list_of_files = glob.glob('del/*_1-11-*')
for filename in list_of_files:
os.remove(filename)
l... | 14.928571 | 41 | 0.700957 | 70 | 418 | 3.928571 | 0.228571 | 0.174545 | 0.32 | 0.218182 | 0.916364 | 0.916364 | 0.836364 | 0.836364 | 0.836364 | 0.836364 | 0 | 0.025496 | 0.155502 | 418 | 27 | 42 | 15.481481 | 0.753541 | 0 | 0 | 0.571429 | 0 | 0 | 0.102871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 |
78331ed66738591db0f74133b5921140c66f1b47 | 2,809 | py | Python | handlers/watch.py | byn9826/Thousand-Day | cd1396cfb6110d1560aea705f2e24fec0b72d258 | [
"BSD-3-Clause"
] | 2 | 2017-04-30T02:39:13.000Z | 2017-05-05T13:11:54.000Z | handlers/watch.py | byn9826/Thousand-Day | cd1396cfb6110d1560aea705f2e24fec0b72d258 | [
"BSD-3-Clause"
] | null | null | null | handlers/watch.py | byn9826/Thousand-Day | cd1396cfb6110d1560aea705f2e24fec0b72d258 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import mysql.connector
#Create watch relation between user and pet
#return 0 for error
#return 1 for success
def createWatch(userId, petId, cnx):
watchQuery = 'INSERT INTO pet_watch (pet_id, user_id) VALUES (%s, %s)'
try:
watchCursor = cnx.cursor()
watc... | 31.211111 | 79 | 0.636881 | 367 | 2,809 | 4.833787 | 0.209809 | 0.051297 | 0.045096 | 0.042277 | 0.808906 | 0.773957 | 0.773957 | 0.749718 | 0.714205 | 0.714205 | 0 | 0.012042 | 0.260947 | 2,809 | 89 | 80 | 31.561798 | 0.842486 | 0.190815 | 0 | 0.777778 | 0 | 0 | 0.174068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.015873 | 0 | 0.253968 | 0.079365 | 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 |
7866c80aef551bbd6c843c11fafba7bfdaf2b6b9 | 186 | py | Python | codewars/7kyu/doha22/max_number/max_number.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | null | null | null | codewars/7kyu/doha22/max_number/max_number.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/7kyu/doha22/max_number/max_number.py | doha22/Training_one | 0cd7cf86c7da0f6175834146296b763d1841766b | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | def max_number(n):
sorting ="".join(sorted(str(n), reverse = True))
s =int(sorting)
return s
def max_number2(n):
return int(''.join(sorted(str(n), reverse=True)))
| 20.666667 | 53 | 0.607527 | 28 | 186 | 3.964286 | 0.5 | 0.108108 | 0.234234 | 0.252252 | 0.45045 | 0.45045 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.209677 | 186 | 8 | 54 | 23.25 | 0.748299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
787451aa886b2ccce6b386c2ab16bf27544954ba | 16,755 | py | Python | proto/fyrmesh_pb2_grpc.py | fyrwatch/fyrmesh | 3c383d542af0c82026561bc347482949aa571340 | [
"MIT"
] | 1 | 2021-02-27T19:48:20.000Z | 2021-02-27T19:48:20.000Z | proto/fyrmesh_pb2_grpc.py | fyrwatch/fyrmesh | 3c383d542af0c82026561bc347482949aa571340 | [
"MIT"
] | 22 | 2021-05-16T18:32:06.000Z | 2021-05-31T13:04:01.000Z | proto/fyrmesh_pb2_grpc.py | fyrwatch/fyrmesh | 3c383d542af0c82026561bc347482949aa571340 | [
"MIT"
] | 1 | 2021-05-15T22:04:39.000Z | 2021-05-15T22:04:39.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from proto import fyrmesh_pb2 as proto_dot_fyrmesh__pb2
class InterfaceStub(object):
"""Missing associated documentation comment in .proto file."""
de... | 42.742347 | 99 | 0.65085 | 1,546 | 16,755 | 6.741268 | 0.071798 | 0.05949 | 0.087795 | 0.105354 | 0.89906 | 0.872961 | 0.861255 | 0.817118 | 0.817118 | 0.806179 | 0 | 0.005087 | 0.272575 | 16,755 | 391 | 100 | 42.851662 | 0.850016 | 0.07365 | 0 | 0.670807 | 1 | 0 | 0.070318 | 0.030963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074534 | false | 0 | 0.006211 | 0.031056 | 0.130435 | 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 |
78be267dda39cc4b64b79f79400fac9f638887f0 | 213 | py | Python | models/modules/__init__.py | zhigangjiang/LGT-Net | d9a619158b2dc66a50c100e7fa7e491f1df16fd7 | [
"MIT"
] | 11 | 2022-03-03T17:49:33.000Z | 2022-03-25T11:23:11.000Z | models/modules/__init__.py | zhigangjiang/LGT-Net | d9a619158b2dc66a50c100e7fa7e491f1df16fd7 | [
"MIT"
] | null | null | null | models/modules/__init__.py | zhigangjiang/LGT-Net | d9a619158b2dc66a50c100e7fa7e491f1df16fd7 | [
"MIT"
] | 1 | 2022-03-04T06:39:50.000Z | 2022-03-04T06:39:50.000Z | """
@Date: 2021/09/01
@description:
"""
from models.modules.swin_transformer import Swin_Transformer
from models.modules.swg_transformer import SWG_Transformer
from models.modules.transformer import Transformer
| 23.666667 | 60 | 0.826291 | 27 | 213 | 6.37037 | 0.444444 | 0.174419 | 0.296512 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.089202 | 213 | 8 | 61 | 26.625 | 0.845361 | 0.14554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
15550e7c50e7ed0824214ffd50a0b16d7d9a9eab | 20,132 | py | Python | ccinput/tests/test_xtb.py | geem-lab/ccinput | 53dfd233e19f25fb17e50f8b2529ce6c50c737a0 | [
"BSD-3-Clause"
] | 1 | 2022-01-21T17:34:55.000Z | 2022-01-21T17:34:55.000Z | ccinput/tests/test_xtb.py | geem-lab/ccinput | 53dfd233e19f25fb17e50f8b2529ce6c50c737a0 | [
"BSD-3-Clause"
] | null | null | null | ccinput/tests/test_xtb.py | geem-lab/ccinput | 53dfd233e19f25fb17e50f8b2529ce6c50c737a0 | [
"BSD-3-Clause"
] | null | null | null | from ccinput.tests.testing_utilities import InputTests
from ccinput.packages.xtb import XtbCalculation
from ccinput.exceptions import InvalidParameter, ImpossibleCalculation
class XtbTests(InputTests):
def test_sp_basic(self):
params = {
"type": "Single-Point Energy",
"file": "etha... | 29.134588 | 72 | 0.542221 | 2,008 | 20,132 | 5.308765 | 0.065239 | 0.052533 | 0.084428 | 0.093809 | 0.920919 | 0.910507 | 0.904784 | 0.900563 | 0.900469 | 0.880675 | 0 | 0.017543 | 0.320435 | 20,132 | 690 | 73 | 29.176812 | 0.76164 | 0 | 0 | 0.735568 | 0 | 0 | 0.296692 | 0.01063 | 0 | 0 | 0 | 0 | 0.124767 | 1 | 0.080074 | false | 0 | 0.005587 | 0 | 0.087523 | 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 |
1592d00d5f2ac35cca4184060c5e06666e186135 | 9,617 | py | Python | test_we.py | MrArna/BetweenessCentrality | 6c20161854b31a5e446f8e20af3367ed76099f23 | [
"Apache-2.0"
] | null | null | null | test_we.py | MrArna/BetweenessCentrality | 6c20161854b31a5e446f8e20af3367ed76099f23 | [
"Apache-2.0"
] | null | null | null | test_we.py | MrArna/BetweenessCentrality | 6c20161854b31a5e446f8e20af3367ed76099f23 | [
"Apache-2.0"
] | null | null | null | import os
import subprocess
import sys
test_output = open("output_we.txt", "w")
#
# Delaunay_n14
#
test_output.write("delaunay_n14\n")
we = subprocess.Popen(['./we_parallel', 'delaunay_n14.mtx'], env={'OMP_NUM_THREADS' : '16'}, stderr=subprocess.PIPE)
for line in we.stderr:
test_output.write(line)
#print line
if... | 22.057339 | 121 | 0.689092 | 1,453 | 9,617 | 4.425327 | 0.035788 | 0.082426 | 0.111975 | 0.099533 | 0.983826 | 0.983826 | 0.983826 | 0.983826 | 0.983826 | 0.983826 | 0 | 0.017219 | 0.130394 | 9,617 | 435 | 122 | 22.108046 | 0.751644 | 0.056047 | 0 | 0.820313 | 0 | 0 | 0.233178 | 0.028425 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011719 | null | null | 0.15625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
eca9c31e5f7a2a6a071896c66e3581685d3af99d | 83,538 | py | Python | Password-Manager-2.0v.py | ANIRUDHADITHYA/Password-Manager | 06953051668f1bf069b10ac8b427394051ae6668 | [
"MIT"
] | null | null | null | Password-Manager-2.0v.py | ANIRUDHADITHYA/Password-Manager | 06953051668f1bf069b10ac8b427394051ae6668 | [
"MIT"
] | null | null | null | Password-Manager-2.0v.py | ANIRUDHADITHYA/Password-Manager | 06953051668f1bf069b10ac8b427394051ae6668 | [
"MIT"
] | null | null | null | import os
import stdiomask
import datetime
from tabulate import tabulate
import mysql.connector
print("*************************************************************************************************************************************************************************")
print("* ******************************... | 81.421053 | 338 | 0.324738 | 5,351 | 83,538 | 4.9473 | 0.062605 | 0.040343 | 0.033997 | 0.03853 | 0.84165 | 0.810599 | 0.79277 | 0.783402 | 0.768103 | 0.765988 | 0 | 0.007209 | 0.4819 | 83,538 | 1,025 | 339 | 81.500488 | 0.604445 | 0.006524 | 0 | 0.785134 | 0 | 0.033682 | 0.422209 | 0.107723 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.132404 | 0.005807 | 0 | 0.005807 | 0.285714 | 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 |
ecbc7902241c2548ca1c47bd76a49f04d71ab442 | 20,094 | py | Python | openmdao/components/tests/test_eq_constraint_comp.py | onodip/OpenMDAO | 96a99806fb3a547b881d2ad3da2733bca9978567 | [
"Apache-2.0"
] | 1 | 2016-05-10T17:01:17.000Z | 2016-05-10T17:01:17.000Z | openmdao/components/tests/test_eq_constraint_comp.py | gsoxley/OpenMDAO | 709401e535cf6933215abd942d4b4d49dbf61b2b | [
"Apache-2.0"
] | 3 | 2016-05-10T16:55:46.000Z | 2018-10-22T23:28:52.000Z | openmdao/components/tests/test_eq_constraint_comp.py | gsoxley/OpenMDAO | 709401e535cf6933215abd942d4b4d49dbf61b2b | [
"Apache-2.0"
] | 2 | 2018-04-05T15:53:54.000Z | 2018-10-22T22:48:00.000Z | import unittest
import numpy as np
from openmdao.api import Problem, Group, IndepVarComp, ExecComp, \
EQConstraintComp, ScipyOptimizeDriver
from openmdao.test_suite.components.sellar import \
SellarDis1withDerivatives, SellarDis2withDerivatives
from openmdao.utils.assert_utils import assert_rel_error, asser... | 35.818182 | 96 | 0.595252 | 2,927 | 20,094 | 3.943287 | 0.066963 | 0.049905 | 0.067753 | 0.054583 | 0.839283 | 0.814244 | 0.8035 | 0.777335 | 0.762433 | 0.752383 | 0 | 0.032638 | 0.231512 | 20,094 | 560 | 97 | 35.882143 | 0.714804 | 0.059122 | 0 | 0.741144 | 0 | 0 | 0.111529 | 0 | 0 | 0 | 0 | 0 | 0.228883 | 1 | 0.038147 | false | 0 | 0.016349 | 0 | 0.06267 | 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 |
ecd84c307637926f1b7f031f8fecb3d5ea27ed4e | 178 | py | Python | data_selection/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 6 | 2017-06-28T10:50:21.000Z | 2022-01-05T18:28:39.000Z | data_selection/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 3 | 2017-12-07T16:02:13.000Z | 2018-09-06T11:39:36.000Z | data_selection/__init__.py | christian-5-28/aimlx-demos | ba63edb80f37b1a8ced70d5e29038eafa3b48b91 | [
"MIT"
] | 23 | 2017-08-08T09:31:16.000Z | 2018-10-24T14:31:36.000Z | from flask import Blueprint
data_selection = Blueprint('data_selection', __name__, template_folder='templates', static_folder='static')
from . import data_selection_controller
| 29.666667 | 107 | 0.825843 | 21 | 178 | 6.52381 | 0.571429 | 0.284672 | 0.321168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 178 | 5 | 108 | 35.6 | 0.845679 | 0 | 0 | 0 | 0 | 0 | 0.162921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
01d562b39d248347397d8eed67c45fb54aae31b2 | 49,381 | py | Python | startup/SST/HW/energy.py | NSLS-II-SST/profile_collection | e2c9d1fce421e7ed8a60fb744c34a770f7780803 | [
"BSD-3-Clause"
] | null | null | null | startup/SST/HW/energy.py | NSLS-II-SST/profile_collection | e2c9d1fce421e7ed8a60fb744c34a770f7780803 | [
"BSD-3-Clause"
] | 12 | 2019-05-30T15:08:15.000Z | 2021-04-29T03:24:10.000Z | startup/SST/HW/energy.py | NSLS-II-SST/profile_collection | e2c9d1fce421e7ed8a60fb744c34a770f7780803 | [
"BSD-3-Clause"
] | 2 | 2019-05-23T17:13:04.000Z | 2019-10-20T14:52:05.000Z | from ophyd import (
PVPositioner,
EpicsSignalRO,
PseudoPositioner,SoftPositioner,
PVPositionerPC,
PseudoSingle,
EpicsMotor,
EpicsSignal,
Signal,
)
from ophyd import Component as Cpt
import bluesky.plan_stubs as bps
from ophyd.pseudopos import pseudo_position_argument, real_position_argum... | 39.759259 | 123 | 0.47822 | 5,206 | 49,381 | 4.483096 | 0.124856 | 0.006684 | 0.007198 | 0.007198 | 0.866447 | 0.850422 | 0.842324 | 0.833626 | 0.825871 | 0.81773 | 0 | 0.209081 | 0.382738 | 49,381 | 1,241 | 124 | 39.791297 | 0.556609 | 0.067475 | 0 | 0.815642 | 0 | 0 | 0.069559 | 0.004748 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032588 | false | 0 | 0.012104 | 0.003724 | 0.165736 | 0.005587 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
01e72ca4c6d73140e712493516cfcb686ef6c18a | 8,200 | py | Python | tests/test_match_Match.py | basbloemsaat/dartsense | 3114a3b73861baf9cf0019a9a2454d7f38e67af1 | [
"MIT"
] | null | null | null | tests/test_match_Match.py | basbloemsaat/dartsense | 3114a3b73861baf9cf0019a9a2454d7f38e67af1 | [
"MIT"
] | 5 | 2018-03-16T09:59:05.000Z | 2019-02-10T21:55:03.000Z | tests/test_match_Match.py | basbloemsaat/dartsense | 3114a3b73861baf9cf0019a9a2454d7f38e67af1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import pytest
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), "../lib"))
import dartsense.event
import dartsense.match
import dartsense.player
from pprint import pprint
def test_match_Match_init():
match = dartsense.match.Match()
assert isinstance(match... | 32.539683 | 85 | 0.713049 | 1,147 | 8,200 | 4.845684 | 0.061901 | 0.199892 | 0.189637 | 0.103994 | 0.924253 | 0.882332 | 0.860202 | 0.81846 | 0.813242 | 0.780856 | 0 | 0.042733 | 0.175244 | 8,200 | 251 | 86 | 32.669323 | 0.779092 | 0.012561 | 0 | 0.745946 | 0 | 0 | 0.116564 | 0.038566 | 0 | 0 | 0 | 0 | 0.718919 | 1 | 0.027027 | false | 0 | 0.037838 | 0 | 0.064865 | 0.005405 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bf1798c9719252d7daa88f3d2cfca117fc8d0b18 | 218 | py | Python | moyasar/resource.py | nuhamozaini/moyasar-python-1 | 89100f9bac91809e8bbfe1cba0e165ffc9b7b979 | [
"MIT"
] | null | null | null | moyasar/resource.py | nuhamozaini/moyasar-python-1 | 89100f9bac91809e8bbfe1cba0e165ffc9b7b979 | [
"MIT"
] | null | null | null | moyasar/resource.py | nuhamozaini/moyasar-python-1 | 89100f9bac91809e8bbfe1cba0e165ffc9b7b979 | [
"MIT"
] | null | null | null | from moyasar.actions.fetch import Fetch
from moyasar.actions.list import List
from moyasar.actions.create import Create
from moyasar.actions.update import Update
class Resource(Fetch, List, Create, Update):
pass
| 24.222222 | 44 | 0.807339 | 31 | 218 | 5.677419 | 0.354839 | 0.25 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 218 | 8 | 45 | 27.25 | 0.926316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
bf3334de6dc103065c9e5b83a1c86bd723773f91 | 68,382 | py | Python | tests/test_dataflow/conftest.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_dataflow/conftest.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_dataflow/conftest.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | 2 | 2021-02-03T12:37:53.000Z | 2022-03-09T03:48:12.000Z | import os
import shutil
import pytest
from appdirs import user_cache_dir
from plums.commons.path import Path
_tree_complex = {
'metadata.csv': '',
'tree.json': '',
'data': {
'images.json': '',
'images': {
'dataset_1': {
'aoi_0': {
'labeled':... | 42.926554 | 120 | 0.497733 | 4,349 | 68,382 | 7.553691 | 0.079559 | 0.037259 | 0.050896 | 0.032876 | 0.927582 | 0.909683 | 0.904447 | 0.899212 | 0.893611 | 0.881617 | 0 | 0.319628 | 0.342722 | 68,382 | 1,592 | 121 | 42.953518 | 0.411271 | 0.081249 | 0 | 0.577836 | 0 | 0 | 0.456488 | 0.382515 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009235 | false | 0 | 0.003298 | 0.00066 | 0.019129 | 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 |
bd83beb388f6151aadf29ba6b2018f8432244850 | 179 | py | Python | agagd/agagd/settings/__init__.py | leeschumacher/agagd | 3f23c7b8702c4dcf1b9f4f8a248ee5c5c0b81b9b | [
"MIT"
] | null | null | null | agagd/agagd/settings/__init__.py | leeschumacher/agagd | 3f23c7b8702c4dcf1b9f4f8a248ee5c5c0b81b9b | [
"MIT"
] | null | null | null | agagd/agagd/settings/__init__.py | leeschumacher/agagd | 3f23c7b8702c4dcf1b9f4f8a248ee5c5c0b81b9b | [
"MIT"
] | null | null | null | # local_settings not required, but makes for a friendlier way to set stage
try:
from local_settings import *
except ImportError:
print "local_settings not found"
pass
| 25.571429 | 74 | 0.75419 | 26 | 179 | 5.076923 | 0.807692 | 0.295455 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206704 | 179 | 6 | 75 | 29.833333 | 0.929577 | 0.402235 | 0 | 0 | 0 | 0 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.4 | null | null | 0.2 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
bd8ca74a5cc221d730c767197d2a5529654ebce7 | 382,018 | pyt | Python | eran/NNet/nnet/ACASXU_run2a_4_7_batch_2000_16bit.pyt | pauls658/ReluDiff-ICSE2020-Artifact | 212854fe04f482183c239e5dfec70106a9a83df8 | [
"Apache-2.0"
] | 7 | 2020-01-27T21:25:49.000Z | 2022-01-07T04:37:37.000Z | eran/NNet/nnet/ACASXU_run2a_4_7_batch_2000_16bit.pyt | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 1 | 2022-01-25T17:41:54.000Z | 2022-01-26T02:27:51.000Z | eran/NNet/nnet/ACASXU_run2a_4_7_batch_2000_16bit.pyt | yqtianust/ReluDiff-ICSE2020-Artifact | 149f6efe4799602db749faa576980c36921a07c7 | [
"Apache-2.0"
] | 3 | 2020-03-14T17:12:17.000Z | 2022-03-16T09:50:46.000Z | ReLU
[[-0.426116, -1.36682, 1.82537, -0.359894, 0.781783], [0.0141898, -1.74668, 2.10078, 0.199607, -0.625995], [0.236925, -0.387744, 0.335238, -0.0708328, -0.872241], [0.189836, 1.80645, 0.228501, 1.39699, -1.70341], [3.36428, -0.00959754, -0.02829, -0.00182374, -0.00321689], [-0.00116646, -1.30479, -0.646313, 0.38497... | 17,364.454545 | 74,218 | 0.551286 | 104,271 | 382,018 | 2.019747 | 0.180204 | 0.483473 | 0.718002 | 0.947764 | 0.245706 | 0.24536 | 0.24536 | 0.24536 | 0.24536 | 0.24536 | 0 | 0.638152 | 0.136426 | 382,018 | 21 | 74,219 | 18,191.333333 | 0.000224 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da4a0fcccdd9cdc3d7e411d6d39890239f410363 | 6,729 | py | Python | cmd_test_pipe_dnd.py | guochengqian/TENet | a8685e81d64fc90ca676ae32d3c9fc8751acef3e | [
"MIT"
] | 211 | 2019-05-13T17:56:17.000Z | 2022-03-24T07:16:33.000Z | cmd_test_pipe_dnd.py | guochengqian/TENet | a8685e81d64fc90ca676ae32d3c9fc8751acef3e | [
"MIT"
] | 13 | 2019-05-14T09:37:22.000Z | 2022-03-14T09:45:00.000Z | cmd_test_pipe_dnd.py | guochengqian/TENet | a8685e81d64fc90ca676ae32d3c9fc8751acef3e | [
"MIT"
] | 30 | 2019-06-06T08:28:32.000Z | 2021-11-26T03:54:22.000Z | """
The testing file for rethinking the pipeline
Instruction:
# in_type: current test in_type
# out_type: current test out_type
# model: current model
# pre_in_type: previous test in_type
# pre_out_type: previous test out_type
# pre_model: previous model
# intermidiate intermidiate state default false (false to re... | 70.09375 | 287 | 0.697726 | 1,023 | 6,729 | 4.318671 | 0.096774 | 0.063377 | 0.045269 | 0.069262 | 0.749887 | 0.741738 | 0.741738 | 0.725441 | 0.725441 | 0.702807 | 0 | 0.011412 | 0.166592 | 6,729 | 95 | 288 | 70.831579 | 0.776391 | 0.118591 | 0 | 0 | 0 | 0.375 | 0.631106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
da69d412905efd49dacbc91f385f290691d3cace | 5,457 | py | Python | coop_cms/apps/newsletters/tests/test_unregister.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 3 | 2016-01-29T10:55:09.000Z | 2022-03-08T16:02:12.000Z | coop_cms/apps/newsletters/tests/test_unregister.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 11 | 2015-03-07T17:30:24.000Z | 2016-07-13T09:40:43.000Z | coop_cms/apps/newsletters/tests/test_unregister.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 5 | 2018-08-30T09:03:22.000Z | 2019-09-10T13:01:56.000Z | # -*- coding: utf-8 -*-
"""test email sending"""
from django.contrib.sites.models import Site
from django.urls import reverse
from coop_cms.tests import BaseTestCase
from model_mommy import mommy
from .. import models
class UnregisterTest(BaseTestCase):
def test_unregister_mailinglist(self):
site1 = S... | 49.162162 | 100 | 0.69727 | 587 | 5,457 | 6.359455 | 0.13799 | 0.104474 | 0.064291 | 0.071256 | 0.85588 | 0.82427 | 0.778194 | 0.76614 | 0.76614 | 0.732923 | 0 | 0.015196 | 0.192047 | 5,457 | 110 | 101 | 49.609091 | 0.831481 | 0.007513 | 0 | 0.714286 | 0 | 0 | 0.050462 | 0.020333 | 0 | 0 | 0 | 0 | 0.265306 | 1 | 0.05102 | false | 0 | 0.05102 | 0 | 0.112245 | 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 |
da8be490062e282f10f95e437986a2f20a4cee5a | 39 | py | Python | ListQues/__init__.py | ylyzty/leecode_study | 8ea3c378a8d06f9f376ec57a553cf61592e3e1f5 | [
"MIT"
] | null | null | null | ListQues/__init__.py | ylyzty/leecode_study | 8ea3c378a8d06f9f376ec57a553cf61592e3e1f5 | [
"MIT"
] | null | null | null | ListQues/__init__.py | ylyzty/leecode_study | 8ea3c378a8d06f9f376ec57a553cf61592e3e1f5 | [
"MIT"
] | null | null | null | # Author: LZY
# Time: 2022/3/3 20:18
| 13 | 23 | 0.589744 | 8 | 39 | 2.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.230769 | 39 | 2 | 24 | 19.5 | 0.433333 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e53de8b47653601de6f20af95339ffc7e03d5f8e | 1,326 | py | Python | Gmail-HACKING.py | Obito-indo/gmail-hacking | f81efb5a6240c5846ec39a7b6c98c1154507c566 | [
"Apache-2.0"
] | 1 | 2020-12-27T22:47:11.000Z | 2020-12-27T22:47:11.000Z | Gmail-HACKING.py | Obito-indo/gmail-hacking | f81efb5a6240c5846ec39a7b6c98c1154507c566 | [
"Apache-2.0"
] | null | null | null | Gmail-HACKING.py | Obito-indo/gmail-hacking | f81efb5a6240c5846ec39a7b6c98c1154507c566 | [
"Apache-2.0"
] | null | null | null | import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJyVVF9vE0cQn72zfbZjJ5AXlxaJ5c0oCItKSBWCqCbQBPEvciJRhRrruNvYm5zvzO26gHR+Sr9GP08fq34SPkArwczcnUlM+9C927nd2Znfzt8LoBguzh9xmt+RhPgKiACO8rUDkYCpA0cOiNCF3/DABeXCGeC+Art7YRWJqkBYgzMBR1VQVQg9OHUgHYKqQVhnvgfxZVAOhA3aClVnBNUA5UHYhDO8oQmqCSdrdHDUgnC... | 663 | 1,298 | 0.956259 | 49 | 1,326 | 25.877551 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130763 | 0.002262 | 1,326 | 2 | 1,298 | 663 | 0.827664 | 0 | 0 | 0 | 0 | 0.5 | 0.935143 | 0.935143 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
e57504b3886167fc288ee414a27ccc93ee34415a | 73,126 | py | Python | decoder/audio_decoders/config/audio_decoders.py | Microchip-MPLAB-Harmony/audio | 0aef4f742c3a0e6a79d179019e257712b84df467 | [
"0BSD"
] | 10 | 2019-03-19T23:00:12.000Z | 2021-03-18T07:43:33.000Z | decoder/audio_decoders/config/audio_decoders.py | Microchip-MPLAB-Harmony/audio | 0aef4f742c3a0e6a79d179019e257712b84df467 | [
"0BSD"
] | 6 | 2019-11-06T19:22:17.000Z | 2021-11-24T12:35:40.000Z | decoder/audio_decoders/config/audio_decoders.py | Microchip-MPLAB-Harmony/audio | 0aef4f742c3a0e6a79d179019e257712b84df467 | [
"0BSD"
] | 4 | 2019-06-12T05:57:31.000Z | 2021-05-23T08:38:32.000Z | # coding: utf-8
##############################################################################
# Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries.
#
# Subject to your compliance with these terms, you may use Microchip software
# and any derivatives exclusively with Microchip products. It is your
# resp... | 78.799569 | 152 | 0.606638 | 8,640 | 73,126 | 4.924769 | 0.060995 | 0.091798 | 0.192573 | 0.283196 | 0.884583 | 0.845006 | 0.82698 | 0.815394 | 0.802985 | 0.789213 | 0 | 0.005346 | 0.194295 | 73,126 | 927 | 153 | 78.884574 | 0.716844 | 0.648087 | 0 | 0.485075 | 0 | 0 | 0.213587 | 0.123988 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048507 | false | 0 | 0.048507 | 0 | 0.097015 | 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 |
e5b8c862c326152e0fbc87565d24a2352b5dd608 | 22,167 | py | Python | src/state_setters.py | laurirasanen/goliath | 7c888934406f8b3c778d3eefe6174c5d3e0be157 | [
"MIT"
] | null | null | null | src/state_setters.py | laurirasanen/goliath | 7c888934406f8b3c778d3eefe6174c5d3e0be157 | [
"MIT"
] | null | null | null | src/state_setters.py | laurirasanen/goliath | 7c888934406f8b3c778d3eefe6174c5d3e0be157 | [
"MIT"
] | null | null | null | import random
import numpy as np
from rlgym.utils.state_setters import StateSetter
from rlgym.utils.state_setters import StateWrapper
from rlgym.utils.common_values import (
BACK_WALL_Y,
BALL_RADIUS,
CEILING_Z,
SIDE_WALL_X,
CAR_MAX_SPEED,
CAR_MAX_ANG_VEL,
)
# Fix spawning inside the rounded c... | 36.339344 | 91 | 0.486399 | 2,657 | 22,167 | 3.74332 | 0.065111 | 0.130304 | 0.119646 | 0.154836 | 0.862759 | 0.831591 | 0.821436 | 0.803439 | 0.790569 | 0.78514 | 0 | 0.057376 | 0.420535 | 22,167 | 610 | 92 | 36.339344 | 0.716933 | 0.08666 | 0 | 0.70082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001639 | 0 | 1 | 0.018443 | false | 0 | 0.010246 | 0 | 0.180328 | 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 |
e5ef5e548d750ef5fc59bd8e0eb06081ab225a65 | 15,445 | py | Python | src/abaqus/Load/SurfaceTraction.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Load/SurfaceTraction.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Load/SurfaceTraction.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | import typing
from abaqusConstants import *
from .Load import Load
from ..Region.Region import Region
class SurfaceTraction(Load):
"""The SurfaceTraction object defines surface traction on a region.
The SurfaceTraction object is derived from the Load object.
Attributes
----------
name: str
... | 54.964413 | 135 | 0.677307 | 1,975 | 15,445 | 5.280506 | 0.08962 | 0.036437 | 0.054655 | 0.061943 | 0.868252 | 0.864129 | 0.856266 | 0.83287 | 0.813693 | 0.813693 | 0 | 0.003036 | 0.274976 | 15,445 | 280 | 136 | 55.160714 | 0.928291 | 0.801036 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.121212 | 0 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
f921b6c43db5e798f0f87eca803db6c11c7fbe51 | 122 | py | Python | common/TimeUtils.py | liujiage/DevOps | 87e7343f1a574bb05fe7915ba05d8757e6913779 | [
"Apache-2.0"
] | 3 | 2022-01-11T14:03:19.000Z | 2022-01-11T14:25:24.000Z | common/TimeUtils.py | liujiage/DevOpsK8s | b722a855394887a91f42c46586b9724f3258f620 | [
"Apache-2.0"
] | null | null | null | common/TimeUtils.py | liujiage/DevOpsK8s | b722a855394887a91f42c46586b9724f3258f620 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime, timezone
def getTimeStr():
return datetime.now(timezone.utc).strftime('%Y%m%d%H%M%S') | 24.4 | 62 | 0.729508 | 19 | 122 | 4.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 122 | 5 | 62 | 24.4 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
005eda53025e6c13fdd00cb7016859d016fe7961 | 13,890 | py | Python | test/cmu_swapped_legs_tests.py | AndrewRLawrence/dp_gp_lvm | b0d4c776714f22e83de31127fbfbbd511f017dcd | [
"MIT"
] | 1 | 2021-01-17T11:44:36.000Z | 2021-01-17T11:44:36.000Z | test/cmu_swapped_legs_tests.py | AndrewRLawrence/dp_gp_lvm | b0d4c776714f22e83de31127fbfbbd511f017dcd | [
"MIT"
] | 1 | 2020-07-19T20:47:02.000Z | 2020-07-19T20:47:02.000Z | test/cmu_swapped_legs_tests.py | AndrewRLawrence/dp_gp_lvm | b0d4c776714f22e83de31127fbfbbd511f017dcd | [
"MIT"
] | 1 | 2020-07-21T07:13:13.000Z | 2020-07-21T07:13:13.000Z | """
This module tests the various models using the concatenated CMU walking data set with normal and swapped legs.
"""
from src.models.dp_gp_lvm import dp_gp_lvm
from src.models.gaussian_process import bayesian_gp_lvm as bgplvm, manifold_relevance_determination as mrd
from src.utils.constants import ResultKeys, RESULT... | 48.566434 | 117 | 0.643988 | 1,788 | 13,890 | 4.70302 | 0.122483 | 0.018552 | 0.03639 | 0.030325 | 0.807349 | 0.795576 | 0.792009 | 0.787609 | 0.771911 | 0.771911 | 0 | 0.009114 | 0.265371 | 13,890 | 285 | 118 | 48.736842 | 0.814975 | 0.122534 | 0 | 0.715 | 0 | 0 | 0.081527 | 0.005853 | 0 | 0 | 0 | 0.003509 | 0 | 1 | 0 | false | 0 | 0.055 | 0 | 0.055 | 0.175 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.