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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ed723953fe1d49ebe0be1e4ba1f11492af23f1a5 | 11,097 | py | Python | tests/test_api/test_auth.py | guioliveirabh/rhub-api | e57de57719d16dc8cc16ca30933bf2fdc5519234 | [
"MIT"
] | 1 | 2022-02-17T11:45:13.000Z | 2022-02-17T11:45:13.000Z | tests/test_api/test_auth.py | guioliveirabh/rhub-api | e57de57719d16dc8cc16ca30933bf2fdc5519234 | [
"MIT"
] | null | null | null | tests/test_api/test_auth.py | guioliveirabh/rhub-api | e57de57719d16dc8cc16ca30933bf2fdc5519234 | [
"MIT"
] | null | null | null | import base64
from unittest.mock import ANY
import pytest
from rhub.auth.keycloak import KeycloakClient
from rhub.api import DEFAULT_PAGE_LIMIT
API_BASE = '/v0'
def test_token_create(client, keycloak_mock):
keycloak_mock.login.return_value = {'access_token': 'foobar'}
rv = client.post(
f'{API_BAS... | 28.093671 | 87 | 0.663963 | 1,465 | 11,097 | 4.731058 | 0.057338 | 0.124657 | 0.055403 | 0.054538 | 0.909681 | 0.858606 | 0.828452 | 0.807531 | 0.774491 | 0.741884 | 0 | 0.102256 | 0.19717 | 11,097 | 394 | 88 | 28.164975 | 0.675721 | 0 | 0 | 0.637363 | 0 | 0 | 0.232766 | 0.132198 | 0 | 0 | 0 | 0 | 0.241758 | 1 | 0.076923 | false | 0.007326 | 0.018315 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c23e782b202536af16f6631cc8e0cba828a2871 | 207 | py | Python | src/napalm_digineo_procurve/templates/parser.py | digineo/napalm-digineo-procurve | 477befcd09b0ce209c42f9742b2c4bb0986fceb8 | [
"Apache-2.0"
] | 4 | 2019-06-07T07:59:56.000Z | 2020-12-09T19:27:56.000Z | src/napalm_digineo_procurve/templates/parser.py | digineo/napalm-digineo-procurve | 477befcd09b0ce209c42f9742b2c4bb0986fceb8 | [
"Apache-2.0"
] | 1 | 2021-03-31T19:04:16.000Z | 2021-03-31T19:04:16.000Z | src/napalm_digineo_procurve/templates/parser.py | digineo/napalm-digineo-procurve | 477befcd09b0ce209c42f9742b2c4bb0986fceb8 | [
"Apache-2.0"
] | 1 | 2019-12-24T11:05:24.000Z | 2019-12-24T11:05:24.000Z | import napalm_digineo_procurve.templates.reader
def parse(raw_data: str, template_name: str):
t = napalm_digineo_procurve.templates.reader.read_template(template_name)
return t.ParseText(raw_data)
| 29.571429 | 77 | 0.811594 | 29 | 207 | 5.482759 | 0.586207 | 0.163522 | 0.264151 | 0.377358 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10628 | 207 | 6 | 78 | 34.5 | 0.859459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9c296077eabfa8c6a760736fd5f26b850c632b11 | 86 | py | Python | chatrooms/youtube/config.py | Dogeek/ChatAggregator | c1cf700e2529d6bb78ce7e4850c532ef55841d85 | [
"MIT"
] | 3 | 2019-11-17T19:31:08.000Z | 2020-12-07T00:47:22.000Z | chatrooms/youtube/config.py | Dogeek/ChatAggregator | c1cf700e2529d6bb78ce7e4850c532ef55841d85 | [
"MIT"
] | 16 | 2019-11-17T19:48:02.000Z | 2019-11-24T02:49:44.000Z | chatrooms/youtube/config.py | Dogeek/ChatAggregator | c1cf700e2529d6bb78ce7e4850c532ef55841d85 | [
"MIT"
] | 3 | 2019-11-17T19:31:13.000Z | 2019-11-21T11:59:18.000Z | client_id = "925824295105-eck95gj8beboqih77p0r2aujtoui4ppj.apps.googleusercontent.com" | 86 | 86 | 0.895349 | 7 | 86 | 10.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.023256 | 86 | 1 | 86 | 86 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.827586 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c3ff02c6e512338d8c4c66816f6ed48bc7a72e8 | 100 | py | Python | Anachebe Ikechukwu/Phase 1/Python Basic 1/Day 2/Qtn2.py | dreamchild7/python-challenges | 5d47df145da2613f756cf44a1e0cfe5fb0a49f35 | [
"MIT"
] | null | null | null | Anachebe Ikechukwu/Phase 1/Python Basic 1/Day 2/Qtn2.py | dreamchild7/python-challenges | 5d47df145da2613f756cf44a1e0cfe5fb0a49f35 | [
"MIT"
] | null | null | null | Anachebe Ikechukwu/Phase 1/Python Basic 1/Day 2/Qtn2.py | dreamchild7/python-challenges | 5d47df145da2613f756cf44a1e0cfe5fb0a49f35 | [
"MIT"
] | null | null | null | import sys
print("Python version")
print (sys.version)
print("Version info")
print(sys.version_info) | 20 | 23 | 0.78 | 15 | 100 | 5.133333 | 0.4 | 0.311688 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 5 | 24 | 20 | 0.836957 | 0 | 0 | 0 | 0 | 0 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
92c2a8b5da6b30f4fa1a1de39f9c41d48dc31ef5 | 42 | py | Python | mynewfile.py | jakelever/exampleproject | d0082efb495635ac6eea5aab92f1e77bfe4c3259 | [
"MIT"
] | null | null | null | mynewfile.py | jakelever/exampleproject | d0082efb495635ac6eea5aab92f1e77bfe4c3259 | [
"MIT"
] | null | null | null | mynewfile.py | jakelever/exampleproject | d0082efb495635ac6eea5aab92f1e77bfe4c3259 | [
"MIT"
] | null | null | null | print("Hello world")
print("Hello again")
| 14 | 20 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 2 | 21 | 21 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
92cfb114c5c5c04e62afe5a6573582a786996d4b | 162 | py | Python | asyncjobs/__init__.py | jherland/asyncjobs | 1be027cab39f2ad3451766135100be7fe07b9386 | [
"MIT"
] | 1 | 2020-11-24T03:43:12.000Z | 2020-11-24T03:43:12.000Z | asyncjobs/__init__.py | jherland/asyncjobs | 1be027cab39f2ad3451766135100be7fe07b9386 | [
"MIT"
] | null | null | null | asyncjobs/__init__.py | jherland/asyncjobs | 1be027cab39f2ad3451766135100be7fe07b9386 | [
"MIT"
] | 2 | 2020-11-24T03:42:53.000Z | 2021-10-09T08:26:54.000Z | from . import polyfill # noqa: F401
from . import external_work, signal_handling
class Scheduler(external_work.Scheduler, signal_handling.Scheduler):
pass
| 23.142857 | 68 | 0.790123 | 20 | 162 | 6.2 | 0.6 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.141975 | 162 | 6 | 69 | 27 | 0.870504 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
92dd8b8b98ba0745b06799c1d866562b62797bb8 | 61 | py | Python | cotidia/cms/tests/__init__.py | guillaumepiot/cotidia-cms | 178bfe26b65f1e45d806d6cbe4dd2ec9dae04b7b | [
"BSD-3-Clause"
] | null | null | null | cotidia/cms/tests/__init__.py | guillaumepiot/cotidia-cms | 178bfe26b65f1e45d806d6cbe4dd2ec9dae04b7b | [
"BSD-3-Clause"
] | null | null | null | cotidia/cms/tests/__init__.py | guillaumepiot/cotidia-cms | 178bfe26b65f1e45d806d6cbe4dd2ec9dae04b7b | [
"BSD-3-Clause"
] | null | null | null | from .page import *
from .api import *
from .dataset import * | 20.333333 | 22 | 0.721311 | 9 | 61 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 3 | 22 | 20.333333 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92e70db5b5168ea52094ce71b6e6a88ae2c1d593 | 17,581 | py | Python | tests/unit/bokeh/core/property/test_wrappers__property.py | asellappen/bokeh | e003b82b18c8ee7fb36f23c5f877e5e16b792827 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/bokeh/core/property/test_wrappers__property.py | asellappen/bokeh | e003b82b18c8ee7fb36f23c5f877e5e16b792827 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/bokeh/core/property/test_wrappers__property.py | asellappen/bokeh | e003b82b18c8ee7fb36f23c5f877e5e16b792827 | [
"BSD-3-Clause"
] | null | null | null | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2021, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | 36.934874 | 116 | 0.64547 | 2,187 | 17,581 | 4.984911 | 0.103338 | 0.128417 | 0.095028 | 0.102367 | 0.81031 | 0.802697 | 0.788663 | 0.769308 | 0.754082 | 0.713722 | 0 | 0.028558 | 0.1575 | 17,581 | 475 | 117 | 37.012632 | 0.707467 | 0.118935 | 0 | 0.589235 | 0 | 0 | 0.100919 | 0.064021 | 0 | 0 | 0 | 0 | 0.362606 | 1 | 0.070822 | false | 0.008499 | 0.05949 | 0.002833 | 0.133144 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
92fd6589e17abf1310e7b543cae7a6456d1e6b6d | 238 | py | Python | student-work/cassandradelieto/exercism/python/leap/leap.py | developerQuinnZ/this_will_work | 5587a9fd030b47f9df6514e45c887b6872d2a4a1 | [
"MIT"
] | null | null | null | student-work/cassandradelieto/exercism/python/leap/leap.py | developerQuinnZ/this_will_work | 5587a9fd030b47f9df6514e45c887b6872d2a4a1 | [
"MIT"
] | null | null | null | student-work/cassandradelieto/exercism/python/leap/leap.py | developerQuinnZ/this_will_work | 5587a9fd030b47f9df6514e45c887b6872d2a4a1 | [
"MIT"
] | null | null | null | #on every year that is evenly divisible by 4
#except every year that is evenly divisible by 100
#unless the year is also evenly divisible by 400
def is_leap_year(year):
return(year % 4 == 0 and (year % 100 != 0 or year % 400 == 0))
| 29.75 | 66 | 0.701681 | 44 | 238 | 3.75 | 0.477273 | 0.272727 | 0.309091 | 0.181818 | 0.387879 | 0.387879 | 0.387879 | 0 | 0 | 0 | 0 | 0.091398 | 0.218487 | 238 | 7 | 67 | 34 | 0.795699 | 0.584034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
1301d0d0113cc2b732d5f53dbe0f4f4797d369a6 | 149 | py | Python | tests/__init__.py | polyswarm/microengine-webhooks-py | 708b936cb298e556e8c19cd6c02477c028e2ce89 | [
"MIT"
] | 3 | 2021-07-08T19:16:37.000Z | 2022-01-11T08:41:04.000Z | tests/__init__.py | polyswarm/microengine-webhooks-py | 708b936cb298e556e8c19cd6c02477c028e2ce89 | [
"MIT"
] | 1 | 2021-07-27T18:33:32.000Z | 2021-07-27T18:33:32.000Z | tests/__init__.py | polyswarm/microengine-webhooks-py | 708b936cb298e556e8c19cd6c02477c028e2ce89 | [
"MIT"
] | null | null | null | import base64
EICAR_STRING = base64.b64decode(
'WDVPIVAlQEFQWzRcUFpYNTQoUF4pN0NDKTd9JEVJQ0FSLVNUQU5EQVJELUFOVElWSVJVUy1URVNULUZJTEUhJEgrSCo='
)
| 24.833333 | 98 | 0.872483 | 7 | 149 | 18.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 0.080537 | 149 | 5 | 99 | 29.8 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.61745 | 0.61745 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1307c4ac00666f520833f1ca0359cf2b59432345 | 109,753 | py | Python | tests/test_ldlf_emptytraces.py | MarcoFavorito/pythogic | aaa74fec41fbf08d96371f62218c462e9a2b69e0 | [
"MIT"
] | 4 | 2018-02-21T10:43:55.000Z | 2018-04-13T07:55:04.000Z | tests/test_ldlf_emptytraces.py | marcofavorito/pythogic | aaa74fec41fbf08d96371f62218c462e9a2b69e0 | [
"MIT"
] | 34 | 2018-03-04T18:30:12.000Z | 2018-08-14T21:36:29.000Z | tests/test_ldlf_emptytraces.py | marcofavorito/pythogic | aaa74fec41fbf08d96371f62218c462e9a2b69e0 | [
"MIT"
] | 1 | 2018-03-04T18:27:57.000Z | 2018-03-04T18:27:57.000Z | import unittest
from pprint import pprint
from pythogic.ldlf_empty_traces.LDLf_EmptyTraces import LDLf_EmptyTraces
from pythogic.ltlf.semantics.FiniteTrace import FiniteTrace
from pythogic.base.Formula import AtomicFormula, Not, And, Or, PathExpressionUnion, PathExpressionSequence, \
PathExpressionStar, PathExpres... | 47.429991 | 159 | 0.629832 | 12,810 | 109,753 | 5.030991 | 0.015379 | 0.117306 | 0.054603 | 0.039102 | 0.918103 | 0.892066 | 0.864183 | 0.812218 | 0.760718 | 0.719242 | 0 | 0.006575 | 0.235037 | 109,753 | 2,313 | 160 | 47.450497 | 0.761044 | 0.020737 | 0 | 0.611915 | 0 | 0 | 0.069199 | 0.032455 | 0 | 0 | 0 | 0 | 0.286192 | 1 | 0.030067 | false | 0 | 0.005011 | 0 | 0.038419 | 0.071826 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1352cceaf1a22adfffeb581e078586c7ee8c0d55 | 7,564 | py | Python | reviewboard/diffviewer/tests/test_diff_parser.py | b1pb1p/reviewboard | b13aca3b88bc16d3c4258adce5df79cd1da577d3 | [
"MIT"
] | null | null | null | reviewboard/diffviewer/tests/test_diff_parser.py | b1pb1p/reviewboard | b13aca3b88bc16d3c4258adce5df79cd1da577d3 | [
"MIT"
] | null | null | null | reviewboard/diffviewer/tests/test_diff_parser.py | b1pb1p/reviewboard | b13aca3b88bc16d3c4258adce5df79cd1da577d3 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from djblets.testing.decorators import add_fixtures
from reviewboard.diffviewer.parser import DiffParser
from reviewboard.testing import TestCase
class DiffParserTest(TestCase):
"""Unit tests for DiffParser."""
def test_form_feed(self):
"""Testing DiffParser ... | 31.648536 | 67 | 0.448572 | 903 | 7,564 | 3.665559 | 0.126246 | 0.065257 | 0.021752 | 0.048943 | 0.763746 | 0.763746 | 0.725076 | 0.725076 | 0.725076 | 0.700302 | 0 | 0.061723 | 0.404548 | 7,564 | 238 | 68 | 31.781513 | 0.673179 | 0.033977 | 0 | 0.803828 | 0 | 0 | 0.274327 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.028708 | false | 0 | 0.019139 | 0 | 0.062201 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1375e404f3a394c4bbb56eca2978c554563a8d94 | 83 | py | Python | imports/calc_import.py | yusabana-sandbox/python-practice | 1698bf4979a1e09fe166ac36507c363f95564eeb | [
"MIT"
] | null | null | null | imports/calc_import.py | yusabana-sandbox/python-practice | 1698bf4979a1e09fe166ac36507c363f95564eeb | [
"MIT"
] | null | null | null | imports/calc_import.py | yusabana-sandbox/python-practice | 1698bf4979a1e09fe166ac36507c363f95564eeb | [
"MIT"
] | null | null | null | # vim: fileencoding=utf-8
import calc
print(calc.add(1, 2))
print(calc.sub(1, 2))
| 13.833333 | 25 | 0.686747 | 16 | 83 | 3.5625 | 0.6875 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.120482 | 83 | 5 | 26 | 16.6 | 0.712329 | 0.277108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
138a0a681098fab43521d30ef1a1954f6596c394 | 527 | py | Python | dacite/__init__.py | daiwt/dacite | 9fe2f3d5fabc44bde4b0ba28eda44f8071c358cc | [
"MIT"
] | 971 | 2018-03-06T19:53:24.000Z | 2022-03-31T11:53:00.000Z | dacite/__init__.py | daiwt/dacite | 9fe2f3d5fabc44bde4b0ba28eda44f8071c358cc | [
"MIT"
] | 142 | 2018-04-19T00:37:01.000Z | 2022-03-29T00:18:08.000Z | dacite/__init__.py | daiwt/dacite | 9fe2f3d5fabc44bde4b0ba28eda44f8071c358cc | [
"MIT"
] | 63 | 2018-03-31T16:05:16.000Z | 2022-03-28T12:24:13.000Z | from dacite.config import Config
from dacite.core import from_dict
from dacite.exceptions import (
DaciteError,
DaciteFieldError,
WrongTypeError,
MissingValueError,
UnionMatchError,
StrictUnionMatchError,
ForwardReferenceError,
UnexpectedDataError,
)
__all__ = [
"Config",
"from_... | 20.269231 | 33 | 0.70778 | 35 | 527 | 10.485714 | 0.457143 | 0.081744 | 0.223433 | 0.316076 | 0.730245 | 0.730245 | 0.730245 | 0.730245 | 0 | 0 | 0 | 0 | 0.204934 | 527 | 25 | 34 | 21.08 | 0.875895 | 0 | 0 | 0 | 0 | 0 | 0.282732 | 0.079696 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13a0dff32a551463f295bbef33c5df6a8a6c9560 | 24 | py | Python | py_schema/__init__.py | benhurott/py_schema | a0beab16bd91760942dc88942a65b480ec980ad8 | [
"MIT"
] | null | null | null | py_schema/__init__.py | benhurott/py_schema | a0beab16bd91760942dc88942a65b480ec980ad8 | [
"MIT"
] | 4 | 2019-07-28T19:35:07.000Z | 2021-06-02T00:15:57.000Z | py_schema/__init__.py | benhurott/py_schema | a0beab16bd91760942dc88942a65b480ec980ad8 | [
"MIT"
] | null | null | null | from .py_schema import * | 24 | 24 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13c0b61b1530188fe35d913af504a7629298f5c3 | 1,012 | py | Python | mayan/apps/file_metadata/search.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/file_metadata/search.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/file_metadata/search.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from django.utils.translation import ugettext_lazy as _
from mayan.apps.documents.search import (
document_file_search, document_file_page_search, document_search
)
# Document
document_search.add_model_field(
field='files__file_metadata_drivers__entries__key',
label=_('File metadata key')
)
document_sear... | 25.948718 | 68 | 0.800395 | 131 | 1,012 | 5.541985 | 0.19084 | 0.198347 | 0.115702 | 0.157025 | 0.798898 | 0.798898 | 0.798898 | 0.798898 | 0.798898 | 0.761708 | 0 | 0 | 0.116601 | 1,012 | 38 | 69 | 26.631579 | 0.812081 | 0.040514 | 0 | 0.428571 | 0 | 0 | 0.380558 | 0.268873 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13dc5d9aacf6e283540a406d419a67d2d7215161 | 29,242 | py | Python | research/inception/inception/slim/ops_test.py | 873040/Abhishek | 2ddd716e66bc5cc6e6f0787508dd07da0e02e75a | [
"Apache-2.0"
] | 3,326 | 2018-01-26T22:42:25.000Z | 2022-02-16T13:16:39.000Z | research/inception/inception/slim/ops_test.py | 873040/Abhishek | 2ddd716e66bc5cc6e6f0787508dd07da0e02e75a | [
"Apache-2.0"
] | 150 | 2017-08-28T14:59:36.000Z | 2022-03-11T23:21:35.000Z | research/inception/inception/slim/ops_test.py | 873040/Abhishek | 2ddd716e66bc5cc6e6f0787508dd07da0e02e75a | [
"Apache-2.0"
] | 1,474 | 2018-02-01T04:33:18.000Z | 2022-03-08T07:02:20.000Z | # Copyright 2016 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 by applicable law or agree... | 42.502907 | 80 | 0.665139 | 3,859 | 29,242 | 4.894273 | 0.07774 | 0.074549 | 0.074337 | 0.061365 | 0.831313 | 0.807222 | 0.783767 | 0.767036 | 0.743633 | 0.734844 | 0 | 0.03255 | 0.194173 | 29,242 | 687 | 81 | 42.564774 | 0.76897 | 0.043978 | 0 | 0.656846 | 0 | 0 | 0.048741 | 0.022419 | 0 | 0 | 0 | 0 | 0.232236 | 1 | 0.105719 | false | 0 | 0.013865 | 0 | 0.133449 | 0.001733 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13e6529482cf39e6f986f2fa2c33918778412b41 | 387 | py | Python | game/simulator/simulator.py | laddie132/MD3 | 3df45918e33437e9a2309f7965f34f3a75621059 | [
"MIT"
] | 6 | 2021-02-07T03:20:29.000Z | 2021-04-09T03:34:51.000Z | game/simulator/simulator.py | laddie132/MD3 | 3df45918e33437e9a2309f7965f34f3a75621059 | [
"MIT"
] | null | null | null | game/simulator/simulator.py | laddie132/MD3 | 3df45918e33437e9a2309f7965f34f3a75621059 | [
"MIT"
] | 1 | 2021-12-14T15:42:40.000Z | 2021-12-14T15:42:40.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Han"
__email__ = "liuhan132@foxmail.com"
class Simulator:
def __init__(self):
pass
def init_dialog(self, *args):
return NotImplementedError
def respond_act(self, agent_act, agent_value):
return NotImplementedError
... | 19.35 | 50 | 0.669251 | 44 | 387 | 5.477273 | 0.636364 | 0.311203 | 0.232365 | 0.290456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013378 | 0.22739 | 387 | 19 | 51 | 20.368421 | 0.792642 | 0.108527 | 0 | 0.272727 | 0 | 0 | 0.069971 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
13e78102d294017c8b8ca8d1f8480cdd3bc98448 | 32 | py | Python | app/__init__.py | sofiabesenski4/scrapr | 18c67ac155e4d329dbd4845df80647e697a4f4bb | [
"MIT"
] | 1 | 2022-03-20T18:52:15.000Z | 2022-03-20T18:52:15.000Z | app/__init__.py | sofiabesenski4/scrapr | 18c67ac155e4d329dbd4845df80647e697a4f4bb | [
"MIT"
] | null | null | null | app/__init__.py | sofiabesenski4/scrapr | 18c67ac155e4d329dbd4845df80647e697a4f4bb | [
"MIT"
] | null | null | null | from app.views import QueryForm
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b91cbddb4ef84ad241c211fc7f8fc5415fe16b12 | 9,864 | py | Python | distill/model_distill.py | jaykay233/tensorflow_models | 5b60b2adfa5e2d82c59189da6398388ba58c6c33 | [
"Apache-2.0"
] | null | null | null | distill/model_distill.py | jaykay233/tensorflow_models | 5b60b2adfa5e2d82c59189da6398388ba58c6c33 | [
"Apache-2.0"
] | null | null | null | distill/model_distill.py | jaykay233/tensorflow_models | 5b60b2adfa5e2d82c59189da6398388ba58c6c33 | [
"Apache-2.0"
] | null | null | null | ## https://www.kesci.com/mw/project/605fe41acb6d360015a49cea
import os.path as osp
import gzip
from functools import reduce
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.utils.data import DataLoader, TensorDataset
from torchvision.models import resnet18
from torchvision import datasets
... | 28.758017 | 99 | 0.544201 | 1,329 | 9,864 | 3.924003 | 0.146727 | 0.018217 | 0.024161 | 0.010738 | 0.790221 | 0.776798 | 0.742282 | 0.732694 | 0.732694 | 0.726942 | 0 | 0.051435 | 0.318025 | 9,864 | 343 | 100 | 28.758017 | 0.7238 | 0.024939 | 0 | 0.789474 | 0 | 0 | 0.045042 | 0.002398 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067669 | false | 0 | 0.041353 | 0 | 0.169173 | 0.030075 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b91e669f5395290ea96b61a6b23399c50caeb985 | 27 | py | Python | apps/profiles/tests/__init__.py | jamespacileo/packaginator | d4b51ae16e0658fade91e1a6c4ce987ee747b053 | [
"MIT"
] | 1 | 2015-11-08T11:31:09.000Z | 2015-11-08T11:31:09.000Z | apps/profiles/tests/__init__.py | pythonchelle/opencomparison | b39d279e25527520c66335e51455d1f9ba749c9b | [
"MIT"
] | 81 | 2021-02-14T02:35:52.000Z | 2021-04-10T21:14:27.000Z | apps/profiles/tests/__init__.py | pythonchelle/opencomparison | b39d279e25527520c66335e51455d1f9ba749c9b | [
"MIT"
] | 4 | 2021-02-14T19:44:23.000Z | 2021-04-06T22:35:35.000Z | from .test_models import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b947054992da249a521caee248c8140441d1ae75 | 14,609 | py | Python | exabel_data_sdk/tests/scripts/test_load_time_series_from_csv.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/tests/scripts/test_load_time_series_from_csv.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/tests/scripts/test_load_time_series_from_csv.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | import unittest
from unittest import mock
import pandas as pd
from dateutil import tz
from exabel_data_sdk import ExabelClient
from exabel_data_sdk.scripts.load_time_series_from_csv import LoadTimeSeriesFromCsv
from exabel_data_sdk.services.csv_time_series_loader import CsvTimeSeriesLoader
from exabel_data_sdk.util.r... | 37.267857 | 95 | 0.572729 | 1,621 | 14,609 | 4.889574 | 0.116595 | 0.027252 | 0.042392 | 0.047691 | 0.844058 | 0.817562 | 0.801792 | 0.790941 | 0.77782 | 0.756624 | 0 | 0.046858 | 0.301732 | 14,609 | 391 | 96 | 37.363171 | 0.730125 | 0 | 0 | 0.673295 | 0 | 0 | 0.211171 | 0.129851 | 0 | 0 | 0 | 0 | 0.096591 | 1 | 0.039773 | false | 0 | 0.022727 | 0 | 0.065341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9a88f87e3242aee4d73cc395bbf3e4df7779e11 | 235 | py | Python | .history/my_classes/ScopesClosuresAndDecorators/ScopesClosuresDecorators_20210709201222.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | .history/my_classes/ScopesClosuresAndDecorators/ScopesClosuresDecorators_20210709201222.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | .history/my_classes/ScopesClosuresAndDecorators/ScopesClosuresDecorators_20210709201222.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | """ Scopes, Closures and Decotations
Variable Scopes local scope
global scope
nonlocal scope
nested scopes
Closures what
""" | 26.111111 | 48 | 0.425532 | 16 | 235 | 6.25 | 0.6875 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.544681 | 235 | 9 | 49 | 26.111111 | 0.934579 | 0.902128 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9aea740a09324f0a12b3ad1a11b3ed2eb08d668 | 3,909 | py | Python | poc1.py | gcheca/exploits | 452b0b65fd549b14fec48a0d22dfe5227c9383a5 | [
"MIT"
] | null | null | null | poc1.py | gcheca/exploits | 452b0b65fd549b14fec48a0d22dfe5227c9383a5 | [
"MIT"
] | null | null | null | poc1.py | gcheca/exploits | 452b0b65fd549b14fec48a0d22dfe5227c9383a5 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import socket
try:
print "\n Sending ""evil"" buffer..."
# size = 800
# inputBuffer = "A" * size
# inputBuffer = "AAa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae9Af0Af1Af... | 52.824324 | 825 | 0.67562 | 551 | 3,909 | 4.787659 | 0.491833 | 0.009098 | 0.036391 | 0.004549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235846 | 0.155027 | 3,909 | 73 | 826 | 53.547945 | 0.562822 | 0.244308 | 0 | 0 | 0 | 0.471698 | 0.662258 | 0.520176 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.018868 | 0.018868 | null | null | 0.056604 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbeac69390e3b6c4a8ad5aa3171f252f2fb84e18 | 78 | py | Python | communication_modules/websocketClient/__init__.py | maxakuru/SimpleSensor | 655d10ebed5eddb892d036012cb12ccd6b460d2d | [
"Apache-2.0"
] | null | null | null | communication_modules/websocketClient/__init__.py | maxakuru/SimpleSensor | 655d10ebed5eddb892d036012cb12ccd6b460d2d | [
"Apache-2.0"
] | null | null | null | communication_modules/websocketClient/__init__.py | maxakuru/SimpleSensor | 655d10ebed5eddb892d036012cb12ccd6b460d2d | [
"Apache-2.0"
] | null | null | null | from websocketClientModule import WebsocketClientModule as CommunicationMethod | 78 | 78 | 0.935897 | 6 | 78 | 12.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 78 | 1 | 78 | 78 | 1 | 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 | 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 | 6 |
e0113e2bd24d4bd31b1158f60c0a0da39a7c3d6c | 53,773 | py | Python | openprocurement/tender/openua/tests/tender_blanks.py | openprocurement/openprocurement.tender.openua | 66b9e15da13a2c367dc15c441a4f02946fc29240 | [
"Apache-2.0"
] | 8 | 2016-01-28T11:37:09.000Z | 2019-03-17T07:18:09.000Z | openprocurement/tender/openua/tests/tender_blanks.py | openprocurement/openprocurement.tender.openua | 66b9e15da13a2c367dc15c441a4f02946fc29240 | [
"Apache-2.0"
] | 70 | 2016-02-11T16:46:22.000Z | 2018-03-19T15:42:16.000Z | openprocurement/tender/openua/tests/tender_blanks.py | openprocurement/openprocurement.tender.openua | 66b9e15da13a2c367dc15c441a4f02946fc29240 | [
"Apache-2.0"
] | 30 | 2016-01-27T10:51:00.000Z | 2019-03-31T15:56:52.000Z | # -*- coding: utf-8 -*-
from datetime import timedelta
from copy import deepcopy
from openprocurement.api.models import get_now
from openprocurement.api.constants import SANDBOX_MODE, CPV_ITEMS_CLASS_FROM
from openprocurement.tender.core.constants import (
NOT_REQUIRED_ADDITIONAL_CLASSIFICATION_FROM
)
from openp... | 52.004836 | 203 | 0.6316 | 5,981 | 53,773 | 5.569972 | 0.06203 | 0.104461 | 0.151888 | 0.066459 | 0.833764 | 0.807048 | 0.786006 | 0.773399 | 0.74137 | 0.734406 | 0 | 0.015685 | 0.193759 | 53,773 | 1,033 | 204 | 52.055179 | 0.752733 | 0.024324 | 0 | 0.623669 | 0 | 0.001183 | 0.271023 | 0.047849 | 0 | 0 | 0 | 0 | 0.342012 | 1 | 0.017751 | false | 0 | 0.008284 | 0 | 0.026036 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0efa0bc70cd0b0a818eeae8321271796c3948a31 | 7,434 | py | Python | ktrain/vision/wrn.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | ktrain/vision/wrn.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | ktrain/vision/wrn.py | Niekvdplas/ktrain | 808a212a9b8ebddd4e2d75eaca2e54a7ea990b4e | [
"Apache-2.0"
] | null | null | null | from ..imports import *
weight_decay = 0.0005
def initial_conv(input):
x = keras.layers.Convolution2D(
16,
(3, 3),
padding="same",
kernel_initializer="he_normal",
kernel_regularizer=keras.regularizers.l2(weight_decay),
use_bias=False,
)(input)
channel_axis... | 27.533333 | 88 | 0.610035 | 1,002 | 7,434 | 4.377246 | 0.134731 | 0.107843 | 0.101231 | 0.062244 | 0.775878 | 0.76311 | 0.76311 | 0.752394 | 0.752394 | 0.752394 | 0 | 0.041682 | 0.254506 | 7,434 | 269 | 89 | 27.635688 | 0.749729 | 0.089454 | 0 | 0.795918 | 0 | 0 | 0.055125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030612 | false | 0 | 0.005102 | 0 | 0.066327 | 0.005102 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0efa1485445888e3e668d930ddd339e95670ceac | 6,010 | py | Python | clients/python-flask/generated/openapi_server/models/extension_class_container_impl1map.py | PankTrue/swaggy-jenkins | aca35a7cca6e1fcc08bd399e05148942ac2f514b | [
"MIT"
] | 23 | 2017-08-01T12:25:26.000Z | 2022-01-25T03:44:11.000Z | clients/python-flask/generated/openapi_server/models/extension_class_container_impl1map.py | PankTrue/swaggy-jenkins | aca35a7cca6e1fcc08bd399e05148942ac2f514b | [
"MIT"
] | 35 | 2017-06-14T03:28:15.000Z | 2022-02-14T10:25:54.000Z | clients/python-flask/generated/openapi_server/models/extension_class_container_impl1map.py | PankTrue/swaggy-jenkins | aca35a7cca6e1fcc08bd399e05148942ac2f514b | [
"MIT"
] | 11 | 2017-08-31T19:00:20.000Z | 2021-12-19T12:04:12.000Z | # coding: utf-8
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from openapi_server.models.base_model_ import Model
from openapi_server.models.extension_class_impl import ExtensionClassImpl # noqa: F401,E501
from openapi_server imp... | 50.932203 | 234 | 0.800166 | 679 | 6,010 | 6.512518 | 0.113402 | 0.089552 | 0.179104 | 0.248756 | 0.794437 | 0.752374 | 0.749661 | 0.724785 | 0.721167 | 0.706015 | 0 | 0.009625 | 0.152912 | 6,010 | 117 | 235 | 51.367521 | 0.858967 | 0.446256 | 0 | 0.214286 | 0 | 0 | 0.139027 | 0.133069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.142857 | 0 | 0.452381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
162a3ac467a9a6c1ac17d3bf5e2cf46b0025c46b | 31 | py | Python | Utilities/VTKPythonWrapping/paraview/vtk/imaging.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 17 | 2015-02-17T00:30:26.000Z | 2022-03-17T06:13:02.000Z | Utilities/VTKPythonWrapping/paraview/vtk/imaging.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Utilities/VTKPythonWrapping/paraview/vtk/imaging.py | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 10 | 2015-08-31T18:20:17.000Z | 2022-02-02T15:16:21.000Z | from vtkImagingPython import *
| 15.5 | 30 | 0.83871 | 3 | 31 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16325f943d26febe35c10257dfffcf997ed360a7 | 3,424 | py | Python | tests/test_aiohttp.py | anna-money/aio-background | 5b72dd7e681abab7fe85df129ea4fa5ca2cf6dc7 | [
"MIT"
] | 7 | 2021-11-05T08:02:50.000Z | 2021-11-16T08:58:06.000Z | tests/test_aiohttp.py | Pliner/aio-background | 8498d496707cabecee592008ea322c68b0eb29ad | [
"MIT"
] | 16 | 2021-11-15T09:54:51.000Z | 2022-03-17T00:31:52.000Z | tests/test_aiohttp.py | Pliner/aio-background | 8498d496707cabecee592008ea322c68b0eb29ad | [
"MIT"
] | null | null | null | import asyncio
import aiohttp.web
import aiohttp.web_request
import aiohttp.web_response
import pytest
import yarl
import aio_background
@pytest.fixture
async def server_without_jobs(aiohttp_client):
async def health_check(request: aiohttp.web_request.Request) -> aiohttp.web_response.Response:
is_health... | 37.626374 | 113 | 0.749416 | 466 | 3,424 | 5.244635 | 0.128755 | 0.077741 | 0.066285 | 0.085106 | 0.859247 | 0.816285 | 0.816285 | 0.816285 | 0.816285 | 0.795008 | 0 | 0.017623 | 0.15479 | 3,424 | 90 | 114 | 38.044444 | 0.826883 | 0 | 0 | 0.686567 | 0 | 0 | 0.073014 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 1 | 0 | false | 0 | 0.104478 | 0 | 0.223881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
167f7984d254f4be25e2554d9f39807e0827d542 | 42,781 | py | Python | leo/external/rope/ropetest/refactor/extracttest.py | frakel/leo-editor | b574118ee3b7ffe8344fa0d00dac603096117ac7 | [
"MIT"
] | null | null | null | leo/external/rope/ropetest/refactor/extracttest.py | frakel/leo-editor | b574118ee3b7ffe8344fa0d00dac603096117ac7 | [
"MIT"
] | null | null | null | leo/external/rope/ropetest/refactor/extracttest.py | frakel/leo-editor | b574118ee3b7ffe8344fa0d00dac603096117ac7 | [
"MIT"
] | null | null | null | try:
import unittest2 as unittest
except ImportError:
import unittest
import rope.base.codeanalyze
import rope.base.exceptions
from rope.refactor import extract
from ropetest import testutils
class ExtractMethodTest(unittest.TestCase):
def setUp(self):
super(ExtractMethodTest, self).setUp()
... | 47.907055 | 79 | 0.545639 | 5,542 | 42,781 | 3.99188 | 0.046193 | 0.043394 | 0.051123 | 0.076934 | 0.871536 | 0.841568 | 0.824165 | 0.803914 | 0.759255 | 0.727162 | 0 | 0.018629 | 0.322433 | 42,781 | 892 | 80 | 47.960762 | 0.744575 | 0.002688 | 0 | 0.530895 | 0 | 0.002522 | 0.273358 | 0.009587 | 0 | 0 | 0 | 0.001121 | 0.10971 | 1 | 0.116015 | false | 0.02396 | 0.008827 | 0 | 0.129887 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16b50447e845d584960b1dc23a6adab06dd4366c | 31,253 | py | Python | contrib/opencensus-ext-stackdriver/tests/test_stackdriver_exporter.py | marianhromiak/opencensus-python | c2bd5b0c9b78d91de1a3108ddc376013b3ae6824 | [
"Apache-2.0"
] | null | null | null | contrib/opencensus-ext-stackdriver/tests/test_stackdriver_exporter.py | marianhromiak/opencensus-python | c2bd5b0c9b78d91de1a3108ddc376013b3ae6824 | [
"Apache-2.0"
] | 1 | 2019-05-20T05:17:32.000Z | 2019-05-20T23:21:48.000Z | contrib/opencensus-ext-stackdriver/tests/test_stackdriver_exporter.py | marianhromiak/opencensus-python | c2bd5b0c9b78d91de1a3108ddc376013b3ae6824 | [
"Apache-2.0"
] | 1 | 2019-05-23T17:26:57.000Z | 2019-05-23T17:26:57.000Z | # # Copyright 2017, OpenCensus Authors
# #
# # Licensed under the Apache License, Version 2.0 (the "License");
# # you may not use this file except in compliance with the License.
# # You may obtain a copy of the License at
# #
# # http://www.apache.org/licenses/LICENSE-2.0
# #
# # Unless required by applicable law... | 35.922989 | 78 | 0.377532 | 2,082 | 31,253 | 5.380884 | 0.122478 | 0.075426 | 0.104436 | 0.110238 | 0.746675 | 0.723378 | 0.711684 | 0.686691 | 0.646434 | 0.617602 | 0 | 0.018921 | 0.502832 | 31,253 | 869 | 79 | 35.964327 | 0.702085 | 0.946021 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16d598357610ff4251a1f2b8f94d3a13fbcd182e | 23,671 | py | Python | a10_octavia/tests/unit/controller/worker/tasks/test_glm_tasks.py | spencerharmon/a10-octavia | 9de5d6a415a5bcb777f087011f7755ed2db47c05 | [
"Apache-2.0"
] | 5 | 2020-03-10T16:48:55.000Z | 2021-09-18T00:57:58.000Z | a10_octavia/tests/unit/controller/worker/tasks/test_glm_tasks.py | spencerharmon/a10-octavia | 9de5d6a415a5bcb777f087011f7755ed2db47c05 | [
"Apache-2.0"
] | 72 | 2019-08-10T01:16:59.000Z | 2021-12-13T08:20:36.000Z | a10_octavia/tests/unit/controller/worker/tasks/test_glm_tasks.py | spencerharmon/a10-octavia | 9de5d6a415a5bcb777f087011f7755ed2db47c05 | [
"Apache-2.0"
] | 27 | 2019-08-11T19:26:52.000Z | 2021-07-21T09:08:58.000Z | # Copyright 2021, 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... | 49.417537 | 99 | 0.691268 | 2,799 | 23,671 | 5.508039 | 0.087531 | 0.040475 | 0.041772 | 0.035415 | 0.824609 | 0.78861 | 0.780372 | 0.775508 | 0.772005 | 0.768632 | 0 | 0.011544 | 0.224198 | 23,671 | 478 | 100 | 49.520921 | 0.827979 | 0.024418 | 0 | 0.641089 | 0 | 0 | 0.102401 | 0.058286 | 0 | 0 | 0 | 0 | 0.079208 | 1 | 0.071782 | false | 0.022277 | 0.039604 | 0 | 0.116337 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc860f2292fe5e8a47c46c7aa9e3b8a814076c40 | 40 | py | Python | Mesh/util/numpy_ext/__init__.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | null | null | null | Mesh/util/numpy_ext/__init__.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | 2 | 2019-02-25T00:10:15.000Z | 2019-03-22T20:13:32.000Z | Mesh/util/numpy_ext/__init__.py | ys-warble/Mesh | 115e7391d19ea09db3c627d8b8ed90b3e3bef9b5 | [
"MIT"
] | null | null | null | import Mesh.util.numpy_ext.char as char
| 20 | 39 | 0.825 | 8 | 40 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bce1866f0685e2d6a625544b9f45364d06777206 | 188 | py | Python | src/compas/numerical/algorithms/__init__.py | philianeles/compas | 129a5a7e9d8832495d2bbee6ce7c6463ab50f2d1 | [
"MIT"
] | null | null | null | src/compas/numerical/algorithms/__init__.py | philianeles/compas | 129a5a7e9d8832495d2bbee6ce7c6463ab50f2d1 | [
"MIT"
] | null | null | null | src/compas/numerical/algorithms/__init__.py | philianeles/compas | 129a5a7e9d8832495d2bbee6ce7c6463ab50f2d1 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .pca_numpy import *
from .topop_numpy import *
from .pca_numpy import __all__ as a7
from .topop_numpy import __all__ as a8
__all__ = a7 + a8
| 18.8 | 38 | 0.787234 | 30 | 188 | 4.233333 | 0.366667 | 0.346457 | 0.204724 | 0.283465 | 0.377953 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.170213 | 188 | 9 | 39 | 20.888889 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c1be44c485f48a41f2e487500e840b021875875 | 1,096 | py | Python | activitysim/activitysim/abm/test/extensions/landuse.py | ual/DOE-repo-deliverable | 4bafdd9a702a9a6466dd32ae62f440644d735d3c | [
"BSD-3-Clause"
] | null | null | null | activitysim/activitysim/abm/test/extensions/landuse.py | ual/DOE-repo-deliverable | 4bafdd9a702a9a6466dd32ae62f440644d735d3c | [
"BSD-3-Clause"
] | null | null | null | activitysim/activitysim/abm/test/extensions/landuse.py | ual/DOE-repo-deliverable | 4bafdd9a702a9a6466dd32ae62f440644d735d3c | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pandas as pd
import orca
@orca.column("land_use")
def total_households(land_use):
return land_use.local.TOTHH
@orca.column("land_use")
def total_employment(land_use):
return land_use.local.TOTEMP
@orca.column("land_use")
def total_acres(land_use):
return land_use.local.TOTAC... | 22.367347 | 80 | 0.75 | 171 | 1,096 | 4.51462 | 0.251462 | 0.262953 | 0.145078 | 0.176166 | 0.620466 | 0.59456 | 0.300518 | 0.217617 | 0.095855 | 0 | 0 | 0.002116 | 0.137774 | 1,096 | 48 | 81 | 22.833333 | 0.814815 | 0.020073 | 0 | 0.266667 | 0 | 0 | 0.078358 | 0 | 0 | 0 | 0 | 0.020833 | 0.033333 | 1 | 0.266667 | false | 0 | 0.1 | 0.233333 | 0.633333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4c3545afe54add9b8968863d4a6597edcb7e14de | 2,897 | py | Python | tests/unit_tests/test_charger_lock.py | hobbe/teslajsonpy | 1d185a13ddf8024d74bd7a6bec5d798ca0270f61 | [
"Apache-2.0"
] | null | null | null | tests/unit_tests/test_charger_lock.py | hobbe/teslajsonpy | 1d185a13ddf8024d74bd7a6bec5d798ca0270f61 | [
"Apache-2.0"
] | null | null | null | tests/unit_tests/test_charger_lock.py | hobbe/teslajsonpy | 1d185a13ddf8024d74bd7a6bec5d798ca0270f61 | [
"Apache-2.0"
] | null | null | null | """Test charger lock."""
import pytest
from tests.tesla_mock import TeslaMock
from teslajsonpy.controller import Controller
from teslajsonpy.lock import ChargerLock
def test_has_battery(monkeypatch):
"""Test has_battery()."""
_mock = TeslaMock(monkeypatch)
_controller = Controller(None)
_data = _... | 23.552846 | 58 | 0.713842 | 347 | 2,897 | 5.544669 | 0.132565 | 0.037422 | 0.067568 | 0.070166 | 0.794699 | 0.765593 | 0.765593 | 0.765593 | 0.765593 | 0.765593 | 0 | 0 | 0.182603 | 2,897 | 122 | 59 | 23.745902 | 0.8125 | 0.026579 | 0 | 0.830986 | 0 | 0 | 0.062335 | 0.039668 | 0 | 0 | 0 | 0 | 0.183099 | 1 | 0.028169 | false | 0 | 0.056338 | 0 | 0.084507 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c4cdc8f79352577dbc78afdb200c245ea17167f | 91 | py | Python | backend/beedare/landing/__init__.py | gijs3ntius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | 5 | 2018-07-12T11:59:17.000Z | 2021-11-17T19:01:15.000Z | backend/beedare/landing/__init__.py | gijs3ntius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | 17 | 2020-06-05T18:27:11.000Z | 2022-03-11T23:24:50.000Z | backend/beedare/landing/__init__.py | gijsentius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | 1 | 2020-02-25T13:57:47.000Z | 2020-02-25T13:57:47.000Z | from flask import Blueprint
landing = Blueprint('landing', __name__)
from . import views
| 15.166667 | 40 | 0.769231 | 11 | 91 | 6 | 0.636364 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 5 | 41 | 18.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4c6a3595e39a5cafbfb0cff0963a9abb789505dc | 168 | py | Python | lib/JumpScale/lib/lxc/__init__.py | jumpscale7/jumpscale_core7 | c3115656214cab1bd32f7a1e092c0bffc84a00cd | [
"Apache-2.0"
] | null | null | null | lib/JumpScale/lib/lxc/__init__.py | jumpscale7/jumpscale_core7 | c3115656214cab1bd32f7a1e092c0bffc84a00cd | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | lib/JumpScale/lib/lxc/__init__.py | jumpscale7/jumpscale_core7 | c3115656214cab1bd32f7a1e092c0bffc84a00cd | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | from JumpScale import j
def cb():
from .Lxc import Lxc
return Lxc()
j.base.loader.makeAvailable(j, 'system.platform')
j.system.platform._register('lxc', cb)
| 16.8 | 49 | 0.702381 | 25 | 168 | 4.68 | 0.56 | 0.119658 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 168 | 9 | 50 | 18.666667 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5b718bbea896387139a74673f7566c21db91a29 | 49 | py | Python | Chapter-4A/charter/__init__.py | Carl-Ty/Modular-Programming-with-Python | efe1c725602b2148fdeb530e89381895c3e7f696 | [
"MIT"
] | null | null | null | Chapter-4A/charter/__init__.py | Carl-Ty/Modular-Programming-with-Python | efe1c725602b2148fdeb530e89381895c3e7f696 | [
"MIT"
] | null | null | null | Chapter-4A/charter/__init__.py | Carl-Ty/Modular-Programming-with-Python | efe1c725602b2148fdeb530e89381895c3e7f696 | [
"MIT"
] | null | null | null | from .chart import *
from .generator import * | 24.5 | 24 | 0.693878 | 6 | 49 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 49 | 2 | 25 | 24.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
912b7c31de01e9cb509c06493f6dc00c09f87ec0 | 26,969 | py | Python | sdk/python/pulumi_oci/networkloadbalancer/_inputs.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/networkloadbalancer/_inputs.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/networkloadbalancer/_inputs.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 39.777286 | 494 | 0.646112 | 3,403 | 26,969 | 4.98707 | 0.079636 | 0.066761 | 0.062813 | 0.045902 | 0.849862 | 0.774144 | 0.733133 | 0.692063 | 0.676978 | 0.653821 | 0 | 0.007978 | 0.242389 | 26,969 | 677 | 495 | 39.836041 | 0.822631 | 0.322741 | 0 | 0.597315 | 1 | 0 | 0.087862 | 0.026768 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208054 | false | 0 | 0.011186 | 0.033557 | 0.33557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6a02049e1e7e3f9f9f270de2a17c0dc10dcbbd2 | 47 | py | Python | rmipipeline/__init__.py | mri-group-opbg/mri-pipelines | 0bc23e04717b6f92b8c270d9d44cd65e7f9f538c | [
"Apache-2.0"
] | null | null | null | rmipipeline/__init__.py | mri-group-opbg/mri-pipelines | 0bc23e04717b6f92b8c270d9d44cd65e7f9f538c | [
"Apache-2.0"
] | null | null | null | rmipipeline/__init__.py | mri-group-opbg/mri-pipelines | 0bc23e04717b6f92b8c270d9d44cd65e7f9f538c | [
"Apache-2.0"
] | null | null | null | from .tasks import *
from .kubernetes import *
| 15.666667 | 25 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6e46f764c5b0557f956d8c6aea1ba30d09eccca | 46,181 | py | Python | tests/unit/test_disco_aws.py | amplifylitco/asiaq | a1a292f6e9cbf32a30242405e4947b17910e5369 | [
"BSD-2-Clause"
] | 27 | 2016-03-08T16:50:22.000Z | 2018-11-26T06:33:25.000Z | tests/unit/test_disco_aws.py | amplifylitco/asiaq | a1a292f6e9cbf32a30242405e4947b17910e5369 | [
"BSD-2-Clause"
] | 202 | 2016-03-08T17:13:08.000Z | 2019-02-01T00:49:06.000Z | tests/unit/test_disco_aws.py | amplify-education/asiaq | fb6004bc4da0acef40e7bc18b148db4f72fa2f32 | [
"BSD-2-Clause"
] | 2 | 2016-03-17T18:52:37.000Z | 2016-10-06T20:36:37.000Z | """
Tests of disco_aws
"""
from __future__ import print_function
from unittest import TestCase, skip
from datetime import datetime
from datetime import timedelta
import boto.ec2.instance
from boto.exception import EC2ResponseError
from mock import MagicMock, call, patch, create_autospec
from moto import mock_elb
fr... | 48.105208 | 108 | 0.615275 | 5,090 | 46,181 | 5.255206 | 0.068959 | 0.023627 | 0.03645 | 0.023926 | 0.877902 | 0.858312 | 0.829751 | 0.812853 | 0.788403 | 0.775207 | 0 | 0.023704 | 0.280137 | 46,181 | 959 | 109 | 48.15537 | 0.780923 | 0.067474 | 0 | 0.667939 | 0 | 0 | 0.164189 | 0.069486 | 0 | 0 | 0 | 0 | 0.115776 | 1 | 0.05598 | false | 0.001272 | 0.015267 | 0 | 0.076336 | 0.002545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6ee538e7dbc78b6955bfb070afda32b5d9fe25c | 37 | py | Python | ipmi/__init__.py | davidc0le/ipmitool | 830081623c0ec75d560123a559f0bb201f26cde6 | [
"Apache-2.0"
] | null | null | null | ipmi/__init__.py | davidc0le/ipmitool | 830081623c0ec75d560123a559f0bb201f26cde6 | [
"Apache-2.0"
] | null | null | null | ipmi/__init__.py | davidc0le/ipmitool | 830081623c0ec75d560123a559f0bb201f26cde6 | [
"Apache-2.0"
] | null | null | null | from ipmi import ipmitool, IPMIError
| 18.5 | 36 | 0.837838 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc37dc26211c884968c689db09cb24a9bead1a8e | 577 | py | Python | data/test/python/fc37dc26211c884968c689db09cb24a9bead1a8esignals.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/python/fc37dc26211c884968c689db09cb24a9bead1a8esignals.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/python/fc37dc26211c884968c689db09cb24a9bead1a8esignals.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | import django.dispatch
# files
file_edit_start = django.dispatch.Signal(providing_args=["repo", "file_path", "url"])
file_edit_finish = django.dispatch.Signal(providing_args=["repo", "file_path", "url"])
file_created = django.dispatch.Signal(providing_args=["repo", "file_path", "url"])
file_removed = django.dispatch.S... | 48.083333 | 86 | 0.7487 | 75 | 577 | 5.533333 | 0.28 | 0.26988 | 0.337349 | 0.489157 | 0.809639 | 0.809639 | 0.809639 | 0.491566 | 0.491566 | 0.375904 | 0 | 0 | 0.067591 | 577 | 12 | 87 | 48.083333 | 0.771375 | 0.015598 | 0 | 0 | 0 | 0 | 0.171378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc3f5b758508e4ea62d4b3be03a2c65a5bccf93f | 26 | py | Python | app/images/__init__.py | michaelscales88/flask_photo | bf3d2622cadd010dc8eb522610a5130bf4b9be98 | [
"MIT"
] | null | null | null | app/images/__init__.py | michaelscales88/flask_photo | bf3d2622cadd010dc8eb522610a5130bf4b9be98 | [
"MIT"
] | null | null | null | app/images/__init__.py | michaelscales88/flask_photo | bf3d2622cadd010dc8eb522610a5130bf4b9be98 | [
"MIT"
] | null | null | null | from .models import Image
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fca25c1e191510522ef4a849fda1f77b34f7fa8d | 80 | py | Python | few_shot_learning/data/__init__.py | summelon/NASA_Hackathon2020_Team10 | a7d3c3b3a1c1c217090111cfdf2174c755e95780 | [
"MIT"
] | 3 | 2020-10-04T09:00:01.000Z | 2021-07-06T02:36:55.000Z | few_shot_learning/data/__init__.py | adkevin3307/NASA_Hackathon2020_Team10 | a7d3c3b3a1c1c217090111cfdf2174c755e95780 | [
"MIT"
] | null | null | null | few_shot_learning/data/__init__.py | adkevin3307/NASA_Hackathon2020_Team10 | a7d3c3b3a1c1c217090111cfdf2174c755e95780 | [
"MIT"
] | 1 | 2020-10-05T15:06:30.000Z | 2020-10-05T15:06:30.000Z | from . import datamgr
from . import dataset
from . import additional_transforms
| 20 | 35 | 0.8125 | 10 | 80 | 6.4 | 0.6 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 3 | 36 | 26.666667 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d76c0776d99db82da2575e147b348a3fa19c458 | 24 | py | Python | contrib/diggext/drivers/devices/appliance/__init__.py | thekad/clusto | c141ea3ef4931c6a21fdf42845c6e9de5ee08caa | [
"BSD-3-Clause"
] | 216 | 2015-01-10T17:03:25.000Z | 2022-03-24T07:23:41.000Z | contrib/diggext/drivers/devices/appliance/__init__.py | thekad/clusto | c141ea3ef4931c6a21fdf42845c6e9de5ee08caa | [
"BSD-3-Clause"
] | 23 | 2015-01-08T16:51:22.000Z | 2021-03-13T12:56:04.000Z | contrib/diggext/drivers/devices/appliance/__init__.py | thekad/clusto | c141ea3ef4931c6a21fdf42845c6e9de5ee08caa | [
"BSD-3-Clause"
] | 49 | 2015-01-08T00:13:17.000Z | 2021-09-22T02:01:20.000Z | from netscaler import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5dabf911a62060d60b0502816b1afce50085893a | 121 | py | Python | bcpy/processing/__init__.py | bneurd/bcpy | f52b64d3206c38f3131e91b4067a35765991891e | [
"MIT"
] | 2 | 2019-05-08T17:35:55.000Z | 2020-03-06T18:23:40.000Z | bcpy/processing/__init__.py | igornfaustino/bcpy | f52b64d3206c38f3131e91b4067a35765991891e | [
"MIT"
] | 17 | 2019-07-17T01:36:15.000Z | 2020-05-02T13:22:27.000Z | bcpy/processing/__init__.py | bneurd/bcpy | f52b64d3206c38f3131e91b4067a35765991891e | [
"MIT"
] | 1 | 2019-05-08T17:38:35.000Z | 2019-05-08T17:38:35.000Z | from .processing import bandfilter, notch, drop_channels, car
__all__ = ['bandfilter', 'notch', 'drop_channels', 'car']
| 30.25 | 61 | 0.735537 | 14 | 121 | 5.928571 | 0.642857 | 0.361446 | 0.457831 | 0.650602 | 0.722892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 3 | 62 | 40.333333 | 0.775701 | 0 | 0 | 0 | 0 | 0 | 0.256198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5ded183750a547cb77eb404a5b38f2df70661cfa | 127,223 | py | Python | utils.py | vassilis-karavias/fNRI-mastersigma | d3f4fecf9d28a9bc6e6150994824ca7674006ed3 | [
"MIT"
] | null | null | null | utils.py | vassilis-karavias/fNRI-mastersigma | d3f4fecf9d28a9bc6e6150994824ca7674006ed3 | [
"MIT"
] | null | null | null | utils.py | vassilis-karavias/fNRI-mastersigma | d3f4fecf9d28a9bc6e6150994824ca7674006ed3 | [
"MIT"
] | null | null | null | """
This code is based on https://github.com/ekwebb/fNRI which in turn is based on https://github.com/ethanfetaya/NRI
(MIT licence)
"""
import numpy as np
import torch
from torch.utils.data.dataset import TensorDataset
from torch.utils.data import DataLoader
import torch.nn.functional as F
from torch.autograd import V... | 55.19436 | 207 | 0.688681 | 17,911 | 127,223 | 4.730612 | 0.047345 | 0.010858 | 0.020205 | 0.022306 | 0.841178 | 0.824808 | 0.811932 | 0.800921 | 0.789791 | 0.783146 | 0 | 0.023589 | 0.199296 | 127,223 | 2,305 | 208 | 55.19436 | 0.808173 | 0.34614 | 0 | 0.686534 | 0 | 0 | 0.004594 | 0 | 0 | 0 | 0 | 0 | 0.000736 | 1 | 0.055188 | false | 0 | 0.007358 | 0.003679 | 0.116998 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b90ad32ab8a7ec05e494fe06559e8933d072f4fa | 49 | py | Python | hacktoberfest.py | sumon328/Hacktoberfest_contribution_2021 | 25200d91ffa43a50f48764901ede1bf9c359119d | [
"Apache-2.0"
] | null | null | null | hacktoberfest.py | sumon328/Hacktoberfest_contribution_2021 | 25200d91ffa43a50f48764901ede1bf9c359119d | [
"Apache-2.0"
] | 2 | 2021-10-16T18:28:44.000Z | 2021-10-18T10:46:42.000Z | hacktoberfest.py | sumon328/Hacktoberfest_contribution_2021 | 25200d91ffa43a50f48764901ede1bf9c359119d | [
"Apache-2.0"
] | 6 | 2021-10-03T05:48:18.000Z | 2021-10-31T13:35:03.000Z | print(''' Welcome To hactoberfest 2021
'''*1000)
| 16.333333 | 38 | 0.693878 | 6 | 49 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 0.122449 | 49 | 2 | 39 | 24.5 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5d406d0f937cfd4885b142e58bb183f9161016f5 | 48 | py | Python | kn-copy.py | kaushik2997/NewCodeManagement | eb2dc68388c7ee3ec23fed726efe690c1703ba3e | [
"MIT"
] | null | null | null | kn-copy.py | kaushik2997/NewCodeManagement | eb2dc68388c7ee3ec23fed726efe690c1703ba3e | [
"MIT"
] | null | null | null | kn-copy.py | kaushik2997/NewCodeManagement | eb2dc68388c7ee3ec23fed726efe690c1703ba3e | [
"MIT"
] | null | null | null | print("Project is created by KAushik and Imran") | 48 | 48 | 0.791667 | 8 | 48 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5d6c4a19f406b2c6763e549fe1baede7b11b45a6 | 9,118 | py | Python | project/tests/test_lines.py | mycognosist/mycofile-api | d38efef7e9c256e046e9c5ff3ddf89b686e43377 | [
"MIT"
] | null | null | null | project/tests/test_lines.py | mycognosist/mycofile-api | d38efef7e9c256e046e9c5ff3ddf89b686e43377 | [
"MIT"
] | null | null | null | project/tests/test_lines.py | mycognosist/mycofile-api | d38efef7e9c256e046e9c5ff3ddf89b686e43377 | [
"MIT"
] | null | null | null | # project/tests/test_lines.py
import json
from project.tests.base import BaseTestCase
from project import db
from project.api.models import Line
from project.tests.utils import add_line
class TestLineService(BaseTestCase):
"""Tests for the Lines Service."""
def test_add_line(self):
"""Ensure a new... | 39.301724 | 87 | 0.539811 | 999 | 9,118 | 4.82983 | 0.114114 | 0.082073 | 0.03772 | 0.059275 | 0.854922 | 0.840415 | 0.790259 | 0.76456 | 0.747772 | 0.72601 | 0 | 0.022679 | 0.322988 | 9,118 | 231 | 88 | 39.471861 | 0.75895 | 0.081048 | 0 | 0.651515 | 0 | 0 | 0.147689 | 0.025518 | 0 | 0 | 0 | 0 | 0.262626 | 1 | 0.065657 | false | 0 | 0.025253 | 0 | 0.09596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
537c6a9f831be0998345b0d3af74d2247add5606 | 7,564 | py | Python | S4/S4 Library/simulation/laundry/laundry_tuning.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/laundry/laundry_tuning.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/laundry/laundry_tuning.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from event_testing.tests import TunableTestSet
from objects.components.state import TunableStateValueReference, TunableStateTypeReference
from sims.outfits.outfit_enums import OutfitCategory
from sims4.tuning.tunable import TunableReference, TunableEnumWithFilter, TunableTuple, TunablePercent, TunableSimMinute, Tunable... | 444.941176 | 2,197 | 0.707694 | 970 | 7,564 | 5.426804 | 0.227835 | 0.059271 | 0.025646 | 0.024696 | 0.392287 | 0.333017 | 0.271847 | 0.227964 | 0.212386 | 0.212386 | 0 | 0.003565 | 0.221179 | 7,564 | 16 | 2,198 | 472.75 | 0.890002 | 0 | 0 | 0 | 0 | 1.133333 | 0.567425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.466667 | 0 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
53df6295fecc284a19e9859a4b445ac32b9f50d6 | 107 | py | Python | app/elastic-plugin/gui/views.py | starmanone/elastic-plugin | 04fa6764e10e6f58f934f78ce79cc43a4e59ddf9 | [
"MIT"
] | null | null | null | app/elastic-plugin/gui/views.py | starmanone/elastic-plugin | 04fa6764e10e6f58f934f78ce79cc43a4e59ddf9 | [
"MIT"
] | null | null | null | app/elastic-plugin/gui/views.py | starmanone/elastic-plugin | 04fa6764e10e6f58f934f78ce79cc43a4e59ddf9 | [
"MIT"
] | 1 | 2021-01-15T14:43:13.000Z | 2021-01-15T14:43:13.000Z | from django.shortcuts import render
def index(request):
return render(request,'gui/home-gui.html') | 26.75 | 46 | 0.738318 | 15 | 107 | 5.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 4 | 46 | 26.75 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9901f5b8a19a3f3fd677b3932e0aae10e8c475d1 | 194 | py | Python | mantraml/models/tensorflow/summary.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | null | null | null | mantraml/models/tensorflow/summary.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | null | null | null | mantraml/models/tensorflow/summary.py | cclauss/mantra | 19e2f72960da8314f11768d9acfe7836629b817c | [
"Apache-2.0"
] | null | null | null | import os
import tensorflow as tf
def FileWriter(mantra_model, **kwargs):
return tf.summary.FileWriter('%s/trials/%s/logs/' % (os.getcwd(), mantra_model.trial.trial_folder_name), **kwargs) | 32.333333 | 118 | 0.742268 | 28 | 194 | 5 | 0.678571 | 0.157143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 194 | 6 | 118 | 32.333333 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
073066d78d57b310519aa253a79aef02141f7ed5 | 110 | py | Python | lang/py/cookbook/v2/source/cb2_1_23_sol_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_1_23_sol_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_1_23_sol_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | def encode_for_html(unicode_data, encoding='ascii'):
return unicode_data.encode(encoding, 'html_replace')
| 36.666667 | 56 | 0.790909 | 15 | 110 | 5.466667 | 0.666667 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 110 | 2 | 57 | 55 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
073379ac5fbd211718cc1728b34c3d765a465356 | 18,112 | bzl | Python | bazel/complicated_cargo_library_remote/cargo/crates.bzl | acmcarther/cargo-raze-examples | a9d9b8f589ca93e3be235d98cada6354da796ecf | [
"Apache-2.0"
] | 4 | 2017-09-13T21:49:24.000Z | 2020-06-20T17:38:50.000Z | bazel/complicated_cargo_library_remote/cargo/crates.bzl | acmcarther/cargo-raze-examples | a9d9b8f589ca93e3be235d98cada6354da796ecf | [
"Apache-2.0"
] | 6 | 2017-09-13T00:53:42.000Z | 2019-05-01T01:00:52.000Z | bazel/complicated_cargo_library_remote/cargo/crates.bzl | acmcarther/cargo-raze-examples | a9d9b8f589ca93e3be235d98cada6354da796ecf | [
"Apache-2.0"
] | 1 | 2018-03-15T03:12:06.000Z | 2018-03-15T03:12:06.000Z | """
cargo-raze crate workspace functions
DO NOT EDIT! Replaced on runs of cargo-raze
"""
def complicated_fetch_remote_crates():
native.new_http_archive(
name = "complicated__aho_corasick__0_6_4",
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/aho-corasick/aho-corasick-0.6.4.crate",
... | 42.616471 | 138 | 0.65487 | 2,707 | 18,112 | 4.110085 | 0.043591 | 0.042064 | 0.060759 | 0.093475 | 0.929984 | 0.86536 | 0.818713 | 0.756696 | 0.652885 | 0.480227 | 0 | 0.056204 | 0.190537 | 18,112 | 424 | 139 | 42.716981 | 0.702681 | 0.004472 | 0 | 0.284932 | 1 | 0.147945 | 0.585118 | 0.292476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00274 | true | 0 | 0 | 0 | 0.00274 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0754c2fb82c05b874aef809336d979b24632fe6a | 1,615 | py | Python | tests/ocr/test_customocr_object.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | 6 | 2021-05-20T16:48:27.000Z | 2022-03-15T15:43:40.000Z | tests/ocr/test_customocr_object.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | 25 | 2021-06-25T13:37:21.000Z | 2022-01-03T15:54:26.000Z | tests/ocr/test_customocr_object.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | null | null | null | import pytest
from indico_toolkit.indico_wrapper import DocExtraction
def test_full_text(indico_client, pdf_filepath):
doc_extraction = DocExtraction(indico_client, preset_config="simple")
custom_ocr = doc_extraction.run_ocr(filepaths=[pdf_filepath])
assert len(custom_ocr[0].full_text) == 2823
def test_... | 34.361702 | 80 | 0.671827 | 190 | 1,615 | 5.352632 | 0.263158 | 0.079646 | 0.058997 | 0.090462 | 0.807276 | 0.780728 | 0.780728 | 0.717797 | 0.717797 | 0.717797 | 0 | 0.007042 | 0.208669 | 1,615 | 46 | 81 | 35.108696 | 0.788732 | 0 | 0 | 0.526316 | 0 | 0 | 0.118266 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4aca1a54f4e6e0b8dbb54440a7f0d2d42b7f1a65 | 5,470 | py | Python | tests/test_routes_files.py | altmirai/altpiggybank | 751590642e0a2a572310923fbd971acd0fdf8527 | [
"MIT"
] | null | null | null | tests/test_routes_files.py | altmirai/altpiggybank | 751590642e0a2a572310923fbd971acd0fdf8527 | [
"MIT"
] | 6 | 2020-08-13T13:45:12.000Z | 2020-08-14T15:08:41.000Z | tests/test_routes_files.py | altmirai/altpiggybank | 751590642e0a2a572310923fbd971acd0fdf8527 | [
"MIT"
] | 1 | 2020-08-13T16:16:00.000Z | 2020-08-13T16:16:00.000Z | from unittest import mock
from click.testing import CliRunner
from tests.test_data import TestDataOne, MockFeeEstOne
from src.routes import main
from src.files import excel_date
import datetime
import json
from hashlib import sha256
import os
t = TestDataOne()
def set_up_files():
tear_down_files()
os.mkdir(... | 32.754491 | 122 | 0.682998 | 854 | 5,470 | 4.135831 | 0.124122 | 0.041619 | 0.065402 | 0.044168 | 0.848811 | 0.844564 | 0.833239 | 0.802661 | 0.736976 | 0.64949 | 0 | 0.005033 | 0.164534 | 5,470 | 166 | 123 | 32.951807 | 0.767834 | 0.01755 | 0 | 0.663866 | 0 | 0 | 0.190237 | 0.17738 | 0 | 0 | 0 | 0 | 0.168067 | 1 | 0.058824 | false | 0 | 0.07563 | 0 | 0.134454 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4addd4506bb6a2bc610d5d4c6aee1bbee378cad5 | 37,683 | py | Python | instances/passenger_demand/pas-20210421-2109-int1/98.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int1/98.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int1/98.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 2262
passenger_arriving = (
(3, 10, 3, 3, 1, 0, 4, 8, 2, 2, 1, 0), # 0
(1, 5, 4, 2, 1, 0, 5, 6, 3, 0, 4, 0), # 1
(8, 6, 7, 5, 2, 0, 7, 6, 5, 4, 4, 0), # 2
(2, 3, 6, 4, 2, 0, 6, 5, 6, 1, 1, 0), # 3
(5, 3, 4, 3, 1, 0, 3, 4, 0, 3, 1, 0), # 4
(3, 5, 4, 6, 1, 0, 3, 10, 4, 4, ... | 112.486567 | 215 | 0.727623 | 5,147 | 37,683 | 5.325044 | 0.217602 | 0.315236 | 0.249562 | 0.472855 | 0.333552 | 0.331728 | 0.330852 | 0.330342 | 0.330342 | 0.330342 | 0 | 0.817902 | 0.119789 | 37,683 | 334 | 216 | 112.823353 | 0.008411 | 0.032137 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab02e8f59de35acb2de9b4e22d29b46d2514cadc | 32,368 | py | Python | tests/test_aiohttp.py | bollwyvl/gql | fe213c42f07ae14f1311fd5cdd453413a35156df | [
"MIT"
] | null | null | null | tests/test_aiohttp.py | bollwyvl/gql | fe213c42f07ae14f1311fd5cdd453413a35156df | [
"MIT"
] | null | null | null | tests/test_aiohttp.py | bollwyvl/gql | fe213c42f07ae14f1311fd5cdd453413a35156df | [
"MIT"
] | null | null | null | import io
import json
from typing import Mapping
import pytest
from gql import Client, gql
from gql.cli import get_parser, main
from gql.transport.exceptions import (
TransportAlreadyConnected,
TransportClosed,
TransportProtocolError,
TransportQueryError,
TransportServerError,
)
from .conftest im... | 28.024242 | 88 | 0.662908 | 3,899 | 32,368 | 5.298538 | 0.079508 | 0.03398 | 0.024687 | 0.028075 | 0.812914 | 0.785033 | 0.757249 | 0.750617 | 0.723849 | 0.702503 | 0 | 0.013779 | 0.233193 | 32,368 | 1,154 | 89 | 28.048527 | 0.818574 | 0.042604 | 0 | 0.698499 | 0 | 0.002729 | 0.117498 | 0.019032 | 0 | 0 | 0 | 0 | 0.084584 | 1 | 0.004093 | false | 0.002729 | 0.085948 | 0 | 0.122783 | 0.004093 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab06e11725f4013f0d30102b4fd8953a0baac5a4 | 22,441 | py | Python | mayan/apps/metadata/tests/test_api.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 1 | 2021-06-17T18:24:25.000Z | 2021-06-17T18:24:25.000Z | mayan/apps/metadata/tests/test_api.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 7 | 2020-06-06T00:01:04.000Z | 2022-01-13T01:47:17.000Z | mayan/apps/metadata/tests/test_api.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from rest_framework import status
from mayan.apps.documents.permissions import (
permission_document_type_edit, permission_document_type_view
)
from mayan.apps.documents.tests import DocumentTestMixin
from mayan.apps.rest_api.tests import BaseAPITestCase
from ..models impo... | 39.370175 | 88 | 0.71102 | 2,567 | 22,441 | 5.719907 | 0.043631 | 0.133215 | 0.077368 | 0.084996 | 0.904447 | 0.890077 | 0.856228 | 0.831914 | 0.807737 | 0.776817 | 0 | 0.00702 | 0.212825 | 22,441 | 569 | 89 | 39.439367 | 0.824172 | 0 | 0 | 0.575824 | 0 | 0 | 0.048215 | 0.023261 | 0 | 0 | 0 | 0 | 0.162637 | 1 | 0.118681 | false | 0 | 0.01978 | 0.032967 | 0.18022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab22e87fccac5bbe3bba1f0b036a8c105554c976 | 88 | py | Python | django_weasyprint/__init__.py | Rockrdx710/django-weasyprint | 504ecbe3afb537bb9f6a8b33520c06e366aa9dae | [
"Apache-2.0"
] | 250 | 2016-08-05T11:24:11.000Z | 2022-03-30T13:36:45.000Z | django_weasyprint/__init__.py | Rockrdx710/django-weasyprint | 504ecbe3afb537bb9f6a8b33520c06e366aa9dae | [
"Apache-2.0"
] | 51 | 2016-08-05T15:26:30.000Z | 2022-03-11T10:40:27.000Z | django_weasyprint/__init__.py | Rockrdx710/django-weasyprint | 504ecbe3afb537bb9f6a8b33520c06e366aa9dae | [
"Apache-2.0"
] | 50 | 2016-08-05T12:52:26.000Z | 2021-12-09T12:36:32.000Z | from .views import WeasyTemplateResponseMixin, WeasyTemplateView, WeasyTemplateResponse
| 44 | 87 | 0.897727 | 6 | 88 | 13.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 88 | 1 | 88 | 88 | 0.963415 | 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 | 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 | 6 |
ab5bbca07b2ffa1ea9f6558a99b0bfe50c894334 | 45 | py | Python | env/lib/python2.7/site-packages/wtforms/ext/csrf/__init__.py | lindamar/ecclesi | cad07fc78daf6facd1b74cc1cb1872aaf4771fa2 | [
"MIT"
] | 481 | 2015-01-04T13:39:05.000Z | 2021-12-05T14:58:16.000Z | env/lib/python3.6/site-packages/wtforms/ext/csrf/__init__.py | amogh-gulati/corona_dashboard | ce1a20ad56bdfb758d41513b4706fe3a47764c32 | [
"MIT"
] | 309 | 2016-10-27T23:47:06.000Z | 2017-04-02T04:40:21.000Z | lib/python2.7/site-packages/wtforms/ext/csrf/__init__.py | anish03/weather-dash | d517fa9da9028d1fc5d8fd71d77cee829ddee87b | [
"MIT"
] | 127 | 2015-01-01T14:14:02.000Z | 2021-12-05T14:58:17.000Z | from wtforms.ext.csrf.form import SecureForm
| 22.5 | 44 | 0.844444 | 7 | 45 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab5c8e440c0e3469cb870c953e8baa257e5b753f | 1,331 | py | Python | backend/notices/models.py | itimor/one-ops | f1111735de252012752dfabe11598e9690c89257 | [
"MIT"
] | null | null | null | backend/notices/models.py | itimor/one-ops | f1111735de252012752dfabe11598e9690c89257 | [
"MIT"
] | 6 | 2021-03-19T10:20:05.000Z | 2021-09-22T19:30:21.000Z | backend/notices/models.py | itimor/one-ops | f1111735de252012752dfabe11598e9690c89257 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# author: itimor
from django.db import models
from common.models import BaseModel
notice_type = {
0: 'mail',
1: 'telegram',
}
class MailBot(BaseModel):
type = models.CharField(max_length=10, choices=tuple(notice_type.items()), default=0, verbose_name='通知类型')
name = models.Cha... | 31.690476 | 110 | 0.701728 | 178 | 1,331 | 5.005618 | 0.320225 | 0.209877 | 0.222222 | 0.296296 | 0.7789 | 0.716049 | 0.716049 | 0.417508 | 0.417508 | 0.417508 | 0 | 0.032638 | 0.1713 | 1,331 | 41 | 111 | 32.463415 | 0.775159 | 0.027047 | 0 | 0.344828 | 0 | 0 | 0.045666 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0.034483 | 0.068966 | 0.068966 | 0.724138 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
dba9c8b932298747256b4a3e45ae13680bc774b5 | 22,711 | py | Python | flycs_sdk/entities.py | devoteamgcloud/flycs_sdk | d11a0c0057033572543e0e17704e1f401a14647e | [
"MIT"
] | null | null | null | flycs_sdk/entities.py | devoteamgcloud/flycs_sdk | d11a0c0057033572543e0e17704e1f401a14647e | [
"MIT"
] | 1 | 2022-03-01T10:16:06.000Z | 2022-03-01T12:22:16.000Z | flycs_sdk/entities.py | devoteamgcloud/flycs_sdk | d11a0c0057033572543e0e17704e1f401a14647e | [
"MIT"
] | null | null | null | """Module containing entity classes."""
from typing import Dict, List, Optional, Union
from .custom_code import CustomCode
from enum import Enum
from .transformations import Transformation
from .views import View
class ConflictingNameError(ValueError):
"""Raised when trying to insert a Transformation or View int... | 37.538843 | 135 | 0.623927 | 2,783 | 22,711 | 4.974488 | 0.070787 | 0.02167 | 0.035683 | 0.043918 | 0.83408 | 0.823606 | 0.812337 | 0.799335 | 0.777521 | 0.770153 | 0 | 0.000626 | 0.296552 | 22,711 | 604 | 136 | 37.600993 | 0.865924 | 0.376029 | 0 | 0.692308 | 0 | 0 | 0.067451 | 0.001817 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0.003205 | 0.016026 | 0 | 0.320513 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbbf08749f4778347fdd5ca74691fca498cef1f0 | 6,492 | py | Python | AppVoor/tests/parameter_search_test.py | Noczio/VoorSpelling | 51e30ab3f3b2e346c6eb56578818020e142a3adb | [
"BSD-3-Clause"
] | 3 | 2020-10-09T06:15:14.000Z | 2021-04-27T02:04:28.000Z | AppVoor/tests/parameter_search_test.py | Noczio/VoorSpelling | 51e30ab3f3b2e346c6eb56578818020e142a3adb | [
"BSD-3-Clause"
] | 17 | 2020-09-10T20:22:01.000Z | 2020-12-21T04:57:03.000Z | AppVoor/tests/parameter_search_test.py | Noczio/VoorSpelling | 51e30ab3f3b2e346c6eb56578818020e142a3adb | [
"BSD-3-Clause"
] | null | null | null | import unittest
from resources.backend_scripts.estimator_creation import EstimatorCreator
from resources.backend_scripts.load_data import LoaderCreator
from resources.backend_scripts.parameter_search import BayesianSearchParametersPossibilities
from resources.backend_scripts.parameter_search import GridSearchParameter... | 47.735294 | 92 | 0.688694 | 822 | 6,492 | 5.199513 | 0.114355 | 0.05475 | 0.050538 | 0.037904 | 0.868975 | 0.846514 | 0.846514 | 0.807206 | 0.807206 | 0.801591 | 0 | 0.003199 | 0.229667 | 6,492 | 135 | 93 | 48.088889 | 0.85143 | 0.252773 | 0 | 0.621951 | 0 | 0 | 0.072379 | 0.039933 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.085366 | 0 | 0.207317 | 0.109756 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbcfe1fa154406a3044c8b75fafe3edb788d380e | 24,957 | py | Python | tests/test_12_registration.py | peppelinux/fedservice | 0dc5fd0bd33e181b6a1a9bbef6835b2ce5d2f568 | [
"Apache-2.0"
] | 1 | 2020-09-30T13:07:41.000Z | 2020-09-30T13:07:41.000Z | tests/test_12_registration.py | peppelinux/fedservice | 0dc5fd0bd33e181b6a1a9bbef6835b2ce5d2f568 | [
"Apache-2.0"
] | null | null | null | tests/test_12_registration.py | peppelinux/fedservice | 0dc5fd0bd33e181b6a1a9bbef6835b2ce5d2f568 | [
"Apache-2.0"
] | null | null | null | import os
from oidcop.cookie_handler import CookieHandler
from oidcop.server import Server
from oidcop.user_authn.authn_context import UNSPECIFIED
from oidcop.user_authn.user import NoAuthn
from oidcrp.entity import Entity
from oidcrp.exception import OtherError
import pytest
import responses
from fedservice import F... | 42.661538 | 100 | 0.595504 | 2,475 | 24,957 | 5.712323 | 0.103838 | 0.05319 | 0.033668 | 0.037346 | 0.831659 | 0.820625 | 0.811218 | 0.79205 | 0.758735 | 0.733131 | 0 | 0.003052 | 0.291061 | 24,957 | 584 | 101 | 42.734589 | 0.796021 | 0.063389 | 0 | 0.680258 | 0 | 0 | 0.220832 | 0.037891 | 0 | 0 | 0 | 0 | 0.021459 | 1 | 0.015021 | false | 0.006438 | 0.070815 | 0 | 0.092275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9154bc0fd2ca64152e68a12d872eb73d55debc66 | 39 | py | Python | tests/vir.py | bretth/woven | ec1da7b401a335f43129e7115fe7a4d145649f1e | [
"BSD-3-Clause"
] | 5 | 2015-05-26T15:02:11.000Z | 2016-10-04T19:39:38.000Z | tests/vir.py | bretth/woven | ec1da7b401a335f43129e7115fe7a4d145649f1e | [
"BSD-3-Clause"
] | 3 | 2015-01-23T01:23:27.000Z | 2019-08-09T12:43:26.000Z | tests/vir.py | bretth/woven | ec1da7b401a335f43129e7115fe7a4d145649f1e | [
"BSD-3-Clause"
] | null | null | null |
from fabric.state import env
| 4.875 | 28 | 0.615385 | 5 | 39 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 39 | 7 | 29 | 5.571429 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91967e2144f9d6d55110528b39828fb6ae99f71c | 7,174 | py | Python | apps/api/migrations/0001_initial.py | ramseylove/project_management_api | 9c76c4464baf7f9af6c977a42ccd7eb3ce205c7b | [
"MIT"
] | null | null | null | apps/api/migrations/0001_initial.py | ramseylove/project_management_api | 9c76c4464baf7f9af6c977a42ccd7eb3ce205c7b | [
"MIT"
] | null | null | null | apps/api/migrations/0001_initial.py | ramseylove/project_management_api | 9c76c4464baf7f9af6c977a42ccd7eb3ce205c7b | [
"MIT"
] | null | null | null | # Generated by Django 3.1.7 on 2021-08-24 18:23
import apps.api.models
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import imagekit.models.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable... | 58.325203 | 186 | 0.608308 | 782 | 7,174 | 5.392583 | 0.14578 | 0.057387 | 0.053118 | 0.083472 | 0.799146 | 0.757173 | 0.730851 | 0.720892 | 0.720892 | 0.720892 | 0 | 0.010993 | 0.239197 | 7,174 | 122 | 187 | 58.803279 | 0.761634 | 0.006273 | 0 | 0.582609 | 1 | 0 | 0.127122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.078261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91d09ca86bacf37355a00e0b1404956b64e0cb1c | 31 | py | Python | smilescombine/__init__.py | LiamWilbraham/smilescombine | fa0c4b5ad543dbd4023d7248a10c4fbe2c2ffb0d | [
"MIT"
] | 4 | 2019-01-15T10:21:50.000Z | 2019-08-18T21:01:23.000Z | smilescombine/__init__.py | LiamWilbraham/smilescombine | fa0c4b5ad543dbd4023d7248a10c4fbe2c2ffb0d | [
"MIT"
] | 1 | 2020-07-02T23:05:29.000Z | 2020-08-02T15:35:18.000Z | smilescombine/__init__.py | LiamWilbraham/smilescombine | fa0c4b5ad543dbd4023d7248a10c4fbe2c2ffb0d | [
"MIT"
] | 5 | 2019-07-18T11:50:48.000Z | 2021-07-12T10:46:11.000Z | from .combiner import Combiner
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37f635214b04ce2a328568e76146e931daba3ad3 | 50 | py | Python | image_keras/supports/dl/__init__.py | tenkeyless/image-keras | 09da179d75bb7a17d76e4fd7456b1667c8b4f62b | [
"MIT"
] | null | null | null | image_keras/supports/dl/__init__.py | tenkeyless/image-keras | 09da179d75bb7a17d76e4fd7456b1667c8b4f62b | [
"MIT"
] | 1 | 2020-06-18T06:47:32.000Z | 2020-06-18T06:47:32.000Z | common_py/dl/__init__.py | tenkeyless/common_py | fae49f038dacecef468a5c0972fdbe0d6a5a66b9 | [
"MIT"
] | null | null | null | from .report import *
from .report_slack import *
| 16.666667 | 27 | 0.76 | 7 | 50 | 5.285714 | 0.571429 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 28 | 25 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
532f1990d10135c6762a958c609263b90c3ae08a | 10,636 | py | Python | models/action_recognition_2/tests/common/action_recognition_test_case.py | raymondlo84/training_extensions | dc9f45957648d5f9b9ca58c4e62f80e76f5270e9 | [
"Apache-2.0"
] | null | null | null | models/action_recognition_2/tests/common/action_recognition_test_case.py | raymondlo84/training_extensions | dc9f45957648d5f9b9ca58c4e62f80e76f5270e9 | [
"Apache-2.0"
] | null | null | null | models/action_recognition_2/tests/common/action_recognition_test_case.py | raymondlo84/training_extensions | dc9f45957648d5f9b9ca58c4e62f80e76f5270e9 | [
"Apache-2.0"
] | null | null | null | """
Copyright (c) 2020 Intel Corporation
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 wri... | 40.750958 | 120 | 0.596747 | 1,319 | 10,636 | 4.583776 | 0.150114 | 0.02481 | 0.026464 | 0.025306 | 0.798048 | 0.779524 | 0.771254 | 0.765961 | 0.765961 | 0.765961 | 0 | 0.006625 | 0.290429 | 10,636 | 260 | 121 | 40.907692 | 0.794488 | 0.052839 | 0 | 0.734375 | 0 | 0 | 0.25358 | 0.081742 | 0 | 0 | 0 | 0 | 0.03125 | 1 | 0.088542 | false | 0 | 0.03125 | 0 | 0.151042 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7255989dd64b5c650b857ca9a670a259ea51c435 | 26 | py | Python | extract/__init__.py | AndresRubianoM/exportVisualization | 1e2d00542f65f7d45805d1cd5ed44401cb5ebc00 | [
"MIT"
] | null | null | null | extract/__init__.py | AndresRubianoM/exportVisualization | 1e2d00542f65f7d45805d1cd5ed44401cb5ebc00 | [
"MIT"
] | null | null | null | extract/__init__.py | AndresRubianoM/exportVisualization | 1e2d00542f65f7d45805d1cd5ed44401cb5ebc00 | [
"MIT"
] | null | null | null | from .main import dataWits | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72a42c91d53a629f37ced63bfb38c7f5b5491953 | 16,531 | py | Python | tests/test_sale_vat_charge.py | jbma/pyvat | 58952f817b0bda38f0594ca8f7baa659ea18ca09 | [
"Apache-2.0"
] | 2 | 2021-10-02T03:16:25.000Z | 2021-12-07T15:12:17.000Z | tests/test_sale_vat_charge.py | jbma/pyvat | 58952f817b0bda38f0594ca8f7baa659ea18ca09 | [
"Apache-2.0"
] | null | null | null | tests/test_sale_vat_charge.py | jbma/pyvat | 58952f817b0bda38f0594ca8f7baa659ea18ca09 | [
"Apache-2.0"
] | null | null | null | import datetime
import pycountry
from decimal import Decimal
from pyvat import (
get_sale_vat_charge,
ItemType,
Party,
VatChargeAction,
)
from pyvat.countries import EU_COUNTRY_CODES
from unittest2 import TestCase
EXPECTED_VAT_RATES = {
'AT': {
ItemType.generic_physical_good: Decimal(20),
... | 43.274869 | 79 | 0.620713 | 1,612 | 16,531 | 6.104218 | 0.083747 | 0.175305 | 0.147967 | 0.094309 | 0.889228 | 0.794106 | 0.785874 | 0.785264 | 0.75874 | 0.749594 | 0 | 0.039597 | 0.29115 | 16,531 | 381 | 80 | 43.388451 | 0.800137 | 0.027887 | 0 | 0.611732 | 0 | 0 | 0.003862 | 0 | 0 | 0 | 0 | 0 | 0.030726 | 1 | 0.002793 | false | 0 | 0.01676 | 0 | 0.022346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72acdacbf328dc9f2b6e507f1a78162999095cf5 | 96 | py | Python | envi/tests/test_radixtree.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 716 | 2015-01-01T14:41:11.000Z | 2022-03-28T06:51:50.000Z | envi/tests/test_radixtree.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 266 | 2015-01-01T15:07:27.000Z | 2022-03-30T15:19:26.000Z | envi/tests/test_radixtree.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 159 | 2015-01-01T16:19:44.000Z | 2022-03-21T21:55:34.000Z | import unittest
import envi.radixtree as e_tree
class RadixTest(unittest.TestCase):
pass
| 12 | 35 | 0.78125 | 13 | 96 | 5.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 7 | 36 | 13.714286 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f4359a1c6d22a4b88fff79ef1ed663c2ca5bf8f4 | 78 | py | Python | scripts/addons/animation_nodes/data_structures/splines/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | 2 | 2020-04-16T22:12:40.000Z | 2022-01-22T17:18:45.000Z | scripts/addons/animation_nodes/data_structures/splines/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | null | null | null | scripts/addons/animation_nodes/data_structures/splines/__init__.py | Tilapiatsu/blender-custom_conf | 05592fedf74e4b7075a6228b8448a5cda10f7753 | [
"MIT"
] | 2 | 2019-05-16T04:01:09.000Z | 2020-08-25T11:42:26.000Z | from . poly_spline import PolySpline
from . bezier_spline import BezierSpline
| 26 | 40 | 0.846154 | 10 | 78 | 6.4 | 0.7 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 78 | 2 | 41 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f43cec9f610922118d4ebe6b5b0d68cf63d699b1 | 287 | py | Python | lib/nas_201_api/__init__.py | EM-AutoML/AutoDL-Projects | 8ff416fe5d6cb1b310b885fe376e6f2790fbda14 | [
"MIT"
] | null | null | null | lib/nas_201_api/__init__.py | EM-AutoML/AutoDL-Projects | 8ff416fe5d6cb1b310b885fe376e6f2790fbda14 | [
"MIT"
] | null | null | null | lib/nas_201_api/__init__.py | EM-AutoML/AutoDL-Projects | 8ff416fe5d6cb1b310b885fe376e6f2790fbda14 | [
"MIT"
] | null | null | null | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 #
#####################################################
from .api import NASBench201API
from .api import ArchResults, ResultsCount
NAS_BENCH_201_API_VERSION="v1.1" # [2020.02.25]
| 35.875 | 53 | 0.466899 | 29 | 287 | 4.482759 | 0.862069 | 0.107692 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083969 | 0.087108 | 287 | 7 | 54 | 41 | 0.412214 | 0.219512 | 0 | 0 | 0 | 0 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f468d07eee0b28b73efe9620a73217c2766b78a0 | 311 | py | Python | ex008.py | EwertonRosendo/PastaDeExercicios | 68d23194b87ce1c8405c70fcceb3378955815d7d | [
"MIT"
] | null | null | null | ex008.py | EwertonRosendo/PastaDeExercicios | 68d23194b87ce1c8405c70fcceb3378955815d7d | [
"MIT"
] | null | null | null | ex008.py | EwertonRosendo/PastaDeExercicios | 68d23194b87ce1c8405c70fcceb3378955815d7d | [
"MIT"
] | null | null | null | n = int(input("escreva um numero em metros que será convertido para centimetros e milimetros"))
print("{} metros equivale a {} centimetros e a {} milimetros".format(n, n*100, n*1000))
print("{} metros equivale a {}km, {}hm, {}dam, {}m , {}dm, {}cm, {}mm".format(n, n/1000, n/100, n/10, n, n*10, n*100, n*1000))
| 77.75 | 126 | 0.643087 | 55 | 311 | 3.636364 | 0.527273 | 0.03 | 0.075 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093985 | 0.144695 | 311 | 3 | 127 | 103.666667 | 0.657895 | 0 | 0 | 0 | 0 | 0.333333 | 0.617363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
be4587c1e665659df70f6a7af6431cf67f55ccf9 | 3,069 | py | Python | tests/integration/cli_guess_test.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | 497 | 2018-01-08T15:36:05.000Z | 2022-03-30T14:11:54.000Z | tests/integration/cli_guess_test.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | 97 | 2017-11-26T13:52:20.000Z | 2022-02-07T01:36:10.000Z | tests/integration/cli_guess_test.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | 26 | 2019-04-04T21:37:29.000Z | 2022-02-18T10:23:07.000Z | from click.testing import CliRunner
from trailscraper import cli
from trailscraper.iam import PolicyDocument, Statement, Action, parse_policy_document
def test_should_guess_all_matching_statements():
input_policy = PolicyDocument(
Version="2012-10-17",
Statement=[
Statement(
... | 29.228571 | 130 | 0.461388 | 211 | 3,069 | 6.549763 | 0.317536 | 0.086831 | 0.115774 | 0.150507 | 0.740955 | 0.740955 | 0.70767 | 0.70767 | 0.70767 | 0.70767 | 0 | 0.035048 | 0.423591 | 3,069 | 104 | 131 | 29.509615 | 0.746184 | 0 | 0 | 0.757895 | 0 | 0 | 0.143043 | 0.059954 | 0 | 0 | 0 | 0 | 0.042105 | 1 | 0.021053 | false | 0 | 0.031579 | 0 | 0.052632 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be4af15d1c11c92e7956accbe80fa829f9ceb684 | 60 | py | Python | catkin_ws/src/line_detector/include/line_detector/__init__.py | DiegoOrtegoP/Software | 4a07dd2dab29db910ca2e26848fa6b53b7ab00cd | [
"CC-BY-2.0"
] | 12 | 2016-04-14T12:21:46.000Z | 2021-06-18T07:51:40.000Z | catkin_ws/src/line_detector/include/line_detector/__init__.py | DiegoOrtegoP/Software | 4a07dd2dab29db910ca2e26848fa6b53b7ab00cd | [
"CC-BY-2.0"
] | 14 | 2017-03-03T23:33:05.000Z | 2018-04-03T18:07:53.000Z | catkin_ws/src/line_detector/include/line_detector/__init__.py | DiegoOrtegoP/Software | 4a07dd2dab29db910ca2e26848fa6b53b7ab00cd | [
"CC-BY-2.0"
] | 113 | 2016-05-03T06:11:42.000Z | 2019-06-01T14:37:38.000Z | from .line_detector1 import *
from .line_detector2 import *
| 20 | 29 | 0.8 | 8 | 60 | 5.75 | 0.625 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 60 | 2 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be4e0a10789c867829ca0032ce6cda224c991103 | 143 | py | Python | feed/admin.py | radekwilk/Sharing-images-app-Django-project | 08773a156344216f9aa62c1bdf23ff18b4ee3725 | [
"MIT"
] | null | null | null | feed/admin.py | radekwilk/Sharing-images-app-Django-project | 08773a156344216f9aa62c1bdf23ff18b4ee3725 | [
"MIT"
] | null | null | null | feed/admin.py | radekwilk/Sharing-images-app-Django-project | 08773a156344216f9aa62c1bdf23ff18b4ee3725 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post
class PostAdmin(admin.ModelAdmin):
pass
admin.site.register(Post, PostAdmin)
| 14.3 | 36 | 0.776224 | 19 | 143 | 5.842105 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 143 | 9 | 37 | 15.888889 | 0.909836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
be8a81aadcc411c31f3a4d13bd4f0eaea4f22116 | 2,355 | py | Python | clients/python/tyckiting_client/ai/tests/test_base.py | CarstenWalther/space-tyckiting | 8398f080332c78c7f246289947fdda49558e0f12 | [
"MIT"
] | 1 | 2017-02-04T14:13:44.000Z | 2017-02-04T14:13:44.000Z | clients/python/tyckiting_client/ai/tests/test_base.py | CarstenWalther/space-tyckiting | 8398f080332c78c7f246289947fdda49558e0f12 | [
"MIT"
] | null | null | null | clients/python/tyckiting_client/ai/tests/test_base.py | CarstenWalther/space-tyckiting | 8398f080332c78c7f246289947fdda49558e0f12 | [
"MIT"
] | null | null | null | import unittest
import json
from tyckiting_client.ai import base
from tyckiting_client import messages
class BaseTest(unittest.TestCase):
def test_getEndangeredBots_bot_sees_but_is_dead(self):
data = json.loads('[{"event":"move","botId":5,"pos":{"x":2,"y":-4}},{"event":"hit","source":4,"botId":5}, \
{"event":"... | 46.176471 | 109 | 0.653079 | 311 | 2,355 | 4.874598 | 0.189711 | 0.059367 | 0.019789 | 0.023747 | 0.808707 | 0.808707 | 0.808707 | 0.788918 | 0.788918 | 0.788918 | 0 | 0.023966 | 0.096391 | 2,355 | 51 | 110 | 46.176471 | 0.68844 | 0 | 0 | 0.688889 | 0 | 0.133333 | 0.166384 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 1 | 0.088889 | false | 0 | 0.088889 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bea1283b747e80a30a83d908022efe53ed89fc85 | 1,623 | py | Python | lib/spack/spack/test/config_values.py | rvinaybharadwaj/spack | 03790a4f3609f1bedb7dee947c8712b0ab1e3348 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2020-10-20T08:57:12.000Z | 2020-10-20T08:57:12.000Z | lib/spack/spack/test/config_values.py | rvinaybharadwaj/spack | 03790a4f3609f1bedb7dee947c8712b0ab1e3348 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | lib/spack/spack/test/config_values.py | rvinaybharadwaj/spack | 03790a4f3609f1bedb7dee947c8712b0ab1e3348 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2020-11-08T10:26:48.000Z | 2020-11-08T10:26:48.000Z | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import spack.spec
def test_set_install_hash_length(mock_packages, mutable_config, monkeypatch,
... | 33.8125 | 76 | 0.664818 | 199 | 1,623 | 5.271357 | 0.336683 | 0.076263 | 0.085796 | 0.104862 | 0.807436 | 0.807436 | 0.755958 | 0.71878 | 0.71878 | 0.71878 | 0 | 0.014672 | 0.202095 | 1,623 | 47 | 77 | 34.531915 | 0.795367 | 0.198398 | 0 | 0.551724 | 0 | 0 | 0.144513 | 0.060278 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bec9463940c433383d3df20353175902f9a5df58 | 4,371 | py | Python | mlbench_core/evaluation/goals.py | c4dt/mlbench-core | 8a5cf6e00ff4535b2aea23b213241858a5ee5f00 | [
"Apache-2.0"
] | null | null | null | mlbench_core/evaluation/goals.py | c4dt/mlbench-core | 8a5cf6e00ff4535b2aea23b213241858a5ee5f00 | [
"Apache-2.0"
] | null | null | null | mlbench_core/evaluation/goals.py | c4dt/mlbench-core | 8a5cf6e00ff4535b2aea23b213241858a5ee5f00 | [
"Apache-2.0"
] | null | null | null | def _add_detailed_times(result, tracker):
compute_time = tracker.get_total_compute_time()
if compute_time:
result += ", Compute: {} seconds".format(compute_time)
communication_time = tracker.get_total_communication_time()
if communication_time:
result += ", Communication: {} seconds".... | 26.815951 | 86 | 0.658888 | 562 | 4,371 | 4.877224 | 0.16548 | 0.054725 | 0.081722 | 0.091937 | 0.832543 | 0.734768 | 0.734768 | 0.728931 | 0.725283 | 0.708865 | 0 | 0.021563 | 0.267902 | 4,371 | 162 | 87 | 26.981481 | 0.835 | 0.350949 | 0 | 0.476923 | 0 | 0 | 0.133081 | 0.023819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169231 | false | 0 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe35cd3633359bc57342fe8713175b4b6658b151 | 967 | py | Python | zerver/migrations/0385_attachment_flags_cache.py | dumpmemory/zulip | 496273ddbc567330a0022699d6d6eb5c646e5da5 | [
"Apache-2.0"
] | 4 | 2021-09-16T16:46:55.000Z | 2022-02-06T13:00:21.000Z | zerver/migrations/0385_attachment_flags_cache.py | dumpmemory/zulip | 496273ddbc567330a0022699d6d6eb5c646e5da5 | [
"Apache-2.0"
] | null | null | null | zerver/migrations/0385_attachment_flags_cache.py | dumpmemory/zulip | 496273ddbc567330a0022699d6d6eb5c646e5da5 | [
"Apache-2.0"
] | 1 | 2022-01-15T08:36:09.000Z | 2022-01-15T08:36:09.000Z | # Generated by Django 3.2.12 on 2022-03-23 03:49
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0384_alter_realm_not_null"),
]
operations = [
migrations.AlterField(
model_name="archivedattachment",
nam... | 28.441176 | 64 | 0.594623 | 94 | 967 | 5.946809 | 0.414894 | 0.143113 | 0.178891 | 0.207513 | 0.729875 | 0.729875 | 0.729875 | 0.613596 | 0.613596 | 0.613596 | 0 | 0.029369 | 0.29576 | 967 | 33 | 65 | 29.30303 | 0.791483 | 0.04757 | 0 | 0.740741 | 1 | 0 | 0.155604 | 0.027203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 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 | 6 |
fe816f458a497f67cbbfb5062e5998e2a40011d2 | 3,032 | py | Python | sparrow_cloud/restclient/requests_client.py | ArcturusMensk/sparrow_cloud | 0ae75716de23b97366c2e2ac6c08e9850291c95d | [
"MIT"
] | null | null | null | sparrow_cloud/restclient/requests_client.py | ArcturusMensk/sparrow_cloud | 0ae75716de23b97366c2e2ac6c08e9850291c95d | [
"MIT"
] | null | null | null | sparrow_cloud/restclient/requests_client.py | ArcturusMensk/sparrow_cloud | 0ae75716de23b97366c2e2ac6c08e9850291c95d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
requests 的封装, 返回的原生数据
"""
import requests
from requests.exceptions import ConnectTimeout, ConnectionError
from sparrow_cloud.registry.service_discovery import consul_service
def get(service_conf, api_path, timeout=5, retry_times=3, *args, **kwargs):
"""
service_conf: 服务配置
:p... | 30.019802 | 102 | 0.638852 | 363 | 3,032 | 5.060606 | 0.168044 | 0.087643 | 0.06859 | 0.088187 | 0.850844 | 0.850844 | 0.821448 | 0.810016 | 0.810016 | 0.810016 | 0 | 0.003922 | 0.243074 | 3,032 | 101 | 103 | 30.019802 | 0.796514 | 0.175132 | 0 | 0.695652 | 0 | 0 | 0.085444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.065217 | 0 | 0.282609 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fea5540868f718ca381a21ee2a75f07d7c04de4c | 54,487 | py | Python | tests_eos/functions.py | arista-netdevops-community/network_tests_automation | feb216799e427cde82bd7594d2276e0e6ef5f9b1 | [
"Apache-2.0"
] | 4 | 2022-02-07T16:54:13.000Z | 2022-03-02T02:22:06.000Z | tests_eos/functions.py | arista-netdevops-community/network_tests_automation | feb216799e427cde82bd7594d2276e0e6ef5f9b1 | [
"Apache-2.0"
] | 10 | 2022-02-10T11:31:49.000Z | 2022-03-03T16:31:49.000Z | tests_eos/functions.py | arista-netdevops-community/network_tests_automation | feb216799e427cde82bd7594d2276e0e6ef5f9b1 | [
"Apache-2.0"
] | 3 | 2022-02-08T07:58:35.000Z | 2022-03-28T20:36:49.000Z | """
Module that defines various functions to test EOS devices.
"""
from jsonrpclib import jsonrpc
def verify_eos_version(device, enable_password, versions = None):
"""
Verifies the device is running one of the allowed EOS version.
Args:
device (jsonrpclib.jsonrpc.ServerProxy): Instance of the cla... | 34.01186 | 128 | 0.611871 | 6,311 | 54,487 | 5.242909 | 0.072255 | 0.068544 | 0.0897 | 0.043248 | 0.838219 | 0.795334 | 0.772999 | 0.737276 | 0.699015 | 0.676015 | 0 | 0.015727 | 0.277644 | 54,487 | 1,601 | 129 | 34.033104 | 0.824945 | 0.438123 | 0 | 0.677623 | 0 | 0 | 0.160249 | 0.006093 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067004 | false | 0.074589 | 0.001264 | 0 | 0.384324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fea613a117f3974044ed730663e39ea2eb007361 | 464 | py | Python | phonology-augmented_transliterator/tone_setter/shared_res/Syllable.py | ngohgia/transliteration | 3acb47a097ff3b320a0718d15c6e62965d346888 | [
"MIT"
] | 1 | 2022-02-21T03:07:06.000Z | 2022-02-21T03:07:06.000Z | phonology-augmented_transliterator/tone_setter/shared_res/Syllable.py | ngohgia/transliteration | 3acb47a097ff3b320a0718d15c6e62965d346888 | [
"MIT"
] | null | null | null | phonology-augmented_transliterator/tone_setter/shared_res/Syllable.py | ngohgia/transliteration | 3acb47a097ff3b320a0718d15c6e62965d346888 | [
"MIT"
] | null | null | null | class Syllable:
def __init__(self):
self.roles = []
self.vie_phonemes = []
self.tone = 1
def create_new_syl(self, vie_phonemes, roles, tone):
self.roles = roles
self.vie_phonemes = vie_phonemes
self.tone = tone
def get_roles_str(self):
return (" ").join(self.roles)
def get_vie_pho... | 22.095238 | 62 | 0.650862 | 64 | 464 | 4.375 | 0.265625 | 0.275 | 0.267857 | 0.182143 | 0.303571 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0.002732 | 0.211207 | 464 | 20 | 63 | 23.2 | 0.762295 | 0 | 0 | 0 | 0 | 0 | 0.010799 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
22a9be500c601bb2e0bc84300f3264adcba0c22b | 3,233 | py | Python | tests/unit/test_rules_query.py | ixc/wagtail-personalisation | 956c1bf4f5846ad86470c41df8b8364bc99ab99b | [
"MIT"
] | 68 | 2018-01-26T22:02:09.000Z | 2022-03-23T08:08:54.000Z | tests/unit/test_rules_query.py | ixc/wagtail-personalisation | 956c1bf4f5846ad86470c41df8b8364bc99ab99b | [
"MIT"
] | 46 | 2018-05-26T09:26:30.000Z | 2022-02-04T15:17:45.000Z | tests/unit/test_rules_query.py | ixc/wagtail-personalisation | 956c1bf4f5846ad86470c41df8b8364bc99ab99b | [
"MIT"
] | 27 | 2018-03-28T10:14:26.000Z | 2022-02-08T20:54:00.000Z | import pytest
from tests.factories.rule import QueryRuleFactory
from tests.factories.segment import SegmentFactory
@pytest.mark.django_db
def test_request_query_rule(client, site):
segment = SegmentFactory(name='Query')
QueryRuleFactory(
parameter="query",
value="value",
segment=segme... | 25.456693 | 79 | 0.646768 | 353 | 3,233 | 5.796034 | 0.127479 | 0.097752 | 0.066471 | 0.093842 | 0.883187 | 0.86608 | 0.829423 | 0.76002 | 0.756109 | 0.69306 | 0 | 0.01045 | 0.230436 | 3,233 | 126 | 80 | 25.65873 | 0.811897 | 0 | 0 | 0.69 | 0 | 0 | 0.144757 | 0.014228 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.06 | false | 0 | 0.03 | 0 | 0.09 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22abb520b0ca898ae7a05b0f1b7d5e20d4baeff0 | 31 | py | Python | mpst_ts/scribble/__init__.py | stscript-cgo/STScript | d2ab2a05b997e9487fd3057a38dcec67feb20e53 | [
"Apache-2.0"
] | null | null | null | mpst_ts/scribble/__init__.py | stscript-cgo/STScript | d2ab2a05b997e9487fd3057a38dcec67feb20e53 | [
"Apache-2.0"
] | null | null | null | mpst_ts/scribble/__init__.py | stscript-cgo/STScript | d2ab2a05b997e9487fd3057a38dcec67feb20e53 | [
"Apache-2.0"
] | null | null | null | from .scribble import get_graph | 31 | 31 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22d111f648ecb340db36aa7d93aad1000f511f6c | 266 | py | Python | models/bart/__init__.py | ShuyangCao/cliff_summ | 328c83cddc92e00ad8e22f016162c93dedcda3a2 | [
"Apache-2.0"
] | 14 | 2021-09-22T10:43:02.000Z | 2022-03-22T04:54:50.000Z | models/bart/__init__.py | ShuyangCao/cliff_summ | 328c83cddc92e00ad8e22f016162c93dedcda3a2 | [
"Apache-2.0"
] | 10 | 2021-10-08T22:08:30.000Z | 2022-03-30T23:45:30.000Z | models/bart/__init__.py | ShuyangCao/cliff_summ | 328c83cddc92e00ad8e22f016162c93dedcda3a2 | [
"Apache-2.0"
] | 3 | 2021-09-22T15:32:40.000Z | 2021-11-17T11:29:55.000Z | from . import contrastive_translation
from . import contrastive_loss
from . import contrastive_translation_multi_neg
from . import constrative_bart
from . import unlikelihood_translation
from . import unlikelihood_loss
from . import contrastive_translation_batch_neg | 38 | 47 | 0.87218 | 32 | 266 | 6.90625 | 0.34375 | 0.316742 | 0.380091 | 0.434389 | 0.325792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101504 | 266 | 7 | 48 | 38 | 0.924686 | 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 | 0 | 0 | 0 | 6 |
22d1cb29187267997e35f3cee5f89f22a84895d5 | 223 | py | Python | app/routes/index.py | oseme-techguy/python-pdf-annotation-api-demo | b86dd4e20e9cc13237eacc9a32bb142d4bb28755 | [
"MIT"
] | 1 | 2019-10-10T17:15:23.000Z | 2019-10-10T17:15:23.000Z | app/routes/index.py | oseme-techguy/python-pdf-annotation-api-demo | b86dd4e20e9cc13237eacc9a32bb142d4bb28755 | [
"MIT"
] | null | null | null | app/routes/index.py | oseme-techguy/python-pdf-annotation-api-demo | b86dd4e20e9cc13237eacc9a32bb142d4bb28755 | [
"MIT"
] | null | null | null | """PDF Annotation API - web request handlers."""
from sanic import response
# pylint: disable=W0613
async def index(request):
"""Index request handler."""
return response.text("Welcome to the PDF Annotation API")
| 24.777778 | 61 | 0.717489 | 29 | 223 | 5.517241 | 0.758621 | 0.1625 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 0.165919 | 223 | 8 | 62 | 27.875 | 0.83871 | 0.29148 | 0 | 0 | 0 | 0 | 0.266129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22e8172e8dee79d5b29c7ec6e6baa960069e518b | 136 | py | Python | __init__.py | hsol/homework-toss-server | fd306cecbf9c26943256de3e2663b58982aba57b | [
"MIT"
] | null | null | null | __init__.py | hsol/homework-toss-server | fd306cecbf9c26943256de3e2663b58982aba57b | [
"MIT"
] | null | null | null | __init__.py | hsol/homework-toss-server | fd306cecbf9c26943256de3e2663b58982aba57b | [
"MIT"
] | null | null | null | """
# The Team Showcase
Blue, Inc.라는 회사의 조직 구성을 소개하는 one page server를 제작합니다.

""" | 19.428571 | 53 | 0.727941 | 22 | 136 | 4.409091 | 0.727273 | 0.216495 | 0.463918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 7 | 54 | 19.428571 | 0.836207 | 0.933824 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22ff8f45f6be2a600294755ec63b18dde873aea0 | 20,768 | py | Python | tests/restapi/test_restapi.py | emilmih/sonic-mgmt | e4e42ec8028bf51b39587e2b53e526d505fe7938 | [
"Apache-2.0"
] | null | null | null | tests/restapi/test_restapi.py | emilmih/sonic-mgmt | e4e42ec8028bf51b39587e2b53e526d505fe7938 | [
"Apache-2.0"
] | 3 | 2020-11-24T16:04:56.000Z | 2021-06-15T06:44:10.000Z | tests/restapi/test_restapi.py | emilmih/sonic-mgmt | e4e42ec8028bf51b39587e2b53e526d505fe7938 | [
"Apache-2.0"
] | null | null | null | import pytest
import time
import logging
import requests
import json
from tests.common.helpers.assertions import pytest_assert
from restapi_operations import Restapi
logger = logging.getLogger(__name__)
pytestmark = [
pytest.mark.topology('t0'),
pytest.mark.disable_loganalyzer
]
CLIENT_CERT = 'restapiclien... | 49.330166 | 144 | 0.656202 | 3,175 | 20,768 | 4.131024 | 0.053858 | 0.05642 | 0.059469 | 0.068085 | 0.920936 | 0.900046 | 0.878469 | 0.834858 | 0.815493 | 0.785529 | 0 | 0.116051 | 0.17474 | 20,768 | 420 | 145 | 49.447619 | 0.649221 | 0.061874 | 0 | 0.467577 | 0 | 0.122867 | 0.375707 | 0 | 0 | 0 | 0 | 0 | 0.228669 | 1 | 0.010239 | false | 0 | 0.023891 | 0 | 0.03413 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe01e92159651c17418a2aa99ab1f27fc4952fa7 | 1,241 | py | Python | protein/migrations/0008_auto_20200422_1636.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 21 | 2016-01-20T09:33:14.000Z | 2021-12-20T19:19:45.000Z | protein/migrations/0008_auto_20200422_1636.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 75 | 2016-02-26T16:29:58.000Z | 2022-03-21T12:35:13.000Z | protein/migrations/0008_auto_20200422_1636.py | AlibekMamyrbekov/protwis | b3d477b1982623618d995ab5c7f47c918a70238b | [
"Apache-2.0"
] | 77 | 2016-01-22T08:44:26.000Z | 2022-02-01T15:54:56.000Z | # Generated by Django 3.0.4 on 2020-04-22 14:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('protein', '0007_proteingproteinpair_references'),
]
operations = [
migrations.AddField(
model_name='proteingproteinpair',
... | 28.204545 | 59 | 0.572925 | 109 | 1,241 | 6.366972 | 0.348624 | 0.15562 | 0.198847 | 0.233429 | 0.76513 | 0.76513 | 0.714697 | 0.636888 | 0.636888 | 0.636888 | 0 | 0.029586 | 0.319098 | 1,241 | 43 | 60 | 28.860465 | 0.791716 | 0.036261 | 0 | 0.648649 | 1 | 0 | 0.18593 | 0.029313 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 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 | 6 |
fe09b2ced11f57d37b945455ce0cb7da292bace6 | 157 | py | Python | db/tests/fixtures/user_request.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | db/tests/fixtures/user_request.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | db/tests/fixtures/user_request.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture
def user_request_valid_args():
return {'name': 'Send Money', 'email': 'princeofworld@email.com', 'message': 'sendmoney'}
| 22.428571 | 93 | 0.713376 | 19 | 157 | 5.736842 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 157 | 6 | 94 | 26.166667 | 0.789855 | 0 | 0 | 0 | 0 | 0 | 0.369427 | 0.146497 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fe0c3ca1f7f701af714988922f506e4a6011042f | 8,472 | py | Python | tests/integrations/java/test_JDK_upgrade.py | junefish/python-briefcase | 93f5c22304b3914b3c20b82e01d0a5914119faef | [
"BSD-3-Clause"
] | 917 | 2019-03-30T15:45:39.000Z | 2022-03-31T05:32:02.000Z | tests/integrations/java/test_JDK_upgrade.py | junefish/python-briefcase | 93f5c22304b3914b3c20b82e01d0a5914119faef | [
"BSD-3-Clause"
] | 429 | 2019-04-07T19:03:20.000Z | 2022-03-31T23:47:42.000Z | tests/integrations/java/test_JDK_upgrade.py | junefish/python-briefcase | 93f5c22304b3914b3c20b82e01d0a5914119faef | [
"BSD-3-Clause"
] | 166 | 2019-04-02T01:56:55.000Z | 2022-03-28T19:10:02.000Z | import os
import shutil
import sys
from unittest.mock import MagicMock
import pytest
from requests import exceptions as requests_exceptions
from briefcase.exceptions import (
BriefcaseCommandError,
MissingToolError,
NetworkFailure,
NonManagedToolError
)
from briefcase.integrations.java import JDK
fro... | 35.008264 | 93 | 0.712937 | 1,154 | 8,472 | 5.051127 | 0.14818 | 0.069823 | 0.032939 | 0.037742 | 0.805627 | 0.788128 | 0.781781 | 0.775605 | 0.764625 | 0.757591 | 0 | 0.016258 | 0.201369 | 8,472 | 241 | 94 | 35.153527 | 0.845256 | 0.323182 | 0 | 0.62406 | 0 | 0 | 0.214356 | 0.069657 | 0 | 0 | 0 | 0.004149 | 0.12782 | 1 | 0.082707 | false | 0 | 0.067669 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3c40eb7a39ecb3f63e62b546016b5e02696384a | 8,765 | py | Python | airflow/tests/test_check_website_operations.py | rafaelpezzuto/opac-airflow | 7e73eaacdace5ca9d3dbcf2c5f84019568282485 | [
"BSD-2-Clause"
] | null | null | null | airflow/tests/test_check_website_operations.py | rafaelpezzuto/opac-airflow | 7e73eaacdace5ca9d3dbcf2c5f84019568282485 | [
"BSD-2-Clause"
] | null | null | null | airflow/tests/test_check_website_operations.py | rafaelpezzuto/opac-airflow | 7e73eaacdace5ca9d3dbcf2c5f84019568282485 | [
"BSD-2-Clause"
] | null | null | null | from unittest import TestCase
from unittest.mock import patch, call
from airflow import DAG
from operations.check_website_operations import (
concat_website_url_and_uri_list_items,
check_uri_list,
check_website_uri_list,
)
class TestConcatWebsiteUrlAndUriListItems(TestCase):
def test_concat_website... | 38.442982 | 126 | 0.649287 | 1,079 | 8,765 | 4.861909 | 0.125116 | 0.081395 | 0.075486 | 0.109798 | 0.817003 | 0.813191 | 0.801182 | 0.774495 | 0.760579 | 0.760579 | 0 | 0.04892 | 0.244381 | 8,765 | 227 | 127 | 38.612335 | 0.743168 | 0 | 0 | 0.54359 | 0 | 0.005128 | 0.220878 | 0.152082 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.097436 | false | 0 | 0.020513 | 0 | 0.14359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.