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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
55e9c43f6199ce74ed92a6280aba8671301a1005 | 38 | py | Python | chocopy-rs/test/original/pa1/def_func.py | wwylele/chocopy-wwylele | ef60c94cc9c2d7c8ac11cf2761b724a717ac36aa | [
"MIT"
] | 7 | 2021-08-28T18:20:45.000Z | 2022-02-01T07:35:59.000Z | chocopy-rs/test/original/pa1/def_func.py | wwylele/chocopy-wwylele | ef60c94cc9c2d7c8ac11cf2761b724a717ac36aa | [
"MIT"
] | 5 | 2020-03-04T23:40:28.000Z | 2021-12-09T21:38:34.000Z | tests/parse/def_func.py | yangdanny97/chocopy-python-frontend | d0fb63fc744771640fa4d06076743f42089899c1 | [
"MIT"
] | 4 | 2019-09-13T20:54:45.000Z | 2021-06-21T20:46:08.000Z | def foo() -> int:
return 1
foo()
| 7.6 | 17 | 0.5 | 6 | 38 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.315789 | 38 | 4 | 18 | 9.5 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
361df23aadcaa52c55ddd0800c101969633975d6 | 17,955 | py | Python | pytorch/libs/egs/samples.py | matln/asv-subtools | 5e5893ed6a4e42976c1fee7e817d07fe3474f27a | [
"Apache-2.0"
] | null | null | null | pytorch/libs/egs/samples.py | matln/asv-subtools | 5e5893ed6a4e42976c1fee7e817d07fe3474f27a | [
"Apache-2.0"
] | null | null | null | pytorch/libs/egs/samples.py | matln/asv-subtools | 5e5893ed6a4e42976c1fee7e817d07fe3474f27a | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
# Copyright xmuspeech (Author: Snowdar 2020-01-05, JFZhou 2020-01-08)
# Update Multi-task learning. Author: Zheng Li 2020-10
import os
import sys
import logging
import numpy as np
import pandas as pd
# import libs.support.kaldi_common as kaldi_common # Used to interact with shell
from .kaldi_d... | 48.396226 | 227 | 0.534726 | 2,101 | 17,955 | 4.358877 | 0.091861 | 0.072723 | 0.065298 | 0.031448 | 0.927604 | 0.91603 | 0.909041 | 0.908495 | 0.903582 | 0.899651 | 0 | 0.027484 | 0.367753 | 17,955 | 370 | 228 | 48.527027 | 0.779246 | 0.10259 | 0 | 0.8 | 0 | 0.014815 | 0.055159 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 1 | 0.022222 | false | 0 | 0.022222 | 0 | 0.059259 | 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 |
364884fab70ef8d3004d69c6a0b874f80c5538ce | 54,570 | py | Python | oops/blip_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | null | null | null | oops/blip_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | 1 | 2021-02-24T21:50:18.000Z | 2021-02-24T21:50:18.000Z | oops/blip_functions.py | mtasa-typescript/mtasa-wiki-dump | edea1746850fb6c99d6155d1d7891e2cceb33a5c | [
"MIT"
] | null | null | null | # Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
FunctionArgument, \
FunctionArgumentValues, \
FunctionReturnTypes, \
FunctionSignature, \
FunctionDoc, \
FunctionOOP, \
FunctionOOPField, \
CompoundOOPData, \
FunctionData, \
Co... | 40.125 | 279 | 0.338703 | 3,070 | 54,570 | 5.912378 | 0.064169 | 0.073054 | 0.064459 | 0.057517 | 0.986061 | 0.983086 | 0.983086 | 0.983086 | 0.981929 | 0.981929 | 0 | 0.006532 | 0.595987 | 54,570 | 1,359 | 280 | 40.154525 | 0.816755 | 0.000935 | 0 | 0.863466 | 1 | 0.019505 | 0.156869 | 0.008584 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.004501 | 0.00075 | 0 | 0.00075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
368712ff0abde6b49c79540526803e50f56e96e8 | 31,524 | py | Python | tradefed_cluster/commander_test.py | maksonlee/tradefed_cluster | d1153743ce8ddcad752443b23851015630862aea | [
"Apache-2.0"
] | null | null | null | tradefed_cluster/commander_test.py | maksonlee/tradefed_cluster | d1153743ce8ddcad752443b23851015630862aea | [
"Apache-2.0"
] | null | null | null | tradefed_cluster/commander_test.py | maksonlee/tradefed_cluster | d1153743ce8ddcad752443b23851015630862aea | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 38.537897 | 90 | 0.673836 | 3,420 | 31,524 | 5.95614 | 0.092105 | 0.065538 | 0.0243 | 0.014138 | 0.826608 | 0.783652 | 0.761708 | 0.742612 | 0.720766 | 0.683358 | 0 | 0.017058 | 0.224527 | 31,524 | 817 | 91 | 38.585067 | 0.816207 | 0.038383 | 0 | 0.746888 | 0 | 0 | 0.07646 | 0.010111 | 0 | 0 | 0 | 0 | 0.165975 | 1 | 0.029046 | false | 0.002766 | 0.026279 | 0 | 0.059474 | 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 |
36968139a0692977501d8b9c91acf8b288046e3e | 12,228 | py | Python | haychecker/_test/chc/rule_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | 2 | 2019-05-22T08:24:38.000Z | 2020-12-04T13:36:30.000Z | haychecker/_test/chc/rule_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | null | null | null | haychecker/_test/chc/rule_test.py | fruttasecca/hay_checker | 2bbf4e8e90e0abc590dd74080fb6e4f445056354 | [
"MIT"
] | 3 | 2018-09-15T13:40:40.000Z | 2021-06-29T23:31:18.000Z | import unittest
import numpy as np
import pandas as pd
from haychecker.chc.metrics import rule
class TestRule(unittest.TestCase):
def test_empty(self):
df = pd.DataFrame()
df["c1"] = []
df["c2"] = []
condition1 = {"column": "c1", "operator": "lt", "value": 1000}
conditi... | 43.208481 | 117 | 0.532221 | 1,338 | 12,228 | 4.849776 | 0.058296 | 0.065341 | 0.130683 | 0.083834 | 0.952381 | 0.941285 | 0.92757 | 0.909693 | 0.895053 | 0.894591 | 0 | 0.070349 | 0.264148 | 12,228 | 282 | 118 | 43.361702 | 0.650811 | 0 | 0 | 0.753138 | 0 | 0 | 0.176317 | 0 | 0 | 0 | 0 | 0 | 0.133891 | 1 | 0.029289 | false | 0 | 0.016736 | 0 | 0.050209 | 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 |
36ad22831ad5b4542e325728393a89f4c29304a5 | 530,077 | py | Python | hack tool.py | m2k2v/011hack | b125867d0009dff313ecc92b64adcdb84e88a0ea | [
"Apache-2.0"
] | null | null | null | hack tool.py | m2k2v/011hack | b125867d0009dff313ecc92b64adcdb84e88a0ea | [
"Apache-2.0"
] | null | null | null | hack tool.py | m2k2v/011hack | b125867d0009dff313ecc92b64adcdb84e88a0ea | [
"Apache-2.0"
] | null | null | null | import time
import colorama
colorama.init()
import os
os.system('cls' if os.name == 'nt' else 'clear')
input(" Ready For Hack ? ( Press Enter ) ")
colorama.Fore.RED
def prt() :
time.sleep(0.3)
print(colorama.Fore.RED + "10101010000101110111010101101010100001011101110101011010101000010111011101010110... | 22,086.541667 | 383,579 | 0.999659 | 61 | 530,077 | 8,686.819672 | 0.606557 | 0.000091 | 0.000057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.999451 | 0.000219 | 530,077 | 23 | 383,580 | 23,046.826087 | 0.000426 | 0 | 0 | 0 | 0 | 0 | 0.999345 | 0.999262 | 0 | 1 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.1875 | 0 | 0.25 | 0.1875 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7fdd40f32f04b7d5a7796031a90e2fa776fab994 | 253,406 | py | Python | dlkit/services/assessment.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/services/assessment.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/services/assessment.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """DLKit Services implementations of assessment service."""
# pylint: disable=no-init
# osid specification includes some 'marker' interfaces.
# pylint: disable=too-many-ancestors
# number of ancestors defined in spec.
# pylint: disable=too-few-public-methods,too-many-public-methods
# number of methods defin... | 56.412734 | 154 | 0.739848 | 28,871 | 253,406 | 6.088462 | 0.016037 | 0.052111 | 0.047406 | 0.076579 | 0.94207 | 0.907191 | 0.866139 | 0.823217 | 0.774371 | 0.71837 | 0 | 0.000216 | 0.177502 | 253,406 | 4,491 | 155 | 56.425295 | 0.843153 | 0.364238 | 0 | 0.316543 | 0 | 0 | 0.11134 | 0.058351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346173 | false | 0.020741 | 0.003951 | 0.005432 | 0.64642 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7fdf6158d66d4bffe261041dce4f84f1f8f84718 | 256,845 | py | Python | LINETOKEN/lib/curve/CurveThrift.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | LINETOKEN/lib/curve/CurveThrift.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | LINETOKEN/lib/curve/CurveThrift.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.9.1)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py:new_style
#
import codecs
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.trans... | 31.162946 | 235 | 0.665156 | 28,472 | 256,845 | 5.770968 | 0.014751 | 0.016615 | 0.029907 | 0.024867 | 0.853887 | 0.823585 | 0.805905 | 0.788073 | 0.771932 | 0.761057 | 0 | 0.008632 | 0.219669 | 256,845 | 8,241 | 236 | 31.166727 | 0.811185 | 0.021126 | 0 | 0.834028 | 1 | 0 | 0.032559 | 0.010083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119809 | false | 0.008337 | 0.001081 | 0.037981 | 0.234213 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3d23086e18deca877e41ebf0742fc816ce1469a4 | 2,781 | py | Python | asim/models/MXGSBGODAUSummaryHousekeepingTM.py | garethcmurphy/mysite | 21a8247dbed3d3196ab22c5cdd10b0c79dccb991 | [
"MIT"
] | null | null | null | asim/models/MXGSBGODAUSummaryHousekeepingTM.py | garethcmurphy/mysite | 21a8247dbed3d3196ab22c5cdd10b0c79dccb991 | [
"MIT"
] | null | null | null | asim/models/MXGSBGODAUSummaryHousekeepingTM.py | garethcmurphy/mysite | 21a8247dbed3d3196ab22c5cdd10b0c79dccb991 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils import timezone
from django.contrib.postgres.fields import ArrayField
import datetime
from django.contrib import admin
from django.db import models
from django.utils import timezone
from django.contrib.postgres.fields import ArrayField
import datetime
from django.contrib i... | 50.563636 | 74 | 0.71593 | 354 | 2,781 | 5.124294 | 0.138418 | 0.38699 | 0.370452 | 0.423374 | 0.841235 | 0.786108 | 0.783903 | 0.582139 | 0.377067 | 0.377067 | 0 | 0.023952 | 0.219346 | 2,781 | 54 | 75 | 51.5 | 0.811608 | 0 | 0 | 0.2 | 0 | 0 | 0.014388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
3d2eeb2b19e4e8f522836aa600cfe80257c21dd5 | 36,326 | py | Python | sdk/python/pulumi_oci/budget/alert_rule.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/budget/alert_rule.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/budget/alert_rule.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 48.2417 | 390 | 0.653058 | 4,428 | 36,326 | 5.196251 | 0.054201 | 0.075536 | 0.067539 | 0.063106 | 0.909123 | 0.894563 | 0.870616 | 0.847321 | 0.843018 | 0.821722 | 0 | 0.003262 | 0.240489 | 36,326 | 752 | 391 | 48.305851 | 0.8307 | 0.414386 | 0 | 0.713604 | 1 | 0 | 0.087593 | 0.001546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164678 | false | 0.002387 | 0.011933 | 0 | 0.27685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3d5122fe4d0b085af72b62f9f24959ba1b9c8fb9 | 3,922 | py | Python | linkprediction/openapi_server/test/test_projects_controller.py | ESM-analytics/Tie-Prediction-Tool | 7c060a62c6c47e2d59e7df0870358d6663487817 | [
"MIT"
] | 1 | 2021-02-23T06:36:03.000Z | 2021-02-23T06:36:03.000Z | linkprediction/openapi_server/test/test_projects_controller.py | ESM-analytics/Tie-Prediction-Tool | 7c060a62c6c47e2d59e7df0870358d6663487817 | [
"MIT"
] | 1 | 2022-03-02T09:59:27.000Z | 2022-03-02T09:59:27.000Z | linkprediction/openapi_server/test/test_projects_controller.py | social-media-analytics-research/tie-prediction-tool | 7c060a62c6c47e2d59e7df0870358d6663487817 | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
import unittest
from flask import json
from six import BytesIO
from openapi_server.models.project import Project # noqa: E501
from openapi_server.test import BaseTestCase
class TestProjectsController(BaseTestCase):
"""ProjectsController integration test s... | 34.104348 | 97 | 0.573687 | 396 | 3,922 | 5.5 | 0.227273 | 0.03719 | 0.046832 | 0.034435 | 0.772268 | 0.753444 | 0.753444 | 0.714876 | 0.702938 | 0.702938 | 0 | 0.030348 | 0.31948 | 3,922 | 114 | 98 | 34.403509 | 0.785688 | 0.006119 | 0 | 0.725 | 0 | 0 | 0.21757 | 0.038653 | 0 | 0 | 0 | 0 | 0.0625 | 0 | null | null | 0 | 0.075 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e9e7101eb230e2eca21ac7bccbf93b5c77ca16c8 | 13,790 | py | Python | Scripts/AmericanBinomial.py | marioharper182/ComputationalMethodsFinance | 8d9258db11a46b5c9942ca9f237f4dc43a8ff52d | [
"Apache-2.0"
] | null | null | null | Scripts/AmericanBinomial.py | marioharper182/ComputationalMethodsFinance | 8d9258db11a46b5c9942ca9f237f4dc43a8ff52d | [
"Apache-2.0"
] | null | null | null | Scripts/AmericanBinomial.py | marioharper182/ComputationalMethodsFinance | 8d9258db11a46b5c9942ca9f237f4dc43a8ff52d | [
"Apache-2.0"
] | null | null | null | def option_price_call_american_binomial(S, K, r, sigma, t, steps):
"""American Option (Call) using binomial approximations
Converted to Python from "Financial Numerical Recipes in C" by:
Bernt Arne Odegaard
http://finance.bi.no/~bernt/gcc_prog/index.html
@param S: spot (underlying) price
@param... | 42.561728 | 119 | 0.636766 | 2,175 | 13,790 | 3.906667 | 0.077241 | 0.041191 | 0.03107 | 0.036719 | 0.894551 | 0.87525 | 0.868424 | 0.856067 | 0.846416 | 0.816053 | 0 | 0.025341 | 0.244525 | 13,790 | 324 | 120 | 42.561728 | 0.790267 | 0.344598 | 0 | 0.708791 | 0 | 0 | 0.002082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032967 | false | 0 | 0 | 0 | 0.087912 | 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 |
a106fe256483ccc8d2b52b14302bf9130d3ac2a5 | 63 | py | Python | gym-jumping-task/gym_jumping_task/envs/__init__.py | crichardson332/jumping-task | c6585da1c2c8c1f52b99dda379710c9996d27181 | [
"MIT"
] | 3 | 2021-01-12T02:53:41.000Z | 2021-10-16T03:40:01.000Z | gym-jumping-task/gym_jumping_task/envs/__init__.py | crichardson332/jumping-task | c6585da1c2c8c1f52b99dda379710c9996d27181 | [
"MIT"
] | 1 | 2019-08-16T19:31:38.000Z | 2019-08-20T19:47:45.000Z | gym-jumping-task/gym_jumping_task/envs/__init__.py | crichardson332/jumping-task | c6585da1c2c8c1f52b99dda379710c9996d27181 | [
"MIT"
] | 4 | 2018-10-03T19:41:53.000Z | 2021-08-01T22:10:18.000Z | from gym_jumping_task.envs.gym_jumping_task import JumpTaskEnv
| 31.5 | 62 | 0.904762 | 10 | 63 | 5.3 | 0.7 | 0.377358 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.898305 | 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 |
a1a6339143206a20d337e1c7a75b587b9fefce9d | 223,853 | py | Python | examples/tk_tools/images.py | NedzibSas/tk_tools | 2c5caea02a33fa4c83ec9367eced54a2e0508a5b | [
"MIT"
] | null | null | null | examples/tk_tools/images.py | NedzibSas/tk_tools | 2c5caea02a33fa4c83ec9367eced54a2e0508a5b | [
"MIT"
] | null | null | null | examples/tk_tools/images.py | NedzibSas/tk_tools | 2c5caea02a33fa4c83ec9367eced54a2e0508a5b | [
"MIT"
] | null | null | null | # flake8: noqa
led_grey = b'iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QkZDh80173PwgAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAgAElEQVR42u2d228bR57vv30nRYqUZMlWHMcXObJkOx6fjAfwmcBYIEAOdt/maR4GmOf8Ud7dt3mbp32fOVnM4uzsOQNvMAh2Z5ONZwNbtuT4xJYo... | 13,990.8125 | 37,390 | 0.97229 | 5,882 | 223,853 | 36.99983 | 0.956817 | 0.000184 | 0.002169 | 0.002242 | 0.000993 | 0.000124 | 0.000124 | 0.000124 | 0 | 0 | 0 | 0.146628 | 0.000183 | 223,853 | 16 | 37,391 | 13,990.8125 | 0.825764 | 0.000054 | 0 | 0 | 0 | 0.933333 | 0.998892 | 0.998892 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a1facc6f278236174ef5329562a6d0a1436622d2 | 16,831 | py | Python | Termux-Login/login-termux.py | Alpha-Demon404/RE-14 | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 39 | 2020-02-26T09:44:36.000Z | 2022-03-23T00:18:25.000Z | Termux-Login/login-termux.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 15 | 2020-05-14T10:07:26.000Z | 2022-01-06T02:55:32.000Z | Termux-Login/login-termux.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 41 | 2020-03-16T22:36:38.000Z | 2022-03-17T14:47:19.000Z | #Code By: Mr.D`HACK feat Mr.Tr3v1on
#Tools: Login-termux,Home-termux,and Key-termux
#Github: https://github.com/DH4CK1
#Github Team: https://github.com/Blackcodercrush
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s*\x07\x00\x00d\x00... | 2,404.428571 | 16,647 | 0.705068 | 3,759 | 16,831 | 3.150572 | 0.112264 | 0.207211 | 0.2599 | 0.340454 | 0.74677 | 0.728447 | 0.683104 | 0.652115 | 0.63641 | 0.628641 | 0 | 0.332011 | 0.041352 | 16,831 | 6 | 16,648 | 2,805.166667 | 0.401983 | 0.009506 | 0 | 0 | 0 | 12 | 0.424372 | 0.355373 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 15 |
62d3c6e6a6e774ace5c59f5e6fd53ec3fd9fd244 | 966 | py | Python | paneldata_dash/tests/functional/test_category.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | paneldata_dash/tests/functional/test_category.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | paneldata_dash/tests/functional/test_category.py | clarencejlee/jdp | d3d31db0138ff06f2f5ec592d85317941af4f280 | [
"MIT"
] | null | null | null | import json
def test_get_categories(test_client, init_database):
"""
GIVEN a Flask application
WHEN the '/api/v1/categories' api is called
THEN check the response is valid and the data returned
"""
response = test_client.get('/api/v1/categories')
# data = json.loads(response.get_data(as_te... | 33.310345 | 66 | 0.714286 | 141 | 966 | 4.765957 | 0.29078 | 0.052083 | 0.104167 | 0.089286 | 0.858631 | 0.837798 | 0.837798 | 0.837798 | 0.837798 | 0.837798 | 0 | 0.012804 | 0.191511 | 966 | 28 | 67 | 34.5 | 0.847631 | 0.36646 | 0 | 0.5 | 0 | 0 | 0.191489 | 0.04078 | 0 | 0 | 0 | 0 | 0.583333 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
62f1d1a3846bfde04427a192eee258376775af78 | 136 | py | Python | tests/data/format/beginning_quote/multi_line_no_push/function_docstrings.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 4 | 2022-01-02T22:50:59.000Z | 2022-02-09T09:04:37.000Z | tests/data/format/beginning_quote/multi_line_no_push/function_docstrings.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 80 | 2022-01-02T09:02:50.000Z | 2022-03-30T13:34:10.000Z | tests/data/format/beginning_quote/multi_line_no_push/function_docstrings.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 2 | 2022-01-02T11:58:29.000Z | 2022-01-04T18:53:29.000Z | def func():
"""
A multi-line
docstring
"""
def inner_func():
"""
A multi-line
docstring"""
| 12.363636 | 21 | 0.426471 | 13 | 136 | 4.384615 | 0.538462 | 0.175439 | 0.350877 | 0.491228 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.426471 | 136 | 10 | 22 | 13.6 | 0.730769 | 0.330882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
c501b23736a13e01fb3fe46bfe5fad948b232c12 | 45 | py | Python | gcpds/filters/spatial/__init__.py | UN-GCPDS/python-gcpds.filters | 3e3776a8ac22aa2b53e0ec24895829a437c44a20 | [
"BSD-2-Clause"
] | 1 | 2021-03-09T23:52:15.000Z | 2021-03-09T23:52:15.000Z | gcpds/filters/spatial/__init__.py | UN-GCPDS/python-gcpds.filters | 3e3776a8ac22aa2b53e0ec24895829a437c44a20 | [
"BSD-2-Clause"
] | null | null | null | gcpds/filters/spatial/__init__.py | UN-GCPDS/python-gcpds.filters | 3e3776a8ac22aa2b53e0ec24895829a437c44a20 | [
"BSD-2-Clause"
] | 1 | 2021-03-09T23:51:39.000Z | 2021-03-09T23:51:39.000Z | from .small_laplacian import small_laplacian
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 0.666667 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
c53f31722c013df38d0d7f11fdde186e94cd4f1e | 7,071 | py | Python | simbad/util/tests/test_mtz_util.py | hlasimpk/SIMPLE | 89570f1a29e2871cb1e85cfda36cfa22fbad0877 | [
"BSD-3-Clause"
] | 2 | 2017-02-14T15:31:30.000Z | 2019-07-20T12:30:59.000Z | simbad/util/tests/test_mtz_util.py | hlasimpk/SIMPLE | 89570f1a29e2871cb1e85cfda36cfa22fbad0877 | [
"BSD-3-Clause"
] | 65 | 2017-02-14T14:19:28.000Z | 2021-09-21T09:50:02.000Z | simbad/util/tests/test_mtz_util.py | hlasimpk/SIMPLE | 89570f1a29e2871cb1e85cfda36cfa22fbad0877 | [
"BSD-3-Clause"
] | 7 | 2017-05-09T15:27:08.000Z | 2021-06-13T13:32:40.000Z | """Test functions for util.mtz_util"""
__author__ = "Adam Simpkin"
__date__ = "16 Aug 2017"
import os
import unittest
from simbad.parsers import mtz_parser
from simbad.util import mtz_util
try:
ROOT_DIR = os.environ['SIMBAD_ROOT']
EXAMPLE_DIR = os.path.join(ROOT_DIR, "test_data")
except KeyError:
from si... | 36.261538 | 92 | 0.606421 | 903 | 7,071 | 4.512735 | 0.150609 | 0.078037 | 0.056687 | 0.053006 | 0.856687 | 0.846871 | 0.846871 | 0.820123 | 0.817669 | 0.817669 | 0 | 0.037663 | 0.264036 | 7,071 | 194 | 93 | 36.448454 | 0.745388 | 0.034083 | 0 | 0.740506 | 0 | 0 | 0.075508 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 1 | 0.031646 | false | 0 | 0.031646 | 0 | 0.06962 | 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 |
c5697dcfc75b9dce4b3143e2fa0ba00deb66235c | 2,859 | py | Python | tools/check_delay.py | gronchi/mpts | 5e33e885b099a337c0cadc78840dd2c216a6d9df | [
"MIT"
] | null | null | null | tools/check_delay.py | gronchi/mpts | 5e33e885b099a337c0cadc78840dd2c216a6d9df | [
"MIT"
] | null | null | null | tools/check_delay.py | gronchi/mpts | 5e33e885b099a337c0cadc78840dd2c216a6d9df | [
"MIT"
] | null | null | null | import MDSplus as mds
import matplotlib.pyplot as plt
import numpy as np
delay = np.array([0, 0.5, 1, 1.5, 2, 3, 4, 5])
data = np.array([])
energy = np.array([])
for shot_number in np.array([1027, 1028, 1029, 1031, 1032, 1033, 1034, 1035]):
tree = mds.Tree("mpts_manual", shot_number, mode='ReadOnly')
camera2 =... | 35.7375 | 84 | 0.653026 | 484 | 2,859 | 3.791322 | 0.235537 | 0.040872 | 0.010899 | 0.017439 | 0.829973 | 0.829973 | 0.822888 | 0.822888 | 0.822888 | 0.822888 | 0 | 0.096682 | 0.146205 | 2,859 | 79 | 85 | 36.189873 | 0.655059 | 0.003498 | 0 | 0.704225 | 0 | 0 | 0.211099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042254 | 0 | 0.042254 | 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 |
c56df11deab296992241a4291c98c30b2e801ff1 | 3,312 | py | Python | tests/test_018_add_plus_plus.py | fezde/plingo | 847abc9600a9fc280afa2243e31703ec3cf51d85 | [
"MIT"
] | null | null | null | tests/test_018_add_plus_plus.py | fezde/plingo | 847abc9600a9fc280afa2243e31703ec3cf51d85 | [
"MIT"
] | 5 | 2020-12-08T23:09:34.000Z | 2020-12-20T15:22:52.000Z | tests/test_018_add_plus_plus.py | fezde/plingo | 847abc9600a9fc280afa2243e31703ec3cf51d85 | [
"MIT"
] | null | null | null | from copy import deepcopy
from plingo import Plingo
def test_zero():
lingo = Plingo()
input = [
[[18, 0, 0], [0, 0, 0], [0, 0, 0]],
[[0, 0, 0], [0, 0, 0], [0, 0, 0]],
[[0, 0, 0], [0, 0, 0], [0, 0, 0]],
]
expected = [
[[36, 0, 0], [0, 0, 0], [0, 0, 0]],
[[0, 0... | 26.709677 | 74 | 0.452899 | 527 | 3,312 | 2.726755 | 0.079696 | 0.336813 | 0.455115 | 0.540014 | 0.909534 | 0.902575 | 0.902575 | 0.902575 | 0.902575 | 0.902575 | 0 | 0.173246 | 0.311594 | 3,312 | 123 | 75 | 26.926829 | 0.457018 | 0 | 0 | 0.72449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 1 | 0.030612 | false | 0 | 0.020408 | 0 | 0.05102 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
3d75a5b06a17042caa0239e9358d4f7ca36638be | 169 | py | Python | options.py | navoznov/PlannedElectricityBlackoutTelegramBot | 4037362613f0c4627b4b05c200492ca1628bd582 | [
"MIT"
] | null | null | null | options.py | navoznov/PlannedElectricityBlackoutTelegramBot | 4037362613f0c4627b4b05c200492ca1628bd582 | [
"MIT"
] | null | null | null | options.py | navoznov/PlannedElectricityBlackoutTelegramBot | 4037362613f0c4627b4b05c200492ca1628bd582 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
class Options:
def __init__(self, telegram_bot_token: str):
self.telegram_bot_token = telegram_bot_token | 28.166667 | 52 | 0.674556 | 23 | 169 | 4.521739 | 0.695652 | 0.317308 | 0.461538 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.195266 | 169 | 6 | 52 | 28.166667 | 0.75 | 0.254438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
3dad18c3f46d7e6b200ed6159709a20a0b26e448 | 4,787 | py | Python | canvas_sdk/methods/logins.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 21 | 2015-06-12T13:49:04.000Z | 2021-11-08T05:37:44.000Z | canvas_sdk/methods/logins.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 44 | 2015-02-04T15:26:52.000Z | 2021-12-03T17:47:00.000Z | canvas_sdk/methods/logins.py | david-house-harvard/canvas_python_sdk | 9c2e59621a9a5667bc43c253ef801482b241a2c1 | [
"MIT"
] | 7 | 2015-07-20T23:56:03.000Z | 2021-02-23T17:13:00.000Z | from canvas_sdk import client, utils
def list_user_logins_accounts(request_ctx, account_id, **request_kwargs):
"""
Given a user ID, return that user's logins for the given account.
:param request_ctx: The request context
:type request_ctx: :class:RequestContext
:param account_id: (requ... | 36.265152 | 165 | 0.677042 | 670 | 4,787 | 4.619403 | 0.125373 | 0.05622 | 0.042003 | 0.045234 | 0.832633 | 0.816478 | 0.746042 | 0.723748 | 0.723748 | 0.705977 | 0 | 0.001361 | 0.232505 | 4,787 | 131 | 166 | 36.541985 | 0.841045 | 0.534364 | 0 | 0.513514 | 0 | 0 | 0.135107 | 0.08086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135135 | false | 0.108108 | 0.027027 | 0 | 0.297297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
3dae10fd74e62676e4905add180381c2debd5f34 | 247 | py | Python | Lib/test/bugs/pr119.py | jimmyyu2004/jython | 5b4dc2d54d01a6fda8c55d07b2608167e7a40769 | [
"CNRI-Jython"
] | 332 | 2015-08-22T12:43:56.000Z | 2022-03-17T01:05:43.000Z | Lib/test/bugs/pr119.py | Pandinosaurus/jython3 | def4f8ec47cb7a9c799ea4c745f12badf92c5769 | [
"CNRI-Jython"
] | 36 | 2015-05-30T08:39:19.000Z | 2022-03-04T20:42:33.000Z | Lib/test/bugs/pr119.py | Pandinosaurus/jython3 | def4f8ec47cb7a9c799ea4c745f12badf92c5769 | [
"CNRI-Jython"
] | 74 | 2015-05-29T17:18:53.000Z | 2022-01-15T14:06:44.000Z | d = {}
l = [1]
try:
d[l] = 2
except TypeError:
pass
else:
print('Should not be able to use a list as a dict key!')
a = {}
try:
d[a] = 2
except TypeError:
pass
else:
print('Should not be able to use a dict as a dict key!')
| 14.529412 | 60 | 0.574899 | 46 | 247 | 3.086957 | 0.456522 | 0.105634 | 0.225352 | 0.28169 | 0.704225 | 0.704225 | 0.704225 | 0.704225 | 0.704225 | 0.704225 | 0 | 0.017341 | 0.299595 | 247 | 16 | 61 | 15.4375 | 0.803468 | 0 | 0 | 0.533333 | 0 | 0 | 0.380567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.133333 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
3dbe67998eb9d584ae1546d920cbc7848f4f3724 | 14,505 | py | Python | Code/zv_cv.py | svsamsonov/VR-MCMC | 335ffb0835917b1cdce633877099c8452e3aeb78 | [
"MIT"
] | null | null | null | Code/zv_cv.py | svsamsonov/VR-MCMC | 335ffb0835917b1cdce633877099c8452e3aeb78 | [
"MIT"
] | null | null | null | Code/zv_cv.py | svsamsonov/VR-MCMC | 335ffb0835917b1cdce633877099c8452e3aeb78 | [
"MIT"
] | null | null | null | import numpy as np
from baselines import set_function, Spectral_var
def ZVpolyOne(traj, traj_grad, f_target, params, W_spec):
n, d = traj.shape
if f_target == "sum":
samples = traj.sum(axis = 1).reshape(-1,1)
elif f_target == "sum_comps":
samples = traj[:,params["ind"]].reshape(-1,1)
el... | 40.974576 | 172 | 0.600483 | 2,322 | 14,505 | 3.609819 | 0.060724 | 0.06514 | 0.064424 | 0.066691 | 0.816154 | 0.769506 | 0.759246 | 0.75519 | 0.741231 | 0.727631 | 0 | 0.040484 | 0.213237 | 14,505 | 354 | 173 | 40.974576 | 0.694006 | 0.076112 | 0 | 0.701987 | 0 | 0 | 0.037893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036424 | false | 0 | 0.006623 | 0 | 0.07947 | 0.029801 | 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 |
9aea6eea1a8a3355d105183c0b67ce678d3b986e | 792 | py | Python | grr/server/end_to_end_tests/tests/__init__.py | panhania/grr | fe16a7311a528e31fe0e315a880e98273b8df960 | [
"Apache-2.0"
] | null | null | null | grr/server/end_to_end_tests/tests/__init__.py | panhania/grr | fe16a7311a528e31fe0e315a880e98273b8df960 | [
"Apache-2.0"
] | 1 | 2018-05-08T21:15:51.000Z | 2018-05-08T21:15:51.000Z | grr/server/end_to_end_tests/tests/__init__.py | panhania/grr | fe16a7311a528e31fe0e315a880e98273b8df960 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""End to end tests rewrite using GRR API."""
from grr.server.end_to_end_tests.tests import administrative
from grr.server.end_to_end_tests.tests import artifacts
from grr.server.end_to_end_tests.tests import checks
from grr.server.end_to_end_tests.tests import discovery
from grr.server.end_to_en... | 46.588235 | 60 | 0.856061 | 143 | 792 | 4.461538 | 0.195804 | 0.109718 | 0.175549 | 0.285266 | 0.753919 | 0.753919 | 0.753919 | 0.753919 | 0.753919 | 0 | 0 | 0 | 0.079545 | 792 | 16 | 61 | 49.5 | 0.875171 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
b128ccf800d62758c46310ff04661e5378b653a3 | 8,923 | py | Python | app/logic/commandrepo/tests/tests_controller_CommandController.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 10 | 2017-01-13T06:28:04.000Z | 2020-11-18T13:00:26.000Z | app/logic/commandrepo/tests/tests_controller_CommandController.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | null | null | null | app/logic/commandrepo/tests/tests_controller_CommandController.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 2 | 2018-03-29T14:10:53.000Z | 2019-11-20T08:21:57.000Z | """ CommandGroup Manager tests """
from django.test import TestCase
from app.logic.commandrepo.controllers.CommandController import CommandController
from app.logic.commandrepo.models.CommandModel import CommandEntry
from app.logic.commandrepo.models.CommandResultModel import CommandResultEntry
from app.logic.commandr... | 53.431138 | 110 | 0.718368 | 1,009 | 8,923 | 6.225966 | 0.072349 | 0.174308 | 0.187838 | 0.108883 | 0.869309 | 0.842884 | 0.809137 | 0.809137 | 0.809137 | 0.802611 | 0 | 0.017576 | 0.145579 | 8,923 | 166 | 111 | 53.753012 | 0.806401 | 0.002914 | 0 | 0.726563 | 0 | 0 | 0.046012 | 0 | 0 | 0 | 0 | 0 | 0.570313 | 1 | 0.070313 | false | 0.015625 | 0.054688 | 0 | 0.132813 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b14081c2b7c52960d5b029bd29a433dc13456fe7 | 45 | py | Python | example/program/myname.py | AbhishekJaist/ForTesting | 44efa624e776bf9d28aad7457269c8378f2ca77d | [
"MIT"
] | null | null | null | example/program/myname.py | AbhishekJaist/ForTesting | 44efa624e776bf9d28aad7457269c8378f2ca77d | [
"MIT"
] | null | null | null | example/program/myname.py | AbhishekJaist/ForTesting | 44efa624e776bf9d28aad7457269c8378f2ca77d | [
"MIT"
] | null | null | null | # myname.py
def get_name():
return "Jim"
| 11.25 | 16 | 0.622222 | 7 | 45 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 45 | 3 | 17 | 15 | 0.771429 | 0.2 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b18370c41d4bd6369beb8716a89405f761501116 | 23,995 | py | Python | herschel/plotmergersPaper.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | 5 | 2016-05-28T14:12:28.000Z | 2021-04-22T10:23:12.000Z | herschel/plotmergersPaper.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | null | null | null | herschel/plotmergersPaper.py | sniemi/SamPy | e048756feca67197cf5f995afd7d75d8286e017b | [
"BSD-2-Clause"
] | 2 | 2015-07-13T10:04:10.000Z | 2021-04-22T10:23:23.000Z | """
Generates some prediction plots for the Herschel I paper.
:author: Sami-Matias Niemi
:contact: sammy@sammyniemi.com
:version: 0.5
"""
import matplotlib
#matplotlib.use('Cairo')
matplotlib.use('Agg')
matplotlib.rc('text', usetex=True)
matplotlib.rcParams['font.size'] = 17
matplotlib.rc('xtick', labelsize=14)
matpl... | 46.233141 | 129 | 0.505814 | 2,841 | 23,995 | 4.170363 | 0.133404 | 0.029372 | 0.018906 | 0.014855 | 0.811276 | 0.79237 | 0.779456 | 0.767809 | 0.743839 | 0.723413 | 0 | 0.072772 | 0.335111 | 23,995 | 518 | 130 | 46.322394 | 0.669863 | 0.332861 | 0 | 0.545455 | 1 | 0.003497 | 0.130322 | 0.024319 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031469 | null | null | 0.013986 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
491d5e9b58ea2a8a46678a5ef4ccbf407871b1c7 | 23,379 | py | Python | tests/integration/graph_caching_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | tests/integration/graph_caching_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | tests/integration/graph_caching_test.py | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | # Copyright (c) 2018 Graphcore Ltd. All rights reserved.
import numpy as np
import pytest
import popart
import test_util as tu
@tu.requires_ipu_model
def test_convolution_cached_by_default():
"""
In this test we check that the default behavior is for convolutions to be
cached.
"""
builder = popar... | 30.205426 | 77 | 0.650798 | 2,706 | 23,379 | 5.466001 | 0.072432 | 0.047461 | 0.03448 | 0.039078 | 0.915286 | 0.900818 | 0.895139 | 0.877831 | 0.87729 | 0.862687 | 0 | 0.03221 | 0.227127 | 23,379 | 773 | 78 | 30.244502 | 0.786374 | 0.072544 | 0 | 0.829126 | 0 | 0 | 0.044623 | 0.019264 | 0 | 0 | 0 | 0 | 0.021359 | 1 | 0.017476 | false | 0.001942 | 0.007767 | 0 | 0.025243 | 0.003884 | 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 |
49486aea656b68faba7c0eb63ff2fee2c07bef9a | 16,498 | py | Python | Last Version/MacroFlexEngine/lib/dictionary.py | JTermens/MacroFlexEngine | 568ad52c5682569ee7c7331859f5ffd38a368478 | [
"MIT"
] | null | null | null | Last Version/MacroFlexEngine/lib/dictionary.py | JTermens/MacroFlexEngine | 568ad52c5682569ee7c7331859f5ffd38a368478 | [
"MIT"
] | null | null | null | Last Version/MacroFlexEngine/lib/dictionary.py | JTermens/MacroFlexEngine | 568ad52c5682569ee7c7331859f5ffd38a368478 | [
"MIT"
] | 1 | 2020-07-04T12:49:16.000Z | 2020-07-04T12:49:16.000Z | chain_dict = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'AA', 'AB', 'AC', 'AD', 'AE', 'AF', 'AG', 'AH'... | 8,249 | 16,497 | 0.331555 | 2,758 | 16,498 | 1.982959 | 0.255257 | 0.002926 | 0.004388 | 0.005851 | 0.998354 | 0.998354 | 0.998354 | 0.998354 | 0.998354 | 0.998354 | 0 | 0 | 0.167172 | 16,498 | 1 | 16,498 | 16,498 | 0.398035 | 0 | 0 | 0 | 0 | 0 | 0.330949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
498a150bfafb99c83b19da24e27f307f352f0887 | 14,144 | py | Python | TBC_mage.py | ClawDoctor/TBC_GUI_sim | ebdb40ef348f5b00b10f6323f07260f47e8aab74 | [
"MIT"
] | 5 | 2021-01-04T10:30:12.000Z | 2022-03-25T10:31:19.000Z | TBC_mage.py | ClawDoctor/TBC_GUI_sim | ebdb40ef348f5b00b10f6323f07260f47e8aab74 | [
"MIT"
] | null | null | null | TBC_mage.py | ClawDoctor/TBC_GUI_sim | ebdb40ef348f5b00b10f6323f07260f47e8aab74 | [
"MIT"
] | 5 | 2020-11-17T13:07:47.000Z | 2021-08-28T15:03:02.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
import tempfile #from tempfile import mkstemp
import sys #from sys import exit
temp=sys.stderr # supress notification when loading pyFAI (complains about missing fftw3, fftw3 is not available for python 3.)
sys.stderr = None
sys.stderr=temp
import datetime #from datetime import... | 294.666667 | 12,399 | 0.680359 | 2,316 | 14,144 | 4.15285 | 0.096718 | 0.719484 | 0.893325 | 1.023082 | 0.727386 | 0.702433 | 0.672489 | 0.639634 | 0.622999 | 0.607611 | 0 | 0.224134 | 0.161553 | 14,144 | 47 | 12,400 | 300.93617 | 0.586896 | 0.065116 | 0 | 0.097561 | 0 | 0.02439 | 0.942025 | 0 | 0 | 0 | 0.621642 | 0 | 0 | 1 | 0 | false | 0 | 0.780488 | 0 | 0.780488 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
771f9372457147c41b19d6afbb6bc7baf078936b | 9,856 | py | Python | libsaas/services/bitly/links.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 155 | 2015-01-27T15:17:59.000Z | 2022-02-20T00:14:08.000Z | libsaas/services/bitly/links.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 14 | 2015-01-12T08:22:37.000Z | 2021-06-16T19:49:31.000Z | libsaas/services/bitly/links.py | MidtownFellowship/libsaas | 541bb731b996b08ede1d91a235cb82895765c38a | [
"MIT"
] | 43 | 2015-01-28T22:41:45.000Z | 2021-09-21T04:44:26.000Z | from libsaas.services import base
from libsaas import http, parsers
class Link(base.Resource):
path = 'link'
def __init__(self, parent, link):
self.parent = parent
self.object_id = link
def get_url(self):
return '{0}/{1}'.format(self.parent.get_url(), self.path)
def _get(sel... | 36.102564 | 78 | 0.616477 | 1,303 | 9,856 | 4.598619 | 0.122026 | 0.015854 | 0.044393 | 0.04773 | 0.768692 | 0.757343 | 0.757343 | 0.747664 | 0.747664 | 0.740654 | 0 | 0.009376 | 0.307427 | 9,856 | 272 | 79 | 36.235294 | 0.868444 | 0.596084 | 0 | 0.393939 | 0 | 0 | 0.052594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.030303 | 0.015152 | 0.530303 | 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 |
7727daa17e0e618996c206936a474921da7af936 | 116,031 | py | Python | teaser/data/bindings/opengis/raw/_nsgroup.py | Ja98/TEASER | 1bb782a01ce1b38c4abecb9c6ecc4d59f1ba21a3 | [
"MIT"
] | 1 | 2018-10-22T07:21:15.000Z | 2018-10-22T07:21:15.000Z | teaser/data/bindings/opengis/raw/_nsgroup.py | Ja98/TEASER | 1bb782a01ce1b38c4abecb9c6ecc4d59f1ba21a3 | [
"MIT"
] | null | null | null | teaser/data/bindings/opengis/raw/_nsgroup.py | Ja98/TEASER | 1bb782a01ce1b38c4abecb9c6ecc4d59f1ba21a3 | [
"MIT"
] | null | null | null | # ./pyxb/bundles/opengis/raw/_nsgroup.py
# -*- coding: utf-8 -*-
# PyXB bindings for NGM:d16379a067651cb41378191b4775061fa96b7ead
# Generated 2017-01-09 16:11:10.920900 by PyXB version 1.2.5 using Python 3.5.2.final.0
# Group contents:
# Namespace http://www.w3.org/2001/SMIL20/ [xmlns:smil20]
# Namespace http://www.w3.... | 70.109366 | 359 | 0.772345 | 13,982 | 116,031 | 6.147761 | 0.026177 | 0.037111 | 0.051374 | 0.076223 | 0.908979 | 0.902778 | 0.891749 | 0.886468 | 0.864632 | 0.851532 | 0 | 0.037612 | 0.101542 | 116,031 | 1,654 | 360 | 70.151753 | 0.786933 | 0.10536 | 0 | 0.644421 | 1 | 0.284672 | 0.303635 | 0.268328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004171 | false | 0 | 0.01147 | 0 | 0.393118 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
91f1590714c0a4d81f49edd06b2cb3c81366b131 | 8,981 | py | Python | test/fstrings/nested1.py | abjugard/MagicPython | 2802ded681e0ab1a1057821c1da287147d639505 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/fstrings/nested1.py | abjugard/MagicPython | 2802ded681e0ab1a1057821c1da287147d639505 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/fstrings/nested1.py | abjugard/MagicPython | 2802ded681e0ab1a1057821c1da287147d639505 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | f'''
prefix {
foo(f"""
inner prefix
{ bar["q"] + f'insane{42 + 9000}stuff{def aaa(): pass}111'}
inner suffix
""")
} suffix
'''
f : meta.fstring.python, source.python, storage.type.string.python, string.interpolated.python, string.quoted.multi.p... | 126.492958 | 247 | 0.746465 | 1,103 | 8,981 | 6.077969 | 0.047144 | 0.21778 | 0.249702 | 0.305191 | 0.975984 | 0.974344 | 0.972703 | 0.967035 | 0.962709 | 0.957936 | 0 | 0.002298 | 0.127825 | 8,981 | 70 | 248 | 128.3 | 0.853568 | 0 | 0 | 0 | 0 | 0.090909 | 0.379237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.090909 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 12 |
625159eb73cde2315a43b3f8d856960ba6397960 | 1,308 | py | Python | test/test_get_content.py | Charlos16v/proyecto-ufer | fe0bc9dc6808e130dcde98602424ce0283ea2687 | [
"MIT"
] | null | null | null | test/test_get_content.py | Charlos16v/proyecto-ufer | fe0bc9dc6808e130dcde98602424ce0283ea2687 | [
"MIT"
] | null | null | null | test/test_get_content.py | Charlos16v/proyecto-ufer | fe0bc9dc6808e130dcde98602424ce0283ea2687 | [
"MIT"
] | null | null | null | from src.services.crawler.get_content import get_content
import pytest
@pytest.mark.get_content
def test_get_content():
assert get_content("https://charlos16v.github.io/proyecto-ufer/tests/ufer_sample.html") == '<body> <ul id="extras"> <li>WiFi</li> <li>Bluetooth</li> <li>T... | 163.5 | 1,048 | 0.60474 | 182 | 1,308 | 4.307692 | 0.5 | 0.035714 | 0.038265 | 0.053571 | 0.142857 | 0.142857 | 0.142857 | 0.142857 | 0.142857 | 0.142857 | 0 | 0.021297 | 0.210245 | 1,308 | 8 | 1,049 | 163.5 | 0.736689 | 0 | 0 | 0 | 0 | 0.166667 | 0.856379 | 0.156608 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
6255b95ac2b313c2a2a6feaac37e7911b4255766 | 5,687 | py | Python | pyecharts/temple.py | lyon916/pyecharts | 40efd119ec7bccb4bc3d5dab985ec7aca2936911 | [
"MIT"
] | null | null | null | pyecharts/temple.py | lyon916/pyecharts | 40efd119ec7bccb4bc3d5dab985ec7aca2936911 | [
"MIT"
] | null | null | null | pyecharts/temple.py | lyon916/pyecharts | 40efd119ec7bccb4bc3d5dab985ec7aca2936911 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#coding=utf-8
_temple_wd = """
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ECharts</title>
<script src='https://cdn.bootcss.com/echarts/3.2.2/echarts.simple.js'></script>
<script type="text/javascript" src="http://data-visual.cn/datav/src/js/echarts/extension/ech... | 47 | 128 | 0.672587 | 739 | 5,687 | 5.169148 | 0.143437 | 0.090052 | 0.157592 | 0.270157 | 0.87801 | 0.872251 | 0.872251 | 0.856283 | 0.846073 | 0.846073 | 0 | 0.018701 | 0.12555 | 5,687 | 121 | 129 | 47 | 0.749447 | 0.005627 | 0 | 0.466667 | 0 | 0.409524 | 0.989034 | 0.228157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
625ee8f45258bd9c7a7eb833ece9faa96c16c1df | 58 | py | Python | test_app.py | miley-wangrx/project2 | f28cb5130d00f44553a7541b83571076e556b959 | [
"CC0-1.0"
] | null | null | null | test_app.py | miley-wangrx/project2 | f28cb5130d00f44553a7541b83571076e556b959 | [
"CC0-1.0"
] | null | null | null | test_app.py | miley-wangrx/project2 | f28cb5130d00f44553a7541b83571076e556b959 | [
"CC0-1.0"
] | null | null | null | from app import calculate_bmi
def test_bmi():
return | 11.6 | 29 | 0.741379 | 9 | 58 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 5 | 30 | 11.6 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
626a89b5cc3b5919474712f0f967d083d16329c4 | 17,893 | py | Python | sdk/python/pulumi_aws/batch/scheduling_policy.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/batch/scheduling_policy.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/batch/scheduling_policy.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 47.842246 | 339 | 0.655675 | 2,059 | 17,893 | 5.504128 | 0.093249 | 0.081532 | 0.058061 | 0.071649 | 0.832789 | 0.818406 | 0.803935 | 0.793965 | 0.789464 | 0.781611 | 0 | 0.003591 | 0.237411 | 17,893 | 373 | 340 | 47.970509 | 0.82697 | 0.419717 | 0 | 0.713542 | 1 | 0 | 0.105235 | 0.042329 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0.005208 | 0.036458 | 0.015625 | 0.286458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6290093854a29a3b8ed76c36bcf3713250319265 | 8,079 | py | Python | test/test_keepfiles.py | AlanRosenthal/git-repo-move | 2da510256e0bba5efdfc1f92bf43477b92c1ba80 | [
"MIT"
] | 4 | 2021-01-17T14:44:48.000Z | 2021-03-17T16:20:25.000Z | test/test_keepfiles.py | AlanRosenthal/git-repo-move | 2da510256e0bba5efdfc1f92bf43477b92c1ba80 | [
"MIT"
] | 2 | 2021-03-21T14:21:04.000Z | 2021-03-21T14:22:15.000Z | test/test_keepfiles.py | AlanRosenthal/git-repo-move | 2da510256e0bba5efdfc1f92bf43477b92c1ba80 | [
"MIT"
] | null | null | null | from git_repo_move.keepfiles import KeepFiles
def test_single_file_flat():
files = ["path/to/test1.txt"]
keep_files = KeepFiles(
keep_files=files,
keep_directories=(),
is_dir_structure_flat=True,
final_directory="the/final/countdown",
)
assert keep_files.commands == [
... | 35.590308 | 97 | 0.657012 | 1,057 | 8,079 | 4.842006 | 0.046358 | 0.073857 | 0.18601 | 0.214928 | 0.969519 | 0.964635 | 0.94705 | 0.938648 | 0.923994 | 0.919109 | 0 | 0.048758 | 0.207947 | 8,079 | 226 | 98 | 35.747788 | 0.751055 | 0.003218 | 0 | 0.668342 | 0 | 0.055276 | 0.435722 | 0.293131 | 0 | 0 | 0 | 0 | 0.130653 | 1 | 0.065327 | false | 0 | 0.005025 | 0 | 0.070352 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
65b03c3d7dc4d01e65150d6e51e0c3ee4fe62aaa | 3,136 | py | Python | materials/migrations/0074_auto_20190422_2138.py | mgovoni-devel/MatD3 | 5b68d147f886bce427f92bb560159e62cec2d4e7 | [
"BSD-2-Clause-FreeBSD"
] | 7 | 2019-09-14T07:24:09.000Z | 2021-06-15T16:15:05.000Z | materials/migrations/0074_auto_20190422_2138.py | mgovoni-devel/MatD3 | 5b68d147f886bce427f92bb560159e62cec2d4e7 | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2019-12-05T01:49:19.000Z | 2021-06-23T18:34:51.000Z | materials/migrations/0074_auto_20190422_2138.py | mgovoni-devel/MatD3 | 5b68d147f886bce427f92bb560159e62cec2d4e7 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2019-11-06T21:16:57.000Z | 2019-11-30T10:51:44.000Z | # Generated by Django 2.1.7 on 2019-04-23 01:38
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('materials', '0073_remove_dataset_has_files'),
]
operations = [
migrations.AlterModelOptions(
name='... | 33.361702 | 74 | 0.580357 | 268 | 3,136 | 6.708955 | 0.227612 | 0.091769 | 0.158509 | 0.241935 | 0.735261 | 0.735261 | 0.708009 | 0.708009 | 0.708009 | 0.708009 | 0 | 0.010096 | 0.305166 | 3,136 | 93 | 75 | 33.72043 | 0.815053 | 0.014349 | 0 | 0.701149 | 1 | 0 | 0.109744 | 0.009388 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022989 | 0 | 0.057471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
65c915feb52438728a688a1b6696b7392a9cd046 | 2,252 | py | Python | tests/test_core.py | yasufumy/seqlabel | 6189d849a55980d99df436a88ce7a1a5fcb74671 | [
"MIT"
] | 4 | 2021-10-04T12:59:41.000Z | 2022-03-31T07:03:09.000Z | tests/test_core.py | yasufumy/seqlabel | 6189d849a55980d99df436a88ce7a1a5fcb74671 | [
"MIT"
] | null | null | null | tests/test_core.py | yasufumy/seqlabel | 6189d849a55980d99df436a88ce7a1a5fcb74671 | [
"MIT"
] | null | null | null | import pytest
from seqlabel.core import Entity, Text, TokenizedText
@pytest.mark.parametrize(
"start_offset,end_offset,expected",
[(3, 5, True), (0, 9, True), (0, 11, True), (0, 0, True), (-1, 5, False), (3, 12, False)],
)
def test_text_validate_offsets(text_ja: Text, start_offset: int, end_offset: int, expe... | 34.121212 | 112 | 0.722913 | 323 | 2,252 | 4.73065 | 0.151703 | 0.151178 | 0.128272 | 0.183246 | 0.819372 | 0.754581 | 0.700262 | 0.700262 | 0.700262 | 0.687827 | 0 | 0.025323 | 0.140764 | 2,252 | 65 | 113 | 34.646154 | 0.764341 | 0 | 0 | 0.4 | 0 | 0 | 0.091474 | 0.090142 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.14 | false | 0 | 0.04 | 0 | 0.18 | 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 |
65df5d6e333296e6e7019d98e3bd25c3dfb60dfd | 11,461 | py | Python | src/resnet_blocks.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 2 | 2021-09-28T19:49:29.000Z | 2021-10-04T07:49:04.000Z | src/resnet_blocks.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | null | null | null | src/resnet_blocks.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 1 | 2021-11-22T09:27:18.000Z | 2021-11-22T09:27:18.000Z | ## ResNet Blocks and SE Blocks
import torch.nn as nn
import torch
import torch.nn.functional as F
import math
def conv3x3(in_planes, out_planes, stride=1):
"""3x3 convolution with padding"""
return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride,
padding=1, bias=False)
... | 30.726542 | 99 | 0.516883 | 1,320 | 11,461 | 4.426515 | 0.09697 | 0.058703 | 0.041075 | 0.033544 | 0.864624 | 0.864624 | 0.85504 | 0.843916 | 0.839637 | 0.839637 | 0 | 0.026888 | 0.370474 | 11,461 | 372 | 100 | 30.80914 | 0.782952 | 0.080359 | 0 | 0.863309 | 0 | 0 | 0.00521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053957 | false | 0 | 0.014388 | 0 | 0.143885 | 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 |
65e441e4f223d1a9b4c434c5cda9d2b8202df8d0 | 33,486 | py | Python | sdk/python/pulumi_gcp/filestore/instance.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/filestore/instance.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/filestore/instance.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 41.545906 | 169 | 0.6136 | 3,712 | 33,486 | 5.391703 | 0.072468 | 0.087389 | 0.073449 | 0.064855 | 0.895273 | 0.878835 | 0.854802 | 0.838963 | 0.830019 | 0.818777 | 0 | 0.004363 | 0.281252 | 33,486 | 805 | 170 | 41.597516 | 0.827198 | 0.414322 | 0 | 0.737705 | 1 | 0 | 0.100687 | 0.016465 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15847 | false | 0.002732 | 0.019126 | 0 | 0.273224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
02a9cbddf8b2a9157a5604f0747a8b6dc72c4f65 | 11,586 | py | Python | Models/CU_Net.py | kabbas570/Pyramid-Based-Multi-Scale-Encoder-Decoder-Network-for-Medical-Image-Segmentation | af507397b742b293f2090215a4dcc6fd617f505a | [
"MIT"
] | 3 | 2020-12-16T05:47:12.000Z | 2022-01-25T14:51:06.000Z | Models/CU_Net.py | kabbas570/Pyramid-Based-Multi-Scale-Encoder-Decoder-Network-for-Medical-Image-Segmentation | af507397b742b293f2090215a4dcc6fd617f505a | [
"MIT"
] | null | null | null | Models/CU_Net.py | kabbas570/Pyramid-Based-Multi-Scale-Encoder-Decoder-Network-for-Medical-Image-Segmentation | af507397b742b293f2090215a4dcc6fd617f505a | [
"MIT"
] | 1 | 2021-11-06T23:54:25.000Z | 2021-11-06T23:54:25.000Z | import tensorflow.keras as keras
def CU_net():
inputs = keras.layers.Input((384,384,3))
conv1 = keras.layers.Conv2D(32, 3, activation = 'relu', padding = 'same', kernel_initializer = 'he_normal')(inputs)
conv1=keras.layers.BatchNormalization()(conv1)
conv1 = keras.layers.Conv2D(32, 3, activation = 'relu... | 67.754386 | 157 | 0.687036 | 1,417 | 11,586 | 5.525759 | 0.055046 | 0.198084 | 0.132439 | 0.188378 | 0.945211 | 0.902043 | 0.902043 | 0.897829 | 0.883653 | 0.872031 | 0 | 0.067685 | 0.146901 | 11,586 | 171 | 158 | 67.754386 | 0.724504 | 0 | 0 | 0.613139 | 0 | 0 | 0.087771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007299 | false | 0 | 0.007299 | 0 | 0.021898 | 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 |
02e2b394cf345b5bb4e3efbd271b6961413149c7 | 1,811 | py | Python | Ch_7_Mangle Data Like a Pro/demo_of_string_output_alignment.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | 1 | 2020-07-21T08:34:08.000Z | 2020-07-21T08:34:08.000Z | Ch_7_Mangle Data Like a Pro/demo_of_string_output_alignment.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | null | null | null | Ch_7_Mangle Data Like a Pro/demo_of_string_output_alignment.py | brianchiang-tw/Introducing_Python | 557fcddb6329741a177d6ee1d24122b36e106235 | [
"MIT"
] | null | null | null | n = 42
f = -7.03
s = 'string cheese'
# 42 -7.030000 string cheese
print('%d %f %s'% (n, f, s) )
# align to the right
# 42 -7.030000 string cheese
print('%10d %10f %10s'%(n, f, s) )
# align to the right with sign
# +42 -7.030000 string cheese
print('%+10d %+10f %+10s'%(n, f, s) )
# align to the left
#... | 25.871429 | 69 | 0.525124 | 321 | 1,811 | 2.962617 | 0.137072 | 0.227129 | 0.041009 | 0.157729 | 0.819138 | 0.772871 | 0.726604 | 0.680336 | 0.680336 | 0.680336 | 0 | 0.174066 | 0.216455 | 1,811 | 70 | 70 | 25.871429 | 0.496124 | 0.426284 | 0 | 0 | 0 | 0 | 0.384536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.818182 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 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 | 1 | 0 | 7 |
02fa3dae6f4f4934c13e83f0021d64ee104b1fab | 89 | py | Python | peakingduck/plotting/__init__.py | fispact/peakingduck | 748cfa2341710d99083db950a2d66ffb139eecf2 | [
"MIT"
] | 5 | 2020-12-26T17:49:24.000Z | 2021-05-21T03:10:45.000Z | peakingduck/plotting/__init__.py | fispact/peakingduck | 748cfa2341710d99083db950a2d66ffb139eecf2 | [
"MIT"
] | 18 | 2020-01-28T20:38:48.000Z | 2020-03-06T16:34:48.000Z | peakingduck/plotting/__init__.py | thomasms/peakingduck | 748cfa2341710d99083db950a2d66ffb139eecf2 | [
"MIT"
] | 5 | 2020-03-16T16:21:35.000Z | 2022-02-13T09:09:40.000Z | from peakingduck.plotting.helpers import *
from peakingduck.plotting.plotadaptor import * | 44.5 | 46 | 0.853933 | 10 | 89 | 7.6 | 0.6 | 0.394737 | 0.605263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 89 | 2 | 46 | 44.5 | 0.926829 | 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 |
b8941361e18143321cfa540abb6b6c957dfcaf37 | 166 | py | Python | msal/oauth2cli/__init__.py | dsanghan/microsoft-authentication-library-for-python | 9e122eeb4cd1224132eb06001f9d88939a996f8e | [
"MIT"
] | null | null | null | msal/oauth2cli/__init__.py | dsanghan/microsoft-authentication-library-for-python | 9e122eeb4cd1224132eb06001f9d88939a996f8e | [
"MIT"
] | 1 | 2021-06-07T17:48:11.000Z | 2021-06-07T18:05:15.000Z | msal/oauth2cli/__init__.py | dsanghan/microsoft-authentication-library-for-python | 9e122eeb4cd1224132eb06001f9d88939a996f8e | [
"MIT"
] | 1 | 2020-06-05T21:11:58.000Z | 2020-06-05T21:11:58.000Z | __version__ = "0.3.0"
from .oidc import Client
from .assertion import JwtAssertionCreator
from .assertion import JwtSigner # Obsolete. For backward compatibility.
| 23.714286 | 73 | 0.795181 | 20 | 166 | 6.4 | 0.7 | 0.203125 | 0.296875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.138554 | 166 | 6 | 74 | 27.666667 | 0.874126 | 0.222892 | 0 | 0 | 0 | 0 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b224dc86b9cad05a69bffa7f61f2921b311771f0 | 235 | py | Python | tests/__init__.py | JacobChesslo/random-password | ed1d87c53d144a408436322e25251e03ccb488d7 | [
"MIT"
] | 1 | 2021-11-17T01:34:18.000Z | 2021-11-17T01:34:18.000Z | tests/__init__.py | JacobChesslo/random-password | ed1d87c53d144a408436322e25251e03ccb488d7 | [
"MIT"
] | null | null | null | tests/__init__.py | JacobChesslo/random-password | ed1d87c53d144a408436322e25251e03ccb488d7 | [
"MIT"
] | null | null | null | import unittest
from tests.test_utils import TestToBool, TestToInt
from tests.test_password import TestPassword
from tests.test_generate_random_password import TestGenerateRandomPassword
if __name__ == '__main__':
unittest.main()
| 29.375 | 74 | 0.842553 | 28 | 235 | 6.607143 | 0.571429 | 0.145946 | 0.210811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 235 | 7 | 75 | 33.571429 | 0.880952 | 0 | 0 | 0 | 1 | 0 | 0.034043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
b24af446588fa7ad12532e6a1b5e9e737be5a2d8 | 137 | py | Python | app/tests/test_api.py | Emialcaraz/deepvision-fullstack | 7ddc08c27f3b996b3e15e03d77ead413b16a6a4e | [
"MIT"
] | 1 | 2020-08-25T15:39:52.000Z | 2020-08-25T15:39:52.000Z | app/tests/test_api.py | Emialcaraz/deepvision-fullstack | 7ddc08c27f3b996b3e15e03d77ead413b16a6a4e | [
"MIT"
] | null | null | null | app/tests/test_api.py | Emialcaraz/deepvision-fullstack | 7ddc08c27f3b996b3e15e03d77ead413b16a6a4e | [
"MIT"
] | null | null | null | from app.apis.api_a.mainmod import main_func as main_func_a
from app.apis.api_b.mainmod import main_func as main_func_b
#test api to do | 27.4 | 59 | 0.824818 | 30 | 137 | 3.5 | 0.466667 | 0.304762 | 0.209524 | 0.266667 | 0.590476 | 0.590476 | 0.590476 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 137 | 5 | 60 | 27.4 | 0.875 | 0.10219 | 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 |
b25f32c0c2c13c8ac4dfe392b857762ee4e7b991 | 349 | py | Python | test/input/100.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/input/100.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/input/100.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | (some_really_long_variable_name_you_should_never_use_1,
some_really_long_variable_name_you_should_never_use_2,
some_really_long_variable_name_you_should_never_use_3) = (1, 2, 3)
print(some_really_long_variable_name_you_should_never_use_1,
some_really_long_variable_name_you_should_never_use_2,
some_really_long_variable_... | 49.857143 | 66 | 0.934097 | 64 | 349 | 4.25 | 0.203125 | 0.220588 | 0.308824 | 0.485294 | 0.970588 | 0.970588 | 0.970588 | 0.970588 | 0.970588 | 0.970588 | 0 | 0.026549 | 0.028653 | 349 | 6 | 67 | 58.166667 | 0.775811 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
b27a5c4978de1742391ec1a236bc89b1d55c8c0f | 39,920 | py | Python | tests/tagged.py | nabilahmed739/brightway2-analyzer | f5735a63f0b438c7f2ba015b9357a64a3dcbd109 | [
"BSD-3-Clause"
] | 1 | 2022-02-16T11:10:32.000Z | 2022-02-16T11:10:32.000Z | tests/tagged.py | nabilahmed739/brightway2-analyzer | f5735a63f0b438c7f2ba015b9357a64a3dcbd109 | [
"BSD-3-Clause"
] | 14 | 2020-03-03T09:17:04.000Z | 2022-03-29T09:52:21.000Z | tests/tagged.py | brightway-lca/brightway2-analyzer-copy | f1dd6ba866d8bfd4faad2912cdde7a5f916b4521 | [
"BSD-3-Clause"
] | 2 | 2020-11-19T14:36:09.000Z | 2022-02-16T11:14:59.000Z | from bw2analyzer.tagged import (
traverse_tagged_databases,
multi_traverse_tagged_databases,
get_cum_impact,
get_multi_cum_impact,
)
from bw2data import Database, Method, get_activity
from bw2data.tests import bw2test
import pytest
@pytest.fixture
@bw2test
def tagged_fixture():
Database("biosphere... | 37.660377 | 95 | 0.266157 | 1,990 | 39,920 | 5.196985 | 0.050754 | 0.099304 | 0.141462 | 0.113711 | 0.929801 | 0.909785 | 0.897505 | 0.867627 | 0.866273 | 0.847418 | 0 | 0.032049 | 0.602154 | 39,920 | 1,059 | 96 | 37.69594 | 0.619129 | 0.005261 | 0 | 0.681287 | 0 | 0 | 0.186373 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 1 | 0.010721 | false | 0.000975 | 0.003899 | 0 | 0.01462 | 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 |
a22bc1366821acc4a10f0583bc2ecdad4a6fb17f | 31 | py | Python | Project4/test.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | 1 | 2022-01-12T21:48:23.000Z | 2022-01-12T21:48:23.000Z | Project4/test.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | Project4/test.py | spencerperley/CPE_101 | 9ae3c5a0042780f824de5edee275b35cdb0bbaec | [
"MIT"
] | null | null | null | a = [1,2,3,4,5]
print(a[-1::]) | 10.333333 | 15 | 0.419355 | 9 | 31 | 1.444444 | 0.777778 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.129032 | 31 | 3 | 16 | 10.333333 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
a2f9faa97fdd11514e3dd2b9e0297eea19738118 | 3,653 | py | Python | pygdp/feature_coverage.py | jiwalker-usgs/pyGDP | dca4789fb0c53c889d6fa1b38ec867bc939a2d04 | [
"CC0-1.0"
] | null | null | null | pygdp/feature_coverage.py | jiwalker-usgs/pyGDP | dca4789fb0c53c889d6fa1b38ec867bc939a2d04 | [
"CC0-1.0"
] | null | null | null | pygdp/feature_coverage.py | jiwalker-usgs/pyGDP | dca4789fb0c53c889d6fa1b38ec867bc939a2d04 | [
"CC0-1.0"
] | null | null | null | from pygdp import _execute_request
from pygdp import _get_geotype
def submitFeatureCategoricalGridCoverage(geoType, dataSetURI, varID, attribute='the_geom', value=None, gmlIDs=None, verbose=False,
coverage='true', delim='COMMA', WFS_URL=None, outputfname=None, sleepSecs=10):
... | 50.736111 | 206 | 0.703258 | 334 | 3,653 | 7.5 | 0.203593 | 0.019162 | 0.03513 | 0.033533 | 0.846707 | 0.846707 | 0.833134 | 0.817166 | 0.817166 | 0.800399 | 0 | 0.002715 | 0.193266 | 3,653 | 71 | 207 | 51.450704 | 0.847302 | 0.058582 | 0 | 0.764706 | 0 | 0 | 0.191886 | 0.114895 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.039216 | 0 | 0.27451 | 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 |
0c1fbe21c29066d9a9007dc9d13737fca0525e8a | 38,031 | py | Python | suod/utils/utility.py | hsw2012s/temp | 89ad53616e8a93cd5f4598cb4525aa4e6c9274eb | [
"BSD-2-Clause"
] | 1 | 2020-09-09T02:59:17.000Z | 2020-09-09T02:59:17.000Z | suod/utils/utility.py | DreamtaleCore/SUOD | 353aeaf8d5e5c338f94686e73a8a0fec88670700 | [
"BSD-2-Clause"
] | null | null | null | suod/utils/utility.py | DreamtaleCore/SUOD | 353aeaf8d5e5c338f94686e73a8a0fec88670700 | [
"BSD-2-Clause"
] | null | null | null | # Author: Yue Zhao <zhaoy@cmu.edu>
# License: MIT
import numpy as np
from scipy.special import erf
from sklearn.preprocessing import MinMaxScaler
from pyod.models.iforest import IForest
from pyod.models.lof import LOF
from pyod.models.ocsvm import OCSVM
from pyod.models.pca import PCA
from pyod.models.knn import KNN
f... | 45.600719 | 79 | 0.70737 | 3,808 | 38,031 | 6.932248 | 0.068015 | 0.590954 | 0.128532 | 0.295477 | 0.893742 | 0.891583 | 0.890636 | 0.888817 | 0.886393 | 0.886393 | 0 | 0.030411 | 0.194157 | 38,031 | 833 | 80 | 45.655462 | 0.830946 | 0.069785 | 0 | 0.899557 | 0 | 0 | 0.006098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005908 | false | 0 | 0.017725 | 0 | 0.031019 | 0.001477 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0c291e4e268af0f7f35ce2de06b84d9a0f6e5fac | 314,480 | py | Python | mltoscm/parser.py | thautwarm/ml-to-scheme | a3e4ec46444521cb85830ebd45fa2c8a215b571a | [
"MIT"
] | 8 | 2019-10-28T16:00:53.000Z | 2019-10-30T11:35:24.000Z | mltoscm/parser.py | thautwarm/ml-to-scheme | a3e4ec46444521cb85830ebd45fa2c8a215b571a | [
"MIT"
] | null | null | null | mltoscm/parser.py | thautwarm/ml-to-scheme | a3e4ec46444521cb85830ebd45fa2c8a215b571a | [
"MIT"
] | null | null | null | # this file is auto-generated by RBNF.hs and the Python package rbnf-rts
from rbnf_rts.rbnf_linker import link
from rbnf_rts.utils import ImmutableMap
from rbnf_rts.lexical import *
__all__ = ['lexicals', 'run_lexer', 'mk_parser']
(lexicals, run_lexer) = lexer(r(number='[-+]?[0-9]+(\\.[eE][-+]?\\d+)?'), r(space='\\s')... | 46.575829 | 1,620 | 0.383617 | 33,634 | 314,480 | 2.978801 | 0.006452 | 0.062961 | 0.033886 | 0.039366 | 0.97338 | 0.970386 | 0.959696 | 0.943078 | 0.941201 | 0.939155 | 0 | 0.078357 | 0.563708 | 314,480 | 6,751 | 1,621 | 46.582728 | 0.651857 | 0.000223 | 0 | 0.942463 | 1 | 0.00015 | 0.012347 | 0.000528 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010938 | false | 0 | 0.000599 | 0 | 0.022475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a744c21e0743174ed1c0d9f3db3dcfafabd99c1b | 14,863 | py | Python | src/other_calls/call_gas.py | CCC-NULS/nulspy-requests | 7c93c42d98ec2849bdfe42589746ebd10a3f618f | [
"MIT"
] | null | null | null | src/other_calls/call_gas.py | CCC-NULS/nulspy-requests | 7c93c42d98ec2849bdfe42589746ebd10a3f618f | [
"MIT"
] | 3 | 2020-06-06T00:03:27.000Z | 2020-07-06T21:02:49.000Z | src/other_calls/call_gas.py | CCC-NULS/nulspy-requests | 7c93c42d98ec2849bdfe42589746ebd10a3f618f | [
"MIT"
] | null | null | null | #!/usr/bin/python3.7
import requests
import json
from src.libs.send_req import SendRequest
from src.user_inputs.address_list import Inputs
from src.libs.setup_log import SetupLogging
from src.user_inputs.settings_main import SettingsSet
from src.libs.setup_top import SetupTop
class CallGas(object):
def __init__... | 243.655738 | 12,869 | 0.951961 | 236 | 14,863 | 59.805085 | 0.487288 | 0.00248 | 0.002338 | 0.002409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.603478 | 0.032833 | 14,863 | 60 | 12,870 | 247.716667 | 0.378365 | 0.001278 | 0 | 0 | 0 | 0 | 0.889435 | 0.87623 | 0 | 1 | 0 | 0 | 0 | 1 | 0.081633 | false | 0.020408 | 0.142857 | 0 | 0.306122 | 0.061224 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a75979b097ee3162626e3c76b8fd1e80991e962e | 123 | py | Python | aether/replica/__init__.py | evanfloden/aether | 0dcc26900a5f869291c1e168e97aca0791ecf18d | [
"MIT"
] | 12 | 2017-08-08T13:46:00.000Z | 2021-06-17T07:22:41.000Z | aether/replica/__init__.py | evanfloden/aether | 0dcc26900a5f869291c1e168e97aca0791ecf18d | [
"MIT"
] | 3 | 2017-11-03T20:50:50.000Z | 2019-01-13T03:30:19.000Z | aether/replica/__init__.py | evanfloden/aether | 0dcc26900a5f869291c1e168e97aca0791ecf18d | [
"MIT"
] | 4 | 2017-10-16T02:43:18.000Z | 2019-01-13T03:09:34.000Z | from __future__ import absolute_import
from __future__ import print_function
from .networking import *
from .main import *
| 24.6 | 38 | 0.837398 | 16 | 123 | 5.8125 | 0.5 | 0.215054 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 39 | 30.75 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
a78972a5b7957ac0abb92e4baaac3c0705dd6a36 | 222 | py | Python | MuonAnalysis/MuonAssociators/python/patMuonsWithTrigger_8E29_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | MuonAnalysis/MuonAssociators/python/patMuonsWithTrigger_8E29_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | MuonAnalysis/MuonAssociators/python/patMuonsWithTrigger_8E29_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | print "MuonAnalysis.MuonAssociators.patMuonsWithTrigger_8E29_cff is deprecated.\nUse use MuonAnalysis.MuonAssociators.patMuonsWithTrigger_cff instead.\n"
from MuonAnalysis.MuonAssociators.patMuonsWithTrigger_cff import *
| 55.5 | 153 | 0.887387 | 22 | 222 | 8.772727 | 0.636364 | 0.419689 | 0.715026 | 0.507772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.054054 | 222 | 3 | 154 | 74 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.653153 | 0.490991 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 10 |
a7bf52e93db379dedc34e341ef60c55f1933a0a6 | 80 | py | Python | project/oauth/context_processors.py | yumike/djangolint | 249271739da6fb630587d83629ced5de10856f42 | [
"0BSD"
] | 4 | 2015-06-22T13:30:00.000Z | 2020-03-19T07:17:12.000Z | project/oauth/context_processors.py | netoxico/djangolint | 249271739da6fb630587d83629ced5de10856f42 | [
"0BSD"
] | 3 | 2020-02-12T01:17:37.000Z | 2021-06-10T20:37:44.000Z | project/oauth/context_processors.py | netoxico/djangolint | 249271739da6fb630587d83629ced5de10856f42 | [
"0BSD"
] | 1 | 2015-09-18T10:45:45.000Z | 2015-09-18T10:45:45.000Z | from .models import User
def user(request):
return {'user': request.user}
| 13.333333 | 33 | 0.6875 | 11 | 80 | 5 | 0.636364 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 5 | 34 | 16 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.05 | 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 |
ac2891b36ed979d02613310f876c720e417e93c8 | 738 | py | Python | tests/test_cases.py | jDan735/pyi18n | ac55f438c5f8f6126a44e6898d66dedc1734cb59 | [
"MIT"
] | null | null | null | tests/test_cases.py | jDan735/pyi18n | ac55f438c5f8f6126a44e6898d66dedc1734cb59 | [
"MIT"
] | null | null | null | tests/test_cases.py | jDan735/pyi18n | ac55f438c5f8f6126a44e6898d66dedc1734cb59 | [
"MIT"
] | null | null | null | def test_basic_case(__):
"""
{count:text.test_cases}
"""
assert __.text.text_with_cases(count=0) == "в бане нет пользователей"
assert __.text.text_with_cases(count=1) == "в бане 1 пользователь"
assert __.text.text_with_cases(count=3) == "в бане 3 пользователя"
assert __.text.text_with_cases... | 32.086957 | 73 | 0.684282 | 107 | 738 | 4.280374 | 0.186916 | 0.174672 | 0.244541 | 0.31441 | 0.838428 | 0.838428 | 0.838428 | 0.838428 | 0.838428 | 0.838428 | 0 | 0.023179 | 0.181572 | 738 | 22 | 74 | 33.545455 | 0.735099 | 0.063686 | 0 | 0.727273 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0.727273 | 1 | 0.181818 | false | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3bc21f36cd1de4009feb6fd8a5f08acfbb05920f | 2,634 | py | Python | tests/push/test_atoms.py | RedBeansAndRice/pyshgp | 99edc9f683af79fb04631881c27282c91fb33f84 | [
"MIT"
] | 51 | 2017-05-20T14:18:16.000Z | 2022-02-24T16:05:46.000Z | tests/push/test_atoms.py | RedBeansAndRice/pyshgp | 99edc9f683af79fb04631881c27282c91fb33f84 | [
"MIT"
] | 77 | 2017-04-04T05:11:45.000Z | 2021-11-17T03:05:36.000Z | tests/push/test_atoms.py | RedBeansAndRice/pyshgp | 99edc9f683af79fb04631881c27282c91fb33f84 | [
"MIT"
] | 19 | 2017-04-04T13:52:47.000Z | 2022-01-10T23:59:52.000Z | import pytest
from pyshgp.push.atoms import CodeBlock, Literal
from pyshgp.push.types import PushStr
class TestCodeBlock:
def test_with_code_inserted_at_point(self):
code_block = CodeBlock([
CodeBlock([
Literal(value="A", push_type=PushStr),
Literal(value="B",... | 32.121951 | 79 | 0.528094 | 271 | 2,634 | 4.889299 | 0.129151 | 0.226415 | 0.283019 | 0.215849 | 0.873208 | 0.855849 | 0.843774 | 0.843774 | 0.809057 | 0.777358 | 0 | 0.005276 | 0.352316 | 2,634 | 81 | 80 | 32.518519 | 0.771395 | 0 | 0 | 0.782609 | 0 | 0 | 0.009495 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 1 | 0.014493 | false | 0 | 0.043478 | 0 | 0.072464 | 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 |
3bf94ca073cfa6a243842857d6b73295b03b05c6 | 137 | py | Python | tests/services/blockchain_follower/handlers/test_power_down.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 10 | 2017-10-22T20:07:40.000Z | 2018-08-01T21:48:49.000Z | tests/services/blockchain_follower/handlers/test_power_down.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 81 | 2017-08-19T15:38:32.000Z | 2020-05-12T09:56:14.000Z | tests/services/blockchain_follower/handlers/test_power_down.py | dpays/dsocial-notifications | 32b1cdcd58d622407fd50206053c5b9735a56ba9 | [
"MIT"
] | 9 | 2017-09-19T07:12:20.000Z | 2021-05-25T17:09:27.000Z | # -*- coding: utf-8 -*-
from yo.services.blockchain_follower.handlers import handle_power_down
def test_handle_power_down():
pass
| 17.125 | 70 | 0.751825 | 19 | 137 | 5.105263 | 0.842105 | 0.226804 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.138686 | 137 | 7 | 71 | 19.571429 | 0.813559 | 0.153285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 8 |
3bfd716aa500c7d074f37b86dc85785700a64521 | 120 | py | Python | discord/asset.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/asset.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/asset.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | from disnake.asset import *
from disnake.asset import __dict__ as __original_dict__
locals().update(__original_dict__)
| 24 | 55 | 0.833333 | 16 | 120 | 5.375 | 0.5625 | 0.255814 | 0.372093 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 120 | 4 | 56 | 30 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
ce3e8cac395585a27c02e643039d75d00a2bb43f | 14,548 | py | Python | tests/test_ml_model.py | TalionSlade/elephas | 682cce4502e941cf1ce7a2eb04378fe2c0553bad | [
"MIT"
] | 1 | 2021-05-17T06:13:30.000Z | 2021-05-17T06:13:30.000Z | tests/test_ml_model.py | TalionSlade/elephas | 682cce4502e941cf1ce7a2eb04378fe2c0553bad | [
"MIT"
] | null | null | null | tests/test_ml_model.py | TalionSlade/elephas | 682cce4502e941cf1ce7a2eb04378fe2c0553bad | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from pyspark.ml import Pipeline
from pyspark.mllib.evaluation import MulticlassMetrics, RegressionMetrics
from pyspark.sql.types import DoubleType
from tensorflow.keras import optimizers
from tensorflow.keras.activations import relu
from tensorflow.keras.layers import Dense
from tensorf... | 39.967033 | 117 | 0.751031 | 1,895 | 14,548 | 5.454881 | 0.103958 | 0.103318 | 0.021283 | 0.017413 | 0.809713 | 0.800909 | 0.783786 | 0.775564 | 0.763665 | 0.761826 | 0 | 0.016538 | 0.152117 | 14,548 | 363 | 118 | 40.077135 | 0.821484 | 0.055128 | 0 | 0.78169 | 0 | 0 | 0.056304 | 0.012674 | 0 | 0 | 0 | 0 | 0.021127 | 1 | 0.045775 | false | 0 | 0.042254 | 0.003521 | 0.091549 | 0.017606 | 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 |
0244f2e1efc78a4d139e46e94c21be3f76c324b2 | 108 | py | Python | python-tutorial/003_number.py | alvachien/learning-notes | 502abf4734234ed3fde0a34b3b54aef738b2a639 | [
"MIT"
] | null | null | null | python-tutorial/003_number.py | alvachien/learning-notes | 502abf4734234ed3fde0a34b3b54aef738b2a639 | [
"MIT"
] | null | null | null | python-tutorial/003_number.py | alvachien/learning-notes | 502abf4734234ed3fde0a34b3b54aef738b2a639 | [
"MIT"
] | null | null | null | print("10 / 3 = ", 10 / 3)
print("9 / 3 = ", 9 / 3)
print("10 // 3 = ", 10 // 3)
print("10 % 3 = ", 10 % 3)
| 21.6 | 28 | 0.388889 | 20 | 108 | 2.1 | 0.2 | 0.428571 | 0.571429 | 0.714286 | 0.928571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0.296296 | 108 | 4 | 29 | 27 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
65f975c513535cb849a8c70865b5acd9e63195c8 | 13,323 | py | Python | tests/blockchain/test_dummychain.py | dachrillz/blockchain-implementation | 372bba1d5494a358ac608416b38663230f7b4712 | [
"MIT"
] | null | null | null | tests/blockchain/test_dummychain.py | dachrillz/blockchain-implementation | 372bba1d5494a358ac608416b38663230f7b4712 | [
"MIT"
] | 1 | 2018-11-28T08:47:19.000Z | 2018-12-01T04:55:55.000Z | tests/blockchain/test_dummychain.py | dachrillz/blockchain-implementation | 372bba1d5494a358ac608416b38663230f7b4712 | [
"MIT"
] | null | null | null | from unittest import TestCase
from src.blockchain.blockchain import BlockChain
from src.blockchain.blockexplorer import retrieve_all_unspent_transactions_from_transaction_hash, \
retrieve_all_unspent_transactions_from_public_key
from src.blockchain.transaction import create_complete_transaction
from src.mining.bl... | 39.41716 | 155 | 0.708024 | 1,303 | 13,323 | 6.71297 | 0.082118 | 0.0846 | 0.033612 | 0.03887 | 0.961701 | 0.9569 | 0.952441 | 0.924088 | 0.912427 | 0.897451 | 0 | 0.141648 | 0.210989 | 13,323 | 337 | 156 | 39.534125 | 0.690449 | 0.079712 | 0 | 0.862069 | 0 | 0 | 0.179206 | 0.176549 | 0 | 0 | 0 | 0.002967 | 0.073892 | 1 | 0.029557 | false | 0 | 0.024631 | 0 | 0.059113 | 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 |
5a2d7ac1001ed487a48350f775e6c705e83bcffa | 3,361 | py | Python | tool/tests/tests_admin.py | mikekeda/tools | fbd0f77a6e8adba49d2c2ba788fb24dea738a0fb | [
"MIT"
] | null | null | null | tool/tests/tests_admin.py | mikekeda/tools | fbd0f77a6e8adba49d2c2ba788fb24dea738a0fb | [
"MIT"
] | 15 | 2019-10-19T13:48:49.000Z | 2022-03-23T08:32:32.000Z | tool/tests/tests_admin.py | mikekeda/tools | fbd0f77a6e8adba49d2c2ba788fb24dea738a0fb | [
"MIT"
] | 1 | 2020-08-19T06:42:19.000Z | 2020-08-19T06:42:19.000Z | from tool.tests import BaseTestCase
class ToolAdminTest(BaseTestCase):
def test_admin_event(self):
self.client.login(username="testadmin", password=self.password)
resp = self.client.get("/admin/schedule/event/")
self.assertEqual(resp.status_code, 200)
self.assertTemplateUsed(resp, ... | 41.493827 | 71 | 0.674799 | 414 | 3,361 | 5.381643 | 0.086957 | 0.10772 | 0.100539 | 0.122083 | 0.951077 | 0.951077 | 0.951077 | 0.91158 | 0.91158 | 0.91158 | 0 | 0.017493 | 0.183576 | 3,361 | 80 | 72 | 42.0125 | 0.794461 | 0 | 0 | 0.587302 | 0 | 0 | 0.191312 | 0.111276 | 0 | 0 | 0 | 0 | 0.460317 | 1 | 0.126984 | false | 0.126984 | 0.015873 | 0 | 0.15873 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
5a70da84163423581c7f6e82110a20061d12c373 | 180,193 | py | Python | google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py | tmatsuo/python-securitycenter | dbb9311676003f452295848c49cbe97cb22c47b5 | [
"Apache-2.0"
] | null | null | null | google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py | tmatsuo/python-securitycenter | dbb9311676003f452295848c49cbe97cb22c47b5 | [
"Apache-2.0"
] | null | null | null | google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py | tmatsuo/python-securitycenter | dbb9311676003f452295848c49cbe97cb22c47b5 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.pr... | 42.558573 | 16,893 | 0.666841 | 18,560 | 180,193 | 6.182381 | 0.049838 | 0.068953 | 0.074182 | 0.087411 | 0.809081 | 0.760347 | 0.715595 | 0.653623 | 0.63025 | 0.6097 | 0 | 0.043353 | 0.241535 | 180,193 | 4,233 | 16,894 | 42.568627 | 0.796224 | 0.018935 | 0 | 0.717167 | 1 | 0.008116 | 0.389782 | 0.19235 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.009838 | 0.005903 | 0 | 0.005903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5a7f608994de17d74f69a0a8f7201d59e8300ed7 | 264 | py | Python | satsmooth/detect/__init__.py | jgrss/satsmooth | 9fa6de957eb1c938df070d2f3e6e7521a43778b3 | [
"MIT"
] | 5 | 2021-09-13T08:44:18.000Z | 2022-03-30T20:27:32.000Z | satsmooth/detect/__init__.py | jgrss/satsmooth | 9fa6de957eb1c938df070d2f3e6e7521a43778b3 | [
"MIT"
] | null | null | null | satsmooth/detect/__init__.py | jgrss/satsmooth | 9fa6de957eb1c938df070d2f3e6e7521a43778b3 | [
"MIT"
] | 1 | 2021-11-21T13:08:41.000Z | 2021-11-21T13:08:41.000Z | from ._signal import peaks_valleys1d, peaks_valleys2d, group_peaks_valleys2d, phenometrics1d, phenometrics2d
__all__ = ['peaks_valleys1d',
'peaks_valleys2d',
'group_peaks_valleys2d',
'phenometrics1d',
'phenometrics2d']
| 33 | 108 | 0.689394 | 22 | 264 | 7.681818 | 0.454545 | 0.331361 | 0.224852 | 0.331361 | 0.887574 | 0.887574 | 0.887574 | 0.887574 | 0.887574 | 0 | 0 | 0.04902 | 0.227273 | 264 | 7 | 109 | 37.714286 | 0.779412 | 0 | 0 | 0 | 0 | 0 | 0.299242 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ce49ec8122174839177b6e7eae047eccd68e4a99 | 7,963 | py | Python | GUITests.py | Naeviant/Battle-Game | f8c99dc7402617f78a3d4a26b67ccc80586c29e5 | [
"MIT"
] | null | null | null | GUITests.py | Naeviant/Battle-Game | f8c99dc7402617f78a3d4a26b67ccc80586c29e5 | [
"MIT"
] | null | null | null | GUITests.py | Naeviant/Battle-Game | f8c99dc7402617f78a3d4a26b67ccc80586c29e5 | [
"MIT"
] | null | null | null | import unittest
from guizero import Box, Picture, PushButton, Text, TextBox
from Driver import Driver
from Player import Player
from Widgets import Aligner, HoverablePushButton, Padding
# pylama:ignore=C0116
class DriverTest(unittest.TestCase):
def setUp(self):
self.driver = Driver(True)
self.dr... | 46.028902 | 121 | 0.685546 | 924 | 7,963 | 5.850649 | 0.103896 | 0.238254 | 0.341842 | 0.349242 | 0.846652 | 0.750462 | 0.67943 | 0.67943 | 0.649464 | 0.63411 | 0 | 0.02129 | 0.180083 | 7,963 | 172 | 122 | 46.296512 | 0.806709 | 0.010674 | 0 | 0.547297 | 0 | 0 | 0.004319 | 0 | 0 | 0 | 0 | 0 | 0.648649 | 1 | 0.087838 | false | 0 | 0.033784 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cecae47d19bd6329ec010c6220967aea55e3dc97 | 165 | py | Python | mpesa_api/admin.py | nephsir/daraja | 0deb9913ab863eadfc1a27f5e292b220f86a1bb7 | [
"MIT"
] | null | null | null | mpesa_api/admin.py | nephsir/daraja | 0deb9913ab863eadfc1a27f5e292b220f86a1bb7 | [
"MIT"
] | null | null | null | mpesa_api/admin.py | nephsir/daraja | 0deb9913ab863eadfc1a27f5e292b220f86a1bb7 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.contrib import admin
from .models import MpesaPayment
admin.site.register(MpesaPayment) | 18.333333 | 33 | 0.818182 | 22 | 165 | 6.136364 | 0.5 | 0.148148 | 0.251852 | 0.340741 | 0.414815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 9 | 33 | 18.333333 | 0.9375 | 0.157576 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0c732f63baa4c553d93ef1e0ba7fe08a5f9cab56 | 14,344 | py | Python | tests/test_live.py | traviscook21/rich | eafd8569de22a2753791950710662c2b19e04d4c | [
"MIT"
] | 33,622 | 2019-12-24T05:18:43.000Z | 2022-01-05T10:34:21.000Z | tests/test_live.py | traviscook21/rich | eafd8569de22a2753791950710662c2b19e04d4c | [
"MIT"
] | 1,126 | 2020-01-23T19:34:37.000Z | 2022-01-04T11:55:56.000Z | tests/test_live.py | traviscook21/rich | eafd8569de22a2753791950710662c2b19e04d4c | [
"MIT"
] | 1,261 | 2020-01-23T11:11:31.000Z | 2022-01-04T19:35:56.000Z | # encoding=utf-8
import io
import time
from typing import Optional
# import pytest
from rich.console import Console
from rich.text import Text
from rich.live import Live
def create_capture_console(
*, width: int = 60, height: int = 80, force_terminal: Optional[bool] = True
) -> Console:
return Console(
... | 82.436782 | 2,653 | 0.663344 | 3,038 | 14,344 | 3.100724 | 0.040816 | 0.18259 | 0.292144 | 0.364119 | 0.895117 | 0.878875 | 0.878344 | 0.866879 | 0.86465 | 0.86465 | 0 | 0.166791 | 0.155675 | 14,344 | 173 | 2,654 | 82.913295 | 0.611015 | 0.014989 | 0 | 0.557143 | 0 | 0.057143 | 0.69221 | 0.422663 | 0 | 0 | 0 | 0 | 0.092857 | 1 | 0.078571 | false | 0 | 0.042857 | 0.007143 | 0.128571 | 0.021429 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
0ca93adb4a715726b286e80ed5273c779292f493 | 165 | py | Python | core/views.py | acarl123/acuity | b82d189c3a3599f6b271c56eed302f55219605f8 | [
"MIT"
] | null | null | null | core/views.py | acarl123/acuity | b82d189c3a3599f6b271c56eed302f55219605f8 | [
"MIT"
] | null | null | null | core/views.py | acarl123/acuity | b82d189c3a3599f6b271c56eed302f55219605f8 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def home(request):
return render(request, "index.html")
def create(request):
return render(request, "new_patient.html") | 23.571429 | 46 | 0.745455 | 22 | 165 | 5.545455 | 0.636364 | 0.213115 | 0.311475 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139394 | 165 | 7 | 46 | 23.571429 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 0 | 7 |
0cac2feb950b8a51f738e4857c2e83df10041ffc | 34,240 | py | Python | guillotina/component/tests/test__api.py | diefenbach/guillotina | a8c7247fca8294752901f643b35c5ed1c5dee76d | [
"BSD-2-Clause"
] | null | null | null | guillotina/component/tests/test__api.py | diefenbach/guillotina | a8c7247fca8294752901f643b35c5ed1c5dee76d | [
"BSD-2-Clause"
] | null | null | null | guillotina/component/tests/test__api.py | diefenbach/guillotina | a8c7247fca8294752901f643b35c5ed1c5dee76d | [
"BSD-2-Clause"
] | null | null | null | ##############################################################################
#
# Copyright (c) 2012 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOF... | 35.518672 | 82 | 0.623481 | 3,519 | 34,240 | 5.882637 | 0.049446 | 0.050722 | 0.083329 | 0.076663 | 0.864934 | 0.831457 | 0.820057 | 0.789865 | 0.77803 | 0.76576 | 0 | 0.001597 | 0.286624 | 34,240 | 963 | 83 | 35.555556 | 0.845902 | 0.014048 | 0 | 0.785542 | 0 | 0 | 0.006728 | 0 | 0 | 0 | 0 | 0 | 0.104819 | 1 | 0.13494 | false | 0.114458 | 0.177108 | 0.012048 | 0.516867 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
0cbafc5036b9b0b140e8efa70f187cc72719f0e1 | 101 | py | Python | dectate/tests/test_sentinel.py | morepath/dectate | 511920acbeba5b070c532c9b0fa54b53c2baeb0a | [
"BSD-3-Clause"
] | 23 | 2016-03-24T20:13:43.000Z | 2021-08-10T05:16:41.000Z | dectate/tests/test_sentinel.py | morepath/dectate | 511920acbeba5b070c532c9b0fa54b53c2baeb0a | [
"BSD-3-Clause"
] | 46 | 2016-03-29T14:03:39.000Z | 2021-04-18T14:39:54.000Z | dectate/tests/test_sentinel.py | morepath/dectate | 511920acbeba5b070c532c9b0fa54b53c2baeb0a | [
"BSD-3-Clause"
] | 6 | 2016-04-06T14:08:36.000Z | 2020-04-19T14:22:38.000Z | from ..sentinel import NOT_FOUND
def test_not_found():
assert repr(NOT_FOUND) == "<NOT_FOUND>"
| 16.833333 | 43 | 0.712871 | 15 | 101 | 4.466667 | 0.6 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 101 | 5 | 44 | 20.2 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0cd243df860ba733e31904d5652aef579b9db9f2 | 1,886 | py | Python | brewery/migrations/0037_auto_20180128_1405.py | willjschmitt/joulia-webserver | 712decb749c2d1bda71af49ecab245378bf30078 | [
"FTL"
] | null | null | null | brewery/migrations/0037_auto_20180128_1405.py | willjschmitt/joulia-webserver | 712decb749c2d1bda71af49ecab245378bf30078 | [
"FTL"
] | 95 | 2016-08-04T01:59:37.000Z | 2021-06-10T18:41:46.000Z | brewery/migrations/0037_auto_20180128_1405.py | willjschmitt/joulia-webserver | 712decb749c2d1bda71af49ecab245378bf30078 | [
"FTL"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2018-01-28 22:05
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('brewery', '0036_hop_ingredients'),
]
operations = [
migrations.AddField(
... | 28.575758 | 49 | 0.546129 | 178 | 1,886 | 5.61236 | 0.269663 | 0.18018 | 0.23023 | 0.27027 | 0.80981 | 0.80981 | 0.80981 | 0.72973 | 0.722723 | 0.722723 | 0 | 0.031125 | 0.335631 | 1,886 | 65 | 50 | 29.015385 | 0.766161 | 0.036055 | 0 | 0.689655 | 1 | 0 | 0.131129 | 0.01157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.086207 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0b69f5ff821fd9f190c66b038223ee8d6c04a39a | 94,515 | py | Python | baselibs/python/openhpi_baselib/HpiGen.py | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 5 | 2018-12-18T01:32:53.000Z | 2021-11-15T10:41:48.000Z | baselibs/python/openhpi_baselib/HpiGen.py | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 34 | 2018-05-11T21:31:33.000Z | 2021-01-12T07:13:46.000Z | baselibs/python/openhpi_baselib/HpiGen.py | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 8 | 2018-08-27T22:48:44.000Z | 2022-03-15T03:49:55.000Z |
# -*- python -*-
#
# Copyright (C) 2012, Pigeon Point Systems
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This
# file and program are licensed under a BSD style license.... | 26.843226 | 88 | 0.610834 | 10,276 | 94,515 | 5.402199 | 0.046613 | 0.067876 | 0.070938 | 0.090285 | 0.852449 | 0.852305 | 0.850936 | 0.84065 | 0.830977 | 0.816944 | 0 | 0.000279 | 0.242342 | 94,515 | 3,520 | 89 | 26.850852 | 0.774934 | 0.087732 | 0 | 0.857193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00245 | 1 | 0.039902 | false | 0 | 0.0014 | 0.00035 | 0.246062 | 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 |
f06a76939be0711a13c8b11c4efe2288fc0ae732 | 2,651 | py | Python | plgx-esp-ui/polylogyx/dao/v1/carves_dao.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | null | null | null | plgx-esp-ui/polylogyx/dao/v1/carves_dao.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | null | null | null | plgx-esp-ui/polylogyx/dao/v1/carves_dao.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | 2 | 2021-11-12T10:25:02.000Z | 2022-03-30T06:33:52.000Z | from polylogyx.models import db, CarveSession, Node
from sqlalchemy import or_, and_, cast, desc
import sqlalchemy
def get_carves_by_node_id(node_id, searchterm=''):
return db.session.query(CarveSession).filter(CarveSession.node_id == node_id).filter(and_(Node.state!=Node.REMOVED, Node.state!=Node.DELETED)) \
... | 55.229167 | 202 | 0.680121 | 305 | 2,651 | 5.721311 | 0.167213 | 0.154728 | 0.059599 | 0.048138 | 0.828653 | 0.828653 | 0.828653 | 0.817192 | 0.817192 | 0.817192 | 0 | 0 | 0.140702 | 2,651 | 47 | 203 | 56.404255 | 0.766023 | 0 | 0 | 0.540541 | 0 | 0 | 0.038476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135135 | false | 0 | 0.081081 | 0.108108 | 0.378378 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
b2d90ee90334ac59f425a3d1bd9120aadc352481 | 90 | py | Python | marthe/__init__.py | lucfra/Marthe-TF | 86a2081cbd5efb26d16892e2a57d9889797eca77 | [
"MIT"
] | null | null | null | marthe/__init__.py | lucfra/Marthe-TF | 86a2081cbd5efb26d16892e2a57d9889797eca77 | [
"MIT"
] | null | null | null | marthe/__init__.py | lucfra/Marthe-TF | 86a2081cbd5efb26d16892e2a57d9889797eca77 | [
"MIT"
] | null | null | null | from marthe.marthe_alg import *
from marthe.optimizers import *
from marthe.utils import * | 30 | 31 | 0.811111 | 13 | 90 | 5.538462 | 0.461538 | 0.416667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 90 | 3 | 32 | 30 | 0.911392 | 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 |
652fa3eccbd6bf747dd0b50a2bbbe24202cf4391 | 144 | py | Python | 8KYU/better_than_average.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 8KYU/better_than_average.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 8KYU/better_than_average.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | from numpy import average
def better_than_average(class_points: list, your_points: int) -> bool:
return your_points > average(class_points) | 36 | 70 | 0.791667 | 21 | 144 | 5.142857 | 0.666667 | 0.222222 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 4 | 71 | 36 | 0.864 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
654d19ed6db21d628058f5c3857ef0f5ea544146 | 1,379 | py | Python | test/src/Syntax/Statements/if/if-elif-else-3.py | milliburn/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | 1 | 2019-01-22T02:58:04.000Z | 2019-01-22T02:58:04.000Z | test/src/Syntax/Statements/if/if-elif-else-3.py | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | test/src/Syntax/Statements/if/if-elif-else-3.py | roberth-k/llvmPy | d6fa3002e823fae00cf33d9b2ea480604681376c | [
"MIT"
] | null | null | null | # RUN: test-output.sh %s
x = 1
print("Test Case 1")
if x == 1:
print("A")
print("D")
# OUTPUT-LABEL: Test Case 1
# OUTPUT-NEXT: A
# OUTPUT-NEXT: D
print("Test Case 2")
if x != 1:
print("A")
print("D")
# OUTPUT-LABEL: Test Case 2
# OUTPUT-NEXT: D
print("Test Case 3")
if x == 1:
print("A")
else:
... | 11.211382 | 27 | 0.554025 | 242 | 1,379 | 3.157025 | 0.107438 | 0.188482 | 0.128272 | 0.106021 | 0.905759 | 0.905759 | 0.842932 | 0.823298 | 0.790576 | 0.515707 | 0 | 0.031609 | 0.24293 | 1,379 | 122 | 28 | 11.303279 | 0.700192 | 0.359681 | 0 | 0.79661 | 0 | 0 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.644068 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
330464afb0993e8019134dcbaafa4f47100de46d | 126 | py | Python | python_modules/dagster/dagster/experimental/__init__.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | 1 | 2021-07-03T09:05:58.000Z | 2021-07-03T09:05:58.000Z | python_modules/dagster/dagster/experimental/__init__.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | 1 | 2021-06-21T18:30:02.000Z | 2021-06-25T21:18:39.000Z | python_modules/dagster/dagster/experimental/__init__.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | null | null | null | from dagster.core.definitions.events import DynamicOutput
from dagster.core.definitions.output import DynamicOutputDefinition
| 42 | 67 | 0.888889 | 14 | 126 | 8 | 0.642857 | 0.196429 | 0.267857 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 126 | 2 | 68 | 63 | 0.949153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3327cf1463fab60fe71cdbe8e52e436f591a9009 | 176 | py | Python | pycurl_session/spider/__init__.py | glamas/pycurl_session | 290450c17ea459118bccf4112ac994456dc22f52 | [
"MIT"
] | 1 | 2022-01-10T10:11:24.000Z | 2022-01-10T10:11:24.000Z | pycurl_session/spider/__init__.py | glamas/pycurl_session | 290450c17ea459118bccf4112ac994456dc22f52 | [
"MIT"
] | null | null | null | pycurl_session/spider/__init__.py | glamas/pycurl_session | 290450c17ea459118bccf4112ac994456dc22f52 | [
"MIT"
] | null | null | null | from pycurl_session.spider.spider import Spider, RedisSpider
from pycurl_session.spider.request import Request, FormRequest
from pycurl_session.spider.schedule import Schedule
| 44 | 62 | 0.875 | 23 | 176 | 6.565217 | 0.391304 | 0.198676 | 0.337748 | 0.456954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 176 | 3 | 63 | 58.666667 | 0.932099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6823ecabb51ee9cbb317faf5dac39760c5cf7e14 | 1,062 | py | Python | src/ipyjulia_hacks/ipy/tests/test_magic.py | tkf/ipyjulia_hacks | f5d0e0f91da5a2bca7a987de2e634e04f88c76c4 | [
"MIT"
] | 2 | 2019-10-28T20:34:39.000Z | 2022-01-05T05:54:55.000Z | src/ipyjulia_hacks/ipy/tests/test_magic.py | tkf/ipyjulia_hacks | f5d0e0f91da5a2bca7a987de2e634e04f88c76c4 | [
"MIT"
] | 1 | 2019-09-17T13:58:31.000Z | 2019-09-17T20:26:13.000Z | src/ipyjulia_hacks/ipy/tests/test_magic.py | tkf/ipyjulia_hacks | f5d0e0f91da5a2bca7a987de2e634e04f88c76c4 | [
"MIT"
] | null | null | null | from textwrap import dedent
from ...core.wrappers import JuliaObject
def test_line_magic_simple(ipy_with_magic):
result = ipy_with_magic.run_cell(dedent("""
%julia :symbol
"""))
ans = result.result
assert isinstance(ans, JuliaObject)
assert str(ans) == "symbol"
def test_cell_magic_simple(ip... | 24.136364 | 51 | 0.675141 | 139 | 1,062 | 4.928058 | 0.208633 | 0.081752 | 0.140146 | 0.105109 | 0.872993 | 0.872993 | 0.872993 | 0.872993 | 0.872993 | 0.872993 | 0 | 0 | 0.198682 | 1,062 | 43 | 52 | 24.697674 | 0.804935 | 0 | 0 | 0.705882 | 0 | 0 | 0.160075 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.235294 | 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 |
68257b1bbf58d6b0af221f0a943ece7679aba615 | 9,634 | py | Python | src/the_tale/the_tale/accounts/third_party/tests/test_middleware.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/accounts/third_party/tests/test_middleware.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/accounts/third_party/tests/test_middleware.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
class MiddlewareTests(utils_testcase.TestCase):
def setUp(self):
super(MiddlewareTests, self).setUp()
game_logic.create_test_map()
self.account_1 = self.accounts_factory.create_account()
self.middleware = middleware.ThirdPartyMiddlewar... | 40.309623 | 158 | 0.639195 | 1,088 | 9,634 | 5.269301 | 0.105699 | 0.055643 | 0.062794 | 0.080237 | 0.90075 | 0.897436 | 0.889412 | 0.815454 | 0.800279 | 0.757021 | 0 | 0.005431 | 0.273718 | 9,634 | 238 | 159 | 40.478992 | 0.81392 | 0 | 0 | 0.80137 | 0 | 0 | 0.048791 | 0.04142 | 0 | 0 | 0 | 0 | 0.171233 | 1 | 0.157534 | false | 0 | 0.013699 | 0 | 0.184932 | 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 |
68559dc8f52225138bacfca1f9f35cd59243f846 | 64 | py | Python | src/views/__init__.py | elmagnificogi/sapic | 8831b205bc5cf8a659dc9a3e9bdee6b6fc1dad3c | [
"BSD-3-Clause"
] | 115 | 2019-12-30T11:56:37.000Z | 2021-01-16T11:29:43.000Z | src/views/__init__.py | elmagnificogi/sapic | 8831b205bc5cf8a659dc9a3e9bdee6b6fc1dad3c | [
"BSD-3-Clause"
] | 8 | 2020-01-02T15:29:47.000Z | 2020-07-22T02:37:10.000Z | src/views/__init__.py | elmagnificogi/sapic | 8831b205bc5cf8a659dc9a3e9bdee6b6fc1dad3c | [
"BSD-3-Clause"
] | 28 | 2020-01-07T06:46:25.000Z | 2020-11-20T08:49:46.000Z | from .front import bp as front_bp
from .api import bp as api_bp
| 21.333333 | 33 | 0.78125 | 14 | 64 | 3.428571 | 0.428571 | 0.333333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 2 | 34 | 32 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
689066d82ec192da3f1b4a00a950c11f35f32a92 | 180 | py | Python | server/repository/user_repository.py | c1c4/BotChatRoom | bb2d718721f4448c071605a16f92ab6c7a77f84b | [
"MIT"
] | null | null | null | server/repository/user_repository.py | c1c4/BotChatRoom | bb2d718721f4448c071605a16f92ab6c7a77f84b | [
"MIT"
] | null | null | null | server/repository/user_repository.py | c1c4/BotChatRoom | bb2d718721f4448c071605a16f92ab6c7a77f84b | [
"MIT"
] | null | null | null | from server.model.user import User
def find_user_bot(user_name: str, password: str):
return User.query.filter(User.user_name == user_name, User.password == password).first()
| 30 | 92 | 0.755556 | 28 | 180 | 4.678571 | 0.535714 | 0.183206 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 180 | 5 | 93 | 36 | 0.829114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.666667 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 8 |
689acaa5a80bcb43a1b1390ed33855d3d77937d4 | 21,849 | py | Python | google/cloud/bigquery/reservation/v1beta1/bigquery-reservation-v1beta1-py/google/cloud/bigquery/reservation_v1beta1/services/reservation_service/pagers.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/cloud/bigquery/reservation/v1beta1/bigquery-reservation-v1beta1-py/google/cloud/bigquery/reservation_v1beta1/services/reservation_service/pagers.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/cloud/bigquery/reservation/v1beta1/bigquery-reservation-v1beta1-py/google/cloud/bigquery/reservation_v1beta1/services/reservation_service/pagers.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 43.094675 | 106 | 0.68351 | 2,273 | 21,849 | 6.362077 | 0.08227 | 0.053108 | 0.043358 | 0.06846 | 0.939562 | 0.939562 | 0.936657 | 0.936657 | 0.93237 | 0.93237 | 0 | 0.005448 | 0.23548 | 21,849 | 506 | 107 | 43.179842 | 0.860273 | 0.473981 | 0 | 0.841122 | 0 | 0 | 0.007724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168224 | false | 0 | 0.009346 | 0.074766 | 0.308411 | 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 |
d7e8c8632675de49b16e166f4623ba1684585fd6 | 18,100 | py | Python | deutschland/smard/api/default_api.py | kiranmusze/deutschland | 86d8ead3f38ad88ad66bb338b9f5a8db06992344 | [
"Apache-2.0"
] | null | null | null | deutschland/smard/api/default_api.py | kiranmusze/deutschland | 86d8ead3f38ad88ad66bb338b9f5a8db06992344 | [
"Apache-2.0"
] | null | null | null | deutschland/smard/api/default_api.py | kiranmusze/deutschland | 86d8ead3f38ad88ad66bb338b9f5a8db06992344 | [
"Apache-2.0"
] | null | null | null | """
Bundesnetzagentur Strommarktdaten
Bundesnetzagentur Strommarktdaten # noqa: E501
The version of the OpenAPI document: 0.0.1
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from deutschland.smard.api_client import ApiClient, Endpoint as _Endpoin... | 45.137157 | 680 | 0.471436 | 1,525 | 18,100 | 5.417705 | 0.171148 | 0.029049 | 0.019366 | 0.016945 | 0.799927 | 0.782135 | 0.772089 | 0.759259 | 0.731179 | 0.731179 | 0 | 0.052313 | 0.415967 | 18,100 | 400 | 681 | 45.25 | 0.729259 | 0.352762 | 0 | 0.719595 | 1 | 0 | 0.219356 | 0.031749 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010135 | false | 0 | 0.02027 | 0 | 0.040541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d7f0b4454e34f196d53272e36b7fe8d0a4deb2ab | 1,272 | py | Python | pycity_calc/toolbox/mc_helpers/experiments/lhs_checker.py | RWTH-EBC/pyCity_calc | 99fd0dab7f9a9030fd84ba4715753364662927ec | [
"MIT"
] | 4 | 2020-06-22T14:14:25.000Z | 2021-11-08T11:47:01.000Z | pycity_calc/toolbox/mc_helpers/experiments/lhs_checker.py | RWTH-EBC/pyCity_calc | 99fd0dab7f9a9030fd84ba4715753364662927ec | [
"MIT"
] | 4 | 2019-08-28T19:42:28.000Z | 2019-08-28T19:43:44.000Z | pycity_calc/toolbox/mc_helpers/experiments/lhs_checker.py | RWTH-EBC/pyCity_calc | 99fd0dab7f9a9030fd84ba4715753364662927ec | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
"""
"""
from __future__ import division
import pyDOE
import matplotlib.pylab as plt
design = pyDOE.lhs(n=4, samples=100)
plt.hist(design[:, 0])
plt.hist(design[:, 1])
plt.hist(design[:, 2])
plt.hist(design[:, 3])
plt.show()
plt.close()
plt.plot(design[:, 0])
plt.plot(design[:,... | 16.96 | 63 | 0.640723 | 212 | 1,272 | 3.825472 | 0.160377 | 0.138101 | 0.256473 | 0.138101 | 0.861899 | 0.861899 | 0.861899 | 0.82984 | 0.82984 | 0.82984 | 0 | 0.042907 | 0.102201 | 1,272 | 74 | 64 | 17.189189 | 0.66725 | 0.025943 | 0 | 0.872727 | 0 | 0 | 0.021155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054545 | 0 | 0.054545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cc22712e2d355f947a3166c253beb2473c93a183 | 100 | py | Python | rpi_ad7606/__init__.py | bsumlin/rpi_ad7606 | 1fa285dbed8b392af8b823b2706c50ca971575b9 | [
"MIT"
] | 6 | 2019-12-13T09:18:44.000Z | 2021-02-05T15:17:20.000Z | build/lib/rpi_ad7606/__init__.py | andrasfuchs/rpi_ad7606 | b5655396fb48bb7d12199d37c8e6ed2d741107fa | [
"MIT"
] | 2 | 2019-07-18T10:13:52.000Z | 2019-07-18T11:29:40.000Z | rpi_ad7606/__init__.py | bsumlin/rpi_ad7606 | 1fa285dbed8b392af8b823b2706c50ca971575b9 | [
"MIT"
] | 2 | 2019-07-19T20:36:22.000Z | 2020-07-08T12:27:32.000Z | from rpi_ad7606.rpi_ad7606 import AD7606_SPI, AD7606_AB
from rpi_ad7606._version import __version__
| 33.333333 | 55 | 0.88 | 16 | 100 | 4.875 | 0.4375 | 0.346154 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21978 | 0.09 | 100 | 2 | 56 | 50 | 0.637363 | 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 | 1 | 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 |
0bfbac687869c717de142718c7a79aeabfb37122 | 4,300 | py | Python | RecoHI/ZDCRecHit/python/ZDC2018Gain_cfg.py | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | RecoHI/ZDCRecHit/python/ZDC2018Gain_cfg.py | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | RecoHI/ZDCRecHit/python/ZDC2018Gain_cfg.py | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
# ZDC 2018 PbPb run, gain for Fill7427
gainFill7427 = cms.VPSet(
cms.PSet(
object = cms.untracked.string('hZDCP_EM1'),
calib = cms.untracked.double(0.1)
),
cms.PSet(
object = cms.untracked.string('hZDCP_EM2'),
calib = cms.untracked.double(0.1)
),
cms.PSet... | 25 | 47 | 0.647209 | 581 | 4,300 | 4.728055 | 0.098107 | 0.358209 | 0.25992 | 0.351656 | 0.959956 | 0.950491 | 0.950491 | 0.950491 | 0.950491 | 0.950491 | 0 | 0.045622 | 0.179302 | 4,300 | 171 | 48 | 25.146199 | 0.732785 | 0.023256 | 0 | 0.909091 | 0 | 0 | 0.086749 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006061 | 0 | 0.006061 | 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 |
0410c5cbd770411f7e5db772a7a2c58560622058 | 30,590 | py | Python | examples/T-DISPLAY/proverbs/proverbs_font.py | Wind-stormger/st7789_mpy-1 | b583357a2b05763a36ee1364941c5a47f4804d30 | [
"MIT"
] | 153 | 2020-02-02T11:03:14.000Z | 2022-03-30T05:47:07.000Z | examples/T-DISPLAY/proverbs/proverbs_font.py | Wind-stormger/st7789_mpy-1 | b583357a2b05763a36ee1364941c5a47f4804d30 | [
"MIT"
] | 58 | 2020-04-11T23:23:02.000Z | 2022-03-26T20:45:23.000Z | examples/T-DISPLAY/proverbs/proverbs_font.py | Wind-stormger/st7789_mpy-1 | b583357a2b05763a36ee1364941c5a47f4804d30 | [
"MIT"
] | 50 | 2020-02-02T11:05:23.000Z | 2022-03-22T15:24:42.000Z | # -*- coding: utf-8 -*-
# Converted from NotoSansSC-Regular.otf using:
# ../../../utils/font2bitmap.py -s '万事起头难。熟能生巧。冰冻三尺,非一日之寒。三个臭皮匠,胜过诸葛亮。今日事,今日毕。师父领进门,修行在个人。一口吃不成胖子。欲速则不达。百闻不如一见。不入虎穴,焉得虎子。' NotoSansSC-Regular.otf 30
MAP = (
'皮口胜亮难成巧冰寒闻匠焉父起一生领入诸在百,之修个吃日穴今师不得'
'门虎速葛事。冻达尺行头非过则熟三毕人臭子欲如能进见胖万'
)
BPP = 1
HEIG... | 70.16055 | 152 | 0.67169 | 7,067 | 30,590 | 2.906325 | 0.029857 | 0.334778 | 0.291835 | 0.260577 | 0.491114 | 0.443108 | 0.387069 | 0.334826 | 0.281757 | 0.247383 | 0 | 0.368081 | 0.069859 | 30,590 | 435 | 153 | 70.321839 | 0.353776 | 0.007094 | 0 | 0.049065 | 0 | 0.962617 | 0.87046 | 0.870328 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0448df1fc863049f01dfe5e3325fe0dc7484cef7 | 933,068 | py | Python | chess/openings.py | DanielMiao1/Chess | d34a71c8afffcccb3ffe1a9d7fa46008a23dde90 | [
"Unlicense"
] | 1 | 2021-09-17T04:49:53.000Z | 2021-09-17T04:49:53.000Z | chess/openings.py | DanielMiao1/Chess | d34a71c8afffcccb3ffe1a9d7fa46008a23dde90 | [
"Unlicense"
] | null | null | null | chess/openings.py | DanielMiao1/Chess | d34a71c8afffcccb3ffe1a9d7fa46008a23dde90 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
openings = [
{"name": "Alekhine Defense", "eco": "B02", "fen": "rnbqkb1r/pppppppp/5n2/8/4P3/8/PPPP1PPP/RNBQKBNR w KQkq", "moves": "1. e4 Nf6", "position": "rnbqkb1r/pppppppp/5n2/8/4P3/8/PPPP1PPP/RNBQKBNR"},
{"name": "Alekhine Defense, 2. e5 Nd5 3. d4", "eco": "B03", "fen": "rnbqkb1r/pppppppp/... | 272.906698 | 431 | 0.688688 | 153,621 | 933,068 | 4.182976 | 0.022764 | 0.031877 | 0.040554 | 0.027171 | 0.908973 | 0.863276 | 0.817936 | 0.776663 | 0.411187 | 0.341829 | 0 | 0.17866 | 0.114522 | 933,068 | 3,418 | 432 | 272.986542 | 0.599099 | 0.000023 | 0 | 0 | 0 | 0.389052 | 0.842646 | 0.375442 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0454fd6f639ad4256f3d7e84b0770e4f82b1e181 | 5,318 | py | Python | bio_rtd_test/unit_test/test_adj_par.py | open-biotech/bio-rtd | c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0 | [
"MIT"
] | 5 | 2020-03-30T13:26:12.000Z | 2021-04-02T07:10:49.000Z | bio_rtd_test/unit_test/test_adj_par.py | open-biotech/bio-rtd | c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0 | [
"MIT"
] | null | null | null | bio_rtd_test/unit_test/test_adj_par.py | open-biotech/bio-rtd | c3e2cf4d7d646bda719e5fc6f694a1cae0e412c0 | [
"MIT"
] | 1 | 2020-06-03T07:50:56.000Z | 2020-06-03T07:50:56.000Z | import unittest
from bio_rtd import adj_par
class TestAdjustableParameter(unittest.TestCase):
def test_adjustable_parameter(self):
var_list = 'par1'
v_range = (0, 10)
v_init = 2
scale_factor = 1.2
par_name = 'vip_par'
gui_type = 'checkbox'
ap = adj_par.Ad... | 33.872611 | 73 | 0.616773 | 712 | 5,318 | 4.313202 | 0.088483 | 0.170954 | 0.03647 | 0.035819 | 0.851514 | 0.817975 | 0.764246 | 0.746337 | 0.731683 | 0.702051 | 0 | 0.01874 | 0.277548 | 5,318 | 156 | 74 | 34.089744 | 0.780583 | 0.025009 | 0 | 0.566929 | 0 | 0 | 0.02994 | 0 | 0 | 0 | 0 | 0 | 0.425197 | 1 | 0.03937 | false | 0 | 0.015748 | 0 | 0.062992 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0b04217b97b68a98f8ad34bb79e894b479a89302 | 123 | py | Python | sciwing/models/__init__.py | sean-dingxu/sciwing | 75eca1ea43be165eab20cf8bd81bbc19cecda74c | [
"MIT"
] | 50 | 2019-09-13T10:32:29.000Z | 2022-02-14T16:52:53.000Z | sciwing/models/__init__.py | sean-dingxu/sciwing | 75eca1ea43be165eab20cf8bd81bbc19cecda74c | [
"MIT"
] | 31 | 2019-09-03T11:06:03.000Z | 2021-08-20T14:57:09.000Z | sciwing/models/__init__.py | sean-dingxu/sciwing | 75eca1ea43be165eab20cf8bd81bbc19cecda74c | [
"MIT"
] | 9 | 2019-09-16T03:25:15.000Z | 2021-05-11T10:28:25.000Z | from sciwing.models.simpleclassifier import SimpleClassifier
from sciwing.models.rnn_seq_crf_tagger import RnnSeqCrfTagger
| 41 | 61 | 0.902439 | 15 | 123 | 7.2 | 0.666667 | 0.203704 | 0.314815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 123 | 2 | 62 | 61.5 | 0.93913 | 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 |
5037ff6f94c354fb81907f844560165c5d435e5d | 269 | py | Python | dispike/errors/events.py | mitsuaky/dispike | bd3ffb28fc03307077d647ee233f4f0e5c594434 | [
"MIT"
] | 41 | 2020-12-29T03:07:38.000Z | 2022-01-30T09:05:03.000Z | dispike/errors/events.py | mitsuaky/dispike | bd3ffb28fc03307077d647ee233f4f0e5c594434 | [
"MIT"
] | 66 | 2020-12-28T08:04:27.000Z | 2021-11-04T09:12:54.000Z | dispike/errors/events.py | mitsuaky/dispike | bd3ffb28fc03307077d647ee233f4f0e5c594434 | [
"MIT"
] | 11 | 2021-01-21T22:36:34.000Z | 2021-11-04T07:23:30.000Z | class InvalidEventType(Exception):
def __init__(self, event_type_passed):
self._event_type_value = type(event_type_passed)
def __str__(self):
return f"An invalid event type: {self._event_type_value} was passed. An event type must be a string!"
| 38.428571 | 109 | 0.732342 | 39 | 269 | 4.589744 | 0.512821 | 0.301676 | 0.217877 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185874 | 269 | 6 | 110 | 44.833333 | 0.817352 | 0 | 0 | 0 | 0 | 0.2 | 0.33829 | 0.089219 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.6 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
ac9badd1225acc8642ee2dc6ac651fffb9a165eb | 27,267 | py | Python | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2/Output/Histos/MadAnalysis5job_0/selection_14.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2/Output/Histos/MadAnalysis5job_0/selection_14.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2/Output/Histos/MadAnalysis5job_0/selection_14.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_14():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.li... | 125.077982 | 1,126 | 0.74515 | 5,550 | 27,267 | 3.492072 | 0.141441 | 0.212063 | 0.306795 | 0.395026 | 0.53279 | 0.516537 | 0.514783 | 0.506166 | 0.495795 | 0.491409 | 0 | 0.44742 | 0.068838 | 27,267 | 217 | 1,127 | 125.654378 | 0.315912 | 0.055928 | 0 | 0.171875 | 0 | 0.007813 | 0.04517 | 0.007898 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.03125 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
acbf898dcaccbbb1a8e67bd6c05f4c564225c385 | 69,876 | py | Python | napalm_yang/models/openconfig/network_instances/network_instance/mpls/signaling_protocols/rsvp_te/interface_attributes/interface/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 64 | 2016-10-20T15:47:18.000Z | 2021-11-11T11:57:32.000Z | napalm_yang/models/openconfig/network_instances/network_instance/mpls/signaling_protocols/rsvp_te/interface_attributes/interface/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 126 | 2016-10-05T10:36:14.000Z | 2019-05-15T08:43:23.000Z | napalm_yang/models/openconfig/network_instances/network_instance/mpls/signaling_protocols/rsvp_te/interface_attributes/interface/__init__.py | ckishimo/napalm-yang | 8f2bd907bd3afcde3c2f8e985192de74748baf6c | [
"Apache-2.0"
] | 63 | 2016-11-07T15:23:08.000Z | 2021-09-22T14:41:16.000Z | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 41.741935 | 425 | 0.618095 | 6,988 | 69,876 | 5.932742 | 0.030481 | 0.067297 | 0.049303 | 0.055333 | 0.990955 | 0.98572 | 0.98572 | 0.98572 | 0.98572 | 0.98572 | 0 | 0.000686 | 0.290457 | 69,876 | 1,673 | 426 | 41.766886 | 0.835498 | 0.203575 | 0 | 0.891808 | 0 | 0.01391 | 0.265587 | 0.098674 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044822 | false | 0 | 0.023957 | 0 | 0.107419 | 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.