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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3a180e66873258d5e73b5bf60304736037d57ad0 | 38,755 | py | Python | optimization/first_sdEta_mjj_optimization/tight_analysis_sdeta_3.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/tight_analysis_sdeta_3.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/tight_analysis_sdeta_3.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_4.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_4():
# 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.lin... | 199.768041 | 1,768 | 0.768494 | 7,563 | 38,755 | 3.841465 | 0.211292 | 0.175197 | 0.254535 | 0.330431 | 0.301552 | 0.298695 | 0.296802 | 0.293877 | 0.292569 | 0.292259 | 0 | 0.603261 | 0.042575 | 38,755 | 193 | 1,769 | 200.803109 | 0.179733 | 0.033983 | 0 | 0.185841 | 0 | 0.00885 | 0.027485 | 0.005347 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 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 | 6 |
28d3e4cecef5805eeb13e6542f534db4e544c504 | 157 | py | Python | keymaster/client/service/local_enigma.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | keymaster/client/service/local_enigma.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | keymaster/client/service/local_enigma.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | from keymaster.common.service.enigma import Enigma
from imagination.decorator.service import registered
@registered()
class LocalEnigma(Enigma):
pass
| 17.444444 | 52 | 0.808917 | 18 | 157 | 7.055556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 157 | 8 | 53 | 19.625 | 0.92029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
28e8ef1deac513e4906bb8f323bf892911ce3d76 | 107 | py | Python | rest_egg/__init__.py | jzerbe/gae-rest-egg-template | 1bb26e7e80d7d504f6566cf63cf87f6460a094b8 | [
"Apache-2.0"
] | null | null | null | rest_egg/__init__.py | jzerbe/gae-rest-egg-template | 1bb26e7e80d7d504f6566cf63cf87f6460a094b8 | [
"Apache-2.0"
] | null | null | null | rest_egg/__init__.py | jzerbe/gae-rest-egg-template | 1bb26e7e80d7d504f6566cf63cf87f6460a094b8 | [
"Apache-2.0"
] | null | null | null | from rest_egg import _pkg_meta
__version_info__ = _pkg_meta.version_info
__version__ = _pkg_meta.version
| 17.833333 | 41 | 0.850467 | 16 | 107 | 4.625 | 0.5 | 0.283784 | 0.567568 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 5 | 42 | 21.4 | 0.778947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3a98f1d54dba781298be5c71cf2e584cfeffa3a1 | 8,187 | py | Python | libs/commands/insert.py | roadrunner09/kleinisan | 996da8e34c7aa79d665a1a35aab0792a62e0a722 | [
"MIT"
] | null | null | null | libs/commands/insert.py | roadrunner09/kleinisan | 996da8e34c7aa79d665a1a35aab0792a62e0a722 | [
"MIT"
] | null | null | null | libs/commands/insert.py | roadrunner09/kleinisan | 996da8e34c7aa79d665a1a35aab0792a62e0a722 | [
"MIT"
] | null | null | null | #api.py
import os
from libs.config import app
from libs.classes import createFiles as createClass
class Insert:
#define config vars
THEME_FOLDER = None
def __init__(self):
self.THEME_FOLDER = os.environ.get('THEME_FOLDER')
self.GMAPS_KEY = os.environ.get('GMAPS_KEY')
def scripts(self):
with open(self.T... | 31.129278 | 111 | 0.562111 | 1,128 | 8,187 | 3.89539 | 0.134752 | 0.030041 | 0.0198 | 0.073282 | 0.870278 | 0.857533 | 0.843423 | 0.784706 | 0.784706 | 0.784706 | 0 | 0.008258 | 0.230854 | 8,187 | 263 | 112 | 31.129278 | 0.689535 | 0.372908 | 0 | 0.343511 | 0 | 0.030534 | 0.583945 | 0.154807 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076336 | false | 0 | 0.022901 | 0 | 0.114504 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3aeb354a09544e600b2327e31e4e5b52319af414 | 762 | py | Python | stateful_simulator/frequencies/RegularProcess.py | pboueri/stateful-simulator | 19a85138e11fd566b88be0a8446030d4143a90dd | [
"BSD-3-Clause"
] | 2 | 2018-10-28T06:41:34.000Z | 2018-10-30T04:19:05.000Z | stateful_simulator/frequencies/RegularProcess.py | pboueri/stateful-simulator | 19a85138e11fd566b88be0a8446030d4143a90dd | [
"BSD-3-Clause"
] | null | null | null | stateful_simulator/frequencies/RegularProcess.py | pboueri/stateful-simulator | 19a85138e11fd566b88be0a8446030d4143a90dd | [
"BSD-3-Clause"
] | null | null | null |
from stateful_simulator.frequencies.DataFrequency import DataFrequency
from random import random
from datetime import datetime, timedelta
class RegularProcess(DataFrequency):
def __init__(self, lower_inter_arrival_s: float, upper_inter_arrival_s: float)-> None:
self.lower_inter_arrival_s = lower_inter_... | 38.1 | 115 | 0.730971 | 96 | 762 | 5.375 | 0.302083 | 0.255814 | 0.277132 | 0.209302 | 0.375969 | 0.155039 | 0.155039 | 0.155039 | 0.155039 | 0 | 0 | 0.001647 | 0.203412 | 762 | 20 | 116 | 38.1 | 0.848435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3aeeed149f821242effdc398f585d24c7650b318 | 5,498 | py | Python | equations/FieldsEP/tensorfieldEP.py | seVenVo1d/General-Relativity-Tensorial-Calculations | 6c07823f74840352253c235af2e4dbe60044941a | [
"MIT"
] | 1 | 2021-06-16T07:29:30.000Z | 2021-06-16T07:29:30.000Z | equations/FieldsEP/tensorfieldEP.py | seVenVo1d/General-Relativity-Tensorial-Calculations | 6c07823f74840352253c235af2e4dbe60044941a | [
"MIT"
] | null | null | null | equations/FieldsEP/tensorfieldEP.py | seVenVo1d/General-Relativity-Tensorial-Calculations | 6c07823f74840352253c235af2e4dbe60044941a | [
"MIT"
] | 1 | 2021-12-02T15:11:06.000Z | 2021-12-02T15:11:06.000Z | #---------- PRODUCING EQUATIONS OF TENSOR FIELD ----------#
from objects.fields.tensorfield import TensorField
from sympy import latex
def cd_tensorfield20_ep(metric_tensor, coord_sys, tensor_field, index_symbol):
"""
Producing equations of covariant derivative for type (2,0) tensor field
Args:
... | 43.984 | 116 | 0.649691 | 824 | 5,498 | 4.150485 | 0.103155 | 0.099708 | 0.059649 | 0.070175 | 0.969298 | 0.965789 | 0.959357 | 0.959357 | 0.928363 | 0.928363 | 0 | 0.012408 | 0.208439 | 5,498 | 124 | 117 | 44.33871 | 0.773438 | 0.438159 | 0 | 0.642857 | 0 | 0 | 0.172402 | 0.128606 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.035714 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c90b4df394a57535874476e718070c1ce05a8009 | 148 | py | Python | book-code/numpy-ml/numpy_ml/utils/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | book-code/numpy-ml/numpy_ml/utils/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | book-code/numpy-ml/numpy_ml/utils/__init__.py | yangninghua/code_library | b769abecb4e0cbdbbb5762949c91847a0f0b3c5a | [
"MIT"
] | null | null | null | from . import testing
from . import data_structures
from . import distance_metrics
from . import kernels
from . import windows
from . import graphs
| 21.142857 | 30 | 0.797297 | 20 | 148 | 5.8 | 0.5 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 148 | 6 | 31 | 24.666667 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a331eeaab1c714832548c3dd8606b7e564eac65c | 3,672 | py | Python | tests/integrations/subprocess/test_get_process_id_by_command.py | pybee/briefcase | d7e9aa7bf15aa2abbc71e97aef9bea287129fdaa | [
"BSD-3-Clause"
] | 522 | 2015-07-28T16:06:18.000Z | 2019-03-25T17:16:55.000Z | tests/integrations/subprocess/test_get_process_id_by_command.py | pybee/briefcase | d7e9aa7bf15aa2abbc71e97aef9bea287129fdaa | [
"BSD-3-Clause"
] | 154 | 2015-09-17T02:50:55.000Z | 2019-03-22T07:10:34.000Z | tests/integrations/subprocess/test_get_process_id_by_command.py | pybee/briefcase | d7e9aa7bf15aa2abbc71e97aef9bea287129fdaa | [
"BSD-3-Clause"
] | 105 | 2015-09-25T08:43:26.000Z | 2019-03-25T15:59:27.000Z | from collections import namedtuple
import pytest
from briefcase.console import Log
from briefcase.integrations.subprocess import get_process_id_by_command
Process = namedtuple("Process", "info")
process_list_one_proc = [
Process(
info=dict(cmdline=["/bin/cmd.sh", "--input", "data"], create_time=20, pid=1... | 34.317757 | 86 | 0.600218 | 440 | 3,672 | 4.688636 | 0.172727 | 0.122637 | 0.063015 | 0.088221 | 0.905477 | 0.895298 | 0.841978 | 0.781386 | 0.743577 | 0.683955 | 0 | 0.018752 | 0.244826 | 3,672 | 106 | 87 | 34.641509 | 0.725207 | 0.028867 | 0 | 0.505155 | 0 | 0 | 0.213783 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 1 | 0.020619 | false | 0 | 0.041237 | 0 | 0.061856 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e7d5dd3ebfe2ab2d90f5d287ad52f5b982d274c | 24,523 | py | Python | flare/kernels/two_body_mc_simple.py | aaronchen0316/flare | 47a2a89af635dfec6b41a873625ac2411da14ebb | [
"MIT"
] | 144 | 2019-04-03T21:23:31.000Z | 2022-03-27T09:09:24.000Z | flare/kernels/two_body_mc_simple.py | aaronchen0316/flare | 47a2a89af635dfec6b41a873625ac2411da14ebb | [
"MIT"
] | 217 | 2019-09-04T16:01:15.000Z | 2022-03-31T20:36:10.000Z | flare/kernels/two_body_mc_simple.py | aaronchen0316/flare | 47a2a89af635dfec6b41a873625ac2411da14ebb | [
"MIT"
] | 46 | 2019-04-26T03:19:29.000Z | 2022-03-22T08:14:58.000Z | import numpy as np
from flare.kernels.kernels import force_helper, force_energy_helper, grad_helper
from numba import njit
from flare.env import AtomicEnvironment
from typing import Callable
import flare.kernels.cutoffs as cf
from math import exp
class TwoBodyKernel:
def __init__(
self,
hyperparam... | 33.639232 | 88 | 0.508706 | 3,169 | 24,523 | 3.792364 | 0.055538 | 0.084623 | 0.046597 | 0.022882 | 0.862623 | 0.843901 | 0.830587 | 0.810201 | 0.790065 | 0.78682 | 0 | 0.057527 | 0.402439 | 24,523 | 728 | 89 | 33.68544 | 0.76259 | 0.277168 | 0 | 0.679245 | 0 | 0 | 0.000409 | 0 | 0 | 0 | 0 | 0.001374 | 0 | 1 | 0.051887 | false | 0 | 0.016509 | 0.004717 | 0.120283 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e9262ba3a13ffb0bb64b32e7a28d960e698989f | 39 | py | Python | malcolm/modules/pandablocks/__init__.py | hir12111/pymalcolm | 689542711ff903ee99876c40fc0eae8015e13314 | [
"Apache-2.0"
] | 11 | 2016-10-04T23:11:39.000Z | 2022-01-25T15:44:43.000Z | malcolm/modules/pandablocks/__init__.py | hir12111/pymalcolm | 689542711ff903ee99876c40fc0eae8015e13314 | [
"Apache-2.0"
] | 153 | 2016-06-01T13:31:02.000Z | 2022-03-31T11:17:18.000Z | malcolm/modules/pandablocks/__init__.py | hir12111/pymalcolm | 689542711ff903ee99876c40fc0eae8015e13314 | [
"Apache-2.0"
] | 16 | 2016-06-10T13:45:27.000Z | 2020-10-24T13:45:04.000Z | from . import controllers, parts, util
| 19.5 | 38 | 0.769231 | 5 | 39 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 1 | 39 | 39 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e9d9dc95d416a2f6b890ab2ec33c1b8c84526e9 | 109 | py | Python | NET_Solver/__init__.py | phy-ml/neural-solver | 4f5f5e8ab84fa2f6d759f8278683c6a70b16caec | [
"MIT"
] | 2 | 2021-12-05T09:30:22.000Z | 2021-12-05T09:30:40.000Z | NET_Solver/__init__.py | phy-ml/neural-solver | 4f5f5e8ab84fa2f6d759f8278683c6a70b16caec | [
"MIT"
] | null | null | null | NET_Solver/__init__.py | phy-ml/neural-solver | 4f5f5e8ab84fa2f6d759f8278683c6a70b16caec | [
"MIT"
] | null | null | null | from solver import *
from boundary import *
from mesh import *
from models import *
from utils import *
| 18.166667 | 23 | 0.724771 | 15 | 109 | 5.266667 | 0.466667 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229358 | 109 | 5 | 24 | 21.8 | 0.940476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ebb4f0c20fb738af48e512c286f1903ba115f3a | 46 | py | Python | session-5/sub/notsub/invisible.py | rec/p4p | 9d470fef5ccc99b7c5179989052c6d51c880f2bb | [
"Artistic-2.0"
] | 2 | 2019-05-26T15:11:26.000Z | 2019-06-15T10:18:34.000Z | session-5/sub/notsub/invisible.py | rec/p4p | 9d470fef5ccc99b7c5179989052c6d51c880f2bb | [
"Artistic-2.0"
] | null | null | null | session-5/sub/notsub/invisible.py | rec/p4p | 9d470fef5ccc99b7c5179989052c6d51c880f2bb | [
"Artistic-2.0"
] | null | null | null | MESSAGE = "You won't be able to import this!"
| 23 | 45 | 0.695652 | 9 | 46 | 3.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 1 | 46 | 46 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.717391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42b811f53a96517c22e17c49634e138d815d9d4e | 203 | py | Python | tccli/services/ecc/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/ecc/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/ecc/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.ecc.ecc_client import register_arg
from tccli.services.ecc.ecc_client import get_actions_info
from tccli.services.ecc.ecc_client import AVAILABLE_VERSION_LIST
| 40.6 | 64 | 0.827586 | 32 | 203 | 5 | 0.53125 | 0.16875 | 0.31875 | 0.375 | 0.65625 | 0.65625 | 0.65625 | 0 | 0 | 0 | 0 | 0.005376 | 0.083744 | 203 | 4 | 65 | 50.75 | 0.854839 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 6 |
42d4cce0e5dd0980fb45f6cd6ba00877fed21c04 | 192 | py | Python | urlutils/__init__.py | MSAdministrator/slack-url-utils | 59cd6f1ab0b77f607c24a7d4ecda45315e4c373e | [
"MIT"
] | 3 | 2020-03-31T00:34:57.000Z | 2021-05-14T02:05:21.000Z | urlutils/__init__.py | MSAdministrator/slack-url-utils | 59cd6f1ab0b77f607c24a7d4ecda45315e4c373e | [
"MIT"
] | null | null | null | urlutils/__init__.py | MSAdministrator/slack-url-utils | 59cd6f1ab0b77f607c24a7d4ecda45315e4c373e | [
"MIT"
] | 3 | 2020-03-31T16:52:07.000Z | 2021-05-14T02:05:23.000Z | from urlutils.deobfuscate import DeObfuscate
from urlutils.obfuscate import Obfuscate
from urlutils.dnscheck import DNSCheck
from urlutils.otxpulse import OTXPulse
from urlutils.app import app | 38.4 | 44 | 0.875 | 25 | 192 | 6.72 | 0.32 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098958 | 192 | 5 | 45 | 38.4 | 0.971098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e44327c57fe48bde4e038067d54072af9e3758e | 109 | py | Python | utipy/time/__init__.py | LudvigOlsen/utipy | c287f7eed15b3591118bba49ecdfc2b2605f59a0 | [
"MIT"
] | null | null | null | utipy/time/__init__.py | LudvigOlsen/utipy | c287f7eed15b3591118bba49ecdfc2b2605f59a0 | [
"MIT"
] | 1 | 2022-02-16T15:24:33.000Z | 2022-02-16T15:24:33.000Z | utipy/time/__init__.py | LudvigOlsen/utipy | c287f7eed15b3591118bba49ecdfc2b2605f59a0 | [
"MIT"
] | null | null | null |
from .format_time import format_time_hhmmss
from .timer import StepTimer
from .timestamps import Timestamps
| 21.8 | 43 | 0.853211 | 15 | 109 | 6 | 0.533333 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 4 | 44 | 27.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
28580bf2b148a6adbcd8dcda9859704571bb582e | 38 | py | Python | dizoo/pybullet/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/pybullet/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/pybullet/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .pybullet_env import PybulletEnv
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2866793a73d1211fc20e588b62924f92782aa12d | 14,924 | py | Python | basicsudoku/puzzles.py | asweigart/basicsudoku | 4be5439046f5f42b27c876f729879acd6a23d3c5 | [
"BSD-3-Clause"
] | 11 | 2018-04-11T07:33:36.000Z | 2020-10-10T15:47:43.000Z | basicsudoku/puzzles.py | asweigart/basicsudoku | 4be5439046f5f42b27c876f729879acd6a23d3c5 | [
"BSD-3-Clause"
] | null | null | null | basicsudoku/puzzles.py | asweigart/basicsudoku | 4be5439046f5f42b27c876f729879acd6a23d3c5 | [
"BSD-3-Clause"
] | 1 | 2020-12-12T18:26:47.000Z | 2020-12-12T18:26:47.000Z | """
Puzzles are held as symbol strings in the following lists:
* easy50
* top95
* hardest
These puzzles come from Peter Norvig's page at http://norvig.com/sudoku.html
"""
easy50 = ['..3.2.6..9..3.5..1..18.64....81.29..7.......8..67.82....26.95..8..2.3..9..5.1.3..',
'2...8.3...6..7..84.3.5..2.9.... | 88.307692 | 95 | 0.253685 | 2,881 | 14,924 | 1.314127 | 0.082957 | 0.019017 | 0.007924 | 0.004226 | 0.105388 | 0.067882 | 0.067882 | 0.062335 | 0.054939 | 0.041733 | 0 | 0.27494 | 0.110694 | 14,924 | 168 | 96 | 88.833333 | 0.010322 | 0.011793 | 0 | 0.012821 | 0 | 1 | 0.857259 | 0.857259 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
286ff536d6437c66ae328c4fb0c5711662e23727 | 168 | py | Python | rancher_env/__init__.py | jorgenbl/rancher-env | e8e1f48b22e181f9b196e1056dd270c5ccccb76d | [
"MIT"
] | null | null | null | rancher_env/__init__.py | jorgenbl/rancher-env | e8e1f48b22e181f9b196e1056dd270c5ccccb76d | [
"MIT"
] | null | null | null | rancher_env/__init__.py | jorgenbl/rancher-env | e8e1f48b22e181f9b196e1056dd270c5ccccb76d | [
"MIT"
] | null | null | null | from .rancher_cli_commands import list_all_environments, create_config, list_configs, create_config, switch_config, make_confdir, list_all_containers, exec_on_container | 168 | 168 | 0.892857 | 24 | 168 | 5.708333 | 0.75 | 0.10219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059524 | 168 | 1 | 168 | 168 | 0.867089 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9543235e240dab337e1a421a0d0dfbffca6d5a4f | 213 | py | Python | pcan/models/roi_heads/refine_heads/__init__.py | SysCV/pcan | 06416f1c96b7a86754828582d9a95b9ce0d327ba | [
"Apache-2.0"
] | 271 | 2021-11-24T16:57:54.000Z | 2022-03-31T02:00:38.000Z | pcan/models/roi_heads/refine_heads/__init__.py | msg4rajesh/pcan | 5328f42349e19ff1acaccd2c776804df972b9afe | [
"Apache-2.0"
] | 10 | 2021-11-28T10:48:13.000Z | 2022-03-11T09:59:30.000Z | pcan/models/roi_heads/refine_heads/__init__.py | msg4rajesh/pcan | 5328f42349e19ff1acaccd2c776804df972b9afe | [
"Apache-2.0"
] | 36 | 2021-11-25T07:43:05.000Z | 2022-03-08T04:08:48.000Z | from .local_match_head import LocalMatchHeadPlus
from .em_match_head import EMMatchHeadPlus
from .hr_em_match_head import HREMMatchHeadPlus
__all__ = ['EMMatchHeadPlus', 'LocalMatchHeadPlus', 'HREMMatchHeadPlus'] | 42.6 | 72 | 0.85446 | 23 | 213 | 7.434783 | 0.478261 | 0.157895 | 0.263158 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079812 | 213 | 5 | 72 | 42.6 | 0.872449 | 0 | 0 | 0 | 0 | 0 | 0.233645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c24ff54ed7620bcf172a2170be71593bd2d92b1e | 150 | py | Python | ex026.py | zWillsz/exsvscode | ba507dca6de748e3c82c306731137bb5f6f0c918 | [
"MIT"
] | null | null | null | ex026.py | zWillsz/exsvscode | ba507dca6de748e3c82c306731137bb5f6f0c918 | [
"MIT"
] | null | null | null | ex026.py | zWillsz/exsvscode | ba507dca6de748e3c82c306731137bb5f6f0c918 | [
"MIT"
] | null | null | null | n1 = input('Nome da sua cidade: ').upper()
print(n1)
print('A cidade tem SANTO no nome?: {}'.format('SANTO' in n1 or 'santo' in n1 or 'Santo' in n1))
| 37.5 | 96 | 0.646667 | 28 | 150 | 3.464286 | 0.535714 | 0.216495 | 0.278351 | 0.226804 | 0.319588 | 0.319588 | 0.319588 | 0 | 0 | 0 | 0 | 0.04 | 0.166667 | 150 | 3 | 97 | 50 | 0.736 | 0 | 0 | 0 | 0 | 0 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c253491196231d9b25258841b44527c3f426ba2c | 179 | py | Python | nncore/nn/bundle/__init__.py | yeliudev/nncore | 2160db62268767d3bcc69dd918cd291305fc820f | [
"MIT"
] | 6 | 2021-03-27T15:25:00.000Z | 2021-08-23T06:29:33.000Z | nncore/nn/bundle/__init__.py | yeliudev/nncore | 2160db62268767d3bcc69dd918cd291305fc820f | [
"MIT"
] | 4 | 2020-10-23T09:15:09.000Z | 2021-08-24T03:33:59.000Z | nncore/nn/bundle/__init__.py | yeliudev/nncore | 2160db62268767d3bcc69dd918cd291305fc820f | [
"MIT"
] | null | null | null | # Copyright (c) Ye Liu. All rights reserved.
from .bundle import ModuleDict, ModuleList, Parameter, Sequential
__all__ = ['ModuleDict', 'ModuleList', 'Parameter', 'Sequential']
| 29.833333 | 65 | 0.743017 | 19 | 179 | 6.789474 | 0.736842 | 0.310078 | 0.449612 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128492 | 179 | 5 | 66 | 35.8 | 0.826923 | 0.234637 | 0 | 0 | 0 | 0 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c2f1a2efafd70645db4bee9ec56fd74192019cfc | 2,532 | py | Python | tests/templates/nodes.py | brettcannon/vibora | 1933b631d4df62e7d748016f7463ab746d4695cc | [
"MIT"
] | 6,238 | 2018-06-14T19:29:47.000Z | 2022-03-29T21:42:03.000Z | tests/templates/nodes.py | LL816/vibora | 4cda888f89aec6bfb2541ee53548ae1bf50fbf1b | [
"MIT"
] | 213 | 2018-06-13T20:13:59.000Z | 2022-03-26T07:46:49.000Z | tests/templates/nodes.py | LL816/vibora | 4cda888f89aec6bfb2541ee53548ae1bf50fbf1b | [
"MIT"
] | 422 | 2018-06-20T01:29:41.000Z | 2022-02-27T16:45:29.000Z | from collections import deque
from vibora.templates import Template, TemplateParser, ForNode, EvalNode, TextNode, IfNode, ElseNode
from vibora.tests import TestSuite
class NodesParsingSuite(TestSuite):
def test_for_node(self):
"""
:return:
"""
tp = TemplateParser()
parsed... | 35.166667 | 118 | 0.591232 | 261 | 2,532 | 5.51341 | 0.214559 | 0.108409 | 0.027797 | 0.038916 | 0.81376 | 0.759555 | 0.71091 | 0.71091 | 0.71091 | 0.71091 | 0 | 0.007756 | 0.287125 | 2,532 | 71 | 119 | 35.661972 | 0.789474 | 0.013823 | 0 | 0.530612 | 0 | 0.020408 | 0.142917 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.081633 | false | 0 | 0.061224 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c448164da855155cc248324cbe7211e5a5b8bb7 | 203 | py | Python | Python_Day9/flask/sampleA/hbdRahul/routes.py | dchaurangi/pro1 | 0c0c9f53749fb9857f69f5d564718fd3acbec7b0 | [
"MIT"
] | 1 | 2020-01-16T08:54:52.000Z | 2020-01-16T08:54:52.000Z | Python_Day9/flask/sampleA/hbdRahul/routes.py | dchaurangi/pro1 | 0c0c9f53749fb9857f69f5d564718fd3acbec7b0 | [
"MIT"
] | null | null | null | Python_Day9/flask/sampleA/hbdRahul/routes.py | dchaurangi/pro1 | 0c0c9f53749fb9857f69f5d564718fd3acbec7b0 | [
"MIT"
] | null | null | null | from hbdRahul import app
@app.route('/')
@app.route('/niit')
def niit():
return "Have a great day Rahul"
@app.route('/deloitte')
def welcome():
return "<h1>Have a great day Rahul</h1>"
| 20.3 | 45 | 0.62069 | 30 | 203 | 4.2 | 0.533333 | 0.190476 | 0.15873 | 0.206349 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.20197 | 203 | 9 | 46 | 22.555556 | 0.765432 | 0 | 0 | 0 | 0 | 0 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6655ffc3b1e65f5cc82ce7f3b7a459f541a4fb1b | 111 | py | Python | tests/conftest.py | dbeley/youtube_playlist_converter | 3dc28620095ec0f06934a346083386e5b2d308cf | [
"MIT"
] | 18 | 2019-08-24T11:18:46.000Z | 2021-11-16T12:47:10.000Z | tests/conftest.py | dbeley/youtube_playlist_converter | 3dc28620095ec0f06934a346083386e5b2d308cf | [
"MIT"
] | 18 | 2019-06-28T04:27:05.000Z | 2021-12-27T23:33:03.000Z | tests/conftest.py | dbeley/youtube_playlist_converter | 3dc28620095ec0f06934a346083386e5b2d308cf | [
"MIT"
] | 2 | 2019-06-12T13:26:07.000Z | 2021-07-13T20:42:49.000Z | from ypc import spotify_utils
import pytest
@pytest.fixture
def sp():
return spotify_utils.get_spotipy()
| 13.875 | 38 | 0.774775 | 16 | 111 | 5.1875 | 0.75 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 7 | 39 | 15.857143 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
668c395dc69f5ea3a6e9574d8bc61b3d5d9a2504 | 161 | py | Python | module_01/module/class_utils.py | 1ch0/geek_python_demo | 30a5f79a02ba5f09786bcb02757bf5e623677252 | [
"Apache-2.0"
] | 1 | 2022-02-11T02:55:58.000Z | 2022-02-11T02:55:58.000Z | module_01/module/class_utils.py | 1ch0/geek_python_demo | 30a5f79a02ba5f09786bcb02757bf5e623677252 | [
"Apache-2.0"
] | null | null | null | module_01/module/class_utils.py | 1ch0/geek_python_demo | 30a5f79a02ba5f09786bcb02757bf5e623677252 | [
"Apache-2.0"
] | null | null | null |
class Encoder(object):
def encode(self, s):
return s[::-1]
class Decoder(object):
def decode(self, s):
return ''.join(reverse(list(s))) | 20.125 | 40 | 0.583851 | 22 | 161 | 4.272727 | 0.636364 | 0.191489 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.242236 | 161 | 8 | 40 | 20.125 | 0.762295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
66a65fb655b8723f21ba073f96e5e99757cd0f79 | 34,743 | py | Python | studies/mixture_feasibility/data_availability/source_hvap_data.py | openforcefield/nistdataselection | d797d597f4ff528a7219d58daa8ef6508d438b24 | [
"MIT"
] | 3 | 2020-03-25T02:42:04.000Z | 2020-07-20T10:39:35.000Z | studies/mixture_feasibility/data_availability/source_hvap_data.py | openforcefield/nistdataselection | d797d597f4ff528a7219d58daa8ef6508d438b24 | [
"MIT"
] | 13 | 2019-09-05T00:20:03.000Z | 2020-03-05T23:58:04.000Z | studies/mixture_feasibility/data_availability/source_hvap_data.py | openforcefield/nistdataselection | d797d597f4ff528a7219d58daa8ef6508d438b24 | [
"MIT"
] | null | null | null | import logging
import os
from evaluator import unit
from evaluator.attributes import UNDEFINED
from evaluator.datasets import MeasurementSource, PhysicalPropertyDataSet, PropertyPhase
from evaluator.properties import EnthalpyOfVaporization
from evaluator.substances import Substance
from evaluator.thermodynamics import... | 42.998762 | 88 | 0.59635 | 3,415 | 34,743 | 5.967789 | 0.098682 | 0.073994 | 0.096762 | 0.119529 | 0.862463 | 0.8579 | 0.811433 | 0.793376 | 0.792542 | 0.784446 | 0 | 0.088428 | 0.298564 | 34,743 | 807 | 89 | 43.052045 | 0.747846 | 0.03215 | 0 | 0.698192 | 0 | 0 | 0.070843 | 0.03183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001391 | false | 0 | 0.01669 | 0 | 0.018081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66d3d88317d01b7917ea0c4e1d2d87a997efc5a2 | 95 | py | Python | terrascript/pingdom/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/pingdom/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/pingdom/d.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/pingdom/d.py
import terrascript
class pingdom_user(terrascript.Data):
pass
| 13.571429 | 37 | 0.778947 | 12 | 95 | 6.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 6 | 38 | 15.833333 | 0.890244 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dd608e17e7061f7e367f53566d4624a113ab97ff | 92 | py | Python | doc/scripts/scripts/whiles.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 206 | 2018-06-28T00:28:47.000Z | 2022-03-29T05:17:03.000Z | doc/scripts/scripts/whiles.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 670 | 2018-07-23T11:02:24.000Z | 2022-03-30T07:28:05.000Z | doc/scripts/scripts/whiles.py | dina-fouad/pyccel | f4d919e673b400442b9c7b81212b6fbef749c7b7 | [
"MIT"
] | 19 | 2019-09-19T06:01:00.000Z | 2022-03-29T05:17:06.000Z | x = 5
y = 0
while y < 3:
y = y + 1
while y < 3 and x > 2:
y = y + 1
x = x - 1
| 9.2 | 22 | 0.347826 | 22 | 92 | 1.454545 | 0.409091 | 0.375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 0.51087 | 92 | 9 | 23 | 10.222222 | 0.533333 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
06cfc11b1a2301a08a7629d55edc3bafbceec526 | 3,215 | py | Python | source/engine/tests/test_metrics_helper.py | bgdnlp/workspaces-cost-optimizer | ec951cfcde56c7df65c2ccb7169a2d890a1c9c3b | [
"Apache-2.0"
] | null | null | null | source/engine/tests/test_metrics_helper.py | bgdnlp/workspaces-cost-optimizer | ec951cfcde56c7df65c2ccb7169a2d890a1c9c3b | [
"Apache-2.0"
] | null | null | null | source/engine/tests/test_metrics_helper.py | bgdnlp/workspaces-cost-optimizer | ec951cfcde56c7df65c2ccb7169a2d890a1c9c3b | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.append('engine')
import datetime
from dateutil.tz import tzutc
from lib.metrics_helper import MetricsHelper
from botocore.stub import Stubber
def test_get_billable_time():
settings = 'us-east-1'
workspaceID = 'ws-abc1234XYZ'
startTime = '2020-04-01T00:00:00Z'
endTime = '2020-04-02... | 37.383721 | 113 | 0.592224 | 346 | 3,215 | 5.390173 | 0.213873 | 0.091153 | 0.134048 | 0.155496 | 0.920107 | 0.896515 | 0.896515 | 0.896515 | 0.896515 | 0.896515 | 0 | 0.073402 | 0.245723 | 3,215 | 85 | 114 | 37.823529 | 0.69567 | 0 | 0 | 0.657895 | 0 | 0 | 0.220218 | 0.013064 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0.026316 | false | 0 | 0.065789 | 0 | 0.092105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06d3ebe7315ab4235f29e15d8dcc2aff3ebe3396 | 58 | py | Python | rsHRF/rsHRF_GUI/run.py | BIDS-Apps/rsHRF | e1751e77629f9e960f156b1bd6a9842f7c34f719 | [
"MIT"
] | 16 | 2017-09-08T20:02:22.000Z | 2022-03-10T20:56:36.000Z | rsHRF/rsHRF_GUI/run.py | BIDS-Apps/rsHRF | e1751e77629f9e960f156b1bd6a9842f7c34f719 | [
"MIT"
] | 10 | 2019-06-06T18:32:40.000Z | 2021-09-13T08:14:15.000Z | rsHRF/rsHRF_GUI/run.py | Remi-Gau/rsHRF-1 | a07715b764df69fffbc7f1a43718e958662ade9b | [
"MIT"
] | 8 | 2019-03-26T16:40:04.000Z | 2021-04-11T14:08:52.000Z | from .gui_windows.main import Main
def run():
Main() | 14.5 | 35 | 0.672414 | 9 | 58 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 58 | 4 | 36 | 14.5 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 6 |
06dd3c471afb1b98b11b81bac3b2766356955dfa | 11,338 | py | Python | pyx12/x12json_simple.py | tkobil/pyx12 | a1c7a86e084e8de21cd86e21e59c3c67b48f8e39 | [
"BSD-3-Clause"
] | null | null | null | pyx12/x12json_simple.py | tkobil/pyx12 | a1c7a86e084e8de21cd86e21e59c3c67b48f8e39 | [
"BSD-3-Clause"
] | null | null | null | pyx12/x12json_simple.py | tkobil/pyx12 | a1c7a86e084e8de21cd86e21e59c3c67b48f8e39 | [
"BSD-3-Clause"
] | null | null | null | from os.path import commonprefix
import logging
from .x12xml_simple import x12xml_simple
from .jsonwriter import JSONriter
from .errors import EngineError
from .map_walker import pop_to_parent_loop
logger = logging.getLogger('pyx12.x12json.simple')
class X12JsonSimple(x12xml_simple):
def __init__(self, fd, words... | 45.534137 | 142 | 0.54701 | 1,441 | 11,338 | 4.052741 | 0.124219 | 0.054795 | 0.033562 | 0.045548 | 0.795034 | 0.773973 | 0.770205 | 0.770205 | 0.770205 | 0.770205 | 0 | 0.009977 | 0.354648 | 11,338 | 249 | 143 | 45.534137 | 0.788165 | 0.116864 | 0 | 0.808824 | 0 | 0 | 0.025628 | 0 | 0 | 0 | 0 | 0.004016 | 0 | 1 | 0.034314 | false | 0.019608 | 0.029412 | 0 | 0.093137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06e6e58cea8b2d43a0255724a5561c7afdb8962e | 82 | py | Python | helpers/__init__.py | ticet11/AbBOT-api | 355bcf19a18a12692f544c9d968637681597d6ba | [
"MIT"
] | 11 | 2021-09-04T02:24:38.000Z | 2022-02-28T19:03:44.000Z | helpers/__init__.py | ramblingjordan/AbBOT-api | 36217744444629ecdb134e01fe838e8eea92d4bf | [
"MIT"
] | 12 | 2021-09-04T15:15:04.000Z | 2021-09-20T22:07:27.000Z | helpers/__init__.py | ticet11/AbBOT-api | 355bcf19a18a12692f544c9d968637681597d6ba | [
"MIT"
] | 11 | 2021-09-04T02:25:53.000Z | 2021-09-06T15:50:56.000Z | from . import typing
from . import model
from . import random
from . import typos
| 16.4 | 20 | 0.756098 | 12 | 82 | 5.166667 | 0.5 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 82 | 4 | 21 | 20.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
660a60b8fcc6ad91f30939a3b8afd12d08cdaab1 | 6,807 | py | Python | tests/test_users.py | quant-aq/py-quantaq | 36d2e4881c3b17a955ad5754193a6615476702de | [
"Apache-2.0"
] | 4 | 2020-05-31T18:39:30.000Z | 2021-11-02T22:09:54.000Z | tests/test_users.py | quant-aq/py-quantaq | 36d2e4881c3b17a955ad5754193a6615476702de | [
"Apache-2.0"
] | 8 | 2019-03-04T21:17:13.000Z | 2022-03-22T19:03:45.000Z | tests/test_users.py | quant-aq/py-quantaq | 36d2e4881c3b17a955ad5754193a6615476702de | [
"Apache-2.0"
] | 2 | 2019-12-16T21:45:32.000Z | 2020-01-06T18:45:13.000Z | import responses
import quantaq
import os
import sys
import pandas as pd
import pytest
from quantaq.exceptions import QuantAQAPIException
@responses.activate
def test_users_list():
responses.add(responses.GET, "https://localhost/device-api/v1/users/",
status=200,
json={
"meta": {
... | 33.69802 | 88 | 0.460555 | 701 | 6,807 | 4.36234 | 0.151213 | 0.031066 | 0.117724 | 0.135383 | 0.850883 | 0.824068 | 0.790386 | 0.768476 | 0.768476 | 0.768476 | 0 | 0.093659 | 0.392978 | 6,807 | 202 | 89 | 33.69802 | 0.646418 | 0.01425 | 0 | 0.687151 | 0 | 0 | 0.332985 | 0.078139 | 0 | 0 | 0 | 0 | 0.055866 | 1 | 0.022346 | false | 0 | 0.039106 | 0 | 0.061453 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
661050700cd9a1b9eae89caf296c41aff74bedc3 | 73 | py | Python | python_project_template/main.py | anthonycorletti/python-project-template | bd1aebe8fc77984f1008a89491f596f951461dac | [
"MIT"
] | 1 | 2022-01-06T20:30:40.000Z | 2022-01-06T20:30:40.000Z | python_project_template/main.py | anthonycorletti/python-project-template | bd1aebe8fc77984f1008a89491f596f951461dac | [
"MIT"
] | null | null | null | python_project_template/main.py | anthonycorletti/python-project-template | bd1aebe8fc77984f1008a89491f596f951461dac | [
"MIT"
] | null | null | null | import os
os.environ["TZ"] = "UTC"
def foo() -> str:
return "foo"
| 9.125 | 24 | 0.547945 | 11 | 73 | 3.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246575 | 73 | 7 | 25 | 10.428571 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
664130fcfc6655346ad9e365000c2b0671941e20 | 34 | py | Python | timer/__init__.py | Sorosliu1029/Euler | 6bfff5513f209e3dabb371b7b3954b219deb4c96 | [
"MIT"
] | 3 | 2020-08-01T17:02:02.000Z | 2022-01-14T07:59:56.000Z | timer/__init__.py | Sorosliu1029/Euler | 6bfff5513f209e3dabb371b7b3954b219deb4c96 | [
"MIT"
] | null | null | null | timer/__init__.py | Sorosliu1029/Euler | 6bfff5513f209e3dabb371b7b3954b219deb4c96 | [
"MIT"
] | null | null | null | from .Timer import Timer, timethis | 34 | 34 | 0.823529 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0da109e502cf20848b47f6a12bb993b2fcd1d0b | 432 | py | Python | buildscripts/resmokelib/logging/__init__.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/resmokelib/logging/__init__.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/resmokelib/logging/__init__.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | """Extension to the logging package to support buildlogger."""
# Alias the built-in logging.Logger class for type checking arguments. Those interested in
# constructing a new Logger instance should use the loggers.new_logger() function instead.
from logging import Logger
from buildscripts.resmokelib.logging import bu... | 43.2 | 90 | 0.831019 | 57 | 432 | 6.280702 | 0.561404 | 0.145251 | 0.217877 | 0.276536 | 0.326816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 432 | 9 | 91 | 48 | 0.939633 | 0.543981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 6 |
9ffb24b64937999209c5b8df293866df28e74f9c | 46 | py | Python | bubbleZ/tests/__init__.py | abatten/bubbleZ | 20a895f4510dabd03426c307b40bd12c61edd39a | [
"MIT"
] | null | null | null | bubbleZ/tests/__init__.py | abatten/bubbleZ | 20a895f4510dabd03426c307b40bd12c61edd39a | [
"MIT"
] | null | null | null | bubbleZ/tests/__init__.py | abatten/bubbleZ | 20a895f4510dabd03426c307b40bd12c61edd39a | [
"MIT"
] | null | null | null | from ..pipeline.utils import FileAlreadyExists | 46 | 46 | 0.869565 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b015bf149f2a474c1169b107b3ab399ba45eb24d | 34 | py | Python | fastsearch/__init__.py | eyalsus/fastsearch | c8483f196b12934eed30ff43dce7bb6a484be141 | [
"BSD-3-Clause"
] | null | null | null | fastsearch/__init__.py | eyalsus/fastsearch | c8483f196b12934eed30ff43dce7bb6a484be141 | [
"BSD-3-Clause"
] | null | null | null | fastsearch/__init__.py | eyalsus/fastsearch | c8483f196b12934eed30ff43dce7bb6a484be141 | [
"BSD-3-Clause"
] | null | null | null | from .fastsearch import FastSearch | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0278965ca7e4eb51d995befd584b954038cc2ac | 46 | py | Python | generic_fs/__init__.py | auto-flow/autoflow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | 49 | 2020-04-16T11:17:28.000Z | 2020-05-06T01:32:44.000Z | generic_fs/__init__.py | auto-flow/autoflow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | null | null | null | generic_fs/__init__.py | auto-flow/autoflow | f5903424ad8694d57741a0bd6dfeaba320ea6517 | [
"BSD-3-Clause"
] | 3 | 2020-04-17T00:53:24.000Z | 2020-04-23T03:04:26.000Z | from generic_fs.file_system import FileSystem
| 23 | 45 | 0.891304 | 7 | 46 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b061f1585fe8ebd664537a8e87320051abc221b4 | 46 | py | Python | storages/__init__.py | R-Mielamud/Nicolaus | 05a28a19ca0127cf39b1238dc313cecd6e528c40 | [
"MIT"
] | null | null | null | storages/__init__.py | R-Mielamud/Nicolaus | 05a28a19ca0127cf39b1238dc313cecd6e528c40 | [
"MIT"
] | null | null | null | storages/__init__.py | R-Mielamud/Nicolaus | 05a28a19ca0127cf39b1238dc313cecd6e528c40 | [
"MIT"
] | 1 | 2021-03-09T16:06:23.000Z | 2021-03-09T16:06:23.000Z | from .s3_book_image import S3BookImageStorage
| 23 | 45 | 0.891304 | 6 | 46 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.086957 | 46 | 1 | 46 | 46 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6df1f738ffe95fb1af4f339bcd28b2393f7cf7a | 20 | py | Python | hepdisplay/__init__.py | masonproffitt/hepdisplay | 7d338326198bb0f8cc743af9e77bce8d9b4b386e | [
"MIT"
] | 49 | 2016-07-03T14:40:48.000Z | 2022-03-08T01:33:03.000Z | hepdisplay/__init__.py | masonproffitt/hepdisplay | 7d338326198bb0f8cc743af9e77bce8d9b4b386e | [
"MIT"
] | 4 | 2016-09-16T18:51:06.000Z | 2020-06-20T03:53:24.000Z | skimage/draw/__init__.py | emmanuelle/scikit-image | eccc41907135cf81b99c4be18a480a9bc705485d | [
"BSD-3-Clause"
] | 15 | 2015-09-26T20:06:57.000Z | 2021-06-21T17:01:02.000Z | from .draw import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05a02fecf864a5c4bee0d755e705773d9fd843f2 | 46 | py | Python | Chromos/__init__.py | devanshshukla99/Chromos | c43101c4ccba7e90ec51ee0516fe71b73e2c6551 | [
"MIT"
] | null | null | null | Chromos/__init__.py | devanshshukla99/Chromos | c43101c4ccba7e90ec51ee0516fe71b73e2c6551 | [
"MIT"
] | null | null | null | Chromos/__init__.py | devanshshukla99/Chromos | c43101c4ccba7e90ec51ee0516fe71b73e2c6551 | [
"MIT"
] | null | null | null | # flake8: noqa
from ._Chromos import Chromos
| 11.5 | 29 | 0.76087 | 6 | 46 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 46 | 3 | 30 | 15.333333 | 0.868421 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05c162839053b34dacabf266a154f624dcced748 | 6,510 | py | Python | monitoring/prober/scd/test_operation_references_error_cases.py | rpai1/dss | 79d8110c336851b155a6e5417692ec68b70c0c07 | [
"Apache-2.0"
] | null | null | null | monitoring/prober/scd/test_operation_references_error_cases.py | rpai1/dss | 79d8110c336851b155a6e5417692ec68b70c0c07 | [
"Apache-2.0"
] | null | null | null | monitoring/prober/scd/test_operation_references_error_cases.py | rpai1/dss | 79d8110c336851b155a6e5417692ec68b70c0c07 | [
"Apache-2.0"
] | null | null | null | """Operation References corner cases error tests:
"""
import json
import uuid
from monitoring.monitorlib.infrastructure import default_scope
from monitoring.monitorlib.scd import SCOPE_SC
OP_ID = '00000028-728d-40c4-8eb2-20d19c000000'
def test_ensure_clean_workspace(scd_session):
resp = scd_session.get('/operati... | 35.380435 | 87 | 0.740246 | 1,020 | 6,510 | 4.445098 | 0.126471 | 0.092633 | 0.077195 | 0.101456 | 0.85708 | 0.822894 | 0.810101 | 0.774371 | 0.721217 | 0.661667 | 0 | 0.020258 | 0.12043 | 6,510 | 183 | 88 | 35.57377 | 0.771568 | 0.050845 | 0 | 0.651163 | 0 | 0 | 0.226926 | 0.221573 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.139535 | false | 0.007752 | 0.031008 | 0 | 0.170543 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05c25b0d59fe5496083a0998a51d7ab0cdc2cb95 | 189 | py | Python | falmer/events/management/commands/syncevents.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 2 | 2017-04-27T19:35:59.000Z | 2017-06-13T16:19:33.000Z | falmer/events/management/commands/syncevents.py | sussexstudent/falmer | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 975 | 2017-04-13T11:31:07.000Z | 2022-02-10T07:46:18.000Z | falmer/events/management/commands/syncevents.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 3 | 2018-05-09T06:42:25.000Z | 2020-12-10T18:29:30.000Z | from django.core.management import BaseCommand
from ...utils import sync_events_from_msl
class Command(BaseCommand):
def handle(self, *args, **kwargs):
sync_events_from_msl()
| 23.625 | 46 | 0.751323 | 25 | 189 | 5.44 | 0.68 | 0.147059 | 0.205882 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153439 | 189 | 7 | 47 | 27 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05e27af765b52931865d14a130026cfc864cff52 | 65 | py | Python | backstage-manage-system/xizhi_backend/xizhi_backend/views/__init__.py | SunShineToMiaoMiao/personal-website | 1ee0a5405d1627eb6ab2ae19585ceac0218c00e0 | [
"MIT"
] | null | null | null | backstage-manage-system/xizhi_backend/xizhi_backend/views/__init__.py | SunShineToMiaoMiao/personal-website | 1ee0a5405d1627eb6ab2ae19585ceac0218c00e0 | [
"MIT"
] | null | null | null | backstage-manage-system/xizhi_backend/xizhi_backend/views/__init__.py | SunShineToMiaoMiao/personal-website | 1ee0a5405d1627eb6ab2ae19585ceac0218c00e0 | [
"MIT"
] | null | null | null | from .article import get_list
from .technical_tag import get_list | 32.5 | 35 | 0.861538 | 11 | 65 | 4.818182 | 0.636364 | 0.339623 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 35 | 32.5 | 0.913793 | 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 | 0 | 0 | 0 | 6 |
afc396908e1427b7efb1acf1fb90cd862915e480 | 7,367 | py | Python | mayan/apps/cabinets/tests/test_views.py | nadwiabd/insight_edms | 90a09d7ca77cb111c791e307b55a603e82042dfe | [
"Apache-2.0"
] | null | null | null | mayan/apps/cabinets/tests/test_views.py | nadwiabd/insight_edms | 90a09d7ca77cb111c791e307b55a603e82042dfe | [
"Apache-2.0"
] | null | null | null | mayan/apps/cabinets/tests/test_views.py | nadwiabd/insight_edms | 90a09d7ca77cb111c791e307b55a603e82042dfe | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, unicode_literals
from documents.permissions import permission_document_view
from documents.tests.test_views import GenericDocumentViewTestCase
from ..models import Cabinet
from ..permissions import (
permission_cabinet_add_document, permission_cabinet_create,
permission... | 35.418269 | 77 | 0.702593 | 826 | 7,367 | 5.937046 | 0.088378 | 0.078507 | 0.068516 | 0.072798 | 0.841762 | 0.803426 | 0.764682 | 0.736542 | 0.710237 | 0.645799 | 0 | 0.009097 | 0.209176 | 7,367 | 207 | 78 | 35.589372 | 0.832647 | 0.003665 | 0 | 0.513333 | 0 | 0 | 0.037067 | 0.022758 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.133333 | false | 0 | 0.04 | 0.04 | 0.22 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb7c99bd47ad0a8147624e96e4a5a0afa2b5f2a6 | 4,347 | py | Python | tests/features/steps/pickup.py | ahmadsyafrudin/estimation-test | 25b0b80065c8a0c0ba1a1a3b019b522d81501afa | [
"MIT"
] | null | null | null | tests/features/steps/pickup.py | ahmadsyafrudin/estimation-test | 25b0b80065c8a0c0ba1a1a3b019b522d81501afa | [
"MIT"
] | 8 | 2020-02-12T00:12:47.000Z | 2021-09-22T18:01:47.000Z | tests/features/steps/pickup.py | ahmadsyafrudin/estimation-test | 25b0b80065c8a0c0ba1a1a3b019b522d81501afa | [
"MIT"
] | null | null | null | from http import HTTPStatus
from dateutil.parser import parse
from behave import given, when, then
from django.test import Client
@given("client want to return on {date} at {hour}")
def step_impl(context, date, hour):
"""
:param hour: str
:param date: str
:type context: behave.runner.Context
"""
... | 31.729927 | 103 | 0.618818 | 494 | 4,347 | 5.378543 | 0.143725 | 0.05796 | 0.04968 | 0.081295 | 0.861498 | 0.853594 | 0.820851 | 0.806549 | 0.790741 | 0.790741 | 0 | 0 | 0.247297 | 4,347 | 136 | 104 | 31.963235 | 0.812042 | 0.162181 | 0 | 0.633333 | 0 | 0 | 0.280506 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.2 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bbecf3dc55ec5d7d4312bd05ff5ff06312684e30 | 64 | py | Python | utils/__init__.py | muzhial/memae-anomaly-detection | 2225242b2e6bfe988c25704a55331aa81bea378b | [
"MIT"
] | null | null | null | utils/__init__.py | muzhial/memae-anomaly-detection | 2225242b2e6bfe988c25704a55331aa81bea378b | [
"MIT"
] | null | null | null | utils/__init__.py | muzhial/memae-anomaly-detection | 2225242b2e6bfe988c25704a55331aa81bea378b | [
"MIT"
] | null | null | null | from .utils import *
from .eval import *
# from .logger import * | 21.333333 | 23 | 0.703125 | 9 | 64 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 23 | 21.333333 | 0.865385 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bbf250811a50d0fef7f3ad79283387b1746bfd06 | 112 | py | Python | orb_simulator/orbsim_language/orbsim_ast/pause_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/orbsim_ast/pause_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/orbsim_ast/pause_sim_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from orbsim_language.orbsim_ast.statement_node import StatementNode
class PauseSimNode(StatementNode):
pass | 28 | 67 | 0.857143 | 13 | 112 | 7.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 4 | 68 | 28 | 0.920792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a53b51758325523b03be87e00bbd4d16e93ff3cd | 32 | py | Python | templates/BCSWAN/lambda/binarypy/__init__.py | meracan/aws-cloudformation | 88fa6b44fd132f3d649493a2e783e44acec6951b | [
"MIT"
] | 1 | 2021-01-07T12:39:14.000Z | 2021-01-07T12:39:14.000Z | templates/BCSWAN/lambda/binarypy/__init__.py | meracan/aws-cloudformation | 88fa6b44fd132f3d649493a2e783e44acec6951b | [
"MIT"
] | null | null | null | templates/BCSWAN/lambda/binarypy/__init__.py | meracan/aws-cloudformation | 88fa6b44fd132f3d649493a2e783e44acec6951b | [
"MIT"
] | null | null | null | from .binarypy import read,write | 32 | 32 | 0.84375 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a53c9d1f72e39350d7a44c9ee1ed8e5cf1adcbea | 158 | py | Python | coding/learn_python/weakvaluedictionary_example.py | yatao91/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | 3 | 2021-05-25T16:58:52.000Z | 2022-02-05T09:37:17.000Z | coding/learn_python/weakvaluedictionary_example.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | coding/learn_python/weakvaluedictionary_example.py | yataosu/learning_road | e88dc43de98e35922bfc71c222ec71766851e618 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class Cheese:
def __init__(self, kind):
self.kind = kind
def __repr__(self):
return 'Cheese(%r)' % self.kind
| 19.75 | 39 | 0.556962 | 20 | 158 | 4 | 0.6 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.278481 | 158 | 7 | 40 | 22.571429 | 0.692982 | 0.132911 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a582b718845a4031a9145e858cd4bf89323a320f | 3,850 | py | Python | test/test_small.py | iosonofabio/anndata_kolmogorov_smirnov | 9e111ef718eed63b3ef2f7a9794747efb44a1f1f | [
"BSD-3-Clause"
] | null | null | null | test/test_small.py | iosonofabio/anndata_kolmogorov_smirnov | 9e111ef718eed63b3ef2f7a9794747efb44a1f1f | [
"BSD-3-Clause"
] | null | null | null | test/test_small.py | iosonofabio/anndata_kolmogorov_smirnov | 9e111ef718eed63b3ef2f7a9794747efb44a1f1f | [
"BSD-3-Clause"
] | null | null | null | # vim: fdm=indent
# author: Fabio Zanini
# date: 17/06/20
# content: Test the algorithm on same artificial data
import numpy as np
import pandas as pd
import anndata
import anndataks
anndataks.rc['log_warn'] = False
def test_version():
print(anndataks.version)
def test_ks2samp():
data1 = np.arr... | 29.166667 | 85 | 0.575325 | 540 | 3,850 | 3.981481 | 0.190741 | 0.03907 | 0.029767 | 0.025116 | 0.765581 | 0.765581 | 0.765581 | 0.765581 | 0.765581 | 0.744186 | 0 | 0.16833 | 0.245455 | 3,850 | 131 | 86 | 29.389313 | 0.571773 | 0.033247 | 0 | 0.72381 | 0 | 0 | 0.087998 | 0.026911 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.095238 | 0.009524 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a59749c99b893a1796537a60365c90d1af13afe0 | 44 | py | Python | challenge_do_not_modify/envs/__init__.py | pik-copan/thinkathlon2021navigate | 243e7660e2c2c64f0c9960cbafcb0d9388da20fa | [
"BSD-2-Clause"
] | null | null | null | challenge_do_not_modify/envs/__init__.py | pik-copan/thinkathlon2021navigate | 243e7660e2c2c64f0c9960cbafcb0d9388da20fa | [
"BSD-2-Clause"
] | null | null | null | challenge_do_not_modify/envs/__init__.py | pik-copan/thinkathlon2021navigate | 243e7660e2c2c64f0c9960cbafcb0d9388da20fa | [
"BSD-2-Clause"
] | 1 | 2021-12-03T20:00:28.000Z | 2021-12-03T20:00:28.000Z | from .in_unsafe_waters import InUnsafeWaters | 44 | 44 | 0.909091 | 6 | 44 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5aed3b906e63dfb5fe96f02814b21f6b18e7781 | 152 | py | Python | horror/utils.py | fpischedda/yaff | ddf9cb11cdf979cfcdf4072959e4ad7dee984a8d | [
"BSD-3-Clause"
] | 2 | 2015-08-04T09:26:05.000Z | 2015-08-04T20:33:33.000Z | horror/utils.py | fpischedda/yaff | ddf9cb11cdf979cfcdf4072959e4ad7dee984a8d | [
"BSD-3-Clause"
] | 1 | 2015-08-04T10:56:32.000Z | 2015-08-04T11:09:43.000Z | pyweek22/utils.py | fpischedda/yaff | ddf9cb11cdf979cfcdf4072959e4ad7dee984a8d | [
"BSD-3-Clause"
] | 1 | 2015-08-04T10:26:44.000Z | 2015-08-04T10:26:44.000Z | import random
def random_color():
return (
random.randint(0, 255),
random.randint(0, 255),
random.randint(0, 255),
)
| 13.818182 | 31 | 0.552632 | 18 | 152 | 4.611111 | 0.444444 | 0.46988 | 0.506024 | 0.614458 | 0.614458 | 0.614458 | 0.614458 | 0.614458 | 0 | 0 | 0 | 0.115385 | 0.315789 | 152 | 10 | 32 | 15.2 | 0.682692 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0.142857 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
36fff36b7ef8bb5293b821a2619e7f503571f28a | 1,740 | py | Python | unit_tests/exporter/applications/views/test_goods.py | code-review-doctor/lite-frontend-1 | cb3b885bb389ea33ef003c916bea7b03a36d86bb | [
"MIT"
] | 1 | 2021-10-16T16:36:58.000Z | 2021-10-16T16:36:58.000Z | unit_tests/exporter/applications/views/test_goods.py | code-review-doctor/lite-frontend-1 | cb3b885bb389ea33ef003c916bea7b03a36d86bb | [
"MIT"
] | 45 | 2020-08-11T14:37:46.000Z | 2022-03-29T17:03:02.000Z | unit_tests/exporter/applications/views/test_goods.py | code-review-doctor/lite-frontend-1 | cb3b885bb389ea33ef003c916bea7b03a36d86bb | [
"MIT"
] | 3 | 2021-02-01T06:26:19.000Z | 2022-02-21T23:02:46.000Z | import pytest
from exporter.applications.views import goods
def test_is_firearm_certificate_needed_has_section_five_certificate():
actual = goods.is_firearm_certificate_needed(
application={
"organisation": {"documents": [{"document_type": "section-five-certificate", "is_expired": False}]}
... | 30.526316 | 111 | 0.691379 | 212 | 1,740 | 5.372642 | 0.283019 | 0.070237 | 0.105356 | 0.136962 | 0.876207 | 0.876207 | 0.789289 | 0.789289 | 0.727831 | 0.727831 | 0 | 0.02509 | 0.198276 | 1,740 | 56 | 112 | 31.071429 | 0.791398 | 0.054598 | 0 | 0.512195 | 0 | 0 | 0.263736 | 0.067766 | 0 | 0 | 0 | 0 | 0.073171 | 1 | 0.121951 | false | 0.04878 | 0.04878 | 0 | 0.170732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c07eb9eef1a936fa8dc25341e9b95d69849db4f | 17,241 | py | Python | otherlanguage/encoder.py | tanreinama/aMLP-japanese | ee16377c023d113d769645a3139e26093873628b | [
"MIT"
] | 5 | 2021-11-13T09:50:58.000Z | 2022-03-01T07:59:18.000Z | otherlanguage/encoder.py | tanreinama/aMLP-japanese | ee16377c023d113d769645a3139e26093873628b | [
"MIT"
] | 1 | 2022-02-03T23:44:26.000Z | 2022-02-09T03:56:39.000Z | otherlanguage/encoder.py | tanreinama/aMLP-japanese | ee16377c023d113d769645a3139e26093873628b | [
"MIT"
] | null | null | null | import numpy as np
import re
import json
import os
class SWEEncoder_wholeword:
def __init__(self, bpe, emoji):
self.bpe = bpe
self.swe = {}
for idx, wd in enumerate(self.bpe):
self.swe[wd] = idx
self.emoji = emoji
self.maxlen = np.max([len(w) for w in self.swe.ke... | 44.321337 | 272 | 0.461574 | 2,275 | 17,241 | 3.598681 | 0.125714 | 0.040308 | 0.036643 | 0.036643 | 0.766948 | 0.732625 | 0.728472 | 0.706974 | 0.701112 | 0.678637 | 0 | 0.039214 | 0.335885 | 17,241 | 388 | 273 | 44.435567 | 0.638341 | 0 | 0 | 0.735695 | 0 | 0.027248 | 0.159098 | 0.103184 | 0 | 0 | 0.00928 | 0 | 0.008174 | 1 | 0.054496 | false | 0 | 0.027248 | 0.00545 | 0.155313 | 0.00545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1b3415edac7abc0c9810f13e6ef6749e23fa60c | 39 | py | Python | python/lib/reverse.py | AndongTuomaining/stringine | 8beb47eb14129ee2ea1ba2f145ae45d1ed6d9cea | [
"MIT"
] | 3 | 2020-07-08T16:38:10.000Z | 2020-07-14T16:56:37.000Z | python/lib/reverse.py | AndongTuomaining/stringine | 8beb47eb14129ee2ea1ba2f145ae45d1ed6d9cea | [
"MIT"
] | null | null | null | python/lib/reverse.py | AndongTuomaining/stringine | 8beb47eb14129ee2ea1ba2f145ae45d1ed6d9cea | [
"MIT"
] | 2 | 2021-09-03T19:21:23.000Z | 2021-09-15T20:21:56.000Z | def reverse(str):
return str[::-1] | 19.5 | 20 | 0.589744 | 6 | 39 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.205128 | 39 | 2 | 20 | 19.5 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b1f6d690736e6aa5bc48bdfe41a934df5af98a99 | 13,355 | py | Python | nodeconductor/openstack/tests/test_security_groups.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | nodeconductor/openstack/tests/test_security_groups.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | nodeconductor/openstack/tests/test_security_groups.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | from ddt import ddt, data
from mock import patch
from rest_framework import test, status
from nodeconductor.core.mixins import SynchronizationStates
from nodeconductor.openstack import models
from nodeconductor.openstack.tests import factories
from nodeconductor.structure import models as structure_models
from nodeco... | 46.211073 | 108 | 0.717784 | 1,553 | 13,355 | 5.887959 | 0.111397 | 0.08388 | 0.044619 | 0.050197 | 0.819335 | 0.778871 | 0.752515 | 0.711505 | 0.711067 | 0.687555 | 0 | 0.011274 | 0.183078 | 13,355 | 288 | 109 | 46.371528 | 0.826856 | 0 | 0 | 0.562212 | 0 | 0 | 0.053238 | 0.020592 | 0 | 0 | 0 | 0 | 0.152074 | 1 | 0.096774 | false | 0 | 0.036866 | 0 | 0.152074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5949f4c0aceb4dbc89c486b4fd608d9d1a9584a6 | 2,145 | py | Python | app/common/lark_common/model/common_model.py | 21vcloud/Controller | 63169d220f412330a22e3a2fe9964c73893d4e0f | [
"Apache-2.0"
] | null | null | null | app/common/lark_common/model/common_model.py | 21vcloud/Controller | 63169d220f412330a22e3a2fe9964c73893d4e0f | [
"Apache-2.0"
] | null | null | null | app/common/lark_common/model/common_model.py | 21vcloud/Controller | 63169d220f412330a22e3a2fe9964c73893d4e0f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import json
import jsonpickle
from django.http import HttpResponse
class ResponseObj(object):
def __init__(self):
self.message = None
self.content = None
self.is_ok = True
self.no = 200
def to_json(self):
return json.dumps(self, default=lambda... | 32.014925 | 111 | 0.648951 | 268 | 2,145 | 4.951493 | 0.235075 | 0.054258 | 0.058779 | 0.051243 | 0.866616 | 0.866616 | 0.866616 | 0.866616 | 0.812359 | 0.812359 | 0 | 0.009369 | 0.253613 | 2,145 | 66 | 112 | 32.5 | 0.819488 | 0.024709 | 0 | 0.695652 | 0 | 0 | 0.122664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.065217 | 0.043478 | 0.413043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3cb1308b8b97da90416c580ee93908554ba2f932 | 37 | py | Python | diy_framework/__init__.py | vpingale077/LearnPython | 62e92a96722c61d140b0fb30522629218d1fcb6d | [
"MIT"
] | 87 | 2016-06-10T20:59:38.000Z | 2022-02-27T18:24:19.000Z | diy_framework/__init__.py | vpingale077/LearnPython | 62e92a96722c61d140b0fb30522629218d1fcb6d | [
"MIT"
] | 1 | 2017-08-09T06:52:45.000Z | 2017-08-09T06:52:45.000Z | diy_framework/__init__.py | vpingale077/LearnPython | 62e92a96722c61d140b0fb30522629218d1fcb6d | [
"MIT"
] | 30 | 2016-06-17T01:09:41.000Z | 2021-05-12T13:51:21.000Z | from .application import App, Router
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3cea3a465faa3d89d892ab9ccdcb04b3afbca30c | 29 | py | Python | cmaes/__init__.py | HideakiImamura/cmaes | 751a9bfd65902007a5fe21662a6f4f27181795e3 | [
"MIT"
] | 1 | 2021-07-06T04:16:48.000Z | 2021-07-06T04:16:48.000Z | cmaes/__init__.py | nmasahiro/cmaes | 53143e5cef3aed55f1ddbdf82d9e067b4ea4b378 | [
"MIT"
] | null | null | null | cmaes/__init__.py | nmasahiro/cmaes | 53143e5cef3aed55f1ddbdf82d9e067b4ea4b378 | [
"MIT"
] | null | null | null | from .cma import CMA # NOQA
| 14.5 | 28 | 0.689655 | 5 | 29 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.909091 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7082113d2aebb2df4a76e109d4886522a0c665a | 4,740 | py | Python | test/automaton_generation/test_parametrized_state.py | rominf/pyffs | 6c805fbfd7771727138b169b32484b53c0b0fad1 | [
"MIT"
] | 21 | 2018-07-17T13:21:11.000Z | 2022-03-07T03:00:37.000Z | test/automaton_generation/test_parametrized_state.py | rominf/pyffs | 6c805fbfd7771727138b169b32484b53c0b0fad1 | [
"MIT"
] | 10 | 2016-09-23T20:30:18.000Z | 2021-03-07T12:56:56.000Z | test/automaton_generation/test_parametrized_state.py | antoinewdg/pyffs | 6ac2b6cac67422cbfd34ad0896d6faf35be9ccb9 | [
"MIT"
] | 3 | 2018-08-21T12:08:36.000Z | 2020-11-12T19:32:54.000Z | from pyffs.automaton_generation.parametrized_state import ParametrizedState, PositionSet, Position
class TestParametrizedState:
def test_from_position_set(self):
position_set = PositionSet(Position(1, 1), Position(2, 1))
expected = ParametrizedState(Position(0, 1), Position(1, 1))
param, ... | 46.470588 | 110 | 0.614768 | 548 | 4,740 | 5.255474 | 0.062044 | 0.13125 | 0.352083 | 0.20625 | 0.883333 | 0.782986 | 0.761806 | 0.704861 | 0.624653 | 0.537153 | 0 | 0.070348 | 0.247257 | 4,740 | 101 | 111 | 46.930693 | 0.736827 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.071429 | false | 0 | 0.011905 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a73405fcc136399959c98afdc1b07fe3fcaa605a | 145 | py | Python | Python_Basic/indexing_&_slicing.py | gautamtarika/C-Proggramming-Basics | 05dfe3cc8d44554b12afe08b9a86a018a7bac9b0 | [
"MIT"
] | 2 | 2020-08-26T12:51:34.000Z | 2020-08-26T14:07:21.000Z | Python_Basic/indexing_&_slicing.py | gautamtarika/C-Proggramming-Basics | 05dfe3cc8d44554b12afe08b9a86a018a7bac9b0 | [
"MIT"
] | null | null | null | Python_Basic/indexing_&_slicing.py | gautamtarika/C-Proggramming-Basics | 05dfe3cc8d44554b12afe08b9a86a018a7bac9b0 | [
"MIT"
] | 4 | 2020-08-26T12:57:44.000Z | 2020-09-01T08:48:33.000Z | name=input("ENTER YOUR FULL NAME :- ")
print(name[0:10])
print(name[:-1])
print(name[0:])
print(name[-1:])
print(name+name)
print(2*name)
| 18.125 | 39 | 0.627586 | 25 | 145 | 3.64 | 0.4 | 0.494505 | 0.21978 | 0.32967 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.131034 | 145 | 7 | 40 | 20.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.857143 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
597c102f225a38c8b0e8454359520123e13160cc | 193 | py | Python | euler29.py | dchourasia/euler-solutions | e20cbf016a9ea601fcce928d9690930c9a498837 | [
"Apache-2.0"
] | null | null | null | euler29.py | dchourasia/euler-solutions | e20cbf016a9ea601fcce928d9690930c9a498837 | [
"Apache-2.0"
] | null | null | null | euler29.py | dchourasia/euler-solutions | e20cbf016a9ea601fcce928d9690930c9a498837 | [
"Apache-2.0"
] | null | null | null | '''
How many distinct terms are in the sequence generated by ab for 2 ≤ a ≤ 100 and 2 ≤ b ≤ 100?
'''
import math
print(len(set([math.pow(x, y) for x in range(2, 101) for y in range(2, 101)]))) | 32.166667 | 92 | 0.647668 | 44 | 193 | 2.931818 | 0.636364 | 0.031008 | 0.124031 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 0.202073 | 193 | 6 | 93 | 32.166667 | 0.707792 | 0.476684 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
598012983b4f8f508f397905d86cd536d06af0b5 | 162 | py | Python | wpa_project/student_app/serializers/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | 1 | 2022-01-03T02:46:34.000Z | 2022-01-03T02:46:34.000Z | wpa_project/student_app/serializers/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | 31 | 2021-12-29T17:43:06.000Z | 2022-03-25T01:03:17.000Z | wpa_project/student_app/serializers/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | null | null | null | from .student_family_serializers import StudentFamilySerializer
from .student_serializers import StudentSerializer
from .theme_serializers import ThemeSerializer
| 40.5 | 63 | 0.907407 | 16 | 162 | 8.9375 | 0.5625 | 0.356643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 162 | 3 | 64 | 54 | 0.953333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
599a90f9559952eaf263e50d3b20a01b24973434 | 4,046 | py | Python | plugins/manage_admins.py | bisnuray/Music_Player | 82c86fedebf3b89d9874e765804888861d5b059a | [
"MIT"
] | 2 | 2021-10-05T18:57:25.000Z | 2021-10-06T06:40:23.000Z | plugins/manage_admins.py | bisnuray/Music_Player | 82c86fedebf3b89d9874e765804888861d5b059a | [
"MIT"
] | null | null | null | plugins/manage_admins.py | bisnuray/Music_Player | 82c86fedebf3b89d9874e765804888861d5b059a | [
"MIT"
] | 3 | 2021-10-05T18:57:29.000Z | 2021-10-14T06:22:27.000Z |
from logger import LOGGER
from config import Config
from pyrogram import (
Client,
filters
)
from utils import (
get_admins,
sync_to_db,
delete_messages,
sudo_filter
)
@Client.on_message(filters.command(['vcpromote', f"vcpromote@{Config.BOT_USERNAME}"]) & sudo_filter)
async def add_admin(clie... | 37.462963 | 121 | 0.614928 | 536 | 4,046 | 4.501866 | 0.177239 | 0.054704 | 0.070037 | 0.096975 | 0.811024 | 0.799005 | 0.799005 | 0.769996 | 0.70286 | 0.686283 | 0 | 0.000691 | 0.284973 | 4,046 | 107 | 122 | 37.813084 | 0.833391 | 0 | 0 | 0.686869 | 0 | 0 | 0.184178 | 0.02225 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.020202 | 0.040404 | 0 | 0.141414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59db28c7feed56f5728bc5d464dab9bbb081f76a | 233 | py | Python | example/child/child_example.py | getveryrichet/example_pip_package | b72b66014ac72bb24b6e31679632e51321ecb96c | [
"MIT"
] | null | null | null | example/child/child_example.py | getveryrichet/example_pip_package | b72b66014ac72bb24b6e31679632e51321ecb96c | [
"MIT"
] | null | null | null | example/child/child_example.py | getveryrichet/example_pip_package | b72b66014ac72bb24b6e31679632e51321ecb96c | [
"MIT"
] | null | null | null | import numpy as np
import time
def child_example():
print("child example", np)
#to check whether time package can be used by process which doesn't import time package
def child_example_time():
print("time package", time)
| 23.3 | 87 | 0.738197 | 37 | 233 | 4.567568 | 0.567568 | 0.213018 | 0.177515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184549 | 233 | 9 | 88 | 25.888889 | 0.889474 | 0.369099 | 0 | 0 | 0 | 0 | 0.171233 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 0 | 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 | 6 |
ab8bb31cc84cd3355572dfe2133006ed48c3a109 | 40 | py | Python | nlpaug/util/logger/__init__.py | techthiyanes/nlpaug | bb2fc63349bf949f6f6047ff447a0efb16983c0a | [
"MIT"
] | 3,121 | 2019-04-21T07:02:47.000Z | 2022-03-31T22:17:36.000Z | nlpaug/util/logger/__init__.py | techthiyanes/nlpaug | bb2fc63349bf949f6f6047ff447a0efb16983c0a | [
"MIT"
] | 186 | 2019-05-31T18:18:13.000Z | 2022-03-28T10:11:05.000Z | nlpaug/util/logger/__init__.py | techthiyanes/nlpaug | bb2fc63349bf949f6f6047ff447a0efb16983c0a | [
"MIT"
] | 371 | 2019-03-17T17:59:56.000Z | 2022-03-31T01:45:15.000Z | from nlpaug.util.logger.logger import *
| 20 | 39 | 0.8 | 6 | 40 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abde940bc2014b8c1d83003c1db00f2a881cd042 | 11,992 | py | Python | mockdata/test/test_mock_data.py | bluefloyd00/py-test-utility | 9f1561134c59e39b6c57800edcc785697e4dc2dc | [
"MIT"
] | null | null | null | mockdata/test/test_mock_data.py | bluefloyd00/py-test-utility | 9f1561134c59e39b6c57800edcc785697e4dc2dc | [
"MIT"
] | null | null | null | mockdata/test/test_mock_data.py | bluefloyd00/py-test-utility | 9f1561134c59e39b6c57800edcc785697e4dc2dc | [
"MIT"
] | null | null | null | import unittest
import os
import types
import json
import pandas as pd
import csv
import mockdata.functions as fx
import mockdata.mockdata as md
class test_functions(unittest.TestCase):
def test_is_repeated_record(self):
test_row = pd.Series(['nan', '2019-05-07 11:59:10 UTC', 'EUR', 'IT', 'delivery', '... | 63.449735 | 658 | 0.601234 | 1,490 | 11,992 | 4.585906 | 0.086577 | 0.045368 | 0.027367 | 0.039807 | 0.828626 | 0.813845 | 0.805649 | 0.782087 | 0.77755 | 0.759257 | 0 | 0.058996 | 0.232488 | 11,992 | 189 | 659 | 63.449735 | 0.683399 | 0.088726 | 0 | 0.543478 | 0 | 0 | 0.357038 | 0.081562 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.057971 | false | 0 | 0.057971 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6028cc0ccaba3c85291e332f0457326a2939cdd | 3,686 | py | Python | tests/telephony/test_verification.py | nnja/friendhotline | ef4fdace70cbe5024e00fac3fe07a2500a53bc79 | [
"Apache-2.0"
] | 8 | 2020-04-07T02:41:20.000Z | 2020-07-05T17:31:15.000Z | tests/telephony/test_verification.py | nnja/friendhotline | ef4fdace70cbe5024e00fac3fe07a2500a53bc79 | [
"Apache-2.0"
] | 15 | 2020-04-23T23:11:53.000Z | 2020-08-12T22:13:20.000Z | tests/telephony/test_verification.py | nnja/friendhotline | ef4fdace70cbe5024e00fac3fe07a2500a53bc79 | [
"Apache-2.0"
] | 3 | 2020-04-23T23:46:25.000Z | 2020-07-23T17:22:36.000Z | from unittest import mock
import nexmo
import pytest
from hotline import injector
from hotline.database import highlevel as db
from hotline.telephony import verification
from tests.telephony import helpers
@mock.patch("time.sleep", autospec=True)
def test_start_member_verification(sleep, database):
client = mock... | 32.333333 | 96 | 0.716766 | 449 | 3,686 | 5.66147 | 0.211581 | 0.056255 | 0.053501 | 0.028324 | 0.835956 | 0.812352 | 0.812352 | 0.812352 | 0.812352 | 0.812352 | 0 | 0.015676 | 0.169289 | 3,686 | 113 | 97 | 32.619469 | 0.8145 | 0 | 0 | 0.662338 | 0 | 0.025974 | 0.17363 | 0.023874 | 0 | 0 | 0 | 0 | 0.077922 | 1 | 0.051948 | false | 0 | 0.090909 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e60a2a4be4b92b694b6b43b25c625546ab173c39 | 29 | py | Python | tests/test_cmdline.py | panuwizzle/tormor | 0cedd7a6aa093108663658c1401b5b1bcb8f5bdb | [
"MIT"
] | null | null | null | tests/test_cmdline.py | panuwizzle/tormor | 0cedd7a6aa093108663658c1401b5b1bcb8f5bdb | [
"MIT"
] | null | null | null | tests/test_cmdline.py | panuwizzle/tormor | 0cedd7a6aa093108663658c1401b5b1bcb8f5bdb | [
"MIT"
] | null | null | null | def test_command():
pass
| 9.666667 | 19 | 0.655172 | 4 | 29 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 20 | 14.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e619251aca045c3afd645bfff9baabeb002e3c02 | 36,772 | py | Python | DQMOffline/Trigger/python/HiggsMonitoring_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQMOffline/Trigger/python/HiggsMonitoring_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQMOffline/Trigger/python/HiggsMonitoring_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from DQMOffline.Trigger.PhotonMonitor_cff import *
from DQMOffline.Trigger.VBFMETMonitor_cff import *
from DQMOffline.Trigger.HMesonGammaMonitor_cff import *
from DQMOffline.Trigger.METMonitor_cfi import hltMETmonitoring
from DQMOffline.Trigger.TopMonitor_cfi import hltTOPmonit... | 69.120301 | 190 | 0.838518 | 4,775 | 36,772 | 6.016126 | 0.049215 | 0.075191 | 0.087722 | 0.049709 | 0.915062 | 0.870505 | 0.785985 | 0.748146 | 0.709437 | 0.614474 | 0 | 0.138891 | 0.06252 | 36,772 | 531 | 191 | 69.250471 | 0.694428 | 0.154085 | 0 | 0.156328 | 0 | 0.012407 | 0.180078 | 0.151393 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027295 | 0 | 0.027295 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6307ca9d6c4513f00a4bb87e468e08cd5003c88 | 22 | py | Python | PyGlang/__init__.py | kgn/pyglang | 0704435e76bd932e7190614c2098e7af5c8a47e3 | [
"MIT"
] | 1 | 2015-11-05T11:10:27.000Z | 2015-11-05T11:10:27.000Z | PyGlang/__init__.py | kgn/pyglang | 0704435e76bd932e7190614c2098e7af5c8a47e3 | [
"MIT"
] | null | null | null | PyGlang/__init__.py | kgn/pyglang | 0704435e76bd932e7190614c2098e7af5c8a47e3 | [
"MIT"
] | null | null | null | from PyGlang import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6425aed8a28da030d474d3243ef8f4310c48dd9 | 28 | py | Python | catkin_ws (pc)/devel/lib/python2.7/dist-packages/rosaria/msg/__init__.py | YGskty/ros_pionner3_navigation_laser | 532e346f3ba8ad2eb030cb4c1beedb875bcc4da4 | [
"BSD-3-Clause"
] | null | null | null | catkin_ws (pc)/devel/lib/python2.7/dist-packages/rosaria/msg/__init__.py | YGskty/ros_pionner3_navigation_laser | 532e346f3ba8ad2eb030cb4c1beedb875bcc4da4 | [
"BSD-3-Clause"
] | null | null | null | catkin_ws (pc)/devel/lib/python2.7/dist-packages/rosaria/msg/__init__.py | YGskty/ros_pionner3_navigation_laser | 532e346f3ba8ad2eb030cb4c1beedb875bcc4da4 | [
"BSD-3-Clause"
] | null | null | null | from ._BumperState import *
| 14 | 27 | 0.785714 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e651604b0850a977632b1e87a34e4f9adacbfa3f | 51 | py | Python | boards/esp32/mcu/lib/ota32/__init__.py | iot49/IoT49 | 243673db2de477737e23a5da96cd60429c113f87 | [
"MIT"
] | null | null | null | boards/esp32/mcu/lib/ota32/__init__.py | iot49/IoT49 | 243673db2de477737e23a5da96cd60429c113f87 | [
"MIT"
] | null | null | null | boards/esp32/mcu/lib/ota32/__init__.py | iot49/IoT49 | 243673db2de477737e23a5da96cd60429c113f87 | [
"MIT"
] | null | null | null | from .ota import OTA
from .open_url import open_url | 25.5 | 30 | 0.823529 | 10 | 51 | 4 | 0.5 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 2 | 30 | 25.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
05156fad17e60a2e734089540870e5dac570ccfd | 96 | py | Python | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/poly1305.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 1 | 2021-11-07T22:40:27.000Z | 2021-11-07T22:40:27.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/poly1305.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/poly1305.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d2/12/43/01be2997d749ff6c60b7e5e435fc8503a53f2055c27b98f33a0ee0906d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0528a7816d34364449056692e00d44c5997b5125 | 279 | py | Python | tools/datasets/rhd/rhd.py | MohamedAliRashad/FasterSeg | 3b7ab0c8db9accb6277143fc98ab8dee76fe5507 | [
"MIT"
] | 1 | 2020-11-02T12:29:40.000Z | 2020-11-02T12:29:40.000Z | tools/datasets/rhd/rhd.py | MohamedAliRashad/FasterSeg | 3b7ab0c8db9accb6277143fc98ab8dee76fe5507 | [
"MIT"
] | null | null | null | tools/datasets/rhd/rhd.py | MohamedAliRashad/FasterSeg | 3b7ab0c8db9accb6277143fc98ab8dee76fe5507 | [
"MIT"
] | null | null | null | from datasets.BaseDataset import BaseDataset
class RHD(BaseDataset):
@classmethod
def get_class_colors(*args):
return [[255, 0, 0], [0, 0, 255]]
@classmethod
def get_class_names(*args):
# class counting(gtFine)
return ['Left', 'Right']
| 21.461538 | 44 | 0.630824 | 33 | 279 | 5.212121 | 0.575758 | 0.034884 | 0.197674 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047393 | 0.243728 | 279 | 12 | 45 | 23.25 | 0.767773 | 0.078853 | 0 | 0.25 | 0 | 0 | 0.035294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0539806bd7690a1c4b5c0e64053f57d2f403cf42 | 29 | py | Python | tests/test_placeholder_package_name.py | brcrista/Python-Package-Template | 9edbf73585786149772407ff87bdcce5a1d2bf9e | [
"MIT"
] | null | null | null | tests/test_placeholder_package_name.py | brcrista/Python-Package-Template | 9edbf73585786149772407ff87bdcce5a1d2bf9e | [
"MIT"
] | null | null | null | tests/test_placeholder_package_name.py | brcrista/Python-Package-Template | 9edbf73585786149772407ff87bdcce5a1d2bf9e | [
"MIT"
] | 1 | 2020-07-21T12:50:57.000Z | 2020-07-21T12:50:57.000Z | def test_x():
assert True | 14.5 | 15 | 0.655172 | 5 | 29 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 2 | 15 | 14.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0547a6eed3eb9e2966b7a190f8ccf123231d7aa7 | 53,719 | py | Python | Tic Tac Toe/human vs computer.py | kautsiitd/Games-and-BOTS | 58f345064b2834a8ec53074679ef42e159a55889 | [
"MIT"
] | 2 | 2017-09-16T23:12:43.000Z | 2021-01-26T16:25:58.000Z | Tic Tac Toe/human vs computer.py | kautsiitd/Games-and-BOTS | 58f345064b2834a8ec53074679ef42e159a55889 | [
"MIT"
] | null | null | null | Tic Tac Toe/human vs computer.py | kautsiitd/Games-and-BOTS | 58f345064b2834a8ec53074679ef42e159a55889 | [
"MIT"
] | 1 | 2015-12-28T22:34:47.000Z | 2015-12-28T22:34:47.000Z | from graphics import *
import random
x=input('enter grid lenth:')
y=input('win lenth:')
def kanu(o):
list4=[[[0 for q in range(x)] for w in range(x)],[[0 for q in range(x)] for w in range(x)]]
win = GraphWin("Tic Tac Toe", 50*(x+2), 50*(x+3))
di=Text(Point((25*x+50),10),"!!!! Welcome to TIC TAC ... | 60.7681 | 142 | 0.265381 | 4,254 | 53,719 | 3.330042 | 0.043724 | 0.070733 | 0.074121 | 0.039531 | 0.818791 | 0.770507 | 0.717563 | 0.664267 | 0.640901 | 0.593604 | 0 | 0.088513 | 0.637633 | 53,719 | 883 | 143 | 60.83692 | 0.639217 | 0 | 0 | 0.710227 | 0 | 0 | 0.030362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.002273 | null | null | 0.018182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
054f5e17adef8b1970830bc8b716e0ee8952b319 | 57 | py | Python | v2/vid/client/__main__.py | CUITCHE/Vid | ebd46d0ec64c1920c47bdde8e47efafd5797e88c | [
"MIT"
] | null | null | null | v2/vid/client/__main__.py | CUITCHE/Vid | ebd46d0ec64c1920c47bdde8e47efafd5797e88c | [
"MIT"
] | null | null | null | v2/vid/client/__main__.py | CUITCHE/Vid | ebd46d0ec64c1920c47bdde8e47efafd5797e88c | [
"MIT"
] | 1 | 2021-01-14T12:50:02.000Z | 2021-01-14T12:50:02.000Z |
from client import start
import fire
fire.Fire(start)
| 8.142857 | 24 | 0.77193 | 9 | 57 | 4.888889 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 57 | 6 | 25 | 9.5 | 0.93617 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
555163f2562b8804d6cc3864c40c666ebf994589 | 7,727 | py | Python | tests/test_paolo.py | xofoloapp/pyhoroscofox | 5f1e00e270baa0fda64b71c6d1f91972e5b116ae | [
"MIT"
] | 4 | 2018-03-30T14:05:13.000Z | 2020-08-06T10:41:17.000Z | tests/test_paolo.py | xofoloapp/pyhoroscofox | 5f1e00e270baa0fda64b71c6d1f91972e5b116ae | [
"MIT"
] | 3 | 2018-10-29T20:39:44.000Z | 2019-10-19T16:14:03.000Z | tests/test_paolo.py | xofoloapp/pyhoroscofox | 5f1e00e270baa0fda64b71c6d1f91972e5b116ae | [
"MIT"
] | 1 | 2018-03-29T00:05:41.000Z | 2018-03-29T00:05:41.000Z | import horoscofox
from datetime import datetime
from horoscofox import paolo
def test_it_signs():
assert horoscofox.IT_SIGNS[horoscofox.SCORPIO] == "scorpione"
assert horoscofox.IT_SIGNS[horoscofox.VIRGO] == "vergine"
def test_client_today(mocker):
mock_response = {
"result": {
"ele... | 37.328502 | 139 | 0.540701 | 887 | 7,727 | 4.568207 | 0.146561 | 0.066634 | 0.062192 | 0.051826 | 0.87463 | 0.803307 | 0.781096 | 0.768509 | 0.764561 | 0.757897 | 0 | 0.092787 | 0.323541 | 7,727 | 206 | 140 | 37.509709 | 0.682418 | 0 | 0 | 0.615385 | 0 | 0 | 0.310987 | 0.029895 | 0 | 0 | 0 | 0 | 0.159341 | 1 | 0.032967 | false | 0 | 0.016484 | 0 | 0.049451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55c02475faf1efb643774b9307c90b6a1dd0e029 | 164 | py | Python | yo_extensions/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 16 | 2019-09-26T09:05:42.000Z | 2021-02-04T01:39:09.000Z | yo_extensions/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-10-23T19:01:23.000Z | 2020-06-11T09:08:45.000Z | yo_extensions/__init__.py | okulovsky/yo_ds | 9e1fa2e7a1b9746c3982afc152c024169fec45ca | [
"MIT"
] | 2 | 2019-09-26T09:05:50.000Z | 2019-10-23T18:46:11.000Z | from yo_fluq_ds._misc import *
from yo_fluq_ds import Query, Queryable, agg, PushQueryElement
from . import alg, fluq, plots
import pandas as pd
import numpy as np
| 27.333333 | 62 | 0.79878 | 28 | 164 | 4.5 | 0.607143 | 0.095238 | 0.15873 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 164 | 5 | 63 | 32.8 | 0.906475 | 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 | 0 | 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 | 6 |
e96722ab3d2392021c4c4ab64e96a25e98072db5 | 126 | py | Python | credstuffer/notification/__init__.py | bierschi/credstuffer | 1a37aef30654028885d0d2caa456f38f58af4def | [
"MIT"
] | null | null | null | credstuffer/notification/__init__.py | bierschi/credstuffer | 1a37aef30654028885d0d2caa456f38f58af4def | [
"MIT"
] | null | null | null | credstuffer/notification/__init__.py | bierschi/credstuffer | 1a37aef30654028885d0d2caa456f38f58af4def | [
"MIT"
] | 1 | 2020-10-05T12:10:32.000Z | 2020-10-05T12:10:32.000Z |
from credstuffer.notification.mail import Mail
from credstuffer.notification.credstuffer_telegram import CredstufferTelegram
| 31.5 | 77 | 0.896825 | 13 | 126 | 8.615385 | 0.538462 | 0.267857 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 126 | 3 | 78 | 42 | 0.957265 | 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 | 0 | 0 | 0 | 6 |
e9ba557f93633d749cd2588fec0250ca629ed35e | 70 | py | Python | jacdac/motion/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/motion/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/motion/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import MotionClient # type: ignore
| 23.333333 | 47 | 0.785714 | 8 | 70 | 6.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 2 | 48 | 35 | 0.916667 | 0.457143 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75a8c099f4c3747e2d403bd2aae96878d12c03e8 | 19 | py | Python | lambdausb/io/usb_serial/__init__.py | lambdaconcept/lambdaUSB | 2605a56c64b6fea17cd6528ee3ddbf0a8ff47d44 | [
"BSD-2-Clause"
] | 25 | 2019-10-10T07:32:23.000Z | 2022-03-23T23:54:08.000Z | lambdausb/io/usb_serial/__init__.py | jfng/lambdaUSB | 2605a56c64b6fea17cd6528ee3ddbf0a8ff47d44 | [
"BSD-2-Clause"
] | 2 | 2019-10-24T09:50:53.000Z | 2020-07-10T11:37:21.000Z | lambdausb/io/usb_serial/__init__.py | jfng/lambdaUSB | 2605a56c64b6fea17cd6528ee3ddbf0a8ff47d44 | [
"BSD-2-Clause"
] | 3 | 2019-10-25T05:25:10.000Z | 2020-05-20T07:54:22.000Z | from .phy import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75c08d58f83a5e8fa43a8d0ba9df5b9575d09c64 | 27 | py | Python | model/__init__.py | vincent1234321/pytorch_skipgram_ucas | a67b423d7860effe9829329ebf950f0ba95cf93a | [
"Apache-2.0"
] | 1 | 2021-12-21T09:27:10.000Z | 2021-12-21T09:27:10.000Z | model/__init__.py | vincent1234321/pytorch_skipgram_ucas | a67b423d7860effe9829329ebf950f0ba95cf93a | [
"Apache-2.0"
] | null | null | null | model/__init__.py | vincent1234321/pytorch_skipgram_ucas | a67b423d7860effe9829329ebf950f0ba95cf93a | [
"Apache-2.0"
] | null | null | null | from .sgns import SkipGram
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75c722fe8107ae4a16303c2584a71586cf58ee2b | 69 | py | Python | atari_game/Agent/__init__.py | BLUECARVIN/Several-ReinforcementLearning | e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e | [
"MIT"
] | null | null | null | atari_game/Agent/__init__.py | BLUECARVIN/Several-ReinforcementLearning | e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e | [
"MIT"
] | null | null | null | atari_game/Agent/__init__.py | BLUECARVIN/Several-ReinforcementLearning | e71f5d06e9db5e2c45d1cc923b28b5404f77eb5e | [
"MIT"
] | null | null | null | from .DQN import *
from .DoubleDQN import *
from .PPO import PPOAgent | 23 | 25 | 0.768116 | 10 | 69 | 5.3 | 0.6 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 3 | 25 | 23 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f95cb308cd5c353573e86f3c52151a05e593b723 | 74 | py | Python | hextech/__init__.py | bujustin/hextech | 66689e59a38416787e2ce85f99ed8c724535f68f | [
"MIT"
] | 2 | 2020-12-08T21:00:13.000Z | 2021-12-04T06:42:52.000Z | hextech/__init__.py | bujustin/hextech | 66689e59a38416787e2ce85f99ed8c724535f68f | [
"MIT"
] | 1 | 2021-12-04T07:02:15.000Z | 2021-12-04T07:02:15.000Z | hextech/__init__.py | bujustin/hextech | 66689e59a38416787e2ce85f99ed8c724535f68f | [
"MIT"
] | 1 | 2021-12-04T07:03:35.000Z | 2021-12-04T07:03:35.000Z | from .ddragon import *
from .leaguepedia import *
from .classes import * | 24.666667 | 27 | 0.743243 | 9 | 74 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 3 | 28 | 24.666667 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f97b389795e5a581cbf244573401b6c1dd2803c1 | 314 | py | Python | release/scripts/presets/render/DVCPRO_HD_1080p.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/render/DVCPRO_HD_1080p.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/render/DVCPRO_HD_1080p.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.scene.render.resolution_x = 1280
bpy.context.scene.render.resolution_y = 1080
bpy.context.scene.render.resolution_percentage = 100
bpy.context.scene.render.pixel_aspect_x = 3
bpy.context.scene.render.pixel_aspect_y = 2
bpy.context.scene.render.fps = 24
bpy.context.scene.render.fps_base = 1
| 34.888889 | 52 | 0.815287 | 52 | 314 | 4.769231 | 0.384615 | 0.282258 | 0.423387 | 0.592742 | 0.826613 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0.054983 | 0.073248 | 314 | 8 | 53 | 39.25 | 0.797251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f995a9c18057f8ff7af26f33b4cf33246bfb92d7 | 3,757 | py | Python | tests/test_config_manager_query_del.py | he0119/nonebot-bison | 31f02d73dbdfcbbd4b824a9b6a1cfc9aa0fc6b09 | [
"MIT"
] | 20 | 2021-11-27T16:52:21.000Z | 2022-03-31T07:29:29.000Z | tests/test_config_manager_query_del.py | he0119/nonebot-bison | 31f02d73dbdfcbbd4b824a9b6a1cfc9aa0fc6b09 | [
"MIT"
] | 24 | 2021-12-10T06:00:49.000Z | 2022-03-31T04:25:36.000Z | tests/test_config_manager_query_del.py | he0119/nonebot-bison | 31f02d73dbdfcbbd4b824a9b6a1cfc9aa0fc6b09 | [
"MIT"
] | 4 | 2021-11-23T03:25:24.000Z | 2022-02-21T10:20:37.000Z | import pytest
import respx
from httpx import Response
from nonebug.app import App
from .platforms.utils import get_json
from .utils import fake_admin_user, fake_group_message_event
@pytest.mark.asyncio
async def test_query_sub(app: App):
from nonebot.adapters.onebot.v11.message import Message
from nonebot_bi... | 32.669565 | 95 | 0.661698 | 470 | 3,757 | 5.025532 | 0.197872 | 0.065199 | 0.060965 | 0.053345 | 0.813294 | 0.80398 | 0.742591 | 0.715495 | 0.682049 | 0.682049 | 0 | 0.026502 | 0.246739 | 3,757 | 114 | 96 | 32.95614 | 0.808127 | 0 | 0 | 0.634615 | 0 | 0 | 0.071067 | 0.013841 | 0 | 0 | 0 | 0 | 0.028846 | 1 | 0 | false | 0.057692 | 0.192308 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f9b39f64036b60c86d6b7c42a38973aa9ca040ca | 78 | py | Python | tests/test_config.py | Spin14/wolf-backend | 21fc9d1a0df092eaa6a533149a165d2898f5fe40 | [
"MIT"
] | 2 | 2020-01-04T17:46:20.000Z | 2020-01-19T17:41:38.000Z | tests/test_config.py | Spin14/wolf-backend | 21fc9d1a0df092eaa6a533149a165d2898f5fe40 | [
"MIT"
] | 7 | 2019-05-06T01:42:12.000Z | 2019-05-14T23:22:54.000Z | tests/test_config.py | Spin14/wolf-backend | 21fc9d1a0df092eaa6a533149a165d2898f5fe40 | [
"MIT"
] | 1 | 2019-09-24T21:15:52.000Z | 2019-09-24T21:15:52.000Z | from app.config import ENV
def test_env() -> None:
assert ENV == "test"
| 13 | 26 | 0.641026 | 12 | 78 | 4.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 78 | 5 | 27 | 15.6 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 6 |
ddd3fb916d76646127c69bd486992534eee3fa35 | 23 | py | Python | cyclopts/analysis/__init__.py | gidden/cyclopts | e346b1721c8d8722af2862823844ab2e7864141b | [
"BSD-3-Clause"
] | null | null | null | cyclopts/analysis/__init__.py | gidden/cyclopts | e346b1721c8d8722af2862823844ab2e7864141b | [
"BSD-3-Clause"
] | 6 | 2015-01-26T18:31:36.000Z | 2015-02-24T18:28:41.000Z | cyclopts/analysis/__init__.py | gidden/cyclopts | e346b1721c8d8722af2862823844ab2e7864141b | [
"BSD-3-Clause"
] | null | null | null | from analysis import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb12473fa8079bd3fae74764dc6ec082ee1070a6 | 89 | py | Python | montecarlo/__init__.py | dhaystead/MonteCarlo | 557a15455e9a5eaabf2d36e430ba9328331a1941 | [
"MIT"
] | null | null | null | montecarlo/__init__.py | dhaystead/MonteCarlo | 557a15455e9a5eaabf2d36e430ba9328331a1941 | [
"MIT"
] | null | null | null | montecarlo/__init__.py | dhaystead/MonteCarlo | 557a15455e9a5eaabf2d36e430ba9328331a1941 | [
"MIT"
] | null | null | null | from montecarlo.distributions.dist import *
from montecarlo.montecarlo import MonteCarlo
| 29.666667 | 44 | 0.865169 | 10 | 89 | 7.7 | 0.5 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 89 | 2 | 45 | 44.5 | 0.950617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34bc8fb083b57e14d32865e2db0bcccf42700bc4 | 153 | py | Python | gen/common/udp.py | jaiarobotics/jaiabot-configuration | 00334cb7741e877567f8f70352b32cf837835796 | [
"BSD-2-Clause"
] | 1 | 2021-05-12T16:39:54.000Z | 2021-05-12T16:39:54.000Z | gen/common/udp.py | jaiarobotics/jaiabot-configuration | 00334cb7741e877567f8f70352b32cf837835796 | [
"BSD-2-Clause"
] | 1 | 2021-07-21T21:04:07.000Z | 2021-07-21T21:29:14.000Z | gen/common/udp.py | jaiarobotics/jaiabot-configuration | 00334cb7741e877567f8f70352b32cf837835796 | [
"BSD-2-Clause"
] | null | null | null | from common import is_simulation, is_runtime
from common import comms
def wifi_udp_port(vehicle_id):
return 31000 + comms.wifi_modem_id(vehicle_id)
| 25.5 | 50 | 0.816993 | 25 | 153 | 4.68 | 0.64 | 0.17094 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037594 | 0.130719 | 153 | 5 | 51 | 30.6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
34c00eedede6e16b41b38617fc4fe6edf0eb2215 | 6,631 | py | Python | geba_website/apps/core/custom_storages.py | GeoffBarrett/geba_website | a8b520f6540200b4d085e93a3ac9ec766fd82af5 | [
"MIT"
] | null | null | null | geba_website/apps/core/custom_storages.py | GeoffBarrett/geba_website | a8b520f6540200b4d085e93a3ac9ec766fd82af5 | [
"MIT"
] | 15 | 2020-02-12T00:00:38.000Z | 2022-03-11T23:43:44.000Z | geba_website/apps/core/custom_storages.py | GeoffBarrett/geba_website | a8b520f6540200b4d085e93a3ac9ec766fd82af5 | [
"MIT"
] | null | null | null | # custom_storages.py
from django.conf import settings
from storages.backends.s3boto3 import S3Boto3Storage, S3Boto3StorageFile
from django.utils.timezone import localtime
from filebrowser.storage import StorageMixin
import datetime
# from filebrowser_safe.storage import StorageMixin
StaticStorageLocal = lambda: S3Boto... | 28.830435 | 90 | 0.581059 | 769 | 6,631 | 4.894668 | 0.156047 | 0.053135 | 0.045165 | 0.039054 | 0.773645 | 0.773645 | 0.773645 | 0.773645 | 0.74814 | 0.715994 | 0 | 0.008396 | 0.317448 | 6,631 | 229 | 91 | 28.956332 | 0.823243 | 0.083849 | 0 | 0.770833 | 0 | 0 | 0.032107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0 | 0.034722 | 0.020833 | 0.423611 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34e95cade5c336001af198dbb4410ff10acbc52a | 377 | py | Python | avista_sensors/__init__.py | ommmid/sensors | 29e873c8691292900ff3ba6fa582d64e3d0303f0 | [
"MIT"
] | null | null | null | avista_sensors/__init__.py | ommmid/sensors | 29e873c8691292900ff3ba6fa582d64e3d0303f0 | [
"MIT"
] | null | null | null | avista_sensors/__init__.py | ommmid/sensors | 29e873c8691292900ff3ba6fa582d64e3d0303f0 | [
"MIT"
] | 1 | 2021-03-21T23:09:26.000Z | 2021-03-21T23:09:26.000Z | """This module is used to provide the capability to read data from sensors attached to the IoT device"""
import avista_sensors.impl
import avista_sensors.sweep_state
import avista_sensors.processor_loader
import avista_sensors.sensor_sweep
import avista_sensors.sensor_processor
import avista_sensors.data_transporter
im... | 37.7 | 104 | 0.872679 | 55 | 377 | 5.745455 | 0.472727 | 0.303797 | 0.481013 | 0.158228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090186 | 377 | 9 | 105 | 41.888889 | 0.921283 | 0.259947 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34eb3c3229f0f85ce301c1ba1ceab3df01b12292 | 133 | py | Python | CoronaProyect/CoronaProyect/views.py | LQNHM/CoronaProject | 04142db93425b8d992cbc1b3754ff4c50d6e2c94 | [
"MIT"
] | null | null | null | CoronaProyect/CoronaProyect/views.py | LQNHM/CoronaProject | 04142db93425b8d992cbc1b3754ff4c50d6e2c94 | [
"MIT"
] | null | null | null | CoronaProyect/CoronaProyect/views.py | LQNHM/CoronaProject | 04142db93425b8d992cbc1b3754ff4c50d6e2c94 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
def inicio(request):
return render(request, "inicio.html") | 26.6 | 38 | 0.81203 | 18 | 133 | 6 | 0.666667 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 133 | 5 | 38 | 26.6 | 0.907563 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
550872edd72ef864ab8d8d878a5db78d60f183f4 | 60 | py | Python | src/main.py | jmjwozniak/tack | 3bbe893793d5878feda8f9a3e5a9688d34b06d35 | [
"Apache-2.0"
] | null | null | null | src/main.py | jmjwozniak/tack | 3bbe893793d5878feda8f9a3e5a9688d34b06d35 | [
"Apache-2.0"
] | null | null | null | src/main.py | jmjwozniak/tack | 3bbe893793d5878feda8f9a3e5a9688d34b06d35 | [
"Apache-2.0"
] | null | null | null |
import sys
import tack.setup
tack.setup.command(sys.argv)
| 10 | 28 | 0.783333 | 10 | 60 | 4.7 | 0.6 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 5 | 29 | 12 | 0.886792 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b51cb85459f18c2528962bfce1620fd3a629f24 | 80 | py | Python | python/testData/findUsages/ConstImportedFromAnotherFile.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/findUsages/ConstImportedFromAnotherFile.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/findUsages/ConstImportedFromAnotherFile.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ConstImportedFromAnotherFileDefiner import SOME_CONST
print ( SOME_CONST)
| 20 | 58 | 0.875 | 8 | 80 | 8.5 | 0.75 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 3 | 59 | 26.666667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
9ba238230faacee85486bbafa4dd41b2d9edb7a8 | 88,603 | py | Python | docs.py | openprocurement/openprocurement.tender.cfaua | 1f84b15838c3b5980409734f57361540e6e6f676 | [
"Apache-2.0"
] | null | null | null | docs.py | openprocurement/openprocurement.tender.cfaua | 1f84b15838c3b5980409734f57361540e6e6f676 | [
"Apache-2.0"
] | 3 | 2018-09-28T12:57:52.000Z | 2018-10-29T13:54:38.000Z | docs.py | ProzorroUKR/openprocurement.tender.cfaua | 7b2d0f514be6dca090ea96b83df8ce01bdc7dc0d | [
"Apache-2.0"
] | 1 | 2018-09-10T07:40:41.000Z | 2018-09-10T07:40:41.000Z | # -*- coding: utf-8 -*-
import json
import os
from copy import deepcopy
from datetime import timedelta, datetime
from openprocurement.api.models import get_now
from openprocurement.api.tests.base import PrefixedRequestClass
from time import sleep
from webtest import TestApp
from uuid import uuid4
import openprocuremen... | 51.966569 | 217 | 0.585195 | 9,560 | 88,603 | 5.291841 | 0.054603 | 0.055209 | 0.048389 | 0.069026 | 0.893675 | 0.882368 | 0.856414 | 0.835817 | 0.813896 | 0.801206 | 0 | 0.015244 | 0.254427 | 88,603 | 1,704 | 218 | 51.997066 | 0.750212 | 0.013781 | 0 | 0.582849 | 0 | 0.000727 | 0.291449 | 0.174143 | 0 | 0 | 0 | 0 | 0.135174 | 1 | 0.005087 | false | 0.001453 | 0.008721 | 0.000727 | 0.018169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.