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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13ed07d67af653c7e69106d1c3fde243233669c8 | 11,143 | py | Python | sdk/core/azure-core/tests/async_tests/test_http_logging_policy_async.py | JianpingChen/azure-sdk-for-python | 3072fc8c0366287fbaea1b02493a50259c3248a2 | [
"MIT"
] | 8 | 2021-01-13T23:44:08.000Z | 2021-03-17T10:13:36.000Z | sdk/core/azure-core/tests/async_tests/test_http_logging_policy_async.py | JianpingChen/azure-sdk-for-python | 3072fc8c0366287fbaea1b02493a50259c3248a2 | [
"MIT"
] | 510 | 2019-07-17T16:11:19.000Z | 2021-08-02T08:38:32.000Z | sdk/core/azure-core/tests/async_tests/test_http_logging_policy_async.py | JianpingChen/azure-sdk-for-python | 3072fc8c0366287fbaea1b02493a50259c3248a2 | [
"MIT"
] | 5 | 2019-09-04T12:51:37.000Z | 2020-09-16T07:28:40.000Z | # ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
"""Tests for the HttpLoggingPolicy."""
import logging
import types
import pytest
import sys
from unittest.mock import Mock
from azure.core.pipeline import (
Pipelin... | 38.160959 | 110 | 0.691555 | 1,332 | 11,143 | 5.636637 | 0.108108 | 0.127464 | 0.182206 | 0.179808 | 0.891716 | 0.876931 | 0.87227 | 0.85642 | 0.849893 | 0.849893 | 0 | 0.021789 | 0.180382 | 11,143 | 291 | 111 | 38.292096 | 0.800285 | 0.039756 | 0 | 0.756757 | 0 | 0.004505 | 0.157619 | 0.002246 | 0 | 0 | 0 | 0 | 0.315315 | 1 | 0.072072 | false | 0 | 0.036036 | 0 | 0.126126 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
13ef38d20820e606b6ef5c676c42a9b93257e7d6 | 15,797 | py | Python | openstackclient/tests/unit/volume/v3/test_volume_group.py | mydevice/python-openstackclient | 4891bb38208fdcd1a2ae60e47b056841e14fbdf7 | [
"Apache-2.0"
] | 262 | 2015-01-29T20:10:49.000Z | 2022-03-23T01:59:23.000Z | openstackclient/tests/unit/volume/v3/test_volume_group.py | mydevice/python-openstackclient | 4891bb38208fdcd1a2ae60e47b056841e14fbdf7 | [
"Apache-2.0"
] | 5 | 2015-01-21T02:37:35.000Z | 2021-11-23T02:26:00.000Z | openstackclient/tests/unit/volume/v3/test_volume_group.py | mydevice/python-openstackclient | 4891bb38208fdcd1a2ae60e47b056841e14fbdf7 | [
"Apache-2.0"
] | 194 | 2015-01-08T07:39:27.000Z | 2022-03-30T13:51:23.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 31.720884 | 78 | 0.6148 | 1,761 | 15,797 | 5.20954 | 0.102783 | 0.122302 | 0.112819 | 0.07663 | 0.859167 | 0.830063 | 0.821125 | 0.768694 | 0.743296 | 0.727491 | 0 | 0.007162 | 0.284105 | 15,797 | 497 | 79 | 31.784708 | 0.80405 | 0.032981 | 0 | 0.704261 | 0 | 0 | 0.092702 | 0.017689 | 0 | 0 | 0 | 0 | 0.087719 | 1 | 0.047619 | false | 0 | 0.010025 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b91ae067743ee859c5d4fd1ead87902d5ebb7b84 | 23,569 | py | Python | iqs_client/api/persistent_index_api.py | thomas-bc/mms-autocref | 1db6697f929a1c782c902923209389e337ec6961 | [
"Apache-2.0"
] | null | null | null | iqs_client/api/persistent_index_api.py | thomas-bc/mms-autocref | 1db6697f929a1c782c902923209389e337ec6961 | [
"Apache-2.0"
] | null | null | null | iqs_client/api/persistent_index_api.py | thomas-bc/mms-autocref | 1db6697f929a1c782c902923209389e337ec6961 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
IncQuery Server
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
OpenAPI spec version: 0.12.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
... | 40.083333 | 145 | 0.639823 | 2,623 | 23,569 | 5.433092 | 0.066336 | 0.043786 | 0.058943 | 0.030314 | 0.943162 | 0.940074 | 0.938881 | 0.930321 | 0.927444 | 0.92597 | 0 | 0.014368 | 0.279477 | 23,569 | 587 | 146 | 40.151618 | 0.824815 | 0.319657 | 0 | 0.817308 | 1 | 0 | 0.178672 | 0.064118 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.012821 | 0 | 0.115385 | 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 |
b922b2b569fcbcbeab485710ba8553b939465f6c | 13,735 | py | Python | odoo-13.0/addons/hr_holidays/tests/test_company_leave.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/hr_holidays/tests/test_company_leave.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/addons/hr_holidays/tests/test_company_leave.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from datetime import date, datetime
from odoo.tests import tagged
from odoo.tests.common import SavepointCase
@tagged('company_leave')
class TestCompanyLeave(SavepointCase):
""" Test leaves for a whole company, co... | 42.391975 | 129 | 0.587404 | 1,784 | 13,735 | 4.304933 | 0.09417 | 0.035156 | 0.09375 | 0.125 | 0.83138 | 0.815625 | 0.783333 | 0.753385 | 0.745443 | 0.735807 | 0 | 0.059023 | 0.268511 | 13,735 | 323 | 130 | 42.52322 | 0.705385 | 0.089407 | 0 | 0.73251 | 0 | 0 | 0.188062 | 0.001926 | 0 | 0 | 0 | 0 | 0.213992 | 1 | 0.028807 | false | 0 | 0.012346 | 0 | 0.045267 | 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 |
b96c05b84f359fc7948090ec3cfe2df765aee5de | 1,790 | py | Python | src/tests/test_crypto.py | omnone/pyHide | ffe9a8ccdca37695dd6ec1f80e090db548d1fe8a | [
"MIT"
] | 11 | 2020-10-03T12:51:50.000Z | 2021-05-11T08:01:49.000Z | src/tests/test_crypto.py | omnone/pyHide | ffe9a8ccdca37695dd6ec1f80e090db548d1fe8a | [
"MIT"
] | 11 | 2020-10-03T12:40:20.000Z | 2020-12-08T06:07:39.000Z | src/tests/test_crypto.py | omnone/pyHide | ffe9a8ccdca37695dd6ec1f80e090db548d1fe8a | [
"MIT"
] | 12 | 2020-10-03T12:51:58.000Z | 2020-10-28T08:40:55.000Z | import unittest
import sys
import os
testDir = os.path.dirname(__file__)
srcDir = '../pyRanoid'
sys.path.insert(0, os.path.abspath(os.path.join(testDir, srcDir)))
import encryption
class TestCrypto(unittest.TestCase):
def test_encryptText(self):
"""
Test that text get encrypted based on AES
... | 54.242424 | 1,024 | 0.702793 | 327 | 1,790 | 3.795107 | 0.406728 | 0.628525 | 0.928284 | 1.228042 | 0.344883 | 0.314263 | 0.314263 | 0.314263 | 0.314263 | 0.314263 | 0 | 0.228893 | 0.106704 | 1,790 | 32 | 1,025 | 55.9375 | 0.547217 | 0.046369 | 0 | 0 | 0 | 0.052632 | 0.622289 | 0.600602 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.105263 | false | 0.105263 | 0.210526 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
b9849d56efbf812e5d5931664e073a8bfca9fe5c | 27,752 | py | Python | axonclient/command_pb2.py | johnbywater/axon-server-api | 43c93be99a8daaa92a5f1842d1439f07f0cd93f1 | [
"Apache-2.0"
] | 3 | 2020-01-19T02:09:08.000Z | 2021-09-02T15:39:36.000Z | axonclient/command_pb2.py | johnbywater/axon-server-api | 43c93be99a8daaa92a5f1842d1439f07f0cd93f1 | [
"Apache-2.0"
] | null | null | null | axonclient/command_pb2.py | johnbywater/axon-server-api | 43c93be99a8daaa92a5f1842d1439f07f0cd93f1 | [
"Apache-2.0"
] | 1 | 2020-12-11T07:00:19.000Z | 2020-12-11T07:00:19.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: command.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 imp... | 48.859155 | 2,968 | 0.768053 | 3,405 | 27,752 | 5.98091 | 0.074009 | 0.042426 | 0.065406 | 0.079941 | 0.815762 | 0.772846 | 0.745004 | 0.714903 | 0.663246 | 0.607857 | 0 | 0.034765 | 0.106551 | 27,752 | 567 | 2,969 | 48.945326 | 0.78657 | 0.029547 | 0 | 0.668582 | 1 | 0.065134 | 0.241168 | 0.192392 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011494 | 0 | 0.011494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9942fff28b1e4d7cf906736c30a231d16614bf5 | 2,405 | py | Python | openprocurement/audit/monitoring/tests/test_monitoring_count.py | ProzorroUKR/openprocurement.audit.api | a17836e29bca28d9151c091e1d2e42de9f70b949 | [
"Apache-2.0"
] | 1 | 2018-05-21T08:14:55.000Z | 2018-05-21T08:14:55.000Z | openprocurement/audit/monitoring/tests/test_monitoring_count.py | ProzorroUKR/openprocurement.audit.api | a17836e29bca28d9151c091e1d2e42de9f70b949 | [
"Apache-2.0"
] | 59 | 2018-05-18T02:09:47.000Z | 2019-05-29T12:10:06.000Z | openprocurement/audit/monitoring/tests/test_monitoring_count.py | ProzorroUKR/openprocurement.audit.api | a17836e29bca28d9151c091e1d2e42de9f70b949 | [
"Apache-2.0"
] | 1 | 2020-06-15T11:04:25.000Z | 2020-06-15T11:04:25.000Z | from openprocurement.audit.monitoring.tests.base import BaseWebTest
class MonitoringCountResourceTest(BaseWebTest):
def setUp(self):
super(MonitoringCountResourceTest, self).setUp()
def test_get_nil(self):
response = self.app.get('/monitorings/count')
self.assertEqual(response.status... | 37 | 67 | 0.680249 | 278 | 2,405 | 5.726619 | 0.147482 | 0.197864 | 0.303392 | 0.079146 | 0.881281 | 0.828518 | 0.828518 | 0.813442 | 0.813442 | 0.813442 | 0 | 0.019638 | 0.195426 | 2,405 | 64 | 68 | 37.578125 | 0.803101 | 0 | 0 | 0.77551 | 0 | 0 | 0.12812 | 0.034942 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.163265 | false | 0 | 0.020408 | 0 | 0.204082 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b9a642e35a44c1fe4f60f5f9e438f8a567eccba2 | 6,007 | py | Python | test/page_delete .py | Dibyadarshan/mezzanine | 6bc046f086c70c1f6bda3458eafbbe2da54df0c8 | [
"BSD-2-Clause"
] | null | null | null | test/page_delete .py | Dibyadarshan/mezzanine | 6bc046f086c70c1f6bda3458eafbbe2da54df0c8 | [
"BSD-2-Clause"
] | null | null | null | test/page_delete .py | Dibyadarshan/mezzanine | 6bc046f086c70c1f6bda3458eafbbe2da54df0c8 | [
"BSD-2-Clause"
] | null | null | null | from selenium import webdriver
import time
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support.ui import Select
driver = webdr... | 50.90678 | 118 | 0.757117 | 978 | 6,007 | 4.427403 | 0.105317 | 0.078984 | 0.096536 | 0.157968 | 0.855196 | 0.855196 | 0.821247 | 0.812471 | 0.812471 | 0.812471 | 0 | 0.015286 | 0.063426 | 6,007 | 118 | 119 | 50.90678 | 0.754355 | 0.004162 | 0 | 0.724771 | 0 | 0.082569 | 0.249958 | 0.151312 | 0 | 0 | 0 | 0 | 0.073395 | 1 | 0 | false | 0.027523 | 0.06422 | 0 | 0.06422 | 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 |
b9f5d62e168f834e52e3afa8245e95c3ecef7165 | 191 | py | Python | core/bo/sala.py | ArthurGorgonio/suggestclasses | 7e6ce79cca6cd92ed8a38b12707f900f019508c8 | [
"MIT"
] | null | null | null | core/bo/sala.py | ArthurGorgonio/suggestclasses | 7e6ce79cca6cd92ed8a38b12707f900f019508c8 | [
"MIT"
] | null | null | null | core/bo/sala.py | ArthurGorgonio/suggestclasses | 7e6ce79cca6cd92ed8a38b12707f900f019508c8 | [
"MIT"
] | null | null | null | from core.models import Sala
def get_salas():
"""
Lista todos as Salas. Retorna apenas salas do CERES.
"""
return Sala.objects.all().order_by('campus', 'sigla', 'nome')
| 21.222222 | 65 | 0.633508 | 26 | 191 | 4.576923 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225131 | 191 | 8 | 66 | 23.875 | 0.804054 | 0.272251 | 0 | 0 | 0 | 0 | 0.12605 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6a0a0a9606140209d79e1c924cc4610b1836390a | 11,936 | py | Python | sdk/python/pulumi_azure/role/definition.py | AdminTurnedDevOps/pulumi-azure | affd9eaaee3016f350f0d0469694dbd52850300b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/role/definition.py | AdminTurnedDevOps/pulumi-azure | affd9eaaee3016f350f0d0469694dbd52850300b | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/role/definition.py | AdminTurnedDevOps/pulumi-azure | affd9eaaee3016f350f0d0469694dbd52850300b | [
"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 json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Defini... | 85.870504 | 482 | 0.735841 | 1,480 | 11,936 | 5.811486 | 0.131081 | 0.044646 | 0.07255 | 0.060691 | 0.810952 | 0.798047 | 0.785723 | 0.770724 | 0.762818 | 0.762818 | 0 | 0.039609 | 0.160271 | 11,936 | 138 | 483 | 86.492754 | 0.818517 | 0.511478 | 0 | 0.032258 | 1 | 0 | 0.168667 | 0.010107 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0.016129 | 0.096774 | 0.032258 | 0.322581 | 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 |
6a32e10cb7e9ec4312e58864aa6b06086a4f6dfe | 26,335 | py | Python | tests/test_submission_loader.py | jskinn/rvchallenge-evaluation | 1b4bfcb2864e112a5c3ffeae39ea617c46a0bb33 | [
"BSD-3-Clause"
] | 8 | 2019-05-02T19:06:02.000Z | 2021-08-31T09:11:31.000Z | rvchallenge-evaluation-master/tests/test_submission_loader.py | robotic-vision-lab/Deep-Ensembles-For-Probabilistic-Object-Detection | 82fd36376694f447ccb5564c7af4cc6128b3ea60 | [
"Apache-2.0"
] | 1 | 2020-07-07T03:11:53.000Z | 2020-07-07T03:11:53.000Z | rvchallenge-evaluation-master/tests/test_submission_loader.py | robotic-vision-lab/Deep-Ensembles-For-Probabilistic-Object-Detection | 82fd36376694f447ccb5564c7af4cc6128b3ea60 | [
"Apache-2.0"
] | 5 | 2019-02-13T06:03:15.000Z | 2020-04-02T00:12:42.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
import types
import os.path
import shutil
import json
import numpy as np
import tests.test_helpers as th
import data_holders
import submission_loader
import class_list
class TestSubmissionLoaderGenImgPBoxes(th.ExtendedTestCase):
... | 43.172131 | 118 | 0.529941 | 3,392 | 26,335 | 3.923054 | 0.061026 | 0.024498 | 0.027053 | 0.030059 | 0.825355 | 0.793267 | 0.778838 | 0.749981 | 0.744345 | 0.703615 | 0 | 0.080222 | 0.3075 | 26,335 | 609 | 119 | 43.243021 | 0.649449 | 0.010328 | 0 | 0.70073 | 0 | 0 | 0.061257 | 0 | 0 | 0 | 0 | 0 | 0.169708 | 1 | 0.069343 | false | 0 | 0.018248 | 0.001825 | 0.10219 | 0.001825 | 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 |
dbde5856a3a92680e89447e62c44db3d2cdb12d4 | 37,344 | py | Python | etl_base/dags/sqlg_jobs_MFG.py | buckylee2019/sqlg-airflow | 37610a23b99bea8d9fdc8b066a01736ff2ff0c9d | [
"Apache-2.0"
] | null | null | null | etl_base/dags/sqlg_jobs_MFG.py | buckylee2019/sqlg-airflow | 37610a23b99bea8d9fdc8b066a01736ff2ff0c9d | [
"Apache-2.0"
] | null | null | null | etl_base/dags/sqlg_jobs_MFG.py | buckylee2019/sqlg-airflow | 37610a23b99bea8d9fdc8b066a01736ff2ff0c9d | [
"Apache-2.0"
] | 1 | 2022-03-10T03:47:35.000Z | 2022-03-10T03:47:35.000Z |
# -*- coding: utf-8 -*-
# Author : Jesse Wei
# LastUpdate : 2020/10/04
# Impact : Jobs generated by SQLG
# Message : Humanity towards others, we live by sharing. Fear can hold you prisoner, only hope can set you free.
# from __future__ import print_function
import logging
import airflow
from d... | 27.931189 | 118 | 0.630757 | 4,495 | 37,344 | 4.787764 | 0.038042 | 0.147205 | 0.107058 | 0.08587 | 0.90112 | 0.885275 | 0.88416 | 0.88416 | 0.88402 | 0.882533 | 0 | 0.003745 | 0.206325 | 37,344 | 1,336 | 119 | 27.952096 | 0.722325 | 0.07123 | 0 | 0.623229 | 1 | 0 | 0.297667 | 0.020034 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003777 | 0.010387 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e01b6b9034cda747136952995fb835229e4216f6 | 6,992 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtCore/QRectF.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QRectF.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QRectF.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtCore
# from C:\Python27\lib\site-packages\PySide\QtCore.pyd
# by generator 1.147
# no doc
# imports
import Shiboken as __Shiboken
class QRectF(__Shiboken.Object):
# no doc
def adjust(self, *args, **kwargs): # real signature unknown
pass
def adjusted(self, *arg... | 27.419608 | 77 | 0.59897 | 821 | 6,992 | 4.857491 | 0.148599 | 0.244483 | 0.376128 | 0.270812 | 0.791625 | 0.769057 | 0.760281 | 0.760281 | 0.12337 | 0 | 0 | 0.00158 | 0.27603 | 6,992 | 254 | 78 | 27.527559 | 0.78625 | 0.374571 | 0 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.490196 | false | 0.490196 | 0.006536 | 0 | 0.503268 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
e06ffab4d00719ad580eae98aacea8fca919e45a | 150,626 | py | Python | Packs/Slack/Integrations/Slack/Slack_test.py | smokescreen-akshay/content | 780e0c57a3201e405d4416154c5d08a4fbb9384c | [
"MIT"
] | 1 | 2020-04-19T11:05:42.000Z | 2020-04-19T11:05:42.000Z | Packs/Slack/Integrations/Slack/Slack_test.py | smokescreen-akshay/content | 780e0c57a3201e405d4416154c5d08a4fbb9384c | [
"MIT"
] | null | null | null | Packs/Slack/Integrations/Slack/Slack_test.py | smokescreen-akshay/content | 780e0c57a3201e405d4416154c5d08a4fbb9384c | [
"MIT"
] | 1 | 2021-05-31T15:08:48.000Z | 2021-05-31T15:08:48.000Z | import demistomock as demisto
from CommonServerPython import *
from CommonServerUserPython import *
import slack
import pytest
import asyncio
import json as js
import datetime
from unittest.mock import mock_open
USERS = '''[{
"id": "U012A3CDE",
"team_id": "T012AB3C4",
"name": "spengler",
"deleted": fa... | 36.321678 | 120 | 0.655564 | 18,227 | 150,626 | 5.206287 | 0.034784 | 0.051815 | 0.078107 | 0.075368 | 0.916097 | 0.895274 | 0.872986 | 0.858939 | 0.845081 | 0.831561 | 0 | 0.036339 | 0.20764 | 150,626 | 4,146 | 121 | 36.330439 | 0.75876 | 0.015668 | 0 | 0.77549 | 0 | 0.004051 | 0.252909 | 0.061284 | 0.000675 | 0 | 0 | 0 | 0.175219 | 1 | 0.042201 | false | 0 | 0.038488 | 0.004051 | 0.119514 | 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 |
e07605b4cc31640fec7dfa9083dee1a0bc444000 | 553 | py | Python | data/gen/nguyen_nc_2018/20190613-fastas/test_one.py | decareano/mitolin | 1f333a800796dde8816fd55079e1e2d7fb452394 | [
"BSD-3-Clause"
] | null | null | null | data/gen/nguyen_nc_2018/20190613-fastas/test_one.py | decareano/mitolin | 1f333a800796dde8816fd55079e1e2d7fb452394 | [
"BSD-3-Clause"
] | null | null | null | data/gen/nguyen_nc_2018/20190613-fastas/test_one.py | decareano/mitolin | 1f333a800796dde8816fd55079e1e2d7fb452394 | [
"BSD-3-Clause"
] | null | null | null | import errno
mylines = []
with open('chrMchr1-1.fasta.eg', 'r') as myfile:
for a_line in myfile:
if a_line == '>2 chr1:1-X\n':
break
mylines.append(a_line.rstrip('\n'))
with open('chrMchr1_1_ONLY.fasta.eg', 'w') as writer:
writer.writelines("%s\n" % i for i in mylines)
mylines = []
with open('chrMchr1-2.... | 23.041667 | 53 | 0.652803 | 100 | 553 | 3.51 | 0.3 | 0.08547 | 0.182336 | 0.131054 | 0.826211 | 0.826211 | 0.826211 | 0.826211 | 0.826211 | 0.826211 | 0 | 0.030238 | 0.162749 | 553 | 24 | 54 | 23.041667 | 0.727862 | 0 | 0 | 0.705882 | 0 | 0 | 0.231047 | 0.086643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e077cd3f33ed8d081a201a38df3d48c5a1a8e018 | 1,836 | py | Python | output/models/ibm_data/valid/s3_4_6/s3_4_6v08_xsd/s3_4_6v08.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ibm_data/valid/s3_4_6/s3_4_6v08_xsd/s3_4_6v08.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ibm_data/valid/s3_4_6/s3_4_6v08_xsd/s3_4_6v08.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import Optional
__NAMESPACE__ = "http://xstest-tns/schema11_S3_4_6"
@dataclass
class CmplxBase:
class Meta:
name = "cmplxBase"
element1: Optional[int] = field(
default=None,
metadata={
"type": "Element",
"na... | 20.629213 | 55 | 0.464597 | 141 | 1,836 | 5.978723 | 0.234043 | 0.104389 | 0.151839 | 0.218268 | 0.811388 | 0.811388 | 0.811388 | 0.811388 | 0.730724 | 0.730724 | 0 | 0.016334 | 0.399782 | 1,836 | 88 | 56 | 20.863636 | 0.748639 | 0 | 0 | 0.670886 | 0 | 0 | 0.164488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025316 | 0 | 0.202532 | 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 |
0ec219392a69df7efcbb6e99a16f561956369858 | 47,977 | py | Python | tests/certification/required/test_cert_auth_dict.py | isunnapud/vantiv-sdk-for-python | 85ea6ba160c2436a305b9326cbb7d6c8f127c57c | [
"MIT"
] | 4 | 2017-11-16T16:02:06.000Z | 2021-05-04T14:40:08.000Z | tests/certification/required/test_cert_auth_dict.py | isunnapud/vantiv-sdk-for-python | 85ea6ba160c2436a305b9326cbb7d6c8f127c57c | [
"MIT"
] | 7 | 2017-08-23T15:04:38.000Z | 2020-04-07T20:20:15.000Z | tests/certification/required/test_cert_auth_dict.py | isunnapud/vantiv-sdk-for-python | 85ea6ba160c2436a305b9326cbb7d6c8f127c57c | [
"MIT"
] | 13 | 2017-10-17T22:07:57.000Z | 2022-03-29T17:33:42.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2017 Vantiv eCommerce
#
# 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, ... | 39.132953 | 108 | 0.496238 | 3,339 | 47,977 | 7.042228 | 0.091345 | 0.125202 | 0.049332 | 0.048482 | 0.935698 | 0.918772 | 0.883176 | 0.865442 | 0.852684 | 0.845156 | 0 | 0.047161 | 0.359151 | 47,977 | 1,225 | 109 | 39.164898 | 0.717622 | 0.036017 | 0 | 0.763772 | 0 | 0 | 0.295683 | 0.049948 | 0 | 0 | 0 | 0 | 0.172736 | 1 | 0.028011 | false | 0 | 0.006536 | 0 | 0.035481 | 0.001867 | 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 |
0ed88bb76c36f4039bce0f6206267809ecf5bbb5 | 53,738 | py | Python | musicdiff/visualization.py | gregchapman-dev/musicdiff | 077ea707d1efb1b378120e1411dd9299d7688933 | [
"MIT"
] | 7 | 2022-02-11T09:54:48.000Z | 2022-03-12T03:40:07.000Z | musicdiff/visualization.py | gregchapman-dev/musicdiff | 077ea707d1efb1b378120e1411dd9299d7688933 | [
"MIT"
] | 4 | 2022-01-26T11:10:19.000Z | 2022-03-29T22:27:34.000Z | musicdiff/visualization.py | gregchapman-dev/musicdiff | 077ea707d1efb1b378120e1411dd9299d7688933 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# Purpose: visualization is a diff visualization package for use by musicdiff.
# musicdiff is a package for comparing music scores using music21.
#
# Authors: Greg Chapman <gregc@mac.com>
# musicdi... | 53.738 | 114 | 0.579255 | 5,184 | 53,738 | 5.948881 | 0.059799 | 0.051882 | 0.119329 | 0.080742 | 0.896138 | 0.874218 | 0.856253 | 0.840267 | 0.817147 | 0.79834 | 0 | 0.033457 | 0.334233 | 53,738 | 999 | 115 | 53.791792 | 0.828521 | 0.117905 | 0 | 0.805096 | 0 | 0 | 0.050772 | 0.000491 | 0 | 0 | 0 | 0 | 0.109554 | 1 | 0.002548 | false | 0 | 0.006369 | 0 | 0.014013 | 0.002548 | 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 |
0ee28ce4c1f2b1d085757948df3bd879e23a3db1 | 7,917 | py | Python | backend/apps/accounts/tests.py | mortendaehli/django-react-boilerplate | 09687e5810acacf822602b7c7ae2892f27a0e7f2 | [
"MIT"
] | null | null | null | backend/apps/accounts/tests.py | mortendaehli/django-react-boilerplate | 09687e5810acacf822602b7c7ae2892f27a0e7f2 | [
"MIT"
] | null | null | null | backend/apps/accounts/tests.py | mortendaehli/django-react-boilerplate | 09687e5810acacf822602b7c7ae2892f27a0e7f2 | [
"MIT"
] | null | null | null | from django.core import mail
from rest_framework import status
from rest_framework.test import APITestCase
class PasswordResetTest(APITestCase):
register_url = "/api/v1/users/"
activate_url = "/api/v1/users/activation/"
login_url = "/api/v1/token/login/"
send_reset_password_email_url = "/api/v1/users/... | 45.24 | 92 | 0.679045 | 1,018 | 7,917 | 5.074656 | 0.105108 | 0.084204 | 0.076655 | 0.085172 | 0.818235 | 0.789586 | 0.774874 | 0.741967 | 0.710995 | 0.710995 | 0 | 0.01422 | 0.200581 | 7,917 | 175 | 93 | 45.24 | 0.802022 | 0.093596 | 0 | 0.710744 | 0 | 0 | 0.112975 | 0.020694 | 0 | 0 | 0 | 0 | 0.256198 | 1 | 0.057851 | false | 0.132231 | 0.024793 | 0 | 0.214876 | 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 |
0ee729eb61cb183ad66176da31d9c1eab47c4e27 | 925 | py | Python | jutil/modelfields.py | bachvtuan/django-jutil | b618d53e37b17dc19b9c43d86a7883a4dbf67634 | [
"MIT"
] | null | null | null | jutil/modelfields.py | bachvtuan/django-jutil | b618d53e37b17dc19b9c43d86a7883a4dbf67634 | [
"MIT"
] | null | null | null | jutil/modelfields.py | bachvtuan/django-jutil | b618d53e37b17dc19b9c43d86a7883a4dbf67634 | [
"MIT"
] | null | null | null | from typing import Any
from django.db import models
from django.utils.html import strip_tags
class SafeCharField(models.CharField):
"""
CharField which strips HTML tags from form data on save.
"""
_pyi_private_set_type: str # for mypy_django_plugin
_pyi_private_get_type: str # for mypy_django_p... | 30.833333 | 77 | 0.737297 | 136 | 925 | 4.698529 | 0.294118 | 0.065728 | 0.122066 | 0.178404 | 0.748044 | 0.748044 | 0.748044 | 0.748044 | 0.748044 | 0.748044 | 0 | 0 | 0.192432 | 925 | 29 | 78 | 31.896552 | 0.855422 | 0.272432 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.2 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
0ee80ca4bb178efea5d91eb26a5f47dcc3bb808e | 12,574 | py | Python | Cogs/Torment.py | skylarr1227/CorpBot.py | a6b4de2ff127320085411dd478e923c02d5e9f57 | [
"MIT"
] | null | null | null | Cogs/Torment.py | skylarr1227/CorpBot.py | a6b4de2ff127320085411dd478e923c02d5e9f57 | [
"MIT"
] | null | null | null | Cogs/Torment.py | skylarr1227/CorpBot.py | a6b4de2ff127320085411dd478e923c02d5e9f57 | [
"MIT"
] | null | null | null | import asyncio
import discord
import os
from datetime import datetime
from discord.ext import commands
from Cogs import DisplayName
def setup(bot):
# Add the bot and deps
settings = bot.get_cog("Settings")
bot.add_cog(Torment(bot, settings))
# This is the Torment module. It spams the target with ... | 29.24186 | 127 | 0.639733 | 1,639 | 12,574 | 4.898109 | 0.118365 | 0.037369 | 0.041106 | 0.052068 | 0.884903 | 0.878675 | 0.87855 | 0.877803 | 0.857872 | 0.839935 | 0 | 0.006747 | 0.257356 | 12,574 | 429 | 128 | 29.310023 | 0.852966 | 0.146016 | 0 | 0.878788 | 0 | 0.003367 | 0.097643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006734 | false | 0.03367 | 0.020202 | 0 | 0.164983 | 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 |
0ef673d7103944b3cc00e86bd1cfdd0ef20a1961 | 40,695 | py | Python | loose_seal/filtersQC_vgat_kynac_ptx.py | opavon/PAG_ephys_analysis | a9a27ad359afacb497b14ff5698421b2816f38a2 | [
"MIT"
] | null | null | null | loose_seal/filtersQC_vgat_kynac_ptx.py | opavon/PAG_ephys_analysis | a9a27ad359afacb497b14ff5698421b2816f38a2 | [
"MIT"
] | null | null | null | loose_seal/filtersQC_vgat_kynac_ptx.py | opavon/PAG_ephys_analysis | a9a27ad359afacb497b14ff5698421b2816f38a2 | [
"MIT"
] | null | null | null | # Defaults
peaks_QC, cut_spikes_QC, cut_spikes_holding_QC, cut_spikes_baselined_QC, parameters_QC = spikesQC(
file_name, peaks, peaks_properties,
cut_spikes, cut_spikes_holding, cut_spikes_baselined,
filter_by = ['p', 'wh', 'pw', 'ph', 'pb', 'lb', 'rb'],
QC_p_min = float('-inf'), QC_p_max = float('inf')... | 47.932862 | 98 | 0.662121 | 6,826 | 40,695 | 3.49751 | 0.025051 | 0.221496 | 0.256765 | 0.174793 | 0.964732 | 0.964732 | 0.937254 | 0.905294 | 0.896121 | 0.893357 | 0 | 0.033306 | 0.161863 | 40,695 | 849 | 99 | 47.932862 | 0.666647 | 0.119056 | 0 | 0.85119 | 0 | 0 | 0.084932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
0ef889d546ce9a9ccad81473172d2a7012521b5a | 80 | py | Python | Personal tuitorials at Home/next.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | Personal tuitorials at Home/next.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | Personal tuitorials at Home/next.py | thepros847/python_programiing | d177f79d0d1f21df434bf3f8663ae6469fcf8357 | [
"MIT"
] | null | null | null | i, j = ( 3, 9 )
print(i, j)
for i, j in[(1, 2), (3, 4), (5, 6)]:
print(i, j)
| 13.333333 | 36 | 0.3875 | 20 | 80 | 1.55 | 0.6 | 0.258065 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0.2875 | 80 | 5 | 37 | 16 | 0.403509 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 8 |
1603b7ca7f6a2bab039ff151da4ec268931fdc08 | 37,167 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/global_model_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | 1 | 2017-10-29T15:14:35.000Z | 2017-10-29T15:14:35.000Z | azure-mgmt-web/azure/mgmt/web/operations/global_model_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/global_model_operations.py | Berryliao84/Python-Azure | a96ed6e8bbf4290372980a2919b31110da90b164 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 44.246429 | 144 | 0.645626 | 3,803 | 37,167 | 6.114383 | 0.056797 | 0.045155 | 0.026835 | 0.040253 | 0.890122 | 0.885133 | 0.882553 | 0.85804 | 0.854126 | 0.847805 | 0 | 0.003057 | 0.260742 | 37,167 | 839 | 145 | 44.299166 | 0.843245 | 0.236123 | 0 | 0.828194 | 0 | 0 | 0.141908 | 0.086717 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046256 | false | 0 | 0.008811 | 0 | 0.129956 | 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 |
1637731316bb59d61e830fa45576be875d01019b | 8,270 | py | Python | tests/nxtransformations_test.py | scipp/scippnexus | 978b3b671355f55f94eb9d79f2ffe5cf793605ba | [
"BSD-3-Clause"
] | null | null | null | tests/nxtransformations_test.py | scipp/scippnexus | 978b3b671355f55f94eb9d79f2ffe5cf793605ba | [
"BSD-3-Clause"
] | null | null | null | tests/nxtransformations_test.py | scipp/scippnexus | 978b3b671355f55f94eb9d79f2ffe5cf793605ba | [
"BSD-3-Clause"
] | null | null | null | import h5py
import numpy as np
import scipp as sc
from scippnexus import NXroot, NX_class
from scippnexus import nxtransformations
import pytest
@pytest.fixture()
def nxroot(request):
"""Yield NXroot containing a single NXentry named 'entry'"""
with h5py.File('dummy.nxs', mode='w', driver="core", backing_stor... | 46.201117 | 87 | 0.655744 | 1,073 | 8,270 | 4.944082 | 0.115564 | 0.040716 | 0.026956 | 0.051272 | 0.854288 | 0.829406 | 0.829406 | 0.807917 | 0.789632 | 0.789632 | 0 | 0.023578 | 0.179444 | 8,270 | 178 | 88 | 46.460674 | 0.758179 | 0.017412 | 0 | 0.730769 | 0 | 0 | 0.127848 | 0.018475 | 0 | 0 | 0 | 0 | 0.070513 | 1 | 0.044872 | false | 0 | 0.038462 | 0 | 0.089744 | 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 |
16655def1e19f9bcebc129acd95c477417382d7f | 28,209 | py | Python | test/test_cco_buf.py | saosudo/mpi4py | 18f16da45eaaacfba4cc0293964e1a6548d4c6a6 | [
"BSD-2-Clause"
] | 3 | 2021-11-18T20:01:35.000Z | 2021-12-17T17:47:23.000Z | test/test_cco_buf.py | saosudo/mpi4py | 18f16da45eaaacfba4cc0293964e1a6548d4c6a6 | [
"BSD-2-Clause"
] | 1 | 2022-03-16T07:29:30.000Z | 2022-03-31T10:19:07.000Z | test/test_cco_buf.py | saosudo/mpi4py | 18f16da45eaaacfba4cc0293964e1a6548d4c6a6 | [
"BSD-2-Clause"
] | 3 | 2021-01-20T13:57:25.000Z | 2021-08-05T06:48:58.000Z | from mpi4py import MPI
import mpiunittest as unittest
import arrayimpl
from functools import reduce
prod = lambda sequence,start=1: reduce(lambda x, y: x*y, sequence, start)
def skip_op(typecode, op):
if typecode in 'FDG':
if op in (MPI.MAX, MPI.MIN):
return True
return False
def maxvalue... | 43.001524 | 76 | 0.443617 | 2,887 | 28,209 | 4.263942 | 0.059577 | 0.045491 | 0.076361 | 0.057027 | 0.853615 | 0.82567 | 0.779773 | 0.740617 | 0.71251 | 0.701462 | 0 | 0.010465 | 0.454607 | 28,209 | 655 | 77 | 43.067176 | 0.789665 | 0.00553 | 0 | 0.777409 | 0 | 0 | 0.007987 | 0 | 0 | 0 | 0 | 0 | 0.13289 | 1 | 0.05814 | false | 0 | 0.006645 | 0 | 0.096346 | 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 |
1677a12f3d735b64d9c8b1b667493a1042c64120 | 35,126 | py | Python | tests/st/func/debugger/test_restful_api.py | mindspore-ai/mindinsight | 8c57fdd62eb7f8653662be2208633386ac82e8d7 | [
"Apache-2.0"
] | 216 | 2020-03-28T02:11:56.000Z | 2022-03-31T06:20:09.000Z | tests/st/func/debugger/test_restful_api.py | mindspore-ai/mindinsight | 8c57fdd62eb7f8653662be2208633386ac82e8d7 | [
"Apache-2.0"
] | 13 | 2020-03-31T03:00:12.000Z | 2021-01-03T13:01:06.000Z | tests/st/func/debugger/test_restful_api.py | mindspore-ai/mindinsight | 8c57fdd62eb7f8653662be2208633386ac82e8d7 | [
"Apache-2.0"
] | 21 | 2020-03-28T02:41:06.000Z | 2021-11-24T12:20:25.000Z | # Copyright 2020-2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 46.586207 | 118 | 0.643341 | 4,244 | 35,126 | 4.983506 | 0.066211 | 0.069362 | 0.078298 | 0.068511 | 0.870213 | 0.83182 | 0.796501 | 0.787234 | 0.747376 | 0.731915 | 0 | 0.014629 | 0.233275 | 35,126 | 753 | 119 | 46.648074 | 0.770682 | 0.073279 | 0 | 0.743961 | 0 | 0 | 0.188981 | 0.071769 | 0 | 0 | 0 | 0 | 0.027375 | 1 | 0.05153 | false | 0 | 0.014493 | 0 | 0.072464 | 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 |
16959783b33886ea4ff18ef8af38797a771e28b5 | 3,511 | py | Python | tests/terraform/checks/resource/aws/test_RDSEnhancedMonitorEnabled.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | tests/terraform/checks/resource/aws/test_RDSEnhancedMonitorEnabled.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | tests/terraform/checks/resource/aws/test_RDSEnhancedMonitorEnabled.py | jamesholland-uk/checkov | d73fd4bd7096d48ab3434a92a177bcc55605460a | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | import unittest
import hcl2
from checkov.terraform.checks.resource.aws.RDSEnhancedMonitorEnabled import check
from checkov.common.models.enums import CheckResult
class TestRDSEnhancedMonitorEnabled(unittest.TestCase):
def test_failure1(self):
hcl_res = hcl2.loads("""
resource "aws_db_instance" "default"... | 32.813084 | 81 | 0.617488 | 381 | 3,511 | 5.396325 | 0.175853 | 0.087549 | 0.06323 | 0.097276 | 0.868191 | 0.868191 | 0.868191 | 0.868191 | 0.868191 | 0.868191 | 0 | 0.021926 | 0.272572 | 3,511 | 106 | 82 | 33.122642 | 0.783085 | 0 | 0 | 0.78125 | 0 | 0 | 0.585019 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 1 | 0.052083 | false | 0.072917 | 0.041667 | 0 | 0.104167 | 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 |
16ddc67b36536ffca2f69b35b29e9aa905e5bdd0 | 6,821 | py | Python | loldib/getratings/models/NA/na_jarvaniv/na_jarvaniv_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jarvaniv/na_jarvaniv_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jarvaniv/na_jarvaniv_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_JarvanIV_Jng_Aatrox(Ratings):
pass
class NA_JarvanIV_Jng_Ahri(Ratings):
pass
class NA_JarvanIV_Jng_Akali(Ratings):
pass
class NA_JarvanIV_Jng_Alistar(Ratings):
pass
class NA_JarvanIV_Jng_Amumu(Ratings):
pass
class NA_JarvanIV_Jng_Anivia(... | 16.357314 | 46 | 0.776133 | 972 | 6,821 | 5.020576 | 0.151235 | 0.197951 | 0.42418 | 0.509016 | 0.814139 | 0.814139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162879 | 6,821 | 416 | 47 | 16.396635 | 0.854641 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
bc3efdc61d000492e6f473f37bafb882cb6d04bf | 26 | py | Python | tools/Sikuli/ClickToVspomogatelnayaTab.sikuli/ClickToVspomogatelnayaTab.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 296 | 2018-05-27T08:03:14.000Z | 2022-03-19T08:36:11.000Z | tools/Sikuli/ClickToVspomogatelnayaTab.sikuli/ClickToVspomogatelnayaTab.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 1,562 | 2018-05-27T18:36:25.000Z | 2022-03-31T07:35:11.000Z | tools/Sikuli/ClickToVspomogatelnayaTab.sikuli/ClickToVspomogatelnayaTab.py | marmyshev/vanessa-automation | 9f87bd6df58b4c205104d3ae8e3643752d67eef7 | [
"BSD-3-Clause"
] | 299 | 2018-06-18T20:00:56.000Z | 2022-03-29T12:29:55.000Z | click("1538754420263.png") | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 26 | 1 | 26 | 26 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bc403a4b8b16c4c6b30ec82a01a4e757087f1661 | 6,269 | py | Python | loldib/getratings/models/NA/na_ashe/na_ashe_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_ashe/na_ashe_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_ashe/na_ashe_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Ashe_Top_Aatrox(Ratings):
pass
class NA_Ashe_Top_Ahri(Ratings):
pass
class NA_Ashe_Top_Akali(Ratings):
pass
class NA_Ashe_Top_Alistar(Ratings):
pass
class NA_Ashe_Top_Amumu(Ratings):
pass
class NA_Ashe_Top_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
bc51bb9cd16c2096246912547271549df21671c1 | 110 | py | Python | deeptensor/summary/__init__.py | cicicici/deeptensor | efcd7b9ca2d758cb2461b64fa5ba1268685e4dab | [
"MIT"
] | 1 | 2018-04-04T09:00:45.000Z | 2018-04-04T09:00:45.000Z | deeptensor/summary/__init__.py | cicicici/deeptensor | efcd7b9ca2d758cb2461b64fa5ba1268685e4dab | [
"MIT"
] | null | null | null | deeptensor/summary/__init__.py | cicicici/deeptensor | efcd7b9ca2d758cb2461b64fa5ba1268685e4dab | [
"MIT"
] | null | null | null | from .summary import patch_add_dt, patch_clear_dt, summary_model_patch, summary_model_fwd, summary_model_wass
| 55 | 109 | 0.881818 | 18 | 110 | 4.833333 | 0.555556 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 1 | 110 | 110 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bc67f4523a9accfcbeba8b4e99b2ef2984093c9b | 5,477 | py | Python | trax/layers/pooling.py | tomweingarten/trax | e5c99ed35692eba854283304c5f91fa4304e98a5 | [
"Apache-2.0"
] | 1 | 2021-04-05T09:55:37.000Z | 2021-04-05T09:55:37.000Z | trax/layers/pooling.py | e7dud7e/trax | 20ee40ff9c7c55ba8507a71967806a4438f587e7 | [
"Apache-2.0"
] | null | null | null | trax/layers/pooling.py | e7dud7e/trax | 20ee40ff9c7c55ba8507a71967806a4438f587e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2020 The Trax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 45.264463 | 79 | 0.691072 | 887 | 5,477 | 4.209696 | 0.198422 | 0.051419 | 0.017675 | 0.006427 | 0.80932 | 0.80932 | 0.80932 | 0.80932 | 0.785217 | 0.785217 | 0 | 0.010683 | 0.213803 | 5,477 | 120 | 80 | 45.641667 | 0.856479 | 0.818514 | 0 | 0.45 | 0 | 0 | 0.086852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.15 | 0.7 | 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 | 1 | 1 | 0 | 0 | 10 |
bc9c6b2c4e17b4f172efecd0eb16591b449aaa60 | 1,511 | py | Python | raiden_contracts/tests/unit/test_unit_internals.py | konradkonrad/raiden-contracts | 5726f744e8d7e80f7ca61401bd3f1084de57e30c | [
"MIT"
] | null | null | null | raiden_contracts/tests/unit/test_unit_internals.py | konradkonrad/raiden-contracts | 5726f744e8d7e80f7ca61401bd3f1084de57e30c | [
"MIT"
] | null | null | null | raiden_contracts/tests/unit/test_unit_internals.py | konradkonrad/raiden-contracts | 5726f744e8d7e80f7ca61401bd3f1084de57e30c | [
"MIT"
] | null | null | null | from itertools import chain, product
import pytest
from eth_tester.constants import UINT256_MIN, UINT256_MAX
from web3.exceptions import ValidationError
def test_min_uses_usigned(token_network_test_utils):
""" Min cannot be called with negative values. """
INVALID_VALUES = [-UINT256_MAX, -1]
VALID_VALUES... | 30.836735 | 85 | 0.717406 | 206 | 1,511 | 4.946602 | 0.203884 | 0.107949 | 0.125613 | 0.164868 | 0.802748 | 0.789009 | 0.726202 | 0.726202 | 0.726202 | 0.667321 | 0 | 0.043195 | 0.187955 | 1,511 | 48 | 86 | 31.479167 | 0.787286 | 0.027796 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 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 |
bc9dd3f75b3bf9d8c9a6bda2cb124e0ba223826b | 33,260 | py | Python | tests/_utils.py | bharatkumar9/AWSWrangler | 9b27d238f34d6245244c84d942e9bef002c399a2 | [
"Apache-2.0"
] | null | null | null | tests/_utils.py | bharatkumar9/AWSWrangler | 9b27d238f34d6245244c84d942e9bef002c399a2 | [
"Apache-2.0"
] | 19 | 2021-09-20T08:21:22.000Z | 2022-03-28T08:28:44.000Z | tests/_utils.py | bharatkumar9/AWSWrangler | 9b27d238f34d6245244c84d942e9bef002c399a2 | [
"Apache-2.0"
] | null | null | null | import random
import time
from datetime import datetime
from decimal import Decimal
from typing import Iterator
import boto3
import botocore.exceptions
import pandas as pd
import awswrangler as wr
from awswrangler._utils import try_it
ts = lambda x: datetime.strptime(x, "%Y-%m-%d %H:%M:%S.%f") # noqa
dt = lambda x:... | 55.618729 | 114 | 0.505592 | 4,065 | 33,260 | 4.093481 | 0.056089 | 1.089904 | 1.634135 | 2.177885 | 0.801382 | 0.771755 | 0.749399 | 0.711118 | 0.702704 | 0.702704 | 0 | 0.024273 | 0.206013 | 33,260 | 597 | 115 | 55.711893 | 0.605839 | 0.003969 | 0 | 0.630631 | 0 | 0.340541 | 0.65769 | 0.008333 | 0 | 0 | 0 | 0 | 0.104505 | 1 | 0.032432 | false | 0 | 0.018018 | 0.001802 | 0.075676 | 0.001802 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
bca32c52e9ddf6c661e9dc84e222b4be5d2bd44a | 41,061 | py | Python | infoblox_netmri/api/broker/v3_8_0/device_group_member_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/broker/v3_8_0/device_group_member_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/broker/v3_8_0/device_group_member_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..broker import Broker
class DeviceGroupMemberBroker(Broker):
controller = "device_group_members"
def show(self, **kwargs):
"""Shows the details for the specified device group member.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
... | 53.885827 | 583 | 0.621563 | 4,767 | 41,061 | 5.311936 | 0.058527 | 0.070295 | 0.045691 | 0.052366 | 0.935471 | 0.933497 | 0.906998 | 0.898152 | 0.882316 | 0.882079 | 0 | 0.005038 | 0.299092 | 41,061 | 761 | 584 | 53.956636 | 0.874809 | 0.82526 | 0 | 0 | 0 | 0 | 0.065657 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
4c158f326a9802ca733880681a122dfefd909449 | 71 | py | Python | configs/mmdet/detection/detection_tensorrt-fp16_dynamic-320x320-1344x1344.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 746 | 2021-12-27T10:50:28.000Z | 2022-03-31T13:34:14.000Z | configs/mmdet/detection/detection_tensorrt-fp16_dynamic-320x320-1344x1344.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 253 | 2021-12-28T05:59:13.000Z | 2022-03-31T18:22:25.000Z | configs/mmdet/detection/detection_tensorrt-fp16_dynamic-320x320-1344x1344.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 147 | 2021-12-27T10:50:33.000Z | 2022-03-30T10:44:20.000Z | _base_ = ['../_base_/base_tensorrt-fp16_dynamic-320x320-1344x1344.py']
| 35.5 | 70 | 0.774648 | 9 | 71 | 5.444444 | 0.777778 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.042254 | 71 | 1 | 71 | 71 | 0.485294 | 0 | 0 | 0 | 0 | 0 | 0.802817 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c746a6fe83e36ce5599e88bc1f315197cb35d98 | 2,249 | py | Python | Pyautogui_tutorial/mouseclicktarget.py | xfzlun/WinUIAutomation | 0f94388671cf0aacbc8499293b7dd31ddfa205fa | [
"MIT"
] | null | null | null | Pyautogui_tutorial/mouseclicktarget.py | xfzlun/WinUIAutomation | 0f94388671cf0aacbc8499293b7dd31ddfa205fa | [
"MIT"
] | null | null | null | Pyautogui_tutorial/mouseclicktarget.py | xfzlun/WinUIAutomation | 0f94388671cf0aacbc8499293b7dd31ddfa205fa | [
"MIT"
] | null | null | null | import pyautogui
import random
import pyperclip
#左键点击脚本
def left_click(path): #定义一个函数实现左键点击的功能
left_click1 = pyautogui.locateOnScreen(path) #把目标图片当作参数传递给path
print('left_click1::', left_click1)
if left_click1:
url_x, url_y = pyautogui.center(left_click1)
pyautogui.leftClick(url_x,... | 35.698413 | 67 | 0.580703 | 256 | 2,249 | 4.953125 | 0.234375 | 0.113565 | 0.165615 | 0.025237 | 0.966877 | 0.966877 | 0.966877 | 0.966877 | 0.966877 | 0.966877 | 0 | 0.027569 | 0.290351 | 2,249 | 63 | 68 | 35.698413 | 0.766917 | 0.047132 | 0 | 0.947368 | 0 | 0 | 0.154291 | 0.022179 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0 | 0.052632 | 0 | 0.192982 | 0.035088 | 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 |
d5cb63cc9a08efad1af881fed9f23f833f8ed7a6 | 35,972 | py | Python | PythonInterview/InterviewQuestions/Questions_01.py | xtawfnhdx/PythonInterview | 515675ffd86eb1ad3bfa631fd3c88fddcf411e98 | [
"Apache-2.0"
] | null | null | null | PythonInterview/InterviewQuestions/Questions_01.py | xtawfnhdx/PythonInterview | 515675ffd86eb1ad3bfa631fd3c88fddcf411e98 | [
"Apache-2.0"
] | null | null | null | PythonInterview/InterviewQuestions/Questions_01.py | xtawfnhdx/PythonInterview | 515675ffd86eb1ad3bfa631fd3c88fddcf411e98 | [
"Apache-2.0"
] | null | null | null | """
110道Python面试题
URl:
"""
# 01 一行代码实现1-100之和
# range的第二个参数,是开区间,也就是不包括第二个参数
print('第一题:', sum(range(1, 101)))
# 02 如何在一个函数内部修改全局变量
test02 = 10
def funtest02():
global test02
test02 = 5
print(test02)
print('第二题:', test02)
# 03 列出5个Python 标准库
print('第三题:', 'typing', 'datetime', 'time', 'range', 'abc', ... | 26.085569 | 114 | 0.6934 | 5,567 | 35,972 | 4.35926 | 0.142806 | 0.004862 | 0.005316 | 0.006099 | 0.94194 | 0.940292 | 0.938932 | 0.935759 | 0.934152 | 0.925663 | 0 | 0.117369 | 0.117008 | 35,972 | 1,378 | 115 | 26.104499 | 0.646664 | 0.195041 | 0 | 0.92439 | 0 | 0.021951 | 0.301414 | 0.131955 | 0 | 0 | 0 | 0 | 0.004878 | 1 | 0.019512 | false | 0 | 0.019512 | 0.002439 | 0.057317 | 0.57561 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
d5e69b53a0196ee4e57de6048b995cf1c1f2ccd3 | 53,806 | py | Python | tests/console/commands/test_show.py | ITProKyle/poetry | f462b7f8c3885585a20cf631d6542049518195c3 | [
"MIT"
] | null | null | null | tests/console/commands/test_show.py | ITProKyle/poetry | f462b7f8c3885585a20cf631d6542049518195c3 | [
"MIT"
] | null | null | null | tests/console/commands/test_show.py | ITProKyle/poetry | f462b7f8c3885585a20cf631d6542049518195c3 | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import TYPE_CHECKING
import pytest
from poetry.core.packages.dependency_group import DependencyGroup
from poetry.factory import Factory
from tests.helpers import get_package
if TYPE_CHECKING:
from cleo.testers.command_tester import CommandTester
from poetry.... | 30.433258 | 88 | 0.462569 | 4,525 | 53,806 | 5.349171 | 0.04442 | 0.009089 | 0.00942 | 0.063582 | 0.916009 | 0.904235 | 0.894898 | 0.879322 | 0.863623 | 0.848874 | 0 | 0.054783 | 0.389009 | 53,806 | 1,767 | 89 | 30.450481 | 0.681399 | 0.003327 | 0 | 0.729153 | 0 | 0.002668 | 0.240217 | 0.009812 | 0 | 0 | 0 | 0 | 0.018012 | 1 | 0.017345 | false | 0 | 0.007338 | 0.000667 | 0.02535 | 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 |
913621bc199f75d4f70a4d070101a85a67b41499 | 510,111 | py | Python | example/mimikatz32.py | n1nj4sec/pymemimporter | 80a31589daa4d9312a5bf4ad63ac3c07e323337b | [
"BSD-3-Clause"
] | 65 | 2017-03-16T18:22:48.000Z | 2022-03-03T11:41:16.000Z | example/mimikatz32.py | CuPidev/pymemimporter | 80a31589daa4d9312a5bf4ad63ac3c07e323337b | [
"BSD-3-Clause"
] | 3 | 2018-07-06T06:21:17.000Z | 2021-04-24T12:21:41.000Z | example/mimikatz32.py | CuPidev/pymemimporter | 80a31589daa4d9312a5bf4ad63ac3c07e323337b | [
"BSD-3-Clause"
] | 24 | 2017-03-23T18:40:40.000Z | 2022-03-25T15:15:42.000Z | import sys
import base64
import imp
import pymemimporter
pupymem_exec_pyd="""
TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAAAIK1M/TEo9bExKPWxMSj1sRTK5bFVKPWxFMqhsXEo9bEUyrmxLSj1sTEo8bBZKPWxFMr5sB... | 14,169.75 | 451,247 | 0.952314 | 16,994 | 510,111 | 28.583794 | 0.810463 | 0.000198 | 0.000086 | 0.000099 | 0.003611 | 0.003154 | 0.002207 | 0.001886 | 0.001223 | 0.000301 | 0 | 0.088311 | 0.00028 | 510,111 | 35 | 451,248 | 14,574.6 | 0.864205 | 0.000423 | 0 | 0 | 0 | 0.086957 | 0.998863 | 0.998792 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.347826 | 0 | 0.347826 | 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 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
913a7b4e6d725db42cd39b0406e3a0cb3a8c8eca | 85 | py | Python | fifty/commands/__init__.py | mittalgovind/fifty | 0d309084aea78ec1fe66ef3f03fb27d6c8d1032b | [
"Apache-2.0"
] | 12 | 2019-08-18T11:04:31.000Z | 2022-03-16T07:01:01.000Z | fifty/commands/__init__.py | mittalgovind/fifty | 0d309084aea78ec1fe66ef3f03fb27d6c8d1032b | [
"Apache-2.0"
] | 7 | 2019-10-23T19:07:38.000Z | 2022-02-10T03:54:06.000Z | fifty/commands/__init__.py | mittalgovind/fifty | 0d309084aea78ec1fe66ef3f03fb27d6c8d1032b | [
"Apache-2.0"
] | 4 | 2019-12-17T02:27:29.000Z | 2020-10-02T09:46:16.000Z | # __init__.py
from fifty.commands.train import *
from fifty.commands.whatis import *
| 21.25 | 35 | 0.788235 | 12 | 85 | 5.25 | 0.666667 | 0.285714 | 0.539683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 3 | 36 | 28.333333 | 0.84 | 0.129412 | 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 |
913f2ee7f2c789befb218e20b685d9af380228a7 | 36,275 | py | Python | sdk/python/pulumi_azure/appplatform/outputs.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appplatform/outputs.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appplatform/outputs.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"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
from .. import _utilitie... | 43.652226 | 266 | 0.674018 | 4,171 | 36,275 | 5.649245 | 0.058979 | 0.032678 | 0.032551 | 0.047575 | 0.798964 | 0.782243 | 0.771718 | 0.757671 | 0.751942 | 0.737088 | 0 | 0.001987 | 0.237023 | 36,275 | 830 | 267 | 43.704819 | 0.84937 | 0.368436 | 0 | 0.756522 | 1 | 0 | 0.193036 | 0.129442 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180435 | false | 0.034783 | 0.013043 | 0.019565 | 0.373913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9140f8abe478606c3264e07436e8188078e2a20a | 16,941 | gyp | Python | src/native/third_party/isa-l.gyp | paulxuzhang/noobaa-core | a462178b8a86f3373c44e877684f73c52573d6e6 | [
"Apache-2.0"
] | null | null | null | src/native/third_party/isa-l.gyp | paulxuzhang/noobaa-core | a462178b8a86f3373c44e877684f73c52573d6e6 | [
"Apache-2.0"
] | null | null | null | src/native/third_party/isa-l.gyp | paulxuzhang/noobaa-core | a462178b8a86f3373c44e877684f73c52573d6e6 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2016 NooBaa
{
'includes': ['common_third_party.gypi'],
'targets': [
{
'target_name': 'isa-l-crc',
'type': 'static_library',
'includes': ['../asm.gypi'],
'include_dirs': [
'isa-l/include/',
'isa-l/crc/',
... | 45.786486 | 92 | 0.551502 | 2,258 | 16,941 | 3.713906 | 0.061116 | 0.111615 | 0.158598 | 0.097663 | 0.933938 | 0.887789 | 0.842476 | 0.796923 | 0.5855 | 0.411281 | 0 | 0.063208 | 0.317337 | 16,941 | 369 | 93 | 45.910569 | 0.661911 | 0.027035 | 0 | 0.241791 | 0 | 0 | 0.600935 | 0.508502 | 0 | 0 | 0 | 0.00271 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 7 |
e6a55d3d3e74c167b80e5bffcdbe5aacee03d271 | 19,482 | py | Python | tests/trestle/core/commands/author/headers_test.py | guyzyl/compliance-trestle | b6fa6f5d8bfdb52e0a82fc0accd63c11d04d9afc | [
"Apache-2.0"
] | 1 | 2022-01-07T01:11:03.000Z | 2022-01-07T01:11:03.000Z | tests/trestle/core/commands/author/headers_test.py | guyzyl/compliance-trestle | b6fa6f5d8bfdb52e0a82fc0accd63c11d04d9afc | [
"Apache-2.0"
] | null | null | null | tests/trestle/core/commands/author/headers_test.py | guyzyl/compliance-trestle | b6fa6f5d8bfdb52e0a82fc0accd63c11d04d9afc | [
"Apache-2.0"
] | null | null | null | # -*- mode:python; coding:utf-8 -*-
# Copyright (c) 2020 IBM Corp. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
... | 34.789286 | 118 | 0.631044 | 2,274 | 19,482 | 5.113896 | 0.105541 | 0.092785 | 0.083326 | 0.117637 | 0.819503 | 0.801531 | 0.792845 | 0.776421 | 0.770832 | 0.761888 | 0 | 0.011165 | 0.264449 | 19,482 | 559 | 119 | 34.851521 | 0.800349 | 0.069859 | 0 | 0.723849 | 0 | 0 | 0.218314 | 0.121815 | 0 | 0 | 0 | 0 | 0.050209 | 1 | 0.016736 | false | 0.043933 | 0.018828 | 0 | 0.043933 | 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 |
e6c3b1056a6657a676b321a3372d5d879f27d637 | 2,622 | py | Python | get_and_parse_reddit.py | mjperrone/personal-lexicon | f35f2a5bb63925066addedd301123f135dda0a3f | [
"MIT"
] | null | null | null | get_and_parse_reddit.py | mjperrone/personal-lexicon | f35f2a5bb63925066addedd301123f135dda0a3f | [
"MIT"
] | null | null | null | get_and_parse_reddit.py | mjperrone/personal-lexicon | f35f2a5bb63925066addedd301123f135dda0a3f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# usage: `python get_and_parse_reddit.py reddit_user_name`
import time
import urllib2
import json
import sys
import HTMLParser
# returns (list of comments, list of comment ids)
def get_comments(url):
time.sleep(2)
request = urllib2.Request(url)
response = None
whi... | 30.137931 | 157 | 0.57132 | 326 | 2,622 | 4.493865 | 0.263804 | 0.045051 | 0.016382 | 0.035495 | 0.768601 | 0.722184 | 0.722184 | 0.722184 | 0.722184 | 0.722184 | 0 | 0.01694 | 0.30206 | 2,622 | 86 | 158 | 30.488372 | 0.783607 | 0.061404 | 0 | 0.724638 | 0 | 0 | 0.095781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.072464 | null | null | 0.028986 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6c5c37d7ea1e4f589c12ad97131c573bffffc4d | 4,306 | py | Python | diagonal_term.py | mertyigit/RNAopt | 788711ed4d49728b76adc7989469748118722ceb | [
"MIT"
] | null | null | null | diagonal_term.py | mertyigit/RNAopt | 788711ed4d49728b76adc7989469748118722ceb | [
"MIT"
] | null | null | null | diagonal_term.py | mertyigit/RNAopt | 788711ed4d49728b76adc7989469748118722ceb | [
"MIT"
] | null | null | null | import datetime
def diagonalterm(first, second, third, forth, fold, value, ff_file):
"""Assigns values to the diagonal terms part of the force field file."""
c=1
n=0
position=0
try:
file = open(ff_file,"r+")
while c==1 and n<5:
position = file.read().find(first.ljust(9)+... | 34.725806 | 124 | 0.43451 | 452 | 4,306 | 4.084071 | 0.174779 | 0.045504 | 0.086674 | 0.068256 | 0.874865 | 0.836403 | 0.753521 | 0.716685 | 0.716685 | 0.716685 | 0 | 0.022784 | 0.439387 | 4,306 | 124 | 125 | 34.725806 | 0.741922 | 0.071064 | 0 | 0.811111 | 0 | 0 | 0.092346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0.022222 | 0.011111 | 0 | 0.033333 | 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 |
e6d02c3e00cd8b8e118020b2ed9206cf107180ae | 2,416 | py | Python | tests/test.py | yulijia/VarBen | a41491d6022822be8be3c5a0dd7e6e06987374cd | [
"MIT"
] | null | null | null | tests/test.py | yulijia/VarBen | a41491d6022822be8be3c5a0dd7e6e06987374cd | [
"MIT"
] | null | null | null | tests/test.py | yulijia/VarBen | a41491d6022822be8be3c5a0dd7e6e06987374cd | [
"MIT"
] | null | null | null | flowOrder="TACGTACGTCTGAGCATCGATCGATGTACAGC"
barcode="CTAAGGTAAC"
libKey="TCAG"
sequence = "GGTCTCTCATGGCACTGTACTCTTCTTGTCCAGCTGTATCCAGTATGTCCAACAAACAGGTTTCACCATCTATAACCACTTGTTTTCTGTAGGGGCTGAACCGCACGACTCCATCCTTGTTGGGCAGGCCCAGGCGGTGCAGTGAGTCGGCCCGCAGCAGCAACAGGAAGTCAAAGGCCTGTCAGGAAGAGGATGGTGAAAGCCAGAGCCAAGCTCGTGCAGGCCCAG... | 161.066667 | 1,724 | 0.718543 | 547 | 2,416 | 3.173675 | 0.332724 | 0.003456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.477656 | 0.018212 | 2,416 | 14 | 1,725 | 172.571429 | 0.254216 | 0 | 0 | 0 | 0 | 0.083333 | 0.843957 | 0.836921 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6f5d07459f634ca50e45b9dbe75b26cd2146efb | 43,714 | py | Python | kmip/tests/unit/core/messages/payloads/test_get_attributes.py | smira/PyKMIP | 54f3688a14bcc442b270765e21732b77d18b2a72 | [
"Apache-2.0"
] | null | null | null | kmip/tests/unit/core/messages/payloads/test_get_attributes.py | smira/PyKMIP | 54f3688a14bcc442b270765e21732b77d18b2a72 | [
"Apache-2.0"
] | null | null | null | kmip/tests/unit/core/messages/payloads/test_get_attributes.py | smira/PyKMIP | 54f3688a14bcc442b270765e21732b77d18b2a72 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the... | 34.859649 | 79 | 0.610765 | 4,744 | 43,714 | 5.507799 | 0.058811 | 0.041104 | 0.0372 | 0.01883 | 0.908033 | 0.892227 | 0.883654 | 0.857783 | 0.848865 | 0.827548 | 0 | 0.063548 | 0.297685 | 43,714 | 1,253 | 80 | 34.88747 | 0.787531 | 0.165325 | 0 | 0.719484 | 0 | 0.070423 | 0.169068 | 0.140311 | 0 | 0 | 0 | 0 | 0.163146 | 1 | 0.075117 | false | 0 | 0.010563 | 0 | 0.088028 | 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 |
fc45ebb698383b9dee1e354e8a347bdb6581be12 | 13,377 | py | Python | sip/sip.py | obnauticus/tandbergProxy | 543580ec6d14422a030014437dfe38093851e645 | [
"Apache-2.0"
] | null | null | null | sip/sip.py | obnauticus/tandbergProxy | 543580ec6d14422a030014437dfe38093851e645 | [
"Apache-2.0"
] | null | null | null | sip/sip.py | obnauticus/tandbergProxy | 543580ec6d14422a030014437dfe38093851e645 | [
"Apache-2.0"
] | null | null | null | import transport
import uuid
def response_sdp(params):
text = '''v=0
o=qumu 166 2 IN IP4 {local_ip}
s=-
c=IN IP4 {local_ip}
t=0 0
m=audio 65066 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 53146 RTP/AVP 126
a=label:11
a=rtpmap:126 H264/90000
a=f... | 33.695214 | 160 | 0.525604 | 1,738 | 13,377 | 3.940161 | 0.095512 | 0.023657 | 0.03271 | 0.014603 | 0.853096 | 0.820678 | 0.808411 | 0.801694 | 0.79045 | 0.751022 | 0 | 0.065274 | 0.309412 | 13,377 | 396 | 161 | 33.780303 | 0.676012 | 0 | 0 | 0.770115 | 0 | 0.017241 | 0.351206 | 0.089053 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063218 | false | 0 | 0.005747 | 0.005747 | 0.12931 | 0.043103 | 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 |
5d7ebfd5a70ef35bf7c5864fd71abe8ac4baf303 | 34,977 | py | Python | Sublime Text 3/Backup/20210122193107/backrefs/st3/backrefs/uniprops/unidata/wordbreak.py | anekeallen/Sublime-Text-3 | 8502b9089ca4223f8ba7ff168626a0dbe67713cb | [
"MIT"
] | 182 | 2017-03-05T07:43:13.000Z | 2022-03-15T13:09:07.000Z | Sublime Text 3/Backup/20210122193107/backrefs/st3/backrefs/uniprops/unidata/wordbreak.py | anekeallen/Sublime-Text-3 | 8502b9089ca4223f8ba7ff168626a0dbe67713cb | [
"MIT"
] | 3 | 2021-05-10T18:59:14.000Z | 2021-09-02T01:50:15.000Z | Sublime Text 3/Backup/20210122193107/backrefs/st3/backrefs/uniprops/unidata/wordbreak.py | anekeallen/Sublime-Text-3 | 8502b9089ca4223f8ba7ff168626a0dbe67713cb | [
"MIT"
] | 16 | 2017-03-07T11:01:27.000Z | 2022-01-08T09:21:01.000Z | """Unicode Properties from Unicode version 6.1.0 (autogen)."""
from __future__ import unicode_literals
unicode_word_break = {
"^aletter": "\x00-\x40\x5c\x5b-\x60\x7b-\xa9\xab-\xb4\xb6-\xb9\xbb-\xbf\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u036f\u0375\u0378-\u0379\u037e-\u0385\u0387\u038b\u038d\u... | 582.95 | 7,703 | 0.787089 | 4,829 | 34,977 | 5.69911 | 0.471733 | 0.001308 | 0.001308 | 0.001744 | 0.585807 | 0.553904 | 0.522219 | 0.475491 | 0.45587 | 0.436249 | 0 | 0.440641 | 0.009492 | 34,977 | 59 | 7,704 | 592.830508 | 0.353731 | 0.001601 | 0 | 0.070175 | 1 | 0.368421 | 0.979608 | 0.964428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.017544 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5d97bba3b632ead38012a5268bf34987e6dc7474 | 8,182 | py | Python | tests/widgets/test_secret_widget.py | hiroaki-yamamoto/WTF-OTP | e7c87839cbe8683dd1f691912156ac348dc98e67 | [
"Unlicense",
"MIT"
] | 1 | 2019-06-27T06:47:25.000Z | 2019-06-27T06:47:25.000Z | tests/widgets/test_secret_widget.py | hiroaki-yamamoto/WTF-OTP | e7c87839cbe8683dd1f691912156ac348dc98e67 | [
"Unlicense",
"MIT"
] | 2 | 2021-08-25T05:11:22.000Z | 2022-01-29T02:51:57.000Z | tests/widgets/test_secret_widget.py | hiroaki-yamamoto/WTF-OTP | e7c87839cbe8683dd1f691912156ac348dc98e67 | [
"Unlicense",
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
"""OTP Secret Ket Widget Tests."""
from unittest import TestCase
try:
from unittest.mock import MagicMock
except ImportError:
from mock import MagicMock
from wtf_otp import OTPSecretKeyWidget
class OTPTestField(object):
"""OTPTestField."""
def __init__(self):
... | 33.670782 | 77 | 0.548888 | 857 | 8,182 | 5.084014 | 0.108518 | 0.130135 | 0.061969 | 0.070232 | 0.864127 | 0.858159 | 0.858159 | 0.858159 | 0.858159 | 0.858159 | 0 | 0.000178 | 0.313615 | 8,182 | 242 | 78 | 33.809917 | 0.775641 | 0.086165 | 0 | 0.747368 | 0 | 0 | 0.100678 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 1 | 0.068421 | false | 0 | 0.026316 | 0 | 0.131579 | 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 |
5d99c0a860c86e05e6129d7be5f69e6f4fe9d39b | 9,849 | py | Python | src/data/country_dict.py | magnublo/msc-darkweb-scraping | 7cfb20d9013534d2ad71c388ee59f70b8450773c | [
"MIT"
] | null | null | null | src/data/country_dict.py | magnublo/msc-darkweb-scraping | 7cfb20d9013534d2ad71c388ee59f70b8450773c | [
"MIT"
] | null | null | null | src/data/country_dict.py | magnublo/msc-darkweb-scraping | 7cfb20d9013534d2ad71c388ee59f70b8450773c | [
"MIT"
] | null | null | null | from typing import Dict
COUNTRY_DICT: Dict[str, str] = {'Cape Verde': 'Republic of Cabo Verde', 'Cape Verde (c)': 'Republic of Cabo Verde',
'Cape Verde (C)': 'Republic of Cabo Verde', 'Cape Verde(c)': 'Republic of Cabo Verde',
'Cape Verde(C)': 'Republic o... | 93.8 | 120 | 0.443091 | 927 | 9,849 | 4.70658 | 0.026969 | 0.357552 | 0.30942 | 0.220032 | 0.976851 | 0.974559 | 0.966766 | 0.958744 | 0.958744 | 0.958744 | 0 | 0 | 0.415372 | 9,849 | 104 | 121 | 94.701923 | 0.757728 | 0 | 0 | 0.543689 | 0 | 0 | 0.52716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.009709 | 0 | 0.009709 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5da1a520c4cec4708b1dd55d74a9036b36aa98a1 | 130 | py | Python | imagenet/regression-pruning/models/__init__.py | TanayNarshana/rethinking-network-pruning | 85360333c909d539880ff59101c7b5f9609789f7 | [
"MIT"
] | null | null | null | imagenet/regression-pruning/models/__init__.py | TanayNarshana/rethinking-network-pruning | 85360333c909d539880ff59101c7b5f9609789f7 | [
"MIT"
] | null | null | null | imagenet/regression-pruning/models/__init__.py | TanayNarshana/rethinking-network-pruning | 85360333c909d539880ff59101c7b5f9609789f7 | [
"MIT"
] | null | null | null | from models.vgg_5x import vgg_5x, vgg_official
from models.resnet_2x import resnet_2x
from models.resnet import resnet50_official
| 32.5 | 46 | 0.869231 | 22 | 130 | 4.863636 | 0.409091 | 0.280374 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.1 | 130 | 3 | 47 | 43.333333 | 0.863248 | 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 |
5dc867064feb8f707012f2f5d8e528c497e47ba7 | 6,602 | py | Python | code/pretty_print.py | gakgsr/NLP-2018 | 20a89bb4194676ed1c0186bfcf72db026124446f | [
"Apache-2.0"
] | null | null | null | code/pretty_print.py | gakgsr/NLP-2018 | 20a89bb4194676ed1c0186bfcf72db026124446f | [
"Apache-2.0"
] | null | null | null | code/pretty_print.py | gakgsr/NLP-2018 | 20a89bb4194676ed1c0186bfcf72db026124446f | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Stanford University
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 42.320513 | 241 | 0.698273 | 944 | 6,602 | 4.725636 | 0.192797 | 0.093253 | 0.0269 | 0.035866 | 0.803631 | 0.791078 | 0.791078 | 0.791078 | 0.791078 | 0.766196 | 0 | 0.010937 | 0.196759 | 6,602 | 156 | 242 | 42.320513 | 0.830285 | 0.269767 | 0 | 0.769231 | 0 | 0.030769 | 0.179209 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | null | null | 0 | 0.030769 | null | null | 0.353846 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5dfde5c70819d326703278ba41ab8e7097696174 | 3,061 | py | Python | varmixviewer/resources.py | FlorianTimm/VarMixViewer | 56ab8e4c9320849f1e5c22eca789302d0f9f4fd4 | [
"MIT"
] | null | null | null | varmixviewer/resources.py | FlorianTimm/VarMixViewer | 56ab8e4c9320849f1e5c22eca789302d0f9f4fd4 | [
"MIT"
] | null | null | null | varmixviewer/resources.py | FlorianTimm/VarMixViewer | 56ab8e4c9320849f1e5c22eca789302d0f9f4fd4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.10.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x01\x43\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x... | 36.011765 | 103 | 0.724926 | 655 | 3,061 | 3.329771 | 0.345038 | 0.297111 | 0.301238 | 0.225585 | 0.270977 | 0.270977 | 0.240257 | 0.240257 | 0.240257 | 0.240257 | 0 | 0.31317 | 0.054884 | 3,061 | 84 | 104 | 36.440476 | 0.440719 | 0.049657 | 0 | 0.161765 | 0 | 0.455882 | 0.001378 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.014706 | 0 | 0.044118 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d2015c61f1e185071045e3c490b0b48047f5f0c | 41,428 | py | Python | test/core_tests/test_store.py | cgroeneveld/amuse | 9684fd22ce8293b837d2c78f56948e3ec3d04032 | [
"Apache-2.0"
] | null | null | null | test/core_tests/test_store.py | cgroeneveld/amuse | 9684fd22ce8293b837d2c78f56948e3ec3d04032 | [
"Apache-2.0"
] | null | null | null | test/core_tests/test_store.py | cgroeneveld/amuse | 9684fd22ce8293b837d2c78f56948e3ec3d04032 | [
"Apache-2.0"
] | null | null | null | from amuse.test import amusetest
import os
import numpy
import time
from amuse import io
from amuse.io import store
from amuse.io import store_v1
from amuse.io import store_v2
from amuse.units import units
from amuse.units import nbody_system
from amuse.datamodel import Particles
from amuse.datamodel import Particles... | 38.826617 | 152 | 0.618567 | 5,634 | 41,428 | 4.339546 | 0.040824 | 0.086711 | 0.064134 | 0.053622 | 0.861753 | 0.838807 | 0.815534 | 0.784531 | 0.770256 | 0.751442 | 0 | 0.038497 | 0.248841 | 41,428 | 1,066 | 153 | 38.863039 | 0.747164 | 0.009824 | 0 | 0.622222 | 0 | 0 | 0.019409 | 0 | 0 | 0 | 0 | 0 | 0.184314 | 0 | null | null | 0 | 0.019608 | null | null | 0.002614 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d2c9c82731db038643ae97346479905b7b053f7 | 188 | py | Python | Business/comingsoon/urls.py | Kshashank9/Business-Topology-Website | 17d0c5ccabb17c52b6162e147640275de32e5169 | [
"MIT"
] | null | null | null | Business/comingsoon/urls.py | Kshashank9/Business-Topology-Website | 17d0c5ccabb17c52b6162e147640275de32e5169 | [
"MIT"
] | null | null | null | Business/comingsoon/urls.py | Kshashank9/Business-Topology-Website | 17d0c5ccabb17c52b6162e147640275de32e5169 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.urls import path
from . import views
from django.urls import include
urlpatterns = [
path('',views.coming_soon,name="coming_soon"),
] | 20.888889 | 50 | 0.744681 | 26 | 188 | 5.307692 | 0.5 | 0.217391 | 0.202899 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 188 | 9 | 51 | 20.888889 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0.058201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
539367593e9c788d0a45dffd0907283085ccdbb9 | 444 | py | Python | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/augmentedAssignment/data/out_2.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 8 | 2021-01-19T21:15:54.000Z | 2022-02-23T19:16:25.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/augmentedAssignment/data/out_2.py | JetBrains-Research/ast-transformations | 0ab408af3275b520cc87a473f418c4b4dfcb0284 | [
"MIT"
] | 4 | 2020-11-17T14:28:25.000Z | 2022-02-24T07:54:28.000Z | ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/transformations/augmentedAssignment/data/out_2.py | nbirillo/ast-transformations | 717706765a2da29087a0de768fc851698886dd65 | [
"MIT"
] | 1 | 2022-02-23T19:16:30.000Z | 2022-02-23T19:16:30.000Z | x = 0
x = x + 10
x = x - 10
x = x * 10
x = x @ 10
x = x / 10
x = x // 10
x = x % 10
x = x ** 10
x = x >> 10
x = x << 10
x = x & 10
x = x ^ 10
x = x | 10
x = x + (10 + 20 * 3)
x = x - (10 + 20 * 3)
x = x * (10 + 20 * 3)
x = x @ (10 + 20 * 3)
x = x / (10 + 20 * 3)
x = x // (10 + 20 * 3)
x = x % (10 + 20 * 3)
x = x ** (1... | 15.310345 | 22 | 0.326577 | 106 | 444 | 1.367925 | 0.04717 | 0.358621 | 0.717241 | 0.448276 | 0.986207 | 0.986207 | 0.986207 | 0.986207 | 0.986207 | 0.986207 | 0 | 0.356589 | 0.418919 | 444 | 28 | 23 | 15.857143 | 0.205426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
539ac0342cd5b592bb46d835a3bdc27b9640de23 | 93 | py | Python | src/hieroglyph/tests/__init__.py | pydanny/hieroglyph | a4efd5e866e60b24cc18cbd9ea714e64e77342fc | [
"BSD-3-Clause"
] | 1 | 2018-07-24T12:06:20.000Z | 2018-07-24T12:06:20.000Z | src/hieroglyph/tests/__init__.py | pydanny/hieroglyph | a4efd5e866e60b24cc18cbd9ea714e64e77342fc | [
"BSD-3-Clause"
] | null | null | null | src/hieroglyph/tests/__init__.py | pydanny/hieroglyph | a4efd5e866e60b24cc18cbd9ea714e64e77342fc | [
"BSD-3-Clause"
] | 1 | 2018-07-24T12:05:59.000Z | 2018-07-24T12:05:59.000Z | import unittest
def additional_tests():
return unittest.defaultTestLoader.discover('.')
| 18.6 | 51 | 0.774194 | 9 | 93 | 7.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 4 | 52 | 23.25 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
539ffa3119d0874ad8461b43aac3a77dfa2f4558 | 52,340 | py | Python | kinow_client/apis/features_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/features_api.py | kinow-io/kinow-python-sdk | 4c1699a3c78048b84287bd049a669651a5b4e2d5 | [
"Apache-2.0"
] | null | null | null | kinow_client/apis/features_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... | 44.131535 | 332 | 0.561674 | 5,274 | 52,340 | 5.316648 | 0.034319 | 0.062767 | 0.021969 | 0.028245 | 0.972682 | 0.965086 | 0.951462 | 0.943153 | 0.934023 | 0.926961 | 0 | 0.001237 | 0.351337 | 52,340 | 1,185 | 333 | 44.168776 | 0.824659 | 0.325506 | 0 | 0.811765 | 1 | 0 | 0.181827 | 0.051122 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038655 | false | 0 | 0.011765 | 0 | 0.107563 | 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 |
53b0e2c4a1130f04b748da190599bff303b19f11 | 36,888 | py | Python | Application/datasources/datapod_google/db_calls.py | GraphicalDot/datapod-backend-layer | ab38a5b0e969cd0d762e9d7720ab89174c333c37 | [
"Apache-2.0"
] | null | null | null | Application/datasources/datapod_google/db_calls.py | GraphicalDot/datapod-backend-layer | ab38a5b0e969cd0d762e9d7720ab89174c333c37 | [
"Apache-2.0"
] | null | null | null | Application/datasources/datapod_google/db_calls.py | GraphicalDot/datapod-backend-layer | ab38a5b0e969cd0d762e9d7720ab89174c333c37 | [
"Apache-2.0"
] | null | null | null | import aiomisc
#@retry(stop=stop_after_attempt(2))
import json
import datetime
from peewee import IntegrityError, OperationalError
from errors_module.errors import APIBadRequest, DuplicateEntryError
from loguru import logger
@aiomisc.threaded
def update_status(status_table, datasource_name, username, status, checksum=... | 35.232092 | 129 | 0.53516 | 3,766 | 36,888 | 5.008497 | 0.051248 | 0.129785 | 0.048669 | 0.051956 | 0.867936 | 0.850175 | 0.821493 | 0.78067 | 0.753844 | 0.739582 | 0 | 0.001468 | 0.353502 | 36,888 | 1,046 | 130 | 35.265774 | 0.789458 | 0.097349 | 0 | 0.77761 | 0 | 0 | 0.096277 | 0.004855 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037821 | false | 0 | 0.009077 | 0.001513 | 0.089259 | 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 |
53e1fe0c736796263e39c1dc1f76a5cc642388ef | 6,349 | py | Python | baxter_ras_interface/scripts/tablero.py | gabrieldiaz94/RAS-Baxter-Interface | 7766d012617bffd09e42b6b76ea105fb3fe24481 | [
"Apache-2.0"
] | 1 | 2022-03-06T15:47:33.000Z | 2022-03-06T15:47:33.000Z | baxter_ras_interface/scripts/tablero.py | willandru/RAS-Baxter-Interface | 7766d012617bffd09e42b6b76ea105fb3fe24481 | [
"Apache-2.0"
] | null | null | null | baxter_ras_interface/scripts/tablero.py | willandru/RAS-Baxter-Interface | 7766d012617bffd09e42b6b76ea105fb3fe24481 | [
"Apache-2.0"
] | 1 | 2022-03-06T15:46:37.000Z | 2022-03-06T15:46:37.000Z | #!/usr/bin/env python
import sys
import yaml
import operator
import rospy
sys.path.append('/home/z420/ros_ws/src/jp_baxtertry1/scripts')
import Baxtermovimiento2
def yaml_loader(filepath):
"""Loads a yaml file"""
with open(filepath, "r") as stream:
data =yaml.load(stream)
return data
def traer_ficha(t,i,j,m,n,ca... | 30.090047 | 163 | 0.618208 | 1,104 | 6,349 | 3.480072 | 0.101449 | 0.028631 | 0.058303 | 0.028631 | 0.928423 | 0.922957 | 0.922957 | 0.919833 | 0.919833 | 0.919833 | 0 | 0.037713 | 0.223185 | 6,349 | 210 | 164 | 30.233333 | 0.741281 | 0.119704 | 0 | 0.832487 | 0 | 0 | 0.051702 | 0.007746 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.060914 | 0.025381 | null | null | 0.055838 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
53f7c6951cfd6e3ea2f2fd33c7df40481b372442 | 30,281 | py | Python | tests/test_sklearn_glm_regressor_converter.py | elcolie/sklearn-onnx | 004fa39cb995ada0cde232ae8e30341018f450ac | [
"MIT"
] | null | null | null | tests/test_sklearn_glm_regressor_converter.py | elcolie/sklearn-onnx | 004fa39cb995ada0cde232ae8e30341018f450ac | [
"MIT"
] | null | null | null | tests/test_sklearn_glm_regressor_converter.py | elcolie/sklearn-onnx | 004fa39cb995ada0cde232ae8e30341018f450ac | [
"MIT"
] | null | null | null | """Tests GLMRegressor converter."""
import unittest
from distutils.version import StrictVersion
import numpy
from numpy.testing import assert_almost_equal
from sklearn import linear_model
from sklearn.ensemble import GradientBoostingRegressor
from sklearn.neural_network import MLPRegressor
from sklearn.svm import Line... | 36.395433 | 79 | 0.576038 | 2,852 | 30,281 | 5.784011 | 0.075386 | 0.078019 | 0.052376 | 0.037039 | 0.878455 | 0.870332 | 0.868635 | 0.863058 | 0.827716 | 0.761639 | 0 | 0.014667 | 0.313266 | 30,281 | 831 | 80 | 36.43923 | 0.778601 | 0.000958 | 0 | 0.730323 | 0 | 0 | 0.169808 | 0.097699 | 0 | 0 | 0 | 0 | 0.074839 | 1 | 0.060645 | false | 0.005161 | 0.015484 | 0 | 0.077419 | 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 |
54cc4b2fd0ad5a0d61d951d5fb88cda5652a91cc | 5,590 | py | Python | tests/integration/suites/default/con_attr.py | AVSystem/Anjay | 0a0efa41370dd2f22d0eebb1277c4915747aec28 | [
"Apache-2.0"
] | 161 | 2017-02-08T12:07:22.000Z | 2022-03-20T11:10:10.000Z | tests/integration/suites/default/con_attr.py | AVSystem/Anjay | 0a0efa41370dd2f22d0eebb1277c4915747aec28 | [
"Apache-2.0"
] | 53 | 2017-03-15T12:58:40.000Z | 2022-01-20T09:31:54.000Z | tests/integration/suites/default/con_attr.py | AVSystem/Anjay | 0a0efa41370dd2f22d0eebb1277c4915747aec28 | [
"Apache-2.0"
] | 68 | 2017-02-21T15:02:02.000Z | 2022-03-19T06:24:21.000Z | # -*- coding: utf-8 -*-
#
# Copyright 2017-2021 AVSystem <avsystem@avsystem.com>
#
# 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 ... | 42.030075 | 92 | 0.619678 | 685 | 5,590 | 4.970803 | 0.258394 | 0.061087 | 0.044053 | 0.058737 | 0.819677 | 0.819677 | 0.819677 | 0.785903 | 0.785903 | 0.785903 | 0 | 0.0166 | 0.28873 | 5,590 | 132 | 93 | 42.348485 | 0.839789 | 0.278354 | 0 | 0.894737 | 0 | 0 | 0.012262 | 0.006757 | 0 | 0 | 0 | 0 | 0.184211 | 1 | 0.039474 | false | 0.026316 | 0.026316 | 0 | 0.092105 | 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 |
07076d46939194b8069ff9b9f256f2a7982bef2a | 10,080 | py | Python | tests/cli/test_describe.py | trapped/prefect | 128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7 | [
"Apache-2.0"
] | 1 | 2019-12-20T07:43:55.000Z | 2019-12-20T07:43:55.000Z | tests/cli/test_describe.py | trapped/prefect | 128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7 | [
"Apache-2.0"
] | null | null | null | tests/cli/test_describe.py | trapped/prefect | 128f11570c35e7156d65ba65fdcbc1f4ccd7c2b7 | [
"Apache-2.0"
] | null | null | null | import sys
from unittest.mock import MagicMock
import click
import pytest
import requests
from click.testing import CliRunner
import prefect
from prefect.cli.describe import describe
from prefect.utilities.configuration import set_temporary_config
def test_describe_init():
runner = CliRunner()
result = runn... | 30.453172 | 181 | 0.553968 | 1,027 | 10,080 | 5.276534 | 0.115871 | 0.054807 | 0.066433 | 0.054807 | 0.923418 | 0.921941 | 0.901273 | 0.899059 | 0.891308 | 0.891308 | 0 | 0.005541 | 0.319643 | 10,080 | 330 | 182 | 30.545455 | 0.784631 | 0 | 0 | 0.714286 | 0 | 0.017422 | 0.386111 | 0 | 0 | 0 | 0 | 0 | 0.10453 | 1 | 0.038328 | false | 0 | 0.031359 | 0 | 0.069686 | 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 |
0710050d91e6640c6dc661c42052b2ac1a5e390f | 991 | py | Python | tests/test_bg_color.py | SpotlightKid/pywebview | e85507641a70470b15b3eb654d97cb29c1c29633 | [
"BSD-3-Clause"
] | 3,093 | 2015-02-08T15:59:16.000Z | 2022-03-31T15:45:21.000Z | tests/test_bg_color.py | SpotlightKid/pywebview | e85507641a70470b15b3eb654d97cb29c1c29633 | [
"BSD-3-Clause"
] | 705 | 2015-02-10T17:29:02.000Z | 2022-03-31T02:45:44.000Z | tests/test_bg_color.py | SpotlightKid/pywebview | e85507641a70470b15b3eb654d97cb29c1c29633 | [
"BSD-3-Clause"
] | 528 | 2015-02-08T18:21:38.000Z | 2022-03-30T03:39:07.000Z | import webview
import pytest
from .util import run_test
def test_bg_color():
window = webview.create_window('Background color test', 'https://www.example.org', background_color='#0000FF')
run_test(webview, window)
def test_invalid_bg_color():
with pytest.raises(ValueError):
webview.create_window... | 34.172414 | 114 | 0.724521 | 121 | 991 | 5.77686 | 0.223141 | 0.257511 | 0.16309 | 0.248927 | 0.795422 | 0.795422 | 0.795422 | 0.795422 | 0.795422 | 0.795422 | 0 | 0.01986 | 0.136226 | 991 | 28 | 115 | 35.392857 | 0.796729 | 0 | 0 | 0.294118 | 0 | 0 | 0.308704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.176471 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ab4f5862e85be2f68ec35550a274005800dbcae0 | 24,140 | py | Python | test/test_sections/test_professions.py | clegg89/altaudit | 353484c2b39db13ecb294a55d43dd2e4e0ef6541 | [
"MIT"
] | null | null | null | test/test_sections/test_professions.py | clegg89/altaudit | 353484c2b39db13ecb294a55d43dd2e4e0ef6541 | [
"MIT"
] | 9 | 2020-09-23T14:47:12.000Z | 2021-04-07T22:11:16.000Z | test/test_sections/test_professions.py | clegg89/altaudit | 353484c2b39db13ecb294a55d43dd2e4e0ef6541 | [
"MIT"
] | null | null | null | """Unit Tests for Profesion Info"""
import pytest
from altaudit.models import Character
import altaudit.sections.professions as Section
def test_profession_simple_priamries():
jack = Character('jack')
response = { 'professions' :
{ 'primary' : [
{ 'id' : 182, 'name' : "Herbalism",... | 54.247191 | 113 | 0.658658 | 2,991 | 24,140 | 4.98997 | 0.042461 | 0.178224 | 0.115377 | 0.078928 | 0.947873 | 0.905863 | 0.893199 | 0.813936 | 0.808241 | 0.739833 | 0 | 0.060377 | 0.212345 | 24,140 | 444 | 114 | 54.369369 | 0.724571 | 0.001201 | 0 | 0.713942 | 0 | 0 | 0.168098 | 0 | 0 | 0 | 0 | 0 | 0.639423 | 1 | 0.019231 | false | 0 | 0.007212 | 0 | 0.026442 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db3b7282252ea278de274a938b516362f444e701 | 6,509 | py | Python | QuadrupedPi/Quadruped/Quadruped.py | LakshBhambhani/Quadruped-JAVA | cff17989d910b848616472fd47cc50e6d77f17fb | [
"MIT"
] | 2 | 2019-08-12T13:24:32.000Z | 2020-11-12T15:44:24.000Z | QuadrupedPi/Quadruped/Quadruped.py | LakshBhambhani/Quadruped-JAVA | cff17989d910b848616472fd47cc50e6d77f17fb | [
"MIT"
] | 5 | 2019-05-15T04:29:25.000Z | 2019-07-22T16:16:33.000Z | QuadrupedPi/Quadruped/Quadruped.py | LakshBhambhani/Swiffee-Minikame-Simulator | cff17989d910b848616472fd47cc50e6d77f17fb | [
"MIT"
] | null | null | null | from adafruit_servokit import ServoKit
import time
kit = ServoKit(channels=16)
class Quadruped():
def homePos(self):
kit.servo[4].angle = 40 #FL HIP
kit.servo[5].angle = 110 #FL FOOT
kit.servo[6].angle = 130 #FR HIP
kit.servo[7].angle = 70 #FR FOOT
kit.servo... | 25.034615 | 47 | 0.483792 | 950 | 6,509 | 3.313684 | 0.086316 | 0.315121 | 0.092122 | 0.083863 | 0.843075 | 0.768424 | 0.750635 | 0.726175 | 0.724269 | 0.707116 | 0 | 0.132233 | 0.376095 | 6,509 | 259 | 48 | 25.131274 | 0.642945 | 0.187126 | 0 | 0.664557 | 0 | 0 | 0.019777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056962 | false | 0 | 0.012658 | 0 | 0.075949 | 0.044304 | 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 |
db4dd4f1be8d82115943e22a954f082a3b15dd9c | 95 | py | Python | forest/server_lifecycle.py | ramsdalesteve/forest | 12cac1b3dd93c4475a8a4f696c522576b44f16eb | [
"BSD-3-Clause"
] | null | null | null | forest/server_lifecycle.py | ramsdalesteve/forest | 12cac1b3dd93c4475a8a4f696c522576b44f16eb | [
"BSD-3-Clause"
] | null | null | null | forest/server_lifecycle.py | ramsdalesteve/forest | 12cac1b3dd93c4475a8a4f696c522576b44f16eb | [
"BSD-3-Clause"
] | null | null | null | import forest.data as data
def on_server_loaded(server_context):
data.on_server_loaded()
| 15.833333 | 37 | 0.789474 | 15 | 95 | 4.666667 | 0.6 | 0.228571 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 38 | 19 | 0.853659 | 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 |
db71ad6f0a34a137686dc92c3d5da109c84e2eed | 350,389 | py | Python | tests/unit/gapic/privateca_v1/test_certificate_authority_service.py | LaudateCorpus1/python-security-private-ca | 672e9b0a8c0923afbd9e6e04ca8a4c2b0232a843 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/privateca_v1/test_certificate_authority_service.py | LaudateCorpus1/python-security-private-ca | 672e9b0a8c0923afbd9e6e04ca8a4c2b0232a843 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/privateca_v1/test_certificate_authority_service.py | LaudateCorpus1/python-security-private-ca | 672e9b0a8c0923afbd9e6e04ca8a4c2b0232a843 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 38.901854 | 186 | 0.695804 | 38,915 | 350,389 | 6.038597 | 0.013105 | 0.014809 | 0.024065 | 0.056734 | 0.954105 | 0.943168 | 0.930134 | 0.915742 | 0.900895 | 0.886868 | 0 | 0.003672 | 0.225155 | 350,389 | 9,006 | 187 | 38.906174 | 0.86187 | 0.208425 | 0 | 0.71717 | 0 | 0 | 0.074212 | 0.030221 | 0 | 0 | 0 | 0 | 0.130007 | 1 | 0.034964 | false | 0.000164 | 0.005089 | 0.000328 | 0.040381 | 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 |
db774f11ade5e18a04314980341f2c5d49bec6e4 | 3,165 | py | Python | tests/test_resample_n.py | TerraFusion/pytaf | e121ed340a4b757e36c246aa20056a669d29613d | [
"Apache-2.0"
] | 2 | 2019-05-04T02:24:23.000Z | 2020-10-28T08:53:53.000Z | tests/test_resample_n.py | TerraFusion/pytaf | e121ed340a4b757e36c246aa20056a669d29613d | [
"Apache-2.0"
] | 5 | 2018-05-24T16:50:06.000Z | 2019-04-20T02:03:50.000Z | tests/test_resample_n.py | TerraFusion/pytaf | e121ed340a4b757e36c246aa20056a669d29613d | [
"Apache-2.0"
] | 1 | 2020-02-11T23:54:05.000Z | 2020-02-11T23:54:05.000Z | from unittest import TestCase
import pytaf
import numpy as np
class TestResampleN(TestCase):
# Both source and target are 1-d.
def test_resample_n_1d(self):
slat = np.arange(12, dtype=np.float64)
slon = np.arange(12, dtype=np.float64)
sdata = slat * -333
tlat = np.arange(12, ... | 35.561798 | 62 | 0.508057 | 413 | 3,165 | 3.825666 | 0.162228 | 0.081013 | 0.101266 | 0.151899 | 0.931646 | 0.903797 | 0.855696 | 0.855696 | 0.855696 | 0.850633 | 0 | 0.136604 | 0.343128 | 3,165 | 88 | 63 | 35.965909 | 0.623377 | 0.040758 | 0 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.052632 | false | 0 | 0.039474 | 0 | 0.105263 | 0.052632 | 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 |
db938a8e4ec28a338edbf0c5ecde9b98dcc5b7a7 | 177 | py | Python | accounts/admin.py | Vishesh-Conbi/Chatbot | c6a966eb1947064eeffe1a1722d672ca560377bd | [
"MIT"
] | null | null | null | accounts/admin.py | Vishesh-Conbi/Chatbot | c6a966eb1947064eeffe1a1722d672ca560377bd | [
"MIT"
] | null | null | null | accounts/admin.py | Vishesh-Conbi/Chatbot | c6a966eb1947064eeffe1a1722d672ca560377bd | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import AD_User
from .models import AD_Admin
# Register your models here.
admin.site.register(AD_User)
admin.site.register(AD_Admin) | 29.5 | 32 | 0.824859 | 29 | 177 | 4.896552 | 0.413793 | 0.140845 | 0.225352 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 177 | 6 | 33 | 29.5 | 0.893082 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
db9a4f966e0ecee326d5086d2978ddb5ff9ba206 | 7,499 | py | Python | tests/int/test_liquidations.py | keyko-io/defi-crawler-py | 132fd0a4f4e72cebafd40a884a882d184d9dfb5a | [
"Apache-2.0"
] | 45 | 2021-05-08T03:01:52.000Z | 2022-03-21T05:50:45.000Z | tests/int/test_liquidations.py | vv111y/defi-crawler-py | 135b3d4a89e9382b9f428f35c3fe7432ec03e581 | [
"Apache-2.0"
] | 22 | 2021-04-07T13:52:58.000Z | 2022-03-29T22:01:36.000Z | tests/int/test_liquidations.py | keyko-io/defi-crawler-py | 132fd0a4f4e72cebafd40a884a882d184d9dfb5a | [
"Apache-2.0"
] | 15 | 2021-06-25T16:06:15.000Z | 2022-02-23T02:36:54.000Z | from deficrawler.lending import Lending
def test_liquidation_aave_2_eth():
aave = Lending(protocol="Aave", chain="Ethereum", version=2)
liquidations = aave.get_data_from_date_range(
'21/04/2021 05:20:01', '22/04/2021 06:22:01', "liquidation")
assert(liquidations[0]['tx_id'] != "")
assert(liqui... | 41.893855 | 114 | 0.669289 | 856 | 7,499 | 5.704439 | 0.07243 | 0.204997 | 0.268482 | 0.06881 | 0.889003 | 0.875691 | 0.830842 | 0.780668 | 0.780668 | 0.771452 | 0 | 0.113447 | 0.150153 | 7,499 | 178 | 115 | 42.129213 | 0.652754 | 0 | 0 | 0.765957 | 0 | 0 | 0.272303 | 0.056007 | 0 | 0 | 0.056007 | 0 | 0.58156 | 1 | 0.085106 | false | 0 | 0.007092 | 0 | 0.092199 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
919afa566dba8031db2eb3e3bf47c2a5f7dd5054 | 42,617 | py | Python | airflow/providers/google/cloud/operators/stackdriver.py | holly-evans/airflow | 865406cbab4defd35c95afbf0a8d5987ff7788b1 | [
"Apache-2.0"
] | 8,092 | 2016-04-27T20:32:29.000Z | 2019-01-05T07:39:33.000Z | airflow/providers/google/cloud/operators/stackdriver.py | holly-evans/airflow | 865406cbab4defd35c95afbf0a8d5987ff7788b1 | [
"Apache-2.0"
] | 2,961 | 2016-05-05T07:16:16.000Z | 2019-01-05T08:47:59.000Z | airflow/providers/google/cloud/operators/stackdriver.py | holly-evans/airflow | 865406cbab4defd35c95afbf0a8d5987ff7788b1 | [
"Apache-2.0"
] | 3,546 | 2016-05-04T20:33:16.000Z | 2019-01-05T05:14:26.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 44.116977 | 106 | 0.670343 | 5,256 | 42,617 | 5.315449 | 0.060502 | 0.032858 | 0.019329 | 0.013959 | 0.901639 | 0.894803 | 0.892226 | 0.892226 | 0.892226 | 0.892226 | 0 | 0.000888 | 0.260131 | 42,617 | 965 | 107 | 44.162694 | 0.885161 | 0.495201 | 0 | 0.819367 | 0 | 0.003724 | 0.058949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037244 | false | 0 | 0.014898 | 0 | 0.130354 | 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 |
91e7758ce0537250f4eb926f287abfef4966454b | 11,127 | py | Python | tinkoff/invest/grpc/orders_pb2_grpc.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | 41 | 2022-01-21T05:38:57.000Z | 2022-03-30T03:54:41.000Z | tinkoff/invest/grpc/orders_pb2_grpc.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | 20 | 2022-01-24T05:46:02.000Z | 2022-03-31T16:54:04.000Z | tinkoff/invest/grpc/orders_pb2_grpc.py | forked-group/invest-python | 3398391f5bb4a52020c312855de175cfe8cdc021 | [
"Apache-2.0"
] | 15 | 2022-01-25T06:53:27.000Z | 2022-03-30T03:49:07.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from tinkoff.invest.grpc import orders_pb2 as tinkoff_dot_invest_dot_grpc_dot_orders__pb2
class OrdersStreamServiceStub(object):
"""Missing associated docu... | 46.170124 | 137 | 0.688236 | 1,099 | 11,127 | 6.616015 | 0.135578 | 0.039609 | 0.068216 | 0.081007 | 0.870444 | 0.861642 | 0.861642 | 0.825609 | 0.782698 | 0.743777 | 0 | 0.006889 | 0.230341 | 11,127 | 240 | 138 | 46.3625 | 0.84213 | 0.119799 | 0 | 0.511628 | 1 | 0 | 0.108181 | 0.078696 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081395 | false | 0 | 0.011628 | 0.02907 | 0.156977 | 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 |
37dbe94363328b3e0160f0bc011fea01ec3e834e | 1,162 | py | Python | Core/third_party/JavaScriptCore/inspector/scripts/codegen/__init__.py | InfiniteSynthesis/lynx-native | 022e277ee6767f5b668269a17b1679072cf7c3d6 | [
"MIT"
] | 677 | 2017-09-23T16:03:12.000Z | 2022-03-26T08:32:10.000Z | Core/third_party/JavaScriptCore/inspector/scripts/codegen/__init__.py | InfiniteSynthesis/lynx-native | 022e277ee6767f5b668269a17b1679072cf7c3d6 | [
"MIT"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Core/third_party/JavaScriptCore/inspector/scripts/codegen/__init__.py | InfiniteSynthesis/lynx-native | 022e277ee6767f5b668269a17b1679072cf7c3d6 | [
"MIT"
] | 92 | 2017-09-21T14:21:27.000Z | 2022-03-25T13:29:42.000Z | # Required for Python to search this directory for module files
from models import *
from generator import *
from cpp_generator import *
from objc_generator import *
from generate_cpp_alternate_backend_dispatcher_header import *
from generate_cpp_backend_dispatcher_header import *
from generate_cpp_backend_dispatcher... | 44.692308 | 68 | 0.893287 | 147 | 1,162 | 6.578231 | 0.204082 | 0.217166 | 0.335057 | 0.227508 | 0.792141 | 0.663909 | 0.201655 | 0.108583 | 0.108583 | 0 | 0 | 0 | 0.086919 | 1,162 | 25 | 69 | 46.48 | 0.911404 | 0.052496 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5342eca652d767a398b1b7a8b0774f1cf04d6bd1 | 12,554 | py | Python | levenshtein_distance.py | byscut/azrael-py27 | 76eaa29556a9f58e7425e5c0fefeddb5332a923e | [
"WTFPL"
] | null | null | null | levenshtein_distance.py | byscut/azrael-py27 | 76eaa29556a9f58e7425e5c0fefeddb5332a923e | [
"WTFPL"
] | null | null | null | levenshtein_distance.py | byscut/azrael-py27 | 76eaa29556a9f58e7425e5c0fefeddb5332a923e | [
"WTFPL"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author : Azrael.Bai
import Levenshtein
url1 = 'http://www.nbepb.gov.cn/XZCF_Show.aspx?ClassID=2c528b33-6f40-4fa5-9293-a1bf065b298a&InfoID=8a3fd96d-9eb2-4660-a9e6-2c8c20ec3326&SearchKey=&JDZCJG=&CFNF='
url2 = 'http://www.nbepb.gov.cn/XZCF_Show.aspx?ClassID=2c528b33-6f40-4fa5-9293-a1bf065b29... | 1,046.166667 | 6,243 | 0.97451 | 258 | 12,554 | 47.410853 | 0.813953 | 0.003924 | 0.001962 | 0.002453 | 0.027796 | 0.027796 | 0.027796 | 0.020438 | 0.020438 | 0.020438 | 0 | 0.105591 | 0.002708 | 12,554 | 12 | 6,244 | 1,046.166667 | 0.871406 | 0.003425 | 0 | 0 | 0 | 0.5 | 0.98649 | 0.962187 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
535032ac99724be5b0f8daa2876c8c5e6da1aa50 | 131 | py | Python | src/infrastructure/errors/unable_to_normalize_image_exception.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/infrastructure/errors/unable_to_normalize_image_exception.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/infrastructure/errors/unable_to_normalize_image_exception.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | from infrastructure.errors.image_exception import ImageException
class UnableToNormalizeImageException(ImageException):
pass
| 21.833333 | 64 | 0.862595 | 11 | 131 | 10.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 5 | 65 | 26.2 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
726839af1d4b202a3450d9fd6e69b828549c7f90 | 30,591 | py | Python | dice_deploy_django/cfy_wrapper/tests/test_views.py | dice-project/DICE-deployment-service | e209c6a061a78f170e81cfc03d2959af0283ed15 | [
"Apache-2.0"
] | 2 | 2018-04-03T20:45:26.000Z | 2022-02-07T19:53:42.000Z | dice_deploy_django/cfy_wrapper/tests/test_views.py | dice-project/DICE-deployment-service | e209c6a061a78f170e81cfc03d2959af0283ed15 | [
"Apache-2.0"
] | 3 | 2016-11-15T10:41:43.000Z | 2020-03-16T07:49:03.000Z | dice_deploy_django/cfy_wrapper/tests/test_views.py | dice-project/DICE-deployment-service | e209c6a061a78f170e81cfc03d2959af0283ed15 | [
"Apache-2.0"
] | 2 | 2018-07-04T11:37:12.000Z | 2022-02-07T19:53:43.000Z | from .base import BaseViewTest, date2str, identity, Field
from cfy_wrapper.models import Blueprint, Container, Input, Error
from cfy_wrapper.views import (
HeartBeatView,
ContainersView,
ContainerIdView,
ContainerBlueprintView,
ContainerNodesView,
ContainerErrorsView,
InputsView,
Bluepr... | 36.116883 | 79 | 0.637475 | 3,897 | 30,591 | 4.81319 | 0.050552 | 0.071973 | 0.066055 | 0.078637 | 0.904569 | 0.88319 | 0.861545 | 0.852962 | 0.832489 | 0.800021 | 0 | 0.013243 | 0.224935 | 30,591 | 846 | 80 | 36.159574 | 0.777857 | 0.001177 | 0 | 0.766615 | 0 | 0 | 0.078617 | 0.013616 | 0 | 0 | 0 | 0 | 0.213292 | 1 | 0.109737 | false | 0 | 0.01391 | 0 | 0.136012 | 0.171561 | 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 |
72abf9ed90fc5c0a4c050e8118c4be692f92b71b | 1,625 | py | Python | wrappers/python/tests/ledger/test_build_revoc_reg_entry_request.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | 5 | 2018-04-09T12:26:28.000Z | 2019-06-12T01:45:30.000Z | wrappers/python/tests/ledger/test_build_revoc_reg_entry_request.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | 9 | 2019-01-22T22:31:54.000Z | 2019-04-11T21:45:09.000Z | wrappers/python/tests/ledger/test_build_revoc_reg_entry_request.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | 19 | 2018-04-25T16:08:43.000Z | 2022-01-11T10:18:38.000Z | from indy import ledger
import json
import pytest
@pytest.mark.asyncio
async def test_build_revoc_reg_entry_request_work():
identifier = "Th7MpTaRZVRYnPiabds81Y"
rev_reg_entry_value = {
"ver": "1.0",
"value": {
"accum": "1 000000000000000000000000000000000000000000000000000000000... | 50.78125 | 435 | 0.764308 | 107 | 1,625 | 11.327103 | 0.383178 | 0.643564 | 0.544554 | 1.072607 | 0.70132 | 0.660066 | 0.660066 | 0.660066 | 0.660066 | 0.660066 | 0 | 0.590705 | 0.179077 | 1,625 | 31 | 436 | 52.419355 | 0.317841 | 0 | 0 | 0 | 0 | 0 | 0.570462 | 0.486154 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0 | false | 0 | 0.12 | 0 | 0.12 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
72b1aff095ca015b057616fe92709c034ec5a589 | 4,230 | py | Python | tests/test_models.py | sanzgiri/edgel3 | 39a6e876ded897a723990ea4b81291e0a862bc81 | [
"MIT"
] | null | null | null | tests/test_models.py | sanzgiri/edgel3 | 39a6e876ded897a723990ea4b81291e0a862bc81 | [
"MIT"
] | null | null | null | tests/test_models.py | sanzgiri/edgel3 | 39a6e876ded897a723990ea4b81291e0a862bc81 | [
"MIT"
] | null | null | null | from edgel3.models import load_embedding_model, load_embedding_model_path
def test_load_embedding_model_path():
#check the output paths of ft models
embedding_model_path = load_embedding_model_path('ft', 53.5)
assert '/'.join(embedding_model_path.split('/')[-2:]) == 'edgel3/edgel3_ft_audio_sparsity_53.5.h... | 40.285714 | 103 | 0.7 | 649 | 4,230 | 4.198767 | 0.066256 | 0.349358 | 0.330275 | 0.145321 | 0.946789 | 0.908624 | 0.908624 | 0.908624 | 0.854312 | 0.852844 | 0 | 0.076564 | 0.138534 | 4,230 | 104 | 104 | 40.673077 | 0.67124 | 0.025296 | 0 | 0.238806 | 0 | 0 | 0.175243 | 0.151942 | 0 | 0 | 0 | 0 | 0.477612 | 1 | 0.029851 | false | 0 | 0.014925 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
72b62c812c5c7014e3fcb9a85cb177194451e793 | 3,546 | py | Python | application/pay/pay_forms.py | akelshareif/fiscally | ca44ca00537d2b9ef1bca8a3a67b66427394dc72 | [
"MIT"
] | 1 | 2020-09-18T04:18:58.000Z | 2020-09-18T04:18:58.000Z | application/pay/pay_forms.py | akelshareif/fiscally | ca44ca00537d2b9ef1bca8a3a67b66427394dc72 | [
"MIT"
] | null | null | null | application/pay/pay_forms.py | akelshareif/fiscally | ca44ca00537d2b9ef1bca8a3a67b66427394dc72 | [
"MIT"
] | null | null | null | """ All pay related forms """
from flask_wtf import FlaskForm
from wtforms import DecimalField, IntegerField, RadioField, SelectField
from wtforms.fields.html5 import DateField
from wtforms.validators import InputRequired, Optional, NumberRange
from .state_dict import states
class PaycheckForm(FlaskForm):
""" Ad... | 52.925373 | 157 | 0.664975 | 400 | 3,546 | 5.8425 | 0.22 | 0.1181 | 0.12837 | 0.141207 | 0.83697 | 0.83697 | 0.83697 | 0.83697 | 0.83697 | 0.814292 | 0 | 0.01253 | 0.189791 | 3,546 | 66 | 158 | 53.727273 | 0.800905 | 0.025945 | 0 | 0.75 | 0 | 0 | 0.31797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4023fd30c498bca547c1a3d007ad79de16c7f28 | 276,166 | py | Python | src/twelvedata/time_series.py | bhardwajRahul/twelvedata-python | 738e4da8ad09511c0ed4b1bfca2709fbc3a9c1aa | [
"MIT"
] | null | null | null | src/twelvedata/time_series.py | bhardwajRahul/twelvedata-python | 738e4da8ad09511c0ed4b1bfca2709fbc3a9c1aa | [
"MIT"
] | null | null | null | src/twelvedata/time_series.py | bhardwajRahul/twelvedata-python | 738e4da8ad09511c0ed4b1bfca2709fbc3a9c1aa | [
"MIT"
] | 1 | 2021-01-01T10:49:59.000Z | 2021-01-01T10:49:59.000Z | # coding: utf-8
import time
import pytimeparse
import re
import itertools
from collections import OrderedDict, Counter
from .endpoints import *
from .utils import apply_context_defaults, force_use_kwargs, parse_interval_in_minutes
__all__ = ("TimeSeries",)
class TimeSeries(object):
def __init__(
se... | 41.491286 | 130 | 0.624425 | 33,653 | 276,166 | 5.045791 | 0.027873 | 0.024116 | 0.017149 | 0.019293 | 0.909573 | 0.899468 | 0.89422 | 0.890375 | 0.888779 | 0.886235 | 0 | 0.007755 | 0.316382 | 276,166 | 6,655 | 131 | 41.497521 | 0.89168 | 0.579217 | 0 | 0.827665 | 0 | 0 | 0.033923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035644 | false | 0 | 0.005232 | 0.000981 | 0.075867 | 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 |
f4091e77f2895830936f649bed73845a89c36bee | 11,022 | py | Python | tests/integration/conversations/v1/test_address_configuration.py | angmunpri/twilio-python | d6ed1098f4bc06529d68f965eabdf87642ac441c | [
"MIT"
] | 1 | 2022-03-03T05:24:20.000Z | 2022-03-03T05:24:20.000Z | tests/integration/conversations/v1/test_address_configuration.py | angmunpri/twilio-python | d6ed1098f4bc06529d68f965eabdf87642ac441c | [
"MIT"
] | 1 | 2022-03-03T05:32:47.000Z | 2022-03-03T05:36:32.000Z | tests/integration/conversations/v1/test_address_configuration.py | angmunpri/twilio-python | d6ed1098f4bc06529d68f965eabdf87642ac441c | [
"MIT"
] | null | null | null | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class AddressConfigurationTestC... | 40.08 | 127 | 0.52123 | 785 | 11,022 | 7.15414 | 0.149045 | 0.034188 | 0.064103 | 0.072115 | 0.874822 | 0.852386 | 0.834046 | 0.826211 | 0.82443 | 0.779915 | 0 | 0.045422 | 0.366812 | 11,022 | 274 | 128 | 40.226277 | 0.759278 | 0.009889 | 0 | 0.611765 | 1 | 0 | 0.170557 | 0.052321 | 0 | 0 | 0 | 0 | 0.188235 | 1 | 0.129412 | false | 0 | 0.047059 | 0 | 0.188235 | 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 |
f40a87698d6643dd93824dc6a64a9feb859cee55 | 26,047 | py | Python | sdk/python/pulumi_aws/guardduty/filter.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 260 | 2018-06-18T14:57:00.000Z | 2022-03-29T11:41:03.000Z | sdk/python/pulumi_aws/guardduty/filter.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 1,154 | 2018-06-19T20:38:20.000Z | 2022-03-31T19:48:16.000Z | sdk/python/pulumi_aws/guardduty/filter.py | rapzo/pulumi-aws | 390a098221315d98a54ba97d1559e750dc3053b7 | [
"ECL-2.0",
"Apache-2.0"
] | 115 | 2018-06-28T03:20:27.000Z | 2022-03-29T11:41:06.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.908621 | 308 | 0.626828 | 3,055 | 26,047 | 5.191817 | 0.076596 | 0.087384 | 0.069731 | 0.04716 | 0.879453 | 0.861421 | 0.831284 | 0.80657 | 0.798563 | 0.786583 | 0 | 0.00555 | 0.273698 | 26,047 | 579 | 309 | 44.986183 | 0.832858 | 0.411794 | 0 | 0.66 | 1 | 0 | 0.092616 | 0.020524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.003333 | 0.023333 | 0 | 0.28 | 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 |
f4269f019fb72dc648684d990994321a4767ce06 | 325 | py | Python | titan/api_pkg/__init__.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/api_pkg/__init__.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | titan/api_pkg/__init__.py | mnieber/gen | 65f8aa4fb671c4f90d5cbcb1a0e10290647a31d9 | [
"MIT"
] | null | null | null | from . import (
extendspectypes,
formtype,
graphqlapi,
item,
itemlist,
itemtype,
mutation,
pipeline,
query,
typeregistry,
)
modules = [
extendspectypes,
formtype,
graphqlapi,
item,
itemlist,
itemtype,
mutation,
pipeline,
typeregistry,
quer... | 12.5 | 20 | 0.581538 | 23 | 325 | 8.217391 | 0.565217 | 0.243386 | 0.349206 | 0.391534 | 0.730159 | 0.730159 | 0.730159 | 0.730159 | 0 | 0 | 0 | 0 | 0.338462 | 325 | 25 | 21 | 13 | 0.87907 | 0 | 0 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f42e08727ecc3b42db9b3fa97b8b6fa7538c5a46 | 239 | py | Python | September 2020/04-Comprehension/02-No-Vowels.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | September 2020/04-Comprehension/02-No-Vowels.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | September 2020/04-Comprehension/02-No-Vowels.py | eclipse-ib/Software-University-Professional-Advanced-Module | 636385f9e5521840f680644824d725d074b93c9a | [
"MIT"
] | null | null | null | # string = [char for char in input() if char not in ['a', 'o', 'u', 'e', 'i', 'A', 'O', 'U', 'E', 'I']]
# print(''.join(string))
print(''.join([char for char in input() if char not in ['a', 'o', 'u', 'e', 'i', 'A', 'O', 'U', 'E', 'I']])) | 47.8 | 108 | 0.451883 | 44 | 239 | 2.454545 | 0.318182 | 0.074074 | 0.111111 | 0.148148 | 0.722222 | 0.722222 | 0.722222 | 0.722222 | 0.722222 | 0.722222 | 0 | 0 | 0.1841 | 239 | 5 | 108 | 47.8 | 0.553846 | 0.518828 | 0 | 0 | 0 | 0 | 0.088496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
f4481c6c66e01bd68ba6d1c85cec8cee806386f1 | 15 | py | Python | src/test/data/pa3/sample/error_div_zero.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | 7 | 2021-08-28T18:20:45.000Z | 2022-02-01T07:35:59.000Z | src/test/data/pa3/sample/error_div_zero.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | 4 | 2020-05-18T01:06:15.000Z | 2020-06-12T19:33:14.000Z | src/test/data/pa3/sample/error_div_zero.py | Leo-Enrique-Wu/chocopy_compiler_code_generation | 4606be0531b3de77411572aae98f73169f46b3b9 | [
"BSD-2-Clause"
] | 5 | 2019-11-27T05:11:05.000Z | 2021-06-29T14:31:14.000Z | print(42 // 0)
| 7.5 | 14 | 0.533333 | 3 | 15 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.2 | 15 | 1 | 15 | 15 | 0.416667 | 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 |
f4611785cc181dcf6912c13931a483f780ba9464 | 6,579 | py | Python | grammars/gen/SupremeCourtListener.py | OpenLawsGR/judgments2AKN | 0c6217349cde36058d5599800e289fdf0d3eaf23 | [
"MIT"
] | 5 | 2019-11-28T17:02:59.000Z | 2021-02-05T17:39:49.000Z | grammars/gen/SupremeCourtListener.py | OpenLawsGR/judgments2AKN | 0c6217349cde36058d5599800e289fdf0d3eaf23 | [
"MIT"
] | null | null | null | grammars/gen/SupremeCourtListener.py | OpenLawsGR/judgments2AKN | 0c6217349cde36058d5599800e289fdf0d3eaf23 | [
"MIT"
] | null | null | null | # Generated from /home/plessas/EDBM34/grammars/SupremeCourt.g4 by ANTLR 4.7.2
from antlr4 import *
# This class defines a complete listener for a parse tree produced by SupremeCourtParser.
class SupremeCourtListener(ParseTreeListener):
# Enter a parse tree produced by SupremeCourtParser#akomaNtoso.
def enterA... | 26.316 | 89 | 0.693722 | 746 | 6,579 | 6.101877 | 0.154156 | 0.072496 | 0.120826 | 0.217487 | 0.793058 | 0.793058 | 0.78471 | 0.783612 | 0.647847 | 0.634227 | 0 | 0.001412 | 0.246542 | 6,579 | 249 | 90 | 26.421687 | 0.916885 | 0.521052 | 0 | 0.490909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.490909 | false | 0.490909 | 0.009091 | 0 | 0.509091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
f46e0ea2a9a506db19309a33ae006ab0144fe5c3 | 27,135 | py | Python | resources/mutationfinder/origDist/test_performance.py | pjcoenen/SETH | 721239046936c6fa4d4525cb7d7c5a3a43e64984 | [
"Apache-2.0"
] | 25 | 2015-05-30T23:18:49.000Z | 2022-03-10T08:02:59.000Z | resources/mutationfinder/origDist/test_performance.py | pjcoenen/SETH | 721239046936c6fa4d4525cb7d7c5a3a43e64984 | [
"Apache-2.0"
] | 27 | 2016-05-20T09:27:41.000Z | 2022-03-31T08:10:53.000Z | resources/mutationfinder/origDist/test_performance.py | pjcoenen/SETH | 721239046936c6fa4d4525cb7d7c5a3a43e64984 | [
"Apache-2.0"
] | 9 | 2015-06-02T11:39:03.000Z | 2021-11-11T12:27:56.000Z | #!/usr/bin/env python
# Author: Greg Caporaso (gregcaporaso@gmail.com)
# test_performance.py
""" Description
File created on 07 Feb 2007.
This file contains tests of the classes and functions in the
MutationFinder performance.py script.
Copyright (c) 2007 Regents of the University of Colorado
Please refer to licens... | 45.528523 | 115 | 0.637037 | 2,938 | 27,135 | 5.753914 | 0.099387 | 0.130435 | 0.143863 | 0.050873 | 0.846673 | 0.810707 | 0.770127 | 0.726826 | 0.664005 | 0.621769 | 0 | 0.078193 | 0.234605 | 27,135 | 595 | 116 | 45.605042 | 0.73576 | 0.170407 | 0 | 0.708029 | 0 | 0 | 0.057099 | 0.011547 | 0 | 0 | 0 | 0 | 0.440389 | 1 | 0.07056 | false | 0 | 0.007299 | 0 | 0.085158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be32f7741df4b5bb02637b27337b6100b1d30357 | 13,431 | py | Python | tests/extensions/test_scientific.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | tests/extensions/test_scientific.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | tests/extensions/test_scientific.py | emmanuelmathot/pystac | 6552327f30658d25972c97024ed71865ed131e52 | [
"Apache-2.0"
] | null | null | null | """Tests for pystac.tests.extensions.scientific."""
import datetime
import unittest
import pystac
from pystac.extensions import scientific
URL_TEMPLATE = 'http://example.com/catalog/%s.json'
DOI_BASE_URL = 'https://doi.org/'
DOI = '10.5061/dryad.s2v81.2'
DOI_URL = DOI_BASE_URL + DOI
CITATION = 'Some citation strin... | 41.073394 | 92 | 0.705532 | 1,618 | 13,431 | 5.704574 | 0.077256 | 0.058072 | 0.038137 | 0.070531 | 0.886891 | 0.869772 | 0.84182 | 0.83662 | 0.779198 | 0.752654 | 0 | 0.013455 | 0.180999 | 13,431 | 326 | 93 | 41.199387 | 0.825636 | 0.015338 | 0 | 0.700389 | 0 | 0 | 0.014303 | 0.001589 | 0 | 0 | 0 | 0 | 0.315175 | 1 | 0.101167 | false | 0 | 0.015564 | 0 | 0.132296 | 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 |
be5460b4868b32f2168884ed6f868ca839ea7776 | 159,877 | py | Python | tests/unit/gapic/pubsub_v1/test_subscriber.py | stephaniewang526/python-pubsub | 0b533807e2f81fce149f5d5e33c03fd379033255 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/pubsub_v1/test_subscriber.py | stephaniewang526/python-pubsub | 0b533807e2f81fce149f5d5e33c03fd379033255 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/pubsub_v1/test_subscriber.py | stephaniewang526/python-pubsub | 0b533807e2f81fce149f5d5e33c03fd379033255 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 36.377019 | 100 | 0.687504 | 18,841 | 159,877 | 5.637121 | 0.021655 | 0.017475 | 0.028397 | 0.017663 | 0.941549 | 0.929601 | 0.916448 | 0.899754 | 0.892533 | 0.882486 | 0 | 0.005199 | 0.228857 | 159,877 | 4,394 | 101 | 36.385298 | 0.856271 | 0.238508 | 0 | 0.73241 | 0 | 0 | 0.0829 | 0.027848 | 0 | 0 | 0 | 0 | 0.161302 | 1 | 0.043039 | false | 0 | 0.010105 | 0.000749 | 0.053892 | 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 |
be9cc909d317bc275975b93353f5a4f9ff3a83db | 120 | py | Python | trisicell/tl/consensus/__init__.py | faridrashidi/trisicell | 4db89edd44c03ccb6c7d3477beff0079c3ff8035 | [
"BSD-3-Clause"
] | 2 | 2021-07-02T13:53:15.000Z | 2021-11-16T03:14:36.000Z | trisicell/tl/consensus/__init__.py | faridrashidi/trisicell | 4db89edd44c03ccb6c7d3477beff0079c3ff8035 | [
"BSD-3-Clause"
] | 58 | 2021-06-14T17:14:39.000Z | 2022-03-11T19:32:54.000Z | trisicell/tl/consensus/__init__.py | faridrashidi/trisicell | 4db89edd44c03ccb6c7d3477beff0079c3ff8035 | [
"BSD-3-Clause"
] | null | null | null | from trisicell.tl.consensus._consensus import consensus
from trisicell.tl.consensus._consensus_day import consensus_day
| 40 | 63 | 0.883333 | 16 | 120 | 6.375 | 0.375 | 0.254902 | 0.294118 | 0.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 2 | 64 | 60 | 0.910714 | 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 |
beb8997b2583803de19402dfce279749e241c309 | 15,776 | py | Python | aesara/gpuarray/pool.py | fshart/aesara | 1ddf96a7b8e8503fb8773b09c3ca77483fd884c4 | [
"BSD-3-Clause"
] | 111 | 2021-01-29T06:12:58.000Z | 2021-06-04T20:27:51.000Z | aesara/gpuarray/pool.py | fshart/aesara | 1ddf96a7b8e8503fb8773b09c3ca77483fd884c4 | [
"BSD-3-Clause"
] | 253 | 2020-02-07T15:19:38.000Z | 2021-01-27T20:26:55.000Z | aesara/gpuarray/pool.py | fshart/aesara | 1ddf96a7b8e8503fb8773b09c3ca77483fd884c4 | [
"BSD-3-Clause"
] | 38 | 2020-07-20T12:09:06.000Z | 2021-01-27T13:38:50.000Z | import aesara
from aesara.gpuarray.basic_ops import (
CGpuKernelBase,
as_gpuarray_variable,
gpu_contiguous,
gpuarray_helper_inc_dir,
infer_context_name,
)
from aesara.gpuarray.type import gpu_context_type
from aesara.graph.basic import Apply
from aesara.graph.params_type import ParamsType
from aesar... | 35.372197 | 86 | 0.604336 | 2,087 | 15,776 | 4.379971 | 0.087207 | 0.051198 | 0.035007 | 0.021332 | 0.821026 | 0.799475 | 0.788754 | 0.771579 | 0.738978 | 0.734712 | 0 | 0.009885 | 0.28182 | 15,776 | 445 | 87 | 35.451685 | 0.796911 | 0.033532 | 0 | 0.720117 | 0 | 0 | 0.0963 | 0.013456 | 0 | 0 | 0 | 0 | 0.104956 | 1 | 0.107872 | false | 0.002915 | 0.03207 | 0.058309 | 0.279883 | 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 |
fe29d9b9384f179c013b1d09c6ea1d3037e5ab56 | 181 | py | Python | social_stream/facebook/urls.py | chalkchisel/django-social-stream | 89a5c83845091842f915f32202f03472e9d67b89 | [
"MIT"
] | null | null | null | social_stream/facebook/urls.py | chalkchisel/django-social-stream | 89a5c83845091842f915f32202f03472e9d67b89 | [
"MIT"
] | null | null | null | social_stream/facebook/urls.py | chalkchisel/django-social-stream | 89a5c83845091842f915f32202f03472e9d67b89 | [
"MIT"
] | null | null | null | from django.conf.urls import include
from django.conf.urls import patterns
from django.conf.urls import url
from django.http import HttpResponse
urlpatterns = patterns(
'',
)
| 18.1 | 37 | 0.779006 | 25 | 181 | 5.64 | 0.44 | 0.283688 | 0.297872 | 0.382979 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149171 | 181 | 9 | 38 | 20.111111 | 0.915584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fe378c1fd22e97ff6de83d64006919979ac9ba53 | 38,886 | py | Python | tests/sc/test_analysis.py | 39biradar/pyTenable | a055140bc864bb950fd1053ab598ff2da12cf408 | [
"MIT"
] | null | null | null | tests/sc/test_analysis.py | 39biradar/pyTenable | a055140bc864bb950fd1053ab598ff2da12cf408 | [
"MIT"
] | null | null | null | tests/sc/test_analysis.py | 39biradar/pyTenable | a055140bc864bb950fd1053ab598ff2da12cf408 | [
"MIT"
] | null | null | null | import pytest
from tenable.sc.analysis import AnalysisResultsIterator
from ..checker import check
from tenable.errors import UnexpectedValueError
def test_analysis_constructor_type_error(sc):
with pytest.raises(TypeError):
sc.analysis._analysis(tool=1, type='type',
sort_field... | 33.902354 | 77 | 0.585146 | 4,462 | 38,886 | 5.029359 | 0.058494 | 0.15436 | 0.183414 | 0.042779 | 0.864712 | 0.843991 | 0.808119 | 0.718061 | 0.690032 | 0.684194 | 0 | 0.007464 | 0.259219 | 38,886 | 1,146 | 78 | 33.931937 | 0.771575 | 0 | 0 | 0.747253 | 0 | 0 | 0.178728 | 0.00108 | 0 | 0 | 0 | 0 | 0.06993 | 1 | 0.071928 | false | 0 | 0.003996 | 0 | 0.075924 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fe4ac0c80fe31b2dc77db629d7e5674fa16aef7b | 8,616 | py | Python | snooze/test/test_callbacks.py | DragonHans86/github-snooze-button | bce8000aebbb231b9344cccd1ac8c2323431516c | [
"MIT"
] | 233 | 2016-04-03T11:12:51.000Z | 2022-02-20T06:08:16.000Z | snooze/test/test_callbacks.py | DragonHans86/github-snooze-button | bce8000aebbb231b9344cccd1ac8c2323431516c | [
"MIT"
] | 11 | 2016-04-03T19:54:23.000Z | 2018-10-12T19:08:27.000Z | snooze/test/test_callbacks.py | DragonHans86/github-snooze-button | bce8000aebbb231b9344cccd1ac8c2323431516c | [
"MIT"
] | 31 | 2017-04-06T00:48:25.000Z | 2022-02-15T08:16:37.000Z | import json
from textwrap import dedent
import pytest
import responses
import requests
from testfixtures import LogCapture
import snooze
import snooze.callbacks
import github_responses
class TestGithubWebhookCallback(object):
@pytest.fixture
def config(self, tmpdir):
config = tmpdir.join("config.txt... | 40.074419 | 90 | 0.636722 | 992 | 8,616 | 5.325605 | 0.132056 | 0.056786 | 0.05565 | 0.04505 | 0.89135 | 0.89116 | 0.855953 | 0.832671 | 0.814878 | 0.759417 | 0 | 0.006569 | 0.257892 | 8,616 | 214 | 91 | 40.261682 | 0.819675 | 0.063951 | 0 | 0.791209 | 0 | 0 | 0.281316 | 0.027531 | 0 | 0 | 0 | 0 | 0.104396 | 1 | 0.071429 | false | 0 | 0.049451 | 0.005495 | 0.148352 | 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 |
fe87ff8f2768210a7912a12c5d5cec18925ed728 | 144 | py | Python | rubicon/java/__init__.py | eliteraspberries/rubicon-java | 87049b4d6479158ce61bd414a4d45ab9567f8588 | [
"BSD-3-Clause"
] | 36 | 2019-04-17T11:17:14.000Z | 2022-02-11T02:09:26.000Z | rubicon/java/__init__.py | eliteraspberries/rubicon-java | 87049b4d6479158ce61bd414a4d45ab9567f8588 | [
"BSD-3-Clause"
] | 38 | 2019-12-05T03:38:24.000Z | 2022-03-29T04:50:36.000Z | rubicon/java/__init__.py | eliteraspberries/rubicon-java | 87049b4d6479158ce61bd414a4d45ab9567f8588 | [
"BSD-3-Clause"
] | 14 | 2019-05-07T15:01:42.000Z | 2022-01-03T21:04:14.000Z | from .api import * # noqa; F401, F403
from .jni import * # noqa; F401, F403
from .types import * # noqa; F401, F403
__version__ = '0.2.5'
| 24 | 40 | 0.631944 | 22 | 144 | 3.954545 | 0.545455 | 0.344828 | 0.482759 | 0.62069 | 0.505747 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 0.229167 | 144 | 5 | 41 | 28.8 | 0.594595 | 0.347222 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fea3d1352f0ec214bc77d218734cc93812b75bf6 | 18,464 | py | Python | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/system/test_system_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 1 | 2021-07-24T17:22:50.000Z | 2021-07-24T17:22:50.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/system/test_system_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-28T03:40:31.000Z | 2022-02-28T03:40:52.000Z | Incident-Response/Tools/dfirtrack/dfirtrack_api/tests/dfirtrack_main/system/test_system_api_views.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-25T08:34:51.000Z | 2022-03-16T17:29:44.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from dfirtrack_main.models import Analysisstatus, Case, Company, Contact, Dnsname, Domain, Ip, Location, Os, Osarch, Reason, Recommendation, Serviceprovider, System, Systemstatus, Systemtype, Tag, Tagcolor
imp... | 42.155251 | 205 | 0.633016 | 2,075 | 18,464 | 5.340241 | 0.068916 | 0.04783 | 0.037722 | 0.04061 | 0.875733 | 0.858406 | 0.85597 | 0.83765 | 0.815269 | 0.811208 | 0 | 0.013789 | 0.257636 | 18,464 | 437 | 206 | 42.251716 | 0.79463 | 0.239114 | 0 | 0.736842 | 0 | 0 | 0.169904 | 0.027979 | 0 | 0 | 0 | 0.002288 | 0.048246 | 1 | 0.052632 | false | 0.04386 | 0.02193 | 0 | 0.078947 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.