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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a338ca658c6850f4f5439a6042215299a22f86f4 | 1,417 | py | Python | src/subpackages/ts_process/scale.py | cfiscella/PredictionIntervals | 45c66bcea5a3e022f995155e1ec39f63602ef836 | [
"CC0-1.0"
] | null | null | null | src/subpackages/ts_process/scale.py | cfiscella/PredictionIntervals | 45c66bcea5a3e022f995155e1ec39f63602ef836 | [
"CC0-1.0"
] | null | null | null | src/subpackages/ts_process/scale.py | cfiscella/PredictionIntervals | 45c66bcea5a3e022f995155e1ec39f63602ef836 | [
"CC0-1.0"
] | null | null | null | from sklearn.preprocessing import StandardScaler
from sklearn.preprocessing import MinMaxScaler
from src.subpackages.ts_process.shape import shape_data, dissolve
class WindowStandardScaler(StandardScaler):
def fit(self,X):
X_dissolved = dissolve(X,X.shape[1])
StandardScaler.fit(self,X_dissolved)
def tran... | 30.148936 | 76 | 0.751588 | 194 | 1,417 | 5.345361 | 0.14433 | 0.067502 | 0.067502 | 0.086789 | 0.717454 | 0.717454 | 0.717454 | 0.717454 | 0.717454 | 0.717454 | 0 | 0.00815 | 0.134086 | 1,417 | 46 | 77 | 30.804348 | 0.837001 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.090909 | 0 | 0.575758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
6e76ac3bc481c6f9f6f0b6301d8acb0949fdcb51 | 2,931 | py | Python | tests/unit/providers/async/test_override_py36.py | YelloFam/python-dependency-injector | 541131e33858ee1b8b5a7590d2bb9f929740ea1e | [
"BSD-3-Clause"
] | null | null | null | tests/unit/providers/async/test_override_py36.py | YelloFam/python-dependency-injector | 541131e33858ee1b8b5a7590d2bb9f929740ea1e | [
"BSD-3-Clause"
] | null | null | null | tests/unit/providers/async/test_override_py36.py | YelloFam/python-dependency-injector | 541131e33858ee1b8b5a7590d2bb9f929740ea1e | [
"BSD-3-Clause"
] | null | null | null | """Tests for provider overriding in async mode."""
from dependency_injector import providers
from pytest import mark
@mark.asyncio
async def test_provider():
dependency = object()
async def _get_dependency_async():
return dependency
def _get_dependency_sync():
return dependency
pro... | 22.898438 | 64 | 0.737973 | 329 | 2,931 | 6.270517 | 0.109422 | 0.12603 | 0.077557 | 0.130877 | 0.92826 | 0.90063 | 0.90063 | 0.90063 | 0.888512 | 0.814833 | 0 | 0.005068 | 0.192085 | 2,931 | 127 | 65 | 23.07874 | 0.866132 | 0.015012 | 0 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 1 | 0.075949 | false | 0 | 0.025316 | 0.063291 | 0.227848 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6e76fe8d1643ea97a722ced0b9610d1443a58aa4 | 33,559 | py | Python | tests/components/zwave_js/test_humidifier.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/zwave_js/test_humidifier.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 24,710 | 2016-04-13T08:27:26.000Z | 2020-03-02T12:59:13.000Z | tests/components/zwave_js/test_humidifier.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Test the Z-Wave JS humidifier platform."""
from zwave_js_server.const import CommandClass
from zwave_js_server.const.command_class.humidity_control import HumidityControlMode
from zwave_js_server.event import Event
from homeassistant.components.humidifier import HumidifierDeviceClass
from homeassistant.components.h... | 31.74929 | 103 | 0.563455 | 3,154 | 33,559 | 5.796766 | 0.040266 | 0.067276 | 0.075863 | 0.070995 | 0.946289 | 0.936717 | 0.917628 | 0.912378 | 0.902587 | 0.901274 | 0 | 0.018592 | 0.315623 | 33,559 | 1,056 | 104 | 31.779356 | 0.777463 | 0.041449 | 0 | 0.807269 | 0 | 0 | 0.19814 | 0.004384 | 0 | 0 | 0 | 0 | 0.096916 | 1 | 0 | false | 0 | 0.007709 | 0 | 0.007709 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
42eef6707b394901d41d05472779a87bbcdab439 | 6,545 | py | Python | loldib/getratings/models/NA/na_veigar/na_veigar_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_veigar/na_veigar_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_veigar/na_veigar_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Veigar_Jng_Aatrox(Ratings):
pass
class NA_Veigar_Jng_Ahri(Ratings):
pass
class NA_Veigar_Jng_Akali(Ratings):
pass
class NA_Veigar_Jng_Alistar(Ratings):
pass
class NA_Veigar_Jng_Amumu(Ratings):
pass
class NA_Veigar_Jng_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
42fc2b2f28488e6f3c6798418d68695555d04e21 | 241 | py | Python | plugins/google_docs/icon_google_docs/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/google_docs/icon_google_docs/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/google_docs/icon_google_docs/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .append_line.action import AppendLine
from .create_blank_document.action import CreateBlankDocument
from .create_document.action import CreateDocument
from .get_document.action import GetDocument
| 40.166667 | 61 | 0.854772 | 32 | 241 | 6.28125 | 0.625 | 0.238806 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103734 | 241 | 5 | 62 | 48.2 | 0.930556 | 0.153527 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6e513c18ec41b363884eb335e6fdddf615726914 | 1,195 | py | Python | flatfile/tests/test_flatfile.py | m4h7/flatfile | ae906429a32aa2987968fe07bb6af99c5846e272 | [
"MIT"
] | null | null | null | flatfile/tests/test_flatfile.py | m4h7/flatfile | ae906429a32aa2987968fe07bb6af99c5846e272 | [
"MIT"
] | null | null | null | flatfile/tests/test_flatfile.py | m4h7/flatfile | ae906429a32aa2987968fe07bb6af99c5846e272 | [
"MIT"
] | null | null | null | from unittest import TestCase
import io
import flatfile
class TestFlatfile(TestCase):
def test_all(self):
md = """
column a string datetime
column b string _ lz4
column c u32le
column d u64le
"""
m = flatfile.metadata_parse(md)
f = io.BytesIO... | 27.159091 | 77 | 0.488703 | 156 | 1,195 | 3.705128 | 0.288462 | 0.181661 | 0.193772 | 0.044983 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0.764706 | 0 | 0.076825 | 0.346444 | 1,195 | 43 | 78 | 27.790698 | 0.663252 | 0 | 0 | 0.75 | 0 | 0 | 0.239331 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.05 | false | 0 | 0.075 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
284a8616d922301f65747d0908ca3a608741e753 | 802 | py | Python | scripts/rename_images.py | mwinding/connectome_analysis | dbc747290891805863c9481921d8080dc2043d21 | [
"MIT"
] | 1 | 2021-06-10T05:48:16.000Z | 2021-06-10T05:48:16.000Z | rename_images.py | mwinding/connectome_tools | 0392f6b1e924194299ea7760d8386eb01f3371a3 | [
"MIT"
] | 2 | 2022-01-21T11:48:45.000Z | 2022-01-21T11:48:45.000Z | scripts/rename_images.py | mwinding/connectome_analysis | dbc747290891805863c9481921d8080dc2043d21 | [
"MIT"
] | 1 | 2022-02-02T15:39:52.000Z | 2022-02-02T15:39:52.000Z | import os
import re
import numpy as np
path = '/Volumes/GoogleDrive/My Drive/blender/animations/all_brain_neurons/neuropil/'
files = os.listdir(path)
files = sorted(files)
#regex = re.compile(r'\d+')
#ints = [int(regex.findall(x)[0]) for x in files]
#ints = list
ints = [x*2 for x in range(1, 1+len(files))]
names = [... | 27.655172 | 85 | 0.677057 | 145 | 802 | 3.717241 | 0.310345 | 0.037106 | 0.055659 | 0.103896 | 0.834879 | 0.834879 | 0.834879 | 0.834879 | 0.834879 | 0.834879 | 0 | 0.015873 | 0.13591 | 802 | 28 | 86 | 28.642857 | 0.761905 | 0.105985 | 0 | 0.705882 | 0 | 0 | 0.22409 | 0.210084 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.176471 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
959a461b6ec01e3c483dc621ebe8bf220dd69c58 | 1,322 | py | Python | api/utils/exception.py | SE-131-JSONx/jsonx-backend | f25b497898f9737e27acc6310d2872635285cc0e | [
"MIT"
] | null | null | null | api/utils/exception.py | SE-131-JSONx/jsonx-backend | f25b497898f9737e27acc6310d2872635285cc0e | [
"MIT"
] | 1 | 2018-10-05T17:36:20.000Z | 2018-10-05T17:36:20.000Z | api/utils/exception.py | SE-131-JSONx/jsonx-backend | f25b497898f9737e27acc6310d2872635285cc0e | [
"MIT"
] | 1 | 2020-04-10T02:00:20.000Z | 2020-04-10T02:00:20.000Z | from api.utils.constants import required, invalid, expired
class AuthRequired(Exception):
"""Handles required Authorization header"""
status_code = 403
def __init__(self):
Exception.__init__(self)
self.message = required.format("Authorization")
def to_dict(self):
rv = dict()
... | 22.793103 | 58 | 0.629349 | 140 | 1,322 | 5.657143 | 0.214286 | 0.080808 | 0.126263 | 0.146465 | 0.728535 | 0.728535 | 0.728535 | 0.728535 | 0.728535 | 0.728535 | 0 | 0.012295 | 0.261725 | 1,322 | 57 | 59 | 23.192982 | 0.79918 | 0.109682 | 0 | 0.810811 | 0 | 0 | 0.069204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.216216 | false | 0 | 0.027027 | 0 | 0.567568 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
95c60a006e310a104301a69861d5425c873a10e3 | 4,521 | py | Python | RecoTracker/TkSeedingLayers/python/PixelLessLayerPairs4PixelLessTracking_cfi.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | RecoTracker/TkSeedingLayers/python/PixelLessLayerPairs4PixelLessTracking_cfi.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 26 | 2018-10-30T12:47:58.000Z | 2022-03-29T08:39:00.000Z | RecoTracker/TkSeedingLayers/python/PixelLessLayerPairs4PixelLessTracking_cfi.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
### standard configuration of *strip* layer pairs to be used
### to reconstruct tracks without using additional pixel-with tracking steps.
from RecoTracker.TkSeedingLayers.seedingLayersEDProducer_cfi import *
pixelLessLayerPairs4PixelLessTracking = seedingLayersEDProducer.c... | 47.09375 | 87 | 0.74541 | 383 | 4,521 | 8.710183 | 0.185379 | 0.065947 | 0.191847 | 0.07554 | 0.809053 | 0.809053 | 0.783873 | 0.783873 | 0.783873 | 0.783873 | 0 | 0.019653 | 0.133378 | 4,521 | 95 | 88 | 47.589474 | 0.831802 | 0.028976 | 0 | 0.616279 | 0 | 0 | 0.306006 | 0.172642 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.023256 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
255058c0a72aebf2f0ff9a99696af5340301087a | 7,220 | py | Python | chemflow/jobs/forms.py | donadef/django-test | 70479458833045fa6476aaf93c3f62cc1ad26df4 | [
"MIT"
] | null | null | null | chemflow/jobs/forms.py | donadef/django-test | 70479458833045fa6476aaf93c3f62cc1ad26df4 | [
"MIT"
] | 2 | 2019-01-31T11:15:36.000Z | 2019-01-31T11:19:32.000Z | chemflow/jobs/forms.py | donadef/django-test | 70479458833045fa6476aaf93c3f62cc1ad26df4 | [
"MIT"
] | null | null | null | from django import forms
from .models import Job
SF_CHOICES_DOCK = (
('vina', 'Vina'),
('chemplp', 'ChemPLP'),
('plp95', 'plp95'),
('plp', 'plp'),
)
class JobForm(forms.ModelForm):
def clean_receptor_file(self):
receptor_file = self.cleaned_data['receptor_file']
ext = str(recepto... | 50.138889 | 127 | 0.4 | 542 | 7,220 | 5.199262 | 0.166052 | 0.092264 | 0.1533 | 0.12917 | 0.855216 | 0.855216 | 0.830376 | 0.830376 | 0.803407 | 0.803407 | 0 | 0.014794 | 0.466343 | 7,220 | 143 | 128 | 50.48951 | 0.716584 | 0 | 0 | 0.779661 | 0 | 0 | 0.281579 | 0.026039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008475 | false | 0 | 0.016949 | 0 | 0.076271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
256224783d5a53d1292f5f6fcfd305122250c18f | 40,027 | py | Python | gbe_browser/targeted.py | whyrg/GlobalBiobankEngine | 514f16eaaae16f0459b40cd1080c9243f007ec91 | [
"MIT"
] | null | null | null | gbe_browser/targeted.py | whyrg/GlobalBiobankEngine | 514f16eaaae16f0459b40cd1080c9243f007ec91 | [
"MIT"
] | null | null | null | gbe_browser/targeted.py | whyrg/GlobalBiobankEngine | 514f16eaaae16f0459b40cd1080c9243f007ec91 | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import division
from random import shuffle
# Written by Manuel A. Rivas
# Updated 11.28.2016
from optparse import OptionParser
from collections import Counter
import array
import itertools
import math
import sys,re
import os
import logging
from scipy.stats import ... | 50.222083 | 236 | 0.582432 | 5,278 | 40,027 | 4.399962 | 0.082039 | 0.023683 | 0.026181 | 0.012057 | 0.910132 | 0.90264 | 0.895147 | 0.890712 | 0.876975 | 0.875727 | 0 | 0.040927 | 0.27419 | 40,027 | 796 | 237 | 50.285176 | 0.758433 | 0.120569 | 0 | 0.851095 | 0 | 0.00292 | 0.018472 | 0.003335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00438 | false | 0 | 0.030657 | 0 | 0.040876 | 0.042336 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
25728792dbeada968022eadfb38f1fc004221114 | 17,349 | py | Python | environment.py | YangChenye/Khameleon-Scheduler-RL | 7ddfe067bf5ebb757b06aede6591e9f86ea4af6a | [
"MIT"
] | null | null | null | environment.py | YangChenye/Khameleon-Scheduler-RL | 7ddfe067bf5ebb757b06aede6591e9f86ea4af6a | [
"MIT"
] | null | null | null | environment.py | YangChenye/Khameleon-Scheduler-RL | 7ddfe067bf5ebb757b06aede6591e9f86ea4af6a | [
"MIT"
] | null | null | null | # Created by Chenye Yang on 2020/8/12.
# Copyright © 2020 Chenye Yang. All rights reserved.
from gym.envs.toy_text import discrete
import numpy as np
from scipy.special import comb
from itertools import permutations
from multiprocessing import Pool, cpu_count
class color:
PURPLE = '\033[95m'
CYAN = '\033[96m'
... | 48.460894 | 121 | 0.623494 | 2,515 | 17,349 | 4.137575 | 0.085885 | 0.00961 | 0.013262 | 0.016145 | 0.906112 | 0.895733 | 0.891697 | 0.885931 | 0.881991 | 0.878339 | 0 | 0.037673 | 0.277826 | 17,349 | 358 | 122 | 48.460894 | 0.792801 | 0.430054 | 0 | 0.811881 | 0 | 0 | 0.032125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089109 | false | 0 | 0.024752 | 0 | 0.257426 | 0.034653 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c29ded1c9445a66bca9ecdb4702449935d8ff664 | 2,814 | py | Python | UnitTests/Maths/FillTreeDriver.py | nesbittryan/3250GraphCalcProject | 861e3e8e599e0ee00391c99cb82bacf268d9556b | [
"MIT"
] | null | null | null | UnitTests/Maths/FillTreeDriver.py | nesbittryan/3250GraphCalcProject | 861e3e8e599e0ee00391c99cb82bacf268d9556b | [
"MIT"
] | null | null | null | UnitTests/Maths/FillTreeDriver.py | nesbittryan/3250GraphCalcProject | 861e3e8e599e0ee00391c99cb82bacf268d9556b | [
"MIT"
] | null | null | null | #!/usr/bin/python
from Testing import *
from Modules.Maths.FillTree import *
#
# Verify Driver
# Verify the functions within verifier
#
printHeader("Fill Tree Driver", "Testing functions in FillTree: parseString.")
eq = "((5.25+(6*7))-(9/1))"
parseString(eq)
ans = [None, '-', '+', '/', '5.25', '*', '9', '1', Non... | 58.625 | 306 | 0.620824 | 429 | 2,814 | 4.072261 | 0.102564 | 1.131082 | 1.627934 | 2.106468 | 0.847739 | 0.811677 | 0.772181 | 0.772181 | 0.772181 | 0.772181 | 0 | 0.018779 | 0.167377 | 2,814 | 47 | 307 | 59.87234 | 0.726846 | 0.025231 | 0 | 0.529412 | 0 | 0 | 0.128926 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.029412 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6c3cccc13a7718397d741252da0a5e88b230e375 | 45,750 | py | Python | dnc/dnc.py | HimariO/VideoSum | 3a81276df3b429c24ebf9a1841b5a9168c0c3ccf | [
"MIT"
] | null | null | null | dnc/dnc.py | HimariO/VideoSum | 3a81276df3b429c24ebf9a1841b5a9168c0c3ccf | [
"MIT"
] | null | null | null | dnc/dnc.py | HimariO/VideoSum | 3a81276df3b429c24ebf9a1841b5a9168c0c3ccf | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.contrib.rnn import LSTMStateTuple
from .memory import *
from .utility import *
import os
class DNC:
def __init__(self, controller_class, input_size, output_size, max_sequence_length,
memory_words_num=256, memory_word_size=64, memory_read_heads=4, batch_siz... | 43.03857 | 179 | 0.640087 | 5,467 | 45,750 | 5.044449 | 0.048473 | 0.065016 | 0.045036 | 0.045471 | 0.943687 | 0.938393 | 0.929219 | 0.919537 | 0.915077 | 0.895351 | 0 | 0.017159 | 0.268809 | 45,750 | 1,062 | 180 | 43.079096 | 0.807246 | 0.118339 | 0 | 0.831921 | 0 | 0 | 0.043844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031073 | false | 0 | 0.007062 | 0.001412 | 0.062147 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6c6070cc86b2d00ea345bdccca512af14c1ea9c0 | 38 | py | Python | SubredditScraper/__init__.py | tomhennessey/Subreddit-Scrape | 224c76fb179b6171634e7dd7739f73015c206d62 | [
"MIT"
] | null | null | null | SubredditScraper/__init__.py | tomhennessey/Subreddit-Scrape | 224c76fb179b6171634e7dd7739f73015c206d62 | [
"MIT"
] | null | null | null | SubredditScraper/__init__.py | tomhennessey/Subreddit-Scrape | 224c76fb179b6171634e7dd7739f73015c206d62 | [
"MIT"
] | null | null | null | from . import scrape
from . import db
| 12.666667 | 20 | 0.736842 | 6 | 38 | 4.666667 | 0.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 21 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
66dcbd9a12ccee3cf1ebba41dd3c2a6c91f030c7 | 65,807 | py | Python | raka_amanda.py | Garangan-Z/USERT | 0643f87f9141ac40b9a9c970b608ef566db441be | [
"Apache-2.0"
] | null | null | null | raka_amanda.py | Garangan-Z/USERT | 0643f87f9141ac40b9a9c970b608ef566db441be | [
"Apache-2.0"
] | null | null | null | raka_amanda.py | Garangan-Z/USERT | 0643f87f9141ac40b9a9c970b608ef566db441be | [
"Apache-2.0"
] | null | null | null | #coding=utf-8
#!/usr/bin/python2
#coding=utf-8
try:
import os,sys,time,datetime,random,hashlib,re,threading,json,getpass,urllib,cookielib,requests,uuid,string
from multiprocessing.pool import ThreadPool
from requests.exceptions import ConnectionError
except ImportError:
os.system("pip2 install requests")
agents = ... | 64.962488 | 859 | 0.674442 | 11,505 | 65,807 | 3.87362 | 0.08605 | 0.013598 | 0.058161 | 0.071153 | 0.842077 | 0.824866 | 0.811695 | 0.794956 | 0.767109 | 0.745546 | 0 | 0.167176 | 0.134013 | 65,807 | 1,012 | 860 | 65.02668 | 0.601846 | 0.000623 | 0 | 0.501496 | 0 | 0.373878 | 0.772395 | 0.12428 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015952 | false | 0.111665 | 0.003988 | 0 | 0.01994 | 0.181456 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
dd38c92111163e8e138ea860c32a0b30b133af1f | 39,428 | py | Python | cohesivenet/api/vns3/configuration_api.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | cohesivenet/api/vns3/configuration_api.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | cohesivenet/api/vns3/configuration_api.py | cohesive/python-cohesivenet-sdk | 5620acfa669ff97c94d9aa04a16facda37d648c1 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
VNS3 Controller API
Cohesive networks VNS3 API providing complete control of your network's addresses, routes, rules and edge # noqa: E501
The version of the OpenAPI document: 4.8
Contact: solutions@cohesive.net
Generated by: https://openapi-generator.tech
"""
from __future... | 34.768959 | 159 | 0.636553 | 4,675 | 39,428 | 5.08877 | 0.066096 | 0.038672 | 0.049433 | 0.045019 | 0.842245 | 0.82871 | 0.823749 | 0.812694 | 0.804035 | 0.796259 | 0 | 0.017541 | 0.281399 | 39,428 | 1,133 | 160 | 34.799647 | 0.822116 | 0.453003 | 0 | 0.77425 | 0 | 0 | 0.133452 | 0.022077 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028219 | false | 0.010582 | 0.012346 | 0 | 0.075838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dd60615955762c354a804dcfb497efae46f96c8b | 5,383 | py | Python | test/styles/test_style_parsing.py | mrz1988/lilies | 9525770fabab7e142ebedc40ab5d0c8027aa90ba | [
"MIT"
] | null | null | null | test/styles/test_style_parsing.py | mrz1988/lilies | 9525770fabab7e142ebedc40ab5d0c8027aa90ba | [
"MIT"
] | 51 | 2019-06-18T16:35:56.000Z | 2021-02-23T00:32:23.000Z | test/styles/test_style_parsing.py | mrz1988/lilies | 9525770fabab7e142ebedc40ab5d0c8027aa90ba | [
"MIT"
] | null | null | null | import unittest
from lilies.style import Color
from lilies.style.palette import get_color
from lilies.style.parse import parse_style, InvalidStyleError
class TestStyleParsing(unittest.TestCase):
def test_parsing_none_returns_default(self):
style = parse_style(None)
self.assertEqual(Color(), style.... | 41.728682 | 73 | 0.68159 | 646 | 5,383 | 5.4613 | 0.106811 | 0.204082 | 0.117347 | 0.149943 | 0.880102 | 0.804705 | 0.735544 | 0.683957 | 0.648526 | 0.614229 | 0 | 0.000462 | 0.195987 | 5,383 | 128 | 74 | 42.054688 | 0.814695 | 0 | 0 | 0.47619 | 0 | 0 | 0.150288 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 1 | 0.209524 | false | 0 | 0.038095 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dd8ed61ec9ab5acf16165d1723fc36c33f5261af | 5,082 | py | Python | operators/spin_loop_correlator_test.py | liyang2019/VMC-ISGO | 842a8826db75b764fc0e02024094badd6211ca2a | [
"Apache-2.0"
] | 7 | 2019-08-22T19:10:06.000Z | 2020-11-24T20:15:37.000Z | operators/spin_loop_correlator_test.py | liyang2019/VMC-ISGO | 842a8826db75b764fc0e02024094badd6211ca2a | [
"Apache-2.0"
] | null | null | null | operators/spin_loop_correlator_test.py | liyang2019/VMC-ISGO | 842a8826db75b764fc0e02024094badd6211ca2a | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import tensorflow as tf
from operators import spin_loop_correlator
class SpinLoopCorrelatorTest(tf.test.TestCase):
def test_find_states_value_encoding(self):
loop_correlator =... | 49.823529 | 80 | 0.463007 | 637 | 5,082 | 3.549451 | 0.072214 | 0.111455 | 0.124724 | 0.116762 | 0.884564 | 0.884564 | 0.884564 | 0.884564 | 0.884564 | 0.884564 | 0 | 0.097245 | 0.392956 | 5,082 | 101 | 81 | 50.316832 | 0.635656 | 0 | 0 | 0.873563 | 0 | 0 | 0.001574 | 0 | 0 | 0 | 0 | 0 | 0.367816 | 1 | 0.022989 | false | 0 | 0.068966 | 0 | 0.103448 | 0.011494 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
06cc916412dc4eaeaba6bea9f76d1ef69a5aacf3 | 10,008 | py | Python | tests/app/questionnaire_state/test_relationship_state_question.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | null | null | null | tests/app/questionnaire_state/test_relationship_state_question.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | 8 | 2020-03-24T15:24:18.000Z | 2022-03-02T04:32:56.000Z | tests/app/questionnaire_state/test_relationship_state_question.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | null | null | null | from unittest import TestCase
from mock import patch, Mock
from app.questionnaire_state.relationship_state_question import RelationshipStateQuestion
from app.schema.answer import Answer
from app.schema.question import Question
from app.schema.widgets.text_widget import TextWidget
def create_answer(group_instance=0)... | 37.766038 | 111 | 0.621003 | 983 | 10,008 | 5.945066 | 0.085453 | 0.130903 | 0.192505 | 0.041068 | 0.859343 | 0.854552 | 0.839494 | 0.814339 | 0.796715 | 0.796715 | 0 | 0.005455 | 0.285572 | 10,008 | 264 | 112 | 37.909091 | 0.811888 | 0.01269 | 0 | 0.598039 | 0 | 0 | 0.153713 | 0.055195 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.044118 | false | 0 | 0.029412 | 0 | 0.093137 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c07d2618950d19b040d01a3a53702769b359088 | 182 | py | Python | python/testData/highlighting/continueOutsideOfLoop.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/highlighting/continueOutsideOfLoop.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/highlighting/continueOutsideOfLoop.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | for x in [1, 2, 3]:
pass
else:
<error descr="'continue' outside loop">continue</error>
while True:
pass
else:
<error descr="'continue' outside loop">continue</error> | 20.222222 | 59 | 0.648352 | 26 | 182 | 4.538462 | 0.576923 | 0.135593 | 0.220339 | 0.305085 | 0.847458 | 0.847458 | 0.847458 | 0.847458 | 0.847458 | 0 | 0 | 0.020548 | 0.197802 | 182 | 9 | 60 | 20.222222 | 0.787671 | 0 | 0 | 0.75 | 0 | 0 | 0.251366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 12 |
9fd89a39cecc01bcfb1c901093d8d538d8824f03 | 132 | py | Python | netmiko/siemens/__init__.py | lscarmic/netmiko | 35966220e293ad300b84a1c4bdd5899527292188 | [
"MIT"
] | null | null | null | netmiko/siemens/__init__.py | lscarmic/netmiko | 35966220e293ad300b84a1c4bdd5899527292188 | [
"MIT"
] | null | null | null | netmiko/siemens/__init__.py | lscarmic/netmiko | 35966220e293ad300b84a1c4bdd5899527292188 | [
"MIT"
] | null | null | null | from netmiko.siemens.siemens_ros import ROSSSH
from netmiko.siemens.siemens_ros import ROSTelnet
__all__ = ["ROSSSH", "ROSTelnet"]
| 26.4 | 49 | 0.810606 | 17 | 132 | 5.941176 | 0.470588 | 0.217822 | 0.356436 | 0.49505 | 0.673267 | 0.673267 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 4 | 50 | 33 | 0.84874 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b0280eed890d653b2c8aa4ed86fbe41fb63797cb | 350 | py | Python | exercise108.py | AlissonRaphael/python_exercises | 3f1185c4f2fff24c9fa2ffd6b60f90599044c985 | [
"MIT"
] | null | null | null | exercise108.py | AlissonRaphael/python_exercises | 3f1185c4f2fff24c9fa2ffd6b60f90599044c985 | [
"MIT"
] | null | null | null | exercise108.py | AlissonRaphael/python_exercises | 3f1185c4f2fff24c9fa2ffd6b60f90599044c985 | [
"MIT"
] | null | null | null | from exercise107_modulos import moeda
preco = float(input('Digite o preço: R$ '))
print(f'A metade de {moeda.cifrao(preco)} é {moeda.cifrao(moeda.metade(preco))}.')
print(f'O dobro de {moeda.cifrao(preco)} é {moeda.cifrao(moeda.dobro(preco))}.')
print(f'Aumentando 10% de {moeda.cifrao(preco)}, temos {moeda.cifrao(moed... | 50 | 102 | 0.722857 | 55 | 350 | 4.581818 | 0.436364 | 0.261905 | 0.154762 | 0.214286 | 0.277778 | 0.277778 | 0.277778 | 0.277778 | 0 | 0 | 0 | 0.021944 | 0.088571 | 350 | 6 | 103 | 58.333333 | 0.768025 | 0 | 0 | 0 | 0 | 0.6 | 0.722857 | 0.494286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
c668a10e06498c1cdaacc7678c64acd4bdf95be7 | 5,350 | py | Python | tests/py3/test_httpx_client/test_oauth1_client.py | timgates42/authlib | 24cddc09b82a908d6f8ec8fa0331114ce9e2cc66 | [
"BSD-3-Clause"
] | null | null | null | tests/py3/test_httpx_client/test_oauth1_client.py | timgates42/authlib | 24cddc09b82a908d6f8ec8fa0331114ce9e2cc66 | [
"BSD-3-Clause"
] | null | null | null | tests/py3/test_httpx_client/test_oauth1_client.py | timgates42/authlib | 24cddc09b82a908d6f8ec8fa0331114ce9e2cc66 | [
"BSD-3-Clause"
] | null | null | null | from unittest import TestCase
from authlib.integrations.httpx_client import (
OAuthError,
OAuth1Client,
SIGNATURE_TYPE_BODY,
SIGNATURE_TYPE_QUERY,
)
from tests.py3.utils import MockDispatch
class OAuth1ClientTest(TestCase):
oauth_url = 'https://example.com/oauth'
def test_fetch_request_token_... | 37.412587 | 78 | 0.648411 | 595 | 5,350 | 5.561345 | 0.107563 | 0.060441 | 0.071925 | 0.053188 | 0.893623 | 0.888184 | 0.875793 | 0.842551 | 0.842551 | 0.842551 | 0 | 0.004436 | 0.241495 | 5,350 | 142 | 79 | 37.676056 | 0.810991 | 0 | 0 | 0.705357 | 0 | 0 | 0.142056 | 0.028598 | 0 | 0 | 0 | 0 | 0.348214 | 1 | 0.098214 | false | 0 | 0.026786 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c6dc763e6d509414606cb22217f7cd0b68b95252 | 156 | py | Python | webup/session.py | cariad/webup | 29f636ffd50a605c2dc11d82d17cfcb6ce961f8c | [
"MIT"
] | null | null | null | webup/session.py | cariad/webup | 29f636ffd50a605c2dc11d82d17cfcb6ce961f8c | [
"MIT"
] | 5 | 2021-12-24T17:40:35.000Z | 2022-01-19T14:16:50.000Z | webup/session.py | cariad/webup | 29f636ffd50a605c2dc11d82d17cfcb6ce961f8c | [
"MIT"
] | null | null | null | from boto3.session import Session
def make_session(region: str | None = None) -> Session:
return Session(region_name=region) if region else Session()
| 26 | 63 | 0.75 | 22 | 156 | 5.227273 | 0.590909 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.160256 | 156 | 5 | 64 | 31.2 | 0.870229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 1 | 0 | 0 | 7 |
05e211532bc906d2ffed56e82849171e20a938e6 | 13,175 | py | Python | signalwire/tests/relay/calling/test_actions.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 23 | 2018-12-19T14:48:18.000Z | 2022-01-11T03:58:36.000Z | signalwire/tests/relay/calling/test_actions.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 13 | 2018-10-17T12:57:54.000Z | 2021-09-01T21:46:01.000Z | signalwire/tests/relay/calling/test_actions.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 12 | 2020-01-21T14:29:43.000Z | 2022-01-11T07:48:06.000Z | import asyncio
import json
import pytest
from unittest.mock import Mock, patch
from signalwire.relay.calling.components.play import Play
from signalwire.relay.calling.actions.play_action import PlayAction
from signalwire.relay.calling.components.record import Record
from signalwire.relay.calling.actions.record_action i... | 48.977695 | 208 | 0.79871 | 1,908 | 13,175 | 5.243187 | 0.046646 | 0.090864 | 0.103958 | 0.142943 | 0.904238 | 0.859956 | 0.852159 | 0.846961 | 0.837265 | 0.829068 | 0 | 0.004703 | 0.080152 | 13,175 | 268 | 209 | 49.160448 | 0.820777 | 0.011613 | 0 | 0.710084 | 0 | 0.046218 | 0.134624 | 0.125557 | 0 | 0 | 0 | 0 | 0.273109 | 1 | 0.029412 | false | 0 | 0.071429 | 0 | 0.130252 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
af0e4ac6de9c87b595340c85ab2ff9ad18647454 | 37,389 | py | Python | pymcxray/FileFormat/test_SimulationParameters.py | drix00/pymcxray | bf650aa0f31c635040a6cb79fe1cb7ecf27b8990 | [
"Apache-2.0"
] | 1 | 2020-07-23T12:13:30.000Z | 2020-07-23T12:13:30.000Z | pymcxray/FileFormat/test_SimulationParameters.py | drix00/pymcxray | bf650aa0f31c635040a6cb79fe1cb7ecf27b8990 | [
"Apache-2.0"
] | 3 | 2017-03-05T16:09:30.000Z | 2017-03-05T16:11:41.000Z | pymcxray/FileFormat/test_SimulationParameters.py | drix00/pymcxray | bf650aa0f31c635040a6cb79fe1cb7ecf27b8990 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
.. py:currentmodule:: FileFormat.test_SimulationParameters
.. moduleauthor:: Hendrix Demers <hendrix.demers@mail.mcgill.ca>
Tests for module `SimulationParameters`.
"""
# Script information for the file.
__author__ = "Hendrix Demers (hendrix.demers@mail.mcgill.ca)"
__version__ = ""
__date__ ... | 56.055472 | 138 | 0.760678 | 2,806 | 37,389 | 10.038845 | 0.063436 | 0.112464 | 0.243672 | 0.06532 | 0.9361 | 0.922432 | 0.912918 | 0.900919 | 0.889843 | 0.873442 | 0 | 0.013267 | 0.165396 | 37,389 | 666 | 139 | 56.13964 | 0.889441 | 0.039236 | 0 | 0.775378 | 0 | 0 | 0.027682 | 0.011856 | 0 | 0 | 0 | 0 | 0.442765 | 1 | 0.036717 | false | 0 | 0.019438 | 0 | 0.060475 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
af2ec54b94dff14ee6178f9ab711f62c7cd3046b | 2,916 | py | Python | grafos/representacao/grafo3.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | grafos/representacao/grafo3.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | grafos/representacao/grafo3.py | HugoLeda/EstruturaDeDados | ed3b2489b7b1421ca8f8adf580aabaa967cf4a25 | [
"MIT"
] | null | null | null | grafo3 = [{
"a": [
{
"aresta": "ac",
"incidencia": 1
},
{
"aresta": "ad",
"incidencia": 1
},
{
"aresta": "af",
"incidencia": 1
},
{
"aresta": "bd",
"incidencia": 0
},
{
"aresta": "be",
"incidencia": 0
},
{
"aresta": "cf",
"incidencia": 0
},
{
... | 11.758065 | 28 | 0.380316 | 241 | 2,916 | 4.60166 | 0.107884 | 0.396754 | 0.536519 | 0.085663 | 0.956718 | 0.956718 | 0.956718 | 0.871055 | 0.870153 | 0.870153 | 0 | 0.031909 | 0.365912 | 2,916 | 248 | 29 | 11.758065 | 0.567875 | 0 | 0 | 0.481781 | 0 | 0 | 0.34796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.004049 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
af3c473a3b15582274b8378ea95830704cec8fb0 | 223 | py | Python | application/controllers/main/index.py | LuisNorberto1998/Actividad_11_-_Webservice | 07a469d3de9dc4a3083a3c35924678d2e4bb16f5 | [
"MIT"
] | null | null | null | application/controllers/main/index.py | LuisNorberto1998/Actividad_11_-_Webservice | 07a469d3de9dc4a3083a3c35924678d2e4bb16f5 | [
"MIT"
] | null | null | null | application/controllers/main/index.py | LuisNorberto1998/Actividad_11_-_Webservice | 07a469d3de9dc4a3083a3c35924678d2e4bb16f5 | [
"MIT"
] | null | null | null | import config
class Index:
def __init__(self):
pass
def GET(self):
#result = config.model.get_all_table_name()
#return config.render.index(result)
return config.render.index()
| 18.583333 | 51 | 0.618834 | 27 | 223 | 4.851852 | 0.592593 | 0.183206 | 0.274809 | 0.351145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282511 | 223 | 11 | 52 | 20.272727 | 0.81875 | 0.340807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 7 |
af53f880d59462e260170c02a027ce18552e58b5 | 9,826 | py | Python | 1d/shelf.py | RunxinNi/multilayer-examples | 53c8525969193130005ff08e2a6fd25e842d9a99 | [
"MIT"
] | 1 | 2021-05-23T04:25:48.000Z | 2021-05-23T04:25:48.000Z | 1d/shelf.py | RunxinNi/multilayer-examples | 53c8525969193130005ff08e2a6fd25e842d9a99 | [
"MIT"
] | null | null | null | 1d/shelf.py | RunxinNi/multilayer-examples | 53c8525969193130005ff08e2a6fd25e842d9a99 | [
"MIT"
] | 4 | 2017-06-21T13:33:44.000Z | 2020-02-25T18:34:51.000Z | #!/usr/bin/env python
# encoding: utf-8
r"""Runs idealized jump and sloped 1d shelf tests"""
import sys
from clawpack.riemann import layered_shallow_water_1D
import clawpack.clawutil.runclaw as runclaw
from clawpack.pyclaw.plot import plot
import multilayer as ml
def jump_shelf(num_cells,eigen_method,**kar... | 34.720848 | 89 | 0.609709 | 1,224 | 9,826 | 4.710784 | 0.185458 | 0.07076 | 0.094346 | 0.032952 | 0.891086 | 0.877558 | 0.877558 | 0.864724 | 0.864724 | 0.864724 | 0 | 0.033819 | 0.238653 | 9,826 | 282 | 90 | 34.843972 | 0.736934 | 0.200081 | 0 | 0.808642 | 0 | 0 | 0.089063 | 0.005655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012346 | false | 0 | 0.055556 | 0 | 0.067901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
af9d9cd42b57c0ad976c25f09113051703204b62 | 14,726 | py | Python | safe_relay_service/relay/models_raw.py | gnosis/safe-relay-service | e4db2f9b85aab612653785766d4c1f4d16197197 | [
"MIT"
] | 48 | 2018-07-22T16:02:27.000Z | 2022-03-31T17:46:20.000Z | safe_relay_service/relay/models_raw.py | gnosis/safe-relay-service | e4db2f9b85aab612653785766d4c1f4d16197197 | [
"MIT"
] | 264 | 2018-06-11T11:37:55.000Z | 2022-03-30T18:29:38.000Z | safe_relay_service/relay/models_raw.py | gnosis/safe-relay-service | e4db2f9b85aab612653785766d4c1f4d16197197 | [
"MIT"
] | 24 | 2018-11-07T19:28:59.000Z | 2022-03-19T16:46:59.000Z | import datetime
from decimal import Decimal
from typing import Any, Dict, List, Optional
from django.db import connection, models
from gnosis.eth.constants import ERC20_721_TRANSFER_TOPIC
def parse_row(row):
"""
Remove Decimal from Raw SQL queries
"""
for r in row:
if isinstance(r, Decimal):... | 44.624242 | 116 | 0.62685 | 1,899 | 14,726 | 4.676672 | 0.081622 | 0.042563 | 0.058552 | 0.023646 | 0.887625 | 0.846751 | 0.817138 | 0.790902 | 0.772661 | 0.746087 | 0 | 0.006553 | 0.285006 | 14,726 | 329 | 117 | 44.759878 | 0.836927 | 0.042917 | 0 | 0.635037 | 0 | 0.047445 | 0.665686 | 0.063792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058394 | false | 0 | 0.025547 | 0 | 0.149635 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bb9dcc8419283a003cf72b15cf9a0b75ebe0d53d | 35,130 | py | Python | sdk/python/pulumi_linode/instance.py | Charliekenney23/pulumi-linode | 523c58758c8f5b78219c670ba1aad6c6fd46c07a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_linode/instance.py | Charliekenney23/pulumi-linode | 523c58758c8f5b78219c670ba1aad6c6fd46c07a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_linode/instance.py | Charliekenney23/pulumi-linode | 523c58758c8f5b78219c670ba1aad6c6fd46c07a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from . import utilities, tables
class Instanc... | 82.658824 | 496 | 0.67068 | 4,820 | 35,130 | 4.775934 | 0.08029 | 0.078367 | 0.041703 | 0.033015 | 0.899609 | 0.891486 | 0.884101 | 0.879322 | 0.873284 | 0.869765 | 0 | 0.005918 | 0.225648 | 35,130 | 424 | 497 | 82.853774 | 0.840312 | 0.66086 | 0 | 0.016529 | 1 | 0 | 0.133563 | 0.004929 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033058 | false | 0.049587 | 0.049587 | 0.016529 | 0.338843 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a556258678571ae4136bd1606c283a4ac44c42ab | 141 | py | Python | examples/history_update.py | wyjcpu/quantity | a53126a430f12b5bac81a52b2fe749cc497faf36 | [
"MIT"
] | null | null | null | examples/history_update.py | wyjcpu/quantity | a53126a430f12b5bac81a52b2fe749cc497faf36 | [
"MIT"
] | null | null | null | examples/history_update.py | wyjcpu/quantity | a53126a430f12b5bac81a52b2fe749cc497faf36 | [
"MIT"
] | 1 | 2021-05-11T09:33:59.000Z | 2021-05-11T09:33:59.000Z | from quantity import history
# history.init(dtype='D', export='csv', path='history')
history.update(dtype='D', export='csv', path='history') | 35.25 | 55 | 0.716312 | 20 | 141 | 5.05 | 0.55 | 0.277228 | 0.237624 | 0.29703 | 0.514851 | 0.514851 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 141 | 4 | 56 | 35.25 | 0.776923 | 0.375887 | 0 | 0 | 0 | 0 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
a5661b9c6fd7573fa05a511c93d98c15a0824002 | 31,547 | py | Python | src/ai/merge_scoring_infos_func_test.py | cpatrasciuc/schnapsen-card-game | e5131ae91c71d341968d682fd625aff3f97cc516 | [
"BSD-3-Clause"
] | null | null | null | src/ai/merge_scoring_infos_func_test.py | cpatrasciuc/schnapsen-card-game | e5131ae91c71d341968d682fd625aff3f97cc516 | [
"BSD-3-Clause"
] | 18 | 2021-06-03T01:54:51.000Z | 2022-03-30T06:12:08.000Z | src/ai/merge_scoring_infos_func_test.py | cpatrasciuc/schnapsen-card-game | e5131ae91c71d341968d682fd625aff3f97cc516 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2021 Cristian Patrasciuc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest
from typing import Dict
from ai.merge_scoring_infos_func import ScoringInfo, best_action_frequency, \
average_ucb, count_visits, mer... | 49.138629 | 80 | 0.609852 | 3,754 | 31,547 | 5.018114 | 0.041023 | 0.092844 | 0.125013 | 0.15835 | 0.926638 | 0.918834 | 0.908801 | 0.907262 | 0.880826 | 0.857097 | 0 | 0.04889 | 0.260215 | 31,547 | 641 | 81 | 49.215289 | 0.758291 | 0.005072 | 0 | 0.700813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030894 | 1 | 0.021138 | false | 0 | 0.014634 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a574a03b88038e12d889c182d59c4a861c2dd6b8 | 10,767 | py | Python | pkgs/ops-pkg/src/genie/libs/ops/fdb/iosxe/tests/fdb_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/ops-pkg/src/genie/libs/ops/fdb/iosxe/tests/fdb_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/ops-pkg/src/genie/libs/ops/fdb/iosxe/tests/fdb_output.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''Fdb Genie Ops Object Outputs for IOSXE.'''
class FdbOutput(object):
ShowMacAddressTable = {
"mac_table": {
"vlans": {
'100': {
"mac_addresses": {
"ecbd.1d09.5689": {
"drop": {
... | 38.730216 | 78 | 0.219931 | 449 | 10,767 | 5.113586 | 0.146993 | 0.078397 | 0.078397 | 0.078397 | 0.826655 | 0.795732 | 0.776132 | 0.776132 | 0.776132 | 0.776132 | 0 | 0.112197 | 0.686264 | 10,767 | 277 | 79 | 38.870036 | 0.567496 | 0.003622 | 0 | 0.578358 | 0 | 0 | 0.207237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.018657 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3c6bdb8a5203ccba708acec106c4e7b2e72def34 | 306,795 | py | Python | test/test_refine_space.py | xhajnal/DiPS | 2e5d6e0a26d2b1cd44522dc521992e6d7cfe6883 | [
"BSD-3-Clause"
] | 4 | 2020-04-25T22:29:43.000Z | 2022-01-14T07:52:55.000Z | test/test_refine_space.py | xhajnal/DiPS | 2e5d6e0a26d2b1cd44522dc521992e6d7cfe6883 | [
"BSD-3-Clause"
] | 64 | 2020-01-06T18:38:56.000Z | 2022-02-27T18:38:45.000Z | test/test_refine_space.py | xhajnal/DiPS | 2e5d6e0a26d2b1cd44522dc521992e6d7cfe6883 | [
"BSD-3-Clause"
] | 3 | 2020-02-13T16:46:54.000Z | 2021-11-26T11:47:56.000Z | import pickle
import unittest
from sympy import Interval
from common.convert import ineq_to_constraints
from src.refine_space import *
cwd = os.getcwd()
class MyTestCase(unittest.TestCase):
def test_check_single_z3(self):
print(colored("Checking (un)safe with single properties using z3 here", 'blue'))
... | 460.653153 | 69,634 | 0.535035 | 88,069 | 306,795 | 1.854319 | 0.004065 | 0.107576 | 0.083217 | 0.056237 | 0.976909 | 0.958679 | 0.91336 | 0.812624 | 0.636209 | 0.415785 | 0 | 0.333761 | 0.095318 | 306,795 | 665 | 69,635 | 461.345865 | 0.254626 | 0.03606 | 0 | 0.579787 | 0 | 0.023936 | 0.90226 | 0.716054 | 0 | 0 | 0 | 0.001504 | 0.287234 | 1 | 0.026596 | false | 0.005319 | 0.026596 | 0 | 0.055851 | 0.053191 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
3c7e5257c5648c05e9e8341c58d8cc3b4524cb0f | 87,087 | py | Python | taxonomies/amazon/get_amazon_taxonomy.py | JutiaDev/laravel-category | b7b4f5e864395e457f8a4ea9f8b0d6c4fd35ba7a | [
"MIT"
] | null | null | null | taxonomies/amazon/get_amazon_taxonomy.py | JutiaDev/laravel-category | b7b4f5e864395e457f8a4ea9f8b0d6c4fd35ba7a | [
"MIT"
] | null | null | null | taxonomies/amazon/get_amazon_taxonomy.py | JutiaDev/laravel-category | b7b4f5e864395e457f8a4ea9f8b0d6c4fd35ba7a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Nov 6 00:05:48 2020
@author: abdelhamid abouhassane
"""
import time
from selenium import webdriver
from selenium.webdriver.support.ui import Select
browser = webdriver.Chrome('./chromedriver')
options = [
"search-alias=arts-crafts-intl-ship", ... | 110.236709 | 408 | 0.686256 | 12,097 | 87,087 | 4.798628 | 0.081673 | 0.040931 | 0.071629 | 0.086978 | 0.835019 | 0.827852 | 0.819497 | 0.808179 | 0.799583 | 0.597909 | 0 | 0.276072 | 0.136105 | 87,087 | 789 | 409 | 110.376426 | 0.495507 | 0.866857 | 0 | 0.138158 | 0 | 0.019737 | 0.1696 | 0.084982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.019737 | 0 | 0.098684 | 0.105263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3c9091d2d3fe2dcfc03021363c6221528e231692 | 19,273 | py | Python | src/exabgp/reactor/api/command/announce.py | pierky/exabgp | 34be537ae5906c0830b31da1152ae63108ccf911 | [
"BSD-3-Clause"
] | 1,560 | 2015-01-01T08:53:05.000Z | 2022-03-29T20:22:43.000Z | src/exabgp/reactor/api/command/announce.py | pierky/exabgp | 34be537ae5906c0830b31da1152ae63108ccf911 | [
"BSD-3-Clause"
] | 818 | 2015-01-01T17:38:40.000Z | 2022-03-30T07:29:24.000Z | src/exabgp/reactor/api/command/announce.py | pierky/exabgp | 34be537ae5906c0830b31da1152ae63108ccf911 | [
"BSD-3-Clause"
] | 439 | 2015-01-06T21:20:41.000Z | 2022-03-19T23:24:25.000Z | # encoding: utf-8
"""
line/watchdog.py
Created by Thomas Mangin on 2017-07-01.
Copyright (c) 2009-2017 Exa Networks. All rights reserved.
License: 3-clause BSD. (See the COPYRIGHT file)
"""
from exabgp.reactor.api.command.command import Command
from exabgp.reactor.api.command.limit import match_neighbors
from exabgp.... | 37.423301 | 119 | 0.577181 | 1,979 | 19,273 | 5.531582 | 0.071248 | 0.039006 | 0.112542 | 0.108523 | 0.894309 | 0.882982 | 0.882982 | 0.869827 | 0.861515 | 0.847264 | 0 | 0.001799 | 0.336637 | 19,273 | 514 | 120 | 37.496109 | 0.854439 | 0.015203 | 0 | 0.806005 | 0 | 0 | 0.116605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053118 | false | 0.002309 | 0.016166 | 0 | 0.161663 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b1f8cd4c4d9b720daa4474b39bf2448682d1f777 | 14,134 | py | Python | recover_pjax/apps/questions/views.py | pythonsmallwhite/Club | 31797646898fdcdb5e91abbbf43934be78f6436b | [
"Apache-2.0"
] | null | null | null | recover_pjax/apps/questions/views.py | pythonsmallwhite/Club | 31797646898fdcdb5e91abbbf43934be78f6436b | [
"Apache-2.0"
] | 7 | 2020-06-05T22:27:23.000Z | 2022-03-11T23:57:09.000Z | recover_pjax/apps/questions/views.py | pythonsmallwhite/Club | 31797646898fdcdb5e91abbbf43934be78f6436b | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render, HttpResponse
from .models import Questions, QuestionsCollection, Questionsliker
from django.http import JsonResponse
import random
from django.forms.models import model_to_dict
from django.contrib.auth.mixins import LoginRequiredMixin
from django.views.generic import View, DetailVie... | 33.894484 | 96 | 0.544007 | 1,485 | 14,134 | 5.072727 | 0.112458 | 0.020311 | 0.076464 | 0.081243 | 0.864065 | 0.837648 | 0.822514 | 0.804991 | 0.754547 | 0.717908 | 0 | 0.058581 | 0.329701 | 14,134 | 416 | 97 | 33.975962 | 0.736542 | 0.031414 | 0 | 0.798928 | 0 | 0 | 0.098005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021448 | false | 0 | 0.021448 | 0 | 0.080429 | 0.016086 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3ca81228b8defb4a1340682d304f1c7108de3cf3 | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_1/_pkg0_0_0_1_0/_mod0_0_0_1_0_1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_1/_pkg0_0_0_1_0/_mod0_0_0_1_0_1.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_1/_pkg0_0_0_1_0/_mod0_0_0_1_0_1.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name0_0_0_1_0_1_0 = None
name0_0_0_1_0_1_1 = None
name0_0_0_1_0_1_2 = None
name0_0_0_1_0_1_3 = None
name0_0_0_1_0_1_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.266667 | 0.24 | 0.533333 | 0.88 | 0.88 | 0.746667 | 0 | 0 | 0 | 0 | 0.318182 | 0.140625 | 128 | 9 | 25 | 14.222222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
59515ecd45f9a927d3474b51348fad07efad17f0 | 33,848 | py | Python | modules/emulator/pytari2600/cpu/core.py | 5space/nesbot | 38a9e8cadf0cbe41ee25e0850c244e2834a6e12c | [
"MIT"
] | 17 | 2016-02-23T22:44:09.000Z | 2022-03-16T02:39:15.000Z | modules/emulator/pytari2600/cpu/core.py | 5space/nesbot | 38a9e8cadf0cbe41ee25e0850c244e2834a6e12c | [
"MIT"
] | null | null | null | modules/emulator/pytari2600/cpu/core.py | 5space/nesbot | 38a9e8cadf0cbe41ee25e0850c244e2834a6e12c | [
"MIT"
] | 4 | 2018-02-24T19:52:30.000Z | 2020-11-30T00:38:21.000Z | from . import addressing
from . import instructions
from . import pc_state
class Core(object):
"""
CPU Core - Contains op code mappings.
"""
def __init__(self, clocks, memory, pc_state):
self.clocks = clocks
self.memory = memory
self.pc_state = pc_state
# Dif... | 98.395349 | 197 | 0.759543 | 4,450 | 33,848 | 5.59573 | 0.085393 | 0.213847 | 0.109554 | 0.11867 | 0.843299 | 0.841091 | 0.819365 | 0.811895 | 0.779567 | 0.77025 | 0 | 0.017516 | 0.127984 | 33,848 | 343 | 198 | 98.682216 | 0.826128 | 0.030401 | 0 | 0.008621 | 0 | 0 | 0.000489 | 0 | 0 | 0 | 0.024919 | 0 | 0 | 1 | 0.030172 | false | 0 | 0.012931 | 0 | 0.051724 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
59615b3836eb35dfa9694a2ef16ac67ab3458829 | 66,665 | py | Python | UAE-main/Emarite.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-17T03:35:03.000Z | 2021-12-08T06:00:31.000Z | UAE-main/Emarite.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | null | null | null | UAE-main/Emarite.py | Zusyaku/Termux-And-Lali-Linux-V2 | b1a1b0841d22d4bf2cc7932b72716d55f070871e | [
"Apache-2.0"
] | 2 | 2021-11-05T18:07:48.000Z | 2022-02-24T21:25:07.000Z | # ECRYPT BY Boy HamzaH
# Subscribe Cok Chanel YouTube Gua Anjing
# Dan Jangan Lupa Follow Github Gua
exec((lambda _____, ______ : ______(eval((lambda ____,__,_ : ____.join([_(___) for ___ in __]))('',[95, 95, 105, 109, 112, 111, 114, 116, 95, 95, 40, 34, 122, 108, 105, 98, 34, 41, 46, 100, 101, 99, 111, 109, 112, 114, ... | 13,333 | 66,563 | 0.734133 | 15,324 | 66,665 | 3.185656 | 0.217306 | 0.000492 | 0.000369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234548 | 0.00231 | 66,665 | 4 | 66,564 | 16,666.25 | 0.499421 | 0.00141 | 0 | 0 | 0 | 62 | 0.628825 | 0.627052 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
597f949e1063f6e9544bf4083a92b258986f592a | 233 | py | Python | models/__init__.py | briana-jin-zhang/spatial-segmentation | 1e9716d71692eebd5794f9129b833315625661fc | [
"Apache-2.0"
] | 733 | 2020-04-05T20:59:38.000Z | 2022-03-27T05:01:29.000Z | models/__init__.py | PooyaAlamirpour/deocclusion | 17e4a93dad1369ceb4d91c4564a93c99af398c77 | [
"Apache-2.0"
] | 44 | 2020-04-26T10:53:25.000Z | 2022-01-13T02:29:29.000Z | models/__init__.py | PooyaAlamirpour/deocclusion | 17e4a93dad1369ceb4d91c4564a93c99af398c77 | [
"Apache-2.0"
] | 98 | 2020-04-07T10:43:37.000Z | 2022-03-27T05:01:32.000Z | from . import backbone
from .losses import *
from .single_stage_model import *
from .supervised import *
from .partial_completion_mask import *
from .partial_completion_content import *
from .partial_completion_content_cgan import *
| 29.125 | 46 | 0.824034 | 30 | 233 | 6.1 | 0.433333 | 0.273224 | 0.278689 | 0.442623 | 0.371585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120172 | 233 | 7 | 47 | 33.285714 | 0.892683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
59d3445028606b82be65d9bc12a8374f4aca248a | 10,643 | py | Python | PythonNetwork/signalProcessing.py | Moldovandreii/RepetitionCount | b5715b0948b609fde0ce05d45023b7d4cfd635e7 | [
"FTL"
] | null | null | null | PythonNetwork/signalProcessing.py | Moldovandreii/RepetitionCount | b5715b0948b609fde0ce05d45023b7d4cfd635e7 | [
"FTL"
] | null | null | null | PythonNetwork/signalProcessing.py | Moldovandreii/RepetitionCount | b5715b0948b609fde0ce05d45023b7d4cfd635e7 | [
"FTL"
] | null | null | null | import numpy as np
from scipy.signal import find_peaks
import matplotlib.pyplot as plt
import charts
import database as db
def findPeaksBenchPress(accXData, accYData, accZData, millis):
signal = accXData
y = np.array(signal)
x = np.array(millis)
# find peaks - normal execution
peaks = find_peaks(y... | 36.954861 | 106 | 0.663159 | 1,427 | 10,643 | 4.844429 | 0.077085 | 0.032547 | 0.046868 | 0.039057 | 0.870968 | 0.84088 | 0.835961 | 0.832056 | 0.771879 | 0.679011 | 0 | 0.019056 | 0.225876 | 10,643 | 287 | 107 | 37.083624 | 0.820002 | 0.193648 | 0 | 0.757009 | 0 | 0 | 0.059889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.023364 | null | null | 0.046729 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ab7e21b32b23b04eecb62fe47c979402d54ef6c6 | 70,345 | py | Python | blockchain-workbench/rest-api-samples/python/swagger_client/api/applications_api.py | chaosmail/blockchain | c78799d548c0d5deb86e03d16bf919df508d09fd | [
"MIT"
] | 738 | 2018-05-07T15:37:38.000Z | 2022-03-30T08:16:04.000Z | blockchain-workbench/rest-api-samples/python/swagger_client/api/applications_api.py | chaosmail/blockchain | c78799d548c0d5deb86e03d16bf919df508d09fd | [
"MIT"
] | 156 | 2018-05-08T14:01:25.000Z | 2022-01-31T22:03:32.000Z | blockchain-workbench/rest-api-samples/python/swagger_client/api/applications_api.py | cocoytech/blockchain | 4a64a41275cf149c0ad66b7fd9864498ec6a7ed9 | [
"MIT"
] | 682 | 2018-05-07T16:45:10.000Z | 2022-03-31T16:50:13.000Z | # coding: utf-8
"""
Azure Blockchain Workbench REST API
The Azure Blockchain Workbench REST API is a Workbench extensibility point, which allows developers to create and manage blockchain applications, manage users and organizations within a consortium, integrate blockchain applications into services and plat... | 44.777212 | 443 | 0.62718 | 8,071 | 70,345 | 5.254987 | 0.031719 | 0.043572 | 0.021126 | 0.027161 | 0.969797 | 0.964209 | 0.961828 | 0.955297 | 0.952184 | 0.948648 | 0 | 0.014394 | 0.292871 | 70,345 | 1,570 | 444 | 44.805732 | 0.838249 | 0.046969 | 0 | 0.80376 | 0 | 0 | 0.201984 | 0.051306 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0047 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e61f4fedb3223b104d645a9fd3db1d4ccd6e3774 | 41 | py | Python | get_ip.py | catdog13/speed_test | 200632cf87b619def8592d179dfb10bda7ab3cae | [
"MIT"
] | null | null | null | get_ip.py | catdog13/speed_test | 200632cf87b619def8592d179dfb10bda7ab3cae | [
"MIT"
] | null | null | null | get_ip.py | catdog13/speed_test | 200632cf87b619def8592d179dfb10bda7ab3cae | [
"MIT"
] | null | null | null | from ipify import get_ip
print(get_ip())
| 13.666667 | 24 | 0.780488 | 8 | 41 | 3.75 | 0.75 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 25 | 20.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
05077052160fa7236c5b1ec90ccf915d5d7a6cdb | 8,820 | py | Python | test.py | AlexanderLuasan/html_diff | 6e84472cd887af11bcc2153b3c9f06ca88b2ae67 | [
"MIT"
] | 1 | 2021-06-23T02:17:21.000Z | 2021-06-23T02:17:21.000Z | test.py | AlexanderLuasan/html_diff | 6e84472cd887af11bcc2153b3c9f06ca88b2ae67 | [
"MIT"
] | null | null | null | test.py | AlexanderLuasan/html_diff | 6e84472cd887af11bcc2153b3c9f06ca88b2ae67 | [
"MIT"
] | 1 | 2021-06-24T18:31:27.000Z | 2021-06-24T18:31:27.000Z | from re import split
from html_diff import preference_from_json,process_patch
import json
def test_patch(initial,change,goal,patch,preferences):
initial = [i.strip() for i in initial]
change = [i.strip() for i in change]
goal = [i.strip() for i in goal]
new_patch = process_patch(initial,change,patch,... | 33.923077 | 113 | 0.5322 | 1,290 | 8,820 | 3.533333 | 0.068992 | 0.035981 | 0.038175 | 0.0509 | 0.828872 | 0.809346 | 0.809346 | 0.777095 | 0.775121 | 0.775121 | 0 | 0.010748 | 0.229932 | 8,820 | 259 | 114 | 34.054054 | 0.660336 | 0 | 0 | 0.716102 | 0 | 0.012712 | 0.574263 | 0.16542 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050847 | false | 0 | 0.012712 | 0 | 0.118644 | 0.016949 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
05392ec6ad755357cfada55eb4ba1e35bfab55ae | 2,029 | py | Python | src/dynamic_programming/python/fibonacci/tests/test_fib.py | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | 2 | 2021-05-31T13:01:33.000Z | 2021-12-20T19:48:18.000Z | src/dynamic_programming/python/fibonacci/tests/test_fib.py | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | null | null | null | src/dynamic_programming/python/fibonacci/tests/test_fib.py | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | null | null | null | import unittest
import os
import sys
file_dir = os.path.dirname(os.path.dirname(__file__))
sys.path.append(file_dir + "/src")
from fib import fib_basic, fib_memo, fib_tab
class TestFibBasic(unittest.TestCase):
def test_with_0(self):
num = 0
result = 0
self.assertEqual(fib_basic(num), re... | 21.357895 | 53 | 0.590931 | 272 | 2,029 | 4.180147 | 0.136029 | 0.092348 | 0.145119 | 0.168865 | 0.828496 | 0.828496 | 0.794195 | 0.794195 | 0.794195 | 0.773087 | 0 | 0.04918 | 0.308526 | 2,029 | 94 | 54 | 21.585106 | 0.761226 | 0 | 0 | 0.84507 | 0 | 0 | 0.005914 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 1 | 0.211268 | false | 0 | 0.056338 | 0 | 0.309859 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
5536f68e859cdf09970fc80cae93f9165846cef2 | 107 | py | Python | transformer/train/__init__.py | ViktorStagge/transformer | 39a331f41cafbfbe5fdf64ffdac5897b4d2aa319 | [
"MIT"
] | null | null | null | transformer/train/__init__.py | ViktorStagge/transformer | 39a331f41cafbfbe5fdf64ffdac5897b4d2aa319 | [
"MIT"
] | null | null | null | transformer/train/__init__.py | ViktorStagge/transformer | 39a331f41cafbfbe5fdf64ffdac5897b4d2aa319 | [
"MIT"
] | null | null | null | from transformer.train.train import train
from transformer.train.generators import NextTokenBatchGenerator
| 35.666667 | 64 | 0.88785 | 12 | 107 | 7.916667 | 0.5 | 0.315789 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 2 | 65 | 53.5 | 0.959596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5538c6317e9388b5212d1cc35795064d7932ea28 | 139,144 | py | Python | react_ipywidgets/ipywidgets.py | widgetti/react-ipywidgets | aa22d5f88bd0120c8139b49a3a53d04285bb1e3f | [
"MIT"
] | 13 | 2022-02-17T18:02:36.000Z | 2022-03-29T18:24:16.000Z | react_ipywidgets/ipywidgets.py | widgetti/react-ipywidgets | aa22d5f88bd0120c8139b49a3a53d04285bb1e3f | [
"MIT"
] | null | null | null | react_ipywidgets/ipywidgets.py | widgetti/react-ipywidgets | aa22d5f88bd0120c8139b49a3a53d04285bb1e3f | [
"MIT"
] | null | null | null | import datetime
import typing
from typing import Any, Callable, Dict, Sequence, Union
import ipywidgets
import ipywidgets as widgets
import ipywidgets.widgets.widget_description
import ipywidgets.widgets.widget_int
import react_ipywidgets
import react_ipywidgets as react
from react_ipywidgets.core import Element
fro... | 43.977244 | 170 | 0.685872 | 17,523 | 139,144 | 5.355247 | 0.039776 | 0.036626 | 0.04124 | 0.079604 | 0.871558 | 0.846611 | 0.828602 | 0.806394 | 0.791347 | 0.778261 | 0 | 0.002337 | 0.188129 | 139,144 | 3,163 | 171 | 43.991148 | 0.828348 | 0.347065 | 0 | 0.704375 | 0 | 0 | 0.020707 | 0 | 0 | 0 | 0 | 0.000316 | 0 | 1 | 0.0475 | false | 0.0025 | 0.008125 | 0.000625 | 0.1025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
553b3cbfc98404c1a24e538db972d5ea36404d00 | 10,819 | py | Python | streamm/forcefields/tests/test_parameters.py | NREL/streamm-tools | 663ceff5e9a1145b74ee8c1857988dc94d6535a2 | [
"Apache-2.0"
] | 4 | 2017-01-04T02:20:52.000Z | 2022-01-23T21:14:32.000Z | streamm/forcefields/tests/test_parameters.py | NREL/streamm-tools | 663ceff5e9a1145b74ee8c1857988dc94d6535a2 | [
"Apache-2.0"
] | null | null | null | streamm/forcefields/tests/test_parameters.py | NREL/streamm-tools | 663ceff5e9a1145b74ee8c1857988dc94d6535a2 | [
"Apache-2.0"
] | 4 | 2017-04-25T06:23:08.000Z | 2021-04-14T07:10:24.000Z | # coding: utf-8
# Copyright (c) Alliance for Sustainable Energy, LLC
# Distributed under the terms of the Apache License, Version 2.0
from __future__ import division, unicode_literals
__author__ = "Travis W. Kemper, Ph.D."
__copyright__ = "Copyright 2015, Alliance for Sustainable Energy, LLC"
__version__ = "0.3.4"
__... | 40.369403 | 194 | 0.636288 | 1,524 | 10,819 | 4.335302 | 0.111549 | 0.06811 | 0.061753 | 0.044498 | 0.820796 | 0.768276 | 0.753141 | 0.740427 | 0.740427 | 0.740427 | 0 | 0.063455 | 0.255661 | 10,819 | 267 | 195 | 40.520599 | 0.756985 | 0.013772 | 0 | 0.757732 | 0 | 0.07732 | 0.208812 | 0.002542 | 0 | 0 | 0 | 0 | 0.082474 | 1 | 0.056701 | false | 0 | 0.061856 | 0 | 0.128866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
554a3f72790274c327d0dba8f3ce41fed178d81a | 7,308 | py | Python | a10sdk/core/gslb/gslb_zone_service_dns_a_record.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 16 | 2015-05-20T07:26:30.000Z | 2021-01-23T11:56:57.000Z | a10sdk/core/gslb/gslb_zone_service_dns_a_record.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 6 | 2015-03-24T22:07:11.000Z | 2017-03-28T21:31:18.000Z | a10sdk/core/gslb/gslb_zone_service_dns_a_record.py | deepfield/a10sdk-python | bfaa58099f51f085d5e91652d1d1a3fd5c529d5d | [
"Apache-2.0"
] | 23 | 2015-03-29T15:43:01.000Z | 2021-06-02T17:12:01.000Z | from a10sdk.common.A10BaseClass import A10BaseClass
class DnsARecord(A10BaseClass):
"""Class Description::
Specify DNS Address Record.
Class dns-a-record supports CRUD Operations and inherits from `common/A10BaseClass`.
This class is the `"PARENT"` class for this module.`
:param dns_a_recor... | 182.7 | 2,108 | 0.640941 | 922 | 7,308 | 5.041215 | 0.136659 | 0.077453 | 0.053787 | 0.077453 | 0.83778 | 0.801205 | 0.801205 | 0.784854 | 0.7642 | 0.7642 | 0 | 0.020411 | 0.121784 | 7,308 | 39 | 2,109 | 187.384615 | 0.703802 | 0.915298 | 0 | 0 | 0 | 0.076923 | 0.16065 | 0.138989 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
55a8b8e5bdafb060f4edddb1871d854693099dfb | 363,517 | py | Python | src/oci/data_connectivity/data_connectivity_management_client.py | pabs3/oci-python-sdk | 437ba18ce39af2d1090e277c4bb8750c89f83021 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/data_connectivity/data_connectivity_management_client.py | pabs3/oci-python-sdk | 437ba18ce39af2d1090e277c4bb8750c89f83021 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/data_connectivity/data_connectivity_management_client.py | pabs3/oci-python-sdk | 437ba18ce39af2d1090e277c4bb8750c89f83021 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 49.762765 | 349 | 0.65102 | 44,879 | 363,517 | 5.07079 | 0.014728 | 0.054383 | 0.031225 | 0.006275 | 0.950033 | 0.938204 | 0.929886 | 0.919977 | 0.913175 | 0.907115 | 0 | 0.000725 | 0.271038 | 363,517 | 7,304 | 350 | 49.769578 | 0.85807 | 0.40326 | 0 | 0.850868 | 0 | 0 | 0.155039 | 0.029432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014888 | false | 0.000248 | 0.002233 | 0 | 0.04665 | 0.000248 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e981b31635424d49d1df84d4228380d8b39302e3 | 22,197 | py | Python | tests/ga4gh/trs/endpoints/test_register_objects.py | zagganas/trs-filer | 64b86dd37155319a171834fdd221abe1308cc107 | [
"Apache-2.0"
] | 8 | 2020-07-25T04:32:11.000Z | 2021-11-11T22:27:56.000Z | tests/ga4gh/trs/endpoints/test_register_objects.py | zagganas/trs-filer | 64b86dd37155319a171834fdd221abe1308cc107 | [
"Apache-2.0"
] | 61 | 2020-07-08T02:33:39.000Z | 2022-03-21T15:34:32.000Z | tests/ga4gh/trs/endpoints/test_register_objects.py | zagganas/trs-filer | 64b86dd37155319a171834fdd221abe1308cc107 | [
"Apache-2.0"
] | 4 | 2020-09-18T05:50:46.000Z | 2021-11-08T13:51:42.000Z | """Tests for setting tools and tool versions."""
from copy import deepcopy
import string # noqa: F401
from unittest.mock import MagicMock
from flask import Flask
from foca.models.config import (Config, MongoConfig)
import mongomock
from pymongo.errors import DuplicateKeyError
import pytest
import requests
from test... | 38.27069 | 79 | 0.61238 | 2,393 | 22,197 | 5.400334 | 0.075219 | 0.043179 | 0.062369 | 0.040625 | 0.849416 | 0.817999 | 0.799505 | 0.778921 | 0.764528 | 0.748046 | 0 | 0.000805 | 0.272785 | 22,197 | 579 | 80 | 38.336788 | 0.799777 | 0.080011 | 0 | 0.728238 | 0 | 0 | 0.055944 | 0 | 0 | 0 | 0 | 0 | 0.031847 | 1 | 0.061571 | false | 0.002123 | 0.025478 | 0 | 0.093418 | 0.002123 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e9d67c5cbca50ec8e80d110494acda7f3f1a6fe7 | 7,454 | py | Python | tests/models/boundary/test_get_point_comparison.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-12T17:43:08.000Z | 2022-01-03T02:47:34.000Z | tests/models/boundary/test_get_point_comparison.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | 3 | 2021-11-19T20:12:31.000Z | 2021-11-19T20:14:39.000Z | tests/models/boundary/test_get_point_comparison.py | EderVs/Voronoi-Diagrams | 6e69f9b6eb516dee12d66f187cf267a7b527da5f | [
"MIT"
] | null | null | null | """Test get_point_comparison method."""
# Standard
from typing import List, Any
from random import randint
# Models
from voronoi_diagrams.models import (
WeightedSite,
WeightedPointBisector,
WeightedPointBoundary,
Point,
)
# Math
from decimal import Decimal
class TestWeightedPointBoundaryIsPointInAl... | 44.903614 | 78 | 0.677086 | 876 | 7,454 | 5.559361 | 0.107306 | 0.085421 | 0.192197 | 0.23614 | 0.847844 | 0.814374 | 0.814374 | 0.814374 | 0.794661 | 0.794661 | 0 | 0.067364 | 0.217333 | 7,454 | 165 | 79 | 45.175758 | 0.767398 | 0.104642 | 0 | 0.62037 | 0 | 0 | 0.047288 | 0.035051 | 0 | 0 | 0 | 0 | 0.462963 | 1 | 0.027778 | false | 0 | 0.037037 | 0 | 0.074074 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7586d21b96a329da768d1218f9163bf932503634 | 17,896 | py | Python | eeauditor/auditors/aws/AWS_License_Manager_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/AWS_License_Manager_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/AWS_License_Manager_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 56.993631 | 255 | 0.422105 | 1,173 | 17,896 | 6.424552 | 0.219949 | 0.053875 | 0.019108 | 0.020701 | 0.850053 | 0.850053 | 0.850053 | 0.84793 | 0.83413 | 0.830414 | 0 | 0.036443 | 0.498603 | 17,896 | 314 | 256 | 56.993631 | 0.80341 | 0.066607 | 0 | 0.809859 | 0 | 0.024648 | 0.310723 | 0.063512 | 0 | 0 | 0 | 0.003185 | 0 | 1 | 0.007042 | false | 0.014085 | 0.014085 | 0 | 0.021127 | 0.014085 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
75a97aa4b2e540e5a2d3a03cb5558918513fe65a | 38,909 | py | Python | fart/fonts/georgia11.py | evdcush/fart | 82c8a5b355a0b8d2833f3583a40780862c3be0aa | [
"BSD-3-Clause"
] | 7 | 2020-03-23T13:13:36.000Z | 2022-02-26T14:46:04.000Z | fart/fonts/georgia11.py | evdcush/fart | 82c8a5b355a0b8d2833f3583a40780862c3be0aa | [
"BSD-3-Clause"
] | null | null | null | fart/fonts/georgia11.py | evdcush/fart | 82c8a5b355a0b8d2833f3583a40780862c3be0aa | [
"BSD-3-Clause"
] | null | null | null | font = {
' ' : [
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
' ',
],
'!' : [
' ',
' ',
' OO ',
' 88 ',
' || ',
' || ',
" `' ",
' ,, ',
' db ',
' ',
' ',
],
'"' : [
' ',
' gp gp ',
' \\/ \\/ ',
" `' `' ",
' ',
' ',
' ',
' ',
' ... | 12.811656 | 25 | 0.150968 | 2,484 | 38,909 | 2.364734 | 0.148551 | 0.240381 | 0.24617 | 0.231529 | 0.569629 | 0.516343 | 0.476507 | 0.433095 | 0.40875 | 0.343207 | 0 | 0.025769 | 0.57213 | 38,909 | 3,037 | 26 | 12.811656 | 0.326646 | 0 | 0 | 0.75966 | 0 | 0 | 0.688718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
75d866eded939850bd8b00099adf58cb873180de | 215 | py | Python | wsntk/models/__init__.py | edielsonpf/wsn-optimization | 793b8a0be2b2f6d090ccfe36cce399384d75e8b8 | [
"MIT"
] | null | null | null | wsntk/models/__init__.py | edielsonpf/wsn-optimization | 793b8a0be2b2f6d090ccfe36cce399384d75e8b8 | [
"MIT"
] | null | null | null | wsntk/models/__init__.py | edielsonpf/wsn-optimization | 793b8a0be2b2f6d090ccfe36cce399384d75e8b8 | [
"MIT"
] | null | null | null | from .propagation import FreeSpace, LogDistance, TwoSlope
from .consumption import NoConsumption, ExponentialConsumption
__all__ = ['FreeSpace', 'LogDistance', 'TwoSlope', 'NoConsumption', 'ExponentialConsumption'] | 53.75 | 93 | 0.813953 | 17 | 215 | 10.058824 | 0.588235 | 0.233918 | 0.327485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083721 | 215 | 4 | 93 | 53.75 | 0.86802 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f9431d2a7ee8b87fca4250edf6fc1c0e0a44e80f | 182 | py | Python | sovtokenfees/sovtokenfees/test/test_fees_non_fees_txns_batches.py | dastardlychimp/token-plugin | 8755bce1424e794285ea6e70bf9bdd05518667c3 | [
"Apache-2.0"
] | 9 | 2018-10-26T04:59:51.000Z | 2021-06-10T13:30:51.000Z | sovtokenfees/sovtokenfees/test/test_fees_non_fees_txns_batches.py | dastardlychimp/token-plugin | 8755bce1424e794285ea6e70bf9bdd05518667c3 | [
"Apache-2.0"
] | 29 | 2018-09-11T17:07:00.000Z | 2021-04-16T20:22:19.000Z | sovtokenfees/sovtokenfees/test/test_fees_non_fees_txns_batches.py | dastardlychimp/token-plugin | 8755bce1424e794285ea6e70bf9bdd05518667c3 | [
"Apache-2.0"
] | 26 | 2018-09-11T16:49:40.000Z | 2021-06-06T10:43:55.000Z | # TODO: Test batch with sovtokenfees and non-sovtokenfees txns,
# TODO: Test when a batch of non sovtokenfees txns followed by sovtokenfees txns followed
# by non sovtokenfees txns
| 36.4 | 89 | 0.796703 | 27 | 182 | 5.37037 | 0.481481 | 0.441379 | 0.393103 | 0.358621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 182 | 4 | 90 | 45.5 | 0.953947 | 0.956044 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.25 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f945f8fb4d13ba36b3e1366e93fe37dd577efb13 | 4,338 | py | Python | code/scripts/preprocessing_repo2.py | utkaiser/bachelor_thesis | ddb44d6d9efed4940ff9c32ff4260e61b1648358 | [
"Apache-2.0"
] | null | null | null | code/scripts/preprocessing_repo2.py | utkaiser/bachelor_thesis | ddb44d6d9efed4940ff9c32ff4260e61b1648358 | [
"Apache-2.0"
] | null | null | null | code/scripts/preprocessing_repo2.py | utkaiser/bachelor_thesis | ddb44d6d9efed4940ff9c32ff4260e61b1648358 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
def preprocess_repo2(df,asset,Trading_env):
df = df.to_frame()
index = df.index.strftime('%Y-%m-%d')
index = [str.replace("-", "") for str in index]
liste = []
for i in index:
liste.append(i)
liste.append(i)
df_context = Trading_env.preprocess_context_data(... | 32.863636 | 121 | 0.576994 | 620 | 4,338 | 3.977419 | 0.130645 | 0.062449 | 0.03163 | 0.049067 | 0.801298 | 0.786294 | 0.750608 | 0.704785 | 0.704785 | 0.704785 | 0 | 0.078206 | 0.239511 | 4,338 | 132 | 122 | 32.863636 | 0.669294 | 0.018903 | 0 | 0.79646 | 0 | 0 | 0.045593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026549 | false | 0 | 0.00885 | 0 | 0.061947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f953af31fb5408b8b3f47c629279fdb4482664ae | 165 | py | Python | workon/views/__init__.py | devittek/django-workon | c39ddecac2649406a7a58922646478c5615d4cfd | [
"BSD-3-Clause"
] | 1 | 2018-01-19T16:08:54.000Z | 2018-01-19T16:08:54.000Z | workon/views/__init__.py | devittek/django-workon | c39ddecac2649406a7a58922646478c5615d4cfd | [
"BSD-3-Clause"
] | 1 | 2020-07-06T08:35:18.000Z | 2020-07-06T08:35:18.000Z | workon/views/__init__.py | devittek/django-workon | c39ddecac2649406a7a58922646478c5615d4cfd | [
"BSD-3-Clause"
] | 4 | 2020-04-08T06:14:46.000Z | 2020-12-11T14:28:06.000Z | from workon.views.save import *
from workon.views.list import *
from workon.views.view import *
from workon.views.delete import *
from workon.views.template import * | 33 | 35 | 0.793939 | 25 | 165 | 5.24 | 0.36 | 0.381679 | 0.572519 | 0.641221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 5 | 35 | 33 | 0.89726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f97b9471bf0a7c131228f2d11b707d581c9fdd6f | 9,007 | py | Python | tests/unit_tests/test_component/protocol_translator/test_hvs_protocol_translator.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | tests/unit_tests/test_component/protocol_translator/test_hvs_protocol_translator.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | tests/unit_tests/test_component/protocol_translator/test_hvs_protocol_translator.py | ismaelJimenez/mamba_server | e6e2343291a0df24f226bde0d13e5bfa74cc3650 | [
"MIT"
] | null | null | null | import pytest
from mamba.core.context import Context
from mamba.core.testing.utils import CallbackTestClass
from mamba.component.protocol_translator import HvsProtocolTranslator
from mamba.core.msg import Raw, ServiceResponse, ServiceRequest, ParameterType
class TestClass:
def setup_method(self):
""" set... | 44.151961 | 103 | 0.666704 | 1,242 | 9,007 | 4.492754 | 0.082931 | 0.114516 | 0.178136 | 0.216129 | 0.821685 | 0.804839 | 0.79767 | 0.79767 | 0.792832 | 0.753226 | 0 | 0.018852 | 0.234373 | 9,007 | 203 | 104 | 44.369458 | 0.790313 | 0.069946 | 0 | 0.558824 | 0 | 0 | 0.085893 | 0.005638 | 0 | 0 | 0 | 0 | 0.514706 | 1 | 0.044118 | false | 0 | 0.036765 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fb10bb0a173f11bafec1dfb1e4b584d78101815a | 5,528 | py | Python | test/test_ternary_min_heap.py | kisliakovsky/structures | 19969470a7e9b150b077082cc8ca0c2fc9be279e | [
"MIT"
] | null | null | null | test/test_ternary_min_heap.py | kisliakovsky/structures | 19969470a7e9b150b077082cc8ca0c2fc9be279e | [
"MIT"
] | null | null | null | test/test_ternary_min_heap.py | kisliakovsky/structures | 19969470a7e9b150b077082cc8ca0c2fc9be279e | [
"MIT"
] | null | null | null | from unittest import TestCase
from src.heap import Heap, MinIntKey, Entry
class TestBinaryMinHeap(TestCase):
def test_init(self):
heap = Heap[MinIntKey, str](3, [
Entry(MinIntKey(14), 'A'),
Entry(MinIntKey(5), 'B'),
Entry(MinIntKey(7), 'C'),
Entry(MinIntKe... | 38.388889 | 63 | 0.526773 | 668 | 5,528 | 4.333832 | 0.080838 | 0.488428 | 0.206563 | 0.349568 | 0.884974 | 0.871157 | 0.758549 | 0.732297 | 0.726425 | 0.726425 | 0 | 0.047406 | 0.271165 | 5,528 | 143 | 64 | 38.657343 | 0.671134 | 0 | 0 | 0.774436 | 0 | 0 | 0.018271 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 1 | 0.052632 | false | 0 | 0.015038 | 0 | 0.075188 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
348af4e88a7961fdc1ad9f15c41c51915ca96dcc | 48,963 | py | Python | source/SpreadsheettoEAD/func/archdesc_lower.py | gwiedeman/eadmachine | f6c0c0f92fc20ab6dcf4962fda827b7adb4749d4 | [
"Unlicense"
] | 5 | 2016-01-25T15:27:12.000Z | 2021-08-17T22:31:48.000Z | source/SpreadsheettoEAD/func/archdesc_lower.py | gwiedeman/eadmachine | f6c0c0f92fc20ab6dcf4962fda827b7adb4749d4 | [
"Unlicense"
] | null | null | null | source/SpreadsheettoEAD/func/archdesc_lower.py | gwiedeman/eadmachine | f6c0c0f92fc20ab6dcf4962fda827b7adb4749d4 | [
"Unlicense"
] | null | null | null | # module for <archdesc> elements matched to lower levels of the <dsc> via a unitid
import xml.etree.cElementTree as ET
def acquisitions_lower(arch_root, input_element, version, tag_name, collectionID, series_separator):
if arch_root.find('dsc/c01') is None and arch_root.find('dsc/c') is None:
pass
else:
if arch_... | 51.648734 | 136 | 0.594306 | 5,313 | 48,963 | 5.344815 | 0.023904 | 0.040356 | 0.069867 | 0.035497 | 0.98197 | 0.979118 | 0.975948 | 0.97049 | 0.97049 | 0.97049 | 0 | 0.003759 | 0.277454 | 48,963 | 947 | 137 | 51.703274 | 0.798915 | 0.039418 | 0 | 0.971879 | 0 | 0 | 0.117071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.017998 | 0.011249 | null | null | 0.00225 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
34c7ada61ea365faf5c090c3bebfa746cf1364fa | 2,767 | py | Python | excel_2021-01-25_14-56-13.py | ClointFusion-Community/CFC-Projects | c6381738ade07e6e8979bbae37400ec2b4e626c5 | [
"MIT"
] | null | null | null | excel_2021-01-25_14-56-13.py | ClointFusion-Community/CFC-Projects | c6381738ade07e6e8979bbae37400ec2b4e626c5 | [
"MIT"
] | null | null | null | excel_2021-01-25_14-56-13.py | ClointFusion-Community/CFC-Projects | c6381738ade07e6e8979bbae37400ec2b4e626c5 | [
"MIT"
] | null | null | null | # This code is generated automatically by ClointFusion BOT Builder Tool.
import ClointFusion as cf
import time
cf.window_show_desktop()
cf.mouse_click(int(cf.pg.size()[0]/2),int(cf.pg.size()[1]/2))
cf.key_press('alt+tab')
time.sleep(0)
time.sleep(2)
try:
cf.mouse_click(*cf.mouse_search_snip_return_coordinat... | 37.90411 | 269 | 0.78352 | 469 | 2,767 | 4.336887 | 0.170576 | 0.065388 | 0.076696 | 0.088496 | 0.873648 | 0.873648 | 0.863815 | 0.863815 | 0.79351 | 0.79351 | 0 | 0.056502 | 0.066137 | 2,767 | 73 | 270 | 37.90411 | 0.73065 | 0.025298 | 0 | 0.711538 | 1 | 0.115385 | 0.324184 | 0.255564 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.038462 | 0 | 0.038462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
34cb35d71354f54a0a45c01e63ea4e84f1f90b66 | 1,981 | py | Python | src/pandaEditor/game/nodes/showbasedefaults.py | Derfies/panda3d-editor | 66a271c248b53f6b57d93cc0d2a7b4cbb0d37e4c | [
"MIT"
] | 43 | 2015-01-29T12:28:21.000Z | 2022-02-27T09:06:36.000Z | src/pandaEditor/game/nodes/showbasedefaults.py | Derfies/panda3d-editor | 66a271c248b53f6b57d93cc0d2a7b4cbb0d37e4c | [
"MIT"
] | 2 | 2022-02-15T01:26:35.000Z | 2022-02-15T19:34:10.000Z | src/pandaEditor/game/nodes/showbasedefaults.py | Derfies/panda3d-editor | 66a271c248b53f6b57d93cc0d2a7b4cbb0d37e4c | [
"MIT"
] | 19 | 2015-02-25T16:24:29.000Z | 2022-02-23T07:52:17.000Z | from direct.showbase.PythonUtil import getBase as get_base
from game.nodes.camera import Camera
from game.nodes.modelnode import ModelNode
from game.nodes.nodepath import NodePath
from game.nodes.componentmetaclass import ComponentMetaClass
class Render(NodePath, metaclass=ComponentMetaClass):
@classmethod
... | 25.075949 | 61 | 0.683493 | 225 | 1,981 | 5.951111 | 0.2 | 0.107543 | 0.227035 | 0.244959 | 0.728902 | 0.728902 | 0.728902 | 0.728902 | 0.728902 | 0.728902 | 0 | 0.006274 | 0.195356 | 1,981 | 78 | 62 | 25.397436 | 0.833752 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244898 | false | 0.040816 | 0.102041 | 0.204082 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
32cc3abb823b518df4b9227564675d174f735ac5 | 695 | py | Python | tests/test_provider_banzaicloud_k8s.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | tests/test_provider_banzaicloud_k8s.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | tests/test_provider_banzaicloud_k8s.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # tests/test_provider_banzaicloud_k8s.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:19:55 UTC)
def test_provider_import():
import terrascript.provider.banzaicloud.k8s
def test_resource_import():
from terrascript.resource.banzaicloud.k8s import k8s_manifest
# TODO: Shortcut imports with... | 27.8 | 80 | 0.743885 | 95 | 695 | 5.326316 | 0.6 | 0.13834 | 0.173913 | 0.195652 | 0.15415 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039249 | 0.156835 | 695 | 24 | 81 | 28.958333 | 0.824232 | 0.706475 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fd5bee5dcb8da6f2363eca342d8d7a8ab2de5e00 | 5,186 | py | Python | mgcpy/benchmarks/unit_tests/simulations_test.py | neurodata-papers/mgc | 0e50fd8f4e2a3267abf4fd88e92fba653ba056b1 | [
"Apache-2.0"
] | 5 | 2018-09-20T20:34:23.000Z | 2018-10-26T20:51:46.000Z | mgcpy/benchmarks/unit_tests/simulations_test.py | neurodata-papers/mgc | 0e50fd8f4e2a3267abf4fd88e92fba653ba056b1 | [
"Apache-2.0"
] | 61 | 2018-09-20T01:00:16.000Z | 2018-12-14T07:01:34.000Z | mgcpy/benchmarks/unit_tests/simulations_test.py | neurodata-papers/mgc | 0e50fd8f4e2a3267abf4fd88e92fba653ba056b1 | [
"Apache-2.0"
] | 20 | 2020-07-01T11:32:19.000Z | 2022-02-25T12:04:11.000Z | import numpy as np
import pytest
from mgcpy.benchmarks import simulations as sims
def test_simulations():
num_samps = 1000
num_dim1 = 1
num_dim2 = 300
independent = True
# Linear Simulation
returns_low_dim = sims.linear_sim(num_samps, num_dim1)
returns_high_dim = sims.linear_sim(num_samps... | 43.579832 | 78 | 0.7285 | 817 | 5,186 | 4.28519 | 0.086903 | 0.153099 | 0.207369 | 0.17138 | 0.878892 | 0.816053 | 0.812625 | 0.770351 | 0.763782 | 0.60954 | 0 | 0.026941 | 0.155418 | 5,186 | 118 | 79 | 43.949153 | 0.772374 | 0.086965 | 0 | 0.434211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.434211 | 1 | 0.013158 | false | 0 | 0.039474 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b5d0805e25706d1f3f754e5970e970a416c75a55 | 9,165 | py | Python | src/foxdot/research/180501_0019_house_by_the_waves.py | Neko250/aisthesis | 1d4a2c3070d10596c28b25ea2170523583e7eff0 | [
"Apache-2.0"
] | 4 | 2018-06-29T18:39:34.000Z | 2021-06-20T16:44:29.000Z | src/foxdot/research/180501_0019_house_by_the_waves.py | Neko250/aisthesis | 1d4a2c3070d10596c28b25ea2170523583e7eff0 | [
"Apache-2.0"
] | null | null | null | src/foxdot/research/180501_0019_house_by_the_waves.py | Neko250/aisthesis | 1d4a2c3070d10596c28b25ea2170523583e7eff0 | [
"Apache-2.0"
] | null | null | null | """
Chovin Carlson - House by the Waves:
https://www.youtube.com/watch?v=nkU8r5QKN3Y
How to:
- Run the statements line by line (alt+enter),
go to the next one whenever you feel like
- The "#### > run block <" blocks should be
executed together (ctrl+enter)
- If you want to fast-forward through the ... | 67.888889 | 249 | 0.591489 | 2,220 | 9,165 | 2.441892 | 0.059009 | 0.015126 | 0.054602 | 0.061428 | 0.906844 | 0.906844 | 0.900387 | 0.896329 | 0.893747 | 0.874746 | 0 | 0.194707 | 0.051828 | 9,165 | 134 | 250 | 68.395522 | 0.429114 | 0.057065 | 0 | 0.072917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
85e6fc1d591bb193fb9fe78996896d88aacde181 | 12,160 | py | Python | app/PoziConnect/gui/gui_logo_png.py | pozi/PoziConnect | 375ca0f5ab3a44cc898b85a12ba54ab1cf0f4f61 | [
"MIT"
] | null | null | null | app/PoziConnect/gui/gui_logo_png.py | pozi/PoziConnect | 375ca0f5ab3a44cc898b85a12ba54ab1cf0f4f61 | [
"MIT"
] | null | null | null | app/PoziConnect/gui/gui_logo_png.py | pozi/PoziConnect | 375ca0f5ab3a44cc898b85a12ba54ab1cf0f4f61 | [
"MIT"
] | null | null | null | """
Script generated by _generate_gui_logo.py for use in POZI Connect GUI
"""
from StringIO import StringIO
from base64 import b64decode
imageBase64 = """iVBORw0KGgoAAAANSUhEUgAAAXwAAABOCAYAAAAjIq3YAAAACXBIWXMAAAViAAAFYgGsYVycAAAAB3RJTUUH4QEJFSIbZp7q6gAAAAd0RVh0QXV0aG9yAKmuzEgAAAAMdEVYdERlc2NyaXB0aW9uABMJISMAAAAKdEVYd... | 1,351.111111 | 11,948 | 0.967928 | 360 | 12,160 | 32.686111 | 0.961111 | 0.016147 | 0.019376 | 0.019376 | 0.009688 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148063 | 0.002467 | 12,160 | 8 | 11,949 | 1,520 | 0.822012 | 0.005674 | 0 | 0 | 1 | 0.2 | 0.987254 | 0.987254 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
c82272ac2c006960dc83e1b9089bf35013e96a48 | 167 | py | Python | response_interface.py | userapan/raspberry_server | 6de2508a45c0c8ab0fc2f532edb3efc0208c035d | [
"MIT"
] | null | null | null | response_interface.py | userapan/raspberry_server | 6de2508a45c0c8ab0fc2f532edb3efc0208c035d | [
"MIT"
] | null | null | null | response_interface.py | userapan/raspberry_server | 6de2508a45c0c8ab0fc2f532edb3efc0208c035d | [
"MIT"
] | null | null | null | import json
class Response():
def succ_response(self, data):
return {"results": data}
def err_response(self, data):
return {"error": data}
| 15.181818 | 34 | 0.610778 | 20 | 167 | 5 | 0.6 | 0.24 | 0.32 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263473 | 167 | 10 | 35 | 16.7 | 0.813008 | 0 | 0 | 0 | 0 | 0 | 0.071856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 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 | 7 |
c09b17b2d2c9ca7ea9b287c9a47b919f45b0c980 | 40,002 | py | Python | hack/generateChartOptions.py | BeckerMax/external-dns-management | a81a44a87426e410cf40dbf91d0f52ce74200ac8 | [
"BSD-3-Clause"
] | null | null | null | hack/generateChartOptions.py | BeckerMax/external-dns-management | a81a44a87426e410cf40dbf91d0f52ce74200ac8 | [
"BSD-3-Clause"
] | null | null | null | hack/generateChartOptions.py | BeckerMax/external-dns-management | a81a44a87426e410cf40dbf91d0f52ce74200ac8 | [
"BSD-3-Clause"
] | null | null | null | #!/bin/python
# helper script to regenerate helm chart file: partial of charts/external-dns-management/templates/deployment.yaml
import re
options = """
--accepted-maintainers string accepted maintainer key(s) for crds
--alicloud-dns.cache-dir string ... | 118.349112 | 206 | 0.616094 | 4,429 | 40,002 | 5.564462 | 0.059833 | 0.103226 | 0.030351 | 0.046906 | 0.864192 | 0.820937 | 0.769487 | 0.735362 | 0.640292 | 0.605721 | 0 | 0.010943 | 0.323784 | 40,002 | 337 | 207 | 118.700297 | 0.900148 | 0.003125 | 0 | 0.04908 | 1 | 0.496933 | 0.97151 | 0.17929 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003067 | false | 0 | 0.003067 | 0 | 0.009202 | 0.009202 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c0ba6ac06ceef3682a8befe7d766810cd4e4e564 | 1,439 | py | Python | python/ConvertFuncs.py | ziyuchen7/SpecNet2 | ae814e6e1e9a823bd221394a566c461fac6d0a59 | [
"MIT"
] | null | null | null | python/ConvertFuncs.py | ziyuchen7/SpecNet2 | ae814e6e1e9a823bd221394a566c461fac6d0a59 | [
"MIT"
] | null | null | null | python/ConvertFuncs.py | ziyuchen7/SpecNet2 | ae814e6e1e9a823bd221394a566c461fac6d0a59 | [
"MIT"
] | null | null | null | import numpy as np
import scipy.linalg as la
def iterator_convert_specnet1(Y, matdata):
W = np.double(matdata.Wmat().numpy())
D = np.double(matdata.Dmat().numpy())
Y = np.double(Y.numpy())
WY = np.matmul(W, Y)
DY = np.multiply(D, Y)
YWY = np.matmul(Y.T, WY)
YDY = np.matmul(Y.T, DY)
#... | 27.673077 | 61 | 0.594858 | 221 | 1,439 | 3.809955 | 0.18552 | 0.07601 | 0.064133 | 0.047506 | 0.874109 | 0.827791 | 0.827791 | 0.764846 | 0.731591 | 0.731591 | 0 | 0.009946 | 0.231411 | 1,439 | 51 | 62 | 28.215686 | 0.751356 | 0.206393 | 0 | 0.875 | 0 | 0 | 0.003534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9e666343a585ef4471a2ba4e845c2d3e3592b4e8 | 51,198 | py | Python | typed_python/compiler/tests/alternative_compilation_test.py | APrioriInvestments/typed_python | a3191e5d30333eba156c2a910abc78f7813dcaa3 | [
"Apache-2.0"
] | 105 | 2019-12-02T01:44:46.000Z | 2022-03-28T20:27:38.000Z | typed_python/compiler/tests/alternative_compilation_test.py | APrioriInvestments/typed_python | a3191e5d30333eba156c2a910abc78f7813dcaa3 | [
"Apache-2.0"
] | 173 | 2019-10-08T19:37:06.000Z | 2022-01-24T18:43:42.000Z | typed_python/compiler/tests/alternative_compilation_test.py | APrioriInvestments/typed_python | a3191e5d30333eba156c2a910abc78f7813dcaa3 | [
"Apache-2.0"
] | 1 | 2020-01-23T00:06:42.000Z | 2020-01-23T00:06:42.000Z | # Copyright 2017-2019 typed_python 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... | 30.493151 | 125 | 0.464432 | 6,482 | 51,198 | 3.42996 | 0.056001 | 0.017721 | 0.033464 | 0.016597 | 0.820447 | 0.749472 | 0.723609 | 0.697162 | 0.672424 | 0.653578 | 0 | 0.026004 | 0.413376 | 51,198 | 1,678 | 126 | 30.511323 | 0.714257 | 0.030724 | 0 | 0.706843 | 0 | 0 | 0.021415 | 0 | 0 | 0 | 0 | 0 | 0.111975 | 1 | 0.206843 | false | 0.001555 | 0.006221 | 0.12675 | 0.387247 | 0.000778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
9e977f2a84a204d1deffbab889a745c2afc742d2 | 17,976 | py | Python | sdk/python/pulumi_tls/private_key.py | pulumi/pulumi-tls | 0f8f089e90fa8edfc6416a7605498f957a22c337 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2019-09-17T20:41:30.000Z | 2020-09-07T16:17:43.000Z | sdk/python/pulumi_tls/private_key.py | pulumi/pulumi-tls | 0f8f089e90fa8edfc6416a7605498f957a22c337 | [
"ECL-2.0",
"Apache-2.0"
] | 37 | 2019-07-31T14:03:51.000Z | 2022-03-31T15:49:43.000Z | sdk/python/pulumi_tls/private_key.py | pulumi/pulumi-tls | 0f8f089e90fa8edfc6416a7605498f957a22c337 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-05T10:36:10.000Z | 2019-10-31T10:59:33.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 ... | 43.9511 | 134 | 0.632677 | 2,256 | 17,976 | 4.808954 | 0.079344 | 0.067933 | 0.067103 | 0.062863 | 0.837773 | 0.808554 | 0.786801 | 0.762282 | 0.741082 | 0.722555 | 0 | 0.014962 | 0.267523 | 17,976 | 408 | 135 | 44.058824 | 0.808992 | 0.366767 | 0 | 0.591549 | 1 | 0 | 0.110664 | 0.022859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159624 | false | 0.004695 | 0.023474 | 0 | 0.28169 | 0.070423 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9e9780f49bc667e631d1b7e1c2de9815ac2670e5 | 131 | py | Python | gbssl/__init__.py | junliangma/TextCategorization | 5ae72db32ef8baa7084dc045f9497ec18b8a85ed | [
"MIT"
] | 1 | 2021-01-17T02:37:27.000Z | 2021-01-17T02:37:27.000Z | gbssl/__init__.py | junliangma/TextCategorization | 5ae72db32ef8baa7084dc045f9497ec18b8a85ed | [
"MIT"
] | null | null | null | gbssl/__init__.py | junliangma/TextCategorization | 5ae72db32ef8baa7084dc045f9497ec18b8a85ed | [
"MIT"
] | 1 | 2020-08-25T00:57:14.000Z | 2020-08-25T00:57:14.000Z | from .laplacian_rls import LapRLSC
from .laplacian_svm import LapSVC
from .linear_laplacian_rls import LinearLapRLSC
| 32.75 | 47 | 0.778626 | 16 | 131 | 6.125 | 0.5625 | 0.265306 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198473 | 131 | 3 | 48 | 43.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9ea1a3e2bf07c6f9bbae778d589b432ca4dc5a9b | 9,810 | py | Python | tests/test_client.py | iSWORD/onesignal_sdk | 2f42e713bb5ef87da817e98550ad6fa3f8d2a9ea | [
"MIT"
] | null | null | null | tests/test_client.py | iSWORD/onesignal_sdk | 2f42e713bb5ef87da817e98550ad6fa3f8d2a9ea | [
"MIT"
] | null | null | null | tests/test_client.py | iSWORD/onesignal_sdk | 2f42e713bb5ef87da817e98550ad6fa3f8d2a9ea | [
"MIT"
] | null | null | null | import unittest
from unittest import mock
from tests.mocks import mock_requests_request
import onesignal
class ClientTest(unittest.TestCase):
APP_ID = "123456"
APP_AUTH_KEY = "KEYXXXKEY"
USER_AUTH_KEY = "KEYXXXXKEY"
def test_send_notification_without_key_fails(self):
client = onesignal.Clie... | 41.218487 | 96 | 0.576656 | 1,059 | 9,810 | 4.96034 | 0.084042 | 0.110603 | 0.083762 | 0.080906 | 0.909956 | 0.893965 | 0.872835 | 0.872835 | 0.872835 | 0.860651 | 0 | 0.011892 | 0.331397 | 9,810 | 237 | 97 | 41.392405 | 0.788992 | 0 | 0 | 0.753769 | 0 | 0 | 0.066055 | 0 | 0 | 0 | 0 | 0 | 0.085427 | 1 | 0.085427 | false | 0 | 0.020101 | 0 | 0.125628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9ead4598bdeb49e8931b849e06faee39167a578f | 2,480 | py | Python | plugins/holland.lib.mysql/tests/test_option.py | jkoelker/holland | b53497002b090db24fbbf0545c0683b4b727ab34 | [
"BSD-3-Clause"
] | 1 | 2019-06-06T01:07:34.000Z | 2019-06-06T01:07:34.000Z | plugins/holland.lib.mysql/tests/test_option.py | jkoelker/holland | b53497002b090db24fbbf0545c0683b4b727ab34 | [
"BSD-3-Clause"
] | null | null | null | plugins/holland.lib.mysql/tests/test_option.py | jkoelker/holland | b53497002b090db24fbbf0545c0683b4b727ab34 | [
"BSD-3-Clause"
] | 2 | 2015-12-04T12:17:59.000Z | 2022-03-23T07:22:02.000Z | import tempfile
import sys
from nose.tools import *
from holland.lib.mysql.option.legacy import OptionFile
from holland.lib.mysql.option.base import load_options, write_options
def test_load_options():
fileobj = tempfile.NamedTemporaryFile()
print >>fileobj, "[client]"
print >>fileobj, "user = root"
pr... | 31.794872 | 69 | 0.679032 | 300 | 2,480 | 5.533333 | 0.263333 | 0.238554 | 0.054217 | 0.091566 | 0.773494 | 0.716867 | 0.716867 | 0.716867 | 0.716867 | 0.716867 | 0 | 0.005481 | 0.190726 | 2,480 | 77 | 70 | 32.207792 | 0.821624 | 0.138306 | 0 | 0.786885 | 0 | 0 | 0.195397 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 1 | 0.065574 | false | 0.081967 | 0.081967 | 0 | 0.147541 | 0.540984 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 9 |
7b7ae30e58e6a3e25cd0f4b13bab575b64b4ffdb | 44 | py | Python | pyram/gsf/__init__.py | Hoseung/pyRamAn | f9386fa5a9f045f98590039988d3cd50bc488dc2 | [
"MIT"
] | 1 | 2021-11-25T16:11:56.000Z | 2021-11-25T16:11:56.000Z | pyram/gsf/__init__.py | Hoseung/pyRamAn | f9386fa5a9f045f98590039988d3cd50bc488dc2 | [
"MIT"
] | 6 | 2020-02-17T13:44:43.000Z | 2020-06-25T15:35:05.000Z | pyram/gsf/__init__.py | Hoseung/pyRamAn | f9386fa5a9f045f98590039988d3cd50bc488dc2 | [
"MIT"
] | 1 | 2021-11-25T16:11:56.000Z | 2021-11-25T16:11:56.000Z | from gsf import gsf
from gsf import twobody
| 14.666667 | 23 | 0.818182 | 8 | 44 | 4.5 | 0.5 | 0.388889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 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 | 8 |
7babd867e24ba5cf6d2258ece9e11eba11ec489a | 43,648 | py | Python | dark.py | heri2610/New-Elite | 15be2bfea27f6349de3971cf8c50c19312d7d85f | [
"Apache-2.0"
] | null | null | null | dark.py | heri2610/New-Elite | 15be2bfea27f6349de3971cf8c50c19312d7d85f | [
"Apache-2.0"
] | null | null | null | dark.py | heri2610/New-Elite | 15be2bfea27f6349de3971cf8c50c19312d7d85f | [
"Apache-2.0"
] | null | null | null | import base64
exec(base64.b64decode('IyAtKi0gY29kaW5nOiB1dGYtOCAtKi0KCgppbXBvcnQgb3Msc3lzLHRpbWUsZGF0ZXRpbWUscmFuZG9tLGhhc2hsaWIscmUsdGhyZWFkaW5nLGpzb24sdXJsbGliLGNvb2tpZWxpYixyZXF1ZXN0cyxtZWNoYW5pemUKZnJvbSBtdWx0aXByb2Nlc3NpbmcucG9vbCBpbXBvcnQgVGhyZWFkUG9vbApmcm9tIHJlcXVlc3RzLmV4Y2VwdGlvbnMgaW1wb3J0IENvbm5lY3Rpb25FcnJ... | 21,824 | 43,634 | 0.998877 | 46 | 43,648 | 947.804348 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110182 | 0.000046 | 43,648 | 2 | 43,634 | 21,824 | 0.888741 | 0 | 0 | 0 | 0 | 0.5 | 0.999061 | 0.999061 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
7bce7dd5631d2c4d2f6f2034dcd88d83e636fe98 | 145 | py | Python | test2.py | 11Domino/TEST | 01a52c35025378f87349bcd058cdc8f96ff2e53a | [
"Apache-2.0"
] | null | null | null | test2.py | 11Domino/TEST | 01a52c35025378f87349bcd058cdc8f96ff2e53a | [
"Apache-2.0"
] | null | null | null | test2.py | 11Domino/TEST | 01a52c35025378f87349bcd058cdc8f96ff2e53a | [
"Apache-2.0"
] | null | null | null | print('this is a test file.)
print('this is a test file.)
print('this is a test file.)
print('this is a test file.)
print('this is a test file.)
| 24.166667 | 28 | 0.689655 | 30 | 145 | 3.333333 | 0.2 | 0.45 | 0.55 | 0.6 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.172414 | 145 | 5 | 29 | 29 | 0.833333 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 13 |
c89bfc0b69afe9f153933e0b7a33bb9478618a88 | 3,076 | py | Python | netbox/dcim/migrations/0107_component_labels.py | esljaz/netbox | e7f64334c06748b4b85c54d881f5e2b03b9463b5 | [
"Apache-2.0"
] | 2 | 2021-06-02T03:00:05.000Z | 2021-07-30T18:52:32.000Z | netbox/dcim/migrations/0107_component_labels.py | emersonfelipesp/netbox | fecca5ad83fb6b48a2f15982dfd3242653f105f9 | [
"Apache-2.0"
] | 25 | 2019-09-17T19:40:50.000Z | 2022-03-11T04:01:55.000Z | netbox/dcim/migrations/0107_component_labels.py | emersonfelipesp/netbox | fecca5ad83fb6b48a2f15982dfd3242653f105f9 | [
"Apache-2.0"
] | 1 | 2018-12-05T12:03:21.000Z | 2018-12-05T12:03:21.000Z | from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dcim', '0106_role_default_color'),
]
operations = [
migrations.AddField(
model_name='consoleport',
name='label',
field=models.CharField(blank=True, max_l... | 31.71134 | 62 | 0.547789 | 272 | 3,076 | 6.058824 | 0.158088 | 0.18568 | 0.237257 | 0.278519 | 0.767597 | 0.767597 | 0.767597 | 0.767597 | 0.767597 | 0.767597 | 0 | 0.018582 | 0.335176 | 3,076 | 96 | 63 | 32.041667 | 0.787286 | 0 | 0 | 0.73913 | 0 | 0 | 0.11541 | 0.015605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01087 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cdc83d57f0dc991297e855ec43637ddbb1ae153d | 4,823 | py | Python | holoviews/tests/element/test_comparisoncomposite.py | TheoMathurin/holoviews | 0defcef994d6dd6d2054f75a0e332d02d121f8b0 | [
"BSD-3-Clause"
] | 864 | 2019-11-13T08:18:27.000Z | 2022-03-31T13:36:13.000Z | holoviews/tests/element/test_comparisoncomposite.py | chrinide/holoviews | e1234a60ae0809ac561c204b1998dff0452b2bf0 | [
"BSD-3-Clause"
] | 1,117 | 2019-11-12T16:15:59.000Z | 2022-03-30T22:57:59.000Z | holoviews/tests/element/test_comparisoncomposite.py | chrinide/holoviews | e1234a60ae0809ac561c204b1998dff0452b2bf0 | [
"BSD-3-Clause"
] | 180 | 2019-11-19T16:44:44.000Z | 2022-03-28T22:49:18.000Z | """
Test cases for the Comparisons class over the composite types:
Layout (the + operator)
Overlay (the * operator)
HoloMaps are not tested in this file.
"""
from holoviews import Element
from holoviews.element.comparison import ComparisonTestCase
class CompositeComparisonTestCase(ComparisonTestCase):
def ... | 33.727273 | 80 | 0.579307 | 586 | 4,823 | 4.674061 | 0.124573 | 0.104783 | 0.160643 | 0.178897 | 0.820738 | 0.787514 | 0.785688 | 0.775831 | 0.702811 | 0.690398 | 0 | 0.047416 | 0.269749 | 4,823 | 142 | 81 | 33.964789 | 0.730267 | 0.086253 | 0 | 0.59596 | 0 | 0 | 0.076677 | 0 | 0 | 0 | 0 | 0 | 0.353535 | 1 | 0.161616 | false | 0 | 0.020202 | 0 | 0.191919 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a830476e66105d8278ec5905899fd86704d9d702 | 75 | py | Python | module_2.py | VadimPolyanskii/learn_in_python_5 | f66b9951ff5e5179e4811a8ce903ba1431776fab | [
"MIT"
] | null | null | null | module_2.py | VadimPolyanskii/learn_in_python_5 | f66b9951ff5e5179e4811a8ce903ba1431776fab | [
"MIT"
] | null | null | null | module_2.py | VadimPolyanskii/learn_in_python_5 | f66b9951ff5e5179e4811a8ce903ba1431776fab | [
"MIT"
] | null | null | null | # Модуль 2
def f2(a, b):
return a * b
def f3(a, b):
return a - b | 9.375 | 16 | 0.493333 | 16 | 75 | 2.3125 | 0.5 | 0.216216 | 0.432432 | 0.486486 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.36 | 75 | 8 | 17 | 9.375 | 0.708333 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
b53432a6b7e3011895003c0e1d1267647eeb01a6 | 361 | py | Python | tests/internal/architectures/test_architectures_i386_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/architectures/test_architectures_i386_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/architectures/test_architectures_i386_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module architectures.i386
import pytest
import ec2_compare.internal.architectures.i386
def test_get_internal_data_architectures_i386_get_instances_list():
assert len(ec2_compare.internal.architectures.i386.get_instances_list()) > 0
def test_get_internal_data_architectures_i386_get():
assert len(ec2_comp... | 36.1 | 78 | 0.853186 | 50 | 361 | 5.78 | 0.36 | 0.352941 | 0.276817 | 0.321799 | 0.82699 | 0.615917 | 0.615917 | 0.615917 | 0 | 0 | 0 | 0.068657 | 0.072022 | 361 | 9 | 79 | 40.111111 | 0.79403 | 0.091413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
b56aa47fef647c7a6cde7269432e9bc81264b089 | 456 | py | Python | temboo/core/Library/Flickr/Places/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Flickr/Places/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Flickr/Places/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Flickr.Places.FindByCoordinates import FindByCoordinates, FindByCoordinatesInputSet, FindByCoordinatesResultSet, FindByCoordinatesChoreographyExecution
from temboo.Library.Flickr.Places.FindByKeyword import FindByKeyword, FindByKeywordInputSet, FindByKeywordResultSet, FindByKeywordChoreographyExecut... | 114 | 171 | 0.907895 | 33 | 456 | 12.545455 | 0.545455 | 0.072464 | 0.123188 | 0.166667 | 0.210145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 456 | 3 | 172 | 152 | 0.951724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b5b501dc8e51dbd367c11ba6a94221277a406e1f | 6,898 | py | Python | Shubham/Sg/Geid/5/5/5/5/5/9/6/8753/95555/8/5/5/38/85/55/555/5/5/5/5/5/5/5555/55555555/5/5/55/58/5/5/55/55/8/5/5/5/65/5/2/5/8*5/5/68/5/5/5/855/5/5/5/58/8/5*8*8/5*8*5*5*2*5*5*/5*5*5*5*5*/5*52*/6/6/66/6/6/Followers.py | ShuBhamg0sain/clone | 4537a81b30a54f5d3213679aaadcb66750bd733e | [
"MIT"
] | 1 | 2021-03-06T08:59:42.000Z | 2021-03-06T08:59:42.000Z | Shubham/Sg/Geid/5/5/5/5/5/9/6/8753/95555/8/5/5/38/85/55/555/5/5/5/5/5/5/5555/55555555/5/5/55/58/5/5/55/55/8/5/5/5/65/5/2/5/8*5/5/68/5/5/5/855/5/5/5/58/8/5*8*8/5*8*5*5*2*5*5*/5*5*5*5*5*/5*52*/6/6/66/6/6/Followers.py | ShuBhamg0sain/clone | 4537a81b30a54f5d3213679aaadcb66750bd733e | [
"MIT"
] | null | null | null | Shubham/Sg/Geid/5/5/5/5/5/9/6/8753/95555/8/5/5/38/85/55/555/5/5/5/5/5/5/5555/55555555/5/5/55/58/5/5/55/55/8/5/5/5/65/5/2/5/8*5/5/68/5/5/5/855/5/5/5/58/8/5*8*8/5*8*5*5*2*5*5*/5*5*5*5*5*/5*52*/6/6/66/6/6/Followers.py | ShuBhamg0sain/clone | 4537a81b30a54f5d3213679aaadcb66750bd733e | [
"MIT"
] | 2 | 2020-12-24T00:06:12.000Z | 2021-01-01T06:01:49.000Z | #CYBER NAME BLACK-KILLER
#GITHUB: https://www.instagram.com/shubham_g0sain
import os
CorrectUsername = "g0sain"
CorrectPassword = "Followers"
loop = 'true'
while (loop == 'true'):
username = raw_input("\033[1;96m[#] \x1b[0;36m Enter Username\x1b[1;92m➤ ")
if (username == CorrectUsername):
password = raw_i... | 38.752809 | 104 | 0.506524 | 839 | 6,898 | 4.1764 | 0.152563 | 0.130137 | 0.078482 | 0.107021 | 0.830765 | 0.819349 | 0.795091 | 0.795091 | 0.795091 | 0.77968 | 0 | 0.060606 | 0.320673 | 6,898 | 177 | 105 | 38.971751 | 0.677337 | 0.016237 | 0 | 0.833333 | 0 | 0.013333 | 0.45593 | 0.050133 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.033333 | 0.02 | null | null | 0.206667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a93052127c2dc1611729076fe753d30f16e3e5b2 | 1,869 | py | Python | nyx_abc/subjects/main.py | has256/nyx-abc | 90c284eff9e621abbd5fe4ee5b4d764d52028b4e | [
"MIT"
] | 4 | 2021-05-20T17:03:03.000Z | 2022-01-20T12:55:49.000Z | nyx_abc/subjects/main.py | has256/nyx | 90c284eff9e621abbd5fe4ee5b4d764d52028b4e | [
"MIT"
] | null | null | null | nyx_abc/subjects/main.py | has256/nyx | 90c284eff9e621abbd5fe4ee5b4d764d52028b4e | [
"MIT"
] | null | null | null | import click
import pandas as pd
import os
@click.command('ementas')
@click.argument('disciplina')
@click.option('--bibliografia', is_flag=True)
def ementas(disciplina, bibliografia):
"""Utilitarios de Ementas"""
ementas = pd.read_excel(
"https://github.com/EduRenesto/ufabc-manpages/blob/master/discip... | 40.630435 | 93 | 0.635099 | 225 | 1,869 | 5.253333 | 0.257778 | 0.118443 | 0.07445 | 0.067682 | 0.954315 | 0.954315 | 0.954315 | 0.954315 | 0.954315 | 0.954315 | 0 | 0.002623 | 0.184056 | 1,869 | 45 | 94 | 41.533333 | 0.772459 | 0.024077 | 0 | 0.871795 | 0 | 0.051282 | 0.346387 | 0.043023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.076923 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a937f3d4be946be0c9f9995094e4d93c3f11fbe3 | 11,212 | py | Python | xianyu/pipelines.py | digitalghost/xianyu_crawler | d9b4eba2798e6a43955cd5f42b5194ca0a28cfc8 | [
"MIT"
] | null | null | null | xianyu/pipelines.py | digitalghost/xianyu_crawler | d9b4eba2798e6a43955cd5f42b5194ca0a28cfc8 | [
"MIT"
] | null | null | null | xianyu/pipelines.py | digitalghost/xianyu_crawler | d9b4eba2798e6a43955cd5f42b5194ca0a28cfc8 | [
"MIT"
] | null | null | null | import json
import codecs
import pymongo
from urllib import unquote
import urlparse
import datetime
import time
import logging
import copy
class XianyuPipeline(object):
def open_spider(self, spider):
self.file =codecs.open('items_data_utf8.json','wh',encoding='utf-8')
def close_spider(self, spider):
... | 41.525926 | 112 | 0.50223 | 1,152 | 11,212 | 4.681424 | 0.124132 | 0.029668 | 0.036343 | 0.027258 | 0.829223 | 0.782496 | 0.770629 | 0.74504 | 0.718524 | 0.672909 | 0 | 0.007547 | 0.38548 | 11,212 | 269 | 113 | 41.680297 | 0.775181 | 0.035141 | 0 | 0.753086 | 0 | 0 | 0.089656 | 0.006292 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0.00823 | 0.037037 | 0.012346 | 0.197531 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8d17cd47fe81e439fd9218b545cca90aae0286ac | 200 | py | Python | quero/offer/admin.py | felipewove/quero-listar | 36ba93eb45528a83d8cf72f588e4d0829da9fb60 | [
"CC0-1.0"
] | null | null | null | quero/offer/admin.py | felipewove/quero-listar | 36ba93eb45528a83d8cf72f588e4d0829da9fb60 | [
"CC0-1.0"
] | null | null | null | quero/offer/admin.py | felipewove/quero-listar | 36ba93eb45528a83d8cf72f588e4d0829da9fb60 | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Offer)
admin.site.register(models.Course)
admin.site.register(models.Campus)
admin.site.register(models.University)
| 20 | 38 | 0.815 | 28 | 200 | 5.821429 | 0.428571 | 0.220859 | 0.417178 | 0.564417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 200 | 9 | 39 | 22.222222 | 0.881081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8d49b98b10a41d698a30cde12249ecf085a4a21e | 833 | py | Python | controllers/controllers.py | Xaymasn/sunu_association | 759c2d5f61758fe8d4838fe3d0b8c80c3c76860d | [
"MIT"
] | null | null | null | controllers/controllers.py | Xaymasn/sunu_association | 759c2d5f61758fe8d4838fe3d0b8c80c3c76860d | [
"MIT"
] | null | null | null | controllers/controllers.py | Xaymasn/sunu_association | 759c2d5f61758fe8d4838fe3d0b8c80c3c76860d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from odoo import http
# class SunuAssociation(http.Controller):
# @http.route('/sunu_association/sunu_association/', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/sunu_association/sunu_association/objects/', auth='public')
# def list(se... | 41.65 | 128 | 0.630252 | 89 | 833 | 5.741573 | 0.370787 | 0.410959 | 0.223092 | 0.35225 | 0.485323 | 0.412916 | 0.336595 | 0 | 0 | 0 | 0 | 0.001488 | 0.193277 | 833 | 20 | 129 | 41.65 | 0.758929 | 0.931573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8d798493e0a371b4a886f84f057f454f2196c3a5 | 4,931 | py | Python | Tree of life.py | Tonumoy/Fractal-Art | ef3269fc4c214d306f20af0ef2f1f1248a2c9e97 | [
"MIT"
] | 33 | 2020-07-18T18:32:27.000Z | 2022-02-24T20:01:16.000Z | Tree of life.py | deastrobooking/Fractal-Art | ef3269fc4c214d306f20af0ef2f1f1248a2c9e97 | [
"MIT"
] | null | null | null | Tree of life.py | deastrobooking/Fractal-Art | ef3269fc4c214d306f20af0ef2f1f1248a2c9e97 | [
"MIT"
] | 26 | 2020-11-01T15:13:29.000Z | 2022-02-19T21:16:26.000Z | # Developer - Tonumoy Mukherjee
import turtle as tu
roo = tu.Turtle() #Turtle object
wn = tu.Screen() #Screen Object
wn.bgcolor("black") #Screen Bg color
wn.title("Fractal Tree Pattern")
roo.left(90) #moving the turtle 90 degrees towards left
roo.speed(20)#setting the speed of the turtle
def draw(l): #recursive ... | 18.820611 | 103 | 0.517745 | 711 | 4,931 | 3.590717 | 0.111111 | 0.076772 | 0.084606 | 0.082256 | 0.801018 | 0.801018 | 0.792009 | 0.792009 | 0.781825 | 0.760674 | 0 | 0.081203 | 0.325695 | 4,931 | 261 | 104 | 18.89272 | 0.686617 | 0.153113 | 0 | 0.951456 | 0 | 0 | 0.024342 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058252 | false | 0 | 0.004854 | 0 | 0.121359 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a5f57072b31cca7837efa6772550f75f39e6a264 | 2,295 | py | Python | predefined/Hann1999_Glaxo/makexml.py | sunghunbae/filter | 1626c82ec9bf359ac6a0a09940e98580f13edbe8 | [
"MIT"
] | 2 | 2019-02-08T00:41:28.000Z | 2019-03-19T14:15:31.000Z | predefined/Hann1999_Glaxo/makexml.py | hmyang9223/filter | 1626c82ec9bf359ac6a0a09940e98580f13edbe8 | [
"MIT"
] | null | null | null | predefined/Hann1999_Glaxo/makexml.py | hmyang9223/filter | 1626c82ec9bf359ac6a0a09940e98580f13edbe8 | [
"MIT"
] | 1 | 2019-02-08T00:41:46.000Z | 2019-02-08T00:41:46.000Z | from __future__ import print_function
from xml.etree.ElementTree import Element, SubElement, tostring
from xml.dom import minidom
from rdkit import Chem
import sys
with open("hann1999filter.txt","r") as f, \
open("Hann1999.xml","w") as g:
root= Element('Hann1999')
for line in f :
if line.startswith("#") :... | 27.321429 | 67 | 0.604793 | 294 | 2,295 | 4.704082 | 0.22449 | 0.008677 | 0.013015 | 0.015184 | 0.881417 | 0.873463 | 0.873463 | 0.873463 | 0.873463 | 0.873463 | 0 | 0.028994 | 0.233551 | 2,295 | 83 | 68 | 27.650602 | 0.757248 | 0.016558 | 0 | 0.909091 | 0 | 0 | 0.100311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.064935 | 0 | 0.064935 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
93e8dae9d49fac2d5b5756b206c4388c9ed2c0ad | 4,705 | py | Python | fsleyes/tests/test_render_orient.py | pauldmccarthy/fsleyes | 453a6b91ec7763c39195814d635257e3766acf83 | [
"Apache-2.0"
] | 12 | 2018-05-05T01:36:25.000Z | 2021-09-23T20:44:08.000Z | fsleyes/tests/test_render_orient.py | pauldmccarthy/fsleyes | 453a6b91ec7763c39195814d635257e3766acf83 | [
"Apache-2.0"
] | 97 | 2018-05-05T02:17:23.000Z | 2022-03-29T14:58:42.000Z | fsleyes/tests/test_render_orient.py | pauldmccarthy/fsleyes | 453a6b91ec7763c39195814d635257e3766acf83 | [
"Apache-2.0"
] | 6 | 2017-12-09T09:02:00.000Z | 2021-03-05T18:55:13.000Z | #!/usr/bin/env python
#
# test_render_3d.py -
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
import os.path as op
import pytest
import nibabel as nib
import fsl.data.image as fslimage
from fsleyes.tests import run_cli_tests, fliporient, rotate
pytestmark = pytest.mark.clitest
# 3d has radio storage orde... | 57.378049 | 199 | 0.640383 | 663 | 4,705 | 4.487179 | 0.138763 | 0.090756 | 0.077647 | 0.07395 | 0.778487 | 0.778487 | 0.778487 | 0.778487 | 0.742857 | 0.675294 | 0 | 0.05119 | 0.231881 | 4,705 | 81 | 200 | 58.08642 | 0.771998 | 0.024442 | 0 | 0 | 0 | 0.333333 | 0.840061 | 0.190923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.092593 | 0 | 0.148148 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9e071cf2b78b2adfe74bbf0b822d46477f2204b1 | 46,057 | py | Python | store/tests/tests_viewset_Coupon.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | null | null | null | store/tests/tests_viewset_Coupon.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | null | null | null | store/tests/tests_viewset_Coupon.py | Jerome-Celle/Blitz-API | 7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0 | [
"MIT"
] | null | null | null | import json
import pytz
from datetime import datetime, timedelta
from rest_framework import status
from rest_framework.test import APIClient, APITestCase
from unittest import mock
from django.conf import settings
from django.core import mail
from django.utils import timezone
from django.urls import reverse
from dja... | 31.182803 | 79 | 0.479319 | 4,354 | 46,057 | 4.911346 | 0.081994 | 0.016835 | 0.017677 | 0.017022 | 0.847924 | 0.830668 | 0.809998 | 0.808455 | 0.798494 | 0.780958 | 0 | 0.05219 | 0.397594 | 46,057 | 1,476 | 80 | 31.20393 | 0.718544 | 0.037171 | 0 | 0.767249 | 0 | 0.001663 | 0.2522 | 0.058359 | 0 | 0 | 0 | 0 | 0.047382 | 1 | 0.024106 | false | 0 | 0.014963 | 0 | 0.0399 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9e1cf6365e6704a92bb762492c29b21d0d525b65 | 126 | py | Python | feeder/util/mqtt/__init__.py | jordan-hamilton/petnet-feeder-service | 66c3192b0e66f4eefb5fd55cceb1219fa1ddb914 | [
"MIT"
] | 47 | 2020-04-23T20:28:27.000Z | 2020-10-07T19:49:10.000Z | feeder/util/mqtt/__init__.py | jordan-hamilton/petnet-feeder-service | 66c3192b0e66f4eefb5fd55cceb1219fa1ddb914 | [
"MIT"
] | 101 | 2021-01-23T05:23:33.000Z | 2022-03-28T13:38:13.000Z | feeder/util/mqtt/__init__.py | ericchapman80/petnet-api-hacking | 23cff84317d7380d7d1c0a2718cc153e83920906 | [
"MIT"
] | 9 | 2020-04-25T17:22:44.000Z | 2020-10-07T04:36:56.000Z | from feeder.util.mqtt.client import FeederClient # noqa: F401
from feeder.util.mqtt.broker import FeederBroker # noqa: F401
| 42 | 62 | 0.793651 | 18 | 126 | 5.555556 | 0.611111 | 0.2 | 0.28 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.126984 | 126 | 2 | 63 | 63 | 0.854545 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f542a4b0820eb135a06f1ff84b5c1fac1285c646 | 31,696 | py | Python | music_publisher/tests.py | Huanghibo/django-music-publisher | 298fe497670c02951d617aa6b6a6e03995fa6562 | [
"MIT"
] | 1 | 2021-02-28T07:08:13.000Z | 2021-02-28T07:08:13.000Z | music_publisher/tests.py | Huanghibo/django-music-publisher | 298fe497670c02951d617aa6b6a6e03995fa6562 | [
"MIT"
] | null | null | null | music_publisher/tests.py | Huanghibo/django-music-publisher | 298fe497670c02951d617aa6b6a6e03995fa6562 | [
"MIT"
] | null | null | null | """Tests for :mod:`music_publisher`.
Please note that all these tests are functional
(integration) tests, not unit tests.
Attributes:
CONTENT (str): CWR ACK file contents
"""
from django.contrib.auth.models import User
from django.core.files.uploadedfile import InMemoryUploadedFile
from django.test import TestCa... | 45.409742 | 159 | 0.557925 | 3,116 | 31,696 | 5.463736 | 0.108472 | 0.130396 | 0.070485 | 0.088576 | 0.809339 | 0.781909 | 0.756123 | 0.72928 | 0.708018 | 0.685932 | 0 | 0.058785 | 0.3184 | 31,696 | 697 | 160 | 45.474892 | 0.729263 | 0.016658 | 0 | 0.715805 | 0 | 0 | 0.354138 | 0.240784 | 0 | 0 | 0 | 0 | 0.129179 | 1 | 0.007599 | false | 0.004559 | 0.021277 | 0 | 0.036474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f5617ee3b062bd7ba9ea249388422866a773e2c3 | 15,694 | py | Python | tests/test_all.py | SpartaEN/meterpreter-traffic-parser | 5681c3973ac8fc3bbd478c82fdc27de4ab6c447a | [
"MIT"
] | 1 | 2021-12-22T15:14:54.000Z | 2021-12-22T15:14:54.000Z | tests/test_all.py | SpartaEN/meterpreter-traffic-parser | 5681c3973ac8fc3bbd478c82fdc27de4ab6c447a | [
"MIT"
] | null | null | null | tests/test_all.py | SpartaEN/meterpreter-traffic-parser | 5681c3973ac8fc3bbd478c82fdc27de4ab6c447a | [
"MIT"
] | null | null | null | from meterpreter_traffic_parser import *
from Crypto.Util.number import *
# Test data
private_key = """-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAuaunhUnXgENK6sGqK0qi82yVO/iLzE6LVUTAM4Sy+tu4boLQ
L8Qka8LWT2AL4Dok5qUaosDjcW8oQK7RqvKiO/eDtL3Zn4OwhzL4cJm8iME8JIs9
u0XA1afv+y5uXS4bb4lBFEAs7tp4W/TfnUXwidVAIHXL6qvtnLt1GU... | 126.564516 | 2,933 | 0.964572 | 400 | 15,694 | 37.5025 | 0.365 | 0.008399 | 0.010999 | 0.010999 | 0.027132 | 0.020332 | 0.006533 | 0.004 | 0.004 | 0 | 0 | 0.513147 | 0.018542 | 15,694 | 123 | 2,934 | 127.593496 | 0.460754 | 0.009558 | 0 | 0.113924 | 0 | 0 | 0.111926 | 0.102465 | 0 | 1 | 0.79256 | 0 | 0 | 1 | 0 | false | 0 | 0.025316 | 0 | 0.025316 | 0.025316 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1924b5c9fcaa204c7a5b73f9cdf567c6e2211721 | 22,778 | py | Python | bastion/component/strategy_v2.py | jin-cc/bastion-test | 9feecbe927e5446213ab25b4da4a5eca23cf6bae | [
"Apache-2.0"
] | 8 | 2021-12-23T03:33:10.000Z | 2022-03-29T03:29:01.000Z | bastion/component/strategy_v2.py | jin-cc/bastion-test | 9feecbe927e5446213ab25b4da4a5eca23cf6bae | [
"Apache-2.0"
] | null | null | null | bastion/component/strategy_v2.py | jin-cc/bastion-test | 9feecbe927e5446213ab25b4da4a5eca23cf6bae | [
"Apache-2.0"
] | 6 | 2021-12-23T03:33:05.000Z | 2022-03-03T11:11:23.000Z | import json
from django.http import JsonResponse
import logging
from bastion.models import StrategyAccessModel, StrategyAccessUserGroupRelationshipModel, \
StrategyAccessCredentialHostModel, StrategyCommandModel, StrategyCommandGroupRelationshipModel, \
StrategyCommandUserGroupRelationshipModel, StrategyComman... | 50.505543 | 121 | 0.612038 | 2,291 | 22,778 | 5.72021 | 0.061982 | 0.054483 | 0.042732 | 0.046395 | 0.860053 | 0.84235 | 0.830065 | 0.821519 | 0.797787 | 0.759023 | 0 | 0.004259 | 0.299017 | 22,778 | 450 | 122 | 50.617778 | 0.816497 | 0.067609 | 0 | 0.715877 | 0 | 0 | 0.080764 | 0.004714 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058496 | false | 0.019499 | 0.02507 | 0 | 0.222841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5ffd7e0935d2be7522e9a101927f71c32db66964 | 130,460 | py | Python | pyidf/user_defined_hvac_and_plant_component_models.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 19 | 2015-12-08T23:33:51.000Z | 2022-01-31T04:41:10.000Z | pyidf/user_defined_hvac_and_plant_component_models.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 2 | 2019-10-04T10:57:00.000Z | 2021-10-01T06:46:17.000Z | pyidf/user_defined_hvac_and_plant_component_models.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 7 | 2015-11-04T02:25:01.000Z | 2021-12-08T03:14:28.000Z | """ Data objects in group "User Defined HVAC and Plant Component Models"
"""
from collections import OrderedDict
import logging
from pyidf.helper import DataObject
logger = logging.getLogger("pyidf")
logger.addHandler(logging.NullHandler())
class ZoneHvacForcedAirUserDefined(DataObject):
""" Corresponds to ID... | 41.948553 | 116 | 0.513567 | 12,898 | 130,460 | 5.030237 | 0.014111 | 0.102651 | 0.06603 | 0.078607 | 0.96643 | 0.934541 | 0.907537 | 0.874322 | 0.849861 | 0.788702 | 0 | 0.009658 | 0.413514 | 130,460 | 3,109 | 117 | 41.962046 | 0.838302 | 0.271394 | 0 | 0.707554 | 0 | 0 | 0.278233 | 0.045273 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139986 | false | 0.002772 | 0.002079 | 0 | 0.218988 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.