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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07b9d6df6ad2a7711b6cad8c7fbdef205bdec2f7 | 817,959 | py | Python | src/genie/libs/parser/iosxe/tests/ShowLispInstanceIdEthernetServer/cli/equal/golden_output_3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowLispInstanceIdEthernetServer/cli/equal/golden_output_3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowLispInstanceIdEthernetServer/cli/equal/golden_output_3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"instance_id": {
4097: {"lisp": 0},
4099: {"lisp": 0},
4100: {"lisp": 0},
8188: {
"lisp": 0,
"site_name": {
"site_uci": {
"any-mac": {
"last_register": "never",
... | 43.776238 | 68 | 0.303118 | 62,971 | 817,959 | 3.739785 | 0.059043 | 0.15832 | 0.224286 | 0.158065 | 0.926445 | 0.898292 | 0.898292 | 0.898292 | 0.89819 | 0.896534 | 0 | 0.247392 | 0.559016 | 817,959 | 18,684 | 69 | 43.778581 | 0.405487 | 0 | 0 | 0.647078 | 0 | 0 | 0.319214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
07cd5eaa7c2a511153e418ebc6b75b8566522da9 | 134,411 | py | Python | code/pages/migrations/0001_initial.py | eea/eea.docker.flis | 9bc78d9bf3436e9539f15a6a0ba9c2fd7a030907 | [
"BSD-3-Clause"
] | null | null | null | code/pages/migrations/0001_initial.py | eea/eea.docker.flis | 9bc78d9bf3436e9539f15a6a0ba9c2fd7a030907 | [
"BSD-3-Clause"
] | null | null | null | code/pages/migrations/0001_initial.py | eea/eea.docker.flis | 9bc78d9bf3436e9539f15a6a0ba9c2fd7a030907 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-28 10:33
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import multiselectfield.db.fields
import pages.abstract_models
import pages.snippets
import wagtail.wagtailcore.blocks
import wagtai... | 118.947788 | 168 | 0.10026 | 2,024 | 134,411 | 6.523221 | 0.105731 | 0.133606 | 0.17087 | 0.08748 | 0.886238 | 0.851322 | 0.84549 | 0.821859 | 0.739377 | 0.725668 | 0 | 0.003793 | 0.868567 | 134,411 | 1,129 | 169 | 119.053144 | 0.743575 | 0.000506 | 0 | 0.655971 | 1 | 0 | 0.04575 | 0.006245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008913 | 0 | 0.012478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
07ef4b91ac1e56c2175c1d474bb4ea1d9a0c9da2 | 91,040 | py | Python | tests/test_50_server.py | brunato/pysaml2 | a9a4fe9601cac56917e38197c177772084dc5ce0 | [
"Apache-2.0"
] | 249 | 2018-03-01T09:47:04.000Z | 2022-03-26T04:51:26.000Z | tests/test_50_server.py | brunato/pysaml2 | a9a4fe9601cac56917e38197c177772084dc5ce0 | [
"Apache-2.0"
] | 416 | 2018-02-21T15:18:35.000Z | 2022-03-04T16:59:36.000Z | tests/test_50_server.py | brunato/pysaml2 | a9a4fe9601cac56917e38197c177772084dc5ce0 | [
"Apache-2.0"
] | 203 | 2018-02-21T13:53:12.000Z | 2022-03-08T22:22:17.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import base64
import copy
import os
from contextlib import closing
from six.moves.urllib.parse import parse_qs
import uuid
import re
from saml2.cert import OpenSSLWrapper
from saml2.sigver import make_temp, DecryptError, EncryptError, CertificateError
from saml2.assertion ... | 38.576271 | 124 | 0.588456 | 9,941 | 91,040 | 5.106931 | 0.039936 | 0.032304 | 0.019382 | 0.026454 | 0.950264 | 0.94404 | 0.941499 | 0.939115 | 0.93748 | 0.933501 | 0 | 0.01517 | 0.308524 | 91,040 | 2,359 | 125 | 38.592624 | 0.791285 | 0.049418 | 0 | 0.874866 | 0 | 0.001074 | 0.13229 | 0.051857 | 0 | 0 | 0 | 0 | 0.296992 | 1 | 0.042965 | false | 0.004296 | 0.01826 | 0.000537 | 0.066058 | 0.025242 | 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 |
6af855685ab3713bab1551c32a5b2f165b05dbcf | 283,734 | py | Python | tests/test_edgeql_data_migration.py | jamilabreu/edgedb | 6d3f222e4c5d3300f483b4e06e8f747c6381f313 | [
"Apache-2.0"
] | null | null | null | tests/test_edgeql_data_migration.py | jamilabreu/edgedb | 6d3f222e4c5d3300f483b4e06e8f747c6381f313 | [
"Apache-2.0"
] | null | null | null | tests/test_edgeql_data_migration.py | jamilabreu/edgedb | 6d3f222e4c5d3300f483b4e06e8f747c6381f313 | [
"Apache-2.0"
] | null | null | null | #
# This source file is part of the EdgeDB open source project.
#
# Copyright 2019-present MagicStack Inc. and the EdgeDB 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... | 27.453701 | 79 | 0.390993 | 22,096 | 283,734 | 4.901837 | 0.041999 | 0.087997 | 0.048472 | 0.044206 | 0.840219 | 0.811672 | 0.763182 | 0.714812 | 0.674244 | 0.631903 | 0 | 0.017312 | 0.506101 | 283,734 | 10,334 | 80 | 27.456358 | 0.755587 | 0.032791 | 0 | 0.722746 | 0 | 0 | 0.535472 | 0.005977 | 0 | 0 | 0.000057 | 0 | 0.048661 | 1 | 0.000377 | false | 0 | 0.001257 | 0 | 0.002389 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed5299b123331663ab8d4095f44fa2080d4c581e | 7,458 | py | Python | emerald/template_generator.py | femmerling/EmeraldBox | 68f5776577f0c929ca1f5ba23f1dfe480f813037 | [
"MIT"
] | 17 | 2015-01-15T21:41:16.000Z | 2021-01-10T15:34:09.000Z | emerald/template_generator.py | femmerling/EmeraldBox | 68f5776577f0c929ca1f5ba23f1dfe480f813037 | [
"MIT"
] | null | null | null | emerald/template_generator.py | femmerling/EmeraldBox | 68f5776577f0c929ca1f5ba23f1dfe480f813037 | [
"MIT"
] | 5 | 2015-02-07T02:41:18.000Z | 2016-11-11T02:50:21.000Z | import os.path
from config import BASEDIR
from config import WHITE_SPACE
def generate_index_template(model_name, model_components):
model_name = model_name.lower()
template_path = os.path.join(BASEDIR, 'app/templates/' + model_name + '.html')
template_file = open(template_path, 'w')
template_file.writ... | 52.521127 | 203 | 0.629525 | 1,152 | 7,458 | 3.897569 | 0.086806 | 0.067706 | 0.06147 | 0.25657 | 0.830735 | 0.804454 | 0.790869 | 0.765924 | 0.752339 | 0.752339 | 0 | 0.001247 | 0.139716 | 7,458 | 142 | 204 | 52.521127 | 0.698566 | 0.001475 | 0 | 0.517544 | 1 | 0.008772 | 0.359388 | 0.024711 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026316 | null | null | 0.035088 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ed5355e81bd0d49ef118c0f9cf73d96eeb0001fa | 95 | py | Python | test/module/file.py | yawpei/pylearning | b0e8b6cf62074c284ea10a0473766fdf9892565a | [
"Apache-2.0"
] | null | null | null | test/module/file.py | yawpei/pylearning | b0e8b6cf62074c284ea10a0473766fdf9892565a | [
"Apache-2.0"
] | null | null | null | test/module/file.py | yawpei/pylearning | b0e8b6cf62074c284ea10a0473766fdf9892565a | [
"Apache-2.0"
] | null | null | null | # file.py
def create_name():
return "new_file.txt"
def create_time():
return "today"
| 11.875 | 25 | 0.652632 | 14 | 95 | 4.214286 | 0.714286 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 95 | 7 | 26 | 13.571429 | 0.786667 | 0.073684 | 0 | 0 | 0 | 0 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
ed70674cedd77b886a4a585262c099fed50a7d65 | 279,854 | py | Python | src/test/cordvtn/cordvtnTest.py | huseyinbolt/cord-tester | ed9b79916e6326a45bfaf3227b8ff922d76df4f1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/test/cordvtn/cordvtnTest.py | huseyinbolt/cord-tester | ed9b79916e6326a45bfaf3227b8ff922d76df4f1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/test/cordvtn/cordvtnTest.py | huseyinbolt/cord-tester | ed9b79916e6326a45bfaf3227b8ff922d76df4f1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
# Copyright 2017-present Open Networking Foundation
#
# 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 ag... | 60.287376 | 254 | 0.706683 | 41,043 | 279,854 | 4.598616 | 0.017689 | 0.02575 | 0.01812 | 0.022952 | 0.940638 | 0.934508 | 0.928834 | 0.921792 | 0.918513 | 0.913146 | 0 | 0.048421 | 0.2126 | 279,854 | 4,641 | 255 | 60.300366 | 0.808102 | 0.023316 | 0 | 0.701616 | 0 | 0.000437 | 0.107444 | 0.030205 | 0 | 0 | 0.000069 | 0 | 0.087374 | 0 | null | null | 0.04194 | 0.011359 | null | null | 0.070336 | 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 |
71f35311a5b0110b423b3da6080ba1cd2da1a375 | 25,555 | py | Python | pocketsmith/api/accounts_api.py | theY4Kman/python-pocketsmith | 4acb39269354d4bc376d6459756c9debc1d97d1d | [
"MIT"
] | 2 | 2020-10-12T08:54:39.000Z | 2021-06-23T11:05:33.000Z | pocketsmith/api/accounts_api.py | theY4Kman/python-pocketsmith | 4acb39269354d4bc376d6459756c9debc1d97d1d | [
"MIT"
] | 5 | 2020-10-09T21:58:04.000Z | 2021-07-11T00:59:05.000Z | pocketsmith/api/accounts_api.py | theY4Kman/python-pocketsmith | 4acb39269354d4bc376d6459756c9debc1d97d1d | [
"MIT"
] | 1 | 2021-07-03T07:35:05.000Z | 2021-07-03T07:35:05.000Z | """
PocketSmith
The public PocketSmith API # noqa: E501
The version of the OpenAPI document: 2.0+0.3.3
Contact: api@pocketsmith.com
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from pocketsmith.api_client import ApiClient, Endpoint as _Endpo... | 33.669302 | 113 | 0.477441 | 2,309 | 25,555 | 5.060632 | 0.086185 | 0.033119 | 0.026701 | 0.027728 | 0.873941 | 0.867351 | 0.863671 | 0.84938 | 0.827214 | 0.820539 | 0 | 0.00562 | 0.436001 | 25,555 | 758 | 114 | 33.71372 | 0.805107 | 0.361808 | 0 | 0.664671 | 1 | 0 | 0.211287 | 0.030125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013972 | false | 0 | 0.015968 | 0 | 0.043912 | 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 |
9c04a30b7ca09d730f69f38c3a803271d7087704 | 5,093 | py | Python | app.py | lalan0012/covid_test2 | 631e0b4533d653e7d567b9a76a71ee52b90aef58 | [
"MIT"
] | null | null | null | app.py | lalan0012/covid_test2 | 631e0b4533d653e7d567b9a76a71ee52b90aef58 | [
"MIT"
] | null | null | null | app.py | lalan0012/covid_test2 | 631e0b4533d653e7d567b9a76a71ee52b90aef58 | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__,static_folder="myCSS") #,template_folder="/content/COVID-Brain-Tumour-Project/project folder")
import numpy as np
from keras.preprocessing import image
from keras.models import load_model
from flask import redirect, url_for, request, render_template, Response, jsonify, redir... | 34.181208 | 115 | 0.648145 | 648 | 5,093 | 4.919753 | 0.203704 | 0.059285 | 0.028231 | 0.043287 | 0.814931 | 0.814931 | 0.806148 | 0.770075 | 0.770075 | 0.770075 | 0 | 0.024413 | 0.171608 | 5,093 | 148 | 116 | 34.412162 | 0.731216 | 0.223444 | 0 | 0.740741 | 0 | 0 | 0.207196 | 0.064302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.12037 | 0 | 0.203704 | 0.222222 | 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 |
9c10a86aa04f246c279bbc075ad6ac069c435605 | 904 | py | Python | 30 days of code/Day_27_Testing.py | whitebeard4708/hackerrank | 15c9b6d951144be34cd06adde42d9a8ecba23b14 | [
"Apache-2.0"
] | null | null | null | 30 days of code/Day_27_Testing.py | whitebeard4708/hackerrank | 15c9b6d951144be34cd06adde42d9a8ecba23b14 | [
"Apache-2.0"
] | null | null | null | 30 days of code/Day_27_Testing.py | whitebeard4708/hackerrank | 15c9b6d951144be34cd06adde42d9a8ecba23b14 | [
"Apache-2.0"
] | null | null | null |
from random import randint, shuffle
class TestDataEmptyArray(object):
@staticmethod
def get_array():
# complete this function
return []
class TestDataUniqueValues(object):
@staticmethod
def get_array():
# complete this function
arr = [14,76,34,5,37,7,64,6,25,41... | 21.52381 | 59 | 0.597345 | 141 | 904 | 3.780142 | 0.29078 | 0.022514 | 0.168856 | 0.172608 | 0.767355 | 0.726079 | 0.726079 | 0.726079 | 0.536585 | 0.536585 | 0 | 0.14093 | 0.262168 | 904 | 41 | 60 | 22.04878 | 0.658171 | 0.126106 | 0 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.043478 | 0.043478 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
9c2616d643410adc4da0cac6a83a91394eee4dd6 | 86 | py | Python | 01_Language/01_Functions/python/pack.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/pack.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/pack.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
import struct
def pack(f, *args):
return struct.pack(f, *args)
| 10.75 | 32 | 0.639535 | 14 | 86 | 3.928571 | 0.714286 | 0.181818 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.209302 | 86 | 7 | 33 | 12.285714 | 0.794118 | 0.151163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
9c7ed9dbf37d0a827a645cb7f6712ca63ead9e73 | 1,948 | py | Python | amy/workshops/migrations/0234_auto_20210228_0940.py | code-review-doctor/amy | 268c1a199510457891459f3ddd73fcce7fe2b974 | [
"MIT"
] | 53 | 2015-01-10T17:39:19.000Z | 2019-06-12T17:36:34.000Z | amy/workshops/migrations/0234_auto_20210228_0940.py | code-review-doctor/amy | 268c1a199510457891459f3ddd73fcce7fe2b974 | [
"MIT"
] | 1,176 | 2015-01-02T06:32:47.000Z | 2019-06-18T11:57:47.000Z | amy/workshops/migrations/0234_auto_20210228_0940.py | code-review-doctor/amy | 268c1a199510457891459f3ddd73fcce7fe2b974 | [
"MIT"
] | 44 | 2015-01-03T15:08:56.000Z | 2019-06-09T05:33:08.000Z | # Generated by Django 2.2.17 on 2021-02-28 09:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('workshops', '0233_membership_extended'),
]
operations = [
migrations.AddField(
model_name='membership',
name='instr... | 44.272727 | 148 | 0.677618 | 203 | 1,948 | 6.29064 | 0.231527 | 0.070478 | 0.108066 | 0.12686 | 0.878622 | 0.878622 | 0.878622 | 0.858262 | 0.858262 | 0.848865 | 0 | 0.013351 | 0.231006 | 1,948 | 43 | 149 | 45.302326 | 0.839119 | 0.023614 | 0 | 0.486486 | 1 | 0 | 0.374737 | 0.144737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 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 |
130b8996b43138f502e3d5ede9209e0f6d8d743b | 3,860 | gyp | Python | ui/webui/resources/js/cr/ui/compiled_resources2.gyp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | ui/webui/resources/js/cr/ui/compiled_resources2.gyp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | ui/webui/resources/js/cr/ui/compiled_resources2.gyp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'alert_overlay',
'dependencies': [
'../../compiled_resources2.gyp:cr',
'../../compiled_resou... | 32.711864 | 86 | 0.538342 | 333 | 3,860 | 5.927928 | 0.198198 | 0.273556 | 0.319149 | 0.217325 | 0.852584 | 0.847518 | 0.847518 | 0.847518 | 0.757852 | 0.738095 | 0 | 0.015688 | 0.223834 | 3,860 | 117 | 87 | 32.991453 | 0.643191 | 0.040155 | 0 | 0.578947 | 0 | 0 | 0.662253 | 0.504188 | 0 | 0 | 0 | 0 | 0.04386 | 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 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
135657bbe6eec6d4bedbfca48914a301e2f5cc68 | 219 | py | Python | src/test/handler/excel/__init__.py | HenrikPilz/BMEcatConverter | 28c6840fc70a3f04e3eae5fc7be32c7bc779c1da | [
"BSD-3-Clause"
] | 1 | 2021-03-14T08:20:51.000Z | 2021-03-14T08:20:51.000Z | src/test/handler/excel/__init__.py | HenrikPilz/BMEcatConverter | 28c6840fc70a3f04e3eae5fc7be32c7bc779c1da | [
"BSD-3-Clause"
] | 1 | 2021-11-29T09:56:18.000Z | 2021-12-01T22:01:13.000Z | src/test/handler/excel/__init__.py | HenrikPilz/BMEcatConverter | 28c6840fc70a3f04e3eae5fc7be32c7bc779c1da | [
"BSD-3-Clause"
] | 2 | 2021-08-30T08:14:34.000Z | 2021-09-28T15:10:23.000Z | from test.handler.excel.excelTransformationTest import ExcelTransformationNonStrictValidationTest
from test.handler.excel.excelTransformationsForStrictValidationTest import ExcelTransformationsForStrictValidationTest
| 73 | 119 | 0.926941 | 14 | 219 | 14.5 | 0.571429 | 0.078818 | 0.147783 | 0.197044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045662 | 219 | 2 | 120 | 109.5 | 0.971292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
1363b1cabbea6f05640d9cd39030f98cb8c06aa4 | 8,104 | py | Python | tests/gdata_tests/health/service_test.py | aigarius/aigarius-gdata | de02b42851e766cc9e90cc7636c1b0a40e3c5d27 | [
"Apache-2.0"
] | null | null | null | tests/gdata_tests/health/service_test.py | aigarius/aigarius-gdata | de02b42851e766cc9e90cc7636c1b0a40e3c5d27 | [
"Apache-2.0"
] | null | null | null | tests/gdata_tests/health/service_test.py | aigarius/aigarius-gdata | de02b42851e766cc9e90cc7636c1b0a40e3c5d27 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#
# Copyright 2009 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 41.346939 | 82 | 0.718534 | 1,001 | 8,104 | 5.677323 | 0.184815 | 0.054197 | 0.042231 | 0.053493 | 0.799226 | 0.792011 | 0.792011 | 0.790955 | 0.763505 | 0.749076 | 0 | 0.00904 | 0.167325 | 8,104 | 195 | 83 | 41.558974 | 0.833136 | 0.072433 | 0 | 0.708333 | 0 | 0 | 0.092642 | 0 | 0 | 0 | 0 | 0 | 0.256944 | 1 | 0.111111 | false | 0.0625 | 0.034722 | 0 | 0.1875 | 0.006944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
1370a0dcd2d3169f9ccd4544439c5891864f0f3d | 8,692 | py | Python | espnet/nets/pytorch_backend/transformer/attention.py | yowinzi/Compressive_Transformer | af525d8a5b3e08c083c4da59802a00c327fd8908 | [
"Apache-2.0"
] | 1 | 2021-04-14T02:15:46.000Z | 2021-04-14T02:15:46.000Z | espnet/nets/pytorch_backend/transformer/attention.py | NCTUMLlab/Chi-Hang-Leong-Online_Compressive_Transformer_for_Speech_Recognition | 3f159ba9cf1ca9baabf0782d8acef4bb7332d8b9 | [
"Apache-2.0"
] | null | null | null | espnet/nets/pytorch_backend/transformer/attention.py | NCTUMLlab/Chi-Hang-Leong-Online_Compressive_Transformer_for_Speech_Recognition | 3f159ba9cf1ca9baabf0782d8acef4bb7332d8b9 | [
"Apache-2.0"
] | 2 | 2021-03-30T06:02:08.000Z | 2021-08-06T06:59:22.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2019 Shigeki Karita
# Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
"""Multi-Head Attention layer definition."""
import math
import numpy
import torch
from torch import nn
class MultiHeadedAttention(nn.Module):
"""Multi-Head Attention laye... | 45.036269 | 112 | 0.577773 | 1,238 | 8,692 | 3.914378 | 0.099354 | 0.013619 | 0.023525 | 0.024763 | 0.917664 | 0.906934 | 0.903632 | 0.850805 | 0.838423 | 0.827074 | 0 | 0.024469 | 0.28532 | 8,692 | 192 | 113 | 45.270833 | 0.755634 | 0.304648 | 0 | 0.776923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 1 | 0.046154 | false | 0 | 0.030769 | 0 | 0.123077 | 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 |
b92017226259fea79a4605a4650174c5f269b257 | 4,347 | py | Python | accounts/signals.py | raoulcapello/timelinor | eb162ad4e11452bcd180b3bf53866c8e3f35934d | [
"MIT"
] | null | null | null | accounts/signals.py | raoulcapello/timelinor | eb162ad4e11452bcd180b3bf53866c8e3f35934d | [
"MIT"
] | 127 | 2021-08-18T10:18:27.000Z | 2022-03-31T10:19:12.000Z | accounts/signals.py | raoulcapello/timelinor | eb162ad4e11452bcd180b3bf53866c8e3f35934d | [
"MIT"
] | null | null | null | from django.db.models.signals import post_save
from django.contrib.auth import get_user_model
from timelines.models import Timeline, TimelineEvent
import datetime
User = get_user_model()
def my_first_timeline(sender, instance, created, **kwargs):
"""
Create a first, demo timeline for new users.
"""
... | 67.921875 | 518 | 0.715666 | 529 | 4,347 | 5.862004 | 0.175803 | 0.051596 | 0.077394 | 0.092873 | 0.806192 | 0.806192 | 0.791035 | 0.791035 | 0.72783 | 0.709126 | 0 | 0.014854 | 0.225673 | 4,347 | 63 | 519 | 69 | 0.906417 | 0.031516 | 0 | 0.3 | 0 | 0.12 | 0.640983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.08 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b96a95333fce1219a58a721e5f154cf26475f370 | 8,201 | py | Python | q2_feature_table/tests/filter/test_filter_features.py | cguccione/q2-feature-table | 90b75bb4848371bd640fe7c4baf14bc448d597c9 | [
"BSD-3-Clause"
] | null | null | null | q2_feature_table/tests/filter/test_filter_features.py | cguccione/q2-feature-table | 90b75bb4848371bd640fe7c4baf14bc448d597c9 | [
"BSD-3-Clause"
] | null | null | null | q2_feature_table/tests/filter/test_filter_features.py | cguccione/q2-feature-table | 90b75bb4848371bd640fe7c4baf14bc448d597c9 | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2016-2022, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | 40.800995 | 78 | 0.444946 | 844 | 8,201 | 4.270142 | 0.132701 | 0.019423 | 0.0899 | 0.046615 | 0.81576 | 0.813818 | 0.808546 | 0.778024 | 0.753607 | 0.746393 | 0 | 0.052429 | 0.365077 | 8,201 | 200 | 79 | 41.005 | 0.639716 | 0.098768 | 0 | 0.828947 | 0 | 0 | 0.082162 | 0.011464 | 0 | 0 | 0 | 0 | 0.092105 | 1 | 0.026316 | false | 0 | 0.039474 | 0 | 0.072368 | 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 |
b9a23bb7e0690bd40e864d392e0d6e9d9dbb88f4 | 3,974 | py | Python | halotools/empirical_models/abunmatch/tests/test_sample2_window_function.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T14:54:16.000Z | 2021-12-09T11:28:02.000Z | halotools/empirical_models/abunmatch/tests/test_sample2_window_function.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 579 | 2015-01-14T15:57:37.000Z | 2022-01-13T18:58:44.000Z | halotools/empirical_models/abunmatch/tests/test_sample2_window_function.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 70 | 2015-01-14T15:15:58.000Z | 2021-12-22T18:18:31.000Z | """ Module testing the sample2_window_indices function that returns the
relevant CAM window to the naive python implementation.
"""
import numpy as np
from .naive_python_cam import sample2_window_indices
def test_left_edge_window():
""" Setup: x1 == x2. Enforce proper behavior at the leftmost edge.
"""
n1... | 32.57377 | 86 | 0.674887 | 638 | 3,974 | 3.836991 | 0.10815 | 0.205882 | 0.147059 | 0.205882 | 0.905637 | 0.905637 | 0.905637 | 0.905637 | 0.905637 | 0.905637 | 0 | 0.083654 | 0.214897 | 3,974 | 121 | 87 | 32.842975 | 0.700962 | 0.104177 | 0 | 0.707317 | 0 | 0 | 0.005128 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 1 | 0.04878 | false | 0 | 0.02439 | 0 | 0.073171 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b9dfdc75356229ddbebc9973a7df858418b6fb77 | 46 | py | Python | screen_behaviour/init.py | AsgerAndersen/ByOurOwnDevices | 8b3893aab289584182bd8ded7da13abbcb14f519 | [
"MIT"
] | null | null | null | screen_behaviour/init.py | AsgerAndersen/ByOurOwnDevices | 8b3893aab289584182bd8ded7da13abbcb14f519 | [
"MIT"
] | null | null | null | screen_behaviour/init.py | AsgerAndersen/ByOurOwnDevices | 8b3893aab289584182bd8ded7da13abbcb14f519 | [
"MIT"
] | null | null | null | from .screen_behaviour import screen_behaviour | 46 | 46 | 0.913043 | 6 | 46 | 6.666667 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b9e8a7754acfef3d93cda04c62e4e809ad243ecd | 246 | py | Python | nextcord/ext/interactions/message/message_command.py | abrahammurciano/nextcord | e55be422a1b923fc498b04f82172d5a0d263eb71 | [
"MIT"
] | null | null | null | nextcord/ext/interactions/message/message_command.py | abrahammurciano/nextcord | e55be422a1b923fc498b04f82172d5a0d263eb71 | [
"MIT"
] | null | null | null | nextcord/ext/interactions/message/message_command.py | abrahammurciano/nextcord | e55be422a1b923fc498b04f82172d5a0d263eb71 | [
"MIT"
] | null | null | null | from nextcord.ext.interactions.application_command import ApplicationCommand
class MessageCommand(ApplicationCommand):
"""
TODO: Implement
https://discord.com/developers/docs/interactions/application-commands#message-commands
""" | 35.142857 | 90 | 0.792683 | 23 | 246 | 8.434783 | 0.826087 | 0.237113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 246 | 7 | 91 | 35.142857 | 0.885845 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b9f29412f9d11e7cf345f39fa16f88272647c0da | 150 | py | Python | uq360/algorithms/blackbox_metamodel/__init__.py | rpestourie/UQ360 | 85e2cd33c65687119db824c8d6770f05c4e509e4 | [
"Apache-2.0"
] | null | null | null | uq360/algorithms/blackbox_metamodel/__init__.py | rpestourie/UQ360 | 85e2cd33c65687119db824c8d6770f05c4e509e4 | [
"Apache-2.0"
] | null | null | null | uq360/algorithms/blackbox_metamodel/__init__.py | rpestourie/UQ360 | 85e2cd33c65687119db824c8d6770f05c4e509e4 | [
"Apache-2.0"
] | null | null | null | from .blackbox_metamodel_regression import BlackboxMetamodelRegression
from .blackbox_metamodel_classification import BlackboxMetamodelClassification
| 50 | 78 | 0.933333 | 12 | 150 | 11.333333 | 0.666667 | 0.176471 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 150 | 2 | 79 | 75 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 1 | 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 |
6a0eb8de80c2e638bf24b2808e6384b356b35777 | 8,673 | py | Python | tracardi/tests/unit/test_merger.py | ryomahan/read-tracardi | 216b05395d70a869593a60e2804e0a71b58dfc8f | [
"MIT"
] | 29 | 2021-04-17T06:04:46.000Z | 2021-11-25T10:22:43.000Z | tracardi/tests/unit/test_merger.py | ryomahan/read-tracardi | 216b05395d70a869593a60e2804e0a71b58dfc8f | [
"MIT"
] | 77 | 2021-04-03T21:20:04.000Z | 2021-10-17T10:12:23.000Z | tracardi/tests/unit/test_merger.py | ryomahan/read-tracardi | 216b05395d70a869593a60e2804e0a71b58dfc8f | [
"MIT"
] | 17 | 2021-06-29T13:13:18.000Z | 2021-10-17T10:52:57.000Z | from datetime import datetime
from tracardi.service.merger import merge
def test_merger_multiple_values():
a = {"a": None}
b = {"a": .2}
c = {"a": [1]}
d = {"a": "3"}
m = merge({}, [a, b, c, d])
assert set(m['a']).intersection({.2, 1, "3"}) == {.2, 1, "3"}
def test_merger_none_values():
... | 21.521092 | 88 | 0.335293 | 1,335 | 8,673 | 2.125094 | 0.041948 | 0.102926 | 0.145576 | 0.121255 | 0.865703 | 0.81565 | 0.808248 | 0.77018 | 0.764188 | 0.736341 | 0 | 0.053179 | 0.323533 | 8,673 | 402 | 89 | 21.574627 | 0.430373 | 0.031823 | 0 | 0.786765 | 0 | 0 | 0.045268 | 0 | 0 | 0 | 0 | 0 | 0.216912 | 1 | 0.073529 | false | 0 | 0.007353 | 0 | 0.080882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e071ae46387661fb262c4873fe39b493e313e755 | 41,899 | py | Python | tests/test_basic_sensor_model.py | bgorr/instrupy | e3dca871ce2dcd2ef279898fcc36bf9d18f0c243 | [
"Apache-2.0"
] | null | null | null | tests/test_basic_sensor_model.py | bgorr/instrupy | e3dca871ce2dcd2ef279898fcc36bf9d18f0c243 | [
"Apache-2.0"
] | null | null | null | tests/test_basic_sensor_model.py | bgorr/instrupy | e3dca871ce2dcd2ef279898fcc36bf9d18f0c243 | [
"Apache-2.0"
] | null | null | null | """Unit tests for instrupy.basic_sensor_model.
"""
import unittest
import numpy as np
import random
from deepdiff import DeepDiff
from instrupy.basic_sensor_model import BasicSensorModel
from instrupy.util import Orientation, ViewGeometry, SphericalGeometry, ReferenceFrame, SyntheticDataConfiguration, Maneuver
RE = 6... | 75.087814 | 234 | 0.645481 | 5,635 | 41,899 | 4.664241 | 0.055368 | 0.047293 | 0.083704 | 0.107142 | 0.898109 | 0.88795 | 0.876955 | 0.870106 | 0.861431 | 0.84743 | 0 | 0.049916 | 0.222058 | 41,899 | 557 | 235 | 75.222621 | 0.756435 | 0.213585 | 0 | 0.724051 | 0 | 0.010127 | 0.18944 | 0.022624 | 0 | 0 | 0 | 0.001795 | 0.407595 | 1 | 0.048101 | false | 0.017722 | 0.01519 | 0.002532 | 0.068354 | 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 |
e076407824c3f871dfe6754557da9e2eccb0f00c | 75 | py | Python | screens/objects/__init__.py | Blackth01/GamQuiz | cbf40dbd40a2dc5c04a9087c465dad90a59614db | [
"MIT"
] | 1 | 2019-07-08T00:57:57.000Z | 2019-07-08T00:57:57.000Z | screens/objects/__init__.py | Blackth01/GamQuiz | cbf40dbd40a2dc5c04a9087c465dad90a59614db | [
"MIT"
] | null | null | null | screens/objects/__init__.py | Blackth01/GamQuiz | cbf40dbd40a2dc5c04a9087c465dad90a59614db | [
"MIT"
] | null | null | null | from screens.objects.dados import *
from screens.objects.pergunta import *
| 25 | 38 | 0.813333 | 10 | 75 | 6.1 | 0.6 | 0.360656 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 39 | 37.5 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0ebc6ab9998db144234c2601c24861b2c48fa339 | 201 | py | Python | networkx/algorithms/operators/__init__.py | jebogaert/networkx | 8563c3313223a53c548530f39c8cfb6e433539d3 | [
"BSD-3-Clause"
] | 10,024 | 2015-01-01T13:06:43.000Z | 2022-03-31T12:45:25.000Z | networkx/algorithms/operators/__init__.py | jebogaert/networkx | 8563c3313223a53c548530f39c8cfb6e433539d3 | [
"BSD-3-Clause"
] | 3,191 | 2015-01-01T18:13:11.000Z | 2022-03-31T22:06:00.000Z | networkx/algorithms/operators/__init__.py | jebogaert/networkx | 8563c3313223a53c548530f39c8cfb6e433539d3 | [
"BSD-3-Clause"
] | 3,272 | 2015-01-01T05:04:53.000Z | 2022-03-31T17:46:35.000Z | from networkx.algorithms.operators.all import *
from networkx.algorithms.operators.binary import *
from networkx.algorithms.operators.product import *
from networkx.algorithms.operators.unary import *
| 40.2 | 51 | 0.840796 | 24 | 201 | 7.041667 | 0.375 | 0.284024 | 0.52071 | 0.733728 | 0.656805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079602 | 201 | 4 | 52 | 50.25 | 0.913514 | 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 |
0ed33d11a8fa5c79dd0d91abb6b9d1f561a683c4 | 31,586 | py | Python | a10_octavia/tests/unit/controller/worker/tasks/test_a10_network_tasks.py | rahulkatre-a10/a10-octavia | cb210069afa5fb3fb2881bbb0aa94da6b6cd5789 | [
"Apache-2.0"
] | null | null | null | a10_octavia/tests/unit/controller/worker/tasks/test_a10_network_tasks.py | rahulkatre-a10/a10-octavia | cb210069afa5fb3fb2881bbb0aa94da6b6cd5789 | [
"Apache-2.0"
] | null | null | null | a10_octavia/tests/unit/controller/worker/tasks/test_a10_network_tasks.py | rahulkatre-a10/a10-octavia | cb210069afa5fb3fb2881bbb0aa94da6b6cd5789 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020, A10 Networks
#
# 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... | 51.275974 | 99 | 0.719274 | 4,144 | 31,586 | 5.086149 | 0.061052 | 0.041752 | 0.044836 | 0.043839 | 0.879347 | 0.85776 | 0.842672 | 0.831285 | 0.820088 | 0.803293 | 0 | 0.030115 | 0.195751 | 31,586 | 615 | 100 | 51.35935 | 0.799591 | 0.018299 | 0 | 0.737589 | 0 | 0 | 0.091446 | 0.070504 | 0 | 0 | 0 | 0 | 0.088652 | 1 | 0.047872 | false | 0.003546 | 0.024823 | 0 | 0.078014 | 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 |
0ef369080f185bb9d2bbafca02ca6c9e0c3541c5 | 1,778 | py | Python | src/plot.py | steveandpeggyb/walking-salesman | 0d8f9c5285f906774d67d81f8ae9c1b4b75098ef | [
"MIT"
] | 1,760 | 2018-01-22T13:41:46.000Z | 2022-03-30T07:13:32.000Z | src/plot.py | bulentongun/som-tsp | 0d8f9c5285f906774d67d81f8ae9c1b4b75098ef | [
"MIT"
] | 6 | 2018-01-21T17:33:29.000Z | 2021-01-23T19:29:47.000Z | src/plot.py | bulentongun/som-tsp | 0d8f9c5285f906774d67d81f8ae9c1b4b75098ef | [
"MIT"
] | 347 | 2018-01-21T17:22:35.000Z | 2022-02-17T07:22:07.000Z | import matplotlib.pyplot as plt
import matplotlib as mpl
def plot_network(cities, neurons, name='diagram.png', ax=None):
"""Plot a graphical representation of the problem"""
mpl.rcParams['agg.path.chunksize'] = 10000
if not ax:
fig = plt.figure(figsize=(5, 5), frameon = False)
axis = fig.a... | 34.862745 | 90 | 0.590551 | 252 | 1,778 | 4.126984 | 0.301587 | 0.034615 | 0.053846 | 0.076923 | 0.859615 | 0.859615 | 0.859615 | 0.859615 | 0.859615 | 0.788462 | 0 | 0.038821 | 0.21766 | 1,778 | 50 | 91 | 35.56 | 0.708843 | 0.056243 | 0 | 0.777778 | 0 | 0 | 0.092382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.166667 | 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 |
1610a416b91b19c56aac02be25020e3d3d5b521e | 841 | py | Python | src/kaa/transitions.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 17 | 2019-07-10T12:24:53.000Z | 2022-02-19T21:39:19.000Z | src/kaa/transitions.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 29 | 2019-07-10T12:30:58.000Z | 2021-12-30T15:33:44.000Z | src/kaa/transitions.py | mmicek/kaa | 3583edf19b0e453c7de6c316a08d9eda72a1fcfc | [
"MIT"
] | 8 | 2019-03-26T23:08:40.000Z | 2022-01-10T03:39:59.000Z | from ._kaa import (
NodeTransition, NodeTransitionsSequence, NodeTransitionsParallel,
NodeCustomTransition, AttributeTransitionMethod, NodePositionTransition,
NodeRotationTransition, NodeScaleTransition, NodeColorTransition,
BodyNodeVelocityTransition, BodyNodeAngularVelocityTransition, NodeTransitionDe... | 46.722222 | 87 | 0.821641 | 34 | 841 | 20.176471 | 0.558824 | 0.107872 | 0.174927 | 0.233236 | 0.976676 | 0.976676 | 0.976676 | 0.976676 | 0.976676 | 0.976676 | 0 | 0 | 0.10107 | 841 | 17 | 88 | 49.470588 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0.398335 | 0.26635 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 1 | 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 | 8 |
161f50fed200559c8174c71ca3ad6e1160d2df4d | 25,030 | py | Python | tests/ci/ci_config.py | newly12/ClickHouse | e1c2e629d8c077193f951cdb02fac9c0b1631c65 | [
"Apache-2.0"
] | 1 | 2020-10-01T17:13:22.000Z | 2020-10-01T17:13:22.000Z | tests/ci/ci_config.py | zhaoqiang75/ClickHouse | c86b43c7efc1c0cc9c66eb3c7d1274326378ce1b | [
"Apache-2.0"
] | null | null | null | tests/ci/ci_config.py | zhaoqiang75/ClickHouse | c86b43c7efc1c0cc9c66eb3c7d1274326378ce1b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
CI_CONFIG = {
"build_config": [
{
"compiler": "clang-13",
"build_type": "",
"sanitizer": "",
"package_type": "deb",
"bundled": "bundled",
"splitted": "unsplitted",
"alien_pkgs": True,
"tid... | 35.006993 | 117 | 0.428206 | 1,637 | 25,030 | 6.337202 | 0.051313 | 0.072874 | 0.127241 | 0.130808 | 0.938693 | 0.93503 | 0.926644 | 0.924523 | 0.916908 | 0.911606 | 0 | 0.008903 | 0.430084 | 25,030 | 714 | 118 | 35.056022 | 0.718332 | 0.000839 | 0 | 0.730986 | 0 | 0 | 0.419226 | 0.044906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001408 | false | 0 | 0 | 0 | 0.004225 | 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 |
1676e0fc9a16d29b4b083d4f9396b24e10f51606 | 35,013 | py | Python | src/v5.1/resources/swagger_client/api/locations_api.py | xmarcosx/edfi-notebook | 0564ebdf1d0f45a9d25056e7e61369f0a837534d | [
"Apache-2.0"
] | 2 | 2021-04-27T17:18:17.000Z | 2021-04-27T19:14:39.000Z | src/v5.1/resources/swagger_client/api/locations_api.py | xmarcosx/edfi-notebook | 0564ebdf1d0f45a9d25056e7e61369f0a837534d | [
"Apache-2.0"
] | null | null | null | src/v5.1/resources/swagger_client/api/locations_api.py | xmarcosx/edfi-notebook | 0564ebdf1d0f45a9d25056e7e61369f0a837534d | [
"Apache-2.0"
] | 1 | 2022-01-06T09:43:11.000Z | 2022-01-06T09:43:11.000Z | # coding: utf-8
"""
Ed-Fi Operational Data Store API
The Ed-Fi ODS / API enables applications to read and write education data stored in an Ed-Fi ODS through a secure REST interface. *** > *Note: Consumers of ODS / API information should sanitize all data for display and storage. The ODS / API provides reas... | 50.018571 | 493 | 0.643789 | 4,334 | 35,013 | 5.013152 | 0.076142 | 0.045657 | 0.01795 | 0.019883 | 0.939522 | 0.92797 | 0.918627 | 0.910894 | 0.904589 | 0.901873 | 0 | 0.015927 | 0.273727 | 35,013 | 699 | 494 | 50.090129 | 0.838491 | 0.429069 | 0 | 0.77748 | 0 | 0.013405 | 0.219837 | 0.056467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034853 | false | 0 | 0.010724 | 0 | 0.096515 | 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 |
1683d311fd97d76cbce691765d75d8fa12cdca23 | 103,445 | py | Python | GAREEN-CLONER.py | CLB-09/GAREEN-TOOLS | 1d9349c835294329a2b140f1df21b95a509d7128 | [
"Apache-2.0"
] | null | null | null | GAREEN-CLONER.py | CLB-09/GAREEN-TOOLS | 1d9349c835294329a2b140f1df21b95a509d7128 | [
"Apache-2.0"
] | null | null | null | GAREEN-CLONER.py | CLB-09/GAREEN-TOOLS | 1d9349c835294329a2b140f1df21b95a509d7128 | [
"Apache-2.0"
] | null | null | null | import marshal
exec(marshal.loads('''c\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00sg\x04\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x01\x00l\x01\x00Z\x01\x00d\x00\x00d\x01\x00l\x02\x00Z\x02\x00d\x00\x00d\x01\x00l\x03\x00Z\x03\x00d\x00\x00d\x01\x00l\x04\x00Z\x04\x00d\x00\x00d\x01\x00l\x05\x00... | 51,722.5 | 103,430 | 0.719677 | 22,670 | 103,445 | 3.253727 | 0.050904 | 0.248014 | 0.118598 | 0.063122 | 0.773474 | 0.715707 | 0.641726 | 0.577967 | 0.546162 | 0.507917 | 0 | 0.378925 | 0.02903 | 103,445 | 2 | 103,430 | 51,722.5 | 0.355449 | 0 | 0 | 0 | 0 | 0.5 | 0.999584 | 0.729018 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 13 |
1684c76c54fd838fa0beefe73832135730351c30 | 321 | py | Python | src/pylogctx/__init__.py | bradykieffer/pylogctx | 1ae9e2dfd27104f3c39e72161a8ee638130ac99a | [
"BSD-2-Clause"
] | 18 | 2017-12-19T10:14:51.000Z | 2020-06-11T11:43:41.000Z | src/pylogctx/__init__.py | bradykieffer/pylogctx | 1ae9e2dfd27104f3c39e72161a8ee638130ac99a | [
"BSD-2-Clause"
] | 25 | 2017-12-12T17:10:37.000Z | 2021-06-11T18:33:38.000Z | src/pylogctx/__init__.py | bradykieffer/pylogctx | 1ae9e2dfd27104f3c39e72161a8ee638130ac99a | [
"BSD-2-Clause"
] | 7 | 2017-12-21T10:52:26.000Z | 2021-06-11T18:17:32.000Z | from .core import (
AdapterNotFound,
AddContextFilter,
AddContextFormatter,
ExcInfoFilter,
LazyAccessor,
context,
log_adapter,
)
__all__ = [
'AdapterNotFound',
'AddContextFilter',
'AddContextFormatter',
'ExcInfoFilter',
'LazyAccessor',
'context',
'log_adapter',
]... | 16.05 | 26 | 0.64486 | 20 | 321 | 10.05 | 0.6 | 0.308458 | 0.497512 | 0.626866 | 0.915423 | 0.915423 | 0.915423 | 0.915423 | 0 | 0 | 0 | 0 | 0.249221 | 321 | 19 | 27 | 16.894737 | 0.834025 | 0 | 0 | 0 | 0 | 0 | 0.28972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
16abc1dbd76e44fb27d3ec1d724a6acc4aaae1c3 | 112 | py | Python | src/__init__.py | fabyanMikhael/PIL-Stacks | 65063e02a6d156a9f1b1370d57296c63699bd408 | [
"MIT"
] | 2 | 2021-07-18T22:40:42.000Z | 2021-07-19T23:11:58.000Z | src/__init__.py | fabyanMikhael/PIL-Stacks | 65063e02a6d156a9f1b1370d57296c63699bd408 | [
"MIT"
] | 3 | 2021-05-23T07:30:28.000Z | 2021-05-26T02:06:21.000Z | src/__init__.py | fabyanMikhael/PIL-Stacks | 65063e02a6d156a9f1b1370d57296c63699bd408 | [
"MIT"
] | 3 | 2021-05-23T03:50:10.000Z | 2021-05-23T03:59:30.000Z | from src.pil_stacks.Editor import *
from src.pil_stacks.Layers import *
from src.pil_stacks.PIL_Stacks import *
| 28 | 39 | 0.8125 | 19 | 112 | 4.578947 | 0.368421 | 0.413793 | 0.344828 | 0.551724 | 0.505747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 112 | 3 | 40 | 37.333333 | 0.87 | 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 |
16c87b5e141afb9de11310a42f1032fc35cfcaa7 | 181 | py | Python | uamobile/cidrdata/docomo.py | east301/wsgiuseragentmobile-python3 | ae005c706006144d81e73b893e29f64c0a3101e9 | [
"MIT"
] | null | null | null | uamobile/cidrdata/docomo.py | east301/wsgiuseragentmobile-python3 | ae005c706006144d81e73b893e29f64c0a3101e9 | [
"MIT"
] | null | null | null | uamobile/cidrdata/docomo.py | east301/wsgiuseragentmobile-python3 | ae005c706006144d81e73b893e29f64c0a3101e9 | [
"MIT"
] | null | null | null | DATA = [ '210.153.84.0/24',
'210.136.161.0/24',
'210.153.86.0/24',
'124.146.174.0/24',
'124.146.175.0/24',
'202.229.176.0/24',
'202.229.177.0/24',
'202.229.178.0/24']
| 20.111111 | 27 | 0.541436 | 41 | 181 | 2.390244 | 0.439024 | 0.244898 | 0.183673 | 0.27551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.602564 | 0.138122 | 181 | 8 | 28 | 22.625 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0.696133 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
16ce8312bb8fe9c9bc4bdbb458b86e2b724a45af | 162 | py | Python | abfahrt/testutils/test_generator/__init__.py | Team-Zugig-zum-Erfolg/InformatiCup | 788076ac38bf6d8f462465b7fb96db14d13bed30 | [
"MIT"
] | 1 | 2022-01-30T14:30:02.000Z | 2022-01-30T14:30:02.000Z | abfahrt/testutils/test_generator/__init__.py | Team-Zugig-zum-Erfolg/InformatiCup | 788076ac38bf6d8f462465b7fb96db14d13bed30 | [
"MIT"
] | null | null | null | abfahrt/testutils/test_generator/__init__.py | Team-Zugig-zum-Erfolg/InformatiCup | 788076ac38bf6d8f462465b7fb96db14d13bed30 | [
"MIT"
] | null | null | null | """
This is the module test_generator for automatic testing/validating random generated input
"""
from abfahrt.testutils.test_generator import test_generator
| 32.4 | 93 | 0.814815 | 21 | 162 | 6.142857 | 0.809524 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 162 | 4 | 94 | 40.5 | 0.914894 | 0.549383 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
16d84b193b051a338115297d671ff95d2ffad501 | 33 | py | Python | SSD/SSD_FPN_GIoU/model/__init__.py | ForrestPi/ObjectDetection | 54e0821e73f67be5360c36f01229a123c34ab3b3 | [
"MIT"
] | 12 | 2020-03-25T01:24:22.000Z | 2021-09-18T06:40:16.000Z | model_ssd/__init__.py | Yang-Zhaowei/PowerBank | 0d6766038bd3ee37036e4255713d5c06e81a83ed | [
"MIT"
] | 1 | 2020-04-22T07:52:36.000Z | 2020-04-22T07:52:36.000Z | model_ssd/__init__.py | Yang-Zhaowei/PowerBank | 0d6766038bd3ee37036e4255713d5c06e81a83ed | [
"MIT"
] | 4 | 2020-03-25T01:24:26.000Z | 2020-09-20T11:29:09.000Z | from .build_ssd import build_ssd
| 16.5 | 32 | 0.848485 | 6 | 33 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bc87e0641f19b204da0ff231a8fc8709ac1fe854 | 148 | py | Python | player.py | martaJesztak/poker-player-texas-rangers | 32a1efc19ebea01e8bbabf95d4828ae419bcba95 | [
"MIT"
] | null | null | null | player.py | martaJesztak/poker-player-texas-rangers | 32a1efc19ebea01e8bbabf95d4828ae419bcba95 | [
"MIT"
] | null | null | null | player.py | martaJesztak/poker-player-texas-rangers | 32a1efc19ebea01e8bbabf95d4828ae419bcba95 | [
"MIT"
] | null | null | null | class Player:
VERSION = "fuck"
def betRequest(self, game_state):
return 10000000
def showdown(self, game_state):
pass
| 16.444444 | 37 | 0.621622 | 17 | 148 | 5.294118 | 0.764706 | 0.177778 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.297297 | 148 | 8 | 38 | 18.5 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
bc8c53670087794a343bd2008386076c0630fa45 | 34,684 | py | Python | pyocd/target/builtin/target_CY8C6xxA.py | jeromecoutant/pyOCD | 304dfa804231dbe1ea9a9a2d5d7c44eaf9531de1 | [
"Apache-2.0"
] | null | null | null | pyocd/target/builtin/target_CY8C6xxA.py | jeromecoutant/pyOCD | 304dfa804231dbe1ea9a9a2d5d7c44eaf9531de1 | [
"Apache-2.0"
] | null | null | null | pyocd/target/builtin/target_CY8C6xxA.py | jeromecoutant/pyOCD | 304dfa804231dbe1ea9a9a2d5d7c44eaf9531de1 | [
"Apache-2.0"
] | null | null | null | # pyOCD debugger
# Copyright (c) 2006-2013 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# 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... | 68.681188 | 103 | 0.718602 | 2,934 | 34,684 | 8.421609 | 0.214724 | 0.944595 | 1.41325 | 1.879477 | 0.769962 | 0.760654 | 0.74653 | 0.735845 | 0.735845 | 0.722004 | 0 | 0.603911 | 0.202428 | 34,684 | 504 | 104 | 68.81746 | 0.289303 | 0.033157 | 0 | 0.61678 | 0 | 0 | 0.025224 | 0 | 0 | 0 | 0.605701 | 0 | 0 | 1 | 0.013605 | false | 0 | 0.022676 | 0 | 0.054422 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
bcb97e2601de7c72d09ffa9907024254801a81f0 | 3,581 | py | Python | graphtheory/hamiltonian/tests/test_hamilton.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 36 | 2015-09-20T20:55:39.000Z | 2021-09-20T05:49:03.000Z | graphtheory/hamiltonian/tests/test_hamilton.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T21:41:46.000Z | 2020-02-12T03:18:59.000Z | graphtheory/hamiltonian/tests/test_hamilton.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 9 | 2016-09-12T07:57:27.000Z | 2022-03-21T16:15:39.000Z | #!/usr/bin/python
import unittest
from graphtheory.structures.edges import Edge
from graphtheory.structures.graphs import Graph
from graphtheory.hamiltonian.hamilton import *
# 0 --------- 5
# | \ / |
# | 1 --- 4 |
# | / \ |
# 2 --------- 3
class TestHamiltonianCycle(unittest.TestCase):
def setUp(... | 31.690265 | 74 | 0.569394 | 465 | 3,581 | 4.277419 | 0.144086 | 0.030166 | 0.100553 | 0.030166 | 0.825038 | 0.819507 | 0.819507 | 0.804927 | 0.804927 | 0.793364 | 0 | 0.048877 | 0.291539 | 3,581 | 112 | 75 | 31.973214 | 0.73512 | 0.129573 | 0 | 0.777778 | 0 | 0 | 0.002586 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.138889 | false | 0.027778 | 0.055556 | 0 | 0.222222 | 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 |
bcd12628eba46749fed36e7c829ef0029b0eb1e8 | 1,240 | py | Python | example/tests/test_imports.py | DKorytkin/pytest-never-sleep | e655fbff4d51b8a7e41a56e584dae55013f7160f | [
"MIT"
] | null | null | null | example/tests/test_imports.py | DKorytkin/pytest-never-sleep | e655fbff4d51b8a7e41a56e584dae55013f7160f | [
"MIT"
] | 2 | 2021-05-19T07:55:13.000Z | 2021-05-21T09:49:05.000Z | example/tests/test_imports.py | DKorytkin/pytest-never-sleep | e655fbff4d51b8a7e41a56e584dae55013f7160f | [
"MIT"
] | null | null | null | import time
import pytest
from diff_imports.import_from_module import do_some_stuff
def test_without_mark_and_fixture():
do_some_stuff() # pass if without --disable-sleep
@pytest.mark.usefixtures("disable_time_sleep")
def test_disable_time_sleep_fixture(do):
assert do is None # error
@pytest.mark.usefi... | 24.8 | 58 | 0.742742 | 182 | 1,240 | 4.703297 | 0.175824 | 0.21028 | 0.149533 | 0.149533 | 0.880841 | 0.880841 | 0.803738 | 0.78271 | 0.78271 | 0.773364 | 0 | 0.003887 | 0.170161 | 1,240 | 49 | 59 | 25.306122 | 0.827988 | 0.091129 | 0 | 0.5625 | 0 | 0 | 0.062724 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.3125 | false | 0 | 0.09375 | 0 | 0.4375 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bce50394f4967df79059e46b924c303b35172e4e | 7,785 | py | Python | tests/unit/bokeh/plotting/test_graph.py | samwill/bokeh | 228132eba4b696b91b2a77f7e9d07771ba868093 | [
"BSD-3-Clause"
] | 1 | 2021-05-03T15:19:05.000Z | 2021-05-03T15:19:05.000Z | tests/unit/bokeh/plotting/test_graph.py | samwill/bokeh | 228132eba4b696b91b2a77f7e9d07771ba868093 | [
"BSD-3-Clause"
] | 3 | 2021-09-08T03:16:42.000Z | 2022-03-12T00:57:18.000Z | tests/unit/bokeh/plotting/test_graph.py | samwill/bokeh | 228132eba4b696b91b2a77f7e9d07771ba868093 | [
"BSD-3-Clause"
] | 2 | 2021-01-12T18:22:24.000Z | 2021-10-30T00:32:02.000Z | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | 40.546875 | 82 | 0.521516 | 969 | 7,785 | 3.957688 | 0.110423 | 0.120469 | 0.131421 | 0.160626 | 0.837027 | 0.788787 | 0.779661 | 0.747327 | 0.731943 | 0.698827 | 0 | 0.042286 | 0.170713 | 7,785 | 191 | 83 | 40.759162 | 0.551735 | 0.193449 | 0 | 0.516667 | 0 | 0 | 0.052808 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.066667 | false | 0 | 0.041667 | 0 | 0.108333 | 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 |
bcf5ffcfdeb94429ea3d58dd16faadca39d534cf | 20,280 | py | Python | tests/test_logs.py | poleguy/mqttSqlLite | 3041e01a05639274621767dcdbe16035657b1bc5 | [
"MIT"
] | 14 | 2017-08-29T02:51:19.000Z | 2021-08-19T01:25:52.000Z | tests/test_logs.py | poleguy/mqttSqlLite | 3041e01a05639274621767dcdbe16035657b1bc5 | [
"MIT"
] | 1 | 2020-05-05T10:05:21.000Z | 2020-05-06T12:40:57.000Z | tests/test_logs.py | poleguy/mqttSqlLite | 3041e01a05639274621767dcdbe16035657b1bc5 | [
"MIT"
] | 5 | 2019-10-29T00:49:24.000Z | 2021-03-19T16:37:30.000Z |
import unittest
from playhouse.test_utils import test_database
from peewee import *
from datetime import datetime, timedelta
from mqttsqlite.orm.models import Log, Topic
from tests.utils import msg
from mqttsqlite.core.logs_controller import LogController
import mqttsqlite.settings.private_settings as Settings
import ... | 63.17757 | 107 | 0.649556 | 2,491 | 20,280 | 5.101967 | 0.047371 | 0.067983 | 0.121803 | 0.10827 | 0.939098 | 0.931781 | 0.927768 | 0.923047 | 0.908883 | 0.907074 | 0 | 0.024958 | 0.201824 | 20,280 | 320 | 108 | 63.375 | 0.760178 | 0 | 0 | 0.758621 | 0 | 0 | 0.088515 | 0 | 0 | 0 | 0 | 0 | 0.127586 | 1 | 0.086207 | false | 0.010345 | 0.031034 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bcf8290baccdc77a13495b58d0e847598e72ca32 | 78 | py | Python | function/python_3_9/src/error/__init__.py | aws-samples/amazon-s3-object-lambda-default-configuration | 3908515d48d5e42fd9bb6dadc1dc9fe5132a1425 | [
"MIT-0"
] | 13 | 2021-11-23T17:07:13.000Z | 2022-03-08T16:57:45.000Z | function/python_3_9/src/error/__init__.py | aws-samples/amazon-s3-object-lambda-default-configuration | 3908515d48d5e42fd9bb6dadc1dc9fe5132a1425 | [
"MIT-0"
] | 1 | 2022-01-13T14:29:52.000Z | 2022-01-13T14:29:52.000Z | function/python_3_9/src/error/__init__.py | aws-samples/amazon-s3-object-lambda-default-configuration | 3908515d48d5e42fd9bb6dadc1dc9fe5132a1425 | [
"MIT-0"
] | null | null | null | from .error_response import write_error_response_for_s3, write_error_response
| 39 | 77 | 0.910256 | 12 | 78 | 5.333333 | 0.583333 | 0.609375 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.064103 | 78 | 1 | 78 | 78 | 0.863014 | 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 |
4c58e99e6876b8e962fa34a416141a5b3a365cfe | 12,124 | py | Python | tests/test_record.py | ramomar/gaston-backend | 1b73b475478fdecf424e2d5f21fe4eb4472eb587 | [
"MIT"
] | null | null | null | tests/test_record.py | ramomar/gaston-backend | 1b73b475478fdecf424e2d5f21fe4eb4472eb587 | [
"MIT"
] | null | null | null | tests/test_record.py | ramomar/gaston-backend | 1b73b475478fdecf424e2d5f21fe4eb4472eb587 | [
"MIT"
] | null | null | null | import json
import uuid
from decimal import Decimal
from functions import record
def test_get_records_empty():
"""it should return an empty list when there are no records"""
event = {}
actual = record.get_records(event, context=None)
expected_body = {
'records': [],
'nextPage': None,
... | 29.355932 | 127 | 0.530848 | 1,183 | 12,124 | 5.253593 | 0.121724 | 0.050684 | 0.030893 | 0.032663 | 0.833307 | 0.81609 | 0.782784 | 0.782784 | 0.77313 | 0.760579 | 0 | 0.039894 | 0.313593 | 12,124 | 412 | 128 | 29.427184 | 0.706921 | 0.03225 | 0 | 0.715818 | 0 | 0 | 0.298196 | 0.054971 | 0 | 0 | 0 | 0 | 0.045576 | 1 | 0.018767 | false | 0 | 0.010724 | 0 | 0.029491 | 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 |
d5c9e26dd2859c1e1608552fb159904d85c54030 | 14,217 | py | Python | userbot/plugins/execmod.py | sakhiofsakshi/catuserbot | 4703928a4b4184e3118ffae7f853f988117fa66f | [
"MIT"
] | 9 | 2021-05-16T23:40:05.000Z | 2022-03-26T02:08:17.000Z | userbot/plugins/execmod.py | sakhiofsakshi/catuserbot | 4703928a4b4184e3118ffae7f853f988117fa66f | [
"MIT"
] | null | null | null | userbot/plugins/execmod.py | sakhiofsakshi/catuserbot | 4703928a4b4184e3118ffae7f853f988117fa66f | [
"MIT"
] | 47 | 2021-03-16T17:16:25.000Z | 2022-03-29T12:59:36.000Z | """COMMAND : .cpu, .uptime, .suicide, .env, .pip, .neofetch, .coffeehouse, .date, .stdplugins, .fast, .iwantsex, .telegram, .listpip, .pyfiglet, .kowsay, .name, .faast, .daddyjoke, .fortune, .qquote, .fakeid, .vpn, .kwot, .qpro, .covid"""
# This Source Code Form is subject to the terms of the Mozilla Public
# License, ... | 32.833718 | 238 | 0.591264 | 1,747 | 14,217 | 4.586148 | 0.123068 | 0.035821 | 0.034948 | 0.037444 | 0.812781 | 0.806166 | 0.806166 | 0.806166 | 0.806166 | 0.806166 | 0 | 0.007481 | 0.304213 | 14,217 | 432 | 239 | 32.909722 | 0.802467 | 0.094675 | 0 | 0.743169 | 0 | 0 | 0.070365 | 0.014026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030055 | 0 | 0.060109 | 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 |
9135aa692eef59de085687042120fe5e6552307c | 5,231 | py | Python | tests/test_yamlindexer_search.py | ruizink/python-yamlindexer | 50ed2d863e82ae25ed91747c935401f1c1b29bbf | [
"MIT"
] | 1 | 2022-03-28T17:47:16.000Z | 2022-03-28T17:47:16.000Z | tests/test_yamlindexer_search.py | ruizink/python-yamlindexer | 50ed2d863e82ae25ed91747c935401f1c1b29bbf | [
"MIT"
] | null | null | null | tests/test_yamlindexer_search.py | ruizink/python-yamlindexer | 50ed2d863e82ae25ed91747c935401f1c1b29bbf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from yamlindexer.core import YAMLIndex
from unittest import TestCase
import pytest
t = TestCase()
yi = YAMLIndex(root_path='tests/fixtures')
def pytest_configure(config):
config.addinivalue_line(
"markers", "env(name): mark test to run only on named environment"
)
@pytest.... | 24.330233 | 89 | 0.650354 | 656 | 5,231 | 4.984756 | 0.097561 | 0.147095 | 0.187156 | 0.183486 | 0.91896 | 0.877064 | 0.816514 | 0.744343 | 0.696024 | 0.64893 | 0 | 0.009309 | 0.178551 | 5,231 | 214 | 90 | 24.443925 | 0.751687 | 0.004015 | 0 | 0.66875 | 0 | 0 | 0.327957 | 0.246736 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15625 | false | 0 | 0.01875 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e67d9355d651996b20e5c063657bfb1dc348bb30 | 131,303 | py | Python | dn/views.py | Briliant-wang/GreaterWMS | 6b8a6515901ec09b5a2a754a8470f7229a2820cf | [
"Apache-2.0"
] | 1 | 2022-01-10T18:31:12.000Z | 2022-01-10T18:31:12.000Z | dn/views.py | jiangtaojiang/GreaterWMS | df155ae774398846c3c96f581debc4ea676548f5 | [
"Apache-2.0"
] | null | null | null | dn/views.py | jiangtaojiang/GreaterWMS | df155ae774398846c3c96f581debc4ea676548f5 | [
"Apache-2.0"
] | null | null | null | from rest_framework import viewsets
from .models import DnListModel, DnDetailModel, PickingListModel
from . import serializers
from .page import MyPageNumberPaginationDNList
from utils.page import MyPageNumberPagination
from utils.datasolve import sumOfList, transportation_calculate
from rest_framework.filters import O... | 65.001485 | 150 | 0.467529 | 12,020 | 131,303 | 4.746339 | 0.025874 | 0.039018 | 0.038913 | 0.038054 | 0.923928 | 0.908538 | 0.898056 | 0.887136 | 0.880353 | 0.875217 | 0 | 0.004344 | 0.463577 | 131,303 | 2,019 | 151 | 65.03368 | 0.805648 | 0.004356 | 0 | 0.844645 | 0 | 0 | 0.031182 | 0.001442 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030223 | false | 0.002651 | 0.018558 | 0 | 0.144221 | 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 |
e6d79e29b3200be71dac36805e781dc38e956d00 | 8,923 | py | Python | userbot/modules/torrentsearch.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/torrentsearch.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/torrentsearch.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\x8a\x00\x00\x00d\x00d\x01l\x00Z\x00d\x00d\x01l\x01Z\x01d\x00d\x01l\x02Z\x02d\x00d\x01l\x03Z\x03d\x00d\x02l\x04m\x05Z\x06\x01\x00d... | 2,230.75 | 8,852 | 0.751877 | 1,872 | 8,923 | 3.574786 | 0.21688 | 0.153317 | 0.103556 | 0.075314 | 0.272116 | 0.225941 | 0.173939 | 0.125672 | 0.101315 | 0.073371 | 0 | 0.324275 | 0.010198 | 8,923 | 4 | 8,852 | 2,230.75 | 0.433424 | 0.005828 | 0 | 0 | 0 | 0.5 | 0.433033 | 0.226381 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 9 |
fc04615fb3a0adb91f1a7643930c3ccaef2ece2b | 26,120 | py | Python | cep/energies/goto_leafs.py | hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators | 9a8801e9c663174b753c4852b2313c5a3f302434 | [
"MIT"
] | null | null | null | cep/energies/goto_leafs.py | hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators | 9a8801e9c663174b753c4852b2313c5a3f302434 | [
"MIT"
] | null | null | null | cep/energies/goto_leafs.py | hjw-1014/Multi-Objective-Reactive-Motion-Planning-in-Mobile-Manipulators | 9a8801e9c663174b753c4852b2313c5a3f302434 | [
"MIT"
] | null | null | null | import math
import os
import torch
import torch.distributions as tdist
import numpy as np
import cascade_control_dx
from .energy_leaf import EnergyLeaf
from .energy_leaf import EnergyLeaf_x
#from _utils import torch2numpy
from cep.utils import eul2rot, rot2eul, rot2quat
from cep.liegroups.torch import SO3, SE3
from ic... | 32.65 | 144 | 0.562021 | 3,768 | 26,120 | 3.743365 | 0.08413 | 0.012761 | 0.017866 | 0.003119 | 0.85374 | 0.808295 | 0.785892 | 0.771287 | 0.747465 | 0.737256 | 0 | 0.039574 | 0.287979 | 26,120 | 800 | 145 | 32.65 | 0.718841 | 0.282619 | 0 | 0.669136 | 0 | 0 | 0.015208 | 0.00263 | 0 | 0 | 0 | 0.02125 | 0 | 1 | 0.091358 | false | 0.002469 | 0.032099 | 0 | 0.187654 | 0.004938 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc3f2efad981ac61a0cf52f912cf9d73000f25c8 | 103 | py | Python | pud/interface/__init__.py | gwangyi/pud | 23a5ff8a3592ce640ab04569f4cc9ce38883b47b | [
"Apache-2.0"
] | null | null | null | pud/interface/__init__.py | gwangyi/pud | 23a5ff8a3592ce640ab04569f4cc9ce38883b47b | [
"Apache-2.0"
] | null | null | null | pud/interface/__init__.py | gwangyi/pud | 23a5ff8a3592ce640ab04569f4cc9ce38883b47b | [
"Apache-2.0"
] | null | null | null | from ._common import Device, Command, command
from ._common import load_protocol, available_protocols
| 25.75 | 55 | 0.834951 | 13 | 103 | 6.307692 | 0.692308 | 0.243902 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 3 | 56 | 34.333333 | 0.901099 | 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 |
fc8420775b7cf45dce42a4d020b674d07a21528b | 1,471 | py | Python | ClassFiles/Python201/APIs/ReadingJson.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | ClassFiles/Python201/APIs/ReadingJson.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | ClassFiles/Python201/APIs/ReadingJson.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | import json
c3p0 = '''{
"name": "C-3PO",
"height": "167",
"mass": "75",
"hair_color": "n/a",
"skin_color": "gold",
"eye_color": "yellow",
"birth_year": "112BBY",
"gender": "n/a",
"homeworld": "http://swapi.dev/api/planets/1/",
"films": [
"http://swapi.dev/api/films/1/",
"http://swapi.dev/api/films/2/",
... | 40.861111 | 640 | 0.600952 | 223 | 1,471 | 3.919283 | 0.273543 | 0.185355 | 0.24714 | 0.308924 | 0.842105 | 0.842105 | 0.842105 | 0.842105 | 0.842105 | 0.842105 | 0 | 0.100828 | 0.096533 | 1,471 | 35 | 641 | 42.028571 | 0.55681 | 0.46499 | 0 | 0.0625 | 0 | 0 | 0.855314 | 0.076825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.03125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fc977a2539222a6a21621836ed3d71a1ac58df88 | 3,183 | py | Python | indy_client/test/cli/test_send_claim_def.py | ArtObr/indy-node | f3491c42eba1a1b45df98f0e4dabe749d281ae33 | [
"Apache-2.0"
] | null | null | null | indy_client/test/cli/test_send_claim_def.py | ArtObr/indy-node | f3491c42eba1a1b45df98f0e4dabe749d281ae33 | [
"Apache-2.0"
] | null | null | null | indy_client/test/cli/test_send_claim_def.py | ArtObr/indy-node | f3491c42eba1a1b45df98f0e4dabe749d281ae33 | [
"Apache-2.0"
] | null | null | null | from indy_client.test.cli.constants import SCHEMA_ADDED, CLAIM_DEF_ADDED
from indy_client.test.cli.helper import getSeqNoFromCliOutput
def test_send_claim_def_succeeds(
be, do, poolNodesStarted, trusteeCli):
be(trusteeCli)
do('send SCHEMA name=Degree version=1.0'
' keys=undergrad,last_name,fir... | 30.902913 | 78 | 0.70311 | 402 | 3,183 | 5.313433 | 0.169154 | 0.074906 | 0.067416 | 0.052434 | 0.82912 | 0.784644 | 0.784644 | 0.784644 | 0.784644 | 0.735955 | 0 | 0.013261 | 0.194471 | 3,183 | 103 | 79 | 30.902913 | 0.819813 | 0 | 0 | 0.746667 | 0 | 0 | 0.306533 | 0.105214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.026667 | 0 | 0.093333 | 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 |
5d77a89c22e791f4f5930972be59bcb8c1aca8b4 | 173 | py | Python | bbq/archives/__init__.py | agaier/bbq | ff140f86abca18ed8ba814dc3d4035f86cc18518 | [
"MIT"
] | null | null | null | bbq/archives/__init__.py | agaier/bbq | ff140f86abca18ed8ba814dc3d4035f86cc18518 | [
"MIT"
] | null | null | null | bbq/archives/__init__.py | agaier/bbq | ff140f86abca18ed8ba814dc3d4035f86cc18518 | [
"MIT"
] | null | null | null | from bbq.archives.grid_archive import GridArchive
from bbq.archives.grid_archive import GridArchive_Obj
__all__ = [
GridArchive,
GridArchive_Obj,
]
| 21.625 | 53 | 0.722543 | 19 | 173 | 6.157895 | 0.473684 | 0.119658 | 0.25641 | 0.324786 | 0.735043 | 0.735043 | 0.735043 | 0 | 0 | 0 | 0 | 0 | 0.225434 | 173 | 7 | 54 | 24.714286 | 0.873134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
5d79c88283ebb6f37d0393451e45637a8bc6dfa1 | 181 | py | Python | LimPy/__init__.py | UWPRG/LimPy | 2a2979306ec4264de31d5ce1d2f8a59bd6eb7e9c | [
"BSD-2-Clause"
] | 1 | 2017-11-08T00:53:03.000Z | 2017-11-08T00:53:03.000Z | LimPy/__init__.py | UWPRG/LimPy | 2a2979306ec4264de31d5ce1d2f8a59bd6eb7e9c | [
"BSD-2-Clause"
] | null | null | null | LimPy/__init__.py | UWPRG/LimPy | 2a2979306ec4264de31d5ce1d2f8a59bd6eb7e9c | [
"BSD-2-Clause"
] | 2 | 2019-01-09T06:59:10.000Z | 2019-01-18T14:58:50.000Z | from . import langevin_functions
from . import potential_class
from . import boundarycondition
from . import statistical_functions
from . import simulate1D
from . import simulate2D
| 25.857143 | 35 | 0.834254 | 21 | 181 | 7.047619 | 0.47619 | 0.405405 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.132597 | 181 | 6 | 36 | 30.166667 | 0.929936 | 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 |
5d9691c7031da5f1676a875af2e4846707aafb76 | 2,796 | py | Python | tests/unit/test_server.py | canonical/prometheus-k8s-operator | 8f93ba78447b4c15e36f3f4673cb60068a099983 | [
"Apache-2.0"
] | 2 | 2022-02-14T21:39:05.000Z | 2022-03-30T06:57:01.000Z | tests/unit/test_server.py | canonical/prometheus-k8s-operator | 8f93ba78447b4c15e36f3f4673cb60068a099983 | [
"Apache-2.0"
] | 58 | 2021-12-08T10:57:09.000Z | 2022-03-30T13:59:06.000Z | tests/unit/test_server.py | canonical/prometheus-k8s-operator | 8f93ba78447b4c15e36f3f4673cb60068a099983 | [
"Apache-2.0"
] | 4 | 2021-12-14T02:10:43.000Z | 2022-03-10T13:51:07.000Z | # Copyright 2020 Canonical Ltd.
# See LICENSE file for licensing details.
import unittest
import responses
from prometheus_server import Prometheus
class TestServerPrefix(unittest.TestCase):
@responses.activate
def test_prometheus_server_without_route_prefix_returns_valid_data(self):
self.prometheu... | 28.824742 | 87 | 0.625179 | 267 | 2,796 | 6.333333 | 0.205993 | 0.09935 | 0.070964 | 0.085157 | 0.901833 | 0.901833 | 0.901833 | 0.898285 | 0.898285 | 0.829687 | 0 | 0.038217 | 0.270029 | 2,796 | 96 | 88 | 29.125 | 0.790299 | 0.024678 | 0 | 0.714286 | 0 | 0 | 0.133627 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.085714 | false | 0 | 0.042857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5dcd4541e8774ac55f9cddf89ec35fed6c9d7985 | 12,693 | py | Python | web/get_db.py | RightMesh/payment-channel-performance | 3abde2d4d32353e212a49c946cb8222f297379e7 | [
"MIT"
] | null | null | null | web/get_db.py | RightMesh/payment-channel-performance | 3abde2d4d32353e212a49c946cb8222f297379e7 | [
"MIT"
] | 43 | 2019-01-25T23:54:27.000Z | 2019-04-09T02:36:52.000Z | web/get_db.py | RightMesh/payment-channel-performance | 3abde2d4d32353e212a49c946cb8222f297379e7 | [
"MIT"
] | 1 | 2019-04-27T00:17:44.000Z | 2019-04-27T00:17:44.000Z | import pymongo
from pymongo.errors import BulkWriteError
from lib.db import DB
from bson import ObjectId, Code
import json
import os
MONGO_INITDB_DATABASE = os.environ.get('MONGO_INITDB_DATABASE')
BATCH_INTERVAL = int(os.environ.get('BATCH_INTERVAL'))
class JSONEncoder(json.JSONEncoder):
def default(self, o):
... | 30.512019 | 258 | 0.569684 | 1,514 | 12,693 | 4.568692 | 0.087186 | 0.054937 | 0.014457 | 0.046841 | 0.830273 | 0.805407 | 0.795865 | 0.773746 | 0.763915 | 0.763915 | 0 | 0.008477 | 0.284409 | 12,693 | 416 | 259 | 30.512019 | 0.753055 | 0.060112 | 0 | 0.744108 | 0 | 0.010101 | 0.312069 | 0.033451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06734 | false | 0.006734 | 0.020202 | 0 | 0.16835 | 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 |
5dd5be4543a1567fd56ba85dbfff1d22eb5d5847 | 8,167 | py | Python | angr/procedures/definitions/win32_qwave.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_qwave.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_qwave.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | # pylint:disable=line-too-long
import logging
from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool
from ...calling... | 185.613636 | 1,183 | 0.729644 | 898 | 8,167 | 6.572383 | 0.120267 | 0.173501 | 0.116571 | 0.167401 | 0.852084 | 0.840054 | 0.824975 | 0.824975 | 0.817181 | 0.807523 | 0 | 0.018649 | 0.080813 | 8,167 | 43 | 1,184 | 189.930233 | 0.76755 | 0.003428 | 0 | 0 | 0 | 0 | 0.20037 | 0.008133 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
53dc7caad9a8c39f1bbac704a4770880f0db73d1 | 30,471 | py | Python | res_rc.py | lsldragon/AITranslator | 70c3dbec40e6aaf250830550ab53fe93d894bae5 | [
"MIT"
] | null | null | null | res_rc.py | lsldragon/AITranslator | 70c3dbec40e6aaf250830550ab53fe93d894bae5 | [
"MIT"
] | null | null | null | res_rc.py | lsldragon/AITranslator | 70c3dbec40e6aaf250830550ab53fe93d894bae5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x04\x7e\
\x00\
\x00\x01\x00\x01\x00\x10\x10\x00\x00\x01\x00\x20\x00\x68\x04\x00\
\x00\x16\x00\x... | 56.848881 | 103 | 0.725313 | 7,284 | 30,471 | 3.028968 | 0.042147 | 0.388886 | 0.492363 | 0.578706 | 0.428455 | 0.419209 | 0.400943 | 0.384762 | 0.373204 | 0.366269 | 0 | 0.34334 | 0.020446 | 30,471 | 535 | 104 | 56.95514 | 0.395839 | 0.004988 | 0 | 0.210019 | 0 | 0.843931 | 0.000033 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.003854 | false | 0 | 0.001927 | 0 | 0.00578 | 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 |
9904ceaf5f1ccf2c17130c62554748706ba26daf | 16,623 | py | Python | hax/test/test_delivery_herald.py | papan-singh/cortx-hare | 4d6a533750dffe0b71c633a3707da79d9883b3dd | [
"Apache-2.0"
] | null | null | null | hax/test/test_delivery_herald.py | papan-singh/cortx-hare | 4d6a533750dffe0b71c633a3707da79d9883b3dd | [
"Apache-2.0"
] | null | null | null | hax/test/test_delivery_herald.py | papan-singh/cortx-hare | 4d6a533750dffe0b71c633a3707da79d9883b3dd | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 31.364151 | 78 | 0.536185 | 1,770 | 16,623 | 4.911299 | 0.141243 | 0.044864 | 0.011043 | 0.023927 | 0.806166 | 0.790521 | 0.784654 | 0.781433 | 0.776717 | 0.772691 | 0 | 0.01841 | 0.372616 | 16,623 | 529 | 79 | 31.42344 | 0.815131 | 0.102148 | 0 | 0.848259 | 0 | 0 | 0.096731 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 1 | 0.097015 | false | 0 | 0.022388 | 0.0199 | 0.149254 | 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 |
54cf5a7fc7834bac1c8ddac93c56b66c551ca8f0 | 2,046 | py | Python | py_hpsu_monitor/commands/tests/test_monitor_canbus.py | weltenwort/py-hpsu-monitor | 1e170cc22a8ac063e80180f7481beb97c32e8c40 | [
"MIT"
] | 1 | 2022-01-30T10:45:24.000Z | 2022-01-30T10:45:24.000Z | py_hpsu_monitor/commands/tests/test_monitor_canbus.py | weltenwort/py-hpsu-monitor | 1e170cc22a8ac063e80180f7481beb97c32e8c40 | [
"MIT"
] | 30 | 2021-05-11T06:11:57.000Z | 2022-03-28T20:15:08.000Z | py_hpsu_monitor/commands/tests/test_monitor_canbus.py | weltenwort/py-hpsu-monitor | 1e170cc22a8ac063e80180f7481beb97c32e8c40 | [
"MIT"
] | null | null | null | from ...config import DefaultRegisterConfiguration, RegisterConfiguration
from ...elster_protocol.register_types import NumberRegisterDefinition
from ..monitor_canbus import create_register_polling_configuration
def test_create_register_polling_configuration_with_overrides():
polling_configuration = create_regist... | 42.625 | 77 | 0.785435 | 190 | 2,046 | 8.068421 | 0.2 | 0.24788 | 0.152642 | 0.155251 | 0.819309 | 0.819309 | 0.819309 | 0.733203 | 0.733203 | 0.733203 | 0 | 0.038661 | 0.152981 | 2,046 | 47 | 78 | 43.531915 | 0.845932 | 0 | 0 | 0.605263 | 0 | 0 | 0.019062 | 0 | 0 | 0 | 0.032258 | 0 | 0.236842 | 1 | 0.078947 | false | 0 | 0.078947 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4ada198e1d536aad128a59d4a64649a12d7e7353 | 8,419 | py | Python | akshare/stock_fundamental/stock_register.py | NovelResearchInvestment/akshare | ccce37101b26e89a46b9b8b7b27b4eebf49edccd | [
"MIT"
] | 721 | 2021-09-21T12:10:33.000Z | 2022-03-31T09:47:01.000Z | akshare/stock_fundamental/stock_register.py | NovelResearchInvestment/akshare | ccce37101b26e89a46b9b8b7b27b4eebf49edccd | [
"MIT"
] | 135 | 2021-09-21T12:07:54.000Z | 2022-03-31T14:15:36.000Z | akshare/stock_fundamental/stock_register.py | NovelResearchInvestment/akshare | ccce37101b26e89a46b9b8b7b27b4eebf49edccd | [
"MIT"
] | 234 | 2021-09-21T12:16:27.000Z | 2022-03-31T09:47:04.000Z | # -*- coding:utf-8 -*-
#!/usr/bin/env python
"""
Date: 2022/1/7 17:19
Desc: 东方财富网-数据中心-新股数据-注册制审核
http://data.eastmoney.com/kcb/?type=nsb
"""
import pandas as pd
import requests
def stock_register_kcb() -> pd.DataFrame:
"""
东方财富网-数据中心-新股数据-注册制审核-科创板
http://data.eastmoney.com/kcb/?type=nsb
:return: 科创板... | 28.733788 | 200 | 0.525003 | 952 | 8,419 | 4.396008 | 0.17437 | 0.0454 | 0.022939 | 0.032975 | 0.887455 | 0.885066 | 0.837754 | 0.808602 | 0.808602 | 0.808602 | 0 | 0.067416 | 0.312864 | 8,419 | 292 | 201 | 28.832192 | 0.656007 | 0.053569 | 0 | 0.815686 | 0 | 0.039216 | 0.364225 | 0.120477 | 0 | 0 | 0 | 0.003425 | 0 | 1 | 0.011765 | false | 0 | 0.007843 | 0 | 0.031373 | 0.011765 | 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 |
ab1ee516590025b672ef3acae956f2702f1b4a02 | 320,434 | py | Python | Calibration/PPSAlCaRecoProducer/test/setup_dev_CMSSW_12_1_0_GRun_V14_cff.py | ZhengGang85129/cmssw | b5958a19590750f49976901ec024730bd2d31c80 | [
"Apache-2.0"
] | null | null | null | Calibration/PPSAlCaRecoProducer/test/setup_dev_CMSSW_12_1_0_GRun_V14_cff.py | ZhengGang85129/cmssw | b5958a19590750f49976901ec024730bd2d31c80 | [
"Apache-2.0"
] | null | null | null | Calibration/PPSAlCaRecoProducer/test/setup_dev_CMSSW_12_1_0_GRun_V14_cff.py | ZhengGang85129/cmssw | b5958a19590750f49976901ec024730bd2d31c80 | [
"Apache-2.0"
] | null | null | null | # This file is automatically generated by hltGetConfiguration.
# /dev/CMSSW_12_1_0/GRun/V14 (CMSSW_12_1_0)
import FWCore.ParameterSet.Config as cms
HLTConfigVersion = cms.PSet(
tableName = cms.string('/dev/CMSSW_12_1_0/GRun/V14')
)
transferSystem = cms.PSet(
destinations = cms.vstring( 'Tier0',
'DQM',
... | 44.672243 | 131 | 0.742549 | 30,547 | 320,434 | 7.594428 | 0.067077 | 0.049774 | 0.024415 | 0.018673 | 0.813123 | 0.805429 | 0.768047 | 0.75815 | 0.74593 | 0.740757 | 0 | 0.060904 | 0.143618 | 320,434 | 7,172 | 132 | 44.678472 | 0.784486 | 0.000318 | 0 | 0.752549 | 1 | 0 | 0.266718 | 0.234816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00014 | 0 | 0.00014 | 0.000698 | 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 |
ab3042eaebbb9fa9a769b95786f6268255448380 | 79 | py | Python | finitewave/cpuwave3D/model/luo_rudy91_3d/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | null | null | null | finitewave/cpuwave3D/model/luo_rudy91_3d/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | null | null | null | finitewave/cpuwave3D/model/luo_rudy91_3d/__init__.py | ArsOkenov/Finitewave | 14274d74be824a395b47a5c53ba18188798ab70d | [
"MIT"
] | 2 | 2021-10-05T13:38:56.000Z | 2022-03-05T15:58:08.000Z | from finitewave.cpuwave3D.model.luo_rudy91_3d.luo_rudy91_3d import LuoRudy913D
| 39.5 | 78 | 0.898734 | 12 | 79 | 5.583333 | 0.75 | 0.268657 | 0.328358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.050633 | 79 | 1 | 79 | 79 | 0.76 | 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 |
ab395a42e8f312446e5087de9cf66c1ac9e414a1 | 73 | py | Python | loghandler/modules/__init__.py | math280h/loghandler | 7e752493df91e49b3b205fda2829e6e7b8cc050c | [
"MIT"
] | 2 | 2021-11-05T17:56:33.000Z | 2021-11-07T01:58:01.000Z | loghandler/modules/__init__.py | math280h/loghandler | 7e752493df91e49b3b205fda2829e6e7b8cc050c | [
"MIT"
] | 33 | 2021-11-05T02:09:29.000Z | 2022-03-23T11:09:45.000Z | loghandler/modules/__init__.py | math280h/loghandler | 7e752493df91e49b3b205fda2829e6e7b8cc050c | [
"MIT"
] | null | null | null | import loghandler.modules.elasticsearch
import loghandler.modules.stdout
| 24.333333 | 39 | 0.890411 | 8 | 73 | 8.125 | 0.625 | 0.492308 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 2 | 40 | 36.5 | 0.942029 | 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 |
db4b4cdf8c7983277974c6738546ec921665546a | 260 | py | Python | iridauploader/parsers/__init__.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 7 | 2019-01-25T16:56:11.000Z | 2021-01-12T15:32:08.000Z | iridauploader/parsers/__init__.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 80 | 2019-01-29T14:54:26.000Z | 2022-03-25T18:51:51.000Z | iridauploader/parsers/__init__.py | COMBAT-SARS-COV-2/irida-uploader | b9d04d187d6a5a9fdcaef5b27135965ffac99db0 | [
"Apache-2.0"
] | 9 | 2019-03-14T09:58:05.000Z | 2022-01-06T20:14:45.000Z | from iridauploader.parsers.base_parser import BaseParser
from iridauploader.parsers.parsers import supported_parsers
from iridauploader.parsers.parsers import parser_factory
from iridauploader.parsers import exceptions
from iridauploader.parsers import common
| 43.333333 | 59 | 0.892308 | 31 | 260 | 7.387097 | 0.354839 | 0.371179 | 0.524017 | 0.270742 | 0.323144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 260 | 5 | 60 | 52 | 0.954167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
db706b5658548649e430078889dd1e59f014c664 | 58,287 | py | Python | model_training/i3d.py | oulutan/ActorConditionedAttentionMaps | 67baf36aad3c2d3db3912bdd96f43ccf988ee58e | [
"MIT"
] | 23 | 2019-12-19T13:59:04.000Z | 2021-09-16T08:59:17.000Z | model_training/i3d.py | oulutan/ActorConditionedAttentionMaps | 67baf36aad3c2d3db3912bdd96f43ccf988ee58e | [
"MIT"
] | 19 | 2020-01-28T23:12:25.000Z | 2022-02-10T00:40:42.000Z | model_training/i3d.py | oulutan/ActorConditionedAttentionMaps | 67baf36aad3c2d3db3912bdd96f43ccf988ee58e | [
"MIT"
] | 8 | 2019-12-19T15:35:43.000Z | 2021-10-08T21:11:39.000Z | # Copyright 2017 Google Inc.
#
# 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
#
# Unless required by applicable law or agreed to in writing,... | 51.399471 | 165 | 0.596308 | 7,663 | 58,287 | 4.224586 | 0.05246 | 0.018658 | 0.015939 | 0.085256 | 0.904056 | 0.896673 | 0.889198 | 0.886819 | 0.881074 | 0.874958 | 0 | 0.064191 | 0.292793 | 58,287 | 1,133 | 166 | 51.444837 | 0.721162 | 0.153568 | 0 | 0.882283 | 0 | 0 | 0.078764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016647 | false | 0 | 0.005945 | 0.001189 | 0.03805 | 0.005945 | 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 |
dba86bdd5c08ab6627ec36aeb7efaeccdb4f421d | 4,019 | py | Python | testing/tests/001-main/001-empty/003-criticctl/002-addrole-delrole.py | darobin/critic | 9d09f3ae45d0b37fb899c5323409c06e8622a2a1 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-04T18:43:10.000Z | 2020-12-04T18:43:10.000Z | testing/tests/001-main/001-empty/003-criticctl/002-addrole-delrole.py | darobin/critic | 9d09f3ae45d0b37fb899c5323409c06e8622a2a1 | [
"Apache-2.0",
"MIT"
] | null | null | null | testing/tests/001-main/001-empty/003-criticctl/002-addrole-delrole.py | darobin/critic | 9d09f3ae45d0b37fb899c5323409c06e8622a2a1 | [
"Apache-2.0",
"MIT"
] | null | null | null | ROLES = ["administrator", "developer", "newswriter", "repositories"]
# Scenario: Try to add a role that 'admin' already has.
try:
output = instance.execute(
["sudo", "criticctl", "addrole",
"--name", "admin",
"--role", "administrator"])
expected_output = "admin: user already has role ... | 37.212963 | 74 | 0.602886 | 439 | 4,019 | 5.501139 | 0.166287 | 0.063768 | 0.06294 | 0.092754 | 0.874534 | 0.872878 | 0.804969 | 0.799172 | 0.770186 | 0.699793 | 0 | 0 | 0.270216 | 4,019 | 107 | 75 | 37.560748 | 0.823389 | 0.083354 | 0 | 0.88172 | 0 | 0 | 0.342492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010753 | false | 0 | 0 | 0 | 0.010753 | 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 |
dbcce3e1aaeaa66bf32401b3f405e836f16e51ac | 1,063 | py | Python | web/rest_api/resources/attachment.py | shawnyang610/project-onesteward | 4165379adb9caa7253070251dda85fe96e527642 | [
"MIT"
] | null | null | null | web/rest_api/resources/attachment.py | shawnyang610/project-onesteward | 4165379adb9caa7253070251dda85fe96e527642 | [
"MIT"
] | null | null | null | web/rest_api/resources/attachment.py | shawnyang610/project-onesteward | 4165379adb9caa7253070251dda85fe96e527642 | [
"MIT"
] | null | null | null | from flask_restful import Resource, reqparse # noqa
from rest_api.models.attachment import AttachmentModel # noqa
from flask_jwt_extended import jwt_required
# TODO
##############################################
#### Create Attachment ####################
##############################################
class TrackingC... | 23.108696 | 61 | 0.396049 | 67 | 1,063 | 6.149254 | 0.447761 | 0.133495 | 0.184466 | 0.213592 | 0.165049 | 0.165049 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0.135466 | 1,063 | 46 | 62 | 23.108696 | 0.448313 | 0.085607 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 1 | 0.210526 | false | 0.210526 | 0.157895 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
dbd36d5cb5030fe5990b642d41393591240d995e | 2,337 | py | Python | Dados Tkinter.py | LucasFerSa/Dado-GUI-Python | 2b0b9d7aac66db9f8c6d40c3bfc23536f20e5975 | [
"MIT"
] | null | null | null | Dados Tkinter.py | LucasFerSa/Dado-GUI-Python | 2b0b9d7aac66db9f8c6d40c3bfc23536f20e5975 | [
"MIT"
] | null | null | null | Dados Tkinter.py | LucasFerSa/Dado-GUI-Python | 2b0b9d7aac66db9f8c6d40c3bfc23536f20e5975 | [
"MIT"
] | null | null | null | from tkinter import *
from random import randint
import time
app = Tk()
app.title = 'Sorteando números'
app.geometry("700x700+350+15")
app.configure(bg = '#1E054D')
def go():
background = Canvas(app, bg='white', heigh=500, width=500).place(x=100, y=20)
num = randint(1, 6)
time.sleep(0.5)
if num == 1:
... | 50.804348 | 132 | 0.601626 | 398 | 2,337 | 3.532663 | 0.155779 | 0.085349 | 0.179943 | 0.253912 | 0.809388 | 0.809388 | 0.809388 | 0.809388 | 0.809388 | 0.809388 | 0 | 0.140883 | 0.195122 | 2,337 | 46 | 133 | 50.804348 | 0.606592 | 0 | 0 | 0.512195 | 0 | 0 | 0.072284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.073171 | 0 | 0.097561 | 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 |
91681fcab88aff47044e4d6eeb0bf671245a148c | 102 | py | Python | tests/helper.py | peacemaker07/jawsug_sonic_midnight_jaws | 59aa5b9c3222c76e76e49093555d9f628f9ec225 | [
"MIT"
] | 1 | 2020-10-03T01:23:39.000Z | 2020-10-03T01:23:39.000Z | tests/helper.py | peacemaker07/jawsug_sonic_midnight_jaws | 59aa5b9c3222c76e76e49093555d9f628f9ec225 | [
"MIT"
] | null | null | null | tests/helper.py | peacemaker07/jawsug_sonic_midnight_jaws | 59aa5b9c3222c76e76e49093555d9f628f9ec225 | [
"MIT"
] | null | null | null | import os
def get_abspath():
return os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
| 17 | 70 | 0.735294 | 16 | 102 | 4.375 | 0.5625 | 0.257143 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 5 | 71 | 20.4 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
918d4e2ff1d66e3446c3ab3aa249312e8f6c8d59 | 19,159 | py | Python | openmdao/solvers/test/test_scipy_gmres.py | naylor-b/OpenMDAO1 | 49d82f6601b33db9bdcf7d146d030d55e3b62ef4 | [
"Apache-2.0"
] | 17 | 2018-01-11T20:13:59.000Z | 2022-03-22T03:46:05.000Z | openmdao/solvers/test/test_scipy_gmres.py | naylor-b/OpenMDAO1 | 49d82f6601b33db9bdcf7d146d030d55e3b62ef4 | [
"Apache-2.0"
] | 6 | 2017-10-19T23:14:14.000Z | 2020-11-22T17:30:57.000Z | openmdao/solvers/test/test_scipy_gmres.py | naylor-b/OpenMDAO1 | 49d82f6601b33db9bdcf7d146d030d55e3b62ef4 | [
"Apache-2.0"
] | 10 | 2018-04-12T22:13:33.000Z | 2020-05-07T10:02:59.000Z | """ Unit test for the Scipy GMRES linear solver. """
import unittest
import numpy as np
from openmdao.api import Group, Problem, IndepVarComp, ScipyGMRES, \
DirectSolver, ExecComp, LinearGaussSeidel, AnalysisError
from openmdao.test.converge_diverge import ConvergeDiverge, SingleDiamond, \
... | 37.788955 | 103 | 0.57717 | 2,702 | 19,159 | 3.932272 | 0.07846 | 0.060141 | 0.093553 | 0.118588 | 0.869929 | 0.847624 | 0.828329 | 0.826824 | 0.817412 | 0.804329 | 0 | 0.058972 | 0.237069 | 19,159 | 506 | 104 | 37.863636 | 0.667921 | 0.016963 | 0 | 0.80274 | 0 | 0 | 0.079118 | 0 | 0 | 0 | 0 | 0 | 0.19726 | 1 | 0.054795 | false | 0 | 0.021918 | 0 | 0.082192 | 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 |
918e01176237ccd1cd5e9e77876e6b15d1a0c9e1 | 2,173 | py | Python | npnlp/tests/test_sqp.py | msparapa/npnlp | 9158f47def6e6583e662b913ae46be49dafca4f8 | [
"MIT"
] | null | null | null | npnlp/tests/test_sqp.py | msparapa/npnlp | 9158f47def6e6583e662b913ae46be49dafca4f8 | [
"MIT"
] | null | null | null | npnlp/tests/test_sqp.py | msparapa/npnlp | 9158f47def6e6583e662b913ae46be49dafca4f8 | [
"MIT"
] | null | null | null | from npnlp import minimize
import numpy as np
tol = 1e-6
def test_sqp1():
def J(x):
return np.array([x[0] ** 4 + x[1] ** 2 - x[0] ** 2 * x[1]])
x0 = np.array([0.5, 3.0])
nil = np.array([])
out = minimize(J, x0, Aeq=np.array([[1,0]]), beq=np.array([1]), method='SQP')
assert abs(out['x'][0]... | 33.430769 | 86 | 0.503451 | 399 | 2,173 | 2.706767 | 0.120301 | 0.183333 | 0.244444 | 0.25 | 0.885185 | 0.874074 | 0.824074 | 0.824074 | 0.72037 | 0.72037 | 0 | 0.084507 | 0.248504 | 2,173 | 64 | 87 | 33.953125 | 0.576852 | 0 | 0 | 0.584906 | 0 | 0 | 0.032214 | 0 | 0 | 0 | 0 | 0 | 0.415094 | 1 | 0.188679 | false | 0 | 0.037736 | 0.113208 | 0.339623 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 10 |
37d5fc60b60eb105b0531eb3444e6d04538009c9 | 1,301 | py | Python | setup.py | vyathakavilocana/AIatNCStateSpring2021WeedDetectionProjectRepository | 59616788360d4fbb7dee4dc65a0780fcd85e2c0b | [
"MIT"
] | null | null | null | setup.py | vyathakavilocana/AIatNCStateSpring2021WeedDetectionProjectRepository | 59616788360d4fbb7dee4dc65a0780fcd85e2c0b | [
"MIT"
] | null | null | null | setup.py | vyathakavilocana/AIatNCStateSpring2021WeedDetectionProjectRepository | 59616788360d4fbb7dee4dc65a0780fcd85e2c0b | [
"MIT"
] | null | null | null | from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
version='0.1.0',
description='This Spring 2021 AI at NC State project repository contains all the code for the Weed Detection project. Utilizing images and other geospatial data, it [D[D[D[D[D[D[D[D[D[D[... | 118.272727 | 1,010 | 0.61568 | 436 | 1,301 | 2.188073 | 0.201835 | 0.259958 | 0.383648 | 0.503145 | 0.468553 | 0.468553 | 0.468553 | 0.468553 | 0.468553 | 0.468553 | 0 | 0.00605 | 0.110684 | 1,301 | 10 | 1,011 | 130.1 | 0.684529 | 0 | 0 | 0 | 0 | 0.222222 | 0.873943 | 0.352037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
37fd6fd8be4ae4ec501c6e40e7abb780aa34863d | 360 | py | Python | bitmovin_api_sdk/encoding/encodings/muxings/progressive_webm/drm/speke/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/encodings/muxings/progressive_webm/drm/speke/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/encodings/muxings/progressive_webm/drm/speke/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.encodings.muxings.progressive_webm.drm.speke.speke_api import SpekeApi
from bitmovin_api_sdk.encoding.encodings.muxings.progressive_webm.drm.speke.customdata.customdata_api import CustomdataApi
from bitmovin_api_sdk.encoding.encodings.muxings.progressive_webm.drm.speke.speke_drm_list_quer... | 90 | 134 | 0.905556 | 49 | 360 | 6.346939 | 0.387755 | 0.115756 | 0.144695 | 0.173633 | 0.659164 | 0.659164 | 0.659164 | 0.659164 | 0.659164 | 0.659164 | 0 | 0 | 0.033333 | 360 | 3 | 135 | 120 | 0.893678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
5303c90dea5fb99fa86c3e94754318be685fe5c8 | 2,891 | py | Python | source/Flask-AWSCognito/tests/test_plugin.py | Frankovich73/tag-tamer-deployment-test | 8267ff32bcae8de6b23d8566b719e00dc4879890 | [
"Apache-2.0"
] | null | null | null | source/Flask-AWSCognito/tests/test_plugin.py | Frankovich73/tag-tamer-deployment-test | 8267ff32bcae8de6b23d8566b719e00dc4879890 | [
"Apache-2.0"
] | null | null | null | source/Flask-AWSCognito/tests/test_plugin.py | Frankovich73/tag-tamer-deployment-test | 8267ff32bcae8de6b23d8566b719e00dc4879890 | [
"Apache-2.0"
] | null | null | null | import pytest
from flask_awscognito import AWSCognitoAuthentication
@pytest.mark.usefixtures("set_env")
def test_get_access_token(
app, cognito_service_test_factory, token_service_test_factory
):
plugin = AWSCognitoAuthentication(
app,
_token_service_factory=token_service_test_factor... | 36.594937 | 85 | 0.721896 | 333 | 2,891 | 5.810811 | 0.159159 | 0.113695 | 0.186047 | 0.129199 | 0.816021 | 0.801034 | 0.801034 | 0.801034 | 0.762791 | 0.714729 | 0 | 0.013208 | 0.18817 | 2,891 | 78 | 86 | 37.064103 | 0.811248 | 0 | 0 | 0.657143 | 0 | 0 | 0.062211 | 0.011376 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.071429 | false | 0 | 0.028571 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
53529f7d068e33bbac53a47ded2518df8af2130f | 236,317 | py | Python | src/commercetools/platform/models/message.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 15 | 2018-11-02T14:35:52.000Z | 2022-03-16T07:51:44.000Z | src/commercetools/platform/models/message.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 84 | 2018-11-02T12:50:32.000Z | 2022-03-22T01:25:54.000Z | src/commercetools/platform/models/message.py | labd/commercetools-python-sdk | d8ec285f08d56ede2e4cad45c74833f5b609ab5c | [
"MIT"
] | 13 | 2019-01-03T09:16:50.000Z | 2022-02-15T18:37:19.000Z | # This file is automatically generated by the rmf-codegen project.
#
# The Python code generator is maintained by Lab Digital. If you want to
# contribute to this project then please do not edit this file directly
# but send a pull request to the Lab Digital fork of rmf-codegen at
# https://github.com/labd/rmf-codegen
... | 35.119186 | 88 | 0.683133 | 19,518 | 236,317 | 8.00456 | 0.030177 | 0.031895 | 0.052191 | 0.069588 | 0.877971 | 0.874175 | 0.87102 | 0.782223 | 0.778241 | 0.604258 | 0 | 0 | 0.235853 | 236,317 | 6,728 | 89 | 35.124405 | 0.865169 | 0.001968 | 0 | 0.817404 | 1 | 0 | 0.107864 | 0.067761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084107 | false | 0.004005 | 0.089751 | 0 | 0.343528 | 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 |
536618c76864a4f1142321161ed15d0dfc8b1fcd | 2,029 | py | Python | Questionnaire/migrations/0003_auto_20200720_1101.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | Questionnaire/migrations/0003_auto_20200720_1101.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | Questionnaire/migrations/0003_auto_20200720_1101.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.2 on 2020-07-20 11:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Questionnaire', '0002_auto_20200720_1100'),
]
operations = [
migrations.AddField(
model_name='userresponse_common_features_test_... | 31.703125 | 64 | 0.590931 | 189 | 2,029 | 6.063492 | 0.227513 | 0.157068 | 0.200698 | 0.235602 | 0.863874 | 0.863874 | 0.863874 | 0.863874 | 0.817627 | 0.817627 | 0 | 0.029181 | 0.307541 | 2,029 | 63 | 65 | 32.206349 | 0.786477 | 0.022178 | 0 | 0.701754 | 1 | 0 | 0.21998 | 0.162967 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
725b0ca5d88de89509a5bd2013a87016acb69d10 | 46,283 | py | Python | tests/pydevtest/test_rulebase.py | iychoi/cyverse-irods | 0070b8677a82e763f1d940ae6537b1c8839a628a | [
"BSD-3-Clause"
] | null | null | null | tests/pydevtest/test_rulebase.py | iychoi/cyverse-irods | 0070b8677a82e763f1d940ae6537b1c8839a628a | [
"BSD-3-Clause"
] | 6 | 2019-12-02T18:17:44.000Z | 2019-12-02T18:17:57.000Z | tests/pydevtest/test_rulebase.py | benlazarine/cyverse-irods | 2bf9cfae4c3a1062ffe2af92b1f086ddc5fce025 | [
"BSD-3-Clause"
] | 1 | 2019-12-02T05:40:13.000Z | 2019-12-02T05:40:13.000Z | import sys
if sys.version_info >= (2, 7):
import unittest
else:
import unittest2 as unittest
import os
import socket
import time # remove once file hash fix is commited #2279
import lib
import time
import copy
import inspect
import configuration
from resource_suite import ResourceBase
class Test_Rulebase(Re... | 45.066212 | 138 | 0.568157 | 4,864 | 46,283 | 5.173314 | 0.066406 | 0.100147 | 0.125184 | 0.01987 | 0.897747 | 0.883957 | 0.873425 | 0.873425 | 0.867504 | 0.866113 | 0 | 0.008157 | 0.319253 | 46,283 | 1,026 | 139 | 45.110136 | 0.790491 | 0.124538 | 0 | 0.82311 | 0 | 0 | 0.351794 | 0.141798 | 0 | 0 | 0 | 0 | 0.0699 | 1 | 0.022825 | false | 0 | 0.017118 | 0 | 0.041369 | 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 |
729882cc7fa8fff88babb42e9b911eb74a994fff | 1,813 | py | Python | lpthw/ex33.py | jaredmanning/learning | 1d1767ea78a8f9f72275b18147d47bfc44a1696e | [
"MIT"
] | null | null | null | lpthw/ex33.py | jaredmanning/learning | 1d1767ea78a8f9f72275b18147d47bfc44a1696e | [
"MIT"
] | null | null | null | lpthw/ex33.py | jaredmanning/learning | 1d1767ea78a8f9f72275b18147d47bfc44a1696e | [
"MIT"
] | null | null | null | #i = 0
#numbers = []
#
#while i < 6:
# print "At the top i is %d" % i
# numbers.append(i)
#
# i += 1
# print "Numbers now: ", numbers
# print "At the bottom i is %d" % i
#
#
#print "The numbers: "
#
#for num in numbers:
# print num
#Study Drill Part 1
#print "What's the limit of the list?"
#a = int(r... | 18.13 | 53 | 0.539989 | 273 | 1,813 | 3.545788 | 0.161172 | 0.057851 | 0.082645 | 0.041322 | 0.930785 | 0.915289 | 0.900826 | 0.877066 | 0.877066 | 0.877066 | 0 | 0.008793 | 0.309983 | 1,813 | 99 | 54 | 18.313131 | 0.764988 | 0.646442 | 0 | 0 | 0 | 0 | 0.241966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.411765 | 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 | 1 | 0 | 8 |
72cff21016a8e51036bb99e46b27cb70bbf044b9 | 436 | py | Python | tools/wptrunner/wptrunner/tests/test_stability.py | mtrzos/wpt | 6e559a60ecfa38ad6cc434911dd0995a63900db6 | [
"BSD-3-Clause"
] | null | null | null | tools/wptrunner/wptrunner/tests/test_stability.py | mtrzos/wpt | 6e559a60ecfa38ad6cc434911dd0995a63900db6 | [
"BSD-3-Clause"
] | 1 | 2021-12-13T19:49:45.000Z | 2021-12-13T19:49:45.000Z | tools/wptrunner/wptrunner/tests/test_stability.py | mtrzos/wpt | 6e559a60ecfa38ad6cc434911dd0995a63900db6 | [
"BSD-3-Clause"
] | null | null | null | import sys
from os.path import dirname, join
sys.path.insert(0, join(dirname(__file__), "..", ".."))
from wptrunner import stability
def test_is_inconsistent():
assert stability.is_inconsistent({"PASS": 10}, 10) is False
assert stability.is_inconsistent({"PASS": 9}, 10) is True
assert stability.is_incons... | 33.538462 | 72 | 0.697248 | 63 | 436 | 4.666667 | 0.396825 | 0.238095 | 0.231293 | 0.394558 | 0.571429 | 0.397959 | 0.278912 | 0.278912 | 0 | 0 | 0 | 0.043011 | 0.146789 | 436 | 12 | 73 | 36.333333 | 0.747312 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.111111 | true | 0.444444 | 0.333333 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
72ee7eff30903c2e66eb4a676b8d1d7d779424fb | 58,004 | py | Python | swagger_client/api/data_type_mappings_api.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | 3 | 2021-06-16T20:34:41.000Z | 2021-06-16T23:54:36.000Z | swagger_client/api/data_type_mappings_api.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | null | null | null | swagger_client/api/data_type_mappings_api.py | idaholab/Deep-Lynx-Python-Package | 99927cc877eba8e2ee396feec807da1c48c64893 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Deep Lynx
The construction of megaprojects has consistently demonstrated challenges for project managers in regard to meeting cost, schedule, and performance requirements. Megaproject construction challenges are common place within megaprojects with many active projects in the United State... | 47.700658 | 1,455 | 0.647455 | 6,816 | 58,004 | 5.240757 | 0.051643 | 0.044792 | 0.057109 | 0.041152 | 0.934996 | 0.927914 | 0.92405 | 0.920495 | 0.919263 | 0.918703 | 0 | 0.014778 | 0.267378 | 58,004 | 1,215 | 1,456 | 47.739918 | 0.825815 | 0.345287 | 0 | 0.783784 | 0 | 0 | 0.265706 | 0.086068 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031532 | false | 0 | 0.031532 | 0 | 0.10961 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f41e2e640a9aa2a089cf5436a377f319e2900b02 | 14,899 | py | Python | torch_optimizer.py | antoniobarbalau/black-box-ripper | f461e140979bf43200bd4ec6872731f07a2ca15f | [
"CC0-1.0"
] | 22 | 2020-10-30T02:36:44.000Z | 2022-03-21T12:56:45.000Z | torch_optimizer.py | antoniobarbalau/black-box-ripper | f461e140979bf43200bd4ec6872731f07a2ca15f | [
"CC0-1.0"
] | 1 | 2021-04-06T15:12:22.000Z | 2021-04-24T11:51:22.000Z | torch_optimizer.py | antoniobarbalau/black-box-ripper | f461e140979bf43200bd4ec6872731f07a2ca15f | [
"CC0-1.0"
] | 2 | 2021-05-27T02:16:54.000Z | 2021-09-03T23:34:09.000Z | import numpy as np
import torch
import setup
def loss(softmax, image, label):
softmax = np.exp(softmax) / np.sum(np.exp(softmax))
return np.sum(np.power(
softmax -
np.eye(10)[label],
2
))
def optimize_to_grayscale(classifier, generator, batch_size = 64, encoding_size = 128):
b... | 39.625 | 88 | 0.549299 | 1,617 | 14,899 | 4.958565 | 0.074212 | 0.047892 | 0.056872 | 0.068845 | 0.9223 | 0.906086 | 0.90434 | 0.896732 | 0.874158 | 0.8668 | 0 | 0.0434 | 0.331901 | 14,899 | 375 | 89 | 39.730667 | 0.762106 | 0.049466 | 0 | 0.799373 | 0 | 0 | 0.000707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037618 | false | 0 | 0.009404 | 0 | 0.08464 | 0.003135 | 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 |
f4629fa1cbf96ac21825df8acee9f4b3adc7d0eb | 18,199 | py | Python | pyscf/agf2/_agf2.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 501 | 2018-12-06T23:48:17.000Z | 2022-03-31T11:53:18.000Z | pyscf/agf2/_agf2.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 710 | 2018-11-26T22:04:52.000Z | 2022-03-30T03:53:12.000Z | pyscf/agf2/_agf2.py | QuESt-Calculator/pyscf | 0ed03633b699505c7278f1eb501342667d0aa910 | [
"Apache-2.0"
] | 273 | 2018-11-26T10:10:24.000Z | 2022-03-30T12:25:28.000Z | # Copyright 2014-2020 The PySCF Developers. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 30.331667 | 85 | 0.614869 | 3,077 | 18,199 | 3.428989 | 0.084823 | 0.063027 | 0.048905 | 0.073358 | 0.804284 | 0.786655 | 0.777557 | 0.751114 | 0.736328 | 0.733675 | 0 | 0.016437 | 0.234463 | 18,199 | 599 | 86 | 30.382304 | 0.740884 | 0.109512 | 0 | 0.805 | 0 | 0 | 0.013544 | 0.006054 | 0 | 0 | 0 | 0 | 0.0475 | 1 | 0.03 | false | 0 | 0.01 | 0 | 0.07 | 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 |
f482d622367b65ba522d042e0ad906c70e578a43 | 294,370 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_mobileip_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_mobileip_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_mobileip_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_ip_mobileip_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR ip\-mobileip package operational data.
This module contains definitions
for the following management objects\:
pmipv6\: Proxy Mobile IPv6
Copyright (c) 2013\-2018 by Cisco Systems, Inc.
All rights reserved.
... | 50.7622 | 984 | 0.421741 | 22,714 | 294,370 | 5.19182 | 0.020428 | 0.028628 | 0.033173 | 0.035937 | 0.882758 | 0.854308 | 0.831158 | 0.814784 | 0.806753 | 0.793567 | 0 | 0.041174 | 0.479064 | 294,370 | 5,798 | 985 | 50.770956 | 0.727841 | 0.235938 | 0 | 0.708682 | 0 | 0.012552 | 0.208969 | 0.110132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054916 | false | 0 | 0.002615 | 0 | 0.099372 | 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 |
fe230d64c86f08076ff21742bf942a3f535b2541 | 83,841 | py | Python | tests/test_provider_hashicorp_oci.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_hashicorp_oci.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_hashicorp_oci.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_hashicorp_oci.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:23:14 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.oci
def test_resource_import():
from terrascript.resource.hashicorp.oci import (
oci_ai_anomaly_detection_ai_private_endp... | 35.722625 | 88 | 0.822283 | 10,589 | 83,841 | 6.180565 | 0.05534 | 0.184457 | 0.275586 | 0.321517 | 0.972603 | 0.971473 | 0.970006 | 0.965132 | 0.804877 | 0.474574 | 0 | 0.000262 | 0.13534 | 83,841 | 2,346 | 89 | 35.737852 | 0.902516 | 0.005892 | 0 | 0.150302 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000426 | 0 | 1 | 0.002266 | true | 0.003021 | 0.761329 | 0 | 0.763595 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
fe238b20f267105ef10d7964c5c579d90a332646 | 28,305 | py | Python | tests/utils/test_ensemble.py | zblumen/stellargraph | 10e62006907dd5968286f33648d1054e9c961c1b | [
"Apache-2.0"
] | null | null | null | tests/utils/test_ensemble.py | zblumen/stellargraph | 10e62006907dd5968286f33648d1054e9c961c1b | [
"Apache-2.0"
] | null | null | null | tests/utils/test_ensemble.py | zblumen/stellargraph | 10e62006907dd5968286f33648d1054e9c961c1b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2018-2020 Data61, CSIRO
#
# 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 ... | 34.309091 | 112 | 0.636531 | 3,447 | 28,305 | 4.994778 | 0.089643 | 0.030203 | 0.039031 | 0.063426 | 0.853923 | 0.83766 | 0.828948 | 0.811523 | 0.797526 | 0.794041 | 0 | 0.017863 | 0.274157 | 28,305 | 824 | 113 | 34.350728 | 0.820151 | 0.166543 | 0 | 0.701818 | 0 | 0 | 0.010987 | 0 | 0 | 0 | 0 | 0.001214 | 0.087273 | 1 | 0.023636 | false | 0 | 0.02 | 0 | 0.054545 | 0.007273 | 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 |
fe3d794c54a1bf5bf74cd1b3b6795a3c45ba7bf7 | 38,911 | py | Python | views/AntdCascader.py | RuixiangS/feffery-antd-docs | c48d34ed657ec8d6893440c0ee6382598c564922 | [
"MIT"
] | 10 | 2021-05-20T06:52:42.000Z | 2022-03-29T08:36:58.000Z | views/AntdCascader.py | RuixiangS/feffery-antd-docs | c48d34ed657ec8d6893440c0ee6382598c564922 | [
"MIT"
] | null | null | null | views/AntdCascader.py | RuixiangS/feffery-antd-docs | c48d34ed657ec8d6893440c0ee6382598c564922 | [
"MIT"
] | 2 | 2021-09-14T07:07:00.000Z | 2021-12-10T01:03:25.000Z | from dash import html
import feffery_antd_components as fac
import feffery_utils_components as fuc
import callbacks.AntdCascader
docs_content = html.Div(
[
html.Div(
[
html.H2(
'AntdCascader(id, className, style, *args, **kwargs)',
style=... | 40.07312 | 105 | 0.175169 | 1,398 | 38,911 | 4.864807 | 0.102289 | 0.056462 | 0.06352 | 0.047052 | 0.863402 | 0.842376 | 0.825026 | 0.813704 | 0.78709 | 0.78709 | 0 | 0.060354 | 0.740253 | 38,911 | 970 | 106 | 40.114433 | 0.612546 | 0 | 0 | 0.602345 | 0 | 0 | 0.353216 | 0.019429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004264 | 0 | 0.006397 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fe403b2e97efd4d6793d7d309731facd2749417a | 8,222 | py | Python | performance/test_jdbc_multitable_consumer.py | streamsets/datacollector-tests-external | 6f255b5e7496deeef333b57a5e9df4911ba3ef00 | [
"Apache-2.0"
] | 14 | 2019-03-04T10:12:39.000Z | 2021-11-24T16:17:09.000Z | performance/test_jdbc_multitable_consumer.py | streamsets/datacollector-tests-external | 6f255b5e7496deeef333b57a5e9df4911ba3ef00 | [
"Apache-2.0"
] | 48 | 2019-03-08T14:59:06.000Z | 2021-08-13T14:49:56.000Z | performance/test_jdbc_multitable_consumer.py | streamsets/datacollector-tests | 6c3e908768e1d4a586e9183e2141096921ecd5be | [
"Apache-2.0"
] | 23 | 2018-09-24T20:49:17.000Z | 2021-11-24T16:17:11.000Z | # Copyright 2017 StreamSets Inc.
#
# 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... | 45.175824 | 118 | 0.685356 | 982 | 8,222 | 5.477597 | 0.203666 | 0.03272 | 0.035694 | 0.018963 | 0.804239 | 0.804239 | 0.796431 | 0.78918 | 0.78918 | 0.78918 | 0 | 0.020225 | 0.212235 | 8,222 | 181 | 119 | 45.425414 | 0.810252 | 0.107638 | 0 | 0.788618 | 0 | 0 | 0.093673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065041 | false | 0 | 0.073171 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fe8530d264144ce505dd57ab76c2653b64afeea0 | 105 | py | Python | fppy/model/__init__.py | uit-cosmo/filtered-point-process | 2d681b9a6a09dcfa3095f5917bf062697540fb49 | [
"MIT"
] | 1 | 2022-02-09T08:57:08.000Z | 2022-02-09T08:57:08.000Z | fppy/model/__init__.py | uit-cosmo/filtered-point-process | 2d681b9a6a09dcfa3095f5917bf062697540fb49 | [
"MIT"
] | 1 | 2022-01-26T11:43:55.000Z | 2022-01-26T11:43:55.000Z | fppy/model/__init__.py | uit-cosmo/fppy | 2d681b9a6a09dcfa3095f5917bf062697540fb49 | [
"MIT"
] | null | null | null | from fppy.model.forcing import *
from fppy.model.fpp_model import *
from fppy.model.pulse_shape import *
| 26.25 | 36 | 0.8 | 17 | 105 | 4.823529 | 0.470588 | 0.292683 | 0.47561 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 3 | 37 | 35 | 0.88172 | 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 |
fea6e2d8cb83d8a1eda2cfe916c82ba6744c6a20 | 952 | py | Python | alexandriadocs/search/tests/test_views.py | srtab/alexandria-docs | 94b221a4140db23ad6d97a98c7cf521fbdefbc0a | [
"Apache-2.0"
] | 2 | 2017-03-26T22:38:49.000Z | 2017-04-22T11:28:07.000Z | alexandriadocs/search/tests/test_views.py | srtab/alexandriadocs | 94b221a4140db23ad6d97a98c7cf521fbdefbc0a | [
"Apache-2.0"
] | 22 | 2017-06-10T17:15:59.000Z | 2018-08-06T14:57:44.000Z | alexandriadocs/search/tests/test_views.py | srtab/alexandria-docs | 94b221a4140db23ad6d97a98c7cf521fbdefbc0a | [
"Apache-2.0"
] | 1 | 2017-03-24T23:10:16.000Z | 2017-03-24T23:10:16.000Z | # -*- coding: utf-8 -*-
from django.test import TestCase
from django.urls import reverse
class SearchProjectViewTest(TestCase):
def setUp(self):
self.url = reverse('search:index')
def test_template_used(self):
response = self.client.get(self.url)
self.assertEqual(response.status_code... | 28 | 61 | 0.670168 | 115 | 952 | 5.46087 | 0.286957 | 0.066879 | 0.101911 | 0.140127 | 0.802548 | 0.802548 | 0.802548 | 0.802548 | 0.675159 | 0.675159 | 0 | 0.017083 | 0.20063 | 952 | 33 | 62 | 28.848485 | 0.808147 | 0.022059 | 0 | 0.727273 | 0 | 0 | 0.077503 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.454545 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
22a577d15ada279ebe5e9bc0c5f6dd8f6ef7e022 | 14,831 | py | Python | datasets/ucsd_ped2.py | NjuHaoZhang/AutoregressModel-AE_VAD_CVPR2019 | b9843f34ecb59f908d78ddf977ee4670e0ed6cb4 | [
"MIT"
] | 12 | 2020-08-24T08:03:51.000Z | 2022-03-14T06:40:20.000Z | datasets/ucsd_ped2.py | zkeenly/AutoregressModel-AE_VAD_CVPR2019 | b9843f34ecb59f908d78ddf977ee4670e0ed6cb4 | [
"MIT"
] | null | null | null | datasets/ucsd_ped2.py | zkeenly/AutoregressModel-AE_VAD_CVPR2019 | b9843f34ecb59f908d78ddf977ee4670e0ed6cb4 | [
"MIT"
] | 5 | 2020-10-10T10:28:19.000Z | 2021-05-04T07:42:52.000Z | from glob import glob
from os.path import basename
from os.path import isdir
from os.path import join
from typing import List
from typing import Tuple
import numpy as np
import skimage.io as io
import torch
from skimage.transform import resize
from torchvision import transforms
from datasets.base import VideoAnomalyD... | 35.480861 | 116 | 0.569483 | 1,880 | 14,831 | 4.327128 | 0.156383 | 0.030977 | 0.026552 | 0.017701 | 0.802459 | 0.796435 | 0.795943 | 0.776644 | 0.776644 | 0.776644 | 0 | 0.026598 | 0.269908 | 14,831 | 417 | 117 | 35.565947 | 0.724695 | 0.450273 | 0 | 0.522013 | 0 | 0 | 0.064521 | 0.029171 | 0 | 0 | 0 | 0.019185 | 0 | 1 | 0.169811 | false | 0 | 0.09434 | 0.012579 | 0.408805 | 0.044025 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
22b91bb83edf52fba90fa608adc6893df56d5d90 | 979 | py | Python | user/vistas/widgets/subFooter.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/subFooter.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | user/vistas/widgets/subFooter.py | ZerpaTechnology/occoa | a8c0bd2657bc058801a883109c0ec0d608d04ccc | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
doc+='''<section class="well3"> <div class="container"> <ul class="row contact-list"> <li class="grid_4"> '''
try: doc+=str(incluir(data,"box-info"))
except Exception, e: doc+=str(e)
doc+=''' '''
try: doc+=str(inclu... | 46.619048 | 157 | 0.46476 | 120 | 979 | 3.766667 | 0.233333 | 0.159292 | 0.119469 | 0.212389 | 0.79646 | 0.79646 | 0.79646 | 0.79646 | 0.79646 | 0.79646 | 0 | 0.007396 | 0.309499 | 979 | 21 | 158 | 46.619048 | 0.661243 | 0.038815 | 0 | 0.894737 | 0 | 0.052632 | 0.493617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fe0a8b1602b4b75375a88a00701deb6fec635fb5 | 6,145 | py | Python | plugin.program.aptoide/resources/lib/api/aptoide.py | akuala/REPO.KUALA | ea9a157025530d2ce8fa0d88431c46c5352e89d4 | [
"Apache-2.0"
] | 2 | 2018-11-02T19:55:30.000Z | 2020-08-14T02:22:20.000Z | plugin.program.aptoide/resources/lib/api/aptoide.py | akuala/REPO.KUALA | ea9a157025530d2ce8fa0d88431c46c5352e89d4 | [
"Apache-2.0"
] | null | null | null | plugin.program.aptoide/resources/lib/api/aptoide.py | akuala/REPO.KUALA | ea9a157025530d2ce8fa0d88431c46c5352e89d4 | [
"Apache-2.0"
] | 3 | 2019-12-17T20:47:00.000Z | 2021-02-11T19:03:59.000Z | from resources.lib.modules import control, cleantitle
import requests
import os,sys,re,json,urllib,urlparse,json
import xbmc, xbmcaddon, xbmcgui, xbmcvfs
params = dict(urlparse.parse_qsl(sys.argv[2].replace('?','')))
action = params.get('action')
sysaddon = sys.argv[0]
syshandle = int(sys.argv[1])
addonInfo = xbmcadd... | 32.172775 | 78 | 0.663792 | 811 | 6,145 | 5 | 0.177559 | 0.008878 | 0.019729 | 0.025894 | 0.762762 | 0.75561 | 0.747226 | 0.747226 | 0.72947 | 0.72947 | 0 | 0.005428 | 0.160618 | 6,145 | 190 | 79 | 32.342105 | 0.780729 | 0 | 0 | 0.742331 | 0 | 0 | 0.158691 | 0.049805 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.03681 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4a4de57dace39dbf6c0b9050d623e6b87e9b5fe8 | 632 | py | Python | threat_hunting/CB-Command_R/config.py | knightsc/tau-tools | 7782383c162bc2642ecdcbc75e8a19cbdfd298e9 | [
"MIT"
] | 202 | 2018-11-28T20:31:21.000Z | 2022-03-11T08:09:03.000Z | threat_hunting/CB-Command_R/config.py | knightsc/tau-tools | 7782383c162bc2642ecdcbc75e8a19cbdfd298e9 | [
"MIT"
] | 7 | 2018-11-30T08:42:31.000Z | 2020-10-14T23:40:31.000Z | threat_hunting/CB-Command_R/config.py | knightsc/tau-tools | 7782383c162bc2642ecdcbc75e8a19cbdfd298e9 | [
"MIT"
] | 76 | 2018-11-28T20:31:23.000Z | 2021-12-15T06:03:21.000Z | #!/usr/bin/env python
active = {
'url': 'https://<SUBDOMAIN>.carbonblack.io/api/v1/process',
'key': '<API KEY>'
}
# ======================================================================
# Place API key and URL in 'active' to use with the cmdline-search.py
# ===================================================... | 25.28 | 72 | 0.455696 | 66 | 632 | 4.363636 | 0.409091 | 0.104167 | 0.236111 | 0.388889 | 0.708333 | 0.708333 | 0.708333 | 0.708333 | 0.708333 | 0.708333 | 0 | 0.011029 | 0.139241 | 632 | 25 | 73 | 25.28 | 0.518382 | 0.363924 | 0 | 0.5 | 0 | 0 | 0.641604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4a4ff642c2571f6247fdf4cd7cc4a8a8f3e7e643 | 171 | py | Python | backend/notes/getDateTime.py | MUCCHU/notefy | 711febd361c7a00b05e4e5bf191a52101b6dbbd6 | [
"MIT"
] | null | null | null | backend/notes/getDateTime.py | MUCCHU/notefy | 711febd361c7a00b05e4e5bf191a52101b6dbbd6 | [
"MIT"
] | null | null | null | backend/notes/getDateTime.py | MUCCHU/notefy | 711febd361c7a00b05e4e5bf191a52101b6dbbd6 | [
"MIT"
] | null | null | null | def giveMeDateTime(date_time):
split_date = date_time.split("T")
return (split_date[0] + " " + split_date[1].split(":")[0] + ":" + split_date[1].split(":")[1]) | 42.75 | 98 | 0.596491 | 24 | 171 | 4 | 0.375 | 0.375 | 0.270833 | 0.229167 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034722 | 0.157895 | 171 | 4 | 98 | 42.75 | 0.631944 | 0 | 0 | 0 | 0 | 0 | 0.029586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
4a6fccf9f856ca23a3af4a41603bdf8a23e2b3f7 | 96,286 | py | Python | sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/aio/operations/_static_sites_operations.py | beltr0n/azure-sdk-for-python | 2f7fb8bee881b0fc0386a0ad5385755ceedd0453 | [
"MIT"
] | 2 | 2021-03-24T06:26:11.000Z | 2021-04-18T15:55:59.000Z | sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/aio/operations/_static_sites_operations.py | beltr0n/azure-sdk-for-python | 2f7fb8bee881b0fc0386a0ad5385755ceedd0453 | [
"MIT"
] | 4 | 2019-04-17T17:57:49.000Z | 2020-04-24T21:11:22.000Z | sdk/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01/aio/operations/_static_sites_operations.py | beltr0n/azure-sdk-for-python | 2f7fb8bee881b0fc0386a0ad5385755ceedd0453 | [
"MIT"
] | 2 | 2021-05-23T16:46:31.000Z | 2021-05-26T23:51:09.000Z | # 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 may ... | 50.306165 | 249 | 0.666753 | 10,501 | 96,286 | 5.884202 | 0.028378 | 0.02638 | 0.034391 | 0.024276 | 0.93575 | 0.92795 | 0.921071 | 0.908302 | 0.89898 | 0.888785 | 0 | 0.012478 | 0.229265 | 96,286 | 1,913 | 250 | 50.332462 | 0.820148 | 0.105612 | 0 | 0.838046 | 0 | 0.010283 | 0.158275 | 0.081019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012853 | false | 0 | 0.006855 | 0 | 0.073693 | 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 |
4a8176aeb45e1ffa100ff73c8a9741d3f405acaf | 181 | py | Python | Selenium/Opencart_windows_operations/test_image_upload.py | BahrmaLe/otus_python_homework | 510a4f1971b35048d760fcc45098e511b81bea31 | [
"MIT"
] | 1 | 2021-02-25T15:37:21.000Z | 2021-02-25T15:37:21.000Z | Selenium/Opencart_windows_operations/test_image_upload.py | BahrmaLe/otus_python_homework | 510a4f1971b35048d760fcc45098e511b81bea31 | [
"MIT"
] | null | null | null | Selenium/Opencart_windows_operations/test_image_upload.py | BahrmaLe/otus_python_homework | 510a4f1971b35048d760fcc45098e511b81bea31 | [
"MIT"
] | null | null | null |
def test_image_name(add_product_with_image, find_product_image):
print(type(find_product_image))
print(find_product_image)
assert 'macbook_pro' in find_product_image
| 22.625 | 64 | 0.801105 | 27 | 181 | 4.851852 | 0.518519 | 0.335878 | 0.48855 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132597 | 181 | 7 | 65 | 25.857143 | 0.834395 | 0 | 0 | 0 | 0 | 0 | 0.061798 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
434cde88cff137e984d86a958e97eaea51192d59 | 243 | py | Python | twitter/__init__.py | kwnktks0515/Twitter_with_Python | 80dff5e0f0080a7e5b64dfa134f2e33aba0ed5f8 | [
"MIT"
] | null | null | null | twitter/__init__.py | kwnktks0515/Twitter_with_Python | 80dff5e0f0080a7e5b64dfa134f2e33aba0ed5f8 | [
"MIT"
] | null | null | null | twitter/__init__.py | kwnktks0515/Twitter_with_Python | 80dff5e0f0080a7e5b64dfa134f2e33aba0ed5f8 | [
"MIT"
] | null | null | null | """init"""
from twitter.twitter import Twitter
def twitter(consumer_key, consumer_secret, access_token, access_token_secret):
"""return Twitter Class"""
return Twitter(consumer_key, consumer_secret, access_token, access_token_secret)
| 34.714286 | 84 | 0.790123 | 31 | 243 | 5.870968 | 0.387097 | 0.241758 | 0.197802 | 0.285714 | 0.659341 | 0.659341 | 0.659341 | 0.659341 | 0.659341 | 0.659341 | 0 | 0 | 0.111111 | 243 | 6 | 85 | 40.5 | 0.842593 | 0.102881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
43716343f2b07b0c3a5a1b7f8a920c867f1c7062 | 19,896 | py | Python | vpp/src/result_summary_final.py | guitarmind/HPA-competition-solutions | 547d53aaca148fdb5f4585526ad7364dfa47967d | [
"MIT"
] | null | null | null | vpp/src/result_summary_final.py | guitarmind/HPA-competition-solutions | 547d53aaca148fdb5f4585526ad7364dfa47967d | [
"MIT"
] | null | null | null | vpp/src/result_summary_final.py | guitarmind/HPA-competition-solutions | 547d53aaca148fdb5f4585526ad7364dfa47967d | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
import os
import numpy as np
from utils.multi_thres_and_leak import use_threshold, replace_leak_write_result
def summary_scores(score_files, save_path, weight=None, save_result=True):
print'total {} result'.format(len(score_files)),
if weight is None:
weight = [1 for _ in xrang... | 70.303887 | 223 | 0.818355 | 2,877 | 19,896 | 5.026764 | 0.058394 | 0.061955 | 0.085742 | 0.10289 | 0.926428 | 0.895035 | 0.874983 | 0.865648 | 0.861361 | 0.857696 | 0 | 0.088535 | 0.103036 | 19,896 | 282 | 224 | 70.553191 | 0.721842 | 0.031564 | 0 | 0.339286 | 0 | 0 | 0.690365 | 0.671344 | 0 | 0 | 0 | 0 | 0.004464 | 0 | null | null | 0 | 0.013393 | null | null | 0.049107 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.