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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
57a654ade6b52263c1d1938536b7c89badca3908 | 7,453 | py | Python | python/athena/gpu_ops/Pad.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | 2 | 2021-05-29T11:18:14.000Z | 2021-09-09T14:29:21.000Z | python/athena/gpu_ops/Pad.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | null | null | null | python/athena/gpu_ops/Pad.py | DMALab/TSplit | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | [
"Apache-2.0"
] | 1 | 2021-05-01T16:34:37.000Z | 2021-05-01T16:34:37.000Z | from __future__ import absolute_import
from .Node import Op, NAME_RULE, PROFILING_MODE
from .. import profiler
from .._base import get_array_memory
class PadOp(Op):
def __call__(self, node_A, paddings, mode="CONSTANT", constant_values=0):
"""Creates a node that represents np.sum(node_A, axis=0).
On... | 36.714286 | 115 | 0.598685 | 947 | 7,453 | 4.470961 | 0.13094 | 0.039679 | 0.037789 | 0.032121 | 0.846245 | 0.801134 | 0.79334 | 0.79334 | 0.74256 | 0.705716 | 0 | 0.012115 | 0.302294 | 7,453 | 203 | 116 | 36.714286 | 0.802115 | 0.110023 | 0 | 0.666667 | 0 | 0 | 0.019183 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.106061 | false | 0 | 0.128788 | 0.007576 | 0.318182 | 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 |
57b7f02e78b76576d058877196e1a18e4c40aef5 | 48 | py | Python | terrascript/spotinst/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/spotinst/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/spotinst/r.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/spotinst/r.py
import terrascript
| 12 | 27 | 0.8125 | 6 | 48 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 3 | 28 | 16 | 0.906977 | 0.520833 | 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 |
57eba5310a64ec00ffd0cdde980aede2af1a5da4 | 351 | py | Python | pomodorr/frames/selectors/pause_selector.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | null | null | null | pomodorr/frames/selectors/pause_selector.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | 15 | 2020-04-11T18:30:57.000Z | 2020-07-05T09:37:43.000Z | pomodorr/frames/selectors/pause_selector.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | null | null | null | from pomodorr.frames.models import Pause
def get_all_pauses(**kwargs):
return Pause.objects.all(**kwargs)
def get_finished_pauses(**kwargs):
return Pause.objects.filter(start__isnull=False, end__isnull=False, **kwargs)
def get_unfinished_pauses(**kwargs):
return Pause.objects.filter(start__isnull=Fals... | 25.071429 | 81 | 0.769231 | 48 | 351 | 5.333333 | 0.4375 | 0.070313 | 0.210938 | 0.269531 | 0.59375 | 0.476563 | 0.476563 | 0.476563 | 0.476563 | 0.476563 | 0 | 0 | 0.108262 | 351 | 13 | 82 | 27 | 0.817891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0.428571 | 1 | 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 |
17f33595648459b6525a78210cd9f6169fa23974 | 8,759 | py | Python | python_experiments/data_analysis/figures_icde19/varying_parameters.py | mexuaz/AccTrussDecomposition | 15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4 | [
"MIT"
] | 9 | 2020-03-30T13:00:15.000Z | 2022-03-17T13:40:17.000Z | python_experiments/data_analysis/figures_icde19/varying_parameters.py | mexuaz/AccTrussDecomposition | 15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4 | [
"MIT"
] | null | null | null | python_experiments/data_analysis/figures_icde19/varying_parameters.py | mexuaz/AccTrussDecomposition | 15a9e8fd2f123f5acace5f3b40b94f1a74eb17d4 | [
"MIT"
] | 2 | 2020-08-17T10:05:51.000Z | 2020-08-30T22:57:55.000Z | import os
import matplotlib
import matplotlib.pyplot as plt
from data_analysis.figures_icde19.general_config import *
import json
# figure parameters
FIG_SIZE_MULTIPLE = (8, 4.5)
def varying_wpt(fig_folder='../data-pdf/icde20'):
with open('./play/varying_parameters/wpt.json') as ifs:
data_dict = json.lo... | 39.813636 | 120 | 0.648019 | 1,407 | 8,759 | 3.74769 | 0.110874 | 0.05348 | 0.03755 | 0.034515 | 0.88261 | 0.864593 | 0.831785 | 0.809975 | 0.775081 | 0.764081 | 0 | 0.02602 | 0.188264 | 8,759 | 219 | 121 | 39.995434 | 0.715612 | 0.031396 | 0 | 0.583851 | 0 | 0 | 0.125636 | 0.015852 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024845 | false | 0 | 0.031056 | 0 | 0.055901 | 0.031056 | 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 |
17f8873f2ddf80dca20c2efcf2577cbcf2d6b364 | 214 | py | Python | deepclustering/meters2/__init__.py | jizongFox/deep-clustering-toolbox | 0721cbbb278af027409ed4c115ccc743b6daed1b | [
"MIT"
] | 34 | 2019-08-05T03:48:36.000Z | 2022-03-29T03:04:51.000Z | deepclustering/meters2/__init__.py | jizongFox/deep-clustering-toolbox | 0721cbbb278af027409ed4c115ccc743b6daed1b | [
"MIT"
] | 10 | 2019-05-03T21:02:50.000Z | 2021-12-23T08:01:30.000Z | deepclustering/meters2/__init__.py | ETS-Research-Repositories/deep-clustering-toolbox | 0721cbbb278af027409ed4c115ccc743b6daed1b | [
"MIT"
] | 5 | 2019-09-29T07:56:03.000Z | 2021-04-22T12:08:50.000Z | from .meter_interface import MeterInterface
from .historicalContainer import HistoricalContainer
from .individual_meters import *
from .storage_interface import Storage
# todo: improve the stability of each meter
| 30.571429 | 52 | 0.850467 | 25 | 214 | 7.16 | 0.6 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116822 | 214 | 6 | 53 | 35.666667 | 0.94709 | 0.191589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4b90858d94e9ae48bc8eaa73600f64e610b1ea7 | 72,376 | py | Python | src/amuse/community/phantom/interface.py | andrisdorozsmai/amuse | 768d27ffe4acc21880f945199417589eabf0d600 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/phantom/interface.py | andrisdorozsmai/amuse | 768d27ffe4acc21880f945199417589eabf0d600 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/phantom/interface.py | andrisdorozsmai/amuse | 768d27ffe4acc21880f945199417589eabf0d600 | [
"Apache-2.0"
] | null | null | null | "Interface to Phantom"
from amuse.community import (
CodeInterface,
LegacyFunctionSpecification,
legacy_function,
LiteratureReferencesMixIn,
)
from amuse.community.interface.gd import (
GravitationalDynamicsInterface,
GravitationalDynamics,
# GravityFieldInterface,
GravityFieldCode,
)
... | 31.467826 | 104 | 0.56346 | 6,810 | 72,376 | 5.764464 | 0.050367 | 0.062411 | 0.067939 | 0.09382 | 0.875076 | 0.862034 | 0.809736 | 0.791064 | 0.77392 | 0.763832 | 0 | 0.019309 | 0.340969 | 72,376 | 2,299 | 105 | 31.481514 | 0.803702 | 0.030259 | 0 | 0.660861 | 0 | 0.000968 | 0.215079 | 0.011634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047896 | false | 0 | 0.002419 | 0.001451 | 0.096759 | 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 |
a4da4afb677ba18f25020c451d462c07b6fa374a | 2,760 | py | Python | TelegramAPI.py | pedromartinez079/qhatu | 1b6e718e29e8684bfcb025816c40d64205eb5bfc | [
"MIT"
] | null | null | null | TelegramAPI.py | pedromartinez079/qhatu | 1b6e718e29e8684bfcb025816c40d64205eb5bfc | [
"MIT"
] | null | null | null | TelegramAPI.py | pedromartinez079/qhatu | 1b6e718e29e8684bfcb025816c40d64205eb5bfc | [
"MIT"
] | null | null | null | # importing libraries
import requests
def getUpdates(token):
#Input parameters
#Telegram Bot Token
token=token
url_base='https://api.telegram.org/bot'+token+'/getUpdates'
# defining a params dict for the parameters to be sent to the API
PARAMS = {}
myheaders = {}
# sending get... | 32.093023 | 114 | 0.663406 | 346 | 2,760 | 5.225434 | 0.190751 | 0.049779 | 0.035398 | 0.04646 | 0.860066 | 0.845133 | 0.814712 | 0.787058 | 0.787058 | 0.787058 | 0 | 0 | 0.243841 | 2,760 | 85 | 115 | 32.470588 | 0.866315 | 0.258333 | 0 | 0.698113 | 0 | 0 | 0.105627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.018868 | 0 | 0.226415 | 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 |
351d8fbd85cd39f36c2f48c3bc75e20740d59084 | 169 | py | Python | intro-to-rnns/stock-price-predictor.py | iratao/deep-learning | 4099c096623318669286cb555c2ffa7d8f3a8354 | [
"MIT"
] | null | null | null | intro-to-rnns/stock-price-predictor.py | iratao/deep-learning | 4099c096623318669286cb555c2ffa7d8f3a8354 | [
"MIT"
] | null | null | null | intro-to-rnns/stock-price-predictor.py | iratao/deep-learning | 4099c096623318669286cb555c2ffa7d8f3a8354 | [
"MIT"
] | null | null | null | from keras.layers.core import Dense, Activation, Dropout
from keras.layers.recurrent import LSTM
from keras.models import Sequential
import lstm, time # helper libraries | 42.25 | 56 | 0.83432 | 24 | 169 | 5.875 | 0.625 | 0.191489 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112426 | 169 | 4 | 57 | 42.25 | 0.94 | 0.094675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
103f3e5bb2a06ce1deb0755775ccc484282fcee1 | 114 | py | Python | fpipe/meta/modified.py | vkvam/fpipe | 2905095f46923c6c4c460c3d154544b654136df4 | [
"MIT"
] | 18 | 2019-12-16T17:55:57.000Z | 2020-10-21T23:25:40.000Z | fpipe/meta/modified.py | vkvam/fpipe | 2905095f46923c6c4c460c3d154544b654136df4 | [
"MIT"
] | 23 | 2019-12-11T14:15:08.000Z | 2020-02-17T12:53:21.000Z | fpipe/meta/modified.py | vkvam/fpipe | 2905095f46923c6c4c460c3d154544b654136df4 | [
"MIT"
] | null | null | null | import datetime
from fpipe.meta.abstract import FileData
class Modified(FileData[datetime.datetime]):
pass
| 14.25 | 44 | 0.789474 | 14 | 114 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 7 | 45 | 16.285714 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
105132c50856209a0ddf10343171e1b251b09661 | 51 | py | Python | triez.py | sumerc/pyctrie | 8974fe9bf942c31bc2a9308422b9b753e4e4f611 | [
"MIT"
] | 3 | 2019-12-26T14:38:22.000Z | 2021-04-08T04:27:47.000Z | triez.py | sumerc/pyctrie | 8974fe9bf942c31bc2a9308422b9b753e4e4f611 | [
"MIT"
] | null | null | null | triez.py | sumerc/pyctrie | 8974fe9bf942c31bc2a9308422b9b753e4e4f611 | [
"MIT"
] | null | null | null | import _triez
class Trie(_triez.Trie):
pass | 12.75 | 25 | 0.686275 | 7 | 51 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 51 | 4 | 26 | 12.75 | 0.846154 | 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 |
10749b02e21fcd615e82671e28db13ce72eac205 | 41 | py | Python | banjo/middleware/authentication.py | guobird/banjo | bd6154f35d5ecce76c2538bd3eb874024dd98f61 | [
"MIT"
] | null | null | null | banjo/middleware/authentication.py | guobird/banjo | bd6154f35d5ecce76c2538bd3eb874024dd98f61 | [
"MIT"
] | null | null | null | banjo/middleware/authentication.py | guobird/banjo | bd6154f35d5ecce76c2538bd3eb874024dd98f61 | [
"MIT"
] | null | null | null | class AuthenticationMiddleware:
pass
| 13.666667 | 31 | 0.804878 | 3 | 41 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 32 | 20.5 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
1082b3a1f3486dea91f90394f597806651d66c37 | 220 | py | Python | validator/views/__init__.py | s-scherrer/qa4sm | 99fa62d5e42e5a2b81c5bad1553c8137fe4259e7 | [
"MIT"
] | 10 | 2019-02-27T15:05:15.000Z | 2022-03-10T21:13:40.000Z | validator/views/__init__.py | s-scherrer/qa4sm | 99fa62d5e42e5a2b81c5bad1553c8137fe4259e7 | [
"MIT"
] | 69 | 2019-07-04T23:20:17.000Z | 2022-03-29T06:34:06.000Z | validator/views/__init__.py | s-scherrer/qa4sm | 99fa62d5e42e5a2b81c5bad1553c8137fe4259e7 | [
"MIT"
] | 10 | 2019-03-14T11:46:58.000Z | 2022-03-25T13:06:16.000Z | from .general import *
from .signup import *
from .validation import *
from .results import *
from .user_profile import *
from .about import *
from .datasets import *
from .help import *
from .published_results import *
| 22 | 32 | 0.754545 | 29 | 220 | 5.655172 | 0.413793 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 220 | 9 | 33 | 24.444444 | 0.891304 | 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 |
108b9f5b25d87e092a0d6a55f534f469362d3f8e | 58,831 | py | Python | pytgbot/api_types/sendable/reply_markup.py | annihilatorrrr/pytgbot | 2f84b11253873f7af1bc7539eb7d93197d51c90c | [
"MIT"
] | null | null | null | pytgbot/api_types/sendable/reply_markup.py | annihilatorrrr/pytgbot | 2f84b11253873f7af1bc7539eb7d93197d51c90c | [
"MIT"
] | 2 | 2016-06-27T16:59:27.000Z | 2016-06-27T17:00:10.000Z | pytgbot/api_types/sendable/reply_markup.py | annihilatorrrr/pytgbot | 2f84b11253873f7af1bc7539eb7d93197d51c90c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from luckydonaldUtils.encoding import unicode_type, to_unicode as u
from luckydonaldUtils.exceptions import assert_type_or_raise
from . import Sendable
__author__ = 'luckydonald'
__all__ = [
'Button',
'ReplyMarkup',
'ReplyKeyboardMarkup',
'KeyboardButton',
'KeyboardButtonPol... | 43.93652 | 475 | 0.669426 | 7,621 | 58,831 | 5.010366 | 0.058785 | 0.009114 | 0.009899 | 0.015582 | 0.857218 | 0.811282 | 0.788812 | 0.76883 | 0.76464 | 0.762649 | 0 | 0.002383 | 0.258197 | 58,831 | 1,338 | 476 | 43.969357 | 0.872253 | 0.538628 | 0 | 0.557416 | 0 | 0.023923 | 0.20538 | 0.129763 | 0 | 0 | 0 | 0 | 0.083732 | 1 | 0.138756 | false | 0 | 0.014354 | 0 | 0.349282 | 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 |
52b2e02cc5062d272287ce685416da2f5ef6c434 | 129 | py | Python | TodoApp/admin.py | ysyesilyurt/TodoApp | b091f1840279e8df6c3c6f40fe22214918512937 | [
"MIT"
] | 6 | 2019-02-09T22:03:06.000Z | 2022-03-07T12:31:51.000Z | TodoApp/admin.py | ysyesilyurt/TodoApp | b091f1840279e8df6c3c6f40fe22214918512937 | [
"MIT"
] | null | null | null | TodoApp/admin.py | ysyesilyurt/TodoApp | b091f1840279e8df6c3c6f40fe22214918512937 | [
"MIT"
] | 1 | 2019-12-16T23:30:22.000Z | 2019-12-16T23:30:22.000Z | from django.contrib import admin
from . import models
admin.site.register(models.TodoList)
admin.site.register(models.TodoItem)
| 21.5 | 36 | 0.821705 | 18 | 129 | 5.888889 | 0.555556 | 0.169811 | 0.320755 | 0.433962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085271 | 129 | 5 | 37 | 25.8 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
52b6e0824b395214044ce7ec6d002504fbc20c47 | 123 | py | Python | mmt/training/__init__.py | jianzhnie/MultimodalTransformer | 6cd4ca8034a53da361149745aecead68fbe304a0 | [
"Apache-2.0"
] | 1 | 2021-11-08T14:32:24.000Z | 2021-11-08T14:32:24.000Z | mmt/training/__init__.py | jianzhnie/MultimodalTransformer | 6cd4ca8034a53da361149745aecead68fbe304a0 | [
"Apache-2.0"
] | null | null | null | mmt/training/__init__.py | jianzhnie/MultimodalTransformer | 6cd4ca8034a53da361149745aecead68fbe304a0 | [
"Apache-2.0"
] | null | null | null | '''
Author: jianzhnie
Date: 2021-11-18 18:19:57
LastEditTime: 2021-11-18 18:19:57
LastEditors: jianzhnie
Description:
'''
| 13.666667 | 33 | 0.731707 | 19 | 123 | 4.736842 | 0.578947 | 0.133333 | 0.177778 | 0.222222 | 0.311111 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0.256881 | 0.113821 | 123 | 8 | 34 | 15.375 | 0.568807 | 0.918699 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
52ef204b61a135ac4f29d838631c11716edd3915 | 141 | py | Python | src/moilutils/__init__.py | MoilOrg/MoilApp | 6ed8d595fbfc4a3ff622358168029fa4d29a9070 | [
"MIT"
] | null | null | null | src/moilutils/__init__.py | MoilOrg/MoilApp | 6ed8d595fbfc4a3ff622358168029fa4d29a9070 | [
"MIT"
] | 6 | 2021-06-20T13:27:57.000Z | 2022-01-24T02:45:20.000Z | src/moilutils/__init__.py | MoilOrg/MoilApp | 6ed8d595fbfc4a3ff622358168029fa4d29a9070 | [
"MIT"
] | 5 | 2021-06-18T07:28:26.000Z | 2021-11-09T06:58:35.000Z | from moilutils.moilutils import MoilUtils
from moilutils.videoController import VideoController
from moilutils.sourceIcon import ResourceIcon | 47 | 53 | 0.900709 | 15 | 141 | 8.466667 | 0.4 | 0.307087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 141 | 3 | 54 | 47 | 0.976923 | 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 |
eaf9abfca1c6176005122dc10870a9392053fd76 | 65 | py | Python | olimpiada/ejercicios/random/random.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | null | null | null | olimpiada/ejercicios/random/random.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | null | null | null | olimpiada/ejercicios/random/random.py | DarkShadow4/python | 4cd94e0cf53ee06c9c31e9272572ca9656697c30 | [
"MIT"
] | 1 | 2020-08-19T17:25:22.000Z | 2020-08-19T17:25:22.000Z | import random
print random.seed()
print random.randrange(0, 100)
| 16.25 | 30 | 0.784615 | 10 | 65 | 5.1 | 0.7 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.107692 | 65 | 3 | 31 | 21.666667 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d80dfe2436114a40c1399c46d6215190e4a60219 | 493 | py | Python | bootstrapProject/bootstrapApp/views.py | cs-fullstack-2019-spring/django-bootstrap-grid-cw-bettyjware11 | d8ae4a6e0c49bb6c623207e818f2d1b3c9dae05b | [
"Apache-2.0"
] | null | null | null | bootstrapProject/bootstrapApp/views.py | cs-fullstack-2019-spring/django-bootstrap-grid-cw-bettyjware11 | d8ae4a6e0c49bb6c623207e818f2d1b3c9dae05b | [
"Apache-2.0"
] | null | null | null | bootstrapProject/bootstrapApp/views.py | cs-fullstack-2019-spring/django-bootstrap-grid-cw-bettyjware11 | d8ae4a6e0c49bb6c623207e818f2d1b3c9dae05b | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, "bootstrapApp/index.html")
def next(request):
return render(request, "bootstrapApp/next.html")
def previous(request):
return render(request, "bootstrapApp/previous.html")
def Page2(request):
... | 19.72 | 56 | 0.742394 | 58 | 493 | 6.310345 | 0.344828 | 0.213115 | 0.259563 | 0.355191 | 0.519126 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009479 | 0.144016 | 493 | 25 | 57 | 19.72 | 0.85782 | 0.046653 | 0 | 0 | 0 | 0 | 0.249467 | 0.249467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 1 | 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 |
dc495d21f559c6a24ed9b1aa9c09058d5a20f9f2 | 11,049 | py | Python | pyquil/api/tests/test_base_connection.py | dwillmer/pyquil | f9a8504d20729b79f07ec4730c93f4b84d6439eb | [
"Apache-2.0"
] | 1 | 2021-11-30T21:03:15.000Z | 2021-11-30T21:03:15.000Z | pyquil/api/tests/test_base_connection.py | dwillmer/pyquil | f9a8504d20729b79f07ec4730c93f4b84d6439eb | [
"Apache-2.0"
] | null | null | null | pyquil/api/tests/test_base_connection.py | dwillmer/pyquil | f9a8504d20729b79f07ec4730c93f4b84d6439eb | [
"Apache-2.0"
] | null | null | null | import requests_mock
import urllib.parse
from pyquil.api._base_connection import ForestSession
from pyquil.api._config import PyquilConfig
from pyquil.tests.utils import api_fixture_path
SUCCESSFUL_ENGAGEMENT_RESPONSE = {
"engage": {
"success": True,
"message": "Good job, you engaged all by yours... | 37.327703 | 99 | 0.675627 | 1,337 | 11,049 | 5.26178 | 0.122663 | 0.061407 | 0.057285 | 0.078181 | 0.819048 | 0.811656 | 0.787349 | 0.767306 | 0.755082 | 0.751955 | 0 | 0.009724 | 0.190243 | 11,049 | 295 | 100 | 37.454237 | 0.776573 | 0.083808 | 0 | 0.584071 | 0 | 0 | 0.271995 | 0.044637 | 0 | 0 | 0 | 0 | 0.053097 | 1 | 0.039823 | false | 0 | 0.022124 | 0 | 0.070796 | 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 |
dc8e51fbe45565b906a84bbadd1b1377e61d0597 | 5,851 | py | Python | tests/v2/test_menus.py | fabischolasi/fast-food-fast-v1 | 492f0bdaaeadf12089a200a9b64bdfc22cd03d0c | [
"MIT"
] | 1 | 2019-10-16T07:56:31.000Z | 2019-10-16T07:56:31.000Z | tests/v2/test_menus.py | fabzer0/FastFoodAPI | 492f0bdaaeadf12089a200a9b64bdfc22cd03d0c | [
"MIT"
] | null | null | null | tests/v2/test_menus.py | fabzer0/FastFoodAPI | 492f0bdaaeadf12089a200a9b64bdfc22cd03d0c | [
"MIT"
] | null | null | null | """
This module facilitates testing
"""
import unittest
import os
import sys
import json
from tests.v2.base_setup import BaseTests
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
class MenuTests(BaseTests):
"""
This class contains tests for menu
"""
def test_get_all_menu(s... | 52.711712 | 159 | 0.667578 | 742 | 5,851 | 5.113208 | 0.117251 | 0.075909 | 0.121771 | 0.143911 | 0.920137 | 0.896152 | 0.896152 | 0.877965 | 0.877965 | 0.86136 | 0 | 0.020768 | 0.177064 | 5,851 | 110 | 160 | 53.190909 | 0.767186 | 0.080157 | 0 | 0.661972 | 0 | 0 | 0.190073 | 0 | 0 | 0 | 0 | 0 | 0.253521 | 1 | 0.098592 | false | 0 | 0.070423 | 0 | 0.183099 | 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 |
dca2fe3587325bee26841d669e485317014b1563 | 71,238 | py | Python | code/classifier.py | meghbhalerao/cnnormaliztion | 90cf80d4de5cf86dd8bba625bd757c9540cded48 | [
"MIT"
] | null | null | null | code/classifier.py | meghbhalerao/cnnormaliztion | 90cf80d4de5cf86dd8bba625bd757c9540cded48 | [
"MIT"
] | null | null | null | code/classifier.py | meghbhalerao/cnnormaliztion | 90cf80d4de5cf86dd8bba625bd757c9540cded48 | [
"MIT"
] | null | null | null | """
implement the classifier with training, evaluation,saving models and other functions
"""
import numpy as np
from scipy import sparse
import torch
from torch import nn
from torch import optim
from torch.nn import parameter
from torch.optim.optimizer import Optimizer
from torch.utils.data import Dataset,DataLoader, ... | 55.266098 | 196 | 0.662329 | 9,064 | 71,238 | 4.874669 | 0.049316 | 0.042776 | 0.021727 | 0.01874 | 0.835619 | 0.801874 | 0.771275 | 0.75645 | 0.737575 | 0.733297 | 0 | 0.010127 | 0.23764 | 71,238 | 1,289 | 197 | 55.266098 | 0.80344 | 0.086344 | 0 | 0.647975 | 0 | 0 | 0.05008 | 0.008649 | 0 | 0 | 0 | 0 | 0.004154 | 1 | 0.048806 | false | 0.001038 | 0.01973 | 0 | 0.103842 | 0.058152 | 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 |
dcb3007d6d43faa8643f37ab889e3f9913359eef | 74 | py | Python | tests/test_main.py | guillaume-havard/test_automation_heroku | 58f8f9f9b8646f0fd88efb1c4e976ecd55dd0888 | [
"MIT"
] | null | null | null | tests/test_main.py | guillaume-havard/test_automation_heroku | 58f8f9f9b8646f0fd88efb1c4e976ecd55dd0888 | [
"MIT"
] | 2 | 2021-03-13T19:52:55.000Z | 2021-03-14T16:19:17.000Z | tests/test_main.py | guillaume-havard/test_automation_heroku | 58f8f9f9b8646f0fd88efb1c4e976ecd55dd0888 | [
"MIT"
] | null | null | null | import main
def test_add_two_int():
assert main.func_add(3, 3) == 6
| 12.333333 | 35 | 0.675676 | 14 | 74 | 3.285714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.202703 | 74 | 5 | 36 | 14.8 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f4a8daa83d0486e9c17e56774394e4d040df617b | 83 | py | Python | drawBot/transformations.py | postdiplometypographielangage/FB_november_2016 | 0d5419a038640a7d82127ec562b7d69212964ccc | [
"MIT"
] | null | null | null | drawBot/transformations.py | postdiplometypographielangage/FB_november_2016 | 0d5419a038640a7d82127ec562b7d69212964ccc | [
"MIT"
] | null | null | null | drawBot/transformations.py | postdiplometypographielangage/FB_november_2016 | 0d5419a038640a7d82127ec562b7d69212964ccc | [
"MIT"
] | null | null | null |
translate(100, 100)
# rotate(45)
# skew(30, 30)
scale(1, 2)
rect(10, 10, 100, 100) | 13.833333 | 22 | 0.626506 | 16 | 83 | 3.25 | 0.6875 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342857 | 0.156627 | 83 | 6 | 22 | 13.833333 | 0.4 | 0.277108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4f7305cac90263ecda16aca35eff1cb6787f056 | 286 | py | Python | gpvolve/__init__.py | harmsm/gpvolve | 94dd71e5fbee29cc50b82d282ef33c850fb33575 | [
"MIT"
] | null | null | null | gpvolve/__init__.py | harmsm/gpvolve | 94dd71e5fbee29cc50b82d282ef33c850fb33575 | [
"MIT"
] | null | null | null | gpvolve/__init__.py | harmsm/gpvolve | 94dd71e5fbee29cc50b82d282ef33c850fb33575 | [
"MIT"
] | 2 | 2021-09-27T17:51:31.000Z | 2021-11-04T15:35:51.000Z | # Import the main module in this package
from gpvolve.__version__ import __version__
from gpvolve.base import to_greedy
from gpvolve import simulate
from gpvolve import utils
from gpvolve import pyplot
from gpvolve import cluster
from gpvolve import markov
from gpvolve import analysis
| 28.6 | 43 | 0.84965 | 42 | 286 | 5.571429 | 0.452381 | 0.376068 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 286 | 9 | 44 | 31.777778 | 0.95122 | 0.132867 | 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 |
f4fbcd2aa0b7febef6565bab6e5a7e1fdba69873 | 175 | py | Python | tests/shake/test_classy_author.py | vlcinsky/pytest_xfiles | 6b00ed2e82548d3f77664d6f54931bd1eeb9f94d | [
"MIT"
] | 3 | 2018-04-09T11:57:38.000Z | 2021-04-27T07:43:33.000Z | tests/shake/test_classy_author.py | vlcinsky/pytest_xfiles | 6b00ed2e82548d3f77664d6f54931bd1eeb9f94d | [
"MIT"
] | null | null | null | tests/shake/test_classy_author.py | vlcinsky/pytest_xfiles | 6b00ed2e82548d3f77664d6f54931bd1eeb9f94d | [
"MIT"
] | null | null | null | """Test user defined fixture `classy_author` (see `conftest.py`) derived from
`package_yaml`. """
def test_custom_fixture(classy_author):
print(classy_author.full_name)
| 25 | 77 | 0.76 | 24 | 175 | 5.25 | 0.75 | 0.285714 | 0.301587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 6 | 78 | 29.166667 | 0.812903 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
523134d8d7dea73eddbe0584975b8879e9c753e8 | 273 | py | Python | src/HABApp/openhab/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 44 | 2018-12-13T08:46:44.000Z | 2022-03-07T03:23:21.000Z | src/HABApp/openhab/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 156 | 2019-03-02T20:53:31.000Z | 2022-03-23T13:13:58.000Z | src/HABApp/openhab/__init__.py | DerOetzi/HABApp | a123fbfa9928ebb3cda9a84f6984dcba593c8236 | [
"Apache-2.0"
] | 18 | 2019-03-08T07:13:21.000Z | 2022-03-22T19:52:31.000Z | # no external dependencies
import HABApp.openhab.errors
import HABApp.openhab.events
# isort: split
import HABApp.openhab.interface_async
import HABApp.openhab.interface
# isort: split
# items use the interface for the convenience functions
import HABApp.openhab.items
| 19.5 | 55 | 0.820513 | 36 | 273 | 6.194444 | 0.5 | 0.269058 | 0.426009 | 0.251121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 273 | 13 | 56 | 21 | 0.929167 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52771179871baefc93d6f7973b83636509a0d253 | 99 | py | Python | MyProject/main/views.py | JohnRosey/Django-Articles-tutos | 95ff16f2b3499fce1f51c76a4f5df7111f7e64a8 | [
"MIT"
] | null | null | null | MyProject/main/views.py | JohnRosey/Django-Articles-tutos | 95ff16f2b3499fce1f51c76a4f5df7111f7e64a8 | [
"MIT"
] | null | null | null | MyProject/main/views.py | JohnRosey/Django-Articles-tutos | 95ff16f2b3499fce1f51c76a4f5df7111f7e64a8 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index (request): return render(request, 'main/index.html') | 49.5 | 62 | 0.787879 | 14 | 99 | 5.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 2 | 62 | 49.5 | 0.876404 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 0.5 | 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 |
528fa304be2f6a4cc2e3ed93c18316f84276c1bc | 64 | py | Python | entities/location.py | fic2/python-dokuwiki-export | 3584c4cd146e1d8510504064c8c8094e41a5fc9e | [
"MIT"
] | null | null | null | entities/location.py | fic2/python-dokuwiki-export | 3584c4cd146e1d8510504064c8c8094e41a5fc9e | [
"MIT"
] | null | null | null | entities/location.py | fic2/python-dokuwiki-export | 3584c4cd146e1d8510504064c8c8094e41a5fc9e | [
"MIT"
] | null | null | null |
from . import NamedEntity
class Location(NamedEntity):
pass
| 9.142857 | 28 | 0.765625 | 7 | 64 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 6 | 29 | 10.666667 | 0.924528 | 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 |
bfe8d77c7483b123c30a73d5209fac133537d04d | 17 | py | Python | hipp/qc/__init__.py | cmcneil-usgs/hipp | be6f9f8cccdc32b7b96be92172977a5c4006500c | [
"MIT"
] | 12 | 2020-10-07T22:12:11.000Z | 2022-02-15T23:10:53.000Z | hipp/qc/__init__.py | cmcneil-usgs/hipp | be6f9f8cccdc32b7b96be92172977a5c4006500c | [
"MIT"
] | 15 | 2020-12-30T22:36:08.000Z | 2022-02-23T05:47:14.000Z | hipp/qc/__init__.py | cmcneil-usgs/hipp | be6f9f8cccdc32b7b96be92172977a5c4006500c | [
"MIT"
] | 4 | 2020-10-11T19:48:58.000Z | 2022-03-08T21:32:13.000Z | from .qc import * | 17 | 17 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87090286c02d6d8bb89b0b3e6ce38a843b29f5ca | 271 | py | Python | basic/stack.py | salman-kgp/DataStructures | 208b9614f3267b049a30a78f7b451eb28398ca9e | [
"MIT"
] | null | null | null | basic/stack.py | salman-kgp/DataStructures | 208b9614f3267b049a30a78f7b451eb28398ca9e | [
"MIT"
] | null | null | null | basic/stack.py | salman-kgp/DataStructures | 208b9614f3267b049a30a78f7b451eb28398ca9e | [
"MIT"
] | null | null | null | class Stack():
def __init__(self):
self.data = []
def isEmpty(self):
return self.data == []
def push(self,item):
self.data.append(item)
def pop(self):
return self.data.pop()
def peek(self):
return self.data[-1]
def size(self):
return len(self.data) | 15.055556 | 24 | 0.645756 | 42 | 271 | 4.071429 | 0.380952 | 0.280702 | 0.245614 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004525 | 0.184502 | 271 | 18 | 25 | 15.055556 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0 | 0.307692 | 0.846154 | 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 |
870a4563371be17c8b8cf9869bb3972f72ba0769 | 108 | py | Python | bezier2arc/__init__.py | phenaff/bezier2arc | 2b08cbae59e428630c1ea0b7b8968d9a9eab6df3 | [
"MIT"
] | null | null | null | bezier2arc/__init__.py | phenaff/bezier2arc | 2b08cbae59e428630c1ea0b7b8968d9a9eab6df3 | [
"MIT"
] | null | null | null | bezier2arc/__init__.py | phenaff/bezier2arc | 2b08cbae59e428630c1ea0b7b8968d9a9eab6df3 | [
"MIT"
] | null | null | null | from .bezier2arc import (convert_file, list_paths, colorize,get_parser, circle_from_points, convert_to_svg)
| 54 | 107 | 0.851852 | 16 | 108 | 5.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.074074 | 108 | 1 | 108 | 108 | 0.84 | 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 |
87406ff53c6dc0aa0856c19dce64d3cedcdf5562 | 105 | py | Python | backend/fief/dependencies/tasks.py | fief-dev/fief | cbfeec11da7a03aa345cb7ceb088b5d8ec9d6ab1 | [
"MIT"
] | 1 | 2022-02-13T17:39:42.000Z | 2022-02-13T17:39:42.000Z | backend/fief/dependencies/tasks.py | fief-dev/fief | cbfeec11da7a03aa345cb7ceb088b5d8ec9d6ab1 | [
"MIT"
] | 1 | 2022-02-13T14:46:24.000Z | 2022-02-13T14:46:24.000Z | backend/fief/dependencies/tasks.py | fief-dev/fief | cbfeec11da7a03aa345cb7ceb088b5d8ec9d6ab1 | [
"MIT"
] | null | null | null | from fief.tasks import SendTask, send_task
async def get_send_task() -> SendTask:
return send_task
| 17.5 | 42 | 0.761905 | 16 | 105 | 4.75 | 0.6875 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 5 | 43 | 21 | 0.873563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5e88ae5114bf524c7131b1c43a44de687f6ced48 | 13,235 | py | Python | src/schema/versions/4d41e915e805_202162393822_add_answer_comments_table_add_answer_.py | mrtom/ent-dev-bookclub | 1a1f5cca410e6316c3ba5c5a2c4167d1cc172c73 | [
"MIT"
] | null | null | null | src/schema/versions/4d41e915e805_202162393822_add_answer_comments_table_add_answer_.py | mrtom/ent-dev-bookclub | 1a1f5cca410e6316c3ba5c5a2c4167d1cc172c73 | [
"MIT"
] | null | null | null | src/schema/versions/4d41e915e805_202162393822_add_answer_comments_table_add_answer_.py | mrtom/ent-dev-bookclub | 1a1f5cca410e6316c3ba5c5a2c4167d1cc172c73 | [
"MIT"
] | null | null | null | # Code generated by github.com/lolopinto/ent/ent, DO NOT edit.
"""add answer_comments table
add answer_comments_authors_edges table
add index answer_comments_authors_edges_time_idx to answer_comments_authors_edges
add answer_comments_edges table
add index answer_comments_edges_time_idx to answer_comments_edges
add que... | 65.845771 | 269 | 0.657046 | 1,429 | 13,235 | 5.754374 | 0.095171 | 0.052536 | 0.087559 | 0.117475 | 0.909522 | 0.874377 | 0.823665 | 0.757023 | 0.69184 | 0.674693 | 0 | 0.057668 | 0.219116 | 13,235 | 200 | 270 | 66.175 | 0.737978 | 0.106309 | 0 | 0.581818 | 1 | 0 | 0.408058 | 0.279983 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012121 | false | 0 | 0.024242 | 0 | 0.036364 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e9677edc26b81012fce3680cfb7727cd1a25544 | 69 | py | Python | molsysmt/molecular_mechanics/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/molecular_mechanics/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/molecular_mechanics/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | from .potential_energy import energy_minimization, potential_energy
| 23 | 67 | 0.884058 | 8 | 69 | 7.25 | 0.625 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 69 | 2 | 68 | 34.5 | 0.920635 | 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 |
5ea0115d274baa1ec42e1ea61ff02927a6bd86ef | 88 | py | Python | tests/test_hello.py | hexagonrecursion/tmp-cc | f4353b28da35eab58f7d4d27d2af740daf52a5e4 | [
"CC0-1.0"
] | null | null | null | tests/test_hello.py | hexagonrecursion/tmp-cc | f4353b28da35eab58f7d4d27d2af740daf52a5e4 | [
"CC0-1.0"
] | null | null | null | tests/test_hello.py | hexagonrecursion/tmp-cc | f4353b28da35eab58f7d4d27d2af740daf52a5e4 | [
"CC0-1.0"
] | null | null | null | def foo():
return 1
def bar():
return 3
def test_hello():
bar()
assert 2 == 2
| 8.8 | 17 | 0.568182 | 15 | 88 | 3.266667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.284091 | 88 | 9 | 18 | 9.777778 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.428571 | true | 0 | 0 | 0.285714 | 0.714286 | 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 |
5ec00efdde696956b525f26ffb51ac696bd77a97 | 157 | py | Python | src/utils/__init__.py | amiiiirrrr/TensorRT_keras_model | df2691b75a2de10e4d3db9d5e549f919fe7a8d86 | [
"Apache-2.0"
] | 1 | 2022-01-30T21:42:55.000Z | 2022-01-30T21:42:55.000Z | src/utils/__init__.py | amiiiirrrr/TensorRT_keras_model | df2691b75a2de10e4d3db9d5e549f919fe7a8d86 | [
"Apache-2.0"
] | null | null | null | src/utils/__init__.py | amiiiirrrr/TensorRT_keras_model | df2691b75a2de10e4d3db9d5e549f919fe7a8d86 | [
"Apache-2.0"
] | null | null | null | #coding: utf-8
from utils.callbacks import CallbackForSegmentation
from utils.imagegen import CroppedImageDataGenerator, get_datagen
from utils.misc import * | 39.25 | 65 | 0.859873 | 19 | 157 | 7.052632 | 0.684211 | 0.201493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.089172 | 157 | 4 | 66 | 39.25 | 0.93007 | 0.082803 | 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 |
0d772f371c10f7fd6e27d6011105d9fa986c5137 | 8,944 | py | Python | pari/faces/migrations/0001_initial.py | theju/pari | 318a4ffba08362e78253ded100a63f5b5c6eadf9 | [
"BSD-3-Clause"
] | null | null | null | pari/faces/migrations/0001_initial.py | theju/pari | 318a4ffba08362e78253ded100a63f5b5c6eadf9 | [
"BSD-3-Clause"
] | null | null | null | pari/faces/migrations/0001_initial.py | theju/pari | 318a4ffba08362e78253ded100a63f5b5c6eadf9 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import mezzanine.core.managers
import mezzanine.core.fields
import pari.article.mixins.admin_thumb
class Migration(migrations.Migration):
dependencies = [
('sites', '0001_initial'),
('album',... | 77.103448 | 253 | 0.635174 | 1,024 | 8,944 | 5.416016 | 0.15918 | 0.08727 | 0.051388 | 0.054814 | 0.818247 | 0.808511 | 0.808511 | 0.798594 | 0.798594 | 0.798594 | 0 | 0.009546 | 0.226968 | 8,944 | 115 | 254 | 77.773913 | 0.792595 | 0.002348 | 0 | 0.688073 | 0 | 0.055046 | 0.307253 | 0.010089 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055046 | 0 | 0.082569 | 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 |
0d8140b2308f17d37f216340b05fdce20a0b82a7 | 6,461 | py | Python | tests/api/v1/test_permission.py | geru-br/keyloop | b3147984ef2517d5d53518f969ad9637e1b54a00 | [
"MIT"
] | 1 | 2022-01-18T08:04:18.000Z | 2022-01-18T08:04:18.000Z | tests/api/v1/test_permission.py | geru-br/keyloop | b3147984ef2517d5d53518f969ad9637e1b54a00 | [
"MIT"
] | 1 | 2020-03-16T20:35:07.000Z | 2020-03-16T20:35:07.000Z | tests/api/v1/test_permission.py | geru-br/keyloop | b3147984ef2517d5d53518f969ad9637e1b54a00 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def permission_payload():
return {
"data": {
"type": "permission",
"attributes": {
"name": "permission_a",
"description": "Permission for resource A"
}
}
}
def test_create_permission(pyramid_app... | 34.550802 | 120 | 0.530723 | 631 | 6,461 | 5.272583 | 0.141046 | 0.054103 | 0.059513 | 0.081755 | 0.823565 | 0.797716 | 0.775774 | 0.761948 | 0.761948 | 0.761948 | 0 | 0.020944 | 0.327503 | 6,461 | 186 | 121 | 34.736559 | 0.744764 | 0 | 0 | 0.436709 | 0 | 0.050633 | 0.339266 | 0.107104 | 0 | 0 | 0 | 0 | 0.101266 | 1 | 0.056962 | false | 0 | 0.006329 | 0.006329 | 0.06962 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d8826e3b7cb3a449bbf25750f6b212c14b066ee | 2,817 | py | Python | GCC-paddle/tests/test_graph_classification.py | S-HuaBomb/Contrib | 10596814bb98c9e2499e4240e56207dc3b547959 | [
"Apache-2.0"
] | 243 | 2020-06-16T08:06:57.000Z | 2022-03-31T10:09:37.000Z | GCC-paddle/tests/test_graph_classification.py | S-HuaBomb/Contrib | 10596814bb98c9e2499e4240e56207dc3b547959 | [
"Apache-2.0"
] | 34 | 2020-02-20T11:04:58.000Z | 2022-03-12T00:54:26.000Z | GCC-paddle/tests/test_graph_classification.py | S-HuaBomb/Contrib | 10596814bb98c9e2499e4240e56207dc3b547959 | [
"Apache-2.0"
] | 49 | 2020-06-28T02:37:17.000Z | 2022-03-29T08:07:35.000Z | import argparse
import os
from gcc.tasks.graph_classification import GraphClassification
from tests.utils import E2E_PATH, MOCO_PATH, get_default_args, generate_emb
def run(dataset, model, emb_path=""):
args = get_default_args()
args.dataset = dataset
args.model = model
args.emb_path = emb_path
t... | 30.619565 | 79 | 0.658502 | 453 | 2,817 | 3.889625 | 0.130243 | 0.068104 | 0.113507 | 0.096481 | 0.785471 | 0.744608 | 0.744608 | 0.744608 | 0.726447 | 0.726447 | 0 | 0.024946 | 0.174654 | 2,817 | 91 | 80 | 30.956044 | 0.732903 | 0 | 0 | 0.5 | 1 | 0 | 0.186723 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.161765 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ddb621ca84570371b6943ef49ec76e30a06a71a | 112 | py | Python | office365/sharepoint/sitedesigns/design_package_menu_contents.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/sharepoint/sitedesigns/design_package_menu_contents.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/sharepoint/sitedesigns/design_package_menu_contents.py | rikeshtailor/Office365-REST-Python-Client | ca7bfa1b22212137bb4e984c0457632163e89a43 | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.sharepoint.base_entity import BaseEntity
class DesignPackageMenuContents(BaseEntity):
pass
| 18.666667 | 55 | 0.839286 | 11 | 112 | 8.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.116071 | 112 | 5 | 56 | 22.4 | 0.909091 | 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 |
21b5d397f7c1011359bf5a02e3901ffefde2438f | 29 | py | Python | segregation/batch/__init__.py | noahbouchier/segregation | 88bd9608251b8bc42eae9265adb7941279b9868c | [
"BSD-3-Clause"
] | 92 | 2019-02-17T02:36:29.000Z | 2022-01-22T04:29:10.000Z | segregation/batch/__init__.py | noahbouchier/segregation | 88bd9608251b8bc42eae9265adb7941279b9868c | [
"BSD-3-Clause"
] | 128 | 2019-02-22T03:52:40.000Z | 2022-02-28T18:39:01.000Z | segregation/batch/__init__.py | noahbouchier/segregation | 88bd9608251b8bc42eae9265adb7941279b9868c | [
"BSD-3-Clause"
] | 29 | 2019-02-17T02:36:50.000Z | 2022-03-17T04:15:49.000Z | from .batch_compute import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
21f67aad8350c9f2273177cda5482d2a2f2aaa53 | 103 | py | Python | novelsave/client/cli/groups/_manage.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 12 | 2021-08-25T04:37:53.000Z | 2022-01-28T03:06:17.000Z | novelsave/client/cli/groups/_manage.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 18 | 2021-08-24T20:02:16.000Z | 2022-03-29T06:55:53.000Z | novelsave/client/cli/groups/_manage.py | damare01/novelsave | 7896e8393c944e169e3cb52a33ab81ae396dff9f | [
"Apache-2.0"
] | 6 | 2021-10-03T11:31:08.000Z | 2022-03-29T07:28:49.000Z | from ..main import cli
@cli.group(name="manage")
def _manage():
"""group of database commands"""
| 14.714286 | 36 | 0.660194 | 14 | 103 | 4.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165049 | 103 | 6 | 37 | 17.166667 | 0.77907 | 0.252427 | 0 | 0 | 0 | 0 | 0.084507 | 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 |
1d052c711d8d5063d77dd90825c358bf5a0dd1ac | 72 | py | Python | xtest/__init__.py | defnngj/unittest-extend | 1e13b0735b8c79b98ccff19b8b9f3ab006c6df63 | [
"Apache-2.0"
] | 1 | 2022-01-14T06:05:08.000Z | 2022-01-14T06:05:08.000Z | xtest/__init__.py | defnngj/unittest-extend | 1e13b0735b8c79b98ccff19b8b9f3ab006c6df63 | [
"Apache-2.0"
] | null | null | null | xtest/__init__.py | defnngj/unittest-extend | 1e13b0735b8c79b98ccff19b8b9f3ab006c6df63 | [
"Apache-2.0"
] | null | null | null | from .case import TestCase
from .case import run
__version__ = "0.0.1"
| 14.4 | 26 | 0.736111 | 12 | 72 | 4.083333 | 0.666667 | 0.326531 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.166667 | 72 | 4 | 27 | 18 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df234c79f867ec7b61b36df9b8a850a66dcf7b6e | 198 | py | Python | ialgebra/interpreters/__init__.py | huashen218/pytorch-ialgebra | f498fb2c91c5a48204c66ad5e6dc118cbec69641 | [
"MIT"
] | 2 | 2021-02-01T20:07:13.000Z | 2021-02-10T17:15:45.000Z | build/lib/ialgebra/interpreters/__init__.py | huashen218/pytorch-ialgebra | f498fb2c91c5a48204c66ad5e6dc118cbec69641 | [
"MIT"
] | null | null | null | build/lib/ialgebra/interpreters/__init__.py | huashen218/pytorch-ialgebra | f498fb2c91c5a48204c66ad5e6dc118cbec69641 | [
"MIT"
] | null | null | null | from .interpreter import *
from .gradcam import *
from .gradsaliency import *
from .GuidedBackpropGrad import *
from .GuidedBackpropSmoothGrad import *
from .mask import *
from .smoothgrad import *
| 24.75 | 39 | 0.787879 | 21 | 198 | 7.428571 | 0.428571 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 198 | 7 | 40 | 28.285714 | 0.917647 | 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 |
df305c8ec7b8a57a54ac158102451433dbab5769 | 37,551 | py | Python | ecs/ecs.py | OohDark30/ecs-saml-demo | 0845bec8a587295fe54f5c8342790a81ad56cfda | [
"Apache-2.0"
] | null | null | null | ecs/ecs.py | OohDark30/ecs-saml-demo | 0845bec8a587295fe54f5c8342790a81ad56cfda | [
"Apache-2.0"
] | null | null | null | ecs/ecs.py | OohDark30/ecs-saml-demo | 0845bec8a587295fe54f5c8342790a81ad56cfda | [
"Apache-2.0"
] | null | null | null | """
DELL EMC ECS API Data Collection Module.
"""
import os
import json
import requests
import urllib3
import uuid
from requests.auth import HTTPBasicAuth
try:
import xml.etree.cElementTree as ET
except ImportError:
import xml.etree.ElementTree as ET
import boto3
class ECSException(Exception):
... | 51.02038 | 201 | 0.553727 | 3,893 | 37,551 | 5.185461 | 0.076805 | 0.039629 | 0.037153 | 0.076782 | 0.826968 | 0.810125 | 0.797147 | 0.775301 | 0.761777 | 0.742408 | 0 | 0.004934 | 0.352294 | 37,551 | 735 | 202 | 51.089796 | 0.825056 | 0.059865 | 0 | 0.603738 | 0 | 0 | 0.281832 | 0.140014 | 0 | 0 | 0 | 0 | 0.003738 | 1 | 0.042991 | false | 0.007477 | 0.018692 | 0 | 0.093458 | 0.007477 | 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 |
df4ebc0ea14d44610ea1e2cb61821259446a7dd2 | 10,136 | py | Python | test/kernel/test_kernel_linear_fxp_hub_compare_weight.py | pan185/UnarySim | c03386efdbb8151f3c33f34b44d1d6a6fc960434 | [
"MIT"
] | 1 | 2021-11-29T23:51:15.000Z | 2021-11-29T23:51:15.000Z | test/kernel/test_kernel_linear_fxp_hub_compare_weight.py | pan185/UnarySim | c03386efdbb8151f3c33f34b44d1d6a6fc960434 | [
"MIT"
] | null | null | null | test/kernel/test_kernel_linear_fxp_hub_compare_weight.py | pan185/UnarySim | c03386efdbb8151f3c33f34b44d1d6a6fc960434 | [
"MIT"
] | null | null | null | # %%
import torch
from UnarySim.kernel.linear import *
import matplotlib.pyplot as plt
import time
import math
import numpy as np
from UnarySim.app.Tlut import utils
# %%
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
# %%
def test(rounding = "round", abs_err = True, et_cycle = None):
ufc... | 35.317073 | 335 | 0.70807 | 1,764 | 10,136 | 3.727891 | 0.119615 | 0.036496 | 0.063564 | 0.041363 | 0.891423 | 0.874848 | 0.81326 | 0.737074 | 0.718218 | 0.69267 | 0 | 0.031448 | 0.143548 | 10,136 | 286 | 336 | 35.440559 | 0.726068 | 0.122336 | 0 | 0.553846 | 0 | 0 | 0.060582 | 0.024368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005128 | false | 0 | 0.066667 | 0 | 0.076923 | 0.133333 | 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 |
10d1ffa6e8e73806e2dfe79900b15e8c15b871aa | 17 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/DocstringTypeFromSubModule/pkg1/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/DocstringTypeFromSubModule/pkg1/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnresolvedReferencesInspection/DocstringTypeFromSubModule/pkg1/__init__.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from m1 import *
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.235294 | 17 | 1 | 17 | 17 | 0.846154 | 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 |
338e07d33613069a7a29b4a5dc6b8d2a11b5515e | 13,823 | py | Python | test/lazy/test_interpolated_lazy_variable.py | imsrgadich/gpytorch | 6d312392515599e5b79735c8fa3174c1a2a7e698 | [
"MIT"
] | null | null | null | test/lazy/test_interpolated_lazy_variable.py | imsrgadich/gpytorch | 6d312392515599e5b79735c8fa3174c1a2a7e698 | [
"MIT"
] | null | null | null | test/lazy/test_interpolated_lazy_variable.py | imsrgadich/gpytorch | 6d312392515599e5b79735c8fa3174c1a2a7e698 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import gpytorch
import torch
import unittest
from torch.autograd import Variable
from gpytorch.lazy import NonLazyVariable, InterpolatedLazyVariable
from gpytorch.utils i... | 34.906566 | 88 | 0.560153 | 1,697 | 13,823 | 4.259281 | 0.047731 | 0.021306 | 0.126176 | 0.102518 | 0.866215 | 0.837161 | 0.819314 | 0.799115 | 0.781267 | 0.781129 | 0 | 0.052665 | 0.315923 | 13,823 | 395 | 89 | 34.994937 | 0.711717 | 0 | 0 | 0.565714 | 0 | 0 | 0.000579 | 0 | 0 | 0 | 0 | 0 | 0.048571 | 1 | 0.02 | false | 0 | 0.028571 | 0 | 0.051429 | 0.002857 | 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 |
1d1db645948cdac9942ccc0ca203d319ecffa912 | 27 | py | Python | cuda/other/cu2pylib/pycudemo/__init__.py | zcemycl/algoTest | 9518fb2b60fd83c85aeb2ab809ff647aaf643f0a | [
"MIT"
] | 1 | 2022-01-26T16:33:45.000Z | 2022-01-26T16:33:45.000Z | cuda/other/cu2pylib/pycudemo/__init__.py | zcemycl/algoTest | 9518fb2b60fd83c85aeb2ab809ff647aaf643f0a | [
"MIT"
] | null | null | null | cuda/other/cu2pylib/pycudemo/__init__.py | zcemycl/algoTest | 9518fb2b60fd83c85aeb2ab809ff647aaf643f0a | [
"MIT"
] | 1 | 2022-01-26T16:35:44.000Z | 2022-01-26T16:35:44.000Z | from pycudemo.core import * | 27 | 27 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 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 |
1d20073c036d909c85054129637ad7db68a00b4b | 155 | py | Python | src/sentry/mediators/external_requests/__init__.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | 2 | 2019-03-04T12:45:54.000Z | 2019-03-04T12:45:55.000Z | src/sentry/mediators/external_requests/__init__.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | 196 | 2019-06-10T08:34:10.000Z | 2022-02-22T01:26:13.000Z | src/sentry/mediators/external_requests/__init__.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | 1 | 2017-02-09T06:36:57.000Z | 2017-02-09T06:36:57.000Z | from __future__ import absolute_import
from .select_requester import SelectRequester # NOQA
from .issue_link_requester import IssueLinkRequester # NOQA
| 31 | 60 | 0.851613 | 18 | 155 | 6.888889 | 0.611111 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 155 | 4 | 61 | 38.75 | 0.911765 | 0.058065 | 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 |
1d5b58a4724eeb61cd174edbc351b391a45c798a | 85 | py | Python | app/nodes/__init__.py | veryWrong/kube | f3716e962c7db0594d230a701fb862059f0c9578 | [
"Apache-2.0"
] | null | null | null | app/nodes/__init__.py | veryWrong/kube | f3716e962c7db0594d230a701fb862059f0c9578 | [
"Apache-2.0"
] | null | null | null | app/nodes/__init__.py | veryWrong/kube | f3716e962c7db0594d230a701fb862059f0c9578 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
node = Blueprint('node', __name__)
from . import nodes
| 14.166667 | 34 | 0.752941 | 11 | 85 | 5.454545 | 0.636364 | 0.433333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 85 | 5 | 35 | 17 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d54c0f55ae9dad0b74dd43984c3dc8092bdd968c | 152 | py | Python | src/tests/profile/complete/test_db.py | NSKgooner/hack_moscow | 27ae092d0086c8dde2ceb9598e65c3b79a654f56 | [
"Apache-2.0"
] | 3 | 2019-10-27T07:40:26.000Z | 2020-04-18T20:44:08.000Z | src/tests/profile/complete/test_db.py | NSKgooner/hack_moscow | 27ae092d0086c8dde2ceb9598e65c3b79a654f56 | [
"Apache-2.0"
] | 1 | 2019-11-04T04:16:29.000Z | 2019-11-04T04:16:29.000Z | src/tests/profile/complete/test_db.py | NSKgooner/hack_moscow | 27ae092d0086c8dde2ceb9598e65c3b79a654f56 | [
"Apache-2.0"
] | null | null | null | def test_insert_known():
pass
def test_delete_unknown():
pass
def test_select_unknown_save_time():
pass
def test_complete():
pass
| 10.133333 | 36 | 0.697368 | 21 | 152 | 4.619048 | 0.52381 | 0.28866 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223684 | 152 | 14 | 37 | 10.857143 | 0.822034 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
63589f4a66d3bf9259b3fda6621bebbe79937227 | 42 | py | Python | lightning_rl/asserts/__init__.py | j0rd1smit/lighting-RL | cff0a9b0dcd461430fa1195d85d644399f07e87d | [
"MIT"
] | null | null | null | lightning_rl/asserts/__init__.py | j0rd1smit/lighting-RL | cff0a9b0dcd461430fa1195d85d644399f07e87d | [
"MIT"
] | null | null | null | lightning_rl/asserts/__init__.py | j0rd1smit/lighting-RL | cff0a9b0dcd461430fa1195d85d644399f07e87d | [
"MIT"
] | null | null | null | from lightning_rl.asserts.shapes import *
| 21 | 41 | 0.833333 | 6 | 42 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
638b2e51f1b3ccf9183a03e1db466dcd9d5a1230 | 130 | py | Python | nonbonded/tests/test_nonbonded.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 5 | 2020-05-11T18:25:00.000Z | 2022-01-27T10:55:09.000Z | nonbonded/tests/test_nonbonded.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | 88 | 2020-06-02T14:40:05.000Z | 2022-03-02T09:20:39.000Z | nonbonded/tests/test_nonbonded.py | SimonBoothroyd/nonbonded | 3efbb7d943d936b47248975f9ad0d8a006ea8684 | [
"MIT"
] | null | null | null | def test_main_import():
# Ensure that the main package is importable.
import nonbonded
assert nonbonded is not None
| 18.571429 | 49 | 0.723077 | 18 | 130 | 5.111111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238462 | 130 | 6 | 50 | 21.666667 | 0.929293 | 0.330769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
984b23c7406ad7a5b4c281146ff041e2d83b9d4a | 2,703 | py | Python | acmicpc/17968/17968.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 3 | 2019-03-09T05:19:23.000Z | 2019-04-06T09:26:36.000Z | acmicpc/17968/17968.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2020-02-23T10:38:04.000Z | 2020-02-23T10:38:04.000Z | acmicpc/17968/17968.py | love-adela/algorithm | 4ccd02173c96f8369962f1fd4e5166a221690fa2 | [
"MIT"
] | 1 | 2019-05-22T13:47:53.000Z | 2019-05-22T13:47:53.000Z | n = int(input())
A = [1,1,2,1,1,2,2,4,4,1,1,2,1,1,2,2,4,4,2,4,4,5,5,8,5,5,9,1,1,2,1,1,2,2,4,4,1,1,2,1,1,2,2,4,4,2,4,4,5,5,8,5,5,9,9,4,4,5,5,10,5,5,10,2,10,13,11,10,8,11,13,10,12,10,10,12,10,11,14,20,13,1,1,2,1,1,2,2,4,4,2,1,1,13,3,1,2,4,2,4,4,2,3,3,1,5,3,4,10,10,1,1,10,4,1,1,5,10,5,8,6,1,2,9,4,8,2,9,4,5,8,10,10,5,5,9,4... | 675.75 | 2,673 | 0.623011 | 1,008 | 2,703 | 1.670635 | 0.082341 | 0.026128 | 0.019596 | 0.011876 | 0.038005 | 0.038005 | 0.038005 | 0.038005 | 0.038005 | 0.038005 | 0 | 0.618323 | 0.00259 | 2,703 | 3 | 2,674 | 901 | 0.006306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98b57896733361a1dfa7881fc994c24c1c844b2f | 164 | py | Python | iris_sdk/models/data/note.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | iris_sdk/models/data/note.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | iris_sdk/models/data/note.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
from iris_sdk.models.base_resource import BaseData
from iris_sdk.models.maps.note import NoteMap
class NoteData(NoteMap, BaseData):
pass | 23.428571 | 50 | 0.79878 | 25 | 164 | 5.12 | 0.72 | 0.125 | 0.171875 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115854 | 164 | 7 | 51 | 23.428571 | 0.882759 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
7f254133e943c26384bd03fd58ffd78367ed3549 | 8,354 | py | Python | test/test_blueprint2CSAR.py | SODALITE-EU/iac-blueprint-builder | 07daf91c1987e780a0f014787b2cd04cceda9100 | [
"Apache-2.0"
] | null | null | null | test/test_blueprint2CSAR.py | SODALITE-EU/iac-blueprint-builder | 07daf91c1987e780a0f014787b2cd04cceda9100 | [
"Apache-2.0"
] | 19 | 2020-01-18T08:59:50.000Z | 2021-09-13T10:35:24.000Z | test/test_blueprint2CSAR.py | SODALITE-EU/iac-blueprint-builder | 07daf91c1987e780a0f014787b2cd04cceda9100 | [
"Apache-2.0"
] | 3 | 2020-10-24T11:25:23.000Z | 2021-03-15T11:35:23.000Z | import pytest
from pathlib import Path
import shutil
import yaml
import src.blueprint2CSAR as blueprint2CSAR
class TestValidate:
def test_not_meta_multiple_yaml(self, CSAR_unpacked):
csar_path = CSAR_unpacked / 'CSAR-no-meta-multiple-yaml'
assert not blueprint2CSAR.validate_csar(csar_path)
... | 42.622449 | 100 | 0.662677 | 930 | 8,354 | 5.632258 | 0.104301 | 0.103093 | 0.11302 | 0.08782 | 0.802787 | 0.790569 | 0.754486 | 0.726995 | 0.715922 | 0.702558 | 0 | 0.006767 | 0.257003 | 8,354 | 195 | 101 | 42.841026 | 0.837119 | 0.006344 | 0 | 0.58156 | 0 | 0 | 0.089001 | 0.02424 | 0 | 0 | 0 | 0 | 0.156028 | 1 | 0.148936 | false | 0 | 0.035461 | 0 | 0.212766 | 0.390071 | 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 |
7f476ff034ee0499e8cb4ca6060ddc10a61ebbab | 42 | py | Python | Python/Book Assignments/calc1.py | AungWinnHtut/CStutorial | 4b57721b814e9c2d288af64a979704dd70f14ddb | [
"MIT"
] | null | null | null | Python/Book Assignments/calc1.py | AungWinnHtut/CStutorial | 4b57721b814e9c2d288af64a979704dd70f14ddb | [
"MIT"
] | null | null | null | Python/Book Assignments/calc1.py | AungWinnHtut/CStutorial | 4b57721b814e9c2d288af64a979704dd70f14ddb | [
"MIT"
] | 1 | 2022-03-15T12:20:26.000Z | 2022-03-15T12:20:26.000Z | a=123*456
b=(34*99)+22
print(a)
print(b)
| 7 | 12 | 0.619048 | 11 | 42 | 2.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 0.119048 | 42 | 5 | 13 | 8.4 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7f5488556ea0e515c1f0ced1c9f46b6aa64b50d5 | 58 | py | Python | aparent/visualization/__init__.py | 876lkj/APARENT | 5c8b9c038a46b129b5e0e5ce1453c4725b62322e | [
"MIT"
] | 20 | 2019-04-23T20:35:23.000Z | 2022-02-02T02:07:06.000Z | aparent/visualization/__init__.py | JoshuaChou2018/aparent | 5c8b9c038a46b129b5e0e5ce1453c4725b62322e | [
"MIT"
] | 6 | 2019-10-14T16:35:00.000Z | 2021-03-24T17:55:07.000Z | aparent/visualization/__init__.py | JoshuaChou2018/aparent | 5c8b9c038a46b129b5e0e5ce1453c4725b62322e | [
"MIT"
] | 11 | 2019-06-10T08:53:57.000Z | 2021-01-25T00:54:59.000Z | from aparent.visualization.aparent_visualization import *
| 29 | 57 | 0.87931 | 6 | 58 | 8.333333 | 0.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.925926 | 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 |
7f7f1096d27e0284907aad83640bbc15efd0bd5c | 19,606 | py | Python | term-1/project-2-isolation/game_agent.py | rstraker/ai-nanodegree-udacity | 4750d7907a8686749dce3f554dc714a4d9dc1c03 | [
"MIT"
] | null | null | null | term-1/project-2-isolation/game_agent.py | rstraker/ai-nanodegree-udacity | 4750d7907a8686749dce3f554dc714a4d9dc1c03 | [
"MIT"
] | 43 | 2020-09-26T01:26:27.000Z | 2022-03-12T00:46:10.000Z | term-1/project-2-isolation/game_agent.py | robstraker/ai-nanodegree-udacity | 4750d7907a8686749dce3f554dc714a4d9dc1c03 | [
"MIT"
] | null | null | null | """Finish all TODO items in this file to complete the isolation project, then
test your agent's strength against a set of known agents using tournament.py
and include the results in your report.
"""
import random
class SearchTimeout(Exception):
"""Subclass base exception for code clarity. """
pass
def custo... | 37.273764 | 102 | 0.607161 | 2,488 | 19,606 | 4.686897 | 0.123392 | 0.025727 | 0.016722 | 0.026413 | 0.772404 | 0.751136 | 0.740674 | 0.734328 | 0.729526 | 0.720607 | 0 | 0.005393 | 0.300163 | 19,606 | 526 | 103 | 37.273764 | 0.844472 | 0.574518 | 0 | 0.633803 | 0 | 0 | 0.005973 | 0 | 0 | 0 | 0 | 0.011407 | 0 | 1 | 0.084507 | false | 0.021127 | 0.007042 | 0 | 0.28169 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f92245094adf6683f81ea1fb53e487b51b75c5d | 10,328 | py | Python | corefgraph/multisieve/extractors/base.py | josubg/CorefGraph | 83c72386649937aa50c17b7960ba42bf08d39eb8 | [
"Apache-2.0"
] | null | null | null | corefgraph/multisieve/extractors/base.py | josubg/CorefGraph | 83c72386649937aa50c17b7960ba42bf08d39eb8 | [
"Apache-2.0"
] | 1 | 2020-04-15T16:10:50.000Z | 2020-04-15T16:10:50.000Z | corefgraph/multisieve/extractors/base.py | josubg/CorefGraph | 83c72386649937aa50c17b7960ba42bf08d39eb8 | [
"Apache-2.0"
] | 1 | 2021-03-10T21:54:51.000Z | 2021-03-10T21:54:51.000Z | from corefgraph.constants import ID, SPAN, TAG
from corefgraph.resources.tagset import constituent_tags
class Plain:
def __init__(self, graph_builder):
self.graph_builder = graph_builder
def extract(self, order, root, validation, named_entities_by_constituent, gold_mentions_by_constituent):
... | 44.904348 | 119 | 0.67651 | 1,207 | 10,328 | 5.579122 | 0.11599 | 0.104247 | 0.046778 | 0.081081 | 0.832046 | 0.823879 | 0.820018 | 0.797743 | 0.77324 | 0.77324 | 0 | 0.000263 | 0.264911 | 10,328 | 229 | 120 | 45.100437 | 0.886723 | 0.375968 | 0 | 0.646465 | 0 | 0 | 0.029048 | 0.023205 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.020202 | 0 | 0.383838 | 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 |
f6a337c9c94a0c7400075d0f340c3b030f06ee17 | 33 | py | Python | cosmos/galaxies/guild/starboard/__init__.py | MrFreemanser/Bot | b17e0ddf95ea475da38f8e270affd6c5709b2cb1 | [
"MIT"
] | null | null | null | cosmos/galaxies/guild/starboard/__init__.py | MrFreemanser/Bot | b17e0ddf95ea475da38f8e270affd6c5709b2cb1 | [
"MIT"
] | null | null | null | cosmos/galaxies/guild/starboard/__init__.py | MrFreemanser/Bot | b17e0ddf95ea475da38f8e270affd6c5709b2cb1 | [
"MIT"
] | null | null | null | from .starboard import Starboard
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
f6c43521f8496a2160880089f8cbdcc0df69e8df | 5,695 | py | Python | qiskit/providers/aqt/aqt_backend.py | 5l1v3r1/qiskit-aqt-provider | d49c0df254bd69bce6bacfae15718dadf0335da9 | [
"Apache-2.0"
] | 1 | 2021-11-17T10:52:04.000Z | 2021-11-17T10:52:04.000Z | qiskit/providers/aqt/aqt_backend.py | 5l1v3r1/qiskit-aqt-provider | d49c0df254bd69bce6bacfae15718dadf0335da9 | [
"Apache-2.0"
] | null | null | null | qiskit/providers/aqt/aqt_backend.py | 5l1v3r1/qiskit-aqt-provider | d49c0df254bd69bce6bacfae15718dadf0335da9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# This code is part of Qiskit.
#
# (C) Copyright IBM 2019.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modif... | 33.698225 | 77 | 0.532046 | 595 | 5,695 | 4.919328 | 0.260504 | 0.036898 | 0.021524 | 0.026648 | 0.77793 | 0.772122 | 0.74479 | 0.74479 | 0.74479 | 0.732491 | 0 | 0.010569 | 0.352063 | 5,695 | 168 | 78 | 33.89881 | 0.782656 | 0.083582 | 0 | 0.744681 | 0 | 0 | 0.203995 | 0.019401 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.035461 | 0 | 0.120567 | 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 |
1200004f95bc88a5b4a385a1d6ae35f6c6e0c4b9 | 175 | py | Python | src/prefect/environments/storage/gitlab.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 1 | 2021-05-12T12:47:12.000Z | 2021-05-12T12:47:12.000Z | src/prefect/environments/storage/gitlab.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 7 | 2021-06-26T08:05:20.000Z | 2022-03-26T08:05:32.000Z | src/prefect/environments/storage/gitlab.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 1 | 2021-10-16T08:33:56.000Z | 2021-10-16T08:33:56.000Z | from prefect.storage import GitLab as _GitLab
from prefect.environments.storage.base import _DeprecatedStorageMixin
class GitLab(_GitLab, _DeprecatedStorageMixin):
pass
| 25 | 69 | 0.84 | 19 | 175 | 7.526316 | 0.578947 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 6 | 70 | 29.166667 | 0.922581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
120a342965ef76d490bbef633bb2b3f670b18523 | 79 | py | Python | pygsa/saindices/__init__.py | a-pau/pygsa | 465cd103466139506d81cf91bf08ef80e123d449 | [
"BSD-3-Clause"
] | null | null | null | pygsa/saindices/__init__.py | a-pau/pygsa | 465cd103466139506d81cf91bf08ef80e123d449 | [
"BSD-3-Clause"
] | 3 | 2019-06-27T17:04:16.000Z | 2019-07-05T14:30:31.000Z | pygsa/saindices/__init__.py | a-pau/pygsa | 465cd103466139506d81cf91bf08ef80e123d449 | [
"BSD-3-Clause"
] | 3 | 2019-06-18T11:17:34.000Z | 2019-11-15T20:00:12.000Z | from .sobol_indices import sobol_indices_one, sobol_indices_all, sobol_indices
| 39.5 | 78 | 0.886076 | 12 | 79 | 5.333333 | 0.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 1 | 79 | 79 | 0.876712 | 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 |
89fe117c1281235bd796d21fc484bb04dcf64a88 | 167 | py | Python | src/extensions.py | Kim-Ha-Jeong/Capstone_flask | 3160c3de37fde526a4a47b03f898b0c921e34884 | [
"Apache-1.1"
] | 3 | 2021-01-04T12:26:08.000Z | 2021-04-15T18:11:52.000Z | src/extensions.py | Kim-Ha-Jeong/Capstone_flask | 3160c3de37fde526a4a47b03f898b0c921e34884 | [
"Apache-1.1"
] | null | null | null | src/extensions.py | Kim-Ha-Jeong/Capstone_flask | 3160c3de37fde526a4a47b03f898b0c921e34884 | [
"Apache-1.1"
] | 5 | 2021-01-04T14:46:32.000Z | 2021-05-14T05:44:39.000Z | ALLOWED_EXTENSIONS = set(['mp4', 'avi', 'mkv', 'flv', 'wmv', 'mov'])
def allowed_file(value):
return '.' in value and value.rsplit('.', 1)[1] in ALLOWED_EXTENSIONS | 55.666667 | 73 | 0.646707 | 24 | 167 | 4.375 | 0.708333 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.131737 | 167 | 3 | 73 | 55.666667 | 0.703448 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d62b75d94663033b10841d59dfc0143a0f4161eb | 1,058 | py | Python | cvutils/misc/iterators.py | MercierLucas/cv_utils | 34683bfc06857c3ed293924201c9279606029ae0 | [
"MIT"
] | null | null | null | cvutils/misc/iterators.py | MercierLucas/cv_utils | 34683bfc06857c3ed293924201c9279606029ae0 | [
"MIT"
] | null | null | null | cvutils/misc/iterators.py | MercierLucas/cv_utils | 34683bfc06857c3ed293924201c9279606029ae0 | [
"MIT"
] | null | null | null |
class SquareSlider2D:
def __init__(self, field, stride, image) -> None:
self.field = field
self.stride = stride
self.image = image
self.height = image.shape[0]
self.width = image.shape[1]
def __iter__(self):
for y in range(0, self.height - self.field + 1, self.... | 36.482759 | 108 | 0.57656 | 155 | 1,058 | 3.793548 | 0.141935 | 0.19898 | 0.093537 | 0.081633 | 0.857143 | 0.857143 | 0.857143 | 0.857143 | 0.857143 | 0.721088 | 0 | 0.020053 | 0.293006 | 1,058 | 29 | 108 | 36.482759 | 0.766043 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0 | 0 | 0.26087 | 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 |
d63773b1f62cd7e625cecf04b61fcc00069ae367 | 27 | py | Python | utils/__init__.py | gmshashank/3D_CAD_ML | 2c631e4bbcef1a134ef3e58b428ee0349225783d | [
"MIT"
] | null | null | null | utils/__init__.py | gmshashank/3D_CAD_ML | 2c631e4bbcef1a134ef3e58b428ee0349225783d | [
"MIT"
] | null | null | null | utils/__init__.py | gmshashank/3D_CAD_ML | 2c631e4bbcef1a134ef3e58b428ee0349225783d | [
"MIT"
] | null | null | null | from .util import cal_loss
| 13.5 | 26 | 0.814815 | 5 | 27 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
c38cb200d914e30952390c4d56a72a83d15f0f9e | 191 | py | Python | overthewire/leviathan/leviathan4.py | GambuzX/Cybersecurity_Practice | 58ecc222816a1bda2742da9b2782cef25365692f | [
"MIT"
] | 1 | 2020-03-08T19:17:15.000Z | 2020-03-08T19:17:15.000Z | overthewire/leviathan/leviathan4.py | GambuzX/CTF_Practice | 58ecc222816a1bda2742da9b2782cef25365692f | [
"MIT"
] | null | null | null | overthewire/leviathan/leviathan4.py | GambuzX/CTF_Practice | 58ecc222816a1bda2742da9b2782cef25365692f | [
"MIT"
] | 1 | 2020-12-17T15:51:02.000Z | 2020-12-17T15:51:02.000Z | binary = "01010100 01101001 01110100 01101000 00110100 01100011 01101111 01101011 01100101 01101001 00001010"
password = ''.join([chr(int(x, 2)) for x in binary.split(' ')])
print password
| 31.833333 | 109 | 0.753927 | 25 | 191 | 5.76 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.539394 | 0.136126 | 191 | 5 | 110 | 38.2 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.518325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.666667 | 0 | null | null | 0.333333 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c3f38cb468cf4092009bb1682a7b727a61ff69e7 | 27 | py | Python | wizard/__init__.py | saurabh-0777/new | f6a8bf12c64021668f9212cb8e64ccb5966e8bf8 | [
"MIT"
] | null | null | null | wizard/__init__.py | saurabh-0777/new | f6a8bf12c64021668f9212cb8e64ccb5966e8bf8 | [
"MIT"
] | null | null | null | wizard/__init__.py | saurabh-0777/new | f6a8bf12c64021668f9212cb8e64ccb5966e8bf8 | [
"MIT"
] | null | null | null | from . import update_phone
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
7f1b1b04a2a257bb51d9d399a8be48fb04e8f52c | 5,952 | py | Python | python_module/test/unit/module/test_batchnorm.py | WestCityInstitute/MegEngine | f91881ffdc051ab49314b1bd12c4a07a862dc9c6 | [
"Apache-2.0"
] | 2 | 2020-03-26T08:26:29.000Z | 2020-06-01T14:41:38.000Z | python_module/test/unit/module/test_batchnorm.py | ted51/MegEngine | f91881ffdc051ab49314b1bd12c4a07a862dc9c6 | [
"Apache-2.0"
] | null | null | null | python_module/test/unit/module/test_batchnorm.py | ted51/MegEngine | f91881ffdc051ab49314b1bd12c4a07a862dc9c6 | [
"Apache-2.0"
] | 1 | 2020-11-09T06:29:51.000Z | 2020-11-09T06:29:51.000Z | # -*- coding: utf-8 -*-
# MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
#
# Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT ARRANTI... | 37.2 | 88 | 0.631384 | 896 | 5,952 | 4.026786 | 0.132813 | 0.043237 | 0.042683 | 0.026608 | 0.836752 | 0.836752 | 0.828437 | 0.796563 | 0.788526 | 0.781596 | 0 | 0.042414 | 0.231519 | 5,952 | 159 | 89 | 37.433962 | 0.746393 | 0.071909 | 0 | 0.693548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 1 | 0.032258 | false | 0 | 0.048387 | 0 | 0.080645 | 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 |
615a2ddbad2c29ba18695c2c80f631f7e265eeda | 128 | py | Python | tcga_encoder/models/vae/batcher_dna_out.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | 2 | 2017-12-19T15:32:46.000Z | 2018-01-12T11:24:24.000Z | tcga_encoder/models/vae/batcher_dna_out.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | null | null | null | tcga_encoder/models/vae/batcher_dna_out.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | null | null | null | from tcga_encoder.models.vae.batcher_ABC import *
class TCGABatcher( TCGABatcherABC ):
pass
| 16 | 49 | 0.59375 | 12 | 128 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351563 | 128 | 8 | 50 | 16 | 0.891566 | 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 |
615f042ae20ac9d15c3f603c620092f3dc76c742 | 22,931 | py | Python | tests/application/controllers/test_dashboards.py | alphagov-mirror/performanceplatform-admin | b63ae42b1276699623ef208b7d6edd3e0ce4ca59 | [
"MIT"
] | 1 | 2017-05-14T21:31:33.000Z | 2017-05-14T21:31:33.000Z | tests/application/controllers/test_dashboards.py | alphagov-mirror/performanceplatform-admin | b63ae42b1276699623ef208b7d6edd3e0ce4ca59 | [
"MIT"
] | 33 | 2015-01-05T12:23:45.000Z | 2021-03-24T10:59:47.000Z | tests/application/controllers/test_dashboards.py | alphagov-mirror/performanceplatform-admin | b63ae42b1276699623ef208b7d6edd3e0ce4ca59 | [
"MIT"
] | 4 | 2017-03-16T15:52:33.000Z | 2021-04-10T20:14:53.000Z | from tests.application.support.flask_app_test_case import (
FlaskAppTestCase
)
from mock import patch
from application import app
from hamcrest import (
assert_that,
contains_string,
equal_to,
has_entries,
ends_with,
not_none,
match_equality
)
import os
import json
def dashboard_data(o... | 42.543599 | 79 | 0.661027 | 2,504 | 22,931 | 5.769569 | 0.092252 | 0.038762 | 0.089292 | 0.104174 | 0.825846 | 0.808265 | 0.798643 | 0.762927 | 0.745553 | 0.71745 | 0 | 0.004834 | 0.224194 | 22,931 | 538 | 80 | 42.622677 | 0.807251 | 0.002224 | 0 | 0.65812 | 0 | 0 | 0.271658 | 0.163476 | 0 | 0 | 0 | 0 | 0.143162 | 1 | 0.104701 | false | 0 | 0.012821 | 0 | 0.132479 | 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 |
61b95d682c8e0b6378f17e2553b395cdaef0d1eb | 99 | py | Python | nwP3_project/reve/views.py | nahian-147/my_codes | 9729c56b227d75354ea49982720de94ed1c21909 | [
"MIT"
] | null | null | null | nwP3_project/reve/views.py | nahian-147/my_codes | 9729c56b227d75354ea49982720de94ed1c21909 | [
"MIT"
] | null | null | null | nwP3_project/reve/views.py | nahian-147/my_codes | 9729c56b227d75354ea49982720de94ed1c21909 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def reve(request):
return render(request,'reve/reve.html') | 24.75 | 40 | 0.767677 | 14 | 99 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 99 | 4 | 40 | 24.75 | 0.873563 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f60af0aac11fa70e6b9404075885428d63fb39be | 224 | py | Python | tests/factories/__init__.py | robertknight/lms | 634c78ad3f7d79a59b3edacdceaae6205ca319b4 | [
"BSD-2-Clause"
] | null | null | null | tests/factories/__init__.py | robertknight/lms | 634c78ad3f7d79a59b3edacdceaae6205ca319b4 | [
"BSD-2-Clause"
] | null | null | null | tests/factories/__init__.py | robertknight/lms | 634c78ad3f7d79a59b3edacdceaae6205ca319b4 | [
"BSD-2-Clause"
] | null | null | null | from tests.factories.course import Course
from tests.factories.grading_info import GradingInfo
from tests.factories.h_group import HGroup
from tests.factories.h_user import HUser
from tests.factories.lti_user import LTIUser
| 37.333333 | 52 | 0.866071 | 34 | 224 | 5.588235 | 0.441176 | 0.236842 | 0.473684 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 224 | 5 | 53 | 44.8 | 0.931373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f63a06cd39450fb6b9a89db089889543e87487a1 | 960 | py | Python | data/extract_file.py | shibing624/blogCode | 5a65ea381134b3f2ec7219b86f20bf7de168558d | [
"Apache-2.0"
] | 4 | 2017-05-05T03:30:10.000Z | 2020-07-15T03:53:20.000Z | data/extract_file.py | shibing624/blogCode | 5a65ea381134b3f2ec7219b86f20bf7de168558d | [
"Apache-2.0"
] | 2 | 2021-12-18T18:15:36.000Z | 2021-12-22T08:12:28.000Z | data/extract_file.py | shibing624/blogCode | 5a65ea381134b3f2ec7219b86f20bf7de168558d | [
"Apache-2.0"
] | 5 | 2017-11-25T04:25:30.000Z | 2020-10-28T03:03:53.000Z | # coding:utf-8
def extract():
text = '''母亲/n:593 人/n:227 道/n:210 头/n:172 声音/n:167 句/n:154 钟/n:152 妻/n:152 脸/n:140 树/n:135 妈/n:134 声/n:131 事/n:127 眼睛/n:122 话/n:116 眼光/n:108 时候/n:105 主任/n:103 手/n:102 带/n:100 心/n:93 女人/n:93 点/n:90 钱/n:87
母亲/n:78 字/n:76 太太/n:76 地方/n:76 事情/n:75 屋子/n:70 低声/n:68 身体/n:68 身子/n:66 一口气/n:65 公... | 68.571429 | 418 | 0.594792 | 323 | 960 | 1.767802 | 0.5387 | 0.031524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27599 | 0.158333 | 960 | 13 | 419 | 73.846154 | 0.430693 | 0.0125 | 0 | 0 | 0 | 0.333333 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.111111 | 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 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f64cbf66db9b11ceabcb599814b27cc3fee27b53 | 212 | py | Python | skilltree/management/commands/import_skills.py | ulope/eve_skill_tree | 66e84faa892f659b24387671ecd1fdc86feb8a42 | [
"MIT"
] | 1 | 2015-10-29T06:41:10.000Z | 2015-10-29T06:41:10.000Z | skilltree/management/commands/import_skills.py | ulope/eve_skill_tree | 66e84faa892f659b24387671ecd1fdc86feb8a42 | [
"MIT"
] | null | null | null | skilltree/management/commands/import_skills.py | ulope/eve_skill_tree | 66e84faa892f659b24387671ecd1fdc86feb8a42 | [
"MIT"
] | null | null | null | from django.core.management.base import NoArgsCommand
from skilltree.importer import import_skills_from_api
class Command(NoArgsCommand):
def handle_noargs(self, **options):
import_skills_from_api()
| 30.285714 | 53 | 0.801887 | 27 | 212 | 6.037037 | 0.666667 | 0.147239 | 0.196319 | 0.233129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127358 | 212 | 6 | 54 | 35.333333 | 0.881081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f65a37af024b666d4b2c8dbd7cf067fccb0fe0cc | 5,743 | py | Python | venv/lib/python3.8/site-packages/tests/functions/test_instance_of.py | tausiftt5238/cs5204_election_guard | 0ca41c95e3f0f1d0146803d3308f031c57de680c | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/tests/functions/test_instance_of.py | tausiftt5238/cs5204_election_guard | 0ca41c95e3f0f1d0146803d3308f031c57de680c | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/tests/functions/test_instance_of.py | tausiftt5238/cs5204_election_guard | 0ca41c95e3f0f1d0146803d3308f031c57de680c | [
"MIT"
] | null | null | null | from sys import version_info
from typing import List, Dict, Union, Optional, Callable, Any, Tuple, Type, Iterable
from unittest import TestCase, skipUnless
import nptyping as nptyping
import numpy
from typish import Literal, instance_of, State, register_get_type
class A: pass
class B(A): pass
cl... | 38.286667 | 104 | 0.6319 | 750 | 5,743 | 4.654667 | 0.125333 | 0.206245 | 0.258379 | 0.281868 | 0.637067 | 0.514752 | 0.332856 | 0.268404 | 0.24377 | 0.141793 | 0 | 0.024927 | 0.224621 | 5,743 | 149 | 105 | 38.543624 | 0.759039 | 0.006094 | 0 | 0.074766 | 0 | 0 | 0.012417 | 0 | 0 | 0 | 0 | 0 | 0.523364 | 1 | 0.205607 | false | 0.11215 | 0.056075 | 0 | 0.345794 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9cbefcbcbee1076a7694a16f1b5ef79d6a7df12b | 81 | py | Python | src/evaluation_system/commands/__init__.py | FREVA-CLINT/Freva | 53c6d0951a8dcfe985c8f33cbb3fbac7e8a3db04 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2020-06-12T18:18:48.000Z | 2021-12-18T03:35:08.000Z | src/evaluation_system/commands/__init__.py | FREVA-CLINT/Freva | 53c6d0951a8dcfe985c8f33cbb3fbac7e8a3db04 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/evaluation_system/commands/__init__.py | FREVA-CLINT/Freva | 53c6d0951a8dcfe985c8f33cbb3fbac7e8a3db04 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from .basecommand import BaseCommand, CommandError, FrevaParser, FrevaBaseCommand | 81 | 81 | 0.876543 | 7 | 81 | 10.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 81 | 1 | 81 | 81 | 0.946667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cd6a2004aa87a553ad913f2646a4123d573af62 | 27 | py | Python | messaging_abstract/component/server/router/__init__.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | null | null | null | messaging_abstract/component/server/router/__init__.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | 19 | 2021-10-15T08:31:51.000Z | 2021-10-19T12:53:46.000Z | messaging_abstract/component/server/router/__init__.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | 2 | 2021-09-16T22:11:35.000Z | 2021-09-25T12:28:27.000Z | from .router import Router
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 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 |
9cdfd93968cde789b1676bff63c6c4ec1306183b | 239 | py | Python | tests/unit/django/test_sql.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | tests/unit/django/test_sql.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | tests/unit/django/test_sql.py | matthewgdv/sqlhandler | b82fd159195f6bb63175bb8a8d81fc421e7d5835 | [
"MIT"
] | null | null | null | # import pytest
class TestDjangoSql:
class TestSettings:
pass
class TestConstructors:
pass
def test_django(self): # synced
assert True
def test__create_url(self): # synced
assert True
| 14.9375 | 41 | 0.623431 | 25 | 239 | 5.8 | 0.64 | 0.096552 | 0.22069 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32636 | 239 | 15 | 42 | 15.933333 | 0.900621 | 0.112971 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0.222222 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
9ce6404011ec20e9056112078b858e32f4b1a2fe | 262 | py | Python | protocol/zzz_driver_msgs/msg/__init__.py | Tsinghua-OpenICV/carla_icv_bridge | 4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e | [
"MIT"
] | null | null | null | protocol/zzz_driver_msgs/msg/__init__.py | Tsinghua-OpenICV/carla_icv_bridge | 4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e | [
"MIT"
] | null | null | null | protocol/zzz_driver_msgs/msg/__init__.py | Tsinghua-OpenICV/carla_icv_bridge | 4d5f8c26b1847dbb16a81fe43f146bf4a9a8da5e | [
"MIT"
] | 1 | 2020-12-19T05:48:01.000Z | 2020-12-19T05:48:01.000Z | from ._AuxiliaryReport import *
from ._ChassisReport import *
from ._ControlReport import *
from ._FrenetSerretState import *
from ._FrenetSerretState2D import *
from ._ResourceReport import *
from ._RigidBodyState import *
from ._RigidBodyStateStamped import *
| 29.111111 | 37 | 0.816794 | 24 | 262 | 8.583333 | 0.416667 | 0.339806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004348 | 0.122137 | 262 | 8 | 38 | 32.75 | 0.891304 | 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 |
14650bf09891d2b2a0e12bd200a74e3946f68eff | 58 | py | Python | fibo.py | primowalker/Geek-Rants-Sample-Python-Scripts | e742e85b5bd6df5735983a532defe80cee834e6c | [
"MIT"
] | 21 | 2015-01-03T11:32:42.000Z | 2018-09-21T07:04:40.000Z | fibo.py | primowalker/Geek-Rants-Sample-Python-Scripts | e742e85b5bd6df5735983a532defe80cee834e6c | [
"MIT"
] | 1 | 2017-05-05T01:38:54.000Z | 2017-05-05T03:10:34.000Z | fibo.py | primowalker/Geek-Rants-Sample-Python-Scripts | e742e85b5bd6df5735983a532defe80cee834e6c | [
"MIT"
] | 21 | 2015-01-25T06:51:08.000Z | 2022-01-07T14:17:45.000Z | a, b = 0, 1
while b < 1000:
print b,
a, b = b, a+b | 14.5 | 17 | 0.431034 | 14 | 58 | 1.785714 | 0.5 | 0.24 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0.396552 | 58 | 4 | 17 | 14.5 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ae63646c40aa612cba730041f801a090be5ae17 | 18,374 | py | Python | authors/apps/articles/tests/test_articles.py | andela/ah-backend-thanos | baf7f20a023cc3c3ecae0fcf91bb7d9165e79fc8 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/tests/test_articles.py | andela/ah-backend-thanos | baf7f20a023cc3c3ecae0fcf91bb7d9165e79fc8 | [
"BSD-3-Clause"
] | 42 | 2018-10-24T08:21:07.000Z | 2021-06-10T20:54:39.000Z | authors/apps/articles/tests/test_articles.py | andela/ah-backend-thanos | baf7f20a023cc3c3ecae0fcf91bb7d9165e79fc8 | [
"BSD-3-Clause"
] | 2 | 2018-11-05T08:56:42.000Z | 2019-05-03T12:40:43.000Z | from rest_framework import status
from rest_framework.reverse import reverse
from rest_framework.exceptions import AuthenticationFailed
from django.utils.encoding import force_text
from django.utils.http import urlsafe_base64_encode
from django.contrib.auth.tokens import default_token_generator
from django.contrib.aut... | 46.992327 | 79 | 0.626429 | 2,101 | 18,374 | 5.211804 | 0.084246 | 0.054795 | 0.062466 | 0.092694 | 0.848858 | 0.829132 | 0.81032 | 0.783014 | 0.772694 | 0.752237 | 0 | 0.011078 | 0.267987 | 18,374 | 390 | 80 | 47.112821 | 0.803048 | 0.017851 | 0 | 0.683891 | 0 | 0 | 0.099661 | 0.04527 | 0 | 0 | 0 | 0 | 0.179331 | 1 | 0.115502 | false | 0 | 0.030395 | 0 | 0.148936 | 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 |
2131a3c02ce5f40a6cf14bb07e748f9b139bf735 | 2,538 | py | Python | backend/apps/core/migrations/0001_initial.py | OkothPius/Rentals | b3a4107044ce4be597abbc1e939bf663e3729d33 | [
"MIT"
] | null | null | null | backend/apps/core/migrations/0001_initial.py | OkothPius/Rentals | b3a4107044ce4be597abbc1e939bf663e3729d33 | [
"MIT"
] | null | null | null | backend/apps/core/migrations/0001_initial.py | OkothPius/Rentals | b3a4107044ce4be597abbc1e939bf663e3729d33 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.9 on 2021-11-25 11:09
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 40.935484 | 120 | 0.56383 | 241 | 2,538 | 5.784232 | 0.319502 | 0.034433 | 0.050215 | 0.07891 | 0.707317 | 0.707317 | 0.707317 | 0.707317 | 0.707317 | 0.707317 | 0 | 0.016174 | 0.293538 | 2,538 | 61 | 121 | 41.606557 | 0.761294 | 0.017731 | 0 | 0.62963 | 1 | 0 | 0.10839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.12963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21484c3d8cab60a34dd778730607f681d4bcb079 | 12,771 | py | Python | tests/api/endpoints/test_dtable_share.py | odontomachus/seahub | 5b6f2153921da21a473d9ff20ce443d40efc93ab | [
"Apache-2.0"
] | null | null | null | tests/api/endpoints/test_dtable_share.py | odontomachus/seahub | 5b6f2153921da21a473d9ff20ce443d40efc93ab | [
"Apache-2.0"
] | null | null | null | tests/api/endpoints/test_dtable_share.py | odontomachus/seahub | 5b6f2153921da21a473d9ff20ce443d40efc93ab | [
"Apache-2.0"
] | null | null | null | import json
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
from seahub.dtable.models import Workspaces, DTableShare, DTables
from seaserv import seafile_api
from seahub.test_utils import BaseTestCase
from seahub.base.templatetags.seahub_tags import email2nickname
from ... | 34.056 | 97 | 0.618276 | 1,556 | 12,771 | 4.89653 | 0.084833 | 0.053813 | 0.096469 | 0.095682 | 0.835018 | 0.82058 | 0.781599 | 0.754036 | 0.738811 | 0.695892 | 0 | 0.014269 | 0.2537 | 12,771 | 374 | 98 | 34.147059 | 0.785122 | 0.015191 | 0 | 0.617241 | 0 | 0 | 0.076397 | 0.006844 | 0 | 0 | 0 | 0 | 0.262069 | 1 | 0.082759 | false | 0 | 0.034483 | 0 | 0.127586 | 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 |
214b55559b47e5c685576e69a92774c9792e8c3d | 211 | py | Python | sqltables/templatetags/sqltables.py | scibi/django-sqltables-old | 1bbb77da0c31f811114e68181537729c53f1d684 | [
"BSD-3-Clause"
] | null | null | null | sqltables/templatetags/sqltables.py | scibi/django-sqltables-old | 1bbb77da0c31f811114e68181537729c53f1d684 | [
"BSD-3-Clause"
] | null | null | null | sqltables/templatetags/sqltables.py | scibi/django-sqltables-old | 1bbb77da0c31f811114e68181537729c53f1d684 | [
"BSD-3-Clause"
] | null | null | null | from django import template
register = template.Library()
@register.inclusion_tag('sqltables/css.html')
def sqltables_css():
pass
@register.inclusion_tag('sqltables/js.html')
def sqltables_js():
pass
| 17.583333 | 45 | 0.753555 | 27 | 211 | 5.740741 | 0.518519 | 0.219355 | 0.258065 | 0.374194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123223 | 211 | 11 | 46 | 19.181818 | 0.837838 | 0 | 0 | 0.25 | 0 | 0 | 0.165877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
214e16c0dd86780f8bb3edc40351a5c9cc877bb3 | 89 | py | Python | build/lib/thctools/test/__init__.py | zero-python/thctools | 23117f6f19ef49e069f4183dda50b9c4f9aa5bd2 | [
"MIT"
] | 2 | 2020-07-04T12:34:22.000Z | 2020-07-09T17:28:32.000Z | thctools/test/__init__.py | zero-python/thctools | 23117f6f19ef49e069f4183dda50b9c4f9aa5bd2 | [
"MIT"
] | null | null | null | thctools/test/__init__.py | zero-python/thctools | 23117f6f19ef49e069f4183dda50b9c4f9aa5bd2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Author: zero
Email: 13256937698@163.com
Date: 2019-11-01
"""
| 12.714286 | 26 | 0.606742 | 13 | 89 | 4.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302632 | 0.146067 | 89 | 6 | 27 | 14.833333 | 0.407895 | 0.88764 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2151ecb98173831ccd9136e1fe0175cedbaf72ce | 216 | py | Python | web/codepass_web/views/__init__.py | abcdabcd987/codepass | 9fc1fb919c13268938e6d9424d81ad852c0c0b1c | [
"MIT"
] | 3 | 2018-02-19T16:56:36.000Z | 2018-07-28T03:11:48.000Z | web/codepass_web/views/__init__.py | abcdabcd987/codepass | 9fc1fb919c13268938e6d9424d81ad852c0c0b1c | [
"MIT"
] | null | null | null | web/codepass_web/views/__init__.py | abcdabcd987/codepass | 9fc1fb919c13268938e6d9424d81ad852c0c0b1c | [
"MIT"
] | null | null | null | from .common import markdown_to_html5
from .homepage import mod as homepage
from .problem import mod as problem
from .user import mod as user
from .admin import mod as admin
from .submission import mod as submission
| 30.857143 | 41 | 0.814815 | 36 | 216 | 4.833333 | 0.361111 | 0.258621 | 0.316092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005495 | 0.157407 | 216 | 6 | 42 | 36 | 0.950549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
21647d949f53ffc651df4737297ba2b04b7714c9 | 11,002 | py | Python | Code/Network_Fusion/cluster_test.py | Brian-ning/Multiplex-Network-tructure-fusion | 8ba26e7e79d385566173491378e6f5afeb864d2b | [
"MIT"
] | 5 | 2020-08-19T09:02:56.000Z | 2022-03-07T03:25:33.000Z | Code/Network_Fusion/cluster_test.py | Brian-ning/Multiplex-Network-tructure-fusion | 8ba26e7e79d385566173491378e6f5afeb864d2b | [
"MIT"
] | null | null | null | Code/Network_Fusion/cluster_test.py | Brian-ning/Multiplex-Network-tructure-fusion | 8ba26e7e79d385566173491378e6f5afeb864d2b | [
"MIT"
] | 1 | 2020-11-20T12:55:44.000Z | 2020-11-20T12:55:44.000Z | import numpy as np
def read_network(path):
import pickle
with open(path, 'rb') as f:
data = pickle.load(f)
return data
def genMat(edge_list, node_num):
"""
输入为有向图
:param edge_list:
:param node_num:
:return:
"""
mat = np.full((node_num, node_num), 0.0001)
for pair ... | 39.433692 | 120 | 0.668333 | 1,514 | 11,002 | 4.601717 | 0.128137 | 0.045787 | 0.044783 | 0.029999 | 0.842687 | 0.818573 | 0.805655 | 0.775944 | 0.770346 | 0.736185 | 0 | 0.018875 | 0.224686 | 11,002 | 278 | 121 | 39.57554 | 0.79789 | 0.103708 | 0 | 0.64878 | 0 | 0 | 0.126268 | 0.114262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039024 | false | 0 | 0.156098 | 0 | 0.219512 | 0.058537 | 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 |
0d52e0f4b108d2310ea1038c8eecc2a599beb23b | 287 | py | Python | apps.py | DargonLee/AppStoreConnectApiForPython | bf741fa0ba726abe500d5f26a5c272fdcf92ebbc | [
"MIT"
] | 1 | 2021-11-27T17:25:51.000Z | 2021-11-27T17:25:51.000Z | apps.py | DargonLee/AppStoreConnectApiForPython | bf741fa0ba726abe500d5f26a5c272fdcf92ebbc | [
"MIT"
] | null | null | null | apps.py | DargonLee/AppStoreConnectApiForPython | bf741fa0ba726abe500d5f26a5c272fdcf92ebbc | [
"MIT"
] | null | null | null | import request_core
def get_apps():
result = request_core.GET("https://api.appstoreconnect.apple.com/v1/apps")
print(result.text)
return result
if __name__ == '__main__':
result = request_core.GET("https://api.appstoreconnect.apple.com/v1/apps")
print(result.text) | 26.090909 | 78 | 0.714286 | 39 | 287 | 4.948718 | 0.487179 | 0.170984 | 0.176166 | 0.207254 | 0.746114 | 0.746114 | 0.746114 | 0.746114 | 0.746114 | 0.746114 | 0 | 0.008097 | 0.139373 | 287 | 11 | 79 | 26.090909 | 0.773279 | 0 | 0 | 0.5 | 0 | 0 | 0.340278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4a3cf197c78184b664272a5a399ae05dfa9782a | 12,188 | py | Python | tests/api/v3_0_0/test_anc_endpoint.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_0_0/test_anc_endpoint.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_0_0/test_anc_endpoint.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI anc_endpoint API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without r... | 30.093827 | 109 | 0.709961 | 1,487 | 12,188 | 5.511096 | 0.131809 | 0.127517 | 0.054667 | 0.038438 | 0.804271 | 0.794997 | 0.79036 | 0.779256 | 0.772178 | 0.742404 | 0 | 0.019671 | 0.215868 | 12,188 | 404 | 110 | 30.168317 | 0.837815 | 0.095011 | 0 | 0.655844 | 0 | 0 | 0.065046 | 0.027307 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.113636 | false | 0 | 0.016234 | 0 | 0.220779 | 0.022727 | 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 |
b4ab7047409390613be17b60204df9af6b317cc3 | 94,909 | py | Python | tests.py | Horze-International/ft_base64 | 67b46e851032ffc58a4a0500722a4e2d758aa844 | [
"MIT"
] | null | null | null | tests.py | Horze-International/ft_base64 | 67b46e851032ffc58a4a0500722a4e2d758aa844 | [
"MIT"
] | null | null | null | tests.py | Horze-International/ft_base64 | 67b46e851032ffc58a4a0500722a4e2d758aa844 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
import ft
import unittest
import base64
"""13000+ Charaters from http://www.gutenberg.org/cache/epub/46/pg46.txt"""
longString = """Once upon a time--of all the good days in the year,
on Christmas Eve--old Scrooge sat busy in his
counting-house. It was cold, bleak, biting weather: foggy
withal... | 183.576402 | 76,014 | 0.920882 | 5,949 | 94,909 | 14.688855 | 0.595394 | 0.004028 | 0.003696 | 0.003914 | 0.032878 | 0.030395 | 0.026172 | 0.025623 | 0.025108 | 0.02473 | 0 | 0.126546 | 0.035002 | 94,909 | 516 | 76,015 | 183.932171 | 0.827497 | 0.0053 | 0 | 0.116337 | 0 | 0.017327 | 0.965277 | 0.806115 | 0 | 1 | 0 | 0 | 0.056931 | 1 | 0.056931 | false | 0.007426 | 0.007426 | 0 | 0.081683 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4eba29f4887eabcbb70f0d53ff2416b1d2c9ae7 | 159 | py | Python | tests/unit/services/view/test_viewservice.py | pauleveritt/predico | 2bbf88a7775d31907d2229a32a89490172acd988 | [
"Apache-2.0"
] | null | null | null | tests/unit/services/view/test_viewservice.py | pauleveritt/predico | 2bbf88a7775d31907d2229a32a89490172acd988 | [
"Apache-2.0"
] | null | null | null | tests/unit/services/view/test_viewservice.py | pauleveritt/predico | 2bbf88a7775d31907d2229a32a89490172acd988 | [
"Apache-2.0"
] | null | null | null | def test_viewservice(viewservice):
assert hasattr(viewservice, 'sm')
assert hasattr(viewservice, 'registry')
assert hasattr(viewservice, 'config')
| 31.8 | 43 | 0.742138 | 16 | 159 | 7.3125 | 0.5 | 0.333333 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 159 | 4 | 44 | 39.75 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
370407b328f8beab90d9ecc58a9ee6d5dea8fc03 | 2,692 | py | Python | Morse code/test_translator.py | Chaittanyak/Morse-Code | 37e8d6b078c30caf8eec78cf68eb536450ee869f | [
"MIT"
] | null | null | null | Morse code/test_translator.py | Chaittanyak/Morse-Code | 37e8d6b078c30caf8eec78cf68eb536450ee869f | [
"MIT"
] | null | null | null | Morse code/test_translator.py | Chaittanyak/Morse-Code | 37e8d6b078c30caf8eec78cf68eb536450ee869f | [
"MIT"
] | null | null | null | #From exploratory testing to Automated Unit Testing :)
import translator as tsl
import unittest
class TestMorseTranslator(unittest.TestCase):
def test_morse_translation_func_single_word(self):
"""
Test that it can return right value of sos ->"... -- ..."
"""
data = "sos"
... | 40.179104 | 101 | 0.562407 | 271 | 2,692 | 5.280443 | 0.199262 | 0.134172 | 0.167715 | 0.096436 | 0.836478 | 0.81761 | 0.81761 | 0.792453 | 0.792453 | 0.792453 | 0 | 0.002054 | 0.276746 | 2,692 | 67 | 102 | 40.179104 | 0.732922 | 0.238856 | 0 | 0.527778 | 0 | 0 | 0.11389 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.055556 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
372d17b3dc30e012de7c3f824b00e075725240e6 | 1,099 | py | Python | MASSA.py | holand76/tabelaperiodica | 142b53ad55996a8cd16934372e74a3ef5580ec6f | [
"MIT"
] | null | null | null | MASSA.py | holand76/tabelaperiodica | 142b53ad55996a8cd16934372e74a3ef5580ec6f | [
"MIT"
] | null | null | null | MASSA.py | holand76/tabelaperiodica | 142b53ad55996a8cd16934372e74a3ef5580ec6f | [
"MIT"
] | null | null | null | massa = {'F': 19.0, 'O': 3.44, 'Cl': 3.16, 'N': 3.04, 'Br': 2.96, 'I': 2.05, 'S': 2.58, 'Ac': 0.7, 'La': 0.79, 'Sr': 0.82, 'Ce': 0.89, 'Th': 0.89, 'Na': 0.93, 'Y': 0.95, 'Li': 0.98, 'K': 0.82, 'Pr': 1.1, 'Pa': 1.1, 'Nd': 1.12, 'Pm': 1.13, 'Sm': 1.14, 'Gd': 1.17, 'Dy': 1.2, 'Zr': 1.22, 'Er': 1.22, 'Tm': 1.23, 'Yb': 1.24... | 1,099 | 1,099 | 0.393995 | 284 | 1,099 | 1.524648 | 0.524648 | 0.050808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277533 | 0.173794 | 1,099 | 1 | 1,099 | 1,099 | 0.199339 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 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 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c3146c76e29fba9ab2cbbf6cb8bde1b38ce43d0 | 144 | py | Python | src/index.py | sinofseven/sar-billing-report-to-slack | 4fe277b4283a3a4b96894165ba4cce38054c08c9 | [
"MIT"
] | null | null | null | src/index.py | sinofseven/sar-billing-report-to-slack | 4fe277b4283a3a4b96894165ba4cce38054c08c9 | [
"MIT"
] | null | null | null | src/index.py | sinofseven/sar-billing-report-to-slack | 4fe277b4283a3a4b96894165ba4cce38054c08c9 | [
"MIT"
] | null | null | null | from report_creator import main
from tools.aws_tools import save_information
@save_information
def handler(event, context):
return main()
| 18 | 44 | 0.805556 | 20 | 144 | 5.6 | 0.7 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 7 | 45 | 20.571429 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2582c2f8847776691f414d1e49ef299a7e145093 | 151 | py | Python | core/advertisements/admin.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | 2 | 2021-01-12T07:22:14.000Z | 2021-01-12T15:47:00.000Z | core/advertisements/admin.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | null | null | null | core/advertisements/admin.py | dotHashemi/qeshm-employment | 3f7bd2b50b8cae0df74c1abbb5befe1f46546dc9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Advertisement
@admin.register(Advertisement)
class AdvertisementAdmin(admin.ModelAdmin):
pass | 25.166667 | 43 | 0.827815 | 17 | 151 | 7.352941 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 151 | 6 | 44 | 25.166667 | 0.925926 | 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 |
2597ac9e9a1cf4599ad1a3f3f7264b51e0469a24 | 155 | py | Python | backend_test/ingredient/admin.py | thomashbrnrd/backend-developer-test | f0ba78bdeae125e7133254442ca1d09093a43b88 | [
"MIT"
] | null | null | null | backend_test/ingredient/admin.py | thomashbrnrd/backend-developer-test | f0ba78bdeae125e7133254442ca1d09093a43b88 | [
"MIT"
] | null | null | null | backend_test/ingredient/admin.py | thomashbrnrd/backend-developer-test | f0ba78bdeae125e7133254442ca1d09093a43b88 | [
"MIT"
] | 1 | 2021-10-10T21:33:55.000Z | 2021-10-10T21:33:55.000Z | from django.contrib import admin
from ingredient.models import Ingredient
@admin.register(Ingredient)
class IngredientAdmin(admin.ModelAdmin):
pass
| 17.222222 | 40 | 0.812903 | 18 | 155 | 7 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 155 | 8 | 41 | 19.375 | 0.926471 | 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 |
d3388c325fa6bfab95a0c5b786d59212522a1396 | 60 | py | Python | src/hist/general.py | rohitp934/my-hist | f95d69862bb19fa5276a9dde052803d059fab54e | [
"MIT"
] | 6 | 2020-02-06T05:37:55.000Z | 2020-03-08T17:43:00.000Z | src/hist/general.py | rohitp934/my-hist | f95d69862bb19fa5276a9dde052803d059fab54e | [
"MIT"
] | 13 | 2020-02-28T04:59:59.000Z | 2020-03-17T14:41:13.000Z | src/hist/general.py | rohitp934/my-hist | f95d69862bb19fa5276a9dde052803d059fab54e | [
"MIT"
] | 1 | 2020-03-01T02:20:10.000Z | 2020-03-01T02:20:10.000Z | from .core import BaseHist
class Hist(BaseHist):
pass
| 10 | 26 | 0.716667 | 8 | 60 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 60 | 5 | 27 | 12 | 0.914894 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.