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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7fbd190004638e02211214512956d9a8e3028182 | 1,799 | py | Python | resources/billing.py | axonepro/sdk-ooti | 146ba758f571352d02daa56349e8b3affd8ca5a9 | [
"Unlicense"
] | 1 | 2021-03-13T16:04:54.000Z | 2021-03-13T16:04:54.000Z | resources/billing.py | axonepro/sdk-ooti | 146ba758f571352d02daa56349e8b3affd8ca5a9 | [
"Unlicense"
] | 7 | 2021-07-21T12:42:39.000Z | 2022-01-06T10:34:04.000Z | resources/billing.py | axonepro/sdk-ooti | 146ba758f571352d02daa56349e8b3affd8ca5a9 | [
"Unlicense"
] | 2 | 2021-06-22T08:10:48.000Z | 2021-09-01T09:16:41.000Z | import requests
import json
from .helper import Helper
class Billing(Helper):
def __init__(self, base_url, org_pk, teams_pk, access_token, _csrf_token, headers, pagination):
super().__init__(base_url, org_pk, teams_pk, access_token, _csrf_token, headers, pagination)
def cancel_subscription(self): #... | 40.886364 | 107 | 0.685937 | 221 | 1,799 | 5.371041 | 0.190045 | 0.092671 | 0.055602 | 0.058972 | 0.709351 | 0.709351 | 0.709351 | 0.709351 | 0.709351 | 0.709351 | 0 | 0.010966 | 0.188994 | 1,799 | 44 | 108 | 40.886364 | 0.802605 | 0.075042 | 0 | 0.423077 | 0 | 0 | 0.10594 | 0.066748 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.115385 | 0 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
f68786abdd255402b77effca7b24b1e98df324ad | 97 | py | Python | tests/parser/rewriting.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/rewriting.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/rewriting.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
b(1).
a(X) :- b(X).
:- p(X).
"""
output = """
b(1).
a(X) :- b(X).
:- p(X).
"""
| 8.818182 | 14 | 0.278351 | 18 | 97 | 1.5 | 0.388889 | 0.148148 | 0.222222 | 0.296296 | 0.592593 | 0.592593 | 0.592593 | 0.592593 | 0 | 0 | 0 | 0.028169 | 0.268041 | 97 | 10 | 15 | 9.7 | 0.352113 | 0 | 0 | 0.8 | 0 | 0 | 0.659341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f6c818c4a49f58b5ec79e05cb98e1b12caa50dc1 | 100 | py | Python | tests/basic/tests/__init__.py | contentoolsraushan/contentools-raushan-raj | 3205e72c4a18249adc5c7fd4058540e1ba92a55d | [
"BSD-3-Clause"
] | 1 | 2016-11-16T02:34:00.000Z | 2016-11-16T02:34:00.000Z | tests/basic/tests/__init__.py | contentoolsraushan/contentools-raushan-raj | 3205e72c4a18249adc5c7fd4058540e1ba92a55d | [
"BSD-3-Clause"
] | null | null | null | tests/basic/tests/__init__.py | contentoolsraushan/contentools-raushan-raj | 3205e72c4a18249adc5c7fd4058540e1ba92a55d | [
"BSD-3-Clause"
] | 1 | 2020-06-12T09:54:55.000Z | 2020-06-12T09:54:55.000Z | from basic.tests.resources import * # flake8: noqa
from basic.tests.views import * # flake8: noqa
| 33.333333 | 51 | 0.74 | 14 | 100 | 5.285714 | 0.571429 | 0.243243 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.16 | 100 | 2 | 52 | 50 | 0.857143 | 0.25 | 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 |
f6ddc56458497e3a2688a335133105131d6f2ff8 | 6,651 | py | Python | server/server-flask/app/views/student/apply/extension.py | DSM-DMS/Project-DMS-Web | 73a5d8fc2310bca90169414abf50f541ca0724c7 | [
"MIT"
] | 11 | 2017-07-04T07:44:07.000Z | 2017-09-19T12:56:55.000Z | server/server-flask/app/views/student/apply/extension.py | DSM-DMS/DMS | 73a5d8fc2310bca90169414abf50f541ca0724c7 | [
"MIT"
] | null | null | null | server/server-flask/app/views/student/apply/extension.py | DSM-DMS/DMS | 73a5d8fc2310bca90169414abf50f541ca0724c7 | [
"MIT"
] | 2 | 2017-10-23T06:11:16.000Z | 2017-10-26T03:27:57.000Z | from datetime import datetime, time
import json
from flask import Response
from flask_jwt_extended import get_jwt_identity, jwt_required
from flask_restful import Resource, request
from flasgger import swag_from
from app.docs.student.apply.extension import *
from app.models.account import StudentModel
from app.models... | 27.945378 | 190 | 0.493309 | 989 | 6,651 | 3.190091 | 0.097068 | 0.083677 | 0.079873 | 0.083677 | 0.828526 | 0.791125 | 0.791125 | 0.788273 | 0.75309 | 0.686846 | 0 | 0.129442 | 0.348369 | 6,651 | 237 | 191 | 28.063291 | 0.598523 | 0.011577 | 0 | 0.710983 | 0 | 0 | 0.025796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034682 | false | 0 | 0.052023 | 0 | 0.225434 | 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 |
f6ed14be126799e617be7b2cfb653f738db90a3a | 3,855 | py | Python | dockerfile/catkin_ws/src/interoperation/bbros_bridge/src/bbros_bridge/custom_srv_parser.py | RobotJustina/tmc_justina_docker | 8aa968a81ae4526f6f6c2d55b83954b57b28ea92 | [
"BSD-3-Clause-Clear"
] | null | null | null | dockerfile/catkin_ws/src/interoperation/bbros_bridge/src/bbros_bridge/custom_srv_parser.py | RobotJustina/tmc_justina_docker | 8aa968a81ae4526f6f6c2d55b83954b57b28ea92 | [
"BSD-3-Clause-Clear"
] | null | null | null | dockerfile/catkin_ws/src/interoperation/bbros_bridge/src/bbros_bridge/custom_srv_parser.py | RobotJustina/tmc_justina_docker | 8aa968a81ae4526f6f6c2d55b83954b57b28ea92 | [
"BSD-3-Clause-Clear"
] | null | null | null | import rospy
import StringIO
from pyrobotics import BB
from pyrobotics.messages import Command, Response
#TODO: change the import to the motion planner package
from bbros_bridge.srv import * #import all the services from bbros_bridge
class BB2ROS_HeadServicesCallers:
"""Class to bridge the HEAD PACKAGE ROS Services ... | 46.445783 | 141 | 0.749676 | 532 | 3,855 | 5.355263 | 0.206767 | 0.046332 | 0.027378 | 0.023868 | 0.850123 | 0.850123 | 0.850123 | 0.850123 | 0.850123 | 0.850123 | 0 | 0.004054 | 0.168093 | 3,855 | 82 | 142 | 47.012195 | 0.884316 | 0.138521 | 0 | 0.731707 | 0 | 0 | 0.17057 | 0 | 0 | 0 | 0 | 0.012195 | 0 | 0 | null | null | 0 | 0.121951 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1210ed1e7964a1e7766308df76caa7458f6239ad | 174 | py | Python | src/server/GetModelAPI.py | nikzagarwal/twentyone | d7426fc863773af9acca00c63099f064ed25b0e7 | [
"MIT"
] | 9 | 2020-11-10T14:21:44.000Z | 2021-10-02T13:12:50.000Z | src/server/GetModelAPI.py | Shubham2443/twentyone | 5ac8a0e518a4249a84f8cb2f865437891b295c0d | [
"MIT"
] | null | null | null | src/server/GetModelAPI.py | Shubham2443/twentyone | 5ac8a0e518a4249a84f8cb2f865437891b295c0d | [
"MIT"
] | 7 | 2020-11-14T08:19:53.000Z | 2021-08-11T14:41:37.000Z | from flask import Blueprint
get_model_api = Blueprint('get_model_api', __name__)
# Later
@get_model_api.route("/get_model")
def get_model():
return "Get Model Response" | 21.75 | 52 | 0.764368 | 26 | 174 | 4.653846 | 0.5 | 0.396694 | 0.272727 | 0.330579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 8 | 53 | 21.75 | 0.796053 | 0.028736 | 0 | 0 | 0 | 0 | 0.244048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
c39c3c9a821d7667a9b427d241af6ec93e30fe85 | 94 | py | Python | src/galaxies_datasets/datasets/galaxy_zoo_decals/__init__.py | autogalmorph/galaxies_datasets-1 | 30cc9eae195fee8d393c543a27c4b5e637a1e1ba | [
"MIT"
] | null | null | null | src/galaxies_datasets/datasets/galaxy_zoo_decals/__init__.py | autogalmorph/galaxies_datasets-1 | 30cc9eae195fee8d393c543a27c4b5e637a1e1ba | [
"MIT"
] | 16 | 2021-09-21T21:25:05.000Z | 2022-03-01T14:10:08.000Z | src/galaxies_datasets/datasets/galaxy_zoo_decals/__init__.py | autogalmorph/galaxies_datasets-1 | 30cc9eae195fee8d393c543a27c4b5e637a1e1ba | [
"MIT"
] | 2 | 2022-03-05T14:56:55.000Z | 2022-03-09T23:58:56.000Z | """galaxy_zoo_decals dataset."""
from .galaxy_zoo_decals import GalaxyZooDecals # noqa: F401
| 31.333333 | 60 | 0.787234 | 12 | 94 | 5.833333 | 0.75 | 0.257143 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.106383 | 94 | 2 | 61 | 47 | 0.797619 | 0.404255 | 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 |
c3dbd9fe033cbac3874f6d11209d0920011020db | 4,319 | py | Python | aiozaifapi/client.py | fcce-proj/aiozaifapi | f68d9d7370677c57ff0d60d3ff1d8e833d53f5d1 | [
"MIT"
] | 1 | 2019-01-30T13:49:01.000Z | 2019-01-30T13:49:01.000Z | aiozaifapi/client.py | fcce-proj/aiozaifapi | f68d9d7370677c57ff0d60d3ff1d8e833d53f5d1 | [
"MIT"
] | 1 | 2018-09-11T05:32:21.000Z | 2018-09-11T05:32:21.000Z | aiozaifapi/client.py | techbureau/aiozaifapi | f68d9d7370677c57ff0d60d3ff1d8e833d53f5d1 | [
"MIT"
] | null | null | null | import asyncio
import aiohttp
import async_timeout
import zaifapi
from zaifapi.api_common import get_api_url
from zaifapi.api_error import ZaifApiError, ZaifApiNonceError
class AsyncHTTPMixin:
async def _http_get(self, session, url, params={}):
with async_timeout.timeout(self._timeout):
async... | 39.990741 | 94 | 0.662885 | 554 | 4,319 | 4.864621 | 0.137184 | 0.059369 | 0.020037 | 0.037106 | 0.808905 | 0.808905 | 0.790353 | 0.779963 | 0.779963 | 0.742857 | 0 | 0.002397 | 0.227136 | 4,319 | 107 | 95 | 40.364486 | 0.804973 | 0 | 0 | 0.722892 | 0 | 0 | 0.030331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048193 | false | 0 | 0.072289 | 0 | 0.253012 | 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 |
61b75ead7dfda5d815e8dc4b5a18fee8798d22e8 | 645 | py | Python | REV/Matrix of hell/rev2.py | d4rkvaibhav/Securinets-CTF-Quals-2019 | 7c5c2378b1fbcd4a6ce2e0f1a204761bfb65b83c | [
"MIT"
] | null | null | null | REV/Matrix of hell/rev2.py | d4rkvaibhav/Securinets-CTF-Quals-2019 | 7c5c2378b1fbcd4a6ce2e0f1a204761bfb65b83c | [
"MIT"
] | null | null | null | REV/Matrix of hell/rev2.py | d4rkvaibhav/Securinets-CTF-Quals-2019 | 7c5c2378b1fbcd4a6ce2e0f1a204761bfb65b83c | [
"MIT"
] | null | null | null | i=0
arr=[65, 0, 0, 0, 66, 0, 0, 0, 67, 0, 0, 0, 68, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 71, 0, 0, 0, 72, 0, 0, 0, 73, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 76, 0, 0, 0, 77, 0, 0, 0, 78, 0, 0, 0, 79, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 82, 0, 0, 0, 83, 0, 0, 0, 84, 0, 0, 0, 85, 0, 0, 0, 0, 0, 0, 0, 86,... | 49.615385 | 368 | 0.475969 | 163 | 645 | 1.883436 | 0.312883 | 0.416938 | 0.390879 | 0.208469 | 0.091205 | 0.091205 | 0.091205 | 0 | 0 | 0 | 0 | 0.344262 | 0.243411 | 645 | 13 | 369 | 49.615385 | 0.284836 | 0 | 0 | 0 | 0 | 0 | 0.044892 | 0.043344 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4edf07e5ee9405b2755017968ddc331e45627cd3 | 86 | py | Python | lib/yamddpp/yamddpp/Diffusion/mutual_diffusion/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/yamddpp/yamddpp/Diffusion/mutual_diffusion/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/yamddpp/yamddpp/Diffusion/mutual_diffusion/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | from ._directly import cu_mutual_diffusion
# TODO: mutual diffusion with $\rho(r, t)$
| 28.666667 | 42 | 0.767442 | 13 | 86 | 4.846154 | 0.846154 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 2 | 43 | 43 | 0.84 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f638e21d38c951ad64ed03aa2c16f800dd8b85e9 | 2,997 | py | Python | dataset.py | AngelFelipeMP/Transformers-for-Arabic-hate-speech-and-offensive-language | c65ec2020e8dfbfc7f349a6af0b02f4568e6fc61 | [
"MIT"
] | null | null | null | dataset.py | AngelFelipeMP/Transformers-for-Arabic-hate-speech-and-offensive-language | c65ec2020e8dfbfc7f349a6af0b02f4568e6fc61 | [
"MIT"
] | null | null | null | dataset.py | AngelFelipeMP/Transformers-for-Arabic-hate-speech-and-offensive-language | c65ec2020e8dfbfc7f349a6af0b02f4568e6fc61 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from transformers import AutoTokenizer
class TransformerDataset:
def __init__(self, text, target, max_len, transformer):
self.text = text
self.target = target
self.max_len = max_len
self.tokenizer = AutoTokenizer.from_pretrained(transformer)
... | 29.97 | 80 | 0.571238 | 334 | 2,997 | 4.877246 | 0.167665 | 0.058932 | 0.06016 | 0.051565 | 0.801105 | 0.791283 | 0.762431 | 0.744629 | 0.744629 | 0.688152 | 0 | 0 | 0.319653 | 2,997 | 100 | 81 | 29.97 | 0.798921 | 0.347681 | 0 | 0.77551 | 0 | 0 | 0.015049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.061224 | 0.040816 | 0.306122 | 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 |
9cd1274996edf1db6f8fc3bf7893967dcefd8fed | 10,911 | py | Python | tests/functional/test_create.py | manishmeganathan/flask-audioserver | 5939df81495d8ba595c1585e85bdfb46a61c919c | [
"MIT"
] | 1 | 2021-07-24T20:56:24.000Z | 2021-07-24T20:56:24.000Z | tests/functional/test_create.py | manishmeganathan/flask-audioserver | 5939df81495d8ba595c1585e85bdfb46a61c919c | [
"MIT"
] | 3 | 2021-05-22T08:00:07.000Z | 2021-05-22T08:02:18.000Z | tests/functional/test_create.py | manishmeganathan/flask-audioserver | 5939df81495d8ba595c1585e85bdfb46a61c919c | [
"MIT"
] | 1 | 2021-07-24T20:56:33.000Z | 2021-07-24T20:56:33.000Z | """
Functional Test Module for the /get endpoint of the AudioServer
Test Framework: pyTest
"""
import json
import random
def test_Create_Song(client):
"""
**GIVEN** a Flask application configured for testing\n
**WHEN** the create endpoint is hit with a POST request for creating a Song\n
**THEN** check... | 36.491639 | 100 | 0.665384 | 1,406 | 10,911 | 5.117354 | 0.08606 | 0.043085 | 0.055594 | 0.066713 | 0.869215 | 0.834468 | 0.797081 | 0.779013 | 0.773454 | 0.769145 | 0 | 0.021989 | 0.195582 | 10,911 | 298 | 101 | 36.614094 | 0.797767 | 0.252681 | 0 | 0.647436 | 0 | 0 | 0.264885 | 0.036863 | 0 | 0 | 0 | 0 | 0.602564 | 1 | 0.057692 | false | 0 | 0.012821 | 0 | 0.070513 | 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 |
142c4e29ea3f642d1eff583cd65faa6eed115016 | 26,484 | py | Python | cp_average/tpu_cp_gen.py | marcelosalles/dissertacao | 692f80a0d6b28a7e929dc86f6a684cfa84b59df1 | [
"MIT"
] | null | null | null | cp_average/tpu_cp_gen.py | marcelosalles/dissertacao | 692f80a0d6b28a7e929dc86f6a684cfa84b59df1 | [
"MIT"
] | null | null | null | cp_average/tpu_cp_gen.py | marcelosalles/dissertacao | 692f80a0d6b28a7e929dc86f6a684cfa84b59df1 | [
"MIT"
] | null | null | null | import json
import pandas as pd
df = pd.read_csv('TPU_212_cp.csv')
for nfloor in range(8):
tpu_dict = {
"AirflowNetwork:SimulationControl": {
"Ventilacao": {
"absolute_airflow_convergence_tolerance": 0.0001,
"airflownetwork_control": "MultizoneWithoutDistri... | 77.665689 | 132 | 0.560754 | 3,242 | 26,484 | 4.270512 | 0.036706 | 0.136945 | 0.260816 | 0.266956 | 0.921705 | 0.921705 | 0.917299 | 0.916143 | 0.913615 | 0.910654 | 0 | 0.047541 | 0.261365 | 26,484 | 340 | 133 | 77.894118 | 0.660209 | 0 | 0 | 0.656627 | 0 | 0 | 0.350093 | 0.270578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006024 | 0 | 0.006024 | 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 |
14497da90dbf8d3c63fbad77b7435cdee283414d | 6,741 | py | Python | t/o_tables_test.py | rohankumardubey/orioledb | a736714ed5d71c7f85bee23150c4432b3fbdff1f | [
"PostgreSQL"
] | 947 | 2021-11-29T10:58:09.000Z | 2022-03-31T18:14:07.000Z | t/o_tables_test.py | rohankumardubey/orioledb | a736714ed5d71c7f85bee23150c4432b3fbdff1f | [
"PostgreSQL"
] | 22 | 2021-12-12T22:02:32.000Z | 2022-03-30T19:31:46.000Z | t/o_tables_test.py | rohankumardubey/orioledb | a736714ed5d71c7f85bee23150c4432b3fbdff1f | [
"PostgreSQL"
] | 30 | 2021-12-15T01:11:09.000Z | 2022-03-27T11:22:16.000Z | #!/usr/bin/env python3
# coding: utf-8
import unittest
import testgres
from .base_test import BaseTest
from .base_test import ThreadQueryExecutor
from testgres.enums import NodeStatus
class OTablesTest(BaseTest):
def assertTblCount(self, size):
self.assertEqual(size,
self.node.execute('postgres',
... | 25.631179 | 85 | 0.640409 | 921 | 6,741 | 4.585233 | 0.080347 | 0.127871 | 0.065356 | 0.099455 | 0.904807 | 0.889652 | 0.875918 | 0.86171 | 0.752546 | 0.752546 | 0 | 0.016566 | 0.211986 | 6,741 | 262 | 86 | 25.729008 | 0.778426 | 0.005192 | 0 | 0.847534 | 0 | 0 | 0.366796 | 0.003282 | 0 | 0 | 0 | 0 | 0.152466 | 1 | 0.044843 | false | 0 | 0.022422 | 0 | 0.071749 | 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 |
1473bfb655a7598b6f756712f888f44ca3befcfb | 15,145 | py | Python | src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py | ZengTaoxu/azure-cli | 6be96de450da5ac9f07aafb22dd69880bea04792 | [
"MIT"
] | null | null | null | src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py | ZengTaoxu/azure-cli | 6be96de450da5ac9f07aafb22dd69880bea04792 | [
"MIT"
] | null | null | null | src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py | ZengTaoxu/azure-cli | 6be96de450da5ac9f07aafb22dd69880bea04792 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 48.386581 | 199 | 0.591152 | 1,499 | 15,145 | 5.828552 | 0.086057 | 0.03365 | 0.043264 | 0.037084 | 0.927321 | 0.925833 | 0.91908 | 0.913014 | 0.913014 | 0.913014 | 0 | 0.007363 | 0.273622 | 15,145 | 312 | 200 | 48.541667 | 0.786838 | 0.03176 | 0 | 0.908 | 0 | 0.148 | 0.438545 | 0.025046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.02 | 0 | 0.044 | 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 |
210907fcdc40cde8b8e239baabcae37ac6533a5a | 9,829 | py | Python | omniforms/migrations/0001_initial.py | vixdigital/omni-forms | 1a21c4b7428e08ee148fc97662ed6b15c21cbe1c | [
"MIT"
] | 6 | 2016-09-02T22:07:32.000Z | 2019-12-16T08:52:37.000Z | omniforms/migrations/0001_initial.py | vixdigital/omni-forms | 1a21c4b7428e08ee148fc97662ed6b15c21cbe1c | [
"MIT"
] | 32 | 2016-06-09T14:06:13.000Z | 2018-04-24T11:45:44.000Z | omniforms/migrations/0001_initial.py | vixdigital/omni-forms | 1a21c4b7428e08ee148fc97662ed6b15c21cbe1c | [
"MIT"
] | 4 | 2016-08-08T17:49:38.000Z | 2019-11-19T15:32:03.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-06-07 13:18
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import omniforms.models
class Migration(migrations.Migration):
initial = True
dependencies = [
('contenttypes', '... | 47.483092 | 213 | 0.593143 | 896 | 9,829 | 6.368304 | 0.138393 | 0.030845 | 0.051525 | 0.080967 | 0.820715 | 0.811251 | 0.779005 | 0.779005 | 0.750613 | 0.74448 | 0 | 0.006848 | 0.272052 | 9,829 | 206 | 214 | 47.713592 | 0.790636 | 0.006817 | 0 | 0.722222 | 1 | 0 | 0.163336 | 0.030536 | 0.005051 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020202 | 0 | 0.040404 | 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 |
2119a3c4d672b9664c564ee420637ea10c451801 | 21,505 | py | Python | great_international/migrations/0062_auto_20190731_1236.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/migrations/0062_auto_20190731_1236.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/migrations/0062_auto_20190731_1236.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # Generated by Django 2.2.2 on 2019-07-31 12:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('great_international', '0061_merge_20190731_1124'),
]
operations = [
migrations.RemoveField(
model_name='investinternationalhomep... | 39.458716 | 171 | 0.620879 | 1,892 | 21,505 | 6.7574 | 0.042812 | 0.088698 | 0.20133 | 0.232303 | 0.98686 | 0.984904 | 0.983966 | 0.980289 | 0.967775 | 0.706688 | 0 | 0.002038 | 0.292816 | 21,505 | 544 | 172 | 39.53125 | 0.838638 | 0.002093 | 0 | 0.784387 | 1 | 0.033457 | 0.376876 | 0.246808 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001859 | 0 | 0.007435 | 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 |
3718c670cde7f7f172de1a4b2e5a6ec8a766bbf8 | 179 | py | Python | Godzilla_Flies/game/score.py | Thrasherop/FinalProject | 0cbc1504a311f490ae494302fd1a4f0a225e4cae | [
"MIT"
] | null | null | null | Godzilla_Flies/game/score.py | Thrasherop/FinalProject | 0cbc1504a311f490ae494302fd1a4f0a225e4cae | [
"MIT"
] | null | null | null | Godzilla_Flies/game/score.py | Thrasherop/FinalProject | 0cbc1504a311f490ae494302fd1a4f0a225e4cae | [
"MIT"
] | null | null | null | class Score:
def __init__(self):
self._score = 0
def get_score(self):
return self._score
def add_score(self, score):
self._score += score | 19.888889 | 31 | 0.581006 | 23 | 179 | 4.130435 | 0.391304 | 0.378947 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.324022 | 179 | 9 | 32 | 19.888889 | 0.77686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
2ee5fdecce50fa998f8d53511f9f40bbdbc20289 | 180 | py | Python | models/rl_actions/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 26 | 2021-04-30T23:21:17.000Z | 2022-03-10T06:33:11.000Z | models/rl_actions/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 6 | 2021-10-03T08:35:48.000Z | 2022-03-24T09:57:39.000Z | models/rl_actions/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 10 | 2021-04-28T14:08:17.000Z | 2022-03-04T04:18:13.000Z | from models.rl_actions.base_action import BaseAction
from models.rl_actions.sample_model import SampleModel
from models.rl_actions.likelihood_evaluation import LikelihoodEvaluation | 60 | 72 | 0.905556 | 24 | 180 | 6.541667 | 0.583333 | 0.191083 | 0.229299 | 0.363057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061111 | 180 | 3 | 72 | 60 | 0.928994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d3038c946c6787ee6b465e46bc0a91bf29329da6 | 4,045 | py | Python | ietf/dbtemplate/migrations/0003_adjust_review_templates.py | hassanakbar4/ietfdb | cabee059092ae776015410640226064331c293b7 | [
"BSD-3-Clause"
] | 25 | 2022-03-05T08:26:52.000Z | 2022-03-30T15:45:42.000Z | ietf/dbtemplate/migrations/0003_adjust_review_templates.py | hassanakbar4/ietfdb | cabee059092ae776015410640226064331c293b7 | [
"BSD-3-Clause"
] | 219 | 2022-03-04T17:29:12.000Z | 2022-03-31T21:16:14.000Z | ietf/dbtemplate/migrations/0003_adjust_review_templates.py | hassanakbar4/ietfdb | cabee059092ae776015410640226064331c293b7 | [
"BSD-3-Clause"
] | 22 | 2022-03-04T15:34:34.000Z | 2022-03-28T13:30:59.000Z | # Copyright The IETF Trust 2019-2020, All Rights Reserved
# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-03-05 11:39
from django.db import migrations
def forward(apps, schema_editor):
DBTemplate = apps.get_model('dbtemplate', 'DBTemplate')
DBTemplate.objects.filter(id=186).update(content="""I ... | 33.708333 | 175 | 0.743881 | 593 | 4,045 | 4.989882 | 0.231029 | 0.033457 | 0.036499 | 0.051369 | 0.902332 | 0.902332 | 0.901318 | 0.898952 | 0.898952 | 0.898952 | 0 | 0.016571 | 0.134734 | 4,045 | 119 | 176 | 33.991597 | 0.828857 | 0.030902 | 0 | 0.831169 | 1 | 0.077922 | 0.84474 | 0.221144 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025974 | false | 0 | 0.012987 | 0 | 0.077922 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d3055399900da91bcfc6e1e8e9f63a64fe9aefdf | 289 | py | Python | processes/__init__.py | c3s-magic/adaguc-services-esmvaltool-wps | 2afc856b05aa816a2b32b961f630e24ce2eab076 | [
"Apache-2.0"
] | null | null | null | processes/__init__.py | c3s-magic/adaguc-services-esmvaltool-wps | 2afc856b05aa816a2b32b961f630e24ce2eab076 | [
"Apache-2.0"
] | null | null | null | processes/__init__.py | c3s-magic/adaguc-services-esmvaltool-wps | 2afc856b05aa816a2b32b961f630e24ce2eab076 | [
"Apache-2.0"
] | null | null | null | #__all__ = ["dummyprocess","ultimatequestionprocess", "esmvaltool-time-series-plot", "pretty-picture"]
__all__ = ["esmvaltool-time-series-plot", "esmvaltool-portrait", "esmvaltool-taylor", "esmvaltool-clouds", "esmvaltool-clouds-ipcc", "esmvaltool-clouds-interannual", "esmvaltool-ozone"]
| 96.333333 | 185 | 0.768166 | 28 | 289 | 7.642857 | 0.535714 | 0.224299 | 0.186916 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048443 | 289 | 2 | 186 | 144.5 | 0.778182 | 0.349481 | 0 | 0 | 0 | 0 | 0.786096 | 0.417112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d3278def968ea5cd85ed4671ff849aa6303a1d23 | 42,256 | py | Python | kinow_client/apis/playlists_api.py | kinow-io/kinow-python-sdk | 4c1699a3c78048b84287bd049a669651a5b4e2d5 | [
"Apache-2.0"
] | 1 | 2019-06-26T14:24:54.000Z | 2019-06-26T14:24:54.000Z | kinow_client/apis/playlists_api.py | kinow-io/kinow-python-sdk | 4c1699a3c78048b84287bd049a669651a5b4e2d5 | [
"Apache-2.0"
] | null | null | null | kinow_client/apis/playlists_api.py | kinow-io/kinow-python-sdk | 4c1699a3c78048b84287bd049a669651a5b4e2d5 | [
"Apache-2.0"
] | 1 | 2018-02-01T10:08:40.000Z | 2018-02-01T10:08:40.000Z | # coding: utf-8
"""
Server API
Reference for Server API (REST/Json)
OpenAPI spec version: 1.4.58
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compatibility library
from six i... | 42.596774 | 122 | 0.571067 | 4,290 | 42,256 | 5.371562 | 0.041492 | 0.047735 | 0.021871 | 0.02812 | 0.96025 | 0.939854 | 0.93239 | 0.920457 | 0.911777 | 0.904834 | 0 | 0.000254 | 0.348022 | 42,256 | 991 | 123 | 42.639758 | 0.836189 | 0.304974 | 0 | 0.796781 | 1 | 0 | 0.186029 | 0.044154 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038229 | false | 0 | 0.014085 | 0 | 0.108652 | 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 |
d3661a6402f874409675b2c8c05918eae8e50273 | 3,830 | py | Python | tests/test_alarms.py | palazzem/elmo-server | b2e02d600a431dc1db31090f0d8dd09a8d586373 | [
"BSD-3-Clause"
] | null | null | null | tests/test_alarms.py | palazzem/elmo-server | b2e02d600a431dc1db31090f0d8dd09a8d586373 | [
"BSD-3-Clause"
] | 8 | 2019-05-20T19:26:01.000Z | 2019-05-26T13:02:45.000Z | tests/test_alarms.py | palazzem/elmo-server | b2e02d600a431dc1db31090f0d8dd09a8d586373 | [
"BSD-3-Clause"
] | null | null | null | from elmo.api.exceptions import APIException, PermissionDenied
def test_alarms_wrong_mimetype(client):
"""Should return 415 if JSON is not used"""
result = client.simulate_put(
"/api/v0/alarms",
headers={
"Content-Type": "application/x-www-form-urlencoded",
"Authorizati... | 34.818182 | 82 | 0.680418 | 443 | 3,830 | 5.742664 | 0.187359 | 0.04717 | 0.062893 | 0.078616 | 0.94261 | 0.94261 | 0.94261 | 0.94261 | 0.939072 | 0.939072 | 0 | 0.125283 | 0.191384 | 3,830 | 109 | 83 | 35.137615 | 0.696158 | 0.101044 | 0 | 0.708861 | 0 | 0 | 0.312169 | 0.178718 | 0 | 0 | 0 | 0 | 0.202532 | 1 | 0.101266 | false | 0 | 0.012658 | 0 | 0.113924 | 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 |
d369950efa0e4af8f3ba17abcfc69d53985baf26 | 6,594 | py | Python | Commodity/LMELoadFile_functions.py | fzhang00/HFInvest | 104fd2500a5a22a4c01663387df54fce80107e78 | [
"MIT"
] | null | null | null | Commodity/LMELoadFile_functions.py | fzhang00/HFInvest | 104fd2500a5a22a4c01663387df54fce80107e78 | [
"MIT"
] | 2 | 2021-05-24T15:49:44.000Z | 2021-05-24T23:54:49.000Z | Commodity/LMELoadFile_functions.py | fzhang00/HFinvest | 104fd2500a5a22a4c01663387df54fce80107e78 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun May 2 12:48:47 2021
@author: haoli
"""
def sql_load_csvFile_goldSilver_Vol_OI(fileFullPath):
import key as pconst
_server = pconst.RYAN_SQL['server']
_database = pconst.RYAN_SQL['database']
_username = pconst.RYAN_SQL['username']
_password = pconst.RYAN_... | 38.561404 | 142 | 0.654686 | 784 | 6,594 | 5.160714 | 0.173469 | 0.06525 | 0.069204 | 0.049432 | 0.767919 | 0.76347 | 0.752348 | 0.724419 | 0.701928 | 0.701928 | 0 | 0.016529 | 0.210949 | 6,594 | 171 | 143 | 38.561404 | 0.761099 | 0.059751 | 0 | 0.70339 | 0 | 0 | 0.21873 | 0.034187 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042373 | false | 0.067797 | 0.008475 | 0 | 0.050847 | 0.076271 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d374871912113cb02d6fd9f53efb6a0f09a2d89a | 68,583 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/cmp_fft/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/cmp_fft/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/cmp_fft/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.036105 | 124 | 0.681962 | 8,082 | 68,583 | 5.781119 | 0.067681 | 0.123622 | 0.113006 | 0.093487 | 0.939387 | 0.930784 | 0.918135 | 0.886394 | 0.861781 | 0.842647 | 0 | 0.131524 | 0.224414 | 68,583 | 914 | 125 | 75.036105 | 0.74686 | 0 | 0 | 0.642232 | 0 | 0 | 0.657661 | 0.048116 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ca50ff879635ca52d37ec07bc50bcd19d2bb5bf | 15,412 | py | Python | tests/BackTestSystem/test_strategies.py | HarshCasper/FinMind | 7b7571e443525edcd52c7f53e7fb0daca42b1f60 | [
"Apache-2.0"
] | null | null | null | tests/BackTestSystem/test_strategies.py | HarshCasper/FinMind | 7b7571e443525edcd52c7f53e7fb0daca42b1f60 | [
"Apache-2.0"
] | null | null | null | tests/BackTestSystem/test_strategies.py | HarshCasper/FinMind | 7b7571e443525edcd52c7f53e7fb0daca42b1f60 | [
"Apache-2.0"
] | null | null | null | import pytest
import pandas as pd
from FinMind.BackTestSystem import BackTest
from FinMind.BackTestSystem.Strategies.ContinueHolding import ContinueHolding
from FinMind.BackTestSystem.Strategies.Bias import Bias
from FinMind.BackTestSystem.Strategies.NaiveKd import NaiveKd
from FinMind.BackTestSystem.Strategies.Kd impo... | 29.35619 | 79 | 0.641059 | 1,881 | 15,412 | 5.090909 | 0.079213 | 0.100251 | 0.162907 | 0.106516 | 0.874791 | 0.873642 | 0.872703 | 0.866019 | 0.864557 | 0.864557 | 0 | 0.117077 | 0.223008 | 15,412 | 524 | 80 | 29.412214 | 0.682589 | 0.017649 | 0 | 0.78066 | 0 | 0 | 0.145558 | 0.012956 | 0 | 0 | 0 | 0 | 0.308962 | 1 | 0.049528 | false | 0 | 0.03066 | 0 | 0.080189 | 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 |
4cebfd212f8cdba2134b645e75acaddc79952f4d | 134 | py | Python | icedata/datasets/coco/__init__.py | davanstrien/icedata | fdab4d47f68c75bc11b0a97599d46fa8107786f4 | [
"Apache-2.0"
] | null | null | null | icedata/datasets/coco/__init__.py | davanstrien/icedata | fdab4d47f68c75bc11b0a97599d46fa8107786f4 | [
"Apache-2.0"
] | null | null | null | icedata/datasets/coco/__init__.py | davanstrien/icedata | fdab4d47f68c75bc11b0a97599d46fa8107786f4 | [
"Apache-2.0"
] | null | null | null | from icedata.datasets.coco.data import *
from icedata.datasets.coco.parsers import *
from icedata.datasets.coco import trained_models
| 33.5 | 48 | 0.835821 | 19 | 134 | 5.842105 | 0.473684 | 0.297297 | 0.513514 | 0.621622 | 0.522523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 134 | 3 | 49 | 44.666667 | 0.909836 | 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 |
e233334354e5782717ded50e70dfcca4e40e9713 | 81,464 | py | Python | sdk/python/pulumi_vultr/instance.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vultr/instance.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vultr/instance.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # 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 ... | 46.233825 | 324 | 0.64906 | 10,487 | 81,464 | 4.848384 | 0.035949 | 0.094326 | 0.077372 | 0.070528 | 0.944065 | 0.925086 | 0.902409 | 0.891985 | 0.879418 | 0.838686 | 0 | 0.003611 | 0.241886 | 81,464 | 1,761 | 325 | 46.26008 | 0.81967 | 0.334995 | 0 | 0.753637 | 1 | 0.00582 | 0.121269 | 0.014195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168768 | false | 0.015519 | 0.00679 | 0 | 0.28031 | 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 |
e2a35f2dc645548ebfc5ece3d7f4a3357873aed5 | 7,636 | py | Python | test/day_13/test_lib.py | teagles/teagles-advent-2021 | d49d842663d6382bd0d4d93198ccd66ab68e681b | [
"MIT"
] | null | null | null | test/day_13/test_lib.py | teagles/teagles-advent-2021 | d49d842663d6382bd0d4d93198ccd66ab68e681b | [
"MIT"
] | null | null | null | test/day_13/test_lib.py | teagles/teagles-advent-2021 | d49d842663d6382bd0d4d93198ccd66ab68e681b | [
"MIT"
] | null | null | null | import unittest
from io import StringIO
from teagles_advent_2021.day_13.lib import parse_input, PageAndFolds, Fold, fold, new_dimension, Point
class TestDay13Lib(unittest.TestCase):
def test_parse_input(self):
expectation = PageAndFolds([[False, False, False, True, False, False, True, False, False, True... | 64.711864 | 114 | 0.535097 | 860 | 7,636 | 4.70814 | 0.05814 | 1.232403 | 1.611509 | 1.891825 | 0.903186 | 0.903186 | 0.88244 | 0.88244 | 0.861694 | 0.836503 | 0 | 0.015634 | 0.338266 | 7,636 | 117 | 115 | 65.264957 | 0.785672 | 0 | 0 | 0.564815 | 0 | 0 | 0.016894 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.064815 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e2a9f6e84f017e2ce7515bd2c5801cddb81dc83c | 70 | py | Python | molsysmt/tools/mdtraj_XTCTrajectoryFile/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/mdtraj_XTCTrajectoryFile/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/mdtraj_XTCTrajectoryFile/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | from .is_mdtraj_XTCTrajectoryFile import is_mdtraj_XTCTrajectoryFile
| 23.333333 | 68 | 0.914286 | 8 | 70 | 7.5 | 0.625 | 0.266667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 70 | 2 | 69 | 35 | 0.923077 | 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 |
e2b7e36b90ba2c6dd5970ea487655b4c321fe2c3 | 20,268 | py | Python | fortisoar-soc-simulator/fakemalware.py | cs-alok-agarwal/connector-fortisoar-soc-simulator | 8d78734223e0a4cb08ed9d3327936bb7f2939cb6 | [
"MIT"
] | null | null | null | fortisoar-soc-simulator/fakemalware.py | cs-alok-agarwal/connector-fortisoar-soc-simulator | 8d78734223e0a4cb08ed9d3327936bb7f2939cb6 | [
"MIT"
] | null | null | null | fortisoar-soc-simulator/fakemalware.py | cs-alok-agarwal/connector-fortisoar-soc-simulator | 8d78734223e0a4cb08ed9d3327936bb7f2939cb6 | [
"MIT"
] | null | null | null | MALICIOUS_FILE_B64 = 'UEsDBBQACAgIAMA6mVMAAAAAAAAAAAAAAAAeAAAAd29yZC9fcmVscy92YmFQcm9qZWN0LmJpbi5yZWxzbc89C8IwEAbg3V8RbjfXOoiIaRcRXEXdzzRtg00uJMGPf2/ARdHxvh7u3bQPN4mbicmyV1DLCoTxmjvrBwWn426+graZbQ5molxW0mhDEuXGJwVjzmGNmPRoHCXJwfgy6Tk6yqWMAwbSVxoMLqpqifHTgObLFPtOQdx3NYjjM5gf21kdOXGfpWaH3PdW/1PxzrE7X2hLmYpEcTBZwe3dkOU5wB... | 10,134 | 20,267 | 0.970397 | 569 | 20,268 | 34.56239 | 0.987698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153368 | 0.000148 | 20,268 | 1 | 20,268 | 20,268 | 0.817074 | 0 | 0 | 0 | 0 | 1 | 0.998816 | 0.998816 | 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 |
2c66ee60a5c59d100b552020e8ba5d9fbe05698f | 1,324 | py | Python | jixianjiancha/models.py | zx273983653/vulscan | 787397e267c4e6469522ee0abe55b3e98f968d4a | [
"MIT"
] | 582 | 2019-02-23T09:23:33.000Z | 2022-03-31T04:42:08.000Z | jixianjiancha/models.py | git-wsf/vulscan | 112f8d6104daecfaaad579f73029a26d56aaa9b3 | [
"MIT"
] | 6 | 2019-03-20T10:37:48.000Z | 2020-03-10T06:20:07.000Z | jixianjiancha/models.py | git-wsf/vulscan | 112f8d6104daecfaaad579f73029a26d56aaa9b3 | [
"MIT"
] | 183 | 2019-02-23T06:00:18.000Z | 2022-03-20T02:17:57.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
import sys
reload(sys)
sys.setdefaultencoding('utf8')
# Create your models here.
class BaseCheck(models.Model):
vid=models.IntegerField(primary_key=True) #主键
ip=models.CharField(max_length=255,null=True,blank=True)#扫描... | 38.941176 | 70 | 0.804381 | 206 | 1,324 | 5.058252 | 0.247573 | 0.18714 | 0.224568 | 0.299424 | 0.796545 | 0.796545 | 0.796545 | 0.796545 | 0.796545 | 0.754319 | 0 | 0.032826 | 0.056647 | 1,324 | 33 | 71 | 40.121212 | 0.801441 | 0.08006 | 0 | 0.6 | 0 | 0 | 0.003339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.12 | 0 | 0.92 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
2c8406ca0af2413ec1a07939526e58dc89c2ac60 | 1,100 | py | Python | sun.py | kyullog/picture-clock-2 | 5f601cce0bb0aa3689aba70fd9367af9f64633f1 | [
"MIT"
] | null | null | null | sun.py | kyullog/picture-clock-2 | 5f601cce0bb0aa3689aba70fd9367af9f64633f1 | [
"MIT"
] | 11 | 2020-12-10T04:40:59.000Z | 2022-02-26T22:07:42.000Z | sun.py | kyullog/picture-clock-2 | 5f601cce0bb0aa3689aba70fd9367af9f64633f1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import unicornhat
pixels = [[(255, 255, 0), (0, 255, 255), (0, 255, 255), (255, 255, 0), (0, 255, 255), (0, 255, 255), (0, 255, 255), (255, 255, 0)], [(0, 255, 255), (255, 255, 0), (0, 255, 255), (255, 255, 0), (255, 255, 0), (0, 255, 255), (255, 255, 0), (0, 255, 255)], [(0, 255, 255), (0, 255, 2... | 110 | 499 | 0.482727 | 207 | 1,100 | 2.560386 | 0.062802 | 0.883019 | 0.660377 | 0.528302 | 0.845283 | 0.845283 | 0.845283 | 0.845283 | 0.845283 | 0.845283 | 0 | 0.507361 | 0.197273 | 1,100 | 9 | 500 | 122.222222 | 0.092865 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 13 |
2cc0e8f3f9b304df5f1356ddcbc3e6c9b9af837a | 79 | py | Python | pylab/signal/__init__.py | bodokaiser/pylab | 3f709256fc89def0af2d8fe1de947d512a3e991a | [
"Apache-2.0"
] | null | null | null | pylab/signal/__init__.py | bodokaiser/pylab | 3f709256fc89def0af2d8fe1de947d512a3e991a | [
"Apache-2.0"
] | null | null | null | pylab/signal/__init__.py | bodokaiser/pylab | 3f709256fc89def0af2d8fe1de947d512a3e991a | [
"Apache-2.0"
] | null | null | null | from pylab.signal.houston import DDS
from pylab.signal.keysight import FG33250
| 26.333333 | 41 | 0.848101 | 12 | 79 | 5.583333 | 0.666667 | 0.268657 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0.101266 | 79 | 2 | 42 | 39.5 | 0.873239 | 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 |
391b1422919ba0ab80fe22663cb0571c0a814c25 | 7,792 | py | Python | tests/integrations/test_reviewer_views.py | theSage21/junction | ac713edcf56c41eb3f066da776a0a5d24e55b46a | [
"MIT"
] | 192 | 2015-01-12T06:21:24.000Z | 2022-03-10T09:57:37.000Z | tests/integrations/test_reviewer_views.py | theSage21/junction | ac713edcf56c41eb3f066da776a0a5d24e55b46a | [
"MIT"
] | 621 | 2015-01-01T09:19:17.000Z | 2021-05-28T09:27:35.000Z | tests/integrations/test_reviewer_views.py | theSage21/junction | ac713edcf56c41eb3f066da776a0a5d24e55b46a | [
"MIT"
] | 207 | 2015-01-05T16:39:06.000Z | 2022-02-15T13:18:15.000Z | # -*- coding: utf-8 -*-
import pytest
from django.core.urlresolvers import reverse
from .. import factories as f
from . import helpers
pytestmark = pytest.mark.django_db
class TestReviewerViews:
def test_reviewer_private_comment(
self, settings, login, conferences, create_proposal
):
client... | 33.586207 | 86 | 0.660934 | 835 | 7,792 | 5.994012 | 0.106587 | 0.072727 | 0.067133 | 0.077922 | 0.847552 | 0.824775 | 0.782418 | 0.766633 | 0.757243 | 0.747453 | 0 | 0.009663 | 0.229723 | 7,792 | 231 | 87 | 33.731602 | 0.824225 | 0.002695 | 0 | 0.751515 | 0 | 0 | 0.132449 | 0.031278 | 0 | 0 | 0 | 0 | 0.157576 | 1 | 0.078788 | false | 0.054545 | 0.024242 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
1ab90680f959caaee31785586dac2c0f483852ca | 47,330 | py | Python | util/data/gen/RPCRT4.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/RPCRT4.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/RPCRT4.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'CStdStubBuffer_AddRef', 'address': '0x7ffb3d3fbf50'}, {'type': 'function', 'name': 'CStdStubBuffer_Connect', 'address': '0x7ffb3d46bd70'}, {'type': 'function', 'name': 'CStdStubBuffer_CountRefs', 'address': '0x7ffb3d46bdd0'}, {'type': 'function', 'name': 'CStdStubBu... | 23,665 | 47,317 | 0.696577 | 3,441 | 47,330 | 9.544319 | 0.319093 | 0.201693 | 0.268924 | 0.056939 | 0.017143 | 0.013763 | 0 | 0 | 0 | 0 | 0 | 0.094879 | 0.070061 | 47,330 | 2 | 47,317 | 23,665 | 0.651293 | 0 | 0 | 0 | 0 | 0 | 0.696267 | 0.191777 | 0 | 0 | 0.163276 | 0 | 0 | 1 | 0 | false | 0.5 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 8 |
46c56c94d64a24c3d8ad992807d4af84522e5b98 | 43,197 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/resource_groups/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/resource_groups/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/resource_groups/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 botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str = None):
"""
C... | 55.523136 | 607 | 0.564576 | 4,901 | 43,197 | 4.930218 | 0.072638 | 0.012416 | 0.012912 | 0.013409 | 0.832388 | 0.810744 | 0.797252 | 0.784174 | 0.775235 | 0.773828 | 0 | 0.00917 | 0.323425 | 43,197 | 777 | 608 | 55.594595 | 0.817594 | 0.819062 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.175 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
20101e8ef8044781125aff7f8c4b4bf7865bcf43 | 116 | py | Python | tools/Polygraphy/polygraphy/mod/__init__.py | KaliberAI/TensorRT | 34a167558058bb801176430d37d38a46328ab0d2 | [
"Apache-2.0"
] | 5,249 | 2019-06-17T17:20:34.000Z | 2022-03-31T17:56:05.000Z | tools/Polygraphy/polygraphy/mod/__init__.py | KaliberAI/TensorRT | 34a167558058bb801176430d37d38a46328ab0d2 | [
"Apache-2.0"
] | 1,721 | 2019-06-17T18:13:29.000Z | 2022-03-31T16:09:53.000Z | tools/Polygraphy/polygraphy/mod/__init__.py | KaliberAI/TensorRT | 34a167558058bb801176430d37d38a46328ab0d2 | [
"Apache-2.0"
] | 1,414 | 2019-06-18T04:01:17.000Z | 2022-03-31T09:16:53.000Z | from polygraphy.mod.importer import *
from polygraphy.mod.exporter import *
from polygraphy.mod.util import version
| 29 | 39 | 0.827586 | 16 | 116 | 6 | 0.5 | 0.4375 | 0.53125 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 3 | 40 | 38.666667 | 0.923077 | 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 | 0 | 0 | 0 | 7 |
645b32ec7805ff523d8b68caaa72af2cef3ef070 | 167,732 | py | Python | test/connectivity/acts/tests/google/tel/live/TelWifiVoiceTest.py | Keneral/atools | 055e76621340c7dced125e9de56e2645b5e1cdfb | [
"Unlicense"
] | null | null | null | test/connectivity/acts/tests/google/tel/live/TelWifiVoiceTest.py | Keneral/atools | 055e76621340c7dced125e9de56e2645b5e1cdfb | [
"Unlicense"
] | null | null | null | test/connectivity/acts/tests/google/tel/live/TelWifiVoiceTest.py | Keneral/atools | 055e76621340c7dced125e9de56e2645b5e1cdfb | [
"Unlicense"
] | 1 | 2018-02-24T19:13:01.000Z | 2018-02-24T19:13:01.000Z | #!/usr/bin/env python3.4
#
# Copyright 2016 - Google
#
# 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 appl... | 45.345228 | 103 | 0.657603 | 22,421 | 167,732 | 4.521475 | 0.017617 | 0.027068 | 0.047053 | 0.036922 | 0.941584 | 0.927123 | 0.909712 | 0.894877 | 0.88374 | 0.865096 | 0 | 0.005636 | 0.273305 | 167,732 | 3,698 | 104 | 45.357491 | 0.826064 | 0.232627 | 0 | 0.741522 | 0 | 0 | 0.085734 | 0.035577 | 0 | 0 | 0 | 0.000541 | 0 | 1 | 0.070119 | false | 0.000917 | 0.031164 | 0.019248 | 0.211732 | 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 |
645c2e051ec54f6cc09fead4e426e9ca58317bf8 | 2,138 | py | Python | 8term/OR/lab5.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 8term/OR/lab5.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | 8term/OR/lab5.py | nik-sergeson/bsuir-informatics-labs | 14805fb83b8e2324580b6253158565068595e804 | [
"Apache-2.0"
] | null | null | null | from sympy import Matrix
from lab5.Network import Network
from lab5.MinCostFlow import MinCostFlow, get_flow_cost
paths = Matrix([[0, 1, 0, 0, 0, 0, 0],
[0, 0, 1, 3, 2, 0, 0],
[3, 0, 0, 3, 0, 4, 0],
[4, 0, 0, 0, 0, -1, 6],
[0, 0, 0, 5, 0, 0, 1],
... | 34.483871 | 70 | 0.410664 | 399 | 2,138 | 2.175439 | 0.075188 | 0.25576 | 0.276498 | 0.276498 | 0.764977 | 0.752304 | 0.736175 | 0.723502 | 0.711982 | 0.682028 | 0 | 0.21651 | 0.354069 | 2,138 | 62 | 71 | 34.483871 | 0.41202 | 0 | 0 | 0.603448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0.051724 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
649c11002ad2030fb70e9e270e21d2945718dd76 | 14,503 | py | Python | rl/agents/dqn.py | KNakane/tensorflow | 1e8c862b8f7928967b1c02c613df0222ab8c4cd2 | [
"MIT"
] | 1 | 2019-05-13T15:14:03.000Z | 2019-05-13T15:14:03.000Z | rl/agents/dqn.py | KNakane/tensorflow | 1e8c862b8f7928967b1c02c613df0222ab8c4cd2 | [
"MIT"
] | 44 | 2018-12-22T02:45:29.000Z | 2019-06-05T05:44:16.000Z | rl/agents/dqn.py | KNakane/tensorflow | 1e8c862b8f7928967b1c02c613df0222ab8c4cd2 | [
"MIT"
] | 1 | 2021-11-05T06:08:07.000Z | 2021-11-05T06:08:07.000Z | # -*- coding: utf-8 -*-
import sys,os
sys.path.append(os.path.join(os.path.dirname(__file__), '../../utility'))
sys.path.append(os.path.join(os.path.dirname(__file__), '../../network'))
import numpy as np
import tensorflow as tf
from agent import Agent
from eager_nn import EagerNN, Dueling_Net
from optimizer import *
... | 55.56705 | 219 | 0.594084 | 2,083 | 14,503 | 3.854057 | 0.086894 | 0.02865 | 0.033632 | 0.05157 | 0.88864 | 0.858744 | 0.850523 | 0.846786 | 0.846786 | 0.824116 | 0 | 0.016835 | 0.275047 | 14,503 | 260 | 220 | 55.780769 | 0.746719 | 0.039164 | 0 | 0.805128 | 0 | 0 | 0.00424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061538 | false | 0 | 0.030769 | 0 | 0.153846 | 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 |
64a712e441eb320ff34e53103a9c540eb28dad0d | 357,064 | py | Python | themes/Future Bloo.py | AliveChive/Raid-Toolbox | 0ec2608a17d50a8f396effebe36ee5c41484bfc6 | [
"ISC"
] | null | null | null | themes/Future Bloo.py | AliveChive/Raid-Toolbox | 0ec2608a17d50a8f396effebe36ee5c41484bfc6 | [
"ISC"
] | null | null | null | themes/Future Bloo.py | AliveChive/Raid-Toolbox | 0ec2608a17d50a8f396effebe36ee5c41484bfc6 | [
"ISC"
] | null | null | null | # Skin info and colours
theme_name = "Future Bloo"
theme_author = "Lucas."
theme_version = "1.0"
theme_bio = "Bloo" # A long bio will get cut off, keep it simple.
window_theme = "Black"
button_colour = "black"
attacks_theme = {"background": "Black", "button_colour": ('black', 'cyan')}
banner_size = (600, 100)
banner_p... | 5,759.096774 | 60,626 | 0.965132 | 11,715 | 357,064 | 29.41195 | 0.947674 | 0.005912 | 0.002113 | 0.000128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158078 | 0.000445 | 357,064 | 61 | 60,627 | 5,853.508197 | 0.807335 | 0.000328 | 0 | 0 | 0 | 0.676471 | 0.99763 | 0.997406 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
64d72f66f61e4b33dd3d79a6f959b7ff0b7ce63b | 154 | py | Python | tests/test_plugin.py | euro-hpc-pl/omnisolver-pt | 402beed5b7c475a13cc59b04a77fe03ca7174e70 | [
"Apache-2.0"
] | null | null | null | tests/test_plugin.py | euro-hpc-pl/omnisolver-pt | 402beed5b7c475a13cc59b04a77fe03ca7174e70 | [
"Apache-2.0"
] | 1 | 2021-09-02T22:31:18.000Z | 2021-09-02T22:31:18.000Z | tests/test_plugin.py | euro-hpc-pl/omnisolver-pt | 402beed5b7c475a13cc59b04a77fe03ca7174e70 | [
"Apache-2.0"
] | null | null | null | from omnisolver.plugin import Plugin
from omnisolver.pt import get_plugin
def test_plugin_can_be_loaded():
assert isinstance(get_plugin(), Plugin)
| 19.25 | 43 | 0.805195 | 22 | 154 | 5.363636 | 0.590909 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 7 | 44 | 22 | 0.880597 | 0 | 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 |
b3beb3f3fbcde569409595a1a7e2ad617fffe935 | 116,631 | py | Python | parser/team19/BDTytus/Gramatica/parsetab.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | parser/team19/BDTytus/Gramatica/parsetab.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | parser/team19/BDTytus/Gramatica/parsetab.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftpuntobipuntoleftcomarightigualleftcor1cor2leftmasmenosleftasteriscodivporcentajeleftpotrightumenosumasleftpar1par2leftt_orleftt_andleftdiferenteleftmayormenormayori... | 436.820225 | 82,344 | 0.683026 | 26,752 | 116,631 | 2.92109 | 0.042165 | 0.03322 | 0.011402 | 0.015203 | 0.812784 | 0.782776 | 0.751603 | 0.721377 | 0.697946 | 0.67815 | 0 | 0.525927 | 0.043436 | 116,631 | 266 | 82,345 | 438.462406 | 0.174517 | 0.00072 | 0 | 0.007813 | 1 | 0.003906 | 0.226022 | 0.016543 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
b3d93f885b74f0db79fe2907a0776ed397bab1cc | 1,500 | py | Python | creat_folder.py | JerryJack121/Django | ccfe6d1cce7e9f5f78eff44506448053cdb299f6 | [
"MIT"
] | 1 | 2021-01-06T15:19:49.000Z | 2021-01-06T15:19:49.000Z | creat_folder.py | JerryJack121/Django | ccfe6d1cce7e9f5f78eff44506448053cdb299f6 | [
"MIT"
] | null | null | null | creat_folder.py | JerryJack121/Django | ccfe6d1cce7e9f5f78eff44506448053cdb299f6 | [
"MIT"
] | null | null | null | #建立資料夾
#\date_classification\month\date\
import os
def creat_folder(filePath):
month=1
while month<10:
foder1 = '0'+str(month)
write_filePath = os.path.join(filePath,foder1)
if os.path.isdir(write_filePath)==False:
os.makedirs(write_filePath)
date=1
while dat... | 33.333333 | 72 | 0.554 | 178 | 1,500 | 4.55618 | 0.157303 | 0.288533 | 0.110974 | 0.140567 | 0.853268 | 0.853268 | 0.853268 | 0.792848 | 0.725031 | 0.725031 | 0 | 0.031904 | 0.331333 | 1,500 | 44 | 73 | 34.090909 | 0.77667 | 0.035333 | 0 | 0.684211 | 0 | 0 | 0.002079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.026316 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b3db6616f0908aea41a885d3c4b21f62b199731d | 4,293 | py | Python | tests/app/api/business/validators/application_validator/test_validate_recruiter.py | AusDTO/dto-digitalmarketplace-api | 937843c9c01a71518cf4688b4daa55bbe7df1965 | [
"MIT"
] | 6 | 2017-06-09T03:38:53.000Z | 2021-12-22T02:42:15.000Z | tests/app/api/business/validators/application_validator/test_validate_recruiter.py | AusDTO/dto-digitalmarketplace-api | 937843c9c01a71518cf4688b4daa55bbe7df1965 | [
"MIT"
] | 47 | 2016-08-02T05:21:31.000Z | 2022-03-28T01:14:17.000Z | tests/app/api/business/validators/application_validator/test_validate_recruiter.py | AusDTO/dto-digitalmarketplace-api | 937843c9c01a71518cf4688b4daa55bbe7df1965 | [
"MIT"
] | 7 | 2016-09-13T13:07:18.000Z | 2021-02-17T10:16:21.000Z | from app.api.business.validators import ApplicationValidator
from app.models import Application
from datetime import date, timedelta
def test_can_get_errors_with_none_recruiter():
application = Application(
data={
'recruiter': None
}
)
errors = ApplicationValidator(application)... | 25.553571 | 84 | 0.524575 | 357 | 4,293 | 6.042017 | 0.156863 | 0.055633 | 0.120538 | 0.208623 | 0.874826 | 0.789059 | 0.770978 | 0.76866 | 0.711637 | 0.711637 | 0 | 0.014599 | 0.361752 | 4,293 | 167 | 85 | 25.706587 | 0.772628 | 0 | 0 | 0.605839 | 0 | 0 | 0.102958 | 0 | 0 | 0 | 0 | 0 | 0.072993 | 1 | 0.072993 | false | 0 | 0.021898 | 0 | 0.094891 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37a81c618253bf72f4fa971ae77c6597fde31371 | 121 | py | Python | quines/python_quine.py | yasserglez/programming-problems | 08cef1186b182430b231ed9772d8f92ec1d2365b | [
"MIT"
] | 2 | 2017-02-17T01:40:27.000Z | 2018-04-22T12:47:28.000Z | quines/python_quine.py | yasserglez/programming-problems | 08cef1186b182430b231ed9772d8f92ec1d2365b | [
"MIT"
] | null | null | null | quines/python_quine.py | yasserglez/programming-problems | 08cef1186b182430b231ed9772d8f92ec1d2365b | [
"MIT"
] | 1 | 2016-10-14T06:00:42.000Z | 2016-10-14T06:00:42.000Z | s = "s = %s%s%s%sprint(s %s (chr(34), s, chr(34), chr(10), chr(37)))"
print(s % (chr(34), s, chr(34), chr(10), chr(37)))
| 40.333333 | 69 | 0.504132 | 28 | 121 | 2.178571 | 0.25 | 0.163934 | 0.393443 | 0.131148 | 0.721311 | 0.721311 | 0.721311 | 0.721311 | 0.721311 | 0.721311 | 0 | 0.15534 | 0.14876 | 121 | 2 | 70 | 60.5 | 0.436893 | 0 | 0 | 0 | 0 | 0.5 | 0.520661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
37c790fbdc6831bf44dcdf94f3b47ed4bd7fec99 | 479 | py | Python | SBaaS_quantification/stage01_quantification_analysis_io.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/stage01_quantification_analysis_io.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/stage01_quantification_analysis_io.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | from .stage01_quantification_analysis_query import stage01_quantification_analysis_query
from SBaaS_base.sbaas_template_io import sbaas_template_io
# Resources
from io_utilities.base_importData import base_importData
from io_utilities.base_exportData import base_exportData
class stage01_quantification_analysis_io(stag... | 47.9 | 88 | 0.762004 | 53 | 479 | 6.415094 | 0.339623 | 0.247059 | 0.341176 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021333 | 0.217119 | 479 | 10 | 89 | 47.9 | 0.885333 | 0.058455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.5 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
8071c5f2622157381fb24627c20dfe6624f446dc | 158 | py | Python | scripts/linux/ofProjectManager/ofEnvironment.py | HellicarAndLewis/ProjectDonk | 96fde869c469f8312843333e51c862bd3b143222 | [
"MIT"
] | 1 | 2015-12-05T04:53:15.000Z | 2015-12-05T04:53:15.000Z | scripts/linux/ofProjectManager/ofEnvironment.py | HellicarAndLewis/ProjectDonk | 96fde869c469f8312843333e51c862bd3b143222 | [
"MIT"
] | null | null | null | scripts/linux/ofProjectManager/ofEnvironment.py | HellicarAndLewis/ProjectDonk | 96fde869c469f8312843333e51c862bd3b143222 | [
"MIT"
] | null | null | null | of_root = "/pathTo_openframeworks/of_preRelease_v0.06_linux_cb_FAT/" #usually /home/user_name/Desktop/of_preRelease_v0.06_linux_cb_FAT/
of_platform = "linux"
| 52.666667 | 135 | 0.841772 | 26 | 158 | 4.576923 | 0.615385 | 0.201681 | 0.235294 | 0.268908 | 0.436975 | 0.436975 | 0.436975 | 0 | 0 | 0 | 0 | 0.04 | 0.050633 | 158 | 2 | 136 | 79 | 0.753333 | 0.411392 | 0 | 0 | 0 | 0 | 0.663043 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80f8946a847b58148db817cd551bc39492b916b7 | 147 | py | Python | ciclo1_python/upb/MisionTIC_UPB_Ciclo1/Python-coding/XACA-RANA-YouTube-channel/02_python_101_Generalidades_Juan_Bustamante.py | felipeescallon/mision_tic_2022 | 20496fc40b18d2e98114d6362928f34fde41aaae | [
"CC0-1.0"
] | 7 | 2021-07-05T21:25:50.000Z | 2021-11-09T11:09:41.000Z | ciclo1_python/upb/MisionTIC_UPB_Ciclo1/Python-coding/XACA-RANA-YouTube-channel/02_python_101_Generalidades_Juan_Bustamante.py | felipeescallon/mision_tic_2022 | 20496fc40b18d2e98114d6362928f34fde41aaae | [
"CC0-1.0"
] | null | null | null | ciclo1_python/upb/MisionTIC_UPB_Ciclo1/Python-coding/XACA-RANA-YouTube-channel/02_python_101_Generalidades_Juan_Bustamante.py | felipeescallon/mision_tic_2022 | 20496fc40b18d2e98114d6362928f34fde41aaae | [
"CC0-1.0"
] | null | null | null | print("holis")
#TODO agregar la linea intermedia
print("holis")
#print("holis")
print("holis")
print("holis")
#TODO agregar la linea numero 6 | 21 | 34 | 0.70068 | 21 | 147 | 4.904762 | 0.428571 | 0.485437 | 0.436893 | 0.582524 | 0.834951 | 0.834951 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.142857 | 147 | 7 | 35 | 21 | 0.809524 | 0.517007 | 0 | 1 | 0 | 0 | 0.31746 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
038ed800899ff0250e4d4975d56b539eb8413308 | 134,451 | py | Python | perma_web/perma/tests/test_views_user_management.py | rachelaus/perma | 36c05080520ea3ffce465dbc383795c060fa4112 | [
"MIT",
"Unlicense"
] | 317 | 2015-02-12T16:53:34.000Z | 2022-03-14T23:38:04.000Z | perma_web/perma/tests/test_views_user_management.py | rachelaus/perma | 36c05080520ea3ffce465dbc383795c060fa4112 | [
"MIT",
"Unlicense"
] | 2,069 | 2015-01-06T20:09:24.000Z | 2022-03-31T15:44:36.000Z | perma_web/perma/tests/test_views_user_management.py | rachelaus/perma | 36c05080520ea3ffce465dbc383795c060fa4112 | [
"MIT",
"Unlicense"
] | 69 | 2015-01-12T18:56:07.000Z | 2022-02-22T19:57:10.000Z | # -*- coding: utf-8 -*-
from django.urls import reverse
from django.core import mail
from django.conf import settings
from django.utils import timezone
from mock import patch, sentinel
from perma.models import LinkUser, Organization, Registrar, Sponsorship
from perma.exceptions import PermaPaymentsCommunicationExcept... | 52.376704 | 151 | 0.627098 | 15,146 | 134,451 | 5.283045 | 0.040671 | 0.038317 | 0.020821 | 0.019683 | 0.882387 | 0.855906 | 0.830124 | 0.808841 | 0.784258 | 0.752853 | 0 | 0.005393 | 0.266268 | 134,451 | 2,566 | 152 | 52.397116 | 0.805719 | 0.064194 | 0 | 0.714432 | 0 | 0.000512 | 0.222411 | 0.128768 | 0 | 0 | 0 | 0 | 0.188843 | 1 | 0.08086 | false | 0.004094 | 0.006141 | 0.002559 | 0.095189 | 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 |
0394f77471c4056c8b696b84bdfb2549f73dd5ac | 106 | py | Python | modron/views/tests/conftest.py | WardLT/play-by-post-helper | 26df681f2a28510f88e552be628910e4e5fe57bb | [
"MIT"
] | null | null | null | modron/views/tests/conftest.py | WardLT/play-by-post-helper | 26df681f2a28510f88e552be628910e4e5fe57bb | [
"MIT"
] | 13 | 2020-04-08T02:56:58.000Z | 2020-10-04T21:52:43.000Z | modron/views/tests/conftest.py | WardLT/play-by-post-helper | 26df681f2a28510f88e552be628910e4e5fe57bb | [
"MIT"
] | null | null | null | from pytest import fixture
from modron import create_app
@fixture()
def app():
return create_app()
| 11.777778 | 29 | 0.735849 | 15 | 106 | 5.066667 | 0.6 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 106 | 8 | 30 | 13.25 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
03badf85ff69f1b1a527f0a652db2b4adb5f60d4 | 118 | py | Python | torch_tools/data/datasets/util/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | torch_tools/data/datasets/util/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | torch_tools/data/datasets/util/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | from .compute_mean_std import compute_mean_std
from .dataset_to_h5 import dataset_to_h5_file
from .split import split
| 29.5 | 46 | 0.872881 | 21 | 118 | 4.47619 | 0.47619 | 0.234043 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.101695 | 118 | 3 | 47 | 39.333333 | 0.867925 | 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 |
03c3cf8a0e59b6b392fbc3f75c4c22ce5dafaf56 | 24,363 | py | Python | openapi_client/api/route_pattern_api.py | hypostulate/mbta-api-client | f18903b6269c523c733a31574ff4579349fed3f8 | [
"MIT"
] | null | null | null | openapi_client/api/route_pattern_api.py | hypostulate/mbta-api-client | f18903b6269c523c733a31574ff4579349fed3f8 | [
"MIT"
] | null | null | null | openapi_client/api/route_pattern_api.py | hypostulate/mbta-api-client | f18903b6269c523c733a31574ff4579349fed3f8 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
MBTA
MBTA service API. https://www.mbta.com Source code: https://github.com/mbta/api # noqa: E501
The version of the OpenAPI document: 3.0
Contact: developer@mbta.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa:... | 84.888502 | 1,285 | 0.684768 | 3,261 | 24,363 | 4.950322 | 0.099663 | 0.040885 | 0.04423 | 0.021186 | 0.93731 | 0.926098 | 0.919222 | 0.914142 | 0.90516 | 0.869851 | 0 | 0.011306 | 0.226737 | 24,363 | 286 | 1,286 | 85.185315 | 0.845586 | 0.669335 | 0 | 0.603175 | 0 | 0.015873 | 0.218423 | 0.052477 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0 | 0.039683 | 0 | 0.119048 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
03d67a1ed9680a88a4ab2c70d5089fcd6ba5b75e | 858 | py | Python | gcloud/storage/test_exceptions.py | olala7846/gcloud-python | f33e557f94f304b38049b5f9b5082ed58dcf295a | [
"Apache-2.0"
] | null | null | null | gcloud/storage/test_exceptions.py | olala7846/gcloud-python | f33e557f94f304b38049b5f9b5082ed58dcf295a | [
"Apache-2.0"
] | null | null | null | gcloud/storage/test_exceptions.py | olala7846/gcloud-python | f33e557f94f304b38049b5f9b5082ed58dcf295a | [
"Apache-2.0"
] | null | null | null | import unittest2
class TestConnectionError(unittest2.TestCase):
def _getTargetClass(self):
from gcloud.storage.exceptions import ConnectionError
return ConnectionError
def _makeOne(self, *args, **kw):
return self._getTargetClass()(*args, **kw)
def test_no_headers(self):
... | 26.8125 | 74 | 0.649184 | 89 | 858 | 6.123596 | 0.337079 | 0.080734 | 0.073395 | 0.124771 | 0.715596 | 0.715596 | 0.715596 | 0.715596 | 0.715596 | 0.715596 | 0 | 0.008982 | 0.221445 | 858 | 31 | 75 | 27.677419 | 0.806886 | 0 | 0 | 0.380952 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.285714 | false | 0 | 0.142857 | 0.095238 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
03e1adf46b9c556d5760bc7c2993e77ad3ce3dee | 174 | py | Python | project/views.py | NASAKZ07/MainProject | e5d1e6f0ce64965acc21b6eb12e8abf15ccb7be1 | [
"Apache-2.0"
] | null | null | null | project/views.py | NASAKZ07/MainProject | e5d1e6f0ce64965acc21b6eb12e8abf15ccb7be1 | [
"Apache-2.0"
] | null | null | null | project/views.py | NASAKZ07/MainProject | e5d1e6f0ce64965acc21b6eb12e8abf15ccb7be1 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
def signIn(request):
return render(request, 'MyApp/signIn.html')
def signUp(request):
return render(request, 'MyApp/signUp.html') | 29 | 47 | 0.752874 | 23 | 174 | 5.695652 | 0.521739 | 0.198473 | 0.290076 | 0.396947 | 0.473282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 174 | 6 | 48 | 29 | 0.861842 | 0 | 0 | 0 | 0 | 0 | 0.194286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
03efa7634aae20dd156b56aab959737118892ae3 | 357 | py | Python | epab/linters/_dead_fixtures.py | 132nd-etcher/epab | 5226d3a36580f8cc50cf5dcac426adb1350a2c9b | [
"MIT"
] | 2 | 2018-12-13T06:49:10.000Z | 2018-12-13T07:37:49.000Z | epab/linters/_dead_fixtures.py | etcher-be/epab | 5226d3a36580f8cc50cf5dcac426adb1350a2c9b | [
"MIT"
] | 109 | 2018-08-22T04:25:56.000Z | 2019-10-17T05:10:21.000Z | epab/linters/_dead_fixtures.py | etcher-be/epab | 5226d3a36580f8cc50cf5dcac426adb1350a2c9b | [
"MIT"
] | 1 | 2018-02-25T05:53:18.000Z | 2018-02-25T05:53:18.000Z | # coding=utf-8
"""
Flake8 linter
"""
import click
import elib_run
import epab.utils
@epab.utils.run_once
def _pytest_dead_fixtures():
elib_run.run(f'pytest test --dead-fixtures --dup-fixtures', mute=True)
@click.command()
def pytest_dead_fixtures():
"""
Runs Flake8 (http://flake8.pycqa.org/en/latest/)... | 15.521739 | 74 | 0.694678 | 50 | 357 | 4.74 | 0.56 | 0.202532 | 0.227848 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.154062 | 357 | 22 | 75 | 16.227273 | 0.771523 | 0.212885 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ff1b8255892f8b8887d81ee5619a60c59ef5fec0 | 6,458 | py | Python | mockvpython.py | jonschull/Lyte | e9ba2bb1b07c9398b81a6f591898d2474d1a4609 | [
"MIT"
] | 1 | 2018-06-07T17:54:27.000Z | 2018-06-07T17:54:27.000Z | mockvpython.py | jonschull/Lyte | e9ba2bb1b07c9398b81a6f591898d2474d1a4609 | [
"MIT"
] | 1 | 2018-06-28T05:08:57.000Z | 2018-06-28T05:08:57.000Z | mockvpython.py | jonschull/Lyte | e9ba2bb1b07c9398b81a6f591898d2474d1a4609 | [
"MIT"
] | null | null | null | def BaseHTTPRequestHandler(*args, **kwargs): pass
def Camera(*args, **kwargs): pass
def GSprint(*args, **kwargs): pass
def GSversion(*args, **kwargs): pass
def GW(*args, **kwargs): pass
def GlowWidget(*args, **kwargs): pass
def HTTPServer(*args, **kwargs): pass
def INTERACT_PERIOD(*args, **kwargs): pass
def MAX_RENDERS... | 35.289617 | 140 | 0.685352 | 954 | 6,458 | 4.610063 | 0.219078 | 0.411551 | 0.576171 | 0.695771 | 0.12392 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0014 | 0.115361 | 6,458 | 182 | 141 | 35.483516 | 0.768423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.994505 | true | 0.994505 | 0.005495 | 0 | 1 | 0.021978 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
20a1bd721eac10e1fcc16dac2b5d16063f295650 | 285 | py | Python | models/__init__.py | zhhiyuan/wide_attack | 448df3dd3aad2ca9a514960e8403bf7e8d8eed3a | [
"MIT"
] | 2 | 2020-05-13T06:51:02.000Z | 2020-05-13T11:33:34.000Z | models/__init__.py | zhhiyuan/wide_attack | 448df3dd3aad2ca9a514960e8403bf7e8d8eed3a | [
"MIT"
] | null | null | null | models/__init__.py | zhhiyuan/wide_attack | 448df3dd3aad2ca9a514960e8403bf7e8d8eed3a | [
"MIT"
] | null | null | null | from models.shufflenet_v2 import ShuffleNetV2
from models.shufflenet_v2_x2 import ShuffleNetV2_x2
from models.shufflenet_v2_x4 import ShuffleNetV2_x4
from models.mobilenet import MobileNetV2
from models.mobilenet_x2 import MobileNetV2_x2
from models.mobilenet_x4 import MobileNetV2_x4
| 40.714286 | 51 | 0.894737 | 41 | 285 | 5.95122 | 0.243902 | 0.245902 | 0.245902 | 0.270492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065134 | 0.084211 | 285 | 6 | 52 | 47.5 | 0.869732 | 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 |
20a2056b8f49c96712f5594b72edce10460fcafa | 287 | py | Python | src/aiohttp_openapi/__init__.py | clayman083/aiohttp-openapi | e7371ff526f98699b983798383305b2d46fd07a5 | [
"MIT"
] | null | null | null | src/aiohttp_openapi/__init__.py | clayman083/aiohttp-openapi | e7371ff526f98699b983798383305b2d46fd07a5 | [
"MIT"
] | 1 | 2020-09-22T17:45:53.000Z | 2020-09-22T17:45:53.000Z | src/aiohttp_openapi/__init__.py | clayman083/aiohttp-openapi | e7371ff526f98699b983798383305b2d46fd07a5 | [
"MIT"
] | null | null | null | from .openapi import (
JSONResponse,
Parameter,
ParameterIn,
register_operation,
RequestBody,
Response,
setup,
)
__all__ = (
"JSONResponse",
"Parameter",
"ParameterIn",
"register_operation",
"RequestBody",
"Response",
"setup",
)
| 13.666667 | 25 | 0.599303 | 20 | 287 | 8.3 | 0.6 | 0.253012 | 0.385542 | 0.481928 | 0.879518 | 0.879518 | 0.879518 | 0.879518 | 0 | 0 | 0 | 0 | 0.28223 | 287 | 20 | 26 | 14.35 | 0.805825 | 0 | 0 | 0 | 0 | 0 | 0.25784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
20a4b8cf31df62db22007f5d9465ea1d4f40acf6 | 5,964 | py | Python | mushroom/algorithms/actor_critic/stochastic_actor_critic.py | doroK/mushroom | 47e5b1d09b65da585c1b19a6cc7f0366849d7863 | [
"MIT"
] | null | null | null | mushroom/algorithms/actor_critic/stochastic_actor_critic.py | doroK/mushroom | 47e5b1d09b65da585c1b19a6cc7f0366849d7863 | [
"MIT"
] | null | null | null | mushroom/algorithms/actor_critic/stochastic_actor_critic.py | doroK/mushroom | 47e5b1d09b65da585c1b19a6cc7f0366849d7863 | [
"MIT"
] | null | null | null | import numpy as np
from mushroom.algorithms.agent import Agent
from mushroom.approximators import Regressor
from mushroom.approximators.parametric import LinearApproximator
class SAC(Agent):
"""
Stochastic Actor critic in the episodic setting as presented in:
"Model-Free Reinforcement Learning with Conti... | 35.712575 | 80 | 0.611838 | 791 | 5,964 | 4.313527 | 0.140329 | 0.029308 | 0.017585 | 0.019343 | 0.91823 | 0.910317 | 0.892145 | 0.892145 | 0.883939 | 0.866354 | 0 | 0.004571 | 0.302985 | 5,964 | 166 | 81 | 35.927711 | 0.816214 | 0.247317 | 0 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.04878 | 0 | 0.146341 | 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 |
20e4ae3bca26c144cc01e9544c0b3fc1430cbe02 | 13,787 | py | Python | src/abaqus/Section/ConnectorSection.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Section/ConnectorSection.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Section/ConnectorSection.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .Section import Section
from ..Connector.ConnectorBehaviorOptionArray import ConnectorBehaviorOptionArray
class ConnectorSection(Section):
"""A ConnectorSection object describes the connection type and the behavior of a connector.
The ConnectorSection object is derived from ... | 58.419492 | 159 | 0.682309 | 1,445 | 13,787 | 6.490657 | 0.127336 | 0.043501 | 0.050752 | 0.050752 | 0.914596 | 0.914596 | 0.914596 | 0.908199 | 0.908199 | 0.908199 | 0 | 0.003836 | 0.281425 | 13,787 | 235 | 160 | 58.668085 | 0.942869 | 0.754769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.115385 | 0 | 0.230769 | 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 |
afd9aa30e6e64a31c93ee314e01391af5d4bbe2e | 23,468 | py | Python | sdk/python/pulumi_gcp/identityplatform/inbound_saml_config.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/identityplatform/inbound_saml_config.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/identityplatform/inbound_saml_config.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... | 45.48062 | 184 | 0.65242 | 2,624 | 23,468 | 5.676448 | 0.089177 | 0.060557 | 0.057402 | 0.035448 | 0.868009 | 0.851628 | 0.836925 | 0.815979 | 0.812555 | 0.80047 | 0 | 0.000803 | 0.257372 | 23,468 | 515 | 185 | 45.568932 | 0.853856 | 0.449122 | 0 | 0.682203 | 1 | 0 | 0.133855 | 0.059995 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15678 | false | 0.004237 | 0.029661 | 0 | 0.279661 | 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 |
afde2a5e63cb03d72f91a398c111bb2408d20327 | 8,775 | py | Python | tests/homework2/task2/test_cache.py | GirZ0n/SPBU-Homework-4 | 1637f774c5d330c465bf2d2c4e729e4daa936756 | [
"Unlicense"
] | null | null | null | tests/homework2/task2/test_cache.py | GirZ0n/SPBU-Homework-4 | 1637f774c5d330c465bf2d2c4e729e4daa936756 | [
"Unlicense"
] | 2 | 2021-03-01T13:58:56.000Z | 2021-04-05T16:50:45.000Z | tests/homework2/task2/test_cache.py | GirZ0n/SPBU-Homework-4 | 1637f774c5d330c465bf2d2c4e729e4daa936756 | [
"Unlicense"
] | 1 | 2021-03-04T19:08:21.000Z | 2021-03-04T19:08:21.000Z | from collections import OrderedDict
from typing import Dict
from unittest import TestCase
from homework.homework2.task2.cache import cache_decorator
SIZE_MUST_BE_NON_NEGATIVE = "Size must be a non-negative number."
def is_empty(dic: Dict) -> bool:
return len(dic) == 0
def check_message(context, expected_messa... | 29.745763 | 118 | 0.466553 | 1,203 | 8,775 | 3.202826 | 0.07315 | 0.072671 | 0.17441 | 0.070854 | 0.861407 | 0.855956 | 0.851544 | 0.851544 | 0.851544 | 0.851544 | 0 | 0.072392 | 0.375043 | 8,775 | 294 | 119 | 29.846939 | 0.630197 | 0 | 0 | 0.724576 | 0 | 0 | 0.008775 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 1 | 0.144068 | false | 0 | 0.016949 | 0.042373 | 0.288136 | 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 |
afef28d49b336c79def26311c05b645b3a40811f | 120,195 | py | Python | pyboto3/transcribeservice.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/transcribeservice.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/transcribeservice.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 49.483326 | 2,471 | 0.718707 | 16,011 | 120,195 | 5.385048 | 0.045843 | 0.012584 | 0.043633 | 0.009743 | 0.908258 | 0.892855 | 0.88411 | 0.879761 | 0.875771 | 0.864045 | 0 | 0.007264 | 0.178793 | 120,195 | 2,428 | 2,472 | 49.503707 | 0.866248 | 0.973268 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
b30af23aa83d23411f23316305b33fe6b4970e8c | 29,808 | py | Python | xpanse/api/services/v1/services.py | PaloAltoNetworks/cortex-xpanse-python-sdk | 532d3fdb031a0e5943cc492222299f94ad93d030 | [
"0BSD"
] | 3 | 2021-09-02T16:05:04.000Z | 2021-09-10T01:10:48.000Z | xpanse/api/services/v1/services.py | PaloAltoNetworks/cortex-xpanse-python-sdk | 532d3fdb031a0e5943cc492222299f94ad93d030 | [
"0BSD"
] | 7 | 2021-08-31T17:43:33.000Z | 2021-12-01T00:36:48.000Z | xpanse/api/services/v1/services.py | PaloAltoNetworks/cortex-xpanse-python-sdk | 532d3fdb031a0e5943cc492222299f94ad93d030 | [
"0BSD"
] | null | null | null | from typing import Any, Dict, List
from xpanse.const import V1_PREFIX
from xpanse.endpoint import ExEndpoint
from xpanse.iterator import ExResultIterator
class ServicesEndpoint(ExEndpoint):
"""
Part of the Services V1 API.
See: https://api.expander.expanse.co/api/v1/docs/
"""
def list(self, **kwa... | 61.459794 | 137 | 0.631508 | 3,437 | 29,808 | 5.442246 | 0.07652 | 0.063512 | 0.057739 | 0.076985 | 0.924566 | 0.92077 | 0.916921 | 0.916921 | 0.908153 | 0.89853 | 0 | 0.004683 | 0.319478 | 29,808 | 484 | 138 | 61.586777 | 0.917427 | 0.846786 | 0 | 0.181818 | 0 | 0 | 0.155784 | 0.148321 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.181818 | 0 | 0.681818 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
2fcc26ce4b4e07f2525b092c89bb0670e266d18c | 10,387 | py | Python | tests/fixtures/translated_scc.py | vpaul-dev/pycaption-github-release-notes | d265389807f76330196093e5231d2bf5c699619d | [
"Apache-2.0"
] | 183 | 2015-01-26T00:28:48.000Z | 2022-03-29T19:51:55.000Z | tests/fixtures/translated_scc.py | vpaul-dev/pycaption-github-release-notes | d265389807f76330196093e5231d2bf5c699619d | [
"Apache-2.0"
] | 132 | 2015-01-06T08:11:11.000Z | 2022-03-31T19:30:57.000Z | tests/fixtures/translated_scc.py | vpaul-dev/pycaption-github-release-notes | d265389807f76330196093e5231d2bf5c699619d | [
"Apache-2.0"
] | 150 | 2015-01-16T18:03:59.000Z | 2022-03-16T01:11:10.000Z | import pytest
@pytest.fixture(scope="session")
def sample_translated_scc_success():
return """Scenarist_SCC V1.0
00:00:09:05 [Erase Non-displayed Memory] [Erase Non-displayed Memory] [Resume Caption Loading] [Resume Caption Loading] [row 15, column 00, with plain white text.] [row 15, column 00, with plain white... | 123.654762 | 606 | 0.69327 | 1,799 | 10,387 | 3.991662 | 0.068927 | 0.200529 | 0.165715 | 0.213062 | 0.98691 | 0.984125 | 0.980922 | 0.980922 | 0.967832 | 0.967832 | 0 | 0.069835 | 0.175604 | 10,387 | 84 | 607 | 123.654762 | 0.768773 | 0 | 0 | 0.266667 | 0 | 0.488889 | 0.964478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | true | 0 | 0.022222 | 0.088889 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
2fd9cea9540b21755f8ca170fca8da7d86677ff4 | 40,542 | py | Python | capstoneproject/firstnw/models/research/object_detection/framecrop.py | dongrami0425/Python_OpenCV-Study | c7faee4f63720659280c3222ba5abfe27740d1f4 | [
"MIT"
] | null | null | null | capstoneproject/firstnw/models/research/object_detection/framecrop.py | dongrami0425/Python_OpenCV-Study | c7faee4f63720659280c3222ba5abfe27740d1f4 | [
"MIT"
] | null | null | null | capstoneproject/firstnw/models/research/object_detection/framecrop.py | dongrami0425/Python_OpenCV-Study | c7faee4f63720659280c3222ba5abfe27740d1f4 | [
"MIT"
] | null | null | null | import os
from PIL import Image
# -----------------------------------------------------------------------------------------------------------
# 현재 위치 불러와서 이미지 파일 경로 저장
cwd = os.getcwd()
file = cwd + '/image2.jpg'
print('현재 폴더 위치:', cwd)
img = Image.open(file)
# 높이 너비 저장
# height, width = img.shape[0:2]
full_width,... | 37.748603 | 120 | 0.502097 | 5,351 | 40,542 | 3.516352 | 0.034947 | 0.116071 | 0.069834 | 0.037202 | 0.939785 | 0.933567 | 0.93192 | 0.928837 | 0.926499 | 0.926499 | 0 | 0.061458 | 0.371097 | 40,542 | 1,074 | 121 | 37.748603 | 0.676511 | 0.063169 | 0 | 0.898529 | 0 | 0 | 0.047184 | 0.018919 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011765 | false | 0 | 0.002941 | 0 | 0.014706 | 0.107353 | 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 |
2fe0cc59cda7a9360d8ddd6092709da1b5857054 | 9,932 | py | Python | src/genie/libs/parser/iosxr/tests/ShowIsisDatabaseDetail/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowIsisDatabaseDetail/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowIsisDatabaseDetail/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
"instance": {
"isp": {
"level": {
1: {
"lspid": {
"router-5.00-00": {
"lsp": {
"seq_num": "0x00000003",
"checksum": "0x807... | 45.351598 | 64 | 0.20288 | 529 | 9,932 | 3.648393 | 0.124764 | 0.080311 | 0.062176 | 0.079793 | 0.868912 | 0.868912 | 0.851295 | 0.851295 | 0.813472 | 0.813472 | 0 | 0.201043 | 0.690999 | 9,932 | 218 | 65 | 45.559633 | 0.427827 | 0 | 0 | 0.694444 | 0 | 0 | 0.205639 | 0 | 0 | 0 | 0.013092 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 9 |
ff544bb5ee8ad49f6875a9ecb40064c870dd539e | 133 | py | Python | proxssi/groups/__init__.py | tristandeleu/pytorch-structured-sparsity | d414838a7236eb776d160eeea49afb13d329b627 | [
"MIT"
] | 8 | 2021-02-10T07:05:45.000Z | 2021-09-13T13:49:16.000Z | proxssi/groups/__init__.py | tristandeleu/pytorch-structured-sparsity | d414838a7236eb776d160eeea49afb13d329b627 | [
"MIT"
] | 1 | 2021-04-08T06:36:52.000Z | 2021-04-08T06:36:52.000Z | proxssi/groups/__init__.py | tristandeleu/pytorch-structured-sparsity | d414838a7236eb776d160eeea49afb13d329b627 | [
"MIT"
] | null | null | null | from proxssi.groups.bert import bert_groups
from proxssi.groups.vgg import vgg_groups
from proxssi.groups.resnet import resnet_groups | 44.333333 | 47 | 0.87218 | 21 | 133 | 5.380952 | 0.333333 | 0.292035 | 0.451327 | 0.40708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 133 | 3 | 47 | 44.333333 | 0.92623 | 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 |
448a0cd26641538cdd9e321d487c8c268a669710 | 161,507 | py | Python | build/source/pcraster_python/operations.py | openearth/hydro-model-builder-generator-wflow | 6f689859d0a9a307324db3dbe3f03c51884a42a8 | [
"MIT"
] | null | null | null | build/source/pcraster_python/operations.py | openearth/hydro-model-builder-generator-wflow | 6f689859d0a9a307324db3dbe3f03c51884a42a8 | [
"MIT"
] | 2 | 2018-07-05T14:36:18.000Z | 2020-03-19T21:16:37.000Z | build/source/pcraster_python/operations.py | openearth/hydro-model-generator-wflow | 6f689859d0a9a307324db3dbe3f03c51884a42a8 | [
"MIT"
] | null | null | null | # Don't edit: generated by OperationsToWrappers.xsl
import pcraster._pcraster as _pcraster
def ifthen(arg1, arg2):
try:
if isinstance(arg1, str):
arg1 = _pcraster.readmap(arg1)
elif isinstance(arg1, int) or isinstance(arg1, float):
arg1 = _pcraster.newNonSpatialField(arg1)
if isinstance(arg2, ... | 40.753722 | 153 | 0.703344 | 18,086 | 161,507 | 6.087139 | 0.016809 | 0.08313 | 0.058996 | 0.054936 | 0.914962 | 0.914671 | 0.914026 | 0.9126 | 0.909276 | 0.908949 | 0 | 0.035882 | 0.173801 | 161,507 | 3,962 | 154 | 40.764008 | 0.789166 | 0.000303 | 0 | 0.849495 | 1 | 0 | 0.02309 | 0.001406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0.000758 | 0.000253 | 0 | 0.09798 | 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 |
9252721e0e34f6bb936b1a09190a426bca046739 | 56,732 | py | Python | clu/phontools/features.py | clu-ling/clu-phontools | 304510150c6f9a4b0e1372bc9275630b7f976aeb | [
"Apache-2.0"
] | null | null | null | clu/phontools/features.py | clu-ling/clu-phontools | 304510150c6f9a4b0e1372bc9275630b7f976aeb | [
"Apache-2.0"
] | 3 | 2021-06-15T23:32:30.000Z | 2021-09-01T18:49:20.000Z | clu/phontools/features.py | clu-ling/clu-phontools | 304510150c6f9a4b0e1372bc9275630b7f976aeb | [
"Apache-2.0"
] | 1 | 2021-06-18T05:48:29.000Z | 2021-06-18T05:48:29.000Z | from __future__ import unicode_literals
class LanguageFeatures(object):
def __init__(
self, consonant_matrix, vowel_matrix, salience, C_skip, C_sub, C_exp, C_vwl
):
self.consonant_matrix = consonant_matrix
self.vowel_matrix = vowel_matrix
self.salience = salience
self.C... | 24.172135 | 83 | 0.404481 | 4,451 | 56,732 | 5.143339 | 0.06785 | 0.10335 | 0.132792 | 0.178308 | 0.912462 | 0.910016 | 0.908706 | 0.893898 | 0.887695 | 0.871533 | 0 | 0.009274 | 0.374674 | 56,732 | 2,346 | 84 | 24.182438 | 0.636036 | 0.05177 | 0 | 0.788776 | 0 | 0 | 0.378335 | 0 | 0 | 0 | 0 | 0.000426 | 0 | 1 | 0.000884 | false | 0.000442 | 0.000442 | 0 | 0.001768 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
92641b83c7dbdf74cccdb74e76a8a11a425f2936 | 2,589 | py | Python | src/models/backbones/pytorch_backbone.py | dongzhuoyao/embedding-propagation | 1f14947bbd8be8a9950e7c4093fbfed0536809b9 | [
"Apache-2.0"
] | null | null | null | src/models/backbones/pytorch_backbone.py | dongzhuoyao/embedding-propagation | 1f14947bbd8be8a9950e7c4093fbfed0536809b9 | [
"Apache-2.0"
] | null | null | null | src/models/backbones/pytorch_backbone.py | dongzhuoyao/embedding-propagation | 1f14947bbd8be8a9950e7c4093fbfed0536809b9 | [
"Apache-2.0"
] | null | null | null | import torchvision.models as models
import torch
class resnet50(torch.nn.Module):
def __init__(self, dropout):
super().__init__()
resnet50 = models.resnet50(pretrained=False)
modules = list(resnet50.children())[:-1]
self._resnet50 = torch.nn.Sequential(*modules)
self.outpu... | 34.52 | 73 | 0.590962 | 344 | 2,589 | 4.276163 | 0.151163 | 0.057104 | 0.114208 | 0.021754 | 0.861999 | 0.861999 | 0.861999 | 0.861999 | 0.8586 | 0.78586 | 0 | 0.030193 | 0.258015 | 2,589 | 74 | 74 | 34.986486 | 0.735554 | 0 | 0 | 0.766667 | 0 | 0 | 0.01545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.033333 | 0 | 0.366667 | 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 |
a61c0d660bcaee719aa20a5c32047d90394e32e2 | 22,377 | py | Python | carbondesign/tests/test_tooltip_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_tooltip_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | carbondesign/tests/test_tooltip_html.py | dozymoe/django-carbondesign | 34aed0cfdccfa90fcb5bf2bbd347229815f1417b | [
"MIT"
] | null | null | null | # pylint:disable=missing-module-docstring,missing-class-docstring,missing-function-docstring,line-too-long
from .base import compare_template, SimpleTestCase
class TooltipHtmlTest(SimpleTestCase):
maxDiff = None
def test_default(self):
template = """
{% load carbondesign %}
{% InteractiveTooltip id="e... | 46.91195 | 211 | 0.6605 | 4,030 | 22,377 | 3.648387 | 0.05062 | 0.023669 | 0.029382 | 0.039176 | 0.934231 | 0.914235 | 0.910903 | 0.878868 | 0.870027 | 0.856356 | 0 | 0.186841 | 0.126514 | 22,377 | 476 | 212 | 47.010504 | 0.565384 | 0.004648 | 0 | 0.834452 | 0 | 0.199105 | 0.955952 | 0.399488 | 0 | 0 | 0 | 0 | 0.011186 | 1 | 0.011186 | false | 0 | 0.002237 | 0 | 0.017897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a62bb7eac214548539de22bc4a92595ac530e346 | 44 | py | Python | tensorsim/__init__.py | leighton/tensorsim | 8bed5e2971d1c9991fff2add1258c884614c6b0f | [
"Apache-2.0"
] | null | null | null | tensorsim/__init__.py | leighton/tensorsim | 8bed5e2971d1c9991fff2add1258c884614c6b0f | [
"Apache-2.0"
] | null | null | null | tensorsim/__init__.py | leighton/tensorsim | 8bed5e2971d1c9991fff2add1258c884614c6b0f | [
"Apache-2.0"
] | 1 | 2022-01-12T17:38:19.000Z | 2022-01-12T17:38:19.000Z | from . import integrate
from . import utils
| 14.666667 | 23 | 0.772727 | 6 | 44 | 5.666667 | 0.666667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a63d0172c77d02e74c82806f3a562a482586070e | 40 | py | Python | 97.py | adelacvg/PE | 0345335a3f959342625be03ae36a21bbad45f273 | [
"MIT"
] | 3 | 2018-11-12T07:32:42.000Z | 2021-07-27T04:40:41.000Z | 97.py | adelacvg/PE | 0345335a3f959342625be03ae36a21bbad45f273 | [
"MIT"
] | null | null | null | 97.py | adelacvg/PE | 0345335a3f959342625be03ae36a21bbad45f273 | [
"MIT"
] | null | null | null | print(str(28433*(2**7830457)+1)[-10::])
| 20 | 39 | 0.6 | 7 | 40 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 0.025 | 40 | 1 | 40 | 40 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 7 |
a663732b1a5e08a0efd3f5b8b801d5b8ba8407db | 1,173 | py | Python | cacreader/swig-4.0.2/Examples/contract/simple_cxx/runme3.py | kyletanyag/LL-Smartcard | 02abea9de5a13f8bae4d7832ab34cb7f0d9514c9 | [
"BSD-3-Clause"
] | 1,031 | 2015-01-02T14:08:47.000Z | 2022-03-29T02:25:27.000Z | cacreader/swig-4.0.2/Examples/contract/simple_cxx/runme3.py | kyletanyag/LL-Smartcard | 02abea9de5a13f8bae4d7832ab34cb7f0d9514c9 | [
"BSD-3-Clause"
] | 240 | 2015-01-11T04:27:19.000Z | 2022-03-30T00:35:57.000Z | cacreader/swig-4.0.2/Examples/contract/simple_cxx/runme3.py | kyletanyag/LL-Smartcard | 02abea9de5a13f8bae4d7832ab34cb7f0d9514c9 | [
"BSD-3-Clause"
] | 224 | 2015-01-05T06:13:54.000Z | 2022-02-25T14:39:51.000Z | import example
# Create the Circle object
r = 2;
print " Creating circle (radium: %d) :" % r
c = example.Circle(r)
# Set the location of the object
c.x = 20
c.y = 30
print " Here is its current position:"
print " Circle = (%f, %f)" % (c.x,c.y)
# ----- Call some methods -----
print "\n Here are some propert... | 20.224138 | 51 | 0.554987 | 186 | 1,173 | 3.5 | 0.268817 | 0.036866 | 0.023041 | 0.02765 | 0.863287 | 0.863287 | 0.863287 | 0.863287 | 0.863287 | 0.863287 | 0 | 0.017857 | 0.236147 | 1,173 | 57 | 52 | 20.578947 | 0.708705 | 0.202046 | 0 | 0.857143 | 0 | 0 | 0.468177 | 0.037756 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.028571 | null | null | 0.457143 | 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 | 1 | 0 | 9 |
a69e0939a864076b11b05ae615da1ac5bbd47ec0 | 6,630 | py | Python | setup.py | jfblg/Tracktime-UZE | f43666ac62d6e6450d0fb7082b5e68bae360547f | [
"MIT"
] | 1 | 2017-04-27T08:56:58.000Z | 2017-04-27T08:56:58.000Z | setup.py | jfblg/Tracktime | f6fdb8b47250c87ae74f4b77d065d2b763f1cd47 | [
"MIT"
] | null | null | null | setup.py | jfblg/Tracktime | f6fdb8b47250c87ae74f4b77d065d2b763f1cd47 | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name='Tracktime',
version='0.1',
packages=['src.models.participants', 'venv.lib.python3.5.distutils', 'venv.lib.python3.5.encodings',
'venv.lib.python3.5.importlib', 'venv.lib.python3.5.collections', 'venv.lib.python3.5.site-packages.pip',
... | 78 | 119 | 0.667722 | 857 | 6,630 | 5.117853 | 0.147025 | 0.151619 | 0.303238 | 0.324897 | 0.833789 | 0.833789 | 0.809166 | 0.573187 | 0.256498 | 0.094619 | 0 | 0.03785 | 0.175113 | 6,630 | 84 | 120 | 78.928571 | 0.764125 | 0 | 0 | 0 | 0 | 0.096386 | 0.764404 | 0.750075 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.024096 | 0 | 0.024096 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a6c2065e01dbce516b8303f7a7389422d3a7ac4d | 154,597 | py | Python | oc_config_validate/oc_config_validate/models/keychain.py | JoseIgnacioTamayo/gnxi | 1ebe7b7e58d33844e5bcbca0710153760c03e9f7 | [
"Apache-2.0"
] | 1 | 2019-08-06T09:25:43.000Z | 2019-08-06T09:25:43.000Z | oc_config_validate/oc_config_validate/models/keychain.py | JoseIgnacioTamayo/gnxi | 1ebe7b7e58d33844e5bcbca0710153760c03e9f7 | [
"Apache-2.0"
] | null | null | null | oc_config_validate/oc_config_validate/models/keychain.py | JoseIgnacioTamayo/gnxi | 1ebe7b7e58d33844e5bcbca0710153760c03e9f7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 65.451736 | 2,961 | 0.732763 | 20,484 | 154,597 | 5.293497 | 0.016013 | 0.048316 | 0.070828 | 0.07649 | 0.979914 | 0.975376 | 0.97165 | 0.968552 | 0.962622 | 0.95647 | 0 | 0.013374 | 0.135688 | 154,597 | 2,361 | 2,962 | 65.479458 | 0.798122 | 0.214053 | 0 | 0.8593 | 0 | 0.028617 | 0.411844 | 0.127836 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109698 | false | 0 | 0.011924 | 0 | 0.275835 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a6f4c39c60592bbc279748d671122a3a60d38e76 | 2,317 | py | Python | hvad/tests/ordering.py | ojii/django-nani | e75b3e91738bcddf94264df832a13ac47e979394 | [
"BSD-3-Clause"
] | 1 | 2015-09-28T10:07:48.000Z | 2015-09-28T10:07:48.000Z | hvad/tests/ordering.py | ojii/django-nani | e75b3e91738bcddf94264df832a13ac47e979394 | [
"BSD-3-Clause"
] | null | null | null | hvad/tests/ordering.py | ojii/django-nani | e75b3e91738bcddf94264df832a13ac47e979394 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from hvad.test_utils.context_managers import LanguageOverride
from hvad.test_utils.testcase import NaniTestCase
from testproject.app.models import Normal
class OrderingTest(NaniTestCase):
def test_minus_order_by(self):
a = Normal.objects.language('en').create(translated_field = "Eng... | 50.369565 | 78 | 0.543375 | 259 | 2,317 | 4.72973 | 0.185328 | 0.127347 | 0.205714 | 0.225306 | 0.758367 | 0.739592 | 0.721633 | 0.721633 | 0.721633 | 0.721633 | 0 | 0.007024 | 0.324126 | 2,317 | 46 | 79 | 50.369565 | 0.775224 | 0.009063 | 0 | 0.585366 | 0 | 0 | 0.054902 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 1 | 0.097561 | false | 0 | 0.073171 | 0 | 0.195122 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5b3eac622a1d052af3d7012c06f13a9e4f4ce93e | 58 | py | Python | BackEnd/src/app/domain/authentication/secretKey.py | JeremieBeaudoin/LavalUniversityStockExchange | 3edb64b0a708fdc3ce177cea5ac1d4e0d4fc8b4c | [
"Apache-2.0"
] | null | null | null | BackEnd/src/app/domain/authentication/secretKey.py | JeremieBeaudoin/LavalUniversityStockExchange | 3edb64b0a708fdc3ce177cea5ac1d4e0d4fc8b4c | [
"Apache-2.0"
] | null | null | null | BackEnd/src/app/domain/authentication/secretKey.py | JeremieBeaudoin/LavalUniversityStockExchange | 3edb64b0a708fdc3ce177cea5ac1d4e0d4fc8b4c | [
"Apache-2.0"
] | null | null | null | secretKey = b'27cb928e49203190795942ae462269cd5c9f2766b'
| 29 | 57 | 0.87931 | 3 | 58 | 17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.574074 | 0.068966 | 58 | 1 | 58 | 58 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0.719298 | 0.719298 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5bce6ffa5885965cc92bfc0d15069044d39732e1 | 117 | py | Python | tests/data/import_from_return_multiple.out.py | bmerry/trollius-fixers | 0ba4eba4ccc9795d0996ba8bd778e5651e0954ce | [
"MIT"
] | null | null | null | tests/data/import_from_return_multiple.out.py | bmerry/trollius-fixers | 0ba4eba4ccc9795d0996ba8bd778e5651e0954ce | [
"MIT"
] | null | null | null | tests/data/import_from_return_multiple.out.py | bmerry/trollius-fixers | 0ba4eba4ccc9795d0996ba8bd778e5651e0954ce | [
"MIT"
] | null | null | null |
from asyncio import ensure_future
from asyncio import wait
from asyncio import (
wait_for, ensure_future, wait)
| 19.5 | 34 | 0.794872 | 17 | 117 | 5.294118 | 0.411765 | 0.366667 | 0.566667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 5 | 35 | 23.4 | 0.927835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
5be712591b3b600a49479b489356d2bf3b51428e | 192 | py | Python | ipycollections/__init__.py | dataflownb/ipycollections-extension | 8adfe53fcac1a153c0b529750666bb4676c160d7 | [
"BSD-3-Clause"
] | 2 | 2020-10-14T16:13:07.000Z | 2021-03-14T00:08:26.000Z | ipycollections/__init__.py | dataflownb/ipycollections-extension | 8adfe53fcac1a153c0b529750666bb4676c160d7 | [
"BSD-3-Clause"
] | null | null | null | ipycollections/__init__.py | dataflownb/ipycollections-extension | 8adfe53fcac1a153c0b529750666bb4676c160d7 | [
"BSD-3-Clause"
] | null | null | null | from ._version import __version__
from .formatter import enable, disable
def load_ipython_extension(ipython):
enable(ipython)
def unload_ipython_extension(ipython):
disable(ipython) | 24 | 38 | 0.802083 | 23 | 192 | 6.304348 | 0.478261 | 0.22069 | 0.317241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130208 | 192 | 8 | 39 | 24 | 0.868263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
751ddf5e538b6db1f7f0c882e5bd75d376fc8a75 | 1,276 | py | Python | drbert/data.py | DaltonSchutte/DrBertsOffice | 3ada343d944d72ffeffaead29392141fd6083100 | [
"MIT"
] | 2 | 2021-04-26T18:58:02.000Z | 2022-03-23T21:14:08.000Z | drbert/data.py | DaltonSchutte/DrBertsOffice | 3ada343d944d72ffeffaead29392141fd6083100 | [
"MIT"
] | null | null | null | drbert/data.py | DaltonSchutte/DrBertsOffice | 3ada343d944d72ffeffaead29392141fd6083100 | [
"MIT"
] | null | null | null | from torch.utils.data import Dataset
class TaskDataset(Dataset):
"""Custom dataset
Holds inputs that are of the form:
(TEXT)[SEP]subject[SEP]predicate[SEP]object
Experiment expects 0 or 1 as a label
#TODO: make a special dataset class for NER
Attributes
----------
None
Methods
-------
None
""... | 21.266667 | 72 | 0.659091 | 178 | 1,276 | 4.533708 | 0.303371 | 0.074349 | 0.034696 | 0.04461 | 0.973978 | 0.973978 | 0.973978 | 0.884758 | 0.884758 | 0.884758 | 0 | 0.003949 | 0.206113 | 1,276 | 59 | 73 | 21.627119 | 0.792695 | 0.351881 | 0 | 0.909091 | 0 | 0 | 0.015584 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.090909 | 0.636364 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
752296d7dd5b14265adff6ed57bf76d264e33b3e | 391 | py | Python | src/spaceone/secret/error/custom.py | choonho/secret | dafe7294ba1e2a33104fdfe452b5f29b4c6e5b45 | [
"Apache-2.0"
] | null | null | null | src/spaceone/secret/error/custom.py | choonho/secret | dafe7294ba1e2a33104fdfe452b5f29b4c6e5b45 | [
"Apache-2.0"
] | null | null | null | src/spaceone/secret/error/custom.py | choonho/secret | dafe7294ba1e2a33104fdfe452b5f29b4c6e5b45 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from spaceone.core.error import *
class ERROR_ALREADY_EXIST_SECRET_IN_GROUP(ERROR_BASE):
_message = 'Secret is already exist in group.(secret_group_id = {secret_group_id}, secret_id = {secret_id})'
class ERROR_NOT_EXIST_SECRET_IN_GROUP(ERROR_BASE):
_message = 'Secret is not exist in... | 32.583333 | 112 | 0.754476 | 60 | 391 | 4.483333 | 0.316667 | 0.178439 | 0.193309 | 0.282528 | 0.713755 | 0.713755 | 0.713755 | 0.713755 | 0.713755 | 0.401487 | 0 | 0.00295 | 0.132992 | 391 | 11 | 113 | 35.545455 | 0.79056 | 0.053708 | 0 | 0 | 0 | 0 | 0.505435 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
75243cf5ad32057e3ae2af591e997e220350d84d | 1,948 | py | Python | 03-gaming-xml-to-csv.py | mutazag/godzilla-sina | 81f00c81e568a934d51adb549bd64cb9740dff7a | [
"MIT"
] | 2 | 2020-04-21T05:00:30.000Z | 2020-05-11T10:14:25.000Z | 03-gaming-xml-to-csv.py | mutazag/godzilla-sina | 81f00c81e568a934d51adb549bd64cb9740dff7a | [
"MIT"
] | null | null | null | 03-gaming-xml-to-csv.py | mutazag/godzilla-sina | 81f00c81e568a934d51adb549bd64cb9740dff7a | [
"MIT"
] | null | null | null | # To add a new cell, type '# %%'
# To add a new markdown cell, type '# %% [markdown]'
# %%
from helpers import *
# %%
domain = 'gaming'
domain_entities = raw.get_entities_dict(domain=domain)
# %%
domain_entities['Posts']
# %% [markdown]
# # Process Badges
# %%
ret = raw.convert_xml_to_csv(domain_entities['Badges... | 12.175 | 76 | 0.662218 | 246 | 1,948 | 4.96748 | 0.142276 | 0.206219 | 0.170213 | 0.209493 | 0.828151 | 0.702128 | 0.702128 | 0.702128 | 0.702128 | 0.702128 | 0 | 0 | 0.158111 | 1,948 | 159 | 77 | 12.251572 | 0.745122 | 0.218686 | 0 | 0.428571 | 0 | 0 | 0.080357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
75509c6faaa8a17778f3d5196614f15722f1bf4f | 250,083 | py | Python | pyboto3/iam.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/iam.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/iam.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 47.337308 | 652 | 0.675312 | 31,378 | 250,083 | 5.360125 | 0.03802 | 0.010108 | 0.008294 | 0.017058 | 0.841536 | 0.815714 | 0.79016 | 0.768256 | 0.754064 | 0.736863 | 0 | 0.007816 | 0.267387 | 250,083 | 5,282 | 653 | 47.34627 | 0.910182 | 0.882611 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.524194 | 0 | 0 | 0.5 | 0.008065 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
755820a1e56e5a952fe77b1ca48a2ef3a5c36672 | 270 | py | Python | backend/src/baserow/core/tasks.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 839 | 2020-07-20T13:29:34.000Z | 2022-03-31T21:09:16.000Z | backend/src/baserow/core/tasks.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 28 | 2020-08-07T09:23:58.000Z | 2022-03-01T22:32:40.000Z | backend/src/baserow/core/tasks.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 79 | 2020-08-04T01:48:01.000Z | 2022-03-27T13:30:54.000Z | from .trash.tasks import (
permanently_delete_marked_trash,
mark_old_trash_for_permanent_deletion,
setup_period_trash_tasks,
)
__all__ = [
"permanently_delete_marked_trash",
"mark_old_trash_for_permanent_deletion",
"setup_period_trash_tasks",
]
| 22.5 | 44 | 0.781481 | 33 | 270 | 5.606061 | 0.454545 | 0.162162 | 0.248649 | 0.302703 | 0.875676 | 0.875676 | 0.875676 | 0.875676 | 0.875676 | 0.875676 | 0 | 0 | 0.148148 | 270 | 11 | 45 | 24.545455 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.340741 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 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 |
f3497a20a21dc0f8d50cdbaf9055e5ef34886d6a | 15,307 | py | Python | operator_api/swapper/tests/test_generic.py | liquidity-network/nocust-hub | 76f49f9b8a6c264fcbe9e0c110e98031d463c0a8 | [
"MIT"
] | 1 | 2021-08-04T06:09:46.000Z | 2021-08-04T06:09:46.000Z | operator_api/swapper/tests/test_generic.py | liquidity-network/nocust-hub | 76f49f9b8a6c264fcbe9e0c110e98031d463c0a8 | [
"MIT"
] | 8 | 2020-11-01T19:48:21.000Z | 2022-02-10T14:12:25.000Z | operator_api/swapper/tests/test_generic.py | liquidity-network/nocust-hub | 76f49f9b8a6c264fcbe9e0c110e98031d463c0a8 | [
"MIT"
] | 3 | 2020-11-01T15:59:56.000Z | 2021-09-16T07:18:18.000Z | import random
from operator_api.simulation.swap import send_swap, freeze_last_swap, finalize_last_swap, cancel_last_swap
from ledger.models import Transfer
from swapper.tasks.cancel_finalize_swaps import cancel_finalize_swaps_for_eon
from swapper.tasks.confirm_swaps import confirm_swaps_for_eon
from swapper.tasks.proc... | 39.148338 | 142 | 0.571111 | 1,816 | 15,307 | 4.480727 | 0.055617 | 0.07853 | 0.087256 | 0.126091 | 0.906722 | 0.900209 | 0.885707 | 0.869731 | 0.841342 | 0.841342 | 0 | 0.038106 | 0.350232 | 15,307 | 390 | 143 | 39.248718 | 0.780012 | 0.059711 | 0 | 0.905714 | 0 | 0 | 0.006825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005714 | false | 0 | 0.025714 | 0 | 0.034286 | 0.02 | 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 |
f37de69c1a30701f74e000f2b32ae4d84fee1419 | 363 | py | Python | visualdl/server/mock/tags.py | gmhou/VisualDL | fa7b30e09b91c336b1eb900ad799f71cf0db9f94 | [
"Apache-2.0"
] | 1 | 2018-01-19T10:54:38.000Z | 2018-01-19T10:54:38.000Z | visualdl/server/mock/tags.py | gmhou/VisualDL | fa7b30e09b91c336b1eb900ad799f71cf0db9f94 | [
"Apache-2.0"
] | null | null | null | visualdl/server/mock/tags.py | gmhou/VisualDL | fa7b30e09b91c336b1eb900ad799f71cf0db9f94 | [
"Apache-2.0"
] | null | null | null | def data():
return {
"test": {
"min/layer2/weights": {
"displayName": "min/layer2/weights",
"description": ""
}
},
"train": {
"min/layer2/weights": {
"displayName": "min/layer2/weights",
"desc... | 22.6875 | 52 | 0.358127 | 21 | 363 | 6.190476 | 0.47619 | 0.276923 | 0.492308 | 0.415385 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0 | 0 | 0 | 0.021505 | 0.487603 | 363 | 15 | 53 | 24.2 | 0.677419 | 0 | 0 | 0.4 | 0 | 0 | 0.344353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0 | 0 | 0.066667 | 0.133333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f39ec60dc46531ec9590f0efc920110c339b1951 | 5,222 | py | Python | pages/tests/test_views.py | gurupratap-matharu/polls | 5484a1f639b2ccd5e0a676f24cf0e23b6b2d0639 | [
"MIT"
] | null | null | null | pages/tests/test_views.py | gurupratap-matharu/polls | 5484a1f639b2ccd5e0a676f24cf0e23b6b2d0639 | [
"MIT"
] | 66 | 2020-08-25T02:03:25.000Z | 2021-09-22T19:33:34.000Z | pages/tests/test_views.py | gurupratap-matharu/polls | 5484a1f639b2ccd5e0a676f24cf0e23b6b2d0639 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.test import TestCase
from django.urls import resolve, reverse
from pages.factories import UserFactory
from pages.views import (AboutPageView, ContactPageView, FeedbackPageView,
HomePageView)
IRRELEVANT_RESPONSE = 'Hi I should not be o... | 40.169231 | 81 | 0.713328 | 594 | 5,222 | 6.016835 | 0.111111 | 0.080582 | 0.080582 | 0.094012 | 0.848909 | 0.788472 | 0.781757 | 0.781757 | 0.781757 | 0.730274 | 0 | 0.011191 | 0.178667 | 5,222 | 129 | 82 | 40.48062 | 0.822103 | 0 | 0 | 0.686869 | 0 | 0 | 0.086174 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.161616 | false | 0 | 0.050505 | 0 | 0.252525 | 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 |
f3a2fd0b210b64da226165db1dfa30a8168330cb | 2,448 | py | Python | Lesson09/problem/problem_validate_email_utils_optional_part2.py | AlexMazonowicz/PythonFundamentals | 5451f61d3b4e7cd285dea442795c25baa5072ef9 | [
"MIT"
] | 2 | 2020-02-27T01:33:43.000Z | 2021-03-29T13:11:54.000Z | Lesson09/problem/problem_validate_email_utils_optional_part2.py | AlexMazonowicz/PythonFundamentals | 5451f61d3b4e7cd285dea442795c25baa5072ef9 | [
"MIT"
] | null | null | null | Lesson09/problem/problem_validate_email_utils_optional_part2.py | AlexMazonowicz/PythonFundamentals | 5451f61d3b4e7cd285dea442795c25baa5072ef9 | [
"MIT"
] | 6 | 2019-03-18T04:49:11.000Z | 2022-03-22T04:03:19.000Z | # Importing re library
# Importing user-defined exceptions
def is_provider_valid_blacklist_optional_len(mailing_list):
"""
Your docstring documentation starts here.
For more information on how to proper document your function, please refer to the official PEP8:
https://www.pyth... | 37.661538 | 112 | 0.647876 | 323 | 2,448 | 4.860681 | 0.303406 | 0.040127 | 0.057325 | 0.043312 | 0.775796 | 0.775796 | 0.717197 | 0.717197 | 0.717197 | 0.717197 | 0 | 0.008226 | 0.304739 | 2,448 | 64 | 113 | 38.25 | 0.914219 | 0.503268 | 0 | 0.428571 | 0 | 0 | 0.082426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.071429 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
f3b5163ef57cb33c3ee07fed4d2f9ad57f7df2f4 | 34 | py | Python | src/feature_handle/__init__.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 6 | 2020-12-09T11:06:49.000Z | 2021-09-13T08:00:55.000Z | src/feature_handle/__init__.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | null | null | null | src/feature_handle/__init__.py | weijinqian0/feature_eda | cf2167eeac726fb33ce2ae5c7051412815601b8b | [
"Apache-2.0"
] | 3 | 2020-11-15T15:23:39.000Z | 2021-07-17T08:06:46.000Z | print("你已经导入了特征工程处理模块,happy、wise") | 34 | 34 | 0.823529 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 34 | 1 | 34 | 34 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
f3c511712be87ab4da0a836b2bbd63f4bc47349d | 284 | py | Python | pygeom/matrix3d/__init__.py | Xero64/pygeom | 4a41d98987e86a7253c7da6ac55550b35f801926 | [
"MIT"
] | 4 | 2018-08-13T15:25:42.000Z | 2019-05-04T13:06:14.000Z | pygeom/matrix3d/__init__.py | Xero64/pygeom | 4a41d98987e86a7253c7da6ac55550b35f801926 | [
"MIT"
] | null | null | null | pygeom/matrix3d/__init__.py | Xero64/pygeom | 4a41d98987e86a7253c7da6ac55550b35f801926 | [
"MIT"
] | 2 | 2018-10-15T11:00:47.000Z | 2020-08-26T06:39:55.000Z | from .matrixvector import MatrixVector, zero_matrix_vector, solve_matrix_vector
from .matrixvector import elementwise_dot_product, elementwise_cross_product
from .matrixvector import elementwise_multiply, elementwise_divide
from .matrixvector import vector_to_global, vector_to_local
| 56.8 | 79 | 0.894366 | 35 | 284 | 6.857143 | 0.457143 | 0.266667 | 0.366667 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073944 | 284 | 4 | 80 | 71 | 0.912548 | 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 |
1ba604bd9405fca0c08e78c70687daee469bfca6 | 7,837 | py | Python | tests/system/relations/test_generic_relations.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | tests/system/relations/test_generic_relations.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | tests/system/relations/test_generic_relations.py | reiterl/openslides-backend | d36667f00087ae8baf25853d4cef18a5e6dc7b3b | [
"MIT"
] | null | null | null | from openslides_backend.action.relations import RelationsHandler
from tests.util import get_fqfield, get_fqid
from .setup import BaseRelationsTestCase, FakeModelA
class GenericRelationsTest(BaseRelationsTestCase):
def test_generic_O2O_empty(self) -> None:
self.create_model("fake_model_a/1", {})
s... | 37.14218 | 87 | 0.564885 | 914 | 7,837 | 4.407002 | 0.063457 | 0.22567 | 0.126614 | 0.139275 | 0.939672 | 0.939672 | 0.934211 | 0.932224 | 0.932224 | 0.932224 | 0 | 0.015442 | 0.314151 | 7,837 | 210 | 88 | 37.319048 | 0.733953 | 0 | 0 | 0.643216 | 0 | 0 | 0.243588 | 0.131683 | 0 | 0 | 0 | 0 | 0.045226 | 1 | 0.045226 | false | 0 | 0.015075 | 0 | 0.065327 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
84732e3b7d40a137e0baff13f31fd9ed58f2cc4a | 39,013 | py | Python | test/test_PowerExpansion.py | sohamch/Onsager | 1c943299b969fdebf77c21f092c5df2c9a142bc7 | [
"MIT"
] | 9 | 2016-10-21T21:42:29.000Z | 2021-08-25T08:11:33.000Z | test/test_PowerExpansion.py | sohamch/Onsager | 1c943299b969fdebf77c21f092c5df2c9a142bc7 | [
"MIT"
] | 3 | 2017-07-03T16:00:54.000Z | 2017-07-18T20:32:45.000Z | test/test_PowerExpansion.py | sohamch/Onsager | 1c943299b969fdebf77c21f092c5df2c9a142bc7 | [
"MIT"
] | 4 | 2016-08-13T00:36:32.000Z | 2022-01-13T02:12:24.000Z | """
Unit tests for PowerExpansion class
"""
__author__ = 'Dallas R. Trinkle'
import unittest
import numpy as np
from scipy.special import sph_harm
import onsager.PowerExpansion as PE
T3D = PE.Taylor3D
T2D = PE.Taylor2D
class PowerExpansionTests(unittest.TestCase):
"""Tests to make sure our power expansions are ... | 48.705368 | 112 | 0.490196 | 5,546 | 39,013 | 3.445546 | 0.073026 | 0.046889 | 0.036841 | 0.067821 | 0.904024 | 0.891255 | 0.873358 | 0.872102 | 0.861322 | 0.853158 | 0 | 0.063351 | 0.343321 | 39,013 | 800 | 113 | 48.76625 | 0.68254 | 0.133443 | 0 | 0.764992 | 0 | 0 | 0.055971 | 0.001788 | 0 | 0 | 0 | 0 | 0.186386 | 1 | 0.068071 | false | 0 | 0.006483 | 0.019449 | 0.111831 | 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 |
8481dab66f9e2cfb5f4a862bbb515bf2add60cfe | 15,837 | py | Python | rbac/common/protobuf/task_transaction_pb2.py | fthornton67/sawtooth-next-directory | 79479afb8d234911c56379bb1d8abf11f28ef86d | [
"Apache-2.0"
] | 75 | 2018-04-06T09:13:34.000Z | 2020-05-18T18:59:47.000Z | rbac/common/protobuf/task_transaction_pb2.py | fthornton67/sawtooth-next-directory | 79479afb8d234911c56379bb1d8abf11f28ef86d | [
"Apache-2.0"
] | 989 | 2018-04-18T21:01:56.000Z | 2019-10-23T15:37:09.000Z | rbac/common/protobuf/task_transaction_pb2.py | fthornton67/sawtooth-next-directory | 79479afb8d234911c56379bb1d8abf11f28ef86d | [
"Apache-2.0"
] | 72 | 2018-04-13T18:29:12.000Z | 2020-05-29T06:00:33.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: task_transaction.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection ... | 40.607692 | 1,242 | 0.744522 | 1,928 | 15,837 | 5.824689 | 0.082988 | 0.053428 | 0.046483 | 0.040962 | 0.76821 | 0.739982 | 0.729118 | 0.709973 | 0.709973 | 0.709973 | 0 | 0.037021 | 0.128433 | 15,837 | 389 | 1,243 | 40.712082 | 0.77657 | 0.033592 | 0 | 0.725212 | 1 | 0.002833 | 0.176801 | 0.122336 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014164 | 0 | 0.014164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
84c70fefc2ef3d45c2a707f28dbaae1d581efe4b | 7,831 | py | Python | pointnet/dataset_normal.py | trisct/pointnet.pytorch | a6cd50838057093562be4704146d1f975a250926 | [
"MIT"
] | null | null | null | pointnet/dataset_normal.py | trisct/pointnet.pytorch | a6cd50838057093562be4704146d1f975a250926 | [
"MIT"
] | null | null | null | pointnet/dataset_normal.py | trisct/pointnet.pytorch | a6cd50838057093562be4704146d1f975a250926 | [
"MIT"
] | null | null | null | from __future__ import print_function
import torch.utils.data as data
import os
import os.path
import torch
import numpy as np
import sys
from tqdm import tqdm
import json
from plyfile import PlyData, PlyElement
import h5py
from torch_geometric.nn import fps
from open3d import *
class NormalDataset(data.Dataset):
... | 39.751269 | 192 | 0.614481 | 1,018 | 7,831 | 4.537328 | 0.140472 | 0.096991 | 0.02165 | 0.03031 | 0.839143 | 0.818792 | 0.818792 | 0.804287 | 0.804287 | 0.804287 | 0 | 0.013727 | 0.2651 | 7,831 | 196 | 193 | 39.954082 | 0.788879 | 0.206104 | 0 | 0.755556 | 0 | 0.014815 | 0.086232 | 0.036725 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.096296 | 0.007407 | 0.244444 | 0.022222 | 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 |
84e9512b78bee2499994ca3aa4a674cc6ff73da8 | 20,607 | py | Python | tests/integration/test_event_hooks_it.py | cluesblues/okta-sdk-python | c1d839f0d8fb4a0b564b0a1f4570bc18e117e0d7 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_event_hooks_it.py | cluesblues/okta-sdk-python | c1d839f0d8fb4a0b564b0a1f4570bc18e117e0d7 | [
"Apache-2.0"
] | null | null | null | tests/integration/test_event_hooks_it.py | cluesblues/okta-sdk-python | c1d839f0d8fb4a0b564b0a1f4570bc18e117e0d7 | [
"Apache-2.0"
] | 1 | 2022-01-19T09:29:14.000Z | 2022-01-19T09:29:14.000Z | import pytest
from tests.mocks import MockOktaClient
import okta.models as models
from http import HTTPStatus
from okta.errors.okta_api_error import OktaAPIError
class TestEventHooksResource:
"""
Integration Tests for the Event Hooks Resource
"""
SDK_PREFIX = "python_sdk"
EVENT_TYPE = "EVENT_TYPE"... | 41.379518 | 79 | 0.571796 | 1,991 | 20,607 | 5.652436 | 0.056253 | 0.177537 | 0.139328 | 0.062378 | 0.916741 | 0.900036 | 0.876311 | 0.86316 | 0.85534 | 0.831882 | 0 | 0.002374 | 0.345902 | 20,607 | 497 | 80 | 41.462777 | 0.832554 | 0.032853 | 0 | 0.86618 | 0 | 0 | 0.088324 | 0.018017 | 0 | 0 | 0 | 0 | 0.296837 | 1 | 0 | false | 0 | 0.012165 | 0 | 0.019465 | 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 |
ca022d487f3f7acbf4117b9a125d0d9a5d72b01c | 132 | py | Python | use_other_py_code_in_program/printString.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | use_other_py_code_in_program/printString.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | use_other_py_code_in_program/printString.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | print("This text is from printString.py.\nThe statement:\n'import printString'\nran the code from printstring.py automatically.")
| 33 | 129 | 0.787879 | 19 | 132 | 5.473684 | 0.789474 | 0.288462 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 3 | 130 | 44 | 0.881356 | 0 | 0 | 0 | 0 | 1 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.